@tablestore/tablestore-agent-cli 0.2.8 → 0.2.10
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 +38 -6
- 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 → 5irIRCYtKcYh5T_Bewihp}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{sk6oO3r92_OgCvicmyYrR → 5irIRCYtKcYh5T_Bewihp}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{sk6oO3r92_OgCvicmyYrR → 5irIRCYtKcYh5T_Bewihp}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
|
-
import { useEffect, useRef } from "react";
|
|
3
|
+
import { useEffect, useMemo, useRef } from "react";
|
|
4
4
|
import { useRouter } from "next/navigation";
|
|
5
5
|
import { useForm } from "react-hook-form";
|
|
6
6
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -39,11 +39,23 @@ import { EmbeddingConfigForm } from "./embedding-config-form";
|
|
|
39
39
|
import { RetrievalResultCountField } from "./retrieval-result-count-field";
|
|
40
40
|
import { buildKnowledgeBaseRetrievalConfiguration } from "./knowledge-base-retrieval-config";
|
|
41
41
|
import { useCreateKB } from "@/hooks/use-create-kb";
|
|
42
|
-
import {
|
|
42
|
+
import {
|
|
43
|
+
buildCreateKBSchema,
|
|
44
|
+
type CreateKBInput,
|
|
45
|
+
} from "@/schemas/knowledge-base";
|
|
46
|
+
import { useI18n } from "@/i18n/i18n-context";
|
|
43
47
|
|
|
44
48
|
export function KBCreateForm() {
|
|
49
|
+
const { locale } = useI18n();
|
|
50
|
+
return <KBCreateFormInner key={locale} />;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function KBCreateFormInner() {
|
|
45
54
|
const router = useRouter();
|
|
46
55
|
const createKB = useCreateKB();
|
|
56
|
+
const { t } = useI18n();
|
|
57
|
+
|
|
58
|
+
const createKBSchema = useMemo(() => buildCreateKBSchema(t), [t]);
|
|
47
59
|
|
|
48
60
|
const form = useForm<CreateKBInput>({
|
|
49
61
|
resolver: zodResolver(createKBSchema),
|
|
@@ -120,7 +132,9 @@ export function KBCreateForm() {
|
|
|
120
132
|
|
|
121
133
|
// Highlight the parameter card matching the currently selected strategy
|
|
122
134
|
// so users can see at a glance which block their toggle affects.
|
|
123
|
-
const rerankType = form.watch(
|
|
135
|
+
const rerankType = form.watch(
|
|
136
|
+
"retrievalConfiguration.rerankingConfiguration.type",
|
|
137
|
+
);
|
|
124
138
|
const cardClass = (active: boolean) =>
|
|
125
139
|
"space-y-4 rounded-md border p-4 transition-colors " +
|
|
126
140
|
(active
|
|
@@ -133,19 +147,24 @@ export function KBCreateForm() {
|
|
|
133
147
|
const request: Parameters<typeof createKB.mutateAsync>[0] = {
|
|
134
148
|
...values,
|
|
135
149
|
multimodal: values.multimodal || undefined,
|
|
136
|
-
ingestConfiguration: values.ingestConfiguration
|
|
150
|
+
ingestConfiguration: values.ingestConfiguration
|
|
151
|
+
?.enableTableFormulaCaption
|
|
137
152
|
? values.ingestConfiguration
|
|
138
153
|
: undefined,
|
|
139
154
|
retrievalConfiguration: values.retrievalConfiguration
|
|
140
|
-
? buildKnowledgeBaseRetrievalConfiguration(
|
|
155
|
+
? buildKnowledgeBaseRetrievalConfiguration(
|
|
156
|
+
values.retrievalConfiguration,
|
|
157
|
+
)
|
|
141
158
|
: undefined,
|
|
142
159
|
};
|
|
143
160
|
await createKB.mutateAsync(request);
|
|
144
|
-
toast.success("
|
|
161
|
+
toast.success(t("knowledgeBase.create.createSuccess"));
|
|
145
162
|
router.push("/knowledge-base");
|
|
146
163
|
} catch (error) {
|
|
147
164
|
const message =
|
|
148
|
-
error instanceof Error
|
|
165
|
+
error instanceof Error
|
|
166
|
+
? error.message
|
|
167
|
+
: t("knowledgeBase.create.createFailed");
|
|
149
168
|
toast.error(message);
|
|
150
169
|
}
|
|
151
170
|
}
|
|
@@ -155,19 +174,27 @@ export function KBCreateForm() {
|
|
|
155
174
|
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-8">
|
|
156
175
|
{/* 基本信息 */}
|
|
157
176
|
<section className="space-y-4">
|
|
158
|
-
<h3 className="text-lg font-semibold"
|
|
177
|
+
<h3 className="text-lg font-semibold">
|
|
178
|
+
{t("knowledgeBase.common.basicInfo")}
|
|
179
|
+
</h3>
|
|
159
180
|
|
|
160
181
|
<FormField
|
|
161
182
|
control={form.control}
|
|
162
183
|
name="knowledgeBaseName"
|
|
163
184
|
render={({ field }) => (
|
|
164
185
|
<FormItem>
|
|
165
|
-
<FormLabel
|
|
186
|
+
<FormLabel>
|
|
187
|
+
{t("knowledgeBase.create.nameRequiredMark")}{" "}
|
|
188
|
+
<span className="text-[hsl(var(--destructive))]">*</span>
|
|
189
|
+
</FormLabel>
|
|
166
190
|
<FormControl>
|
|
167
|
-
<Input
|
|
191
|
+
<Input
|
|
192
|
+
placeholder={t("knowledgeBase.create.namePlaceholder")}
|
|
193
|
+
{...field}
|
|
194
|
+
/>
|
|
168
195
|
</FormControl>
|
|
169
196
|
<FormDescription>
|
|
170
|
-
|
|
197
|
+
{t("knowledgeBase.create.nameDesc")}
|
|
171
198
|
</FormDescription>
|
|
172
199
|
<FormMessage />
|
|
173
200
|
</FormItem>
|
|
@@ -179,10 +206,12 @@ export function KBCreateForm() {
|
|
|
179
206
|
name="description"
|
|
180
207
|
render={({ field }) => (
|
|
181
208
|
<FormItem>
|
|
182
|
-
<FormLabel
|
|
209
|
+
<FormLabel>{t("knowledgeBase.common.description")}</FormLabel>
|
|
183
210
|
<FormControl>
|
|
184
211
|
<Textarea
|
|
185
|
-
placeholder=
|
|
212
|
+
placeholder={t(
|
|
213
|
+
"knowledgeBase.common.descriptionPlaceholder",
|
|
214
|
+
)}
|
|
186
215
|
className="resize-none"
|
|
187
216
|
rows={3}
|
|
188
217
|
{...field}
|
|
@@ -198,12 +227,12 @@ export function KBCreateForm() {
|
|
|
198
227
|
name="tags"
|
|
199
228
|
render={({ field }) => (
|
|
200
229
|
<FormItem>
|
|
201
|
-
<FormLabel
|
|
230
|
+
<FormLabel>{t("knowledgeBase.common.tags")}</FormLabel>
|
|
202
231
|
<FormControl>
|
|
203
232
|
<TagInput
|
|
204
233
|
value={field.value ?? []}
|
|
205
234
|
onChange={field.onChange}
|
|
206
|
-
placeholder="
|
|
235
|
+
placeholder={t("knowledgeBase.common.tagsPlaceholder")}
|
|
207
236
|
/>
|
|
208
237
|
</FormControl>
|
|
209
238
|
<FormMessage />
|
|
@@ -217,9 +246,11 @@ export function KBCreateForm() {
|
|
|
217
246
|
render={({ field }) => (
|
|
218
247
|
<FormItem className="flex flex-row items-center justify-between gap-4 space-y-0 rounded-md border border-border p-3">
|
|
219
248
|
<div className="space-y-0.5">
|
|
220
|
-
<FormLabel className="text-sm"
|
|
249
|
+
<FormLabel className="text-sm">
|
|
250
|
+
{t("knowledgeBase.create.enableSubspace")}
|
|
251
|
+
</FormLabel>
|
|
221
252
|
<FormDescription className="text-xs">
|
|
222
|
-
|
|
253
|
+
{t("knowledgeBase.create.enableSubspaceDesc")}
|
|
223
254
|
</FormDescription>
|
|
224
255
|
</div>
|
|
225
256
|
<FormControl>
|
|
@@ -238,9 +269,11 @@ export function KBCreateForm() {
|
|
|
238
269
|
render={({ field }) => (
|
|
239
270
|
<FormItem className="flex flex-row items-center justify-between gap-4 space-y-0 rounded-md border border-border p-3">
|
|
240
271
|
<div className="space-y-0.5">
|
|
241
|
-
<FormLabel className="text-sm"
|
|
272
|
+
<FormLabel className="text-sm">
|
|
273
|
+
{t("knowledgeBase.create.multimodal")}
|
|
274
|
+
</FormLabel>
|
|
242
275
|
<FormDescription className="text-xs">
|
|
243
|
-
|
|
276
|
+
{t("knowledgeBase.create.multimodalDesc")}
|
|
244
277
|
</FormDescription>
|
|
245
278
|
</div>
|
|
246
279
|
<FormControl>
|
|
@@ -259,9 +292,11 @@ export function KBCreateForm() {
|
|
|
259
292
|
render={({ field }) => (
|
|
260
293
|
<FormItem className="flex flex-row items-center justify-between gap-4 space-y-0 rounded-md border border-border p-3">
|
|
261
294
|
<div className="space-y-0.5">
|
|
262
|
-
<FormLabel className="text-sm"
|
|
295
|
+
<FormLabel className="text-sm">
|
|
296
|
+
{t("knowledgeBase.create.tableFormulaCaption")}
|
|
297
|
+
</FormLabel>
|
|
263
298
|
<FormDescription className="text-xs">
|
|
264
|
-
|
|
299
|
+
{t("knowledgeBase.create.tableFormulaCaptionDesc")}
|
|
265
300
|
</FormDescription>
|
|
266
301
|
</div>
|
|
267
302
|
<FormControl>
|
|
@@ -277,7 +312,9 @@ export function KBCreateForm() {
|
|
|
277
312
|
|
|
278
313
|
{/* Metadata Schema */}
|
|
279
314
|
<section className="space-y-4">
|
|
280
|
-
<h3 className="text-lg font-semibold">
|
|
315
|
+
<h3 className="text-lg font-semibold">
|
|
316
|
+
{t("knowledgeBase.common.metadataSchema")}
|
|
317
|
+
</h3>
|
|
281
318
|
<FormField
|
|
282
319
|
control={form.control}
|
|
283
320
|
name="metadata"
|
|
@@ -303,18 +340,23 @@ export function KBCreateForm() {
|
|
|
303
340
|
variant="ghost"
|
|
304
341
|
className="flex w-full items-center justify-between p-0 text-lg font-semibold hover:bg-transparent"
|
|
305
342
|
>
|
|
306
|
-
|
|
343
|
+
{t("knowledgeBase.common.advancedConfig")}
|
|
307
344
|
<ChevronDown className="h-4 w-4 transition-transform duration-200 [[data-state=open]>&]:rotate-180" />
|
|
308
345
|
</Button>
|
|
309
346
|
</CollapsibleTrigger>
|
|
310
347
|
<CollapsibleContent className="mt-4 space-y-6">
|
|
311
348
|
{/* Embedding 配置 */}
|
|
312
349
|
<div className="space-y-4">
|
|
313
|
-
<h4 className="text-base font-medium text-foreground">
|
|
350
|
+
<h4 className="text-base font-medium text-foreground">
|
|
351
|
+
{t("knowledgeBase.common.embeddingConfig")}
|
|
352
|
+
</h4>
|
|
314
353
|
{form.watch("multimodal") && (
|
|
315
354
|
<p className="text-xs text-muted-foreground bg-muted/30 rounded-md p-2">
|
|
316
|
-
|
|
317
|
-
|
|
355
|
+
{t("knowledgeBase.create.autoSwitchPrefix")}
|
|
356
|
+
<code>qwen3-vl-embedding</code>
|
|
357
|
+
{t("knowledgeBase.create.autoSwitchMiddle")}
|
|
358
|
+
<code>qwen3-vl-rerank</code>
|
|
359
|
+
{t("knowledgeBase.create.autoSwitchSuffix")}
|
|
318
360
|
</p>
|
|
319
361
|
)}
|
|
320
362
|
<EmbeddingConfigForm form={form} />
|
|
@@ -324,14 +366,18 @@ export function KBCreateForm() {
|
|
|
324
366
|
|
|
325
367
|
{/* 检索配置 */}
|
|
326
368
|
<div className="space-y-4">
|
|
327
|
-
<h4 className="text-base font-medium text-foreground"
|
|
369
|
+
<h4 className="text-base font-medium text-foreground">
|
|
370
|
+
{t("knowledgeBase.common.retrievalConfig")}
|
|
371
|
+
</h4>
|
|
328
372
|
|
|
329
373
|
<FormField
|
|
330
374
|
control={form.control}
|
|
331
375
|
name="retrievalConfiguration.searchType"
|
|
332
376
|
render={({ field }) => (
|
|
333
377
|
<FormItem>
|
|
334
|
-
<FormLabel
|
|
378
|
+
<FormLabel>
|
|
379
|
+
{t("knowledgeBase.common.searchType")}
|
|
380
|
+
</FormLabel>
|
|
335
381
|
<FormControl>
|
|
336
382
|
<ToggleGroup
|
|
337
383
|
type="multiple"
|
|
@@ -342,17 +388,23 @@ export function KBCreateForm() {
|
|
|
342
388
|
}}
|
|
343
389
|
className="grid w-full grid-cols-2 gap-0 overflow-hidden rounded-lg border border-border bg-[hsl(var(--muted)/0.4)] p-0 sm:max-w-md"
|
|
344
390
|
>
|
|
345
|
-
<ToggleGroupItem
|
|
391
|
+
<ToggleGroupItem
|
|
392
|
+
value="DENSE_VECTOR"
|
|
393
|
+
className="h-9 gap-1.5"
|
|
394
|
+
>
|
|
346
395
|
{field.value?.includes("DENSE_VECTOR") && (
|
|
347
396
|
<Check className="h-3.5 w-3.5 text-[hsl(var(--primary))]" />
|
|
348
397
|
)}
|
|
349
|
-
|
|
398
|
+
{t("knowledgeBase.common.searchDense")}
|
|
350
399
|
</ToggleGroupItem>
|
|
351
|
-
<ToggleGroupItem
|
|
400
|
+
<ToggleGroupItem
|
|
401
|
+
value="FULL_TEXT"
|
|
402
|
+
className="h-9 gap-1.5"
|
|
403
|
+
>
|
|
352
404
|
{field.value?.includes("FULL_TEXT") && (
|
|
353
405
|
<Check className="h-3.5 w-3.5 text-[hsl(var(--primary))]" />
|
|
354
406
|
)}
|
|
355
|
-
|
|
407
|
+
{t("knowledgeBase.common.searchFullText")}
|
|
356
408
|
</ToggleGroupItem>
|
|
357
409
|
</ToggleGroup>
|
|
358
410
|
</FormControl>
|
|
@@ -364,18 +416,18 @@ export function KBCreateForm() {
|
|
|
364
416
|
<div className="space-y-3">
|
|
365
417
|
<div className="space-y-1">
|
|
366
418
|
<p className="text-sm font-medium text-[hsl(var(--foreground))]">
|
|
367
|
-
|
|
419
|
+
{t("knowledgeBase.create.resultCount")}
|
|
368
420
|
</p>
|
|
369
421
|
<p className="text-xs text-[hsl(var(--muted-foreground))]">
|
|
370
|
-
|
|
422
|
+
{t("knowledgeBase.create.resultCountDesc")}
|
|
371
423
|
</p>
|
|
372
424
|
</div>
|
|
373
425
|
<div className="grid grid-cols-[repeat(auto-fit,minmax(min(260px,100%),1fr))] gap-3">
|
|
374
426
|
<RetrievalResultCountField
|
|
375
427
|
control={form.control}
|
|
376
428
|
name="retrievalConfiguration.denseVectorSearchConfiguration.numberOfResults"
|
|
377
|
-
label="
|
|
378
|
-
description="
|
|
429
|
+
label={t("knowledgeBase.common.denseTopK")}
|
|
430
|
+
description={t("knowledgeBase.common.denseTopKDesc")}
|
|
379
431
|
max={100}
|
|
380
432
|
muted={
|
|
381
433
|
!form
|
|
@@ -386,8 +438,8 @@ export function KBCreateForm() {
|
|
|
386
438
|
<RetrievalResultCountField
|
|
387
439
|
control={form.control}
|
|
388
440
|
name="retrievalConfiguration.fullTextSearchConfiguration.numberOfResults"
|
|
389
|
-
label="
|
|
390
|
-
description="
|
|
441
|
+
label={t("knowledgeBase.common.fullTextTopK")}
|
|
442
|
+
description={t("knowledgeBase.common.fullTextTopKDesc")}
|
|
391
443
|
max={100}
|
|
392
444
|
muted={
|
|
393
445
|
!form
|
|
@@ -399,8 +451,8 @@ export function KBCreateForm() {
|
|
|
399
451
|
<RetrievalResultCountField
|
|
400
452
|
control={form.control}
|
|
401
453
|
name="retrievalConfiguration.rerankingConfiguration.numberOfResults"
|
|
402
|
-
label="
|
|
403
|
-
description="
|
|
454
|
+
label={t("knowledgeBase.common.rerankTopK")}
|
|
455
|
+
description={t("knowledgeBase.common.rerankTopKDesc")}
|
|
404
456
|
max={200}
|
|
405
457
|
/>
|
|
406
458
|
</div>
|
|
@@ -410,7 +462,9 @@ export function KBCreateForm() {
|
|
|
410
462
|
name="retrievalConfiguration.rerankingConfiguration.type"
|
|
411
463
|
render={({ field }) => (
|
|
412
464
|
<FormItem>
|
|
413
|
-
<FormLabel
|
|
465
|
+
<FormLabel>
|
|
466
|
+
{t("knowledgeBase.create.defaultRerankStrategy")}
|
|
467
|
+
</FormLabel>
|
|
414
468
|
<FormControl>
|
|
415
469
|
<ToggleGroup
|
|
416
470
|
type="single"
|
|
@@ -422,6 +476,10 @@ export function KBCreateForm() {
|
|
|
422
476
|
}}
|
|
423
477
|
className="grid w-full grid-cols-3 gap-0 overflow-hidden rounded-lg border border-border bg-[hsl(var(--muted)/0.4)] p-0 sm:max-w-md"
|
|
424
478
|
>
|
|
479
|
+
{/* Rerank strategy labels are intentionally left untranslated:
|
|
480
|
+
they are established technical terms that map 1:1 to the
|
|
481
|
+
backend enum values (MODEL / WEIGHT / RRF) and read the same
|
|
482
|
+
across locales. */}
|
|
425
483
|
<ToggleGroupItem value="MODEL" className="h-9">
|
|
426
484
|
Model
|
|
427
485
|
</ToggleGroupItem>
|
|
@@ -434,7 +492,7 @@ export function KBCreateForm() {
|
|
|
434
492
|
</ToggleGroup>
|
|
435
493
|
</FormControl>
|
|
436
494
|
<FormDescription className="text-xs">
|
|
437
|
-
|
|
495
|
+
{t("knowledgeBase.create.rerankStrategyDesc")}
|
|
438
496
|
</FormDescription>
|
|
439
497
|
<FormMessage />
|
|
440
498
|
</FormItem>
|
|
@@ -443,22 +501,35 @@ export function KBCreateForm() {
|
|
|
443
501
|
|
|
444
502
|
{/* MODEL 配置参数 */}
|
|
445
503
|
<div className={cardClass(rerankType === "MODEL")}>
|
|
446
|
-
<p className="text-sm font-medium text-muted-foreground">
|
|
504
|
+
<p className="text-sm font-medium text-muted-foreground">
|
|
505
|
+
{t("knowledgeBase.common.modelParams")}
|
|
506
|
+
</p>
|
|
447
507
|
<div className="grid grid-cols-2 gap-4">
|
|
448
508
|
<FormField
|
|
449
509
|
control={form.control}
|
|
450
510
|
name="retrievalConfiguration.rerankingConfiguration.modelConfiguration.provider"
|
|
451
511
|
render={({ field }) => (
|
|
452
512
|
<FormItem>
|
|
453
|
-
<FormLabel
|
|
454
|
-
|
|
513
|
+
<FormLabel>
|
|
514
|
+
{t("knowledgeBase.provider.label")}
|
|
515
|
+
</FormLabel>
|
|
516
|
+
<Select
|
|
517
|
+
onValueChange={field.onChange}
|
|
518
|
+
value={field.value ?? ""}
|
|
519
|
+
>
|
|
455
520
|
<FormControl>
|
|
456
521
|
<SelectTrigger>
|
|
457
|
-
<SelectValue
|
|
522
|
+
<SelectValue
|
|
523
|
+
placeholder={t(
|
|
524
|
+
"knowledgeBase.provider.selectProvider",
|
|
525
|
+
)}
|
|
526
|
+
/>
|
|
458
527
|
</SelectTrigger>
|
|
459
528
|
</FormControl>
|
|
460
529
|
<SelectContent>
|
|
461
|
-
<SelectItem value="bailian"
|
|
530
|
+
<SelectItem value="bailian">
|
|
531
|
+
{t("knowledgeBase.provider.bailian")}
|
|
532
|
+
</SelectItem>
|
|
462
533
|
</SelectContent>
|
|
463
534
|
</Select>
|
|
464
535
|
<FormMessage />
|
|
@@ -469,27 +540,47 @@ export function KBCreateForm() {
|
|
|
469
540
|
control={form.control}
|
|
470
541
|
name="retrievalConfiguration.rerankingConfiguration.modelConfiguration.model"
|
|
471
542
|
render={({ field }) => {
|
|
472
|
-
const rerankProvider = form.watch(
|
|
543
|
+
const rerankProvider = form.watch(
|
|
544
|
+
"retrievalConfiguration.rerankingConfiguration.modelConfiguration.provider",
|
|
545
|
+
);
|
|
473
546
|
return (
|
|
474
547
|
<FormItem>
|
|
475
|
-
<FormLabel
|
|
548
|
+
<FormLabel>
|
|
549
|
+
{t("knowledgeBase.provider.modelName")}
|
|
550
|
+
</FormLabel>
|
|
476
551
|
<FormControl>
|
|
477
552
|
{rerankProvider === "bailian" ? (
|
|
478
|
-
<Select
|
|
553
|
+
<Select
|
|
554
|
+
onValueChange={field.onChange}
|
|
555
|
+
value={field.value ?? ""}
|
|
556
|
+
>
|
|
479
557
|
<SelectTrigger>
|
|
480
|
-
<SelectValue
|
|
558
|
+
<SelectValue
|
|
559
|
+
placeholder={t(
|
|
560
|
+
"knowledgeBase.provider.selectModel",
|
|
561
|
+
)}
|
|
562
|
+
/>
|
|
481
563
|
</SelectTrigger>
|
|
482
564
|
<SelectContent>
|
|
483
|
-
<SelectItem value="gte-rerank-v2">
|
|
484
|
-
|
|
565
|
+
<SelectItem value="gte-rerank-v2">
|
|
566
|
+
gte-rerank-v2
|
|
567
|
+
</SelectItem>
|
|
568
|
+
<SelectItem value="qwen3-rerank">
|
|
569
|
+
qwen3-rerank
|
|
570
|
+
</SelectItem>
|
|
485
571
|
<SelectItem value="qwen3-vl-rerank">
|
|
486
|
-
qwen3-vl-rerank
|
|
572
|
+
qwen3-vl-rerank
|
|
573
|
+
{t(
|
|
574
|
+
"knowledgeBase.provider.multimodalSuffix",
|
|
575
|
+
)}
|
|
487
576
|
</SelectItem>
|
|
488
577
|
</SelectContent>
|
|
489
578
|
</Select>
|
|
490
579
|
) : (
|
|
491
580
|
<Input
|
|
492
|
-
placeholder=
|
|
581
|
+
placeholder={t(
|
|
582
|
+
"knowledgeBase.provider.inputModelName",
|
|
583
|
+
)}
|
|
493
584
|
{...field}
|
|
494
585
|
value={field.value ?? ""}
|
|
495
586
|
/>
|
|
@@ -505,14 +596,18 @@ export function KBCreateForm() {
|
|
|
505
596
|
|
|
506
597
|
{/* WEIGHT 配置参数 */}
|
|
507
598
|
<div className={cardClass(rerankType === "WEIGHT")}>
|
|
508
|
-
<p className="text-sm font-medium text-muted-foreground">
|
|
599
|
+
<p className="text-sm font-medium text-muted-foreground">
|
|
600
|
+
{t("knowledgeBase.common.weightParams")}
|
|
601
|
+
</p>
|
|
509
602
|
<div className="grid grid-cols-2 gap-4">
|
|
510
603
|
<FormField
|
|
511
604
|
control={form.control}
|
|
512
605
|
name="retrievalConfiguration.rerankingConfiguration.weightConfiguration.denseVectorSearchWeight"
|
|
513
606
|
render={({ field }) => (
|
|
514
607
|
<FormItem>
|
|
515
|
-
<FormLabel
|
|
608
|
+
<FormLabel>
|
|
609
|
+
{t("knowledgeBase.common.denseWeight")}
|
|
610
|
+
</FormLabel>
|
|
516
611
|
<FormControl>
|
|
517
612
|
<Input
|
|
518
613
|
type="number"
|
|
@@ -525,7 +620,9 @@ export function KBCreateForm() {
|
|
|
525
620
|
onChange={handleNumberInput(field.onChange)}
|
|
526
621
|
/>
|
|
527
622
|
</FormControl>
|
|
528
|
-
<FormDescription>
|
|
623
|
+
<FormDescription>
|
|
624
|
+
{t("knowledgeBase.common.weightRange")}
|
|
625
|
+
</FormDescription>
|
|
529
626
|
<FormMessage />
|
|
530
627
|
</FormItem>
|
|
531
628
|
)}
|
|
@@ -535,7 +632,9 @@ export function KBCreateForm() {
|
|
|
535
632
|
name="retrievalConfiguration.rerankingConfiguration.weightConfiguration.fullTextSearchWeight"
|
|
536
633
|
render={({ field }) => (
|
|
537
634
|
<FormItem>
|
|
538
|
-
<FormLabel
|
|
635
|
+
<FormLabel>
|
|
636
|
+
{t("knowledgeBase.common.fullTextWeight")}
|
|
637
|
+
</FormLabel>
|
|
539
638
|
<FormControl>
|
|
540
639
|
<Input
|
|
541
640
|
type="number"
|
|
@@ -548,7 +647,9 @@ export function KBCreateForm() {
|
|
|
548
647
|
onChange={handleNumberInput(field.onChange)}
|
|
549
648
|
/>
|
|
550
649
|
</FormControl>
|
|
551
|
-
<FormDescription>
|
|
650
|
+
<FormDescription>
|
|
651
|
+
{t("knowledgeBase.common.weightRange")}
|
|
652
|
+
</FormDescription>
|
|
552
653
|
<FormMessage />
|
|
553
654
|
</FormItem>
|
|
554
655
|
)}
|
|
@@ -558,14 +659,18 @@ export function KBCreateForm() {
|
|
|
558
659
|
|
|
559
660
|
{/* RRF 配置参数 */}
|
|
560
661
|
<div className={cardClass(rerankType === "RRF")}>
|
|
561
|
-
<p className="text-sm font-medium text-muted-foreground">
|
|
562
|
-
|
|
662
|
+
<p className="text-sm font-medium text-muted-foreground">
|
|
663
|
+
{t("knowledgeBase.common.rrfParams")}
|
|
664
|
+
</p>
|
|
665
|
+
<div className="grid grid-cols-1 gap-4 sm:grid-cols-3">
|
|
563
666
|
<FormField
|
|
564
667
|
control={form.control}
|
|
565
668
|
name="retrievalConfiguration.rerankingConfiguration.rrfConfiguration.denseVectorSearchWeight"
|
|
566
669
|
render={({ field }) => (
|
|
567
670
|
<FormItem>
|
|
568
|
-
<FormLabel
|
|
671
|
+
<FormLabel>
|
|
672
|
+
{t("knowledgeBase.common.denseWeight")}
|
|
673
|
+
</FormLabel>
|
|
569
674
|
<FormControl>
|
|
570
675
|
<Input
|
|
571
676
|
type="number"
|
|
@@ -585,7 +690,9 @@ export function KBCreateForm() {
|
|
|
585
690
|
name="retrievalConfiguration.rerankingConfiguration.rrfConfiguration.fullTextSearchWeight"
|
|
586
691
|
render={({ field }) => (
|
|
587
692
|
<FormItem>
|
|
588
|
-
<FormLabel
|
|
693
|
+
<FormLabel>
|
|
694
|
+
{t("knowledgeBase.common.fullTextWeight")}
|
|
695
|
+
</FormLabel>
|
|
589
696
|
<FormControl>
|
|
590
697
|
<Input
|
|
591
698
|
type="number"
|
|
@@ -605,7 +712,9 @@ export function KBCreateForm() {
|
|
|
605
712
|
name="retrievalConfiguration.rerankingConfiguration.rrfConfiguration.k"
|
|
606
713
|
render={({ field }) => (
|
|
607
714
|
<FormItem>
|
|
608
|
-
<FormLabel>
|
|
715
|
+
<FormLabel>
|
|
716
|
+
{t("knowledgeBase.common.kValue")}
|
|
717
|
+
</FormLabel>
|
|
609
718
|
<FormControl>
|
|
610
719
|
<Input
|
|
611
720
|
type="number"
|
|
@@ -627,15 +736,13 @@ export function KBCreateForm() {
|
|
|
627
736
|
|
|
628
737
|
{/* 提交 */}
|
|
629
738
|
<div className="flex justify-end gap-3 pt-4 border-t">
|
|
630
|
-
<Button
|
|
631
|
-
|
|
632
|
-
variant="outline"
|
|
633
|
-
onClick={() => router.back()}
|
|
634
|
-
>
|
|
635
|
-
取消
|
|
739
|
+
<Button type="button" variant="outline" onClick={() => router.back()}>
|
|
740
|
+
{t("common.cancel")}
|
|
636
741
|
</Button>
|
|
637
742
|
<Button type="submit" disabled={createKB.isPending}>
|
|
638
|
-
{createKB.isPending
|
|
743
|
+
{createKB.isPending
|
|
744
|
+
? t("common.creating")
|
|
745
|
+
: t("knowledgeBase.create.submit")}
|
|
639
746
|
</Button>
|
|
640
747
|
</div>
|
|
641
748
|
</form>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { useRouter } from "next/navigation";
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DialogTitle,
|
|
16
16
|
} from "@/components/ui/dialog";
|
|
17
17
|
import { useDeleteKB } from "@/hooks/use-delete-kb";
|
|
18
|
+
import { useI18n } from "@/i18n/i18n-context";
|
|
18
19
|
|
|
19
20
|
interface KBDeleteDialogProps {
|
|
20
21
|
knowledgeBaseName: string | null;
|
|
@@ -29,6 +30,7 @@ export function KBDeleteDialog({
|
|
|
29
30
|
}: KBDeleteDialogProps) {
|
|
30
31
|
const router = useRouter();
|
|
31
32
|
const deleteKB = useDeleteKB();
|
|
33
|
+
const { t } = useI18n();
|
|
32
34
|
const [confirmInput, setConfirmInput] = useState("");
|
|
33
35
|
|
|
34
36
|
const isConfirmed = confirmInput === knowledgeBaseName;
|
|
@@ -38,13 +40,17 @@ export function KBDeleteDialog({
|
|
|
38
40
|
|
|
39
41
|
try {
|
|
40
42
|
await deleteKB.mutateAsync(knowledgeBaseName);
|
|
41
|
-
toast.success(
|
|
43
|
+
toast.success(
|
|
44
|
+
t("knowledgeBase.delete.deleteSuccess", { name: knowledgeBaseName }),
|
|
45
|
+
);
|
|
42
46
|
setConfirmInput("");
|
|
43
47
|
onOpenChange(false);
|
|
44
48
|
router.push("/knowledge-base");
|
|
45
49
|
} catch (error) {
|
|
46
50
|
const message =
|
|
47
|
-
error instanceof Error
|
|
51
|
+
error instanceof Error
|
|
52
|
+
? error.message
|
|
53
|
+
: t("knowledgeBase.delete.deleteFailed");
|
|
48
54
|
toast.error(message);
|
|
49
55
|
}
|
|
50
56
|
}
|
|
@@ -59,23 +65,31 @@ export function KBDeleteDialog({
|
|
|
59
65
|
>
|
|
60
66
|
<DialogContent className="sm:max-w-md">
|
|
61
67
|
<DialogHeader>
|
|
62
|
-
<DialogTitle className="text-xl"
|
|
68
|
+
<DialogTitle className="text-xl">
|
|
69
|
+
{t("knowledgeBase.delete.title")}
|
|
70
|
+
</DialogTitle>
|
|
63
71
|
</DialogHeader>
|
|
64
72
|
|
|
65
73
|
<div className="rounded-md border border-[hsl(var(--destructive))] bg-[hsl(var(--destructive))/0.06] px-4 py-3 text-sm leading-relaxed">
|
|
66
74
|
<p>
|
|
67
75
|
<AlertTriangle className="inline h-4 w-4 text-destructive mr-1 -mt-0.5" />
|
|
68
|
-
|
|
69
|
-
<strong className="font-semibold">
|
|
70
|
-
|
|
76
|
+
{t("knowledgeBase.delete.warningPrefix")}
|
|
77
|
+
<strong className="text-[hsl(var(--destructive))] font-semibold">
|
|
78
|
+
{t("knowledgeBase.delete.warningIrreversible")}
|
|
79
|
+
</strong>
|
|
80
|
+
{t("knowledgeBase.delete.warningSuffix")}
|
|
81
|
+
<strong className="font-semibold">{knowledgeBaseName}</strong>
|
|
82
|
+
{t("knowledgeBase.delete.warningTail")}
|
|
71
83
|
</p>
|
|
72
84
|
</div>
|
|
73
85
|
|
|
74
86
|
<div className="space-y-2 py-2">
|
|
75
87
|
<Label>
|
|
76
|
-
|
|
77
|
-
<code className="rounded bg-[hsl(var(--muted))] px-1 py-px font-mono text-[13px] font-semibold text-[hsl(var(--destructive))]">
|
|
78
|
-
|
|
88
|
+
{t("knowledgeBase.delete.confirmPromptPrefix")}
|
|
89
|
+
<code className="rounded bg-[hsl(var(--muted))] px-1 py-px font-mono text-[13px] font-semibold text-[hsl(var(--destructive))]">
|
|
90
|
+
{knowledgeBaseName}
|
|
91
|
+
</code>
|
|
92
|
+
{t("knowledgeBase.delete.confirmPromptSuffix")}
|
|
79
93
|
</Label>
|
|
80
94
|
<Input
|
|
81
95
|
placeholder={knowledgeBaseName ?? ""}
|
|
@@ -93,14 +107,16 @@ export function KBDeleteDialog({
|
|
|
93
107
|
onOpenChange(false);
|
|
94
108
|
}}
|
|
95
109
|
>
|
|
96
|
-
|
|
110
|
+
{t("common.cancel")}
|
|
97
111
|
</Button>
|
|
98
112
|
<Button
|
|
99
113
|
variant="destructive"
|
|
100
114
|
disabled={!isConfirmed || deleteKB.isPending}
|
|
101
115
|
onClick={handleDelete}
|
|
102
116
|
>
|
|
103
|
-
{deleteKB.isPending
|
|
117
|
+
{deleteKB.isPending
|
|
118
|
+
? t("common.deleting")
|
|
119
|
+
: t("common.confirmDelete")}
|
|
104
120
|
</Button>
|
|
105
121
|
</DialogFooter>
|
|
106
122
|
</DialogContent>
|