opencode/packages/core/test
Shoubhit Dash f479efa5f9 fix(core): keep batched tree patches quotepath-safe
Patch headers have no -z form, so core.quotepath=false keeps chunksByFile matching non-ASCII names, and --no-ext-diff keeps a user's external diff tool out of the batched spawn. Snapshot.diff now diffs first and filters ignored paths from the result instead of listing changed files twice, and returns early for an empty explicit selection.
2026-09-07 21:40:33 +05:30
..
codemode fix(core): clarify how to call search in Code Mode guidance (#47360) 2026-09-04 18:50:47 -05:00
config feat(cli): restore automatic update policy (#47161) 2026-09-04 12:58:30 -04:00
effect fix(shell): preserve output from fast-exiting commands 2026-08-31 19:52:08 -04:00
filesystem fix(core): watch new config files and directories (#46925) 2026-09-03 15:38:28 +05:30
fixture fix(core): restore Ctrl+C in Windows terminals (#47163) 2026-09-04 09:16:14 +10:00
fixtures/recordings/session-runner feat(core): update GPT prompts and remove legacy Anthropic prompt (#47447) 2026-09-05 01:39:18 -05:00
github-copilot chore(core): bump GitHub Copilot API version to 2026-08-01 (#47108) 2026-09-03 15:38:32 -05:00
instructions refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
lib feat(core): keep web search providers sticky per session (#47334) 2026-09-07 03:09:47 +05:30
modal feat(core): add Modal live model backfill plugin (#47136) 2026-09-03 16:03:21 -05:00
plugin refactor(core): remove legacy Console variant normalization (#47760) 2026-09-07 10:49:36 +02:00
process refactor: use typed error mapping operators (#45727) 2026-08-28 17:18:35 -04:00
pty fix(core): restore Ctrl+C in Windows terminals (#47163) 2026-09-04 09:16:14 +10:00
shell-scan fix(core): expand portable shell scanner compatibility (#47110) 2026-09-03 14:11:58 -04:00
skill refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
util refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
agent.test.ts fix(core): notify reloads immediately and debounce at bursty sources (#46843) 2026-09-02 13:53:55 -04:00
aisdk-native.test.ts feat(core): discover Bedrock credentials in the provider plugin (#47548) 2026-09-05 22:20:48 -05:00
aisdk.test.ts feat(ai): add UnsupportedOperation error for route capability mismatches (#46960) 2026-09-03 09:44:36 -05:00
app.test.ts chore(core): format package (#41205) 2026-08-07 23:18:03 -05:00
bus-session-routing.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
bus.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
catalog.test.ts fix(core): preserve provider identity in catalog updates 2026-09-03 01:44:12 +00:00
codemode.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
command.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
credential.test.ts feat(tui): support multiple integration accounts (#45072) 2026-08-25 17:03:16 -04:00
database-drizzle.test.ts refactor: use typed error mapping operators (#45727) 2026-08-28 17:18:35 -04:00
database-migration.test.ts fix(core): scope the migration lock to each database (#46866) 2026-09-02 13:49:18 -04:00
effect-app-node-platform.test.ts fix(core): align websocket network policy (#43875) 2026-08-21 18:49:57 +05:30
effect-simplification-types.test.ts chore: enforce effect simplifications (#43979) 2026-08-21 19:48:27 +00:00
environment.test.ts chore: generate 2026-08-12 19:29:55 +00:00
event-logger.test.ts test(core): remove unused test imports (#45674) 2026-08-27 23:58:41 -04:00
file-mutation.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
form.test.ts refactor(core): use nonthrowing URL parsing (#45726) 2026-08-27 23:12:43 -04:00
formatter.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
generate.test.ts feat(ai): add native Mistral provider (#46278) 2026-08-30 12:56:01 -05:00
git.test.ts fix(core): keep batched tree patches quotepath-safe 2026-09-07 21:40:33 +05:30
instance-vanilla.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
instruction-discovery.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
instruction-state.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
integration.test.ts fix(core): rebuild registry state on read (#46825) 2026-09-02 11:33:53 -04:00
job.test.ts refactor(core): reuse job scope as generation identity (#47121) 2026-09-03 14:47:44 -04:00
kv.test.ts feat(plugin): add durable storage API (#43525) 2026-08-19 21:51:58 +00:00
location-activity.test.ts fix(core): interrupt sessions before inactivity eviction (#47629) 2026-09-06 11:11:42 -04:00
location-filesystem.test.ts fix: reuse current location for directory browsing (#46970) 2026-09-03 16:45:17 +10:00
location-layer.test.ts fix(core): retry failed location initialization (#46957) 2026-09-03 13:10:59 -04:00
location-mutation.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
location.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
logging.test.ts refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
mcp-import-boundary.test.ts perf(core): load MCP client lazily (#42468) 2026-08-13 22:48:09 -04:00
mcp-instructions.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
mcp-oauth.test.ts fix: stabilize cross-platform unit tests (#46569) 2026-09-01 11:38:55 +02:00
mcp.test.ts fix(mcp): retry initialization without codemode on HTTP 400 (#47507) 2026-09-05 15:49:25 +00:00
model-resolver.test.ts fix(core): remove compatible-provider remapping (#47732) 2026-09-07 00:46:37 -05:00
model.test.ts refactor(core): slice model references at the first slash (#46467) 2026-08-31 19:23:21 -04:00
models.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
network-guard.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
newtype.test.ts fix(core): validate scalar newtypes (#35381) 2026-07-04 21:43:08 -04:00
npm-config.test.ts refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
npm.test.ts fix(util): skip unused audits during package installs (#47176) 2026-09-04 00:58:29 +00:00
oauth-page.test.ts feat(oauth): unify OAuth callback browser pages (#34025) 2026-06-26 00:36:40 -05:00
patch.test.ts refactor(util): reuse private patch buffers (#46459) 2026-08-31 15:11:54 -04:00
permission.test.ts refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
persistent-pty-daemon.test.ts fix(pty): own daemon lifetime and hand off restarts (#45551) 2026-08-27 11:52:48 -04:00
plugin-failure.test.ts feat(core): disable plugins after transform failures (#47083) 2026-09-03 16:38:11 +00:00
plugin.test.ts fix(core): reload local plugin helpers without restarting 2026-09-05 17:00:41 -04:00
preload.test.ts test(core): disable npm audits in the test preload (#47170) 2026-09-03 19:52:18 -05:00
preload.ts test(core): disable npm audits in the test preload (#47170) 2026-09-03 19:52:18 -05:00
project.test.ts test(core): remove flaky mercurial project test (#46835) 2026-09-02 11:48:54 -04:00
provider-mistral.test.ts chore: merge dev into v2 (#38563) 2026-07-23 16:20:37 -05:00
provider.test.ts refactor(ai): give named providers dedicated modules (#47726) 2026-09-06 23:56:39 -05:00
reference-instructions.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
reference.test.ts feat(plugin): add reference editor lookup 2026-09-03 01:59:36 +00:00
repository-cache.test.ts refactor(core): remove unused repository cache success timestamp (#46942) 2026-09-02 21:17:59 -04:00
repository.test.ts chore: merge dev into v2 (#39290) 2026-07-28 18:36:55 +10:00
ripgrep.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
rpc-handler-errors.test.ts fix(core): normalize RPC handler failures (#46946) 2026-09-03 13:15:24 -04:00
session-activation.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
session-checkpoint-transport.test.ts feat(ai): add streamed compaction triggers (#47082) 2026-09-04 14:00:02 +00:00
session-compact.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-compaction-transport.test.ts feat(ai): support typed provider-side compaction (#46431) 2026-09-02 20:17:15 +05:30
session-compaction.test.ts fix(core): preserve session context during compaction (#46751) 2026-09-02 02:17:27 -05:00
session-create.test.ts feat(core): persist compaction model and provider state (#46962) 2026-09-03 12:06:50 -05:00
session-diff.test.ts refactor(session): diff turns by user message 2026-09-07 21:40:33 +05:30
session-environment.test.ts feat(tui): inherit terminal environment per session (#42957) 2026-08-17 20:18:28 +00:00
session-error.test.ts feat(ai): add UnsupportedOperation error for route capability mismatches (#46960) 2026-09-03 09:44:36 -05:00
session-execution.test.ts refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
session-generate.test.ts fix(core): wait for plugin activation before session entry points (#46878) 2026-09-02 15:58:03 -04:00
session-instructions.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-log.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-message-update.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-model-request-hooks.test.ts refactor(plugin): rename session request kind "session" to "primary" (#47221) 2026-09-04 00:12:18 -05:00
session-model-request.test.ts refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
session-model-transport-live.test.ts fix(ai): preserve websocket replay baselines (#47291) 2026-09-04 13:46:00 +00:00
session-model-transport.test.ts refactor(core): remove unobservable websocket states (#47117) 2026-09-03 14:24:45 -04:00
session-move.test.ts fix(core): recover idle moves through the selected instance (#46955) 2026-09-03 16:45:16 +00:00
session-owned.test.ts fix(core): wait for plugin activation before session entry points (#46878) 2026-09-02 15:58:03 -04:00
session-projector.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-prompt.test.ts refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
session-remove.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
session-revert.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
session-run-coordinator.test.ts refactor(core): isolate Session admission and controls (#46019) 2026-08-28 23:22:25 -04:00
session-runner-message.test.ts fix(session): run user shells immediately in the background 2026-08-28 22:46:20 -04:00
session-runner-recorded.test.ts feat(core): add independent GPT and Claude tool optimization (#47559) 2026-09-05 23:43:23 -05:00
session-runner-tool-events.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-runner.test.ts feat(core): add independent GPT and Claude tool optimization (#47559) 2026-09-05 23:43:23 -05:00
session-shell.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
session-skill.test.ts fix(core): wait for plugin activation before session entry points (#46878) 2026-09-02 15:58:03 -04:00
session-sql.types.ts refactor(session): tighten persisted state (#43969) 2026-08-21 19:27:21 +00:00
session-stats.test.ts refactor(core): optimize stats tool summary (#44690) 2026-08-24 19:39:04 +05:30
session-step.test.ts refactor(core): remove redundant step closeout flags (#46937) 2026-09-03 13:35:42 -04:00
session-store.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-system-prompt.test.ts minimize system prompt (#42638) 2026-08-14 18:39:27 -05:00
session-title.test.ts refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
session-tool-progress.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-view.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
session-wait.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
shared-schema.test.ts feat(worktree): support configurable plugin strategies (#47358) 2026-09-04 19:07:40 -04:00
shell-cleanup.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
shell-parse-compatibility.test.ts feat(core): make the portable shell scanner authoritative 2026-08-26 16:35:16 -04:00
shell-parse-parity.test.ts feat(core): make the portable shell scanner authoritative 2026-08-26 16:35:16 -04:00
shell-parse-syntax.test.ts feat(core): make the portable shell scanner authoritative 2026-08-26 16:35:16 -04:00
shell-parse.test.ts feat(core): expand tildes in tool path resolution (#45605) 2026-08-27 13:41:39 -05:00
shell-retention.test.ts test(core): make Windows-flaky shell and npm tests deterministic 2026-09-01 20:45:14 -04:00
shell.test.ts fix(pty): use server shell and session cwd for terminals (#45552) 2026-08-27 10:39:27 -04:00
skill-discovery.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
skill.test.ts feat(plugin): add skill editor lookup 2026-09-02 21:55:00 -04:00
snapshot.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
sqlite-bundle.test.ts fix(core): default #sqlite resolution to the node driver (#41834) 2026-08-11 17:50:09 -04:00
sqlite-workerd.test.ts feat(server): workerd runtime profile and SDK workerd entrypoint (#41918) 2026-08-12 14:07:56 -04:00
state-group.test.ts feat(core): disable plugins after transform failures (#47083) 2026-09-03 16:38:11 +00:00
state-replay.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
state.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
tool-edit.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
tool-execute.test.ts fix(core): clarify how to call search in Code Mode guidance (#47360) 2026-09-04 18:50:47 -05:00
tool-output.test.ts refactor(core): preserve normalized tool results (#46927) 2026-09-02 20:39:55 -04:00
tool-patch.test.ts fix(core): allow patch file-to-directory replacements (#46476) 2026-08-31 16:24:04 -05:00
tool-question.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
tool-read-filesystem.test.ts refactor(core): reuse read newline locator (#45616) 2026-08-27 14:47:58 -04:00
tool-read.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
tool-registry.test.ts refactor(core): preserve normalized tool results (#46927) 2026-09-02 20:39:55 -04:00
tool-schema.test.ts feat(ai): add tool namespaces (#46548) 2026-09-04 01:09:52 -05:00
tool-search.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
tool-shell.test.ts fix(core): expand portable shell scanner compatibility (#47110) 2026-09-03 14:11:58 -04:00
tool-skill.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
tool-subagent.test.ts test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
tool-webfetch.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
tool-websearch.test.ts feat(core): keep web search providers sticky per session (#47334) 2026-09-07 03:09:47 +05:30
tool-write.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
v1-migration.test.ts feat(session): add viewed state (#42811) 2026-08-21 19:34:35 -04:00
vcs-hg.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
vcs.test.ts refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
websearch.test.ts feat(core): keep web search providers sticky per session (#47334) 2026-09-07 03:09:47 +05:30
wellknown.test.ts refactor(core): consolidate tool architecture 2026-07-26 20:16:58 -04:00
workspace.test.ts refactor(util): make layer graphs opaque and composable 2026-08-31 13:46:27 -04:00
worktree.test.ts feat(worktree): support configurable plugin strategies (#47358) 2026-09-04 19:07:40 -04:00