@tablestore/tablestore-agent-cli 0.1.3 → 0.1.5
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/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
- package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -195
- package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
- package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +6 -6
- 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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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/app-paths-manifest.json +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/next-font-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js +8 -8
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- 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 +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +2 -2
- 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_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 +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +4 -4
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +2 -2
- 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 +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0a7o_lg._.js → [root-of-the-server]__07jfil8._.js} +21 -16
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0bfezi5._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0vj8eh_._.js → [root-of-the-server]__0f990w9._.js} +21 -16
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g9--xh._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0r4amj5._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12lk-nv._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12sqoa8._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{0p91_next_dist_esm_build_templates_app-page_0ybndzm.js → 0p91_next_dist_esm_build_templates_app-page_0c9pavn.js} +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0_bm190._.js → [root-of-the-server]__0ct6ysu._.js} +2 -2
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0getqb1._.js → [root-of-the-server]__0k7~7-.._.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0y8rrcu._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.a5w1p._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0476v7r._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ce~2ba._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0z0rlpq._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_projects_page_actions_0b8.3qe.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_0o4a.29._.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0suis9l._.js +6 -2
- 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)_projects_error_tsx_0lm0vqh._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_loading_tsx_0c1mchn._.js +3 -0
- package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
- package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
- package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0-ps54o0cl-hh.js → 0-.-yvgh3s-60.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0212ujx60nooy.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fldq3wpg_379.css +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ja2he~jl53.n.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0s3mvx9_dr13c.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0g_uneyk~9dg0.js → 0sg6z8.ci0l2b.js} +1 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u-_fvx_r85sr.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~5hi.pq6~znn.js +1 -0
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/{13lz27klh_al4.js → 16lab3t3ovnyq.js} +1 -1
- package/dist/dashboard-runtime/dashboard/package.json +3 -1
- package/dist/dashboard-runtime/dashboard/server.js +1 -1
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +2 -2
- package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +62 -9
- package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
- package/dist/dashboard-runtime/dashboard/src/components/layout/breadcrumb-bar.tsx +1 -0
- package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +41 -8
- package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +35 -3
- package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +32 -10
- package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +62 -16
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
- 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 +159 -207
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
- 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 +159 -207
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
- package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/index.js +0 -2
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/client.js +0 -672
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/config.js +0 -70
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/core.js +0 -30
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/event_listeners.js +0 -199
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/filter.js +0 -204
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/node.js +0 -146
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/xhr.js +0 -113
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http.js +0 -81
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/long.js +0 -21
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/metadata.js +0 -65
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/build_proto.sh +0 -4
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/decoder.js +0 -677
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/encoder.js +0 -1593
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_coded_stream.js +0 -631
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_consts.js +0 -44
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_crc8.js +0 -79
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_stream.js +0 -209
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plian_buffer_builder.js +0 -252
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql.fbs +0 -36
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql_generated.js +0 -961
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore.proto +0 -676
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_compiled_proto.js +0 -54728
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_filter.proto +0 -45
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_search.proto +0 -1010
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/request.js +0 -235
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/default_retry_policy.js +0 -74
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/retry_util.js +0 -94
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/search.js +0 -209
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sequential_executor.js +0 -240
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/signer.js +0 -70
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sql.js +0 -111
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util-browser.js +0 -756
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util.js +0 -602
- package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/package.json +0 -39
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page/app-paths-manifest.json +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page_client-reference-manifest.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.meta +0 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.html +0 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.meta +0 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk/instances/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk/instances.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.meta +0 -17
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +0 -6
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.meta +0 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.rsc +0 -37
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +0 -6
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_full.segment.rsc +0 -37
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.meta +0 -17
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.rsc +0 -36
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new/__PAGE__.segment.rsc +0 -6
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_full.segment.rsc +0 -36
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.html +0 -1
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.meta +0 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.meta +0 -17
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.rsc +0 -39
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_full.segment.rsc +0 -39
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.html +0 -2
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.meta +0 -16
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory/__PAGE__.segment.rsc +0 -9
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +0 -7
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_full.segment.rsc +0 -38
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_head.segment.rsc +0 -5
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_index.segment.rsc +0 -10
- package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_tree.segment.rsc +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hr5-78._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0v1vjve._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_instances_page_actions_0h2z.wc.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_error_tsx_0n991op._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_loading_tsx_0vo~r9q._.js +0 -3
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0--ug1fajm138.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0014~.2un25~~.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/01e~e666-rfuv.css +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/067_.vm1v8kg3.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jw5s5e8qwbpx.js +0 -1
- package/dist/dashboard-runtime/dashboard/.next/static/chunks/0l75a30.ubt1z.js +0 -1
- package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/index.js +0 -52
- package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/base64/index.js +0 -139
- package/dist/dashboard-runtime/node_modules/@protobufjs/base64/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/index.js +0 -76
- package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/float/index.js +0 -335
- package/dist/dashboard-runtime/node_modules/@protobufjs/float/package.json +0 -26
- package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/index.js +0 -17
- package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/pool/index.js +0 -48
- package/dist/dashboard-runtime/node_modules/@protobufjs/pool/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/index.js +0 -105
- package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/package.json +0 -21
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/flatbuffers/LICENSE.txt +0 -202
- package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.js +0 -1259
- package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.mjs +0 -1259
- package/dist/dashboard-runtime/node_modules/flatbuffers/package.json +0 -34
- package/dist/dashboard-runtime/node_modules/flatbuffers/readme.md +0 -58
- package/dist/dashboard-runtime/node_modules/int64-buffer/int64-buffer.js +0 -293
- package/dist/dashboard-runtime/node_modules/int64-buffer/package.json +0 -57
- package/dist/dashboard-runtime/node_modules/protobufjs/LICENSE +0 -39
- package/dist/dashboard-runtime/node_modules/protobufjs/README.md +0 -905
- package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbjs +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbts +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/LICENSE +0 -33
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/README.md +0 -174
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbjs +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbts +0 -6
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.d.ts +0 -3
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.js +0 -3
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +0 -21
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +0 -23
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +0 -21
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +0 -705
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +0 -18
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.json +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.standalone.json +0 -32
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.d.ts +0 -9
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.js +0 -330
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.d.ts +0 -9
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.js +0 -197
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json-module.js +0 -38
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto.js +0 -326
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto2.js +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto3.js +0 -10
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static-module.js +0 -29
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static.js +0 -711
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/util.js +0 -183
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/amd.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/closure.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/commonjs.js +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/default.js +0 -15
- package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/es6.js +0 -5
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js +0 -7326
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/README.md +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2714
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js +0 -8968
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js +0 -8
- package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/README.md +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/index.js +0 -71
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/README.md +0 -72
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
- package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/test.js +0 -54
- package/dist/dashboard-runtime/node_modules/protobufjs/google/LICENSE +0 -27
- package/dist/dashboard-runtime/node_modules/protobufjs/google/README.md +0 -1
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.json +0 -83
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.proto +0 -11
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.json +0 -86
- package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.proto +0 -31
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.json +0 -118
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.proto +0 -34
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -286
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.json +0 -202
- package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.proto +0 -89
- package/dist/dashboard-runtime/node_modules/protobufjs/index.d.ts +0 -2739
- package/dist/dashboard-runtime/node_modules/protobufjs/index.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/light.d.ts +0 -2
- package/dist/dashboard-runtime/node_modules/protobufjs/light.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/minimal.d.ts +0 -2
- package/dist/dashboard-runtime/node_modules/protobufjs/minimal.js +0 -4
- package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbjs +0 -16
- package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbts +0 -16
- package/dist/dashboard-runtime/node_modules/protobufjs/package.json +0 -122
- package/dist/dashboard-runtime/node_modules/protobufjs/scripts/postinstall.js +0 -35
- package/dist/dashboard-runtime/node_modules/protobufjs/src/common.js +0 -399
- package/dist/dashboard-runtime/node_modules/protobufjs/src/converter.js +0 -293
- package/dist/dashboard-runtime/node_modules/protobufjs/src/decoder.js +0 -128
- package/dist/dashboard-runtime/node_modules/protobufjs/src/encoder.js +0 -100
- package/dist/dashboard-runtime/node_modules/protobufjs/src/enum.js +0 -181
- package/dist/dashboard-runtime/node_modules/protobufjs/src/field.js +0 -374
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index-light.js +0 -104
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index-minimal.js +0 -36
- package/dist/dashboard-runtime/node_modules/protobufjs/src/index.js +0 -12
- package/dist/dashboard-runtime/node_modules/protobufjs/src/mapfield.js +0 -126
- package/dist/dashboard-runtime/node_modules/protobufjs/src/message.js +0 -139
- package/dist/dashboard-runtime/node_modules/protobufjs/src/method.js +0 -160
- package/dist/dashboard-runtime/node_modules/protobufjs/src/namespace.js +0 -434
- package/dist/dashboard-runtime/node_modules/protobufjs/src/object.js +0 -243
- package/dist/dashboard-runtime/node_modules/protobufjs/src/oneof.js +0 -203
- package/dist/dashboard-runtime/node_modules/protobufjs/src/parse.js +0 -820
- package/dist/dashboard-runtime/node_modules/protobufjs/src/reader.js +0 -411
- package/dist/dashboard-runtime/node_modules/protobufjs/src/reader_buffer.js +0 -51
- package/dist/dashboard-runtime/node_modules/protobufjs/src/root.js +0 -363
- package/dist/dashboard-runtime/node_modules/protobufjs/src/roots.js +0 -18
- package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc/service.js +0 -142
- package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc.js +0 -36
- package/dist/dashboard-runtime/node_modules/protobufjs/src/service.js +0 -167
- package/dist/dashboard-runtime/node_modules/protobufjs/src/tokenize.js +0 -403
- package/dist/dashboard-runtime/node_modules/protobufjs/src/type.js +0 -589
- package/dist/dashboard-runtime/node_modules/protobufjs/src/types.js +0 -196
- package/dist/dashboard-runtime/node_modules/protobufjs/src/typescript.jsdoc +0 -15
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util/longbits.js +0 -200
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util/minimal.js +0 -421
- package/dist/dashboard-runtime/node_modules/protobufjs/src/util.js +0 -212
- package/dist/dashboard-runtime/node_modules/protobufjs/src/verifier.js +0 -177
- package/dist/dashboard-runtime/node_modules/protobufjs/src/wrappers.js +0 -102
- package/dist/dashboard-runtime/node_modules/protobufjs/src/writer.js +0 -465
- package/dist/dashboard-runtime/node_modules/protobufjs/src/writer_buffer.js +0 -85
- package/dist/dashboard-runtime/node_modules/protobufjs/tsconfig.json +0 -7
- package/dist/dashboard-runtime/node_modules/tablestore/index.js +0 -2
- package/dist/dashboard-runtime/node_modules/tablestore/lib/client.js +0 -672
- package/dist/dashboard-runtime/node_modules/tablestore/lib/config.js +0 -70
- package/dist/dashboard-runtime/node_modules/tablestore/lib/core.js +0 -30
- package/dist/dashboard-runtime/node_modules/tablestore/lib/event_listeners.js +0 -199
- package/dist/dashboard-runtime/node_modules/tablestore/lib/filter.js +0 -204
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http/node.js +0 -146
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http/xhr.js +0 -113
- package/dist/dashboard-runtime/node_modules/tablestore/lib/http.js +0 -81
- package/dist/dashboard-runtime/node_modules/tablestore/lib/long.js +0 -21
- package/dist/dashboard-runtime/node_modules/tablestore/lib/metadata.js +0 -65
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/build_proto.sh +0 -4
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/decoder.js +0 -677
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/encoder.js +0 -1593
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_coded_stream.js +0 -631
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_consts.js +0 -44
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_crc8.js +0 -79
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_stream.js +0 -209
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plian_buffer_builder.js +0 -252
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql.fbs +0 -36
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql_generated.js +0 -961
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore.proto +0 -676
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_compiled_proto.js +0 -54728
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_filter.proto +0 -45
- package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_search.proto +0 -1010
- package/dist/dashboard-runtime/node_modules/tablestore/lib/request.js +0 -235
- package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/default_retry_policy.js +0 -74
- package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/retry_util.js +0 -94
- package/dist/dashboard-runtime/node_modules/tablestore/lib/search.js +0 -209
- package/dist/dashboard-runtime/node_modules/tablestore/lib/sequential_executor.js +0 -240
- package/dist/dashboard-runtime/node_modules/tablestore/lib/signer.js +0 -70
- package/dist/dashboard-runtime/node_modules/tablestore/lib/sql.js +0 -111
- package/dist/dashboard-runtime/node_modules/tablestore/lib/util-browser.js +0 -756
- package/dist/dashboard-runtime/node_modules/tablestore/lib/util.js +0 -602
- package/dist/dashboard-runtime/node_modules/tablestore/package.json +0 -39
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
- package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/build-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/react-loadable-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/server-reference-manifest.json +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.map +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_buildManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_clientMiddlewareManifest.js +0 -0
- /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_ssgManifest.js +0 -0
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
var TableStore = require('./core');
|
|
2
|
-
var inherit = TableStore.util.inherit;
|
|
3
|
-
|
|
4
|
-
var hardErrorStates = { success: 1, error: 1, complete: 1 };
|
|
5
|
-
|
|
6
|
-
function isTerminalState(machine) {
|
|
7
|
-
return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function AcceptorStateMachine(states, state) {
|
|
11
|
-
this.currentState = state || null;
|
|
12
|
-
this.states = states || {};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
AcceptorStateMachine.prototype.runTo = async function runTo(finalState, done, bindObject, inputError) {
|
|
16
|
-
if (typeof finalState === 'function') {
|
|
17
|
-
inputError = bindObject; bindObject = done;
|
|
18
|
-
done = finalState; finalState = null;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
try {
|
|
22
|
-
var self = this;
|
|
23
|
-
var state = self.states[self.currentState];
|
|
24
|
-
await state.fn.call(bindObject || self, inputError, async (err) => {
|
|
25
|
-
if (err) {
|
|
26
|
-
if (bindObject.logger) bindObject.logger.log(self.currentState, '->', state.fail, err);
|
|
27
|
-
if (state.fail) self.currentState = state.fail;
|
|
28
|
-
else return done ? done(err) : null;
|
|
29
|
-
} else {
|
|
30
|
-
if (bindObject.logger) bindObject.logger.log(self.currentState, '->', state.accept);
|
|
31
|
-
if (state.accept) self.currentState = state.accept;
|
|
32
|
-
else return done ? done() : null;
|
|
33
|
-
}
|
|
34
|
-
if (self.currentState === finalState) return done ? done(err) : null;
|
|
35
|
-
|
|
36
|
-
await self.runTo(finalState, done, bindObject, err);
|
|
37
|
-
});
|
|
38
|
-
} catch (err) {
|
|
39
|
-
if (done) done(err);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) {
|
|
44
|
-
if (typeof acceptState === 'function') {
|
|
45
|
-
fn = acceptState; acceptState = null; failState = null;
|
|
46
|
-
} else if (typeof failState === 'function') {
|
|
47
|
-
fn = failState; failState = null;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (!this.currentState) this.currentState = name;
|
|
51
|
-
this.states[name] = { accept: acceptState, fail: failState, fn: fn };
|
|
52
|
-
return this;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
var fsm = new AcceptorStateMachine();
|
|
56
|
-
fsm.setupStates = function () {
|
|
57
|
-
var transition = async function transition(_, done) {
|
|
58
|
-
var self = this;
|
|
59
|
-
var origError = self.response.error;
|
|
60
|
-
try {
|
|
61
|
-
await self.emit(self._asm.currentState, async (err) => {
|
|
62
|
-
if (err) {
|
|
63
|
-
if (isTerminalState(self)) {
|
|
64
|
-
throw err;
|
|
65
|
-
} else {
|
|
66
|
-
self.response.error = err;
|
|
67
|
-
done(err);
|
|
68
|
-
}
|
|
69
|
-
} else {
|
|
70
|
-
done(self.response.error);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
} catch (err) {
|
|
74
|
-
if (isTerminalState(self)) {
|
|
75
|
-
throw err;
|
|
76
|
-
} else {
|
|
77
|
-
self.response.error = err;
|
|
78
|
-
done(err);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
this.addState('restart', 'build', 'error', async function (err, done) {
|
|
84
|
-
err = this.response.error;
|
|
85
|
-
if (!err) return done();
|
|
86
|
-
err.retryable = TableStore.DefaultRetryPolicy.shouldRetry(this.response.retryCount, this.response.error, this.response.request.operation);
|
|
87
|
-
if (!err.retryable) return done(err);
|
|
88
|
-
|
|
89
|
-
if (this.response.retryCount < TableStore.DefaultRetryPolicy.maxRetryTimes) {
|
|
90
|
-
this.response.retryCount++;
|
|
91
|
-
done();
|
|
92
|
-
} else {
|
|
93
|
-
done(err);
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
this.addState('build', 'afterBuild', 'restart', transition);
|
|
97
|
-
this.addState('afterBuild', 'sign', 'restart', transition);
|
|
98
|
-
this.addState('sign', 'send', 'retry', transition);
|
|
99
|
-
this.addState('retry', 'afterRetry', 'afterRetry', transition);
|
|
100
|
-
this.addState('afterRetry', 'sign', 'error', transition);
|
|
101
|
-
this.addState('send', 'validateResponse', 'retry', transition);
|
|
102
|
-
this.addState('validateResponse', 'extractData', 'extractError', transition);
|
|
103
|
-
this.addState('extractError', 'extractData', 'retry', transition);
|
|
104
|
-
this.addState('extractData', 'success', 'retry', transition);
|
|
105
|
-
this.addState('success', 'complete', 'complete', transition);
|
|
106
|
-
this.addState('error', 'complete', 'complete', transition);
|
|
107
|
-
this.addState('complete', null, null, transition);
|
|
108
|
-
};
|
|
109
|
-
fsm.setupStates();
|
|
110
|
-
|
|
111
|
-
TableStore.Request = inherit({
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Creates a request for an operation on a given service with
|
|
115
|
-
* a set of input parameters.
|
|
116
|
-
*
|
|
117
|
-
* @param config [TableStore.Config] the config to perform the operation on
|
|
118
|
-
* @param operation [String] the operation to perform on the service
|
|
119
|
-
* @param params [Object] parameters to send to the operation.
|
|
120
|
-
* See the operation's documentation for the format of the
|
|
121
|
-
* parameters.
|
|
122
|
-
*/
|
|
123
|
-
constructor: function Request(config, operation, params) {
|
|
124
|
-
var endpoint = new TableStore.Endpoint(config.endpoint);
|
|
125
|
-
var region = config.region;
|
|
126
|
-
this.config = config;
|
|
127
|
-
if (config.maxRetries !== undefined) {
|
|
128
|
-
TableStore.DefaultRetryPolicy.maxRetryTimes = config.maxRetries;
|
|
129
|
-
}
|
|
130
|
-
this.operation = operation;
|
|
131
|
-
this.params = params || {};
|
|
132
|
-
this.httpRequest = new TableStore.HttpRequest(endpoint, region);
|
|
133
|
-
this.startTime = TableStore.util.date.getDate();
|
|
134
|
-
|
|
135
|
-
this.response = new TableStore.Response(this);
|
|
136
|
-
this.restartCount = 0;
|
|
137
|
-
this._asm = new AcceptorStateMachine(fsm.states, 'build');
|
|
138
|
-
|
|
139
|
-
TableStore.SequentialExecutor.call(this);
|
|
140
|
-
this.emit = this.emitEvent;
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @!group Sending a Request
|
|
145
|
-
*/
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @overload send(callback = null)
|
|
149
|
-
* Sends the request object.
|
|
150
|
-
*
|
|
151
|
-
* @callback callback function(err, data)
|
|
152
|
-
* If a callback is supplied, it is called when a response is returned
|
|
153
|
-
* from the service.
|
|
154
|
-
* @param err [Error] the error object returned from the request.
|
|
155
|
-
* Set to `null` if the request is successful.
|
|
156
|
-
* @param data [Object] the de-serialized data returned from
|
|
157
|
-
* the request. Set to `null` if a request error occurs.
|
|
158
|
-
* @example Sending a request with a callback
|
|
159
|
-
* request = client.listTable({Bucket: 'bucket', Key: 'key'});
|
|
160
|
-
* request.send(function(err, data) { console.log(err, data); });
|
|
161
|
-
*/
|
|
162
|
-
send: async function send(callback) {
|
|
163
|
-
if (callback) {
|
|
164
|
-
this.on('complete', function (resp) {
|
|
165
|
-
callback.call(resp, resp.error, resp.data);
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
await this.runTo();
|
|
169
|
-
|
|
170
|
-
return this.response;
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
build: async function build(callback) {
|
|
174
|
-
await this.runTo('send', callback);
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
runTo: async function runTo(state, done) {
|
|
178
|
-
await this._asm.runTo(state, done, this);
|
|
179
|
-
return this;
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @param [Array,Response] args This should be the response object,
|
|
184
|
-
* or an array of args to send to the event.
|
|
185
|
-
* @api private
|
|
186
|
-
*/
|
|
187
|
-
emitEvent: async function emit(eventName, args, done) {
|
|
188
|
-
if (typeof args === 'function') { done = args; args = null; }
|
|
189
|
-
if (!done) done = function () { };
|
|
190
|
-
if (!args) args = this.eventParameters(eventName, this.response);
|
|
191
|
-
var origEmit = TableStore.SequentialExecutor.prototype.emit;
|
|
192
|
-
try {
|
|
193
|
-
await origEmit.call(this, eventName, args, async (err) => {
|
|
194
|
-
if (err) this.response.error = err;
|
|
195
|
-
done.call(this, err);
|
|
196
|
-
});
|
|
197
|
-
} catch (err) {
|
|
198
|
-
if (done) done(err);
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* @api private
|
|
204
|
-
*/
|
|
205
|
-
eventParameters: function eventParameters(eventName) {
|
|
206
|
-
switch (eventName) {
|
|
207
|
-
case 'validate':
|
|
208
|
-
case 'sign':
|
|
209
|
-
case 'build':
|
|
210
|
-
case 'afterBuild':
|
|
211
|
-
return [this];
|
|
212
|
-
case 'error':
|
|
213
|
-
return [this.response.error, this.response];
|
|
214
|
-
default:
|
|
215
|
-
return [this.response];
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
TableStore.util.mixin(TableStore.Request, TableStore.SequentialExecutor);
|
|
221
|
-
|
|
222
|
-
TableStore.Response = inherit({
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* @api private
|
|
226
|
-
*/
|
|
227
|
-
constructor: function Response(request) {
|
|
228
|
-
this.request = request;
|
|
229
|
-
this.data = null;
|
|
230
|
-
this.error = null;
|
|
231
|
-
this.retryCount = 0;
|
|
232
|
-
this.httpResponse = new TableStore.HttpResponse();
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
});
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
var TableStore = require('../core');
|
|
2
|
-
|
|
3
|
-
TableStore.DefaultRetryPolicy = {
|
|
4
|
-
/*
|
|
5
|
-
默认重试策略
|
|
6
|
-
最大重试次数为20,最大重试间隔为3秒,对流控类错误以及读操作相关的服务端内部错误进行了重试。
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// 最大重试次数
|
|
10
|
-
maxRetryTimes: 20,
|
|
11
|
-
|
|
12
|
-
//最大重试间隔,单位为毫秒
|
|
13
|
-
maxRetryDelay: 3000,
|
|
14
|
-
|
|
15
|
-
//每次重试间隔的递增倍数
|
|
16
|
-
scaleFactor: 2,
|
|
17
|
-
|
|
18
|
-
//两种错误的起始重试间隔,单位为毫秒
|
|
19
|
-
serverThrottlingExceptionDelayFactor: 500,
|
|
20
|
-
stabilityExceptionDelayFactor: 200,
|
|
21
|
-
|
|
22
|
-
_maxRetryTimeReached: function (retryTimes, exception, apiName) {
|
|
23
|
-
return retryTimes >= TableStore.DefaultRetryPolicy.maxRetryTimes;
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
isRepeatableApi: function (apiName) {
|
|
27
|
-
return TableStore.RetryUtil.isRepeatableApi(apiName);
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
_canRetry: function (retryTimes, exception, apiName) {
|
|
31
|
-
|
|
32
|
-
if (TableStore.RetryUtil.shouldRetryNoMatterWhichApi(exception)) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
if (TableStore.DefaultRetryPolicy.isRepeatableApi(apiName)
|
|
37
|
-
&& TableStore.RetryUtil.shouldRetryWhenApiRepeatable(retryTimes, exception, apiName)) {
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
return false;
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
getRetryDelay: function (retryTimes, exception) {
|
|
45
|
-
var delayFactor;
|
|
46
|
-
if (TableStore.RetryUtil.isServerThrottlingException(exception)) {
|
|
47
|
-
delayFactor = TableStore.DefaultRetryPolicy.serverThrottlingExceptionDelayFactor;
|
|
48
|
-
} else {
|
|
49
|
-
delayFactor = TableStore.DefaultRetryPolicy.stabilityExceptionDelayFactor;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
var delayLimit = delayFactor * Math.pow(TableStore.DefaultRetryPolicy.scaleFactor, retryTimes);
|
|
53
|
-
|
|
54
|
-
if (delayLimit >= TableStore.DefaultRetryPolicy.maxRetryDelay) {
|
|
55
|
-
delayLimit = TableStore.DefaultRetryPolicy.maxRetryDelay;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
var realDelay = delayLimit * 0.5 + delayLimit * 0.5 * Math.random();
|
|
59
|
-
return realDelay;
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
shouldRetry: function (retryTimes, exception, apiName) {
|
|
63
|
-
|
|
64
|
-
if (TableStore.DefaultRetryPolicy._maxRetryTimeReached(retryTimes, exception, apiName)) {
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
if (TableStore.DefaultRetryPolicy._canRetry(retryTimes, exception, apiName)) {
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return false;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
var TableStore = require('../core');
|
|
2
|
-
|
|
3
|
-
TableStore.RetryUtil = {
|
|
4
|
-
|
|
5
|
-
shouldRetryNoMatterWhichApi: function (exception) {
|
|
6
|
-
var errorCode = exception.code;
|
|
7
|
-
var errorMessage = exception.message;
|
|
8
|
-
|
|
9
|
-
if (errorCode == "OTSRowOperationConflict" ||
|
|
10
|
-
errorCode == "OTSNotEnoughCapacityUnit" ||
|
|
11
|
-
errorCode == "OTSTableNotReady" ||
|
|
12
|
-
errorCode == "OTSPartitionUnavailable" ||
|
|
13
|
-
errorCode == "OTSServerBusy" ||
|
|
14
|
-
errorCode == "OTSOperationThrottled") {
|
|
15
|
-
return true;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (errorCode == "OTSQuotaExhausted" && errorMessage == "Too frequent table operations.") {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return false;
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
isRepeatableApi: function (apiName) {
|
|
26
|
-
apiName = TableStore.util.string.upperFirst(apiName);
|
|
27
|
-
const repeatableApi = [
|
|
28
|
-
'ListTable',
|
|
29
|
-
'DescribeTable',
|
|
30
|
-
'GetRow',
|
|
31
|
-
'BatchGetRow',
|
|
32
|
-
'GetRange',
|
|
33
|
-
'DescribeSearchIndex',
|
|
34
|
-
'ListSearchIndex',
|
|
35
|
-
'ComputeSplits',
|
|
36
|
-
'ParallelScan',
|
|
37
|
-
'Search',
|
|
38
|
-
'SQLQuery',
|
|
39
|
-
'DescribeKnowledgeBase',
|
|
40
|
-
'ListKnowledgeBase',
|
|
41
|
-
'GetDocument',
|
|
42
|
-
'ListDocuments',
|
|
43
|
-
'Retrieve',
|
|
44
|
-
'ListChunks',
|
|
45
|
-
'GetMemoryStore',
|
|
46
|
-
'ListMemoryStores',
|
|
47
|
-
'SearchMemories',
|
|
48
|
-
'ListMemories',
|
|
49
|
-
'GetMemory',
|
|
50
|
-
'ListMemoryStoreMessages',
|
|
51
|
-
'ListMemoryStoreRequests',
|
|
52
|
-
];
|
|
53
|
-
for (const i in repeatableApi) {
|
|
54
|
-
if (repeatableApi[i] === apiName) {
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
shouldRetryWhenApiRepeatable: function (retry_times, exception, api_name) {
|
|
61
|
-
var errorCode = exception.code;
|
|
62
|
-
var errorMessage = exception.message;
|
|
63
|
-
|
|
64
|
-
if (errorCode == "OTSTimeout" ||
|
|
65
|
-
errorCode == "OTSInternalServerError" ||
|
|
66
|
-
errorCode == "OTSServerUnavailable" ||
|
|
67
|
-
errorCode == "NetworkingError") {
|
|
68
|
-
return true;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (errorCode == 500 || errorCode == 502 || errorCode == 503) {
|
|
72
|
-
return true;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return false;
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
isServerThrottlingException: function (exception) {
|
|
79
|
-
var errorCode = exception.code
|
|
80
|
-
var errorMessage = exception.message
|
|
81
|
-
|
|
82
|
-
if (errorCode == "OTSServerBusy" ||
|
|
83
|
-
errorCode == "OTSNotEnoughCapacityUnit" ||
|
|
84
|
-
errorCode == "OTSOperationThrottled") {
|
|
85
|
-
return true;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (errorCode == "OTSQuotaExhausted" && errorMessage == "Too frequent table operations.") {
|
|
89
|
-
return true;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return false;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
var TableStore = require('./core');
|
|
2
|
-
var inherit = TableStore.util.inherit;
|
|
3
|
-
|
|
4
|
-
TableStore.QueryType = {
|
|
5
|
-
MATCH_QUERY: 1,
|
|
6
|
-
MATCH_PHRASE_QUERY: 2,
|
|
7
|
-
TERM_QUERY: 3,
|
|
8
|
-
RANGE_QUERY: 4,
|
|
9
|
-
PREFIX_QUERY: 5,
|
|
10
|
-
BOOL_QUERY: 6,
|
|
11
|
-
CONST_SCORE_QUERY: 7,
|
|
12
|
-
FUNCTION_SCORE_QUERY: 8,
|
|
13
|
-
NESTED_QUERY: 9,
|
|
14
|
-
WILDCARD_QUERY: 10,
|
|
15
|
-
MATCH_ALL_QUERY: 11,
|
|
16
|
-
GEO_BOUNDING_BOX_QUERY: 12,
|
|
17
|
-
GEO_DISTANCE_QUERY: 13,
|
|
18
|
-
GEO_POLYGON_QUERY: 14,
|
|
19
|
-
TERMS_QUERY: 15,
|
|
20
|
-
EXISTS_QUERY: 16,
|
|
21
|
-
KNN_VECTOR_QUERY: 17,
|
|
22
|
-
FUNCTIONS_SCORE_QUERY: 18,
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
TableStore.ScoreMode = {
|
|
26
|
-
SCORE_MODE_NONE: 1,
|
|
27
|
-
SCORE_MODE_AVG: 2,
|
|
28
|
-
SCORE_MODE_MAX: 3,
|
|
29
|
-
SCORE_MODE_TOTAL: 4,
|
|
30
|
-
SCORE_MODE_MIN: 5,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
TableStore.SortOrder = {
|
|
34
|
-
SORT_ORDER_ASC: 0,
|
|
35
|
-
SORT_ORDER_DESC: 1,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
TableStore.SortMode = {
|
|
39
|
-
SORT_MODE_MIN: 0,
|
|
40
|
-
SORT_MODE_MAX: 1,
|
|
41
|
-
SORT_MODE_AVG: 2,
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
TableStore.FieldType = {
|
|
45
|
-
LONG: 1,
|
|
46
|
-
DOUBLE: 2,
|
|
47
|
-
BOOLEAN: 3,
|
|
48
|
-
KEYWORD: 4,
|
|
49
|
-
TEXT: 5,
|
|
50
|
-
NESTED: 6,
|
|
51
|
-
GEO_POINT: 7,
|
|
52
|
-
DATE: 8,
|
|
53
|
-
VECTOR: 9,
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
TableStore.ColumnReturnType = {
|
|
57
|
-
RETURN_ALL: 1,
|
|
58
|
-
RETURN_SPECIFIED: 2,
|
|
59
|
-
RETURN_NONE: 3,
|
|
60
|
-
RETURN_ALL_FROM_INDEX: 4,
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
TableStore.GeoDistanceType = {
|
|
64
|
-
GEO_DISTANCE_ARC: 0,
|
|
65
|
-
GEO_DISTANCE_PLANE: 1
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
TableStore.IndexOptions = {
|
|
69
|
-
DOCS: 1,
|
|
70
|
-
FREQS: 2,
|
|
71
|
-
POSITIONS: 3,
|
|
72
|
-
OFFSETS: 4
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
TableStore.QueryOperator = {
|
|
76
|
-
OR: 1,
|
|
77
|
-
AND: 2
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
TableStore.AggregationType = {
|
|
81
|
-
AGG_AVG: 1,
|
|
82
|
-
AGG_MAX: 2,
|
|
83
|
-
AGG_MIN: 3,
|
|
84
|
-
AGG_SUM: 4,
|
|
85
|
-
AGG_COUNT: 5,
|
|
86
|
-
AGG_DISTINCT_COUNT: 6,
|
|
87
|
-
AGG_TOP_ROWS: 7,
|
|
88
|
-
AGG_PERCENTILES: 8,
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
TableStore.GroupByType = {
|
|
92
|
-
GROUP_BY_FIELD: 1,
|
|
93
|
-
GROUP_BY_RANGE: 2,
|
|
94
|
-
GROUP_BY_FILTER: 3,
|
|
95
|
-
GROUP_BY_GEO_DISTANCE: 4,
|
|
96
|
-
GROUP_BY_HISTOGRAM: 5,
|
|
97
|
-
GROUP_BY_DATE_HISTOGRAM: 6,
|
|
98
|
-
GROUP_BY_GEO_GRID: 7,
|
|
99
|
-
GROUP_BY_COMPOSITE: 8,
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
TableStore.DateTimeUnit = {
|
|
103
|
-
YEAR: 1,
|
|
104
|
-
QUARTER_YEAR: 2, // 一个季度
|
|
105
|
-
MONTH: 3,
|
|
106
|
-
WEEK: 4,
|
|
107
|
-
DAY: 5,
|
|
108
|
-
HOUR: 6,
|
|
109
|
-
MINUTE: 7,
|
|
110
|
-
SECOND: 8,
|
|
111
|
-
MILLISECOND: 9,
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
TableStore.GeoHashPrecision = {
|
|
115
|
-
GHP_5009KM_4992KM_1: 1,
|
|
116
|
-
GHP_1252KM_624KM_2: 2,
|
|
117
|
-
GHP_156KM_156KM_3: 3,
|
|
118
|
-
GHP_39KM_19KM_4: 4,
|
|
119
|
-
GHP_4900M_4900M_5: 5,
|
|
120
|
-
GHP_1200M_609M_6: 6,
|
|
121
|
-
GHP_152M_152M_7: 7,
|
|
122
|
-
GHP_38M_19M_8: 8,
|
|
123
|
-
GHP_480CM_480CM_9: 9,
|
|
124
|
-
GHP_120CM_595MM_10: 10,
|
|
125
|
-
GHP_149MM_149MM_11: 11,
|
|
126
|
-
GHP_37MM_19MM_12: 12,
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
TableStore.FSMScoreMode = {
|
|
130
|
-
FSM_AVG: 1,
|
|
131
|
-
FSM_MAX: 2,
|
|
132
|
-
FSM_SUM: 3,
|
|
133
|
-
FSM_MIN: 4,
|
|
134
|
-
FSM_MULTIPLY: 5,
|
|
135
|
-
FSM_FIRST: 6,
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
TableStore.FSMCombineMode = {
|
|
139
|
-
FCM_MULTIPLY: 1,
|
|
140
|
-
FCM_AVG: 2,
|
|
141
|
-
FCM_MAX: 3,
|
|
142
|
-
FCM_SUM: 4,
|
|
143
|
-
FCM_MIN:5 ,
|
|
144
|
-
FCM_REPLACE: 6,
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
TableStore.MathFunction = {
|
|
148
|
-
GAUSS: 1,
|
|
149
|
-
EXP: 2,
|
|
150
|
-
LINEAR:3,
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
TableStore.MultiValueMode = {
|
|
154
|
-
MVM_MAX: 1,
|
|
155
|
-
MVM_MIN: 2,
|
|
156
|
-
MVM_SUM: 3,
|
|
157
|
-
MVM_AVG: 4,
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
TableStore.DecayFuncParamType = {
|
|
161
|
-
DF_DATE_PARAM: 1,
|
|
162
|
-
DF_NUMERIC_PARAM: 2,
|
|
163
|
-
DF_GEO_PARAM: 3,
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
TableStore.FunctionModifier = {
|
|
167
|
-
FM_NONE: 1,
|
|
168
|
-
FM_LOG: 2,
|
|
169
|
-
FM_LOG1P: 3,
|
|
170
|
-
FM_LOG2P: 4,
|
|
171
|
-
FM_LN: 5,
|
|
172
|
-
FM_LN1P: 6,
|
|
173
|
-
FM_LN2P: 7,
|
|
174
|
-
FM_SQUARE: 8,
|
|
175
|
-
FM_SQRT: 9,
|
|
176
|
-
FM_RECIPROCAL: 10,
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
TableStore.VectorDataType = {
|
|
180
|
-
VD_FLOAT_32: 2,
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
TableStore.VectorMetricType = {
|
|
184
|
-
VM_EUCLIDEAN: 0,
|
|
185
|
-
VM_COSINE: 1,
|
|
186
|
-
VM_DOT_PRODUCT: 2,
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
TableStore.HighlightFragmentOrder = {
|
|
190
|
-
TEXT_SEQUENCE: 1,
|
|
191
|
-
SCORE: 2,
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
TableStore.HighlightEncoder = {
|
|
195
|
-
PLAIN_MODE: 1,
|
|
196
|
-
HTML_MODE: 2,
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
TableStore.IndexStatus = {
|
|
200
|
-
PENDING: 'pending',
|
|
201
|
-
FAILED: 'failed',
|
|
202
|
-
RUNNING: 'running',
|
|
203
|
-
UNKNOWN: 'unknown',
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
TableStore.SyncPhase = {
|
|
207
|
-
INCR: 'INCR',
|
|
208
|
-
FULL: "FULL"
|
|
209
|
-
}
|