Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions hindsight-integrations/opencode/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ const ENV_OVERRIDES: Record<string, [keyof HindsightConfig, "string" | "bool" |
HINDSIGHT_RECALL_CONTEXT_TURNS: ["recallContextTurns", "int"],
HINDSIGHT_DYNAMIC_BANK_ID: ["dynamicBankId", "bool"],
HINDSIGHT_BANK_MISSION: ["bankMission", "string"],
HINDSIGHT_BANK_ID_PREFIX: ["bankIdPrefix", "string"],
HINDSIGHT_RETAIN_EVERY_N_TURNS: ["retainEveryNTurns", "int"],
HINDSIGHT_RETAIN_OVERLAP_TURNS: ["retainOverlapTurns", "int"],
HINDSIGHT_RECALL_TAGS: ["recallTags", "string"],
HINDSIGHT_RETAIN_TAGS: ["retainTags", "string"],
HINDSIGHT_RECALL_TAGS_MATCH: ["recallTagsMatch", "string"],
HINDSIGHT_RECALL_PROMPT_PREAMBLE: ["recallPromptPreamble", "string"],
HINDSIGHT_RETAIN_CONTEXT: ["retainContext", "string"],
// NOTE: `debug` is intentionally NOT an env override. It is a proper config
// option set via opencode.json plugin options or ~/.hindsight/opencode.json,
// because env vars are unreliable to set for OpenCode's plugin runtime
Expand Down