@tablestore/tablestore-agent-cli 0.2.1 → 0.2.4
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/kb/create.d.ts.map +1 -1
- package/dist/commands/kb/create.js +9 -0
- package/dist/commands/kb/create.js.map +1 -1
- package/dist/commands/kb/retrieve.d.ts.map +1 -1
- package/dist/commands/kb/retrieve.js +40 -3
- package/dist/commands/kb/retrieve.js.map +1 -1
- package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
- package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +5 -5
- package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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]/messages/page/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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]/units/page/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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/page/build-manifest.json +2 -2
- 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/build-manifest.json +2 -2
- 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 +14 -14
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
- 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 +10 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- 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/auth/status/route.js.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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.nft.json +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]/messages/route.js.nft.json +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.nft.json +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]/units/[memoryId]/route.js.nft.json +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.nft.json +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.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 +14 -14
- 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 +14 -14
- 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 +10 -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/build-manifest.json +2 -2
- 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 +17 -17
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +17 -17
- 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 +10 -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/build-manifest.json +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +9 -6
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02p1x3t._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0fglxiw._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0lvi0g-._.js +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0q8vcw8._.js +1 -1
- 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/[root-of-the-server]__08faq-z._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0c94d.y._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0jb9ccl._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__13ylf4x._.js → [root-of-the-server]__0lgg04c._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__10rkv6z._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01-2v37._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01ag-vl._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_09yzbcp._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0atzifq._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f4u0.1._.js +1 -1
- 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 +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0j-q~ro._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jghj2_._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jlyg05._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0n4gd_6._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_0l~-9i0._.js → _0tdjkbc._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tej2s.._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_10u~-xc._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_12r9c8h._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0.glq39._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_00ofp7q._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_05.qn9h._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0xf3ffa._.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)_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]_settings_page_tsx_0y26.xu._.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_components_0ls1exu._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_0ugdjlb._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +5 -5
- 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/00wmf85833643.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/02tj1_rhgobzv.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0mea2ylxe.umh.js → 02zf3qddfaw~u.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/039i70t10axdd.css +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/04bfame9rk.3d.js +5 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07rwb_uq9qcx4.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07ygw8215kyvc.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0b5hr027rat4w.js +138 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0__g1ogrdh412.js → 0bkm-5yza5~d2.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0lrw.bnws62y9.js → 0d7d.b.v9noym.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0cto67_iw~p9z.js → 0fdofp-3kkc4g.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0i8hdbek9j-fu.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ioivx4pbmayb.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j-v5f_oscvfu.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0lp2g_27uyhuz.js → 0je7fmsrz2vok.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jukioxtp1mn3.js +138 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0klidr2i6cd.g.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k~bkh1586r2i.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nakvv2p1kjnf.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0t5vdnq4s.2yv.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0un~rqes29pcr.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0v.u57bsjppd_.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0fagnytrt.3oe.js → 0veza1g0elxa7.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0x3w~yxvm1xsq.js +4 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0x5gol39unrgb.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/12s59v_sk0q-z.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{06uuhz24tvdt..js → 14~eqof4660i3.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/16y3764x-fh1n.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/17mcnyr~1j7ih.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{turbopack-0w.hw6u8qra5z.js → turbopack-0~gu0g2v-1f11.js} +1 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/page.tsx +5 -0
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/documents/documents-client.tsx +4 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/layout-client.tsx +62 -26
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/page.tsx +8 -4
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/page.tsx +6 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/request-detail-dialog.tsx +9 -9
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/requests-table.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/search/page.tsx +5 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/settings/page.tsx +56 -17
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/units/page.tsx +11 -7
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/create/page.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/page.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.ts +67 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-helpers.ts +45 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/route.ts +334 -16
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/logs/client/route.ts +13 -0
- package/dist/dashboard-runtime/dashboard/src/app/api/v1/oss/list/route.ts +1 -0
- package/dist/dashboard-runtime/dashboard/src/app/globals.css +23 -0
- package/dist/dashboard-runtime/dashboard/src/components/chat/chat-config-context.tsx +116 -19
- package/dist/dashboard-runtime/dashboard/src/components/chat/chat-mount-config.tsx +5 -0
- package/dist/dashboard-runtime/dashboard/src/components/chat/memory-bind-section.tsx +372 -0
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-retrieval-dialog.tsx +360 -0
- package/dist/dashboard-runtime/dashboard/src/components/chat/mount-row.tsx +49 -5
- package/dist/dashboard-runtime/dashboard/src/components/chat/unified-retrieval-section.tsx +61 -26
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-chunks-dialog.tsx +72 -20
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-detail-panel.tsx +578 -76
- package/dist/dashboard-runtime/dashboard/src/components/documents/doc-upload-dialog.tsx +9 -81
- package/dist/dashboard-runtime/dashboard/src/components/documents/oss-browser.tsx +42 -26
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +5 -0
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/embedding-config-form.tsx +16 -2
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-card.tsx +37 -24
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-create-form.tsx +173 -86
- package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-settings-form.tsx +319 -280
- package/dist/dashboard-runtime/dashboard/src/components/layout/detail-sidebar.tsx +47 -18
- package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-add-dialog.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-create-form.tsx +84 -56
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-edit-dialog.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-messages-table.tsx +3 -3
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-requests-table.tsx +12 -12
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +20 -11
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-form.tsx +7 -7
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-results.tsx +6 -6
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-settings-form.tsx +90 -21
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-card.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-list.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-detail-panel.tsx +4 -4
- package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-table.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +216 -5
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-form.tsx +241 -24
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-rerank-fields.tsx +1 -0
- package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-result-card.tsx +52 -4
- package/dist/dashboard-runtime/dashboard/src/components/shared/metadata-field-input.tsx +54 -0
- package/dist/dashboard-runtime/dashboard/src/components/shared/status-badge.tsx +10 -5
- package/dist/dashboard-runtime/dashboard/src/components/ui/nav-tab-bar.tsx +1 -1
- package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-history.ts +60 -5
- package/dist/dashboard-runtime/dashboard/src/hooks/use-document.ts +29 -0
- package/dist/dashboard-runtime/dashboard/src/hooks/use-oss-list.ts +7 -5
- package/dist/dashboard-runtime/dashboard/src/hooks/use-qa-chat.ts +65 -11
- package/dist/dashboard-runtime/dashboard/src/hooks/use-update-document.ts +15 -0
- package/dist/dashboard-runtime/dashboard/src/lib/api-error-toast.ts +62 -0
- package/dist/dashboard-runtime/dashboard/src/lib/constants.ts +8 -0
- package/dist/dashboard-runtime/dashboard/src/lib/metadata-form.ts +88 -0
- package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +14 -0
- package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +18 -5
- package/dist/dashboard-runtime/dashboard/src/lib/server/llm-client.ts +19 -1
- package/dist/dashboard-runtime/dashboard/src/lib/server/oss-client.ts +45 -16
- package/dist/dashboard-runtime/dashboard/src/schemas/knowledge-base.ts +6 -0
- package/dist/dashboard-runtime/dashboard/src/schemas/llm-chat.ts +20 -0
- package/dist/dashboard-runtime/dashboard/src/schemas/retrieval.ts +46 -27
- package/dist/dashboard-runtime/dashboard/src/services/api-client.ts +31 -2
- package/dist/dashboard-runtime/dashboard/src/services/documents.ts +36 -3
- package/dist/dashboard-runtime/dashboard/src/types/knowledge-base.ts +10 -0
- package/dist/dashboard-runtime/dashboard/src/types/llm-chat.ts +33 -0
- package/dist/dashboard-runtime/dashboard/src/types/retrieval.ts +9 -4
- package/dist/dashboard-runtime/dashboard/tailwind.config.ts +4 -0
- package/dist/dashboard-runtime/dashboard/vitest.config.mjs +5 -2
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -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 +4 -0
- 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/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js +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 +21 -5
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -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 +4 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.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/logging.js +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 +21 -5
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
- package/dist/utils/read-image-input.d.ts +47 -0
- package/dist/utils/read-image-input.d.ts.map +1 -0
- package/dist/utils/read-image-input.js +89 -0
- package/dist/utils/read-image-input.js.map +1 -0
- package/package.json +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0aqzu8w._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0hozzu6._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0kd7szs._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tr8-3u._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xzh5yw._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_12~3vfk._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13_lb.o._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0ejgygh._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_ui_0-tuf-h._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/00tz~p479bdgl.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/02i9olo-312mq.js +0 -138
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/062k9jbtd9.lv.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/069zf4m5f.se2.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/07cp19da_kfld.js +0 -5
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/086esp1n941jl.js +0 -138
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/09uxq~55qug8c.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0d29.l~3ip181.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ewpzgu_qf0wf.js +0 -4
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jc31diex030o.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k79upjc40aky.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0snnsfosp3~gq.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0t0yqi68~eil6.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0th7u6qvdy3x2.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0tmwptel_4y0o.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u6_s-0w8.yr..js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u9wtl06_b72x.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0v9d5wl9nsva3.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~kfzxrhgbkaz.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/14.dp0-y_mhjo.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/15bzqpm440jvz.js +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/static/{doYIl-pd6Sqax3bfUgN3q → EIbKHHti0Z1ephKfJzCKH}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{doYIl-pd6Sqax3bfUgN3q → EIbKHHti0Z1ephKfJzCKH}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{doYIl-pd6Sqax3bfUgN3q → EIbKHHti0Z1ephKfJzCKH}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":2063,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js":{"id":2063,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":59666,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":59666,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":87919,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js":{"id":87919,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":67206,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js":{"id":67206,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":45990,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":45990,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":35582,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35582,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":19772,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":19772,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/providers/theme-provider.tsx <module evaluation>":{"id":12278,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/providers/theme-provider.tsx":{"id":12278,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/providers/query-provider.tsx <module evaluation>":{"id":85290,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/providers/query-provider.tsx":{"id":85290,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/components/logging/client-error-reporter.tsx <module evaluation>":{"id":33362,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/components/logging/client-error-reporter.tsx":{"id":33362,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":87014,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":87014,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/dashboard/src/app/error.tsx <module evaluation>":{"id":10445,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js","/_next/static/chunks/0h77.bqx5ltem.js"],"async":false},"[project]/dashboard/src/app/error.tsx":{"id":10445,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js","/_next/static/chunks/0h77.bqx5ltem.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/app-dir/link.js <module evaluation>":{"id":70978,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js","/_next/static/chunks/012a-3vjn5o5i.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/app-dir/link.js":{"id":70978,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js","/_next/static/chunks/012a-3vjn5o5i.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":14743,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js":{"id":14743,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/09uxq~55qug8c.js"],"async":false}},"ssrModuleMapping":{"2063":{"*":{"id":569,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"59666":{"*":{"id":92096,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"87919":{"*":{"id":10705,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"67206":{"*":{"id":73597,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"45990":{"*":{"id":51102,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"35582":{"*":{"id":42369,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"19772":{"*":{"id":2990,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"12278":{"*":{"id":66157,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"85290":{"*":{"id":45330,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"33362":{"*":{"id":23834,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"87014":{"*":{"id":63265,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"10445":{"*":{"id":97703,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/dashboard_src_app_error_tsx_01x7ppm._.js"],"async":false}},"70978":{"*":{"id":12583,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/0p91_next_dist_shared_lib_deployment-id_0uu7yq4.js","server/chunks/ssr/0p91_next_dist_0dpxlzh._.js"],"async":false}},"14743":{"*":{"id":33695,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/node_modules__pnpm_0z5l~h-._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"2063":{"*":{"id":98685,"name":"*","chunks":[],"async":false}},"59666":{"*":{"id":95703,"name":"*","chunks":[],"async":false}},"87919":{"*":{"id":8475,"name":"*","chunks":[],"async":false}},"67206":{"*":{"id":1451,"name":"*","chunks":[],"async":false}},"45990":{"*":{"id":10941,"name":"*","chunks":[],"async":false}},"35582":{"*":{"id":35288,"name":"*","chunks":[],"async":false}},"19772":{"*":{"id":85836,"name":"*","chunks":[],"async":false}},"12278":{"*":{"id":33275,"name":"*","chunks":[],"async":false}},"85290":{"*":{"id":75976,"name":"*","chunks":[],"async":false}},"33362":{"*":{"id":52779,"name":"*","chunks":[],"async":false}},"87014":{"*":{"id":8023,"name":"*","chunks":[],"async":false}},"10445":{"*":{"id":91173,"name":"*","chunks":[],"async":false}},"70978":{"*":{"id":43732,"name":"*","chunks":[],"async":false}},"14743":{"*":{"id":16138,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/dashboard/src/app/layout":[{"path":"static/chunks/0k79upjc40aky.css","inlined":false}],"[project]/dashboard/src/app/error":[{"path":"static/chunks/0k79upjc40aky.css","inlined":false}],"[project]/dashboard/src/app/not-found":[{"path":"static/chunks/0k79upjc40aky.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0k79upjc40aky.css","inlined":false}]},"entryJSFiles":{"[project]/dashboard/src/app/layout":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/09uxq~55qug8c.js"],"[project]/dashboard/src/app/error":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/09uxq~55qug8c.js","static/chunks/0h77.bqx5ltem.js"],"[project]/dashboard/src/app/not-found":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/09uxq~55qug8c.js","static/chunks/012a-3vjn5o5i.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/09uxq~55qug8c.js"]}};
|
|
2
|
+
globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":2063,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js":{"id":2063,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":59666,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":59666,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":87919,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js":{"id":87919,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":67206,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js":{"id":67206,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":45990,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":45990,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":35582,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35582,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":19772,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":19772,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/providers/theme-provider.tsx <module evaluation>":{"id":12278,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/providers/theme-provider.tsx":{"id":12278,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/providers/query-provider.tsx <module evaluation>":{"id":85290,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/providers/query-provider.tsx":{"id":85290,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/components/logging/client-error-reporter.tsx <module evaluation>":{"id":33362,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/components/logging/client-error-reporter.tsx":{"id":33362,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":87014,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":87014,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/dashboard/src/app/error.tsx <module evaluation>":{"id":10445,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js","/_next/static/chunks/0h77.bqx5ltem.js"],"async":false},"[project]/dashboard/src/app/error.tsx":{"id":10445,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js","/_next/static/chunks/0h77.bqx5ltem.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/app-dir/link.js <module evaluation>":{"id":70978,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js","/_next/static/chunks/012a-3vjn5o5i.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/app-dir/link.js":{"id":70978,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js","/_next/static/chunks/012a-3vjn5o5i.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":14743,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js":{"id":14743,"name":"*","chunks":["/_next/static/chunks/0-f9tslgpp-.h.js","/_next/static/chunks/0chbhht0ghzv_.js","/_next/static/chunks/07rwb_uq9qcx4.js"],"async":false}},"ssrModuleMapping":{"2063":{"*":{"id":569,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"59666":{"*":{"id":92096,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"87919":{"*":{"id":10705,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"67206":{"*":{"id":73597,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"45990":{"*":{"id":51102,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"35582":{"*":{"id":42369,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"19772":{"*":{"id":2990,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"12278":{"*":{"id":66157,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"85290":{"*":{"id":45330,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"33362":{"*":{"id":23834,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"87014":{"*":{"id":63265,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js"],"async":false}},"10445":{"*":{"id":97703,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/dashboard_src_app_error_tsx_01x7ppm._.js"],"async":false}},"70978":{"*":{"id":12583,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/0p91_next_dist_shared_lib_deployment-id_0uu7yq4.js","server/chunks/ssr/0p91_next_dist_0dpxlzh._.js"],"async":false}},"14743":{"*":{"id":33695,"name":"*","chunks":["server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js","server/chunks/ssr/[root-of-the-server]__10rkv6z._.js","server/chunks/ssr/node_modules__pnpm_00arje5._.js","server/chunks/ssr/0p91_next_dist_0pu5y_b._.js","server/chunks/ssr/_09yzbcp._.js","server/chunks/ssr/node_modules__pnpm_0z5l~h-._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"2063":{"*":{"id":98685,"name":"*","chunks":[],"async":false}},"59666":{"*":{"id":95703,"name":"*","chunks":[],"async":false}},"87919":{"*":{"id":8475,"name":"*","chunks":[],"async":false}},"67206":{"*":{"id":1451,"name":"*","chunks":[],"async":false}},"45990":{"*":{"id":10941,"name":"*","chunks":[],"async":false}},"35582":{"*":{"id":35288,"name":"*","chunks":[],"async":false}},"19772":{"*":{"id":85836,"name":"*","chunks":[],"async":false}},"12278":{"*":{"id":33275,"name":"*","chunks":[],"async":false}},"85290":{"*":{"id":75976,"name":"*","chunks":[],"async":false}},"33362":{"*":{"id":52779,"name":"*","chunks":[],"async":false}},"87014":{"*":{"id":8023,"name":"*","chunks":[],"async":false}},"10445":{"*":{"id":91173,"name":"*","chunks":[],"async":false}},"70978":{"*":{"id":43732,"name":"*","chunks":[],"async":false}},"14743":{"*":{"id":16138,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/dashboard/src/app/layout":[{"path":"static/chunks/039i70t10axdd.css","inlined":false}],"[project]/dashboard/src/app/error":[{"path":"static/chunks/039i70t10axdd.css","inlined":false}],"[project]/dashboard/src/app/not-found":[{"path":"static/chunks/039i70t10axdd.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/039i70t10axdd.css","inlined":false}]},"entryJSFiles":{"[project]/dashboard/src/app/layout":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/07rwb_uq9qcx4.js"],"[project]/dashboard/src/app/error":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/07rwb_uq9qcx4.js","static/chunks/0h77.bqx5ltem.js"],"[project]/dashboard/src/app/not-found":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/07rwb_uq9qcx4.js","static/chunks/012a-3vjn5o5i.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0-f9tslgpp-.h.js","static/chunks/0chbhht0ghzv_.js","static/chunks/07rwb_uq9qcx4.js"]}};
|
|
3
3
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
module.exports=[43956,e=>{"use strict";var t=e.i(64564),
|
|
1
|
+
module.exports=[43956,e=>{"use strict";var t=e.i(64564),r=e.i(2095),a=e.i(91091),n=e.i(75331),o=e.i(90301),s=e.i(70943),i=e.i(90324),l=e.i(43133),c=e.i(4870),u=e.i(20180),d=e.i(58370),m=e.i(36708),p=e.i(82278),g=e.i(57569),h=e.i(44146),f=e.i(93695);e.i(5888);var y=e.i(30564),v=e.i(39923),w=e.i(51786);async function R(e,t,r,a,n){let o=[{role:"system",content:"你是一个检索 query 重写助手。根据对话历史,将用户最后一轮提问改写成一个完整、自包含、不依赖上下文的检索问题,用于向量检索知识库。\n规则:\n1. 如果最后一轮提问已经足够独立(例如包含完整实体和动作),直接原样返回。\n2. 如果提问依赖上下文(如「它」「那个」「怎么做」「Java 呢」),请结合历史补全成完整问题。\n3. 只输出重写后的 query 本身,不要解释、不要加引号、不要编号、不要换行。\n4. 不要回答用户的问题,不要生成多条,只输出一句话。"},...r.slice(-6).map(e=>({role:e.role,content:e.content})),{role:"user",content:`请将下面这条用户提问改写为独立检索 query:
|
|
2
2
|
<<<
|
|
3
|
-
${
|
|
4
|
-
>>>`}],s=new AbortController,i=setTimeout(()=>s.abort(),1e4),l=()=>s.abort();n?.addEventListener("abort",l,{once:!0});try{let
|
|
3
|
+
${a}
|
|
4
|
+
>>>`}],s=new AbortController,i=setTimeout(()=>s.abort(),1e4),l=()=>s.abort();n?.addEventListener("abort",l,{once:!0});try{let r=await fetch(`${e.baseUrl}/chat/completions`,{method:"POST",headers:{Authorization:`Bearer ${e.apiKey}`,"Content-Type":"application/json"},body:JSON.stringify({model:t,messages:o,stream:!1,temperature:0,max_tokens:256,enable_thinking:!1}),signal:s.signal});if(!r.ok){let e=await r.text().catch(()=>"");throw Error(`rewrite ${r.status}: ${e.slice(0,200)||r.statusText}`)}let a=await r.json(),n=a.choices?.[0]?.message?.content?.trim();if(!n)throw Error("empty rewrite output");let i=(n.split("\n").map(e=>e.trim()).find(Boolean)??"").replace(/^[「"'『`]+|[」"'』`]+$/g,"").slice(0,200);if(!i)throw Error("rewrite output normalized to empty");return i}finally{clearTimeout(i),n?.removeEventListener("abort",l)}}var E=e.i(4603),C=e.i(64004);function b(e,t){return void 0===t||((0,C.getActiveInstanceContext)(e).instanceName??null)===t?{ok:!0}:{ok:!1,message:"Project context changed. Refresh the dashboard and start the chat again."}}e.i(60751);var S=e.i(21222),k=e.i(469);let N=k.z.enum(["user","assistant","system"]),x=k.z.object({role:N,content:k.z.string()}),I=k.z.object({knowledgeBaseName:k.z.string().min(1),subspace:k.z.array(k.z.string()).optional(),retrievalConfiguration:k.z.record(k.z.unknown()).optional(),topK:k.z.number().int().min(0).max(100).optional()}),T=k.z.object({knowledgeBases:k.z.array(I).min(1),topK:k.z.number().int().min(1).max(200).optional()}),A=k.z.string().min(1).refine(e=>"*"!==e,{message:"wildcard '*' is not allowed on the wire; the server applies it"}),_=k.z.object({memoryStoreName:k.z.string().min(1),scope:k.z.object({appId:A,tenantId:A,agentId:A,runId:A}),topK:k.z.number().int().min(1).max(50).optional(),autoSave:k.z.boolean().optional(),turnId:k.z.string().min(1).optional()}),O=k.z.object({activeInstance:k.z.string().min(1).nullable().optional(),providerId:k.z.string().min(1),model:k.z.string().min(1),messages:k.z.array(x).min(1),systemPrompt:k.z.string().max(8e3).optional(),temperature:k.z.number().min(0).max(2).optional(),rag:T.optional(),memory:_.optional()}),$=(0,S.createLogger)("dashboard.api.llm");function P(e){return e.chunkType?.toUpperCase()==="IMAGE"}let z=new Map;async function q(e){(0,E.ensureApiLogContext)(e);let t=await e.json().catch(()=>null),r=O.safeParse(t);if(!r.success)return M(400,"VALIDATION_ERROR",r.error.issues.map(e=>`${e.path.join(".")}: ${e.message}`).join("; "));let a=r.data,n=null!==t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"activeInstance"),o=[...a.messages].reverse().find(e=>"user"===e.role);if(!o)return M(400,"VALIDATION_ERROR","messages must contain at least one user turn");let s=await (0,w.getProviderWithSecret)(a.providerId).catch(()=>null);if(!s)return M(404,"NOT_FOUND",`Provider ${a.providerId} not found or cannot be decrypted`);let i=null;if(a.rag){let t=b(e,n?a.activeInstance??null:void 0);if(!t.ok)return M(409,"PROJECT_CONTEXT_CHANGED",t.message);if(!(i=await U(e)).ok)return M(i.status,i.code,i.message)}let l=null;if(a.memory){if(!a.rag){let t=b(e,n?a.activeInstance??null:void 0);if(!t.ok)return M(409,"PROJECT_CONTEXT_CHANGED",t.message)}if(!(l=await j(e)).ok)return M(l.status,l.code,l.message)}let c=new AbortController,u=()=>{try{c.abort()}catch{}};e.signal.addEventListener("abort",u,{once:!0});let d=new ReadableStream({async start(t){let r=new TextEncoder,n=Date.now(),d=(0,E.getApiLogContext)(),m=e=>{t.enqueue(r.encode(`data: ${JSON.stringify(e)}
|
|
5
5
|
|
|
6
|
-
`))},p=!1,
|
|
6
|
+
`))},p=!1,g=()=>{if(!p){p=!0;try{t.close()}catch{}e.signal.removeEventListener("abort",u)}};try{let e=[],t=[],r=o.content;if(a.rag&&i?.ok){let n=a.messages.filter(e=>"system"!==e.role),l=n.length>=2,u=o.content;if(l)try{let e=n.slice(0,-1),t=await R(s,a.model,e,o.content,c.signal);t&&t!==o.content&&(u=t)}catch(e){m({type:"query.fallback",original:o.content,reason:e instanceof Error?e.message:String(e)})}m({type:"query.rewritten",query:u,original:o.content}),r=u,m({type:"retrieval.start"});let{aggregated:d,groups:p}=await D(i.client,a.rag.knowledgeBases,u,a.rag.topK??20);e=d,t=p,m({type:"retrieval.done",chunks:d,byKnowledgeBase:p})}let u=[];if(a.memory&&l?.ok){var h;let t=e.length>0?r:o.content;m({type:"memory.start",query:t});let n={appId:(h=a.memory.scope).appId,tenantId:h.tenantId,agentId:"*",runId:"*"};try{let e=await l.client.searchMemories({memoryStoreName:a.memory.memoryStoreName,scope:n,query:t,topK:a.memory.topK??5});if("SUCCESS"===e.code){let t=e.data;u=t?.results??[]}else $.warn({event:"api.memory.search_failed",message:e.message??"searchMemories returned non-SUCCESS",details:{code:e.code}})}catch(e){$.warn({event:"api.memory.search_exception",message:e instanceof Error?e.message:String(e),error:e})}m({type:"memory.done",hits:u})}let f=B(a.systemPrompt??"",e,t,function(e){if(!e.length)return"";let t=e.map(e=>{let t=e.unit.memcell_id,r=e.unit.text??"";return t?`- (${t}) ${r}`:`- ${r}`});return`
|
|
7
7
|
|
|
8
|
-
${
|
|
9
|
-
${
|
|
8
|
+
相关历史记忆(共 ${e.length} 条):
|
|
9
|
+
${t.join("\n")}`}(u),a.messages),y=(await (0,v.chatCompletionStream)(s,{model:a.model,messages:f,temperature:a.temperature,signal:c.signal})).getReader(),w="";for(;;){let{value:e,done:t}=await y.read();if(t||("content.delta"===e.type&&(w+=e.delta),m(e),"done"===e.type||"error"===e.type))break}if(a.memory&&l?.ok&&!1!==a.memory.autoSave&&w.length>0&&!function(e){if(!e)return!1;let t=Date.now();for(let[e,r]of z)r<=t&&z.delete(e);return!!z.has(e)||(z.set(e,t+6e5),!1)}(a.memory.turnId)){let e=a.memory.scope,t=a.memory.memoryStoreName,r=o.content,n=w,s=l.client;(async()=>{try{let a=await s.addMemories({memoryStoreName:t,scope:e,messages:[{role:"user",content:r},{role:"assistant",content:n}],sync:!1});"SUCCESS"!==a.code&&(p||m({type:"memory.save.skipped",reason:a.message??`addMemories returned ${a.code}`}),$.warn({event:"api.memory.save_failed",message:a.message??"addMemories returned non-SUCCESS",details:{code:a.code}}))}catch(e){p||m({type:"memory.save.skipped",reason:e instanceof Error?e.message:String(e)}),$.warn({event:"api.memory.save_exception",message:e instanceof Error?e.message:String(e),error:e})}})()}$.info({event:"api.stream_response",message:"LLM chat stream completed",dashboardSessionId:d?.dashboardSessionId,traceId:d?.traceId,durationMs:Date.now()-n,details:{path:d?.path,status:200,code:"SUCCESS",ragEnabled:!!a.rag,memoryEnabled:!!a.memory}}),g()}catch(e){$.error({event:"api.stream_error",message:e instanceof Error?e.message:String(e),dashboardSessionId:d?.dashboardSessionId,traceId:d?.traceId,durationMs:Date.now()-n,error:e,details:{path:d?.path,code:"INTERNAL_SERVER_ERROR",ragEnabled:!!a.rag,memoryEnabled:!!a.memory}}),m({type:"error",code:"INTERNAL_SERVER_ERROR",message:e instanceof Error?e.message:String(e)}),g()}},cancel(){u()}});return new Response(d,{status:200,headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-cache, no-transform",Connection:"keep-alive","X-Accel-Buffering":"no"}})}function M(e,t,r){return(0,E.errorResponse)(t,r,e)}async function U(e){let t=(0,E.requireClients)(e);if(t instanceof Response){let e=await t.json().catch(()=>null);return{ok:!1,status:t.status,code:e?.code??"UNAUTHORIZED",message:e?.message??"Failed to resolve credentials"}}return{ok:!0,client:t.kb}}async function j(e){let t=(0,E.requireClients)(e);if(t instanceof Response){let e=await t.json().catch(()=>null);return{ok:!1,status:t.status,code:e?.code??"UNAUTHORIZED",message:e?.message??"Failed to resolve credentials"}}return{ok:!0,client:t.memory}}function B(e,t,r,a,n){var o;let s,i=e.trim()||(o={hasRag:t.length>0,hasMemory:a.length>0},s=["你是一个智能助手,请基于下方提供的上下文(如有)回答用户的问题。"],o.hasRag&&s.push("下方会给出从知识库检索出的「检索结果」,请优先参考其中内容回答;若检索结果未涵盖相关信息,请如实说明知识库中未找到,不要编造。引用时可在末尾用 `[1]` `[2]` 等编号标注来源。"),o.hasMemory&&s.push("下方还会给出「相关历史记忆」,记录了你与该用户/场景过往的对话沉淀。请将这些记忆作为已知的用户偏好或上下文自然融入回答;无需显式引用编号,也不要因为某条记忆未涉及就拒绝回答。"),s.join("\n\n")),l=r.filter(e=>!e.error).length,c=l>1?`检索结果(共 ${t.length} 条,来自 ${l} 个知识库):`:`检索结果(共 ${t.length} 条):`,u=n.filter(e=>"system"!==e.role),d=u.length>20?u.slice(-20):u,m=[];t.forEach((e,t)=>{P(e)&&e.imageBase64&&(m.push({type:"text",text:`[检索图片 ${t+1}]:`}),m.push({type:"image_url",image_url:{url:e.imageBase64}}))});let p={role:"system",content:i+(t.length?`
|
|
10
|
+
|
|
11
|
+
${c}
|
|
12
|
+
${t.map((e,t)=>{var r;let a=e.knowledgeBaseName?` (${e.knowledgeBaseName})`:"",n=(r=e.content||(P(e)?"(图片)":"")).length<=1200?r:`${r.slice(0,1200)}…`;return`[${t+1}]${a} ${n}`}).join("\n\n")}`:"")+a};if(0===m.length)return[p,...d];let g=[p],h={role:"user",content:[...m,{type:"text",text:"请根据以上图片回答。"}]};if(d.length>0){let e=d.length-1,t=d[e];"user"===t.role?g.push(...d.slice(0,e),{role:"user",content:[...m,{type:"text",text:t.content}]}):($.warn({event:"api.chat.multimodal_fallback_user_turn",message:"last history message is not a user turn; appending synthetic user message to carry retrieved images",details:{lastRole:t.role,imageCount:m.length/2,historyLength:d.length}}),g.push(...d,h))}else g.push(h);return g}async function D(e,t,r,a){let n=(await Promise.allSettled(t.map(async t=>{let a=function(e){let t={...e.retrievalConfiguration??{}};if("number"==typeof e.topK){let r=t.denseVectorSearchConfiguration??{},a=t.fullTextSearchConfiguration??{},n=t.rerankingConfiguration??{};t.denseVectorSearchConfiguration={numberOfResults:e.topK,...r},t.fullTextSearchConfiguration={numberOfResults:e.topK,...a},t.rerankingConfiguration={numberOfResults:e.topK,...n}}return Object.keys(t).length?t:void 0}(t),n=await e.retrieve({knowledgeBaseName:t.knowledgeBaseName,retrievalQuery:{type:"TEXT",text:r},...t.subspace?.length?{subspace:t.subspace}:{},...a?{retrievalConfiguration:a}:{}});if("SUCCESS"!==n.code)throw Error(n.message??`Retrieval failed (${n.code})`);return(n.data?.retrievalResults??[]).map(e=>({...e,knowledgeBaseName:t.knowledgeBaseName}))}))).map((e,r)=>{let a=t[r];if("fulfilled"===e.status)return{knowledgeBaseName:a.knowledgeBaseName,chunks:e.value};let n=e.reason;return{knowledgeBaseName:a.knowledgeBaseName,chunks:[],error:n instanceof Error?n.message:String(n)}});return{aggregated:n.flatMap(e=>e.chunks).sort((e,t)=>t.score-e.score).slice(0,a),groups:n}}e.s(["POST",0,q,"buildFinalMessages",0,B,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],95093);var H=e.i(95093);let K=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/v1/llm/chat/route",pathname:"/api/v1/llm/chat",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/dashboard/src/app/api/v1/llm/chat/route.ts",nextConfigOutput:"standalone",userland:H,...{}}),{workAsyncStorage:L,workUnitAsyncStorage:F,serverHooks:V}=K;async function X(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),K.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let v="/api/v1/llm/chat/route";v=v.replace(/\/index$/,"")||"/";let w=await K.prepare(e,t,{srcPage:v,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:R,params:E,nextConfig:C,parsedUrl:b,isDraftMode:S,prerenderManifest:k,routerServerContext:N,isOnDemandRevalidate:x,revalidateOnlyGenerated:I,resolvedPathname:T,clientReferenceManifest:A,serverActionsManifest:_}=w,O=(0,i.normalizeAppPath)(v),$=!!(k.dynamicRoutes[O]||k.routes[T]),P=async()=>((null==N?void 0:N.render404)?await N.render404(e,t,b,!1):t.end("This page could not be found"),null);if($&&!S){let e=!!k.routes[T],t=k.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(C.adapterPath)return await P();throw new f.NoFallbackError}}let z=null;!$||K.isDev||S||(z="/index"===(z=T)?"/":z);let q=!0===K.isDev||!$,M=$&&!q;_&&A&&(0,s.setManifestsSingleton)({page:v,clientReferenceManifest:A,serverActionsManifest:_});let U=e.method||"GET",j=(0,o.getTracer)(),B=j.getActiveScopeSpan(),D=!!(null==N?void 0:N.isWrappedByNextServer),H=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await K.getIncrementalCache(e,C,k,H);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let F={params:E,previewProps:k.preview,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts},cacheComponents:!!C.cacheComponents,supportsDynamicResponse:q,incrementalCache:L,cacheLifeProfiles:C.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>K.onRequestError(e,t,a,n,N)},sharedContext:{buildId:R}},V=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),G=c.NextRequestAdapter.fromNodeNextRequest(V,(0,c.signalFromNodeResponse)(t));try{let n,s=async e=>K.handle(G,F).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=j.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${U} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",a),n.updateName(t))}else e.updateName(`${U} ${v}`)}),i=async n=>{var o,i;let l=async({previousCacheEntry:r})=>{try{if(!H&&x&&I&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await s(n);e.fetchMetrics=F.renderOpts.fetchMetrics;let i=F.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let l=F.renderOpts.collectedTags;if(!$)return await (0,m.sendResponse)(V,X,o,F.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,p.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[h.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==F.renderOpts.collectedRevalidate&&!(F.renderOpts.collectedRevalidate>=h.INFINITE_CACHE)&&F.renderOpts.collectedRevalidate,a=void 0===F.renderOpts.collectedExpire||F.renderOpts.collectedExpire>=h.INFINITE_CACHE?void 0:F.renderOpts.collectedExpire;return{value:{kind:y.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await K.onRequestError(e,t,{routerKind:"App Router",routePath:v,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:x})},!1,N),t}},c=await K.handleResponse({req:e,nextConfig:C,cacheKey:z,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:k,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:I,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:H});if(!$)return null;if((null==c||null==(o=c.value)?void 0:o.kind)!==y.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(i=c.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});H||t.setHeader("x-nextjs-cache",x?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,p.fromNodeOutgoingHttpHeaders)(c.value.headers);return H&&$||u.delete(h.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,g.getCacheControlHeader)(c.cacheControl)),await (0,m.sendResponse)(V,X,new Response(c.value.body,{headers:u,status:c.value.status||200})),null};D&&B?await i(B):(n=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(u.BaseServerSpan.handleRequest,{spanName:`${U} ${v}`,kind:o.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},i),void 0,!D))}catch(t){if(t instanceof f.NoFallbackError||await K.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:x})},!1,N),$)throw t;return await (0,m.sendResponse)(V,X,new Response(null,{status:500})),null}}e.s(["handler",0,X,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:L,workUnitAsyncStorage:F})},"routeModule",0,K,"serverHooks",0,V,"workAsyncStorage",0,L,"workUnitAsyncStorage",0,F],43956)}];
|
|
10
13
|
|
|
11
14
|
//# sourceMappingURL=0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js.map
|
package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02p1x3t._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},78500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},37120,e=>{"use strict";var t=e.i(64564),r=e.i(2095),a=e.i(91091),n=e.i(75331),o=e.i(90301),s=e.i(70943),i=e.i(90324),l=e.i(43133),d=e.i(4870),u=e.i(20180),p=e.i(58370),c=e.i(36708),g=e.i(82278),h=e.i(57569),x=e.i(44146),v=e.i(93695);e.i(5888);var R=e.i(30564);e.i(60751);var f=e.i(21222),y=e.i(4603);let
|
|
1
|
+
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},78500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},37120,e=>{"use strict";var t=e.i(64564),r=e.i(2095),a=e.i(91091),n=e.i(75331),o=e.i(90301),s=e.i(70943),i=e.i(90324),l=e.i(43133),d=e.i(4870),u=e.i(20180),p=e.i(58370),c=e.i(36708),g=e.i(82278),h=e.i(57569),x=e.i(44146),v=e.i(93695);e.i(5888);var R=e.i(30564);e.i(60751);var f=e.i(21222),y=e.i(4603);let m=(0,f.createLogger)("dashboard.browser");async function w(e){let t;(0,y.ensureApiLogContext)(e);let r=Number(e.headers.get("content-length")??"0");if(Number.isFinite(r)&&r>16384)return(0,y.errorResponse)("BAD_REQUEST","Client log payload is too large",400,{errorSource:"browser"});let a=await e.text();if(Buffer.byteLength(a,"utf8")>16384)return(0,y.errorResponse)("BAD_REQUEST","Client log payload is too large",400,{errorSource:"browser"});try{let e=JSON.parse(a);t=e&&"object"==typeof e&&!Array.isArray(e)?e:{}}catch{return(0,y.errorResponse)("BAD_REQUEST","Client log payload must be JSON",400,{errorSource:"browser"})}let n="string"==typeof t.event?t.event:"browser.error",o="string"==typeof t.message?t.message:"Browser error captured",s="warn"===t.level||"info"===t.level?t.level:"error",i="string"==typeof t.code?t.code:void 0,l="number"==typeof t.status?t.status:void 0,d="string"==typeof t.upstreamCode?t.upstreamCode:void 0,u="string"==typeof t.upstreamRequestId?t.upstreamRequestId:void 0;return m.log({level:s,event:n,message:o,traceId:"string"==typeof t.traceId?t.traceId:void 0,requestId:"string"==typeof t.requestId?t.requestId:void 0,errorSource:"browser",error:{name:"string"==typeof t.name?t.name:"BrowserError",message:o,stack:"string"==typeof t.stack?t.stack:void 0},details:{url:"string"==typeof t.url?t.url:void 0,userAgent:e.headers.get("user-agent")??void 0,digest:"string"==typeof t.digest?t.digest:void 0,code:i,status:l,upstreamCode:d,upstreamRequestId:u}}),(0,y.successResponse)({logged:!0})}e.s(["POST",0,w,"runtime",0,"nodejs"],39580);var E=e.i(39580);let b=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/v1/logs/client/route",pathname:"/api/v1/logs/client",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/dashboard/src/app/api/v1/logs/client/route.ts",nextConfigOutput:"standalone",userland:E,...{}}),{workAsyncStorage:C,workUnitAsyncStorage:A,serverHooks:q}=b;async function S(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),b.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/v1/logs/client/route";f=f.replace(/\/index$/,"")||"/";let y=await b.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:m,params:w,nextConfig:E,parsedUrl:C,isDraftMode:A,prerenderManifest:q,routerServerContext:S,isOnDemandRevalidate:N,revalidateOnlyGenerated:T,resolvedPathname:_,clientReferenceManifest:k,serverActionsManifest:P}=y,I=(0,i.normalizeAppPath)(f),O=!!(q.dynamicRoutes[I]||q.routes[_]),j=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!A){let e=!!q.routes[_],t=q.dynamicRoutes[I];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await j();throw new v.NoFallbackError}}let U=null;!O||b.isDev||A||(U="/index"===(U=_)?"/":U);let H=!0===b.isDev||!O,D=O&&!H;P&&k&&(0,s.setManifestsSingleton)({page:f,clientReferenceManifest:k,serverActionsManifest:P});let M=e.method||"GET",B=(0,o.getTracer)(),F=B.getActiveScopeSpan(),$=!!(null==S?void 0:S.isWrappedByNextServer),K=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await b.getIncrementalCache(e,E,q,K);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let G={params:w,previewProps:q.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:H,incrementalCache:L,cacheLifeProfiles:E.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>b.onRequestError(e,t,a,n,S)},sharedContext:{buildId:m}},Q=new l.NodeNextRequest(e),V=new l.NodeNextResponse(t),W=d.NextRequestAdapter.fromNodeNextRequest(Q,(0,d.signalFromNodeResponse)(t));try{let n,s=async e=>b.handle(W,G).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=B.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${M} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",a),n.updateName(t))}else e.updateName(`${M} ${f}`)}),i=async n=>{var o,i;let l=async({previousCacheEntry:r})=>{try{if(!K&&N&&T&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await s(n);e.fetchMetrics=G.renderOpts.fetchMetrics;let i=G.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let l=G.renderOpts.collectedTags;if(!O)return await (0,c.sendResponse)(Q,V,o,G.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,g.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[x.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=x.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,a=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=x.INFINITE_CACHE?void 0:G.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,S),t}},d=await b.handleResponse({req:e,nextConfig:E,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:q,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:T,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:K});if(!O)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});K||t.setHeader("x-nextjs-cache",N?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,g.fromNodeOutgoingHttpHeaders)(d.value.headers);return K&&O||u.delete(x.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,h.getCacheControlHeader)(d.cacheControl)),await (0,c.sendResponse)(Q,V,new Response(d.value.body,{headers:u,status:d.value.status||200})),null};$&&F?await i(F):(n=B.getActiveScopeSpan(),await B.withPropagatedContext(e.headers,()=>B.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${f}`,kind:o.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},i),void 0,!$))}catch(t){if(t instanceof v.NoFallbackError||await b.onRequestError(e,t,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:N})},!1,S),O)throw t;return await (0,c.sendResponse)(Q,V,new Response(null,{status:500})),null}}e.s(["handler",0,S,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:A})},"routeModule",0,b,"serverHooks",0,q,"workAsyncStorage",0,C,"workUnitAsyncStorage",0,A],37120)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__02p1x3t._.js.map
|
package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0fglxiw._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},78500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},21055,e=>{"use strict";var t=e.i(64564),r=e.i(2095),a=e.i(91091),n=e.i(75331),
|
|
1
|
+
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},78500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},21055,e=>{"use strict";var t=e.i(64564),r=e.i(2095),a=e.i(91091),n=e.i(75331),o=e.i(90301),s=e.i(70943),i=e.i(90324),l=e.i(43133),d=e.i(4870),u=e.i(20180),p=e.i(58370),c=e.i(36708),h=e.i(82278),x=e.i(57569),m=e.i(44146),R=e.i(93695);e.i(5888);var v=e.i(30564),f=e.i(4603);async function w(e,t){try{let{name:r,docId:a}=await t.params,n=(0,f.requireClients)(e);if(!("kb"in n))return n;let{kb:o}=n,s=new URL(e.url).searchParams.get("subspace")??void 0,i={knowledgeBaseName:r,docId:a};s&&(i.subspace=s);let l=await o.getDocument(i);if("SUCCESS"===l.code)return(0,f.forwardResponse)({...l,data:function(e){if(Array.isArray(e))return e[0]??null;if(null!=e&&"object"==typeof e){let t=e.documentDetails??e.documents;if(Array.isArray(t)&&t.length>0)return t[0]}return e}(l.data)});return(0,f.forwardResponse)(l)}catch(e){return(0,f.handleApiError)(e)}}async function g(e,t){try{let r,{name:a,docId:n}=await t.params,o=(0,f.requireClients)(e);if(!("kb"in o))return o;let{kb:s}=o;try{r=await e.json()}catch{return(0,f.forwardResponse)({code:"BAD_REQUEST",data:null,message:"Request body must be JSON"})}let{knowledgeBaseName:i,docId:l,...d}=r,u=await s.updateDocument({...d,knowledgeBaseName:a,docId:n});return(0,f.forwardResponse)(u)}catch(e){return(0,f.handleApiError)(e)}}e.s(["GET",0,w,"PUT",0,g,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],72420);var y=e.i(72420);let E=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/v1/knowledge-bases/[name]/documents/[docId]/route",pathname:"/api/v1/knowledge-bases/[name]/documents/[docId]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.ts",nextConfigOutput:"standalone",userland:y,...{}}),{workAsyncStorage:b,workUnitAsyncStorage:C,serverHooks:A}=E;async function q(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),E.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/v1/knowledge-bases/[name]/documents/[docId]/route";f=f.replace(/\/index$/,"")||"/";let w=await E.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:g,params:y,nextConfig:b,parsedUrl:C,isDraftMode:A,prerenderManifest:q,routerServerContext:k,isOnDemandRevalidate:N,revalidateOnlyGenerated:T,resolvedPathname:S,clientReferenceManifest:P,serverActionsManifest:_}=w,O=(0,i.normalizeAppPath)(f),I=!!(q.dynamicRoutes[O]||q.routes[S]),j=async()=>((null==k?void 0:k.render404)?await k.render404(e,t,C,!1):t.end("This page could not be found"),null);if(I&&!A){let e=!!q.routes[S],t=q.dynamicRoutes[O];if(t&&!1===t.fallback&&!e){if(b.adapterPath)return await j();throw new R.NoFallbackError}}let U=null;!I||E.isDev||A||(U="/index"===(U=S)?"/":U);let D=!0===E.isDev||!I,H=I&&!D;_&&P&&(0,s.setManifestsSingleton)({page:f,clientReferenceManifest:P,serverActionsManifest:_});let M=e.method||"GET",B=(0,o.getTracer)(),$=B.getActiveScopeSpan(),F=!!(null==k?void 0:k.isWrappedByNextServer),K=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await E.getIncrementalCache(e,b,q,K);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let G={params:y,previewProps:q.preview,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:D,incrementalCache:L,cacheLifeProfiles:b.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>E.onRequestError(e,t,a,n,k)},sharedContext:{buildId:g}},V=new l.NodeNextRequest(e),W=new l.NodeNextResponse(t),X=d.NextRequestAdapter.fromNodeNextRequest(V,(0,d.signalFromNodeResponse)(t));try{let n,s=async e=>E.handle(X,G).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=B.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${M} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",a),n.updateName(t))}else e.updateName(`${M} ${f}`)}),i=async n=>{var o,i;let l=async({previousCacheEntry:r})=>{try{if(!K&&N&&T&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await s(n);e.fetchMetrics=G.renderOpts.fetchMetrics;let i=G.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let l=G.renderOpts.collectedTags;if(!I)return await (0,c.sendResponse)(V,W,o,G.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,a=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:G.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await E.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:N})},!1,k),t}},d=await E.handleResponse({req:e,nextConfig:b,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:q,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:T,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:K});if(!I)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});K||t.setHeader("x-nextjs-cache",N?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,h.fromNodeOutgoingHttpHeaders)(d.value.headers);return K&&I||u.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,x.getCacheControlHeader)(d.cacheControl)),await (0,c.sendResponse)(V,W,new Response(d.value.body,{headers:u,status:d.value.status||200})),null};F&&$?await i($):(n=B.getActiveScopeSpan(),await B.withPropagatedContext(e.headers,()=>B.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${f}`,kind:o.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},i),void 0,!F))}catch(t){if(t instanceof R.NoFallbackError||await E.onRequestError(e,t,{routerKind:"App Router",routePath:O,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:N})},!1,k),I)throw t;return await (0,c.sendResponse)(V,W,new Response(null,{status:500})),null}}e.s(["handler",0,q,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:C})},"routeModule",0,E,"serverHooks",0,A,"workAsyncStorage",0,b,"workUnitAsyncStorage",0,C],21055)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0fglxiw._.js.map
|