@tablestore/tablestore-agent-cli 0.2.11 → 0.4.0

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 (748) hide show
  1. package/dist/commands/dashboard.d.ts.map +1 -1
  2. package/dist/commands/dashboard.js +3 -0
  3. package/dist/commands/dashboard.js.map +1 -1
  4. package/dist/commands/doctor.d.ts.map +1 -1
  5. package/dist/commands/doctor.js +10 -11
  6. package/dist/commands/doctor.js.map +1 -1
  7. package/dist/commands/memory-items.d.ts +3 -0
  8. package/dist/commands/memory-items.d.ts.map +1 -0
  9. package/dist/commands/memory-items.js +375 -0
  10. package/dist/commands/memory-items.js.map +1 -0
  11. package/dist/commands/memory.d.ts.map +1 -1
  12. package/dist/commands/memory.js +135 -196
  13. package/dist/commands/memory.js.map +1 -1
  14. package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
  15. package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +11 -0
  16. package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
  17. package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
  18. package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +4 -4
  19. package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +86 -0
  20. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js.nft.json +1 -1
  21. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page_client-reference-manifest.js +1 -1
  22. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  23. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  24. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js.nft.json +1 -1
  25. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
  26. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js.nft.json +1 -1
  27. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
  28. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js.nft.json +1 -1
  29. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
  30. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js.nft.json +1 -1
  31. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
  32. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js.nft.json +1 -1
  33. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
  34. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js.nft.json +1 -1
  35. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
  36. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js.nft.json +1 -1
  37. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
  38. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js.nft.json +1 -1
  39. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
  40. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js.nft.json +1 -1
  41. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
  42. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js.nft.json +1 -1
  43. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  44. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js.nft.json +1 -1
  45. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page_client-reference-manifest.js +1 -1
  46. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js.nft.json +1 -1
  47. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page_client-reference-manifest.js +1 -1
  48. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js.nft.json +1 -1
  49. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
  50. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js.nft.json +1 -1
  51. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
  52. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js.nft.json +1 -1
  53. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
  54. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/app-paths-manifest.json +3 -0
  55. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/build-manifest.json +18 -0
  56. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/next-font-manifest.json +8 -0
  57. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/react-loadable-manifest.json +1 -0
  58. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/server-reference-manifest.json +4 -0
  59. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js +23 -0
  60. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js.map +5 -0
  61. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js.nft.json +1 -0
  62. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page_client-reference-manifest.js +3 -0
  63. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js.nft.json +1 -1
  64. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
  65. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js.nft.json +1 -1
  66. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
  67. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js.nft.json +1 -1
  68. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page_client-reference-manifest.js +1 -1
  69. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js.nft.json +1 -1
  70. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
  71. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/app-paths-manifest.json +3 -0
  72. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/build-manifest.json +18 -0
  73. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/next-font-manifest.json +8 -0
  74. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/react-loadable-manifest.json +1 -0
  75. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/server-reference-manifest.json +4 -0
  76. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js +23 -0
  77. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js.map +5 -0
  78. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js.nft.json +1 -0
  79. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page_client-reference-manifest.js +3 -0
  80. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js.nft.json +1 -1
  81. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
  82. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js.nft.json +1 -1
  83. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
  84. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
  85. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
  86. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
  87. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
  88. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  89. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  90. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  91. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  92. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  93. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  94. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
  95. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +16 -16
  96. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
  97. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
  98. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +11 -11
  99. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  100. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  101. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  102. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js +1 -1
  103. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js.nft.json +1 -1
  104. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js +1 -1
  105. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js.nft.json +1 -1
  106. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js +1 -1
  107. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js.nft.json +1 -1
  108. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js +1 -1
  109. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js.nft.json +1 -1
  110. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js +1 -1
  111. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js.nft.json +1 -1
  112. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js +1 -1
  113. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js.nft.json +1 -1
  114. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
  115. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
  116. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
  117. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
  118. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
  119. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
  120. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
  121. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
  122. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
  123. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
  124. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/app-paths-manifest.json +3 -0
  125. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/build-manifest.json +9 -0
  126. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route/server-reference-manifest.json +4 -0
  127. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js +6 -0
  128. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.map +5 -0
  129. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.nft.json +1 -0
  130. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route_client-reference-manifest.js +3 -0
  131. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
  132. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
  133. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
  134. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
  135. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
  136. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
  137. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
  138. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
  139. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
  140. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
  141. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
  142. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
  143. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
  144. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
  145. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
  146. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
  147. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
  148. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
  149. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +2 -2
  150. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
  151. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
  152. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
  153. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
  154. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
  155. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
  156. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
  157. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
  158. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
  159. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js +1 -1
  160. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js.nft.json +1 -1
  161. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +1 -1
  162. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -1
  163. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +1 -1
  164. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js.nft.json +1 -1
  165. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js +1 -1
  166. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js.nft.json +1 -1
  167. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js +1 -1
  168. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js.nft.json +1 -1
  169. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js +1 -1
  170. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js.nft.json +1 -1
  171. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js +1 -1
  172. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js.nft.json +1 -1
  173. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js +2 -2
  174. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js.nft.json +1 -1
  175. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
  176. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
  177. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
  178. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
  179. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
  180. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
  181. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js +1 -1
  182. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js.nft.json +1 -1
  183. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
  184. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
  185. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js +1 -1
  186. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js.nft.json +1 -1
  187. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js +1 -1
  188. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js.nft.json +1 -1
  189. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
  190. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
  191. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
  192. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
  193. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/app-paths-manifest.json +3 -0
  194. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/build-manifest.json +9 -0
  195. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/server-reference-manifest.json +4 -0
  196. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js +6 -0
  197. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js.map +5 -0
  198. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js.nft.json +1 -0
  199. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route_client-reference-manifest.js +3 -0
  200. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/app-paths-manifest.json +3 -0
  201. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/build-manifest.json +9 -0
  202. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/server-reference-manifest.json +4 -0
  203. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js +6 -0
  204. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js.map +5 -0
  205. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js.nft.json +1 -0
  206. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route_client-reference-manifest.js +3 -0
  207. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/app-paths-manifest.json +3 -0
  208. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/build-manifest.json +9 -0
  209. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/server-reference-manifest.json +4 -0
  210. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js +6 -0
  211. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js.map +5 -0
  212. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js.nft.json +1 -0
  213. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route_client-reference-manifest.js +3 -0
  214. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/app-paths-manifest.json +3 -0
  215. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/build-manifest.json +9 -0
  216. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/server-reference-manifest.json +4 -0
  217. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js +6 -0
  218. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js.map +5 -0
  219. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js.nft.json +1 -0
  220. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route_client-reference-manifest.js +3 -0
  221. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/app-paths-manifest.json +3 -0
  222. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/build-manifest.json +9 -0
  223. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/server-reference-manifest.json +4 -0
  224. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js +6 -0
  225. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js.map +5 -0
  226. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js.nft.json +1 -0
  227. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route_client-reference-manifest.js +3 -0
  228. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/app-paths-manifest.json +3 -0
  229. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/build-manifest.json +9 -0
  230. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/server-reference-manifest.json +4 -0
  231. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js +6 -0
  232. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js.map +5 -0
  233. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js.nft.json +1 -0
  234. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route_client-reference-manifest.js +3 -0
  235. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/app-paths-manifest.json +3 -0
  236. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/build-manifest.json +9 -0
  237. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/server-reference-manifest.json +4 -0
  238. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js +6 -0
  239. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js.map +5 -0
  240. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js.nft.json +1 -0
  241. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route_client-reference-manifest.js +3 -0
  242. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/app-paths-manifest.json +3 -0
  243. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/build-manifest.json +9 -0
  244. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/server-reference-manifest.json +4 -0
  245. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js +6 -0
  246. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js.map +5 -0
  247. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js.nft.json +1 -0
  248. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route_client-reference-manifest.js +3 -0
  249. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
  250. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
  251. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js +1 -1
  252. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js.nft.json +1 -1
  253. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js +1 -1
  254. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js.nft.json +1 -1
  255. package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
  256. package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +15 -15
  257. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  258. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +15 -15
  259. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +3 -3
  260. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +11 -11
  261. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  262. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js.nft.json +1 -1
  263. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  264. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
  265. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +18 -18
  266. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +18 -18
  267. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +3 -3
  268. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +11 -11
  269. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
  270. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
  271. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +4 -4
  272. package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  273. package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +11 -0
  274. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0e95__next-internal_server_app_api_v1_instances_connectivity_route_actions_0hc.k~w.js +3 -0
  275. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_artifacts_route_actions_0doape5.js +3 -0
  276. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_ingest_route_actions_0ppwgam.js +3 -0
  277. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_page_route_actions_0odivj9.js +3 -0
  278. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_pages_route_actions_0s15y9a.js +3 -0
  279. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_route_actions_0dbjn9p.js +3 -0
  280. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_search_route_actions_108iypz.js +3 -0
  281. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_source_route_actions_0vmf0n5.js +3 -0
  282. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_sources_route_actions_0i4~w4-.js +3 -0
  283. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +24 -17
  284. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-pbmiq._.js +3 -0
  285. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.hvkwy._.js +1 -1
  286. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__03~qmfv._.js +3 -0
  287. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0_g86ij._.js +3 -0
  288. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0db9xtg._.js +40 -0
  289. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ejcow5._.js +1 -1
  290. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0es0s_~._.js +1 -1
  291. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0f~3a2d._.js +3 -0
  292. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0is6qso._.js +1 -1
  293. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0n.tvh_._.js +3 -0
  294. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ohui_o._.js +3 -0
  295. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ssi0g0._.js +3 -0
  296. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0tc-.6s._.js +1 -1
  297. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0u03tze._.js +1 -1
  298. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ua_nqs._.js +1 -1
  299. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0wpch_g._.js +3 -0
  300. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ypo~ko._.js +3 -0
  301. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0w56nne._.js → [root-of-the-server]__0yqtnx6._.js} +9 -9
  302. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11rxx0.._.js +40 -0
  303. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11wq90l._.js +1 -1
  304. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__120vi1p._.js +3 -0
  305. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13q2wbt._.js +1 -1
  306. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13~-fxp._.js +1 -1
  307. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +1 -1
  308. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0e95__next-internal_server_app_(dashboard)_memory_[store]_scope_page_actions_0n2kkfu.js +3 -0
  309. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0e95__next-internal_server_app_(dashboard)_memory_[store]_wiki_page_actions_01zih-8.js +3 -0
  310. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_esm_build_templates_app-page_07x7aai.js +4 -0
  311. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_esm_build_templates_app-page_0u~m_xi.js +4 -0
  312. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__05kcz99._.js +3 -0
  313. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__06l7w~r._.js +3 -0
  314. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fsbff._.js +1 -1
  315. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0_6myqa._.js +3 -0
  316. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0cn05tt._.js +3 -0
  317. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0d-z.x1._.js +3 -0
  318. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0i9tlv5._.js +3 -0
  319. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ov6305._.js +1 -1
  320. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_00.la1c._.js +3 -0
  321. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_019ufsh._.js +3 -0
  322. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01r6jx1._.js +3 -0
  323. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0251rsp._.js +1 -1
  324. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04rasxw._.js +3 -0
  325. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04wdnle._.js +3 -0
  326. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05__-74._.js +3 -0
  327. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05wwgdw._.js +3 -0
  328. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06.3nzk._.js +3 -0
  329. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06ofr7j._.js +3 -0
  330. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0bn79mh._.js +3 -0
  331. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0cpcl4p._.js +3 -0
  332. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0d_nd-j._.js +3 -0
  333. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f.xs7l._.js +3 -0
  334. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0fz3kge._.js +1 -1
  335. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gyu-mm._.js +3 -0
  336. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jt60z2._.js +3 -0
  337. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0k7q0ug._.js +3 -0
  338. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0kaclzw._.js +3 -0
  339. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0lstkpb._.js +3 -0
  340. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qw41co._.js +3 -0
  341. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0vfgz-v._.js +3 -0
  342. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ww5s91._.js +1 -1
  343. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_119lxvo._.js +3 -0
  344. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0x60pxf._.js +1 -1
  345. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0xaihln._.js +3 -0
  346. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
  347. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
  348. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_api-keys_page_tsx_0lb6fu7._.js +1 -1
  349. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_[dreamId]_page_tsx_0wy3tv6._.js +1 -1
  350. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_page_tsx_0uzzpvs._.js +1 -1
  351. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_layout_tsx_0rbi41w._.js +1 -1
  352. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_memory_memory-files-browser_tsx_0o2~94-._.js +1 -1
  353. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_ui_01evqg6._.js +3 -0
  354. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +1 -1
  355. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0..ymrl._.js +3 -0
  356. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_12_d6fg._.js +3 -0
  357. package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +9 -0
  358. package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
  359. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
  360. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +2 -0
  361. package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
  362. package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
  363. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
  364. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
  365. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01nixb3ddw4hy.js +1 -0
  366. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01u9hj_9~5-vg.js +1 -0
  367. package/dist/dashboard-runtime/dashboard/.next/static/chunks/02q3tpry1ajx9.js +1 -0
  368. package/dist/dashboard-runtime/dashboard/.next/static/chunks/03rx12c5dxw_4.js +1 -0
  369. package/dist/dashboard-runtime/dashboard/.next/static/chunks/057-rg6~0wki8.css +1 -0
  370. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07q8af71w17xl.js +1 -0
  371. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07v6llp0fv6iq.js +1 -0
  372. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09hfvw~51z.9o.js +1 -0
  373. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0axnv6wy1_hr7.js +1 -0
  374. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0bbcwyy.xvpd0.js +1 -0
  375. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0eafb9pun~54k.js → 0cfrd_r4jr_ip.js} +2 -2
  376. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dpj.6wcf.qn8.js +1 -0
  377. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0f-mf~9z.~82q.js +1 -0
  378. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0gt8u.o_c_nix.js +1 -0
  379. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0hh2728tmgrdk.js +1 -0
  380. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0idn9fvygbi9d.js +1 -0
  381. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0idr-.ttn_21z.js +1 -0
  382. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k6m5~gmu0f8w.js +1 -0
  383. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k_rtgxnq8bsz.js +1 -0
  384. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nq2xdnij7nqt.js +1 -0
  385. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nw7q~w~vg.-y.js +1 -0
  386. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0o-j8g9gp_c1r.js +1 -0
  387. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pm6vv5wntle..js +1 -0
  388. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qr499bd44k.g.js +1 -0
  389. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0sx_fx5r7nq4b.js +1 -0
  390. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0tbu6y0a22ok8.js +1 -0
  391. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u7fh6be6noif.js +1 -0
  392. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vfuo2829nn25.js +4 -0
  393. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wcf_hdt9arma.js +5 -0
  394. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xash~4j8pl87.js +1 -0
  395. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xi6y8g4l~vzr.js +1 -0
  396. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0y45-~ia9sqr0.js +1 -0
  397. package/dist/dashboard-runtime/dashboard/.next/static/chunks/10684vn7g6wln.js +1 -0
  398. package/dist/dashboard-runtime/dashboard/.next/static/chunks/1204oli3aouy7.js +1 -0
  399. package/dist/dashboard-runtime/dashboard/.next/static/chunks/13gbu.62oz207.js +138 -0
  400. package/dist/dashboard-runtime/dashboard/.next/static/chunks/14t.r5~ls3k0x.js +1 -0
  401. package/dist/dashboard-runtime/dashboard/.next/static/chunks/15043qe~kvq-v.js +1 -0
  402. package/dist/dashboard-runtime/dashboard/.next/static/chunks/168xs92lu3o~y.js +1 -0
  403. package/dist/dashboard-runtime/dashboard/package.json +1 -1
  404. package/dist/dashboard-runtime/dashboard/server.js +1 -1
  405. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/page.tsx +14 -0
  406. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +195 -2
  407. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +15 -2
  408. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/layout.tsx +36 -9
  409. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/scope/page.tsx +51 -0
  410. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/wiki/page.tsx +157 -0
  411. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/page.tsx +3 -0
  412. package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/connectivity/route.ts +66 -0
  413. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-curator.ts +58 -56
  414. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-helpers.ts +6 -6
  415. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-helpers.ts +50 -0
  416. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-retrieval.ts +160 -0
  417. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-security.ts +26 -0
  418. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/route.ts +477 -285
  419. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/server-file-memory.ts +113 -0
  420. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/wiki-retrieval.ts +656 -0
  421. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/_scope.ts +67 -0
  422. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.ts +39 -6
  423. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/[action]/route.ts +22 -28
  424. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/_helpers.ts +5 -23
  425. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/_helpers.ts +317 -0
  426. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/artifacts/route.ts +194 -0
  427. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/ingest/route.ts +60 -0
  428. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/page/route.ts +55 -0
  429. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/pages/route.ts +61 -0
  430. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/route.ts +89 -0
  431. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/search/route.ts +58 -0
  432. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/source/route.ts +230 -0
  433. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/sources/route.ts +295 -0
  434. package/dist/dashboard-runtime/dashboard/src/app/onboarding/page.tsx +1 -3
  435. package/dist/dashboard-runtime/dashboard/src/components/api-keys/custom-policy-editor.tsx +2 -1
  436. package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-rule-dialog.tsx +17 -10
  437. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-config-context.tsx +181 -32
  438. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-scope-entry-hydrator.tsx +116 -0
  439. package/dist/dashboard-runtime/dashboard/src/components/chat/memory-bind-section.tsx +37 -15
  440. package/dist/dashboard-runtime/dashboard/src/components/chat/mount-picker.tsx +5 -1
  441. package/dist/dashboard-runtime/dashboard/src/components/chat/wiki-bind-section.tsx +153 -0
  442. package/dist/dashboard-runtime/dashboard/src/components/instance/instance-connectivity-dot.tsx +96 -0
  443. package/dist/dashboard-runtime/dashboard/src/components/instance/project-card.tsx +5 -1
  444. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-gate.tsx +23 -5
  445. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-switcher.tsx +23 -5
  446. package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +13 -1
  447. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +29 -4
  448. package/dist/dashboard-runtime/dashboard/src/components/memory/file-details-panel.tsx +4 -4
  449. package/dist/dashboard-runtime/dashboard/src/components/memory/file-editor.tsx +9 -4
  450. package/dist/dashboard-runtime/dashboard/src/components/memory/file-version-history.tsx +107 -57
  451. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-actions-table.tsx +13 -0
  452. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +539 -139
  453. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-plan-approval-dialog.tsx +172 -0
  454. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-files-browser.tsx +104 -56
  455. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +266 -82
  456. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +184 -76
  457. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-hierarchy-picker.tsx +274 -0
  458. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-workspace-cards.tsx +475 -0
  459. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-workspace.tsx +197 -0
  460. package/dist/dashboard-runtime/dashboard/src/components/qa/answer-evidence-block.tsx +145 -0
  461. package/dist/dashboard-runtime/dashboard/src/components/qa/memory-evidence-content.tsx +106 -0
  462. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +72 -87
  463. package/dist/dashboard-runtime/dashboard/src/components/qa/wiki-evidence-block.tsx +326 -0
  464. package/dist/dashboard-runtime/dashboard/src/components/shared/llm-model-selector.tsx +5 -1
  465. package/dist/dashboard-runtime/dashboard/src/components/ui/dialog.tsx +1 -1
  466. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-build-panel.tsx +640 -0
  467. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-detail.tsx +302 -0
  468. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-edit-dialog.tsx +195 -0
  469. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-overview.tsx +104 -0
  470. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-pages-panel.tsx +424 -0
  471. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-sources-panel.tsx +506 -0
  472. package/dist/dashboard-runtime/dashboard/src/contexts/subspace-context.tsx +144 -30
  473. package/dist/dashboard-runtime/dashboard/src/hooks/use-approve-dream-plan.ts +25 -0
  474. package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-history.ts +625 -44
  475. package/dist/dashboard-runtime/dashboard/src/hooks/use-file-memory.ts +73 -72
  476. package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +40 -0
  477. package/dist/dashboard-runtime/dashboard/src/hooks/use-qa-chat.ts +329 -94
  478. package/dist/dashboard-runtime/dashboard/src/hooks/use-subspace-history.ts +64 -75
  479. package/dist/dashboard-runtime/dashboard/src/hooks/use-wiki-build-polling.ts +151 -0
  480. package/dist/dashboard-runtime/dashboard/src/hooks/use-wikis.ts +291 -0
  481. package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +453 -24
  482. package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +420 -16
  483. package/dist/dashboard-runtime/dashboard/src/lib/browser-file-memory.ts +53 -341
  484. package/dist/dashboard-runtime/dashboard/src/lib/chat-scope-entry.ts +59 -0
  485. package/dist/dashboard-runtime/dashboard/src/lib/dream-create-options.ts +27 -0
  486. package/dist/dashboard-runtime/dashboard/src/lib/file-memory-core.ts +744 -0
  487. package/dist/dashboard-runtime/dashboard/src/lib/memory-scope-history.ts +165 -0
  488. package/dist/dashboard-runtime/dashboard/src/lib/memory-storage-mode.ts +25 -4
  489. package/dist/dashboard-runtime/dashboard/src/lib/memory.ts +13 -0
  490. package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +103 -14
  491. package/dist/dashboard-runtime/dashboard/src/lib/retrieval-security.ts +54 -0
  492. package/dist/dashboard-runtime/dashboard/src/lib/scope-hierarchy.ts +167 -0
  493. package/dist/dashboard-runtime/dashboard/src/lib/scope-workspace.ts +123 -0
  494. package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +51 -3
  495. package/dist/dashboard-runtime/dashboard/src/lib/server/instance-connectivity.ts +136 -0
  496. package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +28 -3
  497. package/dist/dashboard-runtime/dashboard/src/lib/subspace-history.ts +151 -0
  498. package/dist/dashboard-runtime/dashboard/src/lib/wiki-metadata-limits.ts +133 -0
  499. package/dist/dashboard-runtime/dashboard/src/lib/wiki-page-tree.ts +153 -0
  500. package/dist/dashboard-runtime/dashboard/src/schemas/llm-chat.ts +121 -21
  501. package/dist/dashboard-runtime/dashboard/src/services/file-memory.ts +48 -56
  502. package/dist/dashboard-runtime/dashboard/src/services/instances.ts +5 -0
  503. package/dist/dashboard-runtime/dashboard/src/services/memory.ts +45 -5
  504. package/dist/dashboard-runtime/dashboard/src/services/wiki.ts +145 -0
  505. package/dist/dashboard-runtime/dashboard/src/types/file-memory.ts +96 -43
  506. package/dist/dashboard-runtime/dashboard/src/types/instance.ts +17 -0
  507. package/dist/dashboard-runtime/dashboard/src/types/llm-chat.ts +72 -9
  508. package/dist/dashboard-runtime/dashboard/src/types/memory.ts +25 -3
  509. package/dist/dashboard-runtime/dashboard/src/types/wiki.ts +200 -0
  510. package/dist/dashboard-runtime/dashboard/tsconfig.tsbuildinfo +1 -1
  511. package/dist/dashboard-runtime/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  512. package/dist/dashboard-runtime/node_modules/@img/{sharp-linux-x64 → sharp-darwin-arm64}/package.json +7 -13
  513. package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/README.md +2 -2
  514. package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/glib-2.0/include/glibconfig.h +8 -9
  515. package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib} +0 -0
  516. package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/package.json +5 -11
  517. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/CHANGELOG.md +175 -0
  518. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/LICENSE +201 -0
  519. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/README.md +203 -0
  520. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/package.json +3 -0
  521. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/request-context.js +21 -0
  522. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-base.js +70 -0
  523. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-v2.js +13 -0
  524. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-v4.js +51 -0
  525. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/client/agent-storage-client.js +196 -0
  526. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/errors/client-error.js +10 -0
  527. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/errors/service-error.js +16 -0
  528. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/headers.js +31 -0
  529. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/md5.js +9 -0
  530. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/ots-json-client.js +155 -0
  531. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/base.js +19 -0
  532. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/chunk.js +67 -0
  533. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/document.js +163 -0
  534. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/enums.js +31 -0
  535. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/file.js +27 -0
  536. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/knowledge-base.js +118 -0
  537. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/memory.js +711 -0
  538. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/metadata-filter.js +123 -0
  539. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/retrieve.js +152 -0
  540. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/unset.js +8 -0
  541. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/wiki.js +2 -0
  542. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/serialization/to-json-request.js +9 -0
  543. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/version.js +5 -0
  544. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/index.js +93 -0
  545. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/client/node-agent-storage-client.js +134 -0
  546. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/fs/file-path.js +73 -0
  547. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/fs/file-reader.js +13 -0
  548. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/oss/oss-uploader.js +30 -0
  549. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node.js +5 -0
  550. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/request-context.d.ts +12 -0
  551. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/request-context.js +17 -0
  552. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-base.d.ts +12 -0
  553. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-base.js +63 -0
  554. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v2.d.ts +6 -0
  555. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v2.js +9 -0
  556. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v4.d.ts +15 -0
  557. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v4.js +47 -0
  558. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/client/agent-storage-client.d.ts +78 -0
  559. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/client/agent-storage-client.js +192 -0
  560. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/client-error.d.ts +3 -0
  561. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/client-error.js +6 -0
  562. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/service-error.d.ts +10 -0
  563. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/service-error.js +12 -0
  564. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/headers.d.ts +14 -0
  565. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/headers.js +27 -0
  566. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/md5.d.ts +1 -0
  567. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/md5.js +6 -0
  568. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/ots-json-client.d.ts +27 -0
  569. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/ots-json-client.js +151 -0
  570. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/base.d.ts +5 -0
  571. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/base.js +15 -0
  572. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/chunk.d.ts +47 -0
  573. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/chunk.js +61 -0
  574. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/document.d.ts +107 -0
  575. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/document.js +151 -0
  576. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/enums.d.ts +24 -0
  577. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/enums.js +28 -0
  578. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/file.d.ts +364 -0
  579. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/file.js +24 -0
  580. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/knowledge-base.d.ts +97 -0
  581. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/knowledge-base.js +108 -0
  582. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/memory.d.ts +1018 -0
  583. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/memory.js +684 -0
  584. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/metadata-filter.d.ts +74 -0
  585. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/metadata-filter.js +118 -0
  586. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/retrieve.d.ts +113 -0
  587. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/retrieve.js +140 -0
  588. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/unset.d.ts +3 -0
  589. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/unset.js +4 -0
  590. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/wiki.d.ts +118 -0
  591. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/wiki.js +1 -0
  592. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/serialization/to-json-request.d.ts +2 -0
  593. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/serialization/to-json-request.js +6 -0
  594. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/version.d.ts +2 -0
  595. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/version.js +2 -0
  596. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/index.d.ts +17 -0
  597. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/index.js +16 -0
  598. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/client/node-agent-storage-client.d.ts +39 -0
  599. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/client/node-agent-storage-client.js +130 -0
  600. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-path.d.ts +12 -0
  601. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-path.js +34 -0
  602. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-reader.d.ts +8 -0
  603. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-reader.js +9 -0
  604. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/oss/oss-uploader.d.ts +17 -0
  605. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/oss/oss-uploader.js +23 -0
  606. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node.d.ts +1 -0
  607. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node.js +1 -0
  608. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/package.json +67 -0
  609. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +1 -0
  610. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  611. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +1 -0
  612. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  613. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts +13 -0
  614. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts.map +1 -0
  615. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js +40 -0
  616. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js.map +1 -0
  617. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -1
  618. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  619. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +21 -9
  620. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  621. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +11 -57
  622. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  623. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +42 -103
  624. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  625. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  626. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +57 -36
  627. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  628. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  629. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts +6 -0
  630. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts.map +1 -1
  631. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts +18 -0
  632. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts.map +1 -0
  633. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js +100 -0
  634. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js.map +1 -0
  635. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
  636. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  637. package/dist/main.js +0 -0
  638. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +1 -0
  639. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  640. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +1 -0
  641. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  642. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts +13 -0
  643. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts.map +1 -0
  644. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js +40 -0
  645. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js.map +1 -0
  646. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -1
  647. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  648. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +21 -9
  649. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  650. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +11 -57
  651. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  652. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +42 -103
  653. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  654. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  655. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +57 -36
  656. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  657. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  658. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts +6 -0
  659. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts.map +1 -1
  660. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts +18 -0
  661. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts.map +1 -0
  662. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js +100 -0
  663. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js.map +1 -0
  664. package/dist/node_modules/@tablestore/tablestore-agent-sdk/package.json +1 -1
  665. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  666. package/dist/output.d.ts.map +1 -1
  667. package/dist/output.js +1 -0
  668. package/dist/output.js.map +1 -1
  669. package/package.json +3 -3
  670. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0dzh4cj._.js +0 -40
  671. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0k7ex0r._.js +0 -40
  672. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0y0w3mg._.js +0 -3
  673. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0.ooo1s._.js +0 -3
  674. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01f7est._.js +0 -3
  675. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0b5cw4e._.js +0 -3
  676. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0cj2gsm._.js +0 -3
  677. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.pa1e6._.js +0 -3
  678. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01snuz~._.js +0 -3
  679. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_02waf76._.js +0 -3
  680. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05bw0~2._.js +0 -3
  681. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_071hi50._.js +0 -3
  682. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_aw2vr._.js +0 -3
  683. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0brqbty._.js +0 -3
  684. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ez3yia._.js +0 -3
  685. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0hy21o9._.js +0 -3
  686. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0odjvc.._.js +0 -3
  687. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0wce254._.js +0 -3
  688. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xrd8-1._.js +0 -3
  689. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0y7vx.d._.js +0 -3
  690. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_12l8jkb._.js +0 -3
  691. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13ctfae._.js +0 -3
  692. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0_z9696._.js +0 -3
  693. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +0 -3
  694. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0jns_ph._.js +0 -3
  695. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0sr_ner._.js +0 -3
  696. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-~e5~2eoun8n.js +0 -1
  697. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01xcynczarvq~.js +0 -1
  698. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01xuyqw7ivp3n.js +0 -138
  699. package/dist/dashboard-runtime/dashboard/.next/static/chunks/026lyw-ynx1og.js +0 -1
  700. package/dist/dashboard-runtime/dashboard/.next/static/chunks/029zyc1pxa~4m.js +0 -1
  701. package/dist/dashboard-runtime/dashboard/.next/static/chunks/05_iqjh-v2gej.js +0 -1
  702. package/dist/dashboard-runtime/dashboard/.next/static/chunks/05vzt~ml0z7~9.js +0 -1
  703. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07twdccs42b_-.js +0 -1
  704. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08h7wustf~cl4.js +0 -4
  705. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08nzc9sye_0~h.js +0 -1
  706. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08o2~c-80nbla.js +0 -1
  707. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_osn.dm_85jw.js +0 -1
  708. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0aj~rx1m.91ur.js +0 -5
  709. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dx_8pb_z_xy6.css +0 -1
  710. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0hnqmb1a7y7x1.js +0 -138
  711. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k9guaejnlc0r.js +0 -1
  712. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ll488v66ycn1.js +0 -1
  713. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ogrq_r43je48.js +0 -1
  714. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pxisu-1mnehf.js +0 -1
  715. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0r6utd8g~.cc1.js +0 -1
  716. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vn5pp.3keyh5.js +0 -1
  717. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wbozn0wq-4ls.js +0 -1
  718. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zatcw.k613lh.js +0 -1
  719. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~a4ig2x9z8uq.js +0 -1
  720. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~naqbx3873~r.js +0 -1
  721. package/dist/dashboard-runtime/dashboard/.next/static/chunks/12iur8ibdfi5_.js +0 -1
  722. package/dist/dashboard-runtime/dashboard/.next/static/chunks/13kxz9vygidrz.js +0 -1
  723. package/dist/dashboard-runtime/dashboard/.next/static/chunks/14.8mq880kjoc.js +0 -1
  724. package/dist/dashboard-runtime/dashboard/.next/static/chunks/165fwg-5at5cq.js +0 -1
  725. package/dist/dashboard-runtime/dashboard/.next/static/chunks/17b4md7atp39z.js +0 -1
  726. package/dist/dashboard-runtime/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  727. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
  728. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
  729. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
  730. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
  731. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  732. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  733. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  734. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  735. package/dist/dashboard-runtime/node_modules/semver/node_modules/.bin/semver +0 -21
  736. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +0 -153
  737. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +0 -1
  738. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +0 -451
  739. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +0 -1
  740. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts +0 -56
  741. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.d.ts.map +0 -1
  742. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js +0 -120
  743. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/oss-uploader.js.map +0 -1
  744. /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → bKUtNfKb47TOc1cpUk74A}/_buildManifest.js +0 -0
  745. /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → bKUtNfKb47TOc1cpUk74A}/_clientMiddlewareManifest.js +0 -0
  746. /package/dist/dashboard-runtime/dashboard/.next/static/{AgybWIwFBY3-L1V2Copiq → bKUtNfKb47TOc1cpUk74A}/_ssgManifest.js +0 -0
  747. /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/lib/index.js +0 -0
  748. /package/dist/dashboard-runtime/node_modules/@img/{sharp-libvips-linux-x64 → sharp-libvips-darwin-arm64}/versions.json +0 -0
@@ -6,9 +6,10 @@ import { useForm, useFieldArray } from "react-hook-form";
6
6
  import { zodResolver } from "@hookform/resolvers/zod";
7
7
  import { z } from "zod";
8
8
  import { toast } from "sonner";
9
- import { Plus, Trash2 } from "lucide-react";
9
+ import { HelpCircle, Plus, Trash2 } from "lucide-react";
10
10
 
11
11
  import { Button } from "@/components/ui/button";
12
+ import { Checkbox } from "@/components/ui/checkbox";
12
13
  import {
13
14
  Dialog,
14
15
  DialogContent,
@@ -20,6 +21,12 @@ import {
20
21
  import { Input } from "@/components/ui/input";
21
22
  import { Label } from "@/components/ui/label";
22
23
  import { Textarea } from "@/components/ui/textarea";
24
+ import {
25
+ Tooltip,
26
+ TooltipContent,
27
+ TooltipProvider,
28
+ TooltipTrigger,
29
+ } from "@/components/ui/tooltip";
23
30
  import {
24
31
  Select,
25
32
  SelectContent,
@@ -35,6 +42,7 @@ import {
35
42
  import {
36
43
  Form,
37
44
  FormControl,
45
+ FormDescription,
38
46
  FormField,
39
47
  FormItem,
40
48
  FormLabel,
@@ -43,8 +51,21 @@ import {
43
51
  import { useCreateDreamTask } from "@/hooks/use-create-dream-task";
44
52
  import { ScopeCombobox } from "@/components/memory/scope-combobox";
45
53
  import { useI18n } from "@/i18n/i18n-context";
46
- import type { TranslateFn } from "@/i18n/i18n-context";
47
- import type { DreamTaskType, MemoryScope } from "@/types/memory";
54
+ import type { MessageKey, TranslateFn } from "@/i18n/i18n-context";
55
+ import {
56
+ DREAM_APPLICATION_MODES,
57
+ dreamModeForcedEffort,
58
+ normalizeDreamMode,
59
+ } from "@/lib/dream-create-options";
60
+ import { cn } from "@/lib/utils";
61
+ import type {
62
+ CreateDreamTaskRequest,
63
+ DreamApplyMode,
64
+ DreamEffort,
65
+ DreamScopeOutputMode,
66
+ DreamTaskType,
67
+ MemoryScope,
68
+ } from "@/types/memory";
48
69
 
49
70
  interface DreamCreateDialogProps {
50
71
  memoryStoreName: string;
@@ -59,10 +80,14 @@ interface DreamSchemaMessages {
59
80
  atLeastOneNonWildcard: string;
60
81
  atLeastOneScope: string;
61
82
  scopesLimit: string;
83
+ highEffortScopesLimit: string;
84
+ effortCombination: string;
85
+ taskTypeExactScope: string;
62
86
  instructionsLimit: string;
63
87
  maxSessionsRange: string;
64
88
  maxMessagesRange: string;
65
89
  maxMemoriesRange: string;
90
+ expandedScopeLimitRange: string;
66
91
  thresholdRange: string;
67
92
  timestampInvalid: string;
68
93
  timestampOrder: string;
@@ -73,10 +98,14 @@ const DEFAULT_SCHEMA_MESSAGES: DreamSchemaMessages = {
73
98
  atLeastOneNonWildcard: "至少指定一个非通配符字段",
74
99
  atLeastOneScope: "至少一个 scope",
75
100
  scopesLimit: "scope 最多 20 个",
101
+ highEffortScopesLimit: "高 effort Dream scope 最多 8 个",
102
+ effortCombination: "effort 与应用模式组合无效",
103
+ taskTypeExactScope: "技能与画像任务必须且只能使用一个无通配符的精确 scope",
76
104
  instructionsLimit: "指令不能超过 4000 字节(UTF-8)",
77
- maxSessionsRange: "最大会话数必须是 1 到 100 之间的整数",
78
- maxMessagesRange: "最大消息数必须是 1 到 20000 之间的整数",
79
- maxMemoriesRange: "最大记忆数必须是 1 到 5000 之间的整数",
105
+ maxSessionsRange: "最大会话数必须是 0 到 100 之间的整数",
106
+ maxMessagesRange: "最大消息数必须是 0 到 20000 之间的整数",
107
+ maxMemoriesRange: "最大记忆数必须是 0 到 5000 之间的整数",
108
+ expandedScopeLimitRange: "展开 scope 上限必须是 0 到 1000 之间的整数",
80
109
  thresholdRange: "置信度阈值必须在 0 到 1 之间",
81
110
  timestampInvalid: "时间格式不正确",
82
111
  timestampOrder: "最晚时间不能早于最早时间",
@@ -104,7 +133,7 @@ function optionalIntegerString(max: number, message: string) {
104
133
  .superRefine((value, ctx) => {
105
134
  if (!value) return;
106
135
  const parsed = Number(value);
107
- if (!Number.isInteger(parsed) || parsed < 1 || parsed > max) {
136
+ if (!Number.isInteger(parsed) || parsed < 0 || parsed > max) {
108
137
  ctx.addIssue({ code: z.ZodIssueCode.custom, message });
109
138
  }
110
139
  });
@@ -142,17 +171,23 @@ function createDreamFormSchema(messages: DreamSchemaMessages) {
142
171
  return z
143
172
  .object({
144
173
  taskType: z.enum(["memory", "skill", "profile"]),
174
+ effort: z.enum(["low", "high"]),
145
175
  scopes: z
146
176
  .array(scopeSchema)
147
177
  .min(1, messages.atLeastOneScope)
148
178
  .max(20, messages.scopesLimit),
149
- applyMode: z.enum(["proposal", "safe_auto"]),
179
+ applyMode: z.enum(["proposal", "safe_auto", "plan"]).optional(),
180
+ incremental: z.boolean().optional(),
150
181
  scopeOutputMode: z.enum(["preserve_scope", "promote_scope"]).optional(),
151
182
  minTimestamp: optionalTimestampString(messages.timestampInvalid),
152
183
  maxTimestamp: optionalTimestampString(messages.timestampInvalid),
153
184
  maxSessions: optionalIntegerString(100, messages.maxSessionsRange),
154
185
  maxMessages: optionalIntegerString(20_000, messages.maxMessagesRange),
155
186
  maxMemories: optionalIntegerString(5_000, messages.maxMemoriesRange),
187
+ expandedScopeLimit: optionalIntegerString(
188
+ 1_000,
189
+ messages.expandedScopeLimitRange,
190
+ ),
156
191
  instructions: z
157
192
  .string()
158
193
  .optional()
@@ -170,18 +205,73 @@ function createDreamFormSchema(messages: DreamSchemaMessages) {
170
205
  thresholdMerge: optionalThresholdString(messages.thresholdRange),
171
206
  })
172
207
  .superRefine((values, ctx) => {
173
- if (!values.minTimestamp || !values.maxTimestamp) return;
174
- const minTimestamp = Date.parse(values.minTimestamp);
175
- const maxTimestamp = Date.parse(values.maxTimestamp);
176
- if (
177
- Number.isFinite(minTimestamp) &&
178
- Number.isFinite(maxTimestamp) &&
179
- maxTimestamp < minTimestamp
180
- ) {
208
+ if (values.minTimestamp && values.maxTimestamp) {
209
+ const minTimestamp = Date.parse(values.minTimestamp);
210
+ const maxTimestamp = Date.parse(values.maxTimestamp);
211
+ if (
212
+ Number.isFinite(minTimestamp) &&
213
+ Number.isFinite(maxTimestamp) &&
214
+ maxTimestamp < minTimestamp
215
+ ) {
216
+ ctx.addIssue({
217
+ code: z.ZodIssueCode.custom,
218
+ message: messages.timestampOrder,
219
+ path: ["maxTimestamp"],
220
+ });
221
+ }
222
+ }
223
+
224
+ if (values.taskType !== "memory") {
225
+ if (
226
+ values.effort === "high" &&
227
+ (values.scopes.length !== 1 ||
228
+ values.scopes.some((scope) =>
229
+ [scope.appId, scope.tenantId, scope.agentId, scope.runId].some(
230
+ (segment) => !segment || segment === "*",
231
+ ),
232
+ ))
233
+ ) {
234
+ ctx.addIssue({
235
+ code: z.ZodIssueCode.custom,
236
+ message: messages.taskTypeExactScope,
237
+ path: ["scopes"],
238
+ });
239
+ }
240
+ if (values.applyMode !== undefined) {
241
+ ctx.addIssue({
242
+ code: z.ZodIssueCode.custom,
243
+ message: messages.effortCombination,
244
+ path: ["applyMode"],
245
+ });
246
+ }
247
+ return;
248
+ }
249
+
250
+ if (values.applyMode === undefined) {
251
+ ctx.addIssue({
252
+ code: z.ZodIssueCode.custom,
253
+ message: messages.effortCombination,
254
+ path: ["applyMode"],
255
+ });
256
+ } else if (values.effort === "low" && values.applyMode === "plan") {
257
+ ctx.addIssue({
258
+ code: z.ZodIssueCode.custom,
259
+ message: messages.effortCombination,
260
+ path: ["applyMode"],
261
+ });
262
+ } else if (values.effort === "high" && values.applyMode === "proposal") {
263
+ ctx.addIssue({
264
+ code: z.ZodIssueCode.custom,
265
+ message: messages.effortCombination,
266
+ path: ["applyMode"],
267
+ });
268
+ }
269
+
270
+ if (values.effort === "high" && values.scopes.length > 8) {
181
271
  ctx.addIssue({
182
272
  code: z.ZodIssueCode.custom,
183
- message: messages.timestampOrder,
184
- path: ["maxTimestamp"],
273
+ message: messages.highEffortScopesLimit,
274
+ path: ["scopes"],
185
275
  });
186
276
  }
187
277
  });
@@ -198,22 +288,230 @@ function buildFormSchema(t: TranslateFn) {
198
288
  atLeastOneNonWildcard: t("memory.dream.atLeastOneNonWildcard"),
199
289
  atLeastOneScope: t("memory.dream.atLeastOneScope"),
200
290
  scopesLimit: t("memory.dream.scopesLimit"),
291
+ highEffortScopesLimit: t("memory.dream.highEffortScopesLimit"),
292
+ effortCombination: t("memory.dream.effortCombination"),
293
+ taskTypeExactScope: t("memory.dream.taskTypeExactScope"),
201
294
  instructionsLimit: t("memory.dream.instructionsLimit"),
202
295
  maxSessionsRange: t("memory.dream.maxSessionsRange"),
203
296
  maxMessagesRange: t("memory.dream.maxMessagesRange"),
204
297
  maxMemoriesRange: t("memory.dream.maxMemoriesRange"),
298
+ expandedScopeLimitRange: t("memory.dream.expandedScopeLimitRange"),
205
299
  thresholdRange: t("memory.dream.thresholdRange"),
206
300
  timestampInvalid: t("memory.dream.timestampInvalid"),
207
301
  timestampOrder: t("memory.dream.timestampOrder"),
208
302
  });
209
303
  }
210
304
 
211
- type FormValues = z.infer<typeof dreamCreateFormSchema>;
305
+ export type DreamCreateFormValues = z.infer<typeof dreamCreateFormSchema>;
306
+ type FormValues = DreamCreateFormValues;
307
+
308
+ const DREAM_EFFORTS = ["low", "high"] as const;
309
+
310
+ export function dreamEffortOptions(
311
+ _taskType: DreamTaskType,
312
+ ): readonly (typeof DREAM_EFFORTS)[number][] {
313
+ return DREAM_EFFORTS;
314
+ }
315
+
316
+ export function normalizeTaskTypeChange(
317
+ taskType: DreamTaskType,
318
+ current: Pick<DreamCreateFormValues, "effort" | "applyMode" | "scopes"> &
319
+ Partial<
320
+ Pick<
321
+ DreamCreateFormValues,
322
+ | "scopeOutputMode"
323
+ | "thresholdAdd"
324
+ | "thresholdUpdate"
325
+ | "thresholdMerge"
326
+ >
327
+ >,
328
+ ) {
329
+ if (taskType === "memory") {
330
+ return {
331
+ ...current,
332
+ applyMode:
333
+ current.applyMode ??
334
+ (current.effort === "high" ? "safe_auto" : "proposal"),
335
+ scopeOutputMode: current.scopeOutputMode ?? "preserve_scope",
336
+ };
337
+ }
338
+ return {
339
+ ...current,
340
+ applyMode: undefined,
341
+ scopeOutputMode: undefined,
342
+ thresholdAdd: undefined,
343
+ thresholdUpdate: undefined,
344
+ thresholdMerge: undefined,
345
+ scopes:
346
+ current.effort === "high" ? current.scopes.slice(0, 1) : current.scopes,
347
+ };
348
+ }
349
+
350
+ const APPLICATION_MODE_KEYS: Record<
351
+ DreamApplyMode,
352
+ { title: MessageKey; summary: MessageKey; help: MessageKey }
353
+ > = {
354
+ proposal: {
355
+ title: "memory.dream.applyModeRequestApproval",
356
+ summary: "memory.dream.applyModeRequestApprovalSummary",
357
+ help: "memory.dream.applyModeRequestApprovalHelp",
358
+ },
359
+ safe_auto: {
360
+ title: "memory.dream.applyModeHelpMeApprove",
361
+ summary: "memory.dream.applyModeHelpMeApproveSummary",
362
+ help: "memory.dream.applyModeHelpMeApproveHelp",
363
+ },
364
+ plan: {
365
+ title: "memory.dream.applyModePlanMode",
366
+ summary: "memory.dream.applyModePlanModeSummary",
367
+ help: "memory.dream.applyModePlanModeHelp",
368
+ },
369
+ };
370
+
371
+ export function DreamApplicationModeCards({
372
+ value,
373
+ effort,
374
+ onChange,
375
+ t,
376
+ }: {
377
+ value: DreamApplyMode;
378
+ effort: DreamEffort;
379
+ onChange: (value: DreamApplyMode, effort: DreamEffort) => void;
380
+ t: TranslateFn;
381
+ }) {
382
+ return (
383
+ <TooltipProvider delayDuration={150}>
384
+ <div
385
+ className="grid gap-2 sm:grid-cols-3"
386
+ role="radiogroup"
387
+ aria-label={t("memory.dream.applyMode")}
388
+ >
389
+ {DREAM_APPLICATION_MODES.map((mode) => {
390
+ const keys = APPLICATION_MODE_KEYS[mode.value];
391
+ const selected = value === mode.value;
392
+ return (
393
+ <div
394
+ key={mode.value}
395
+ className={cn(
396
+ "flex min-h-28 rounded-lg border bg-card transition-colors",
397
+ selected
398
+ ? "border-primary bg-primary-soft ring-1 ring-primary/20"
399
+ : "border-border hover:border-primary/40 hover:bg-muted/30",
400
+ )}
401
+ >
402
+ <button
403
+ type="button"
404
+ role="radio"
405
+ aria-checked={selected}
406
+ className="min-w-0 flex-1 rounded-l-lg p-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary"
407
+ onClick={() => {
408
+ const normalized = normalizeDreamMode(mode.value, effort);
409
+ onChange(normalized.applyMode, normalized.effort);
410
+ }}
411
+ >
412
+ <span className="block text-sm font-semibold">
413
+ {t(keys.title)}
414
+ </span>
415
+ <span className="mt-1 block text-xs leading-5 text-muted-foreground">
416
+ {t(keys.summary)}
417
+ </span>
418
+ </button>
419
+ <Tooltip>
420
+ <TooltipTrigger asChild>
421
+ <button
422
+ type="button"
423
+ className="m-2 h-7 w-7 shrink-0 rounded-full text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary"
424
+ aria-label={t("memory.dream.applyModeHelpLabel", {
425
+ mode: t(keys.title),
426
+ })}
427
+ >
428
+ <HelpCircle className="mx-auto h-4 w-4" />
429
+ </button>
430
+ </TooltipTrigger>
431
+ <TooltipContent className="max-w-72 leading-5" side="top">
432
+ {t(keys.help)}
433
+ </TooltipContent>
434
+ </Tooltip>
435
+ </div>
436
+ );
437
+ })}
438
+ </div>
439
+ </TooltipProvider>
440
+ );
441
+ }
442
+
443
+ const OUTPUT_LOCATIONS: ReadonlyArray<{
444
+ value: DreamScopeOutputMode;
445
+ title: MessageKey;
446
+ summary: MessageKey;
447
+ }> = [
448
+ {
449
+ value: "preserve_scope",
450
+ title: "memory.dream.preserveScope",
451
+ summary: "memory.dream.preserveScopeSummary",
452
+ },
453
+ {
454
+ value: "promote_scope",
455
+ title: "memory.dream.promoteScope",
456
+ summary: "memory.dream.promoteScopeSummary",
457
+ },
458
+ ];
459
+
460
+ export function DreamOutputLocationCards({
461
+ value,
462
+ onChange,
463
+ t,
464
+ }: {
465
+ value: DreamScopeOutputMode;
466
+ onChange: (value: DreamScopeOutputMode) => void;
467
+ t: TranslateFn;
468
+ }) {
469
+ return (
470
+ <div className="space-y-2">
471
+ <div
472
+ className="grid gap-2 sm:grid-cols-2"
473
+ role="radiogroup"
474
+ aria-label={t("memory.dream.scopeOutputMode")}
475
+ >
476
+ {OUTPUT_LOCATIONS.map((option) => {
477
+ const selected = value === option.value;
478
+ return (
479
+ <button
480
+ key={option.value}
481
+ type="button"
482
+ role="radio"
483
+ aria-checked={selected}
484
+ className={cn(
485
+ "rounded-lg border p-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",
486
+ selected
487
+ ? "border-primary bg-primary-soft ring-1 ring-primary/20"
488
+ : "border-border hover:border-primary/40 hover:bg-muted/30",
489
+ )}
490
+ onClick={() => onChange(option.value)}
491
+ >
492
+ <span className="block text-sm font-semibold">
493
+ {t(option.title)}
494
+ </span>
495
+ <span className="mt-1 block text-xs leading-5 text-muted-foreground">
496
+ {t(option.summary)}
497
+ </span>
498
+ </button>
499
+ );
500
+ })}
501
+ </div>
502
+ {value === "promote_scope" ? (
503
+ <p className="rounded-md bg-muted/40 px-3 py-2 text-xs text-muted-foreground">
504
+ {t("memory.dream.promoteScopeHint")}
505
+ </p>
506
+ ) : null}
507
+ </div>
508
+ );
509
+ }
212
510
 
213
511
  function parseOptionalInt(raw: string | undefined): number | undefined {
214
- if (!raw) return undefined;
512
+ if (raw === undefined || raw.trim() === "") return undefined;
215
513
  const n = Number(raw);
216
- if (!Number.isFinite(n) || !Number.isInteger(n) || n <= 0) return undefined;
514
+ if (!Number.isFinite(n) || !Number.isInteger(n) || n < 0) return undefined;
217
515
  return n;
218
516
  }
219
517
 
@@ -224,6 +522,61 @@ function parseOptionalThreshold(raw: string | undefined): number | undefined {
224
522
  return n;
225
523
  }
226
524
 
525
+ export function buildDreamCreateRequest(
526
+ values: DreamCreateFormValues,
527
+ ): CreateDreamTaskRequest {
528
+ const thresholds: Record<string, number> = {};
529
+ const thresholdAdd = parseOptionalThreshold(values.thresholdAdd);
530
+ const thresholdUpdate = parseOptionalThreshold(values.thresholdUpdate);
531
+ const thresholdMerge = parseOptionalThreshold(values.thresholdMerge);
532
+ if (thresholdAdd !== undefined) thresholds.add = thresholdAdd;
533
+ if (thresholdUpdate !== undefined) thresholds.update = thresholdUpdate;
534
+ if (thresholdMerge !== undefined) thresholds.merge = thresholdMerge;
535
+
536
+ const isMemory = values.taskType === "memory";
537
+ return {
538
+ scopes: values.scopes.map((scope) => {
539
+ const result: MemoryScope = { appId: scope.appId };
540
+ if (scope.tenantId) result.tenantId = scope.tenantId;
541
+ if (scope.agentId) result.agentId = scope.agentId;
542
+ if (scope.runId) result.runId = scope.runId;
543
+ return result;
544
+ }),
545
+ taskType: values.taskType,
546
+ effort: values.effort,
547
+ incremental: Boolean(values.incremental),
548
+ ...(isMemory && values.applyMode && { applyMode: values.applyMode }),
549
+ ...(isMemory &&
550
+ values.scopeOutputMode && {
551
+ scopeOutputMode: values.scopeOutputMode,
552
+ }),
553
+ ...(values.minTimestamp && {
554
+ minTimestamp: Date.parse(values.minTimestamp),
555
+ }),
556
+ ...(values.maxTimestamp && {
557
+ maxTimestamp: Date.parse(values.maxTimestamp),
558
+ }),
559
+ ...(parseOptionalInt(values.maxSessions) !== undefined && {
560
+ maxSessions: parseOptionalInt(values.maxSessions),
561
+ }),
562
+ ...(parseOptionalInt(values.maxMessages) !== undefined && {
563
+ maxMessages: parseOptionalInt(values.maxMessages),
564
+ }),
565
+ ...(parseOptionalInt(values.maxMemories) !== undefined && {
566
+ maxMemories: parseOptionalInt(values.maxMemories),
567
+ }),
568
+ ...(parseOptionalInt(values.expandedScopeLimit) !== undefined && {
569
+ expandedScopeLimit: parseOptionalInt(values.expandedScopeLimit),
570
+ }),
571
+ ...(values.instructions && { instructions: values.instructions }),
572
+ ...(values.clientToken && { clientToken: values.clientToken }),
573
+ ...(isMemory &&
574
+ Object.keys(thresholds).length > 0 && {
575
+ confidenceThresholds: thresholds,
576
+ }),
577
+ };
578
+ }
579
+
227
580
  export function MemoryDreamCreateDialog(props: DreamCreateDialogProps) {
228
581
  const { locale } = useI18n();
229
582
  return <MemoryDreamCreateDialogInner key={locale} {...props} />;
@@ -265,7 +618,10 @@ function MemoryDreamCreateDialogInner({
265
618
  : "",
266
619
  },
267
620
  ],
621
+ effort: "low",
268
622
  applyMode: "proposal",
623
+ scopeOutputMode: "preserve_scope",
624
+ incremental: false,
269
625
  },
270
626
  });
271
627
 
@@ -275,55 +631,19 @@ function MemoryDreamCreateDialogInner({
275
631
  });
276
632
 
277
633
  const taskType = form.watch("taskType");
634
+ const effort = form.watch("effort");
635
+ const applyMode = form.watch("applyMode") ?? "proposal";
636
+ const forcedEffort = dreamModeForcedEffort(applyMode);
278
637
  const isMemoryType = taskType === "memory";
279
638
 
280
639
  const [advancedOpen, setAdvancedOpen] = useState(false);
281
640
  const [thresholdsOpen, setThresholdsOpen] = useState(false);
282
641
 
283
642
  const onSubmit = async (values: FormValues) => {
284
- const thresholds: Record<string, number> = {};
285
- const tAdd = parseOptionalThreshold(values.thresholdAdd);
286
- const tUpdate = parseOptionalThreshold(values.thresholdUpdate);
287
- const tMerge = parseOptionalThreshold(values.thresholdMerge);
288
- if (tAdd !== undefined) thresholds.add = tAdd;
289
- if (tUpdate !== undefined) thresholds.update = tUpdate;
290
- if (tMerge !== undefined) thresholds.merge = tMerge;
291
-
292
- const isMemory = values.taskType === "memory";
293
-
294
643
  try {
295
- const result = await createMutation.mutateAsync({
296
- scopes: values.scopes.map((s) => {
297
- const out: MemoryScope = { appId: s.appId };
298
- if (s.tenantId) out.tenantId = s.tenantId;
299
- if (s.agentId) out.agentId = s.agentId;
300
- if (s.runId) out.runId = s.runId;
301
- return out;
302
- }),
303
- taskType: values.taskType,
304
- ...(isMemory && { applyMode: values.applyMode }),
305
- ...(isMemory &&
306
- values.scopeOutputMode && {
307
- scopeOutputMode: values.scopeOutputMode,
308
- }),
309
- ...(values.minTimestamp && { minTimestamp: values.minTimestamp }),
310
- ...(values.maxTimestamp && { maxTimestamp: values.maxTimestamp }),
311
- ...(parseOptionalInt(values.maxSessions) !== undefined && {
312
- maxSessions: parseOptionalInt(values.maxSessions),
313
- }),
314
- ...(parseOptionalInt(values.maxMessages) !== undefined && {
315
- maxMessages: parseOptionalInt(values.maxMessages),
316
- }),
317
- ...(parseOptionalInt(values.maxMemories) !== undefined && {
318
- maxMemories: parseOptionalInt(values.maxMemories),
319
- }),
320
- ...(values.instructions && { instructions: values.instructions }),
321
- ...(values.clientToken && { clientToken: values.clientToken }),
322
- ...(isMemory &&
323
- Object.keys(thresholds).length > 0 && {
324
- confidenceThresholds: thresholds,
325
- }),
326
- });
644
+ const result = await createMutation.mutateAsync(
645
+ buildDreamCreateRequest(values),
646
+ );
327
647
 
328
648
  const TOAST_MSG: Record<DreamTaskType, string> = {
329
649
  memory: t("memory.dream.toastMemoryCreated"),
@@ -362,8 +682,29 @@ function MemoryDreamCreateDialogInner({
362
682
  <FormItem>
363
683
  <FormLabel>{t("memory.dream.taskType")}</FormLabel>
364
684
  <Select
365
- onValueChange={field.onChange}
366
- defaultValue={field.value}
685
+ onValueChange={(value) => {
686
+ field.onChange(value);
687
+ const next = normalizeTaskTypeChange(
688
+ value as DreamTaskType,
689
+ {
690
+ effort: form.getValues("effort"),
691
+ applyMode: form.getValues("applyMode"),
692
+ scopeOutputMode: form.getValues("scopeOutputMode"),
693
+ thresholdAdd: form.getValues("thresholdAdd"),
694
+ thresholdUpdate: form.getValues("thresholdUpdate"),
695
+ thresholdMerge: form.getValues("thresholdMerge"),
696
+ scopes: form.getValues("scopes"),
697
+ },
698
+ );
699
+ form.setValue("effort", next.effort);
700
+ form.setValue("applyMode", next.applyMode);
701
+ form.setValue("scopeOutputMode", next.scopeOutputMode);
702
+ form.setValue("thresholdAdd", next.thresholdAdd);
703
+ form.setValue("thresholdUpdate", next.thresholdUpdate);
704
+ form.setValue("thresholdMerge", next.thresholdMerge);
705
+ form.setValue("scopes", next.scopes);
706
+ }}
707
+ value={field.value}
367
708
  >
368
709
  <FormControl>
369
710
  <SelectTrigger>
@@ -392,17 +733,24 @@ function MemoryDreamCreateDialogInner({
392
733
  <Label className="text-sm font-medium">
393
734
  {t("memory.common.scopeRange")}
394
735
  </Label>
395
- <Button
396
- type="button"
397
- size="sm"
398
- variant="ghost"
399
- onClick={() =>
400
- append({ appId: "", tenantId: "", agentId: "", runId: "" })
401
- }
402
- >
403
- <Plus className="mr-1 h-3.5 w-3.5" />
404
- {t("memory.dream.addScope")}
405
- </Button>
736
+ {(isMemoryType || effort === "low") && (
737
+ <Button
738
+ type="button"
739
+ size="sm"
740
+ variant="ghost"
741
+ onClick={() =>
742
+ append({
743
+ appId: "",
744
+ tenantId: "",
745
+ agentId: "",
746
+ runId: "",
747
+ })
748
+ }
749
+ >
750
+ <Plus className="mr-1 h-3.5 w-3.5" />
751
+ {t("memory.dream.addScope")}
752
+ </Button>
753
+ )}
406
754
  </div>
407
755
  <div className="space-y-3">
408
756
  {fields.map((field, index) => (
@@ -468,70 +816,97 @@ function MemoryDreamCreateDialogInner({
468
816
  </div>
469
817
  </section>
470
818
 
471
- {isMemoryType && (
472
- <section className="grid gap-3 sm:grid-cols-2">
473
- <FormField
474
- control={form.control}
475
- name="applyMode"
476
- render={({ field }) => (
477
- <FormItem>
478
- <FormLabel>{t("memory.dream.applyMode")}</FormLabel>
479
- <Select
480
- onValueChange={field.onChange}
481
- defaultValue={field.value}
482
- >
483
- <FormControl>
484
- <SelectTrigger>
485
- <SelectValue />
486
- </SelectTrigger>
487
- </FormControl>
488
- <SelectContent>
489
- <SelectItem value="proposal">
490
- {t("memory.dream.applyModeProposalOption")}
491
- </SelectItem>
492
- <SelectItem value="safe_auto">
493
- {t("memory.dream.applyModeSafeAutoOption")}
494
- </SelectItem>
495
- </SelectContent>
496
- </Select>
497
- <FormMessage />
498
- </FormItem>
499
- )}
500
- />
501
- <FormField
502
- control={form.control}
503
- name="scopeOutputMode"
504
- render={({ field }) => (
505
- <FormItem>
506
- <FormLabel>{t("memory.dream.scopeOutputMode")}</FormLabel>
507
- <Select
508
- onValueChange={field.onChange}
509
- value={field.value ?? ""}
510
- >
511
- <FormControl>
512
- <SelectTrigger>
513
- <SelectValue
514
- placeholder={t(
515
- "memory.dream.scopeOutputModePlaceholder",
516
- )}
517
- />
518
- </SelectTrigger>
519
- </FormControl>
520
- <SelectContent>
521
- <SelectItem value="preserve_scope">
522
- {t("memory.dream.preserveScope")}
523
- </SelectItem>
524
- <SelectItem value="promote_scope">
525
- {t("memory.dream.promoteScope")}
819
+ {isMemoryType ? (
820
+ <FormField
821
+ control={form.control}
822
+ name="applyMode"
823
+ render={({ field }) => (
824
+ <FormItem>
825
+ <FormLabel>{t("memory.dream.applyMode")}</FormLabel>
826
+ <DreamApplicationModeCards
827
+ value={field.value ?? "proposal"}
828
+ effort={effort}
829
+ t={t}
830
+ onChange={(value, normalizedEffort) => {
831
+ field.onChange(value);
832
+ form.setValue("effort", normalizedEffort, {
833
+ shouldValidate: true,
834
+ });
835
+ }}
836
+ />
837
+ <FormMessage />
838
+ </FormItem>
839
+ )}
840
+ />
841
+ ) : null}
842
+
843
+ <section className="grid gap-3 sm:grid-cols-2">
844
+ <FormField
845
+ control={form.control}
846
+ name="effort"
847
+ render={({ field }) => (
848
+ <FormItem>
849
+ <FormLabel>{t("memory.dream.effort")}</FormLabel>
850
+ <Select
851
+ onValueChange={(value) => {
852
+ field.onChange(value);
853
+ if (!isMemoryType && value === "high") {
854
+ form.setValue(
855
+ "scopes",
856
+ form.getValues("scopes").slice(0, 1),
857
+ );
858
+ }
859
+ }}
860
+ value={field.value}
861
+ disabled={isMemoryType && forcedEffort !== undefined}
862
+ >
863
+ <FormControl>
864
+ <SelectTrigger>
865
+ <SelectValue />
866
+ </SelectTrigger>
867
+ </FormControl>
868
+ <SelectContent>
869
+ {dreamEffortOptions(taskType).map((level) => (
870
+ <SelectItem key={level} value={level}>
871
+ {level === "low"
872
+ ? t("memory.dream.effortLow")
873
+ : t("memory.dream.effortHigh")}
526
874
  </SelectItem>
527
- </SelectContent>
528
- </Select>
529
- <FormMessage />
530
- </FormItem>
531
- )}
532
- />
533
- </section>
534
- )}
875
+ ))}
876
+ </SelectContent>
877
+ </Select>
878
+ {isMemoryType && forcedEffort ? (
879
+ <FormDescription>
880
+ {t(
881
+ forcedEffort === "low"
882
+ ? "memory.dream.effortLockedLow"
883
+ : "memory.dream.effortLockedHigh",
884
+ )}
885
+ </FormDescription>
886
+ ) : null}
887
+ <FormMessage />
888
+ </FormItem>
889
+ )}
890
+ />
891
+ </section>
892
+
893
+ {isMemoryType ? (
894
+ <FormField
895
+ control={form.control}
896
+ name="scopeOutputMode"
897
+ render={({ field }) => (
898
+ <FormItem>
899
+ <FormLabel>{t("memory.dream.scopeOutputMode")}</FormLabel>
900
+ <DreamOutputLocationCards
901
+ value={field.value ?? "preserve_scope"}
902
+ onChange={field.onChange}
903
+ t={t}
904
+ />
905
+ <FormMessage />
906
+ </FormItem>
907
+ )}
908
+ />
909
+ ) : null}
535
910
 
536
911
  <FormField
537
912
  control={form.control}
@@ -623,6 +998,11 @@ function MemoryDreamCreateDialogInner({
623
998
  label={t("memory.dream.maxMemories")}
624
999
  form={form}
625
1000
  />
1001
+ <NumberField
1002
+ name="expandedScopeLimit"
1003
+ label={t("memory.dream.expandedScopeLimit")}
1004
+ form={form}
1005
+ />
626
1006
  <DatetimeField
627
1007
  name="minTimestamp"
628
1008
  label={t("memory.dream.minTimestamp")}
@@ -648,6 +1028,26 @@ function MemoryDreamCreateDialogInner({
648
1028
  </FormItem>
649
1029
  )}
650
1030
  />
1031
+ <FormField
1032
+ control={form.control}
1033
+ name="incremental"
1034
+ render={({ field }) => (
1035
+ <FormItem className="flex items-center gap-2 pt-5">
1036
+ <FormControl>
1037
+ <Checkbox
1038
+ checked={Boolean(field.value)}
1039
+ onCheckedChange={(checked) =>
1040
+ field.onChange(checked === true)
1041
+ }
1042
+ />
1043
+ </FormControl>
1044
+ <FormLabel className="text-xs">
1045
+ {t("memory.dream.incremental")}
1046
+ </FormLabel>
1047
+ <FormMessage />
1048
+ </FormItem>
1049
+ )}
1050
+ />
651
1051
  </CollapsibleContent>
652
1052
  </Collapsible>
653
1053