Commit Graph

891 Commits

Author SHA1 Message Date
Kit Langton 2902acc08c fix: remove 10 more unnecessary as any casts in opencode core (#22882) 2026-04-16 20:11:05 +00:00
Aiden Cline 99533a9dc4 fix: ensure that double pasting doesnt happen after tui perf commit was merged (#22880) 2026-04-16 14:38:39 -05:00
Kit Langton c311b72695 fix: remove 8 more unnecessary as any casts in opencode core (#22877) 2026-04-16 19:27:53 +00:00
Kit Langton 58db5dfccd fix: remove 7 unnecessary as any casts in opencode core (#22840) 2026-04-16 15:07:02 -04:00
Dax Raad 85ff86fe9e core: modularize config parsing to improve maintainability
Extract error handling, parsing logic, and variable substitution into dedicated
modules. This reduces duplication between tui.json and opencode.json parsing
and makes the config system easier to extend for future config formats.
2026-04-16 13:29:03 -04:00
Dax Raad a598ec3eea tui: ensure TUI plugins load with proper project context when multiple directories are open
Fixes potential plugin resolution issues when switching between projects by wrapping
plugin loading in Instance.provide(). This ensures each plugin resolves dependencies
relative to its correct project directory instead of inheriting context from whatever
instance happened to be active.

Also reorganizes config loading code into focused modules (command.ts, managed.ts,
plugin.ts) to make the codebase easier to maintain and test.
2026-04-16 12:40:24 -04:00
opencode-agent[bot] 7b779f4862 chore: generate 2026-04-16 16:26:12 +00:00
James Long 5b94e49a4b refactor(tui): improve workspace management (#22691) 2026-04-16 12:24:40 -04:00
Dax Raad 2bba026d98 Revert "tui: fix path comparison in theme installer to handle different path formats"
This reverts commit d803e5fdee.
2026-04-16 11:28:19 -04:00
Dax Raad d803e5fdee tui: fix path comparison in theme installer to handle different path formats 2026-04-16 11:18:44 -04:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton 181ca1a17f feat: unwrap tool namespaces to flat exports + barrel (#22762) 2026-04-16 03:56:54 +00:00
Kit Langton cd564678ae feat: unwrap cli-tui namespaces to flat exports + barrel (#22759) 2026-04-16 03:56:51 +00:00
Kit Langton 673c2e4e8e feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) 2026-04-16 03:50:50 +00:00
Kit Langton 0249f58509 feat: unwrap config namespaces to flat exports + barrel (#22746) 2026-04-15 23:29:14 -04:00
Kit Langton 949ac8ed15 feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)
publish-github-action / publish (push) Has been cancelled
2026-04-15 23:27:32 -04:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton 0cbf9e9199 fix: remove 10 unused type-only imports and declarations (#22696) 2026-04-16 02:17:59 +00:00
Kit Langton 021fe76e47 fix: clean up 49 unused variables, catch params, and stale imports (#22695) 2026-04-16 02:01:53 +00:00
Kit Langton 1f77795ac6 fix: prefix 32 unused parameters with underscore (#22694) 2026-04-15 21:56:23 -04:00
Kit Langton b047f7af36 feat: unwrap Provider namespace + improved automation script (#22690) 2026-04-15 21:44:46 -04:00
Kit Langton 228636345a fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
publish-github-action / publish (push) Has been cancelled
2026-04-15 21:33:54 -04:00
Kit Langton b5f4d032fb feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
Carlo Wood 1da8ac3eda fix(tui): Don't overwrite the agent that was specified on the command line (#20554) 2026-04-15 18:41:35 -05:00
Ariane Emory cab36f6ef4 fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672) 2026-04-15 17:44:53 -05:00
Dax 4be9af983d migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Sebastian ddb1cad62a handle non-throwing requests (#22604) 2026-04-15 14:29:09 +02:00
Kit Langton 5e6a35ba91 add experimental question HttpApi slice (#22357) 2026-04-14 19:43:49 +00:00
Sebastian 4a82fc5552 Fix diff line number contrast for built-in themes (#22464) 2026-04-14 19:59:41 +02:00
Kit Langton a2c81f4185 feat: add interactive burst to the TUI logo (#22098) 2026-04-13 19:36:28 -04:00
James Long 0ee6e47bde refactor(core): publish sync events to global event stream (#22347) 2026-04-13 16:51:59 -04:00
James Long a7569f1fc3 feat(core): expose workspace adaptors to plugins (#21927) 2026-04-13 13:33:13 -04:00
Kit Langton 37d470346d refactor(config): remove async facade exports (#22325) 2026-04-13 13:11:05 -04:00
Brendan Allan cc0a3eebf7 core: make InstanceBootstrap into an effect (#22274)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-04-13 10:16:40 -04:00
Kit Langton e624571111 refactor: share TUI terminal background detection (#22297) 2026-04-13 10:05:37 -04:00
Dax c5f3cc0c9d refactor(server): simplify router middleware with next() (#21720) 2026-04-11 16:55:17 -04:00
ryan.h.park 4d604ea369 fix: enable thinking for zhipuai-coding-plan & prevent Korean IME truncation (#22041)
Co-authored-by: claudianus <claudianus@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-11 15:51:49 -05:00
James Long a37b37d00c rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
James Long 10ce83d5e4 refactor(tui): switch to global events and start passing workspace param (#21719) 2026-04-10 10:47:27 -04:00
Kit Langton 6e883aab36 fix(tui): restore hidden session scrollbar default (#20947) 2026-04-09 13:01:08 -04:00
Aiden Cline d21835e80f feat: add opencode go upsell modal when limits are hit (#21583)
Co-authored-by: Frank <frank@anoma.ly>
2026-04-09 02:16:29 -04:00
Brendan Allan 30d17b3b82 Remove CLI from electron app (#17803)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-04-09 13:18:46 +08:00
Kit Langton 520d11d0d0 fix(tui): simplify console org display (#21339)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-07 21:03:24 -04:00
Dax 6cc1116f8e refactor(snapshot): store unified patches in file diffs (#21244)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-04-07 19:48:23 -04:00
Ariane Emory 2420c17d98 feat(tui): allow variant_list keybind for the "Switch model variant" command (#21185)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-07 14:46:04 -05:00
Ariane Emory 7b51129f0c fix(tui): use sentence case for theme mode command palette items (#21192)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-07 12:25:13 -05:00
James Long 7625a7e644 refactor(core): support multiple event streams in worker and remove workspaces from plugin api (#21348) 2026-04-07 13:22:34 -04:00
Dax b9ded6db4e fix(opencode): keep user message variants scoped to model (#21332) 2026-04-07 10:12:53 -04:00
gitpush-gitpaid 58b633c54d feat(opencode): Add PDF attachment Drag and Drop (#16926)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-07 04:39:59 +00:00