opencode/packages/core/test
rekram1-node 2fa63c521d feat(core): announce top-level tool availability changes
Track the direct tool names shown to the model as an instruction source so
later requests announce only what was added or removed, phrased like the
Code Mode catalog updates. The request's own tool list is the baseline, so
instruction sources may now omit an initial render and nothing is said until
the set changes.
2026-09-19 20:30:50 -05:00
..
codemode refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
config refactor(schema): separate provider and model settings (#49850) 2026-09-18 21:20:08 -05:00
effect refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
filesystem fix(sdk): support Node package imports (#49810) 2026-09-18 13:10:59 -07:00
fixture feat(core): rework MCP client for SDK v2 and the 2026-07-28 revision (#48937) 2026-09-14 01:42:53 -05:00
fixtures/recordings/session-runner feat(core): let subagents pick a model and expose models tool (#49194) 2026-09-16 01:16:55 -05:00
github-copilot refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
instructions refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
lib feat(plugin): add list to the tool domain (#49838) 2026-09-18 18:51:37 -05:00
modal refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
plugin fix(core): re-read models.dev catalog after subscribing to Refreshed (#50012) 2026-09-19 13:31:38 -05:00
process refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
pty refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
shell-scan fix(core): expand portable shell scanner compatibility (#47110) 2026-09-03 14:11:58 -04:00
skill fix(core): honor session permissions in skill and MCP discovery (#50015) 2026-09-19 12:59:09 -05:00
tool feat(core): announce top-level tool availability changes 2026-09-19 20:30:50 -05:00
util fix(core): restore Windows Git fast path (#48879) 2026-09-14 12:03:03 +10:00
agent.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
aisdk-native.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
aisdk.test.ts refactor(schema): separate provider and model settings (#49850) 2026-09-18 21:20:08 -05:00
app.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
browser-idle.test.ts fix(browser): suspend and restore idle desktop tabs (#48080) 2026-09-09 15:15:11 +10:00
bus-session-routing.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
bus.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
catalog.test.ts refactor(schema): separate provider and model settings (#49850) 2026-09-18 21:20:08 -05:00
codemode.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
command.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
credential.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
database-drizzle.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
database-migration.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
effect-app-node-platform.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
effect-simplification-types.test.ts chore: enforce effect simplifications (#43979) 2026-08-21 19:48:27 +00:00
environment.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
event-logger.test.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
file-access-path.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
file-access.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
file-mutation.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
form.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
formatter.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
generate.test.ts refactor(core): replace websocket flags with a single transport preference (#48423) 2026-09-15 00:55:43 -05:00
git.test.ts test(core): avoid stdin race in check-ignore flake test (#48995) 2026-09-14 20:31:19 +05:30
instance-vanilla.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
instruction-discovery.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
instruction-state.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
integration.test.ts fix(core): surface authorization cause in error message (#49214) 2026-09-15 14:38:15 -05:00
job.test.ts fix(core): preserve job failure details (#49226) 2026-09-15 15:30:53 -05:00
kv.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
location-activity.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
location-filesystem.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
location-layer.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
location.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
logging.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -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 fix(core): honor session permissions in skill and MCP discovery (#50015) 2026-09-19 12:59:09 -05:00
mcp-oauth.test.ts fix(core): keep the configured MCP URL as the OAuth resource (#49241) 2026-09-15 23:50:36 -05:00
mcp.test.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
model-plugins.test.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
model-resolver.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
model.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
models.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
network-guard.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
newtype.test.ts fix(core): validate scalar newtypes (#35381) 2026-07-04 21:43:08 -04:00
npm-config.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
npm.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04: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(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
permission.test.ts refactor(protocol): simplify interactive resources 2026-09-15 18:23:47 -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 refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
plugin.test.ts fix(plugin): normalize promise API inputs (#48039) 2026-09-08 18:34:49 -05:00
preload.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
preload.ts test(core): disable npm audits in the test preload (#47170) 2026-09-03 19:52:18 -05:00
project.test.ts refactor(schema): remove project initialized time 2026-09-13 17:44:59 -04:00
provider.test.ts refactor(schema): separate provider and model settings (#49850) 2026-09-18 21:20:08 -05:00
reference-instructions.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
reference.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
repository-cache.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
repository.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
ripgrep.test.ts fix(core): exclude hidden glob matches before limiting results 2026-09-09 09:41:07 -04:00
rpc-handler-errors.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-activation.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-checkpoint-transport.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-compact.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-compaction-transport.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-compaction.test.ts refactor(core): move provider policies into settings (#49666) 2026-09-18 10:18:33 -05:00
session-create.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-diff.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-environment.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-error.test.ts fix(core): retry acknowledged websocket read failures (#49183) 2026-09-16 16:15:19 +05:30
session-execution.test.ts fix(core): keep recovered shell notices from waking idle sessions (#49378) 2026-09-16 14:25:00 -04:00
session-generate.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-instructions.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-log.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-model-request-hooks.test.ts feat(plugin): add experimental WebSocket send and receive hooks (#49136) 2026-09-16 14:13:33 -05:00
session-model-request.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-model-transport-live.test.ts fix(core): close websocket after provider error frame (#47973) 2026-09-09 16:50:20 +05:30
session-model-transport.test.ts fix(core): pin the session to http after repeated websocket stream losses (#50031) 2026-09-19 16:45:54 -05:00
session-move.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-native-compaction.test.ts refactor(core): move provider policies into settings (#49666) 2026-09-18 10:18:33 -05:00
session-owned.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-projector.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-prompt.test.ts fix(app): deliver text and oversized attachments by path (#49682) 2026-09-18 06:30:57 +00:00
session-provider-context.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-remove.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-revert.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-run-coordinator.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-runner-message.test.ts feat: preserve prompt cache across effort switches (#48513) 2026-09-14 18:35:46 +05:30
session-runner-recorded.test.ts feat(core): append model identity to system prompts via plugin (#49129) 2026-09-15 11:46:07 -05:00
session-runner-tool-events.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-runner.test.ts fix(core): honor session permissions in skill and MCP discovery (#50015) 2026-09-19 12:59:09 -05:00
session-shell.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-skill.test.ts refactor(protocol): simplify session actions 2026-09-14 13:00:08 -04:00
session-sql.types.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-stats.test.ts fix(core): match versioned usage event type in stats (#48997) 2026-09-14 20:30:13 +05:30
session-step.test.ts feat(tui): reload all locations 2026-09-16 16:47:44 -04:00
session-store.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-system-prompt.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-title.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-tool-progress.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
session-view.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
session-wait.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
shared-schema.test.ts refactor(core): move provider policies into settings (#49666) 2026-09-18 10:18:33 -05:00
shell-cleanup.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -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 refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
shell-retention.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
shell.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
skill-discovery.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
skill.test.ts fix(core): honor session permissions in skill and MCP discovery (#50015) 2026-09-19 12:59:09 -05:00
snapshot.test.ts test: align coverage with v2 refactors (#48900) 2026-09-13 21:44:49 -05: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 refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
state-group.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
state-replay.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
state.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-edit.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-execute.test.ts feat(core): expose fetch to code mode scripts (#49235) 2026-09-15 23:29:22 -05:00
tool-html-markdown-budget.test.ts fix(core): terminate exhausted Markdown code budgets (#47408) 2026-09-09 09:15:11 -04:00
tool-opencode.test.ts feat(core): let subagents pick a model and expose models tool (#49194) 2026-09-16 01:16:55 -05:00
tool-output.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-patch.test.ts fix(core): shape compaction and generate requests with built-in context hooks (#48749) 2026-09-12 23:10:09 -05:00
tool-question.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-read-filesystem.test.ts fix(core): preserve trailing blank lines in read pages 2026-09-09 09:31:19 -04:00
tool-read.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-registry.test.ts feat(plugin): add list to the tool domain (#49838) 2026-09-18 18:51:37 -05:00
tool-schema.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-search.test.ts fix(core): exclude hidden glob matches before limiting results 2026-09-09 09:41:07 -04:00
tool-shell.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
tool-skill.test.ts refactor(protocol): simplify skill and reference contracts 2026-09-13 18:52:55 -04:00
tool-subagent.test.ts fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
tool-webfetch.test.ts fix(core): preserve inline code boundary backticks (#47410) 2026-09-09 09:15:52 -04:00
tool-websearch.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-write.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
v1-migration.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
variant.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
vcs-hg.test.ts test(core): expect the vcs provider in info results (#49264) 2026-09-15 23:01:16 -04:00
vcs.test.ts test(core): expect the vcs provider in info results (#49264) 2026-09-15 23:01:16 -04:00
websearch.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
wellknown.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
workspace.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
worktree.test.ts feat(core): make worktree APIs project-based (#48867) 2026-09-14 22:40:16 -04:00