@nocobase/app-plugin-agents 0.1.0-beta.1 → 0.1.0-beta.10

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 (594) hide show
  1. package/CHANGELOG.md +355 -0
  2. package/README.md +107 -67
  3. package/dist/client/api/client.d.ts +25 -17
  4. package/dist/client/api/client.d.ts.map +1 -1
  5. package/dist/client/api/client.js +29 -27
  6. package/dist/client/api/client.js.map +1 -1
  7. package/dist/client/api/keys.d.ts +1 -1
  8. package/dist/client/api/keys.d.ts.map +1 -1
  9. package/dist/client/api/keys.js +1 -1
  10. package/dist/client/api/keys.js.map +1 -1
  11. package/dist/client/chat/api.d.ts +2 -7
  12. package/dist/client/chat/api.d.ts.map +1 -1
  13. package/dist/client/chat/api.js +0 -7
  14. package/dist/client/chat/api.js.map +1 -1
  15. package/dist/client/chat/consultation-identity.d.ts +7 -0
  16. package/dist/client/chat/consultation-identity.d.ts.map +1 -0
  17. package/dist/client/chat/consultation-identity.js +39 -0
  18. package/dist/client/chat/consultation-identity.js.map +1 -0
  19. package/dist/client/chat/message-model.d.ts +4 -2
  20. package/dist/client/chat/message-model.d.ts.map +1 -1
  21. package/dist/client/chat/message-model.js +28 -3
  22. package/dist/client/chat/message-model.js.map +1 -1
  23. package/dist/client/chat/use-chat.d.ts +2 -10
  24. package/dist/client/chat/use-chat.d.ts.map +1 -1
  25. package/dist/client/chat/use-chat.js +3 -10
  26. package/dist/client/chat/use-chat.js.map +1 -1
  27. package/dist/client/chat.d.ts +4 -1
  28. package/dist/client/chat.d.ts.map +1 -1
  29. package/dist/client/chat.js +3 -0
  30. package/dist/client/chat.js.map +1 -1
  31. package/dist/client/components/agent-picker.d.ts +6 -23
  32. package/dist/client/components/agent-picker.d.ts.map +1 -1
  33. package/dist/client/components/agent-picker.js +19 -39
  34. package/dist/client/components/agent-picker.js.map +1 -1
  35. package/dist/client/components/variables/variable-dialogs.d.ts +6 -1
  36. package/dist/client/components/variables/variable-dialogs.d.ts.map +1 -1
  37. package/dist/client/components/variables/variable-dialogs.js +27 -11
  38. package/dist/client/components/variables/variable-dialogs.js.map +1 -1
  39. package/dist/client/components/variables/variables-panel.d.ts.map +1 -1
  40. package/dist/client/components/variables/variables-panel.js +9 -2
  41. package/dist/client/components/variables/variables-panel.js.map +1 -1
  42. package/dist/client/hooks/use-agent-picker-labels.d.ts.map +1 -1
  43. package/dist/client/hooks/use-agent-picker-labels.js +3 -12
  44. package/dist/client/hooks/use-agent-picker-labels.js.map +1 -1
  45. package/dist/client/kit.d.ts +9 -12
  46. package/dist/client/kit.d.ts.map +1 -1
  47. package/dist/client/kit.js +12 -14
  48. package/dist/client/kit.js.map +1 -1
  49. package/dist/client/lib/agents.d.ts +5 -13
  50. package/dist/client/lib/agents.d.ts.map +1 -1
  51. package/dist/client/lib/agents.js +17 -32
  52. package/dist/client/lib/agents.js.map +1 -1
  53. package/dist/client/lib/install.js +1 -1
  54. package/dist/client/locales/chat.en-US.d.ts +9 -22
  55. package/dist/client/locales/chat.en-US.d.ts.map +1 -1
  56. package/dist/client/locales/chat.en-US.js +13 -25
  57. package/dist/client/locales/chat.en-US.js.map +1 -1
  58. package/dist/client/locales/chat.zh-CN.d.ts.map +1 -1
  59. package/dist/client/locales/chat.zh-CN.js +10 -22
  60. package/dist/client/locales/chat.zh-CN.js.map +1 -1
  61. package/dist/client/locales/en-US.d.ts +100 -219
  62. package/dist/client/locales/en-US.d.ts.map +1 -1
  63. package/dist/client/locales/en-US.js +105 -219
  64. package/dist/client/locales/en-US.js.map +1 -1
  65. package/dist/client/locales/runWait.en-US.d.ts +38 -0
  66. package/dist/client/locales/runWait.en-US.d.ts.map +1 -0
  67. package/dist/client/locales/runWait.en-US.js +37 -0
  68. package/dist/client/locales/runWait.en-US.js.map +1 -0
  69. package/dist/client/locales/runWait.zh-CN.d.ts +5 -0
  70. package/dist/client/locales/runWait.zh-CN.d.ts.map +1 -0
  71. package/dist/client/locales/runWait.zh-CN.js +32 -0
  72. package/dist/client/locales/runWait.zh-CN.js.map +1 -0
  73. package/dist/client/locales/runtimes.en-US.d.ts +55 -0
  74. package/dist/client/locales/runtimes.en-US.d.ts.map +1 -1
  75. package/dist/client/locales/runtimes.en-US.js +58 -3
  76. package/dist/client/locales/runtimes.en-US.js.map +1 -1
  77. package/dist/client/locales/runtimes.zh-CN.d.ts.map +1 -1
  78. package/dist/client/locales/runtimes.zh-CN.js +58 -3
  79. package/dist/client/locales/runtimes.zh-CN.js.map +1 -1
  80. package/dist/client/locales/zh-CN.d.ts.map +1 -1
  81. package/dist/client/locales/zh-CN.js +107 -221
  82. package/dist/client/locales/zh-CN.js.map +1 -1
  83. package/dist/client/online/services.d.ts.map +1 -1
  84. package/dist/client/online/services.js +5 -6
  85. package/dist/client/online/services.js.map +1 -1
  86. package/dist/client/pages/agents/agent-dialog.d.ts +9 -0
  87. package/dist/client/pages/agents/agent-dialog.d.ts.map +1 -0
  88. package/dist/client/pages/agents/agent-dialog.js +106 -0
  89. package/dist/client/pages/agents/agent-dialog.js.map +1 -0
  90. package/dist/client/pages/agents/agent-state.d.ts +11 -0
  91. package/dist/client/pages/agents/agent-state.d.ts.map +1 -0
  92. package/dist/client/pages/agents/agent-state.js +28 -0
  93. package/dist/client/pages/agents/agent-state.js.map +1 -0
  94. package/dist/client/pages/agents/index.d.ts +1 -1
  95. package/dist/client/pages/agents/index.d.ts.map +1 -1
  96. package/dist/client/pages/agents/index.js +6 -100
  97. package/dist/client/pages/agents/index.js.map +1 -1
  98. package/dist/client/pages/agents/runner-agents.d.ts +3 -0
  99. package/dist/client/pages/agents/runner-agents.d.ts.map +1 -0
  100. package/dist/client/pages/agents/runner-agents.js +172 -0
  101. package/dist/client/pages/agents/runner-agents.js.map +1 -0
  102. package/dist/client/pages/runtimes/connect.js +1 -1
  103. package/dist/client/pages/runtimes/connect.js.map +1 -1
  104. package/dist/client/pages/runtimes/index.d.ts.map +1 -1
  105. package/dist/client/pages/runtimes/index.js +3 -2
  106. package/dist/client/pages/runtimes/index.js.map +1 -1
  107. package/dist/client/pages/runtimes/runner-cells.d.ts +1 -1
  108. package/dist/client/pages/runtimes/runner-cells.d.ts.map +1 -1
  109. package/dist/client/pages/runtimes/runner-cells.js +4 -1
  110. package/dist/client/pages/runtimes/runner-cells.js.map +1 -1
  111. package/dist/client/pages/runtimes/runner-sheet.d.ts.map +1 -1
  112. package/dist/client/pages/runtimes/runner-sheet.js +12 -3
  113. package/dist/client/pages/runtimes/runner-sheet.js.map +1 -1
  114. package/dist/client/pages/runtimes/workspace-diagnostics.d.ts +9 -0
  115. package/dist/client/pages/runtimes/workspace-diagnostics.d.ts.map +1 -0
  116. package/dist/client/pages/runtimes/workspace-diagnostics.js +70 -0
  117. package/dist/client/pages/runtimes/workspace-diagnostics.js.map +1 -0
  118. package/dist/client/pages/usage/index.js +2 -2
  119. package/dist/client/pages/usage/index.js.map +1 -1
  120. package/dist/client/profile/default-agent.d.ts.map +1 -1
  121. package/dist/client/profile/default-agent.js +2 -4
  122. package/dist/client/profile/default-agent.js.map +1 -1
  123. package/dist/client/routes.d.ts +1 -1
  124. package/dist/client/routes.d.ts.map +1 -1
  125. package/dist/client/routes.js +1 -13
  126. package/dist/client/routes.js.map +1 -1
  127. package/dist/client/runs/format-wait.d.ts +21 -0
  128. package/dist/client/runs/format-wait.d.ts.map +1 -0
  129. package/dist/client/runs/format-wait.js +90 -0
  130. package/dist/client/runs/format-wait.js.map +1 -0
  131. package/dist/client/runs/subject-runs.d.ts +5 -0
  132. package/dist/client/runs/subject-runs.d.ts.map +1 -1
  133. package/dist/client/runs/subject-runs.js +13 -7
  134. package/dist/client/runs/subject-runs.js.map +1 -1
  135. package/dist/client/runs.d.ts +3 -1
  136. package/dist/client/runs.d.ts.map +1 -1
  137. package/dist/client/runs.js +3 -1
  138. package/dist/client/runs.js.map +1 -1
  139. package/dist/database/migrations/.manifest.json +48 -0
  140. package/dist/database/migrations/202610090001_ag_add_team_runner_variables.d.ts +9 -0
  141. package/dist/database/migrations/202610090001_ag_add_team_runner_variables.d.ts.map +1 -0
  142. package/dist/database/migrations/202610090001_ag_add_team_runner_variables.js +28 -0
  143. package/dist/database/migrations/202610090001_ag_add_team_runner_variables.js.map +1 -0
  144. package/dist/database/migrations/202610090002_ag_create_run_requests.d.ts +10 -0
  145. package/dist/database/migrations/202610090002_ag_create_run_requests.d.ts.map +1 -0
  146. package/dist/database/migrations/202610090002_ag_create_run_requests.js +105 -0
  147. package/dist/database/migrations/202610090002_ag_create_run_requests.js.map +1 -0
  148. package/dist/database/migrations/202610090003_ag_add_execution_history.d.ts +4 -0
  149. package/dist/database/migrations/202610090003_ag_add_execution_history.d.ts.map +1 -0
  150. package/dist/database/migrations/202610090003_ag_add_execution_history.js +17 -0
  151. package/dist/database/migrations/202610090003_ag_add_execution_history.js.map +1 -0
  152. package/dist/database/migrations/202610090004_ag_add_runner_workspace_usage.d.ts +9 -0
  153. package/dist/database/migrations/202610090004_ag_add_runner_workspace_usage.d.ts.map +1 -0
  154. package/dist/database/migrations/202610090004_ag_add_runner_workspace_usage.js +22 -0
  155. package/dist/database/migrations/202610090004_ag_add_runner_workspace_usage.js.map +1 -0
  156. package/dist/database/migrations/202610090005_ag_add_runner_variables.d.ts +10 -0
  157. package/dist/database/migrations/202610090005_ag_add_runner_variables.d.ts.map +1 -0
  158. package/dist/database/migrations/202610090005_ag_add_runner_variables.js +36 -0
  159. package/dist/database/migrations/202610090005_ag_add_runner_variables.js.map +1 -0
  160. package/dist/database/migrations/202610100001_ag_index_run_event_types.d.ts +4 -0
  161. package/dist/database/migrations/202610100001_ag_index_run_event_types.d.ts.map +1 -0
  162. package/dist/database/migrations/202610100001_ag_index_run_event_types.js +17 -0
  163. package/dist/database/migrations/202610100001_ag_index_run_event_types.js.map +1 -0
  164. package/dist/database/migrations/202610100002_ag_add_run_git_credentials.d.ts +9 -0
  165. package/dist/database/migrations/202610100002_ag_add_run_git_credentials.d.ts.map +1 -0
  166. package/dist/database/migrations/202610100002_ag_add_run_git_credentials.js +30 -0
  167. package/dist/database/migrations/202610100002_ag_add_run_git_credentials.js.map +1 -0
  168. package/dist/database/migrations/202610110001_ag_add_fresh_sessions.d.ts +4 -0
  169. package/dist/database/migrations/202610110001_ag_add_fresh_sessions.d.ts.map +1 -0
  170. package/dist/database/migrations/202610110001_ag_add_fresh_sessions.js +23 -0
  171. package/dist/database/migrations/202610110001_ag_add_fresh_sessions.js.map +1 -0
  172. package/dist/database/migrations/202610120001_ag_index_run_retries.d.ts +4 -0
  173. package/dist/database/migrations/202610120001_ag_index_run_retries.d.ts.map +1 -0
  174. package/dist/database/migrations/202610120001_ag_index_run_retries.js +17 -0
  175. package/dist/database/migrations/202610120001_ag_index_run_retries.js.map +1 -0
  176. package/dist/database/migrations/202610120002_ag_add_queue_entered_at.d.ts +4 -0
  177. package/dist/database/migrations/202610120002_ag_add_queue_entered_at.d.ts.map +1 -0
  178. package/dist/database/migrations/202610120002_ag_add_queue_entered_at.js +50 -0
  179. package/dist/database/migrations/202610120002_ag_add_queue_entered_at.js.map +1 -0
  180. package/dist/database/migrations/202610240020_ag_runner_agents.d.ts +4 -0
  181. package/dist/database/migrations/202610240020_ag_runner_agents.d.ts.map +1 -0
  182. package/dist/database/migrations/202610240020_ag_runner_agents.js +115 -0
  183. package/dist/database/migrations/202610240020_ag_runner_agents.js.map +1 -0
  184. package/dist/database/migrations/202610240040_ag_discovery_preferences.d.ts +4 -0
  185. package/dist/database/migrations/202610240040_ag_discovery_preferences.d.ts.map +1 -0
  186. package/dist/database/migrations/202610240040_ag_discovery_preferences.js +18 -0
  187. package/dist/database/migrations/202610240040_ag_discovery_preferences.js.map +1 -0
  188. package/dist/package.json +8 -10
  189. package/dist/server/cli/run-credential.js +1 -1
  190. package/dist/server/composition.d.ts +39 -37
  191. package/dist/server/composition.d.ts.map +1 -1
  192. package/dist/server/composition.js +53 -65
  193. package/dist/server/composition.js.map +1 -1
  194. package/dist/server/core/agents/agent.service.d.ts +51 -43
  195. package/dist/server/core/agents/agent.service.d.ts.map +1 -1
  196. package/dist/server/core/agents/agent.service.js +342 -317
  197. package/dist/server/core/agents/agent.service.js.map +1 -1
  198. package/dist/server/core/agents/agent.store.d.ts +24 -12
  199. package/dist/server/core/agents/agent.store.d.ts.map +1 -1
  200. package/dist/server/core/agents/agent.store.js +65 -64
  201. package/dist/server/core/agents/agent.store.js.map +1 -1
  202. package/dist/server/core/agents/agent.views.d.ts +29 -0
  203. package/dist/server/core/agents/agent.views.d.ts.map +1 -0
  204. package/dist/server/core/agents/agent.views.js +86 -0
  205. package/dist/server/core/agents/agent.views.js.map +1 -0
  206. package/dist/server/core/agents/discovery.d.ts +12 -0
  207. package/dist/server/core/agents/discovery.d.ts.map +1 -0
  208. package/dist/server/core/agents/discovery.js +39 -0
  209. package/dist/server/core/agents/discovery.js.map +1 -0
  210. package/dist/server/core/agents/index.d.ts +2 -1
  211. package/dist/server/core/agents/index.d.ts.map +1 -1
  212. package/dist/server/core/agents/index.js +2 -1
  213. package/dist/server/core/agents/index.js.map +1 -1
  214. package/dist/server/core/brief/brief.js +1 -1
  215. package/dist/server/core/brief/brief.js.map +1 -1
  216. package/dist/server/core/callers/index.d.ts +1 -1
  217. package/dist/server/core/conversations/availability.d.ts +11 -10
  218. package/dist/server/core/conversations/availability.d.ts.map +1 -1
  219. package/dist/server/core/conversations/availability.js +14 -32
  220. package/dist/server/core/conversations/availability.js.map +1 -1
  221. package/dist/server/core/conversations/chat-settings.d.ts.map +1 -1
  222. package/dist/server/core/conversations/chat-settings.js +5 -3
  223. package/dist/server/core/conversations/chat-settings.js.map +1 -1
  224. package/dist/server/core/conversations/conversation.service.d.ts +3 -5
  225. package/dist/server/core/conversations/conversation.service.d.ts.map +1 -1
  226. package/dist/server/core/conversations/conversation.service.js +161 -221
  227. package/dist/server/core/conversations/conversation.service.js.map +1 -1
  228. package/dist/server/core/conversations/ports.d.ts +3 -17
  229. package/dist/server/core/conversations/ports.d.ts.map +1 -1
  230. package/dist/server/core/reports/report.service.d.ts.map +1 -1
  231. package/dist/server/core/reports/report.service.js +5 -2
  232. package/dist/server/core/reports/report.service.js.map +1 -1
  233. package/dist/server/core/runs/availability.d.ts +18 -7
  234. package/dist/server/core/runs/availability.d.ts.map +1 -1
  235. package/dist/server/core/runs/availability.js +35 -24
  236. package/dist/server/core/runs/availability.js.map +1 -1
  237. package/dist/server/core/runs/claim.d.ts +33 -65
  238. package/dist/server/core/runs/claim.d.ts.map +1 -1
  239. package/dist/server/core/runs/claim.js +566 -307
  240. package/dist/server/core/runs/claim.js.map +1 -1
  241. package/dist/server/core/runs/eligibility.d.ts +51 -0
  242. package/dist/server/core/runs/eligibility.d.ts.map +1 -0
  243. package/dist/server/core/runs/eligibility.js +44 -0
  244. package/dist/server/core/runs/eligibility.js.map +1 -0
  245. package/dist/server/core/runs/execution-view.d.ts +10 -0
  246. package/dist/server/core/runs/execution-view.d.ts.map +1 -0
  247. package/dist/server/core/runs/execution-view.js +25 -0
  248. package/dist/server/core/runs/execution-view.js.map +1 -0
  249. package/dist/server/core/runs/execution.d.ts +13 -0
  250. package/dist/server/core/runs/execution.d.ts.map +1 -0
  251. package/dist/server/core/runs/execution.js +85 -0
  252. package/dist/server/core/runs/execution.js.map +1 -0
  253. package/dist/server/core/runs/extensions.d.ts +59 -4
  254. package/dist/server/core/runs/extensions.d.ts.map +1 -1
  255. package/dist/server/core/runs/extensions.js +45 -9
  256. package/dist/server/core/runs/extensions.js.map +1 -1
  257. package/dist/server/core/runs/git-credentials.d.ts +43 -0
  258. package/dist/server/core/runs/git-credentials.d.ts.map +1 -0
  259. package/dist/server/core/runs/git-credentials.js +129 -0
  260. package/dist/server/core/runs/git-credentials.js.map +1 -0
  261. package/dist/server/core/runs/identity.d.ts +6 -0
  262. package/dist/server/core/runs/identity.d.ts.map +1 -0
  263. package/dist/server/core/runs/identity.js +49 -0
  264. package/dist/server/core/runs/identity.js.map +1 -0
  265. package/dist/server/core/runs/index.d.ts +9 -5
  266. package/dist/server/core/runs/index.d.ts.map +1 -1
  267. package/dist/server/core/runs/index.js +9 -5
  268. package/dist/server/core/runs/index.js.map +1 -1
  269. package/dist/server/core/runs/input-gate.d.ts +34 -0
  270. package/dist/server/core/runs/input-gate.d.ts.map +1 -0
  271. package/dist/server/core/runs/input-gate.js +54 -0
  272. package/dist/server/core/runs/input-gate.js.map +1 -0
  273. package/dist/server/core/runs/lifecycle.d.ts +9 -19
  274. package/dist/server/core/runs/lifecycle.d.ts.map +1 -1
  275. package/dist/server/core/runs/lifecycle.js +76 -34
  276. package/dist/server/core/runs/lifecycle.js.map +1 -1
  277. package/dist/server/core/runs/policy.d.ts +8 -0
  278. package/dist/server/core/runs/policy.d.ts.map +1 -1
  279. package/dist/server/core/runs/policy.js +10 -0
  280. package/dist/server/core/runs/policy.js.map +1 -1
  281. package/dist/server/core/runs/ports.d.ts +84 -28
  282. package/dist/server/core/runs/ports.d.ts.map +1 -1
  283. package/dist/server/core/runs/ports.js +2 -13
  284. package/dist/server/core/runs/ports.js.map +1 -1
  285. package/dist/server/core/runs/preview.d.ts.map +1 -1
  286. package/dist/server/core/runs/preview.js +3 -3
  287. package/dist/server/core/runs/preview.js.map +1 -1
  288. package/dist/server/core/runs/run-requests.d.ts +220 -0
  289. package/dist/server/core/runs/run-requests.d.ts.map +1 -0
  290. package/dist/server/core/runs/run-requests.js +475 -0
  291. package/dist/server/core/runs/run-requests.js.map +1 -0
  292. package/dist/server/core/runs/run.service.d.ts +84 -11
  293. package/dist/server/core/runs/run.service.d.ts.map +1 -1
  294. package/dist/server/core/runs/run.service.js +433 -93
  295. package/dist/server/core/runs/run.service.js.map +1 -1
  296. package/dist/server/core/runs/run.store.d.ts +20 -3
  297. package/dist/server/core/runs/run.store.d.ts.map +1 -1
  298. package/dist/server/core/runs/run.store.js +49 -2
  299. package/dist/server/core/runs/run.store.js.map +1 -1
  300. package/dist/server/core/runs/runner-view.d.ts +6 -4
  301. package/dist/server/core/runs/runner-view.d.ts.map +1 -1
  302. package/dist/server/core/runs/runner-view.js +13 -11
  303. package/dist/server/core/runs/runner-view.js.map +1 -1
  304. package/dist/server/core/runs/selection.d.ts +13 -0
  305. package/dist/server/core/runs/selection.d.ts.map +1 -0
  306. package/dist/server/core/runs/selection.js +21 -0
  307. package/dist/server/core/runs/selection.js.map +1 -0
  308. package/dist/server/core/runs/sweeper.d.ts.map +1 -1
  309. package/dist/server/core/runs/sweeper.js +54 -10
  310. package/dist/server/core/runs/sweeper.js.map +1 -1
  311. package/dist/server/core/runs/transitions.d.ts +1 -1
  312. package/dist/server/core/runs/transitions.d.ts.map +1 -1
  313. package/dist/server/core/runs/transitions.js +69 -5
  314. package/dist/server/core/runs/transitions.js.map +1 -1
  315. package/dist/server/core/runs/workload.d.ts +3 -3
  316. package/dist/server/core/runs/workload.d.ts.map +1 -1
  317. package/dist/server/core/runs/workload.js +154 -45
  318. package/dist/server/core/runs/workload.js.map +1 -1
  319. package/dist/server/core/variables/index.d.ts +1 -1
  320. package/dist/server/core/variables/index.d.ts.map +1 -1
  321. package/dist/server/core/variables/index.js +1 -1
  322. package/dist/server/core/variables/index.js.map +1 -1
  323. package/dist/server/core/variables/variable.service.d.ts +38 -6
  324. package/dist/server/core/variables/variable.service.d.ts.map +1 -1
  325. package/dist/server/core/variables/variable.service.js +201 -30
  326. package/dist/server/core/variables/variable.service.js.map +1 -1
  327. package/dist/server/distribution/dist.service.d.ts +27 -5
  328. package/dist/server/distribution/dist.service.d.ts.map +1 -1
  329. package/dist/server/distribution/dist.service.js +41 -5
  330. package/dist/server/distribution/dist.service.js.map +1 -1
  331. package/dist/server/distribution/download-tokens.d.ts +1 -1
  332. package/dist/server/distribution/download-tokens.d.ts.map +1 -1
  333. package/dist/server/distribution/download-tokens.js +7 -4
  334. package/dist/server/distribution/download-tokens.js.map +1 -1
  335. package/dist/server/distribution/index.d.ts +11 -3
  336. package/dist/server/distribution/index.d.ts.map +1 -1
  337. package/dist/server/distribution/index.js +31 -8
  338. package/dist/server/distribution/index.js.map +1 -1
  339. package/dist/server/jobs/index.d.ts +1 -1
  340. package/dist/server/jobs/index.d.ts.map +1 -1
  341. package/dist/server/jobs/index.js +1 -1
  342. package/dist/server/jobs/index.js.map +1 -1
  343. package/dist/server/jobs/job.service.d.ts +3 -1
  344. package/dist/server/jobs/job.service.d.ts.map +1 -1
  345. package/dist/server/jobs/job.service.js +11 -3
  346. package/dist/server/jobs/job.service.js.map +1 -1
  347. package/dist/server/jobs/spec.d.ts +4 -0
  348. package/dist/server/jobs/spec.d.ts.map +1 -1
  349. package/dist/server/jobs/spec.js +6 -0
  350. package/dist/server/jobs/spec.js.map +1 -1
  351. package/dist/server/kernel/errors.d.ts +1 -1
  352. package/dist/server/kernel/errors.d.ts.map +1 -1
  353. package/dist/server/kernel/errors.js +1 -0
  354. package/dist/server/kernel/errors.js.map +1 -1
  355. package/dist/server/kernel/events.d.ts +34 -9
  356. package/dist/server/kernel/events.d.ts.map +1 -1
  357. package/dist/server/kernel/events.js.map +1 -1
  358. package/dist/server/kernel/redaction.d.ts +2 -0
  359. package/dist/server/kernel/redaction.d.ts.map +1 -1
  360. package/dist/server/kernel/redaction.js +17 -0
  361. package/dist/server/kernel/redaction.js.map +1 -1
  362. package/dist/server/online/index.d.ts +0 -5
  363. package/dist/server/online/index.d.ts.map +1 -1
  364. package/dist/server/online/index.js +0 -5
  365. package/dist/server/online/index.js.map +1 -1
  366. package/dist/server/online/routes.d.ts.map +1 -1
  367. package/dist/server/online/routes.js +6 -35
  368. package/dist/server/online/routes.js.map +1 -1
  369. package/dist/server/providers/agents.d.ts +4 -25
  370. package/dist/server/providers/agents.d.ts.map +1 -1
  371. package/dist/server/providers/agents.js +8 -75
  372. package/dist/server/providers/agents.js.map +1 -1
  373. package/dist/server/routes/admin.d.ts.map +1 -1
  374. package/dist/server/routes/admin.js +140 -201
  375. package/dist/server/routes/admin.js.map +1 -1
  376. package/dist/server/routes/chat.d.ts.map +1 -1
  377. package/dist/server/routes/chat.js +12 -70
  378. package/dist/server/routes/chat.js.map +1 -1
  379. package/dist/server/routes/index.d.ts.map +1 -1
  380. package/dist/server/routes/index.js +11 -1
  381. package/dist/server/routes/index.js.map +1 -1
  382. package/dist/server/routes/roster.d.ts.map +1 -1
  383. package/dist/server/routes/roster.js +6 -21
  384. package/dist/server/routes/roster.js.map +1 -1
  385. package/dist/server/routes/run-requests.d.ts +6 -0
  386. package/dist/server/routes/run-requests.d.ts.map +1 -0
  387. package/dist/server/routes/run-requests.js +216 -0
  388. package/dist/server/routes/run-requests.js.map +1 -0
  389. package/dist/server/routes/runners/admin.d.ts +9 -1
  390. package/dist/server/routes/runners/admin.d.ts.map +1 -1
  391. package/dist/server/routes/runners/admin.js +62 -24
  392. package/dist/server/routes/runners/admin.js.map +1 -1
  393. package/dist/server/routes/runners/dist.d.ts +5 -1
  394. package/dist/server/routes/runners/dist.d.ts.map +1 -1
  395. package/dist/server/routes/runners/dist.js +36 -9
  396. package/dist/server/routes/runners/dist.js.map +1 -1
  397. package/dist/server/routes/runners/install.d.ts.map +1 -1
  398. package/dist/server/routes/runners/install.js +98 -15
  399. package/dist/server/routes/runners/install.js.map +1 -1
  400. package/dist/server/routes/runners/runner.d.ts.map +1 -1
  401. package/dist/server/routes/runners/runner.js +25 -7
  402. package/dist/server/routes/runners/runner.js.map +1 -1
  403. package/dist/server/routes/runners/runs.d.ts +1 -1
  404. package/dist/server/routes/runners/runs.d.ts.map +1 -1
  405. package/dist/server/routes/runners/runs.js +23 -3
  406. package/dist/server/routes/runners/runs.js.map +1 -1
  407. package/dist/server/routes/schemas.d.ts +37 -8
  408. package/dist/server/routes/schemas.d.ts.map +1 -1
  409. package/dist/server/routes/schemas.js +367 -82
  410. package/dist/server/routes/schemas.js.map +1 -1
  411. package/dist/server/runners/index.d.ts +1 -0
  412. package/dist/server/runners/index.d.ts.map +1 -1
  413. package/dist/server/runners/index.js +1 -0
  414. package/dist/server/runners/index.js.map +1 -1
  415. package/dist/server/runners/runner.service.d.ts +22 -8
  416. package/dist/server/runners/runner.service.d.ts.map +1 -1
  417. package/dist/server/runners/runner.service.js +112 -14
  418. package/dist/server/runners/runner.service.js.map +1 -1
  419. package/dist/server/runners/runner.store.d.ts +10 -1
  420. package/dist/server/runners/runner.store.d.ts.map +1 -1
  421. package/dist/server/runners/runner.store.js +117 -4
  422. package/dist/server/runners/runner.store.js.map +1 -1
  423. package/dist/server/runners/sweeper.d.ts +5 -0
  424. package/dist/server/runners/sweeper.d.ts.map +1 -1
  425. package/dist/server/runners/sweeper.js +4 -2
  426. package/dist/server/runners/sweeper.js.map +1 -1
  427. package/dist/server/runners/workspaces.d.ts +33 -0
  428. package/dist/server/runners/workspaces.d.ts.map +1 -0
  429. package/dist/server/runners/workspaces.js +248 -0
  430. package/dist/server/runners/workspaces.js.map +1 -0
  431. package/dist/server/testing.d.ts +0 -2
  432. package/dist/server/testing.d.ts.map +1 -1
  433. package/dist/server/testing.js +1 -4
  434. package/dist/server/testing.js.map +1 -1
  435. package/dist/server/tokens.d.ts +12 -9
  436. package/dist/server/tokens.d.ts.map +1 -1
  437. package/dist/server/tokens.js +6 -2
  438. package/dist/server/tokens.js.map +1 -1
  439. package/dist/shared/access.d.ts +2 -6
  440. package/dist/shared/access.d.ts.map +1 -1
  441. package/dist/shared/access.js +2 -6
  442. package/dist/shared/access.js.map +1 -1
  443. package/dist/shared/agents.d.ts +128 -165
  444. package/dist/shared/agents.d.ts.map +1 -1
  445. package/dist/shared/agents.js +46 -97
  446. package/dist/shared/agents.js.map +1 -1
  447. package/dist/shared/conversations.d.ts +43 -89
  448. package/dist/shared/conversations.d.ts.map +1 -1
  449. package/dist/shared/conversations.js +5 -24
  450. package/dist/shared/conversations.js.map +1 -1
  451. package/dist/shared/model-catalog.d.ts +48 -0
  452. package/dist/shared/model-catalog.d.ts.map +1 -0
  453. package/dist/shared/model-catalog.js +148 -0
  454. package/dist/shared/model-catalog.js.map +1 -0
  455. package/dist/shared/models.js +1 -1
  456. package/dist/shared/models.js.map +1 -1
  457. package/dist/shared/runners.d.ts +107 -17
  458. package/dist/shared/runners.d.ts.map +1 -1
  459. package/dist/shared/runners.js +49 -7
  460. package/dist/shared/runners.js.map +1 -1
  461. package/dist/shared/runs.d.ts +203 -1
  462. package/dist/shared/runs.d.ts.map +1 -1
  463. package/dist/shared/runs.js +24 -0
  464. package/dist/shared/runs.js.map +1 -1
  465. package/dist/shared/variables.d.ts +22 -0
  466. package/dist/shared/variables.d.ts.map +1 -1
  467. package/dist/shared/variables.js +9 -1
  468. package/dist/shared/variables.js.map +1 -1
  469. package/package.json +24 -26
  470. package/skills/nocobase-app-plugin-agents/SKILL.md +8 -7
  471. package/skills/nocobase-app-plugin-agents/references/agents.md +30 -0
  472. package/skills/nocobase-app-plugin-agents/references/distribution.md +21 -4
  473. package/skills/nocobase-app-plugin-agents/references/extension-points.md +30 -20
  474. package/skills/nocobase-app-plugin-agents/references/model-services.md +17 -0
  475. package/skills/nocobase-app-plugin-agents/references/runners.md +15 -1
  476. package/skills/nocobase-app-plugin-agents/references/setup-and-config.md +4 -7
  477. package/skills/nocobase-app-plugin-agents/references/variables-skills-usage.md +4 -4
  478. package/skills/nocobase-app-plugin-agents/references/verification-and-troubleshooting.md +33 -32
  479. package/dist/client/chat/settings-section.d.ts +0 -5
  480. package/dist/client/chat/settings-section.d.ts.map +0 -1
  481. package/dist/client/chat/settings-section.js +0 -76
  482. package/dist/client/chat/settings-section.js.map +0 -1
  483. package/dist/client/components/agent-fields.d.ts +0 -45
  484. package/dist/client/components/agent-fields.d.ts.map +0 -1
  485. package/dist/client/components/agent-fields.js +0 -83
  486. package/dist/client/components/agent-fields.js.map +0 -1
  487. package/dist/client/components/agent-type.d.ts +0 -32
  488. package/dist/client/components/agent-type.d.ts.map +0 -1
  489. package/dist/client/components/agent-type.js +0 -80
  490. package/dist/client/components/agent-type.js.map +0 -1
  491. package/dist/client/components/model-entries.d.ts +0 -35
  492. package/dist/client/components/model-entries.d.ts.map +0 -1
  493. package/dist/client/components/model-entries.js +0 -82
  494. package/dist/client/components/model-entries.js.map +0 -1
  495. package/dist/client/hooks/use-agent-save.d.ts +0 -9
  496. package/dist/client/hooks/use-agent-save.d.ts.map +0 -1
  497. package/dist/client/hooks/use-agent-save.js +0 -40
  498. package/dist/client/hooks/use-agent-save.js.map +0 -1
  499. package/dist/client/hooks/use-model-catalog.d.ts +0 -9
  500. package/dist/client/hooks/use-model-catalog.d.ts.map +0 -1
  501. package/dist/client/hooks/use-model-catalog.js +0 -27
  502. package/dist/client/hooks/use-model-catalog.js.map +0 -1
  503. package/dist/client/lib/tool-policy.d.ts +0 -5
  504. package/dist/client/lib/tool-policy.d.ts.map +0 -1
  505. package/dist/client/lib/tool-policy.js +0 -10
  506. package/dist/client/lib/tool-policy.js.map +0 -1
  507. package/dist/client/online/default-model.d.ts +0 -5
  508. package/dist/client/online/default-model.d.ts.map +0 -1
  509. package/dist/client/online/default-model.js +0 -65
  510. package/dist/client/online/default-model.js.map +0 -1
  511. package/dist/client/pages/agents/agent-model.d.ts +0 -73
  512. package/dist/client/pages/agents/agent-model.d.ts.map +0 -1
  513. package/dist/client/pages/agents/agent-model.js +0 -172
  514. package/dist/client/pages/agents/agent-model.js.map +0 -1
  515. package/dist/client/pages/agents/detail/brief-preview.d.ts +0 -7
  516. package/dist/client/pages/agents/detail/brief-preview.d.ts.map +0 -1
  517. package/dist/client/pages/agents/detail/brief-preview.js +0 -43
  518. package/dist/client/pages/agents/detail/brief-preview.js.map +0 -1
  519. package/dist/client/pages/agents/detail/history.d.ts +0 -11
  520. package/dist/client/pages/agents/detail/history.d.ts.map +0 -1
  521. package/dist/client/pages/agents/detail/history.js +0 -149
  522. package/dist/client/pages/agents/detail/history.js.map +0 -1
  523. package/dist/client/pages/agents/detail/index.d.ts +0 -3
  524. package/dist/client/pages/agents/detail/index.d.ts.map +0 -1
  525. package/dist/client/pages/agents/detail/index.js +0 -241
  526. package/dist/client/pages/agents/detail/index.js.map +0 -1
  527. package/dist/client/pages/agents/detail/sections.d.ts +0 -22
  528. package/dist/client/pages/agents/detail/sections.d.ts.map +0 -1
  529. package/dist/client/pages/agents/detail/sections.js +0 -311
  530. package/dist/client/pages/agents/detail/sections.js.map +0 -1
  531. package/dist/client/pages/agents/detail/tab-draft.d.ts +0 -43
  532. package/dist/client/pages/agents/detail/tab-draft.d.ts.map +0 -1
  533. package/dist/client/pages/agents/detail/tab-draft.js +0 -115
  534. package/dist/client/pages/agents/detail/tab-draft.js.map +0 -1
  535. package/dist/client/pages/agents/detail/unsaved-bar.d.ts +0 -13
  536. package/dist/client/pages/agents/detail/unsaved-bar.d.ts.map +0 -1
  537. package/dist/client/pages/agents/detail/unsaved-bar.js +0 -21
  538. package/dist/client/pages/agents/detail/unsaved-bar.js.map +0 -1
  539. package/dist/client/pages/agents/new.d.ts +0 -3
  540. package/dist/client/pages/agents/new.d.ts.map +0 -1
  541. package/dist/client/pages/agents/new.js +0 -149
  542. package/dist/client/pages/agents/new.js.map +0 -1
  543. package/dist/client/pages/agents/preset-picker.d.ts +0 -8
  544. package/dist/client/pages/agents/preset-picker.d.ts.map +0 -1
  545. package/dist/client/pages/agents/preset-picker.js +0 -41
  546. package/dist/client/pages/agents/preset-picker.js.map +0 -1
  547. package/dist/server/core/consultations/consultation.service.d.ts +0 -59
  548. package/dist/server/core/consultations/consultation.service.d.ts.map +0 -1
  549. package/dist/server/core/consultations/consultation.service.js +0 -195
  550. package/dist/server/core/consultations/consultation.service.js.map +0 -1
  551. package/dist/server/core/consultations/index.d.ts +0 -3
  552. package/dist/server/core/consultations/index.d.ts.map +0 -1
  553. package/dist/server/core/consultations/index.js +0 -3
  554. package/dist/server/core/consultations/index.js.map +0 -1
  555. package/dist/server/core/consultations/prompt.d.ts +0 -41
  556. package/dist/server/core/consultations/prompt.d.ts.map +0 -1
  557. package/dist/server/core/consultations/prompt.js +0 -64
  558. package/dist/server/core/consultations/prompt.js.map +0 -1
  559. package/dist/server/core/presets/index.d.ts +0 -19
  560. package/dist/server/core/presets/index.d.ts.map +0 -1
  561. package/dist/server/core/presets/index.js +0 -28
  562. package/dist/server/core/presets/index.js.map +0 -1
  563. package/dist/server/online/cli-command.d.ts +0 -20
  564. package/dist/server/online/cli-command.d.ts.map +0 -1
  565. package/dist/server/online/cli-command.js +0 -345
  566. package/dist/server/online/cli-command.js.map +0 -1
  567. package/dist/server/online/consult-tool.d.ts +0 -54
  568. package/dist/server/online/consult-tool.d.ts.map +0 -1
  569. package/dist/server/online/consult-tool.js +0 -177
  570. package/dist/server/online/consult-tool.js.map +0 -1
  571. package/dist/server/online/executor.d.ts +0 -83
  572. package/dist/server/online/executor.d.ts.map +0 -1
  573. package/dist/server/online/executor.js +0 -714
  574. package/dist/server/online/executor.js.map +0 -1
  575. package/dist/server/online/sandbox.d.ts +0 -32
  576. package/dist/server/online/sandbox.d.ts.map +0 -1
  577. package/dist/server/online/sandbox.js +0 -246
  578. package/dist/server/online/sandbox.js.map +0 -1
  579. package/dist/server/online/scripted.d.ts +0 -12
  580. package/dist/server/online/scripted.d.ts.map +0 -1
  581. package/dist/server/online/scripted.js +0 -176
  582. package/dist/server/online/scripted.js.map +0 -1
  583. package/dist/server/online/tools.d.ts +0 -17
  584. package/dist/server/online/tools.d.ts.map +0 -1
  585. package/dist/server/online/tools.js +0 -31
  586. package/dist/server/online/tools.js.map +0 -1
  587. package/dist/server/vendor/THIRD_PARTY_LICENSES.txt +0 -782
  588. package/dist/server/vendor/just-bash.d.ts +0 -83
  589. package/dist/server/vendor/just-bash.js +0 -2102
  590. package/dist/shared/presets.d.ts +0 -30
  591. package/dist/shared/presets.d.ts.map +0 -1
  592. package/dist/shared/presets.js +0 -2
  593. package/dist/shared/presets.js.map +0 -1
  594. package/skills/nocobase-app-plugin-agents/references/online-agents.md +0 -31
@@ -1 +1 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../shared/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EACL,YAAY,GAGb,MAAM,0BAA0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U,UAAU,CAAC,KAE1B;IACC,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,SAAS,CAAC,CAAmB,EAAE,CAAmB;IAChE,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC;AACtE,CAAC;AA8CD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,SAAS;IACT,UAAU;IACV,YAAY;IACZ,eAAe;IACf,UAAU;IACV,gBAAgB;CACR,CAAC;AA0FX,qCAAqC;AACrC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,qEAAqE;IACrE,UAAU;IACV,UAAU;CACF,CAAC;AAIX,qGAAqG;AACrG,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,MAAM;IACN,aAAa;IACb,QAAQ;IACR,cAAc;IACd,cAAc;IACd,SAAS;CACD,CAAC;AA8DX,6FAA6F;AAC7F,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,cAAc,EAAE,aAAa;IAC7B,eAAe,EAAE;QACf,8GAA8G;QAC9G,kGAAkG;KACnG;IACD,cAAc,EAAE;QACd,uCAAuC;QACvC,YAAY;QACZ,wCAAwC;QACxC,oCAAoC;QACpC,0BAA0B;KAC3B;IACD,aAAa,EAAE,EAAE,GAAG,MAAM;CAC3B,CAAC"}
@@ -5,10 +5,9 @@
5
5
  *
6
6
  * ## Model
7
7
  *
8
- * - A **conversation** belongs to one person (its owner) and is bound to one agent. Its **mode** is the type of the agent
9
- * it was started with (`online`: a model on the server answers in seconds; `runner`: a coding agent on a runner) and stays
10
- * so for its whole life: it never moves to an agent of the other type. A person who needs the other kind of agent
11
- * starts another conversation. Only the owner reads its content:
8
+ * - A **conversation** belongs to one person (its owner) and is bound to one agent, which answers on a runner. Its
9
+ * **mode** is `runner`; conversations an earlier version answered with an online agent keep `online`. Only the owner
10
+ * reads its content:
12
11
  * the API answers 404 to everyone else, administrators included, and the runs a conversation starts are hidden from
13
12
  * anyone the run does not involve. Administrators see usage only.
14
13
  * - A **message** is what the owner sent (`user`), what the agent replied (`assistant`), or a notice the server wrote
@@ -17,16 +16,17 @@
17
16
  * - Each message the owner sends wakes the agent: a run with the subject `{ kind: 'conversation', id }`, woken by the
18
17
  * owner (whose permissions bound it). A message sent while the agent is working joins that run as input; a message
19
18
  * sent while it waits for a runner joins the waiting run. Every text the agent writes in a run becomes an assistant
20
- * message, in order, as the runner reports it. An online agent's reply appears as it is written: a draft message
21
- * (`metadata.streaming`) whose content grows until the reply is final, in place, at the same `seq`. The run's
22
- * step-by-step transcript stays readable through the runs API
19
+ * message, in order, as the runner reports it. The run's step-by-step transcript stays readable through the runs API
23
20
  * (`/api/agents/admin/runs/:runId/events`), for the "thinking / reading X" lines.
24
21
  * - **Sessions**: a run resumes the session the same runner kept for the conversation. On another runner it starts a
25
22
  * fresh session and its prompt carries the last `CONVERSATION_HISTORY_IN_PROMPT` messages and the previous run's
26
23
  * summary. Switching the conversation's agent (to the system default and back) starts a new session every time.
27
- * - **Availability**: a message is always saved. When the agent is archived, the owner may no longer use it, or no
28
- * online, signed-in runner may run it, the conversation reports `offline` with the reason; the owner may switch the
29
- * conversation to the system default agent and later switch back.
24
+ * - **Availability**: a message is always saved. When the agent is not enabled, the owner may no longer use it, or no
25
+ * online runner that has its tool and model may run the owner's work (including claim's feature and team-only
26
+ * variable restrictions), the conversation reports `offline` with the reason; the owner may switch the conversation
27
+ * to the system default agent and later switch back. Switching transfers unanswered queued messages. Manual fallback
28
+ * skips an unavailable system default, and restoring requires the original agent to be available again. The owner is
29
+ * the one answerable for their conversation, so none of this waits for anyone's confirmation.
30
30
  * - **Titles**: the first message's first `CONVERSATION_TITLE_AUTO_CHARS` characters (`auto`), until the agent sets one
31
31
  * of at most `CONVERSATION_TITLE_AGENT_MAX` characters (`agent`), which it may do until the owner renames the
32
32
  * conversation (`user`); after that the agent's attempts answer `CONVERSATION_CONFLICT` with `reason: 'titleLocked'`.
@@ -48,8 +48,7 @@
48
48
  * which attaches it to the conversation. From then on only the conversation's owner, and a run of its agent on that
49
49
  * conversation (by its run token), may read it. An upload never sent is purged after `CHAT_ATTACHMENT_ORPHAN_HOURS`.
50
50
  * The agent reads the files' names, types and ids with the message; a runner agent downloads one into its working
51
- * directory with the CLI (`conversation attachment download <file-id>`), and an online agent is shown the images among
52
- * them (`CHAT_IMAGE_TO_MODEL_MAX` bytes each at most) and only the names of the rest. Agents do not send files back.
51
+ * directory with the CLI (`conversation attachment download <file-id>`). Agents do not send files back.
53
52
  *
54
53
  * ## Realtime
55
54
  *
@@ -58,9 +57,7 @@
58
57
  * open, because announcements reach only the browsers connected to the instance that made the change.
59
58
  */
60
59
  import type { FailureReason, RunStatus } from '@nocobase/agent-protocol';
61
- import type { OnlineModelEntry } from './agents.js';
62
60
  import type { I18nText } from './i18n.js';
63
- import type { ModelCatalog } from './models.js';
64
61
  /** The run subject kind of a conversation. */
65
62
  export declare const CONVERSATION_SUBJECT = "conversation";
66
63
  /** The automatic title: the first message's first characters, without Markdown punctuation. */
@@ -77,8 +74,6 @@ export declare const CHAT_ATTACHMENT_SIZE_MAX: number;
77
74
  export declare const CHAT_ATTACHMENTS_PER_MESSAGE_MAX = 10;
78
75
  /** How long an upload not sent with a message is kept. */
79
76
  export declare const CHAT_ATTACHMENT_ORPHAN_HOURS = 24;
80
- /** The largest image an online agent's model is shown; a larger one is listed by name only. */
81
- export declare const CHAT_IMAGE_TO_MODEL_MAX: number;
82
77
  /** The raster images shown inline, by extension: the declared type must be the one listed. */
83
78
  export declare const INLINE_IMAGE_TYPES: Readonly<Record<string, string>>;
84
79
  /** A safe raster image, whose declared type matches its extension; anything else is only downloaded. */
@@ -193,17 +188,17 @@ export interface ConversationAgent {
193
188
  readonly archived: boolean;
194
189
  }
195
190
  /** Why a conversation's agent cannot answer now. */
196
- export declare const OFFLINE_REASONS: readonly ["agentMissing", "agentArchived", "forbidden", "noRunner", "modelUnavailable"];
191
+ export declare const OFFLINE_REASONS: readonly ["agentMissing", "agentArchived", "forbidden", "noRunner", "othersPersonal"];
197
192
  export type OfflineReason = (typeof OFFLINE_REASONS)[number];
198
193
  /** Whether the agent can answer now. */
199
194
  export interface ChatAvailability {
200
195
  readonly online: boolean;
201
196
  /** Null when online. */
202
197
  readonly reason: OfflineReason | null;
203
- /** Runners that may run the agent for the owner now; for an online agent, 1 while its model is offered. */
198
+ /** Runners that may run the agent for the owner now. */
204
199
  readonly onlineRunners: number;
205
200
  }
206
- /** A conversation's mode: the type of its agent, for its whole life (`AgentType`). */
201
+ /** A conversation's mode: `runner`, or `online` for a conversation an earlier version answered with an online agent. */
207
202
  export type ConversationMode = 'online' | 'runner';
208
203
  /** The conversation's open run: queued, waiting for a runner, or working. */
209
204
  export interface ConversationRun {
@@ -220,20 +215,10 @@ export interface ConversationSummary {
220
215
  readonly titleSource: TitleSource;
221
216
  readonly category: ConversationCategory;
222
217
  readonly source: ConversationSource;
223
- /** `online` or `runner`, for the conversation's whole life. */
224
218
  readonly mode: ConversationMode;
225
219
  readonly agent: ConversationAgent;
226
- /**
227
- * While the conversation uses the system default agent in place of its own (`fallback`): the agent it switches back
228
- * to. Null otherwise.
229
- */
220
+ /** While the conversation uses the system default agent in place of its own (`fallback`): the agent it switches back to. */
230
221
  readonly fallbackFrom: ConversationAgent | null;
231
- /**
232
- * An online conversation: the entry of its agent's list it answers with, the owner's choice
233
- * (`ConversationPatch.model`) while the agent lists it, else the agent's first. Null for a runner conversation, or
234
- * when the agent is gone.
235
- */
236
- readonly model: OnlineModelEntry | null;
237
222
  /** False when the agent wrote since the owner last marked it read. */
238
223
  readonly read: boolean;
239
224
  readonly lastMessageAt: string;
@@ -243,23 +228,12 @@ export interface ConversationSummary {
243
228
  /** The open run, if any: the panel shows "working" and offers to stop. */
244
229
  readonly run: ConversationRun | null;
245
230
  }
246
- /** An entry a conversation may answer with, named as the person reads it: its service's title and the model's label. */
247
- export interface ChatModelChoice extends OnlineModelEntry {
248
- /** Its service's title; its name when no enabled service has it any more. */
249
- readonly serviceTitle: string;
250
- /** The model's label in its service; its id when the service no longer offers it. */
251
- readonly modelLabel: string;
252
- }
253
- /** The entries named from the catalog (`ChatModelChoice`); what the catalog no longer has keeps its ids. */
254
- export declare function chatModelChoices(entries: readonly OnlineModelEntry[], catalog: Pick<ModelCatalog, 'services'>): ChatModelChoice[];
255
231
  /** One conversation as the panel opens it. */
256
232
  export interface ConversationDetail extends ConversationSummary {
257
233
  readonly availability: ChatAvailability;
258
- /** An online conversation: the entries of its agent's list the owner may choose from, in order; empty otherwise. */
259
- readonly models: readonly ChatModelChoice[];
260
- /** The system default agent may take over (`POST …/fallback`). */
234
+ /** Another agent may take over (`POST …/fallback`): the system default agent, when it can answer. */
261
235
  readonly canFallback: boolean;
262
- /** The conversation is on the system default and its own agent may take it back (`POST …/restore`). */
236
+ /** The conversation uses another agent and its original agent can answer again (`POST …/restore`). */
263
237
  readonly canRestore: boolean;
264
238
  }
265
239
  /** `aiMessages.content`. */
@@ -279,6 +253,18 @@ export type ConversationNotice =
279
253
  readonly agentId: string;
280
254
  readonly fromAgentId: string;
281
255
  }
256
+ /** Written by earlier versions: the conversation used the online fallback agent in place of its runner agent. */
257
+ | {
258
+ readonly code: 'switchedToOnline';
259
+ readonly agentId: string;
260
+ readonly fromAgentId: string;
261
+ }
262
+ /** Written by earlier versions: the configured online fallback could not answer. */
263
+ | {
264
+ readonly code: 'onlineFallbackUnavailable';
265
+ readonly fromAgentId: string;
266
+ readonly reason: OfflineReason;
267
+ }
282
268
  /** The conversation is back on its own agent. */
283
269
  | {
284
270
  readonly code: 'switchedBack';
@@ -311,11 +297,12 @@ export type ConversationNotice =
311
297
  export declare const CONSULTATION_STATES: readonly ["running", "completed", "failed", "refused"];
312
298
  export type ConsultationState = (typeof CONSULTATION_STATES)[number];
313
299
  /**
314
- * The agent consulted another one (`ask_agent`) while answering: one card per call, rewritten in place (same id and
315
- * `seq`, `metadata.streaming` while it runs) as the consultation goes. The consulted agent's own run (`runId`) has its
316
- * transcript and usage.
300
+ * Written by earlier versions: the online agent consulted another one (`ask_agent`) while answering, one card per call.
301
+ * The consulted agent's own run (`runId`) has its transcript and usage.
317
302
  */
318
303
  export interface ConsultationNotice {
304
+ /** Display-only marker: the requested subject could not be resolved; agentName is a historical snapshot. */
305
+ readonly identitySnapshot?: boolean;
319
306
  readonly code: 'consultation';
320
307
  /** The tool call: one card per call. */
321
308
  readonly callId: string;
@@ -349,14 +336,13 @@ export interface MessageMetadata {
349
336
  readonly runEventSeq?: number;
350
337
  /** A system message: what happened. */
351
338
  readonly notice?: ConversationNotice;
339
+ /** Written by earlier versions: an online fallback failure no longer applied. */
340
+ readonly onlineFallbackResolved?: boolean;
352
341
  /** The id the browser gave a message it sent, echoed so it can replace its optimistic copy. */
353
342
  readonly clientId?: string;
354
- /**
355
- * An assistant message an online agent is still writing: its content grows in place (same id and `seq`) until the reply
356
- * is final, when the flag goes. Fetch messages again from before the first streaming one to see it grow.
357
- */
343
+ /** Written by earlier versions: an online agent's reply still being written. */
358
344
  readonly streaming?: boolean;
359
- /** A draft whose run ended before the reply was final: what it had written. */
345
+ /** Written by earlier versions: a draft whose run ended before the reply was final. */
360
346
  readonly interrupted?: boolean;
361
347
  }
362
348
  /** A file sent with a message (`SendMessageRequest.attachmentIds`), or an upload not sent yet. */
@@ -412,7 +398,6 @@ export interface ConversationMessage {
412
398
  * | POST | `fallback` | | `ConversationDetail` |
413
399
  * | POST | `restore` | | `ConversationDetail` |
414
400
  * | GET | `agents` | | `ChatAgent[]` |
415
- * | POST | `copyAgent` | `CopyAgentRequest` | `Agent` |
416
401
  * | GET | `preferences` | | `ChatPreferences` |
417
402
  * | PATCH | `preferences` | `ChatPreferencesPatch` | `ChatPreferences` |
418
403
  * | GET | `settings` | | `ChatSettings` |
@@ -434,7 +419,6 @@ export declare const CHAT_ROUTES: {
434
419
  readonly restore: "agents/conversations/:conversationId/restore";
435
420
  readonly start: "agents/conversations/start";
436
421
  readonly agents: "agents/chatAgents";
437
- readonly copyAgent: "agents/:agentId/copy";
438
422
  readonly preferences: "agents/chatPreferences";
439
423
  readonly settings: "agents/chatSettings";
440
424
  readonly attachments: "agents/chatAttachments";
@@ -468,32 +452,20 @@ export interface ConversationPage {
468
452
  /** `POST conversations`. Creating starts no run; the first message does. */
469
453
  export interface CreateConversationRequest {
470
454
  /**
471
- * The agent to chat with, which the person must be allowed to wake; its type is the conversation's mode for good.
472
- * Without one: the person's default online agent
473
- * (`ChatPreferences.defaultAgentId`) while they may still wake it, else the system default
474
- * (`ChatSettings.defaultAgentId`), else `CONVERSATION_CONFLICT` `noChatAgent`.
455
+ * The agent to chat with, which must be enabled. Without one: the person's default agent
456
+ * (`ChatPreferences.defaultAgentId`) while it is enabled, else the system default (`ChatSettings.defaultAgentId`),
457
+ * else `CONVERSATION_CONFLICT` `noChatAgent`.
475
458
  */
476
459
  readonly agentId?: string;
477
460
  /** An explicit title (`user`); otherwise the first message gives one. */
478
461
  readonly title?: string;
479
462
  /** `panel` by default; otherwise a registered source. */
480
463
  readonly source?: ConversationSource;
481
- /**
482
- * An online agent: the entry of its list (`ChatAgent.models`) the conversation answers with, as `ConversationPatch.model`
483
- * sets it later; null or left out for the agent's default. 400 `INVALID_REQUEST` (`MODEL_NOT_LISTED`) for one the
484
- * agent does not list.
485
- */
486
- readonly model?: OnlineModelEntry | null;
487
464
  }
488
- /**
489
- * `PATCH conversation`: rename (the title becomes `user`'s and the agent may no longer change it), archive, or choose
490
- * the model an online conversation answers with: one of `ConversationDetail.models`, or null for the agent's default.
491
- * The choice applies from the next run; a model that fails fails the run, nothing falls back to another.
492
- */
465
+ /** `PATCH conversation`: rename (the title becomes `user`'s and the agent may no longer change it), or archive. */
493
466
  export interface ConversationPatch {
494
467
  readonly title?: string;
495
468
  readonly archived?: boolean;
496
- readonly model?: OnlineModelEntry | null;
497
469
  }
498
470
  /**
499
471
  * `GET messages`: without a page token, the newest `pageSize` messages; `meta.nextPageToken` pages back through older
@@ -570,29 +542,11 @@ export interface ChatAgent {
570
542
  readonly nameText: I18nText | null;
571
543
  readonly descriptionText: I18nText | null;
572
544
  readonly avatar: string | null;
573
- /** `online` or `runner`: the mode of the conversations it is started in. */
574
- readonly type: 'online' | 'runner';
575
- /**
576
- * An online agent: the entries of its list a new conversation may answer with (`CreateConversationRequest.model`), in
577
- * order, the first its default; empty for a runner agent.
578
- */
579
- readonly models: readonly ChatModelChoice[];
580
- /** The person's own agent, which only they may use (a "copy for myself"). */
581
- readonly personal: boolean;
582
545
  readonly isSystemDefault: boolean;
583
546
  readonly isMyDefault: boolean;
584
547
  readonly availability: ChatAvailability;
585
- }
586
- /**
587
- * `POST copyAgent`: a private copy of an agent the person may wake, owned by them and usable only by them. The copy
588
- * takes the agent's description, avatar, tool, model, instructions, business actions, skills, runners and limits, not
589
- * its variables.
590
- */
591
- export interface CopyAgentRequest {
592
- /** The copy's name; `<name> (copy)` by default. */
593
- readonly name?: string;
594
- /** Also make the copy the person's default online agent. */
595
- readonly makeDefault?: boolean;
548
+ /** Only personal runners have it: it takes only their owners' work. */
549
+ readonly personalOnly: boolean;
596
550
  }
597
551
  /** The person's own chat settings ("Profile › Agent"). */
598
552
  export interface ChatPreferences {
@@ -1 +1 @@
1
- {"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../shared/conversations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MA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C,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,0DAA0D;AAC1D,MAAM,WAAW,YAAY;IAC3B,0GAA0G;IAC1G,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAMtD,6FAA6F;AAC7F,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC3B;IACE,QAAQ,CAAC,IAAI,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACtC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC,CAAC"}
@@ -14,8 +14,6 @@ export const CHAT_ATTACHMENT_SIZE_MAX = 20 * 1024 * 1024;
14
14
  export const CHAT_ATTACHMENTS_PER_MESSAGE_MAX = 10;
15
15
  /** How long an upload not sent with a message is kept. */
16
16
  export const CHAT_ATTACHMENT_ORPHAN_HOURS = 24;
17
- /** The largest image an online agent's model is shown; a larger one is listed by name only. */
18
- export const CHAT_IMAGE_TO_MODEL_MAX = 5 * 1024 * 1024;
19
17
  /** The raster images shown inline, by extension: the declared type must be the one listed. */
20
18
  export const INLINE_IMAGE_TYPES = {
21
19
  png: 'image/png',
@@ -74,27 +72,15 @@ export const PAGE_CONTEXT_KIND_PATTERN = /^[a-zA-Z][a-zA-Z0-9._-]{0,31}$/u;
74
72
  export const OFFLINE_REASONS = [
75
73
  /** The agent was deleted. */
76
74
  'agentMissing',
77
- /** The agent is archived. */
75
+ /** The agent is not enabled. */
78
76
  'agentArchived',
79
77
  /** The owner may no longer wake the agent. */
80
78
  'forbidden',
81
- /** No online runner with the agent's tool installed and signed in may run the owner's work. */
79
+ /** No online runner that has the agent's tool and model may run the owner's work. */
82
80
  'noRunner',
83
- /** An online agent: its model service no longer offers its model, or no model services are available. */
84
- 'modelUnavailable',
81
+ /** Only other people's personal runners have the agent's tool and model. */
82
+ 'othersPersonal',
85
83
  ];
86
- /** The entries named from the catalog (`ChatModelChoice`); what the catalog no longer has keeps its ids. */
87
- export function chatModelChoices(entries, catalog) {
88
- return entries.map((entry) => {
89
- const service = catalog.services.find((item) => item.name === entry.modelService);
90
- const option = service?.models.find((item) => item.value === entry.model);
91
- return {
92
- ...entry,
93
- serviceTitle: service?.title || entry.modelService,
94
- modelLabel: option?.label || entry.model,
95
- };
96
- });
97
- }
98
84
  /** How a consultation went: asked and not answered yet, answered, failed, or refused before it started. */
99
85
  export const CONSULTATION_STATES = [
100
86
  'running',
@@ -124,7 +110,6 @@ export const CONSULTATION_STATES = [
124
110
  * | POST | `fallback` | | `ConversationDetail` |
125
111
  * | POST | `restore` | | `ConversationDetail` |
126
112
  * | GET | `agents` | | `ChatAgent[]` |
127
- * | POST | `copyAgent` | `CopyAgentRequest` | `Agent` |
128
113
  * | GET | `preferences` | | `ChatPreferences` |
129
114
  * | PATCH | `preferences` | `ChatPreferencesPatch` | `ChatPreferences` |
130
115
  * | GET | `settings` | | `ChatSettings` |
@@ -146,7 +131,6 @@ export const CHAT_ROUTES = {
146
131
  restore: 'agents/conversations/:conversationId/restore',
147
132
  start: 'agents/conversations/start',
148
133
  agents: 'agents/chatAgents',
149
- copyAgent: 'agents/:agentId/copy',
150
134
  preferences: 'agents/chatPreferences',
151
135
  settings: 'agents/chatSettings',
152
136
  attachments: 'agents/chatAttachments',
@@ -166,10 +150,7 @@ export const CONVERSATION_CONFLICTS = [
166
150
  'noChatAgent',
167
151
  /** The agent tried to set the title after the owner renamed the conversation. */
168
152
  'titleLocked',
169
- /**
170
- * `fallback`: the conversation already uses the system default, or none is set or usable, or it is of the other type
171
- * (a conversation keeps its mode).
172
- */
153
+ /** `fallback`: the conversation already uses another agent in place of its own, or the system default cannot answer. */
173
154
  'noFallback',
174
155
  /** `restore`: the conversation is not on the system default, or its own agent is still unavailable. */
175
156
  'noRestore',
@@ -1 +1 @@
1
- {"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../shared/conversations.ts"],"names":[],"mappings":"AAiEA,8CAA8C;AAC9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAEnD,+FAA+F;AAC/F,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAChD,0CAA0C;AAC1C,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAC/C,0CAA0C;AAC1C,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAC1C,4DAA4D;AAC5D,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAC1C,8CAA8C;AAC9C,MAAM,CAAC,MAAM,wBAAwB,GAAW,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,mCAAmC;AACnC,MAAM,CAAC,MAAM,gCAAgC,GAAG,EAAE,CAAC;AACnD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAC/C,+FAA+F;AAC/F,MAAM,CAAC,MAAM,uBAAuB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/D,8FAA8F;AAC9F,MAAM,CAAC,MAAM,kBAAkB,GAAqC;IAClE,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;CACnB,CAAC;AAEF,wGAAwG;AACxG,MAAM,UAAU,aAAa,CAAC,QAAgB,EAAE,GAAW;IACzD,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC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;IAC3B,WAAW,EAAE,wBAAwB;IACrC,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,wBAAwB;IACrC,UAAU,EAAE,sCAAsC;IAClD,iBAAiB,EAAE,8CAA8C;CACzD,CAAC;AAIX,oEAAoE;AACpE,MAAM,UAAU,QAAQ,CAAC,KAAgB,EAAE,EAAW;IACpD,MAAM,IAAI,GAAW,WAAW,CAAC,KAAK,CAAC,CAAC;IACxC,OAAO,EAAE,KAAK,SAAS;QACrB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1D,CAAC;AAED,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,yFAAyF;IACzF,aAAa;IACb,iFAAiF;IACjF,aAAa;IACb,wHAAwH;IACxH,YAAY;IACZ,uGAAuG;IACvG,WAAW;CACH,CAAC;AAmJX,wHAAwH;AACxH,WAAW;AACX,wHAAwH;AAExH,6FAA6F;AAC7F,MAAM,CAAC,MAAM,mBAAmB,GAAG,sBAAsB,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The models agents are named after. Runners report each coding tool's models by the ids the tool lists them under;
3
+ * the server keeps one agent per tool and model (`agents.ts`), so the same model reported under two spellings has to
4
+ * become one agent: `normalizeModel` turns what a runner reports into the id the agent keeps, and `agentNameOf` names
5
+ * it, such as "Claude · Opus 5.5" for Claude Code's `claude-opus-5-5`.
6
+ *
7
+ * The catalog ships with the plugin. A model it does not know still becomes an agent, named after its id, with nothing
8
+ * suggested for what it is good at. Keep it to the models the tools offer today, checked against the same lists as
9
+ * `TOOL_MODEL_SUGGESTIONS` in `@nocobase/agent-protocol`; a model leaving it only loses its suggestion and its label.
10
+ */
11
+ import type { AgentTool } from '@nocobase/agent-protocol';
12
+ /** A coding tool as agent names show it. */
13
+ export declare const TOOL_LABELS: Readonly<Record<AgentTool, string>>;
14
+ /** What the catalog knows about one model. */
15
+ export interface CatalogModel {
16
+ /** The model's id without a provider, as Claude Code or Codex take it. */
17
+ readonly id: string;
18
+ /** How names show it: `Opus 5.5`. */
19
+ readonly label: string;
20
+ /** Other ids the same model is listed under, such as Claude Code's `opus`. */
21
+ readonly aliases?: readonly string[];
22
+ /** What it is good at, suggested when someone enables its agent. */
23
+ readonly goodAt: {
24
+ readonly en: string;
25
+ readonly zh: string;
26
+ };
27
+ }
28
+ /** The models the catalog names. OpenCode and Pi list them as `provider/<id>` and are matched by `<id>`. */
29
+ export declare const MODEL_CATALOG: readonly CatalogModel[];
30
+ /**
31
+ * The id an agent keeps for what a runner reports: without a dated release suffix (`claude-haiku-4-5-20251001`), an
32
+ * alias (`opus`) resolved to the model it names, and for OpenCode and Pi the provider kept in front
33
+ * (`anthropic/claude-opus-5-5`; a nested id such as `alibaba-cn/kimi/kimi-k2.5` keeps everything after the provider).
34
+ * Case is kept: OpenCode and Pi take ids such as `minimax/MiniMax-M2.7` as written. Versions are never folded together:
35
+ * `gpt-6-sol` and `gpt-6.1-sol` are two models.
36
+ */
37
+ export declare function normalizeModel(tool: AgentTool, reported: string): string;
38
+ /** What the catalog knows about a tool's model, normalized or not; undefined for a model it does not know. */
39
+ export declare function catalogEntry(tool: AgentTool, model: string): CatalogModel | undefined;
40
+ /** How names show a tool's model: the catalog's label, else its id without the provider. */
41
+ export declare function modelLabel(tool: AgentTool, model: string): string;
42
+ /** An agent's name for a tool and model: "Claude · Opus 5.5". */
43
+ export declare function agentNameOf(tool: AgentTool, model: string): string;
44
+ /** Whether two ids of one tool's model name the same model. */
45
+ export declare function sameModel(tool: AgentTool, a: string, b: string): boolean;
46
+ /** Display identity only. Unknown models retain their provider; execution identity never changes. */
47
+ export declare function discoveryKey(tool: AgentTool, model: string): string;
48
+ //# sourceMappingURL=model-catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../shared/model-catalog.ts"],"names":[],"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