Commit Graph

82 Commits

Author SHA1 Message Date
Shoubhit Dash 5e607cbcfd refactor(flags): route llm client through runtime flags (#27368) 2026-05-14 00:09:53 +05:30
Dax 0381c92481 core: expose v2 model listing API (#25821) 2026-05-13 14:43:08 +00:00
Aiden Cline 061d4123ff fix: ensure tools are always in same order (#26370) 2026-05-08 10:59:41 -05:00
opencode-agent[bot] 5a6c32e05b chore: generate 2026-05-01 03:22:36 +00:00
Dax Raad e8138070e9 core: remove @effect/language-service plugin and optimize hot path type performance
- Removed @effect/language-service from both packages/core and packages/opencode tsconfig files and dependencies

- Wrapped mergeDeep calls in config loading and LLM streaming to avoid expensive remeda conditional merge type instantiations in hot paths

- Narrowed Drizzle migrate() overload signature to avoid expensive variance checks during database initialization

These changes reduce TypeScript type-checking overhead and improve startup and runtime performance for config loading, LLM streaming, and database migrations.
2026-04-30 23:21:05 -04:00
Kit Langton ec7b84d06c refactor(session): yield instance context in llm (#25200) 2026-04-30 21:29:28 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax Raad 6198d69e5c core: Add User-Agent header to identify client version in HTTP requests 2026-04-25 23:51:23 -04:00
Dax Raad 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Kit Langton 68563a3e5d fix(observability): standardize session telemetry attrs (#23213) 2026-04-17 21:14:23 -04:00
Kit Langton 31670f655c refactor: unwrap session/ tier-2 namespaces + self-reexport (#22973) 2026-04-17 00:49:39 +00:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton 8a117354fd feat: unwrap provider namespaces to flat exports + barrel (#22760) 2026-04-16 05:02:50 +00:00
Kit Langton 946ea995e3 fix: clean up final 16 no-unused-vars warnings (#22751) 2026-04-16 03:54:21 +00:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton 7159d09978 feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721) 2026-04-16 02:45:45 +00:00
Kit Langton b047f7af36 feat: unwrap Provider namespace + improved automation script (#22690) 2026-04-15 21:44:46 -04:00
Kit Langton b5f4d032fb feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
Kit Langton 615c1fbc75 fix(effect): add effect bridge for callback contexts (#22504) 2026-04-15 15:22:34 +00:00
Kit Langton 97b465cc06 fix(opencode): export AI SDK telemetry spans (#22526) 2026-04-14 22:30:50 -04:00
Luke Parker 35097a0f1f fix(session): keep GitHub Copilot compaction requests valid (#22371) 2026-04-15 08:02:27 +10:00
Kit Langton 6ee000dd65 refactor(session): move llm stream into layer (#22358) 2026-04-13 19:53:30 -04:00
Kit Langton 3bfc06ee79 refactor(permission): remove async facade exports (#22342) 2026-04-13 19:33:58 -04:00
Kit Langton d470317b3f refactor(auth): remove async auth facade exports (#22306) 2026-04-13 12:31:43 -04:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
Kit Langton 8a63aaef6c fix: preserve interrupted bash output in tool results (#21598) 2026-04-09 10:03:26 -04:00
Vladimir Glafirov bb097d4c50 feat(llm): integrate GitLab DWS tool approval with permission system (#19955)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-08 20:39:33 -05:00
Dax b9ded6db4e fix(opencode): keep user message variants scoped to model (#21332) 2026-04-07 10:12:53 -04:00
Aiden Cline 1648eeccd2 tweak: move the max token exclusions to plugins @rekram1-node (#21225) 2026-04-06 17:43:58 -05:00
Aiden Cline 3c67cd1d14 tweak: adjust chat.params hook to allow altering of the maxOutputTokens (#21220) 2026-04-06 18:13:30 +00:00
Kevin Flansburg 6611bcc8b5 feat: Send x-session-affinity and x-parent-session-id headers (#20744) 2026-04-02 22:09:53 -05:00
Aiden Cline ca0014e54e ignore: fix typecheck in dev (#20702) 2026-04-02 15:38:30 +00:00
Aiden Cline 7cc1b528e8 refactor: split up models.dev and config model definitions to prevent coupling (#20605) 2026-04-02 10:00:43 -05:00
Dax 32a1c9efaa refactor(session): simplify LLM stream by replacing queue with fromAsyncIterable (#20324) 2026-03-31 15:27:51 -04:00
Kit Langton 9ee382c8c7 refactor(session): effectify SessionPrompt service (#19483) 2026-03-30 20:06:51 +00:00
Aiden Cline 1613c9687e fix: agent value passed to chat.params and chat.headers hooks was not a string (#19996) 2026-03-30 16:32:27 +00:00
Knut Zuidema 32f39df153 fix: discourage _noop tool call during LiteLLM compaction (#18539) 2026-03-29 22:48:17 -05:00
Aiden Cline 705deab5c6 ignore: kill todo (#19566) 2026-03-29 00:06:32 +00:00
Kit Langton 4d4233cc49 refactor(session): effectify session processor (#19485) 2026-03-28 12:09:47 -04:00
Aiden Cline 5dace6536b feat: AI SDK v6 support (#18433) 2026-03-27 15:24:30 -05:00
Vladimir Glafirov c5e80e7454 fix: route GitLab Duo Workflow system prompt via flowConfig (#18928) 2026-03-24 12:33:18 -05:00
Aiden Cline 3484d75370 tweak: add back setting user agent in requests (#18795) 2026-03-23 15:34:59 +00:00
Kit Langton b6aa472839 Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
Kit Langton 9eafdc92ec fix: switch consumers to service imports to break bundle cycles (#18438) 2026-03-20 20:55:46 +00:00
Vladimir Glafirov 1fb2ef5ec2 feat: enable GitLab Agent Platform with workflow model discovery (#18014) 2026-03-20 12:55:22 -05:00
Aiden Cline 371aca7729 tweak: adjust codex plugin logic so that codex instruction isn't always added (oauth plan no longer enforces instruction whitelisting) (#18337) 2026-03-20 10:37:47 -05:00
Dax a84103459a anthropic legal requests (#18186) 2026-03-19 04:45:24 +00:00
Kit Langton 2a6909cd07 refactor(truncation): effectify TruncateService, delete Scheduler (#17957) 2026-03-17 21:59:54 -04:00
Jason Quense b04934aa25 fix(opencode): preserve prompt tool enables with empty agent permissions (#17064)
Co-authored-by: jquense <jquense@ramp.com>
2026-03-15 23:01:46 -05:00
Dax 4e95f2112e remove unnecessary deep clones from session loop and LLM stream (#14354) 2026-02-19 18:37:55 -06:00