@tablestore/tablestore-agent-cli 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (549) 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 +27 -27
  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.html +1 -1
  40. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +1 -1
  41. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  42. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  43. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  44. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  45. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  46. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  47. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
  48. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
  49. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
  50. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
  51. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
  52. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
  53. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
  54. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
  55. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
  56. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
  57. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
  58. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
  59. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
  60. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
  61. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
  62. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
  63. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
  64. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
  65. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
  66. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
  67. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
  68. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
  69. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
  70. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
  71. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
  72. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
  73. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
  74. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
  75. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +1 -1
  76. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
  77. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
  78. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
  79. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
  80. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
  81. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
  82. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
  83. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
  84. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
  85. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
  86. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
  87. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
  88. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
  89. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
  90. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
  91. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
  92. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
  93. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
  94. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
  95. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
  96. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
  97. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
  98. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
  99. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.html +1 -2
  100. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.meta +2 -0
  101. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.rsc +24 -27
  102. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat/__PAGE__.segment.rsc +2 -2
  103. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk/chat.segment.rsc +2 -2
  104. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  105. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_full.segment.rsc +24 -27
  106. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_head.segment.rsc +1 -1
  107. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_index.segment.rsc +1 -1
  108. package/dist/dashboard-runtime/dashboard/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
  109. package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
  110. package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +1 -1
  111. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  112. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +1 -1
  113. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
  114. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +1 -1
  115. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  116. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.html +1 -2
  117. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.meta +2 -0
  118. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.rsc +24 -27
  119. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create/__PAGE__.segment.rsc +2 -2
  120. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base/create.segment.rsc +1 -1
  121. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +1 -1
  122. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  123. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_full.segment.rsc +24 -27
  124. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_head.segment.rsc +1 -1
  125. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_index.segment.rsc +1 -1
  126. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base/create.segments/_tree.segment.rsc +1 -1
  127. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.html +1 -2
  128. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.meta +2 -0
  129. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.rsc +23 -26
  130. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base/__PAGE__.segment.rsc +2 -2
  131. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk/knowledge-base.segment.rsc +1 -1
  132. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  133. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_full.segment.rsc +23 -26
  134. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_head.segment.rsc +1 -1
  135. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_index.segment.rsc +1 -1
  136. package/dist/dashboard-runtime/dashboard/.next/server/app/knowledge-base.segments/_tree.segment.rsc +1 -1
  137. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.html +1 -2
  138. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.meta +2 -0
  139. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.rsc +21 -25
  140. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new/__PAGE__.segment.rsc +2 -2
  141. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers/new.segment.rsc +1 -1
  142. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +2 -2
  143. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  144. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_full.segment.rsc +21 -25
  145. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_head.segment.rsc +1 -1
  146. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_index.segment.rsc +1 -1
  147. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers/new.segments/_tree.segment.rsc +1 -1
  148. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.html +1 -1
  149. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.meta +2 -0
  150. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.rsc +23 -27
  151. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers/__PAGE__.segment.rsc +2 -2
  152. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk/llm-providers.segment.rsc +2 -2
  153. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  154. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_full.segment.rsc +23 -27
  155. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_head.segment.rsc +1 -1
  156. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_index.segment.rsc +1 -1
  157. package/dist/dashboard-runtime/dashboard/.next/server/app/llm-providers.segments/_tree.segment.rsc +1 -1
  158. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.html +1 -2
  159. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.meta +2 -0
  160. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.rsc +26 -28
  161. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create/__PAGE__.segment.rsc +2 -2
  162. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory/create.segment.rsc +1 -1
  163. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +2 -2
  164. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  165. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_full.segment.rsc +26 -28
  166. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_head.segment.rsc +1 -1
  167. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_index.segment.rsc +1 -1
  168. package/dist/dashboard-runtime/dashboard/.next/server/app/memory/create.segments/_tree.segment.rsc +1 -1
  169. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.html +1 -2
  170. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.meta +2 -0
  171. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.rsc +24 -27
  172. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory/__PAGE__.segment.rsc +2 -2
  173. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +2 -2
  174. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -9
  175. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_full.segment.rsc +24 -27
  176. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_head.segment.rsc +1 -1
  177. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_index.segment.rsc +1 -1
  178. package/dist/dashboard-runtime/dashboard/.next/server/app/memory.segments/_tree.segment.rsc +1 -1
  179. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  180. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
  181. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +3 -3
  182. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +3 -3
  183. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
  184. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +1 -1
  185. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +1 -1
  186. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +2 -2
  187. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +2 -2
  188. package/dist/dashboard-runtime/dashboard/.next/server/app/projects.html +1 -0
  189. package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.meta → projects.meta} +5 -3
  190. package/dist/dashboard-runtime/dashboard/.next/server/app/projects.rsc +34 -0
  191. package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments/!KGRhc2hib2FyZCk/instances → projects.segments/!KGRhc2hib2FyZCk/projects}/__PAGE__.segment.rsc +2 -2
  192. package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments/!KGRhc2hib2FyZCk/instances.segment.rsc → projects.segments/!KGRhc2hib2FyZCk/projects.segment.rsc} +2 -2
  193. package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/!KGRhc2hib2FyZCk.segment.rsc +4 -0
  194. package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/_full.segment.rsc +34 -0
  195. package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments → projects.segments}/_head.segment.rsc +1 -1
  196. package/dist/dashboard-runtime/dashboard/.next/server/app/{instances.segments → projects.segments}/_index.segment.rsc +1 -1
  197. package/dist/dashboard-runtime/dashboard/.next/server/app/projects.segments/_tree.segment.rsc +3 -0
  198. package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +1 -1
  199. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0a7o_lg._.js → [root-of-the-server]__07jfil8._.js} +21 -16
  200. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0bfezi5._.js +1 -1
  201. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0vj8eh_._.js → [root-of-the-server]__0f990w9._.js} +21 -16
  202. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g9--xh._.js +1 -1
  203. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0r4amj5._.js +1 -1
  204. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12lk-nv._.js +1 -1
  205. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12sqoa8._.js +1 -1
  206. 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
  207. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0_bm190._.js → [root-of-the-server]__0ct6ysu._.js} +2 -2
  208. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0getqb1._.js → [root-of-the-server]__0k7~7-.._.js} +1 -1
  209. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0y8rrcu._.js +1 -1
  210. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.a5w1p._.js +1 -1
  211. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0476v7r._.js +3 -0
  212. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ce~2ba._.js +1 -1
  213. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0z0rlpq._.js +1 -1
  214. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +3 -0
  215. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_projects_page_actions_0b8.3qe.js +3 -0
  216. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +1 -1
  217. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0o4a.29._.js +1 -1
  218. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0suis9l._.js +6 -2
  219. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
  220. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
  221. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_error_tsx_0lm0vqh._.js +3 -0
  222. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_projects_loading_tsx_0c1mchn._.js +3 -0
  223. package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
  224. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
  225. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +1 -1
  226. package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
  227. package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
  228. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
  229. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
  230. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0-ps54o0cl-hh.js → 0-.-yvgh3s-60.js} +1 -1
  231. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0212ujx60nooy.js +1 -0
  232. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ja2he~jl53.n.js +1 -0
  233. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0s3mvx9_dr13c.js +1 -0
  234. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0g_uneyk~9dg0.js → 0sg6z8.ci0l2b.js} +1 -1
  235. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u-_fvx_r85sr.js +1 -0
  236. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~5hi.pq6~znn.js +1 -0
  237. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{13lz27klh_al4.js → 16lab3t3ovnyq.js} +1 -1
  238. package/dist/dashboard-runtime/dashboard/package.json +3 -1
  239. package/dist/dashboard-runtime/dashboard/server.js +1 -1
  240. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +2 -2
  241. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +62 -9
  242. package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
  243. package/dist/dashboard-runtime/dashboard/src/components/layout/breadcrumb-bar.tsx +1 -0
  244. package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +41 -8
  245. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +35 -3
  246. package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +32 -10
  247. package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +62 -16
  248. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
  249. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  250. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
  251. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  252. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
  253. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
  254. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
  255. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
  256. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
  257. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  258. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
  259. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  260. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  261. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
  262. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  263. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  264. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
  265. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  266. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
  267. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  268. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
  269. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  270. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
  271. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  272. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
  273. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  274. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  275. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
  276. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  277. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
  278. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  279. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  280. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +0 -1
  281. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  282. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +0 -1
  283. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  284. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts +17 -0
  285. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -0
  286. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +39 -0
  287. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -0
  288. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +33 -17
  289. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  290. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +159 -207
  291. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  292. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  293. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -1
  294. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  295. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  296. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +2 -1
  297. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  298. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +10 -6
  299. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  300. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +37 -42
  301. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  302. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts +5 -3
  303. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  304. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +92 -30
  305. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  306. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  307. package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +2 -2
  308. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  309. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +89 -11
  310. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  311. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  312. package/package.json +3 -3
  313. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/index.js +0 -2
  314. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/client.js +0 -672
  315. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/config.js +0 -70
  316. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/core.js +0 -30
  317. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/event_listeners.js +0 -199
  318. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/filter.js +0 -204
  319. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/node.js +0 -146
  320. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http/xhr.js +0 -113
  321. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/http.js +0 -81
  322. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/long.js +0 -21
  323. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/metadata.js +0 -65
  324. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/build_proto.sh +0 -4
  325. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/decoder.js +0 -677
  326. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/encoder.js +0 -1593
  327. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_coded_stream.js +0 -631
  328. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_consts.js +0 -44
  329. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_crc8.js +0 -79
  330. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plain_buffer_stream.js +0 -209
  331. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/plian_buffer_builder.js +0 -252
  332. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql.fbs +0 -36
  333. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/sql_generated.js +0 -961
  334. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore.proto +0 -676
  335. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_compiled_proto.js +0 -54728
  336. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_filter.proto +0 -45
  337. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/protocol/tablestore_search.proto +0 -1010
  338. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/request.js +0 -235
  339. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/default_retry_policy.js +0 -74
  340. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/retry/retry_util.js +0 -94
  341. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/search.js +0 -209
  342. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sequential_executor.js +0 -240
  343. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/signer.js +0 -70
  344. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/sql.js +0 -111
  345. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util-browser.js +0 -756
  346. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/lib/util.js +0 -602
  347. package/dist/dashboard-runtime/dashboard/.next/node_modules/tablestore-c965f3f5727f9a6d/package.json +0 -39
  348. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page/app-paths-manifest.json +0 -3
  349. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/instances/page_client-reference-manifest.js +0 -3
  350. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.html +0 -1
  351. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.rsc +0 -38
  352. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -11
  353. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_full.segment.rsc +0 -38
  354. package/dist/dashboard-runtime/dashboard/.next/server/app/instances.segments/_tree.segment.rsc +0 -3
  355. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hr5-78._.js +0 -3
  356. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0v1vjve._.js +0 -3
  357. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard__next-internal_server_app_(dashboard)_instances_page_actions_0h2z.wc.js +0 -3
  358. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_error_tsx_0n991op._.js +0 -3
  359. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_instances_loading_tsx_0vo~r9q._.js +0 -3
  360. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0--ug1fajm138.js +0 -1
  361. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0014~.2un25~~.js +0 -1
  362. package/dist/dashboard-runtime/dashboard/.next/static/chunks/067_.vm1v8kg3.js +0 -1
  363. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jw5s5e8qwbpx.js +0 -1
  364. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0l75a30.ubt1z.js +0 -1
  365. package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/index.js +0 -52
  366. package/dist/dashboard-runtime/node_modules/@protobufjs/aspromise/package.json +0 -21
  367. package/dist/dashboard-runtime/node_modules/@protobufjs/base64/index.js +0 -139
  368. package/dist/dashboard-runtime/node_modules/@protobufjs/base64/package.json +0 -21
  369. package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/index.js +0 -76
  370. package/dist/dashboard-runtime/node_modules/@protobufjs/eventemitter/package.json +0 -21
  371. package/dist/dashboard-runtime/node_modules/@protobufjs/float/index.js +0 -335
  372. package/dist/dashboard-runtime/node_modules/@protobufjs/float/package.json +0 -26
  373. package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/index.js +0 -17
  374. package/dist/dashboard-runtime/node_modules/@protobufjs/inquire/package.json +0 -21
  375. package/dist/dashboard-runtime/node_modules/@protobufjs/pool/index.js +0 -48
  376. package/dist/dashboard-runtime/node_modules/@protobufjs/pool/package.json +0 -21
  377. package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/index.js +0 -105
  378. package/dist/dashboard-runtime/node_modules/@protobufjs/utf8/package.json +0 -21
  379. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  380. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  381. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  382. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  383. package/dist/dashboard-runtime/node_modules/flatbuffers/LICENSE.txt +0 -202
  384. package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.js +0 -1259
  385. package/dist/dashboard-runtime/node_modules/flatbuffers/js/flatbuffers.mjs +0 -1259
  386. package/dist/dashboard-runtime/node_modules/flatbuffers/package.json +0 -34
  387. package/dist/dashboard-runtime/node_modules/flatbuffers/readme.md +0 -58
  388. package/dist/dashboard-runtime/node_modules/int64-buffer/int64-buffer.js +0 -293
  389. package/dist/dashboard-runtime/node_modules/int64-buffer/package.json +0 -57
  390. package/dist/dashboard-runtime/node_modules/protobufjs/LICENSE +0 -39
  391. package/dist/dashboard-runtime/node_modules/protobufjs/README.md +0 -905
  392. package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbjs +0 -6
  393. package/dist/dashboard-runtime/node_modules/protobufjs/bin/pbts +0 -6
  394. package/dist/dashboard-runtime/node_modules/protobufjs/cli/LICENSE +0 -33
  395. package/dist/dashboard-runtime/node_modules/protobufjs/cli/README.md +0 -174
  396. package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbjs +0 -6
  397. package/dist/dashboard-runtime/node_modules/protobufjs/cli/bin/pbts +0 -6
  398. package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.d.ts +0 -3
  399. package/dist/dashboard-runtime/node_modules/protobufjs/cli/index.js +0 -3
  400. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +0 -21
  401. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +0 -23
  402. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +0 -21
  403. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +0 -705
  404. package/dist/dashboard-runtime/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +0 -18
  405. package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.json +0 -10
  406. package/dist/dashboard-runtime/node_modules/protobufjs/cli/package.standalone.json +0 -32
  407. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.d.ts +0 -9
  408. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbjs.js +0 -330
  409. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.d.ts +0 -9
  410. package/dist/dashboard-runtime/node_modules/protobufjs/cli/pbts.js +0 -197
  411. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json-module.js +0 -38
  412. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/json.js +0 -8
  413. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto.js +0 -326
  414. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto2.js +0 -10
  415. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/proto3.js +0 -10
  416. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static-module.js +0 -29
  417. package/dist/dashboard-runtime/node_modules/protobufjs/cli/targets/static.js +0 -711
  418. package/dist/dashboard-runtime/node_modules/protobufjs/cli/util.js +0 -183
  419. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/amd.js +0 -7
  420. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/closure.js +0 -7
  421. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/commonjs.js +0 -7
  422. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/default.js +0 -15
  423. package/dist/dashboard-runtime/node_modules/protobufjs/cli/wrappers/es6.js +0 -5
  424. package/dist/dashboard-runtime/node_modules/protobufjs/dist/README.md +0 -31
  425. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/README.md +0 -31
  426. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js +0 -7326
  427. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
  428. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
  429. package/dist/dashboard-runtime/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
  430. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/README.md +0 -31
  431. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2714
  432. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
  433. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
  434. package/dist/dashboard-runtime/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
  435. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js +0 -8968
  436. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.js.map +0 -1
  437. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js +0 -8
  438. package/dist/dashboard-runtime/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
  439. package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/README.md +0 -4
  440. package/dist/dashboard-runtime/node_modules/protobufjs/ext/debug/index.js +0 -71
  441. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/README.md +0 -72
  442. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
  443. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/index.js +0 -1052
  444. package/dist/dashboard-runtime/node_modules/protobufjs/ext/descriptor/test.js +0 -54
  445. package/dist/dashboard-runtime/node_modules/protobufjs/google/LICENSE +0 -27
  446. package/dist/dashboard-runtime/node_modules/protobufjs/google/README.md +0 -1
  447. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.json +0 -83
  448. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/annotations.proto +0 -11
  449. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.json +0 -86
  450. package/dist/dashboard-runtime/node_modules/protobufjs/google/api/http.proto +0 -31
  451. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.json +0 -118
  452. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/api.proto +0 -34
  453. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.json +0 -739
  454. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -286
  455. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  456. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
  457. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.json +0 -202
  458. package/dist/dashboard-runtime/node_modules/protobufjs/google/protobuf/type.proto +0 -89
  459. package/dist/dashboard-runtime/node_modules/protobufjs/index.d.ts +0 -2739
  460. package/dist/dashboard-runtime/node_modules/protobufjs/index.js +0 -4
  461. package/dist/dashboard-runtime/node_modules/protobufjs/light.d.ts +0 -2
  462. package/dist/dashboard-runtime/node_modules/protobufjs/light.js +0 -4
  463. package/dist/dashboard-runtime/node_modules/protobufjs/minimal.d.ts +0 -2
  464. package/dist/dashboard-runtime/node_modules/protobufjs/minimal.js +0 -4
  465. package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbjs +0 -16
  466. package/dist/dashboard-runtime/node_modules/protobufjs/node_modules/.bin/pbts +0 -16
  467. package/dist/dashboard-runtime/node_modules/protobufjs/package.json +0 -122
  468. package/dist/dashboard-runtime/node_modules/protobufjs/scripts/postinstall.js +0 -35
  469. package/dist/dashboard-runtime/node_modules/protobufjs/src/common.js +0 -399
  470. package/dist/dashboard-runtime/node_modules/protobufjs/src/converter.js +0 -293
  471. package/dist/dashboard-runtime/node_modules/protobufjs/src/decoder.js +0 -128
  472. package/dist/dashboard-runtime/node_modules/protobufjs/src/encoder.js +0 -100
  473. package/dist/dashboard-runtime/node_modules/protobufjs/src/enum.js +0 -181
  474. package/dist/dashboard-runtime/node_modules/protobufjs/src/field.js +0 -374
  475. package/dist/dashboard-runtime/node_modules/protobufjs/src/index-light.js +0 -104
  476. package/dist/dashboard-runtime/node_modules/protobufjs/src/index-minimal.js +0 -36
  477. package/dist/dashboard-runtime/node_modules/protobufjs/src/index.js +0 -12
  478. package/dist/dashboard-runtime/node_modules/protobufjs/src/mapfield.js +0 -126
  479. package/dist/dashboard-runtime/node_modules/protobufjs/src/message.js +0 -139
  480. package/dist/dashboard-runtime/node_modules/protobufjs/src/method.js +0 -160
  481. package/dist/dashboard-runtime/node_modules/protobufjs/src/namespace.js +0 -434
  482. package/dist/dashboard-runtime/node_modules/protobufjs/src/object.js +0 -243
  483. package/dist/dashboard-runtime/node_modules/protobufjs/src/oneof.js +0 -203
  484. package/dist/dashboard-runtime/node_modules/protobufjs/src/parse.js +0 -820
  485. package/dist/dashboard-runtime/node_modules/protobufjs/src/reader.js +0 -411
  486. package/dist/dashboard-runtime/node_modules/protobufjs/src/reader_buffer.js +0 -51
  487. package/dist/dashboard-runtime/node_modules/protobufjs/src/root.js +0 -363
  488. package/dist/dashboard-runtime/node_modules/protobufjs/src/roots.js +0 -18
  489. package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc/service.js +0 -142
  490. package/dist/dashboard-runtime/node_modules/protobufjs/src/rpc.js +0 -36
  491. package/dist/dashboard-runtime/node_modules/protobufjs/src/service.js +0 -167
  492. package/dist/dashboard-runtime/node_modules/protobufjs/src/tokenize.js +0 -403
  493. package/dist/dashboard-runtime/node_modules/protobufjs/src/type.js +0 -589
  494. package/dist/dashboard-runtime/node_modules/protobufjs/src/types.js +0 -196
  495. package/dist/dashboard-runtime/node_modules/protobufjs/src/typescript.jsdoc +0 -15
  496. package/dist/dashboard-runtime/node_modules/protobufjs/src/util/longbits.js +0 -200
  497. package/dist/dashboard-runtime/node_modules/protobufjs/src/util/minimal.js +0 -421
  498. package/dist/dashboard-runtime/node_modules/protobufjs/src/util.js +0 -212
  499. package/dist/dashboard-runtime/node_modules/protobufjs/src/verifier.js +0 -177
  500. package/dist/dashboard-runtime/node_modules/protobufjs/src/wrappers.js +0 -102
  501. package/dist/dashboard-runtime/node_modules/protobufjs/src/writer.js +0 -465
  502. package/dist/dashboard-runtime/node_modules/protobufjs/src/writer_buffer.js +0 -85
  503. package/dist/dashboard-runtime/node_modules/protobufjs/tsconfig.json +0 -7
  504. package/dist/dashboard-runtime/node_modules/tablestore/index.js +0 -2
  505. package/dist/dashboard-runtime/node_modules/tablestore/lib/client.js +0 -672
  506. package/dist/dashboard-runtime/node_modules/tablestore/lib/config.js +0 -70
  507. package/dist/dashboard-runtime/node_modules/tablestore/lib/core.js +0 -30
  508. package/dist/dashboard-runtime/node_modules/tablestore/lib/event_listeners.js +0 -199
  509. package/dist/dashboard-runtime/node_modules/tablestore/lib/filter.js +0 -204
  510. package/dist/dashboard-runtime/node_modules/tablestore/lib/http/node.js +0 -146
  511. package/dist/dashboard-runtime/node_modules/tablestore/lib/http/xhr.js +0 -113
  512. package/dist/dashboard-runtime/node_modules/tablestore/lib/http.js +0 -81
  513. package/dist/dashboard-runtime/node_modules/tablestore/lib/long.js +0 -21
  514. package/dist/dashboard-runtime/node_modules/tablestore/lib/metadata.js +0 -65
  515. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/build_proto.sh +0 -4
  516. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/decoder.js +0 -677
  517. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/encoder.js +0 -1593
  518. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_coded_stream.js +0 -631
  519. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_consts.js +0 -44
  520. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_crc8.js +0 -79
  521. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plain_buffer_stream.js +0 -209
  522. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/plian_buffer_builder.js +0 -252
  523. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql.fbs +0 -36
  524. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/sql_generated.js +0 -961
  525. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore.proto +0 -676
  526. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_compiled_proto.js +0 -54728
  527. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_filter.proto +0 -45
  528. package/dist/dashboard-runtime/node_modules/tablestore/lib/protocol/tablestore_search.proto +0 -1010
  529. package/dist/dashboard-runtime/node_modules/tablestore/lib/request.js +0 -235
  530. package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/default_retry_policy.js +0 -74
  531. package/dist/dashboard-runtime/node_modules/tablestore/lib/retry/retry_util.js +0 -94
  532. package/dist/dashboard-runtime/node_modules/tablestore/lib/search.js +0 -209
  533. package/dist/dashboard-runtime/node_modules/tablestore/lib/sequential_executor.js +0 -240
  534. package/dist/dashboard-runtime/node_modules/tablestore/lib/signer.js +0 -70
  535. package/dist/dashboard-runtime/node_modules/tablestore/lib/sql.js +0 -111
  536. package/dist/dashboard-runtime/node_modules/tablestore/lib/util-browser.js +0 -756
  537. package/dist/dashboard-runtime/node_modules/tablestore/lib/util.js +0 -602
  538. package/dist/dashboard-runtime/node_modules/tablestore/package.json +0 -39
  539. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  540. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  541. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  542. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  543. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/build-manifest.json +0 -0
  544. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/react-loadable-manifest.json +0 -0
  545. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page/server-reference-manifest.json +0 -0
  546. /package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/{instances → projects}/page.js.map +0 -0
  547. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_buildManifest.js +0 -0
  548. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_clientMiddlewareManifest.js +0 -0
  549. /package/dist/dashboard-runtime/dashboard/.next/static/{w-uHfh2BKcsjuH1pgOcYM → 5v9SZKIfkbolPwH_qGQog}/_ssgManifest.js +0 -0
@@ -1,756 +0,0 @@
1
- /*global escape:true */
2
-
3
- var TableStore = require('./core');
4
- //var cryptoLib = require('crypto');
5
- var jsSHA = require('../bower_components/jsSHA/src/sha.js');
6
- var SparkMD5 = require('../bower_components/spark-md5/spark-md5.js');
7
- var int64buffer = require("int64-buffer");
8
-
9
- /* jshint -W079 */
10
- var Buffer = require('buffer/').Buffer;
11
- /* jshint +W079 */
12
-
13
- /**
14
- * A set of utility methods for use with the TableStore SDK.
15
- *
16
- * @!attribute abort
17
- * Return this value from an iterator function {each} or {arrayEach}
18
- * to break out of the iteration.
19
- * @example Breaking out of an iterator function
20
- * TableStore.util.each({a: 1, b: 2, c: 3}, function(key, value) {
21
- * if (key == 'b') return TableStore.util.abort;
22
- * });
23
- * @see each
24
- * @see arrayEach
25
- * @api private
26
- */
27
- TableStore.util = {
28
- engine: function engine() {
29
- if (TableStore.util.isBrowser() && typeof navigator !== 'undefined') {
30
- return navigator.userAgent;
31
- } else {
32
- return process.platform + '/' + process.version;
33
- }
34
- },
35
-
36
- userAgent: function userAgent() {
37
- // 在 浏览器中不能设置 ua
38
- return "";
39
- },
40
-
41
- isBrowser: function isBrowser() { return typeof window !== 'undefined'; },
42
- isNode: function isNode() { return !TableStore.util.isBrowser(); },
43
- nodeRequire: function nodeRequire(module) {
44
- if (TableStore.util.isNode()) return require(module);
45
- },
46
-
47
- // todo: atob, btoa
48
- hexToBase64: function (str) {
49
- return btoa(String.fromCharCode.apply(null,
50
- str.replace(/\r|\n/g, "").replace(/([\da-fA-F]{2}) ?/g, "0x$1 ").replace(/ +$/, "").split(" "))
51
- );
52
- },
53
-
54
- topEscape: function (clearString) {
55
- var output = '';
56
- var x = 0;
57
- clearString = clearString.toString();
58
- var regex = /(^[a-zA-Z0-9-_.~]*)/;
59
- while (x < clearString.length) {
60
- var match = regex.exec(clearString.substr(x));
61
- if (match != null && match.length > 1 && match[1] != '') {
62
- output += match[1];
63
- x += match[1].length;
64
- } else {
65
- if (clearString[x] == ' ')
66
- output += '%20';
67
- else {
68
- var charCode = clearString.charCodeAt(x);
69
- var hexVal = charCode.toString(16);
70
- output += '%' + (hexVal.length < 2 ? '0' : '') + hexVal.toUpperCase();
71
- }
72
- x++;
73
- }
74
- }
75
- return output;
76
- },
77
-
78
- popEscape: function (clearString) {
79
- clearString = clearString.toString();
80
- clearString = encodeURIComponent(clearString)
81
- .replace(/\!/gi, '%21')
82
- .replace(/\'/gi, '%27')
83
- .replace(/\(/gi, '%28')
84
- .replace(/\)/gi, '%29')
85
- .replace(/\*/gi, '%2A')
86
- return clearString;
87
- },
88
-
89
- opensearchEscape: function (clearString) {
90
- // http://v8.googlecode.com/svn/trunk/src/uri.js
91
- return encodeURIComponent(clearString)
92
- .replace(/\!/gi, '%21')
93
- .replace(/\'/gi, '%27')
94
- .replace(/\(/gi, '%28')
95
- .replace(/\)/gi, '%29')
96
- .replace(/\*/gi, '%2A')
97
- },
98
-
99
- uriEscape: function uriEscape(string) {
100
- /*jshint undef:false */
101
- var output = encodeURIComponent(string);
102
- output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
103
-
104
- // percent-encodes some extra non-standard characters in a URI
105
- output = output.replace(/[*]/g, function (ch) {
106
- return '%' + ch.charCodeAt(0).toString(16).toUpperCase();
107
- });
108
-
109
- return output;
110
- },
111
-
112
- uriEscapePath: function uriEscapePath(string) {
113
- var parts = [];
114
- TableStore.util.arrayEach(string.split('/'), function (part) {
115
- parts.push(TableStore.util.uriEscape(part));
116
- });
117
- return parts.join('/');
118
- },
119
-
120
- urlParse: function urlParse(url) {
121
- return require('url').parse(url);
122
- },
123
-
124
- urlFormat: function urlFormat(url) {
125
- return require('url').format(url);
126
- },
127
-
128
- uuid: function generateUUID() {
129
- var d = new Date().getTime();
130
- if (window.performance && typeof window.performance.now === "function") {
131
- d += performance.now(); //use high-precision timer if available
132
- }
133
- var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
134
- var r = (d + Math.random() * 16) % 16 | 0;
135
- d = Math.floor(d / 16);
136
- return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16);
137
- });
138
- return uuid;
139
- },
140
-
141
- queryParamsToString: function queryParamsToString(params) {
142
- var items = [];
143
- var escape = TableStore.util.uriEscape;
144
- var sortedKeys = Object.keys(params).sort();
145
-
146
- TableStore.util.arrayEach(sortedKeys, function (name) {
147
- var value = params[name];
148
- var ename = escape(name);
149
- var result = ename;
150
- if (Array.isArray(value)) {
151
- var vals = [];
152
- TableStore.util.arrayEach(value, function (item) { vals.push(escape(item)); });
153
- result = ename + '=' + vals.sort().join('&' + ename + '=');
154
- } else if (value !== undefined && value !== null) {
155
- result = ename + '=' + escape(value);
156
- }
157
- items.push(result);
158
- });
159
-
160
- return items.join('&');
161
- },
162
-
163
- readFileSync: function readFileSync(path) {
164
- if (typeof window !== 'undefined') return null;
165
- return require('fs').readFileSync(path, 'utf-8');
166
- },
167
-
168
- base64: {
169
-
170
- encode: function encode64(string) {
171
- if (typeof string === 'number') {
172
- throw util.error(new Error('Cannot base64 encode number ' + string));
173
- }
174
- if (string === null || typeof string === 'undefined') {
175
- return string;
176
- }
177
- var buf = (typeof TableStore.util.Buffer.from === 'function' && TableStore.util.Buffer.from !== Uint8Array.from) ? TableStore.util.Buffer.from(string) : new TableStore.util.Buffer(string);
178
- return buf.toString('base64');
179
- },
180
-
181
- decode: function decode64(string) {
182
- if (typeof string === 'number') {
183
- throw util.error(new Error('Cannot base64 decode number ' + string));
184
- }
185
- if (string === null || typeof string === 'undefined') {
186
- return string;
187
- }
188
- return (typeof TableStore.util.Buffer.from === 'function' && TableStore.util.Buffer.from !== Uint8Array.from) ? TableStore.util.Buffer.from(string, 'base64') : new TableStore.util.Buffer(string, 'base64');
189
- }
190
-
191
- },
192
-
193
- Buffer: Buffer,
194
-
195
- buffer: {
196
- /**
197
- * Concatenates a list of Buffer objects.
198
- */
199
- concat: function (buffers) {
200
- var length = 0,
201
- offset = 0,
202
- buffer = null, i;
203
-
204
- for (i = 0; i < buffers.length; i++) {
205
- length += buffers[i].length;
206
- }
207
-
208
- buffer = new TableStore.util.Buffer(length);
209
-
210
- for (i = 0; i < buffers.length; i++) {
211
- buffers[i].copy(buffer, offset);
212
- offset += buffers[i].length;
213
- }
214
-
215
- return buffer;
216
- }
217
- },
218
-
219
- Int64: {
220
- doubleToRawLongBits: function (number) {
221
- var buf = new Buffer(8);
222
- buf.fill(0);
223
- buf.writeDoubleLE(number, 0);
224
-
225
- var int64 = new int64buffer.Int64LE(buf);
226
- return int64;
227
- }
228
- },
229
-
230
- string: {
231
- byteLength: function byteLength(string) {
232
- if (string === null || string === undefined) return 0;
233
- if (typeof string === 'string') string = new Buffer(string);
234
-
235
- if (typeof string.byteLength === 'number') {
236
- return string.byteLength;
237
- } else if (typeof string.length === 'number') {
238
- return string.length;
239
- } else if (typeof string.size === 'number') {
240
- return string.size;
241
- } else if (typeof string.path === 'string') {
242
- return require('fs').lstatSync(string.path).size;
243
- } else {
244
- throw TableStore.util.error(new Error('Cannot determine length of ' + string),
245
- { object: string });
246
- }
247
- },
248
- upperFirst: function upperFirst(string) {
249
- return string[0].toUpperCase() + string.substr(1);
250
- },
251
-
252
- lowerFirst: function lowerFirst(string) {
253
- return string[0].toLowerCase() + string.substr(1);
254
- }
255
-
256
- },
257
-
258
- jamespath: {
259
- query: function query(expression, data) {
260
- if (!data) return [];
261
-
262
- var results = [];
263
- var expressions = expression.split(/\s+or\s+/);
264
- TableStore.util.arrayEach.call(this, expressions, function (expr) {
265
- var objects = [data];
266
- var tokens = expr.split('.');
267
- TableStore.util.arrayEach.call(this, tokens, function (token) {
268
- var match = token.match('^(.+?)(?:\\[(-?\\d+|\\*)\\])?$');
269
- var newObjects = [];
270
- TableStore.util.arrayEach.call(this, objects, function (obj) {
271
- if (match[1] === '*') {
272
- TableStore.util.arrayEach.call(this, obj, function (value) {
273
- newObjects.push(value);
274
- });
275
- } else if (obj.hasOwnProperty(match[1])) {
276
- newObjects.push(obj[match[1]]);
277
- }
278
- });
279
- objects = newObjects;
280
-
281
- // handle indexing (token[0], token[-1])
282
- if (match[2]) {
283
- newObjects = [];
284
- TableStore.util.arrayEach.call(this, objects, function (obj) {
285
- if (Array.isArray(obj)) {
286
- if (match[2] === '*') {
287
- newObjects = newObjects.concat(obj);
288
- } else {
289
- var idx = parseInt(match[2], 10);
290
- if (idx < 0) idx = obj.length + idx; // negative indexing
291
- newObjects.push(obj[idx]);
292
- }
293
- }
294
- });
295
- objects = newObjects;
296
- }
297
-
298
- if (objects.length === 0) return TableStore.util.abort;
299
- });
300
-
301
- if (objects.length > 0) {
302
- results = objects;
303
- return TableStore.util.abort;
304
- }
305
- });
306
-
307
- return results;
308
- },
309
-
310
- find: function find(expression, data) {
311
- return TableStore.util.jamespath.query(expression, data)[0];
312
- }
313
- },
314
-
315
- /**
316
- * Date and time utility functions.
317
- */
318
- date: {
319
-
320
- /**
321
- * @return [Date] the current JavaScript date object. Since all
322
- * TableStore services rely on this date object, you can override
323
- * this function to provide a special time value to TableStore service
324
- * requests.
325
- */
326
- getDate: function getDate() { return new Date(); },
327
-
328
- // for taobao open platform
329
- top: function top(date, fmt) {
330
- fmt = fmt || '%Y-%M-%dT%H:%m:%sZ';
331
-
332
- function pad(value) {
333
- return (value.toString().length < 2) ? '0' + value : value;
334
- };
335
-
336
- return fmt.replace(/%([a-zA-Z])/g, function (_, fmtCode) {
337
- switch (fmtCode) {
338
- case 'Y':
339
- return date.getUTCFullYear();
340
- case 'M':
341
- return pad(date.getUTCMonth() + 1);
342
- case 'd':
343
- return pad(date.getUTCDate());
344
- case 'H':
345
- return pad(date.getUTCHours());
346
- case 'm':
347
- return pad(date.getUTCMinutes());
348
- case 's':
349
- return pad(date.getUTCSeconds());
350
- default:
351
- throw new Error('Unsupported format code: ' + fmtCode);
352
- }
353
- });
354
- },
355
-
356
- /**
357
- * @return [String] the date in ISO-8601 format
358
- */
359
- iso8601: function iso8601(date) {
360
- if (date === undefined) { date = TableStore.util.date.getDate(); }
361
- return date.toISOString();
362
- },
363
-
364
- /**
365
- * @return [String] the date in RFC 822 format
366
- */
367
- rfc822: function rfc822(date) {
368
- if (date === undefined) { date = TableStore.util.date.getDate(); }
369
- return date.toUTCString();
370
- },
371
-
372
- unixSeconds: function unixSeconds(date) {
373
- if (date === undefined) { date = TableStore.util.date.getDate(); }
374
- return Math.floor(date.getTime() / 1000);
375
- },
376
-
377
- unixMilliseconds: function unixMilliseconds(date) {
378
- if (date === undefined) { date = TableStore.util.date.getDate(); }
379
- return date.getTime();
380
- },
381
-
382
- /**
383
- * @param [String,number,Date] date
384
- * @return [Date]
385
- */
386
- from: function format(date) {
387
- if (typeof date === 'number') {
388
- if (date.toString().length == 10) {
389
- return new Date(date * 1000); // unix timestamp in seconds
390
- }
391
- return new Date(date); // unix timestamp in mill seconds
392
- }
393
- else if (Object.prototype.toString.call(date) === '[object Date]') {
394
- return date;
395
- }
396
- else {
397
- return new Date(date);
398
- }
399
- },
400
-
401
- /**
402
- * Given a Date or date-like value, this function formats the
403
- * date into a string of the requested value.
404
- * @param [String,number,Date] date
405
- * @param [String] formatter Valid formats are:
406
- # * 'iso8601'
407
- # * 'rfc822'
408
- # * 'unixSeconds'
409
- # * 'unixMilliseconds'
410
- * @return [String]
411
- */
412
- format: function format(date, formatter) {
413
- if (!formatter) formatter = 'unixSeconds';
414
- return TableStore.util.date[formatter](TableStore.util.date.from(date));
415
- }
416
-
417
- },
418
-
419
- crypto: {
420
- crc32Table: [
421
- 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419,
422
- 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4,
423
- 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07,
424
- 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
425
- 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856,
426
- 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9,
427
- 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4,
428
- 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
429
- 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3,
430
- 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A,
431
- 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599,
432
- 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
433
- 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190,
434
- 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F,
435
- 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E,
436
- 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
437
- 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED,
438
- 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950,
439
- 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3,
440
- 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
441
- 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A,
442
- 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5,
443
- 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010,
444
- 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
445
- 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17,
446
- 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6,
447
- 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615,
448
- 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
449
- 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344,
450
- 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB,
451
- 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A,
452
- 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
453
- 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1,
454
- 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C,
455
- 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF,
456
- 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
457
- 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE,
458
- 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31,
459
- 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C,
460
- 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
461
- 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B,
462
- 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242,
463
- 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1,
464
- 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
465
- 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278,
466
- 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7,
467
- 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66,
468
- 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
469
- 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605,
470
- 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8,
471
- 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B,
472
- 0x2D02EF8D],
473
-
474
- crc32: function crc32(data) {
475
- /*jshint bitwise:false*/
476
- var tbl = TableStore.util.crypto.crc32Table;
477
- var crc = 0 ^ -1;
478
-
479
- if (typeof data === 'string') {
480
- data = new Buffer(data);
481
- }
482
-
483
- for (var i = 0; i < data.length; i++) {
484
- var code = data.readUInt8(i);
485
- crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF];
486
- }
487
- return (crc ^ -1) >>> 0;
488
- },
489
-
490
- hmac: function hmac(key, string, digest, fn) {
491
- if (!digest) digest = 'binary';
492
-
493
- if (digest === 'buffer') {
494
- digest = undefined;
495
- // todo: 不支持 buffer 类型的 hash
496
- return "";
497
- }
498
-
499
- if (!fn) fn = 'sha256';
500
-
501
- if (typeof string != 'string') {
502
- //string = new Buffer(string);
503
- // todo: 目前只支持 string
504
- return "";
505
- }
506
-
507
- var shaObj;
508
- switch (fn) {
509
- case "md5":
510
- // todo: 不支持 md5
511
- return "";
512
- case "sha1":
513
- shaObj = new jsSHA("SHA-1", "TEXT");
514
- break;
515
- case "sha256":
516
- shaObj = new jsSHA("SHA-256", "TEXT");
517
- break;
518
- case "sha512":
519
- shaObj = new jsSHA("SHA-512", "TEXT");
520
- break;
521
- default:
522
- return "";
523
- }
524
-
525
- shaObj.setHMACKey(key, "TEXT");
526
-
527
- shaObj.update(string);
528
-
529
- switch (digest) {
530
- case "binary":
531
- return shaObj.getHMAC("BYTES");
532
- case "hex":
533
- return shaObj.getHMAC("HEX");
534
- case "base64":
535
- return shaObj.getHMAC("B64");
536
- default:
537
- return "";
538
- }
539
- },
540
-
541
- // https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding
542
- md5: function md5(data, digest) {
543
- var hash = "";
544
-
545
- if (!digest) { digest = 'binary'; }
546
-
547
- if (digest === 'buffer') {
548
- digest = undefined;
549
- // todo: 不支持 buffer 类型的 hash
550
- return "";
551
- }
552
-
553
- if (typeof data === 'string') {
554
- switch (digest) {
555
- case "binary":
556
- return SparkMD5.hash(data, true);
557
- case "hex":
558
- return SparkMD5.hash(data);
559
- case "base64":
560
- return TableStore.util.hexToBase64(SparkMD5.hash(data));
561
- default:
562
- return "";
563
- }
564
- }
565
- else { // array buffer
566
- switch (digest) {
567
- case "binary":
568
- return SparkMD5.ArrayBuffer.hash(data, true);
569
- case "hex":
570
- return SparkMD5.ArrayBuffer.hash(data);
571
- case "base64":
572
- return TableStore.util.hexToBase64(SparkMD5.ArrayBuffer.hash(data));
573
- default:
574
- return "";
575
- }
576
- }
577
- },
578
-
579
- // 目前不支持 sha256 hash
580
- sha256: function sha256(string, digest) {
581
- //if (!digest) { digest = 'binary'; }
582
- //if (digest === 'buffer') { digest = undefined; }
583
- //if (typeof string === 'string') string = new Buffer(string);
584
- //return TableStore.util.crypto.createHash('sha256').update(string).digest(digest);
585
- return "";
586
- },
587
-
588
- toHex: function toHex(data) {
589
- var out = [];
590
- for (var i = 0; i < data.length; i++) {
591
- out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2));
592
- }
593
- return out.join('');
594
- }
595
-
596
- },
597
-
598
- /** @!ignore */
599
-
600
- /* Abort constant */
601
- abort: {},
602
-
603
- each: function each(object, iterFunction) {
604
- for (var key in object) {
605
- if (object.hasOwnProperty(key)) {
606
- var ret = iterFunction.call(this, key, object[key]);
607
- if (ret === TableStore.util.abort) break;
608
- }
609
- }
610
- },
611
-
612
- arrayEach: function arrayEach(array, iterFunction) {
613
- for (var idx in array) {
614
- if (array.hasOwnProperty(idx)) {
615
- var ret = iterFunction.call(this, array[idx], parseInt(idx, 10));
616
- if (ret === TableStore.util.abort) break;
617
- }
618
- }
619
- },
620
-
621
- update: function update(obj1, obj2) {
622
- TableStore.util.each(obj2, function iterator(key, item) {
623
- obj1[key] = item;
624
- });
625
- return obj1;
626
- },
627
-
628
- merge: function merge(obj1, obj2) {
629
- return TableStore.util.update(TableStore.util.copy(obj1), obj2);
630
- },
631
-
632
- copy: function copy(object) {
633
- if (object === null || object === undefined) return object;
634
- var dupe = {};
635
- /*jshint forin:false */
636
- for (var key in object) {
637
- dupe[key] = object[key];
638
- }
639
- return dupe;
640
- },
641
-
642
- isEmpty: function isEmpty(obj) {
643
- for (var prop in obj) {
644
- if (obj.hasOwnProperty(prop)) {
645
- return false;
646
- }
647
- }
648
- return true;
649
- },
650
-
651
- isType: function isType(obj, type) {
652
- // handle cross-"frame" objects
653
- if (typeof type === 'function') type = TableStore.util.typeName(type);
654
- return Object.prototype.toString.call(obj) === '[object ' + type + ']';
655
- },
656
-
657
- typeName: function typeName(type) {
658
- if (type.hasOwnProperty('name')) return type.name;
659
- var str = type.toString();
660
- var match = str.match(/^\s*function (.+)\(/);
661
- return match ? match[1] : str;
662
- },
663
-
664
- error: function error(err, options) {
665
- var originalError = null;
666
- if (typeof err.message === 'string' && err.message !== '') {
667
- if (typeof options === 'string' || (options && options.message)) {
668
- originalError = TableStore.util.copy(err);
669
- originalError.message = err.message;
670
- }
671
- }
672
- err.message = err.message || null;
673
-
674
- if (typeof options === 'string') {
675
- err.message = options;
676
- } else {
677
- TableStore.util.update(err, options);
678
- }
679
-
680
- if (typeof Object.defineProperty === 'function') {
681
- Object.defineProperty(err, 'name', { writable: true, enumerable: false });
682
- Object.defineProperty(err, 'message', { enumerable: true });
683
- }
684
-
685
- err.name = err.name || err.code || 'Error';
686
- err.time = new Date();
687
-
688
- if (originalError) err.originalError = originalError;
689
-
690
- return err;
691
- },
692
-
693
- /**
694
- * @api private
695
- */
696
- inherit: function inherit(klass, features) {
697
- var newObject = null;
698
- if (features === undefined) {
699
- features = klass;
700
- klass = Object;
701
- newObject = {};
702
- } else {
703
- /*jshint newcap:false */
704
- /*jshint camelcase:false */
705
- var ctor = function __ctor_wrapper__() { };
706
- ctor.prototype = klass.prototype;
707
- newObject = new ctor();
708
- }
709
-
710
- // constructor not supplied, create pass-through ctor
711
- if (features.constructor === Object) {
712
- features.constructor = function () {
713
- if (klass !== Object) {
714
- return klass.apply(this, arguments);
715
- }
716
- };
717
- }
718
-
719
- features.constructor.prototype = newObject;
720
- TableStore.util.update(features.constructor.prototype, features);
721
- features.constructor.__super__ = klass;
722
- return features.constructor;
723
- },
724
-
725
- /**
726
- * @api private
727
- */
728
- mixin: function mixin() {
729
- var klass = arguments[0];
730
- for (var i = 1; i < arguments.length; i++) {
731
- /*jshint forin:false*/
732
- for (var prop in arguments[i].prototype) {
733
- var fn = arguments[i].prototype[prop];
734
- if (prop != 'constructor') {
735
- klass.prototype[prop] = fn;
736
- }
737
- }
738
- }
739
- return klass;
740
- },
741
-
742
- /**
743
- * @api private
744
- */
745
- hideProperties: function hideProperties(obj, props) {
746
- if (typeof Object.defineProperty !== 'function') return;
747
-
748
- TableStore.util.arrayEach(props, function (key) {
749
- Object.defineProperty(obj, key, {
750
- enumerable: false, writable: true, configurable: true
751
- });
752
- });
753
- }
754
- };
755
-
756
- module.exports = TableStore.util;