@tablestore/tablestore-agent-cli 0.2.11 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +3 -0
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +10 -11
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/memory-items.d.ts +3 -0
- package/dist/commands/memory-items.d.ts.map +1 -0
- package/dist/commands/memory-items.js +375 -0
- package/dist/commands/memory-items.js.map +1 -0
- package/dist/commands/memory.d.ts.map +1 -1
- package/dist/commands/memory.js +131 -196
- package/dist/commands/memory.js.map +1 -1
- package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
- package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
- package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +16 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/build-manifest.json +9 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/server-reference-manifest.json +4 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js +6 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.map +5 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.nft.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +15 -15
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +15 -15
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +18 -18
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +18 -18
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +11 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0e95__next-internal_server_app_api_v1_instances_connectivity_route_actions_0hc.k~w.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +8 -8
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-pbmiq._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-wmyic._.js +40 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.li3cj._.js +40 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0w56nne._.js → [root-of-the-server]__0sa.9zr._.js} +6 -6
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0tc-.6s._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0y0w3mg._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0.ooo1s._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fsbff._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0b5cw4e._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0p1cst6._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0xza7lz._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.6x0yu._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.pa1e6._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01snuz~._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0251rsp._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_02waf76._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06_hoj_._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0brqbty._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0csuit-._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0eps5jg._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ez3yia._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0k7q0ug._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0pwlb77._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0t.h859._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0thp9l5._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0_z9696._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{dashboard_src_0bhjp9s._.js → dashboard_src_0jrh7xy._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0x60pxf._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_[dreamId]_page_tsx_0wy3tv6._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_page_tsx_0uzzpvs._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_layout_tsx_0rbi41w._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_memory_memory-files-browser_tsx_0o2~94-._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0ymj2~2._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +1 -0
- package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-xwobg-a6si1.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/01bokygf48bnj.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/04a.1c2rygy08.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/05.2q9f0yx4e_.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09v-qczj__g1x.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{08nzc9sye_0~h.js → 0_8~9zgfm5f.8.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_zw2y~vb_52n.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0a2f-mxepv-y7.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0jjiw-agnutux.js → 0amex7bwxnme9.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0apfhv-v7oy7u.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0bxt5icwb83xt.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dpi1comd-thc.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{08h7wustf~cl4.js → 0eerrv808~6bh.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j6agpotrd_n4.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jbcdgtcgqemd.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{01xcynczarvq~.js → 0jp7zmwvyv0bn.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k8mhea24d_kj.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0krt75we1wtcy.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0prl9yrb8ksp8.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{01xuyqw7ivp3n.js → 0r4azm.3hswcs.js} +3 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0uj7ezedkm6ou.css +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0x5qtkdg2trq9.js +5 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zhfdjby7cj-q.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0~a4ig2x9z8uq.js → 13__t3s3ipfzl.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16uky1ro-t_~9.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0hnqmb1a7y7x1.js → 18absak_u0d85.js} +3 -3
- package/dist/dashboard-runtime/dashboard/server.js +1 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +187 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +14 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/page.tsx +3 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/connectivity/route.ts +66 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-curator.ts +57 -52
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.ts +39 -6
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/[action]/route.ts +22 -28
- package/dist/dashboard-runtime/dashboard/src/app/onboarding/page.tsx +1 -3
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-picker.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/instance/instance-connectivity-dot.tsx +96 -0
- package/dist/dashboard-runtime/dashboard/src/components/instance/project-card.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-gate.tsx +23 -5
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-switcher.tsx +23 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +13 -1
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +29 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-details-panel.tsx +4 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-editor.tsx +9 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/file-version-history.tsx +107 -57
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +253 -68
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-plan-approval-dialog.tsx +172 -0
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-files-browser.tsx +104 -56
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +204 -52
- package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +169 -42
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +4 -3
- package/dist/dashboard-runtime/dashboard/src/components/shared/llm-model-selector.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/components/ui/dialog.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/contexts/subspace-context.tsx +144 -30
- package/dist/dashboard-runtime/dashboard/src/hooks/use-approve-dream-plan.ts +25 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-file-memory.ts +73 -72
- package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +40 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-subspace-history.ts +64 -75
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +82 -7
- package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +80 -7
- package/dist/dashboard-runtime/dashboard/src/lib/browser-file-memory.ts +31 -25
- package/dist/dashboard-runtime/dashboard/src/lib/memory-scope-history.ts +165 -0
- package/dist/dashboard-runtime/dashboard/src/lib/memory.ts +13 -0
- package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +10 -14
- package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +5 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/instance-connectivity.ts +136 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +25 -3
- package/dist/dashboard-runtime/dashboard/src/lib/subspace-history.ts +151 -0
- package/dist/dashboard-runtime/dashboard/src/services/file-memory.ts +48 -56
- package/dist/dashboard-runtime/dashboard/src/services/instances.ts +5 -0
- package/dist/dashboard-runtime/dashboard/src/services/memory.ts +45 -5
- package/dist/dashboard-runtime/dashboard/src/types/file-memory.ts +96 -43
- package/dist/dashboard-runtime/dashboard/src/types/instance.ts +17 -0
- package/dist/dashboard-runtime/dashboard/src/types/memory.ts +50 -3
- package/dist/dashboard-runtime/dashboard/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/dist/dashboard-runtime/node_modules/@img/{sharp-linux-x64 → sharp-darwin-arm64}/package.json +7 -13
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/README.md +2 -2
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/glib-2.0/include/glibconfig.h +8 -9
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib} +0 -0
- package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/package.json +5 -11
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +9 -55
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +25 -93
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +4 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/main.js +0 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +9 -55
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +25 -93
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +4 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0dzh4cj._.js +0 -40
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0k7ex0r._.js +0 -40
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01f7est._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0cj2gsm._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05bw0~2._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_071hi50._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hy21o9._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xrd8-1._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0y7vx.d._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13ctfae._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0sr_ner._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-~e5~2eoun8n.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/029zyc1pxa~4m.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/05vzt~ml0z7~9.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/08o2~c-80nbla.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_osn.dm_85jw.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0aj~rx1m.91ur.js +0 -5
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dx_8pb_z_xy6.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k9guaejnlc0r.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ll488v66ycn1.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pxisu-1mnehf.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vn5pp.3keyh5.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wbozn0wq-4ls.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/12iur8ibdfi5_.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/13kxz9vygidrz.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/165fwg-5at5cq.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/17b4md7atp39z.js +0 -1
- package/dist/dashboard-runtime/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/semver/node_modules/.bin/semver +0 -21
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → 8G6beqTEKH_-N0JljpgWT}/_ssgManifest.js +0 -0
- /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/index.js +0 -0
- /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/versions.json +0 -0
|
@@ -14,7 +14,12 @@ import {
|
|
|
14
14
|
DropdownMenuTrigger,
|
|
15
15
|
} from "@/components/ui/dropdown-menu";
|
|
16
16
|
import { ConnectInstanceDialog } from "@/components/instance/connect-instance-dialog";
|
|
17
|
-
import {
|
|
17
|
+
import { InstanceConnectivityDot } from "@/components/instance/instance-connectivity-dot";
|
|
18
|
+
import {
|
|
19
|
+
useInstanceConnectivity,
|
|
20
|
+
useInstances,
|
|
21
|
+
useSwitchInstance,
|
|
22
|
+
} from "@/hooks/use-instances";
|
|
18
23
|
import { useI18n } from "@/i18n/i18n-context";
|
|
19
24
|
import { cn } from "@/lib/utils";
|
|
20
25
|
|
|
@@ -41,6 +46,7 @@ export function InstanceSwitcher() {
|
|
|
41
46
|
const { t } = useI18n();
|
|
42
47
|
const [connectOpen, setConnectOpen] = useState(false);
|
|
43
48
|
const { data, isLoading } = useInstances();
|
|
49
|
+
const { data: connectivity } = useInstanceConnectivity();
|
|
44
50
|
const switchMutation = useSwitchInstance();
|
|
45
51
|
|
|
46
52
|
const activeName = data?.activeInstance ?? null;
|
|
@@ -81,6 +87,9 @@ export function InstanceSwitcher() {
|
|
|
81
87
|
className="h-8 gap-1.5 px-2 text-sm text-muted-foreground hover:text-foreground"
|
|
82
88
|
disabled={isLoading}
|
|
83
89
|
>
|
|
90
|
+
<InstanceConnectivityDot
|
|
91
|
+
status={activeName ? connectivity?.items[activeName] : undefined}
|
|
92
|
+
/>
|
|
84
93
|
<span className="max-w-[140px] truncate">
|
|
85
94
|
{activeName
|
|
86
95
|
? `*${activeName}`
|
|
@@ -117,6 +126,9 @@ export function InstanceSwitcher() {
|
|
|
117
126
|
)}
|
|
118
127
|
/>
|
|
119
128
|
<span className="flex-1 truncate">{item.name}</span>
|
|
129
|
+
<InstanceConnectivityDot
|
|
130
|
+
status={connectivity?.items[item.name]}
|
|
131
|
+
/>
|
|
120
132
|
{item.region && (
|
|
121
133
|
<span className="text-[11px] text-muted-foreground">
|
|
122
134
|
{item.region}
|
|
@@ -13,9 +13,15 @@ import {
|
|
|
13
13
|
DropdownMenuTrigger,
|
|
14
14
|
} from "@/components/ui/dropdown-menu";
|
|
15
15
|
import { ConnectInstanceDialog } from "@/components/instance/connect-instance-dialog";
|
|
16
|
-
import {
|
|
16
|
+
import { InstanceConnectivityDot } from "@/components/instance/instance-connectivity-dot";
|
|
17
|
+
import {
|
|
18
|
+
useInstanceConnectivity,
|
|
19
|
+
useInstances,
|
|
20
|
+
useSwitchInstance,
|
|
21
|
+
} from "@/hooks/use-instances";
|
|
17
22
|
import { useI18n } from "@/i18n/i18n-context";
|
|
18
23
|
import { cn } from "@/lib/utils";
|
|
24
|
+
import type { InstanceConnectivity } from "@/types/instance";
|
|
19
25
|
|
|
20
26
|
function resolveSwitchTarget(pathname: string | null): string | null {
|
|
21
27
|
if (!pathname) return null;
|
|
@@ -40,6 +46,7 @@ export function SidebarInstanceCard({ collapsed }: SidebarInstanceCardProps) {
|
|
|
40
46
|
const { t } = useI18n();
|
|
41
47
|
const [connectOpen, setConnectOpen] = useState(false);
|
|
42
48
|
const { data, isLoading } = useInstances();
|
|
49
|
+
const { data: connectivity } = useInstanceConnectivity();
|
|
43
50
|
const switchMutation = useSwitchInstance();
|
|
44
51
|
|
|
45
52
|
const activeName = data?.activeInstance ?? null;
|
|
@@ -76,12 +83,18 @@ export function SidebarInstanceCard({ collapsed }: SidebarInstanceCardProps) {
|
|
|
76
83
|
// Circular avatar to differentiate the instance switcher
|
|
77
84
|
// from the rectangular menu items below; subtle border +
|
|
78
85
|
// card surface keeps it readable on the white sidebar.
|
|
79
|
-
"flex h-8 w-8 items-center justify-center rounded-full border border-[hsl(var(--border))] bg-[hsl(var(--card))] text-[11px] font-semibold uppercase text-[hsl(var(--foreground))] transition-colors",
|
|
86
|
+
"relative flex h-8 w-8 items-center justify-center rounded-full border border-[hsl(var(--border))] bg-[hsl(var(--card))] text-[11px] font-semibold uppercase text-[hsl(var(--foreground))] transition-colors",
|
|
80
87
|
"hover:border-[hsl(var(--primary))] hover:text-[hsl(var(--primary))]",
|
|
81
88
|
"disabled:opacity-50",
|
|
82
89
|
)}
|
|
83
90
|
>
|
|
84
91
|
{(activeName ?? "?").charAt(0)}
|
|
92
|
+
<InstanceConnectivityDot
|
|
93
|
+
status={
|
|
94
|
+
activeName ? connectivity?.items[activeName] : undefined
|
|
95
|
+
}
|
|
96
|
+
className="absolute bottom-0 right-0 ring-2 ring-background"
|
|
97
|
+
/>
|
|
85
98
|
</button>
|
|
86
99
|
</DropdownMenuTrigger>
|
|
87
100
|
<InstanceMenu
|
|
@@ -90,6 +103,7 @@ export function SidebarInstanceCard({ collapsed }: SidebarInstanceCardProps) {
|
|
|
90
103
|
onSelect={handleSwitch}
|
|
91
104
|
onCreate={() => setConnectOpen(true)}
|
|
92
105
|
onManage={() => router.push("/projects")}
|
|
106
|
+
connectivity={connectivity?.items}
|
|
93
107
|
t={t}
|
|
94
108
|
/>
|
|
95
109
|
</DropdownMenu>
|
|
@@ -115,8 +129,15 @@ export function SidebarInstanceCard({ collapsed }: SidebarInstanceCardProps) {
|
|
|
115
129
|
<span className="text-[11px] uppercase tracking-wider text-[hsl(var(--muted-foreground))]">
|
|
116
130
|
{t("instance.switcher.currentProjectLabel")}
|
|
117
131
|
</span>
|
|
118
|
-
<span className="truncate text-sm font-semibold text-[hsl(var(--foreground))]">
|
|
119
|
-
|
|
132
|
+
<span className="flex items-center gap-1.5 truncate text-sm font-semibold text-[hsl(var(--foreground))]">
|
|
133
|
+
<span className="truncate">
|
|
134
|
+
{activeName ?? t("instance.switcher.notSelected")}
|
|
135
|
+
</span>
|
|
136
|
+
<InstanceConnectivityDot
|
|
137
|
+
status={
|
|
138
|
+
activeName ? connectivity?.items[activeName] : undefined
|
|
139
|
+
}
|
|
140
|
+
/>
|
|
120
141
|
</span>
|
|
121
142
|
</div>
|
|
122
143
|
<ChevronsUpDown className="h-3.5 w-3.5 shrink-0 text-[hsl(var(--muted-foreground))]" />
|
|
@@ -128,6 +149,7 @@ export function SidebarInstanceCard({ collapsed }: SidebarInstanceCardProps) {
|
|
|
128
149
|
onSelect={handleSwitch}
|
|
129
150
|
onCreate={() => setConnectOpen(true)}
|
|
130
151
|
onManage={() => router.push("/projects")}
|
|
152
|
+
connectivity={connectivity?.items}
|
|
131
153
|
t={t}
|
|
132
154
|
/>
|
|
133
155
|
</DropdownMenu>
|
|
@@ -146,6 +168,7 @@ interface InstanceMenuProps {
|
|
|
146
168
|
onSelect: (name: string) => void;
|
|
147
169
|
onCreate: () => void;
|
|
148
170
|
onManage: () => void;
|
|
171
|
+
connectivity?: Record<string, InstanceConnectivity>;
|
|
149
172
|
t: ReturnType<typeof useI18n>["t"];
|
|
150
173
|
}
|
|
151
174
|
|
|
@@ -155,6 +178,7 @@ function InstanceMenu({
|
|
|
155
178
|
onSelect,
|
|
156
179
|
onCreate,
|
|
157
180
|
onManage,
|
|
181
|
+
connectivity,
|
|
158
182
|
t,
|
|
159
183
|
}: InstanceMenuProps) {
|
|
160
184
|
return (
|
|
@@ -185,6 +209,7 @@ function InstanceMenu({
|
|
|
185
209
|
)}
|
|
186
210
|
/>
|
|
187
211
|
<span className="flex-1 truncate">{item.name}</span>
|
|
212
|
+
<InstanceConnectivityDot status={connectivity?.[item.name]} />
|
|
188
213
|
{item.region && (
|
|
189
214
|
<span className="text-[11px] text-[hsl(var(--muted-foreground))]">
|
|
190
215
|
{item.region}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { FileClock, Hash, HardDrive, ListOrdered } from "lucide-react";
|
|
4
4
|
|
|
5
5
|
import { useI18n } from "@/i18n/i18n-context";
|
|
6
|
-
import type {
|
|
6
|
+
import type { FileMemoryItem, FileMemoryScope } from "@/types/file-memory";
|
|
7
7
|
|
|
8
8
|
import { FileVersionHistory } from "./file-version-history";
|
|
9
9
|
|
|
@@ -38,9 +38,9 @@ export function FileDetailsPanel({
|
|
|
38
38
|
}: {
|
|
39
39
|
memoryStoreName: string;
|
|
40
40
|
scope: FileMemoryScope;
|
|
41
|
-
file:
|
|
41
|
+
file: FileMemoryItem | undefined;
|
|
42
42
|
readOnly: boolean;
|
|
43
|
-
onRestored?: (file:
|
|
43
|
+
onRestored?: (file: FileMemoryItem, content: string) => void;
|
|
44
44
|
}) {
|
|
45
45
|
const { t } = useI18n();
|
|
46
46
|
if (!file) {
|
|
@@ -64,7 +64,7 @@ export function FileDetailsPanel({
|
|
|
64
64
|
<DetailRow
|
|
65
65
|
icon={<ListOrdered className="h-3.5 w-3.5" />}
|
|
66
66
|
label={t("memory.files.latestVersion")}
|
|
67
|
-
value={
|
|
67
|
+
value={file.latestVersionId}
|
|
68
68
|
/>
|
|
69
69
|
<DetailRow
|
|
70
70
|
icon={<Hash className="h-3.5 w-3.5" />}
|
|
@@ -7,7 +7,7 @@ import { Textarea } from "@/components/ui/textarea";
|
|
|
7
7
|
import { useI18n } from "@/i18n/i18n-context";
|
|
8
8
|
import { cn } from "@/lib/utils";
|
|
9
9
|
|
|
10
|
-
export const MAX_FILE_PATH_BYTES =
|
|
10
|
+
export const MAX_FILE_PATH_BYTES = 1024;
|
|
11
11
|
export const MAX_FILE_CONTENT_BYTES = 100 * 1024;
|
|
12
12
|
|
|
13
13
|
export type FilePathValidationError =
|
|
@@ -15,7 +15,7 @@ export type FilePathValidationError =
|
|
|
15
15
|
export type FileContentValidationError = "content-too-large";
|
|
16
16
|
|
|
17
17
|
export function normalizeFileMemoryPath(value: string): string {
|
|
18
|
-
const trimmed = value.trim();
|
|
18
|
+
const trimmed = value.trim().normalize("NFC");
|
|
19
19
|
return `/${trimmed.replace(/^\/+/, "")}`;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -24,7 +24,12 @@ export function validateFileMemoryPath(
|
|
|
24
24
|
): FilePathValidationError | null {
|
|
25
25
|
const path = normalizeFileMemoryPath(value);
|
|
26
26
|
if (path === "/") return "path-required";
|
|
27
|
-
|
|
27
|
+
const segments = path.slice(1).split("/");
|
|
28
|
+
if (
|
|
29
|
+
path.includes("\\") ||
|
|
30
|
+
path.includes("\0") ||
|
|
31
|
+
segments.some((segment) => !segment || segment === "." || segment === "..")
|
|
32
|
+
) {
|
|
28
33
|
return "path-traversal";
|
|
29
34
|
}
|
|
30
35
|
if (new TextEncoder().encode(path).byteLength > MAX_FILE_PATH_BYTES) {
|
|
@@ -122,7 +127,7 @@ export function FileEditor({
|
|
|
122
127
|
{conflict ? (
|
|
123
128
|
<div className="flex items-start gap-2 border-b border-amber-500/30 bg-amber-500/10 px-3 py-2 text-xs text-amber-800 dark:text-amber-200">
|
|
124
129
|
<AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0" />
|
|
125
|
-
<span>{t("memory.files.
|
|
130
|
+
<span>{t("memory.files.versionConflict")}</span>
|
|
126
131
|
</div>
|
|
127
132
|
) : null}
|
|
128
133
|
<Textarea
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import { useMemo, useState } from "react";
|
|
4
|
-
import { Clock3, Loader2, RotateCcw } from "lucide-react";
|
|
4
|
+
import { Clock3, Loader2, RotateCcw, ShieldOff } from "lucide-react";
|
|
5
5
|
import { toast } from "sonner";
|
|
6
6
|
|
|
7
7
|
import { Button } from "@/components/ui/button";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
useAddItem,
|
|
10
|
+
useItemVersion,
|
|
11
|
+
useItemVersions,
|
|
12
|
+
useRedactItemVersion,
|
|
13
|
+
useUpdateItem,
|
|
13
14
|
} from "@/hooks/use-file-memory";
|
|
14
15
|
import { useI18n } from "@/i18n/i18n-context";
|
|
15
16
|
import type {
|
|
16
|
-
|
|
17
|
+
FileMemoryItem,
|
|
18
|
+
FileMemoryItemVersion,
|
|
17
19
|
FileMemoryScope,
|
|
18
|
-
FileMemoryVersion,
|
|
19
20
|
} from "@/types/file-memory";
|
|
20
21
|
|
|
21
22
|
export function buildVersionRestoreRequest(
|
|
22
23
|
memoryStoreName: string,
|
|
23
24
|
scope: FileMemoryScope,
|
|
24
|
-
current:
|
|
25
|
-
version:
|
|
25
|
+
current: FileMemoryItem | undefined,
|
|
26
|
+
version: FileMemoryItemVersion,
|
|
26
27
|
) {
|
|
28
|
+
if (version.redacted) throw new Error("VERSION_REDACTED");
|
|
27
29
|
if (version.content === undefined) {
|
|
28
30
|
throw new Error("VERSION_CONTENT_UNAVAILABLE");
|
|
29
31
|
}
|
|
@@ -33,23 +35,35 @@ export function buildVersionRestoreRequest(
|
|
|
33
35
|
request: {
|
|
34
36
|
memoryStoreName,
|
|
35
37
|
scope,
|
|
36
|
-
|
|
38
|
+
itemId: current.itemId,
|
|
37
39
|
content: version.content,
|
|
38
|
-
|
|
40
|
+
precondition: { expectedVersionId: current.latestVersionId },
|
|
41
|
+
view: "full" as const,
|
|
39
42
|
},
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
return {
|
|
43
|
-
kind: "
|
|
46
|
+
kind: "add" as const,
|
|
44
47
|
request: {
|
|
45
48
|
memoryStoreName,
|
|
46
49
|
scope,
|
|
47
50
|
path: version.path,
|
|
48
51
|
content: version.content,
|
|
52
|
+
view: "full" as const,
|
|
49
53
|
},
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
|
|
57
|
+
function shortVersionId(versionId: string): string {
|
|
58
|
+
return versionId.length > 12
|
|
59
|
+
? `${versionId.slice(0, 6)}…${versionId.slice(-5)}`
|
|
60
|
+
: versionId;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function actorLabel(actor: FileMemoryItemVersion["redactedBy"]): string {
|
|
64
|
+
return actor ? `${actor.actorType}:${actor.actorId}` : "—";
|
|
65
|
+
}
|
|
66
|
+
|
|
53
67
|
export function FileVersionHistory({
|
|
54
68
|
memoryStoreName,
|
|
55
69
|
scope,
|
|
@@ -59,31 +73,26 @@ export function FileVersionHistory({
|
|
|
59
73
|
}: {
|
|
60
74
|
memoryStoreName: string;
|
|
61
75
|
scope: FileMemoryScope;
|
|
62
|
-
file:
|
|
76
|
+
file: FileMemoryItem;
|
|
63
77
|
readOnly: boolean;
|
|
64
|
-
onRestored?: (file:
|
|
78
|
+
onRestored?: (file: FileMemoryItem, content: string) => void;
|
|
65
79
|
}) {
|
|
66
80
|
const { t } = useI18n();
|
|
67
|
-
const [
|
|
68
|
-
|
|
69
|
-
seq: number;
|
|
70
|
-
} | null>(null);
|
|
71
|
-
const versionsQuery = useFileMemoryVersions(
|
|
72
|
-
memoryStoreName,
|
|
73
|
-
scope,
|
|
74
|
-
file.memoryId,
|
|
75
|
-
file.path,
|
|
76
|
-
{ limit: 50 },
|
|
81
|
+
const [selectedVersionId, setSelectedVersionId] = useState<string | null>(
|
|
82
|
+
null,
|
|
77
83
|
);
|
|
78
|
-
const
|
|
84
|
+
const versionsQuery = useItemVersions(memoryStoreName, scope, file.itemId, {
|
|
85
|
+
view: "basic",
|
|
86
|
+
limit: 50,
|
|
87
|
+
});
|
|
88
|
+
const versionQuery = useItemVersion(
|
|
79
89
|
memoryStoreName,
|
|
80
90
|
scope,
|
|
81
|
-
|
|
82
|
-
selected?.id,
|
|
83
|
-
selected?.seq,
|
|
91
|
+
selectedVersionId ?? undefined,
|
|
84
92
|
);
|
|
85
|
-
const
|
|
86
|
-
const updateMutation =
|
|
93
|
+
const addMutation = useAddItem();
|
|
94
|
+
const updateMutation = useUpdateItem();
|
|
95
|
+
const redactMutation = useRedactItemVersion();
|
|
87
96
|
|
|
88
97
|
const versions = useMemo(
|
|
89
98
|
() => versionsQuery.data?.pages.flatMap((page) => page.versions) ?? [],
|
|
@@ -102,7 +111,7 @@ export function FileVersionHistory({
|
|
|
102
111
|
const restored =
|
|
103
112
|
operation.kind === "update"
|
|
104
113
|
? await updateMutation.mutateAsync(operation.request)
|
|
105
|
-
: await
|
|
114
|
+
: await addMutation.mutateAsync(operation.request);
|
|
106
115
|
onRestored?.(restored, versionQuery.data.content ?? "");
|
|
107
116
|
toast.success(t("memory.files.restoreSuccess"));
|
|
108
117
|
} catch (error) {
|
|
@@ -114,6 +123,25 @@ export function FileVersionHistory({
|
|
|
114
123
|
}
|
|
115
124
|
}
|
|
116
125
|
|
|
126
|
+
async function redact() {
|
|
127
|
+
const version = versionQuery.data;
|
|
128
|
+
if (!version || version.redacted) return;
|
|
129
|
+
if (!window.confirm(t("memory.files.redactConfirm"))) return;
|
|
130
|
+
try {
|
|
131
|
+
await redactMutation.mutateAsync({
|
|
132
|
+
memoryStoreName,
|
|
133
|
+
scope,
|
|
134
|
+
versionId: version.versionId,
|
|
135
|
+
});
|
|
136
|
+
await versionQuery.refetch();
|
|
137
|
+
toast.success(t("memory.files.redactSuccess"));
|
|
138
|
+
} catch (error) {
|
|
139
|
+
toast.error(
|
|
140
|
+
error instanceof Error ? error.message : t("memory.files.redactFailed"),
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
117
145
|
if (readOnly) return null;
|
|
118
146
|
|
|
119
147
|
return (
|
|
@@ -147,19 +175,15 @@ export function FileVersionHistory({
|
|
|
147
175
|
{versions.map((version) => (
|
|
148
176
|
<button
|
|
149
177
|
type="button"
|
|
150
|
-
key={
|
|
151
|
-
onClick={() =>
|
|
152
|
-
setSelected({
|
|
153
|
-
id: version.memoryVersionId,
|
|
154
|
-
seq: version.versionSeq,
|
|
155
|
-
})
|
|
156
|
-
}
|
|
178
|
+
key={version.versionId}
|
|
179
|
+
onClick={() => setSelectedVersionId(version.versionId)}
|
|
157
180
|
className="flex w-full items-center justify-between rounded-md border border-transparent px-2 py-1.5 text-left text-xs hover:border-[hsl(var(--border))] hover:bg-[hsl(var(--accent))]"
|
|
158
181
|
>
|
|
159
|
-
<span>
|
|
160
|
-
|
|
182
|
+
<span className="truncate">
|
|
183
|
+
{version.operation} · {shortVersionId(version.versionId)}
|
|
184
|
+
{version.redacted ? ` · ${t("memory.files.redacted")}` : ""}
|
|
161
185
|
</span>
|
|
162
|
-
<span className="text-[10px] text-muted-foreground">
|
|
186
|
+
<span className="shrink-0 text-[10px] text-muted-foreground">
|
|
163
187
|
{new Date(version.createdAt).toLocaleString()}
|
|
164
188
|
</span>
|
|
165
189
|
</button>
|
|
@@ -167,7 +191,7 @@ export function FileVersionHistory({
|
|
|
167
191
|
</div>
|
|
168
192
|
)}
|
|
169
193
|
|
|
170
|
-
{
|
|
194
|
+
{selectedVersionId ? (
|
|
171
195
|
<div className="mt-3 rounded-md border border-[hsl(var(--border))] bg-[hsl(var(--muted)/0.25)] p-2">
|
|
172
196
|
{versionQuery.isLoading ? (
|
|
173
197
|
<Loader2 className="h-4 w-4 animate-spin text-muted-foreground" />
|
|
@@ -177,21 +201,47 @@ export function FileVersionHistory({
|
|
|
177
201
|
{versionQuery.data.content ??
|
|
178
202
|
t("memory.files.contentUnavailable")}
|
|
179
203
|
</pre>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
204
|
+
{versionQuery.data.redacted ? (
|
|
205
|
+
<p className="mt-2 text-[10px] text-muted-foreground">
|
|
206
|
+
{t("memory.files.redactedDetails", {
|
|
207
|
+
at: versionQuery.data.redactedAt
|
|
208
|
+
? new Date(versionQuery.data.redactedAt).toLocaleString()
|
|
209
|
+
: "—",
|
|
210
|
+
actor: actorLabel(versionQuery.data.redactedBy),
|
|
211
|
+
})}
|
|
212
|
+
</p>
|
|
213
|
+
) : null}
|
|
214
|
+
<div className="mt-2 grid grid-cols-2 gap-2">
|
|
215
|
+
<Button
|
|
216
|
+
type="button"
|
|
217
|
+
size="sm"
|
|
218
|
+
variant="outline"
|
|
219
|
+
disabled={
|
|
220
|
+
versionQuery.data.redacted === true ||
|
|
221
|
+
versionQuery.data.content === undefined ||
|
|
222
|
+
updateMutation.isPending ||
|
|
223
|
+
addMutation.isPending
|
|
224
|
+
}
|
|
225
|
+
onClick={() => void restore()}
|
|
226
|
+
>
|
|
227
|
+
<RotateCcw />
|
|
228
|
+
{t("memory.files.restoreVersion")}
|
|
229
|
+
</Button>
|
|
230
|
+
<Button
|
|
231
|
+
type="button"
|
|
232
|
+
size="sm"
|
|
233
|
+
variant="outline"
|
|
234
|
+
className="text-[hsl(var(--destructive))]"
|
|
235
|
+
disabled={
|
|
236
|
+
versionQuery.data.redacted === true ||
|
|
237
|
+
redactMutation.isPending
|
|
238
|
+
}
|
|
239
|
+
onClick={() => void redact()}
|
|
240
|
+
>
|
|
241
|
+
<ShieldOff />
|
|
242
|
+
{t("memory.files.redactVersion")}
|
|
243
|
+
</Button>
|
|
244
|
+
</div>
|
|
195
245
|
</>
|
|
196
246
|
) : null}
|
|
197
247
|
</div>
|