Skip to content
Open
Changes from 2 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_RECALL_CONTEXT: ["retainContext", "string"],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected

// 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