@tablestore/tablestore-agent-cli 0.2.8 → 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 +9 -7
- package/dist/commands/configure.js.map +1 -1
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +5 -4
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +167 -51
- 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} +7 -7
- 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} +7 -7
- 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} +8 -8
- 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 +8 -17
- 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 +186 -67
- 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 +7 -5
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/use/route.ts +1 -2
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/route.ts +4 -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 +173 -72
- package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +11 -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-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 +41 -13
- 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 +8 -5
- 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 +30 -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/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/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 +70 -3
- 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 +4 -7
- 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 +21 -4
- 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 +17 -8
- 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/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.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/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 +70 -3
- 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 +4 -7
- 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 +21 -4
- 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 +17 -8
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.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.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 +2 -2
- 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/_0l-4ms-._.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/_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/_0x05u0y._.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-ldkvvj51n5..js +0 -5
- 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/01ccz9pw1s5-1.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/0b2g7gajnlz-x.js +0 -4
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0czi-68m5cma3.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0eg702en0ykod.js +0 -1
- 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/0jwl.kgoaubdz.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0o3sqa_d7_k15.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0oatn7x1t1x~~.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/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/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/0zp_ao86_7617.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/10oar3if2rs8f.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/140~~66uc8843.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/1692-f0t3ef~c.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16z7~ksa815uh.js +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/static/{sk6oO3r92_OgCvicmyYrR → be0fa_T3EkD9v2fJGsvLd}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{sk6oO3r92_OgCvicmyYrR → be0fa_T3EkD9v2fJGsvLd}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{sk6oO3r92_OgCvicmyYrR → be0fa_T3EkD9v2fJGsvLd}/_ssgManifest.js +0 -0
|
@@ -8,11 +8,16 @@ import {
|
|
|
8
8
|
Brain,
|
|
9
9
|
ChevronDown,
|
|
10
10
|
Copy,
|
|
11
|
+
FileText,
|
|
12
|
+
FolderTree,
|
|
13
|
+
GraduationCap,
|
|
14
|
+
Loader2,
|
|
11
15
|
Pencil,
|
|
12
16
|
RotateCcw,
|
|
13
17
|
Search,
|
|
14
18
|
Send,
|
|
15
19
|
Trash2,
|
|
20
|
+
UserRound,
|
|
16
21
|
} from "lucide-react";
|
|
17
22
|
import { toast } from "sonner";
|
|
18
23
|
|
|
@@ -24,12 +29,9 @@ import {
|
|
|
24
29
|
CollapsibleTrigger,
|
|
25
30
|
} from "@/components/ui/collapsible";
|
|
26
31
|
import { Textarea } from "@/components/ui/textarea";
|
|
27
|
-
import {
|
|
28
|
-
Dialog,
|
|
29
|
-
DialogContent,
|
|
30
|
-
DialogTitle,
|
|
31
|
-
} from "@/components/ui/dialog";
|
|
32
|
+
import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
|
|
32
33
|
import { ConfirmDialog } from "@/components/shared/confirm-dialog";
|
|
34
|
+
import { useI18n, type TranslateFn } from "@/i18n/i18n-context";
|
|
33
35
|
import { cn, extractFileName } from "@/lib/utils";
|
|
34
36
|
import { IMAGE_FALLBACK_DATA_PREFIX } from "@/lib/constants";
|
|
35
37
|
import type {
|
|
@@ -43,7 +45,7 @@ import { Markdown } from "./markdown";
|
|
|
43
45
|
|
|
44
46
|
/** Fallback for clipboard copy when navigator.clipboard is unavailable (e.g.
|
|
45
47
|
* non-HTTPS contexts). Uses the deprecated execCommand approach. */
|
|
46
|
-
function fallbackCopy(text: string) {
|
|
48
|
+
function fallbackCopy(text: string, t: TranslateFn) {
|
|
47
49
|
try {
|
|
48
50
|
const textarea = document.createElement("textarea");
|
|
49
51
|
textarea.value = text;
|
|
@@ -53,12 +55,23 @@ function fallbackCopy(text: string) {
|
|
|
53
55
|
textarea.select();
|
|
54
56
|
document.execCommand("copy");
|
|
55
57
|
document.body.removeChild(textarea);
|
|
56
|
-
toast.success("
|
|
58
|
+
toast.success(t("qa.message.copied"));
|
|
57
59
|
} catch {
|
|
58
|
-
toast.error("
|
|
60
|
+
toast.error(t("qa.message.copyFailed"));
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
|
|
64
|
+
/**
|
|
65
|
+
* 会话内「沉淀到知识库」动作。仅在满足资格(记忆库+知识库均绑定且轮次足够)
|
|
66
|
+
* 时由聊天页透传,且只挂到最新一条助手回复上;其它场景(如知识库 QA 页)不传,
|
|
67
|
+
* 动作行保持原样。`running` 非 null 时两个按钮禁用并显示 spinner。
|
|
68
|
+
*/
|
|
69
|
+
export interface DreamDepositActions {
|
|
70
|
+
running: "skill" | "profile" | null;
|
|
71
|
+
onSummarizeSkill(): void;
|
|
72
|
+
onExtractProfile(): void;
|
|
73
|
+
}
|
|
74
|
+
|
|
62
75
|
interface QaMessageProps {
|
|
63
76
|
message: ChatMessage;
|
|
64
77
|
/** Whether ANY turn in the session is currently streaming. All action
|
|
@@ -69,6 +82,9 @@ interface QaMessageProps {
|
|
|
69
82
|
onResend(userId: string): void;
|
|
70
83
|
onRegenerate(assistantId: string): void;
|
|
71
84
|
onEditSave(userId: string, nextContent: string): void;
|
|
85
|
+
/** Optional in-session deposit actions; only passed for the latest assistant
|
|
86
|
+
* message when eligible (undefined otherwise). */
|
|
87
|
+
dreamActions?: DreamDepositActions;
|
|
72
88
|
}
|
|
73
89
|
|
|
74
90
|
function QaMessageImpl({
|
|
@@ -78,6 +94,7 @@ function QaMessageImpl({
|
|
|
78
94
|
onResend,
|
|
79
95
|
onRegenerate,
|
|
80
96
|
onEditSave,
|
|
97
|
+
dreamActions,
|
|
81
98
|
}: QaMessageProps) {
|
|
82
99
|
if (message.role === "user") {
|
|
83
100
|
return (
|
|
@@ -96,6 +113,7 @@ function QaMessageImpl({
|
|
|
96
113
|
busy={busy}
|
|
97
114
|
onDelete={onDelete}
|
|
98
115
|
onRegenerate={onRegenerate}
|
|
116
|
+
dreamActions={dreamActions}
|
|
99
117
|
/>
|
|
100
118
|
);
|
|
101
119
|
}
|
|
@@ -110,7 +128,10 @@ function QaMessageImpl({
|
|
|
110
128
|
*/
|
|
111
129
|
export const QaMessage = memo(
|
|
112
130
|
QaMessageImpl,
|
|
113
|
-
(prev, next) =>
|
|
131
|
+
(prev, next) =>
|
|
132
|
+
prev.message === next.message &&
|
|
133
|
+
prev.busy === next.busy &&
|
|
134
|
+
prev.dreamActions === next.dreamActions,
|
|
114
135
|
);
|
|
115
136
|
QaMessage.displayName = "QaMessage";
|
|
116
137
|
|
|
@@ -129,6 +150,8 @@ type MessageActionsProps = {
|
|
|
129
150
|
onResend?: () => void;
|
|
130
151
|
/** Assistant-bubble specific. */
|
|
131
152
|
onRegenerate?: () => void;
|
|
153
|
+
/** Assistant-bubble specific: in-session deposit-to-KB actions. */
|
|
154
|
+
dreamActions?: DreamDepositActions;
|
|
132
155
|
};
|
|
133
156
|
|
|
134
157
|
/**
|
|
@@ -146,7 +169,10 @@ function MessageActions({
|
|
|
146
169
|
onEdit,
|
|
147
170
|
onResend,
|
|
148
171
|
onRegenerate,
|
|
172
|
+
dreamActions,
|
|
149
173
|
}: MessageActionsProps) {
|
|
174
|
+
const { t } = useI18n();
|
|
175
|
+
const depositBusy = dreamActions?.running != null;
|
|
150
176
|
return (
|
|
151
177
|
<div
|
|
152
178
|
className={cn(
|
|
@@ -156,30 +182,68 @@ function MessageActions({
|
|
|
156
182
|
align === "right" ? "justify-end" : "justify-start",
|
|
157
183
|
)}
|
|
158
184
|
>
|
|
159
|
-
<ActionButton
|
|
185
|
+
<ActionButton
|
|
186
|
+
title={t("qa.message.copy")}
|
|
187
|
+
disabled={disabled}
|
|
188
|
+
onClick={onCopy}
|
|
189
|
+
>
|
|
160
190
|
<Copy className="h-3.5 w-3.5" />
|
|
161
191
|
</ActionButton>
|
|
162
192
|
{onEdit && (
|
|
163
|
-
<ActionButton
|
|
193
|
+
<ActionButton
|
|
194
|
+
title={t("qa.message.edit")}
|
|
195
|
+
disabled={disabled}
|
|
196
|
+
onClick={onEdit}
|
|
197
|
+
>
|
|
164
198
|
<Pencil className="h-3.5 w-3.5" />
|
|
165
199
|
</ActionButton>
|
|
166
200
|
)}
|
|
167
201
|
{onResend && (
|
|
168
|
-
<ActionButton
|
|
202
|
+
<ActionButton
|
|
203
|
+
title={t("qa.message.resend")}
|
|
204
|
+
disabled={disabled}
|
|
205
|
+
onClick={onResend}
|
|
206
|
+
>
|
|
169
207
|
<Send className="h-3.5 w-3.5" />
|
|
170
208
|
</ActionButton>
|
|
171
209
|
)}
|
|
172
210
|
{onRegenerate && (
|
|
173
211
|
<ActionButton
|
|
174
|
-
title="
|
|
212
|
+
title={t("qa.message.regenerate")}
|
|
175
213
|
disabled={disabled}
|
|
176
214
|
onClick={onRegenerate}
|
|
177
215
|
>
|
|
178
216
|
<RotateCcw className="h-3.5 w-3.5" />
|
|
179
217
|
</ActionButton>
|
|
180
218
|
)}
|
|
219
|
+
{dreamActions && (
|
|
220
|
+
<>
|
|
221
|
+
<ActionButton
|
|
222
|
+
title={t("qa.message.summarizeSkill")}
|
|
223
|
+
disabled={disabled || depositBusy}
|
|
224
|
+
onClick={dreamActions.onSummarizeSkill}
|
|
225
|
+
>
|
|
226
|
+
{dreamActions.running === "skill" ? (
|
|
227
|
+
<Loader2 className="h-3.5 w-3.5 animate-spin" />
|
|
228
|
+
) : (
|
|
229
|
+
<GraduationCap className="h-3.5 w-3.5" />
|
|
230
|
+
)}
|
|
231
|
+
</ActionButton>
|
|
232
|
+
<ActionButton
|
|
233
|
+
title={t("qa.message.extractProfile")}
|
|
234
|
+
disabled={disabled || depositBusy}
|
|
235
|
+
onClick={dreamActions.onExtractProfile}
|
|
236
|
+
>
|
|
237
|
+
{dreamActions.running === "profile" ? (
|
|
238
|
+
<Loader2 className="h-3.5 w-3.5 animate-spin" />
|
|
239
|
+
) : (
|
|
240
|
+
<UserRound className="h-3.5 w-3.5" />
|
|
241
|
+
)}
|
|
242
|
+
</ActionButton>
|
|
243
|
+
</>
|
|
244
|
+
)}
|
|
181
245
|
<ActionButton
|
|
182
|
-
title="
|
|
246
|
+
title={t("qa.message.delete")}
|
|
183
247
|
disabled={disabled}
|
|
184
248
|
onClick={onDelete}
|
|
185
249
|
destructive
|
|
@@ -214,7 +278,8 @@ function ActionButton({
|
|
|
214
278
|
onClick={onClick}
|
|
215
279
|
className={cn(
|
|
216
280
|
"h-7 w-7 text-muted-foreground hover:text-foreground",
|
|
217
|
-
destructive &&
|
|
281
|
+
destructive &&
|
|
282
|
+
"hover:text-[hsl(var(--destructive))] hover:bg-[hsl(var(--destructive))]/10",
|
|
218
283
|
)}
|
|
219
284
|
>
|
|
220
285
|
{children}
|
|
@@ -242,6 +307,7 @@ function TurnNotices({
|
|
|
242
307
|
failedKbCount,
|
|
243
308
|
failedKbDetails,
|
|
244
309
|
}: TurnNoticesProps) {
|
|
310
|
+
const { t } = useI18n();
|
|
245
311
|
const hasRewrite = !!rewriteFailed;
|
|
246
312
|
const hasRetrieval = (failedKbCount ?? 0) > 0;
|
|
247
313
|
if (!hasRewrite && !hasRetrieval) return null;
|
|
@@ -250,13 +316,15 @@ function TurnNotices({
|
|
|
250
316
|
<div className="space-y-1.5">
|
|
251
317
|
{hasRewrite && (
|
|
252
318
|
<NoticeChip
|
|
253
|
-
label="
|
|
254
|
-
detail={rewriteError ?? "
|
|
319
|
+
label={t("qa.message.rewriteFailed")}
|
|
320
|
+
detail={rewriteError ?? t("qa.message.rewriteFailedDetail")}
|
|
255
321
|
/>
|
|
256
322
|
)}
|
|
257
323
|
{hasRetrieval && failedKbDetails && (
|
|
258
324
|
<NoticeChip
|
|
259
|
-
label={
|
|
325
|
+
label={t("qa.message.kbRetrievalFailed", {
|
|
326
|
+
count: failedKbCount ?? 0,
|
|
327
|
+
})}
|
|
260
328
|
detail={failedKbDetails
|
|
261
329
|
.map((d) => `• ${d.name}: ${d.reason}`)
|
|
262
330
|
.join("\n")}
|
|
@@ -313,6 +381,7 @@ function UserBubble({
|
|
|
313
381
|
onResend: QaMessageProps["onResend"];
|
|
314
382
|
onEditSave: QaMessageProps["onEditSave"];
|
|
315
383
|
}) {
|
|
384
|
+
const { t } = useI18n();
|
|
316
385
|
const [touched, setTouched] = useState(false);
|
|
317
386
|
const [editing, setEditing] = useState(false);
|
|
318
387
|
const [draft, setDraft] = useState(message.content);
|
|
@@ -325,18 +394,18 @@ function UserBubble({
|
|
|
325
394
|
try {
|
|
326
395
|
if (navigator.clipboard && window.isSecureContext) {
|
|
327
396
|
void navigator.clipboard.writeText(message.content).then(
|
|
328
|
-
() => toast.success("
|
|
397
|
+
() => toast.success(t("qa.message.copied")),
|
|
329
398
|
() => {
|
|
330
|
-
fallbackCopy(message.content);
|
|
399
|
+
fallbackCopy(message.content, t);
|
|
331
400
|
},
|
|
332
401
|
);
|
|
333
402
|
} else {
|
|
334
|
-
fallbackCopy(message.content);
|
|
403
|
+
fallbackCopy(message.content, t);
|
|
335
404
|
}
|
|
336
405
|
} catch {
|
|
337
|
-
fallbackCopy(message.content);
|
|
406
|
+
fallbackCopy(message.content, t);
|
|
338
407
|
}
|
|
339
|
-
}, [message.content]);
|
|
408
|
+
}, [message.content, t]);
|
|
340
409
|
|
|
341
410
|
const handleSaveEdit = useCallback(() => {
|
|
342
411
|
const trimmed = draft.trim();
|
|
@@ -390,7 +459,7 @@ function UserBubble({
|
|
|
390
459
|
size="sm"
|
|
391
460
|
onClick={handleCancelEdit}
|
|
392
461
|
>
|
|
393
|
-
|
|
462
|
+
{t("qa.message.cancel")}
|
|
394
463
|
</Button>
|
|
395
464
|
<Button
|
|
396
465
|
type="button"
|
|
@@ -398,7 +467,7 @@ function UserBubble({
|
|
|
398
467
|
disabled={!draft.trim() || draft.trim() === message.content}
|
|
399
468
|
onClick={handleSaveEdit}
|
|
400
469
|
>
|
|
401
|
-
|
|
470
|
+
{t("qa.message.saveAndResend")}
|
|
402
471
|
</Button>
|
|
403
472
|
</div>
|
|
404
473
|
</div>
|
|
@@ -425,9 +494,9 @@ function UserBubble({
|
|
|
425
494
|
<ConfirmDialog
|
|
426
495
|
open={confirmDeleteOpen}
|
|
427
496
|
onOpenChange={setConfirmDeleteOpen}
|
|
428
|
-
title="
|
|
429
|
-
description="
|
|
430
|
-
confirmText="
|
|
497
|
+
title={t("qa.message.deleteMessageTitle")}
|
|
498
|
+
description={t("qa.message.deleteMessageDesc")}
|
|
499
|
+
confirmText={t("qa.message.deleteConfirm")}
|
|
431
500
|
variant="danger"
|
|
432
501
|
onConfirm={() => {
|
|
433
502
|
onDelete(message.id, { withNextAssistant });
|
|
@@ -439,16 +508,16 @@ function UserBubble({
|
|
|
439
508
|
checked={withNextAssistant}
|
|
440
509
|
onCheckedChange={(v) => setWithNextAssistant(v === true)}
|
|
441
510
|
/>
|
|
442
|
-
|
|
511
|
+
{t("qa.message.deleteWithAssistant")}
|
|
443
512
|
</label>
|
|
444
513
|
</ConfirmDialog>
|
|
445
514
|
|
|
446
515
|
<ConfirmDialog
|
|
447
516
|
open={confirmResendOpen}
|
|
448
517
|
onOpenChange={setConfirmResendOpen}
|
|
449
|
-
title="
|
|
450
|
-
description="
|
|
451
|
-
confirmText="
|
|
518
|
+
title={t("qa.message.resendMessageTitle")}
|
|
519
|
+
description={t("qa.message.resendMessageDesc")}
|
|
520
|
+
confirmText={t("qa.message.resendConfirm")}
|
|
452
521
|
onConfirm={() => {
|
|
453
522
|
setConfirmResendOpen(false);
|
|
454
523
|
onResend(message.id);
|
|
@@ -463,12 +532,15 @@ function AssistantBlock({
|
|
|
463
532
|
busy,
|
|
464
533
|
onDelete,
|
|
465
534
|
onRegenerate,
|
|
535
|
+
dreamActions,
|
|
466
536
|
}: {
|
|
467
537
|
message: ChatMessage;
|
|
468
538
|
busy: boolean;
|
|
469
539
|
onDelete: QaMessageProps["onDelete"];
|
|
470
540
|
onRegenerate: QaMessageProps["onRegenerate"];
|
|
541
|
+
dreamActions?: DreamDepositActions;
|
|
471
542
|
}) {
|
|
543
|
+
const { t } = useI18n();
|
|
472
544
|
const [touched, setTouched] = useState(false);
|
|
473
545
|
const [confirmDeleteOpen, setConfirmDeleteOpen] = useState(false);
|
|
474
546
|
const [confirmRegenOpen, setConfirmRegenOpen] = useState(false);
|
|
@@ -511,18 +583,18 @@ function AssistantBlock({
|
|
|
511
583
|
try {
|
|
512
584
|
if (navigator.clipboard && window.isSecureContext) {
|
|
513
585
|
void navigator.clipboard.writeText(message.content).then(
|
|
514
|
-
() => toast.success("
|
|
586
|
+
() => toast.success(t("qa.message.copied")),
|
|
515
587
|
() => {
|
|
516
|
-
fallbackCopy(message.content);
|
|
588
|
+
fallbackCopy(message.content, t);
|
|
517
589
|
},
|
|
518
590
|
);
|
|
519
591
|
} else {
|
|
520
|
-
fallbackCopy(message.content);
|
|
592
|
+
fallbackCopy(message.content, t);
|
|
521
593
|
}
|
|
522
594
|
} catch {
|
|
523
|
-
fallbackCopy(message.content);
|
|
595
|
+
fallbackCopy(message.content, t);
|
|
524
596
|
}
|
|
525
|
-
}, [message.content]);
|
|
597
|
+
}, [message.content, t]);
|
|
526
598
|
|
|
527
599
|
return (
|
|
528
600
|
<div
|
|
@@ -553,7 +625,9 @@ function AssistantBlock({
|
|
|
553
625
|
{message.retrievalQueryRewritten && message.retrievalQuery ? (
|
|
554
626
|
<div className="inline-flex max-w-full items-center gap-1.5 rounded-md bg-[hsl(var(--muted)/0.4)] px-2 py-1 text-xs text-muted-foreground">
|
|
555
627
|
<Search className="h-3 w-3 shrink-0" />
|
|
556
|
-
<span className="font-medium shrink-0"
|
|
628
|
+
<span className="font-medium shrink-0">
|
|
629
|
+
{t("qa.message.retrievalKeyword")}
|
|
630
|
+
</span>
|
|
557
631
|
<span className="truncate font-mono text-foreground/80">
|
|
558
632
|
{message.retrievalQuery}
|
|
559
633
|
</span>
|
|
@@ -579,12 +653,23 @@ function AssistantBlock({
|
|
|
579
653
|
/>
|
|
580
654
|
) : null}
|
|
581
655
|
|
|
656
|
+
{/* 文件记忆本轮同步摘要(openclaw local 模式的可视化):展示镜像目录、
|
|
657
|
+
文件树与本轮 +下载 -删除 统计。仅文件记忆模式下 memory.files 事件
|
|
658
|
+
写入后出现。 */}
|
|
659
|
+
{message.memoryFiles ? (
|
|
660
|
+
<MemoryFilesBlock
|
|
661
|
+
scopeDir={message.memoryFilesScopeDir}
|
|
662
|
+
files={message.memoryFiles}
|
|
663
|
+
sync={message.memoryFilesSync}
|
|
664
|
+
/>
|
|
665
|
+
) : null}
|
|
666
|
+
|
|
582
667
|
{/* Main content. */}
|
|
583
668
|
{hasError ? (
|
|
584
669
|
<div className="flex items-start gap-2 rounded-md border border-[hsl(var(--destructive))/0.3] bg-[hsl(var(--destructive))/0.05] px-3 py-2 text-[hsl(var(--destructive))]">
|
|
585
670
|
<AlertCircle className="mt-0.5 h-4 w-4 shrink-0" />
|
|
586
671
|
<span className="text-xs">
|
|
587
|
-
{message.errorMessage ?? "
|
|
672
|
+
{message.errorMessage ?? t("qa.message.generateFailed")}
|
|
588
673
|
</span>
|
|
589
674
|
</div>
|
|
590
675
|
) : (
|
|
@@ -604,14 +689,15 @@ function AssistantBlock({
|
|
|
604
689
|
onCopy={handleCopy}
|
|
605
690
|
onRegenerate={() => setConfirmRegenOpen(true)}
|
|
606
691
|
onDelete={() => setConfirmDeleteOpen(true)}
|
|
692
|
+
dreamActions={dreamActions}
|
|
607
693
|
/>
|
|
608
694
|
|
|
609
695
|
<ConfirmDialog
|
|
610
696
|
open={confirmDeleteOpen}
|
|
611
697
|
onOpenChange={setConfirmDeleteOpen}
|
|
612
|
-
title="
|
|
613
|
-
description="
|
|
614
|
-
confirmText="
|
|
698
|
+
title={t("qa.message.deleteReplyTitle")}
|
|
699
|
+
description={t("qa.message.deleteReplyDesc")}
|
|
700
|
+
confirmText={t("qa.message.deleteConfirm")}
|
|
615
701
|
variant="danger"
|
|
616
702
|
onConfirm={() => {
|
|
617
703
|
onDelete(message.id);
|
|
@@ -622,9 +708,9 @@ function AssistantBlock({
|
|
|
622
708
|
<ConfirmDialog
|
|
623
709
|
open={confirmRegenOpen}
|
|
624
710
|
onOpenChange={setConfirmRegenOpen}
|
|
625
|
-
title="
|
|
626
|
-
description="
|
|
627
|
-
confirmText="
|
|
711
|
+
title={t("qa.message.regenerateTitle")}
|
|
712
|
+
description={t("qa.message.regenerateDesc")}
|
|
713
|
+
confirmText={t("qa.message.regenerateConfirm")}
|
|
628
714
|
onConfirm={() => {
|
|
629
715
|
setConfirmRegenOpen(false);
|
|
630
716
|
onRegenerate(message.id);
|
|
@@ -656,13 +742,13 @@ function useElapsedMs(start?: number, end?: number): number | null {
|
|
|
656
742
|
* still working the format is `mm:ss` (live counter feel); after settle it
|
|
657
743
|
* becomes the friendlier "X 秒" / "X 分 Y 秒" reading conversational
|
|
658
744
|
* agents like DeepSeek and Doubao have made the de-facto Chinese standard. */
|
|
659
|
-
function formatElapsed(ms: number, settled: boolean): string {
|
|
745
|
+
function formatElapsed(ms: number, settled: boolean, t: TranslateFn): string {
|
|
660
746
|
const totalSec = Math.floor(ms / 1000);
|
|
661
747
|
const m = Math.floor(totalSec / 60);
|
|
662
748
|
const s = totalSec % 60;
|
|
663
749
|
if (settled) {
|
|
664
|
-
if (m === 0) return
|
|
665
|
-
return
|
|
750
|
+
if (m === 0) return t("qa.message.elapsedSeconds", { seconds: s });
|
|
751
|
+
return t("qa.message.elapsedMinutes", { minutes: m, seconds: s });
|
|
666
752
|
}
|
|
667
753
|
return `${m}:${String(s).padStart(2, "0")}`;
|
|
668
754
|
}
|
|
@@ -682,6 +768,7 @@ function ReasoningBlock({
|
|
|
682
768
|
intentExtracting?: boolean;
|
|
683
769
|
retrievalInFlight?: boolean;
|
|
684
770
|
}) {
|
|
771
|
+
const { t } = useI18n();
|
|
685
772
|
// Collapse by default; let the user opt in explicitly. Avoids the
|
|
686
773
|
// distracting auto-expand while the model is still producing tokens.
|
|
687
774
|
const [open, setOpen] = useState(false);
|
|
@@ -693,7 +780,7 @@ function ReasoningBlock({
|
|
|
693
780
|
const elapsedMs = useElapsedMs(startedAt, completedAt);
|
|
694
781
|
const settled = !streaming || Boolean(completedAt);
|
|
695
782
|
const elapsedLabel =
|
|
696
|
-
elapsedMs != null ? formatElapsed(elapsedMs, settled) : null;
|
|
783
|
+
elapsedMs != null ? formatElapsed(elapsedMs, settled, t) : null;
|
|
697
784
|
const active = streaming && !completedAt;
|
|
698
785
|
const hasReasoningText = reasoning.length > 0;
|
|
699
786
|
|
|
@@ -706,13 +793,13 @@ function ReasoningBlock({
|
|
|
706
793
|
// retrieve → KB queries are in-flight
|
|
707
794
|
// thinking → retrieval done, model preparing first token
|
|
708
795
|
// deep → reasoning tokens are streaming
|
|
709
|
-
let activeLabel = "
|
|
796
|
+
let activeLabel = t("qa.reasoning.thinking");
|
|
710
797
|
if (hasReasoningText) {
|
|
711
|
-
activeLabel = "
|
|
798
|
+
activeLabel = t("qa.reasoning.deepThinking");
|
|
712
799
|
} else if (retrievalInFlight) {
|
|
713
|
-
activeLabel = "
|
|
800
|
+
activeLabel = t("qa.reasoning.retrieving");
|
|
714
801
|
} else if (intentExtracting) {
|
|
715
|
-
activeLabel = "
|
|
802
|
+
activeLabel = t("qa.reasoning.intentExtracting");
|
|
716
803
|
}
|
|
717
804
|
|
|
718
805
|
return (
|
|
@@ -773,7 +860,7 @@ function ReasoningBlock({
|
|
|
773
860
|
{activeLabel}
|
|
774
861
|
</span>
|
|
775
862
|
) : (
|
|
776
|
-
<span
|
|
863
|
+
<span>{t("qa.reasoning.done")}</span>
|
|
777
864
|
)}
|
|
778
865
|
|
|
779
866
|
{elapsedLabel && (
|
|
@@ -817,6 +904,7 @@ interface ChunksBlockProps {
|
|
|
817
904
|
}
|
|
818
905
|
|
|
819
906
|
function ChunksBlock({ chunks, groups }: ChunksBlockProps) {
|
|
907
|
+
const { t } = useI18n();
|
|
820
908
|
const [open, setOpen] = useState(false);
|
|
821
909
|
|
|
822
910
|
// Precompute a docId#chunkId -> aggregated index lookup so per-KB sub-lists
|
|
@@ -841,11 +929,13 @@ function ChunksBlock({ chunks, groups }: ChunksBlockProps) {
|
|
|
841
929
|
className="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-[hsl(var(--accent))] hover:text-foreground"
|
|
842
930
|
>
|
|
843
931
|
<BookOpen className="h-3.5 w-3.5" />
|
|
844
|
-
|
|
932
|
+
{t("qa.chunks.viewCitations", { count: chunks.length })}
|
|
845
933
|
{showGrouped ? (
|
|
846
934
|
<span className="text-muted-foreground/70">
|
|
847
|
-
· {successful.length}
|
|
848
|
-
{errored.length > 0
|
|
935
|
+
· {t("qa.chunks.kbCount", { count: successful.length })}
|
|
936
|
+
{errored.length > 0
|
|
937
|
+
? t("qa.chunks.failedSuffix", { count: errored.length })
|
|
938
|
+
: ""}
|
|
849
939
|
</span>
|
|
850
940
|
) : null}
|
|
851
941
|
<ChevronDown
|
|
@@ -874,7 +964,9 @@ function ChunksBlock({ chunks, groups }: ChunksBlockProps) {
|
|
|
874
964
|
>
|
|
875
965
|
<span className="font-medium">{group.knowledgeBaseName}</span>
|
|
876
966
|
<span className="ml-2 text-[hsl(var(--destructive))/0.8]">
|
|
877
|
-
|
|
967
|
+
{t("qa.chunks.retrievalFailed", {
|
|
968
|
+
error: group.error ?? "",
|
|
969
|
+
})}
|
|
878
970
|
</span>
|
|
879
971
|
</div>
|
|
880
972
|
))}
|
|
@@ -882,7 +974,11 @@ function ChunksBlock({ chunks, groups }: ChunksBlockProps) {
|
|
|
882
974
|
) : (
|
|
883
975
|
<div className="space-y-2">
|
|
884
976
|
{chunks.map((chunk, idx) => (
|
|
885
|
-
<ChunkCard
|
|
977
|
+
<ChunkCard
|
|
978
|
+
key={`${chunk.docId}-${chunk.chunkId}`}
|
|
979
|
+
chunk={chunk}
|
|
980
|
+
index={idx + 1}
|
|
981
|
+
/>
|
|
886
982
|
))}
|
|
887
983
|
</div>
|
|
888
984
|
)}
|
|
@@ -899,11 +995,14 @@ function GroupedChunkList({
|
|
|
899
995
|
group: RetrievalGroup;
|
|
900
996
|
indexByKey: Map<string, number>;
|
|
901
997
|
}) {
|
|
998
|
+
const { t } = useI18n();
|
|
902
999
|
return (
|
|
903
1000
|
<div className="space-y-2">
|
|
904
1001
|
<div className="flex items-center gap-2 text-xs font-medium text-muted-foreground">
|
|
905
1002
|
<span className="text-foreground/80">{group.knowledgeBaseName}</span>
|
|
906
|
-
<span
|
|
1003
|
+
<span>
|
|
1004
|
+
· {t("qa.chunks.chunkCount", { count: group.chunks.length })}
|
|
1005
|
+
</span>
|
|
907
1006
|
</div>
|
|
908
1007
|
<div className="space-y-2 border-l-2 border-[hsl(var(--border))] pl-3">
|
|
909
1008
|
{group.chunks.map((chunk) => {
|
|
@@ -925,9 +1024,12 @@ function GroupedChunkList({
|
|
|
925
1024
|
}
|
|
926
1025
|
|
|
927
1026
|
function ChunkCard({ chunk, index }: { chunk: RetrievedChunk; index: number }) {
|
|
1027
|
+
const { t } = useI18n();
|
|
928
1028
|
const [zoomedImage, setZoomedImage] = useState<string | null>(null);
|
|
929
1029
|
const [expanded, setExpanded] = useState(false);
|
|
930
|
-
const fileName = chunk.ossKey
|
|
1030
|
+
const fileName = chunk.ossKey
|
|
1031
|
+
? extractFileName(chunk.ossKey)
|
|
1032
|
+
: t("qa.chunks.unknownFile");
|
|
931
1033
|
|
|
932
1034
|
const isImageChunk = chunk.chunkType?.toLowerCase() === "image";
|
|
933
1035
|
const imageSrc = chunk.imageBase64
|
|
@@ -983,7 +1085,7 @@ function ChunkCard({ chunk, index }: { chunk: RetrievedChunk; index: number }) {
|
|
|
983
1085
|
className="mt-1 text-[10px] text-muted-foreground hover:text-foreground"
|
|
984
1086
|
onClick={() => setExpanded((prev) => !prev)}
|
|
985
1087
|
>
|
|
986
|
-
{expanded ? "
|
|
1088
|
+
{expanded ? t("qa.chunks.collapse") : t("qa.chunks.expand")}
|
|
987
1089
|
</button>
|
|
988
1090
|
</div>
|
|
989
1091
|
)}
|
|
@@ -991,11 +1093,13 @@ function ChunkCard({ chunk, index }: { chunk: RetrievedChunk; index: number }) {
|
|
|
991
1093
|
{/* 图片放大预览 */}
|
|
992
1094
|
<Dialog open={!!zoomedImage} onOpenChange={() => setZoomedImage(null)}>
|
|
993
1095
|
<DialogContent className="max-w-[90vw] max-h-[90vh] p-2 flex items-center justify-center border-none bg-black/90 data-[state=open]:animate-none data-[state=closed]:animate-none duration-0">
|
|
994
|
-
<DialogTitle className="sr-only"
|
|
1096
|
+
<DialogTitle className="sr-only">
|
|
1097
|
+
{t("qa.chunks.imageZoomTitle")}
|
|
1098
|
+
</DialogTitle>
|
|
995
1099
|
{zoomedImage && (
|
|
996
1100
|
<img
|
|
997
1101
|
src={zoomedImage}
|
|
998
|
-
alt="
|
|
1102
|
+
alt={t("qa.chunks.imageZoomAlt")}
|
|
999
1103
|
className="max-w-full max-h-[85vh] object-contain"
|
|
1000
1104
|
/>
|
|
1001
1105
|
)}
|
|
@@ -1025,6 +1129,7 @@ export function MemoryHitsBlock({
|
|
|
1025
1129
|
hits: MemorySearchHit[];
|
|
1026
1130
|
query?: string;
|
|
1027
1131
|
}) {
|
|
1132
|
+
const { t } = useI18n();
|
|
1028
1133
|
const [open, setOpen] = useState(false);
|
|
1029
1134
|
return (
|
|
1030
1135
|
<Collapsible open={open} onOpenChange={setOpen}>
|
|
@@ -1034,7 +1139,7 @@ export function MemoryHitsBlock({
|
|
|
1034
1139
|
className="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-[hsl(var(--accent))] hover:text-foreground"
|
|
1035
1140
|
>
|
|
1036
1141
|
<Brain className="h-3.5 w-3.5" />
|
|
1037
|
-
|
|
1142
|
+
{t("qa.memory.referenceCount", { count: hits.length })}
|
|
1038
1143
|
{query ? (
|
|
1039
1144
|
<span className="max-w-[200px] truncate text-muted-foreground/70">
|
|
1040
1145
|
· {query}
|
|
@@ -1073,6 +1178,7 @@ function MemoryHitCard({
|
|
|
1073
1178
|
hit: MemorySearchHit;
|
|
1074
1179
|
index: number;
|
|
1075
1180
|
}) {
|
|
1181
|
+
const { t } = useI18n();
|
|
1076
1182
|
const id = hit.unit.memcell_id;
|
|
1077
1183
|
const score = typeof hit.score === "number" ? hit.score : undefined;
|
|
1078
1184
|
return (
|
|
@@ -1089,7 +1195,9 @@ function MemoryHitCard({
|
|
|
1089
1195
|
{id}
|
|
1090
1196
|
</span>
|
|
1091
1197
|
) : (
|
|
1092
|
-
<span className="text-muted-foreground/70"
|
|
1198
|
+
<span className="text-muted-foreground/70">
|
|
1199
|
+
{t("qa.memory.unnamedMemory")}
|
|
1200
|
+
</span>
|
|
1093
1201
|
)}
|
|
1094
1202
|
{hit.source ? (
|
|
1095
1203
|
<span className="rounded bg-[hsl(var(--muted))] px-1.5 py-0.5 text-[10px] uppercase tracking-wide text-muted-foreground">
|
|
@@ -1106,3 +1214,97 @@ function MemoryHitCard({
|
|
|
1106
1214
|
</div>
|
|
1107
1215
|
);
|
|
1108
1216
|
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* 文件记忆本轮同步摘要(openclaw local 模式的可视化)。
|
|
1220
|
+
*
|
|
1221
|
+
* 与 {@link MemoryHitsBlock} 同款折叠骨架:触发栏用 FolderTree 图标 +
|
|
1222
|
+
* 「本轮文件记忆 N 个文件」,副标题给出 +下载 -删除 统计(同步失败时改红
|
|
1223
|
+
* 字提示,本地旧副本仍在用);展开后列出参与检索的文件相对路径与大小。
|
|
1224
|
+
*/
|
|
1225
|
+
export function MemoryFilesBlock({
|
|
1226
|
+
scopeDir,
|
|
1227
|
+
files,
|
|
1228
|
+
sync,
|
|
1229
|
+
}: {
|
|
1230
|
+
scopeDir?: string;
|
|
1231
|
+
files: Array<{ rel: string; size: number }>;
|
|
1232
|
+
sync?: {
|
|
1233
|
+
ok: boolean;
|
|
1234
|
+
downloaded?: number;
|
|
1235
|
+
deleted?: number;
|
|
1236
|
+
total?: number;
|
|
1237
|
+
error?: string;
|
|
1238
|
+
};
|
|
1239
|
+
}) {
|
|
1240
|
+
const { t } = useI18n();
|
|
1241
|
+
const [open, setOpen] = useState(false);
|
|
1242
|
+
const summary = sync?.error
|
|
1243
|
+
? t("qa.memory.syncFailed", { error: sync.error })
|
|
1244
|
+
: t("qa.memory.syncSummary", {
|
|
1245
|
+
added: sync?.downloaded ?? 0,
|
|
1246
|
+
deleted: sync?.deleted ?? 0,
|
|
1247
|
+
total: sync?.total ?? files.length,
|
|
1248
|
+
});
|
|
1249
|
+
return (
|
|
1250
|
+
<Collapsible open={open} onOpenChange={setOpen}>
|
|
1251
|
+
<CollapsibleTrigger asChild>
|
|
1252
|
+
<button
|
|
1253
|
+
type="button"
|
|
1254
|
+
className="inline-flex max-w-full items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-[hsl(var(--accent))] hover:text-foreground"
|
|
1255
|
+
>
|
|
1256
|
+
<FolderTree className="h-3.5 w-3.5 shrink-0" />
|
|
1257
|
+
{t("qa.memory.filesThisTurn", { count: files.length })}
|
|
1258
|
+
<span
|
|
1259
|
+
className={cn(
|
|
1260
|
+
"max-w-[260px] truncate",
|
|
1261
|
+
sync?.error
|
|
1262
|
+
? "text-[hsl(var(--destructive))]"
|
|
1263
|
+
: "text-muted-foreground/70",
|
|
1264
|
+
)}
|
|
1265
|
+
>
|
|
1266
|
+
· {summary}
|
|
1267
|
+
</span>
|
|
1268
|
+
<ChevronDown
|
|
1269
|
+
className={cn(
|
|
1270
|
+
"h-3 w-3 shrink-0 transition-transform duration-200",
|
|
1271
|
+
open && "rotate-180",
|
|
1272
|
+
)}
|
|
1273
|
+
/>
|
|
1274
|
+
</button>
|
|
1275
|
+
</CollapsibleTrigger>
|
|
1276
|
+
<CollapsibleContent>
|
|
1277
|
+
<div className="mt-2 space-y-1 rounded-md border border-[hsl(var(--border))] bg-[hsl(var(--muted)/0.3)] p-3">
|
|
1278
|
+
{scopeDir ? (
|
|
1279
|
+
<p
|
|
1280
|
+
className="mb-1.5 truncate font-mono text-[10px] text-muted-foreground"
|
|
1281
|
+
title={scopeDir}
|
|
1282
|
+
>
|
|
1283
|
+
{scopeDir}
|
|
1284
|
+
</p>
|
|
1285
|
+
) : null}
|
|
1286
|
+
{files.length === 0 ? (
|
|
1287
|
+
<p className="text-xs text-muted-foreground/70">
|
|
1288
|
+
{t("qa.memory.emptyFiles")}
|
|
1289
|
+
</p>
|
|
1290
|
+
) : (
|
|
1291
|
+
files.map((f) => (
|
|
1292
|
+
<div
|
|
1293
|
+
key={f.rel}
|
|
1294
|
+
className="flex items-center gap-2 text-xs text-foreground/80"
|
|
1295
|
+
>
|
|
1296
|
+
<FileText className="h-3 w-3 shrink-0 text-muted-foreground" />
|
|
1297
|
+
<span className="min-w-0 truncate font-mono" title={f.rel}>
|
|
1298
|
+
{f.rel}
|
|
1299
|
+
</span>
|
|
1300
|
+
<span className="ml-auto shrink-0 font-mono text-muted-foreground">
|
|
1301
|
+
{t("qa.memory.fileSize", { size: f.size })}
|
|
1302
|
+
</span>
|
|
1303
|
+
</div>
|
|
1304
|
+
))
|
|
1305
|
+
)}
|
|
1306
|
+
</div>
|
|
1307
|
+
</CollapsibleContent>
|
|
1308
|
+
</Collapsible>
|
|
1309
|
+
);
|
|
1310
|
+
}
|