@tablestore/tablestore-agent-cli 0.2.7 → 0.2.9

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 (971) hide show
  1. package/dist/commands/configure.d.ts.map +1 -1
  2. package/dist/commands/configure.js +19 -12
  3. package/dist/commands/configure.js.map +1 -1
  4. package/dist/commands/dashboard.d.ts.map +1 -1
  5. package/dist/commands/dashboard.js +12 -5
  6. package/dist/commands/dashboard.js.map +1 -1
  7. package/dist/commands/doctor.d.ts.map +1 -1
  8. package/dist/commands/doctor.js +212 -61
  9. package/dist/commands/doctor.js.map +1 -1
  10. package/dist/commands/kb/create.d.ts.map +1 -1
  11. package/dist/commands/kb/create.js.map +1 -1
  12. package/dist/commands/kb/doc-add.d.ts.map +1 -1
  13. package/dist/commands/kb/doc-add.js +3 -1
  14. package/dist/commands/kb/doc-add.js.map +1 -1
  15. package/dist/commands/kb/doc-get.d.ts.map +1 -1
  16. package/dist/commands/kb/doc-get.js +6 -2
  17. package/dist/commands/kb/doc-get.js.map +1 -1
  18. package/dist/commands/kb/doc-remove.d.ts.map +1 -1
  19. package/dist/commands/kb/doc-remove.js.map +1 -1
  20. package/dist/commands/kb/helpers.d.ts.map +1 -1
  21. package/dist/commands/kb/helpers.js.map +1 -1
  22. package/dist/commands/kb/retrieve.d.ts.map +1 -1
  23. package/dist/commands/kb/retrieve.js +3 -1
  24. package/dist/commands/kb/retrieve.js.map +1 -1
  25. package/dist/commands/memory.d.ts.map +1 -1
  26. package/dist/commands/memory.js +209 -23
  27. package/dist/commands/memory.js.map +1 -1
  28. package/dist/dashboard-runtime/dashboard/.next/BUILD_ID +1 -1
  29. package/dist/dashboard-runtime/dashboard/.next/app-path-routes-manifest.json +4 -0
  30. package/dist/dashboard-runtime/dashboard/.next/build-manifest.json +3 -3
  31. package/dist/dashboard-runtime/dashboard/.next/prerender-manifest.json +3 -3
  32. package/dist/dashboard-runtime/dashboard/.next/routes-manifest.json +32 -0
  33. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js +3 -3
  34. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page.js.nft.json +1 -1
  35. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/api-keys/page_client-reference-manifest.js +1 -1
  36. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js +3 -3
  37. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  38. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  39. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js +3 -3
  40. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page.js.nft.json +1 -1
  41. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/documents/page_client-reference-manifest.js +1 -1
  42. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js +3 -3
  43. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page.js.nft.json +1 -1
  44. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/page_client-reference-manifest.js +1 -1
  45. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js +3 -3
  46. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page.js.nft.json +1 -1
  47. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/qa/page_client-reference-manifest.js +1 -1
  48. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js +3 -3
  49. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page.js.nft.json +1 -1
  50. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/retrieval/page_client-reference-manifest.js +1 -1
  51. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js +3 -3
  52. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page.js.nft.json +1 -1
  53. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/[name]/settings/page_client-reference-manifest.js +1 -1
  54. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js +3 -3
  55. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page.js.nft.json +1 -1
  56. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/create/page_client-reference-manifest.js +1 -1
  57. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js +3 -3
  58. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page.js.nft.json +1 -1
  59. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/knowledge-base/page_client-reference-manifest.js +1 -1
  60. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js +3 -3
  61. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page.js.nft.json +1 -1
  62. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/[id]/page_client-reference-manifest.js +1 -1
  63. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js +4 -4
  64. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page.js.nft.json +1 -1
  65. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/new/page_client-reference-manifest.js +1 -1
  66. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js +3 -3
  67. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page.js.nft.json +1 -1
  68. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  69. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js +3 -3
  70. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page.js.nft.json +1 -1
  71. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/[dreamId]/page_client-reference-manifest.js +1 -1
  72. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js +3 -3
  73. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page.js.nft.json +1 -1
  74. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/dream/page_client-reference-manifest.js +1 -1
  75. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js +3 -3
  76. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page.js.nft.json +1 -1
  77. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/messages/page_client-reference-manifest.js +1 -1
  78. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js +3 -3
  79. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page.js.nft.json +1 -1
  80. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/page_client-reference-manifest.js +1 -1
  81. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js +3 -3
  82. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page.js.nft.json +1 -1
  83. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/requests/page_client-reference-manifest.js +1 -1
  84. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js +3 -3
  85. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page.js.nft.json +1 -1
  86. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/search/page_client-reference-manifest.js +1 -1
  87. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js +3 -3
  88. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page.js.nft.json +1 -1
  89. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/settings/page_client-reference-manifest.js +1 -1
  90. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js +3 -3
  91. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page.js.nft.json +1 -1
  92. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/tasks/page_client-reference-manifest.js +1 -1
  93. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js +3 -3
  94. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page.js.nft.json +1 -1
  95. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/[store]/units/page_client-reference-manifest.js +1 -1
  96. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js +3 -3
  97. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page.js.nft.json +1 -1
  98. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/create/page_client-reference-manifest.js +1 -1
  99. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js +3 -3
  100. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page.js.nft.json +1 -1
  101. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/memory/page_client-reference-manifest.js +1 -1
  102. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js +3 -3
  103. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
  104. package/dist/dashboard-runtime/dashboard/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
  105. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.html +1 -1
  106. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.rsc +1 -1
  107. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  108. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  109. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  110. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  111. package/dist/dashboard-runtime/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  112. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page.js +2 -2
  113. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  114. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  115. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.html +1 -1
  116. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.rsc +24 -20
  117. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +24 -20
  118. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
  119. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +11 -10
  120. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -5
  121. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  122. package/dist/dashboard-runtime/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  123. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js +2 -2
  124. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/custom-policy/route.js.nft.json +1 -1
  125. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js +2 -2
  126. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/effective-permissions/route.js.nft.json +1 -1
  127. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js +2 -2
  128. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/policies/route.js.nft.json +1 -1
  129. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js +2 -2
  130. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/[id]/route.js.nft.json +1 -1
  131. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js +2 -2
  132. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/filter-by-permission/route.js.nft.json +1 -1
  133. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js +2 -2
  134. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/api-keys/route.js.nft.json +1 -1
  135. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js +2 -2
  136. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/status/route.js.nft.json +1 -1
  137. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js +2 -2
  138. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/auth/token/route.js.nft.json +1 -1
  139. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js +2 -2
  140. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/route.js.nft.json +1 -1
  141. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js +2 -2
  142. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/token/route.js.nft.json +1 -1
  143. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js +2 -2
  144. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/[name]/use/route.js.nft.json +1 -1
  145. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js +2 -2
  146. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/instances/route.js.nft.json +1 -1
  147. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js +2 -2
  148. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/chunks/route.js.nft.json +1 -1
  149. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js +2 -2
  150. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/chunks/route.js.nft.json +1 -1
  151. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js +2 -2
  152. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.js.nft.json +1 -1
  153. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js +2 -2
  154. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/route.js.nft.json +1 -1
  155. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js +2 -2
  156. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/documents/upload/route.js.nft.json +1 -1
  157. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js +2 -2
  158. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/retrieve/route.js.nft.json +1 -1
  159. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js +2 -2
  160. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/[name]/route.js.nft.json +1 -1
  161. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js +2 -2
  162. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/knowledge-bases/route.js.nft.json +1 -1
  163. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js +2 -2
  164. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/chat/route.js.nft.json +1 -1
  165. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js +2 -2
  166. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/models/route.js.nft.json +1 -1
  167. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js +2 -2
  168. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/route.js.nft.json +1 -1
  169. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js +2 -2
  170. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/[id]/test/route.js.nft.json +1 -1
  171. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js +2 -2
  172. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/llm/providers/route.js.nft.json +1 -1
  173. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js +2 -2
  174. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/logs/client/route.js.nft.json +1 -1
  175. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route/app-paths-manifest.json +3 -0
  176. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route/build-manifest.json +9 -0
  177. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route/server-reference-manifest.json +4 -0
  178. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js +6 -0
  179. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.map +5 -0
  180. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route.js.nft.json +1 -0
  181. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-kb-sync/route_client-reference-manifest.js +3 -0
  182. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js +2 -2
  183. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/apply/route.js.nft.json +1 -1
  184. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js +2 -2
  185. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.js.nft.json +1 -1
  186. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js +2 -2
  187. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/cancel/route.js.nft.json +1 -1
  188. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js +2 -2
  189. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/route.js.nft.json +1 -1
  190. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js +2 -2
  191. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/dream-tasks/route.js.nft.json +1 -1
  192. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route/app-paths-manifest.json +3 -0
  193. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route/build-manifest.json +9 -0
  194. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route/server-reference-manifest.json +4 -0
  195. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js +6 -0
  196. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js.map +5 -0
  197. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route.js.nft.json +1 -0
  198. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/file/route_client-reference-manifest.js +3 -0
  199. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/app-paths-manifest.json +3 -0
  200. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/build-manifest.json +9 -0
  201. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route/server-reference-manifest.json +4 -0
  202. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js +6 -0
  203. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js.map +5 -0
  204. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route.js.nft.json +1 -0
  205. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/sync/route_client-reference-manifest.js +3 -0
  206. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/app-paths-manifest.json +3 -0
  207. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/build-manifest.json +9 -0
  208. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route/server-reference-manifest.json +4 -0
  209. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js +6 -0
  210. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js.map +5 -0
  211. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route.js.nft.json +1 -0
  212. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/file-memory/tree/route_client-reference-manifest.js +3 -0
  213. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js +2 -2
  214. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/messages/route.js.nft.json +1 -1
  215. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js +2 -2
  216. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/requests/route.js.nft.json +1 -1
  217. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js +2 -2
  218. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/route.js.nft.json +1 -1
  219. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js +2 -2
  220. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/scopes/route.js.nft.json +1 -1
  221. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js +2 -2
  222. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/search/route.js.nft.json +1 -1
  223. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js +2 -2
  224. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/[requestId]/route.js.nft.json +1 -1
  225. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js +2 -2
  226. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/tasks/route.js.nft.json +1 -1
  227. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js +2 -2
  228. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/[memoryId]/route.js.nft.json +1 -1
  229. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js +2 -2
  230. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/[store]/units/route.js.nft.json +1 -1
  231. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js +2 -2
  232. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/memory/stores/route.js.nft.json +1 -1
  233. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js +2 -2
  234. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/oss/list/route.js.nft.json +1 -1
  235. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js +2 -2
  236. package/dist/dashboard-runtime/dashboard/.next/server/app/api/v1/runtime/context/route.js.nft.json +1 -1
  237. package/dist/dashboard-runtime/dashboard/.next/server/app/index.html +1 -1
  238. package/dist/dashboard-runtime/dashboard/.next/server/app/index.rsc +20 -19
  239. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  240. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_full.segment.rsc +20 -19
  241. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_head.segment.rsc +3 -3
  242. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_index.segment.rsc +11 -10
  243. package/dist/dashboard-runtime/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  244. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js +2 -2
  245. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page.js.nft.json +1 -1
  246. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  247. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.html +1 -1
  248. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.rsc +24 -23
  249. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_full.segment.rsc +24 -23
  250. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_head.segment.rsc +3 -3
  251. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_index.segment.rsc +11 -10
  252. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/_tree.segment.rsc +2 -2
  253. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
  254. package/dist/dashboard-runtime/dashboard/.next/server/app/onboarding.segments/onboarding.segment.rsc +4 -4
  255. package/dist/dashboard-runtime/dashboard/.next/server/app/page.js +2 -2
  256. package/dist/dashboard-runtime/dashboard/.next/server/app/page.js.nft.json +1 -1
  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 +4 -0
  259. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_dream-kb-sync_route_actions_04qnm9s.js +3 -0
  260. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_file_route_actions_06~k01v.js +3 -0
  261. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_sync_route_actions_0rt6p8e.js +3 -0
  262. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0ndq_server_app_api_v1_memory_stores_[store]_file-memory_tree_route_actions_0wl_n8b.js +3 -0
  263. package/dist/dashboard-runtime/dashboard/.next/server/chunks/0p91_next_dist_esm_build_templates_app-route_0n~ec7s.js +13 -5
  264. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-3~.bv._.js +14 -0
  265. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0-dt7~s._.js +3 -0
  266. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.-~ff4._.js +3 -0
  267. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.l706t._.js +3 -0
  268. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.nejw_._.js +3 -0
  269. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00_mrad._.js +3 -0
  270. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00i.7se._.js +3 -0
  271. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__00r7uqs._.js +3 -0
  272. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02~yw7n._.js +3 -0
  273. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04kpzpa._.js +3 -0
  274. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04p1a88._.js +3 -0
  275. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__05x0k4d._.js +3 -0
  276. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__060s~oe._.js +3 -0
  277. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06fanvv._.js +3 -0
  278. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06tci88._.js +3 -0
  279. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__10k~3sa._.js → [root-of-the-server]__089es3y._.js} +12 -12
  280. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08bzgzm._.js +3 -0
  281. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08d7wb.._.js +3 -0
  282. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08p_m_c._.js +3 -0
  283. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__095xiwn._.js +3 -0
  284. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__09h95i6._.js +3 -0
  285. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0.y01v.._.js → [root-of-the-server]__0ai2k_o._.js} +13 -13
  286. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0alcygi._.js +3 -0
  287. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0aspytx._.js +3 -0
  288. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cq-9s~._.js +3 -0
  289. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cyiuai._.js +3 -0
  290. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0d4zrpj._.js +3 -0
  291. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0d~m09k._.js +3 -0
  292. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0f1lugp._.js +3 -0
  293. package/dist/dashboard-runtime/dashboard/.next/server/chunks/{[root-of-the-server]__0wa~r66._.js → [root-of-the-server]__0g1cfb7._.js} +12 -12
  294. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0gpz.~y._.js +3 -0
  295. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0i3u9x3._.js +3 -0
  296. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0iromt6._.js +3 -0
  297. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0j8.u0y._.js +3 -0
  298. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0k-pfaj._.js +3 -0
  299. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0kcbz7k._.js +3 -0
  300. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0nrl-.g._.js +3 -0
  301. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0o5mf4h._.js +3 -0
  302. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0omyr40._.js +3 -0
  303. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ty8jgt._.js +3 -0
  304. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ug_2kc._.js +3 -0
  305. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0v98i9~._.js +3 -0
  306. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0wt0ksb._.js +3 -0
  307. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ya_8d2._.js +3 -0
  308. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0zfg-ml._.js +3 -0
  309. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0~9ru5n._.js +3 -0
  310. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0~f7ckz._.js +3 -0
  311. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__109i6ps._.js +3 -0
  312. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__10o5zq5._.js +3 -0
  313. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12ls5l8._.js +3 -0
  314. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0b1r_app_(dashboard)_knowledge-base_[name]_documents_documents-client_tsx_0g2uxmt._.js +2 -2
  315. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0e95_src_app_(dashboard)_knowledge-base_[name]_settings_settings-client_tsx_13312zk._.js +1 -1
  316. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0w-2_lucide-react_dist_esm_icons_0h-3_0x._.js +3 -0
  317. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01sm7cj._.js +3 -0
  318. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0k0es2c._.js +3 -0
  319. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ky8i.~._.js +3 -0
  320. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ocsrt0._.js +3 -0
  321. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ys4x_n._.js +3 -0
  322. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_002mc1c._.js +3 -0
  323. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_02waf76._.js +3 -0
  324. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_03z8zmx._.js +1 -1
  325. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_04f2u4t._.js +1 -1
  326. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_06ny.4k._.js +1 -1
  327. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_1_-hn._.js +3 -0
  328. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0_er4j0._.js +3 -0
  329. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ahm789._.js +3 -0
  330. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0brqbty._.js +1 -1
  331. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0e.ehti._.js +3 -0
  332. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f8moq0._.js +3 -0
  333. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0f8yv4v._.js +1 -1
  334. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0frs8ys._.js +3 -0
  335. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0fvg_xo._.js +3 -0
  336. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gbt~hy._.js +1 -1
  337. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0gl7kh7._.js +1 -1
  338. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0h9c.8m._.js +3 -0
  339. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ip4ncy._.js +3 -0
  340. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0izjcsk._.js +3 -0
  341. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0j.62sb._.js +1 -1
  342. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ka7ryb._.js +1 -1
  343. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0lo5ra0._.js +1 -1
  344. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0mdbcju._.js +3 -0
  345. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0o665bf._.js +1 -1
  346. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0odjvc.._.js +1 -1
  347. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0p_s55v._.js +3 -0
  348. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qiamjd._.js +3 -0
  349. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0t.h859._.js +3 -0
  350. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xdioxg._.js +1 -1
  351. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0xp94lc._.js +3 -0
  352. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_11fl7_r._.js +1 -1
  353. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13730cz._.js +3 -0
  354. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{_06894o_._.js → _13ctfae._.js} +2 -2
  355. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_00.1.s_._.js +1 -1
  356. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_04o7mfc._.js +3 -0
  357. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0bhjp9s._.js +3 -0
  358. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0grv2wq._.js +3 -0
  359. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0qlyj-q._.js +1 -1
  360. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/{dashboard_src_0o9jhcn._.js → dashboard_src_0sn17ku._.js} +4 -4
  361. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0x60pxf._.js +3 -0
  362. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0y49vhd._.js +1 -1
  363. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_10dsqx~._.js +1 -1
  364. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_api-keys_page_tsx_0lb6fu7._.js +2 -2
  365. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_knowledge-base_[name]_error_tsx_0rnss~4._.js +1 -1
  366. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_knowledge-base_create_page_tsx_0916~g-._.js +1 -1
  367. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_[dreamId]_page_tsx_0wy3tv6._.js +1 -1
  368. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_dream_page_tsx_0uzzpvs._.js +1 -1
  369. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_layout_tsx_0rbi41w._.js +1 -1
  370. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_messages_page_tsx_0votz-n._.js +3 -0
  371. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_tasks_page_tsx_0a_bgx4._.js +1 -1
  372. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_units_page_tsx_0.6xnei._.js +1 -1
  373. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_error_tsx_01x7ppm._.js +1 -1
  374. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_not-found_tsx_05z4mh~._.js +3 -0
  375. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_retrieval_02c2uck._.js +1 -1
  376. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_components_shared_relative-time_tsx_0b7s9rc._.js +1 -1
  377. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_i18n_i18n-context_tsx_0c39ewr._.js +3 -0
  378. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_providers_runtime-context-provider_tsx_0wmj66z._.js +1 -1
  379. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/node_modules__pnpm_00usyu3._.js +3 -0
  380. package/dist/dashboard-runtime/dashboard/.next/server/functions-config-manifest.json +4 -0
  381. package/dist/dashboard-runtime/dashboard/.next/server/middleware-build-manifest.js +3 -3
  382. package/dist/dashboard-runtime/dashboard/.next/server/pages/404.html +1 -1
  383. package/dist/dashboard-runtime/dashboard/.next/server/pages/500.html +1 -1
  384. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.js +1 -1
  385. package/dist/dashboard-runtime/dashboard/.next/server/server-reference-manifest.json +1 -1
  386. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0--dupndun7xc.css +1 -0
  387. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0.uxk~hsm6yi8.js +138 -0
  388. package/dist/dashboard-runtime/dashboard/.next/static/chunks/00eggrx~.4c55.js +1 -0
  389. package/dist/dashboard-runtime/dashboard/.next/static/chunks/00lvoeu_v3253.js +1 -0
  390. package/dist/dashboard-runtime/dashboard/.next/static/chunks/00o9vmhspv._3.js +138 -0
  391. package/dist/dashboard-runtime/dashboard/.next/static/chunks/00x1.t633f041.js +1 -0
  392. package/dist/dashboard-runtime/dashboard/.next/static/chunks/010bpq~3ntjcm.js +4 -0
  393. package/dist/dashboard-runtime/dashboard/.next/static/chunks/02p7gke47s.2~.js +1 -0
  394. package/dist/dashboard-runtime/dashboard/.next/static/chunks/02u9ocsl0a12t.js +1 -0
  395. package/dist/dashboard-runtime/dashboard/.next/static/chunks/03_t1t9j7dbax.js +1 -0
  396. package/dist/dashboard-runtime/dashboard/.next/static/chunks/03dth-av1gl-h.js +1 -0
  397. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07aczaljq.qvr.js +1 -0
  398. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07s0f6938um2v.js +1 -0
  399. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08nzc9sye_0~h.js +1 -0
  400. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09y30vyml4r.b.js +1 -0
  401. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ab~fpog2~u.h.js +1 -0
  402. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0au0pbejtwahz.js +1 -0
  403. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0b-ei8-g7ceug.js +1 -0
  404. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0chiv044h3u58.js +1 -0
  405. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fcdli-~wmvvx.js +1 -0
  406. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0fz_9~-rxluly.js +1 -0
  407. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0hqkctymrrnbk.js +1 -0
  408. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0i55cqygnl-a9.js +5 -0
  409. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j8p7vk~awgs..js +1 -0
  410. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0j_.hkhjix9hw.js +1 -0
  411. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ll488v66ycn1.js +1 -0
  412. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0823z0-i-vkzj.js → 0l~3_bvic.da3.js} +1 -1
  413. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0mp0n~dtbg78r.js +1 -0
  414. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0naliud7av3p1.js +1 -0
  415. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0nvwdxs-j_2ld.js +1 -0
  416. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0opbuui_pt1n1.js +1 -0
  417. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pbfl~23ac79y.js +9 -0
  418. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qwhis4t32vlg.js +1 -0
  419. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{0_2i27ja0f5u_.js → 0r44f~_t6m0hu.js} +1 -1
  420. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0vuh8jgeqqdy..js +1 -0
  421. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{11daw7hfc5lbv.js → 0wbevjtr1_grz.js} +1 -1
  422. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0y-gjpq3kxsbz.js +1 -0
  423. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0z_pq4ttgotxw.js +1 -0
  424. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0zatcw.k613lh.js +1 -0
  425. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0~a4ig2x9z8uq.js +1 -0
  426. package/dist/dashboard-runtime/dashboard/.next/static/chunks/10i~m4_8ainxw.js +1 -0
  427. package/dist/dashboard-runtime/dashboard/.next/static/chunks/12535rmhzbk63.js +1 -0
  428. package/dist/dashboard-runtime/dashboard/.next/static/chunks/{11islg2md6lj-.js → 13uk2uuzuop5e.js} +1 -1
  429. package/dist/dashboard-runtime/dashboard/.next/static/chunks/13vd4hv~l95-c.js +1 -0
  430. package/dist/dashboard-runtime/dashboard/.next/static/chunks/16.2aecdwo6w_.js +1 -0
  431. package/dist/dashboard-runtime/dashboard/.next/static/chunks/16yu0g~7n~33c.js +1 -0
  432. package/dist/dashboard-runtime/dashboard/.next/static/chunks/17fx3e0sj7h7s.js +1 -0
  433. package/dist/dashboard-runtime/dashboard/next.config.ts +1 -5
  434. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/api-keys/page.tsx +28 -18
  435. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/error.tsx +5 -3
  436. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/chat/page.tsx +188 -19
  437. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/error.tsx +8 -5
  438. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/documents/documents-client.tsx +85 -45
  439. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/error.tsx +12 -7
  440. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/layout-client.tsx +67 -29
  441. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/qa/page.tsx +2 -1
  442. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/retrieval/retrieval-client.tsx +8 -4
  443. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/[name]/settings/settings-client.tsx +6 -3
  444. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/create/page.tsx +5 -3
  445. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/knowledge-base/page.tsx +6 -4
  446. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/layout.tsx +15 -19
  447. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/[id]/page.tsx +4 -2
  448. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/error.tsx +6 -3
  449. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/new/page.tsx +6 -2
  450. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/llm-providers/page.tsx +8 -6
  451. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/[dreamId]/page.tsx +112 -49
  452. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/dream/page.tsx +300 -133
  453. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/layout.tsx +48 -32
  454. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/_helpers.ts +16 -5
  455. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/message-bubble.tsx +3 -1
  456. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/page.tsx +47 -17
  457. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/messages/time-filter-bar.tsx +15 -13
  458. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/_helpers.ts +20 -29
  459. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/page.tsx +121 -42
  460. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/request-detail-dialog.tsx +37 -17
  461. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/requests-search-bar.tsx +11 -6
  462. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/requests/requests-table.tsx +29 -9
  463. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/search/page.tsx +13 -4
  464. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/settings/page.tsx +21 -29
  465. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/tasks/page.tsx +20 -15
  466. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/[store]/units/page.tsx +355 -125
  467. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/create/page.tsx +5 -3
  468. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/error.tsx +5 -3
  469. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/memory/page.tsx +6 -4
  470. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/error.tsx +6 -3
  471. package/dist/dashboard-runtime/dashboard/src/app/(dashboard)/projects/page.tsx +18 -13
  472. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/custom-policy/route.ts +1 -3
  473. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/effective-permissions/route.ts +45 -17
  474. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/policies/route.ts +0 -8
  475. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/[id]/route.ts +3 -1
  476. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/filter-by-permission/route.ts +21 -10
  477. package/dist/dashboard-runtime/dashboard/src/app/api/v1/api-keys/route.ts +20 -6
  478. package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/route.ts +10 -5
  479. package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/token/route.ts +1 -0
  480. package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/[name]/use/route.ts +2 -2
  481. package/dist/dashboard-runtime/dashboard/src/app/api/v1/instances/route.ts +6 -5
  482. package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/chunks/route.ts +4 -1
  483. package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/[docId]/route.ts +5 -1
  484. package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/route.ts +8 -2
  485. package/dist/dashboard-runtime/dashboard/src/app/api/v1/knowledge-bases/[name]/documents/upload/route.ts +7 -2
  486. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/file-memory-helpers.ts +93 -0
  487. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/chat/route.ts +152 -64
  488. package/dist/dashboard-runtime/dashboard/src/app/api/v1/llm/providers/route.ts +1 -4
  489. package/dist/dashboard-runtime/dashboard/src/app/api/v1/logs/client/route.ts +30 -13
  490. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-kb-sync/route.ts +78 -0
  491. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/[dreamId]/actions/route.ts +2 -1
  492. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/dream-tasks/route.ts +2 -1
  493. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/_helpers.ts +42 -0
  494. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/file/route.ts +69 -0
  495. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/sync/route.ts +69 -0
  496. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/file-memory/tree/route.ts +44 -0
  497. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/scopes/route.ts +3 -5
  498. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/tasks/route.ts +2 -1
  499. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/[store]/units/route.ts +4 -1
  500. package/dist/dashboard-runtime/dashboard/src/app/api/v1/memory/stores/route.ts +30 -7
  501. package/dist/dashboard-runtime/dashboard/src/app/api/v1/oss/list/route.ts +11 -3
  502. package/dist/dashboard-runtime/dashboard/src/app/error.tsx +17 -16
  503. package/dist/dashboard-runtime/dashboard/src/app/globals.css +63 -23
  504. package/dist/dashboard-runtime/dashboard/src/app/layout.tsx +17 -14
  505. package/dist/dashboard-runtime/dashboard/src/app/not-found.tsx +12 -4
  506. package/dist/dashboard-runtime/dashboard/src/app/onboarding/error.tsx +8 -4
  507. package/dist/dashboard-runtime/dashboard/src/app/onboarding/page.tsx +7 -8
  508. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-create-dialog.tsx +42 -19
  509. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-delete-dialog.tsx +32 -14
  510. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-detail-sheet.tsx +23 -18
  511. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-permission-filter.tsx +42 -35
  512. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-secret-revealed-dialog.tsx +22 -19
  513. package/dist/dashboard-runtime/dashboard/src/components/api-keys/api-key-table.tsx +58 -23
  514. package/dist/dashboard-runtime/dashboard/src/components/api-keys/bearer-token-toggle.tsx +13 -8
  515. package/dist/dashboard-runtime/dashboard/src/components/api-keys/custom-policy-editor.tsx +43 -20
  516. package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-overview.tsx +19 -8
  517. package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-presets.tsx +37 -17
  518. package/dist/dashboard-runtime/dashboard/src/components/api-keys/permission-rule-dialog.tsx +99 -58
  519. package/dist/dashboard-runtime/dashboard/src/components/chat/add-mount-row.tsx +3 -1
  520. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-config-context.tsx +30 -9
  521. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-history-sidebar.tsx +13 -10
  522. package/dist/dashboard-runtime/dashboard/src/components/chat/chat-mount-config.tsx +28 -21
  523. package/dist/dashboard-runtime/dashboard/src/components/chat/memory-bind-section.tsx +221 -41
  524. package/dist/dashboard-runtime/dashboard/src/components/chat/memory-files-dialog.tsx +51 -0
  525. package/dist/dashboard-runtime/dashboard/src/components/chat/mount-empty-state.tsx +12 -8
  526. package/dist/dashboard-runtime/dashboard/src/components/chat/mount-picker.tsx +4 -2
  527. package/dist/dashboard-runtime/dashboard/src/components/chat/mount-retrieval-dialog.tsx +31 -15
  528. package/dist/dashboard-runtime/dashboard/src/components/chat/mount-row.tsx +9 -3
  529. package/dist/dashboard-runtime/dashboard/src/components/chat/unified-retrieval-section.tsx +14 -6
  530. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-chunks-dialog.tsx +215 -126
  531. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-columns.tsx +22 -13
  532. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-detail-panel.tsx +56 -27
  533. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-status-badge.tsx +8 -13
  534. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-table.tsx +9 -7
  535. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-toolbar.tsx +17 -18
  536. package/dist/dashboard-runtime/dashboard/src/components/documents/doc-upload-dialog.tsx +308 -181
  537. package/dist/dashboard-runtime/dashboard/src/components/documents/oss-browser.tsx +32 -16
  538. package/dist/dashboard-runtime/dashboard/src/components/documents/oss-import-tab.tsx +39 -14
  539. package/dist/dashboard-runtime/dashboard/src/components/home/home-empty-state.tsx +10 -6
  540. package/dist/dashboard-runtime/dashboard/src/components/home/home-hero.tsx +10 -6
  541. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-dialog.tsx +5 -6
  542. package/dist/dashboard-runtime/dashboard/src/components/instance/connect-instance-form.tsx +204 -64
  543. package/dist/dashboard-runtime/dashboard/src/components/instance/edit-instance-dialog.tsx +19 -5
  544. package/dist/dashboard-runtime/dashboard/src/components/instance/project-card.tsx +13 -7
  545. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/embedding-config-form.tsx +52 -19
  546. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-card.tsx +138 -102
  547. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-create-form.tsx +180 -73
  548. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-delete-dialog.tsx +28 -12
  549. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-list.tsx +12 -10
  550. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/kb-settings-form.tsx +180 -78
  551. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/retrieval-result-count-field.tsx +12 -7
  552. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-gate.tsx +11 -7
  553. package/dist/dashboard-runtime/dashboard/src/components/knowledge-base/subspace-switcher.tsx +16 -8
  554. package/dist/dashboard-runtime/dashboard/src/components/layout/detail-sidebar.tsx +15 -17
  555. package/dist/dashboard-runtime/dashboard/src/components/layout/help-link.tsx +32 -32
  556. package/dist/dashboard-runtime/dashboard/src/components/layout/instance-switcher.tsx +9 -5
  557. package/dist/dashboard-runtime/dashboard/src/components/layout/language-toggle.tsx +71 -0
  558. package/dist/dashboard-runtime/dashboard/src/components/layout/nav-link.tsx +8 -10
  559. package/dist/dashboard-runtime/dashboard/src/components/layout/page-header.tsx +26 -31
  560. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-instance-card.tsx +24 -9
  561. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-item.tsx +11 -5
  562. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-mobile.tsx +16 -7
  563. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar-usage-stats.tsx +4 -2
  564. package/dist/dashboard-runtime/dashboard/src/components/layout/sidebar.tsx +13 -9
  565. package/dist/dashboard-runtime/dashboard/src/components/layout/skip-to-content.tsx +21 -0
  566. package/dist/dashboard-runtime/dashboard/src/components/layout/theme-toggle.tsx +65 -144
  567. package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-card.tsx +35 -18
  568. package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-delete-dialog.tsx +20 -8
  569. package/dist/dashboard-runtime/dashboard/src/components/llm-providers/llm-provider-form.tsx +139 -67
  570. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-add-dialog.tsx +15 -11
  571. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-coming-soon.tsx +7 -3
  572. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-create-form.tsx +179 -43
  573. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-delete-dialog.tsx +12 -6
  574. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-actions-table.tsx +212 -88
  575. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-apply-confirm-dialog.tsx +14 -8
  576. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-create-dialog.tsx +222 -84
  577. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-dream-disabled.tsx +10 -4
  578. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-edit-dialog.tsx +21 -11
  579. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-files-browser.tsx +225 -0
  580. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-messages-table.tsx +28 -24
  581. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-requests-table.tsx +122 -58
  582. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-scope-bar.tsx +63 -28
  583. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-form.tsx +32 -19
  584. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-search-results.tsx +60 -29
  585. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-settings-form.tsx +63 -26
  586. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-card.tsx +34 -15
  587. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-store-list.tsx +19 -13
  588. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-tasks-table.tsx +84 -46
  589. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-detail-panel.tsx +37 -14
  590. package/dist/dashboard-runtime/dashboard/src/components/memory/memory-unit-table.tsx +54 -30
  591. package/dist/dashboard-runtime/dashboard/src/components/memory/scope-combobox.tsx +148 -0
  592. package/dist/dashboard-runtime/dashboard/src/components/qa/code-block.tsx +5 -3
  593. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-chat-panel.tsx +51 -15
  594. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-form.tsx +29 -16
  595. package/dist/dashboard-runtime/dashboard/src/components/qa/qa-message.tsx +268 -66
  596. package/dist/dashboard-runtime/dashboard/src/components/retrieval/assemble-retrieval-configuration.ts +6 -2
  597. package/dist/dashboard-runtime/dashboard/src/components/retrieval/filter-builder.tsx +260 -87
  598. package/dist/dashboard-runtime/dashboard/src/components/retrieval/request-preview.tsx +10 -4
  599. package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-form.tsx +56 -35
  600. package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-params-fields.tsx +40 -27
  601. package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-rerank-fields.tsx +80 -30
  602. package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-result-card.tsx +16 -5
  603. package/dist/dashboard-runtime/dashboard/src/components/retrieval/retrieval-results.tsx +11 -8
  604. package/dist/dashboard-runtime/dashboard/src/components/shared/confirm-dialog.tsx +11 -8
  605. package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table-pagination.tsx +21 -7
  606. package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table-toolbar.tsx +1 -2
  607. package/dist/dashboard-runtime/dashboard/src/components/shared/data-table/data-table.tsx +24 -9
  608. package/dist/dashboard-runtime/dashboard/src/components/shared/empty-state.tsx +1 -4
  609. package/dist/dashboard-runtime/dashboard/src/components/shared/error-state.tsx +1 -3
  610. package/dist/dashboard-runtime/dashboard/src/components/shared/json-viewer.tsx +1 -2
  611. package/dist/dashboard-runtime/dashboard/src/components/shared/llm-model-selector.tsx +22 -17
  612. package/dist/dashboard-runtime/dashboard/src/components/shared/metadata-field-input.tsx +10 -2
  613. package/dist/dashboard-runtime/dashboard/src/components/shared/metadata-form.tsx +10 -7
  614. package/dist/dashboard-runtime/dashboard/src/components/shared/refresh-button.tsx +6 -3
  615. package/dist/dashboard-runtime/dashboard/src/components/shared/relative-time.tsx +6 -3
  616. package/dist/dashboard-runtime/dashboard/src/components/shared/search-input.tsx +6 -5
  617. package/dist/dashboard-runtime/dashboard/src/components/shared/status-badge.tsx +9 -14
  618. package/dist/dashboard-runtime/dashboard/src/components/shared/system-prompt-input.tsx +6 -3
  619. package/dist/dashboard-runtime/dashboard/src/components/shared/tag-input.tsx +12 -7
  620. package/dist/dashboard-runtime/dashboard/src/components/shared/temperature-slider.tsx +4 -2
  621. package/dist/dashboard-runtime/dashboard/src/components/ui/badge.tsx +9 -8
  622. package/dist/dashboard-runtime/dashboard/src/components/ui/button.tsx +15 -14
  623. package/dist/dashboard-runtime/dashboard/src/components/ui/card.tsx +26 -18
  624. package/dist/dashboard-runtime/dashboard/src/components/ui/chat-bubble.tsx +10 -10
  625. package/dist/dashboard-runtime/dashboard/src/components/ui/checkbox.tsx +8 -8
  626. package/dist/dashboard-runtime/dashboard/src/components/ui/collapsible.tsx +6 -6
  627. package/dist/dashboard-runtime/dashboard/src/components/ui/command.tsx +32 -32
  628. package/dist/dashboard-runtime/dashboard/src/components/ui/data-card.tsx +35 -35
  629. package/dist/dashboard-runtime/dashboard/src/components/ui/detail-section.tsx +42 -36
  630. package/dist/dashboard-runtime/dashboard/src/components/ui/dialog.tsx +29 -29
  631. package/dist/dashboard-runtime/dashboard/src/components/ui/dropdown-menu.tsx +40 -40
  632. package/dist/dashboard-runtime/dashboard/src/components/ui/empty-state.tsx +16 -10
  633. package/dist/dashboard-runtime/dashboard/src/components/ui/filter-pill.tsx +20 -21
  634. package/dist/dashboard-runtime/dashboard/src/components/ui/form.tsx +57 -51
  635. package/dist/dashboard-runtime/dashboard/src/components/ui/input.tsx +8 -8
  636. package/dist/dashboard-runtime/dashboard/src/components/ui/item-card.tsx +17 -16
  637. package/dist/dashboard-runtime/dashboard/src/components/ui/label.tsx +9 -9
  638. package/dist/dashboard-runtime/dashboard/src/components/ui/memory-row.tsx +10 -10
  639. package/dist/dashboard-runtime/dashboard/src/components/ui/mini-stat.tsx +9 -8
  640. package/dist/dashboard-runtime/dashboard/src/components/ui/nav-tab-bar.tsx +21 -15
  641. package/dist/dashboard-runtime/dashboard/src/components/ui/playground-shell.tsx +13 -16
  642. package/dist/dashboard-runtime/dashboard/src/components/ui/popover.tsx +11 -11
  643. package/dist/dashboard-runtime/dashboard/src/components/ui/result-row.tsx +7 -7
  644. package/dist/dashboard-runtime/dashboard/src/components/ui/scope-tag.tsx +9 -6
  645. package/dist/dashboard-runtime/dashboard/src/components/ui/select.tsx +29 -29
  646. package/dist/dashboard-runtime/dashboard/src/components/ui/separator.tsx +10 -10
  647. package/dist/dashboard-runtime/dashboard/src/components/ui/sheet.tsx +11 -4
  648. package/dist/dashboard-runtime/dashboard/src/components/ui/skeleton.tsx +11 -11
  649. package/dist/dashboard-runtime/dashboard/src/components/ui/sonner.tsx +7 -7
  650. package/dist/dashboard-runtime/dashboard/src/components/ui/stat-card.tsx +14 -11
  651. package/dist/dashboard-runtime/dashboard/src/components/ui/switch.tsx +8 -3
  652. package/dist/dashboard-runtime/dashboard/src/components/ui/table.tsx +27 -24
  653. package/dist/dashboard-runtime/dashboard/src/components/ui/tabs.tsx +14 -14
  654. package/dist/dashboard-runtime/dashboard/src/components/ui/textarea.tsx +7 -7
  655. package/dist/dashboard-runtime/dashboard/src/components/ui/toggle-group.tsx +27 -22
  656. package/dist/dashboard-runtime/dashboard/src/components/ui/tooltip.tsx +10 -10
  657. package/dist/dashboard-runtime/dashboard/src/components/ui/usage-card.tsx +11 -8
  658. package/dist/dashboard-runtime/dashboard/src/config/navigation.ts +25 -21
  659. package/dist/dashboard-runtime/dashboard/src/contexts/subspace-context.tsx +1 -1
  660. package/dist/dashboard-runtime/dashboard/src/hooks/use-apply-dream-actions.ts +1 -4
  661. package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-history.ts +33 -13
  662. package/dist/dashboard-runtime/dashboard/src/hooks/use-chat-last-config.ts +3 -1
  663. package/dist/dashboard-runtime/dashboard/src/hooks/use-create-api-key.ts +4 -2
  664. package/dist/dashboard-runtime/dashboard/src/hooks/use-create-memory-store.ts +2 -1
  665. package/dist/dashboard-runtime/dashboard/src/hooks/use-delete-custom-policy.ts +1 -4
  666. package/dist/dashboard-runtime/dashboard/src/hooks/use-document.ts +2 -1
  667. package/dist/dashboard-runtime/dashboard/src/hooks/use-documents.ts +8 -2
  668. package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-actions.ts +2 -1
  669. package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-task.ts +4 -5
  670. package/dist/dashboard-runtime/dashboard/src/hooks/use-dream-tasks.ts +96 -13
  671. package/dist/dashboard-runtime/dashboard/src/hooks/use-file-memory.ts +50 -0
  672. package/dist/dashboard-runtime/dashboard/src/hooks/use-instances.ts +42 -11
  673. package/dist/dashboard-runtime/dashboard/src/hooks/use-locale-revalidation.ts +34 -0
  674. package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-requests.ts +7 -2
  675. package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-unit.ts +3 -2
  676. package/dist/dashboard-runtime/dashboard/src/hooks/use-memory-units.ts +3 -2
  677. package/dist/dashboard-runtime/dashboard/src/hooks/use-oss-import.ts +18 -4
  678. package/dist/dashboard-runtime/dashboard/src/hooks/use-oss-list.ts +3 -3
  679. package/dist/dashboard-runtime/dashboard/src/hooks/use-qa-chat.ts +32 -21
  680. package/dist/dashboard-runtime/dashboard/src/hooks/use-subspace-history.ts +5 -2
  681. package/dist/dashboard-runtime/dashboard/src/hooks/use-update-document.ts +4 -1
  682. package/dist/dashboard-runtime/dashboard/src/hooks/use-update-memory-store.ts +2 -1
  683. package/dist/dashboard-runtime/dashboard/src/hooks/use-upload-documents.ts +6 -1
  684. package/dist/dashboard-runtime/dashboard/src/i18n/config.ts +46 -0
  685. package/dist/dashboard-runtime/dashboard/src/i18n/dictionaries.ts +8 -0
  686. package/dist/dashboard-runtime/dashboard/src/i18n/i18n-context.tsx +198 -0
  687. package/dist/dashboard-runtime/dashboard/src/i18n/locales/en.ts +1969 -0
  688. package/dist/dashboard-runtime/dashboard/src/i18n/locales/zh.ts +1857 -0
  689. package/dist/dashboard-runtime/dashboard/src/lib/api-error-toast.ts +2 -1
  690. package/dist/dashboard-runtime/dashboard/src/lib/chat-dream-deposit.ts +14 -0
  691. package/dist/dashboard-runtime/dashboard/src/lib/chat-message-ops.ts +4 -1
  692. package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/filename.ts +13 -0
  693. package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/format.ts +79 -0
  694. package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/hash.ts +6 -0
  695. package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/scope.ts +37 -0
  696. package/dist/dashboard-runtime/dashboard/src/lib/dream-kb/types.ts +25 -0
  697. package/dist/dashboard-runtime/dashboard/src/lib/extension-filter.ts +8 -3
  698. package/dist/dashboard-runtime/dashboard/src/lib/file-tree.ts +100 -0
  699. package/dist/dashboard-runtime/dashboard/src/lib/format-datetime.ts +56 -0
  700. package/dist/dashboard-runtime/dashboard/src/lib/glob-filter.ts +10 -4
  701. package/dist/dashboard-runtime/dashboard/src/lib/memory-storage-mode.ts +68 -0
  702. package/dist/dashboard-runtime/dashboard/src/lib/memory.ts +116 -14
  703. package/dist/dashboard-runtime/dashboard/src/lib/metadata-form.ts +4 -1
  704. package/dist/dashboard-runtime/dashboard/src/lib/number-input-handler.ts +1 -1
  705. package/dist/dashboard-runtime/dashboard/src/lib/oss-selection.ts +3 -1
  706. package/dist/dashboard-runtime/dashboard/src/lib/query-keys.ts +26 -4
  707. package/dist/dashboard-runtime/dashboard/src/lib/server/api-helpers.ts +2 -1
  708. package/dist/dashboard-runtime/dashboard/src/lib/server/dream-kb-sync.ts +139 -0
  709. package/dist/dashboard-runtime/dashboard/src/lib/server/ims-client.ts +8 -11
  710. package/dist/dashboard-runtime/dashboard/src/lib/server/llm-client.ts +5 -5
  711. package/dist/dashboard-runtime/dashboard/src/lib/server/llm-crypto.ts +1 -5
  712. package/dist/dashboard-runtime/dashboard/src/lib/server/oss-client.ts +9 -2
  713. package/dist/dashboard-runtime/dashboard/src/lib/server/ram-client.ts +13 -4
  714. package/dist/dashboard-runtime/dashboard/src/lib/server/runtime-context.ts +6 -10
  715. package/dist/dashboard-runtime/dashboard/src/lib/server/sdk-client.ts +25 -8
  716. package/dist/dashboard-runtime/dashboard/src/providers/query-provider.tsx +5 -5
  717. package/dist/dashboard-runtime/dashboard/src/providers/runtime-context-provider.tsx +26 -7
  718. package/dist/dashboard-runtime/dashboard/src/providers/theme-provider.tsx +6 -3
  719. package/dist/dashboard-runtime/dashboard/src/schemas/instance.ts +82 -13
  720. package/dist/dashboard-runtime/dashboard/src/schemas/knowledge-base.ts +42 -21
  721. package/dist/dashboard-runtime/dashboard/src/schemas/llm-chat.ts +8 -3
  722. package/dist/dashboard-runtime/dashboard/src/schemas/retrieval.ts +2 -6
  723. package/dist/dashboard-runtime/dashboard/src/services/api-client.ts +31 -32
  724. package/dist/dashboard-runtime/dashboard/src/services/api-keys.ts +4 -2
  725. package/dist/dashboard-runtime/dashboard/src/services/auth.ts +1 -1
  726. package/dist/dashboard-runtime/dashboard/src/services/chunks.ts +4 -4
  727. package/dist/dashboard-runtime/dashboard/src/services/documents.ts +16 -12
  728. package/dist/dashboard-runtime/dashboard/src/services/file-memory.ts +63 -0
  729. package/dist/dashboard-runtime/dashboard/src/services/knowledge-base.ts +16 -8
  730. package/dist/dashboard-runtime/dashboard/src/services/memory.ts +64 -29
  731. package/dist/dashboard-runtime/dashboard/src/services/oss.ts +6 -6
  732. package/dist/dashboard-runtime/dashboard/src/services/retrieval.ts +2 -2
  733. package/dist/dashboard-runtime/dashboard/src/types/instance.ts +10 -2
  734. package/dist/dashboard-runtime/dashboard/src/types/knowledge-base.ts +3 -7
  735. package/dist/dashboard-runtime/dashboard/src/types/llm-chat.ts +27 -0
  736. package/dist/dashboard-runtime/dashboard/src/types/memory.ts +29 -9
  737. package/dist/dashboard-runtime/dashboard/tsconfig.json +3 -11
  738. package/dist/dashboard-runtime/dashboard/vitest.config.mjs +1 -4
  739. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +153 -0
  740. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +1 -0
  741. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +451 -0
  742. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +1 -0
  743. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +2 -1
  744. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  745. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +2 -1
  746. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  747. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts +25 -0
  748. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts.map +1 -0
  749. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js +29 -0
  750. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js.map +1 -0
  751. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -1
  752. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +2 -1
  753. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -1
  754. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +16 -0
  755. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  756. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +74 -8
  757. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  758. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  759. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -6
  760. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  761. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  762. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +15 -9
  763. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  764. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +8 -0
  765. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  766. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +23 -7
  767. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  768. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  769. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +7 -3
  770. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  771. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.d.ts.map +1 -1
  772. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.js.map +1 -1
  773. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  774. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  775. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +26 -9
  776. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  777. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts +9 -1
  778. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts.map +1 -1
  779. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js +18 -0
  780. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js.map +1 -1
  781. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/errors.d.ts.map +1 -1
  782. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/errors.js.map +1 -1
  783. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.d.ts.map +1 -1
  784. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js +12 -4
  785. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js.map +1 -1
  786. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  787. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts +9 -0
  788. package/dist/dashboard-runtime/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
  789. package/dist/main.d.ts.map +1 -1
  790. package/dist/main.js +1 -1
  791. package/dist/main.js.map +1 -1
  792. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts +153 -0
  793. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.d.ts.map +1 -0
  794. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js +451 -0
  795. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/file-memory.js.map +1 -0
  796. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts +2 -1
  797. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.d.ts.map +1 -1
  798. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js +2 -1
  799. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/index.js.map +1 -1
  800. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts +25 -0
  801. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.d.ts.map +1 -0
  802. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js +29 -0
  803. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/auth-options.js.map +1 -0
  804. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.d.ts.map +1 -1
  805. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js +2 -1
  806. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/internal/managed-section-writer.js.map +1 -1
  807. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts +16 -0
  808. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.d.ts.map +1 -1
  809. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js +74 -8
  810. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/kb-client.js.map +1 -1
  811. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.d.ts.map +1 -1
  812. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js +2 -6
  813. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-oss.js.map +1 -1
  814. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.d.ts.map +1 -1
  815. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js +15 -9
  816. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/managed-ots.js.map +1 -1
  817. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts +8 -0
  818. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.d.ts.map +1 -1
  819. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js +23 -7
  820. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/memory-client.js.map +1 -1
  821. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.d.ts.map +1 -1
  822. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js +7 -3
  823. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/response.js.map +1 -1
  824. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.d.ts.map +1 -1
  825. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/sdk-pagination.js.map +1 -1
  826. package/dist/node_modules/@tablestore/tablestore-agent-sdk/dist/tsconfig.tsbuildinfo +1 -1
  827. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.d.ts.map +1 -1
  828. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js +26 -9
  829. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/config.js.map +1 -1
  830. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts +9 -1
  831. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.d.ts.map +1 -1
  832. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js +18 -0
  833. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/constants.js.map +1 -1
  834. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/errors.d.ts.map +1 -1
  835. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/errors.js.map +1 -1
  836. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.d.ts.map +1 -1
  837. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js +12 -4
  838. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/logging.js.map +1 -1
  839. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/tsconfig.tsbuildinfo +1 -1
  840. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts +9 -0
  841. package/dist/node_modules/@tablestore/tablestore-agent-shared/dist/types.d.ts.map +1 -1
  842. package/dist/output.d.ts.map +1 -1
  843. package/dist/output.js +3 -1
  844. package/dist/output.js.map +1 -1
  845. package/dist/scanner.d.ts.map +1 -1
  846. package/dist/scanner.js.map +1 -1
  847. package/dist/utils/parse-int-arg.d.ts.map +1 -1
  848. package/dist/utils/parse-int-arg.js.map +1 -1
  849. package/dist/utils/read-image-input.d.ts.map +1 -1
  850. package/dist/utils/read-image-input.js +8 -1
  851. package/dist/utils/read-image-input.js.map +1 -1
  852. package/package.json +3 -3
  853. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0--nu07._.js +0 -3
  854. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.gylau._.js +0 -3
  855. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.hvkwy._.js +0 -3
  856. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0.qtdn4._.js +0 -3
  857. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__02p1x3t._.js +0 -3
  858. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__03og44p._.js +0 -3
  859. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04dd04u._.js +0 -3
  860. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04ujbw-._.js +0 -3
  861. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__04zbudf._.js +0 -3
  862. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__05eryp~._.js +0 -3
  863. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__06fva9g._.js +0 -3
  864. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__08_2avk._.js +0 -3
  865. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0acvvri._.js +0 -3
  866. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0byveuc._.js +0 -3
  867. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cee_lo._.js +0 -3
  868. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0cyd2qb._.js +0 -3
  869. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ecs-9r._.js +0 -3
  870. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ejcow5._.js +0 -3
  871. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0es0s_~._.js +0 -3
  872. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0fglxiw._.js +0 -3
  873. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0g3yw6w._.js +0 -3
  874. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0i1_p1s._.js +0 -3
  875. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0is6qso._.js +0 -3
  876. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0no9qm0._.js +0 -3
  877. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0q8vcw8._.js +0 -3
  878. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0q9fgt6._.js +0 -3
  879. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0rx9hon._.js +0 -3
  880. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0tc-.6s._.js +0 -3
  881. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0u03tze._.js +0 -3
  882. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0ua_nqs._.js +0 -3
  883. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0uebf40._.js +0 -3
  884. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0v0il3n._.js +0 -3
  885. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0w_ig2a._.js +0 -3
  886. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__0zmo~nd._.js +0 -3
  887. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__10m-wmo._.js +0 -3
  888. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11s_zx6._.js +0 -3
  889. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__11wq90l._.js +0 -3
  890. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__126srko._.js +0 -3
  891. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12e1t6o._.js +0 -3
  892. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__12ylr4n._.js +0 -3
  893. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13g_f9w._.js +0 -3
  894. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13q2wbt._.js +0 -3
  895. package/dist/dashboard-runtime/dashboard/.next/server/chunks/[root-of-the-server]__13~-fxp._.js +0 -3
  896. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/0p91_next_dist_shared_lib_deployment-id_0uu7yq4.js +0 -3
  897. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__04.tmw0._.js +0 -3
  898. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__077~9kz._.js +0 -3
  899. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__07fra.0._.js +0 -3
  900. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0jhpb-b._.js +0 -3
  901. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0st_2qm._.js +0 -3
  902. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_03cxnik._.js +0 -3
  903. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_078ekb~._.js +0 -3
  904. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_09aiggd._.js +0 -3
  905. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0jl78rk._.js +0 -3
  906. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0njimsl._.js +0 -3
  907. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0nmv74v._.js +0 -3
  908. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0oxv61l._.js +0 -3
  909. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0pe9ntc._.js +0 -3
  910. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0q43l7g._.js +0 -3
  911. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0q748rf._.js +0 -3
  912. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0qptqwe._.js +0 -3
  913. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tej2s.._.js +0 -3
  914. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0tjamu1._.js +0 -3
  915. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0u4elhp._.js +0 -3
  916. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0wwhklq._.js +0 -3
  917. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0ytd66u._.js +0 -3
  918. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0~5g0_a._.js +0 -3
  919. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_0~dbpb0._.js +0 -3
  920. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_10.40pj._.js +0 -3
  921. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/_13w6ksc._.js +0 -3
  922. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_00ofp7q._.js +0 -3
  923. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_065m1.j._.js +0 -3
  924. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0l1.0wg._.js +0 -3
  925. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_0xf3ffa._.js +0 -3
  926. package/dist/dashboard-runtime/dashboard/.next/server/chunks/ssr/dashboard_src_app_(dashboard)_memory_[store]_settings_page_tsx_0y26.xu._.js +0 -3
  927. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-0n226yihtlx.js +0 -138
  928. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0-rnnjxuu_5.s.js +0 -1
  929. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0.q0rms~bxru_.js +0 -1
  930. package/dist/dashboard-runtime/dashboard/.next/static/chunks/03~amszcayft9.js +0 -1
  931. package/dist/dashboard-runtime/dashboard/.next/static/chunks/05oy7c8~k0-nu.js +0 -1
  932. package/dist/dashboard-runtime/dashboard/.next/static/chunks/06e08s6_aj5tb.js +0 -1
  933. package/dist/dashboard-runtime/dashboard/.next/static/chunks/06gfzt_e-w-f~.js +0 -1
  934. package/dist/dashboard-runtime/dashboard/.next/static/chunks/076wjt8-f7ws0.js +0 -1
  935. package/dist/dashboard-runtime/dashboard/.next/static/chunks/07brna0jsz4vi.js +0 -1
  936. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08c211p60po58.js +0 -1
  937. package/dist/dashboard-runtime/dashboard/.next/static/chunks/08ix0ia65i20b.js +0 -9
  938. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09fuq3fiw1zq8.js +0 -138
  939. package/dist/dashboard-runtime/dashboard/.next/static/chunks/09pa80gils3r2.js +0 -1
  940. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0axe89r5c7p_b.js +0 -1
  941. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0czi-68m5cma3.js +0 -1
  942. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0draec5luxua1.js +0 -1
  943. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ezfzygzl1hw8.css +0 -1
  944. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0f60fxsrh4wbq.js +0 -5
  945. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0gqhfku~on4t1.js +0 -1
  946. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0i_66eb3teu-..js +0 -1
  947. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ipb.__efc0i7.js +0 -1
  948. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0oxr1t3cp8_9f.js +0 -1
  949. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0p7-v~ggg-k3s.js +0 -1
  950. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0pyte4aize4vw.js +0 -1
  951. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qann4-pg7heu.js +0 -1
  952. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0qzs7r4p4hd2~.js +0 -1
  953. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ro5-~k1_6.ji.js +0 -4
  954. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0t.fmi5danjtx.js +0 -1
  955. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0ty--w57-5n5f.js +0 -1
  956. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0u6g.bq1prqh8.js +0 -1
  957. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0w1f765.797w7.js +0 -1
  958. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0wl~ofl4qn1yv.js +0 -1
  959. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0xnm11dm1-qw2.js +0 -1
  960. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0yduro1k88.mk.js +0 -1
  961. package/dist/dashboard-runtime/dashboard/.next/static/chunks/0yqx-vizpechs.js +0 -1
  962. package/dist/dashboard-runtime/dashboard/.next/static/chunks/10oar3if2rs8f.js +0 -1
  963. package/dist/dashboard-runtime/dashboard/.next/static/chunks/11fppb7wskgrx.js +0 -1
  964. package/dist/dashboard-runtime/dashboard/.next/static/chunks/1211es3l12jpn.js +0 -1
  965. package/dist/dashboard-runtime/dashboard/.next/static/chunks/12ju37ebul3bw.js +0 -1
  966. package/dist/dashboard-runtime/dashboard/.next/static/chunks/137epx7vazn1v.js +0 -1
  967. package/dist/dashboard-runtime/dashboard/.next/static/chunks/16z7~ksa815uh.js +0 -1
  968. package/dist/dashboard-runtime/dashboard/.next/static/chunks/17l3ij7h2.vna.js +0 -1
  969. /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_buildManifest.js +0 -0
  970. /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_clientMiddlewareManifest.js +0 -0
  971. /package/dist/dashboard-runtime/dashboard/.next/static/{-pCWSBA7OQIF0pN0Rem9H → be0fa_T3EkD9v2fJGsvLd}/_ssgManifest.js +0 -0
@@ -26,7 +26,6 @@ import {
26
26
  SelectValue,
27
27
  } from "@/components/ui/select";
28
28
  import {
29
- createLLMProviderSchema,
30
29
  type CreateLLMProviderInput,
31
30
  type UpdateLLMProviderInput,
32
31
  } from "@/schemas/llm-provider";
@@ -43,6 +42,8 @@ import {
43
42
  import { useCreateLLMProvider } from "@/hooks/use-create-llm-provider";
44
43
  import { useUpdateLLMProvider } from "@/hooks/use-update-llm-provider";
45
44
  import { cn } from "@/lib/utils";
45
+ import { useI18n } from "@/i18n/i18n-context";
46
+ import type { TranslateFn } from "@/i18n/i18n-context";
46
47
 
47
48
  // ---------------------------------------------------------------------------
48
49
  // Presets — one-click baseUrl templates for common OpenAI-compatible endpoints
@@ -55,30 +56,65 @@ interface Preset {
55
56
  hint?: string;
56
57
  }
57
58
 
58
- const PRESETS: Preset[] = [
59
- {
60
- id: "dashscope",
61
- label: "百炼 (DashScope)",
62
- baseUrl: "https://dashscope.aliyuncs.com/compatible-mode/v1",
63
- hint: "通义千问系列",
64
- },
65
- {
66
- id: "openai",
67
- label: "OpenAI 官方",
68
- baseUrl: "https://api.openai.com/v1",
69
- },
70
- {
71
- id: "deepseek",
72
- label: "DeepSeek",
73
- baseUrl: "https://api.deepseek.com/v1",
74
- },
75
- {
76
- id: "ollama",
77
- label: "本地 Ollama",
78
- baseUrl: "http://localhost:11434/v1",
79
- hint: "apiKey 可填 ollama",
80
- },
81
- ];
59
+ function buildPresets(t: TranslateFn): Preset[] {
60
+ return [
61
+ {
62
+ id: "dashscope",
63
+ label: t("llmProviders.form.presetDashScope"),
64
+ baseUrl: "https://dashscope.aliyuncs.com/compatible-mode/v1",
65
+ hint: t("llmProviders.form.presetDashScopeHint"),
66
+ },
67
+ {
68
+ id: "openai",
69
+ label: t("llmProviders.form.presetOpenAI"),
70
+ baseUrl: "https://api.openai.com/v1",
71
+ },
72
+ {
73
+ id: "deepseek",
74
+ label: "DeepSeek",
75
+ baseUrl: "https://api.deepseek.com/v1",
76
+ },
77
+ {
78
+ id: "ollama",
79
+ label: t("llmProviders.form.presetOllama"),
80
+ baseUrl: "http://localhost:11434/v1",
81
+ hint: t("llmProviders.form.presetOllamaHint"),
82
+ },
83
+ ];
84
+ }
85
+
86
+ function buildBaseUrlSchema(t: TranslateFn) {
87
+ return z
88
+ .string()
89
+ .trim()
90
+ .min(1, t("llmProviders.validation.baseUrlRequired"))
91
+ .refine((v) => {
92
+ try {
93
+ const url = new URL(v);
94
+ return url.protocol === "http:" || url.protocol === "https:";
95
+ } catch {
96
+ return false;
97
+ }
98
+ }, t("llmProviders.validation.baseUrlInvalid"));
99
+ }
100
+
101
+ function buildCreateLLMProviderSchema(t: TranslateFn) {
102
+ return z.object({
103
+ name: z
104
+ .string()
105
+ .trim()
106
+ .min(1, t("llmProviders.validation.nameRequired"))
107
+ .max(64),
108
+ type: z.enum(["openai-compatible", "anthropic", "bailian"]),
109
+ baseUrl: buildBaseUrlSchema(t),
110
+ apiKey: z
111
+ .string()
112
+ .trim()
113
+ .min(1, t("llmProviders.validation.apiKeyRequired"))
114
+ .max(512),
115
+ defaultModel: z.string().trim().max(128).optional().or(z.literal("")),
116
+ });
117
+ }
82
118
 
83
119
  // ---------------------------------------------------------------------------
84
120
  // Form
@@ -91,16 +127,23 @@ export interface LLMProviderFormProps {
91
127
 
92
128
  type FormValues = CreateLLMProviderInput;
93
129
 
94
- // In edit mode the apiKey field is optional ("keep existing"); everything
95
- // else reuses the create schema so the form stays strongly typed.
96
- const editFormSchema = createLLMProviderSchema.extend({
97
- apiKey: z.string().trim().max(512).optional().default(""),
98
- });
130
+ export function LLMProviderForm(props: LLMProviderFormProps) {
131
+ const { locale } = useI18n();
132
+ return <LLMProviderFormInner key={locale} {...props} />;
133
+ }
99
134
 
100
- export function LLMProviderForm({ existing }: LLMProviderFormProps) {
135
+ function LLMProviderFormInner({ existing }: LLMProviderFormProps) {
101
136
  const router = useRouter();
137
+ const { t } = useI18n();
102
138
  const isEdit = Boolean(existing);
103
139
 
140
+ const createLLMProviderSchema = buildCreateLLMProviderSchema(t);
141
+ // In edit mode the apiKey field is optional ("keep existing"); everything
142
+ // else reuses the create schema so the form stays strongly typed.
143
+ const editFormSchema = createLLMProviderSchema.extend({
144
+ apiKey: z.string().trim().max(512).optional().default(""),
145
+ });
146
+
104
147
  const createMutation = useCreateLLMProvider();
105
148
  const updateMutation = useUpdateLLMProvider(existing?.id ?? "");
106
149
 
@@ -131,6 +174,8 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
131
174
  },
132
175
  });
133
176
 
177
+ const presets = buildPresets(t);
178
+
134
179
  const applyPreset = (preset: Preset) => {
135
180
  form.setValue("baseUrl", preset.baseUrl, { shouldDirty: true });
136
181
  if (!form.getValues("name")) {
@@ -140,16 +185,22 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
140
185
 
141
186
  const onFetchModels = async () => {
142
187
  if (!existing) {
143
- toast.info("请先保存配置,再拉取模型列表");
188
+ toast.info(t("llmProviders.form.saveBeforeFetch"));
144
189
  return;
145
190
  }
146
191
  setModelsLoading(true);
147
192
  try {
148
193
  const list = await fetchProviderModels(existing.id);
149
194
  setModels(list);
150
- toast.success(`拉取到 ${list.length} 个模型`);
195
+ toast.success(
196
+ t("llmProviders.form.fetchModelsSuccess", { count: list.length }),
197
+ );
151
198
  } catch (err) {
152
- toast.error(err instanceof Error ? err.message : "拉取模型列表失败");
199
+ toast.error(
200
+ err instanceof Error
201
+ ? err.message
202
+ : t("llmProviders.form.fetchModelsFailed"),
203
+ );
153
204
  } finally {
154
205
  setModelsLoading(false);
155
206
  }
@@ -157,7 +208,7 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
157
208
 
158
209
  const onTestConnectivity = async () => {
159
210
  if (!existing) {
160
- toast.info("请先保存配置,再测试连通性");
211
+ toast.info(t("llmProviders.form.saveBeforeTest"));
161
212
  return;
162
213
  }
163
214
  setTesting(true);
@@ -192,7 +243,7 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
192
243
  patch.apiKey = values.apiKey;
193
244
  }
194
245
  await updateMutation.mutateAsync(patch);
195
- toast.success("配置已更新");
246
+ toast.success(t("llmProviders.form.updateSuccess"));
196
247
  } else {
197
248
  await createMutation.mutateAsync({
198
249
  name: values.name,
@@ -201,16 +252,20 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
201
252
  apiKey: values.apiKey,
202
253
  defaultModel: values.defaultModel,
203
254
  });
204
- toast.success("配置已创建");
255
+ toast.success(t("llmProviders.form.createSuccess"));
205
256
  }
206
257
  router.push("/llm-providers");
207
258
  } catch (err) {
208
- toast.error(err instanceof Error ? err.message : "保存失败");
259
+ toast.error(
260
+ err instanceof Error ? err.message : t("llmProviders.form.saveFailed"),
261
+ );
209
262
  }
210
263
  };
211
264
 
212
265
  const submitting =
213
- createMutation.isPending || updateMutation.isPending || form.formState.isSubmitting;
266
+ createMutation.isPending ||
267
+ updateMutation.isPending ||
268
+ form.formState.isSubmitting;
214
269
 
215
270
  return (
216
271
  <Form {...form}>
@@ -218,8 +273,10 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
218
273
  {/* Presets */}
219
274
  {!isEdit && (
220
275
  <div className="flex flex-wrap items-center gap-2">
221
- <span className="text-xs text-muted-foreground">快捷模板:</span>
222
- {PRESETS.map((preset) => (
276
+ <span className="text-xs text-muted-foreground">
277
+ {t("llmProviders.form.presetsLabel")}
278
+ </span>
279
+ {presets.map((preset) => (
223
280
  <button
224
281
  type="button"
225
282
  key={preset.id}
@@ -238,11 +295,16 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
238
295
  name="name"
239
296
  render={({ field }) => (
240
297
  <FormItem>
241
- <FormLabel>名称</FormLabel>
298
+ <FormLabel>{t("llmProviders.form.nameLabel")}</FormLabel>
242
299
  <FormControl>
243
- <Input placeholder="例如:DashScope-Qwen" {...field} />
300
+ <Input
301
+ placeholder={t("llmProviders.form.namePlaceholder")}
302
+ {...field}
303
+ />
244
304
  </FormControl>
245
- <FormDescription>在下拉选择时显示的标识</FormDescription>
305
+ <FormDescription>
306
+ {t("llmProviders.form.nameDesc")}
307
+ </FormDescription>
246
308
  <FormMessage />
247
309
  </FormItem>
248
310
  )}
@@ -253,11 +315,8 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
253
315
  name="type"
254
316
  render={({ field }) => (
255
317
  <FormItem>
256
- <FormLabel>协议类型</FormLabel>
257
- <Select
258
- value={field.value}
259
- onValueChange={field.onChange}
260
- >
318
+ <FormLabel>{t("llmProviders.form.typeLabel")}</FormLabel>
319
+ <Select value={field.value} onValueChange={field.onChange}>
261
320
  <FormControl>
262
321
  <SelectTrigger>
263
322
  <SelectValue />
@@ -265,18 +324,18 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
265
324
  </FormControl>
266
325
  <SelectContent>
267
326
  <SelectItem value="openai-compatible">
268
- OpenAI 兼容
327
+ {t("llmProviders.form.typeOpenAICompatible")}
269
328
  </SelectItem>
270
329
  <SelectItem value="anthropic" disabled>
271
- Anthropic(敬请期待)
330
+ {t("llmProviders.form.typeAnthropic")}
272
331
  </SelectItem>
273
332
  <SelectItem value="bailian" disabled>
274
- 百炼原生(敬请期待)
333
+ {t("llmProviders.form.typeBailian")}
275
334
  </SelectItem>
276
335
  </SelectContent>
277
336
  </Select>
278
337
  <FormDescription>
279
- 百炼用户请选择「OpenAI 兼容」并填入兼容模式 Base URL
338
+ {t("llmProviders.form.typeDesc")}
280
339
  </FormDescription>
281
340
  <FormMessage />
282
341
  </FormItem>
@@ -312,14 +371,16 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
312
371
  autoComplete="off"
313
372
  placeholder={
314
373
  isEdit
315
- ? `${existing?.apiKeyMasked ?? "****"}(留空则不更改)`
374
+ ? t("llmProviders.form.apiKeyPlaceholderEdit", {
375
+ masked: existing?.apiKeyMasked ?? "****",
376
+ })
316
377
  : "sk-..."
317
378
  }
318
379
  {...field}
319
380
  />
320
381
  </FormControl>
321
382
  <FormDescription>
322
- 使用 AES-256-GCM 加密存储,前端永远只能看到掩码
383
+ {t("llmProviders.form.apiKeyDesc")}
323
384
  </FormDescription>
324
385
  <FormMessage />
325
386
  </FormItem>
@@ -331,11 +392,11 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
331
392
  name="defaultModel"
332
393
  render={({ field }) => (
333
394
  <FormItem>
334
- <FormLabel>默认模型(可选)</FormLabel>
395
+ <FormLabel>{t("llmProviders.form.defaultModelLabel")}</FormLabel>
335
396
  <div className="flex gap-2">
336
397
  <FormControl>
337
398
  <Input
338
- placeholder="例如:qwen-plus"
399
+ placeholder={t("llmProviders.form.defaultModelPlaceholder")}
339
400
  list="llm-model-suggestions"
340
401
  {...field}
341
402
  />
@@ -350,7 +411,7 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
350
411
  {modelsLoading ? (
351
412
  <Loader2 className="mr-1.5 h-3.5 w-3.5 animate-spin" />
352
413
  ) : null}
353
- 从 /models 拉取
414
+ {t("llmProviders.form.fetchModels")}
354
415
  </Button>
355
416
  </div>
356
417
  {models.length > 0 && (
@@ -362,7 +423,7 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
362
423
  )}
363
424
  {!isEdit && (
364
425
  <FormDescription>
365
- 保存后可拉取真实模型列表;也可以在问答页选择
426
+ {t("llmProviders.form.defaultModelDesc")}
366
427
  </FormDescription>
367
428
  )}
368
429
  <FormMessage />
@@ -385,9 +446,9 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
385
446
  ) : (
386
447
  <Zap className="mr-1.5 h-3.5 w-3.5" />
387
448
  )}
388
- 测试连通性
449
+ {t("llmProviders.form.testConnectivity")}
389
450
  </Button>
390
- <ConnectivityBadge result={testResult} />
451
+ <ConnectivityBadge result={testResult} t={t} />
391
452
  </div>
392
453
  )}
393
454
 
@@ -397,13 +458,13 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
397
458
  variant="ghost"
398
459
  onClick={() => router.push("/llm-providers")}
399
460
  >
400
- 取消
461
+ {t("common.cancel")}
401
462
  </Button>
402
463
  <Button type="submit" disabled={submitting}>
403
464
  {submitting ? (
404
465
  <Loader2 className="mr-1.5 h-4 w-4 animate-spin" />
405
466
  ) : null}
406
- {isEdit ? "保存修改" : "创建"}
467
+ {isEdit ? t("llmProviders.form.submitEdit") : t("common.create")}
407
468
  </Button>
408
469
  </div>
409
470
  </form>
@@ -411,11 +472,19 @@ export function LLMProviderForm({ existing }: LLMProviderFormProps) {
411
472
  );
412
473
  }
413
474
 
414
- function ConnectivityBadge({ result }: { result: ConnectivityResult | null }) {
475
+ function ConnectivityBadge({
476
+ result,
477
+ t,
478
+ }: {
479
+ result: ConnectivityResult | null;
480
+ t: TranslateFn;
481
+ }) {
415
482
  if (!result) {
416
483
  return (
417
484
  <span className="text-xs text-muted-foreground">
418
- 调用 <code className="font-mono text-[11px]">/models</code> 验证 Base URL 与 API Key
485
+ {t("llmProviders.form.connectivityHintPrefix")}
486
+ <code className="font-mono text-[11px]">/models</code>
487
+ {t("llmProviders.form.connectivityHintSuffix")}
419
488
  </span>
420
489
  );
421
490
  }
@@ -427,14 +496,17 @@ function ConnectivityBadge({ result }: { result: ConnectivityResult | null }) {
427
496
  )}
428
497
  >
429
498
  <CheckCircle2 className="h-3.5 w-3.5" />
430
- 连通成功 · {result.latencyMs ?? "?"}ms · {result.modelCount ?? 0} 个模型
499
+ {t("llmProviders.form.connectivitySuccess", {
500
+ latency: result.latencyMs ?? "?",
501
+ count: result.modelCount ?? 0,
502
+ })}
431
503
  </span>
432
504
  );
433
505
  }
434
506
  return (
435
507
  <span className="inline-flex items-center gap-1.5 text-xs text-[hsl(var(--destructive))]">
436
508
  <XCircle className="h-3.5 w-3.5" />
437
- {result.error?.message ?? "连通失败"}
509
+ {result.error?.message ?? t("llmProviders.form.connectivityFailed")}
438
510
  </span>
439
511
  );
440
512
  }
@@ -1,4 +1,4 @@
1
- 'use client';
1
+ "use client";
2
2
 
3
3
  import { useState } from "react";
4
4
  import { toast } from "sonner";
@@ -14,6 +14,7 @@ import { Label } from "@/components/ui/label";
14
14
  import { Textarea } from "@/components/ui/textarea";
15
15
  import { parseJsonObject } from "@/lib/memory";
16
16
  import { useAddMemory } from "@/hooks/use-add-memory";
17
+ import { useI18n } from "@/i18n/i18n-context";
17
18
  import type { MemoryScope } from "@/types/memory";
18
19
 
19
20
  interface MemoryAddDialogProps {
@@ -32,6 +33,7 @@ export function MemoryAddDialog({
32
33
  onSuccess,
33
34
  }: MemoryAddDialogProps) {
34
35
  const addMemory = useAddMemory();
36
+ const { t } = useI18n();
35
37
  const [text, setText] = useState("");
36
38
  const [metadataJson, setMetadataJson] = useState("");
37
39
 
@@ -39,7 +41,7 @@ export function MemoryAddDialog({
39
41
  try {
40
42
  const metadata = parseJsonObject(metadataJson);
41
43
  if (!text.trim()) {
42
- toast.error("请输入要提取为记忆的文本");
44
+ toast.error(t("memory.add.textRequired"));
43
45
  return;
44
46
  }
45
47
  await addMemory.mutateAsync({
@@ -49,13 +51,15 @@ export function MemoryAddDialog({
49
51
  metadata,
50
52
  sync: false,
51
53
  });
52
- toast.success("记忆正在加工中,请稍后查看");
54
+ toast.success(t("memory.add.processing"));
53
55
  setText("");
54
56
  setMetadataJson("");
55
57
  onOpenChange(false);
56
58
  onSuccess?.();
57
59
  } catch (error) {
58
- toast.error(error instanceof Error ? error.message : "添加记忆失败");
60
+ toast.error(
61
+ error instanceof Error ? error.message : t("memory.add.failed"),
62
+ );
59
63
  }
60
64
  }
61
65
 
@@ -63,20 +67,20 @@ export function MemoryAddDialog({
63
67
  <Dialog open={open} onOpenChange={onOpenChange}>
64
68
  <DialogContent className="max-w-xl">
65
69
  <DialogHeader>
66
- <DialogTitle>添加记忆</DialogTitle>
70
+ <DialogTitle>{t("memory.add.title")}</DialogTitle>
67
71
  </DialogHeader>
68
72
  <div className="space-y-4">
69
73
  <div className="space-y-2">
70
- <Label>记忆文本</Label>
74
+ <Label>{t("memory.add.textLabel")}</Label>
71
75
  <Textarea
72
76
  value={text}
73
77
  onChange={(event) => setText(event.target.value)}
74
- placeholder="输入要提取为记忆的文本..."
78
+ placeholder={t("memory.add.textPlaceholder")}
75
79
  rows={5}
76
80
  />
77
81
  </div>
78
82
  <div className="space-y-2">
79
- <Label>元数据(JSON,可选)</Label>
83
+ <Label>{t("memory.add.metadataLabel")}</Label>
80
84
  <Textarea
81
85
  value={metadataJson}
82
86
  onChange={(event) => setMetadataJson(event.target.value)}
@@ -85,15 +89,15 @@ export function MemoryAddDialog({
85
89
  />
86
90
  </div>
87
91
  <p className="text-xs text-muted-foreground">
88
- 记忆将通过异步方式处理,添加后可在记忆单元中查看结果。
92
+ {t("memory.add.hint")}
89
93
  </p>
90
94
  </div>
91
95
  <DialogFooter>
92
96
  <Button variant="outline" onClick={() => onOpenChange(false)}>
93
- 取消
97
+ {t("common.cancel")}
94
98
  </Button>
95
99
  <Button onClick={handleSubmit} disabled={addMemory.isPending}>
96
- {addMemory.isPending ? "提交中..." : "提交"}
100
+ {addMemory.isPending ? t("common.submitting") : t("common.submit")}
97
101
  </Button>
98
102
  </DialogFooter>
99
103
  </DialogContent>
@@ -1,13 +1,17 @@
1
+ "use client";
2
+
1
3
  import { Brain } from "lucide-react";
2
4
  import { Button } from "@/components/ui/button";
3
5
  import { EmptyState } from "@/components/shared/empty-state";
6
+ import { useI18n } from "@/i18n/i18n-context";
4
7
 
5
8
  export function MemoryComingSoon() {
9
+ const { t } = useI18n();
6
10
  return (
7
11
  <EmptyState
8
12
  icon={Brain}
9
- title="Agent Memory"
10
- description="即将推出 — 为你的 Agent 提供持久化记忆能力,让对话更智能、更连贯。"
13
+ title={t("memory.comingSoon.title")}
14
+ description={t("memory.comingSoon.description")}
11
15
  action={
12
16
  <Button variant="outline" asChild>
13
17
  <a
@@ -15,7 +19,7 @@ export function MemoryComingSoon() {
15
19
  target="_blank"
16
20
  rel="noopener noreferrer"
17
21
  >
18
- 查看文档
22
+ {t("memory.comingSoon.viewDocs")}
19
23
  </a>
20
24
  </Button>
21
25
  }