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

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 (286) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/README.md +33 -3
  3. package/dist/client/api/client.d.ts +3 -2
  4. package/dist/client/api/client.d.ts.map +1 -1
  5. package/dist/client/api/client.js +3 -0
  6. package/dist/client/api/client.js.map +1 -1
  7. package/dist/client/api/runners.d.ts +2 -2
  8. package/dist/client/api/runners.d.ts.map +1 -1
  9. package/dist/client/api/runners.js.map +1 -1
  10. package/dist/client/components/variables/variable-dialogs.d.ts.map +1 -1
  11. package/dist/client/components/variables/variable-dialogs.js +7 -7
  12. package/dist/client/components/variables/variable-dialogs.js.map +1 -1
  13. package/dist/client/config.d.ts +2 -0
  14. package/dist/client/config.d.ts.map +1 -1
  15. package/dist/client/config.js +2 -0
  16. package/dist/client/config.js.map +1 -1
  17. package/dist/client/lib/skill-settings-context.d.ts +9 -0
  18. package/dist/client/lib/skill-settings-context.d.ts.map +1 -0
  19. package/dist/client/lib/skill-settings-context.js +4 -0
  20. package/dist/client/lib/skill-settings-context.js.map +1 -0
  21. package/dist/client/lib/skill-settings.d.ts +12 -0
  22. package/dist/client/lib/skill-settings.d.ts.map +1 -0
  23. package/dist/client/lib/skill-settings.js +37 -0
  24. package/dist/client/lib/skill-settings.js.map +1 -0
  25. package/dist/client/locales/en-US.d.ts +2 -0
  26. package/dist/client/locales/en-US.d.ts.map +1 -1
  27. package/dist/client/locales/en-US.js +2 -0
  28. package/dist/client/locales/en-US.js.map +1 -1
  29. package/dist/client/locales/runtimes.en-US.d.ts +0 -1
  30. package/dist/client/locales/runtimes.en-US.d.ts.map +1 -1
  31. package/dist/client/locales/runtimes.en-US.js +0 -1
  32. package/dist/client/locales/runtimes.en-US.js.map +1 -1
  33. package/dist/client/locales/runtimes.zh-CN.d.ts.map +1 -1
  34. package/dist/client/locales/runtimes.zh-CN.js +0 -1
  35. package/dist/client/locales/runtimes.zh-CN.js.map +1 -1
  36. package/dist/client/locales/skills.en-US.d.ts +7 -0
  37. package/dist/client/locales/skills.en-US.d.ts.map +1 -1
  38. package/dist/client/locales/skills.en-US.js +8 -1
  39. package/dist/client/locales/skills.en-US.js.map +1 -1
  40. package/dist/client/locales/skills.zh-CN.d.ts.map +1 -1
  41. package/dist/client/locales/skills.zh-CN.js +8 -1
  42. package/dist/client/locales/skills.zh-CN.js.map +1 -1
  43. package/dist/client/locales/zh-CN.d.ts.map +1 -1
  44. package/dist/client/locales/zh-CN.js +2 -0
  45. package/dist/client/locales/zh-CN.js.map +1 -1
  46. package/dist/client/pages/agents/agent-dialog.d.ts.map +1 -1
  47. package/dist/client/pages/agents/agent-dialog.js +4 -4
  48. package/dist/client/pages/agents/agent-dialog.js.map +1 -1
  49. package/dist/client/pages/runtimes/connect.js.map +1 -1
  50. package/dist/client/pages/runtimes/index.js.map +1 -1
  51. package/dist/client/pages/runtimes/runner-cells.d.ts +3 -3
  52. package/dist/client/pages/runtimes/runner-cells.d.ts.map +1 -1
  53. package/dist/client/pages/runtimes/runner-sheet.d.ts +2 -2
  54. package/dist/client/pages/runtimes/runner-sheet.d.ts.map +1 -1
  55. package/dist/client/pages/runtimes/runner-sheet.js +15 -1
  56. package/dist/client/pages/runtimes/runner-sheet.js.map +1 -1
  57. package/dist/client/pages/runtimes/workspace-diagnostics.d.ts +2 -2
  58. package/dist/client/pages/runtimes/workspace-diagnostics.d.ts.map +1 -1
  59. package/dist/client/pages/runtimes/workspace-diagnostics.js +3 -5
  60. package/dist/client/pages/runtimes/workspace-diagnostics.js.map +1 -1
  61. package/dist/client/pages/skills/detail/index.d.ts.map +1 -1
  62. package/dist/client/pages/skills/detail/index.js +11 -15
  63. package/dist/client/pages/skills/detail/index.js.map +1 -1
  64. package/dist/client/pages/skills/index.d.ts.map +1 -1
  65. package/dist/client/pages/skills/index.js +2 -2
  66. package/dist/client/pages/skills/index.js.map +1 -1
  67. package/dist/database/migrations/.manifest.json +14 -2
  68. package/dist/database/migrations/202610020003_ag_create_runs.d.ts.map +1 -1
  69. package/dist/database/migrations/202610020003_ag_create_runs.js +0 -1
  70. package/dist/database/migrations/202610020003_ag_create_runs.js.map +1 -1
  71. package/dist/database/migrations/202610250001_ag_comment_runner_consent.d.ts +4 -0
  72. package/dist/database/migrations/202610250001_ag_comment_runner_consent.d.ts.map +1 -0
  73. package/dist/database/migrations/202610250001_ag_comment_runner_consent.js +41 -0
  74. package/dist/database/migrations/202610250001_ag_comment_runner_consent.js.map +1 -0
  75. package/dist/database/migrations/202610260001_ag_drop_directory_index.d.ts +4 -0
  76. package/dist/database/migrations/202610260001_ag_drop_directory_index.d.ts.map +1 -0
  77. package/dist/database/migrations/202610260001_ag_drop_directory_index.js +24 -0
  78. package/dist/database/migrations/202610260001_ag_drop_directory_index.js.map +1 -0
  79. package/dist/database/migrations/202610260001_ag_run_revision.d.ts +4 -0
  80. package/dist/database/migrations/202610260001_ag_run_revision.d.ts.map +1 -0
  81. package/dist/database/migrations/202610260001_ag_run_revision.js +19 -0
  82. package/dist/database/migrations/202610260001_ag_run_revision.js.map +1 -0
  83. package/dist/package.json +1 -1
  84. package/dist/server/cli/surface.d.ts.map +1 -1
  85. package/dist/server/cli/surface.js +4 -1
  86. package/dist/server/cli/surface.js.map +1 -1
  87. package/dist/server/composition.d.ts +4 -0
  88. package/dist/server/composition.d.ts.map +1 -1
  89. package/dist/server/composition.js +23 -4
  90. package/dist/server/composition.js.map +1 -1
  91. package/dist/server/core/agents/agent.service.d.ts.map +1 -1
  92. package/dist/server/core/agents/agent.service.js +5 -1
  93. package/dist/server/core/agents/agent.service.js.map +1 -1
  94. package/dist/server/core/agents/agent.store.d.ts +3 -1
  95. package/dist/server/core/agents/agent.store.d.ts.map +1 -1
  96. package/dist/server/core/agents/agent.store.js +13 -6
  97. package/dist/server/core/agents/agent.store.js.map +1 -1
  98. package/dist/server/core/agents/index.d.ts +1 -1
  99. package/dist/server/core/agents/index.d.ts.map +1 -1
  100. package/dist/server/core/agents/index.js +1 -1
  101. package/dist/server/core/agents/index.js.map +1 -1
  102. package/dist/server/core/brief/brief.js +3 -3
  103. package/dist/server/core/brief/brief.js.map +1 -1
  104. package/dist/server/core/callers/index.d.ts +9 -0
  105. package/dist/server/core/callers/index.d.ts.map +1 -1
  106. package/dist/server/core/callers/index.js +15 -0
  107. package/dist/server/core/callers/index.js.map +1 -1
  108. package/dist/server/core/conversations/chat-settings.d.ts.map +1 -1
  109. package/dist/server/core/conversations/chat-settings.js +12 -2
  110. package/dist/server/core/conversations/chat-settings.js.map +1 -1
  111. package/dist/server/core/conversations/conversation.service.d.ts.map +1 -1
  112. package/dist/server/core/conversations/conversation.service.js +3 -0
  113. package/dist/server/core/conversations/conversation.service.js.map +1 -1
  114. package/dist/server/core/reports/model-usage.d.ts.map +1 -1
  115. package/dist/server/core/reports/model-usage.js +42 -44
  116. package/dist/server/core/reports/model-usage.js.map +1 -1
  117. package/dist/server/core/reports/prices.d.ts.map +1 -1
  118. package/dist/server/core/reports/prices.js +29 -5
  119. package/dist/server/core/reports/prices.js.map +1 -1
  120. package/dist/server/core/reports/report.service.d.ts +4 -2
  121. package/dist/server/core/reports/report.service.d.ts.map +1 -1
  122. package/dist/server/core/reports/report.service.js +147 -68
  123. package/dist/server/core/reports/report.service.js.map +1 -1
  124. package/dist/server/core/runs/claim.d.ts +17 -3
  125. package/dist/server/core/runs/claim.d.ts.map +1 -1
  126. package/dist/server/core/runs/claim.js +325 -70
  127. package/dist/server/core/runs/claim.js.map +1 -1
  128. package/dist/server/core/runs/comment-consent.d.ts +24 -0
  129. package/dist/server/core/runs/comment-consent.d.ts.map +1 -0
  130. package/dist/server/core/runs/comment-consent.js +116 -0
  131. package/dist/server/core/runs/comment-consent.js.map +1 -0
  132. package/dist/server/core/runs/execution.d.ts +1 -1
  133. package/dist/server/core/runs/execution.d.ts.map +1 -1
  134. package/dist/server/core/runs/execution.js +7 -2
  135. package/dist/server/core/runs/execution.js.map +1 -1
  136. package/dist/server/core/runs/identity.d.ts +3 -0
  137. package/dist/server/core/runs/identity.d.ts.map +1 -1
  138. package/dist/server/core/runs/identity.js +38 -12
  139. package/dist/server/core/runs/identity.js.map +1 -1
  140. package/dist/server/core/runs/index.d.ts +2 -2
  141. package/dist/server/core/runs/index.d.ts.map +1 -1
  142. package/dist/server/core/runs/index.js +2 -2
  143. package/dist/server/core/runs/index.js.map +1 -1
  144. package/dist/server/core/runs/input-gate.d.ts.map +1 -1
  145. package/dist/server/core/runs/input-gate.js +4 -0
  146. package/dist/server/core/runs/input-gate.js.map +1 -1
  147. package/dist/server/core/runs/lifecycle.d.ts.map +1 -1
  148. package/dist/server/core/runs/lifecycle.js +71 -35
  149. package/dist/server/core/runs/lifecycle.js.map +1 -1
  150. package/dist/server/core/runs/policy.d.ts +9 -2
  151. package/dist/server/core/runs/policy.d.ts.map +1 -1
  152. package/dist/server/core/runs/policy.js +17 -8
  153. package/dist/server/core/runs/policy.js.map +1 -1
  154. package/dist/server/core/runs/ports.d.ts +8 -1
  155. package/dist/server/core/runs/ports.d.ts.map +1 -1
  156. package/dist/server/core/runs/ports.js.map +1 -1
  157. package/dist/server/core/runs/run-data-purge.d.ts +15 -0
  158. package/dist/server/core/runs/run-data-purge.d.ts.map +1 -0
  159. package/dist/server/core/runs/run-data-purge.js +82 -0
  160. package/dist/server/core/runs/run-data-purge.js.map +1 -0
  161. package/dist/server/core/runs/run-requests.d.ts +25 -0
  162. package/dist/server/core/runs/run-requests.d.ts.map +1 -1
  163. package/dist/server/core/runs/run-requests.js +131 -63
  164. package/dist/server/core/runs/run-requests.js.map +1 -1
  165. package/dist/server/core/runs/run.service.d.ts +19 -1
  166. package/dist/server/core/runs/run.service.d.ts.map +1 -1
  167. package/dist/server/core/runs/run.service.js +523 -35
  168. package/dist/server/core/runs/run.service.js.map +1 -1
  169. package/dist/server/core/runs/run.store.d.ts +10 -0
  170. package/dist/server/core/runs/run.store.d.ts.map +1 -1
  171. package/dist/server/core/runs/run.store.js +38 -11
  172. package/dist/server/core/runs/run.store.js.map +1 -1
  173. package/dist/server/core/runs/runner-view.d.ts +5 -0
  174. package/dist/server/core/runs/runner-view.d.ts.map +1 -1
  175. package/dist/server/core/runs/runner-view.js +5 -1
  176. package/dist/server/core/runs/runner-view.js.map +1 -1
  177. package/dist/server/core/runs/sweeper.d.ts +1 -0
  178. package/dist/server/core/runs/sweeper.d.ts.map +1 -1
  179. package/dist/server/core/runs/sweeper.js +13 -8
  180. package/dist/server/core/runs/sweeper.js.map +1 -1
  181. package/dist/server/core/runs/transitions.d.ts +5 -2
  182. package/dist/server/core/runs/transitions.d.ts.map +1 -1
  183. package/dist/server/core/runs/transitions.js +42 -14
  184. package/dist/server/core/runs/transitions.js.map +1 -1
  185. package/dist/server/core/runs/workload.d.ts +17 -6
  186. package/dist/server/core/runs/workload.d.ts.map +1 -1
  187. package/dist/server/core/runs/workload.js +182 -126
  188. package/dist/server/core/runs/workload.js.map +1 -1
  189. package/dist/server/core/skills/skill.service.d.ts +6 -2
  190. package/dist/server/core/skills/skill.service.d.ts.map +1 -1
  191. package/dist/server/core/skills/skill.service.js +87 -66
  192. package/dist/server/core/skills/skill.service.js.map +1 -1
  193. package/dist/server/core/skills/skill.store.d.ts +14 -0
  194. package/dist/server/core/skills/skill.store.d.ts.map +1 -1
  195. package/dist/server/core/skills/skill.store.js +30 -0
  196. package/dist/server/core/skills/skill.store.js.map +1 -1
  197. package/dist/server/core/transaction-read.d.ts +4 -0
  198. package/dist/server/core/transaction-read.d.ts.map +1 -0
  199. package/dist/server/core/transaction-read.js +30 -0
  200. package/dist/server/core/transaction-read.js.map +1 -0
  201. package/dist/server/core/variables/index.d.ts +1 -1
  202. package/dist/server/core/variables/index.d.ts.map +1 -1
  203. package/dist/server/core/variables/index.js.map +1 -1
  204. package/dist/server/core/variables/variable.service.d.ts +11 -0
  205. package/dist/server/core/variables/variable.service.d.ts.map +1 -1
  206. package/dist/server/core/variables/variable.service.js +63 -20
  207. package/dist/server/core/variables/variable.service.js.map +1 -1
  208. package/dist/server/kernel/scopes.d.ts +6 -0
  209. package/dist/server/kernel/scopes.d.ts.map +1 -1
  210. package/dist/server/kernel/scopes.js +3 -1
  211. package/dist/server/kernel/scopes.js.map +1 -1
  212. package/dist/server/online/services.d.ts.map +1 -1
  213. package/dist/server/online/services.js +101 -24
  214. package/dist/server/online/services.js.map +1 -1
  215. package/dist/server/providers/agents.d.ts +12 -0
  216. package/dist/server/providers/agents.d.ts.map +1 -1
  217. package/dist/server/providers/agents.js +6 -0
  218. package/dist/server/providers/agents.js.map +1 -1
  219. package/dist/server/providers/runners.d.ts +3 -1
  220. package/dist/server/providers/runners.d.ts.map +1 -1
  221. package/dist/server/providers/runners.js +35 -3
  222. package/dist/server/providers/runners.js.map +1 -1
  223. package/dist/server/routes/admin.d.ts +2 -0
  224. package/dist/server/routes/admin.d.ts.map +1 -1
  225. package/dist/server/routes/admin.js +30 -8
  226. package/dist/server/routes/admin.js.map +1 -1
  227. package/dist/server/routes/chat.d.ts.map +1 -1
  228. package/dist/server/routes/chat.js +27 -6
  229. package/dist/server/routes/chat.js.map +1 -1
  230. package/dist/server/routes/index.d.ts.map +1 -1
  231. package/dist/server/routes/index.js +3 -0
  232. package/dist/server/routes/index.js.map +1 -1
  233. package/dist/server/routes/run-requests.js +3 -3
  234. package/dist/server/routes/run-requests.js.map +1 -1
  235. package/dist/server/routes/runners/admin.d.ts.map +1 -1
  236. package/dist/server/routes/runners/admin.js +55 -9
  237. package/dist/server/routes/runners/admin.js.map +1 -1
  238. package/dist/server/routes/runners/install.d.ts.map +1 -1
  239. package/dist/server/routes/runners/install.js +7 -2
  240. package/dist/server/routes/runners/install.js.map +1 -1
  241. package/dist/server/routes/runners/runner.d.ts.map +1 -1
  242. package/dist/server/routes/runners/runner.js +2 -0
  243. package/dist/server/routes/runners/runner.js.map +1 -1
  244. package/dist/server/routes/schemas.d.ts +7 -1
  245. package/dist/server/routes/schemas.d.ts.map +1 -1
  246. package/dist/server/routes/schemas.js +201 -66
  247. package/dist/server/routes/schemas.js.map +1 -1
  248. package/dist/server/runners/runner.service.d.ts +22 -2
  249. package/dist/server/runners/runner.service.d.ts.map +1 -1
  250. package/dist/server/runners/runner.service.js +138 -56
  251. package/dist/server/runners/runner.service.js.map +1 -1
  252. package/dist/server/runners/runner.store.d.ts +2 -2
  253. package/dist/server/runners/runner.store.d.ts.map +1 -1
  254. package/dist/server/runners/runner.store.js +8 -5
  255. package/dist/server/runners/runner.store.js.map +1 -1
  256. package/dist/server/runners/slots.d.ts +5 -2
  257. package/dist/server/runners/slots.d.ts.map +1 -1
  258. package/dist/server/runners/slots.js +3 -4
  259. package/dist/server/runners/slots.js.map +1 -1
  260. package/dist/server/tokens.d.ts +1 -0
  261. package/dist/server/tokens.d.ts.map +1 -1
  262. package/dist/server/tokens.js +1 -0
  263. package/dist/server/tokens.js.map +1 -1
  264. package/dist/shared/agents.d.ts +0 -2
  265. package/dist/shared/agents.d.ts.map +1 -1
  266. package/dist/shared/agents.js.map +1 -1
  267. package/dist/shared/conversations.d.ts +2 -0
  268. package/dist/shared/conversations.d.ts.map +1 -1
  269. package/dist/shared/conversations.js.map +1 -1
  270. package/dist/shared/runners.d.ts +11 -2
  271. package/dist/shared/runners.d.ts.map +1 -1
  272. package/dist/shared/runners.js.map +1 -1
  273. package/dist/shared/runs.d.ts +18 -0
  274. package/dist/shared/runs.d.ts.map +1 -1
  275. package/dist/shared/runs.js +22 -0
  276. package/dist/shared/runs.js.map +1 -1
  277. package/dist/shared/skills.d.ts +11 -5
  278. package/dist/shared/skills.d.ts.map +1 -1
  279. package/dist/shared/skills.js +7 -2
  280. package/dist/shared/skills.js.map +1 -1
  281. package/dist/shared/variables.js +1 -1
  282. package/dist/shared/variables.js.map +1 -1
  283. package/package.json +15 -15
  284. package/skills/nocobase-app-plugin-agents/references/extension-points.md +19 -19
  285. package/skills/nocobase-app-plugin-agents/references/runners.md +6 -0
  286. package/skills/nocobase-app-plugin-agents/references/variables-skills-usage.md +3 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,100 @@
1
1
  # @nocobase/app-plugin-agents
2
2
 
3
+ ## 0.1.0-beta.12
4
+
5
+ ### Minor Changes
6
+
7
+ - c28f719: The agent queue reads a fixed number of queries however many runs are held or queued: each queued row carries the claim rules' quick explanation, the newest activity of all held runs takes two reads, and the exact reason a queued run waits is read only when its row is unfolded (`RunService.queueWait`, `GET /api/agentBoard/issues/:issueId/agents/:agentId/wait`). The queue refreshes from coalesced announcements with a 45-second fallback poll, and the agents' work marks on issue lists refresh only for announcements about the issues shown, with a 60-second fallback poll.
8
+
9
+ ### Patch Changes
10
+
11
+ - 14b7aec: Make the run retry back-off and the runners sweep interval configurable: `agents.runs.retryBaseDelayMs` sets the first back-off of a failed run attempt (30 seconds by default, still doubling up to ten minutes) and `agents.runners.sweepIntervalMs` how often the sweep runs (30 seconds by default). The defaults are unchanged; shorter values are meant for tests.
12
+ - 56251bc: Reuse issue context, previous summaries, comment deltas and initialization reads for matching parameters within a transaction, reducing repeated work during runner claims.
13
+ - ff3ce5d: Clarify that native agents must use the CLI for management operations while explicitly authorized independent test instances allow browser and HTTP verification, with existing credential and permission protections preserved.
14
+ - f1f3bd7: Read the dashboard, usage and metrics reports with a fixed number of queries whatever the number of issues, runs and usage records: runs, usage and issues are read in one query each with only the columns the figures use, model usage outside runs is summed in the database, and issue facts are read in three queries instead of two per 200 issues. The Studio dashboard now loads each panel from its own route, `GET /api/reports/delivery`, `GET /api/reports/agents` and `GET /api/reports/projects` (CLI `report delivery`, `report agents`, `report projects`), each loading, failing and refreshing on its own; `GET /api/reports/dashboard` and `report dashboard` are removed.
15
+ - 644a773: Reuse claim-local run, capacity, skill and sealed variable reads, batch candidate agent reads, and update routine runner activity timestamps without a separate transaction while preserving dispatch writes and delivery audits.
16
+ - 8b9fff1: Read run status without a transaction when no new input needs delivery, while preserving cancellation, lease ownership checks, and input redelivery.
17
+ - 616561b: Give dispatched agent runs five minutes to start while their runtime stays online. Immediately requeue server-reclaimed pre-start runtime interruptions without consuming failure attempts or losing unhandled input, stopping after ten consecutive interruptions. Count runner-reported worker startup failures against the normal failure budget with backoff, and distinguish terminal runtime failures from agent failures. Count and list only inbox decisions whose in-app messages still exist, filtering before pagination.
18
+ - f2fa59b: Revoke all prior runner registrations and keys when the same owner registers the same name and host again, without a registration lock or new table. Simultaneous registrations may temporarily leave multiple active records, which the next registration revokes. Add a paginated runtime token list that exposes only usable token metadata within the caller's permissions, provide executable revoke/delete guidance, and require an explicit server for runner installation before any files are installed.
19
+ - 7abd72b: Allow administrators to configure global and new-project skill defaults in the attachment section, and show visible attachment targets by name with project settings links. Align new-project defaults CLI access with the existing settings permissions.
20
+ - c2132c9: Return only workspace totals from the runner list API and `runtime list`, read independent runner summaries concurrently, and fetch directory diagnostics when opening a runner's details. Scripts reading `workspaceUsage.workspaces` from the list must use `runtime get` or the single-runner API instead. The CLI table now includes directory counts, unpushed counts and free disk bytes.
21
+ - e94b470: Send selected PNG and JPEG images through the existing conversation attachment flow when organizing requirements. Keep the source requirements and files in memory across navigation, with a manual return to edit or choose another agent after a reading failure.
22
+ - 49f61b9: Show optional settings permissions separately from business actions in CLI identity output, and explain run-token-only permissions. Add available-command typo suggestions, a hint for truncated text, and clean shutdown when a pipe closes early. Describe route schema inputs so generated CLI help and reference tables explain their parameters. The manifest identity and whoami JSON result gain an optional settings list; command admission and authorization are unchanged.
23
+ - e8f52c9: Keep variable and agent capability dialog actions reachable by limiting dialog height and scrolling long form content internally.
24
+ - Updated dependencies [846e75f]
25
+ - Updated dependencies [d34b6eb]
26
+ - Updated dependencies [98b3862]
27
+ - Updated dependencies [525ace4]
28
+ - Updated dependencies [1cdbaf4]
29
+ - Updated dependencies [5fe8773]
30
+ - Updated dependencies [b22d999]
31
+ - Updated dependencies [616561b]
32
+ - Updated dependencies [83e3609]
33
+ - Updated dependencies [00c5970]
34
+ - Updated dependencies [0037dd2]
35
+ - Updated dependencies [55fcee1]
36
+ - Updated dependencies [c0b7537]
37
+ - Updated dependencies [eb4b081]
38
+ - Updated dependencies [14b7aec]
39
+ - Updated dependencies [49f61b9]
40
+ - Updated dependencies [0037dd2]
41
+ - @nocobase/app-cli-client@0.1.0-beta.8
42
+ - @nocobase/app-cli@1.0.0-beta.23
43
+ - @nocobase/db@1.0.0-beta.21
44
+ - @nocobase/app-client@3.0.0-beta.2
45
+ - @nocobase/app-server@2.0.0-beta.8
46
+ - @nocobase/agent-protocol@0.1.0-beta.9
47
+ - @nocobase/app-plugin-file@1.0.0-beta.24
48
+ - @nocobase/app-plugin-authentication@2.0.0-beta.10
49
+ - @nocobase/app-plugin-authorization@1.0.0-beta.28
50
+ - @nocobase/authorization@1.0.0-beta.14
51
+ - @nocobase/i18n@1.0.0-beta.7
52
+ - @nocobase/markdown-mermaid@0.1.0-beta.2
53
+ - @nocobase/service-provider@0.0.2-beta.2
54
+
55
+ ## 0.1.0-beta.11
56
+
57
+ ### Minor Changes
58
+
59
+ - 862a542: Support global default skills and transactional defaults for newly created Studio projects. Resolve skills from global through application scopes to working directories in one query, with more specific targets winning. Stop reading and exposing legacy agent skill attachments while preserving agent variables.
60
+ - aae3508: Clear finished runs' events and prompt snapshots hourly after a configurable retention period, defaulting to 14 days. Keep run history and delivery records, and show a retention notice when an expired run has no process data.
61
+
62
+ ### Patch Changes
63
+
64
+ - 42aaf81: Append authorized project manager follow-ups to compatible active runs, deduplicate source comments, preserve comment authorization when dispatching multiple agents, and guard run completion with Collection optimistic revisions.
65
+ - 8e4cf26: Recover runners and agent-session bridges after a protocol upgrade. Heartbeat answers now carry the server's runner protocol (`protocolVersion`), and a runner that speaks an older protocol while no newer version is offered logs what it speaks, what the application needs and how to update, instead of looking up to date. A bridge refused for its protocol now receives the protocols the application speaks in the error's `metadata`; `acp start` then updates the CLI as `update` does and exits non-zero so its launchd, systemd or Startup service starts it again on the new version, and when no update helps it still exits non-zero after a pause rather than stopping with success. A computer whose bridge was refused as too old is shown on My agents with the commands to update it.
66
+ - facfe5c: Clear failures when a retried agent run is dispatched or succeeds, and show queued retry explanations separately from current failures while preserving historical errors.
67
+ - c1d2601: Claim polls no longer lock or write anything for queued runs they cannot take: comment consent, identity and the agent's concurrency limit are decided from reads, and a transaction opens only for the run about to be claimed. Consent decisions use guarded updates on the request and on each run instead of locking the whole comment run chain, which had exhausted the database pool when several runners polled at once.
68
+ - c1d2601: Require owner consent before another person's comment can run on the owner's personal runner. Team runners can take the queued work directly. Keep consent within the comment's run chain, show decisions in Studio's existing Needs you card and inbox, and let the original commenter run pending or rejected work as themselves.
69
+ - 92afa27: Make My follow-ups fast for someone who owns many open issues. `GET /api/followUps` reads what every row's progress needs in a fixed number of queries instead of a few per issue, and a row no longer works out why queued work has not been claimed (`waiting`, `managerWait`): the issue's own progress (`GET /api/issueProgress/{issueId}`), shown beside the list, still does. A new `GET /api/followUps/issues?issueIds=…` answers the rows of the named issues, and the page uses it to refresh only the rows an announced change names, a burst at a time, reading the whole overview again only when the list itself changed, on reconnect, for a change that names no issue, and on its fallback poll. The follow star on an issue reads only what the viewer follows from a new `GET /api/followUps/following` (`follow-up following` on the command line) instead of the whole overview, and an agent session's issue progress reads its issues in the same fixed number of queries. The projects plugin's comment queries gain `newestByEach`, the agents plugin's runs gain `openOnEach`, and its run request list takes `subjectIds` and `statuses`.
70
+ - 943a9a8: Fix MySQL installation of the agents and releases plugins by removing the unused directory/status index and limiting archive artifact keys to 172 characters while preserving full-value uniqueness. Add a Collection builder inspection method and forward migrations to converge existing installations without truncating data; oversized legacy artifact keys stop the upgrade before any column or index change. Rebuild the existing artifact-key unique index within the migration transaction on SQL Server so indexed legacy columns can be shortened while retaining uniqueness, nullable behavior and the actual index name under custom naming configurations.
71
+
72
+ This fix edits the released migrations `202610020003_ag_create_runs` and `202610020001_rel_create_tables` because their oversized indexes prevent fresh MySQL installations from reaching a later repair migration. Existing installations should expect checksum warnings on the next `nocobase db apply`; installations using `onChecksumMismatch: error` stop instead. After reviewing these exact changes, use `nocobase db repair --dry-run` and then `nocobase db repair` to acknowledge the new checksums, followed by `nocobase db apply` to perform the forward schema changes. Repairing checksums alone does not upgrade the schema. The forward corrections are irreversible because restoring the old indexes would make MySQL installations invalid again. See the plugins' `docs/mysql-installation-upgrade.md` for the upgrade and failed-installation recovery procedure.
73
+
74
+ - 4626949: Start issue runs from the earliest linked open pull request in the same repository, allow agents to manage branches and pull request associations without rewriting pushed history, and preserve shared local branches and stashes when removing run worktrees. Only published runner-created temporary branches are cleaned up. A run that ends on another branch is preserved by that branch, without a saved head or push failure on the starting target.
75
+ - c1d2601: Preserve owner-initiated comment delegation without extra personal runner consent and retain every unfinished target and input when the commenter chooses Run as me.
76
+ - bdb0581: Reduce the server load of open issue and My follow-ups pages. Issue change announcements are gathered for a moment and name the issues that changed, so a page refreshes only what it shows of them; Studio announces new runs on an issue, so issue pages, What it waits for, owner handoffs and My follow-ups fall back to a slow poll instead of polling every few seconds; a preview label the server failed to set no longer makes the issue page poll every three seconds. Polled reads check issue visibility without loading the whole issue page (`IssueQueries.visible`), What it waits for reads only the project manager's newest comments (`CommentQueries.newestBy`), My follow-ups shares lookups across its issues, and pull request marks check visibility in one read. A runner heartbeat no longer announces a runner change, waking every waiting claim and refreshing every runtimes page, unless its disk sample moved by a gigabyte, crossed the free-space threshold or changed size.
77
+ - f36da62: Keep a runner claiming work while it collects working directories. Collection no longer measures every directory's size by reading every file, which on runners with many directories took tens of minutes per round and held all claims meanwhile; only pruning the shared pnpm store still holds claims. Routine collection now runs an hour after the previous round ended (`WORKSPACE_REPORT_INTERVAL_MS`), still at once when the disk runs low, and the runner logs each round's start and duration. Workspace diagnostics show a directory's size only when a runner reported one.
78
+ - 99be3d0: Use short private per-run temporary directories on Linux and macOS so Unix sockets can start, reserve TMP and TEMP alongside TMPDIR, and reclaim temporary files through the existing run lifecycle and garbage collection.
79
+ - bdb0581: A public realtime topic can be defined with `authenticated: true` (`defineTopic` and `registerTopic` of `@nocobase/app-server/realtime`): subscribing without a signed-in principal is then refused with `AUTHENTICATION_REQUIRED`, as for a user topic, and publishing skips connections without one. The projects plugin's `pm:changes`, the agents plugin's `agents:runners` and Studio's `studio:issues:runs`, whose announcements name records by id, now reach signed-in connections only. The authentication plugin opens the realtime connection again when the signed-in person changes, so a page signed in without a reload receives these topics and user topics.
80
+ - Updated dependencies [8e4cf26]
81
+ - Updated dependencies [69e212c]
82
+ - Updated dependencies [943a9a8]
83
+ - Updated dependencies [943a9a8]
84
+ - Updated dependencies [e23633e]
85
+ - Updated dependencies [1cd749c]
86
+ - Updated dependencies [f36da62]
87
+ - Updated dependencies [bdb0581]
88
+ - Updated dependencies [9b946f4]
89
+ - @nocobase/agent-protocol@0.1.0-beta.8
90
+ - @nocobase/app-cli-client@0.1.0-beta.7
91
+ - @nocobase/app-server@2.0.0-beta.7
92
+ - @nocobase/app-cli@1.0.0-beta.22
93
+ - @nocobase/db@1.0.0-beta.20
94
+ - @nocobase/app-plugin-authentication@2.0.0-beta.9
95
+ - @nocobase/app-plugin-file@1.0.0-beta.23
96
+ - @nocobase/app-plugin-authorization@1.0.0-beta.27
97
+
3
98
  ## 0.1.0-beta.10
4
99
 
5
100
  ### Minor Changes
package/README.md CHANGED
@@ -1,15 +1,21 @@
1
1
  # @nocobase/app-plugin-agents
2
2
 
3
+ Applications may restrict personal runner use for comment-origin work by supplying `EnqueueRequest.comment` only at their authenticated comment entry point and binding `SubjectBinding.commentOwnerKey` and `responsibleUserId`. Runs share their first comment run as `commentRootRunId`; independent events carry no comment fields. Unconfirmed external comment work remains queued for team runners. When no compatible team runner exists, a `personalRunner` run request releases the existing chain on confirmation instead of creating another run. The original requester can use the existing `runAsMe` endpoint from a pending or rejected personal runner request; rejection remains recorded. Claims, decisions and input merging enforce this boundary on the server without changing the runner protocol.
4
+
3
5
  Agents for NocoBase applications: the agents discovered from the runners people connect, their runs, and people's conversations with agents. Agents run on runners (each a runtime: a runner on a server, a VM or someone's own device), which this plugin registers, hands work to and serves the runner and CLI tarballs for; the wire protocol runners and the application's CLI speak is `@nocobase/agent-protocol`, and the runner is `@nocobase/agent-runner` (`nocobase-runner`).
4
6
 
5
7
  Workspace cleanup supports optional application bindings for legacy subject keys (`SubjectWorkspaces.resolveKeys`) and trusted merged PR head evidence by repository (`SubjectWorkspaces.commits`). Ownership must be confirmed from saved runs; settlement never bypasses local tracked-change, commit or submodule checks. Runtime diagnostics require the existing machine-information permission and distinguish ended work, allowed cleanup and retained work, with the workspace report's timestamp. See [workspace cleanup integration](https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-agents/docs/workspace-cleanup.md) for the protocol, binding rules and compatibility behavior.
6
8
 
9
+ `GET /api/agents/runners` and `runtime list` return workspace totals only: disk capacity, directory count, unpushed count, collection time, disk measurement time and report interval. They omit `workspaceUsage.workspaces`. Open a runtime's details, call `GET /api/agents/runners/:runnerId`, or use `runtime get` to load directory diagnostics. Directory paths and cleanup evidence retain the existing machine-information permission checks; callers without that permission receive an empty directory array in the detail response. The list uses stored totals without normalizing directory entries (older reports without totals still derive them); database reads and permissions are unchanged.
10
+
7
11
  Nobody creates an agent. Each coding tool and model a runner reports signed in becomes one agent (`AgentService.syncRunner`, in the transaction of the runner's report), named from the model catalog that ships with the plugin (`shared/model-catalog.ts`: `normalizeModel` makes one model reported under two spellings one agent, and `agentNameOf` names it, such as "Claude · Opus 5.5" for Claude Code's `claude-opus-5-5`; a model the catalog does not know is named after its id), and starts **pending**. Someone who manages agents writes what it is good at, starting from the catalog's suggestion, picks its default reasoning effort and enables it; only **enabled** agents are offered work, and an agent may be disabled again. An application may also keep agents of its own (`ensureSystem`, `source` `system`), such as a project manager, whose name, instructions, business actions and models it writes itself. There are no online agents: the model services this plugin keeps serve the application's own model calls (embeddings, reranking, short texts), not agents.
8
12
 
9
13
  The plugin knows no domain of its own beyond conversations: what agents work on (subjects), the scopes variables are kept in, the business actions an agent may be given and those every discovered agent gets, and the report pages are the application's, which contributes them through the extension points below; the CLI's business commands are the application's own routes, each described with `cliRoute()`. The assembling application does it in `server/agents` and `client/agents`. With nothing contributed, the plugin still runs agents in conversations on runners, with its own commands.
10
14
 
11
15
  ## What it does
12
16
 
17
+ Registering the same runner name and hostname again revokes every active prior registration and its keys for the token's owner, leaving other owners' runners untouched. Registration uses the existing transaction without a dedicated lock or additional table. Simultaneous registrations may leave multiple active records until the next registration cleans them up. Existing tasks continue through the usual sweep and retry rules.
18
+
13
19
  Applications forward the `notice` event of type `run_secrets_not_allowed` to the run's actor and owner: a personal runner left the run because some of its variables are for team runners only. Its subject is the run, its parameters are `runId`, `agentId` and `variables` (in words), and its key is stable per run. `notice.cleared` settles it once a runner takes the run.
14
20
 
15
21
  Repository access providers that mint credentials in `prepare` implement the idempotent `discard(run, prepared)` hook to revoke them when the claim is skipped or rolled back. It runs outside the transaction and receives the same prepared value as `forRun`. The application owns code host credentials and their revocation API; providers without this hook cannot revoke externally issued credentials.
@@ -20,13 +26,13 @@ Repository access providers that mint credentials in `prepare` implement the ide
20
26
  - **Jobs** (`agJobs`, `agJobEvents`): only for the off-by-default runner build method (such as an application's `acme.builds.method: runner`): a `build` (check out a commit, run an administrator's command, upload its outputs), of kinds the application registers (`jobs.register(kind, { validate, prepare, onEvent, onDone })`, then `jobs.enqueue`, `get` and `watch`). A runner takes a job only when it reports `jobs.build`, someone turned on "Takes build jobs" (`acceptJobs`), it is shared or belongs to who started the job, and its policy lets it check out the job's repository. Jobs retry `runnerOffline`, `leaseExpired`, `startTimeout`, `checkoutFailed` and `policyRefused` while attempts remain, and open the stored variables they name through this plugin's variables at claim, audited as delivered.
21
27
  - **Distribution**: the application serves two products as standalone tarballs that bundle Node, one per platform, or as one universal tarball (`cli build --universal`) that runs on the machine's Node.js 24 or newer and is served to every platform without one of its own, answered with `universal: true` (`server/distribution`): its CLI (`agents.cli.name`, such as `acme`) and the runner, `nocobase-runner` (`RUNNER_PRODUCT`). `pnpm nocobase cli build` of `@nocobase/app-cli` packs the CLI the application's `package.json` declares under `nocobase.cli`, and `cli build --runner` the runner, each into a directory of its own, `storage/runners/dist/<channel>/<product>/`, with a `manifest.json` of every file's SHA-256 and size, so CI builds them as separate artifacts mounted into storage, or an application builds them into its own build output and points `agents.dist.dir` there, as NocoBase Studio does. The install script installs the CLI under `~/.local/share/<cli>`: by default the CLI alone, with a download token any signed-in person mints (`POST /api/agents/dist/downloadTokens`, `agDownloadTokens`: the CLI for one platform, three downloads within 30 minutes), as `curl -fsSL <server>/api/agents/dist/installScript | sh -s -- --token <token>`; "Add runtime" shows the same line with `--runner --server <server>` and a registration token, which also installs `nocobase-runner` under `~/.local/share/nocobase-runner`, runs `nocobase-runner register` and `nocobase-runner service install` (an application that serves no CLI still gets its runtime). A token of the other kind fails before anything is installed. A runner reports the product it runs as on registration and every heartbeat (`agRunners.product`), and the heartbeat answer carries an `upgrade` notice when the channel serves a newer version of that product for the runner's platform; a runner that reports none (one from before) is offered no update, and the Runtimes page says to install it again. A product the directory has no current version of may be named on npm instead (`agents.dist.npm`: its package and exact version, which a machine installs with the Node.js 24 or later it already has): the resolve route answers `{ kind: 'npm', product, version, package, channel }` to a caller that sends `accept=npm`, and a heartbeat answer carries `npmUpgrade` to a runner with the `npm` feature when it runs an older version. Everyone else is answered as before (404, no update), and a product the directory has is always served from it. The install script, `<cli> update` and the runner's self-update all ask with `accept=npm` (the runner declares `npm`) and install an npm answer with the machine's npm into the same layout as a tarball: `npm install --prefix <prefix>/versions/<version> --no-save --no-audit --no-fund --omit=optional <package>@<version>`, then a launcher at `versions/<version>/bin/<command>` that starts `node_modules/.bin/<command>` on `<prefix>/node` (`npmLauncherScript` of `@nocobase/app-cli-client/install`).
22
28
 
23
- - **Runs** (`agRuns`): one agent working on one subject, keyed by (agent, subject, thread) (`agentType` is `runner`; `online` only on runs earlier versions kept). New work joins the run already on it as the same person (`actorUserId`) while that run can still be told, else that person's queued one, else starts a new run: work woken by different people never shares a run, so it neither borrows another's identity nor waits for a runner that will not take it. Runs of one key are still claimed one at a time, whoever they work as. Queued runs are claimed by `priority` (lower first; 0 by default), then oldest first; a run given a `fireAt` is not claimed before that moment. Work merged into a queued run raises it to the more urgent priority and the earlier moment of the two. A claim hands a run to a runner that fits in one transaction: the agent's tool enabled, installed and signed in there with its model among those the runner reports for the tool and not marked unavailable there (`runsEntry` in `shared/runners.ts`; recorded on the run as `tool` and `model` and passed to the tool; a model the tool's account cannot use fails the run `modelUnavailable` and marks that tool and model unavailable on the runner, `Runner.unavailableModels`, until it reports the tool's models differently), the runner shared with the team or owned by the person who woke the agent, its features covering what the run needs (worked out from the payload: checkouts, directories, skills, secrets), a team runner when one of the variables the run gets is for team runners only (`teamRunnersOnly`), and a free slot within the agent's concurrency. The variables are checked and opened in the claim's transaction, so the runner receives what was checked; a personal runner left out for them notes on the run which variables asked for a team runner (`teamOnlyVariables`, cleared when the run is taken, requeued or given new input), and its wait is `secretsNotAllowed` with those variables. Before a run exists, `eligibility` (`runnersFor`, `canClaim`, `mayQueue`, `teamOnly`) answers by the same rules whether a runner would take an agent's work done as a person, with the scopes and features the caller names; `availability` and `GET /api/agents/available` use it for the caller. A working directory that is a directory on one runner pins the run to that runner, one run at a time per directory. The claim renders the brief (kept per run, `agRunBriefs`), mints a run token, and hands over the working directories, the merged variables, the skills and the CLI to install. Events, usage and branches are recorded as the runner reports them; completing requires every input to be handled. A runner that finds the subject's working directory held by another live run reports `workspaceBusy`: the run goes back to the queue, freeing its slot, and is tried again after 30 seconds, doubling up to two minutes; these waits do not count against the agent's attempts, and the run fails `workspaceBusy` only once it has waited six hours (`WORKSPACE_WAIT_LIMIT_MS`).
29
+ - **Runs** (`agRuns`): one agent working on one subject, keyed by (agent, subject, thread) (`agentType` is `runner`; `online` only on runs earlier versions kept). New work joins the run already on it as the same person (`actorUserId`) while that run can still be told, else that person's queued one, else starts a new run: work woken by different people never shares a run, so it neither borrows another's identity nor waits for a runner that will not take it. Runs of one key are still claimed one at a time, whoever they work as. Queued runs are claimed by `priority` (lower first; 0 by default), then oldest first; a run given a `fireAt` is not claimed before that moment. Work merged into a queued run raises it to the more urgent priority and the earlier moment of the two. A claim hands a run to a runner that fits in one transaction: the agent's tool enabled, installed and signed in there with its model among those the runner reports for the tool and not marked unavailable there (`runsEntry` in `shared/runners.ts`; recorded on the run as `tool` and `model` and passed to the tool; a model the tool's account cannot use fails the run `modelUnavailable` and marks that tool and model unavailable on the runner, `Runner.unavailableModels`, until it reports the tool's models differently), the runner shared with the team or owned by the person who woke the agent, its features covering what the run needs (worked out from the payload: checkouts, directories, skills, secrets), a team runner when one of the variables the run gets is for team runners only (`teamRunnersOnly`), and a free slot within the agent's concurrency. The variables are checked and opened in the claim's transaction, so the runner receives what was checked; a personal runner left out for them notes on the run which variables asked for a team runner (`teamOnlyVariables`, cleared when the run is taken, requeued or given new input), and its wait is `secretsNotAllowed` with those variables. Before a run exists, `eligibility` (`runnersFor`, `canClaim`, `mayQueue`, `teamOnly`) answers by the same rules whether a runner would take an agent's work done as a person, with the scopes and features the caller names; `availability` and `GET /api/agents/available` use it for the caller. A working directory that is a directory on one runner pins the run to that runner, one run at a time per directory. The claim renders the brief (kept per run, `agRunBriefs`), mints a run token, and hands over the working directories, the merged variables, the skills and the CLI to install. Events, usage and branches are recorded as the runner reports them; completing requires every input to be handled. A failed attempt is tried again after 30 seconds (`agents.runs.retryBaseDelayMs`), doubling up to ten minutes, except when the runner went away or lost its lease, which retries at once. A runner that finds the subject's working directory held by another live run reports `workspaceBusy`: the run goes back to the queue, freeing its slot, and is tried again after 30 seconds, doubling up to two minutes; these waits do not count against the agent's attempts, and the run fails `workspaceBusy` only once it has waited six hours (`WORKSPACE_WAIT_LIMIT_MS`).
24
30
  - **Run requests** (`agRunRequests`): work someone asked of an agent on a subject another person answers for, waiting for that person to confirm it (see "Work someone else causes" below).
25
31
  - **Workload** (`runs.workload({ subjectKind, limit? })`, `shared/runs.ts`): the open runs on one kind of subject for a board of work, without claiming anything. Held runs come with their runner, the newest input's trigger and their newest text, tool call, status or error (`lastActivity`); queued runs with their place in the claim order (among the runs claimable now, and among the agent's) and why they wait, by the claim's own rules in its order (`RUN_WAIT_REASONS`: the agent not enabled, `agentArchived`, delayed until a moment, no runner online, the agent's named runners offline, its tool not signed in anywhere, only other people's personal runners, missing features, only personal runners whose owner may not receive the run's variables, the same work already held, the agent's concurrency full, every fitting runner busy, preparation retrying, or next). A wait is a code and the values its words need (`params`), never text: the client words it with `formatRunWait(t, wait)` from `client/runs.ts`, in this plugin's namespace (`runWait.reasons.<reason>`), which an application may override in its locale file or replace with its own formatter. It also answers each agent's load (held, queued, its limit, whether a runner could take its work) and the runners' (online, holding work, slots and slots used). It reads a bounded number of tables, never one query per subject; the caller decides what of it a person may see.
26
32
  - **Redaction**: what runners report is stored redacted. The runner redacts first; the server redacts every run event (content, output, input and meta), summary and failure detail, and every job event and failure detail again before storing them, with the protocol's redactor (`createRedactor` of `@nocobase/agent-protocol`): the secrets the claim handed out (a run's variables and token, a job's opened variables, repository token and upload headers, remembered in memory for recent claims) and the common secret patterns, each replaced with `[REDACTED]` (`server/kernel/redaction.ts`). After a restart, or on another instance, the patterns and the runner's own redaction still apply.
27
- - **The sweep** (`server/runners/sweeper.ts`, the `RunnersSweep` schedule every 30 seconds on the application's jobs service, or an in-process timer without one) marks runners not heard from for 150 s offline, takes jobs back from silent runners and fails jobs far past their timeout, and takes runs back from runners that went away, lost their lease or never started, fails runs idle for twice their idle timeout, records unacknowledged cancellations, cancels queued runs of archived agents, and fails a queued run that waited longer than its subject allows (`queuedExpiryMs` on the subject's binding, counted from the run's last change or from its `fireAt`) as `queuedExpired`.
33
+ - **The sweep** (`server/runners/sweeper.ts`, the `RunnersSweep` schedule every 30 seconds, or `agents.runners.sweepIntervalMs`, on the application's jobs service, or an in-process timer without one) marks runners not heard from for 150 s offline, takes jobs back from silent runners and fails jobs far past their timeout, and takes runs back from runners that went away, lost their lease or never started, fails runs idle for twice their idle timeout, records unacknowledged cancellations, cancels queued runs of archived agents, and fails a queued run that waited longer than its subject allows (`queuedExpiryMs` on the subject's binding, counted from the run's last change or from its `fireAt`) as `queuedExpired`.
28
34
  - **Variables** (`agSecrets`): environment variables for the agent's process, every one a secret sealed with the application's secrets service (`secrets.keys`) and bound to its scope and name, set on an agent, a working directory (`workdir`) or a scope the application registers, merged for a run in the order the subject names its scopes < its working directories < the agent, delivered only to runners with the `secrets` feature: to whichever runner takes the run, a personal runner of anyone who may use the agent included, since sharing an agent shares the tokens it works with. A variable marked `teamRunnersOnly` (off by default; `PUT /api/agents/variables/...` with `teamRunnersOnly`, and without `value` to change only that) keeps runs and jobs that get it on team runners. Jobs check the exact variables referenced by their prepared spec, including repository credentials, before opening any value in the claim transaction; a personal runner skips such a job without counting a preparation failure, leaving it queued for a team runner and continuing to other jobs. Values are write-only; reading them back and every delivery are audited (`agSecretAudits`).
29
- - **Skills** (`agSkills`, `agSkillVersions`, `agSkillAttachments`): a library of skills in the open Agent Skills format (https://agentskills.io/specification): a directory of `SKILL.md` and supporting files, conventionally under `scripts/`, `references/` and `assets/`. Only the front matter of `SKILL.md` names and describes a skill: `name` (1–64 lower-case letters, digits and single hyphens) is its slug and directory, so a save that changes it renames the skill, and `description` (1–1024 characters) is required; `license`, `compatibility` (at most 500 characters), `metadata` (string values) and `allowed-tools` are checked when present, and other keys are kept. Every create, save, restore and import is checked against these rules in the browser as it is typed and on the server (`shared/skill-markdown.ts`), which answers 400 with each problem's `field` and `reason` in `metadata.problems` (`taken` for a name another skill has; `mismatch` for an archive whose folder is named otherwise). Files under `scripts/` or marked executable are scripts (`Skill.scripts`): runners may run them. Every save is a new version that runs get at once, with older versions to compare and restore. Skills are attached to agents, and as defaults to a working directory or a registered scope. A skill's revision is its current version: a save or a restore names the version it was made against (`expectedRevision`) and is refused with 409 `REVISION_CONFLICT` when another save came first. A runner fetches a run's skills from `GET /api/agents/runners/runs/:runId/skills/:slug` and places them where the run's coding tool finds them.
35
+ - **Skills** (`agSkills`, `agSkillVersions`, `agSkillAttachments`): a library of skills in the open Agent Skills format (https://agentskills.io/specification): a directory of `SKILL.md` and supporting files, conventionally under `scripts/`, `references/` and `assets/`. Only the front matter of `SKILL.md` names and describes a skill: `name` (1–64 lower-case letters, digits and single hyphens) is its slug and directory, so a save that changes it renames the skill, and `description` (1–1024 characters) is required; `license`, `compatibility` (at most 500 characters), `metadata` (string values) and `allowed-tools` are checked when present, and other keys are kept. Every create, save, restore and import is checked against these rules in the browser as it is typed and on the server (`shared/skill-markdown.ts`), which answers 400 with each problem's `field` and `reason` in `metadata.problems` (`taken` for a name another skill has; `mismatch` for an archive whose folder is named otherwise). Files under `scripts/` or marked executable are scripts (`Skill.scripts`): runners may run them. Every save is a new version that runs get at once, with older versions to compare and restore. Skills are attached globally, or as defaults to a working directory or a registered scope. A skill's revision is its current version: a save or a restore names the version it was made against (`expectedRevision`) and is refused with 409 `REVISION_CONFLICT` when another save came first. A runner fetches a run's skills from `GET /api/agents/runners/runs/:runId/skills/:slug` and places them where the run's coding tool finds them.
30
36
  - **Conversations** (`agConversations`, `agConversationMessages`): a person chatting with an enabled agent, from the chat panel. Only the owner reads a conversation, administrators included; its runs are hidden from everyone they do not involve. Each message the owner sends wakes the agent on the `conversation` subject as the owner, or joins the run already working on it; every text the agent writes becomes a message. A run resumes the session its runner kept; on another runner, or after the conversation switched agents, it starts fresh with the last 20 messages and the previous run's summary. When the agent is disabled or gone, no longer available to the owner, has no online runner that would take the owner's work (`noRunner`), or only other people's personal runners have it (`othersPersonal`), messages are still saved and the conversation reports why; the owner may switch it to the system default chat agent and back (`fallbackFrom` names its own agent meanwhile). Availability uses claim eligibility, including required features and variables restricted to team runners. The owner answers for their own conversation, so none of this asks anyone to confirm. `chatAgents` lists the enabled agents, each with its availability for the caller and whether only personal runners have it (`personalOnly`). Conversations an earlier version answered with an online agent keep `mode` `online`, and their notices (`switchedToOnline`, `onlineFallbackUnavailable`, consultation cards) still render; nothing answers them any more. `shared/conversations` is the contract (HTTP API under `/api/agents/conversations` and `/api/agents/chat*`, page context and its limits, the per-user realtime topic `agents:conversations`); `ConversationService` is the interface other code uses, so the storage can move to a shared platform layer later.
31
37
  - **Chat defaults**: the system default chat agent (`agSettings`, `PATCH /api/agents/chatSettings` by who manages `agents.agents`, or the application), each person's default chat agent (`agChatPreferences`), and each agent's "confirm before changing data" (`confirmChanges`: `always` or only `larger` changes).
32
38
  - **No setup scripts.** Preparing a working directory is the agent's job: its brief tells it to follow each directory's own instructions (AGENTS.md, CLAUDE.md, README), to install what is missing inside the directory, and to say so (the way the subject's guidance tells it) when it cannot. A working directory's optional initialization prompt reaches the agent only when the runner prepared that directory fresh. "Clean working directory" (`POST /api/agents/workspaces/:subjectKind/:subjectId/reset`) makes the next run start from a fresh checkout.
@@ -163,8 +169,14 @@ A request settles once, and keeps the work's `fireAt` and `maxAttempts` for its
163
169
 
164
170
  Creating an `auto` request requires that both the source and the responsible may invoke the agent. Repeated enqueues with identical pending work reuse its request without another creation event or a renewed expiry; comparison includes the input snapshot, execution options, subject, thread and both people. Different input or scheduling options remain separate requests.
165
171
 
172
+ ### Locking on the claim path
173
+
174
+ Runners poll together, so anything a poll does per queued candidate is multiplied by the queue and the number of runners. A poll decides from reads which candidates it can take — identity, `fits()`, slots, concurrency and comment consent — and opens a transaction only for the one it is about to claim. The only row lock taken on purpose is the agent row (`lockAgentForClaim`), in that final claim transaction after `fits()` and the cheap checks; the run itself is taken with a guarded `status = 'queued'` update, and 0 rows means another claim or a decision won. PostgreSQL runs at READ COMMITTED, so every statement already reads the latest committed rows: a transaction never needs a no-op self-update to refresh its snapshot, and nothing locks a whole comment chain. Consent decisions settle the request row with a guarded update and then change the chain's runs with guarded updates on their status, so a claim that took a run first makes the decision roll back. Run as me takes the chain's agent rows, in id order, before stopping its runs, the same order claims and enqueues use. A new write or lock on the claim path, the sweeper or a run event handler needs a measured reason; `tests/claim-concurrency.test.ts` counts the writing transactions and lock waits of concurrent polls on PostgreSQL (`pnpm test:db postgres --filter @nocobase/app-plugin-agents -- tests/claim-concurrency.test.ts`).
175
+
166
176
  ## The CLI's commands
167
177
 
178
+ Native agents use the application's CLI for every operation on the management instance hosting their task, identified by the server URL in the CLI's `--help`. Its commands remain bounded by the requesting person's identity and permissions; a refusal must never be bypassed through a browser, HTTP, another identity or a test environment. Within the task's authorized scope, local builds and tests are allowed, as are Playwright, browser and test HTTP requests to an explicitly authorized PR preview or independent test instance identified separately from management, even if both products share a name. Establish the target's host, port, application base path and instance ownership from the task and existing preview information; a different URL alone does not establish independence. Use only the test instance's authorized native authentication, never management run credentials or credential files, and clarify an uncertain target before accessing it outside the CLI. Workspace and tool restrictions still apply. Online agents retain their sandboxed shell and skill tools; this native-agent boundary does not add browser or real build capabilities to their sandbox.
179
+
168
180
  The CLI's commands are the application's API routes: `GET /api/cli/manifest` (`@nocobase/app-server/router`) answers every command the API document describes for the caller, named and shaped by each route's `x-cli` extension, and this plugin tells it who calls (a run by its run token, a person by the application's authentication) and which business actions each holds (`gate.allowed`). A run token is also a credential of the application's authentication (`server/cli/run-credential.ts`): a request carrying it acts for the person who woke the agent, as a scoped session the routes accept only where their security lists `runToken`; the application bounds it by its scope (for example, `server/agents/run-principal.ts`). A route lists `runToken` and gives its `x-cli` an `action` for the commands a run may use.
169
181
 
170
182
  The plugin's own commands are its routes. A run uses `run self`, `run context` and `conversation title set` (`GET /api/agents/runs/current`, `/current/context`, `PATCH /current/conversation`, action `agents.runs/self`), and a run or a person `agent list` (`GET /api/agents/available`, action `agents.agents/view`: the agents the caller may give work to, with what each is good at and whether it can take work now). The rest are a person's: `agent list-all|get|update|history|brief`, `agent action list`, `skill …` (with `skill version …` and `skill attachment get|set`), `variable list|set|delete|reveal` and `variable audit list` (positional scope kind and scope), `runtime list|get|update|revoke|delete|work` and `runtime token create`, `model list|check|usage` and `model price get|set`, `service list|create|update|delete|discover|check`, `conversation list|get|create|update|stop|fallback|restore`, `conversation message list|send`, `conversation preferences|settings get|update`, and `run list|get|events|brief|cancel|retry|usage`, `run workspace reset` and `run request list|get|confirm|reject|withdraw|run-as-me`. The runner protocol, the downloads and the browser's helpers (the vocabulary, the people picker, every agent's name, the chat agent picker, starting a conversation from a page, marking one read) stay off the command line. The application's routes and custom commands are the rest.
@@ -233,3 +245,21 @@ A subject assembly may return `inputs` to select the effective claim inputs. Use
233
245
  ### Scoped work summaries
234
246
 
235
247
  `agents.runs.workingOn(subjectKind, subjectIds)` returns each subject/agent pair with a `dispatched` or `running` run once, as `{ subjectId, agentId, working: true }`. Empty scopes return nothing. Reads are restricted to the supplied kind and IDs, without the workload board's global limit; queued and terminal runs are excluded. This service exposes no run details and does not enforce viewer permissions or approval rules: the consuming application must filter visible subjects first and apply its own waiting rules.
248
+
249
+ ## Team default skills
250
+
251
+ Managers can change global attachment from the skill editor, independently of saving a content version. `SkillSettingsContext` from `client/config` accepts an optional host component with `skillId` for application-owned defaults; `SkillMountToggle` supplies the same immediate-save list membership control. Applications can provide `ScopeKind.describe(scopeIds, userId, keyScope)` to resolve visible names and internal links in a batch on skill detail responses, preserving the credential's action and object limits when a key scope is supplied. Omitted or invisible targets retain a neutral placeholder; this callback is never used when resolving run skills.
252
+
253
+ Attach skills to `global default` to include them in every new run. The fixed scope ID is `default`; other IDs are refused. Global reads require `agents.agents` read or manage, and writes require manage. Use `nb-studio skill attachment get global default` and `nb-studio skill attachment set global default --skills <id>,<id>`; pass a JSON file containing `{ "skillIds": [] }` with `--file` to clear defaults. Registered application scopes and working directories retain their own access policies.
254
+
255
+ Runs resolve skills in global → application scopes → workdir order, with the later target winning a shared slug. Resolution reads attachment and current-version metadata with one joined query, without reading file bodies. Missing current versions still fail. Effective skills feed the existing fingerprint and workspace preparation; clearing global attachments affects later claims. Agent skill attachments are no longer accepted, read or shown; existing rows remain stored. Agent variables and CLI-packaged skills retain their existing behavior. The global name is reserved for skills and is unavailable to variables or application scope registration.
256
+
257
+ ## Run process data retention
258
+
259
+ Set `agents.runs.retentionDays` in the application's `config.yml` to a non-negative integer (default `14`); `0` disables cleanup. Invalid values fail configuration validation. The independent `RunDataPurge` job runs hourly and deletes only events and prompt snapshots belonging to completed, failed or cancelled runs whose `finishedAt` is strictly earlier than the fixed cutoff for that round. Run records, summaries, inputs, usage, repositories, chat messages, comments and deliveries remain available.
260
+
261
+ Each batch selects up to 200 runs with events or briefs, ordered by finish time and ID, then deletes both child tables in one transaction using their existing run ID indexes. Batches pause for 100 ms; a round handles at most 2,000 runs and stops starting batches after five minutes. There are no run locks, run updates, new fields, indexes or migrations. Cleanup is idempotent. Deletion makes database space reusable; it does not immediately shrink database files.
262
+
263
+ Multi-instance deployments must set `jobs.default: redis` with a shared Redis connection and namespace so the existing jobs scheduler claims each firing on one instance. Memory jobs and the in-process timer fallback when no jobs service is installed serve single-instance deployments. No additional distributed lock or exactly-once ledger is introduced.
264
+
265
+ Studio publishes `agents.runs.retentionDays` through its existing public configuration. The process view displays a retention notice only for an expired terminal run with a complete empty transcript and no brief. This uses the current retention rule, rather than a historical cleanup marker; changing or disabling the policy changes the inferred notice. Run, event and brief API contracts are unchanged.
@@ -9,7 +9,7 @@ import type { Agent, AgentActionOption, AgentChange, AgentName, AgentPatch, Agen
9
9
  import type { BriefPreview, RunBrief } from '../../shared/briefs.js';
10
10
  import type { PricesAnswer, PricesInput } from '../../shared/reports.js';
11
11
  import type { CreateModelServiceRequest, ModelCatalog, ModelCheck, ModelConnectionCheckRequest, ModelConnectionRequest, ModelKind, ModelRef, ModelServiceView, ProviderModels, UpdateModelServiceRequest } from '../../shared/models.js';
12
- import type { RegistrationToken, RegistrationTokenInput, Runner, RunnerPatch, RunnerRecentRun, RunnerSummary } from '../../shared/runners.js';
12
+ import type { RegistrationToken, RegistrationTokenInput, Runner, RunnerPatch, RunnerRecentRun, RunnerSummary, RunnerListItem } from '../../shared/runners.js';
13
13
  import type { Run, RunDetail, RunEventPage } from '../../shared/runs.js';
14
14
  import type { Skill, SkillDetail, SkillImport, SkillInput, SkillSave, SkillUpload, SkillVersion, SkillVersionDetail, SkillView } from '../../shared/skills.js';
15
15
  import type { Variable, VariableAudit, VariableScope, VariableValue } from '../../shared/variables.js';
@@ -66,7 +66,8 @@ export declare class AgentsApi {
66
66
  agentHistory(agentId: string, afterRevision?: number): Promise<AgentChange[]>;
67
67
  /** What a run of the agent would be sent now in `scenario` (a subject kind), on a made-up subject; the first by default. */
68
68
  briefPreview(agentId: string, scenario: string | null): Promise<BriefPreview>;
69
- runners(): Promise<RunnerSummary[]>;
69
+ runners(): Promise<RunnerListItem[]>;
70
+ runner(runnerId: string): Promise<RunnerSummary>;
70
71
  /** A runner's latest runs, newest first. */
71
72
  runnerRuns(runnerId: string): Promise<RunnerRecentRun[]>;
72
73
  createRegistrationToken(input: RegistrationTokenInput): Promise<RegistrationToken>;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../client/api/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EACV,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,UAAU,EACV,SAAS,EACT,OAAO,EACR,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EACV,yBAAyB,EACzB,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,MAAM,EACN,WAAW,EACX,eAAe,EACf,aAAa,EACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,E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M,GACb,OAAO,CAAC,YAAY,CAAC;IAQxB,8FAA8F;IACvF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD,0FAA0F;IACnF,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOrE,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAI7C,wCAAwC;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;YAI9B,IAAI;IAIlB,OAAO,CAAC,IAAI;YAIE,IAAI;YAQJ,GAAG;IAIjB,OAAO,CAAC,IAAI;YAcE,IAAI;CAYnB"}
@@ -91,6 +91,9 @@ export class AgentsApi {
91
91
  runners() {
92
92
  return this.runnersApi.runners();
93
93
  }
94
+ runner(runnerId) {
95
+ return this.runnersApi.runner(runnerId);
96
+ }
94
97
  /** A runner's latest runs, newest first. */
95
98
  runnerRuns(runnerId) {
96
99
  return this.runnersApi.runnerRuns(runnerId);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../client/api/client.ts"],"names":[],"mappings":"AA+DA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,MAAM,IAAI,GAAG,QAAQ,CAAC;AACtB,MAAM,EAAE,GAAG,CAAC,KAAa,EAAU,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;AAChE,MAAM,MAAM,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAiB3E,MAAM,OAAO,SAAS;IACH,GAAG,CAAY;IAChC,+DAA+D;IAC9C,UAAU,CAAa;IAExC,YAAmB,GAAc;QAC/B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;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AAC,IAAI,CAAuB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;IACnE,CAAC;IAEO,IAAI,CAAI,IAAY,EAAE,KAAa;QACzC,MAAM,KAAK,GAAG,KAAK;YACjB,CAAC,CAAC,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAC1B,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,CACnD,CACF;YACH,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAI;YACzB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,GAAG,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpE,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,IAAI,CAChB,IAAY,EACZ,MAAc,EACd,IAAc;QAEd,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,OAAO,CAAmC;YACtE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;YAClB,MAAM;YACN,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;SACxC,CAAC,CAAC;QACH,OAAO,MAAM,EAAE,IAAS,CAAC;IAC3B,CAAC;CACF"}
@@ -3,11 +3,11 @@
3
3
  * unwrapped from `{ data }`. Failures throw `ApiClientError` (`status`, `reason`, `domain`).
4
4
  */
5
5
  import type { ApiClient } from '@nocobase/app-client';
6
- import type { RegistrationToken, RegistrationTokenInput, Runner, RunnerHeldItem, RunnerPatch, RunnerRecentRun, RunnerSummary } from '../../shared/runners.js';
6
+ import type { RegistrationToken, RegistrationTokenInput, Runner, RunnerHeldItem, RunnerPatch, RunnerRecentRun, RunnerSummary, RunnerListItem } from '../../shared/runners.js';
7
7
  export declare class RunnersApi {
8
8
  private readonly api;
9
9
  constructor(api: ApiClient);
10
- runners(): Promise<RunnerSummary[]>;
10
+ runners(): Promise<RunnerListItem[]>;
11
11
  runner(runnerId: string): Promise<RunnerSummary>;
12
12
  /** What the runner holds now: runs, then jobs. */
13
13
  runnerWork(runnerId: string): Promise<RunnerHeldItem[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../../client/api/runners.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,MAAM,EACN,cAAc,EACd,WAAW,EACX,eAAe,EACf,aAAa,EACd,MAAM,yBAAyB,CAAC;AASjC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;gBAEb,GAAG,EAAE,SAAS;IAM1B,OAAO,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;IAInC,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAIvD,kDAAkD;IAC3C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAI9D,qCAAqC;IAC9B,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAIxD,uBAAuB,CAC5B,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,iBAAiB,CAAC;IAItB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAInE,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI/C,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAItC,IAAI;YAIJ,GAAG;YAeH,IAAI;CAYnB"}
1
+ {"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../../client/api/runners.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,MAAM,EACN,cAAc,EACd,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,EACf,MAAM,yBAAyB,CAAC;AASjC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;gBAEb,GAAG,EAAE,SAAS;IAM1B,OAAO,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;IAIpC,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAIvD,kDAAkD;IAC3C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAI9D,qCAAqC;IAC9B,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAIxD,uBAAuB,CAC5B,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,iBAAiB,CAAC;IAItB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAInE,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI/C,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAItC,IAAI;YAIJ,GAAG;YAeH,IAAI;CAYnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"runners.js","sourceRoot":"","sources":["../../../client/api/runners.ts"],"names":[],"mappings":"AAmBA,MAAM,IAAI,GAAG,g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,EAAE,CAAC;IAC1D,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,oDAAoD;IACpD,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,GAAG,YAAY,CAwCf;AAuOD,wFAAwF;AACxF,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,OAAO,GACR,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC,EAAE,GAAG,IAAI,CAAC;IACnE,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B,GAAG,YAAY,CAsCf"}
@@ -31,7 +31,7 @@ export function VariableDialog({ scopes, target, existingNames, onClose, onSaved
31
31
  return (_jsx(Dialog, { open: target !== null, onOpenChange: (open) => {
32
32
  if (!open)
33
33
  requestClose();
34
- }, children: _jsxs(DialogContent, { className: 'sm:max-w-md', children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: target?.name
34
+ }, children: _jsxs(DialogContent, { className: 'flex max-h-[calc(100dvh-2rem)] flex-col sm:max-w-md', children: [_jsxs(DialogHeader, { className: 'shrink-0', children: [_jsx(DialogTitle, { className: 'pr-6 break-all', children: target?.name
35
35
  ? t('envVars.editTitle', { name: target.name })
36
36
  : t('envVars.addTitle') }), _jsx(DialogDescription, { children: t('envVars.writeOnly') })] }), _jsx(UnsavedChangesBoundary, { guard: unsaved, children: target ? (_jsx(VariableForm, { scopes: scopes, initialAt: target.at, fixedScope: target.fixed, fixedName: target.name, initialTeamRunnersOnly: target.teamRunnersOnly ?? false, initialFromRunner: target.fromRunner ?? false, existingNames: existingNames, onCancel: requestClose, onClose: onClose, onSaved: onSaved }, target.name ?? 'new')) : null })] }) }));
37
37
  }
@@ -95,12 +95,12 @@ function VariableForm({ scopes, initialAt, fixedScope, fixedName, initialTeamRun
95
95
  setSaving(false);
96
96
  }
97
97
  }
98
- return (_jsx("form", { onSubmit: (event) => void submit(event), noValidate: true, children: _jsxs(FieldGroup, { children: [scopes.length > 1 ? (_jsxs(Field, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-scope', children: t('envVars.scope') }), _jsxs(Select, { items: scopeItems, value: String(at), disabled: fixedScope, onValueChange: (next) => {
99
- if (next !== null)
100
- setAt(Number(next));
101
- }, children: [_jsx(SelectTrigger, { id: 'ag-env-scope', className: 'w-full', children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { className: 'w-auto max-w-[min(var(--container-sm),var(--available-width))] min-w-(--anchor-width) [&_[data-slot=select-item]>:first-child]:whitespace-normal', children: scopeItems.map((item) => (_jsx(SelectItem, { value: item.value, children: item.label }, item.value))) })] })] })) : null, _jsxs(Field, { "data-invalid": nameError ? true : undefined, children: [_jsx(FieldLabel, { htmlFor: 'ag-env-name', children: t('envVars.name') }), _jsx(Input, { id: 'ag-env-name', value: name, readOnly: fixedName !== null, autoFocus: fixedName === null, autoComplete: 'off', spellCheck: false, placeholder: 'GITHUB_TOKEN', className: 'font-mono', "aria-invalid": nameError ? true : undefined, onChange: (event) => setName(event.target.value.toUpperCase()) }), nameError ? (_jsx(FieldError, { children: nameError })) : (_jsx(FieldDescription, { children: t('envVars.nameHint') }))] }), _jsxs(Field, { orientation: 'horizontal', children: [_jsx(Checkbox, { id: 'ag-env-from-runner', checked: fromRunner, onCheckedChange: (checked) => setFromRunner(checked === true) }), _jsxs(FieldContent, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-from-runner', children: t('envVars.fromRunner') }), _jsx(FieldDescription, { children: t('envVars.fromRunnerHint', {
102
- command: `nocobase-runner env set ${name.trim() || 'NAME'}`,
103
- }) })] })] }), fromRunner ? null : (_jsxs(Field, { "data-invalid": valueError ? true : undefined, children: [_jsx(FieldLabel, { htmlFor: 'ag-env-value', children: t('envVars.value') }), _jsx(Textarea, { id: 'ag-env-value', value: value, rows: 3, autoFocus: fixedName !== null, autoComplete: 'off', spellCheck: false, className: 'font-mono text-xs', "aria-invalid": valueError ? true : undefined, onChange: (event) => setValue(event.target.value) }), valueError ? (_jsx(FieldError, { children: valueError })) : fixedName !== null && !initialFromRunner ? (_jsx(FieldDescription, { children: t('envVars.keepValueHint') })) : null] })), fromRunner ? null : (_jsxs(Field, { orientation: 'horizontal', children: [_jsx(Checkbox, { id: 'ag-env-team-only', checked: teamRunnersOnly, onCheckedChange: (checked) => setTeamRunnersOnly(checked === true) }), _jsxs(FieldContent, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-team-only', children: t('envVars.teamRunnersOnly') }), _jsx(FieldDescription, { children: t('envVars.teamRunnersOnlyHint') })] })] })), saveError ? (_jsx(Field, { "data-invalid": true, children: _jsx(FieldError, { children: saveError }) })) : null, _jsxs(DialogFooter, { children: [_jsx(Button, { type: 'button', variant: 'outline', disabled: saving, onClick: onCancel, children: t('actions.cancel') }), _jsxs(Button, { type: 'submit', disabled: saving, children: [saving ? _jsx(Spinner, { "data-icon": 'inline-start' }) : null, t('actions.save')] })] })] }) }));
98
+ return (_jsxs("form", { className: 'flex min-h-0 flex-1 flex-col gap-4', onSubmit: (event) => void submit(event), noValidate: true, children: [_jsxs(FieldGroup, { className: '-mx-4 min-h-0 w-auto flex-1 overflow-y-auto px-4 pb-1', children: [scopes.length > 1 ? (_jsxs(Field, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-scope', children: t('envVars.scope') }), _jsxs(Select, { items: scopeItems, value: String(at), disabled: fixedScope, onValueChange: (next) => {
99
+ if (next !== null)
100
+ setAt(Number(next));
101
+ }, children: [_jsx(SelectTrigger, { id: 'ag-env-scope', className: 'w-full', children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { className: 'w-auto max-w-[min(var(--container-sm),var(--available-width))] min-w-(--anchor-width) [&_[data-slot=select-item]>:first-child]:whitespace-normal', children: scopeItems.map((item) => (_jsx(SelectItem, { value: item.value, children: item.label }, item.value))) })] })] })) : null, _jsxs(Field, { "data-invalid": nameError ? true : undefined, children: [_jsx(FieldLabel, { htmlFor: 'ag-env-name', children: t('envVars.name') }), _jsx(Input, { id: 'ag-env-name', value: name, readOnly: fixedName !== null, autoFocus: fixedName === null, autoComplete: 'off', spellCheck: false, placeholder: 'GITHUB_TOKEN', className: 'font-mono', "aria-invalid": nameError ? true : undefined, onChange: (event) => setName(event.target.value.toUpperCase()) }), nameError ? (_jsx(FieldError, { children: nameError })) : (_jsx(FieldDescription, { children: t('envVars.nameHint') }))] }), _jsxs(Field, { orientation: 'horizontal', children: [_jsx(Checkbox, { id: 'ag-env-from-runner', checked: fromRunner, onCheckedChange: (checked) => setFromRunner(checked === true) }), _jsxs(FieldContent, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-from-runner', children: t('envVars.fromRunner') }), _jsx(FieldDescription, { children: t('envVars.fromRunnerHint', {
102
+ command: `nocobase-runner env set ${name.trim() || 'NAME'}`,
103
+ }) })] })] }), fromRunner ? null : (_jsxs(Field, { "data-invalid": valueError ? true : undefined, children: [_jsx(FieldLabel, { htmlFor: 'ag-env-value', children: t('envVars.value') }), _jsx(Textarea, { id: 'ag-env-value', value: value, rows: 3, autoFocus: fixedName !== null, autoComplete: 'off', spellCheck: false, className: 'font-mono text-xs', "aria-invalid": valueError ? true : undefined, onChange: (event) => setValue(event.target.value) }), valueError ? (_jsx(FieldError, { children: valueError })) : fixedName !== null && !initialFromRunner ? (_jsx(FieldDescription, { children: t('envVars.keepValueHint') })) : null] })), fromRunner ? null : (_jsxs(Field, { orientation: 'horizontal', children: [_jsx(Checkbox, { id: 'ag-env-team-only', checked: teamRunnersOnly, onCheckedChange: (checked) => setTeamRunnersOnly(checked === true) }), _jsxs(FieldContent, { children: [_jsx(FieldLabel, { htmlFor: 'ag-env-team-only', children: t('envVars.teamRunnersOnly') }), _jsx(FieldDescription, { children: t('envVars.teamRunnersOnlyHint') })] })] })), saveError ? (_jsx(Field, { "data-invalid": true, children: _jsx(FieldError, { children: saveError }) })) : null] }), _jsxs(DialogFooter, { className: 'shrink-0', children: [_jsx(Button, { type: 'button', variant: 'outline', disabled: saving, onClick: onCancel, children: t('actions.cancel') }), _jsxs(Button, { type: 'submit', disabled: saving, children: [saving ? _jsx(Spinner, { "data-icon": 'inline-start' }) : null, t('actions.save')] })] })] }));
104
104
  }
105
105
  /** The revealed values, held only in this dialog's props and dropped when it closes. */
106
106
  export function RevealedDialog({ values, onClose, }) {
@@ -1 +1 @@
1
- {"version":3,"file":"variable-dialogs.js","sourceRoot":"","sources":["../../../../client/components/variables/variable-dialogs.tsx"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAqC,MAAM,OAAO,CAAC;AAEpE,OAAO,EACL,mBAAmB,GAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EA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L,IAAI,EAAE,MAAM,KAAK,IAAI,EACrB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,IAAI,CAAC,IAAI;gBAAE,OAAO,EAAE,CAAC;QACvB,CAAC,YAED,MAAC,aAAa,IAAC,SAAS,EAAC,sDAAsD,aAC7E,MAAC,YAAY,eACX,KAAC,WAAW,cAAE,CAAC,CAAC,uBAAuB,CAAC,GAAe,EACvD,KAAC,iBAAiB,cAAE,CAAC,CAAC,sBAAsB,CAAC,GAAqB,IACrD,EACf,aAAI,SAAS,EAAC,6DAA6D,YACxE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBAC3B,MAAM,KAAK,GAAG,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;wBAClD,OAAO,CACL,eAAyC,SAAS,EAAC,aAAa,aAC9D,cAAI,SAAS,EAAC,yCAAyC,aACpD,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,CAAC,CAAC,CACP,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,KAAK,EAAE,GAAQ,CACnD,CAAC,CAAC,CAAC,IAAI,IACL,EACL,aAAI,SAAS,EAAC,0FAA0F,YACrG,IAAI,CAAC,KAAK,GACR,KATG,GAAG,KAAK,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAUjC,CACP,CAAC;oBACJ,CAAC,CAAC,GACC,EACL,KAAC,YAAY,cACX,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,YAAG,CAAC,CAAC,eAAe,CAAC,GAAU,GAC1C,IACD,GACT,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"variable-dialogs.js","sourceRoot":"","sources":["../../../../client/components/variables/variable-dialogs.tsx"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,sBAAsB,GAC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B,cAAE,CAAC,CAAC,sBAAsB,CAAC,GAAqB,IACrD,EACf,aAAI,SAAS,EAAC,6DAA6D,YACxE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBAC3B,MAAM,KAAK,GAAG,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;wBAClD,OAAO,CACL,eAAyC,SAAS,EAAC,aAAa,aAC9D,cAAI,SAAS,EAAC,yCAAyC,aACpD,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,CAAC,CAAC,CACP,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,KAAK,EAAE,GAAQ,CACnD,CAAC,CAAC,CAAC,IAAI,IACL,EACL,aAAI,SAAS,EAAC,0FAA0F,YACrG,IAAI,CAAC,KAAK,GACR,KATG,GAAG,KAAK,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAUjC,CACP,CAAC;oBACJ,CAAC,CAAC,GACC,EACL,KAAC,YAAY,cACX,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,YAAG,CAAC,CAAC,eAAe,CAAC,GAAU,GAC1C,IACD,GACT,CACV,CAAC;AACJ,CAAC"}
@@ -3,4 +3,6 @@
3
3
  * (`AgentActionCatalogContext`; the server's catalog by default).
4
4
  */
5
5
  export { AgentActionCatalogContext, type AgentActionCatalog, type AgentActionOption, } from './lib/action-catalog.js';
6
+ export { SkillSettingsContext, type SkillSettings, } from './lib/skill-settings-context.js';
7
+ export { SkillMountToggle } from './lib/skill-settings.js';
6
8
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../client/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../client/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EACpB,KAAK,aAAa,GACnB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -3,4 +3,6 @@
3
3
  * (`AgentActionCatalogContext`; the server's catalog by default).
4
4
  */
5
5
  export { AgentActionCatalogContext, } from './lib/action-catalog.js';
6
+ export { SkillSettingsContext, } from './lib/skill-settings-context.js';
7
+ export { SkillMountToggle } from './lib/skill-settings.js';
6
8
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../client/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,yBAAyB,GAG1B,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../client/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,yBAAyB,GAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,GAErB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ComponentType, type Context } from 'react';
2
+ export interface SkillSettings {
3
+ readonly Settings: ComponentType<{
4
+ readonly skillId: string;
5
+ }>;
6
+ }
7
+ /** Optional application-owned mount defaults in the attachment section. Hosts enforce their own server permissions. */
8
+ export declare const SkillSettingsContext: Context<SkillSettings | null>;
9
+ //# sourceMappingURL=skill-settings-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-settings-context.d.ts","sourceRoot":"","sources":["../../../client/lib/skill-settings-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChE;AAED,uHAAuH;AACvH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,aAAa,GAAG,IAAI,CACpB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { createContext } from 'react';
2
+ /** Optional application-owned mount defaults in the attachment section. Hosts enforce their own server permissions. */
3
+ export const SkillSettingsContext = createContext(null);
4
+ //# sourceMappingURL=skill-settings-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-settings-context.js","sourceRoot":"","sources":["../../../client/lib/skill-settings-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoC,MAAM,OAAO,CAAC;AAMxE,uHAAuH;AACvH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,aAAa,CAAuB,IAAI,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type ReactElement } from 'react';
2
+ import { type QueryKey } from '@tanstack/react-query';
3
+ /** Immediately saves membership in an existing defaults list, preserving every other entry and its order. */
4
+ export declare function SkillMountToggle({ skillId, queryKey, load, save, title, description, }: {
5
+ readonly skillId: string;
6
+ readonly queryKey: QueryKey;
7
+ readonly load: () => Promise<readonly string[]>;
8
+ readonly save: (ids: readonly string[]) => Promise<readonly string[]>;
9
+ readonly title: string;
10
+ readonly description: string;
11
+ }): ReactElement;
12
+ //# sourceMappingURL=skill-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-settings.d.ts","sourceRoot":"","sources":["../../../client/lib/skill-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,uBAAuB,CAAC;AAO/B,6GAA6G;AAC7G,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,WAAW,GACZ,EAAE;IACD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IAChD,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,KAAK,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IACtE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,GAAG,YAAY,CAiDf"}