opencode/packages/core/test/plugin
Shoubhit Dash b0dac0d5b3 refactor(core): read the Plan directory from plugin options
Core config no longer knows about Plan mode. This removes the plan key, its schema, and the regenerated OpenAPI and client output. The opencode.plan plugin reads directory from its plugin options instead. It logs and falls back to ~/.opencode/plan when the options are invalid, so a typo never leaves the Plan agent without its edit restrictions.
2026-10-06 19:44:50 +05:30
..
fixtures fix(core): exclude invalid Bedrock entries from models.dev imports (#48081) 2026-09-09 11:36:14 -05:00
command.test.ts refactor(protocol): normalize session resources 2026-09-14 17:51:48 -04:00
fixture.ts feat(core): enforce Console-managed policies (#49729) 2026-09-21 11:10:57 -05:00
host.ts feat(plugin): expose session compaction (#52385) 2026-09-30 22:26:10 -05:00
identity.test.ts feat(core): let subagents pick a model and expose models tool (#49194) 2026-09-16 01:16:55 -05:00
mcp-codemode-defaults.test.ts feat(core): MCP Code Mode defaults, turn off PostHog's server-side Code Mode (#51029) 2026-09-23 23:30:12 -05:00
models-dev.test.ts feat(core): wire native Vercel AI Gateway provider (#53432) 2026-10-05 18:07:39 -05:00
module.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
optimize.test.ts fix: Update condition for OpenAIPlugin to check 'astra' (#50989) 2026-09-23 17:43:12 -05:00
plan.test.ts refactor(core): read the Plan directory from plugin options 2026-10-06 19:44:50 +05:30
promise-tool.test.ts refactor(plugin): name tool execution context (#50195) 2026-09-20 11:36:19 -05:00
provider-amazon-bedrock.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-azure.test.ts test(core): test Azure plugin behavior instead of fakes (#52570) 2026-10-01 21:42:39 +02:00
provider-cerebras.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-chatgpt.test.ts fix(core): temporarily stop syncing w/ /models api for sign in w/ chatgpt due to openai bugs (#53466) 2026-10-05 21:05:11 -05:00
provider-cloudflare-ai-gateway.test.ts fix(core): fall back to Cloudflare environment IDs when not configured (#51963) 2026-09-28 19:28:03 -05:00
provider-cloudflare-workers-ai.test.ts fix(core): fall back to Cloudflare environment IDs when not configured (#51963) 2026-09-28 19:28:03 -05:00
provider-digitalocean.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-dynamic.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
provider-factory.test.ts feat(core): wire native Vercel AI Gateway provider (#53432) 2026-10-05 18:07:39 -05:00
provider-github-copilot.test.ts fix(core): share affinity in provider session headers (#51931) 2026-09-28 19:30:24 -05:00
provider-gitlab-oauth.test.ts feat(core): restore GitLab workflow discovery and add OAuth login (#50422) 2026-09-23 23:00:52 -05:00
provider-gitlab.test.ts feat(core): restore GitLab workflow discovery and add OAuth login (#50422) 2026-09-23 23:00:52 -05:00
provider-google-vertex.test.ts chore: enable noUnusedLocals in ai and core (#52858) 2026-10-02 22:45:27 +00:00
provider-kilo.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-llmgateway.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-lmstudio.test.ts refactor(core): share local provider discovery plugin across vllm, lmstudio, and ollama (#53438) 2026-10-05 15:00:04 -07:00
provider-nvidia.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-ollama.test.ts refactor(core): share local provider discovery plugin across vllm, lmstudio, and ollama (#53438) 2026-10-05 15:00:04 -07:00
provider-openai.test.ts fix(core): rename legacy OpenAI OAuth methods to Codex (#53467) 2026-10-05 21:21:42 -05:00
provider-opencode.test.ts fix(core): release unread Console config responses (#53409) 2026-10-05 18:59:54 +00:00
provider-openrouter.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-poe.test.ts feat(app): sign in to OpenCode Go and Console through the browser (#50267) 2026-09-22 19:34:30 +10:00
provider-sap-ai-core.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
provider-snowflake-cortex.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-vercel.test.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
provider-vllm.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
provider-xai.test.ts refactor(schema): separate provider and model settings (#49850) 2026-09-18 21:20:08 -05:00
provider-zenmux.test.ts refactor(core): refactor model resolving logic, fix missing variant logic (#48943) 2026-09-14 18:29:34 -05:00
session-compact.test.ts feat(plugin): expose session compaction (#52385) 2026-09-30 22:26:10 -05:00
session-remove.test.ts feat(plugin): expose session removal (#52387) 2026-09-30 17:51:36 -05:00
skill.test.ts refactor(protocol): simplify skill and reference contracts 2026-09-13 18:52:55 -04:00
supervisor-reload.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
supervisor.test.ts feat(core): pass plugin options to built-in plugins 2026-10-06 19:44:34 +05:30
tool-input-repair-integration.test.ts feat(core): repair malformed tool arguments before validation (#45002) 2026-09-18 10:26:02 -05:00
tool-input-repair.test.ts feat(plugin): add list to the tool domain (#49838) 2026-09-18 18:51:37 -05:00
vcs-init.test.ts fix(app): restore Git initialization for non-Git projects (#51455) 2026-10-02 06:13:19 +00:00
verbosity.test.ts feat(core): wire native Vercel AI Gateway provider (#53432) 2026-10-05 18:07:39 -05:00
websearch-fixture.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
websearch.test.ts feat(core): add TinyFish web search (#48561) 2026-09-12 02:10:54 -05:00
worktree.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00