Skip to content

feat(memory): add an opt-in Qoder CLI memory toggle - #73

Merged
luoxuanzao merged 2 commits into
mainfrom
feat/auto-memory
Sep 20, 2026
Merged

luoxuanzao merged 2 commits into
mainfrom
feat/auto-memory

Conversation

@luoxuanzao

Copy link
Copy Markdown
Member

Summary

  • Adds an opt-in Memory toggle to Qoderian's settings (Settings → Experimental, default off). When it is on, the plugin passes { mode: 'native' } to the Qoder Agent SDK, so qodercli saves and reloads reusable information across conversations using its own memory store — the same one the terminal CLI uses.
  • Memory is a query-startup option, so toggling the switch restarts the running session once.
  • Covers both conversation paths (buildBaseOptions for the persistent session and the cold-start path); title generation and inline-edit helper queries are unaffected.
  • The switch is rendered in both settings surfaces — Obsidian's settings tab and the in-view settings window — with strings in all 10 locales.
  • Documented under [Unreleased] in CHANGELOG.md (Added).

Verification

  • npm run typecheck
  • npm run lint
  • npm run test (167 suites, 3574 tests; 7 of them new for the toggle, the option builder, and the session restart)
  • npm run build
  • npm run release:check
  • npm run audit:prod
  • Tested affected qodercli behavior against a real CLI when applicable — enablement is passed straight through to the CLI's own memory implementation, so the CLI is exercised rather than changed; the option shape follows the SDK's MemoryOptions (mode: 'native', project/user scopes default on) from @qoder-ai/qoder-agent-sdk 1.0.41. The build was deployed to a local vault and exercised in Obsidian.

Safety

  • No credentials, private vault content, internal URLs, or personal paths are included
  • User-visible changes are documented in CHANGELOG.md

luoxuanzao and others added 2 commits September 20, 2026 00:41
Settings → Safety gains a Memory switch, off by default. When enabled,
query options request CLI-native memory so the CLI saves and reloads
reusable information across conversations from its shared memory store;
toggling the switch restarts the running session once.
Memory is still settling in as a Qoder CLI feature, so it belongs with the
other experimental switch instead of the safety group.

Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
@luoxuanzao
luoxuanzao merged commit f9e7019 into main Sep 20, 2026
10 checks passed
@luoxuanzao
luoxuanzao deleted the feat/auto-memory branch September 20, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant