@tablestore/tablestore-agent-cli 0.2.11 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +3 -0
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +10 -11
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/memory-items.d.ts +3 -0
- package/dist/commands/memory-items.d.ts.map +1 -0
- package/dist/commands/memory-items.js +375 -0
- package/dist/commands/memory-items.js.map +1 -0
- package/dist/commands/memory.d.ts.map +1 -1
- package/dist/commands/memory.js +131 -196
- package/dist/commands/memory.js.map +1 -1
- package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
- package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
- package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +16 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +15 -15
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +15 -15
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +18 -18
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +18 -18
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0e95__next-internal_server_app_api_v1_instances_connectivity_route_actions_0hc.k~w.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +8 -8
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-pbmiq._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-wmyic._.js +40 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.li3cj._.js +40 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0w56nne._.js → [root-of-the-server]__0sa.9zr._.js} +6 -6
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0tc-.6s._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0y0w3mg._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0.ooo1s._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fsbff._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0b5cw4e._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0p1cst6._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0xza7lz._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.6x0yu._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.pa1e6._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01snuz~._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0251rsp._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_02waf76._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06_hoj_._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0brqbty._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0csuit-._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0eps5jg._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ez3yia._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0k7q0ug._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0pwlb77._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0t.h859._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0thp9l5._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0_z9696._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{dashboard_src_0bhjp9s._.js → dashboard_src_0jrh7xy._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0x60pxf._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_[dreamId]_page_tsx_0wy3tv6._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_page_tsx_0uzzpvs._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_layout_tsx_0rbi41w._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_memory_memory-files-browser_tsx_0o2~94-._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0ymj2~2._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-xwobg-a6si1.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/01bokygf48bnj.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/04a.1c2rygy08.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/05.2q9f0yx4e_.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09v-qczj__g1x.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{08nzc9sye_0~h.js → 0_8~9zgfm5f.8.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_zw2y~vb_52n.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0a2f-mxepv-y7.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0jjiw-agnutux.js → 0amex7bwxnme9.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0apfhv-v7oy7u.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0bxt5icwb83xt.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dpi1comd-thc.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{08h7wustf~cl4.js → 0eerrv808~6bh.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j6agpotrd_n4.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jbcdgtcgqemd.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{01xcynczarvq~.js → 0jp7zmwvyv0bn.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k8mhea24d_kj.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0krt75we1wtcy.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0prl9yrb8ksp8.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{01xuyqw7ivp3n.js → 0r4azm.3hswcs.js} +3 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0uj7ezedkm6ou.css +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0x5qtkdg2trq9.js +5 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zhfdjby7cj-q.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0~a4ig2x9z8uq.js → 13__t3s3ipfzl.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16uky1ro-t_~9.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0hnqmb1a7y7x1.js → 18absak_u0d85.js} +3 -3
- package/dist/dashboard-runtime/dashboard/server.js +1 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +187 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +14 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/page.tsx +3 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/connectivity/route.ts +66 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-curator.ts +57 -52
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.ts +39 -6
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/[action]/route.ts +22 -28
- package/dist/dashboard-runtime/dashboard/src/app/onboarding/page.tsx +1 -3
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-picker.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/instance/instance-connectivity-dot.tsx +96 -0
- package/dist/dashboard-runtime/dashboard/src/components/instance/project-card.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-gate.tsx +23 -5
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-switcher.tsx +23 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +13 -1
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +29 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-details-panel.tsx +4 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-editor.tsx +9 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-version-history.tsx +107 -57
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +253 -68
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-plan-approval-dialog.tsx +172 -0
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-files-browser.tsx +104 -56
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +204 -52
- package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +169 -42
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +4 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/llm-model-selector.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/ui/dialog.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/contexts/subspace-context.tsx +144 -30
- package/dist/dashboard-runtime/dashboard/src/hooks/use-approve-dream-plan.ts +25 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-file-memory.ts +73 -72
- package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +40 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-subspace-history.ts +64 -75
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +82 -7
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +80 -7
- package/dist/dashboard-runtime/dashboard/src/lib/browser-file-memory.ts +31 -25
- package/dist/dashboard-runtime/dashboard/src/lib/memory-scope-history.ts +165 -0
- package/dist/dashboard-runtime/dashboard/src/lib/memory.ts +13 -0
- package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +10 -14
- package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +5 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/instance-connectivity.ts +136 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +25 -3
- package/dist/dashboard-runtime/dashboard/src/lib/subspace-history.ts +151 -0
- package/dist/dashboard-runtime/dashboard/src/services/file-memory.ts +48 -56
- package/dist/dashboard-runtime/dashboard/src/services/instances.ts +5 -0
- package/dist/dashboard-runtime/dashboard/src/services/memory.ts +45 -5
- package/dist/dashboard-runtime/dashboard/src/types/file-memory.ts +96 -43
- package/dist/dashboard-runtime/dashboard/src/types/instance.ts +17 -0
- package/dist/dashboard-runtime/dashboard/src/types/memory.ts +50 -3
- package/dist/dashboard-runtime/dashboard/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/dist/dashboard-runtime/node_modules/@img/{sharp-linux-x64 → sharp-darwin-arm64}/package.json +7 -13
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/README.md +2 -2
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/glib-2.0/include/glibconfig.h +8 -9
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib} +0 -0
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/package.json +5 -11
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +9 -55
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +25 -93
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +4 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/main.js +0 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +9 -55
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +25 -93
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +4 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0dzh4cj._.js +0 -40
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0k7ex0r._.js +0 -40
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01f7est._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0cj2gsm._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05bw0~2._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_071hi50._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hy21o9._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xrd8-1._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0y7vx.d._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13ctfae._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0sr_ner._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-~e5~2eoun8n.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/029zyc1pxa~4m.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/05vzt~ml0z7~9.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/08o2~c-80nbla.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_osn.dm_85jw.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0aj~rx1m.91ur.js +0 -5
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dx_8pb_z_xy6.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k9guaejnlc0r.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ll488v66ycn1.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pxisu-1mnehf.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vn5pp.3keyh5.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wbozn0wq-4ls.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/12iur8ibdfi5_.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/13kxz9vygidrz.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/165fwg-5at5cq.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/17b4md7atp39z.js +0 -1
- package/dist/dashboard-runtime/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/semver/node_modules/.bin/semver +0 -21
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_ssgManifest.js +0 -0
- /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/index.js +0 -0
- /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/versions.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-items.js","sourceRoot":"","sources":["../../src/commands/memory-items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,MAAM,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,mBAAmB,GAAG,IAAI,CAAC;AACjC,MAAM,sBAAsB,GAAG,GAAG,GAAG,IAAI,CAAC;AAY1C,SAAS,YAAY,CAAC,KAAyB;IAC7C,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,QAAQ,GAAG,KAAK,IAAI,MAAM,CAAC,iBAAiB,CAAC;IACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,WAAW,CACT,aAAa,EACb,qDAAqD,EACrD,MAAM,CAAC,KAAK,CACb,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,cAAc,CAAC,OAAgB;IACtC,OAAO,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AAU,CAAC,IAAI,CAAC,CAAC;YACtC,SAAS;YACT,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;SACnB,CAAC,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,MAAM,CACJ,KAAK;SACF,OAAO,CAAC,qBAAqB,CAAC;SAC9B,WAAW,CAAC,iDAAiD,CAAC;SAC9D,MAAM,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CACnD,CAAC,MAAM,CAAC,KAAK,EAAE,SAAiB,EAAE,IAAwB,EAAE,EAAE;QAC7D,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;QACjD,MAAM,cAAc,CAClB,qCAAqC,SAAS,iBAAiB,IAAI,CAAC,eAAe,0BAA0B,CAC9G,CAAC;QACF,IAAI,CACF,MAAM,eAAe,EAAE,CAAC,iBAAiB,CAAC;YACxC,GAAG,IAAI;YACP,SAAS;YACT,GAAG,eAAe,CAAC,IAAI,CAAC;SACzB,CAAC,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/commands/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/commands/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAge5C,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA8tC5D"}
|
package/dist/commands/memory.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Option } from "commander";
|
|
2
|
-
import { readFileSync } from "node:fs";
|
|
3
2
|
import { outputResult, outputError } from "../output.js";
|
|
4
3
|
import { getConfig, getMemoryClient } from "../main.js";
|
|
5
4
|
import { parseJsonArg } from "../utils/parse-json-arg.js";
|
|
6
5
|
import { parseIntArg } from "../utils/parse-int-arg.js";
|
|
7
6
|
import { loadJsonFile } from "../utils/load-json-file.js";
|
|
8
7
|
import { confirmOrAbort } from "../utils/confirm.js";
|
|
8
|
+
import { registerMemoryItemsCommands } from "./memory-items.js";
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
10
|
// Helpers
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
@@ -198,6 +198,37 @@ function withMetadataOptions(cmd) {
|
|
|
198
198
|
// Dream / Task helpers
|
|
199
199
|
// ---------------------------------------------------------------------------
|
|
200
200
|
const SCOPE_FIELDS = ["appId", "tenantId", "agentId", "runId"];
|
|
201
|
+
const DREAM_TASK_TYPE_VALUES = ["memory", "skill", "profile"];
|
|
202
|
+
const DREAM_EXECUTION_MODE_VALUES = ["single_loop", "multi_loop"];
|
|
203
|
+
const DREAM_APPLY_MODE_VALUES = ["proposal", "safe_auto", "plan"];
|
|
204
|
+
function parseUnixMillis(raw, flagName) {
|
|
205
|
+
if (raw === undefined)
|
|
206
|
+
return undefined;
|
|
207
|
+
if (!/^\d+$/.test(raw)) {
|
|
208
|
+
outputError("INVALID_PARAMETER", `--${flagName} must be Unix milliseconds`, getConfig().human);
|
|
209
|
+
}
|
|
210
|
+
const value = Number(raw);
|
|
211
|
+
if (!Number.isSafeInteger(value) || value < 0) {
|
|
212
|
+
outputError("INVALID_PARAMETER", `--${flagName} must be a non-negative safe integer`, getConfig().human);
|
|
213
|
+
}
|
|
214
|
+
return value;
|
|
215
|
+
}
|
|
216
|
+
function parseDreamPlan(value) {
|
|
217
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) {
|
|
218
|
+
return undefined;
|
|
219
|
+
}
|
|
220
|
+
const record = value;
|
|
221
|
+
if (typeof record.summary !== "string" ||
|
|
222
|
+
record.summary.trim() === "" ||
|
|
223
|
+
!Array.isArray(record.deleteMemoryIds) ||
|
|
224
|
+
!record.deleteMemoryIds.every((memoryId) => typeof memoryId === "string" && memoryId.trim() !== "")) {
|
|
225
|
+
return undefined;
|
|
226
|
+
}
|
|
227
|
+
return {
|
|
228
|
+
summary: record.summary.trim(),
|
|
229
|
+
deleteMemoryIds: record.deleteMemoryIds,
|
|
230
|
+
};
|
|
231
|
+
}
|
|
201
232
|
/**
|
|
202
233
|
* Build a `targetScope` from the four `--target-*` flags used by
|
|
203
234
|
* `memory dream actions`. Returns `undefined` when all four are absent so
|
|
@@ -674,18 +705,19 @@ export function registerMemoryCommand(program) {
|
|
|
674
705
|
.command("create")
|
|
675
706
|
.description("Create a dream task (single scope by default; multi-scope via --scopes-file)")
|
|
676
707
|
.option("--scopes-file <path>", "JSON file of ScopeValue[] for multi-scope dream")
|
|
677
|
-
.addOption(new Option("--
|
|
678
|
-
.
|
|
679
|
-
.
|
|
708
|
+
.addOption(new Option("--task-type <type>", "Dream task output type").choices(DREAM_TASK_TYPE_VALUES))
|
|
709
|
+
.addOption(new Option("--execution-mode <mode>", "Dream execution pipeline").choices(DREAM_EXECUTION_MODE_VALUES))
|
|
710
|
+
.addOption(new Option("--apply-mode <mode>", "Action apply policy").choices(DREAM_APPLY_MODE_VALUES))
|
|
680
711
|
.addOption(new Option("--scope-output-mode <mode>", "Where dream writes target memories").choices(["preserve_scope", "promote_scope"]))
|
|
681
|
-
.option("--min-timestamp <value>", "Earliest message timestamp (
|
|
682
|
-
.option("--max-timestamp <value>", "Latest message timestamp (
|
|
712
|
+
.option("--min-timestamp <value>", "Earliest message timestamp (Unix milliseconds)")
|
|
713
|
+
.option("--max-timestamp <value>", "Latest message timestamp (Unix milliseconds)")
|
|
683
714
|
.option("--max-sessions <count>", "Max sessions to scan")
|
|
684
715
|
.option("--max-messages <count>", "Max messages to scan")
|
|
685
716
|
.option("--max-memories <count>", "Max memories to scan")
|
|
686
717
|
.option("--expanded-scope-limit <count>", "Cap on expanded scope count")
|
|
687
718
|
.option("--instructions <text>", "Free-form planner guidance")
|
|
688
719
|
.option("--client-token <token>", "Idempotency token")
|
|
720
|
+
.option("--incremental", "Resume from the last successful dream watermark")
|
|
689
721
|
.option("--confidence-thresholds <json>", 'Per-action confidence thresholds, e.g. {"add":0.7,"update":0.6}'))).action(async (opts) => {
|
|
690
722
|
const config = getConfig();
|
|
691
723
|
const hasSingleScope = opts.appId || opts.tenantId || opts.agentId || opts.runId;
|
|
@@ -701,34 +733,73 @@ export function registerMemoryCommand(program) {
|
|
|
701
733
|
resolveScope(opts.appId, opts.tenantId, opts.agentId, opts.runId, false),
|
|
702
734
|
];
|
|
703
735
|
}
|
|
736
|
+
const taskType = opts.taskType ?? "memory";
|
|
737
|
+
const explicitExecutionMode = opts.executionMode;
|
|
738
|
+
const explicitApplyMode = opts.applyMode;
|
|
739
|
+
if (taskType === "skill" || taskType === "profile") {
|
|
740
|
+
if (explicitApplyMode !== undefined) {
|
|
741
|
+
outputError("INVALID_PARAMETER", `apply mode is not supported for task type ${taskType}`, config.human);
|
|
742
|
+
}
|
|
743
|
+
if (explicitExecutionMode === "multi_loop") {
|
|
744
|
+
outputError("INVALID_PARAMETER", `multi_loop is not supported for task type ${taskType}`, config.human);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
if (explicitExecutionMode === "single_loop" &&
|
|
748
|
+
explicitApplyMode === "plan") {
|
|
749
|
+
outputError("INVALID_PARAMETER", "apply mode plan requires execution mode multi_loop", config.human);
|
|
750
|
+
}
|
|
751
|
+
if (explicitExecutionMode === "multi_loop") {
|
|
752
|
+
if (explicitApplyMode === undefined) {
|
|
753
|
+
outputError("INVALID_PARAMETER", "multi_loop requires an explicit apply mode of safe_auto or plan", config.human);
|
|
754
|
+
}
|
|
755
|
+
if (explicitApplyMode === "proposal") {
|
|
756
|
+
outputError("INVALID_PARAMETER", "multi_loop requires apply mode safe_auto or plan", config.human);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
const applyMode = explicitApplyMode ?? "proposal";
|
|
760
|
+
const executionMode = explicitExecutionMode ??
|
|
761
|
+
(applyMode === "plan" ? "multi_loop" : "single_loop");
|
|
762
|
+
const maxScopes = executionMode === "multi_loop" ? 8 : 20;
|
|
763
|
+
if (scopes.length > maxScopes) {
|
|
764
|
+
outputError("INVALID_PARAMETER", `scopes length ${scopes.length} exceeds maximum of ${maxScopes}`, config.human);
|
|
765
|
+
}
|
|
704
766
|
const request = {
|
|
705
767
|
memoryStoreName: resolveStore(opts.store),
|
|
706
768
|
scopes,
|
|
707
|
-
|
|
769
|
+
executionMode,
|
|
708
770
|
};
|
|
771
|
+
if (taskType !== "memory")
|
|
772
|
+
request.taskType = taskType;
|
|
773
|
+
if (taskType === "memory")
|
|
774
|
+
request.applyMode = applyMode;
|
|
709
775
|
if (opts.scopeOutputMode)
|
|
710
776
|
request.scopeOutputMode = opts.scopeOutputMode;
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
if (
|
|
714
|
-
request.
|
|
777
|
+
const minTimestamp = parseUnixMillis(opts.minTimestamp, "min-timestamp");
|
|
778
|
+
const maxTimestamp = parseUnixMillis(opts.maxTimestamp, "max-timestamp");
|
|
779
|
+
if (minTimestamp !== undefined)
|
|
780
|
+
request.minTimestamp = minTimestamp;
|
|
781
|
+
if (maxTimestamp !== undefined)
|
|
782
|
+
request.maxTimestamp = maxTimestamp;
|
|
715
783
|
if (opts.maxSessions !== undefined) {
|
|
716
784
|
request.maxSessions = parseIntArg(opts.maxSessions, "max-sessions", {
|
|
717
|
-
min:
|
|
785
|
+
min: 0,
|
|
786
|
+
max: 100,
|
|
718
787
|
});
|
|
719
788
|
}
|
|
720
789
|
if (opts.maxMessages !== undefined) {
|
|
721
790
|
request.maxMessages = parseIntArg(opts.maxMessages, "max-messages", {
|
|
722
|
-
min:
|
|
791
|
+
min: 0,
|
|
792
|
+
max: 20_000,
|
|
723
793
|
});
|
|
724
794
|
}
|
|
725
795
|
if (opts.maxMemories !== undefined) {
|
|
726
796
|
request.maxMemories = parseIntArg(opts.maxMemories, "max-memories", {
|
|
727
|
-
min:
|
|
797
|
+
min: 0,
|
|
798
|
+
max: 5_000,
|
|
728
799
|
});
|
|
729
800
|
}
|
|
730
801
|
if (opts.expandedScopeLimit !== undefined) {
|
|
731
|
-
request.expandedScopeLimit = parseIntArg(opts.expandedScopeLimit, "expanded-scope-limit", { min:
|
|
802
|
+
request.expandedScopeLimit = parseIntArg(opts.expandedScopeLimit, "expanded-scope-limit", { min: 0, max: 1_000 });
|
|
732
803
|
}
|
|
733
804
|
if (opts.instructions)
|
|
734
805
|
request.instructions = opts.instructions;
|
|
@@ -750,6 +821,8 @@ export function registerMemoryCommand(program) {
|
|
|
750
821
|
}
|
|
751
822
|
request.confidenceThresholds = thresholds;
|
|
752
823
|
}
|
|
824
|
+
if (opts.incremental)
|
|
825
|
+
request.incremental = true;
|
|
753
826
|
const result = await getMemoryClient().createMemoryDreamTask(request);
|
|
754
827
|
emit(result);
|
|
755
828
|
});
|
|
@@ -767,6 +840,7 @@ export function registerMemoryCommand(program) {
|
|
|
767
840
|
"queued",
|
|
768
841
|
"running",
|
|
769
842
|
"planning",
|
|
843
|
+
"awaiting_plan_approval",
|
|
770
844
|
"applying",
|
|
771
845
|
"completed",
|
|
772
846
|
"completed_with_failures",
|
|
@@ -923,192 +997,53 @@ export function registerMemoryCommand(program) {
|
|
|
923
997
|
const result = await getMemoryClient().applyMemoryDreamActions(request);
|
|
924
998
|
emit(result);
|
|
925
999
|
});
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
const
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
if (missing.length > 0) {
|
|
938
|
-
outputError("BAD_REQUEST", `File memory requires an exact four-part scope; missing ${missing.join(", ")}`, config.human);
|
|
939
|
-
}
|
|
940
|
-
return scope;
|
|
941
|
-
}
|
|
942
|
-
function normalizeFilePath(value, optionName = "path") {
|
|
943
|
-
const config = getConfig();
|
|
944
|
-
const normalized = `/${value.trim().replace(/^\/+/, "")}`;
|
|
945
|
-
const parts = normalized.slice(1).split("/");
|
|
946
|
-
if (normalized === "/" ||
|
|
947
|
-
normalized.includes("\\") ||
|
|
948
|
-
parts.some((part) => !part || part === "." || part === "..")) {
|
|
949
|
-
outputError("INVALID_PARAMETER", `${optionName} must be a non-empty absolute-style path without '.', '..', or backslashes`, config.human);
|
|
950
|
-
}
|
|
951
|
-
if (Buffer.byteLength(normalized, "utf8") > MAX_FILE_PATH_BYTES) {
|
|
952
|
-
outputError("INVALID_PARAMETER", `${optionName} must not exceed ${MAX_FILE_PATH_BYTES} UTF-8 bytes`, config.human);
|
|
953
|
-
}
|
|
954
|
-
return normalized;
|
|
955
|
-
}
|
|
956
|
-
function readContentOption(opts) {
|
|
957
|
-
const config = getConfig();
|
|
958
|
-
const hasInline = typeof opts.content === "string";
|
|
959
|
-
const hasFile = typeof opts.contentFile === "string";
|
|
960
|
-
if (hasInline === hasFile) {
|
|
961
|
-
outputError("BAD_REQUEST", "Specify exactly one of --content or --content-file", config.human);
|
|
962
|
-
}
|
|
963
|
-
let content;
|
|
964
|
-
if (hasFile) {
|
|
965
|
-
try {
|
|
966
|
-
content = readFileSync(opts.contentFile, "utf8");
|
|
1000
|
+
// -- dream approve -------------------------------------------------------
|
|
1001
|
+
withStoreOption(dream
|
|
1002
|
+
.command("approve")
|
|
1003
|
+
.description("Approve a pending Agentic Dream plan")
|
|
1004
|
+
.requiredOption("--dream-id <id>", "Dream task id")
|
|
1005
|
+
.requiredOption("--approver <name>", "Approver audit name")).action(async (opts) => {
|
|
1006
|
+
const config = getConfig();
|
|
1007
|
+
const memoryStoreName = resolveStore(opts.store);
|
|
1008
|
+
const approver = opts.approver?.trim();
|
|
1009
|
+
if (!approver) {
|
|
1010
|
+
outputError("INVALID_PARAMETER", "--approver must be a non-empty name", config.human);
|
|
967
1011
|
}
|
|
968
|
-
|
|
969
|
-
|
|
1012
|
+
const current = await getMemoryClient().getMemoryDreamTask({
|
|
1013
|
+
memoryStoreName,
|
|
1014
|
+
dreamId: opts.dreamId,
|
|
1015
|
+
});
|
|
1016
|
+
if (current.code !== "SUCCESS") {
|
|
1017
|
+
emit(current);
|
|
1018
|
+
return;
|
|
970
1019
|
}
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
if (Buffer.byteLength(content, "utf8") > MAX_FILE_CONTENT_BYTES) {
|
|
976
|
-
outputError("INVALID_PARAMETER", `content must not exceed ${MAX_FILE_CONTENT_BYTES} UTF-8 bytes`, config.human);
|
|
977
|
-
}
|
|
978
|
-
return content;
|
|
979
|
-
}
|
|
980
|
-
function baseFileRequest(opts) {
|
|
981
|
-
return {
|
|
982
|
-
memoryStoreName: resolveStore(typeof opts.store === "string" ? opts.store : undefined),
|
|
983
|
-
scope: resolveFileScopeArg(opts),
|
|
984
|
-
};
|
|
985
|
-
}
|
|
986
|
-
function addFileMutationOptions(command) {
|
|
987
|
-
return command
|
|
988
|
-
.option("--sha256 <sha>", "Expected current SHA-256 for CAS")
|
|
989
|
-
.option("--session-id <id>", "Session id recorded in version history");
|
|
990
|
-
}
|
|
991
|
-
function registerMemoryFilesCommands(memory) {
|
|
992
|
-
const files = memory
|
|
993
|
-
.command("files")
|
|
994
|
-
.description("Manage file memory through the JSON API (no FUSE or mirror)");
|
|
995
|
-
withScopeOptions(withStoreOption(withPaginationOptions(files
|
|
996
|
-
.command("list")
|
|
997
|
-
.description("List file metadata for an exact scope")
|
|
998
|
-
.option("--path-prefix <path>", "Optional path prefix"), 100))).action(async (opts) => {
|
|
999
|
-
const request = baseFileRequest(opts);
|
|
1000
|
-
if (typeof opts.pathPrefix === "string") {
|
|
1001
|
-
request.pathPrefix = normalizeFilePath(opts.pathPrefix, "path-prefix");
|
|
1020
|
+
const data = current.data;
|
|
1021
|
+
if (data === null || typeof data !== "object" || Array.isArray(data)) {
|
|
1022
|
+
outputError("INVALID_PARAMETER", "Dream task response does not contain a valid plan", config.human);
|
|
1002
1023
|
}
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
const registerPathRead = (name, description, invoke) => {
|
|
1007
|
-
withScopeOptions(withStoreOption(files.command(`${name} <path>`).description(description))).action(async (filePath, opts) => {
|
|
1008
|
-
const request = {
|
|
1009
|
-
...baseFileRequest(opts),
|
|
1010
|
-
path: normalizeFilePath(filePath),
|
|
1011
|
-
};
|
|
1012
|
-
emit(await getMemoryClient()[invoke](request));
|
|
1013
|
-
});
|
|
1014
|
-
};
|
|
1015
|
-
registerPathRead("stat", "Read file metadata without content", "statFileMemory");
|
|
1016
|
-
registerPathRead("cat", "Read one UTF-8 file through the API", "readFileMemory");
|
|
1017
|
-
withScopeOptions(withStoreOption(files
|
|
1018
|
-
.command("create <path>")
|
|
1019
|
-
.description("Create a UTF-8 file")
|
|
1020
|
-
.option("--content <text>", "Inline UTF-8 content")
|
|
1021
|
-
.option("--content-file <path>", "Read UTF-8 content from a file")
|
|
1022
|
-
.option("--session-id <id>", "Session id recorded in version history"))).action(async (filePath, opts) => {
|
|
1023
|
-
emit(await getMemoryClient().createFileMemory({
|
|
1024
|
-
...baseFileRequest(opts),
|
|
1025
|
-
path: normalizeFilePath(filePath),
|
|
1026
|
-
content: readContentOption(opts),
|
|
1027
|
-
...(typeof opts.sessionId === "string"
|
|
1028
|
-
? { sessionId: opts.sessionId }
|
|
1029
|
-
: {}),
|
|
1030
|
-
}));
|
|
1031
|
-
});
|
|
1032
|
-
withScopeOptions(withStoreOption(addFileMutationOptions(files
|
|
1033
|
-
.command("update <path>")
|
|
1034
|
-
.description("Update a UTF-8 file with optional CAS")
|
|
1035
|
-
.option("--content <text>", "Inline UTF-8 content")
|
|
1036
|
-
.option("--content-file <path>", "Read UTF-8 content from a file")))).action(async (filePath, opts) => {
|
|
1037
|
-
emit(await getMemoryClient().updateFileMemory({
|
|
1038
|
-
...baseFileRequest(opts),
|
|
1039
|
-
path: normalizeFilePath(filePath),
|
|
1040
|
-
content: readContentOption(opts),
|
|
1041
|
-
...(typeof opts.sha256 === "string"
|
|
1042
|
-
? { expectedSha256: opts.sha256 }
|
|
1043
|
-
: {}),
|
|
1044
|
-
...(typeof opts.sessionId === "string"
|
|
1045
|
-
? { sessionId: opts.sessionId }
|
|
1046
|
-
: {}),
|
|
1047
|
-
}));
|
|
1048
|
-
});
|
|
1049
|
-
withScopeOptions(withStoreOption(addFileMutationOptions(files
|
|
1050
|
-
.command("rename <from> <to>")
|
|
1051
|
-
.description("Rename or move a file")
|
|
1052
|
-
.option("--overwrite", "Overwrite the destination if it exists")))).action(async (fromPath, toPath, opts) => {
|
|
1053
|
-
emit(await getMemoryClient().renameFileMemory({
|
|
1054
|
-
...baseFileRequest(opts),
|
|
1055
|
-
fromPath: normalizeFilePath(fromPath, "from"),
|
|
1056
|
-
toPath: normalizeFilePath(toPath, "to"),
|
|
1057
|
-
...(opts.overwrite === true ? { overwrite: true } : {}),
|
|
1058
|
-
...(typeof opts.sha256 === "string"
|
|
1059
|
-
? { expectedSha256: opts.sha256 }
|
|
1060
|
-
: {}),
|
|
1061
|
-
...(typeof opts.sessionId === "string"
|
|
1062
|
-
? { sessionId: opts.sessionId }
|
|
1063
|
-
: {}),
|
|
1064
|
-
}));
|
|
1065
|
-
});
|
|
1066
|
-
withScopeOptions(withStoreOption(addFileMutationOptions(files.command("delete <path>").description("Delete a file")))).action(async (filePath, opts) => {
|
|
1067
|
-
const request = {
|
|
1068
|
-
...baseFileRequest(opts),
|
|
1069
|
-
path: normalizeFilePath(filePath),
|
|
1070
|
-
...(typeof opts.sha256 === "string"
|
|
1071
|
-
? { expectedSha256: opts.sha256 }
|
|
1072
|
-
: {}),
|
|
1073
|
-
...(typeof opts.sessionId === "string"
|
|
1074
|
-
? { sessionId: opts.sessionId }
|
|
1075
|
-
: {}),
|
|
1076
|
-
};
|
|
1077
|
-
await confirmOrAbort(`Delete file '${request.path}' from memory store '${request.memoryStoreName}'?`);
|
|
1078
|
-
emit(await getMemoryClient().deleteFileMemory(request));
|
|
1079
|
-
});
|
|
1080
|
-
withScopeOptions(withStoreOption(withPaginationOptions(files
|
|
1081
|
-
.command("versions <memory-id>")
|
|
1082
|
-
.description("List immutable file versions")
|
|
1083
|
-
.option("--path <path>", "Optional current or historical path")
|
|
1084
|
-
.addOption(new Option("--operation <type>", "Filter by operation").choices([
|
|
1085
|
-
"created",
|
|
1086
|
-
"modified",
|
|
1087
|
-
"deleted",
|
|
1088
|
-
])), 50))).action(async (memoryId, opts) => {
|
|
1089
|
-
const request = {
|
|
1090
|
-
...baseFileRequest(opts),
|
|
1091
|
-
memoryId,
|
|
1092
|
-
};
|
|
1093
|
-
if (typeof opts.path === "string") {
|
|
1094
|
-
request.path = normalizeFilePath(opts.path);
|
|
1024
|
+
const task = data;
|
|
1025
|
+
if (task.status !== "awaiting_plan_approval") {
|
|
1026
|
+
outputError("CONFLICT", `Dream task must be awaiting_plan_approval; current status is ${String(task.status)}`, config.human);
|
|
1095
1027
|
}
|
|
1096
|
-
|
|
1097
|
-
|
|
1028
|
+
const plan = parseDreamPlan(task.plan);
|
|
1029
|
+
if (!plan) {
|
|
1030
|
+
outputError("INVALID_PARAMETER", "Dream task response does not contain a valid plan", config.human);
|
|
1098
1031
|
}
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
})
|
|
1032
|
+
const deletionIds = plan.deleteMemoryIds.length === 0
|
|
1033
|
+
? "\n (none)"
|
|
1034
|
+
: plan.deleteMemoryIds.map((memoryId) => `\n - ${memoryId}`).join("");
|
|
1035
|
+
await confirmOrAbort(`Approve Agentic Dream plan '${opts.dreamId}' for memory store '${memoryStoreName}'?\n` +
|
|
1036
|
+
`Plan summary: ${plan.summary}\n` +
|
|
1037
|
+
`Deletion whitelist IDs:${deletionIds}\n` +
|
|
1038
|
+
"Approval starts the plan execution phase and cannot be reverted automatically. Continue?");
|
|
1039
|
+
const result = await getMemoryClient().applyMemoryDreamActions({
|
|
1040
|
+
memoryStoreName,
|
|
1041
|
+
dreamId: opts.dreamId,
|
|
1042
|
+
mode: "plan",
|
|
1043
|
+
approver,
|
|
1044
|
+
});
|
|
1045
|
+
emit(result);
|
|
1112
1046
|
});
|
|
1047
|
+
registerMemoryItemsCommands(memory);
|
|
1113
1048
|
}
|
|
1114
1049
|
//# sourceMappingURL=memory.js.map
|