Skip to content

feat: list/create memories via api.agentage.io, not the sync host#73

Merged
vreshch merged 1 commit into
masterfrom
feature/memory-create-api
Jun 23, 2026
Merged

feat: list/create memories via api.agentage.io, not the sync host#73
vreshch merged 1 commit into
masterfrom
feature/memory-create-api

Conversation

@vreshch

@vreshch vreshch commented Jun 21, 2026

Copy link
Copy Markdown
Member

Why

Memory management moved to the backend API. The plugin should call api.agentage.io/api/memories; sync.<fqdn> stays a pure git transport (resolution + push/pull).

What

  • listVaults() / createVault() now hit GET/POST api.<fqdn>/api/memories (was sync/vaults).
  • Map the backend Memory shape → VaultInfo (entries→files, folderCount→folders).
  • Treat 503 as "create not available yet".

Tests

68 tests pass; tsc + eslint + prettier clean.

Deploy order

Release after the backend create endpoint is live (agentage/web#359). Until this ships, old installs keep working via the deprecated sync/vaults shim (agentage/web#360).

Memory management moves to the backend API (GET/POST /api/memories); sync.<fqdn>
stays a pure git transport (resolution + push/pull). Maps the backend Memory shape
to VaultInfo; treats 503 as 'create not available yet'.
@github-actions

Copy link
Copy Markdown

🎉 PR Validation ✅ PASSED

Commit: e8a1848c2b8603a11daa3d1ea36f681edd302f0d
Branch: feature/memory-create-api

Checks:

  • ✅ Dependencies installed
  • ✅ Type check passed
  • ✅ Linting passed
  • ✅ Format check passed
  • ✅ Tests + coverage passed
  • ✅ Build successful
  • ✅ Store-compliance checks passed
  • ✅ Bundle is mobile-safe

Ready to merge!


🔗 View workflow run

@vreshch vreshch marked this pull request as ready for review June 21, 2026 22:48
@vreshch vreshch merged commit 8edefd3 into master Jun 23, 2026
1 check passed
@vreshch vreshch deleted the feature/memory-create-api branch June 23, 2026 07:46
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