Commit Graph
7322 Commits
Author SHA1 Message Date
Ryan Vogel d6962522a4 discord: ignore local env and data artifacts 2026-02-14 16:04:18 -05:00
Ryan Vogel 292ff126c4 discord: simplify Docker workflow with Makefile and update documentation
Replace complex Docker commands with simple Make targets for building,
running, and managing the Discord bot container. This makes it easier
for developers to get started without memorizing lengthy Docker flags.

Also removes outdated CLAUDE.md and adds AGENTS.md files to guide AI
agents working on conversation, database, actors, and sandbox modules.
2026-02-14 15:39:09 -05:00
Kit Langton 46cc9e7567 refactor: restructure conversation runtime around thread entities 2026-02-14 13:40:52 -05:00
Kit Langton 1885db3d8b discord: simplify ConversationLedger to offsets + in-memory dedup
Replace the full inbox state machine (admit/start/setTarget/setPrompt/
setResponse/complete/retry/prune/replayPending) with three methods:
dedup (bounded in-memory Set), getOffset, and setOffset.

Discord is already the durable inbox — on startup we just resume from
persisted offsets per source. Within a session, in-memory dedup prevents
double-processing. This removes ~565 lines of inbox lifecycle code,
the conversation_inbox SQLite table, MessageState, ReliabilityError,
and the prune schedule.
2026-02-14 10:37:47 -05:00
Kit Langton 3c22e16386 discord: idiomatic Effect refactor with conversation service, durable ledger, and split sandbox architecture
Refactor the Discord bot to idiomatic Effect TypeScript:

- Branded types (ThreadId, ChannelId, etc.) and Schema.Class for all data
- Split SandboxManager into SandboxProvisioner (stateless lifecycle) + ThreadAgentPool (per-thread orchestration)
- Pure Conversation service with port interfaces (Inbox/Outbox/History/Threads)
- ConversationLedger for message dedup, at-least-once delivery, and replay on restart
- Per-thread serialized execution via ActorMap with idle timeouts
- Discord slash commands (/status, /reset) and in-thread commands (!status, !reset)
- Catch-up on missed messages at startup via offset tracking
- Typed errors (Schema.TaggedError) with retriable/non-retriable classification
- Local CLI (conversation:cli) and automation CLI (conversation:ctl)
- Test coverage for conversation service, ledger, session store, and actors
2026-02-14 00:51:01 -05:00
Ryan Vogel ef92226c33 core: let teams deploy discord bot as a single container 2026-02-12 18:20:13 -05:00
Ryan Vogel c332258f54 docs: add setup guide and env variable reference to discord bot README 2026-02-12 13:15:17 -05:00
Ryan Vogel bbab5b10d3 core: replace Neon Postgres with bun:sqlite to eliminate external DB signup 2026-02-12 13:09:26 -05:00
Ryan Vogel 9444c95eb2 wip: remove bun.lock and rename package to @opencode/discord 2026-02-12 12:55:55 -05:00
Ryan Vogel b0e49eb1ac wip: discord bot that provisions daytona sandboxes for opencode sessions in threads 2026-02-12 12:51:38 -05:00
Adam ff0abacf4b fix(app): project icons unloading 2026-02-12 11:50:17 -06:00
RasheedandGitHub 0771e3a8be fix(app): preserve undo history for plain-text paste (#13351) 2026-02-12 17:27:53 +00:00
AdamandGitHub da952135ca chore(app): refactor for better solidjs hygiene (#13344) 2026-02-12 11:26:19 -06:00
Dax Raad 789705ea96 ignore: document test fixtures for agents 2026-02-12 12:10:21 -05:00
Ryan VogelandGitHub ba54cee55e feat(tool): return image attachments from webfetch (#13331) 2026-02-12 12:09:29 -05:00
Dylan FiedlerandGitHub ecab692ca1 fix(docs): correct format attribute in StructuredOutputs (#13340) 2026-02-12 10:55:43 -06:00
Frank 59a323e9a8 wip: zen 2026-02-12 11:11:25 -05:00
Frank 658bf6fa58 zen: minimax m2.5 2026-02-12 11:04:09 -05:00
Adam a82ca86008 fix(app): more defensive code component 2026-02-12 10:00:58 -06:00
Adam ed472d8a67 fix(app): more defensive session context metrics 2026-02-12 10:00:58 -06:00
AdamGitHubopencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>Frank
ff4414bb15 chore: refactor packages/app files (#13236)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Frank <frank@anoma.ly>
2026-02-12 09:49:14 -06:00
Dax Raad 56ad2db020 core: expose tool arguments in shell hook for plugin visibility 2026-02-12 09:54:47 -05:00
Frankandopencode ae811ad8d2 wip: zen 2026-02-12 14:45:52 +00:00
opencode-agent[bot]andopencode 85df106713 chore: generate 2026-02-12 14:45:52 +00:00
opencode 892bb75265 release: v1.1.61 2026-02-12 14:45:45 +00:00
Dax Raad a115565054 core: allow model configurations without npm/api provider details
Makes npm and api fields optional in the provider schema so model definitions

can be more flexible when provider package details aren't needed.
2026-02-12 09:26:28 -05:00
Frank d82d22b2d7 wip: zen 2026-02-12 09:17:49 -05:00
AdamandGitHub ecb274273a wip(ui): diff virtualization (#12693) 2026-02-12 07:25:58 -06:00
Adam 5f421883a8 chore: style loading screen 2026-02-12 07:16:30 -06:00
Brendan AllanandGitHub 1413d77b1f desktop: sqlite migration progress bar (#13294) 2026-02-12 09:44:06 +00:00
Aiden ClineandGitHub 624dd94b5d tweak: tool outputs to be more llm friendly (#13269) 2026-02-12 00:33:18 -06:00
Frank d86f24b6b3 zen: return cost 2026-02-12 01:08:02 -05:00
opencode 03de51bd3c release: v1.1.60 2026-02-12 05:58:24 +00:00
Luke ParkerandGitHub 8f9742d988 fix(win32): use ffi to get around bun raw input/ctrl+c issues (#13052) 2026-02-12 15:39:31 +10:00
opencode-agent[bot] f6e7aefa72 chore: generate 2026-02-12 04:55:00 +00:00
e269788a8f feat: support claude agent SDK-style structured outputs in the OpenCode SDK (#8161)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2026-02-12 04:54:05 +00:00
opencode-agent[bot] 66780195dc chore: generate 2026-02-12 04:11:57 +00:00
Dax Raad ad2087094d support custom api url per model 2026-02-11 23:10:47 -05:00
Kit LangtonandGitHub 135f8ffb2a feat(tui): add toggle to hide session header (#13244) 2026-02-12 02:21:42 +00:00
dpuyosaandGitHub bf5a01edd9 feat(opencode): Venice Add automatic variant generation for Venice models (#12106) 2026-02-11 20:21:29 -06:00
81ca2df6ad fix(app): guard randomUUID in insecure browser contexts (#13237)
Co-authored-by: Selim <31136147+selimerunkut@users.noreply.github.com>
2026-02-12 01:05:15 +00:00
Adam aea68c386a fix(docs): locale translations for nav elements and headings 2026-02-11 18:51:50 -06:00
Adam 8eea53a41e docs(ar): second-pass localization cleanup 2026-02-11 18:51:50 -06:00
Aiden ClineandGitHub 3befd0c6c5 tweak: use promise all for mcp listTools calls (#13229) 2026-02-12 00:19:53 +00:00
SebastianandGitHub 125727d09c upgrade opentui to 0.1.79 (#13036) 2026-02-12 00:13:11 +01:00
Aiden ClineandGitHub 8c7b35ad05 tweak: compaction check (#13214) 2026-02-11 21:43:04 +00:00
Aiden ClineandGitHub 006d673ed2 tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based (#13198) 2026-02-11 14:02:30 -06:00
Aiden ClineandGitHub 6b4d617df0 feat: adjust read tool so that it can handle dirs too (#13090) 2026-02-11 13:23:00 -06:00
Dax Raad e3471526f4 add square logo variants to brand page 2026-02-11 13:47:54 -05:00
Adam fbabce1125 fix(app): translations 2026-02-11 11:03:35 -06:00