@tablestore/tablestore-agent-cli 0.2.7 → 0.2.9
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/configure.d.ts.map +1 -1
- package/dist/commands/configure.js +19 -12
- package/dist/commands/configure.js.map +1 -1
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +12 -5
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +212 -61
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/kb/create.d.ts.map +1 -1
- package/dist/commands/kb/create.js.map +1 -1
- package/dist/commands/kb/doc-add.d.ts.map +1 -1
- package/dist/commands/kb/doc-add.js +3 -1
- package/dist/commands/kb/doc-add.js.map +1 -1
- package/dist/commands/kb/doc-get.d.ts.map +1 -1
- package/dist/commands/kb/doc-get.js +6 -2
- package/dist/commands/kb/doc-get.js.map +1 -1
- package/dist/commands/kb/doc-remove.d.ts.map +1 -1
- package/dist/commands/kb/doc-remove.js.map +1 -1
- package/dist/commands/kb/helpers.d.ts.map +1 -1
- package/dist/commands/kb/helpers.js.map +1 -1
- package/dist/commands/kb/retrieve.d.ts.map +1 -1
- package/dist/commands/kb/retrieve.js +3 -1
- package/dist/commands/kb/retrieve.js.map +1 -1
- package/dist/commands/memory.d.ts.map +1 -1
- package/dist/commands/memory.js +209 -23
- 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 +4 -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/routes-manifest.json +32 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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.js +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page.js.nft.json +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 +24 -20
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +24 -20
- 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 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -5
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/route.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/file/route/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +20 -19
- 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 +20 -19
- 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 -10
- 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 +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 +24 -23
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +24 -23
- 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 -10
- 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.js +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/page.js.nft.json +1 -1
- 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 +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_dream-kb-sync_route_actions_04qnm9s.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_file_route_actions_06~k01v.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_sync_route_actions_0rt6p8e.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_tree_route_actions_0wl_n8b.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +13 -5
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-3~.bv._.js +14 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-dt7~s._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.-~ff4._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.l706t._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.nejw_._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00_mrad._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00i.7se._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00r7uqs._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02~yw7n._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04kpzpa._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04p1a88._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__05x0k4d._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__060s~oe._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06fanvv._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06tci88._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__10k~3sa._.js → [root-of-the-server]__089es3y._.js} +12 -12
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08bzgzm._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08d7wb.._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08p_m_c._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__095xiwn._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__09h95i6._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0.y01v.._.js → [root-of-the-server]__0ai2k_o._.js} +13 -13
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0alcygi._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0aspytx._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cq-9s~._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cyiuai._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0d4zrpj._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0d~m09k._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0f1lugp._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0wa~r66._.js → [root-of-the-server]__0g1cfb7._.js} +12 -12
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0gpz.~y._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0i3u9x3._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0iromt6._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0j8.u0y._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0k-pfaj._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0kcbz7k._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0nrl-.g._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0o5mf4h._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0omyr40._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ty8jgt._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ug_2kc._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0v98i9~._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0wt0ksb._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ya_8d2._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0zfg-ml._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0~9ru5n._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0~f7ckz._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__109i6ps._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__10o5zq5._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12ls5l8._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0e95_src_app_(dashboard)_knowledge-base_[name]_settings_settings-client_tsx_13312zk._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0w-2_lucide-react_dist_esm_icons_0h-3_0x._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01sm7cj._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0k0es2c._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ky8i.~._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ocsrt0._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ys4x_n._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_002mc1c._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_02waf76._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_03z8zmx._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04f2u4t._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06ny.4k._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_1_-hn._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_er4j0._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ahm789._.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/_0e.ehti._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f8moq0._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f8yv4v._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0frs8ys._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0fvg_xo._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gbt~hy._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gl7kh7._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0h9c.8m._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ip4ncy._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0izjcsk._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0j.62sb._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ka7ryb._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0lo5ra0._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0mdbcju._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0o665bf._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0odjvc.._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0p_s55v._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qiamjd._.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/_0xdioxg._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xp94lc._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13730cz._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_06894o_._.js → _13ctfae._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_00.1.s_._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_04o7mfc._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0bhjp9s._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0qlyj-q._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{dashboard_src_0o9jhcn._.js → dashboard_src_0sn17ku._.js} +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0x60pxf._.js +3 -0
- 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)_api-keys_page_tsx_0lb6fu7._.js +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_knowledge-base_[name]_error_tsx_0rnss~4._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_knowledge-base_create_page_tsx_0916~g-._.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_app_(dashboard)_memory_[store]_messages_page_tsx_0votz-n._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_tasks_page_tsx_0a_bgx4._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_units_page_tsx_0.6xnei._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_error_tsx_01x7ppm._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_not-found_tsx_05z4mh~._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_retrieval_02c2uck._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_shared_relative-time_tsx_0b7s9rc._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_00usyu3._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +4 -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--dupndun7xc.css +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0.uxk~hsm6yi8.js +138 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/00eggrx~.4c55.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/00lvoeu_v3253.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/00o9vmhspv._3.js +138 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/00x1.t633f041.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/010bpq~3ntjcm.js +4 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/02p7gke47s.2~.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/02u9ocsl0a12t.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/03_t1t9j7dbax.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/03dth-av1gl-h.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07aczaljq.qvr.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07s0f6938um2v.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/08nzc9sye_0~h.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09y30vyml4r.b.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ab~fpog2~u.h.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0au0pbejtwahz.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0b-ei8-g7ceug.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0chiv044h3u58.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fcdli-~wmvvx.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fz_9~-rxluly.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0hqkctymrrnbk.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0i55cqygnl-a9.js +5 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j8p7vk~awgs..js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j_.hkhjix9hw.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ll488v66ycn1.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0823z0-i-vkzj.js → 0l~3_bvic.da3.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0mp0n~dtbg78r.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0naliud7av3p1.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nvwdxs-j_2ld.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0opbuui_pt1n1.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pbfl~23ac79y.js +9 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qwhis4t32vlg.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0_2i27ja0f5u_.js → 0r44f~_t6m0hu.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vuh8jgeqqdy..js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{11daw7hfc5lbv.js → 0wbevjtr1_grz.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0y-gjpq3kxsbz.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0z_pq4ttgotxw.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zatcw.k613lh.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~a4ig2x9z8uq.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/10i~m4_8ainxw.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/12535rmhzbk63.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{11islg2md6lj-.js → 13uk2uuzuop5e.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/13vd4hv~l95-c.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16.2aecdwo6w_.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16yu0g~7n~33c.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/17fx3e0sj7h7s.js +1 -0
- package/dist/dashboard-runtime/dashboard/next.config.ts +1 -5
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/api-keys/page.tsx +28 -18
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/error.tsx +5 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/page.tsx +188 -19
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/error.tsx +8 -5
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/documents/documents-client.tsx +85 -45
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/error.tsx +12 -7
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/layout-client.tsx +67 -29
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/qa/page.tsx +2 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/retrieval/retrieval-client.tsx +8 -4
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/settings/settings-client.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/create/page.tsx +5 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/page.tsx +6 -4
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/layout.tsx +15 -19
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/[id]/page.tsx +4 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/error.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/new/page.tsx +6 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/page.tsx +8 -6
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +112 -49
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +300 -133
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/layout.tsx +48 -32
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/_helpers.ts +16 -5
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/message-bubble.tsx +3 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/page.tsx +47 -17
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/time-filter-bar.tsx +15 -13
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/_helpers.ts +20 -29
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/page.tsx +121 -42
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/request-detail-dialog.tsx +37 -17
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/requests-search-bar.tsx +11 -6
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/requests-table.tsx +29 -9
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/search/page.tsx +13 -4
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/settings/page.tsx +21 -29
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/tasks/page.tsx +20 -15
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/units/page.tsx +355 -125
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/create/page.tsx +5 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/error.tsx +5 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/page.tsx +6 -4
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/error.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/page.tsx +18 -13
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/custom-policy/route.ts +1 -3
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/effective-permissions/route.ts +45 -17
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/policies/route.ts +0 -8
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/route.ts +3 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/filter-by-permission/route.ts +21 -10
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/route.ts +20 -6
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/route.ts +10 -5
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/token/route.ts +1 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/use/route.ts +2 -2
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/route.ts +6 -5
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/chunks/route.ts +4 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.ts +5 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/route.ts +8 -2
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/upload/route.ts +7 -2
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-helpers.ts +93 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/route.ts +152 -64
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/providers/route.ts +1 -4
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/logs/client/route.ts +30 -13
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-kb-sync/route.ts +78 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/route.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/_helpers.ts +42 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/file/route.ts +69 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/sync/route.ts +69 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/tree/route.ts +44 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/scopes/route.ts +3 -5
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/tasks/route.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/units/route.ts +4 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/route.ts +30 -7
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/oss/list/route.ts +11 -3
- package/dist/dashboard-runtime/dashboard/src/app/error.tsx +17 -16
- package/dist/dashboard-runtime/dashboard/src/app/globals.css +63 -23
- package/dist/dashboard-runtime/dashboard/src/app/layout.tsx +17 -14
- package/dist/dashboard-runtime/dashboard/src/app/not-found.tsx +12 -4
- package/dist/dashboard-runtime/dashboard/src/app/onboarding/error.tsx +8 -4
- package/dist/dashboard-runtime/dashboard/src/app/onboarding/page.tsx +7 -8
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-create-dialog.tsx +42 -19
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-delete-dialog.tsx +32 -14
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-detail-sheet.tsx +23 -18
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-permission-filter.tsx +42 -35
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-secret-revealed-dialog.tsx +22 -19
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-table.tsx +58 -23
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/bearer-token-toggle.tsx +13 -8
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/custom-policy-editor.tsx +43 -20
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-overview.tsx +19 -8
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-presets.tsx +37 -17
- package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-rule-dialog.tsx +99 -58
- package/dist/dashboard-runtime/dashboard/src/components/chat/add-mount-row.tsx +3 -1
- package/dist/dashboard-runtime/dashboard/src/components/chat/chat-config-context.tsx +30 -9
- package/dist/dashboard-runtime/dashboard/src/components/chat/chat-history-sidebar.tsx +13 -10
- package/dist/dashboard-runtime/dashboard/src/components/chat/chat-mount-config.tsx +28 -21
- package/dist/dashboard-runtime/dashboard/src/components/chat/memory-bind-section.tsx +221 -41
- package/dist/dashboard-runtime/dashboard/src/components/chat/memory-files-dialog.tsx +51 -0
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-empty-state.tsx +12 -8
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-picker.tsx +4 -2
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-retrieval-dialog.tsx +31 -15
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-row.tsx +9 -3
- package/dist/dashboard-runtime/dashboard/src/components/chat/unified-retrieval-section.tsx +14 -6
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-chunks-dialog.tsx +215 -126
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-columns.tsx +22 -13
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-detail-panel.tsx +56 -27
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-status-badge.tsx +8 -13
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-table.tsx +9 -7
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-toolbar.tsx +17 -18
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-upload-dialog.tsx +308 -181
- package/dist/dashboard-runtime/dashboard/src/components/documents/oss-browser.tsx +32 -16
- package/dist/dashboard-runtime/dashboard/src/components/documents/oss-import-tab.tsx +39 -14
- package/dist/dashboard-runtime/dashboard/src/components/home/home-empty-state.tsx +10 -6
- package/dist/dashboard-runtime/dashboard/src/components/home/home-hero.tsx +10 -6
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +5 -6
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +204 -64
- package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
- package/dist/dashboard-runtime/dashboard/src/components/instance/project-card.tsx +13 -7
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/embedding-config-form.tsx +52 -19
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-card.tsx +138 -102
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-create-form.tsx +180 -73
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-delete-dialog.tsx +28 -12
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-list.tsx +12 -10
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-settings-form.tsx +180 -78
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/retrieval-result-count-field.tsx +12 -7
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-gate.tsx +11 -7
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-switcher.tsx +16 -8
- package/dist/dashboard-runtime/dashboard/src/components/layout/detail-sidebar.tsx +15 -17
- package/dist/dashboard-runtime/dashboard/src/components/layout/help-link.tsx +32 -32
- package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +9 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/language-toggle.tsx +71 -0
- package/dist/dashboard-runtime/dashboard/src/components/layout/nav-link.tsx +8 -10
- package/dist/dashboard-runtime/dashboard/src/components/layout/page-header.tsx +26 -31
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +24 -9
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-item.tsx +11 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-mobile.tsx +16 -7
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-usage-stats.tsx +4 -2
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar.tsx +13 -9
- package/dist/dashboard-runtime/dashboard/src/components/layout/skip-to-content.tsx +21 -0
- package/dist/dashboard-runtime/dashboard/src/components/layout/theme-toggle.tsx +65 -144
- package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-card.tsx +35 -18
- package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-delete-dialog.tsx +20 -8
- package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-form.tsx +139 -67
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-add-dialog.tsx +15 -11
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-coming-soon.tsx +7 -3
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-create-form.tsx +179 -43
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-delete-dialog.tsx +12 -6
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-actions-table.tsx +212 -88
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-apply-confirm-dialog.tsx +14 -8
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +222 -84
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-disabled.tsx +10 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-edit-dialog.tsx +21 -11
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-files-browser.tsx +225 -0
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-messages-table.tsx +28 -24
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-requests-table.tsx +122 -58
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +63 -28
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-form.tsx +32 -19
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-results.tsx +60 -29
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-settings-form.tsx +63 -26
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-card.tsx +34 -15
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-list.tsx +19 -13
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-tasks-table.tsx +84 -46
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-detail-panel.tsx +37 -14
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-table.tsx +54 -30
- package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +148 -0
- package/dist/dashboard-runtime/dashboard/src/components/qa/code-block.tsx +5 -3
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +51 -15
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-form.tsx +29 -16
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +268 -66
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/assemble-retrieval-configuration.ts +6 -2
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/filter-builder.tsx +260 -87
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/request-preview.tsx +10 -4
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-form.tsx +56 -35
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-params-fields.tsx +40 -27
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-rerank-fields.tsx +80 -30
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-result-card.tsx +16 -5
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-results.tsx +11 -8
- package/dist/dashboard-runtime/dashboard/src/components/shared/confirm-dialog.tsx +11 -8
- package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table-pagination.tsx +21 -7
- package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table-toolbar.tsx +1 -2
- package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table.tsx +24 -9
- package/dist/dashboard-runtime/dashboard/src/components/shared/empty-state.tsx +1 -4
- package/dist/dashboard-runtime/dashboard/src/components/shared/error-state.tsx +1 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/json-viewer.tsx +1 -2
- package/dist/dashboard-runtime/dashboard/src/components/shared/llm-model-selector.tsx +22 -17
- package/dist/dashboard-runtime/dashboard/src/components/shared/metadata-field-input.tsx +10 -2
- package/dist/dashboard-runtime/dashboard/src/components/shared/metadata-form.tsx +10 -7
- package/dist/dashboard-runtime/dashboard/src/components/shared/refresh-button.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/relative-time.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/search-input.tsx +6 -5
- package/dist/dashboard-runtime/dashboard/src/components/shared/status-badge.tsx +9 -14
- package/dist/dashboard-runtime/dashboard/src/components/shared/system-prompt-input.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/tag-input.tsx +12 -7
- package/dist/dashboard-runtime/dashboard/src/components/shared/temperature-slider.tsx +4 -2
- package/dist/dashboard-runtime/dashboard/src/components/ui/badge.tsx +9 -8
- package/dist/dashboard-runtime/dashboard/src/components/ui/button.tsx +15 -14
- package/dist/dashboard-runtime/dashboard/src/components/ui/card.tsx +26 -18
- package/dist/dashboard-runtime/dashboard/src/components/ui/chat-bubble.tsx +10 -10
- package/dist/dashboard-runtime/dashboard/src/components/ui/checkbox.tsx +8 -8
- package/dist/dashboard-runtime/dashboard/src/components/ui/collapsible.tsx +6 -6
- package/dist/dashboard-runtime/dashboard/src/components/ui/command.tsx +32 -32
- package/dist/dashboard-runtime/dashboard/src/components/ui/data-card.tsx +35 -35
- package/dist/dashboard-runtime/dashboard/src/components/ui/detail-section.tsx +42 -36
- package/dist/dashboard-runtime/dashboard/src/components/ui/dialog.tsx +29 -29
- package/dist/dashboard-runtime/dashboard/src/components/ui/dropdown-menu.tsx +40 -40
- package/dist/dashboard-runtime/dashboard/src/components/ui/empty-state.tsx +16 -10
- package/dist/dashboard-runtime/dashboard/src/components/ui/filter-pill.tsx +20 -21
- package/dist/dashboard-runtime/dashboard/src/components/ui/form.tsx +57 -51
- package/dist/dashboard-runtime/dashboard/src/components/ui/input.tsx +8 -8
- package/dist/dashboard-runtime/dashboard/src/components/ui/item-card.tsx +17 -16
- package/dist/dashboard-runtime/dashboard/src/components/ui/label.tsx +9 -9
- package/dist/dashboard-runtime/dashboard/src/components/ui/memory-row.tsx +10 -10
- package/dist/dashboard-runtime/dashboard/src/components/ui/mini-stat.tsx +9 -8
- package/dist/dashboard-runtime/dashboard/src/components/ui/nav-tab-bar.tsx +21 -15
- package/dist/dashboard-runtime/dashboard/src/components/ui/playground-shell.tsx +13 -16
- package/dist/dashboard-runtime/dashboard/src/components/ui/popover.tsx +11 -11
- package/dist/dashboard-runtime/dashboard/src/components/ui/result-row.tsx +7 -7
- package/dist/dashboard-runtime/dashboard/src/components/ui/scope-tag.tsx +9 -6
- package/dist/dashboard-runtime/dashboard/src/components/ui/select.tsx +29 -29
- package/dist/dashboard-runtime/dashboard/src/components/ui/separator.tsx +10 -10
- package/dist/dashboard-runtime/dashboard/src/components/ui/sheet.tsx +11 -4
- package/dist/dashboard-runtime/dashboard/src/components/ui/skeleton.tsx +11 -11
- package/dist/dashboard-runtime/dashboard/src/components/ui/sonner.tsx +7 -7
- package/dist/dashboard-runtime/dashboard/src/components/ui/stat-card.tsx +14 -11
- package/dist/dashboard-runtime/dashboard/src/components/ui/switch.tsx +8 -3
- package/dist/dashboard-runtime/dashboard/src/components/ui/table.tsx +27 -24
- package/dist/dashboard-runtime/dashboard/src/components/ui/tabs.tsx +14 -14
- package/dist/dashboard-runtime/dashboard/src/components/ui/textarea.tsx +7 -7
- package/dist/dashboard-runtime/dashboard/src/components/ui/toggle-group.tsx +27 -22
- package/dist/dashboard-runtime/dashboard/src/components/ui/tooltip.tsx +10 -10
- package/dist/dashboard-runtime/dashboard/src/components/ui/usage-card.tsx +11 -8
- package/dist/dashboard-runtime/dashboard/src/config/navigation.ts +25 -21
- package/dist/dashboard-runtime/dashboard/src/contexts/subspace-context.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-apply-dream-actions.ts +1 -4
- package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-history.ts +33 -13
- package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-last-config.ts +3 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-create-api-key.ts +4 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-create-memory-store.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-delete-custom-policy.ts +1 -4
- package/dist/dashboard-runtime/dashboard/src/hooks/use-document.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-documents.ts +8 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-actions.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-task.ts +4 -5
- package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-tasks.ts +96 -13
- package/dist/dashboard-runtime/dashboard/src/hooks/use-file-memory.ts +50 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +42 -11
- package/dist/dashboard-runtime/dashboard/src/hooks/use-locale-revalidation.ts +34 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-requests.ts +7 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-unit.ts +3 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-units.ts +3 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-oss-import.ts +18 -4
- package/dist/dashboard-runtime/dashboard/src/hooks/use-oss-list.ts +3 -3
- package/dist/dashboard-runtime/dashboard/src/hooks/use-qa-chat.ts +32 -21
- package/dist/dashboard-runtime/dashboard/src/hooks/use-subspace-history.ts +5 -2
- package/dist/dashboard-runtime/dashboard/src/hooks/use-update-document.ts +4 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-update-memory-store.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-upload-documents.ts +6 -1
- package/dist/dashboard-runtime/dashboard/src/i18n/config.ts +46 -0
- package/dist/dashboard-runtime/dashboard/src/i18n/dictionaries.ts +8 -0
- package/dist/dashboard-runtime/dashboard/src/i18n/i18n-context.tsx +198 -0
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +1969 -0
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +1857 -0
- package/dist/dashboard-runtime/dashboard/src/lib/api-error-toast.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/lib/chat-dream-deposit.ts +14 -0
- package/dist/dashboard-runtime/dashboard/src/lib/chat-message-ops.ts +4 -1
- package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/filename.ts +13 -0
- package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/format.ts +79 -0
- package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/hash.ts +6 -0
- package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/scope.ts +37 -0
- package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/types.ts +25 -0
- package/dist/dashboard-runtime/dashboard/src/lib/extension-filter.ts +8 -3
- package/dist/dashboard-runtime/dashboard/src/lib/file-tree.ts +100 -0
- package/dist/dashboard-runtime/dashboard/src/lib/format-datetime.ts +56 -0
- package/dist/dashboard-runtime/dashboard/src/lib/glob-filter.ts +10 -4
- package/dist/dashboard-runtime/dashboard/src/lib/memory-storage-mode.ts +68 -0
- package/dist/dashboard-runtime/dashboard/src/lib/memory.ts +116 -14
- package/dist/dashboard-runtime/dashboard/src/lib/metadata-form.ts +4 -1
- package/dist/dashboard-runtime/dashboard/src/lib/number-input-handler.ts +1 -1
- package/dist/dashboard-runtime/dashboard/src/lib/oss-selection.ts +3 -1
- package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +26 -4
- package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +2 -1
- package/dist/dashboard-runtime/dashboard/src/lib/server/dream-kb-sync.ts +139 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/ims-client.ts +8 -11
- package/dist/dashboard-runtime/dashboard/src/lib/server/llm-client.ts +5 -5
- package/dist/dashboard-runtime/dashboard/src/lib/server/llm-crypto.ts +1 -5
- package/dist/dashboard-runtime/dashboard/src/lib/server/oss-client.ts +9 -2
- package/dist/dashboard-runtime/dashboard/src/lib/server/ram-client.ts +13 -4
- package/dist/dashboard-runtime/dashboard/src/lib/server/runtime-context.ts +6 -10
- package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +25 -8
- package/dist/dashboard-runtime/dashboard/src/providers/query-provider.tsx +5 -5
- package/dist/dashboard-runtime/dashboard/src/providers/runtime-context-provider.tsx +26 -7
- package/dist/dashboard-runtime/dashboard/src/providers/theme-provider.tsx +6 -3
- package/dist/dashboard-runtime/dashboard/src/schemas/instance.ts +82 -13
- package/dist/dashboard-runtime/dashboard/src/schemas/knowledge-base.ts +42 -21
- package/dist/dashboard-runtime/dashboard/src/schemas/llm-chat.ts +8 -3
- package/dist/dashboard-runtime/dashboard/src/schemas/retrieval.ts +2 -6
- package/dist/dashboard-runtime/dashboard/src/services/api-client.ts +31 -32
- package/dist/dashboard-runtime/dashboard/src/services/api-keys.ts +4 -2
- package/dist/dashboard-runtime/dashboard/src/services/auth.ts +1 -1
- package/dist/dashboard-runtime/dashboard/src/services/chunks.ts +4 -4
- package/dist/dashboard-runtime/dashboard/src/services/documents.ts +16 -12
- package/dist/dashboard-runtime/dashboard/src/services/file-memory.ts +63 -0
- package/dist/dashboard-runtime/dashboard/src/services/knowledge-base.ts +16 -8
- package/dist/dashboard-runtime/dashboard/src/services/memory.ts +64 -29
- package/dist/dashboard-runtime/dashboard/src/services/oss.ts +6 -6
- package/dist/dashboard-runtime/dashboard/src/services/retrieval.ts +2 -2
- package/dist/dashboard-runtime/dashboard/src/types/instance.ts +10 -2
- package/dist/dashboard-runtime/dashboard/src/types/knowledge-base.ts +3 -7
- package/dist/dashboard-runtime/dashboard/src/types/llm-chat.ts +27 -0
- package/dist/dashboard-runtime/dashboard/src/types/memory.ts +29 -9
- package/dist/dashboard-runtime/dashboard/tsconfig.json +3 -11
- package/dist/dashboard-runtime/dashboard/vitest.config.mjs +1 -4
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +153 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +451 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts +25 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js +29 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +16 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +74 -8
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -6
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +15 -9
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +8 -0
- 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 +23 -7
- 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 +7 -3
- 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/sdk-pagination.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.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-shared/dist/config.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +26 -9
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts +9 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js +18 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/errors.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/errors.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js +12 -4
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts +9 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +153 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +451 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts +25 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js +29 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +16 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +74 -8
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -6
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +15 -9
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +8 -0
- 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 +23 -7
- 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 +7 -3
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +26 -9
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts +9 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js +18 -0
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/errors.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/errors.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js +12 -4
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts +9 -0
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
- package/dist/output.d.ts.map +1 -1
- package/dist/output.js +3 -1
- package/dist/output.js.map +1 -1
- package/dist/scanner.d.ts.map +1 -1
- package/dist/scanner.js.map +1 -1
- package/dist/utils/parse-int-arg.d.ts.map +1 -1
- package/dist/utils/parse-int-arg.js.map +1 -1
- package/dist/utils/read-image-input.d.ts.map +1 -1
- package/dist/utils/read-image-input.js +8 -1
- package/dist/utils/read-image-input.js.map +1 -1
- package/package.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0--nu07._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.gylau._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.hvkwy._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.qtdn4._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02p1x3t._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__03og44p._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04dd04u._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04ujbw-._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04zbudf._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__05eryp~._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06fva9g._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08_2avk._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0acvvri._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0byveuc._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cee_lo._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cyd2qb._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ecs-9r._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ejcow5._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0es0s_~._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0fglxiw._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g3yw6w._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0i1_p1s._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0is6qso._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0no9qm0._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0q8vcw8._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0q9fgt6._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0rx9hon._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0tc-.6s._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0u03tze._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ua_nqs._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0uebf40._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0v0il3n._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0w_ig2a._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0zmo~nd._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__10m-wmo._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11s_zx6._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11wq90l._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__126srko._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12e1t6o._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12ylr4n._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13g_f9w._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13q2wbt._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13~-fxp._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_shared_lib_deployment-id_0uu7yq4.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__04.tmw0._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__077~9kz._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fra.0._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0jhpb-b._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0st_2qm._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_03cxnik._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_078ekb~._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_09aiggd._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jl78rk._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0njimsl._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0nmv74v._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0oxv61l._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0pe9ntc._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0q43l7g._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0q748rf._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qptqwe._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tej2s.._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tjamu1._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0u4elhp._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0wwhklq._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ytd66u._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0~5g0_a._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0~dbpb0._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_10.40pj._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13w6ksc._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_00ofp7q._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0l1.0wg._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0xf3ffa._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_settings_page_tsx_0y26.xu._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-0n226yihtlx.js +0 -138
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-rnnjxuu_5.s.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0.q0rms~bxru_.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/03~amszcayft9.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/05oy7c8~k0-nu.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/06e08s6_aj5tb.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/06gfzt_e-w-f~.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/076wjt8-f7ws0.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07brna0jsz4vi.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/08c211p60po58.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/08ix0ia65i20b.js +0 -9
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09fuq3fiw1zq8.js +0 -138
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09pa80gils3r2.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0axe89r5c7p_b.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0czi-68m5cma3.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0draec5luxua1.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ezfzygzl1hw8.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0f60fxsrh4wbq.js +0 -5
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0gqhfku~on4t1.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0i_66eb3teu-..js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ipb.__efc0i7.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0oxr1t3cp8_9f.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0p7-v~ggg-k3s.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pyte4aize4vw.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qann4-pg7heu.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qzs7r4p4hd2~.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ro5-~k1_6.ji.js +0 -4
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0t.fmi5danjtx.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ty--w57-5n5f.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u6g.bq1prqh8.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0w1f765.797w7.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wl~ofl4qn1yv.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xnm11dm1-qw2.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0yduro1k88.mk.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0yqx-vizpechs.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/10oar3if2rs8f.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/11fppb7wskgrx.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/1211es3l12jpn.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/12ju37ebul3bw.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/137epx7vazn1v.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16z7~ksa815uh.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/17l3ij7h2.vna.js +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
3
|
import { useMemo, useState } from "react";
|
|
4
4
|
import { useParams, useSearchParams } from "next/navigation";
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
ChevronLeft,
|
|
7
|
+
ChevronRight,
|
|
8
|
+
Database,
|
|
9
|
+
FolderTree,
|
|
10
|
+
Plus,
|
|
11
|
+
Search,
|
|
12
|
+
} from "lucide-react";
|
|
6
13
|
import { toast } from "sonner";
|
|
7
14
|
import { Button } from "@/components/ui/button";
|
|
8
15
|
import { Input } from "@/components/ui/input";
|
|
@@ -10,18 +17,32 @@ import { PageHeader } from "@/components/layout/page-header";
|
|
|
10
17
|
import { ConfirmDialog } from "@/components/shared/confirm-dialog";
|
|
11
18
|
import { RefreshButton } from "@/components/shared/refresh-button";
|
|
12
19
|
import { Skeleton } from "@/components/ui/skeleton";
|
|
13
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
Tooltip,
|
|
22
|
+
TooltipContent,
|
|
23
|
+
TooltipProvider,
|
|
24
|
+
TooltipTrigger,
|
|
25
|
+
} from "@/components/ui/tooltip";
|
|
14
26
|
import { useMemoryUnits } from "@/hooks/use-memory-units";
|
|
15
27
|
import { useDeleteMemoryUnit } from "@/hooks/use-delete-memory-unit";
|
|
28
|
+
import { useMemoryStore } from "@/hooks/use-memory-store";
|
|
16
29
|
import { buildMemoryScope, hasWildcardScope } from "@/lib/memory";
|
|
30
|
+
import { isFileMemory } from "@/lib/memory-storage-mode";
|
|
31
|
+
import { cn } from "@/lib/utils";
|
|
17
32
|
import type { MemoryUnit } from "@/types/memory";
|
|
18
33
|
import { MemoryAddDialog } from "@/components/memory/memory-add-dialog";
|
|
19
34
|
import { MemoryEditDialog } from "@/components/memory/memory-edit-dialog";
|
|
20
35
|
import { MemoryUnitDetailPanel } from "@/components/memory/memory-unit-detail-panel";
|
|
21
|
-
import {
|
|
36
|
+
import {
|
|
37
|
+
getMemoryUnitId,
|
|
38
|
+
MemoryUnitTable,
|
|
39
|
+
} from "@/components/memory/memory-unit-table";
|
|
40
|
+
import { MemoryFilesBrowser } from "@/components/memory/memory-files-browser";
|
|
22
41
|
import { apiGet } from "@/services/api-client";
|
|
42
|
+
import { useI18n } from "@/i18n/i18n-context";
|
|
23
43
|
|
|
24
44
|
export default function MemoryUnitsPage() {
|
|
45
|
+
const { t } = useI18n();
|
|
25
46
|
const params = useParams<{ store: string }>();
|
|
26
47
|
const searchParams = useSearchParams();
|
|
27
48
|
const memoryStoreName = decodeURIComponent(params.store);
|
|
@@ -31,11 +52,22 @@ export default function MemoryUnitsPage() {
|
|
|
31
52
|
[searchParamsString],
|
|
32
53
|
);
|
|
33
54
|
const wildcard = hasWildcardScope(scope);
|
|
34
|
-
const scopeKey = useMemo(
|
|
35
|
-
|
|
36
|
-
|
|
55
|
+
const scopeKey = useMemo(
|
|
56
|
+
() =>
|
|
57
|
+
`${scope.appId}|${scope.tenantId ?? ""}|${scope.agentId ?? ""}|${scope.runId ?? ""}`,
|
|
58
|
+
[scope.appId, scope.tenantId, scope.agentId, scope.runId],
|
|
37
59
|
);
|
|
38
60
|
|
|
61
|
+
// 文件记忆库(storageMode=oss+ots)在长期记忆 tab 下额外提供「文件记忆」视图,
|
|
62
|
+
// 展示按 scope 投影出的本地文件树。storageMode 仅在 GetMemoryStore 里有,
|
|
63
|
+
// 故单独查库。
|
|
64
|
+
const { data: memoryStore } = useMemoryStore(memoryStoreName);
|
|
65
|
+
const fileMemory = isFileMemory(memoryStore?.storageMode);
|
|
66
|
+
const [viewMode, setViewMode] = useState<"units" | "files">("units");
|
|
67
|
+
// 文件记忆挂载需要 appId 且无通配符(空的租户/智能体/会话由 BFF 归一为
|
|
68
|
+
// __default__)。
|
|
69
|
+
const fileScopeUsable = !!scope.appId && !wildcard;
|
|
70
|
+
|
|
39
71
|
const [pagination, setPagination] = useState<{
|
|
40
72
|
scopeKey: string;
|
|
41
73
|
tokenStack: string[];
|
|
@@ -45,27 +77,50 @@ export default function MemoryUnitsPage() {
|
|
|
45
77
|
const [searchId, setSearchId] = useState("");
|
|
46
78
|
const [searchedUnit, setSearchedUnit] = useState<MemoryUnit | null>(null);
|
|
47
79
|
const [searching, setSearching] = useState(false);
|
|
48
|
-
const [addDialogState, setAddDialogState] = useState({
|
|
49
|
-
|
|
80
|
+
const [addDialogState, setAddDialogState] = useState({
|
|
81
|
+
scopeKey,
|
|
82
|
+
open: false,
|
|
83
|
+
});
|
|
84
|
+
const [detailState, setDetailState] = useState<{
|
|
85
|
+
scopeKey: string;
|
|
86
|
+
unit: MemoryUnit | null;
|
|
87
|
+
}>({
|
|
50
88
|
scopeKey,
|
|
51
89
|
unit: null,
|
|
52
90
|
});
|
|
53
|
-
const [editState, setEditState] = useState<{
|
|
91
|
+
const [editState, setEditState] = useState<{
|
|
92
|
+
scopeKey: string;
|
|
93
|
+
unit: MemoryUnit | null;
|
|
94
|
+
}>({
|
|
54
95
|
scopeKey,
|
|
55
96
|
unit: null,
|
|
56
97
|
});
|
|
57
|
-
const [deleteState, setDeleteState] = useState<{
|
|
98
|
+
const [deleteState, setDeleteState] = useState<{
|
|
99
|
+
scopeKey: string;
|
|
100
|
+
unit: MemoryUnit | null;
|
|
101
|
+
}>({
|
|
58
102
|
scopeKey,
|
|
59
103
|
unit: null,
|
|
60
104
|
});
|
|
61
|
-
const tokenStack =
|
|
62
|
-
|
|
63
|
-
const
|
|
64
|
-
|
|
105
|
+
const tokenStack =
|
|
106
|
+
pagination.scopeKey === scopeKey ? pagination.tokenStack : [];
|
|
107
|
+
const currentToken =
|
|
108
|
+
pagination.scopeKey === scopeKey ? pagination.currentToken : undefined;
|
|
109
|
+
const showAddDialog =
|
|
110
|
+
addDialogState.scopeKey === scopeKey && addDialogState.open;
|
|
111
|
+
const detailUnit =
|
|
112
|
+
detailState.scopeKey === scopeKey ? detailState.unit : null;
|
|
65
113
|
const editUnit = editState.scopeKey === scopeKey ? editState.unit : null;
|
|
66
|
-
const deleteUnit =
|
|
114
|
+
const deleteUnit =
|
|
115
|
+
deleteState.scopeKey === scopeKey ? deleteState.unit : null;
|
|
67
116
|
|
|
68
|
-
|
|
117
|
+
// 文件记忆视图下不查询记忆单元列表(传 null 关闭该 query,避免无用请求)。
|
|
118
|
+
const unitsQuery = useMemoryUnits(
|
|
119
|
+
memoryStoreName,
|
|
120
|
+
viewMode === "units" && scope.appId ? scope : null,
|
|
121
|
+
currentToken,
|
|
122
|
+
pageSize,
|
|
123
|
+
);
|
|
69
124
|
const deleteMutation = useDeleteMemoryUnit();
|
|
70
125
|
const units = unitsQuery.data?.items ?? [];
|
|
71
126
|
|
|
@@ -76,58 +131,77 @@ export default function MemoryUnitsPage() {
|
|
|
76
131
|
function canOperateOnUnit(unit: MemoryUnit, fallbackScope: typeof scope) {
|
|
77
132
|
const memoryId = getMemoryUnitId(unit);
|
|
78
133
|
const actionScope = resolveActionScope(unit, fallbackScope);
|
|
79
|
-
return
|
|
134
|
+
return (
|
|
135
|
+
!!actionScope.appId && !hasWildcardScope(actionScope) && memoryId !== "-"
|
|
136
|
+
);
|
|
80
137
|
}
|
|
81
138
|
|
|
82
|
-
const detailScope = detailUnit
|
|
139
|
+
const detailScope = detailUnit
|
|
140
|
+
? resolveActionScope(detailUnit, scope)
|
|
141
|
+
: scope;
|
|
83
142
|
const editScope = editUnit ? resolveActionScope(editUnit, scope) : scope;
|
|
84
|
-
const deleteScope = deleteUnit
|
|
143
|
+
const deleteScope = deleteUnit
|
|
144
|
+
? resolveActionScope(deleteUnit, scope)
|
|
145
|
+
: scope;
|
|
85
146
|
|
|
86
147
|
async function handleDeleteConfirm() {
|
|
87
148
|
if (!deleteUnit) return;
|
|
88
149
|
const memoryId = getMemoryUnitId(deleteUnit);
|
|
89
150
|
if (memoryId === "-") {
|
|
90
|
-
toast.error("
|
|
151
|
+
toast.error(t("memory.units.idMissingDelete"));
|
|
91
152
|
return;
|
|
92
153
|
}
|
|
93
154
|
if (!canOperateOnUnit(deleteUnit, scope)) {
|
|
94
|
-
toast.error("
|
|
155
|
+
toast.error(t("memory.units.preciseScopeRequiredDelete"));
|
|
95
156
|
return;
|
|
96
157
|
}
|
|
97
158
|
try {
|
|
98
|
-
await deleteMutation.mutateAsync({
|
|
99
|
-
|
|
159
|
+
await deleteMutation.mutateAsync({
|
|
160
|
+
memoryStoreName,
|
|
161
|
+
memoryId,
|
|
162
|
+
scope: deleteScope,
|
|
163
|
+
});
|
|
164
|
+
toast.success(t("memory.units.deleteSuccess"));
|
|
100
165
|
setDeleteState({ scopeKey, unit: null });
|
|
101
166
|
unitsQuery.refetch();
|
|
102
167
|
} catch (error) {
|
|
103
|
-
toast.error(
|
|
168
|
+
toast.error(
|
|
169
|
+
error instanceof Error ? error.message : t("memory.units.deleteFailed"),
|
|
170
|
+
);
|
|
104
171
|
}
|
|
105
172
|
}
|
|
106
173
|
|
|
107
174
|
async function handleSearchById() {
|
|
108
175
|
if (!searchId.trim()) {
|
|
109
|
-
toast.error("
|
|
176
|
+
toast.error(t("memory.units.searchIdRequired"));
|
|
110
177
|
return;
|
|
111
178
|
}
|
|
112
179
|
if (!scope.appId) {
|
|
113
|
-
toast.error("
|
|
180
|
+
toast.error(t("memory.units.preciseScopeRequired"));
|
|
114
181
|
return;
|
|
115
182
|
}
|
|
116
183
|
setSearching(true);
|
|
117
184
|
try {
|
|
118
|
-
const data = await apiGet<{
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
185
|
+
const data = await apiGet<{
|
|
186
|
+
memory: MemoryUnit;
|
|
187
|
+
memoryStoreName: string;
|
|
188
|
+
}>(
|
|
189
|
+
`/api/v1/memory/stores/${encodeURIComponent(memoryStoreName)}/units/${encodeURIComponent(searchId.trim())}?${new URLSearchParams(
|
|
190
|
+
{
|
|
191
|
+
appId: scope.appId,
|
|
192
|
+
...(scope.tenantId ? { tenantId: scope.tenantId } : {}),
|
|
193
|
+
...(scope.agentId ? { agentId: scope.agentId } : {}),
|
|
194
|
+
...(scope.runId ? { runId: scope.runId } : {}),
|
|
195
|
+
},
|
|
196
|
+
).toString()}`,
|
|
125
197
|
);
|
|
126
198
|
setSearchedUnit(data.memory);
|
|
127
|
-
toast.success("
|
|
199
|
+
toast.success(t("memory.units.found"));
|
|
128
200
|
} catch (error) {
|
|
129
201
|
setSearchedUnit(null);
|
|
130
|
-
toast.error(
|
|
202
|
+
toast.error(
|
|
203
|
+
error instanceof Error ? error.message : t("memory.units.notFound"),
|
|
204
|
+
);
|
|
131
205
|
} finally {
|
|
132
206
|
setSearching(false);
|
|
133
207
|
}
|
|
@@ -141,7 +215,7 @@ export default function MemoryUnitsPage() {
|
|
|
141
215
|
// Display data: searched unit or paginated list
|
|
142
216
|
const displayUnits = searchedUnit ? [searchedUnit] : units;
|
|
143
217
|
|
|
144
|
-
if (unitsQuery.isLoading && !searchedUnit) {
|
|
218
|
+
if (viewMode === "units" && unitsQuery.isLoading && !searchedUnit) {
|
|
145
219
|
return (
|
|
146
220
|
<div className="space-y-4">
|
|
147
221
|
<Skeleton className="h-8 w-48" />
|
|
@@ -153,97 +227,156 @@ export default function MemoryUnitsPage() {
|
|
|
153
227
|
|
|
154
228
|
return (
|
|
155
229
|
<div className="space-y-4">
|
|
156
|
-
<PageHeader title="
|
|
230
|
+
<PageHeader title={t("memory.units.title")}>
|
|
157
231
|
<div className="flex items-center gap-2">
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
232
|
+
{fileMemory && (
|
|
233
|
+
<UnitsViewToggle viewMode={viewMode} onChange={setViewMode} t={t} />
|
|
234
|
+
)}
|
|
235
|
+
{viewMode === "units" && (
|
|
236
|
+
<>
|
|
237
|
+
<RefreshButton
|
|
238
|
+
loading={unitsQuery.isRefetching}
|
|
239
|
+
onClick={() => {
|
|
240
|
+
unitsQuery.refetch();
|
|
241
|
+
clearSearch();
|
|
242
|
+
}}
|
|
243
|
+
/>
|
|
244
|
+
{wildcard ? (
|
|
245
|
+
<TooltipProvider delayDuration={200}>
|
|
246
|
+
<Tooltip>
|
|
247
|
+
<TooltipTrigger asChild>
|
|
248
|
+
<span tabIndex={0} className="inline-flex">
|
|
249
|
+
<Button disabled className="pointer-events-none">
|
|
250
|
+
<Plus className="mr-2 h-4 w-4" />
|
|
251
|
+
{t("memory.units.addMemory")}
|
|
252
|
+
</Button>
|
|
253
|
+
</span>
|
|
254
|
+
</TooltipTrigger>
|
|
255
|
+
<TooltipContent side="bottom" className="max-w-[240px]">
|
|
256
|
+
<p>{t("memory.units.addWildcardHint")}</p>
|
|
257
|
+
</TooltipContent>
|
|
258
|
+
</Tooltip>
|
|
259
|
+
</TooltipProvider>
|
|
260
|
+
) : (
|
|
261
|
+
<Button
|
|
262
|
+
onClick={() => setAddDialogState({ scopeKey, open: true })}
|
|
263
|
+
>
|
|
264
|
+
<Plus className="mr-2 h-4 w-4" />
|
|
265
|
+
{t("memory.units.addMemory")}
|
|
266
|
+
</Button>
|
|
267
|
+
)}
|
|
268
|
+
</>
|
|
184
269
|
)}
|
|
185
270
|
</div>
|
|
186
271
|
</PageHeader>
|
|
187
272
|
|
|
188
|
-
{
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
273
|
+
{viewMode === "files" ? (
|
|
274
|
+
<FileMemoryView
|
|
275
|
+
usable={fileScopeUsable}
|
|
276
|
+
hasAppId={!!scope.appId}
|
|
277
|
+
memoryStoreName={memoryStoreName}
|
|
278
|
+
scope={{
|
|
279
|
+
appId: scope.appId ?? "",
|
|
280
|
+
tenantId: scope.tenantId ?? "",
|
|
281
|
+
agentId: scope.agentId ?? "",
|
|
282
|
+
runId: scope.runId ?? "",
|
|
283
|
+
}}
|
|
196
284
|
/>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
285
|
+
) : (
|
|
286
|
+
<>
|
|
287
|
+
{/* Search by memoryId */}
|
|
288
|
+
<div className="flex gap-2">
|
|
289
|
+
<Input
|
|
290
|
+
value={searchId}
|
|
291
|
+
onChange={(e) => setSearchId(e.target.value)}
|
|
292
|
+
placeholder={t("memory.units.searchIdPlaceholder")}
|
|
293
|
+
className="max-w-md"
|
|
294
|
+
onKeyDown={(e) => e.key === "Enter" && handleSearchById()}
|
|
295
|
+
/>
|
|
296
|
+
<Button
|
|
297
|
+
onClick={handleSearchById}
|
|
298
|
+
disabled={searching || !scope.appId}
|
|
299
|
+
>
|
|
300
|
+
<Search className="mr-1.5 h-4 w-4" />
|
|
301
|
+
{searching ? t("memory.units.querying") : t("memory.units.query")}
|
|
302
|
+
</Button>
|
|
303
|
+
{searchedUnit && (
|
|
304
|
+
<Button variant="outline" onClick={clearSearch}>
|
|
305
|
+
{t("memory.units.backToList")}
|
|
306
|
+
</Button>
|
|
307
|
+
)}
|
|
308
|
+
</div>
|
|
204
309
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
310
|
+
{wildcard && !searchedUnit && (
|
|
311
|
+
<p className="text-xs text-muted-foreground">
|
|
312
|
+
{t("memory.units.wildcardReadOnly")}
|
|
313
|
+
</p>
|
|
314
|
+
)}
|
|
210
315
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
316
|
+
<MemoryUnitTable
|
|
317
|
+
units={displayUnits}
|
|
318
|
+
readOnly={!!searchedUnit}
|
|
319
|
+
isActionDisabled={(unit) =>
|
|
320
|
+
!!searchedUnit || !canOperateOnUnit(unit, scope)
|
|
321
|
+
}
|
|
322
|
+
onView={(unit) => setDetailState({ scopeKey, unit })}
|
|
323
|
+
onEdit={(unit) => setEditState({ scopeKey, unit })}
|
|
324
|
+
onDelete={(unit) => setDeleteState({ scopeKey, unit })}
|
|
325
|
+
/>
|
|
219
326
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
327
|
+
{!searchedUnit && (
|
|
328
|
+
<div className="flex items-center justify-between py-2">
|
|
329
|
+
<span className="text-sm text-muted-foreground">
|
|
330
|
+
{t("memory.units.page", { page: tokenStack.length + 1 })}
|
|
331
|
+
</span>
|
|
332
|
+
<div className="flex items-center gap-4">
|
|
333
|
+
<Button
|
|
334
|
+
variant="outline"
|
|
335
|
+
size="sm"
|
|
336
|
+
onClick={() => {
|
|
337
|
+
setPagination((prev) => {
|
|
338
|
+
const activeStack =
|
|
339
|
+
prev.scopeKey === scopeKey ? prev.tokenStack : [];
|
|
340
|
+
const next = [...activeStack];
|
|
341
|
+
const previousToken = next.pop();
|
|
342
|
+
return {
|
|
343
|
+
scopeKey,
|
|
344
|
+
tokenStack: next,
|
|
345
|
+
currentToken: previousToken || undefined,
|
|
346
|
+
};
|
|
347
|
+
});
|
|
348
|
+
}}
|
|
349
|
+
disabled={tokenStack.length === 0}
|
|
350
|
+
>
|
|
351
|
+
<ChevronLeft className="mr-1 h-4 w-4" />
|
|
352
|
+
{t("common.prevPage")}
|
|
353
|
+
</Button>
|
|
354
|
+
<Button
|
|
355
|
+
variant="outline"
|
|
356
|
+
size="sm"
|
|
357
|
+
onClick={() => {
|
|
358
|
+
if (unitsQuery.data?.nextToken) {
|
|
359
|
+
setPagination((prev) => ({
|
|
360
|
+
scopeKey,
|
|
361
|
+
tokenStack: [
|
|
362
|
+
...(prev.scopeKey === scopeKey
|
|
363
|
+
? prev.tokenStack
|
|
364
|
+
: []),
|
|
365
|
+
currentToken ?? "",
|
|
366
|
+
],
|
|
367
|
+
currentToken: unitsQuery.data.nextToken,
|
|
368
|
+
}));
|
|
369
|
+
}
|
|
370
|
+
}}
|
|
371
|
+
disabled={!unitsQuery.data?.nextToken}
|
|
372
|
+
>
|
|
373
|
+
{t("common.nextPage")}
|
|
374
|
+
<ChevronRight className="ml-1 h-4 w-4" />
|
|
375
|
+
</Button>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
)}
|
|
379
|
+
</>
|
|
247
380
|
)}
|
|
248
381
|
|
|
249
382
|
<MemoryAddDialog
|
|
@@ -251,30 +384,127 @@ export default function MemoryUnitsPage() {
|
|
|
251
384
|
scope={scope}
|
|
252
385
|
open={showAddDialog}
|
|
253
386
|
onOpenChange={(open) => setAddDialogState({ scopeKey, open })}
|
|
254
|
-
onSuccess={() => {
|
|
387
|
+
onSuccess={() => {
|
|
388
|
+
unitsQuery.refetch();
|
|
389
|
+
clearSearch();
|
|
390
|
+
}}
|
|
255
391
|
/>
|
|
256
392
|
<MemoryUnitDetailPanel
|
|
257
393
|
memoryStoreName={memoryStoreName}
|
|
258
394
|
scope={detailScope}
|
|
259
395
|
unit={detailUnit}
|
|
260
396
|
open={!!detailUnit && canOperateOnUnit(detailUnit, scope)}
|
|
261
|
-
onOpenChange={(open) => {
|
|
397
|
+
onOpenChange={(open) => {
|
|
398
|
+
if (!open) setDetailState({ scopeKey, unit: null });
|
|
399
|
+
}}
|
|
262
400
|
/>
|
|
263
401
|
<MemoryEditDialog
|
|
264
402
|
memoryStoreName={memoryStoreName}
|
|
265
403
|
scope={editScope}
|
|
266
404
|
unit={editUnit}
|
|
267
405
|
open={!!editUnit && canOperateOnUnit(editUnit, scope)}
|
|
268
|
-
onOpenChange={(open) => {
|
|
406
|
+
onOpenChange={(open) => {
|
|
407
|
+
if (!open) setEditState({ scopeKey, unit: null });
|
|
408
|
+
}}
|
|
269
409
|
/>
|
|
270
410
|
<ConfirmDialog
|
|
271
411
|
open={!!deleteUnit && canOperateOnUnit(deleteUnit, scope)}
|
|
272
|
-
onOpenChange={(open) => {
|
|
273
|
-
|
|
274
|
-
|
|
412
|
+
onOpenChange={(open) => {
|
|
413
|
+
if (!open) setDeleteState({ scopeKey, unit: null });
|
|
414
|
+
}}
|
|
415
|
+
title={t("memory.units.deleteTitle")}
|
|
416
|
+
description={t("memory.units.deleteConfirm", {
|
|
417
|
+
id: deleteUnit ? getMemoryUnitId(deleteUnit) : "",
|
|
418
|
+
})}
|
|
275
419
|
variant="danger"
|
|
276
420
|
onConfirm={handleDeleteConfirm}
|
|
277
421
|
/>
|
|
278
422
|
</div>
|
|
279
423
|
);
|
|
280
424
|
}
|
|
425
|
+
|
|
426
|
+
/** 记忆单元 / 文件记忆 视图切换(仅文件记忆库出现)。 */
|
|
427
|
+
function UnitsViewToggle({
|
|
428
|
+
viewMode,
|
|
429
|
+
onChange,
|
|
430
|
+
t,
|
|
431
|
+
}: {
|
|
432
|
+
viewMode: "units" | "files";
|
|
433
|
+
onChange: (mode: "units" | "files") => void;
|
|
434
|
+
t: ReturnType<typeof useI18n>["t"];
|
|
435
|
+
}) {
|
|
436
|
+
const options: Array<{
|
|
437
|
+
value: "units" | "files";
|
|
438
|
+
label: string;
|
|
439
|
+
icon: React.ReactNode;
|
|
440
|
+
}> = [
|
|
441
|
+
{
|
|
442
|
+
value: "units",
|
|
443
|
+
label: t("memory.units.viewUnits"),
|
|
444
|
+
icon: <Database className="h-3.5 w-3.5" />,
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
value: "files",
|
|
448
|
+
label: t("memory.units.viewFiles"),
|
|
449
|
+
icon: <FolderTree className="h-3.5 w-3.5" />,
|
|
450
|
+
},
|
|
451
|
+
];
|
|
452
|
+
return (
|
|
453
|
+
<div className="inline-flex items-center rounded-md border border-[hsl(var(--border))] p-0.5">
|
|
454
|
+
{options.map((opt) => (
|
|
455
|
+
<button
|
|
456
|
+
key={opt.value}
|
|
457
|
+
type="button"
|
|
458
|
+
onClick={() => onChange(opt.value)}
|
|
459
|
+
aria-pressed={viewMode === opt.value}
|
|
460
|
+
className={cn(
|
|
461
|
+
"inline-flex items-center gap-1.5 rounded px-2.5 py-1 text-xs transition-colors",
|
|
462
|
+
viewMode === opt.value
|
|
463
|
+
? "bg-[hsl(var(--primary-soft))] font-medium text-[hsl(var(--primary))]"
|
|
464
|
+
: "text-muted-foreground hover:text-foreground",
|
|
465
|
+
)}
|
|
466
|
+
>
|
|
467
|
+
{opt.icon}
|
|
468
|
+
{opt.label}
|
|
469
|
+
</button>
|
|
470
|
+
))}
|
|
471
|
+
</div>
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 文件记忆视图:按当前范围栏 scope 展示投影出的本地文件树,点击文件查看内容。
|
|
477
|
+
* scope 需含 appId 且无通配符(空的租户/智能体/会话由 BFF 归一为 __default__)。
|
|
478
|
+
*/
|
|
479
|
+
function FileMemoryView({
|
|
480
|
+
usable,
|
|
481
|
+
hasAppId,
|
|
482
|
+
memoryStoreName,
|
|
483
|
+
scope,
|
|
484
|
+
}: {
|
|
485
|
+
usable: boolean;
|
|
486
|
+
hasAppId: boolean;
|
|
487
|
+
memoryStoreName: string;
|
|
488
|
+
scope: { appId: string; tenantId: string; agentId: string; runId: string };
|
|
489
|
+
}) {
|
|
490
|
+
const { t } = useI18n();
|
|
491
|
+
if (!usable) {
|
|
492
|
+
return (
|
|
493
|
+
<div className="rounded-lg border border-dashed border-[hsl(var(--border))] bg-[hsl(var(--muted)/0.25)] p-8 text-center">
|
|
494
|
+
<FolderTree className="mx-auto mb-2 h-6 w-6 text-muted-foreground" />
|
|
495
|
+
<p className="text-sm text-muted-foreground">
|
|
496
|
+
{hasAppId
|
|
497
|
+
? t("memory.units.fileMemoryWildcardHint")
|
|
498
|
+
: t("memory.units.fileMemoryAppHint")}
|
|
499
|
+
</p>
|
|
500
|
+
</div>
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
return (
|
|
504
|
+
<MemoryFilesBrowser
|
|
505
|
+
memoryStoreName={memoryStoreName}
|
|
506
|
+
scope={scope}
|
|
507
|
+
className="h-[calc(100vh-320px)] min-h-[360px]"
|
|
508
|
+
/>
|
|
509
|
+
);
|
|
510
|
+
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
3
|
import { PageHeader } from "@/components/layout/page-header";
|
|
4
4
|
import { MemoryCreateForm } from "@/components/memory/memory-create-form";
|
|
5
|
+
import { useI18n } from "@/i18n/i18n-context";
|
|
5
6
|
|
|
6
7
|
export default function CreateMemoryStorePage() {
|
|
8
|
+
const { t } = useI18n();
|
|
7
9
|
return (
|
|
8
10
|
<div className="mx-auto max-w-3xl space-y-6">
|
|
9
11
|
<PageHeader
|
|
10
|
-
title="
|
|
11
|
-
description="
|
|
12
|
+
title={t("memory.create.title")}
|
|
13
|
+
description={t("memory.create.description")}
|
|
12
14
|
/>
|
|
13
15
|
<MemoryCreateForm />
|
|
14
16
|
</div>
|