@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.
Files changed (548) hide show
  1. package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
  2. package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +1 -1
  3. package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
  4. package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -195
  5. package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
  6. package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +6 -6
  7. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  8. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  9. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
  10. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
  11. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
  12. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
  13. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
  14. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
  15. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
  16. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
  17. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
  18. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  19. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
  20. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
  21. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
  22. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
  23. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
  24. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
  25. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
  26. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
  27. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page/app-paths-manifest.json +3 -0
  28. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/next-font-manifest.json +1 -1
  29. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js +8 -8
  30. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.nft.json +1 -1
  31. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +3 -0
  32. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
  33. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
  34. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  35. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  36. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  37. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  38. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  39. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  40. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
  41. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +2 -2
  42. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  43. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  44. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  45. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  46. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  47. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  48. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
  49. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
  50. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
  51. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
  52. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
  53. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
  54. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
  55. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
  56. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
  57. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
  58. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
  59. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
  60. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
  61. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
  62. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
  63. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
  64. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
  65. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
  66. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
  67. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
  68. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
  69. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
  70. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
  71. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
  72. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
  73. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
  74. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
  75. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
  76. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
  77. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
  78. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
  79. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
  80. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
  81. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
  82. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
  83. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
  84. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
  85. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
  86. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
  87. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
  88. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
  89. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
  90. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
  91. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
  92. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
  93. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
  94. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
  95. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
  96. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
  97. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
  98. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
  99. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
  100. package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
  101. package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +2 -2
  102. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  103. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +2 -2
  104. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
  105. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +2 -2
  106. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  107. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  108. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
  109. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +4 -4
  110. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +4 -4
  111. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
  112. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +2 -2
  113. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
  114. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +2 -2
  115. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +2 -2
  116. package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  117. package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -1
  118. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0a7o_lg._.js → [root-of-the-server]__07jfil8._.js} +21 -16
  119. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0bfezi5._.js +1 -1
  120. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0vj8eh_._.js → [root-of-the-server]__0f990w9._.js} +21 -16
  121. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g9--xh._.js +1 -1
  122. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0r4amj5._.js +1 -1
  123. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12lk-nv._.js +1 -1
  124. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12sqoa8._.js +1 -1
  125. 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
  126. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0_bm190._.js → [root-of-the-server]__0ct6ysu._.js} +2 -2
  127. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0getqb1._.js → [root-of-the-server]__0k7~7-.._.js} +1 -1
  128. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0y8rrcu._.js +1 -1
  129. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.a5w1p._.js +1 -1
  130. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0476v7r._.js +3 -0
  131. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ce~2ba._.js +1 -1
  132. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0z0rlpq._.js +1 -1
  133. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +3 -0
  134. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_projects_page_actions_0b8.3qe.js +3 -0
  135. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +1 -1
  136. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0o4a.29._.js +1 -1
  137. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0suis9l._.js +6 -2
  138. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
  139. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
  140. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_error_tsx_0lm0vqh._.js +3 -0
  141. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_loading_tsx_0c1mchn._.js +3 -0
  142. package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
  143. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
  144. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +1 -1
  145. package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
  146. package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
  147. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
  148. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
  149. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0-ps54o0cl-hh.js → 0-.-yvgh3s-60.js} +1 -1
  150. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0212ujx60nooy.js +1 -0
  151. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fldq3wpg_379.css +1 -0
  152. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ja2he~jl53.n.js +1 -0
  153. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0s3mvx9_dr13c.js +1 -0
  154. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0g_uneyk~9dg0.js → 0sg6z8.ci0l2b.js} +1 -1
  155. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u-_fvx_r85sr.js +1 -0
  156. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~5hi.pq6~znn.js +1 -0
  157. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{13lz27klh_al4.js → 16lab3t3ovnyq.js} +1 -1
  158. package/dist/dashboard-runtime/dashboard/package.json +3 -1
  159. package/dist/dashboard-runtime/dashboard/server.js +1 -1
  160. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +2 -2
  161. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +62 -9
  162. package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
  163. package/dist/dashboard-runtime/dashboard/src/components/layout/breadcrumb-bar.tsx +1 -0
  164. package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +41 -8
  165. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +35 -3
  166. package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +32 -10
  167. package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +62 -16
  168. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
  169. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  170. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
  171. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  172. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
  173. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
  174. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
  175. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
  176. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
  177. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  178. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
  179. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  180. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  181. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
  182. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  183. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  184. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
  185. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  186. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
  187. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  188. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
  189. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  190. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
  191. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  192. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
  193. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  194. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  195. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
  196. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  197. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
  198. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  199. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  200. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
  201. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  202. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
  203. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  204. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
  205. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
  206. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
  207. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
  208. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
  209. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  210. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
  211. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  212. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  213. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
  214. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  215. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  216. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
  217. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  218. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
  219. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  220. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
  221. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  222. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
  223. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  224. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
  225. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  226. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  227. package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
  228. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  229. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
  230. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  231. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  232. package/package.json +3 -3
  233. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/index.js +0 -2
  234. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/client.js +0 -672
  235. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/config.js +0 -70
  236. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/core.js +0 -30
  237. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/event_listeners.js +0 -199
  238. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/filter.js +0 -204
  239. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/node.js +0 -146
  240. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/xhr.js +0 -113
  241. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http.js +0 -81
  242. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/long.js +0 -21
  243. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/metadata.js +0 -65
  244. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/build_proto.sh +0 -4
  245. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/decoder.js +0 -677
  246. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/encoder.js +0 -1593
  247. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_coded_stream.js +0 -631
  248. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_consts.js +0 -44
  249. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_crc8.js +0 -79
  250. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_stream.js +0 -209
  251. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plian_buffer_builder.js +0 -252
  252. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql.fbs +0 -36
  253. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql_generated.js +0 -961
  254. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore.proto +0 -676
  255. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_compiled_proto.js +0 -54728
  256. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_filter.proto +0 -45
  257. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_search.proto +0 -1010
  258. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/request.js +0 -235
  259. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/default_retry_policy.js +0 -74
  260. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/retry_util.js +0 -94
  261. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/search.js +0 -209
  262. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sequential_executor.js +0 -240
  263. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/signer.js +0 -70
  264. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sql.js +0 -111
  265. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util-browser.js +0 -756
  266. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util.js +0 -602
  267. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/package.json +0 -39
  268. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page/app-paths-manifest.json +0 -3
  269. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page_client-reference-manifest.js +0 -3
  270. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.html +0 -2
  271. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.meta +0 -16
  272. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.rsc +0 -38
  273. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat/__PAGE__.segment.rsc +0 -9
  274. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat.segment.rsc +0 -7
  275. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  276. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_full.segment.rsc +0 -38
  277. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_head.segment.rsc +0 -5
  278. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_index.segment.rsc +0 -10
  279. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_tree.segment.rsc +0 -3
  280. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.html +0 -1
  281. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.meta +0 -16
  282. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.rsc +0 -38
  283. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk/instances/__PAGE__.segment.rsc +0 -9
  284. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk/instances.segment.rsc +0 -7
  285. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  286. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_full.segment.rsc +0 -38
  287. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_head.segment.rsc +0 -5
  288. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_index.segment.rsc +0 -10
  289. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_tree.segment.rsc +0 -3
  290. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.html +0 -2
  291. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.meta +0 -17
  292. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.rsc +0 -38
  293. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create/__PAGE__.segment.rsc +0 -9
  294. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create.segment.rsc +0 -5
  295. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +0 -6
  296. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  297. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_full.segment.rsc +0 -38
  298. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_head.segment.rsc +0 -5
  299. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_index.segment.rsc +0 -10
  300. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_tree.segment.rsc +0 -3
  301. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.html +0 -2
  302. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.meta +0 -16
  303. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.rsc +0 -37
  304. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base/__PAGE__.segment.rsc +0 -9
  305. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +0 -6
  306. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  307. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_full.segment.rsc +0 -37
  308. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_head.segment.rsc +0 -5
  309. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_index.segment.rsc +0 -10
  310. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_tree.segment.rsc +0 -3
  311. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.html +0 -2
  312. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.meta +0 -17
  313. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.rsc +0 -36
  314. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new/__PAGE__.segment.rsc +0 -6
  315. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new.segment.rsc +0 -5
  316. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +0 -7
  317. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  318. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_full.segment.rsc +0 -36
  319. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_head.segment.rsc +0 -5
  320. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_index.segment.rsc +0 -10
  321. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_tree.segment.rsc +0 -3
  322. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.html +0 -1
  323. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.meta +0 -16
  324. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.rsc +0 -38
  325. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers/__PAGE__.segment.rsc +0 -9
  326. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +0 -7
  327. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  328. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_full.segment.rsc +0 -38
  329. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_head.segment.rsc +0 -5
  330. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_index.segment.rsc +0 -10
  331. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_tree.segment.rsc +0 -3
  332. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.html +0 -2
  333. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.meta +0 -17
  334. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.rsc +0 -39
  335. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create/__PAGE__.segment.rsc +0 -9
  336. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create.segment.rsc +0 -5
  337. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +0 -7
  338. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  339. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_full.segment.rsc +0 -39
  340. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_head.segment.rsc +0 -5
  341. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_index.segment.rsc +0 -10
  342. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_tree.segment.rsc +0 -3
  343. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.html +0 -2
  344. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.meta +0 -16
  345. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.rsc +0 -38
  346. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory/__PAGE__.segment.rsc +0 -9
  347. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +0 -7
  348. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  349. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_full.segment.rsc +0 -38
  350. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_head.segment.rsc +0 -5
  351. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_index.segment.rsc +0 -10
  352. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_tree.segment.rsc +0 -3
  353. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hr5-78._.js +0 -3
  354. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0v1vjve._.js +0 -3
  355. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_instances_page_actions_0h2z.wc.js +0 -3
  356. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_error_tsx_0n991op._.js +0 -3
  357. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_loading_tsx_0vo~r9q._.js +0 -3
  358. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0--ug1fajm138.js +0 -1
  359. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0014~.2un25~~.js +0 -1
  360. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01e~e666-rfuv.css +0 -1
  361. package/dist/dashboard-runtime/dashboard/.next/static/chunks/067_.vm1v8kg3.js +0 -1
  362. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jw5s5e8qwbpx.js +0 -1
  363. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0l75a30.ubt1z.js +0 -1
  364. package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/index.js +0 -52
  365. package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/package.json +0 -21
  366. package/dist/dashboard-runtime/node_modules/@protobufjs/base64/index.js +0 -139
  367. package/dist/dashboard-runtime/node_modules/@protobufjs/base64/package.json +0 -21
  368. package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/index.js +0 -76
  369. package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/package.json +0 -21
  370. package/dist/dashboard-runtime/node_modules/@protobufjs/float/index.js +0 -335
  371. package/dist/dashboard-runtime/node_modules/@protobufjs/float/package.json +0 -26
  372. package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/index.js +0 -17
  373. package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/package.json +0 -21
  374. package/dist/dashboard-runtime/node_modules/@protobufjs/pool/index.js +0 -48
  375. package/dist/dashboard-runtime/node_modules/@protobufjs/pool/package.json +0 -21
  376. package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/index.js +0 -105
  377. package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/package.json +0 -21
  378. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  379. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  380. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  381. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  382. package/dist/dashboard-runtime/node_modules/flatbuffers/LICENSE.txt +0 -202
  383. package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.js +0 -1259
  384. package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.mjs +0 -1259
  385. package/dist/dashboard-runtime/node_modules/flatbuffers/package.json +0 -34
  386. package/dist/dashboard-runtime/node_modules/flatbuffers/readme.md +0 -58
  387. package/dist/dashboard-runtime/node_modules/int64-buffer/int64-buffer.js +0 -293
  388. package/dist/dashboard-runtime/node_modules/int64-buffer/package.json +0 -57
  389. package/dist/dashboard-runtime/node_modules/protobufjs/LICENSE +0 -39
  390. package/dist/dashboard-runtime/node_modules/protobufjs/README.md +0 -905
  391. package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbjs +0 -6
  392. package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbts +0 -6
  393. package/dist/dashboard-runtime/node_modules/protobufjs/cli/LICENSE +0 -33
  394. package/dist/dashboard-runtime/node_modules/protobufjs/cli/README.md +0 -174
  395. package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbjs +0 -6
  396. package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbts +0 -6
  397. package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.d.ts +0 -3
  398. package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.js +0 -3
  399. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +0 -21
  400. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +0 -23
  401. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +0 -21
  402. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +0 -705
  403. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +0 -18
  404. package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.json +0 -10
  405. package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.standalone.json +0 -32
  406. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.d.ts +0 -9
  407. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.js +0 -330
  408. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.d.ts +0 -9
  409. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.js +0 -197
  410. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json-module.js +0 -38
  411. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json.js +0 -8
  412. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto.js +0 -326
  413. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto2.js +0 -10
  414. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto3.js +0 -10
  415. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static-module.js +0 -29
  416. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static.js +0 -711
  417. package/dist/dashboard-runtime/node_modules/protobufjs/cli/util.js +0 -183
  418. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/amd.js +0 -7
  419. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/closure.js +0 -7
  420. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/commonjs.js +0 -7
  421. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/default.js +0 -15
  422. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/es6.js +0 -5
  423. package/dist/dashboard-runtime/node_modules/protobufjs/dist/README.md +0 -31
  424. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/README.md +0 -31
  425. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js +0 -7326
  426. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
  427. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
  428. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
  429. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/README.md +0 -31
  430. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2714
  431. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
  432. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
  433. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
  434. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js +0 -8968
  435. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js.map +0 -1
  436. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js +0 -8
  437. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
  438. package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/README.md +0 -4
  439. package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/index.js +0 -71
  440. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/README.md +0 -72
  441. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
  442. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
  443. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/test.js +0 -54
  444. package/dist/dashboard-runtime/node_modules/protobufjs/google/LICENSE +0 -27
  445. package/dist/dashboard-runtime/node_modules/protobufjs/google/README.md +0 -1
  446. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.json +0 -83
  447. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.proto +0 -11
  448. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.json +0 -86
  449. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.proto +0 -31
  450. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.json +0 -118
  451. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.proto +0 -34
  452. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
  453. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -286
  454. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  455. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
  456. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.json +0 -202
  457. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.proto +0 -89
  458. package/dist/dashboard-runtime/node_modules/protobufjs/index.d.ts +0 -2739
  459. package/dist/dashboard-runtime/node_modules/protobufjs/index.js +0 -4
  460. package/dist/dashboard-runtime/node_modules/protobufjs/light.d.ts +0 -2
  461. package/dist/dashboard-runtime/node_modules/protobufjs/light.js +0 -4
  462. package/dist/dashboard-runtime/node_modules/protobufjs/minimal.d.ts +0 -2
  463. package/dist/dashboard-runtime/node_modules/protobufjs/minimal.js +0 -4
  464. package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbjs +0 -16
  465. package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbts +0 -16
  466. package/dist/dashboard-runtime/node_modules/protobufjs/package.json +0 -122
  467. package/dist/dashboard-runtime/node_modules/protobufjs/scripts/postinstall.js +0 -35
  468. package/dist/dashboard-runtime/node_modules/protobufjs/src/common.js +0 -399
  469. package/dist/dashboard-runtime/node_modules/protobufjs/src/converter.js +0 -293
  470. package/dist/dashboard-runtime/node_modules/protobufjs/src/decoder.js +0 -128
  471. package/dist/dashboard-runtime/node_modules/protobufjs/src/encoder.js +0 -100
  472. package/dist/dashboard-runtime/node_modules/protobufjs/src/enum.js +0 -181
  473. package/dist/dashboard-runtime/node_modules/protobufjs/src/field.js +0 -374
  474. package/dist/dashboard-runtime/node_modules/protobufjs/src/index-light.js +0 -104
  475. package/dist/dashboard-runtime/node_modules/protobufjs/src/index-minimal.js +0 -36
  476. package/dist/dashboard-runtime/node_modules/protobufjs/src/index.js +0 -12
  477. package/dist/dashboard-runtime/node_modules/protobufjs/src/mapfield.js +0 -126
  478. package/dist/dashboard-runtime/node_modules/protobufjs/src/message.js +0 -139
  479. package/dist/dashboard-runtime/node_modules/protobufjs/src/method.js +0 -160
  480. package/dist/dashboard-runtime/node_modules/protobufjs/src/namespace.js +0 -434
  481. package/dist/dashboard-runtime/node_modules/protobufjs/src/object.js +0 -243
  482. package/dist/dashboard-runtime/node_modules/protobufjs/src/oneof.js +0 -203
  483. package/dist/dashboard-runtime/node_modules/protobufjs/src/parse.js +0 -820
  484. package/dist/dashboard-runtime/node_modules/protobufjs/src/reader.js +0 -411
  485. package/dist/dashboard-runtime/node_modules/protobufjs/src/reader_buffer.js +0 -51
  486. package/dist/dashboard-runtime/node_modules/protobufjs/src/root.js +0 -363
  487. package/dist/dashboard-runtime/node_modules/protobufjs/src/roots.js +0 -18
  488. package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc/service.js +0 -142
  489. package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc.js +0 -36
  490. package/dist/dashboard-runtime/node_modules/protobufjs/src/service.js +0 -167
  491. package/dist/dashboard-runtime/node_modules/protobufjs/src/tokenize.js +0 -403
  492. package/dist/dashboard-runtime/node_modules/protobufjs/src/type.js +0 -589
  493. package/dist/dashboard-runtime/node_modules/protobufjs/src/types.js +0 -196
  494. package/dist/dashboard-runtime/node_modules/protobufjs/src/typescript.jsdoc +0 -15
  495. package/dist/dashboard-runtime/node_modules/protobufjs/src/util/longbits.js +0 -200
  496. package/dist/dashboard-runtime/node_modules/protobufjs/src/util/minimal.js +0 -421
  497. package/dist/dashboard-runtime/node_modules/protobufjs/src/util.js +0 -212
  498. package/dist/dashboard-runtime/node_modules/protobufjs/src/verifier.js +0 -177
  499. package/dist/dashboard-runtime/node_modules/protobufjs/src/wrappers.js +0 -102
  500. package/dist/dashboard-runtime/node_modules/protobufjs/src/writer.js +0 -465
  501. package/dist/dashboard-runtime/node_modules/protobufjs/src/writer_buffer.js +0 -85
  502. package/dist/dashboard-runtime/node_modules/protobufjs/tsconfig.json +0 -7
  503. package/dist/dashboard-runtime/node_modules/tablestore/index.js +0 -2
  504. package/dist/dashboard-runtime/node_modules/tablestore/lib/client.js +0 -672
  505. package/dist/dashboard-runtime/node_modules/tablestore/lib/config.js +0 -70
  506. package/dist/dashboard-runtime/node_modules/tablestore/lib/core.js +0 -30
  507. package/dist/dashboard-runtime/node_modules/tablestore/lib/event_listeners.js +0 -199
  508. package/dist/dashboard-runtime/node_modules/tablestore/lib/filter.js +0 -204
  509. package/dist/dashboard-runtime/node_modules/tablestore/lib/http/node.js +0 -146
  510. package/dist/dashboard-runtime/node_modules/tablestore/lib/http/xhr.js +0 -113
  511. package/dist/dashboard-runtime/node_modules/tablestore/lib/http.js +0 -81
  512. package/dist/dashboard-runtime/node_modules/tablestore/lib/long.js +0 -21
  513. package/dist/dashboard-runtime/node_modules/tablestore/lib/metadata.js +0 -65
  514. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/build_proto.sh +0 -4
  515. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/decoder.js +0 -677
  516. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/encoder.js +0 -1593
  517. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_coded_stream.js +0 -631
  518. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_consts.js +0 -44
  519. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_crc8.js +0 -79
  520. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_stream.js +0 -209
  521. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plian_buffer_builder.js +0 -252
  522. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql.fbs +0 -36
  523. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql_generated.js +0 -961
  524. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore.proto +0 -676
  525. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_compiled_proto.js +0 -54728
  526. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_filter.proto +0 -45
  527. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_search.proto +0 -1010
  528. package/dist/dashboard-runtime/node_modules/tablestore/lib/request.js +0 -235
  529. package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/default_retry_policy.js +0 -74
  530. package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/retry_util.js +0 -94
  531. package/dist/dashboard-runtime/node_modules/tablestore/lib/search.js +0 -209
  532. package/dist/dashboard-runtime/node_modules/tablestore/lib/sequential_executor.js +0 -240
  533. package/dist/dashboard-runtime/node_modules/tablestore/lib/signer.js +0 -70
  534. package/dist/dashboard-runtime/node_modules/tablestore/lib/sql.js +0 -111
  535. package/dist/dashboard-runtime/node_modules/tablestore/lib/util-browser.js +0 -756
  536. package/dist/dashboard-runtime/node_modules/tablestore/lib/util.js +0 -602
  537. package/dist/dashboard-runtime/node_modules/tablestore/package.json +0 -39
  538. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  539. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  540. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  541. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  542. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/build-manifest.json +0 -0
  543. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/react-loadable-manifest.json +0 -0
  544. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/server-reference-manifest.json +0 -0
  545. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.map +0 -0
  546. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_buildManifest.js +0 -0
  547. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_clientMiddlewareManifest.js +0 -0
  548. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → bJGjoMHOZZB7Z_j4dpYws}/_ssgManifest.js +0 -0
@@ -1,79 +0,0 @@
1
- var TableStore = require('../core');
2
- var Buffer = TableStore.util.Buffer;
3
-
4
- var CRC8_TABLE =
5
- [0x00, 0x07, 0x0e, 0x09, 0x1c, 0x1b, 0x12, 0x15,
6
- 0x38, 0x3f, 0x36, 0x31, 0x24, 0x23, 0x2a, 0x2d,
7
- 0x70, 0x77, 0x7e, 0x79, 0x6c, 0x6b, 0x62, 0x65,
8
- 0x48, 0x4f, 0x46, 0x41, 0x54, 0x53, 0x5a, 0x5d,
9
- 0xe0, 0xe7, 0xee, 0xe9, 0xfc, 0xfb, 0xf2, 0xf5,
10
- 0xd8, 0xdf, 0xd6, 0xd1, 0xc4, 0xc3, 0xca, 0xcd,
11
- 0x90, 0x97, 0x9e, 0x99, 0x8c, 0x8b, 0x82, 0x85,
12
- 0xa8, 0xaf, 0xa6, 0xa1, 0xb4, 0xb3, 0xba, 0xbd,
13
- 0xc7, 0xc0, 0xc9, 0xce, 0xdb, 0xdc, 0xd5, 0xd2,
14
- 0xff, 0xf8, 0xf1, 0xf6, 0xe3, 0xe4, 0xed, 0xea,
15
- 0xb7, 0xb0, 0xb9, 0xbe, 0xab, 0xac, 0xa5, 0xa2,
16
- 0x8f, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9d, 0x9a,
17
- 0x27, 0x20, 0x29, 0x2e, 0x3b, 0x3c, 0x35, 0x32,
18
- 0x1f, 0x18, 0x11, 0x16, 0x03, 0x04, 0x0d, 0x0a,
19
- 0x57, 0x50, 0x59, 0x5e, 0x4b, 0x4c, 0x45, 0x42,
20
- 0x6f, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7d, 0x7a,
21
- 0x89, 0x8e, 0x87, 0x80, 0x95, 0x92, 0x9b, 0x9c,
22
- 0xb1, 0xb6, 0xbf, 0xb8, 0xad, 0xaa, 0xa3, 0xa4,
23
- 0xf9, 0xfe, 0xf7, 0xf0, 0xe5, 0xe2, 0xeb, 0xec,
24
- 0xc1, 0xc6, 0xcf, 0xc8, 0xdd, 0xda, 0xd3, 0xd4,
25
- 0x69, 0x6e, 0x67, 0x60, 0x75, 0x72, 0x7b, 0x7c,
26
- 0x51, 0x56, 0x5f, 0x58, 0x4d, 0x4a, 0x43, 0x44,
27
- 0x19, 0x1e, 0x17, 0x10, 0x05, 0x02, 0x0b, 0x0c,
28
- 0x21, 0x26, 0x2f, 0x28, 0x3d, 0x3a, 0x33, 0x34,
29
- 0x4e, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5c, 0x5b,
30
- 0x76, 0x71, 0x78, 0x7f, 0x6a, 0x6d, 0x64, 0x63,
31
- 0x3e, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2c, 0x2b,
32
- 0x06, 0x01, 0x08, 0x0f, 0x1a, 0x1d, 0x14, 0x13,
33
- 0xae, 0xa9, 0xa0, 0xa7, 0xb2, 0xb5, 0xbc, 0xbb,
34
- 0x96, 0x91, 0x98, 0x9f, 0x8a, 0x8d, 0x84, 0x83,
35
- 0xde, 0xd9, 0xd0, 0xd7, 0xc2, 0xc5, 0xcc, 0xcb,
36
- 0xe6, 0xe1, 0xe8, 0xef, 0xfa, 0xfd, 0xf4, 0xf3];
37
-
38
-
39
- TableStore.plainBufferCrc8 = {
40
-
41
- update: function (crc, bytes_) {
42
- return TableStore.plainBufferCrc8._update(crc, bytes_);
43
- },
44
- _update: function (crc, bytes_) {
45
- var bytesBuffer = new Buffer(bytes_);
46
- for (var i = 0; i < bytesBuffer.length; i++) {
47
- crc = CRC8_TABLE[((crc & 0xff) ^ bytesBuffer[i])];
48
- }
49
- return crc
50
- },
51
-
52
- crcString: function (crc, bytes_) {
53
- return this.update(crc, bytes_);
54
- },
55
-
56
- crcInt8: function (crc, byte_) {
57
- return CRC8_TABLE[((crc & 0xff) ^ byte_)];
58
- },
59
-
60
- crcInt32: function (crc, byte_) {
61
- for (var i = 0; i < 4; i++) {
62
- crc = this.crcInt8(crc, (byte_ >> (i * 8)) & 0xff);
63
- }
64
- return crc;
65
- },
66
-
67
- crcInt64Buf: function (crc, bufs) {
68
- crc = this.crcInt8(crc, bufs[0] & 0xFF);
69
- crc = this.crcInt8(crc, bufs[1] & 0xFF);
70
- crc = this.crcInt8(crc, bufs[2] & 0xFF);
71
- crc = this.crcInt8(crc, bufs[3] & 0xFF);
72
- crc = this.crcInt8(crc, bufs[4] & 0xFF);
73
- crc = this.crcInt8(crc, bufs[5] & 0xFF);
74
- crc = this.crcInt8(crc, bufs[6] & 0xFF);
75
- crc = this.crcInt8(crc, bufs[7] & 0xFF);
76
-
77
- return crc;
78
- }
79
- };
@@ -1,209 +0,0 @@
1
- var TableStore = require('../core');
2
- var int64buffer = require("int64-buffer");
3
- var Buffer = TableStore.util.Buffer;
4
- var inherit = TableStore.util.inherit;
5
-
6
-
7
- TableStore.PlainBufferInputStream = inherit({
8
- constructor: function (dataBuffer) {
9
- if (!TableStore.util.Buffer.isBuffer(dataBuffer.buffer)) {
10
- this.buffer = new TableStore.util.Buffer(dataBuffer.buffer);
11
- } else {
12
- this.buffer = dataBuffer.buffer;
13
- }
14
- this.bufferLimit = dataBuffer.limit;
15
- this.curPos = dataBuffer.offset;
16
- this.lastTag = 0;
17
- },
18
-
19
- isAtEnd: function () {
20
- return this.bufferLimit === this.curPos;
21
- },
22
-
23
- readTag: function () {
24
- if (this.isAtEnd()) {
25
- this.lastTag = 0;
26
- return 0;
27
- }
28
-
29
- this.lastTag = this.readRawByte();
30
- return this.lastTag;
31
- },
32
-
33
- checkLastTagWas: function (tag) {
34
- return this.lastTag === tag;
35
- },
36
-
37
- getLastTag: function () {
38
- return this.lastTag;
39
- },
40
-
41
- readRawByte: function () {
42
- if (this.isAtEnd()) {
43
- throw new Error('Read raw byte encountered EOF.');
44
- }
45
- var pos = this.curPos;
46
- this.curPos += 1;
47
- return this.buffer[pos];
48
- },
49
-
50
- readRawLittleEndian64: function () {
51
- var b1 = this.readRawByte();
52
- var b2 = this.readRawByte();
53
- var b3 = this.readRawByte();
54
- var b4 = this.readRawByte();
55
- var b5 = this.readRawByte();
56
- var b6 = this.readRawByte();
57
- var b7 = this.readRawByte();
58
- var b8 = this.readRawByte();
59
-
60
- var buf = new Buffer([b1, b2, b3, b4, b5, b6, b7, b8]);
61
- return buf;
62
- },
63
-
64
- readRawLittleEndian32: function () {
65
- var b1 = this.readRawByte();
66
- var b2 = this.readRawByte();
67
- var b3 = this.readRawByte();
68
- var b4 = this.readRawByte();
69
- return (((b1) & 0xff)) | (((b2) & 0xff) << 8) | (((b3) & 0xff) << 16) | (((b4) & 0xff) << 24);
70
- },
71
-
72
- readBoolean: function () {
73
- return this.readRawByte() != 0;
74
- },
75
-
76
- readDoubleAndInt64: function () {
77
- var buf = this.readRawLittleEndian64();
78
- var doubleVal = buf.readDoubleLE(0);
79
- var int64LE = new int64buffer.Int64LE(buf);
80
-
81
- return { doubleVal: doubleVal, int64LE: int64LE };
82
- },
83
-
84
- readInt32: function () {
85
- return this.readRawLittleEndian32();
86
- },
87
-
88
- readInt64: function () {
89
- var buf = this.readRawLittleEndian64();
90
- //https://www.npmjs.com/package/int64-buffer
91
- var int64LE = new int64buffer.Int64LE(buf);
92
- return int64LE;
93
- },
94
-
95
- readBytes: function (size) {
96
- if (this.buffer.length - this.curPos < size) {
97
- throw new Error('Read bytes encountered EOF.');
98
- }
99
-
100
- var start = this.curPos;
101
- this.curPos += size;
102
- var rtBuffer = new Buffer(size);
103
- this.buffer.copy(rtBuffer, 0, start, this.curPos);
104
- return rtBuffer;
105
- },
106
-
107
- readUtfString: function (size) {
108
- if (this.buffer.length - this.curPos < size) {
109
- throw new Error('Read UTF string encountered EOF.');
110
- }
111
- var utf_str = this.buffer.toString('utf8', this.curPos, this.curPos + size);
112
- this.curPos += size;
113
- return utf_str;
114
- }
115
-
116
- });
117
-
118
- TableStore.PlainBufferOutputStream = inherit({
119
- constructor: function (capacity) {
120
- this.buffer = new Buffer(capacity);
121
- this.buffer.fill(0);
122
- this.capacity = capacity;
123
- this.pos = 0;
124
- },
125
-
126
- getBuffer: function () {
127
- return this.buffer;
128
- },
129
-
130
- isFull: function () {
131
- return this.pos === this.capacity;
132
- },
133
-
134
- count: function () {
135
- return this.pos;
136
- },
137
-
138
- remain: function () {
139
- return this.capacity - this.pos;
140
- },
141
-
142
- clear: function () {
143
- this.pos = 0;
144
- this.buffer = [];
145
- },
146
-
147
- writeRawByte: function (value) {
148
- if (this.isFull()) {
149
- throw new Error('The buffer is full');
150
- }
151
- this.buffer[this.pos++] = value;
152
- },
153
-
154
- writeRawLittleEndian32: function (value) {
155
- this.writeRawByte((value) & 0xFF);
156
- this.writeRawByte((value >> 8) & 0xFF);
157
- this.writeRawByte((value >> 16) & 0xFF);
158
- this.writeRawByte((value >> 24) & 0xFF);
159
- },
160
-
161
- writeRawLittleEndian64: function (buf) {
162
- for (var i = 0; i < buf.length; i++) {
163
- var number = buf[i] > 127 ? buf[i] - 256 : buf[i];
164
- this.writeRawByte(number & 0xFF);
165
- }
166
- },
167
-
168
- writeInt64LE: function (int64LE) {
169
- var buf = int64LE.toBuffer();
170
- this.writeRawLittleEndian64(buf);
171
- },
172
-
173
- writeDouble: function (value) {
174
- var buf = TableStore.util.Int64.doubleToRawLongBits(value);
175
- this.writeRawLittleEndian64(buf.toBuffer());
176
- },
177
-
178
- writeBoolean: function (value) {
179
- if (value) {
180
- this.writeRawByte(1);
181
- } else {
182
- this.writeRawByte(0);
183
- }
184
- },
185
-
186
- writeBytes: function (value) {
187
- var bytes = null;
188
- if (value instanceof Buffer) {
189
- bytes = value;
190
- } else if (typeof (value) === 'string') {
191
- bytes = new Buffer(value);
192
- }
193
-
194
- if (this.pos + bytes.length > this.capacity) {
195
- throw Error('The buffer is full.');
196
- }
197
-
198
- if (value instanceof Buffer) {
199
- value.copy(this.buffer, this.pos);
200
- } else if (typeof (value) === 'string') {
201
- this.buffer.write(value, this.pos);
202
- } else {
203
- throw new Error('expect Buffer or string,but it was:' + typeof (value));
204
- }
205
-
206
- this.pos += bytes.length;
207
- }
208
- });
209
-
@@ -1,252 +0,0 @@
1
- var TableStore = require('../core');
2
- var Int64buf = require("int64-buffer");
3
-
4
- TableStore.PlainBufferBuilder = {
5
- computePrimaryKeyValueSize: function (value) {
6
- var size = 1; // # TAG_CELL_VALUE
7
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE + 1; // length + type
8
-
9
- if ((value === TableStore.INF_MIN) || (value === TableStore.INF_MAX) || (value === TableStore.PK_AUTO_INCR)) {
10
- size += 1;
11
- return size;
12
- }
13
- if (value instanceof Int64buf.Int64LE) {
14
- size += 8;
15
- } else if (typeof (value) === 'string') {
16
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
17
- size += TableStore.util.string.byteLength(value);
18
- } else if (value instanceof Buffer) {
19
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
20
- size += value.length;
21
- } else {
22
- throw new Error("Unsupported primary key type:" + typeof (value));
23
- }
24
- return size;
25
- },
26
-
27
- computeVariantValueSize: function (value) {
28
- return this.computePrimaryKeyValueSize(value) - TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE - 1;
29
- },
30
-
31
- computePrimaryKeyColumnSize: function (pk_name, pk_value) {
32
- var size = 1;
33
- size += 1 + TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
34
- size += pk_name.length;
35
- size += this.computePrimaryKeyValueSize(pk_value);
36
- size += 2;
37
- return size;
38
- },
39
-
40
- computeColumnValueSize: function (value) {
41
- var size = 1
42
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE + 1;
43
-
44
- if (typeof (value) === 'number') {
45
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_64_SIZE;
46
- } else if (typeof (value) === 'string') {
47
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
48
- size += TableStore.util.string.byteLength(value);
49
- } else if (value instanceof Buffer) {
50
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
51
- size += value.length;
52
- } else if (typeof (value) === 'boolean') {
53
- size += 1;
54
- } else if (value instanceof Int64buf.Int64LE) {
55
- size += TableStore.plainBufferConsts.LITTLE_ENDIAN_64_SIZE;
56
- } else {
57
- throw new Error("Unsupported column type: " + typeof (value));
58
- }
59
- return size;
60
- },
61
-
62
- computeVariantValueSize: function (columnValue) {
63
- return this.computeColumnValueSize(columnValue) - TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE - 1;
64
- },
65
-
66
- computeColumnSize: function (columnName, columnValue, timestamp) {
67
- var size = 1;
68
- size += 1 + TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
69
- size += TableStore.util.string.byteLength(columnName);
70
- if (columnValue !== null) {
71
- size += this.computeColumnValueSize(columnValue);
72
- }
73
- if (timestamp !== undefined) {
74
- size += 1 + TableStore.plainBufferConsts.LITTLE_ENDIAN_64_SIZE;
75
- }
76
- size += 2;
77
- return size;
78
- },
79
-
80
- computeUpdateColumnSize: function (columnName, columnValue, updateType) {
81
- var size = this.computeColumnSize(columnName, columnValue);
82
- if (updateType === TableStore.UpdateType.DELETE
83
- || updateType === TableStore.UpdateType.DELETE_ALL
84
- || updateType === TableStore.UpdateType.INCREMENT
85
- ) {
86
- size += 2;
87
- }
88
- return size;
89
- },
90
-
91
- computePrimaryKeySize: function (primaryKeys) {
92
- var size = 1;
93
- for (var i = 0; i < primaryKeys.length; i++) {
94
- for (key in primaryKeys[i]) {
95
- size += this.computePrimaryKeyColumnSize(key, primaryKeys[i][key]);
96
- }
97
- }
98
- return size;
99
- },
100
-
101
- computePutRowSize: function (primaryKey, attributeColumns) {
102
- var size = TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
103
- size += this.computePrimaryKeySize(primaryKey);
104
- if (attributeColumns && attributeColumns.length != 0) {
105
- size += 1;
106
- for (var i = 0; i < attributeColumns.length; i++) {
107
- if (attributeColumns[i].timestamp === undefined) {
108
- for (var k in attributeColumns[i]) {
109
- size += this.computeColumnSize(k, attributeColumns[i][k]);
110
- }
111
- } else {
112
- for (var k in attributeColumns[i]) {
113
- size += this.computeColumnSize(k, attributeColumns[i][k], attributeColumns[i].timestamp);
114
- break;//注意 break不能省略
115
- }
116
- }
117
- }
118
- }
119
- size += 2;
120
- return size;
121
- },
122
-
123
- computeUpdateRowSize: function (primaryKey, attributeColumns) {
124
- var size = TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
125
- size += this.computePrimaryKeySize(primaryKey);
126
-
127
- if (attributeColumns.length != 0) {
128
- size += 1;
129
-
130
- for (var i = 0; i < attributeColumns.length; i++) {
131
- for (var updateType in attributeColumns[i]) {
132
- var columns = attributeColumns[i][updateType];
133
- if (!columns instanceof Array) {
134
- throw new Error("Unsupported column type:" + typeof (columns));
135
- }
136
- for (var obj in columns) {
137
- if (updateType === TableStore.UpdateType.DELETE_ALL) {
138
- size += this.computeUpdateColumnSize(columns[obj], null, updateType);
139
- } else if (
140
- updateType === TableStore.UpdateType.PUT
141
- || updateType === TableStore.UpdateType.DELETE
142
- || updateType === TableStore.UpdateType.INCREMENT
143
- ) {
144
- for (var o in columns[obj]) {
145
- size += this.computeUpdateColumnSize(o, columns[obj][o], updateType);
146
- }
147
- } else {
148
- throw new Error('Expect TableStore.UpdateType but it was:' + updateType);
149
- }
150
- }
151
- break;
152
- }
153
- }
154
- }
155
- size += 2;
156
- return size;
157
- },
158
-
159
- computeDeleteRowSize: function (primaryKey) {
160
- size = TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE
161
- size += this.computePrimaryKeySize(primaryKey)
162
- size += 3
163
- return size
164
- },
165
-
166
- serializePrimaryKeyValue: function (value) {
167
- var bufSize = this.computeVariantValueSize(value);
168
- var stream = new TableStore.PlainBufferOutputStream(bufSize);
169
- var coded_stream = new TableStore.PlainBufferCodedOutputStream(stream);
170
-
171
- coded_stream.writePrimaryKeyValue(value);
172
- return stream.getBuffer();
173
- },
174
-
175
- serializeColumnValue: function (value) {
176
- var bufSize = this.computeVariantValueSize(value);
177
- var stream = new TableStore.PlainBufferOutputStream(bufSize);
178
- var coded_stream = new TableStore.PlainBufferCodedOutputStream(stream);
179
-
180
- coded_stream.writeColumnValue(value);
181
- return stream.getBuffer();
182
- },
183
-
184
- serializePrimaryKey: function (primaryKey) {
185
- var bufSize = TableStore.plainBufferConsts.LITTLE_ENDIAN_32_SIZE;
186
- bufSize += this.computePrimaryKeySize(primaryKey);
187
- bufSize += 2;
188
-
189
- var outputStream = new TableStore.PlainBufferOutputStream(bufSize);
190
- var codedOutputStream = new TableStore.PlainBufferCodedOutputStream(outputStream);
191
-
192
- var rowCheckSum = 0;
193
- codedOutputStream.writeHeader();
194
-
195
- rowCheckSum = codedOutputStream.writePrimaryKey(primaryKey, rowCheckSum);
196
- rowCheckSum = TableStore.plainBufferCrc8.crcInt8(rowCheckSum, 0);
197
- codedOutputStream.writeRowChecksum(rowCheckSum);
198
- return outputStream.getBuffer();
199
- },
200
-
201
- serializeForPutRow: function (primaryKey, attributeColumns) {
202
- var bufSize = this.computePutRowSize(primaryKey, attributeColumns);
203
- var outputStream = new TableStore.PlainBufferOutputStream(bufSize);
204
- var codedOutputStream = new TableStore.PlainBufferCodedOutputStream(outputStream);
205
-
206
- var rowCheckSum = 0;
207
- codedOutputStream.writeHeader();
208
- rowCheckSum = codedOutputStream.writePrimaryKey(primaryKey, rowCheckSum);
209
- rowCheckSum = codedOutputStream.writeColumns(attributeColumns, rowCheckSum);
210
- rowCheckSum = TableStore.plainBufferCrc8.crcInt8(rowCheckSum, 0);
211
- codedOutputStream.writeRowChecksum(rowCheckSum);
212
- return outputStream.getBuffer();
213
- },
214
-
215
- serializeForUpdateRow: function (primaryKey, attributeColumns) {
216
- var bufSize = this.computeUpdateRowSize(primaryKey, attributeColumns);
217
- var outputStream = new TableStore.PlainBufferOutputStream(bufSize);
218
- var codedOutputStream = new TableStore.PlainBufferCodedOutputStream(outputStream);
219
-
220
- var rowCheckSum = 0;
221
- codedOutputStream.writeHeader();
222
- rowCheckSum = codedOutputStream.writePrimaryKey(primaryKey, rowCheckSum);
223
- rowCheckSum = codedOutputStream.writeUpdateColumns(attributeColumns, rowCheckSum);
224
- rowCheckSum = TableStore.plainBufferCrc8.crcInt8(rowCheckSum, 0);
225
- codedOutputStream.writeRowChecksum(rowCheckSum);
226
- return outputStream.getBuffer();
227
- },
228
-
229
- serializeForDeleteRow: function (primaryKey) {
230
- var bufSize = this.computeDeleteRowSize(primaryKey);
231
- var outputStream = new TableStore.PlainBufferOutputStream(bufSize);
232
- var codedOutputStream = new TableStore.PlainBufferCodedOutputStream(outputStream);
233
-
234
- var rowCheckSum = 0;
235
- codedOutputStream.writeHeader();
236
- rowCheckSum = codedOutputStream.writePrimaryKey(primaryKey, rowCheckSum);
237
- rowCheckSum = codedOutputStream.writeDeleteMarker(rowCheckSum);
238
- codedOutputStream.writeRowChecksum(rowCheckSum);
239
- return outputStream.getBuffer();
240
- },
241
- serializeSearchValue: function (value, field) {
242
- if (value === undefined || value === null) {
243
- throw new Error('Expect [' + field + '] but it was: ' + value);
244
- }
245
- var bufSize = this.computeVariantValueSize(value);
246
- var stream = new TableStore.PlainBufferOutputStream(bufSize);
247
- var coded_stream = new TableStore.PlainBufferCodedOutputStream(stream);
248
-
249
- coded_stream.writeSearchValue(value);
250
- return stream.getBuffer();
251
- },
252
- };
@@ -1,36 +0,0 @@
1
- enum DataType:byte {NONE = 0, LONG = 1, BOOLEAN = 2, DOUBLE = 3, STRING = 4, BINARY = 5, STRING_RLE = 6}
2
-
3
- table BytesValue {
4
- value: [byte];
5
- }
6
-
7
- // rle(run-length encoding) format, [a, a, a, b, c, d, a, a] would encode as
8
- // array: [a, b, c, d, a]
9
- // index_mapping: [0, 0, 0, 1, 2, 3, 4, 4]
10
- table RLEStringValues {
11
- array: [string];
12
- index_mapping: [int32];
13
- }
14
-
15
- table ColumnValues {
16
- is_nullvalues: [bool];
17
- long_values: [long];
18
- bool_values: [bool];
19
- double_values: [double];
20
- string_values: [string];
21
- binary_values: [BytesValue];
22
- rle_string_values: RLEStringValues;
23
- }
24
-
25
- table SQLResponseColumn {
26
- column_name: string;
27
- column_type: DataType;
28
- column_value: ColumnValues;
29
- }
30
-
31
- table SQLResponseColumns{
32
- columns: [SQLResponseColumn];
33
- row_count: int64;
34
- }
35
-
36
- root_type SQLResponseColumns;