Skip to content

feat: RTK Cloud sync compatibility#13

Merged
pszymkowiak merged 6 commits intomainfrom
feat/cloud-sync
Mar 16, 2026
Merged

feat: RTK Cloud sync compatibility#13
pszymkowiak merged 6 commits intomainfrom
feat/cloud-sync

Conversation

@pszymkowiak
Copy link
Copy Markdown
Contributor

Summary

  • X-Org-Id header on all cloud API calls
  • Fallback to rtk-pro credentials (avoid re-login)
  • Email/password login (icm cloud login --password)
  • Safe deserialization with CloudMemory intermediate struct
  • Better HTTP error reporting

- Add Scope enum (user/project/org) to Memory model
- Add [cloud] config section (endpoint, default_scope, enabled)
- Add cloud.rs module: OAuth browser login (mirrors rtk-pro pattern),
  credentials storage, push/pull/delete API, background sync
- Add `icm cloud` CLI subcommands: login, logout, status, push, pull
- User scope stays local-only, project/org scopes sync to cloud
- Upsell message when attempting cloud scope without credentials
…, email login

- Add X-Org-Id header to all API calls (push, pull, delete)
- Fallback to rtk-pro credentials at ~/Library/Application Support/rtk/
- Add login_password() for email/password auth
- Safe deserialization via CloudMemory intermediate struct
- Better error reporting on HTTP failures
- Auto-consolidation: when a topic exceeds 10 memories, automatically
  merge into a single high-importance summary (configurable threshold)
- Agent memory scope: topic prefix matching in recall (e.g., --topic wshm
  matches wshm:owner/repo), scoped topic listing
- Pattern extraction: detect recurring memory clusters via Jaccard
  similarity on keywords, optionally create memoir concepts
- New MCP tool: icm_memory_extract_patterns
- New CLI commands: icm update, icm health, icm extract-patterns
- Full MCP/CLI parity: all 19 MCP tools now have CLI equivalents
- Bump version to 0.6.0
@pszymkowiak pszymkowiak merged commit bb1b2dc into main Mar 16, 2026
1 check passed
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