opencode/packages/core/test/config
Aiden Cline 4c949b0356 fix(core): map v1 setCacheKey to compatibility
V1 provider.options.setCacheKey was passed through as an inert provider setting, so the prompt cache key was never sent for providers that opt in (and could not be disabled for providers that default it on). Lower it to compatibility.supportsPromptCacheKey on the provider, add provider-level compatibility to the config schema, and apply it to every model of the provider with model-level compatibility taking precedence.
2026-09-28 17:58:56 -05:00
..
fixture/skills chore: generate 2026-08-11 00:39:33 +00:00
agent.test.ts fix(core): preserve legacy markdown agent variants 2026-09-09 10:02:03 -04:00
command-subagent.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
command.test.ts refactor(protocol): normalize session resources 2026-09-14 17:51:48 -04:00
compaction.test.ts refactor(core): cleanup session compaction (#51447) 2026-09-26 00:00:11 -05:00
config.test.ts fix(core): map v1 setCacheKey to compatibility 2026-09-28 17:58:56 -05:00
entry-observer.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
image.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
model.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
normalization.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
policy.test.ts feat(core): enforce Console-managed policies (#49729) 2026-09-21 11:10:57 -05:00
provider-options.test.ts fix(core): map v1 setCacheKey to compatibility 2026-09-28 17:58:56 -05:00
provider.test.ts fix(core): map v1 setCacheKey to compatibility 2026-09-28 17:58:56 -05:00
reload.test.ts refactor(core): split provider and model registries (#48901) 2026-09-14 10:34:11 -04:00
shell.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
skill.test.ts refactor(core): isolate compatibility skills 2026-09-13 19:11:13 -04:00
snapshot.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
tool-output.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
warming.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
watch.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
websearch.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00