fix: add conditioned recall and automatic capture#61
Conversation
Port the reasoned per-turn recall flow from #52, including scoped auto-approval for Supermemory search permissions and optional debug output. Capture completed OpenCode conversations every configured N turns and flush the final remainder on session deletion or instance shutdown. Exclude synthetic plugin context, protect private content, and use stable custom IDs for idempotency. Tests: - bun run typecheck - HOME=/private/tmp bun run test - bun run build
6728f99 to
7195f03
Compare
💡 Codex Reviewopencode-supermemory/src/services/client.ts Lines 219 to 223 in 6728f99 When opencode-supermemory/src/services/tags.ts Lines 223 to 228 in 6728f99 When a repository contains ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |

Retargeting #59 onto main. #59 was originally stacked on feat/agents2 (merged via #58) and was never re-pointed at main before merging, so its commits (conditioned recall + automatic capture, and the 2.0.10 version bump) never landed on main or got published.
This PR brings those two commits onto main directly so they can be reviewed and merged properly, then published as opencode-supermemory@2.0.10.
Original PR: #59 (merged into feat/agents2 by mistake)
Related: #58 (Unify OpenCode agent memory containers, merged to main as 2.0.9)