@tablestore/tablestore-agent-cli 0.3.1 → 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 (664) hide show
  1. package/dist/commands/memory.d.ts.map +1 -1
  2. package/dist/commands/memory.js +20 -16
  3. package/dist/commands/memory.js.map +1 -1
  4. package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
  5. package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +10 -0
  6. package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
  7. package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
  8. package/dist/dashboard-runtime/dashboard/.next/required-server-files.json +3 -3
  9. package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +80 -0
  10. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js.nft.json +1 -1
  11. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page_client-reference-manifest.js +1 -1
  12. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  13. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  14. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js.nft.json +1 -1
  15. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
  16. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js.nft.json +1 -1
  17. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
  18. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js.nft.json +1 -1
  19. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
  20. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js.nft.json +1 -1
  21. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
  22. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js.nft.json +1 -1
  23. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
  24. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js.nft.json +1 -1
  25. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
  26. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js.nft.json +1 -1
  27. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
  28. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js.nft.json +1 -1
  29. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
  30. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js.nft.json +1 -1
  31. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
  32. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js.nft.json +1 -1
  33. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  34. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js.nft.json +1 -1
  35. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page_client-reference-manifest.js +1 -1
  36. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js.nft.json +1 -1
  37. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page_client-reference-manifest.js +1 -1
  38. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js.nft.json +1 -1
  39. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
  40. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js.nft.json +1 -1
  41. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
  42. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js.nft.json +1 -1
  43. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
  44. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/app-paths-manifest.json +3 -0
  45. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/build-manifest.json +18 -0
  46. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/next-font-manifest.json +8 -0
  47. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/react-loadable-manifest.json +1 -0
  48. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page/server-reference-manifest.json +4 -0
  49. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js +23 -0
  50. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js.map +5 -0
  51. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page.js.nft.json +1 -0
  52. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/scope/page_client-reference-manifest.js +3 -0
  53. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js.nft.json +1 -1
  54. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
  55. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js.nft.json +1 -1
  56. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
  57. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js.nft.json +1 -1
  58. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page_client-reference-manifest.js +1 -1
  59. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js.nft.json +1 -1
  60. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
  61. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/app-paths-manifest.json +3 -0
  62. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/build-manifest.json +18 -0
  63. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/next-font-manifest.json +8 -0
  64. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/react-loadable-manifest.json +1 -0
  65. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page/server-reference-manifest.json +4 -0
  66. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js +23 -0
  67. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js.map +5 -0
  68. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page.js.nft.json +1 -0
  69. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/wiki/page_client-reference-manifest.js +3 -0
  70. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js.nft.json +1 -1
  71. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
  72. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js.nft.json +1 -1
  73. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
  74. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
  75. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
  76. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
  77. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
  78. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  79. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  81. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  82. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  83. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  84. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
  85. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +16 -16
  86. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
  87. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
  88. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +11 -11
  89. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  90. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  91. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  92. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js +1 -1
  93. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js.nft.json +1 -1
  94. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js +1 -1
  95. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js.nft.json +1 -1
  96. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js +1 -1
  97. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js.nft.json +1 -1
  98. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js +1 -1
  99. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js.nft.json +1 -1
  100. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js +1 -1
  101. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js.nft.json +1 -1
  102. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js +1 -1
  103. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js.nft.json +1 -1
  104. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +1 -1
  105. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
  106. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +1 -1
  107. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
  108. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +1 -1
  109. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
  110. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +1 -1
  111. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
  112. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +1 -1
  113. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
  114. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js +1 -1
  115. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/connectivity/route.js.nft.json +1 -1
  116. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +1 -1
  117. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
  118. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +1 -1
  119. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
  120. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +1 -1
  121. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
  122. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +1 -1
  123. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
  124. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +1 -1
  125. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
  126. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +1 -1
  127. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
  128. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +1 -1
  129. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
  130. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +1 -1
  131. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
  132. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +1 -1
  133. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
  134. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +2 -2
  135. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
  136. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +1 -1
  137. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
  138. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +1 -1
  139. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
  140. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +1 -1
  141. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
  142. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +1 -1
  143. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
  144. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js +1 -1
  145. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js.nft.json +1 -1
  146. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +1 -1
  147. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -1
  148. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +1 -1
  149. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js.nft.json +1 -1
  150. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js +1 -1
  151. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js.nft.json +1 -1
  152. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js +1 -1
  153. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js.nft.json +1 -1
  154. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js +1 -1
  155. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js.nft.json +1 -1
  156. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js +1 -1
  157. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js.nft.json +1 -1
  158. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js +2 -2
  159. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/[action]/route.js.nft.json +1 -1
  160. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +1 -1
  161. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
  162. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +1 -1
  163. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
  164. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +1 -1
  165. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
  166. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js +1 -1
  167. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js.nft.json +1 -1
  168. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +1 -1
  169. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
  170. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js +1 -1
  171. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js.nft.json +1 -1
  172. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js +1 -1
  173. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js.nft.json +1 -1
  174. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +1 -1
  175. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
  176. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +1 -1
  177. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
  178. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/app-paths-manifest.json +3 -0
  179. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/build-manifest.json +9 -0
  180. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route/server-reference-manifest.json +4 -0
  181. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js +6 -0
  182. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js.map +5 -0
  183. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route.js.nft.json +1 -0
  184. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/artifacts/route_client-reference-manifest.js +3 -0
  185. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/app-paths-manifest.json +3 -0
  186. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/build-manifest.json +9 -0
  187. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route/server-reference-manifest.json +4 -0
  188. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js +6 -0
  189. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js.map +5 -0
  190. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route.js.nft.json +1 -0
  191. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/ingest/route_client-reference-manifest.js +3 -0
  192. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/app-paths-manifest.json +3 -0
  193. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/build-manifest.json +9 -0
  194. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route/server-reference-manifest.json +4 -0
  195. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js +6 -0
  196. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js.map +5 -0
  197. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route.js.nft.json +1 -0
  198. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/page/route_client-reference-manifest.js +3 -0
  199. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/app-paths-manifest.json +3 -0
  200. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/build-manifest.json +9 -0
  201. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route/server-reference-manifest.json +4 -0
  202. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js +6 -0
  203. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js.map +5 -0
  204. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route.js.nft.json +1 -0
  205. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/pages/route_client-reference-manifest.js +3 -0
  206. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/app-paths-manifest.json +3 -0
  207. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/build-manifest.json +9 -0
  208. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route/server-reference-manifest.json +4 -0
  209. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js +6 -0
  210. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js.map +5 -0
  211. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route.js.nft.json +1 -0
  212. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/route_client-reference-manifest.js +3 -0
  213. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/app-paths-manifest.json +3 -0
  214. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/build-manifest.json +9 -0
  215. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route/server-reference-manifest.json +4 -0
  216. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js +6 -0
  217. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js.map +5 -0
  218. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route.js.nft.json +1 -0
  219. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/search/route_client-reference-manifest.js +3 -0
  220. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/app-paths-manifest.json +3 -0
  221. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/build-manifest.json +9 -0
  222. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route/server-reference-manifest.json +4 -0
  223. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js +6 -0
  224. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js.map +5 -0
  225. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route.js.nft.json +1 -0
  226. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/source/route_client-reference-manifest.js +3 -0
  227. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/app-paths-manifest.json +3 -0
  228. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/build-manifest.json +9 -0
  229. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route/server-reference-manifest.json +4 -0
  230. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js +6 -0
  231. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js.map +5 -0
  232. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route.js.nft.json +1 -0
  233. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/wikis/sources/route_client-reference-manifest.js +3 -0
  234. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +1 -1
  235. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
  236. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js +1 -1
  237. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js.nft.json +1 -1
  238. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js +1 -1
  239. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js.nft.json +1 -1
  240. package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
  241. package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +15 -15
  242. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  243. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +15 -15
  244. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +3 -3
  245. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +11 -11
  246. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  247. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js.nft.json +1 -1
  248. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  249. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
  250. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +18 -18
  251. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +18 -18
  252. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +3 -3
  253. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +11 -11
  254. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
  255. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
  256. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +4 -4
  257. package/dist/dashboard-runtime/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  258. package/dist/dashboard-runtime/dashboard/.next/server/app-paths-manifest.json +10 -0
  259. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_artifacts_route_actions_0doape5.js +3 -0
  260. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_ingest_route_actions_0ppwgam.js +3 -0
  261. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_page_route_actions_0odivj9.js +3 -0
  262. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_pages_route_actions_0s15y9a.js +3 -0
  263. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_route_actions_0dbjn9p.js +3 -0
  264. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_search_route_actions_108iypz.js +3 -0
  265. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_wikis_source_route_actions_0vmf0n5.js +3 -0
  266. 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
  267. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +24 -17
  268. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.hvkwy._.js +1 -1
  269. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__03~qmfv._.js +3 -0
  270. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0_g86ij._.js +3 -0
  271. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0db9xtg._.js +40 -0
  272. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ejcow5._.js +1 -1
  273. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0es0s_~._.js +1 -1
  274. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0f~3a2d._.js +3 -0
  275. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0is6qso._.js +1 -1
  276. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0n.tvh_._.js +3 -0
  277. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ohui_o._.js +3 -0
  278. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ssi0g0._.js +3 -0
  279. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0u03tze._.js +1 -1
  280. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ua_nqs._.js +1 -1
  281. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0wpch_g._.js +3 -0
  282. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ypo~ko._.js +3 -0
  283. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0sa.9zr._.js → [root-of-the-server]__0yqtnx6._.js} +9 -9
  284. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11rxx0.._.js +40 -0
  285. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11wq90l._.js +1 -1
  286. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__120vi1p._.js +3 -0
  287. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13q2wbt._.js +1 -1
  288. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13~-fxp._.js +1 -1
  289. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +1 -1
  290. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0e95__next-internal_server_app_(dashboard)_memory_[store]_scope_page_actions_0n2kkfu.js +3 -0
  291. 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
  292. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_esm_build_templates_app-page_07x7aai.js +4 -0
  293. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_esm_build_templates_app-page_0u~m_xi.js +4 -0
  294. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__05kcz99._.js +3 -0
  295. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__06l7w~r._.js +3 -0
  296. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fsbff._.js +1 -1
  297. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0_6myqa._.js +3 -0
  298. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0cn05tt._.js +3 -0
  299. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0d-z.x1._.js +3 -0
  300. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0i9tlv5._.js +3 -0
  301. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ov6305._.js +1 -1
  302. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_02waf76._.js → _00.la1c._.js} +2 -2
  303. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_019ufsh._.js +3 -0
  304. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01r6jx1._.js +3 -0
  305. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04rasxw._.js +3 -0
  306. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04wdnle._.js +3 -0
  307. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_0thp9l5._.js → _05__-74._.js} +2 -2
  308. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_05wwgdw._.js +3 -0
  309. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06.3nzk._.js +3 -0
  310. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06ofr7j._.js +3 -0
  311. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0bn79mh._.js +3 -0
  312. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0cpcl4p._.js +3 -0
  313. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0d_nd-j._.js +3 -0
  314. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f.xs7l._.js +3 -0
  315. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0fz3kge._.js +1 -1
  316. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gyu-mm._.js +3 -0
  317. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jt60z2._.js +3 -0
  318. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0kaclzw._.js +3 -0
  319. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0lstkpb._.js +3 -0
  320. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qw41co._.js +3 -0
  321. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_0t.h859._.js → _0vfgz-v._.js} +2 -2
  322. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ww5s91._.js +1 -1
  323. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_119lxvo._.js +3 -0
  324. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{dashboard_src_0jrh7xy._.js → dashboard_src_0bhjp9s._.js} +2 -2
  325. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0xaihln._.js +3 -0
  326. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_api-keys_page_tsx_0lb6fu7._.js +1 -1
  327. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_[dreamId]_page_tsx_0wy3tv6._.js +1 -1
  328. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_page_tsx_0uzzpvs._.js +1 -1
  329. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_layout_tsx_0rbi41w._.js +1 -1
  330. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_memory_memory-files-browser_tsx_0o2~94-._.js +1 -1
  331. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_ui_01evqg6._.js +3 -0
  332. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +1 -1
  333. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0..ymrl._.js +3 -0
  334. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_12_d6fg._.js +3 -0
  335. package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +8 -0
  336. package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
  337. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.js +1 -1
  338. package/dist/dashboard-runtime/dashboard/.next/server/next-font-manifest.json +2 -0
  339. package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
  340. package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
  341. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
  342. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
  343. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01nixb3ddw4hy.js +1 -0
  344. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01u9hj_9~5-vg.js +1 -0
  345. package/dist/dashboard-runtime/dashboard/.next/static/chunks/02q3tpry1ajx9.js +1 -0
  346. package/dist/dashboard-runtime/dashboard/.next/static/chunks/03rx12c5dxw_4.js +1 -0
  347. package/dist/dashboard-runtime/dashboard/.next/static/chunks/057-rg6~0wki8.css +1 -0
  348. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07q8af71w17xl.js +1 -0
  349. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07v6llp0fv6iq.js +1 -0
  350. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09hfvw~51z.9o.js +1 -0
  351. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0axnv6wy1_hr7.js +1 -0
  352. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0bbcwyy.xvpd0.js +1 -0
  353. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0eafb9pun~54k.js → 0cfrd_r4jr_ip.js} +2 -2
  354. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dpj.6wcf.qn8.js +1 -0
  355. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0f-mf~9z.~82q.js +1 -0
  356. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0gt8u.o_c_nix.js +1 -0
  357. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0hh2728tmgrdk.js +1 -0
  358. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0idn9fvygbi9d.js +1 -0
  359. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0idr-.ttn_21z.js +1 -0
  360. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0amex7bwxnme9.js → 0jjiw-agnutux.js} +1 -1
  361. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k6m5~gmu0f8w.js +1 -0
  362. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k_rtgxnq8bsz.js +1 -0
  363. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nq2xdnij7nqt.js +1 -0
  364. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nw7q~w~vg.-y.js +1 -0
  365. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0o-j8g9gp_c1r.js +1 -0
  366. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pm6vv5wntle..js +1 -0
  367. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qr499bd44k.g.js +1 -0
  368. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0sx_fx5r7nq4b.js +1 -0
  369. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0tbu6y0a22ok8.js +1 -0
  370. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u7fh6be6noif.js +1 -0
  371. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vfuo2829nn25.js +4 -0
  372. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wcf_hdt9arma.js +5 -0
  373. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xash~4j8pl87.js +1 -0
  374. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xi6y8g4l~vzr.js +1 -0
  375. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0y45-~ia9sqr0.js +1 -0
  376. package/dist/dashboard-runtime/dashboard/.next/static/chunks/10684vn7g6wln.js +1 -0
  377. package/dist/dashboard-runtime/dashboard/.next/static/chunks/1204oli3aouy7.js +1 -0
  378. package/dist/dashboard-runtime/dashboard/.next/static/chunks/13gbu.62oz207.js +138 -0
  379. package/dist/dashboard-runtime/dashboard/.next/static/chunks/14t.r5~ls3k0x.js +1 -0
  380. package/dist/dashboard-runtime/dashboard/.next/static/chunks/15043qe~kvq-v.js +1 -0
  381. package/dist/dashboard-runtime/dashboard/.next/static/chunks/168xs92lu3o~y.js +1 -0
  382. package/dist/dashboard-runtime/dashboard/package.json +1 -1
  383. package/dist/dashboard-runtime/dashboard/server.js +1 -1
  384. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/page.tsx +14 -0
  385. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +66 -58
  386. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +6 -6
  387. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/layout.tsx +36 -9
  388. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/scope/page.tsx +51 -0
  389. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/wiki/page.tsx +157 -0
  390. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-curator.ts +1 -4
  391. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-helpers.ts +6 -6
  392. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-helpers.ts +50 -0
  393. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-retrieval.ts +160 -0
  394. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/memory-security.ts +26 -0
  395. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/route.ts +477 -285
  396. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/server-file-memory.ts +113 -0
  397. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/wiki-retrieval.ts +656 -0
  398. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/_scope.ts +67 -0
  399. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/_helpers.ts +5 -23
  400. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/_helpers.ts +317 -0
  401. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/artifacts/route.ts +194 -0
  402. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/ingest/route.ts +60 -0
  403. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/page/route.ts +55 -0
  404. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/pages/route.ts +61 -0
  405. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/route.ts +89 -0
  406. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/search/route.ts +58 -0
  407. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/source/route.ts +230 -0
  408. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/wikis/sources/route.ts +295 -0
  409. package/dist/dashboard-runtime/dashboard/src/components/api-keys/custom-policy-editor.tsx +2 -1
  410. package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-rule-dialog.tsx +17 -10
  411. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-config-context.tsx +181 -32
  412. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-scope-entry-hydrator.tsx +116 -0
  413. package/dist/dashboard-runtime/dashboard/src/components/chat/memory-bind-section.tsx +37 -15
  414. package/dist/dashboard-runtime/dashboard/src/components/chat/wiki-bind-section.tsx +153 -0
  415. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-actions-table.tsx +13 -0
  416. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +359 -144
  417. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +108 -76
  418. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +31 -50
  419. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-hierarchy-picker.tsx +274 -0
  420. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-workspace-cards.tsx +475 -0
  421. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-workspace.tsx +197 -0
  422. package/dist/dashboard-runtime/dashboard/src/components/qa/answer-evidence-block.tsx +145 -0
  423. package/dist/dashboard-runtime/dashboard/src/components/qa/memory-evidence-content.tsx +106 -0
  424. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +68 -84
  425. package/dist/dashboard-runtime/dashboard/src/components/qa/wiki-evidence-block.tsx +326 -0
  426. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-build-panel.tsx +640 -0
  427. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-detail.tsx +302 -0
  428. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-edit-dialog.tsx +195 -0
  429. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-overview.tsx +104 -0
  430. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-pages-panel.tsx +424 -0
  431. package/dist/dashboard-runtime/dashboard/src/components/wiki/wiki-sources-panel.tsx +506 -0
  432. package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-history.ts +625 -44
  433. package/dist/dashboard-runtime/dashboard/src/hooks/use-qa-chat.ts +329 -94
  434. package/dist/dashboard-runtime/dashboard/src/hooks/use-wiki-build-polling.ts +151 -0
  435. package/dist/dashboard-runtime/dashboard/src/hooks/use-wikis.ts +291 -0
  436. package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +389 -35
  437. package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +356 -25
  438. package/dist/dashboard-runtime/dashboard/src/lib/browser-file-memory.ts +46 -340
  439. package/dist/dashboard-runtime/dashboard/src/lib/chat-scope-entry.ts +59 -0
  440. package/dist/dashboard-runtime/dashboard/src/lib/dream-create-options.ts +27 -0
  441. package/dist/dashboard-runtime/dashboard/src/lib/file-memory-core.ts +744 -0
  442. package/dist/dashboard-runtime/dashboard/src/lib/memory-storage-mode.ts +25 -4
  443. package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +93 -0
  444. package/dist/dashboard-runtime/dashboard/src/lib/retrieval-security.ts +54 -0
  445. package/dist/dashboard-runtime/dashboard/src/lib/scope-hierarchy.ts +167 -0
  446. package/dist/dashboard-runtime/dashboard/src/lib/scope-workspace.ts +123 -0
  447. package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +46 -3
  448. package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +3 -0
  449. package/dist/dashboard-runtime/dashboard/src/lib/wiki-metadata-limits.ts +133 -0
  450. package/dist/dashboard-runtime/dashboard/src/lib/wiki-page-tree.ts +153 -0
  451. package/dist/dashboard-runtime/dashboard/src/schemas/llm-chat.ts +121 -21
  452. package/dist/dashboard-runtime/dashboard/src/services/wiki.ts +145 -0
  453. package/dist/dashboard-runtime/dashboard/src/types/llm-chat.ts +72 -9
  454. package/dist/dashboard-runtime/dashboard/src/types/memory.ts +4 -29
  455. package/dist/dashboard-runtime/dashboard/src/types/wiki.ts +200 -0
  456. package/dist/dashboard-runtime/dashboard/tsconfig.tsbuildinfo +1 -1
  457. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/CHANGELOG.md +175 -0
  458. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/LICENSE +201 -0
  459. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/README.md +203 -0
  460. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/package.json +3 -0
  461. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/request-context.js +21 -0
  462. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-base.js +70 -0
  463. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-v2.js +13 -0
  464. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/auth/sign-v4.js +51 -0
  465. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/client/agent-storage-client.js +196 -0
  466. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/errors/client-error.js +10 -0
  467. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/errors/service-error.js +16 -0
  468. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/headers.js +31 -0
  469. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/md5.js +9 -0
  470. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/http/ots-json-client.js +155 -0
  471. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/base.js +19 -0
  472. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/chunk.js +67 -0
  473. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/document.js +163 -0
  474. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/enums.js +31 -0
  475. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/file.js +27 -0
  476. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/knowledge-base.js +118 -0
  477. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/memory.js +711 -0
  478. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/metadata-filter.js +123 -0
  479. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/retrieve.js +152 -0
  480. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/unset.js +8 -0
  481. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/models/wiki.js +2 -0
  482. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/serialization/to-json-request.js +9 -0
  483. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/core/version.js +5 -0
  484. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/index.js +93 -0
  485. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/client/node-agent-storage-client.js +134 -0
  486. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/fs/file-path.js +73 -0
  487. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/fs/file-reader.js +13 -0
  488. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node/oss/oss-uploader.js +30 -0
  489. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/cjs/src/node.js +5 -0
  490. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/request-context.d.ts +12 -0
  491. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/request-context.js +17 -0
  492. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-base.d.ts +12 -0
  493. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-base.js +63 -0
  494. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v2.d.ts +6 -0
  495. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v2.js +9 -0
  496. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v4.d.ts +15 -0
  497. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/auth/sign-v4.js +47 -0
  498. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/client/agent-storage-client.d.ts +78 -0
  499. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/client/agent-storage-client.js +192 -0
  500. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/client-error.d.ts +3 -0
  501. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/client-error.js +6 -0
  502. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/service-error.d.ts +10 -0
  503. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/errors/service-error.js +12 -0
  504. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/headers.d.ts +14 -0
  505. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/headers.js +27 -0
  506. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/md5.d.ts +1 -0
  507. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/md5.js +6 -0
  508. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/ots-json-client.d.ts +27 -0
  509. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/http/ots-json-client.js +151 -0
  510. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/base.d.ts +5 -0
  511. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/base.js +15 -0
  512. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/chunk.d.ts +47 -0
  513. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/chunk.js +61 -0
  514. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/document.d.ts +107 -0
  515. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/document.js +151 -0
  516. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/enums.d.ts +24 -0
  517. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/enums.js +28 -0
  518. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/file.d.ts +364 -0
  519. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/file.js +24 -0
  520. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/knowledge-base.d.ts +97 -0
  521. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/knowledge-base.js +108 -0
  522. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/memory.d.ts +1018 -0
  523. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/memory.js +684 -0
  524. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/metadata-filter.d.ts +74 -0
  525. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/metadata-filter.js +118 -0
  526. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/retrieve.d.ts +113 -0
  527. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/retrieve.js +140 -0
  528. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/unset.d.ts +3 -0
  529. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/unset.js +4 -0
  530. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/wiki.d.ts +118 -0
  531. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/models/wiki.js +1 -0
  532. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/serialization/to-json-request.d.ts +2 -0
  533. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/serialization/to-json-request.js +6 -0
  534. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/version.d.ts +2 -0
  535. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/core/version.js +2 -0
  536. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/index.d.ts +17 -0
  537. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/index.js +16 -0
  538. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/client/node-agent-storage-client.d.ts +39 -0
  539. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/client/node-agent-storage-client.js +130 -0
  540. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-path.d.ts +12 -0
  541. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-path.js +34 -0
  542. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-reader.d.ts +8 -0
  543. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/fs/file-reader.js +9 -0
  544. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/oss/oss-uploader.d.ts +17 -0
  545. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node/oss/oss-uploader.js +23 -0
  546. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node.d.ts +1 -0
  547. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/dist/src/node.js +1 -0
  548. package/dist/dashboard-runtime/node_modules/@tablestore/agent-storage/package.json +67 -0
  549. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +1 -0
  550. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  551. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +1 -0
  552. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  553. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts +13 -0
  554. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts.map +1 -0
  555. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js +40 -0
  556. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js.map +1 -0
  557. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -1
  558. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  559. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +21 -9
  560. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  561. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +7 -7
  562. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  563. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +27 -20
  564. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  565. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  566. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +55 -37
  567. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  568. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  569. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts +6 -0
  570. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts.map +1 -1
  571. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts +18 -0
  572. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts.map +1 -0
  573. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js +100 -0
  574. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js.map +1 -0
  575. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +1 -0
  576. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  577. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +1 -0
  578. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  579. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts +13 -0
  580. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.d.ts.map +1 -0
  581. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js +40 -0
  582. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/abortable-fetch.js.map +1 -0
  583. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +1 -1
  584. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  585. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +21 -9
  586. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  587. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +7 -7
  588. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  589. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +27 -20
  590. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  591. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  592. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +55 -37
  593. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  594. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  595. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts +6 -0
  596. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/types.d.ts.map +1 -1
  597. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts +18 -0
  598. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.d.ts.map +1 -0
  599. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js +100 -0
  600. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/wiki-client.js.map +1 -0
  601. package/dist/output.d.ts.map +1 -1
  602. package/dist/output.js +1 -0
  603. package/dist/output.js.map +1 -1
  604. package/package.json +1 -1
  605. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-wmyic._.js +0 -40
  606. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.li3cj._.js +0 -40
  607. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0y0w3mg._.js +0 -3
  608. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0.ooo1s._.js +0 -3
  609. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0b5cw4e._.js +0 -3
  610. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0p1cst6._.js +0 -3
  611. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0xza7lz._.js +0 -3
  612. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.6x0yu._.js +0 -3
  613. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0.pa1e6._.js +0 -3
  614. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_01snuz~._.js +0 -3
  615. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06_hoj_._.js +0 -3
  616. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_aw2vr._.js +0 -3
  617. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0brqbty._.js +0 -3
  618. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0csuit-._.js +0 -3
  619. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0eps5jg._.js +0 -3
  620. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ez3yia._.js +0 -3
  621. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0odjvc.._.js +0 -3
  622. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0pwlb77._.js +0 -3
  623. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0wce254._.js +0 -3
  624. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_12l8jkb._.js +0 -3
  625. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0_z9696._.js +0 -3
  626. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +0 -3
  627. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0jns_ph._.js +0 -3
  628. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_0ymj2~2._.js +0 -3
  629. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-xwobg-a6si1.js +0 -1
  630. package/dist/dashboard-runtime/dashboard/.next/static/chunks/01bokygf48bnj.js +0 -1
  631. package/dist/dashboard-runtime/dashboard/.next/static/chunks/026lyw-ynx1og.js +0 -1
  632. package/dist/dashboard-runtime/dashboard/.next/static/chunks/04a.1c2rygy08.js +0 -1
  633. package/dist/dashboard-runtime/dashboard/.next/static/chunks/05.2q9f0yx4e_.js +0 -1
  634. package/dist/dashboard-runtime/dashboard/.next/static/chunks/05_iqjh-v2gej.js +0 -1
  635. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07twdccs42b_-.js +0 -1
  636. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09v-qczj__g1x.js +0 -1
  637. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_8~9zgfm5f.8.js +0 -1
  638. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0_zw2y~vb_52n.js +0 -1
  639. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0a2f-mxepv-y7.js +0 -1
  640. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0apfhv-v7oy7u.js +0 -1
  641. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0bxt5icwb83xt.js +0 -1
  642. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0dpi1comd-thc.js +0 -1
  643. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0eerrv808~6bh.js +0 -4
  644. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j6agpotrd_n4.js +0 -1
  645. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jbcdgtcgqemd.js +0 -1
  646. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0jp7zmwvyv0bn.js +0 -1
  647. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0k8mhea24d_kj.js +0 -1
  648. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0krt75we1wtcy.js +0 -1
  649. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ogrq_r43je48.js +0 -1
  650. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0prl9yrb8ksp8.js +0 -1
  651. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0r4azm.3hswcs.js +0 -138
  652. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0r6utd8g~.cc1.js +0 -1
  653. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0uj7ezedkm6ou.css +0 -1
  654. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0x5qtkdg2trq9.js +0 -5
  655. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zatcw.k613lh.js +0 -1
  656. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zhfdjby7cj-q.js +0 -1
  657. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~naqbx3873~r.js +0 -1
  658. package/dist/dashboard-runtime/dashboard/.next/static/chunks/13__t3s3ipfzl.js +0 -1
  659. package/dist/dashboard-runtime/dashboard/.next/static/chunks/14.8mq880kjoc.js +0 -1
  660. package/dist/dashboard-runtime/dashboard/.next/static/chunks/16uky1ro-t_~9.js +0 -1
  661. package/dist/dashboard-runtime/dashboard/.next/static/chunks/18absak_u0d85.js +0 -138
  662. /package/dist/dashboard-runtime/dashboard/.next/static/{8G6beqTEKH_-N0JljpgWT → bKUtNfKb47TOc1cpUk74A}/_buildManifest.js +0 -0
  663. /package/dist/dashboard-runtime/dashboard/.next/static/{8G6beqTEKH_-N0JljpgWT → bKUtNfKb47TOc1cpUk74A}/_clientMiddlewareManifest.js +0 -0
  664. /package/dist/dashboard-runtime/dashboard/.next/static/{8G6beqTEKH_-N0JljpgWT → bKUtNfKb47TOc1cpUk74A}/_ssgManifest.js +0 -0
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  import { useState } from "react";
4
+ import Link from "next/link";
4
5
  import { useParams, useRouter } from "next/navigation";
5
6
  import { toast } from "sonner";
6
7
  import { ArrowLeft, AlertTriangle } from "lucide-react";
@@ -26,14 +27,51 @@ import {
26
27
  } from "@/components/memory/memory-dream-plan-approval-dialog";
27
28
  import {
28
29
  DREAM_TERMINAL_STATUSES,
30
+ type DreamActionRecord,
29
31
  type DreamTaskStatus,
30
32
  type DreamTaskType,
31
33
  type MemoryScope,
32
34
  } from "@/types/memory";
33
35
  import { cn } from "@/lib/utils";
36
+ import { buildScopeWorkspaceHref, toExactScope } from "@/lib/scope-workspace";
34
37
  import { useI18n } from "@/i18n/i18n-context";
35
38
  import type { MessageKey, TranslateFn } from "@/i18n/i18n-context";
36
39
 
40
+ function isExactScope(scope: MemoryScope): scope is Required<MemoryScope> {
41
+ return [scope.appId, scope.tenantId, scope.agentId, scope.runId].every(
42
+ (value) => typeof value === "string" && value.length > 0 && value !== "*",
43
+ );
44
+ }
45
+
46
+ export function buildDreamArtifactWikiHref(
47
+ memoryStoreName: string,
48
+ action: DreamActionRecord,
49
+ ): string | undefined {
50
+ const expectedKind =
51
+ action.action === "EMIT_SKILL"
52
+ ? "skill"
53
+ : action.action === "EMIT_PROFILE"
54
+ ? "profile"
55
+ : undefined;
56
+ if (
57
+ action.status !== "applied" ||
58
+ !expectedKind ||
59
+ action.newExtract?.kind !== expectedKind ||
60
+ !isExactScope(action.targetScope)
61
+ ) {
62
+ return undefined;
63
+ }
64
+ const params = new URLSearchParams([
65
+ ["appId", action.targetScope.appId],
66
+ ["tenantId", action.targetScope.tenantId],
67
+ ["agentId", action.targetScope.agentId],
68
+ ["runId", action.targetScope.runId],
69
+ ["dreamId", action.dreamId],
70
+ ["actionId", action.actionId],
71
+ ]);
72
+ return `/memory/${encodeURIComponent(memoryStoreName)}/wiki?${params.toString()}`;
73
+ }
74
+
37
75
  const STATUS_CLASS: Record<DreamTaskStatus, string> = {
38
76
  queued: "bg-info-soft text-info",
39
77
  running: "bg-info-soft text-info",
@@ -166,6 +204,9 @@ export default function DreamTaskDetailPage() {
166
204
  }
167
205
 
168
206
  const task = taskQuery.data;
207
+ const taskScopes = task?.input.scopes ?? [];
208
+ const taskScope =
209
+ taskScopes.length === 1 ? toExactScope(taskScopes[0]!) : null;
169
210
  const isTerminal = task && DREAM_TERMINAL_STATUSES.has(task.status);
170
211
  const isExtractTask =
171
212
  task?.taskType === "skill" || task?.taskType === "profile";
@@ -211,6 +252,14 @@ export default function DreamTaskDetailPage() {
211
252
  <ArrowLeft className="mr-1 h-3.5 w-3.5" />
212
253
  {t("memory.dream.backToTaskList")}
213
254
  </Button>
255
+ {taskScope ? (
256
+ <Button asChild variant="ghost" size="sm">
257
+ <Link href={buildScopeWorkspaceHref(memoryStoreName, taskScope)}>
258
+ <ArrowLeft className="mr-1 h-3.5 w-3.5" />
259
+ {t("memory.dream.backToScope")}
260
+ </Link>
261
+ </Button>
262
+ ) : null}
214
263
  </div>
215
264
 
216
265
  {taskQuery.isLoading ? (
@@ -255,11 +304,15 @@ export default function DreamTaskDetailPage() {
255
304
  : t("memory.dream.applyModeProposalDetail")}
256
305
  </span>
257
306
  <span>·</span>
258
- <span>
259
- {t("memory.dream.executionModeDetail", {
260
- value: task.executionMode,
261
- })}
262
- </span>
307
+ </>
308
+ )}
309
+ <span>
310
+ {t("memory.dream.effortDetail", {
311
+ value: task.effort,
312
+ })}
313
+ </span>
314
+ {(!task.taskType || task.taskType === "memory") && (
315
+ <>
263
316
  <span>·</span>
264
317
  <span>
265
318
  {t("memory.dream.scopeOutput", {
@@ -405,71 +458,23 @@ export default function DreamTaskDetailPage() {
405
458
  </div>
406
459
  </div>
407
460
 
408
- {(task.executionMode === "multi_loop" ||
409
- task.stage ||
410
- task.sandbox ||
411
- task.submittedBatchCount !== undefined ||
412
- task.failureCode) && (
461
+ {(task.stage ||
462
+ task.processedThroughMs !== undefined ||
463
+ task.plan?.approvedAt ||
464
+ task.plan?.executionExpiresAt) && (
413
465
  <div className="rounded-lg border border-[hsl(var(--border))] p-4">
414
466
  <h3 className="mb-3 text-sm font-semibold">
415
- {t("memory.dream.agenticRuntimeTitle")}
467
+ {t("memory.dream.publicRuntimeTitle")}
416
468
  </h3>
417
469
  <dl className="grid gap-3 text-xs sm:grid-cols-2 lg:grid-cols-4">
418
470
  <RuntimeDetail
419
471
  label={t("memory.dream.detailStage")}
420
472
  value={task.stage}
421
473
  />
422
- <RuntimeDetail
423
- label={t("memory.dream.detailSandboxId")}
424
- value={task.sandbox?.sandboxId}
425
- />
426
- <RuntimeDetail
427
- label={t("memory.dream.detailSandboxPhase")}
428
- value={task.sandbox?.phase}
429
- />
430
- <RuntimeDetail
431
- label={t("memory.dream.detailSandboxStatus")}
432
- value={task.sandbox?.status}
433
- />
434
- <RuntimeDetail
435
- label={t("memory.dream.detailSubmittedBatches")}
436
- value={task.submittedBatchCount}
437
- />
438
- <RuntimeDetail
439
- label={t("memory.dream.detailLastBatch")}
440
- value={
441
- task.lastBatch
442
- ? [
443
- task.lastBatch.batchId,
444
- task.lastBatch.sequence !== undefined
445
- ? `#${task.lastBatch.sequence}`
446
- : undefined,
447
- task.lastBatch.expectedActionCount !== undefined
448
- ? `${task.lastBatch.expectedActionCount} actions`
449
- : undefined,
450
- task.lastBatch.settled !== undefined
451
- ? task.lastBatch.settled
452
- ? "settled"
453
- : "pending"
454
- : undefined,
455
- ]
456
- .filter(Boolean)
457
- .join(" · ")
458
- : undefined
459
- }
460
- />
461
- <RuntimeDetail
462
- label={t("memory.dream.detailFailureCode")}
463
- value={task.failureCode}
464
- />
465
474
  <RuntimeDetail
466
475
  label={t("memory.dream.detailProcessedThrough")}
467
476
  value={task.processedThroughMs}
468
477
  />
469
- <RuntimeDetail
470
- label={t("memory.dream.detailAgentFinished")}
471
- value={task.agentFinishedAt}
472
- />
473
478
  <RuntimeDetail
474
479
  label={t("memory.dream.detailPlanApproved")}
475
480
  value={task.plan?.approvedAt}
@@ -532,6 +537,9 @@ export default function DreamTaskDetailPage() {
532
537
  memoryStoreName={memoryStoreName}
533
538
  dreamId={dreamId}
534
539
  taskType={task.taskType}
540
+ artifactWikiHref={(action) =>
541
+ buildDreamArtifactWikiHref(memoryStoreName, action)
542
+ }
535
543
  />
536
544
  </div>
537
545
 
@@ -232,7 +232,9 @@ export default function DreamTasksPage() {
232
232
  </TableCell>
233
233
  <TableCell className="text-xs">
234
234
  {task.taskType && task.taskType !== "memory" ? (
235
- <span className="text-muted-foreground">—</span>
235
+ <span className="text-muted-foreground">
236
+ {t("memory.dream.effortDetail", { value: task.effort })}
237
+ </span>
236
238
  ) : (
237
239
  <>
238
240
  {task.applyMode === "safe_auto"
@@ -240,11 +242,9 @@ export default function DreamTasksPage() {
240
242
  : task.applyMode === "plan"
241
243
  ? t("memory.dream.applyModePlan")
242
244
  : t("memory.dream.applyModeProposal")}
243
- {task.executionMode && (
244
- <span className="ml-1 text-muted-foreground">
245
- · {task.executionMode}
246
- </span>
247
- )}
245
+ <span className="ml-1 text-muted-foreground">
246
+ · {t("memory.dream.effortDetail", { value: task.effort })}
247
+ </span>
248
248
  {task.scopeOutputMode === "promote_scope" && (
249
249
  <span className="ml-1 text-muted-foreground">
250
250
  · {t("memory.dream.promoted")}
@@ -8,10 +8,12 @@ import {
8
8
  } from "next/navigation";
9
9
  import { useEffect, useState } from "react";
10
10
  import {
11
+ BookOpen,
11
12
  Brain,
12
13
  Database,
13
14
  FileClock,
14
15
  FolderTree,
16
+ LayoutDashboard,
15
17
  ListChecks,
16
18
  MessageSquare,
17
19
  MoreVertical,
@@ -40,10 +42,17 @@ import { MemoryDeleteDialog } from "@/components/memory/memory-delete-dialog";
40
42
  import { MemoryScopeBar } from "@/components/memory/memory-scope-bar";
41
43
  import { useI18n } from "@/i18n/i18n-context";
42
44
  import {
45
+ parseKnownStorageMode,
43
46
  resolveMemoryDetailSegment,
44
47
  storageModeCapabilities,
48
+ type MemoryDetailSegment,
45
49
  } from "@/lib/memory-storage-mode";
46
50
 
51
+ const FAIL_CLOSED_DETAIL_SEGMENTS: MemoryDetailSegment[] = [
52
+ "units",
53
+ "settings",
54
+ ];
55
+
47
56
  export default function MemoryDetailLayout({
48
57
  children,
49
58
  }: {
@@ -51,6 +60,11 @@ export default function MemoryDetailLayout({
51
60
  }) {
52
61
  const { t } = useI18n();
53
62
  const TABS = [
63
+ {
64
+ label: t("memory.detail.tabScope"),
65
+ segment: "scope",
66
+ icon: <LayoutDashboard className="h-4 w-4" />,
67
+ },
54
68
  {
55
69
  label: t("memory.detail.tabUnits"),
56
70
  segment: "units",
@@ -81,6 +95,11 @@ export default function MemoryDetailLayout({
81
95
  segment: "dream",
82
96
  icon: <Sparkles className="h-4 w-4" />,
83
97
  },
98
+ {
99
+ label: t("memory.detail.tabWiki"),
100
+ segment: "wiki",
101
+ icon: <BookOpen className="h-4 w-4" />,
102
+ },
84
103
  {
85
104
  label: t("memory.detail.tabSettings"),
86
105
  segment: "settings",
@@ -101,14 +120,20 @@ export default function MemoryDetailLayout({
101
120
  const basePath = `/memory/${encodeURIComponent(memoryStoreName)}`;
102
121
  const requestedSegment =
103
122
  pathname.slice(basePath.length).split("/").filter(Boolean)[0] ?? "units";
104
- const capabilities = storageModeCapabilities(memoryStore?.storageMode);
105
- const resolvedSegment = resolveMemoryDetailSegment(
106
- memoryStore?.storageMode,
107
- requestedSegment,
108
- );
123
+ const storageMode = parseKnownStorageMode(memoryStore?.storageMode);
124
+ const capabilities =
125
+ storageMode === null ? null : storageModeCapabilities(storageMode);
126
+ const detailSegments =
127
+ capabilities?.detailSegments ?? FAIL_CLOSED_DETAIL_SEGMENTS;
128
+ const resolvedSegment =
129
+ storageMode === null
130
+ ? detailSegments.includes(requestedSegment as MemoryDetailSegment)
131
+ ? (requestedSegment as MemoryDetailSegment)
132
+ : "units"
133
+ : resolveMemoryDetailSegment(storageMode, requestedSegment);
109
134
  const shouldRedirect = Boolean(
110
135
  memoryStore &&
111
- !capabilities.structured &&
136
+ capabilities?.structured !== true &&
112
137
  requestedSegment !== resolvedSegment,
113
138
  );
114
139
 
@@ -141,8 +166,8 @@ export default function MemoryDetailLayout({
141
166
 
142
167
  if (shouldRedirect) return null;
143
168
 
144
- const visibleTabs = capabilities.detailSegments.map((segment) => {
145
- if (!capabilities.structured && segment === "units") {
169
+ const visibleTabs = detailSegments.map((segment) => {
170
+ if (storageMode === "filemem" && segment === "units") {
146
171
  return {
147
172
  label: t("memory.detail.tabFiles"),
148
173
  segment: "units",
@@ -212,7 +237,9 @@ export default function MemoryDetailLayout({
212
237
  }
213
238
  >
214
239
  <div className="space-y-6">
215
- <MemoryScopeBar allowScopeDiscovery={capabilities.structured} />
240
+ <MemoryScopeBar
241
+ allowScopeDiscovery={capabilities?.structured === true}
242
+ />
216
243
  <div>{children}</div>
217
244
  </div>
218
245
  </DetailLayout>
@@ -0,0 +1,51 @@
1
+ "use client";
2
+
3
+ import { useMemo } from "react";
4
+ import { useParams, useSearchParams } from "next/navigation";
5
+
6
+ import { ScopeWorkspace } from "@/components/memory/scope-workspace";
7
+ import { useI18n } from "@/i18n/i18n-context";
8
+ import { parseExactScope } from "@/lib/scope-workspace";
9
+
10
+ export function ScopeWorkspaceRouteBoundary({
11
+ memoryStoreName,
12
+ search,
13
+ }: {
14
+ memoryStoreName: string;
15
+ search: string;
16
+ }) {
17
+ const { t } = useI18n();
18
+ const scope = useMemo(
19
+ () => parseExactScope(new URLSearchParams(search)),
20
+ [search],
21
+ );
22
+ if (!scope) {
23
+ return (
24
+ <div
25
+ className="rounded-xl border border-dashed px-6 py-12 text-center"
26
+ data-testid="scope-workspace-invalid"
27
+ >
28
+ <h2 className="font-semibold">
29
+ {t("memory.scopeWorkspace.invalidTitle")}
30
+ </h2>
31
+ <p className="mt-2 text-sm text-muted-foreground">
32
+ {t("memory.scopeWorkspace.invalidDescription")}
33
+ </p>
34
+ </div>
35
+ );
36
+ }
37
+ return <ScopeWorkspace memoryStoreName={memoryStoreName} scope={scope} />;
38
+ }
39
+
40
+ export default function ScopeWorkspacePage() {
41
+ const params = useParams<{ store: string }>();
42
+ const searchParams = useSearchParams();
43
+ const search = searchParams.toString();
44
+ const memoryStoreName = decodeURIComponent(params.store);
45
+ return (
46
+ <ScopeWorkspaceRouteBoundary
47
+ memoryStoreName={memoryStoreName}
48
+ search={search}
49
+ />
50
+ );
51
+ }
@@ -0,0 +1,157 @@
1
+ "use client";
2
+
3
+ import { useMemo } from "react";
4
+ import { useParams, useRouter, useSearchParams } from "next/navigation";
5
+ import { BookOpen } from "lucide-react";
6
+
7
+ import { ScopeCombobox } from "@/components/memory/scope-combobox";
8
+ import { readWikiDetailTab, WikiDetail } from "@/components/wiki/wiki-detail";
9
+ import { useI18n } from "@/i18n/i18n-context";
10
+ import type { MemoryScope } from "@/types/memory";
11
+ import type { WikiScope } from "@/types/wiki";
12
+
13
+ export interface WikiDetailRoute {
14
+ scope: WikiScope;
15
+ runContext?: string;
16
+ path?: string;
17
+ }
18
+
19
+ function readConcrete(value: string | null): string | null {
20
+ const normalized = value?.trim() ?? "";
21
+ return normalized && normalized !== "*" ? normalized : null;
22
+ }
23
+
24
+ export function toWikiAgentScope(scope: MemoryScope): WikiScope | null {
25
+ const appId = readConcrete(scope.appId);
26
+ const tenantId = readConcrete(scope.tenantId ?? null);
27
+ const agentId = readConcrete(scope.agentId ?? null);
28
+ return appId && tenantId && agentId ? { appId, tenantId, agentId } : null;
29
+ }
30
+
31
+ export function readWikiDetailRoute(
32
+ params: URLSearchParams,
33
+ ): WikiDetailRoute | null {
34
+ const scope = toWikiAgentScope({
35
+ appId: params.get("appId") ?? "",
36
+ tenantId: params.get("tenantId") ?? undefined,
37
+ agentId: params.get("agentId") ?? undefined,
38
+ });
39
+ if (!scope) return null;
40
+ const path = params.get("path")?.trim() || undefined;
41
+ const runContext = readConcrete(params.get("runId")) ?? undefined;
42
+ return {
43
+ scope,
44
+ ...(runContext ? { runContext } : {}),
45
+ ...(path ? { path } : {}),
46
+ };
47
+ }
48
+
49
+ function scopeParams(scope: WikiScope, runContext?: string): URLSearchParams {
50
+ return new URLSearchParams([
51
+ ["appId", scope.appId],
52
+ ["tenantId", scope.tenantId],
53
+ ["agentId", scope.agentId],
54
+ ["runId", runContext ?? "*"],
55
+ ]);
56
+ }
57
+
58
+ export function buildWikiPageHref(
59
+ memoryStoreName: string,
60
+ scope: WikiScope,
61
+ path?: string,
62
+ runContext?: string,
63
+ ): string {
64
+ const params = scopeParams(scope, runContext);
65
+ if (path) params.set("path", path);
66
+ return `/memory/${encodeURIComponent(memoryStoreName)}/wiki?${params.toString()}`;
67
+ }
68
+
69
+ export function replaceWikiPageRoute(
70
+ replace: (href: string) => void,
71
+ memoryStoreName: string,
72
+ scope: WikiScope,
73
+ path: string,
74
+ runContext?: string,
75
+ ): void {
76
+ replace(buildWikiPageHref(memoryStoreName, scope, path, runContext));
77
+ }
78
+
79
+ export default function WikiPage() {
80
+ const { t } = useI18n();
81
+ const params = useParams<{ store: string }>();
82
+ const router = useRouter();
83
+ const searchParams = useSearchParams();
84
+ const search = searchParams.toString();
85
+ const route = useMemo(
86
+ () => readWikiDetailRoute(new URLSearchParams(search)),
87
+ [search],
88
+ );
89
+ const memoryStoreName = decodeURIComponent(params.store);
90
+ const browserScope = useMemo<MemoryScope>(
91
+ () => ({
92
+ appId: searchParams.get("appId") ?? "*",
93
+ tenantId: searchParams.get("tenantId") ?? "*",
94
+ agentId: searchParams.get("agentId") ?? "*",
95
+ runId: searchParams.get("runId") ?? "*",
96
+ }),
97
+ [searchParams],
98
+ );
99
+
100
+ return (
101
+ <div className="space-y-4">
102
+ <div className="flex items-center justify-between gap-3">
103
+ <div>
104
+ <h2 className="text-lg font-semibold">{t("wiki.list.title")}</h2>
105
+ <p className="text-xs text-muted-foreground">
106
+ {t("wiki.list.description")}
107
+ </p>
108
+ </div>
109
+ </div>
110
+
111
+ {route ? (
112
+ <WikiDetail
113
+ memoryStoreName={memoryStoreName}
114
+ scope={route.scope}
115
+ runContext={route.runContext}
116
+ initialTab={readWikiDetailTab(searchParams.get("tab"))}
117
+ selectedPagePath={route.path}
118
+ onOpenPage={(path) =>
119
+ replaceWikiPageRoute(
120
+ (href) => router.replace(href),
121
+ memoryStoreName,
122
+ route.scope,
123
+ path,
124
+ route.runContext,
125
+ )
126
+ }
127
+ />
128
+ ) : (
129
+ <div className="rounded-xl border border-dashed border-[hsl(var(--border))] px-6 py-12 text-center">
130
+ <BookOpen className="mx-auto mb-3 h-9 w-9 text-muted-foreground" />
131
+ <h2 className="font-semibold">{t("wiki.list.agentScopeTitle")}</h2>
132
+ <p className="mx-auto mt-2 max-w-xl text-sm text-muted-foreground">
133
+ {t("wiki.list.agentScopeRequired")}
134
+ </p>
135
+ <div className="mx-auto mt-4 flex max-w-md flex-col items-center gap-2">
136
+ <span className="text-xs font-medium text-muted-foreground">
137
+ {t("wiki.list.chooseAgent")}
138
+ </span>
139
+ <ScopeCombobox
140
+ memoryStoreName={memoryStoreName}
141
+ currentScope={browserScope}
142
+ maxLevel="agent"
143
+ placeholder={t("wiki.list.chooseAgent")}
144
+ onPick={(selected) => {
145
+ const wikiScope = toWikiAgentScope(selected);
146
+ if (!wikiScope) return;
147
+ router.replace(
148
+ buildWikiPageHref(memoryStoreName, wikiScope, undefined, "*"),
149
+ );
150
+ }}
151
+ />
152
+ </div>
153
+ </div>
154
+ )}
155
+ </div>
156
+ );
157
+ }
@@ -228,10 +228,7 @@ export async function extractDurableMemories(input: {
228
228
  },
229
229
  );
230
230
  if (!response.ok) {
231
- const body = await response.text().catch(() => "");
232
- throw new Error(
233
- `memory curator ${response.status}: ${body.slice(0, 200) || response.statusText}`,
234
- );
231
+ throw new Error(`memory curator request failed (${response.status})`);
235
232
  }
236
233
  const json = (await response.json()) as {
237
234
  choices?: Array<{ message?: { content?: string } }>;
@@ -1,16 +1,16 @@
1
- export interface BrowserFileMemoryPromptHit {
1
+ export interface FileMemoryPromptHit {
2
2
  text: string;
3
3
  source: string;
4
4
  score: number;
5
5
  }
6
6
 
7
- /** Format bounded browser-provided file evidence for the model prompt. */
8
- export function formatFileMemoryBlock(
9
- hits: BrowserFileMemoryPromptHit[],
10
- ): string {
7
+ export type BrowserFileMemoryPromptHit = FileMemoryPromptHit;
8
+
9
+ /** Format bounded Chat BFF file evidence for the model prompt. */
10
+ export function formatFileMemoryBlock(hits: FileMemoryPromptHit[]): string {
11
11
  const header = [
12
12
  "## TableStore File Memory",
13
- "The following evidence was read from this conversation's exact-scope file memory through the JSON file API.",
13
+ "The following evidence was read from this conversation's exact-scope file memory through the JSON Item API and a bounded in-process SHA cache.",
14
14
  "Treat source paths as citations; do not assume access to any server-local mount.",
15
15
  ].join("\n");
16
16
  if (!hits.length) return `\n\n${header}`;
@@ -1,4 +1,5 @@
1
1
  import type { MemorySearchHit } from "@/types/memory";
2
+ import type { RetrievalFailure } from "@/types/llm-chat";
2
3
 
3
4
  export interface MemoryWriteScope {
4
5
  appId: string;
@@ -43,3 +44,52 @@ export function formatMemoryBlock(hits: MemorySearchHit[]): string {
43
44
  });
44
45
  return `\n\n相关历史记忆(共 ${hits.length} 条):\n${lines.join("\n")}`;
45
46
  }
47
+
48
+ function optionalString(value: unknown): string | undefined {
49
+ return typeof value === "string" && value.length > 0 ? value : undefined;
50
+ }
51
+
52
+ function optionalNumber(value: unknown): number | undefined {
53
+ return typeof value === "number" && Number.isFinite(value)
54
+ ? value
55
+ : undefined;
56
+ }
57
+
58
+ /** Preserve bounded upstream diagnostics without leaking request payloads. */
59
+ export function memoryRetrievalFailure(
60
+ value: unknown,
61
+ fallbackCode = "MEMORY_RETRIEVAL_FAILED",
62
+ ): RetrievalFailure {
63
+ const record =
64
+ value !== null && typeof value === "object"
65
+ ? (value as Record<string, unknown>)
66
+ : {};
67
+ const details =
68
+ record.details !== null && typeof record.details === "object"
69
+ ? (record.details as Record<string, unknown>)
70
+ : {};
71
+ const code =
72
+ optionalString(details.upstreamCode) ??
73
+ optionalString(record.upstreamCode) ??
74
+ optionalString(record.code) ??
75
+ fallbackCode;
76
+ const message =
77
+ optionalString(record.message) ??
78
+ (typeof value === "string" ? value : "Memory retrieval failed");
79
+ const requestId =
80
+ optionalString(details.upstreamRequestId) ??
81
+ optionalString(record.upstreamRequestId) ??
82
+ optionalString(record.requestId);
83
+ const httpStatus =
84
+ optionalNumber(details.upstreamStatus) ??
85
+ optionalNumber(record.upstreamStatus) ??
86
+ optionalNumber(record.httpStatus) ??
87
+ optionalNumber(record.status);
88
+
89
+ return {
90
+ code,
91
+ message,
92
+ ...(requestId === undefined ? {} : { requestId }),
93
+ ...(httpStatus === undefined ? {} : { httpStatus }),
94
+ };
95
+ }