Commit Graph

142 Commits

Author SHA1 Message Date
Simon Klee b2cf7a2953 mini migrate to v2 (#35526) 2026-07-06 11:03:30 +02:00
Simon Klee 3e36163298 feat(mini): migrate mini to v2 (#34895)
feat(run): migrate non-interactive prompts to V2
feat(run): route mini prompts through V2
fix(run): use current session contracts
fix(run): fix V2 prompt turns
feat(cli): add mini subcommand
feat(run): use settled execution events
fix(run): handle remote prompt file attachments
feat(run): send prompt files as attachments
feat(run): use current APIs for run state
fix(run): adopt app-node runtime deps
feat(run): track subagent sessions
feat(run): move catalogs and default model onto current APIs
2026-07-02 12:06:49 +02:00
opencode-agent[bot] d8fd4cc4e4 chore: generate 2026-06-08 19:43:41 +00:00
Dax a5ddb7f291 refactor(core): replace legacy logger with Effect logging (#31310) 2026-06-08 15:41:56 -04:00
Dax 93316f1fae refactor(server): canonicalize service API (#31049) 2026-06-07 03:27:28 +00:00
Aiden Cline 37d82c0914 fix(opencode): terminate help output with newline (#30992) 2026-06-05 12:47:16 -05:00
opencode-agent[bot] 314e32cc12 chore: generate 2026-06-02 23:06:44 +00:00
Dax 78eb705775 refactor(opencode): remove JSON storage migration (#30461) 2026-06-02 19:05:14 -04:00
Dax e2a8e18298 refactor(core): move database schema ownership (#29068)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-30 21:08:38 -04:00
Kit Langton 2296db6be8 Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -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
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton b895e66465 fix(opencode): normalize provider metadata and tag otel runs (#23140) 2026-04-17 15:22:08 -04:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton 97d87eac9f feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -04:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Simon Klee 15ba875b3a Revert "opencode: lazy-load top-level CLI commands" (#21726) 2026-04-09 20:03:48 +02:00
Simon Klee da80539ecf opencode: lazy-load top-level CLI commands
The CLI imports every top-level command before argument parsing has
decided which handler will run. This makes simple invocations pay for
the full command graph up front and slows down the default startup path.

Parse the root argv first and load only the command module that matches
the selected top-level command. Keep falling back to the default TUI
path for non-command positionals, and preserve root help, version and
completion handling
2026-04-09 19:42:25 +02: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
Dax 8b29acf8a3 add automatic heap snapshots for high-memory cli processes (#20788) 2026-04-03 02:34:33 +00:00
Kit Langton a6e97f2cc0 fix(cli): restore colored help logo (#20592) 2026-04-02 03:21:07 +00:00
Sebastian 35ab6b6d40 tui plugins (#19347) 2026-03-27 15:00:26 +01:00
James Long e2706b7d41 feat(core): remove workspace server, WorkspaceContext, start work towards better routing (#19316) 2026-03-26 12:30:26 -04:00
Sebastian ba8ff3a7b8 remove sighup exit (#17254) 2026-03-15 00:52:28 +01:00
Kit Langton 9077726a47 feat(cli): add console account subcommands (#17265) 2026-03-13 00:56:40 +00:00
Dax f56e6684a6 core: make account login upgrades safe while adding multi-account workspace auth (#15487)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 12:53:47 -04:00
James Long 59eb5322a0 fix(core): handle SIGHUP and kill process (#16057) 2026-03-04 23:12:05 +00:00
ryanwyler 149f21f42d fix: kill orphaned MCP child processes and expose OPENCODE_PID on shu… (#15516) 2026-03-01 18:08:17 +05:30
James Long 49ca7efa7e feat(core): add workspace-serve command (experimental) (#14960) 2026-02-24 17:34:34 -05:00
Dax afa481ce44 refactor: migrate index.ts from Bun.file() to Filesystem module (#14160) 2026-02-18 12:03:24 -05:00
Aiden Cline 9ebad0abf2 fix: ensure sqlite migration logs to stderr instead of stdout (#13691) 2026-02-15 00:41:16 -06:00
Dax Raad d53ded7e9f core: add db command for database inspection and querying 2026-02-14 20:37:17 -05:00
Dax 3010323ee0 sqlite again (#10597)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
lemon 73e8c7e74f fix: prevent [object Object] error display in console output (#8116)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 20:40:03 -06:00
Dax Raad 0ddb992bd6 core: add password authentication and improve server security
- Add OPENCODE_PASSWORD flag for basic auth protection
- Show security warnings when password is not set
- Remove deprecated spawn command
- Improve error handling with HTTPException responses
2026-01-12 15:23:19 -05:00
Ariane Emory b8bbb51a5c fix: report config errors instead of silent termination (#7522) 2026-01-09 14:21:01 -06:00
Sercan Sagman f82ae79652 fix(cli): add help text to debug command and subcommands (#7328)
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
2026-01-08 09:42:12 -06:00
Aiden Cline 18daa712e3 ignore: keep the process exit logic 2026-01-01 13:05:08 -06:00
Aiden Cline 19a1c0e8f4 core: make installdeps non blocking 2026-01-01 13:00:39 -06:00
scarf 90fab5f907 feat: add bash shell completions (#6239) 2025-12-27 19:14:56 -06:00
Patrick Erichsen 65fa98ab3f fix(cli): prevent help text wrapping (#5185) 2025-12-07 19:12:54 -06:00
rari404 26fa90c4f4 feat: add uninstall command (#5208) 2025-12-07 13:23:30 -06:00
Aiden Cline 0816f83cbb add basic session list command 2025-12-02 19:24:05 -06:00
U Cirello 25284c39e4 fix(run): allow messages to start with dash (-) (#4904) 2025-12-02 12:52:05 -06:00
Adam 8faaea9c01 wip(share): more styling 2025-11-24 15:10:40 -06:00
Frank d9b509e3b5 wip: poc pr command 2025-11-11 18:50:28 -05:00
Dax Raad dfec00e953 add opencode import command to restore sessions from JSON exports 2025-11-05 18:05:01 -05:00