@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,711 +0,0 @@
1
- "use strict";
2
- module.exports = static_target;
3
-
4
- var protobuf = require("../.."),
5
- UglifyJS = require("uglify-js"),
6
- espree = require("espree"),
7
- escodegen = require("escodegen"),
8
- estraverse = require("estraverse");
9
-
10
- var Type = protobuf.Type,
11
- Service = protobuf.Service,
12
- Enum = protobuf.Enum,
13
- Namespace = protobuf.Namespace,
14
- util = protobuf.util;
15
-
16
- var out = [];
17
- var indent = 0;
18
- var config = {};
19
-
20
- static_target.description = "Static code without reflection (non-functional on its own)";
21
-
22
- function static_target(root, options, callback) {
23
- config = options;
24
- try {
25
- var aliases = [];
26
- if (config.decode)
27
- aliases.push("Reader");
28
- if (config.encode)
29
- aliases.push("Writer");
30
- aliases.push("util");
31
- if (aliases.length) {
32
- if (config.comments)
33
- push("// Common aliases");
34
- push((config.es6 ? "const " : "var ") + aliases.map(function(name) { return "$" + name + " = $protobuf." + name; }).join(", ") + ";");
35
- push("");
36
- }
37
- if (config.comments) {
38
- if (root.comment) {
39
- pushComment("@fileoverview " + root.comment);
40
- push("");
41
- }
42
- push("// Exported root namespace");
43
- }
44
- var rootProp = util.safeProp(config.root || "default");
45
- push((config.es6 ? "const" : "var") + " $root = $protobuf.roots" + rootProp + " || ($protobuf.roots" + rootProp + " = {});");
46
- buildNamespace(null, root);
47
- return callback(null, out.join("\n"));
48
- } catch (err) {
49
- return callback(err);
50
- } finally {
51
- out = [];
52
- indent = 0;
53
- config = {};
54
- }
55
- }
56
-
57
- function push(line) {
58
- if (line === "")
59
- return out.push("");
60
- var ind = "";
61
- for (var i = 0; i < indent; ++i)
62
- ind += " ";
63
- return out.push(ind + line);
64
- }
65
-
66
- function pushComment(lines) {
67
- if (!config.comments)
68
- return;
69
- var split = [];
70
- for (var i = 0; i < lines.length; ++i)
71
- if (lines[i] != null && lines[i].substring(0, 8) !== "@exclude")
72
- Array.prototype.push.apply(split, lines[i].split(/\r?\n/g));
73
- push("/**");
74
- split.forEach(function(line) {
75
- if (line === null)
76
- return;
77
- push(" * " + line.replace(/\*\//g, "* /"));
78
- });
79
- push(" */");
80
- }
81
-
82
- function exportName(object, asInterface) {
83
- if (asInterface) {
84
- if (object.__interfaceName)
85
- return object.__interfaceName;
86
- } else if (object.__exportName)
87
- return object.__exportName;
88
- var parts = object.fullName.substring(1).split("."),
89
- i = 0;
90
- while (i < parts.length)
91
- parts[i] = escapeName(parts[i++]);
92
- if (asInterface)
93
- parts[i - 1] = "I" + parts[i - 1];
94
- return object[asInterface ? "__interfaceName" : "__exportName"] = parts.join(".");
95
- }
96
-
97
- function escapeName(name) {
98
- if (!name)
99
- return "$root";
100
- return util.isReserved(name) ? name + "_" : name;
101
- }
102
-
103
- function aOrAn(name) {
104
- return ((/^[hH](?:ou|on|ei)/.test(name) || /^[aeiouAEIOU][a-z]/.test(name)) && !/^us/i.test(name)
105
- ? "an "
106
- : "a ") + name;
107
- }
108
-
109
- function buildNamespace(ref, ns) {
110
- if (!ns)
111
- return;
112
-
113
- if (ns instanceof Service && !config.service)
114
- return;
115
-
116
- if (ns.name !== "") {
117
- push("");
118
- if (!ref && config.es6)
119
- push("export const " + escapeName(ns.name) + " = " + escapeName(ref) + "." + escapeName(ns.name) + " = (() => {");
120
- else
121
- push(escapeName(ref) + "." + escapeName(ns.name) + " = (function() {");
122
- ++indent;
123
- }
124
-
125
- if (ns instanceof Type) {
126
- buildType(undefined, ns);
127
- } else if (ns instanceof Service)
128
- buildService(undefined, ns);
129
- else if (ns.name !== "") {
130
- push("");
131
- pushComment([
132
- ns.comment || "Namespace " + ns.name + ".",
133
- ns.parent instanceof protobuf.Root ? "@exports " + escapeName(ns.name) : "@memberof " + exportName(ns.parent),
134
- "@namespace"
135
- ]);
136
- push((config.es6 ? "const" : "var") + " " + escapeName(ns.name) + " = {};");
137
- }
138
-
139
- ns.nestedArray.forEach(function(nested) {
140
- if (nested instanceof Enum)
141
- buildEnum(ns.name, nested);
142
- else if (nested instanceof Namespace)
143
- buildNamespace(ns.name, nested);
144
- });
145
- if (ns.name !== "") {
146
- push("");
147
- push("return " + escapeName(ns.name) + ";");
148
- --indent;
149
- push("})();");
150
- }
151
- }
152
-
153
- var reduceableBlockStatements = {
154
- IfStatement: true,
155
- ForStatement: true,
156
- WhileStatement: true
157
- };
158
-
159
- var shortVars = {
160
- "r": "reader",
161
- "w": "writer",
162
- "m": "message",
163
- "t": "tag",
164
- "l": "length",
165
- "c": "end", "c2": "end2",
166
- "k": "key",
167
- "ks": "keys", "ks2": "keys2",
168
- "e": "error",
169
- "f": "impl",
170
- "o": "options",
171
- "d": "object",
172
- "n": "long",
173
- "p": "properties"
174
- };
175
-
176
- function beautifyCode(code) {
177
- // Add semicolons
178
- code = UglifyJS.minify(code, {
179
- compress: false,
180
- mangle: false,
181
- output: { beautify: true }
182
- }).code;
183
- // Properly beautify
184
- var ast = espree.parse(code);
185
- estraverse.replace(ast, {
186
- enter: function(node, parent) {
187
- // rename short vars
188
- if (node.type === "Identifier" && (parent.property !== node || parent.computed) && shortVars[node.name])
189
- return {
190
- "type": "Identifier",
191
- "name": shortVars[node.name]
192
- };
193
- // replace var with let if es6
194
- if (config.es6 && node.type === "VariableDeclaration" && node.kind === "var") {
195
- node.kind = "let";
196
- return undefined;
197
- }
198
- // remove braces around block statements with a single child
199
- if (node.type === "BlockStatement" && reduceableBlockStatements[parent.type] && node.body.length === 1)
200
- return node.body[0];
201
- return undefined;
202
- }
203
- });
204
- code = escodegen.generate(ast, {
205
- format: {
206
- newline: "\n",
207
- quotes: "double"
208
- }
209
- });
210
- // Add id, wireType comments
211
- if (config.comments)
212
- code = code.replace(/\.uint32\((\d+)\)/g, function($0, $1) {
213
- var id = $1 >>> 3,
214
- wireType = $1 & 7;
215
- return ".uint32(/* id " + id + ", wireType " + wireType + " =*/" + $1 + ")";
216
- });
217
- return code;
218
- }
219
-
220
- var renameVars = {
221
- "Writer": "$Writer",
222
- "Reader": "$Reader",
223
- "util": "$util"
224
- };
225
-
226
- function buildFunction(type, functionName, gen, scope) {
227
- var code = gen.toString(functionName)
228
- .replace(/((?!\.)types\[\d+])(\.values)/g, "$1"); // enums: use types[N] instead of reflected types[N].values
229
-
230
- var ast = espree.parse(code);
231
- /* eslint-disable no-extra-parens */
232
- estraverse.replace(ast, {
233
- enter: function(node, parent) {
234
- // rename vars
235
- if (
236
- node.type === "Identifier" && renameVars[node.name]
237
- && (
238
- (parent.type === "MemberExpression" && parent.object === node)
239
- || (parent.type === "BinaryExpression" && parent.right === node)
240
- )
241
- )
242
- return {
243
- "type": "Identifier",
244
- "name": renameVars[node.name]
245
- };
246
- // replace this.ctor with the actual ctor
247
- if (
248
- node.type === "MemberExpression"
249
- && node.object.type === "ThisExpression"
250
- && node.property.type === "Identifier" && node.property.name === "ctor"
251
- )
252
- return {
253
- "type": "Identifier",
254
- "name": "$root" + type.fullName
255
- };
256
- // replace types[N] with the field's actual type
257
- if (
258
- node.type === "MemberExpression"
259
- && node.object.type === "Identifier" && node.object.name === "types"
260
- && node.property.type === "Literal"
261
- )
262
- return {
263
- "type": "Identifier",
264
- "name": "$root" + type.fieldsArray[node.property.value].resolvedType.fullName
265
- };
266
- return undefined;
267
- }
268
- });
269
- /* eslint-enable no-extra-parens */
270
- code = escodegen.generate(ast, {
271
- format: {
272
- newline: "\n",
273
- quotes: "double"
274
- }
275
- });
276
-
277
- if (config.beautify)
278
- code = beautifyCode(code);
279
-
280
- code = code.replace(/ {4}/g, "\t");
281
-
282
- var hasScope = scope && Object.keys(scope).length,
283
- isCtor = functionName === type.name;
284
-
285
- if (hasScope) // remove unused scope vars
286
- Object.keys(scope).forEach(function(key) {
287
- if (!new RegExp("\\b(" + key + ")\\b", "g").test(code))
288
- delete scope[key];
289
- });
290
-
291
- var lines = code.split(/\n/g);
292
- if (isCtor) // constructor
293
- push(lines[0]);
294
- else if (hasScope) // enclose in an iife
295
- push(escapeName(type.name) + "." + escapeName(functionName) + " = (function(" + Object.keys(scope).map(escapeName).join(", ") + ") { return " + lines[0]);
296
- else
297
- push(escapeName(type.name) + "." + escapeName(functionName) + " = " + lines[0]);
298
- lines.slice(1, lines.length - 1).forEach(function(line) {
299
- var prev = indent;
300
- var i = 0;
301
- while (line.charAt(i++) === "\t")
302
- ++indent;
303
- push(line.trim());
304
- indent = prev;
305
- });
306
- if (isCtor)
307
- push("}");
308
- else if (hasScope)
309
- push("};})(" + Object.keys(scope).map(function(key) { return scope[key]; }).join(", ") + ");");
310
- else
311
- push("};");
312
- }
313
-
314
- function toJsType(field) {
315
- var type;
316
-
317
- switch (field.type) {
318
- case "double":
319
- case "float":
320
- case "int32":
321
- case "uint32":
322
- case "sint32":
323
- case "fixed32":
324
- case "sfixed32":
325
- type = "number";
326
- break;
327
- case "int64":
328
- case "uint64":
329
- case "sint64":
330
- case "fixed64":
331
- case "sfixed64":
332
- type = config.forceLong ? "Long" : config.forceNumber ? "number" : "number|Long";
333
- break;
334
- case "bool":
335
- type = "boolean";
336
- break;
337
- case "string":
338
- type = "string";
339
- break;
340
- case "bytes":
341
- type = "Uint8Array";
342
- break;
343
- default:
344
- if (field.resolve().resolvedType)
345
- type = exportName(field.resolvedType, !(field.resolvedType instanceof protobuf.Enum || config.forceMessage));
346
- else
347
- type = "*"; // should not happen
348
- break;
349
- }
350
- if (field.map)
351
- return "Object.<string," + type + ">";
352
- if (field.repeated)
353
- return "Array.<" + type + ">";
354
- return type;
355
- }
356
-
357
- function buildType(ref, type) {
358
-
359
- if (config.comments) {
360
- var typeDef = [
361
- "Properties of " + aOrAn(type.name) + ".",
362
- type.parent instanceof protobuf.Root ? "@exports " + escapeName("I" + type.name) : "@memberof " + exportName(type.parent),
363
- "@interface " + escapeName("I" + type.name)
364
- ];
365
- type.fieldsArray.forEach(function(field) {
366
- var prop = util.safeProp(field.name); // either .name or ["name"]
367
- prop = prop.substring(1, prop.charAt(0) === "[" ? prop.length - 1 : prop.length);
368
- var jsType = toJsType(field);
369
- if (field.optional)
370
- jsType = jsType + "|null";
371
- typeDef.push("@property {" + jsType + "} " + (field.optional ? "[" + prop + "]" : prop) + " " + (field.comment || type.name + " " + field.name));
372
- });
373
- push("");
374
- pushComment(typeDef);
375
- }
376
-
377
- // constructor
378
- push("");
379
- pushComment([
380
- "Constructs a new " + type.name + ".",
381
- type.parent instanceof protobuf.Root ? "@exports " + escapeName(type.name) : "@memberof " + exportName(type.parent),
382
- "@classdesc " + (type.comment || "Represents " + aOrAn(type.name) + "."),
383
- config.comments ? "@implements " + escapeName("I" + type.name) : null,
384
- "@constructor",
385
- "@param {" + exportName(type, true) + "=} [" + (config.beautify ? "properties" : "p") + "] Properties to set"
386
- ]);
387
- buildFunction(type, type.name, Type.generateConstructor(type));
388
-
389
- // default values
390
- var firstField = true;
391
- type.fieldsArray.forEach(function(field) {
392
- field.resolve();
393
- var prop = util.safeProp(field.name);
394
- if (config.comments) {
395
- push("");
396
- var jsType = toJsType(field);
397
- if (field.optional && !field.map && !field.repeated && field.resolvedType instanceof Type || field.partOf)
398
- jsType = jsType + "|null|undefined";
399
- pushComment([
400
- field.comment || type.name + " " + field.name + ".",
401
- "@member {" + jsType + "} " + field.name,
402
- "@memberof " + exportName(type),
403
- "@instance"
404
- ]);
405
- } else if (firstField) {
406
- push("");
407
- firstField = false;
408
- }
409
- if (field.repeated)
410
- push(escapeName(type.name) + ".prototype" + prop + " = $util.emptyArray;"); // overwritten in constructor
411
- else if (field.map)
412
- push(escapeName(type.name) + ".prototype" + prop + " = $util.emptyObject;"); // overwritten in constructor
413
- else if (field.partOf)
414
- push(escapeName(type.name) + ".prototype" + prop + " = null;"); // do not set default value for oneof members
415
- else if (field.long)
416
- push(escapeName(type.name) + ".prototype" + prop + " = $util.Long ? $util.Long.fromBits("
417
- + JSON.stringify(field.typeDefault.low) + ","
418
- + JSON.stringify(field.typeDefault.high) + ","
419
- + JSON.stringify(field.typeDefault.unsigned)
420
- + ") : " + field.typeDefault.toNumber(field.type.charAt(0) === "u") + ";");
421
- else if (field.bytes) {
422
- push(escapeName(type.name) + ".prototype" + prop + " = $util.newBuffer(" + JSON.stringify(Array.prototype.slice.call(field.typeDefault)) + ");");
423
- } else
424
- push(escapeName(type.name) + ".prototype" + prop + " = " + JSON.stringify(field.typeDefault) + ";");
425
- });
426
-
427
- // virtual oneof fields
428
- var firstOneOf = true;
429
- type.oneofsArray.forEach(function(oneof) {
430
- if (firstOneOf) {
431
- firstOneOf = false;
432
- push("");
433
- if (config.comments)
434
- push("// OneOf field names bound to virtual getters and setters");
435
- push((config.es6 ? "let" : "var") + " $oneOfFields;");
436
- }
437
- oneof.resolve();
438
- push("");
439
- pushComment([
440
- oneof.comment || type.name + " " + oneof.name + ".",
441
- "@member {" + oneof.oneof.map(JSON.stringify).join("|") + "|undefined} " + escapeName(oneof.name),
442
- "@memberof " + exportName(type),
443
- "@instance"
444
- ]);
445
- push("Object.defineProperty(" + escapeName(type.name) + ".prototype, " + JSON.stringify(oneof.name) +", {");
446
- ++indent;
447
- push("get: $util.oneOfGetter($oneOfFields = [" + oneof.oneof.map(JSON.stringify).join(", ") + "]),");
448
- push("set: $util.oneOfSetter($oneOfFields)");
449
- --indent;
450
- push("});");
451
- });
452
-
453
- if (config.create) {
454
- push("");
455
- pushComment([
456
- "Creates a new " + type.name + " instance using the specified properties.",
457
- "@function create",
458
- "@memberof " + exportName(type),
459
- "@static",
460
- "@param {" + exportName(type, true) + "=} [properties] Properties to set",
461
- "@returns {" + exportName(type) + "} " + type.name + " instance"
462
- ]);
463
- push(escapeName(type.name) + ".create = function create(properties) {");
464
- ++indent;
465
- push("return new " + escapeName(type.name) + "(properties);");
466
- --indent;
467
- push("};");
468
- }
469
-
470
- if (config.encode) {
471
- push("");
472
- pushComment([
473
- "Encodes the specified " + type.name + " message. Does not implicitly {@link " + exportName(type) + ".verify|verify} messages.",
474
- "@function encode",
475
- "@memberof " + exportName(type),
476
- "@static",
477
- "@param {" + exportName(type, !config.forceMessage) + "} " + (config.beautify ? "message" : "m") + " " + type.name + " message or plain object to encode",
478
- "@param {$protobuf.Writer} [" + (config.beautify ? "writer" : "w") + "] Writer to encode to",
479
- "@returns {$protobuf.Writer} Writer"
480
- ]);
481
- buildFunction(type, "encode", protobuf.encoder(type));
482
-
483
- if (config.delimited) {
484
- push("");
485
- pushComment([
486
- "Encodes the specified " + type.name + " message, length delimited. Does not implicitly {@link " + exportName(type) + ".verify|verify} messages.",
487
- "@function encodeDelimited",
488
- "@memberof " + exportName(type),
489
- "@static",
490
- "@param {" + exportName(type, !config.forceMessage) + "} message " + type.name + " message or plain object to encode",
491
- "@param {$protobuf.Writer} [writer] Writer to encode to",
492
- "@returns {$protobuf.Writer} Writer"
493
- ]);
494
- push(escapeName(type.name) + ".encodeDelimited = function encodeDelimited(message, writer) {");
495
- ++indent;
496
- push("return this.encode(message, writer).ldelim();");
497
- --indent;
498
- push("};");
499
- }
500
- }
501
-
502
- if (config.decode) {
503
- push("");
504
- pushComment([
505
- "Decodes " + aOrAn(type.name) + " message from the specified reader or buffer.",
506
- "@function decode",
507
- "@memberof " + exportName(type),
508
- "@static",
509
- "@param {$protobuf.Reader|Uint8Array} " + (config.beautify ? "reader" : "r") + " Reader or buffer to decode from",
510
- "@param {number} [" + (config.beautify ? "length" : "l") + "] Message length if known beforehand",
511
- "@returns {" + exportName(type) + "} " + type.name,
512
- "@throws {Error} If the payload is not a reader or valid buffer",
513
- "@throws {$protobuf.util.ProtocolError} If required fields are missing"
514
- ]);
515
- buildFunction(type, "decode", protobuf.decoder(type));
516
-
517
- if (config.delimited) {
518
- push("");
519
- pushComment([
520
- "Decodes " + aOrAn(type.name) + " message from the specified reader or buffer, length delimited.",
521
- "@function decodeDelimited",
522
- "@memberof " + exportName(type),
523
- "@static",
524
- "@param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from",
525
- "@returns {" + exportName(type) + "} " + type.name,
526
- "@throws {Error} If the payload is not a reader or valid buffer",
527
- "@throws {$protobuf.util.ProtocolError} If required fields are missing"
528
- ]);
529
- push(escapeName(type.name) + ".decodeDelimited = function decodeDelimited(reader) {");
530
- ++indent;
531
- push("if (!(reader instanceof $Reader))");
532
- ++indent;
533
- push("reader = new $Reader(reader);");
534
- --indent;
535
- push("return this.decode(reader, reader.uint32());");
536
- --indent;
537
- push("};");
538
- }
539
- }
540
-
541
- if (config.verify) {
542
- push("");
543
- pushComment([
544
- "Verifies " + aOrAn(type.name) + " message.",
545
- "@function verify",
546
- "@memberof " + exportName(type),
547
- "@static",
548
- "@param {Object.<string,*>} " + (config.beautify ? "message" : "m") + " Plain object to verify",
549
- "@returns {string|null} `null` if valid, otherwise the reason why it is not"
550
- ]);
551
- buildFunction(type, "verify", protobuf.verifier(type));
552
- }
553
-
554
- if (config.convert) {
555
- push("");
556
- pushComment([
557
- "Creates " + aOrAn(type.name) + " message from a plain object. Also converts values to their respective internal types.",
558
- "@function fromObject",
559
- "@memberof " + exportName(type),
560
- "@static",
561
- "@param {Object.<string,*>} " + (config.beautify ? "object" : "d") + " Plain object",
562
- "@returns {" + exportName(type) + "} " + type.name
563
- ]);
564
- buildFunction(type, "fromObject", protobuf.converter.fromObject(type));
565
-
566
- push("");
567
- pushComment([
568
- "Creates a plain object from " + aOrAn(type.name) + " message. Also converts values to other types if specified.",
569
- "@function toObject",
570
- "@memberof " + exportName(type),
571
- "@static",
572
- "@param {" + exportName(type) + "} " + (config.beautify ? "message" : "m") + " " + type.name,
573
- "@param {$protobuf.IConversionOptions} [" + (config.beautify ? "options" : "o") + "] Conversion options",
574
- "@returns {Object.<string,*>} Plain object"
575
- ]);
576
- buildFunction(type, "toObject", protobuf.converter.toObject(type));
577
-
578
- push("");
579
- pushComment([
580
- "Converts this " + type.name + " to JSON.",
581
- "@function toJSON",
582
- "@memberof " + exportName(type),
583
- "@instance",
584
- "@returns {Object.<string,*>} JSON object"
585
- ]);
586
- push(escapeName(type.name) + ".prototype.toJSON = function toJSON() {");
587
- ++indent;
588
- push("return this.constructor.toObject(this, $protobuf.util.toJSONOptions);");
589
- --indent;
590
- push("};");
591
- }
592
- }
593
-
594
- function buildService(ref, service) {
595
-
596
- push("");
597
- pushComment([
598
- "Constructs a new " + service.name + " service.",
599
- service.parent instanceof protobuf.Root ? "@exports " + escapeName(service.name) : "@memberof " + exportName(service.parent),
600
- "@classdesc " + (service.comment || "Represents " + aOrAn(service.name)),
601
- "@extends $protobuf.rpc.Service",
602
- "@constructor",
603
- "@param {$protobuf.RPCImpl} rpcImpl RPC implementation",
604
- "@param {boolean} [requestDelimited=false] Whether requests are length-delimited",
605
- "@param {boolean} [responseDelimited=false] Whether responses are length-delimited"
606
- ]);
607
- push("function " + escapeName(service.name) + "(rpcImpl, requestDelimited, responseDelimited) {");
608
- ++indent;
609
- push("$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);");
610
- --indent;
611
- push("}");
612
- push("");
613
- push("(" + escapeName(service.name) + ".prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = " + escapeName(service.name) + ";");
614
-
615
- if (config.create) {
616
- push("");
617
- pushComment([
618
- "Creates new " + service.name + " service using the specified rpc implementation.",
619
- "@function create",
620
- "@memberof " + exportName(service),
621
- "@static",
622
- "@param {$protobuf.RPCImpl} rpcImpl RPC implementation",
623
- "@param {boolean} [requestDelimited=false] Whether requests are length-delimited",
624
- "@param {boolean} [responseDelimited=false] Whether responses are length-delimited",
625
- "@returns {" + escapeName(service.name) + "} RPC service. Useful where requests and/or responses are streamed."
626
- ]);
627
- push(escapeName(service.name) + ".create = function create(rpcImpl, requestDelimited, responseDelimited) {");
628
- ++indent;
629
- push("return new this(rpcImpl, requestDelimited, responseDelimited);");
630
- --indent;
631
- push("};");
632
- }
633
-
634
- service.methodsArray.forEach(function(method) {
635
- method.resolve();
636
- var lcName = protobuf.util.lcFirst(method.name),
637
- cbName = escapeName(method.name + "Callback");
638
- push("");
639
- pushComment([
640
- "Callback as used by {@link " + exportName(service) + "#" + escapeName(lcName) + "}.",
641
- // This is a more specialized version of protobuf.rpc.ServiceCallback
642
- "@memberof " + exportName(service),
643
- "@typedef " + cbName,
644
- "@type {function}",
645
- "@param {Error|null} error Error, if any",
646
- "@param {" + exportName(method.resolvedResponseType) + "} [response] " + method.resolvedResponseType.name
647
- ]);
648
- push("");
649
- pushComment([
650
- method.comment || "Calls " + method.name + ".",
651
- "@function " + lcName,
652
- "@memberof " + exportName(service),
653
- "@instance",
654
- "@param {" + exportName(method.resolvedRequestType, !config.forceMessage) + "} request " + method.resolvedRequestType.name + " message or plain object",
655
- "@param {" + exportName(service) + "." + cbName + "} callback Node-style callback called with the error, if any, and " + method.resolvedResponseType.name,
656
- "@returns {undefined}",
657
- "@variation 1"
658
- ]);
659
- push("Object.defineProperty(" + escapeName(service.name) + ".prototype" + util.safeProp(lcName) + " = function " + escapeName(lcName) + "(request, callback) {");
660
- ++indent;
661
- push("return this.rpcCall(" + escapeName(lcName) + ", $root." + exportName(method.resolvedRequestType) + ", $root." + exportName(method.resolvedResponseType) + ", request, callback);");
662
- --indent;
663
- push("}, \"name\", { value: " + JSON.stringify(method.name) + " });");
664
- if (config.comments)
665
- push("");
666
- pushComment([
667
- method.comment || "Calls " + method.name + ".",
668
- "@function " + lcName,
669
- "@memberof " + exportName(service),
670
- "@instance",
671
- "@param {" + exportName(method.resolvedRequestType, !config.forceMessage) + "} request " + method.resolvedRequestType.name + " message or plain object",
672
- "@returns {Promise<" + exportName(method.resolvedResponseType) + ">} Promise",
673
- "@variation 2"
674
- ]);
675
- });
676
- }
677
-
678
- function buildEnum(ref, enm) {
679
-
680
- push("");
681
- var comment = [
682
- enm.comment || enm.name + " enum.",
683
- enm.parent instanceof protobuf.Root ? "@exports " + escapeName(enm.name) : "@name " + exportName(enm),
684
- config.forceEnumString ? "@enum {string}" : "@enum {number}",
685
- ];
686
- Object.keys(enm.values).forEach(function(key) {
687
- var val = config.forceEnumString ? key : enm.values[key];
688
- comment.push((config.forceEnumString ? "@property {string} " : "@property {number} ") + key + "=" + val + " " + (enm.comments[key] || key + " value"));
689
- });
690
- pushComment(comment);
691
- if (!ref && config.es6)
692
- push("export const " + escapeName(enm.name) + " = " + escapeName(ref) + "." + escapeName(enm.name) + " = (() => {");
693
- else
694
- push(escapeName(ref) + "." + escapeName(enm.name) + " = (function() {");
695
- ++indent;
696
- push((config.es6 ? "const" : "var") + " valuesById = {}, values = Object.create(valuesById);");
697
- var aliased = [];
698
- Object.keys(enm.values).forEach(function(key) {
699
- var valueId = enm.values[key];
700
- var val = config.forceEnumString ? JSON.stringify(key) : valueId;
701
- if (aliased.indexOf(valueId) > -1)
702
- push("values[" + JSON.stringify(key) + "] = " + val + ";");
703
- else {
704
- push("values[valuesById[" + valueId + "] = " + JSON.stringify(key) + "] = " + val + ";");
705
- aliased.push(valueId);
706
- }
707
- });
708
- push("return values;");
709
- --indent;
710
- push("})();");
711
- }