opencode/packages/core/src
Luke Parker 598a7a6816 fix(codemode): record each inner tool call's error message
metadata.toolCalls kept only { tool, status, input }. When a program caught an inner call's failure, its message was lost: 30% of browser errors in the recorded sessions have no message, and analysis had to guess the cause from the input. Each failed row now carries error, bounded to 2,000 characters. Interrupted calls stay without one.
2026-11-13 08:32:08 +10:00
..
account refactor(core): require explicit import extensions 2026-08-11 20:22:50 -04:00
codemode fix(codemode): record each inner tool call's error message 2026-11-13 08:32:08 +10:00
config refactor(core): remove the unused foreground path from SubagentJob (#63223) 2026-11-11 14:52:20 -05:00
credential refactor(core): require explicit import extensions 2026-08-11 20:22:50 -04:00
database refactor(core): remove the import cycle in v1 migration (#62885) 2026-11-09 07:37:55 -06:00
effect chore: upgrade effect to 4.1.0 and fix a SQLite lock-up on interrupt (#60651) 2026-10-30 19:51:38 -07:00
environment refactor(core): remove small dead code and duplicate helpers (#61181) 2026-11-01 21:25:13 -06:00
event refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
filesystem refactor(core): remove small dead code and duplicate helpers (#61181) 2026-11-01 21:25:13 -06:00
formatter refactor(ai): replace wildcard exports with an explicit public API (#59183) 2026-10-26 09:37:24 -05:00
github-copilot feat(core): add GitHub Copilot Auto and a model resolve hook (#62997) 2026-11-09 20:46:05 -06:00
image fix(core): tag image job notices with their job ID (#60098) 2026-10-29 00:16:49 -05:00
instance fix(server): stop form polling from booting idle locations (#59083) 2026-10-25 22:57:36 +00:00
instructions feat(core): publish MCP events on the bus (#63261) 2026-11-11 21:41:31 -06:00
integration feat(core): tell users how to sign back in to OpenCode Console (#51847) 2026-09-29 10:58:45 +02:00
job feat(core): report subagent results to the parent every time a child goes idle (#63209) 2026-11-11 13:09:19 -05:00
kv refactor(core): require explicit import extensions 2026-08-11 20:22:50 -04:00
mcp feat(core): publish MCP events on the bus (#63261) 2026-11-11 21:41:31 -06:00
modal refactor(core): share provider discovery through a simple cache (#60082) 2026-10-30 20:35:16 -05:00
models-dev chore(core): update the bundled models.dev catalog (#59508) 2026-10-27 00:01:36 -05:00
oauth fix(app): accept a pasted redirect URL for provider sign-in (#63315) 2026-11-11 15:51:46 +01:00
permission refactor(core): replace unused runtime input schemas with types in filesystem and permission (#57961) 2026-10-21 20:06:18 -05:00
persistent-pty feat(core): run shell commands in the process daemon across handoffs (#62978) 2026-11-10 21:07:50 +00:00
plugin fix(core): drop stale thinking when Claude Agent prompts or tools change (#63592) 2026-11-12 13:56:50 -06:00
project fix(core): skip saving or unarchiving deleted project directories (#60952) 2026-10-31 13:46:34 -07:00
pty feat(server): add client MCP websocket endpoint (experimental) (#57505) 2026-10-22 15:56:44 -04:00
reference refactor(core): share the instruction list update renderer (#61167) 2026-11-01 21:13:38 -06:00
ripgrep fix(core): verify SHA-256 of downloaded ripgrep before running it (#59350) 2026-10-26 13:44:40 -05:00
schedule refactor(core): remove duplicated schedule code (#61172) 2026-11-01 21:16:34 -06:00
session fix(core): resume directly driven child sessions after restart (#63415) 2026-11-12 14:23:00 -05:00
shell feat(core): run shell commands in the process daemon across handoffs (#62978) 2026-11-10 21:07:50 +00:00
skill refactor(core): share the instruction list update renderer (#61167) 2026-11-01 21:13:38 -06:00
tool refactor(core): remove the subagent notify option (#63413) 2026-11-11 18:44:14 -05:00
util feat(core): publish MCP events on the bus (#63261) 2026-11-11 21:41:31 -06:00
v1/config fix(core): keep catalog capabilities when a v1 model override sets only some (#62573) 2026-11-09 23:46:18 -05:00
vcs refactor(core): move mercurial vcs into internal plugin (#44993) 2026-08-25 20:35:21 +05:30
wellknown refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
workspace refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
worktree refactor(core): tighten worktree strategy and pty schemas and decode overlay once (#57950) 2026-10-21 20:57:46 -05:00
agent.ts fix(core): publish catalog updates only when they change (#59084) 2026-10-25 22:58:29 +00:00
aisdk-native.ts refactor(core): remove the import cycle between provider and aisdk-native (#62883) 2026-11-10 10:47:14 -06:00
aisdk.ts refactor(core): run GitHub Copilot on native ai protocols (#62034) 2026-11-09 00:34:25 -06:00
app.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
artifact.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
bus.ts refactor(core): remove small dead code and duplicate helpers (#61181) 2026-11-01 21:25:13 -06:00
command.ts fix(core): publish catalog updates only when they change (#59084) 2026-10-25 22:58:29 +00:00
config.ts fix(core): stop applying well-known remote config after logout (#62760) 2026-11-09 00:08:10 -06:00
console-access.ts fix(core): stop waiting on the Console before prompts (#62397) 2026-11-06 12:34:27 -06:00
credential.ts fix(core): refresh MCP OAuth tokens before they expire (#63028) 2026-11-10 22:12:13 -06:00
event-logger.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
file-access.ts refactor(core): share tool permission invocation and registry steps (#61169) 2026-11-01 21:24:49 -06:00
file-mutation.ts fix(core): avoid redundant file reads and error spans when writing files (#60954) 2026-10-31 13:20:16 -07:00
file-retention.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
file-write.ts refactor(core): share tool permission invocation and registry steps (#61169) 2026-11-01 21:24:49 -06:00
filesystem.ts chore: upgrade effect to 4.1.0 and fix a SQLite lock-up on interrupt (#60651) 2026-10-30 19:51:38 -07:00
flag.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
form.ts feat(core): let form cancellation carry a message (#52137) 2026-09-30 09:20:26 -04:00
formatter.ts chore: upgrade Effect to rc.118 (#50231) 2026-10-09 01:36:06 -07:00
generate.ts feat(ai): share headers, fetch and timeout across every request (#60970) 2026-11-03 10:38:42 -06:00
git.ts refactor(core): share git command and patch helpers (#61168) 2026-11-01 21:13:53 -06:00
image.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
instance.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
instruction-discovery.ts fix(core): ignore pure instruction reorders mid-session (#60918) 2026-10-31 11:35:49 -05:00
integration.ts refactor(core): share OAuth credential refresh between provider logins and MCP (#63022) 2026-11-09 21:55:52 -06:00
job.ts refactor(core): remove leftover foreground subagent and reattach code (#63392) 2026-11-11 15:52:50 -06:00
kv.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
location-activity.ts fix(core): release location holders on shutdown (#59399) 2026-10-30 23:28:04 -05:00
location-lifecycle.ts perf(core): skip background tasks and trace spans for throttled project activity updates (#60802) 2026-10-30 22:53:28 -07:00
location-service-map.ts fix(core): treat trailing-slash directories as the same Location (#59327) 2026-10-26 11:59:37 -05:00
location-services.ts fix(core): release location holders on shutdown (#59399) 2026-10-30 23:28:04 -05:00
location.ts fix(core): skip saving or unarchiving deleted project directories (#60952) 2026-10-31 13:46:34 -07:00
managed-policy.ts feat(core): integration.connect and integration.use policies (#60315) 2026-10-29 14:24:22 -04:00
markdown.d.ts fix build 2026-06-04 11:11:23 -04:00
mime.ts fix(core): tell HEIC, QuickTime and M4A apart from MP4 (#58887) 2026-10-26 00:04:36 -05:00
model-resolver.ts feat(core): run LM Studio decision models (#63200) 2026-11-10 20:06:11 -06:00
model-retry.ts fix(core): keep retrying while the provider's host is unreachable (#61880) 2026-11-04 19:08:19 -08:00
model.ts feat(core): use freeform tool input on models that support it (#61703) 2026-11-10 15:15:25 -06:00
models-dev.ts feat(core): use freeform tool input on models that support it (#61703) 2026-11-10 15:15:25 -06:00
node-ffi.d.ts node v2 cli support (#36309) 2026-07-17 14:45:06 +02:00
permission.ts refactor(core): share tool permission invocation and registry steps (#61169) 2026-11-01 21:24:49 -06:00
persistent-pty.ts feat(server): add persistent PTY daemon API (#44969) 2026-08-25 11:31:47 -04:00
plugin.ts fix(core): keep plugin swaps going when a cleanup fails (#63548) 2026-11-12 16:15:41 +01:00
project.ts perf(core): skip background tasks and trace spans for throttled project activity updates (#60802) 2026-10-30 22:53:28 -07:00
provider.ts feat(ai): add Google Decisions (#63369) 2026-11-11 14:40:35 -06:00
pty.ts refactor(core): remove duplicated pty and persistent pty code (#61171) 2026-11-01 21:14:33 -06:00
reference.ts fix(core): publish catalog updates only when they change (#59084) 2026-10-25 22:58:29 +00:00
repository-cache.ts refactor(core): remove small dead code and duplicate helpers (#61181) 2026-11-01 21:25:13 -06:00
repository.ts fix(core): reject relative path segments in repository hosts (#51577) 2026-09-28 10:14:35 +05:30
ripgrep.ts perf(core): stop holding huge matched lines in memory during code search (#59205) 2026-10-26 10:20:50 -07:00
rpc.ts feat(plugin): filter event subscriptions by type (#58864) 2026-10-26 10:47:48 -05:00
schedule.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
schema.ts refactor(core): delete unused Newtype helper (#52647) 2026-10-02 03:27:38 +00:00
session.ts refactor(core): remove the subagent notify option (#63413) 2026-11-11 18:44:14 -05:00
shared-cache.ts refactor(core): share provider discovery through a simple cache (#60082) 2026-10-30 20:35:16 -05:00
shell.ts feat(core): run local Windows shell commands in the process daemon (#63409) 2026-11-11 18:32:15 -05:00
skill.ts feat(core): support in-memory skill:// URIs (#60921) 2026-11-01 01:07:13 -05:00
snapshot.ts fix(core): capture snapshots for a Location opened through a symlink (#61546) 2026-11-03 19:54:58 -06:00
state.ts fix(core): publish catalog updates only when they change (#59084) 2026-10-25 22:58:29 +00:00
tool-output.ts fix(core): show the start of tool output that exceeds the limit (#63272) 2026-11-11 15:38:06 -06:00
tool.ts refactor(codemode): remove the legacy interpreter; the VM is the only engine (#62642) 2026-11-11 11:25:37 -05:00
usage-limits.ts feat(core): read OpenCode Console usage limits and classify budget refusals (#58694) 2026-10-24 11:13:12 -05:00
variant.ts feat(ai): add Azure Messages for Foundry Claude models (#60934) 2026-10-31 12:39:44 -05:00
vcs.ts fix(app): show untracked folders as one review row (#57527) 2026-10-20 17:09:48 -07:00
voice.ts refactor(ai): make Promise the root entry and move Effect to @opencode/ai/effect (#58847) 2026-10-24 22:18:23 -05:00
websearch.ts feat(core): integration.connect and integration.use policies (#60315) 2026-10-29 14:24:22 -04:00
wellknown.ts fix(core): stop applying well-known remote config after logout (#62760) 2026-11-09 00:08:10 -06:00
workspace.ts refactor(core): remove small dead code and duplicate helpers (#61181) 2026-11-01 21:25:13 -06:00
worktree.ts refactor(core): tighten worktree strategy and pty schemas and decode overlay once (#57950) 2026-10-21 20:57:46 -05:00