@bastani/atomic 0.9.20-alpha.1 → 0.9.20-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1175) hide show
  1. package/CHANGELOG.md +307 -0
  2. package/README.md +52 -7
  3. package/dist/builtin/intercom/CHANGELOG.md +34 -0
  4. package/dist/builtin/intercom/README.md +2 -2
  5. package/dist/builtin/intercom/broker/broker.ts +110 -39
  6. package/dist/builtin/intercom/broker/client.ts +8 -1
  7. package/dist/builtin/intercom/broker/send-handler.ts +59 -2
  8. package/dist/builtin/intercom/index.bundle.mjs +162 -18
  9. package/dist/builtin/intercom/live-route-refusal.ts +69 -0
  10. package/dist/builtin/intercom/package.json +3 -5
  11. package/dist/builtin/intercom/recoverable-disconnect.ts +16 -4
  12. package/dist/builtin/intercom/session-target.ts +34 -9
  13. package/dist/builtin/intercom/skills/intercom/SKILL.md +47 -16
  14. package/dist/builtin/intercom/types.ts +3 -1
  15. package/dist/builtin/mcp/CHANGELOG.md +13 -0
  16. package/dist/builtin/mcp/OAUTH.md +1 -1
  17. package/dist/builtin/mcp/README.md +3 -1
  18. package/dist/builtin/mcp/index.bundle.mjs +412 -64
  19. package/dist/builtin/mcp/package.json +4 -4
  20. package/dist/builtin/subagents/CHANGELOG.md +63 -0
  21. package/dist/builtin/subagents/README.md +4 -2
  22. package/dist/builtin/subagents/agents/code-simplifier.md +3 -4
  23. package/dist/builtin/subagents/agents/codebase-analyzer.md +3 -4
  24. package/dist/builtin/subagents/agents/codebase-locator.md +2 -3
  25. package/dist/builtin/subagents/agents/codebase-online-researcher.md +5 -6
  26. package/dist/builtin/subagents/agents/codebase-pattern-finder.md +2 -3
  27. package/dist/builtin/subagents/agents/codebase-research-analyzer.md +2 -3
  28. package/dist/builtin/subagents/agents/codebase-research-locator.md +2 -3
  29. package/dist/builtin/subagents/agents/debugger.md +8 -7
  30. package/dist/builtin/subagents/agents/worker.md +5 -4
  31. package/dist/builtin/subagents/package.json +4 -4
  32. package/dist/builtin/subagents/skills/agent-browser/SKILL.md +56 -0
  33. package/dist/builtin/subagents/skills/cua-driver/BROWSER.md +494 -0
  34. package/dist/builtin/subagents/skills/cua-driver/EMBEDDING.md +578 -0
  35. package/dist/builtin/subagents/skills/cua-driver/LINUX.md +364 -0
  36. package/dist/builtin/subagents/skills/cua-driver/MACOS.md +509 -0
  37. package/dist/builtin/subagents/skills/cua-driver/README.md +113 -0
  38. package/dist/builtin/subagents/skills/cua-driver/RECORDING.md +162 -0
  39. package/dist/builtin/subagents/skills/cua-driver/SKILL.md +1105 -0
  40. package/dist/builtin/subagents/skills/cua-driver/WINDOWS.md +866 -0
  41. package/dist/builtin/subagents/skills/feedback/SKILL.md +49 -0
  42. package/dist/builtin/subagents/skills/feedback/scripts/scrub.mjs +498 -0
  43. package/dist/builtin/subagents/skills/subagent/SKILL.md +45 -19
  44. package/dist/builtin/subagents/src/extension/index.bundle.mjs +276 -68
  45. package/dist/builtin/web-access/CHANGELOG.md +18 -0
  46. package/dist/builtin/web-access/index.bundle.mjs +372 -300
  47. package/dist/builtin/web-access/package.json +3 -3
  48. package/dist/builtin/workflows/CHANGELOG.md +169 -0
  49. package/dist/builtin/workflows/README.md +20 -33
  50. package/dist/builtin/workflows/builtin/adversarial-verification.js +3 -3
  51. package/dist/builtin/workflows/builtin/{chunk-g0csgs7w.js → chunk-18yz7r43.js} +8 -10
  52. package/dist/builtin/workflows/builtin/{chunk-31j2gs7h.js → chunk-1pd5zcfa.js} +4 -6
  53. package/dist/builtin/workflows/builtin/{chunk-xtxcq5tj.js → chunk-24c235x7.js} +17 -1
  54. package/dist/builtin/workflows/builtin/{chunk-6w6cvk6b.js → chunk-2jv44yz7.js} +4 -6
  55. package/dist/builtin/workflows/builtin/{chunk-yeee2jrc.js → chunk-2npg6daz.js} +76 -90
  56. package/dist/builtin/workflows/builtin/{chunk-z29qbehr.js → chunk-7ps7bnb4.js} +4 -6
  57. package/dist/builtin/workflows/builtin/{chunk-zqtm1d2c.js → chunk-ad864596.js} +13 -218
  58. package/dist/builtin/workflows/builtin/{chunk-fg9esgkj.js → chunk-f8jjd90r.js} +4 -6
  59. package/dist/builtin/workflows/builtin/{chunk-a2kdsqn8.js → chunk-gxrhbnaj.js} +5 -3
  60. package/dist/builtin/workflows/builtin/chunk-twefqrv0.js +10666 -0
  61. package/dist/builtin/workflows/builtin/{chunk-ewkkkbak.js → chunk-ynded223.js} +40 -111
  62. package/dist/builtin/workflows/builtin/{chunk-wf741bv3.js → chunk-z5xdqrs6.js} +4 -6
  63. package/dist/builtin/workflows/builtin/classify-and-act.js +3 -3
  64. package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +3 -3
  65. package/dist/builtin/workflows/builtin/generate-and-filter.js +3 -3
  66. package/dist/builtin/workflows/builtin/goal.js +4 -4
  67. package/dist/builtin/workflows/builtin/index.d.ts +1 -1
  68. package/dist/builtin/workflows/builtin/index.js +12 -12
  69. package/dist/builtin/workflows/builtin/loop-until-done.js +3 -3
  70. package/dist/builtin/workflows/builtin/open-claude-design.d.ts +1 -1
  71. package/dist/builtin/workflows/builtin/open-claude-design.js +3 -3
  72. package/dist/builtin/workflows/builtin/ralph.js +4 -4
  73. package/dist/builtin/workflows/builtin/steering-context.js +1 -1
  74. package/dist/builtin/workflows/builtin/tournament.js +3 -3
  75. package/dist/builtin/workflows/package.json +4 -4
  76. package/dist/builtin/workflows/skills/impeccable/SKILL.md +18 -11
  77. package/dist/builtin/workflows/skills/impeccable/reference/adapt.md +1 -1
  78. package/dist/builtin/workflows/skills/impeccable/reference/adapt.native.md +1 -1
  79. package/dist/builtin/workflows/skills/impeccable/reference/animate.md +1 -1
  80. package/dist/builtin/workflows/skills/impeccable/reference/audit.md +5 -5
  81. package/dist/builtin/workflows/skills/impeccable/reference/audit.native.md +6 -6
  82. package/dist/builtin/workflows/skills/impeccable/reference/bolder.md +2 -2
  83. package/dist/builtin/workflows/skills/impeccable/reference/clarify.md +1 -1
  84. package/dist/builtin/workflows/skills/impeccable/reference/colorize.md +1 -1
  85. package/dist/builtin/workflows/skills/impeccable/reference/craft-floor.md +0 -6
  86. package/dist/builtin/workflows/skills/impeccable/reference/critique.md +19 -41
  87. package/dist/builtin/workflows/skills/impeccable/reference/degraded/asset-producer.md +11 -65
  88. package/dist/builtin/workflows/skills/impeccable/reference/degraded/documenter.md +3 -3
  89. package/dist/builtin/workflows/skills/impeccable/reference/degraded/finish-reviewer.md +4 -4
  90. package/dist/builtin/workflows/skills/impeccable/reference/degraded/manual-edit-applier.md +1 -1
  91. package/dist/builtin/workflows/skills/impeccable/reference/delight.md +1 -1
  92. package/dist/builtin/workflows/skills/impeccable/reference/distill.md +2 -2
  93. package/dist/builtin/workflows/skills/impeccable/reference/doctor.md +4 -4
  94. package/dist/builtin/workflows/skills/impeccable/reference/document.md +4 -4
  95. package/dist/builtin/workflows/skills/impeccable/reference/extract.md +1 -1
  96. package/dist/builtin/workflows/skills/impeccable/reference/harden.md +1 -1
  97. package/dist/builtin/workflows/skills/impeccable/reference/hooks.md +21 -21
  98. package/dist/builtin/workflows/skills/impeccable/reference/init.md +8 -8
  99. package/dist/builtin/workflows/skills/impeccable/reference/layout.md +2 -2
  100. package/dist/builtin/workflows/skills/impeccable/reference/live-setup.md +10 -8
  101. package/dist/builtin/workflows/skills/impeccable/reference/live.md +39 -38
  102. package/dist/builtin/workflows/skills/impeccable/reference/new-work.md +48 -21
  103. package/dist/builtin/workflows/skills/impeccable/reference/onboard.md +1 -1
  104. package/dist/builtin/workflows/skills/impeccable/reference/optimize.md +1 -1
  105. package/dist/builtin/workflows/skills/impeccable/reference/overdrive.md +1 -1
  106. package/dist/builtin/workflows/skills/impeccable/reference/polish.md +11 -3
  107. package/dist/builtin/workflows/skills/impeccable/reference/quieter.md +2 -2
  108. package/dist/builtin/workflows/skills/impeccable/reference/routing.md +13 -7
  109. package/dist/builtin/workflows/skills/impeccable/reference/typeset.md +2 -2
  110. package/dist/builtin/workflows/skills/impeccable/reference/visualize.md +13 -19
  111. package/dist/builtin/workflows/skills/impeccable/scripts/VERSION +1 -0
  112. package/dist/builtin/workflows/skills/impeccable/scripts/data/font-index-failures.json +121 -0
  113. package/dist/builtin/workflows/skills/impeccable/scripts/data/font-index.json +1 -0
  114. package/dist/builtin/workflows/skills/impeccable/scripts/impeccable +212 -0
  115. package/dist/builtin/workflows/skills/impeccable/scripts/impeccable.cmd +218 -0
  116. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-dom.js +21 -0
  117. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-ignores.js +242 -0
  118. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-session.js +25 -4
  119. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser.js +666 -197
  120. package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +10 -9
  121. package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +4 -4
  122. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +96 -23
  123. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +75 -27
  124. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +72 -26
  125. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +58 -22
  126. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5_5.md +118 -0
  127. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +70 -29
  128. package/dist/builtin/workflows/skills/prompt-engineer/references/core_prompting.md +1 -1
  129. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +95 -32
  130. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +79 -30
  131. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6.md +139 -0
  132. package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +4 -4
  133. package/dist/builtin/workflows/skills/research-codebase/SKILL.md +1 -1
  134. package/dist/builtin/workflows/src/authoring.d.ts +6 -1
  135. package/dist/builtin/workflows/src/extension/index.bundle.mjs +25892 -21909
  136. package/dist/builtin/workflows/src/index.js +43029 -6422
  137. package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +11 -0
  138. package/dist/builtin/workflows/src/shared/authoring-contract-ui.d.ts +17 -1
  139. package/dist/bun/split-loader.js +13 -0
  140. package/dist/bun/split-loader.js.map +1 -1
  141. package/dist/cli/args.d.ts.map +1 -1
  142. package/dist/cli/args.js +17 -6
  143. package/dist/cli/args.js.map +1 -1
  144. package/dist/cli/file-processor.d.ts +1 -1
  145. package/dist/cli/file-processor.d.ts.map +1 -1
  146. package/dist/cli/file-processor.js.map +1 -1
  147. package/dist/config.d.ts +1 -0
  148. package/dist/config.d.ts.map +1 -1
  149. package/dist/config.js +1 -0
  150. package/dist/config.js.map +1 -1
  151. package/dist/core/agent-session-accessors.d.ts.map +1 -1
  152. package/dist/core/agent-session-accessors.js +2 -1
  153. package/dist/core/agent-session-accessors.js.map +1 -1
  154. package/dist/core/agent-session-auto-compaction.d.ts.map +1 -1
  155. package/dist/core/agent-session-auto-compaction.js +49 -14
  156. package/dist/core/agent-session-auto-compaction.js.map +1 -1
  157. package/dist/core/agent-session-bash.d.ts +3 -1
  158. package/dist/core/agent-session-bash.d.ts.map +1 -1
  159. package/dist/core/agent-session-bash.js +27 -14
  160. package/dist/core/agent-session-bash.js.map +1 -1
  161. package/dist/core/agent-session-boundaries.d.ts +68 -0
  162. package/dist/core/agent-session-boundaries.d.ts.map +1 -0
  163. package/dist/core/agent-session-boundaries.js +339 -0
  164. package/dist/core/agent-session-boundaries.js.map +1 -0
  165. package/dist/core/agent-session-compaction.d.ts.map +1 -1
  166. package/dist/core/agent-session-compaction.js +38 -15
  167. package/dist/core/agent-session-compaction.js.map +1 -1
  168. package/dist/core/agent-session-events.d.ts +6 -6
  169. package/dist/core/agent-session-events.d.ts.map +1 -1
  170. package/dist/core/agent-session-events.js +175 -74
  171. package/dist/core/agent-session-events.js.map +1 -1
  172. package/dist/core/agent-session-export.d.ts +1 -1
  173. package/dist/core/agent-session-export.d.ts.map +1 -1
  174. package/dist/core/agent-session-export.js +34 -39
  175. package/dist/core/agent-session-export.js.map +1 -1
  176. package/dist/core/agent-session-extension-bindings.d.ts +3 -2
  177. package/dist/core/agent-session-extension-bindings.d.ts.map +1 -1
  178. package/dist/core/agent-session-extension-bindings.js +274 -70
  179. package/dist/core/agent-session-extension-bindings.js.map +1 -1
  180. package/dist/core/agent-session-message-queue.d.ts +1 -1
  181. package/dist/core/agent-session-message-queue.d.ts.map +1 -1
  182. package/dist/core/agent-session-message-queue.js +36 -7
  183. package/dist/core/agent-session-message-queue.js.map +1 -1
  184. package/dist/core/agent-session-methods.d.ts +55 -15
  185. package/dist/core/agent-session-methods.d.ts.map +1 -1
  186. package/dist/core/agent-session-methods.js.map +1 -1
  187. package/dist/core/agent-session-models.d.ts +2 -2
  188. package/dist/core/agent-session-models.d.ts.map +1 -1
  189. package/dist/core/agent-session-models.js +38 -29
  190. package/dist/core/agent-session-models.js.map +1 -1
  191. package/dist/core/agent-session-persistent-custom-messages.d.ts +1 -1
  192. package/dist/core/agent-session-persistent-custom-messages.d.ts.map +1 -1
  193. package/dist/core/agent-session-persistent-custom-messages.js +2 -1
  194. package/dist/core/agent-session-persistent-custom-messages.js.map +1 -1
  195. package/dist/core/agent-session-post-tool-compaction.d.ts.map +1 -1
  196. package/dist/core/agent-session-post-tool-compaction.js +18 -1
  197. package/dist/core/agent-session-post-tool-compaction.js.map +1 -1
  198. package/dist/core/agent-session-prompt.d.ts +1 -1
  199. package/dist/core/agent-session-prompt.d.ts.map +1 -1
  200. package/dist/core/agent-session-prompt.js +186 -36
  201. package/dist/core/agent-session-prompt.js.map +1 -1
  202. package/dist/core/agent-session-queue-pause.d.ts +2 -0
  203. package/dist/core/agent-session-queue-pause.d.ts.map +1 -1
  204. package/dist/core/agent-session-queue-pause.js +15 -3
  205. package/dist/core/agent-session-queue-pause.js.map +1 -1
  206. package/dist/core/agent-session-retry.d.ts +0 -3
  207. package/dist/core/agent-session-retry.d.ts.map +1 -1
  208. package/dist/core/agent-session-retry.js +28 -20
  209. package/dist/core/agent-session-retry.js.map +1 -1
  210. package/dist/core/agent-session-runtime-auth.d.ts.map +1 -1
  211. package/dist/core/agent-session-runtime-auth.js +10 -0
  212. package/dist/core/agent-session-runtime-auth.js.map +1 -1
  213. package/dist/core/agent-session-runtime.d.ts +21 -1
  214. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  215. package/dist/core/agent-session-runtime.js +434 -197
  216. package/dist/core/agent-session-runtime.js.map +1 -1
  217. package/dist/core/agent-session-services.d.ts +4 -0
  218. package/dist/core/agent-session-services.d.ts.map +1 -1
  219. package/dist/core/agent-session-services.js +31 -2
  220. package/dist/core/agent-session-services.js.map +1 -1
  221. package/dist/core/agent-session-state.d.ts +10 -2
  222. package/dist/core/agent-session-state.d.ts.map +1 -1
  223. package/dist/core/agent-session-state.js +32 -22
  224. package/dist/core/agent-session-state.js.map +1 -1
  225. package/dist/core/agent-session-summary.d.ts.map +1 -1
  226. package/dist/core/agent-session-summary.js +9 -2
  227. package/dist/core/agent-session-summary.js.map +1 -1
  228. package/dist/core/agent-session-tasks.d.ts +10 -0
  229. package/dist/core/agent-session-tasks.d.ts.map +1 -1
  230. package/dist/core/agent-session-tasks.js +94 -21
  231. package/dist/core/agent-session-tasks.js.map +1 -1
  232. package/dist/core/agent-session-tool-hooks.d.ts.map +1 -1
  233. package/dist/core/agent-session-tool-hooks.js +41 -8
  234. package/dist/core/agent-session-tool-hooks.js.map +1 -1
  235. package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
  236. package/dist/core/agent-session-tool-registry.js +13 -26
  237. package/dist/core/agent-session-tool-registry.js.map +1 -1
  238. package/dist/core/agent-session-transfer.js.map +1 -1
  239. package/dist/core/agent-session-tree.d.ts.map +1 -1
  240. package/dist/core/agent-session-tree.js +8 -3
  241. package/dist/core/agent-session-tree.js.map +1 -1
  242. package/dist/core/agent-session-types.d.ts +13 -0
  243. package/dist/core/agent-session-types.d.ts.map +1 -1
  244. package/dist/core/agent-session-types.js.map +1 -1
  245. package/dist/core/agent-session.d.ts +36 -10
  246. package/dist/core/agent-session.d.ts.map +1 -1
  247. package/dist/core/agent-session.js +137 -68
  248. package/dist/core/agent-session.js.map +1 -1
  249. package/dist/core/auth-storage.d.ts +5 -3
  250. package/dist/core/auth-storage.d.ts.map +1 -1
  251. package/dist/core/auth-storage.js +18 -5
  252. package/dist/core/auth-storage.js.map +1 -1
  253. package/dist/core/builtin-diagnostics.d.ts +2 -0
  254. package/dist/core/builtin-diagnostics.d.ts.map +1 -0
  255. package/dist/core/builtin-diagnostics.js +14 -0
  256. package/dist/core/builtin-diagnostics.js.map +1 -0
  257. package/dist/core/builtin-packages.d.ts +5 -2
  258. package/dist/core/builtin-packages.d.ts.map +1 -1
  259. package/dist/core/builtin-packages.js +24 -3
  260. package/dist/core/builtin-packages.js.map +1 -1
  261. package/dist/core/builtin-resource-loader.d.ts +4 -0
  262. package/dist/core/builtin-resource-loader.d.ts.map +1 -0
  263. package/dist/core/builtin-resource-loader.js +239 -0
  264. package/dist/core/builtin-resource-loader.js.map +1 -0
  265. package/dist/core/cache-retention.d.ts +4 -0
  266. package/dist/core/cache-retention.d.ts.map +1 -0
  267. package/dist/core/cache-retention.js +58 -0
  268. package/dist/core/cache-retention.js.map +1 -0
  269. package/dist/core/cache-stats.d.ts +7 -1
  270. package/dist/core/cache-stats.d.ts.map +1 -1
  271. package/dist/core/cache-stats.js +34 -4
  272. package/dist/core/cache-stats.js.map +1 -1
  273. package/dist/core/cache-warmer.d.ts +66 -0
  274. package/dist/core/cache-warmer.d.ts.map +1 -0
  275. package/dist/core/cache-warmer.js +313 -0
  276. package/dist/core/cache-warmer.js.map +1 -0
  277. package/dist/core/child-session-options.d.ts +5 -0
  278. package/dist/core/child-session-options.d.ts.map +1 -0
  279. package/dist/core/child-session-options.js +30 -0
  280. package/dist/core/child-session-options.js.map +1 -0
  281. package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
  282. package/dist/core/compaction/branch-summarization.js +3 -2
  283. package/dist/core/compaction/branch-summarization.js.map +1 -1
  284. package/dist/core/compaction/compaction-boundary.d.ts +29 -1
  285. package/dist/core/compaction/compaction-boundary.d.ts.map +1 -1
  286. package/dist/core/compaction/compaction-boundary.js +48 -10
  287. package/dist/core/compaction/compaction-boundary.js.map +1 -1
  288. package/dist/core/compaction/compaction-runner.d.ts.map +1 -1
  289. package/dist/core/compaction/compaction-runner.js +18 -5
  290. package/dist/core/compaction/compaction-runner.js.map +1 -1
  291. package/dist/core/compaction/compaction-types.d.ts +7 -0
  292. package/dist/core/compaction/compaction-types.d.ts.map +1 -1
  293. package/dist/core/compaction/compaction-types.js.map +1 -1
  294. package/dist/core/compaction/compaction.d.ts +3 -1
  295. package/dist/core/compaction/compaction.d.ts.map +1 -1
  296. package/dist/core/compaction/compaction.js +55 -0
  297. package/dist/core/compaction/compaction.js.map +1 -1
  298. package/dist/core/compaction/fallback-planner.d.ts +1 -0
  299. package/dist/core/compaction/fallback-planner.d.ts.map +1 -1
  300. package/dist/core/compaction/fallback-planner.js +2 -0
  301. package/dist/core/compaction/fallback-planner.js.map +1 -1
  302. package/dist/core/compaction/index.d.ts +1 -0
  303. package/dist/core/compaction/index.d.ts.map +1 -1
  304. package/dist/core/compaction/index.js +1 -0
  305. package/dist/core/compaction/index.js.map +1 -1
  306. package/dist/core/compaction/range-planner.d.ts.map +1 -1
  307. package/dist/core/compaction/range-planner.js +3 -3
  308. package/dist/core/compaction/range-planner.js.map +1 -1
  309. package/dist/core/compaction/session-summarization.d.ts.map +1 -1
  310. package/dist/core/compaction/session-summarization.js +2 -1
  311. package/dist/core/compaction/session-summarization.js.map +1 -1
  312. package/dist/core/compaction/whole-context-stats.d.ts +21 -0
  313. package/dist/core/compaction/whole-context-stats.d.ts.map +1 -0
  314. package/dist/core/compaction/whole-context-stats.js +32 -0
  315. package/dist/core/compaction/whole-context-stats.js.map +1 -0
  316. package/dist/core/crash-log.d.ts +6 -0
  317. package/dist/core/crash-log.d.ts.map +1 -0
  318. package/dist/core/crash-log.js +69 -0
  319. package/dist/core/crash-log.js.map +1 -0
  320. package/dist/core/credential-screening.d.ts +17 -0
  321. package/dist/core/credential-screening.d.ts.map +1 -0
  322. package/dist/core/credential-screening.js +30 -0
  323. package/dist/core/credential-screening.js.map +1 -0
  324. package/dist/core/execution-model-router.d.ts +45 -0
  325. package/dist/core/execution-model-router.d.ts.map +1 -0
  326. package/dist/core/execution-model-router.js +249 -0
  327. package/dist/core/execution-model-router.js.map +1 -0
  328. package/dist/core/export-html/template-js/tree-filter-render.js +6 -1
  329. package/dist/core/export-html/template.js +6 -1
  330. package/dist/core/extensions/agent-events.d.ts +82 -8
  331. package/dist/core/extensions/agent-events.d.ts.map +1 -1
  332. package/dist/core/extensions/agent-events.js.map +1 -1
  333. package/dist/core/extensions/api-types.d.ts +51 -42
  334. package/dist/core/extensions/api-types.d.ts.map +1 -1
  335. package/dist/core/extensions/api-types.js.map +1 -1
  336. package/dist/core/extensions/context-types.d.ts +7 -1
  337. package/dist/core/extensions/context-types.d.ts.map +1 -1
  338. package/dist/core/extensions/context-types.js.map +1 -1
  339. package/dist/core/extensions/event-results.d.ts +10 -6
  340. package/dist/core/extensions/event-results.d.ts.map +1 -1
  341. package/dist/core/extensions/event-results.js.map +1 -1
  342. package/dist/core/extensions/event-types.d.ts +3 -2
  343. package/dist/core/extensions/event-types.d.ts.map +1 -1
  344. package/dist/core/extensions/event-types.js.map +1 -1
  345. package/dist/core/extensions/extension-work.d.ts +14 -0
  346. package/dist/core/extensions/extension-work.d.ts.map +1 -0
  347. package/dist/core/extensions/extension-work.js +73 -0
  348. package/dist/core/extensions/extension-work.js.map +1 -0
  349. package/dist/core/extensions/herdr-file-integration.d.ts +36 -0
  350. package/dist/core/extensions/herdr-file-integration.d.ts.map +1 -0
  351. package/dist/core/extensions/herdr-file-integration.js +60 -0
  352. package/dist/core/extensions/herdr-file-integration.js.map +1 -0
  353. package/dist/core/extensions/host-input.d.ts +51 -0
  354. package/dist/core/extensions/host-input.d.ts.map +1 -0
  355. package/dist/core/extensions/host-input.js +211 -0
  356. package/dist/core/extensions/host-input.js.map +1 -0
  357. package/dist/core/extensions/index.d.ts +4 -2
  358. package/dist/core/extensions/index.d.ts.map +1 -1
  359. package/dist/core/extensions/index.js +0 -3
  360. package/dist/core/extensions/index.js.map +1 -1
  361. package/dist/core/extensions/jiti-loader.d.ts +2 -0
  362. package/dist/core/extensions/jiti-loader.d.ts.map +1 -0
  363. package/dist/core/extensions/jiti-loader.js +3 -0
  364. package/dist/core/extensions/jiti-loader.js.map +1 -0
  365. package/dist/core/extensions/jiti-static-loader.d.ts +2 -0
  366. package/dist/core/extensions/jiti-static-loader.d.ts.map +1 -0
  367. package/dist/core/extensions/jiti-static-loader.js +3 -0
  368. package/dist/core/extensions/jiti-static-loader.js.map +1 -0
  369. package/dist/core/extensions/loader-api.d.ts +7 -0
  370. package/dist/core/extensions/loader-api.d.ts.map +1 -1
  371. package/dist/core/extensions/loader-api.js +154 -28
  372. package/dist/core/extensions/loader-api.js.map +1 -1
  373. package/dist/core/extensions/loader-bindings.d.ts +24 -0
  374. package/dist/core/extensions/loader-bindings.d.ts.map +1 -0
  375. package/dist/core/extensions/loader-bindings.js +128 -0
  376. package/dist/core/extensions/loader-bindings.js.map +1 -0
  377. package/dist/core/extensions/loader-core.d.ts +2 -1
  378. package/dist/core/extensions/loader-core.d.ts.map +1 -1
  379. package/dist/core/extensions/loader-core.js +92 -14
  380. package/dist/core/extensions/loader-core.js.map +1 -1
  381. package/dist/core/extensions/loader-host-modules.d.ts.map +1 -1
  382. package/dist/core/extensions/loader-host-modules.js +3 -1
  383. package/dist/core/extensions/loader-host-modules.js.map +1 -1
  384. package/dist/core/extensions/loader-rollback.d.ts +14 -0
  385. package/dist/core/extensions/loader-rollback.d.ts.map +1 -0
  386. package/dist/core/extensions/loader-rollback.js +95 -0
  387. package/dist/core/extensions/loader-rollback.js.map +1 -0
  388. package/dist/core/extensions/loader-runtime.d.ts +3 -1
  389. package/dist/core/extensions/loader-runtime.d.ts.map +1 -1
  390. package/dist/core/extensions/loader-runtime.js +38 -14
  391. package/dist/core/extensions/loader-runtime.js.map +1 -1
  392. package/dist/core/extensions/loader-virtual-modules.d.ts.map +1 -1
  393. package/dist/core/extensions/loader-virtual-modules.js +9 -2
  394. package/dist/core/extensions/loader-virtual-modules.js.map +1 -1
  395. package/dist/core/extensions/loader.d.ts +1 -1
  396. package/dist/core/extensions/loader.d.ts.map +1 -1
  397. package/dist/core/extensions/loader.js +1 -1
  398. package/dist/core/extensions/loader.js.map +1 -1
  399. package/dist/core/extensions/provider-types.d.ts +34 -14
  400. package/dist/core/extensions/provider-types.d.ts.map +1 -1
  401. package/dist/core/extensions/provider-types.js.map +1 -1
  402. package/dist/core/extensions/reactive-widget.d.ts +1 -1
  403. package/dist/core/extensions/reactive-widget.js.map +1 -1
  404. package/dist/core/extensions/runner-context.d.ts +4 -0
  405. package/dist/core/extensions/runner-context.d.ts.map +1 -1
  406. package/dist/core/extensions/runner-context.js +25 -0
  407. package/dist/core/extensions/runner-context.js.map +1 -1
  408. package/dist/core/extensions/runner-events.d.ts +24 -6
  409. package/dist/core/extensions/runner-events.d.ts.map +1 -1
  410. package/dist/core/extensions/runner-events.js +153 -58
  411. package/dist/core/extensions/runner-events.js.map +1 -1
  412. package/dist/core/extensions/runner-project-trust.d.ts.map +1 -1
  413. package/dist/core/extensions/runner-project-trust.js +2 -4
  414. package/dist/core/extensions/runner-project-trust.js.map +1 -1
  415. package/dist/core/extensions/runner.d.ts +34 -6
  416. package/dist/core/extensions/runner.d.ts.map +1 -1
  417. package/dist/core/extensions/runner.js +223 -24
  418. package/dist/core/extensions/runner.js.map +1 -1
  419. package/dist/core/extensions/runtime-types.d.ts +6 -0
  420. package/dist/core/extensions/runtime-types.d.ts.map +1 -1
  421. package/dist/core/extensions/runtime-types.js.map +1 -1
  422. package/dist/core/extensions/tool-types.d.ts +9 -0
  423. package/dist/core/extensions/tool-types.d.ts.map +1 -1
  424. package/dist/core/extensions/tool-types.js.map +1 -1
  425. package/dist/core/extensions/types.d.ts +3 -2
  426. package/dist/core/extensions/types.d.ts.map +1 -1
  427. package/dist/core/extensions/types.js +0 -12
  428. package/dist/core/extensions/types.js.map +1 -1
  429. package/dist/core/extensions/workflow-activity-hub.d.ts +2 -0
  430. package/dist/core/extensions/workflow-activity-hub.d.ts.map +1 -1
  431. package/dist/core/extensions/workflow-activity-hub.js +5 -3
  432. package/dist/core/extensions/workflow-activity-hub.js.map +1 -1
  433. package/dist/core/extensions/wrapper.d.ts.map +1 -1
  434. package/dist/core/extensions/wrapper.js +5 -3
  435. package/dist/core/extensions/wrapper.js.map +1 -1
  436. package/dist/core/fast-model-routing.d.ts +3 -3
  437. package/dist/core/fast-model-routing.d.ts.map +1 -1
  438. package/dist/core/fast-model-routing.js +4 -3
  439. package/dist/core/fast-model-routing.js.map +1 -1
  440. package/dist/core/fast-model-variants.d.ts +30 -0
  441. package/dist/core/fast-model-variants.d.ts.map +1 -1
  442. package/dist/core/fast-model-variants.js +43 -1
  443. package/dist/core/fast-model-variants.js.map +1 -1
  444. package/dist/core/index.d.ts +4 -1
  445. package/dist/core/index.d.ts.map +1 -1
  446. package/dist/core/index.js +2 -0
  447. package/dist/core/index.js.map +1 -1
  448. package/dist/core/mandatory-resource-loader.d.ts +4 -0
  449. package/dist/core/mandatory-resource-loader.d.ts.map +1 -1
  450. package/dist/core/mandatory-resource-loader.js +29 -1
  451. package/dist/core/mandatory-resource-loader.js.map +1 -1
  452. package/dist/core/mandatory-runtime-tools.d.ts +1 -4
  453. package/dist/core/mandatory-runtime-tools.d.ts.map +1 -1
  454. package/dist/core/mandatory-runtime-tools.js +1 -9
  455. package/dist/core/mandatory-runtime-tools.js.map +1 -1
  456. package/dist/core/messages.d.ts +10 -0
  457. package/dist/core/messages.d.ts.map +1 -1
  458. package/dist/core/messages.js +76 -2
  459. package/dist/core/messages.js.map +1 -1
  460. package/dist/core/model-config.d.ts +178 -10
  461. package/dist/core/model-config.d.ts.map +1 -1
  462. package/dist/core/model-config.js +48 -19
  463. package/dist/core/model-config.js.map +1 -1
  464. package/dist/core/model-registry.d.ts +6 -2
  465. package/dist/core/model-registry.d.ts.map +1 -1
  466. package/dist/core/model-registry.js +12 -2
  467. package/dist/core/model-registry.js.map +1 -1
  468. package/dist/core/model-resolver-defaults.d.ts.map +1 -1
  469. package/dist/core/model-resolver-defaults.js +2 -1
  470. package/dist/core/model-resolver-defaults.js.map +1 -1
  471. package/dist/core/model-routing-constraints.d.ts +24 -0
  472. package/dist/core/model-routing-constraints.d.ts.map +1 -0
  473. package/dist/core/model-routing-constraints.js +46 -0
  474. package/dist/core/model-routing-constraints.js.map +1 -0
  475. package/dist/core/model-routing-task.d.ts +4 -0
  476. package/dist/core/model-routing-task.d.ts.map +1 -0
  477. package/dist/core/model-routing-task.js +77 -0
  478. package/dist/core/model-routing-task.js.map +1 -0
  479. package/dist/core/model-runtime-auth.d.ts +2 -2
  480. package/dist/core/model-runtime-auth.d.ts.map +1 -1
  481. package/dist/core/model-runtime-auth.js.map +1 -1
  482. package/dist/core/model-runtime-streaming.d.ts +13 -3
  483. package/dist/core/model-runtime-streaming.d.ts.map +1 -1
  484. package/dist/core/model-runtime-streaming.js +16 -5
  485. package/dist/core/model-runtime-streaming.js.map +1 -1
  486. package/dist/core/model-runtime-types.d.ts +2 -2
  487. package/dist/core/model-runtime-types.d.ts.map +1 -1
  488. package/dist/core/model-runtime-types.js.map +1 -1
  489. package/dist/core/model-runtime.d.ts +29 -6
  490. package/dist/core/model-runtime.d.ts.map +1 -1
  491. package/dist/core/model-runtime.js +84 -7
  492. package/dist/core/model-runtime.js.map +1 -1
  493. package/dist/core/package-manager-npm.d.ts.map +1 -1
  494. package/dist/core/package-manager-npm.js +32 -8
  495. package/dist/core/package-manager-npm.js.map +1 -1
  496. package/dist/core/package-manager-resolver.js +3 -1
  497. package/dist/core/package-manager-resolver.js.map +1 -1
  498. package/dist/core/package-manager-types.d.ts +1 -0
  499. package/dist/core/package-manager-types.d.ts.map +1 -1
  500. package/dist/core/package-manager-types.js.map +1 -1
  501. package/dist/core/prompt-templates-async.d.ts +2 -2
  502. package/dist/core/prompt-templates-async.d.ts.map +1 -1
  503. package/dist/core/prompt-templates-async.js +57 -29
  504. package/dist/core/prompt-templates-async.js.map +1 -1
  505. package/dist/core/prompt-templates.d.ts +6 -1
  506. package/dist/core/prompt-templates.d.ts.map +1 -1
  507. package/dist/core/prompt-templates.js +61 -35
  508. package/dist/core/prompt-templates.js.map +1 -1
  509. package/dist/core/provider-composer-internal.d.ts +41 -20
  510. package/dist/core/provider-composer-internal.d.ts.map +1 -1
  511. package/dist/core/provider-composer-internal.js +43 -20
  512. package/dist/core/provider-composer-internal.js.map +1 -1
  513. package/dist/core/provider-composer.d.ts +3 -3
  514. package/dist/core/provider-composer.d.ts.map +1 -1
  515. package/dist/core/provider-composer.js +54 -10
  516. package/dist/core/provider-composer.js.map +1 -1
  517. package/dist/core/remote-catalog-provider.d.ts +8 -1
  518. package/dist/core/remote-catalog-provider.d.ts.map +1 -1
  519. package/dist/core/remote-catalog-provider.js +46 -4
  520. package/dist/core/remote-catalog-provider.js.map +1 -1
  521. package/dist/core/resolve-config-value.d.ts +2 -0
  522. package/dist/core/resolve-config-value.d.ts.map +1 -1
  523. package/dist/core/resolve-config-value.js +23 -1
  524. package/dist/core/resolve-config-value.js.map +1 -1
  525. package/dist/core/resource-loader-assets.d.ts.map +1 -1
  526. package/dist/core/resource-loader-assets.js +6 -6
  527. package/dist/core/resource-loader-assets.js.map +1 -1
  528. package/dist/core/resource-loader-core.d.ts +6 -0
  529. package/dist/core/resource-loader-core.d.ts.map +1 -1
  530. package/dist/core/resource-loader-core.js +41 -6
  531. package/dist/core/resource-loader-core.js.map +1 -1
  532. package/dist/core/resource-loader-extension-warnings.d.ts +9 -0
  533. package/dist/core/resource-loader-extension-warnings.d.ts.map +1 -0
  534. package/dist/core/resource-loader-extension-warnings.js +54 -0
  535. package/dist/core/resource-loader-extension-warnings.js.map +1 -0
  536. package/dist/core/resource-loader-extensions.d.ts.map +1 -1
  537. package/dist/core/resource-loader-extensions.js +3 -0
  538. package/dist/core/resource-loader-extensions.js.map +1 -1
  539. package/dist/core/resource-loader-reload.d.ts.map +1 -1
  540. package/dist/core/resource-loader-reload.js +13 -2
  541. package/dist/core/resource-loader-reload.js.map +1 -1
  542. package/dist/core/resource-loader.d.ts +1 -1
  543. package/dist/core/resource-loader.d.ts.map +1 -1
  544. package/dist/core/resource-loader.js +1 -1
  545. package/dist/core/resource-loader.js.map +1 -1
  546. package/dist/core/runtime-credentials.d.ts +2 -0
  547. package/dist/core/runtime-credentials.d.ts.map +1 -1
  548. package/dist/core/runtime-credentials.js +18 -1
  549. package/dist/core/runtime-credentials.js.map +1 -1
  550. package/dist/core/sdk-types.d.ts +18 -5
  551. package/dist/core/sdk-types.d.ts.map +1 -1
  552. package/dist/core/sdk-types.js.map +1 -1
  553. package/dist/core/sdk.d.ts +3 -1
  554. package/dist/core/sdk.d.ts.map +1 -1
  555. package/dist/core/sdk.js +231 -42
  556. package/dist/core/sdk.js.map +1 -1
  557. package/dist/core/session-lifecycle-scope.d.ts +15 -0
  558. package/dist/core/session-lifecycle-scope.d.ts.map +1 -0
  559. package/dist/core/session-lifecycle-scope.js +13 -0
  560. package/dist/core/session-lifecycle-scope.js.map +1 -0
  561. package/dist/core/session-lifecycle-work.d.ts +17 -0
  562. package/dist/core/session-lifecycle-work.d.ts.map +1 -0
  563. package/dist/core/session-lifecycle-work.js +144 -0
  564. package/dist/core/session-lifecycle-work.js.map +1 -0
  565. package/dist/core/session-manager-core.d.ts +19 -6
  566. package/dist/core/session-manager-core.d.ts.map +1 -1
  567. package/dist/core/session-manager-core.js +117 -12
  568. package/dist/core/session-manager-core.js.map +1 -1
  569. package/dist/core/session-manager-entries.d.ts +4 -1
  570. package/dist/core/session-manager-entries.d.ts.map +1 -1
  571. package/dist/core/session-manager-entries.js +8 -0
  572. package/dist/core/session-manager-entries.js.map +1 -1
  573. package/dist/core/session-manager-history.d.ts +16 -1
  574. package/dist/core/session-manager-history.d.ts.map +1 -1
  575. package/dist/core/session-manager-history.js +106 -40
  576. package/dist/core/session-manager-history.js.map +1 -1
  577. package/dist/core/session-manager-list.d.ts +3 -3
  578. package/dist/core/session-manager-list.d.ts.map +1 -1
  579. package/dist/core/session-manager-list.js +89 -74
  580. package/dist/core/session-manager-list.js.map +1 -1
  581. package/dist/core/session-manager-storage.d.ts.map +1 -1
  582. package/dist/core/session-manager-storage.js +10 -7
  583. package/dist/core/session-manager-storage.js.map +1 -1
  584. package/dist/core/session-manager-types.d.ts +41 -4
  585. package/dist/core/session-manager-types.d.ts.map +1 -1
  586. package/dist/core/session-manager-types.js.map +1 -1
  587. package/dist/core/session-manager.d.ts +2 -2
  588. package/dist/core/session-manager.d.ts.map +1 -1
  589. package/dist/core/session-manager.js +1 -1
  590. package/dist/core/session-manager.js.map +1 -1
  591. package/dist/core/session-startup-rollback.d.ts +5 -0
  592. package/dist/core/session-startup-rollback.d.ts.map +1 -0
  593. package/dist/core/session-startup-rollback.js +16 -0
  594. package/dist/core/session-startup-rollback.js.map +1 -0
  595. package/dist/core/settings-manager-basic-accessors.d.ts +5 -0
  596. package/dist/core/settings-manager-basic-accessors.d.ts.map +1 -1
  597. package/dist/core/settings-manager-basic-accessors.js +35 -0
  598. package/dist/core/settings-manager-basic-accessors.js.map +1 -1
  599. package/dist/core/settings-manager-core.d.ts.map +1 -1
  600. package/dist/core/settings-manager-core.js +4 -0
  601. package/dist/core/settings-manager-core.js.map +1 -1
  602. package/dist/core/settings-manager.d.ts +1 -0
  603. package/dist/core/settings-manager.d.ts.map +1 -1
  604. package/dist/core/settings-manager.js +1 -0
  605. package/dist/core/settings-manager.js.map +1 -1
  606. package/dist/core/settings-types.d.ts +4 -0
  607. package/dist/core/settings-types.d.ts.map +1 -1
  608. package/dist/core/settings-types.js +1 -1
  609. package/dist/core/settings-types.js.map +1 -1
  610. package/dist/core/settings-write-ownership.d.ts +7 -0
  611. package/dist/core/settings-write-ownership.d.ts.map +1 -0
  612. package/dist/core/settings-write-ownership.js +24 -0
  613. package/dist/core/settings-write-ownership.js.map +1 -0
  614. package/dist/core/skill-catalog.d.ts.map +1 -1
  615. package/dist/core/skill-catalog.js +18 -6
  616. package/dist/core/skill-catalog.js.map +1 -1
  617. package/dist/core/slash-commands.js +1 -1
  618. package/dist/core/slash-commands.js.map +1 -1
  619. package/dist/core/structured-output/choice-schema.d.ts +8 -0
  620. package/dist/core/structured-output/choice-schema.d.ts.map +1 -0
  621. package/dist/core/structured-output/choice-schema.js +79 -0
  622. package/dist/core/structured-output/choice-schema.js.map +1 -0
  623. package/dist/core/structured-output/index.d.ts +10 -0
  624. package/dist/core/structured-output/index.d.ts.map +1 -0
  625. package/dist/core/structured-output/index.js +424 -0
  626. package/dist/core/structured-output/index.js.map +1 -0
  627. package/dist/core/structured-output/invalid-output.d.ts +8 -0
  628. package/dist/core/structured-output/invalid-output.d.ts.map +1 -0
  629. package/dist/core/structured-output/invalid-output.js +4 -0
  630. package/dist/core/structured-output/invalid-output.js.map +1 -0
  631. package/dist/core/structured-output/resolver.d.ts +3 -0
  632. package/dist/core/structured-output/resolver.d.ts.map +1 -0
  633. package/dist/core/structured-output/resolver.js +26 -0
  634. package/dist/core/structured-output/resolver.js.map +1 -0
  635. package/dist/core/structured-output/types.d.ts +76 -0
  636. package/dist/core/structured-output/types.d.ts.map +1 -0
  637. package/dist/core/structured-output/types.js +2 -0
  638. package/dist/core/structured-output/types.js.map +1 -0
  639. package/dist/core/system-prompt.d.ts +48 -5
  640. package/dist/core/system-prompt.d.ts.map +1 -1
  641. package/dist/core/system-prompt.js +141 -100
  642. package/dist/core/system-prompt.js.map +1 -1
  643. package/dist/core/tasks/child-command-owner.d.ts +34 -0
  644. package/dist/core/tasks/child-command-owner.d.ts.map +1 -0
  645. package/dist/core/tasks/child-command-owner.js +70 -0
  646. package/dist/core/tasks/child-command-owner.js.map +1 -0
  647. package/dist/core/tasks/contracts.d.ts +6 -0
  648. package/dist/core/tasks/contracts.d.ts.map +1 -1
  649. package/dist/core/tasks/contracts.js.map +1 -1
  650. package/dist/core/tasks/owner-store.d.ts +6 -0
  651. package/dist/core/tasks/owner-store.d.ts.map +1 -1
  652. package/dist/core/tasks/owner-store.js +16 -3
  653. package/dist/core/tasks/owner-store.js.map +1 -1
  654. package/dist/core/tasks/pause.js +1 -1
  655. package/dist/core/tasks/pause.js.map +1 -1
  656. package/dist/core/tasks/supervisor.d.ts +4 -2
  657. package/dist/core/tasks/supervisor.d.ts.map +1 -1
  658. package/dist/core/tasks/supervisor.js +16 -3
  659. package/dist/core/tasks/supervisor.js.map +1 -1
  660. package/dist/core/tools/ask-user-question/ask-user-question.d.ts +4 -1
  661. package/dist/core/tools/ask-user-question/ask-user-question.d.ts.map +1 -1
  662. package/dist/core/tools/ask-user-question/ask-user-question.js +32 -35
  663. package/dist/core/tools/ask-user-question/ask-user-question.js.map +1 -1
  664. package/dist/core/tools/ask-user-question/index.d.ts +1 -1
  665. package/dist/core/tools/ask-user-question/index.js.map +1 -1
  666. package/dist/core/tools/ask-user-question/state/build-questionnaire.d.ts +1 -1
  667. package/dist/core/tools/ask-user-question/state/build-questionnaire.js.map +1 -1
  668. package/dist/core/tools/ask-user-question/state/key-router.d.ts +1 -1
  669. package/dist/core/tools/ask-user-question/state/key-router.js.map +1 -1
  670. package/dist/core/tools/ask-user-question/state/questionnaire-session.d.ts +1 -1
  671. package/dist/core/tools/ask-user-question/state/questionnaire-session.js.map +1 -1
  672. package/dist/core/tools/ask-user-question/state/row-intent.d.ts +1 -1
  673. package/dist/core/tools/ask-user-question/state/row-intent.js.map +1 -1
  674. package/dist/core/tools/ask-user-question/state/selectors/contract.d.ts +1 -1
  675. package/dist/core/tools/ask-user-question/state/selectors/contract.js.map +1 -1
  676. package/dist/core/tools/ask-user-question/state/selectors/derivations.d.ts +1 -1
  677. package/dist/core/tools/ask-user-question/state/selectors/derivations.js.map +1 -1
  678. package/dist/core/tools/ask-user-question/state/state-reducer.d.ts +1 -1
  679. package/dist/core/tools/ask-user-question/state/state-reducer.js.map +1 -1
  680. package/dist/core/tools/ask-user-question/state/state.d.ts +1 -1
  681. package/dist/core/tools/ask-user-question/state/state.js.map +1 -1
  682. package/dist/core/tools/ask-user-question/tool/format-answer.d.ts +1 -1
  683. package/dist/core/tools/ask-user-question/tool/format-answer.js.map +1 -1
  684. package/dist/core/tools/ask-user-question/tool/response-envelope.d.ts +1 -1
  685. package/dist/core/tools/ask-user-question/tool/response-envelope.js.map +1 -1
  686. package/dist/core/tools/ask-user-question/tool/validate-questionnaire.d.ts +1 -1
  687. package/dist/core/tools/ask-user-question/tool/validate-questionnaire.js.map +1 -1
  688. package/dist/core/tools/ask-user-question/view/components/multi-select-view.d.ts +1 -1
  689. package/dist/core/tools/ask-user-question/view/components/multi-select-view.js.map +1 -1
  690. package/dist/core/tools/ask-user-question/view/components/preview/markdown-content-cache.d.ts +1 -1
  691. package/dist/core/tools/ask-user-question/view/components/preview/markdown-content-cache.js.map +1 -1
  692. package/dist/core/tools/ask-user-question/view/components/preview/preview-block-renderer.d.ts +1 -1
  693. package/dist/core/tools/ask-user-question/view/components/preview/preview-block-renderer.js.map +1 -1
  694. package/dist/core/tools/ask-user-question/view/components/preview/preview-layout-decider.d.ts +1 -1
  695. package/dist/core/tools/ask-user-question/view/components/preview/preview-layout-decider.js.map +1 -1
  696. package/dist/core/tools/ask-user-question/view/components/preview/preview-pane.d.ts +1 -1
  697. package/dist/core/tools/ask-user-question/view/components/preview/preview-pane.js.map +1 -1
  698. package/dist/core/tools/ask-user-question/view/components/submit-picker.js.map +1 -1
  699. package/dist/core/tools/ask-user-question/view/components/wrapping-select.js.map +1 -1
  700. package/dist/core/tools/ask-user-question/view/dialog-builder.d.ts +1 -1
  701. package/dist/core/tools/ask-user-question/view/dialog-builder.js.map +1 -1
  702. package/dist/core/tools/ask-user-question/view/props-adapter.d.ts +1 -1
  703. package/dist/core/tools/ask-user-question/view/props-adapter.js.map +1 -1
  704. package/dist/core/tools/ask-user-question/view/tab-content-strategy.d.ts +1 -1
  705. package/dist/core/tools/ask-user-question/view/tab-content-strategy.js.map +1 -1
  706. package/dist/core/tools/bash-pty-native.d.ts +5 -1
  707. package/dist/core/tools/bash-pty-native.d.ts.map +1 -1
  708. package/dist/core/tools/bash-pty-native.js +15 -7
  709. package/dist/core/tools/bash-pty-native.js.map +1 -1
  710. package/dist/core/tools/bash.d.ts.map +1 -1
  711. package/dist/core/tools/bash.js +32 -24
  712. package/dist/core/tools/bash.js.map +1 -1
  713. package/dist/core/tools/edit.d.ts.map +1 -1
  714. package/dist/core/tools/edit.js +1 -0
  715. package/dist/core/tools/edit.js.map +1 -1
  716. package/dist/core/tools/file-mutation-coordinator.d.ts +4 -3
  717. package/dist/core/tools/file-mutation-coordinator.d.ts.map +1 -1
  718. package/dist/core/tools/file-mutation-coordinator.js +45 -38
  719. package/dist/core/tools/file-mutation-coordinator.js.map +1 -1
  720. package/dist/core/tools/find.d.ts +2 -2
  721. package/dist/core/tools/find.d.ts.map +1 -1
  722. package/dist/core/tools/find.js +1 -1
  723. package/dist/core/tools/find.js.map +1 -1
  724. package/dist/core/tools/kill.d.ts +2 -2
  725. package/dist/core/tools/kill.d.ts.map +1 -1
  726. package/dist/core/tools/kill.js +3 -4
  727. package/dist/core/tools/kill.js.map +1 -1
  728. package/dist/core/tools/powershell.d.ts +16 -0
  729. package/dist/core/tools/powershell.d.ts.map +1 -1
  730. package/dist/core/tools/read.d.ts +4 -0
  731. package/dist/core/tools/read.d.ts.map +1 -1
  732. package/dist/core/tools/read.js +5 -1
  733. package/dist/core/tools/read.js.map +1 -1
  734. package/dist/core/tools/structured-output.d.ts +9 -6
  735. package/dist/core/tools/structured-output.d.ts.map +1 -1
  736. package/dist/core/tools/structured-output.js +36 -8
  737. package/dist/core/tools/structured-output.js.map +1 -1
  738. package/dist/core/tools/todos.d.ts.map +1 -1
  739. package/dist/core/tools/todos.js +1 -0
  740. package/dist/core/tools/todos.js.map +1 -1
  741. package/dist/core/tools/tool-concurrency.d.ts +23 -0
  742. package/dist/core/tools/tool-concurrency.d.ts.map +1 -0
  743. package/dist/core/tools/tool-concurrency.js +58 -0
  744. package/dist/core/tools/tool-concurrency.js.map +1 -0
  745. package/dist/core/tools/tool-definition-wrapper.d.ts +4 -1
  746. package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
  747. package/dist/core/tools/tool-definition-wrapper.js +2 -0
  748. package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
  749. package/dist/core/tools/write.d.ts.map +1 -1
  750. package/dist/core/tools/write.js +1 -0
  751. package/dist/core/tools/write.js.map +1 -1
  752. package/dist/core/usage-totals.d.ts.map +1 -1
  753. package/dist/core/usage-totals.js +4 -0
  754. package/dist/core/usage-totals.js.map +1 -1
  755. package/dist/extensions/herdr/index.d.ts.map +1 -1
  756. package/dist/extensions/herdr/index.js +0 -7
  757. package/dist/extensions/herdr/index.js.map +1 -1
  758. package/dist/extensions/llama/client.d.ts +2 -0
  759. package/dist/extensions/llama/client.d.ts.map +1 -1
  760. package/dist/extensions/llama/client.js +6 -2
  761. package/dist/extensions/llama/client.js.map +1 -1
  762. package/dist/extensions/llama/provider.d.ts.map +1 -1
  763. package/dist/extensions/llama/provider.js +18 -4
  764. package/dist/extensions/llama/provider.js.map +1 -1
  765. package/dist/index-extensions.d.ts +1 -1
  766. package/dist/index-extensions.d.ts.map +1 -1
  767. package/dist/index-extensions.js.map +1 -1
  768. package/dist/index.d.ts +13 -4
  769. package/dist/index.d.ts.map +1 -1
  770. package/dist/index.js +8 -3
  771. package/dist/index.js.map +1 -1
  772. package/dist/main-app-mode.d.ts +1 -1
  773. package/dist/main-app-mode.d.ts.map +1 -1
  774. package/dist/main-app-mode.js +3 -2
  775. package/dist/main-app-mode.js.map +1 -1
  776. package/dist/main-session.d.ts.map +1 -1
  777. package/dist/main-session.js +24 -16
  778. package/dist/main-session.js.map +1 -1
  779. package/dist/main.d.ts.map +1 -1
  780. package/dist/main.js +9 -6
  781. package/dist/main.js.map +1 -1
  782. package/dist/modes/interactive/components/atomic-banner.d.ts.map +1 -1
  783. package/dist/modes/interactive/components/atomic-banner.js +3 -2
  784. package/dist/modes/interactive/components/atomic-banner.js.map +1 -1
  785. package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
  786. package/dist/modes/interactive/components/branch-summary-message.js +12 -5
  787. package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
  788. package/dist/modes/interactive/components/chat-message-renderer.d.ts +5 -1
  789. package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
  790. package/dist/modes/interactive/components/chat-message-renderer.js +4 -0
  791. package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
  792. package/dist/modes/interactive/components/chat-session-host-events.d.ts +2 -2
  793. package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
  794. package/dist/modes/interactive/components/compaction-boundary-message.d.ts +2 -0
  795. package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
  796. package/dist/modes/interactive/components/compaction-boundary-message.js +30 -12
  797. package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
  798. package/dist/modes/interactive/components/custom-editor.d.ts +6 -0
  799. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
  800. package/dist/modes/interactive/components/custom-editor.js +17 -0
  801. package/dist/modes/interactive/components/custom-editor.js.map +1 -1
  802. package/dist/modes/interactive/components/host-input-form-mount.d.ts +1 -1
  803. package/dist/modes/interactive/components/host-input-form-mount.js.map +1 -1
  804. package/dist/modes/interactive/components/host-input-form.d.ts +1 -1
  805. package/dist/modes/interactive/components/host-input-form.js.map +1 -1
  806. package/dist/modes/interactive/components/host-session-picker.d.ts +1 -1
  807. package/dist/modes/interactive/components/host-session-picker.js.map +1 -1
  808. package/dist/modes/interactive/components/reserved-bottom-overlay.d.ts +1 -1
  809. package/dist/modes/interactive/components/reserved-bottom-overlay.js.map +1 -1
  810. package/dist/modes/interactive/components/scroll-widget.d.ts +1 -1
  811. package/dist/modes/interactive/components/scroll-widget.js.map +1 -1
  812. package/dist/modes/interactive/components/settings-selector-handlers.d.ts.map +1 -1
  813. package/dist/modes/interactive/components/settings-selector-handlers.js +3 -0
  814. package/dist/modes/interactive/components/settings-selector-handlers.js.map +1 -1
  815. package/dist/modes/interactive/components/settings-selector-items.d.ts.map +1 -1
  816. package/dist/modes/interactive/components/settings-selector-items.js +52 -1
  817. package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
  818. package/dist/modes/interactive/components/settings-selector-submenus.d.ts.map +1 -1
  819. package/dist/modes/interactive/components/settings-selector-submenus.js +2 -1
  820. package/dist/modes/interactive/components/settings-selector-submenus.js.map +1 -1
  821. package/dist/modes/interactive/components/settings-selector-types.d.ts +8 -2
  822. package/dist/modes/interactive/components/settings-selector-types.d.ts.map +1 -1
  823. package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
  824. package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
  825. package/dist/modes/interactive/components/skill-invocation-message.js +11 -4
  826. package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
  827. package/dist/modes/interactive/components/startup-identity.d.ts +3 -0
  828. package/dist/modes/interactive/components/startup-identity.d.ts.map +1 -1
  829. package/dist/modes/interactive/components/startup-identity.js +11 -2
  830. package/dist/modes/interactive/components/startup-identity.js.map +1 -1
  831. package/dist/modes/interactive/components/task-inspector.d.ts +1 -0
  832. package/dist/modes/interactive/components/task-inspector.d.ts.map +1 -1
  833. package/dist/modes/interactive/components/task-inspector.js +11 -11
  834. package/dist/modes/interactive/components/task-inspector.js.map +1 -1
  835. package/dist/modes/interactive/components/task-list.d.ts +9 -3
  836. package/dist/modes/interactive/components/task-list.d.ts.map +1 -1
  837. package/dist/modes/interactive/components/task-list.js +26 -2
  838. package/dist/modes/interactive/components/task-list.js.map +1 -1
  839. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  840. package/dist/modes/interactive/components/tool-execution.js +14 -9
  841. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  842. package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
  843. package/dist/modes/interactive/components/tree-selector-content.js +6 -0
  844. package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
  845. package/dist/modes/interactive/components/tree-selector-model.d.ts.map +1 -1
  846. package/dist/modes/interactive/components/tree-selector-model.js +1 -0
  847. package/dist/modes/interactive/components/tree-selector-model.js.map +1 -1
  848. package/dist/modes/interactive/interactive-agent-events.js +20 -10
  849. package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
  850. package/dist/modes/interactive/interactive-auth-login.js +3 -5
  851. package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
  852. package/dist/modes/interactive/interactive-auth-routing.js +2 -2
  853. package/dist/modes/interactive/interactive-auth-routing.js.map +1 -1
  854. package/dist/modes/interactive/interactive-autocomplete.js +4 -0
  855. package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
  856. package/dist/modes/interactive/interactive-bash-compact.d.ts.map +1 -1
  857. package/dist/modes/interactive/interactive-bash-compact.js +13 -6
  858. package/dist/modes/interactive/interactive-bash-compact.js.map +1 -1
  859. package/dist/modes/interactive/interactive-extension-runtime.js +5 -0
  860. package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
  861. package/dist/modes/interactive/interactive-input-handling.js +2 -2
  862. package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
  863. package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -1
  864. package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
  865. package/dist/modes/interactive/interactive-mode-deps.js +1 -1
  866. package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
  867. package/dist/modes/interactive/interactive-mode-helpers.d.ts +1 -0
  868. package/dist/modes/interactive/interactive-mode-helpers.d.ts.map +1 -1
  869. package/dist/modes/interactive/interactive-mode-helpers.js +16 -0
  870. package/dist/modes/interactive/interactive-mode-helpers.js.map +1 -1
  871. package/dist/modes/interactive/interactive-mode-surface.d.ts +2 -1
  872. package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
  873. package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
  874. package/dist/modes/interactive/interactive-process-lifecycle.js +13 -1
  875. package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
  876. package/dist/modes/interactive/interactive-render-chat.js +30 -34
  877. package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
  878. package/dist/modes/interactive/interactive-resource-rendering.js +6 -9
  879. package/dist/modes/interactive/interactive-resource-rendering.js.map +1 -1
  880. package/dist/modes/interactive/interactive-selectors.js +11 -0
  881. package/dist/modes/interactive/interactive-selectors.js.map +1 -1
  882. package/dist/modes/interactive/interactive-session-runtime.js +5 -1
  883. package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
  884. package/dist/modes/interactive/interactive-slash-commands.js +2 -4
  885. package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
  886. package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
  887. package/dist/modes/interactive/interactive-startup.js +2 -2
  888. package/dist/modes/interactive/interactive-startup.js.map +1 -1
  889. package/dist/modes/interactive/interactive-tui.d.ts +3 -6
  890. package/dist/modes/interactive/interactive-tui.d.ts.map +1 -1
  891. package/dist/modes/interactive/interactive-tui.js +15 -5
  892. package/dist/modes/interactive/interactive-tui.js.map +1 -1
  893. package/dist/modes/interactive/overlay-line-composite.d.ts +7 -0
  894. package/dist/modes/interactive/overlay-line-composite.d.ts.map +1 -0
  895. package/dist/modes/interactive/overlay-line-composite.js +24 -0
  896. package/dist/modes/interactive/overlay-line-composite.js.map +1 -0
  897. package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
  898. package/dist/modes/interactive-engine/engine-custom-ui.js +3 -1
  899. package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
  900. package/dist/modes/interactive-engine/engine-input-form.d.ts +1 -1
  901. package/dist/modes/interactive-engine/engine-input-form.js.map +1 -1
  902. package/dist/modes/interactive-engine/engine-session-picker.d.ts +1 -1
  903. package/dist/modes/interactive-engine/engine-session-picker.js.map +1 -1
  904. package/dist/modes/interactive-engine/isolated-auth.d.ts +16 -0
  905. package/dist/modes/interactive-engine/isolated-auth.d.ts.map +1 -1
  906. package/dist/modes/interactive-engine/isolated-auth.js +27 -0
  907. package/dist/modes/interactive-engine/isolated-auth.js.map +1 -1
  908. package/dist/modes/interactive-engine/isolated-runtime.d.ts +5 -0
  909. package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
  910. package/dist/modes/interactive-engine/isolated-runtime.js +19 -2
  911. package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
  912. package/dist/modes/interactive-engine/protocol.d.ts +1 -1
  913. package/dist/modes/interactive-engine/protocol.js.map +1 -1
  914. package/dist/modes/interactive-engine/remote-component.js.map +1 -1
  915. package/dist/modes/rpc/rpc-client-api.d.ts +2 -1
  916. package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
  917. package/dist/modes/rpc/rpc-client-api.js +7 -2
  918. package/dist/modes/rpc/rpc-client-api.js.map +1 -1
  919. package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
  920. package/dist/modes/rpc/rpc-command-handler.js +3 -1
  921. package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
  922. package/dist/modes/rpc/rpc-keybindings-reload.d.ts +1 -1
  923. package/dist/modes/rpc/rpc-keybindings-reload.js.map +1 -1
  924. package/dist/modes/rpc/rpc-provider-auth.d.ts +3 -2
  925. package/dist/modes/rpc/rpc-provider-auth.d.ts.map +1 -1
  926. package/dist/modes/rpc/rpc-provider-auth.js +2 -2
  927. package/dist/modes/rpc/rpc-provider-auth.js.map +1 -1
  928. package/dist/modes/rpc/rpc-types.d.ts +2 -0
  929. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  930. package/dist/modes/rpc/rpc-types.js.map +1 -1
  931. package/dist/session-id-target.d.ts +31 -0
  932. package/dist/session-id-target.d.ts.map +1 -0
  933. package/dist/session-id-target.js +57 -0
  934. package/dist/session-id-target.js.map +1 -0
  935. package/dist/utils/abort.d.ts.map +1 -1
  936. package/dist/utils/abort.js +29 -4
  937. package/dist/utils/abort.js.map +1 -1
  938. package/dist/utils/child-process.d.ts +1 -0
  939. package/dist/utils/child-process.d.ts.map +1 -1
  940. package/dist/utils/child-process.js +7 -8
  941. package/dist/utils/child-process.js.map +1 -1
  942. package/dist/utils/clipboard-image.d.ts.map +1 -1
  943. package/dist/utils/clipboard-image.js +15 -29
  944. package/dist/utils/clipboard-image.js.map +1 -1
  945. package/dist/utils/clipboard.d.ts.map +1 -1
  946. package/dist/utils/clipboard.js +88 -12
  947. package/dist/utils/clipboard.js.map +1 -1
  948. package/dist/utils/mime.js +1 -1
  949. package/dist/utils/mime.js.map +1 -1
  950. package/dist/utils/shell.d.ts.map +1 -1
  951. package/dist/utils/shell.js +18 -1
  952. package/dist/utils/shell.js.map +1 -1
  953. package/dist/utils/tool-result-images.d.ts +3 -1
  954. package/dist/utils/tool-result-images.d.ts.map +1 -1
  955. package/dist/utils/tool-result-images.js +4 -1
  956. package/dist/utils/tool-result-images.js.map +1 -1
  957. package/dist/utils/wsl.d.ts +3 -0
  958. package/dist/utils/wsl.d.ts.map +1 -0
  959. package/dist/utils/wsl.js +15 -0
  960. package/dist/utils/wsl.js.map +1 -0
  961. package/docs/background-tasks.md +36 -16
  962. package/docs/build.md +6 -16
  963. package/docs/compaction/reference.md +12 -12
  964. package/docs/compaction.md +33 -109
  965. package/docs/computer-use.md +124 -76
  966. package/docs/containerization.md +4 -5
  967. package/docs/custom-provider/api-reference.md +10 -1
  968. package/docs/custom-provider/oauth.md +4 -2
  969. package/docs/custom-provider/registration.md +1 -1
  970. package/docs/custom-provider/streaming.md +8 -3
  971. package/docs/custom-provider.md +44 -2
  972. package/docs/development.md +13 -138
  973. package/docs/docs.json +19 -4
  974. package/docs/environment-variables.md +21 -5
  975. package/docs/extensions/api-reference.md +6 -2
  976. package/docs/extensions/authoring.md +29 -7
  977. package/docs/extensions/events.md +107 -31
  978. package/docs/extensions/examples.md +1 -0
  979. package/docs/extensions/ui.md +3 -4
  980. package/docs/extensions.md +28 -20
  981. package/docs/getting-started/authentication.md +4 -1
  982. package/docs/getting-started/first-session.md +11 -8
  983. package/docs/getting-started/installation.md +14 -6
  984. package/docs/getting-started/project-instructions.md +5 -1
  985. package/docs/guides/configuration.md +10 -5
  986. package/docs/guides/non-interactive.md +2 -2
  987. package/docs/guides.md +8 -17
  988. package/docs/herdr.md +2 -1
  989. package/docs/index.md +2 -2
  990. package/docs/intercom/operations.md +25 -67
  991. package/docs/intercom/reference.md +15 -5
  992. package/docs/intercom.md +16 -7
  993. package/docs/json.md +12 -2
  994. package/docs/keybindings.md +15 -8
  995. package/docs/llama-cpp.md +6 -2
  996. package/docs/mcp-servers.md +93 -0
  997. package/docs/models/evals.md +75 -465
  998. package/docs/models/model-selection.md +35 -116
  999. package/docs/models/reference.md +70 -24
  1000. package/docs/models.md +7 -4
  1001. package/docs/packages/authoring.md +8 -2
  1002. package/docs/packages/reference.md +5 -1
  1003. package/docs/packages.md +7 -3
  1004. package/docs/programmatic.md +3 -1
  1005. package/docs/prompt-templates.md +3 -2
  1006. package/docs/providers/reference.md +2 -2
  1007. package/docs/providers.md +55 -18
  1008. package/docs/quickstart.md +8 -4
  1009. package/docs/reference/cli.md +21 -13
  1010. package/docs/reference.md +3 -6
  1011. package/docs/rpc/examples.md +2 -0
  1012. package/docs/rpc/protocol.md +11 -13
  1013. package/docs/rpc.md +5 -1
  1014. package/docs/sdk/reference.md +62 -267
  1015. package/docs/sdk/structured-decisions.md +94 -0
  1016. package/docs/sdk.md +194 -19
  1017. package/docs/security.md +7 -4
  1018. package/docs/session-format.md +35 -7
  1019. package/docs/sessions.md +12 -6
  1020. package/docs/settings.md +68 -16
  1021. package/docs/skills/authoring.md +7 -1
  1022. package/docs/skills.md +33 -8
  1023. package/docs/subagents/authoring.md +11 -1
  1024. package/docs/subagents/reference.md +97 -10
  1025. package/docs/subagents.md +52 -36
  1026. package/docs/terminal-setup.md +4 -2
  1027. package/docs/termux.md +3 -1
  1028. package/docs/themes/reference.md +4 -1
  1029. package/docs/themes.md +1 -1
  1030. package/docs/tools.md +431 -20
  1031. package/docs/tui/reference.md +13 -14
  1032. package/docs/tui.md +10 -6
  1033. package/docs/usage.md +34 -7
  1034. package/docs/web-access.md +5 -1
  1035. package/docs/windows.md +18 -11
  1036. package/docs/workflows/api-reference.md +112 -27
  1037. package/docs/workflows/authoring.md +345 -33
  1038. package/docs/workflows/builtins.md +22 -28
  1039. package/docs/workflows/operations.md +253 -140
  1040. package/docs/workflows/reliable-design.md +59 -130
  1041. package/docs/workflows/verification.md +40 -14
  1042. package/docs/workflows.md +12 -17
  1043. package/examples/extensions/README.md +1 -0
  1044. package/examples/extensions/custom-provider-anthropic/index.ts +15 -10
  1045. package/examples/extensions/custom-provider-gitlab-duo/index.ts +2 -2
  1046. package/examples/extensions/debug-provider.ts +90 -0
  1047. package/examples/extensions/prompt-customizer.ts +17 -37
  1048. package/examples/extensions/structured-output.ts +6 -0
  1049. package/examples/rpc-client.ts +38 -0
  1050. package/examples/rpc-extension-ui.ts +19 -5
  1051. package/examples/sdk/README.md +1 -1
  1052. package/npm-shrinkwrap.json +506 -713
  1053. package/package.json +13 -11
  1054. package/dist/builtin/subagents/skills/playwright-cli/SKILL.md +0 -420
  1055. package/dist/builtin/subagents/skills/playwright-cli/references/element-attributes.md +0 -23
  1056. package/dist/builtin/subagents/skills/playwright-cli/references/playwright-tests.md +0 -39
  1057. package/dist/builtin/subagents/skills/playwright-cli/references/request-mocking.md +0 -87
  1058. package/dist/builtin/subagents/skills/playwright-cli/references/running-code.md +0 -241
  1059. package/dist/builtin/subagents/skills/playwright-cli/references/session-management.md +0 -225
  1060. package/dist/builtin/subagents/skills/playwright-cli/references/storage-state.md +0 -275
  1061. package/dist/builtin/subagents/skills/playwright-cli/references/test-generation.md +0 -433
  1062. package/dist/builtin/subagents/skills/playwright-cli/references/tracing.md +0 -139
  1063. package/dist/builtin/subagents/skills/playwright-cli/references/video-recording.md +0 -143
  1064. package/dist/builtin/workflows/builtin/chunk-m0xfsef8.js +0 -2813
  1065. package/dist/builtin/workflows/skills/impeccable/agents/impeccable_asset_producer.toml +0 -94
  1066. package/dist/builtin/workflows/skills/impeccable/agents/impeccable_documenter.toml +0 -27
  1067. package/dist/builtin/workflows/skills/impeccable/agents/impeccable_finish_reviewer.toml +0 -41
  1068. package/dist/builtin/workflows/skills/impeccable/agents/impeccable_manual_edit_applier.toml +0 -95
  1069. package/dist/builtin/workflows/skills/impeccable/agents/openai.yaml +0 -4
  1070. package/dist/builtin/workflows/skills/impeccable/scripts/concept-seed.mjs +0 -695
  1071. package/dist/builtin/workflows/skills/impeccable/scripts/context-signals.mjs +0 -325
  1072. package/dist/builtin/workflows/skills/impeccable/scripts/context.mjs +0 -1503
  1073. package/dist/builtin/workflows/skills/impeccable/scripts/critique-storage.mjs +0 -222
  1074. package/dist/builtin/workflows/skills/impeccable/scripts/detect-csp.mjs +0 -198
  1075. package/dist/builtin/workflows/skills/impeccable/scripts/detect.mjs +0 -21
  1076. package/dist/builtin/workflows/skills/impeccable/scripts/detector/browser/injected/index.mjs +0 -2073
  1077. package/dist/builtin/workflows/skills/impeccable/scripts/detector/cli/main.mjs +0 -432
  1078. package/dist/builtin/workflows/skills/impeccable/scripts/detector/design-system.mjs +0 -1121
  1079. package/dist/builtin/workflows/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +0 -8746
  1080. package/dist/builtin/workflows/skills/impeccable/scripts/detector/detect-antipatterns.mjs +0 -51
  1081. package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +0 -376
  1082. package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +0 -1168
  1083. package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +0 -1192
  1084. package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +0 -290
  1085. package/dist/builtin/workflows/skills/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -189
  1086. package/dist/builtin/workflows/skills/impeccable/scripts/detector/findings.mjs +0 -18
  1087. package/dist/builtin/workflows/skills/impeccable/scripts/detector/node/file-system.mjs +0 -213
  1088. package/dist/builtin/workflows/skills/impeccable/scripts/detector/profile/profiler.mjs +0 -166
  1089. package/dist/builtin/workflows/skills/impeccable/scripts/detector/registry/antipatterns.mjs +0 -617
  1090. package/dist/builtin/workflows/skills/impeccable/scripts/detector/rules/checks.mjs +0 -5534
  1091. package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/color.mjs +0 -588
  1092. package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/constants.mjs +0 -112
  1093. package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/fonts.mjs +0 -30
  1094. package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/inline-ignores.mjs +0 -148
  1095. package/dist/builtin/workflows/skills/impeccable/scripts/detector/shared/page.mjs +0 -35
  1096. package/dist/builtin/workflows/skills/impeccable/scripts/doctor.mjs +0 -338
  1097. package/dist/builtin/workflows/skills/impeccable/scripts/embed-prompt.mjs +0 -270
  1098. package/dist/builtin/workflows/skills/impeccable/scripts/generate-image.mjs +0 -277
  1099. package/dist/builtin/workflows/skills/impeccable/scripts/hook-admin.mjs +0 -783
  1100. package/dist/builtin/workflows/skills/impeccable/scripts/hook-lib.mjs +0 -2305
  1101. package/dist/builtin/workflows/skills/impeccable/scripts/hook.mjs +0 -78
  1102. package/dist/builtin/workflows/skills/impeccable/scripts/lib/artifact-schema.mjs +0 -93
  1103. package/dist/builtin/workflows/skills/impeccable/scripts/lib/composition-catalog.mjs +0 -200
  1104. package/dist/builtin/workflows/skills/impeccable/scripts/lib/concept-catalog.mjs +0 -395
  1105. package/dist/builtin/workflows/skills/impeccable/scripts/lib/design-parser.mjs +0 -925
  1106. package/dist/builtin/workflows/skills/impeccable/scripts/lib/impeccable-config.mjs +0 -640
  1107. package/dist/builtin/workflows/skills/impeccable/scripts/lib/impeccable-paths.mjs +0 -137
  1108. package/dist/builtin/workflows/skills/impeccable/scripts/lib/is-generated.mjs +0 -72
  1109. package/dist/builtin/workflows/skills/impeccable/scripts/lib/open-system-browser.mjs +0 -57
  1110. package/dist/builtin/workflows/skills/impeccable/scripts/lib/provider.mjs +0 -5
  1111. package/dist/builtin/workflows/skills/impeccable/scripts/lib/roll-selection.mjs +0 -369
  1112. package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness-deep.mjs +0 -483
  1113. package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness-notice.mjs +0 -169
  1114. package/dist/builtin/workflows/skills/impeccable/scripts/lib/staleness.mjs +0 -528
  1115. package/dist/builtin/workflows/skills/impeccable/scripts/lib/surface-briefs.mjs +0 -151
  1116. package/dist/builtin/workflows/skills/impeccable/scripts/lib/target-args.mjs +0 -42
  1117. package/dist/builtin/workflows/skills/impeccable/scripts/lib/target-slug.mjs +0 -33
  1118. package/dist/builtin/workflows/skills/impeccable/scripts/lib/template-extensions.mjs +0 -146
  1119. package/dist/builtin/workflows/skills/impeccable/scripts/live/accept-css.mjs +0 -617
  1120. package/dist/builtin/workflows/skills/impeccable/scripts/live/accept-verify.mjs +0 -71
  1121. package/dist/builtin/workflows/skills/impeccable/scripts/live/browser-script-parts.mjs +0 -77
  1122. package/dist/builtin/workflows/skills/impeccable/scripts/live/completion.mjs +0 -28
  1123. package/dist/builtin/workflows/skills/impeccable/scripts/live/event-validation.mjs +0 -199
  1124. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/astro.mjs +0 -47
  1125. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/detect-utils.mjs +0 -157
  1126. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/index.mjs +0 -143
  1127. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/journal.mjs +0 -205
  1128. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/nextjs.mjs +0 -49
  1129. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/nuxt.mjs +0 -170
  1130. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/script-src.mjs +0 -26
  1131. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/static-html.mjs +0 -26
  1132. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/sveltekit.mjs +0 -71
  1133. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/tag-strategy.mjs +0 -247
  1134. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/tanstack-start.mjs +0 -70
  1135. package/dist/builtin/workflows/skills/impeccable/scripts/live/frameworks/vite-generic.mjs +0 -42
  1136. package/dist/builtin/workflows/skills/impeccable/scripts/live/generation-preflight.mjs +0 -149
  1137. package/dist/builtin/workflows/skills/impeccable/scripts/live/insert-ui.mjs +0 -458
  1138. package/dist/builtin/workflows/skills/impeccable/scripts/live/instructions.mjs +0 -169
  1139. package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-apply.mjs +0 -939
  1140. package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-edit-routes.mjs +0 -357
  1141. package/dist/builtin/workflows/skills/impeccable/scripts/live/manual-edits-buffer.mjs +0 -152
  1142. package/dist/builtin/workflows/skills/impeccable/scripts/live/poll-lanes.mjs +0 -14
  1143. package/dist/builtin/workflows/skills/impeccable/scripts/live/roots.mjs +0 -670
  1144. package/dist/builtin/workflows/skills/impeccable/scripts/live/session-store.mjs +0 -563
  1145. package/dist/builtin/workflows/skills/impeccable/scripts/live/source-lock.mjs +0 -105
  1146. package/dist/builtin/workflows/skills/impeccable/scripts/live/source-search.mjs +0 -105
  1147. package/dist/builtin/workflows/skills/impeccable/scripts/live/svelte-ast.mjs +0 -969
  1148. package/dist/builtin/workflows/skills/impeccable/scripts/live/svelte-component.mjs +0 -1401
  1149. package/dist/builtin/workflows/skills/impeccable/scripts/live/sveltekit-adapter.mjs +0 -314
  1150. package/dist/builtin/workflows/skills/impeccable/scripts/live/tanstack-adapter.mjs +0 -280
  1151. package/dist/builtin/workflows/skills/impeccable/scripts/live/ui-surfaces.mjs +0 -75
  1152. package/dist/builtin/workflows/skills/impeccable/scripts/live/vocabulary.mjs +0 -171
  1153. package/dist/builtin/workflows/skills/impeccable/scripts/live-accept.mjs +0 -961
  1154. package/dist/builtin/workflows/skills/impeccable/scripts/live-commit-manual-edits.mjs +0 -1244
  1155. package/dist/builtin/workflows/skills/impeccable/scripts/live-complete.mjs +0 -107
  1156. package/dist/builtin/workflows/skills/impeccable/scripts/live-copy-edit-agent.mjs +0 -800
  1157. package/dist/builtin/workflows/skills/impeccable/scripts/live-discard-manual-edits.mjs +0 -51
  1158. package/dist/builtin/workflows/skills/impeccable/scripts/live-inject.mjs +0 -515
  1159. package/dist/builtin/workflows/skills/impeccable/scripts/live-insert.mjs +0 -292
  1160. package/dist/builtin/workflows/skills/impeccable/scripts/live-manual-edit-evidence.mjs +0 -371
  1161. package/dist/builtin/workflows/skills/impeccable/scripts/live-poll.mjs +0 -427
  1162. package/dist/builtin/workflows/skills/impeccable/scripts/live-resume.mjs +0 -123
  1163. package/dist/builtin/workflows/skills/impeccable/scripts/live-server.mjs +0 -1675
  1164. package/dist/builtin/workflows/skills/impeccable/scripts/live-status.mjs +0 -71
  1165. package/dist/builtin/workflows/skills/impeccable/scripts/live-target.mjs +0 -30
  1166. package/dist/builtin/workflows/skills/impeccable/scripts/live-wrap.mjs +0 -927
  1167. package/dist/builtin/workflows/skills/impeccable/scripts/live.mjs +0 -365
  1168. package/dist/builtin/workflows/skills/impeccable/scripts/palette.mjs +0 -628
  1169. package/dist/builtin/workflows/skills/impeccable/scripts/pin.mjs +0 -224
  1170. package/dist/builtin/workflows/skills/impeccable/scripts/serve-question.mjs +0 -1540
  1171. package/dist/builtin/workflows/skills/impeccable/scripts/surface-brief.mjs +0 -74
  1172. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_astra.md +0 -58
  1173. package/docs/models/artificial-analysis-index.md +0 -89
  1174. package/docs/models/pareto-efficiency.md +0 -90
  1175. package/docs/tools/edit.md +0 -378
@@ -9,7 +9,7 @@ Atomic can work in applications, not just edit code. Computer-use automation, or
9
9
 
10
10
  This guide explains tool selection, setup, and safe operation. To test a software change and attach the results to a PR, see [Verification and evidence](/workflows/verification).
11
11
 
12
- Jump to [application scripting](#application-scripting-and-apis), [desktop CUA](#desktop-automation-with-pyautogui-and-uv), [browser automation](#browser-automation-with-playwright-cli), [terminal automation](#terminal-automation-with-herdr), or [creative workflows](#creative-work-and-cua-workflows). Platform setup: [macOS](#macos), [Linux](#linux), [Windows](#windows).
12
+ Jump to [application scripting](#application-scripting-and-apis), [desktop CUA](#desktop-automation-with-cua-driver), [browser automation](#browser-automation-with-agent-browser), [terminal automation](#terminal-automation-with-herdr), or [creative workflows](#creative-work-and-cua-workflows). Platform setup: [macOS](#macos), [Linux](#linux), [Windows](#windows).
13
13
 
14
14
  ## Choose the right tool
15
15
 
@@ -19,12 +19,12 @@ Start with the result you need, not the application you could click through. If
19
19
  | --- | --- | --- |
20
20
  | Create or edit files, such as presentations, documents, spreadsheets, or media | **A file library or CLI** | Use an app API or UI when the library cannot preserve required features, or when you need rendering or visual adjustments. |
21
21
  | Interactive terminal or TUI | **Herdr** | Use tmux on macOS/Linux or native Windows psmux when Herdr cannot be used. Ordinary shell commands need no multiplexer. |
22
- | Browser page or web application | **playwright-cli** | Use desktop CUA for browser chrome or OS dialogs that browser automation cannot reach. Keep existing Playwright test suites for repeatable tests. |
23
- | Desktop application or work across apps | **PyAutoGUI, run with uv** | Use native accessibility tools, application scripting, or a CLI when they make the task easier, safer, or more reliable. |
22
+ | Website or web app in Chrome/Chromium, Electron desktop app (VS Code, Slack, Discord, Figma, Notion, Spotify), Slack workspace, or cloud browser | **agent-browser** | This is the scope the `agent-browser` skill covers. Use Cua Driver for browser chrome, OS dialogs and permission prompts, non-Chromium browsers, or anything else agent-browser cannot reach. Keep existing browser test suites for repeatable tests. |
23
+ | Native desktop application, iOS simulator, Android emulator, work across apps, or any agent-browser limitation | **Cua Driver**: the `cua-driver` CLI through the bundled `cua-driver` skill when a model chooses each action; the `@trycua/cua-driver` TypeScript SDK inside `ctx.tool` when workflow code owns the scenario | Use application scripting or a CLI when they make the task easier, safer, or more reliable. |
24
24
 
25
- You can combine tools without driving the whole task through a desktop. Generate a presentation with `python-pptx`, then inspect rendered slides for layout problems. Use Blender's Python API to generate repeated objects, then PyAutoGUI for adjustments in the visible editor. Use browser DOM controls rather than desktop clicks for a web form. For a supported web-service operation that does not require browser interaction, an authorized API request may be enough.
25
+ You can combine tools without driving the whole task through a desktop. Generate a presentation with `python-pptx`, then inspect rendered slides for layout problems. Use Blender's Python API to generate repeated objects, then Cua Driver for adjustments in the visible editor. Use browser DOM controls rather than desktop clicks for a web form. For a supported web-service operation that does not require browser interaction, an authorized API request may be enough.
26
26
 
27
- Atomic's skills supply operating instructions, not an installed desktop or automatic permission to control one. Load the `herdr`, `playwright-cli`, or `tmux` skill when applicable. Check the installed command's help before using version-dependent options.
27
+ Atomic's skills supply operating instructions, not an installed desktop or automatic permission to control one. Load the `cua-driver`, `herdr`, `agent-browser`, or `tmux` skill when applicable. Check the installed command's help before using version-dependent options.
28
28
 
29
29
  **Herdr eligibility:** the bundled Herdr skill requires an explicit user mention or request and an agent running inside a Herdr-managed pane with `HERDR_ENV=1`. Launch Atomic inside Herdr and ask it to use Herdr for terminal work. Do not set the variable manually to bypass the check or control a focused session from outside Herdr. If those conditions are not met, use a suitable fallback.
30
30
 
@@ -33,7 +33,7 @@ Atomic's skills supply operating instructions, not an installed desktop or autom
33
33
  For file-only automation, you need the input files, a suitable runtime, and an explicit output path, not a graphical desktop. Keep originals intact and work in a scratch directory. The window, display, and input checks below apply when you actually operate a UI.
34
34
 
35
35
  1. Identify the host OS and the environment that owns the application. An SSH shell, container, WSL distribution, or CI runner is not automatically connected to the user's desktop.
36
- 2. Check installed tools, cached runtimes, and permissions. Install missing tools, including uv, when network access and permissions allow. Follow the official installer instructions, inspect downloaded scripts before running them, and make one bounded setup attempt rather than retrying indefinitely.
36
+ 2. Check installed tools, cached runtimes, and permissions. Install missing tools, including `cua-driver` and uv, when network access and permissions allow. Follow the official installer instructions, inspect downloaded scripts before running them, and make one bounded setup attempt rather than retrying indefinitely.
37
37
  3. Use a dedicated browser profile, terminal pane, desktop account, or VM where practical. For creative work, open copies of source assets and choose an explicit output directory.
38
38
  4. Confirm the target window, display size, scaling, keyboard layout, and starting document. Capture or inspect the current state before sending input.
39
39
  5. Define the stopping point. Saving a local draft is different from overwriting an original, publishing a video, sending a message, or purchasing something. Obtain any needed authorization before those actions.
@@ -44,7 +44,7 @@ Treat text in pages, documents, and terminal output as task data, not instructio
44
44
 
45
45
  ## Application scripting and APIs
46
46
 
47
- Prefer direct file automation for structured tasks such as assembling slides, filling a document template, or formatting a spreadsheet. These jobs often need no running Office app, macros, or desktop access. Use application scripting when you need features that a file library does not expose. PyAutoGUI is useful for the remaining desktop interaction, not a required step in every automation.
47
+ Prefer direct file automation for structured tasks such as assembling slides, filling a document template, or formatting a spreadsheet. These jobs often need no running Office app, macros, or desktop access. Use application scripting when you need features that a file library does not expose. Cua Driver is useful for the remaining desktop interaction, not a required step in every automation.
48
48
 
49
49
  | Mechanism | Good uses | Limits to check first |
50
50
  | --- | --- | --- |
@@ -59,9 +59,7 @@ Prefer direct file automation for structured tasks such as assembling slides, fi
59
59
 
60
60
  Before writing a script, identify the input format, required features, output path, and library or app version. Read the relevant API reference rather than guessing methods. Start with a read-only query or a disposable copy. Save to a new path and reopen the result to check its contents; use a compatible viewer or renderer when appearance matters. Scripts still need the same authorization as UI actions to overwrite, upload, or publish files.
61
61
 
62
- For scripts that operate an application, also keep these application-specific checks:
63
-
64
- Before writing a script, identify the target app/version, input document, object names, and output path. Read the application's API reference or scripting dictionary rather than guessing methods. Start with a read-only query or a disposable copy, and keep a record of which operations changed the document.
62
+ For scripts that operate an application, also identify the target app/version and object names. Read its API reference or scripting dictionary, and record which operations changed the document.
65
63
 
66
64
  ### macOS recipe: create a draft with osascript
67
65
 
@@ -179,93 +177,138 @@ For file-only work, a library can avoid opening the application at all. Know wha
179
177
 
180
178
  Combine these approaches only where they help. Generate content with a script, inspect it in a viewer, and use CUA if it needs visual adjustments or UI-only export controls. You do not need a desktop interaction just to prove that a file script ran. If the task is specifically to verify a menu, dialog, or user flow, exercise that interface too; an API call is not proof that the GUI path works.
181
179
 
182
- ## Desktop automation with PyAutoGUI and uv
180
+ ## Desktop automation with Cua Driver
183
181
 
184
- [PyAutoGUI](https://pyautogui.readthedocs.io/en/latest/) controls the real mouse and keyboard and captures screenshots. It does not understand the application by itself. Atomic must inspect the screen or another reliable state source between actions.
182
+ [Cua Driver](https://github.com/trycua/cua/tree/main/libs/cua-driver) targets an exact application window rather than the shared cursor. One `get_window_state` call returns the window's accessibility tree and a screenshot; actions are delivered through snapshot-bound element tokens in the background by default, and the result reports `degraded` or `truncated` state so a scenario can refuse to act on a bad observation. Verification is snapshot, act, fresh snapshot, then a postcondition check, not a picture of a click.
185
183
 
186
- Prefer [uv](https://docs.astral.sh/uv/) to manage Python and the script's dependencies. If `uv --version` fails because uv is missing, install it using the instructions for your OS below. An existing Python environment is a fallback when uv installation is blocked, not a reason to change an unrelated repository's dependencies.
184
+ The bundled `cua-driver` skill carries the driving loop and the per-platform notes. For anything it does not cover, such as the full tool reference, SDK API, permissions model, or process model, read the upstream documentation: the [Cua docs index](https://cua.ai/docs/llms.txt) lists every page as a plain-text URL, so an agent can fetch the one it needs, for example the [process model](https://cua.ai/docs/reference/cua-driver/process-model.md), [macOS permissions](https://cua.ai/docs/reference/cua-driver/macos-permissions.md), [telemetry](https://cua.ai/docs/reference/cua-driver/telemetry.md), and [SDK reference](https://cua.ai/docs/reference/cua-driver/sdk-reference.md).
187
185
 
188
- ### Run an isolated script
186
+ Atomic uses Cua Driver through two faces of one typed surface. Choose by who decides the next action:
189
187
 
190
- Save the following as `desktop_probe.py` in a scratch directory. It takes a screenshot and reports geometry without clicking or typing:
188
+ | Situation | Face | Why |
189
+ | --- | --- | --- |
190
+ | A language model chooses each action: an interactive session driving, inspecting, or automating a desktop app, simulator, or emulator window, or any workflow stage acting outside `ctx.tool` | `cua-driver` CLI through the bundled `cua-driver` skill | The model decides turn by turn; the skill's loop is written for one-shot `cua-driver call <tool>` commands, and the evidence is the JSON results and `screenshot_out_file` images it saves. |
191
+ | A custom workflow's TypeScript owns the scenario and its postcondition, run inside `ctx.tool(name, args, fn, { timeoutMs })` | `@trycua/cua-driver` TypeScript SDK | Code owns the sequence; the result is durably checkpointed and replayed on resume. |
191
192
 
192
- ```python
193
- from pathlib import Path
193
+ The rule of thumb: **when a model chooses the next action, use the CLI; when TypeScript code owns the sequence and the postcondition, use the SDK.** Prefer [agent-browser](#browser-automation-with-agent-browser) for what its skill covers: websites and web apps in Chrome/Chromium, Electron desktop apps, Slack, and cloud browsers. Use Cua Driver for everything else, including iOS simulators, Android emulators, OS dialogs, and non-Chromium browsers, and whenever agent-browser hits a limitation. Terminals stay with [Herdr](#terminal-automation-with-herdr), falling back to tmux or psmux. Both faces share tool names (`list_apps`, `list_windows`, `get_window_state`, `click`, `type_text`, and the rest), so a scenario worked out interactively translates directly into code.
194
+
195
+ The bundled `cua-driver` skill is the upstream skill, vendored verbatim, and is the only place the driving loop is described. The executable installer below does not install an agent skill. Do not run `cua-driver skills install`, `cua-driver skills update`, or `clawhub install @cua/driver`: upstream's README describes those optional skill commands for other agents. Do not link or copy another skill into `~/.agents/skills/cua-driver`, `~/.claude/skills`, or other agent directories. Atomic already supplies its bundled copy; leave any existing user-level skill alone.
194
196
 
195
- import pyautogui as gui
197
+ ### Install if missing
196
198
 
197
- gui.FAILSAFE = True
198
- gui.PAUSE = 0.25
199
+ Check `cua-driver --version`. If the executable is missing, make **one bounded attempt** with upstream's one-line executable installer for the host. It needs no administrator access and does not install an agent skill:
199
200
 
200
- output = Path("artifacts")
201
- output.mkdir(exist_ok=True)
202
- print(f"Screen: {gui.size()}; pointer: {gui.position()}")
203
- gui.screenshot().save(output / "desktop-before.png")
201
+ ```sh
202
+ # macOS (14 Sonoma or later) and Linux
203
+ /bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"
204
204
  ```
205
205
 
206
- Run it from that directory:
206
+ ```powershell
207
+ # Windows PowerShell
208
+ irm https://cua.ai/driver/install.ps1 | iex
209
+ ```
210
+
211
+ Report what the installer did. On macOS it places `CuaDriver.app` in `/Applications`, creates the `~/.local/bin/cua-driver` symlink, and appends an `export PATH=…` line to your `zsh`, `bash`, or `fish` rc file when `~/.local/bin` is not already on `PATH`; open a new shell or source the rc file before retrying `cua-driver --version`. On Linux it downloads into `~/.cua-driver/packages/releases/` and creates the same symlink; a minimal image may first need `sudo apt install libxi6 at-spi2-core`. On Windows it installs under `%LOCALAPPDATA%\Programs\Cua\cua-driver\bin`, appends that directory to the user `Path`, and registers a `cua-driver-serve` autostart task when the session is interactive.
212
+
213
+ Never loop on the installer. In a workflow stage, a refused or failed install is reported as `blocked`/`needs_human` together with the exact installer command above, not worked around with an alternative tool.
214
+
215
+ If the installed driver is older than the bundled skill's `version` (`0.28.2`), run `cua-driver update --apply` once and restart the daemon with the platform's startup command below. If it is newer, proceed and note the skew in the report. `cua-driver check-update` only checks; it changes nothing.
216
+
217
+ ### Turn telemetry off
218
+
219
+ Cua Driver sends content-free, pseudonymous product telemetry to PostHog **by default, from every face**: the CLI, the daemon, the MCP server, and the Python and TypeScript SDKs. It is keyed by a persisted installation UUID, so it is pseudonymous rather than anonymous. Atomic's guidance turns it off before the first driver call on every path; it does not claim the driver is telemetry-free.
220
+
221
+ - **Every invocation.** Run every `cua-driver` command, every SDK scenario, and every `ctx.tool` child process with `CUA_DRIVER_RS_TELEMETRY_ENABLED=false` in the environment. The environment override takes precedence over any saved preference and needs no executable, so it is the control Atomic standardizes on.
222
+ - **After an executable install.** Additionally run `cua-driver telemetry disable` once, so the preference persists for daemon-owned sessions Atomic does not spawn (on macOS the daemon is launched through `open`, which does not inherit the agent's shell environment). Confirm with `cua-driver telemetry status --json`.
223
+ - Never post the installation UUID from `telemetry status` in an issue, an evidence artifact, or a transcript.
224
+
225
+ The startup update check is separate from telemetry. It carries no installation ID or usage data, fires only on `mcp`, `serve`, and `doctor` with a 20-hour cache, and is how you learn that `cua-driver update --apply` is warranted. Atomic leaves it at the upstream default. If you want the GitHub request gone, set `CUA_DRIVER_RS_UPDATE_CHECK=false` for one invocation, or run `cua-driver config set update_check_enabled false` to persist it.
226
+
227
+ ### Check readiness
228
+
229
+ A version string verifies the binary, not desktop access. Before the first action:
207
230
 
208
231
  ```sh
209
- uv run --no-project --with pyautogui --with pillow python desktop_probe.py
232
+ export CUA_DRIVER_RS_TELEMETRY_ENABLED=false
233
+ cua-driver status # the daemon is running
234
+ cua-driver doctor # session, display, accessibility bus, telemetry setup
235
+ cua-driver call list_apps # a GUI app you recognize appears
210
236
  ```
211
237
 
212
- `--no-project` avoids discovering or syncing an unrelated Python project. uv can download a Python runtime and dependencies if needed, so this first run may require network access. OS screenshot and accessibility dependencies still need separate setup. For a reusable script, declare dependencies in [inline script metadata](https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies), pin versions, and use uv's script locking support. Keep scratch environments and captures out of the application's repository unless they belong in the deliverable.
238
+ `cua-driver call <tool>` is call-owned: it connects to the running daemon, prints one result, and exits. When no daemon is reachable it fails rather than executing in the CLI process, so a stopped daemon looks like a failed call. `list-tools`, `describe <tool>`, and `dump-docs` read the tool inventory without a runtime.
213
239
 
214
- Open the captured image and confirm it shows the intended desktop. A successful import is not proof that screenshots or input work. Test a harmless action in a disposable document before running a longer sequence.
240
+ - **macOS.** Start a stopped daemon with `open -n -g -a CuaDriver --args serve`, never with a bare `cua-driver serve` from a terminal: LaunchServices attributes the process to `CuaDriver.app` (`com.trycua.driver`), so the Accessibility and Screen Recording grants attach to the app and survive upgrades, while a terminal-launched daemon is attributed to the terminal app. Then run `cua-driver permissions status`; it reads the daemon's grants and reports `unknown` when no daemon is running. To grant, run `cua-driver permissions grant`, then toggle CuaDriver on under System Settings → Privacy & Security → Accessibility and under Screen & System Audio Recording. The prompt only registers the app; the toggle grants. macOS does not always raise both prompts in one pass, so rerun the pair and relaunch the daemon afterwards.
241
+ - **Windows.** The daemon must run in the interactive user session; Session 0 cannot see the desktop. If the autostart task was not registered, run `cua-driver serve` in an interactive desktop terminal and use a second terminal for the checks. Standard-user automation cannot drive elevated apps or the UAC secure desktop.
242
+ - **Linux.** Require a graphical X11 or XWayland session with `DISPLAY` set and AT-SPI available, and run `cua-driver serve` in the foreground inside that session. Native Wayland is opt-in with `CUA_DRIVER_RS_ENABLE_WAYLAND=1` and has compositor-specific limits; do not claim full Wayland support.
215
243
 
216
- ### Observe, act, and check
244
+ A missing macOS Accessibility or Screen Recording grant, a non-interactive Windows session, or no graphical Linux session is a `blocked`/`needs_human` finding in a workflow stage. Report the exact fix from the list above and re-run the readiness check on resume. Let the user grant permissions; do not script around consent dialogs.
245
+
246
+ ### Drive a window from the shell
247
+
248
+ Load the `cua-driver` skill and follow its loop. The shape, with `CUA_DRIVER_RS_TELEMETRY_ENABLED=false` exported as above, is:
249
+
250
+ ```sh
251
+ cua-driver call list_apps
252
+ cua-driver call list_windows '{"pid":844}'
253
+ cua-driver call get_window_state '{"pid":844,"window_id":10725,"screenshot_out_file":"artifacts/before.png"}' > artifacts/before.json
254
+ # Pick one element_token from before.json, then act on it in the background.
255
+ cua-driver call click '{"pid":844,"element_token":"s0000002a:14"}'
256
+ cua-driver call get_window_state '{"pid":844,"window_id":10725,"screenshot_out_file":"artifacts/after.png"}' > artifacts/after.json
257
+ ```
217
258
 
218
- - Use short action sequences. Inspect the result after opening a menu, changing focus, or switching applications.
219
- - Prefer named accessibility controls or application APIs where available. If using coordinates, derive them from the current screen rather than an old screenshot.
220
- - Keep the target on the primary monitor. PyAutoGUI's multi-monitor support is limited. Retina and DPI scaling can make screenshot pixels differ from input coordinates; compare screenshot dimensions with `gui.size()` before clicking.
221
- - `gui.write()` sends keystrokes to the focused window and is not a general Unicode text-insertion API. For non-ASCII content, prefer app scripting or a controlled clipboard paste. Clipboard contents may be sensitive, so preserve and restore them when appropriate.
222
- - For image matching, crop to the relevant region and use fixtures from the same theme and scaling. Handle a missing image as a failed observation, not a reason to click a default location. PyAutoGUI's `confidence` option requires OpenCV in the Python environment.
223
- - Wait for an observable result with a deadline. A fixed sleep alone does not prove a render, export, or save has finished.
259
+ Replace the pid, window id, and token with values read from your own output; tokens are bound to the snapshot that produced them and must be re-read after any UI change. Check the postcondition in `after.json` with a bounded poll deadline, never a fixed sleep and never a repeated click. A `degraded` or `truncated` snapshot is a reason to stop and re-observe, and a refused background action is an escalation signal, not something to retry. Foreground delivery is an explicit escalation. Keep the JSON results and the `screenshot_out_file` images as evidence. When the work ends in a PR, attach the before/after PNGs to the PR body (`gh pr create --body-file body.md --attach 'before.png#Before' --attach 'after.png#After'` on supported GitHub) next to the scenario they prove, and cite the JSON by name as a local artifact; see [Verification and evidence](/workflows/verification#native-github-media).
224
260
 
225
- See PyAutoGUI's [keyboard controls](https://pyautogui.readthedocs.io/en/latest/keyboard.html), [mouse controls](https://pyautogui.readthedocs.io/en/latest/mouse.html), and [screenshot functions](https://pyautogui.readthedocs.io/en/latest/screenshot.html) for API details.
261
+ ### Run a scenario from workflow code
226
262
 
227
- ### Stop and recover safely
263
+ When a custom workflow owns the scenario, use the `@trycua/cua-driver` TypeScript SDK inside `ctx.tool` so the observe → act → re-observe → assert loop is a durable, replayable node. The [workflow authoring guide](/workflows/authoring#desktop-verification-with-cua-driver-in-ctx-tool) has the runnable example; the summary is:
228
264
 
229
- Keep `FAILSAFE` enabled and leave a pause between calls. Moving the pointer to a corner of the primary monitor causes a subsequent PyAutoGUI call to raise `FailSafeException`. Keep a separate way to interrupt the automation process available too.
265
+ - **Prerequisite.** `node` (preferred) or `bun` on the host. If neither is present, install one in a bounded attempt (Node via [fnm](https://github.com/Schniz/fnm) with `fnm install --lts` or the host's package manager, Bun via `curl -fsSL https://bun.sh/install | bash`) and report what the installer did; if the install is refused or fails, report that as the limitation rather than retrying.
266
+ - **Install.** `npm install @trycua/cua-driver@<exact pin matching cua-driver --version>` into a scratch directory outside the user's repository, one bounded attempt. The package ships per-platform native optional dependencies, so it is self-contained. Pin the exact driver version: daemon-backed clients verify contract, tool-schema, capability, and protocol versions before each action and refuse on mismatch.
267
+ - **Acquire the driver.** When `cua-driver status` reports a running daemon, use `CuaDriver.connect()` so the scenario reuses the daemon's permission identity (on macOS, `CuaDriver.app`'s grants) and the persisted telemetry-off preference; upstream describes `connect()` as a compatibility and app-hosting path, and that is exactly the role it plays here. Only when no daemon is reachable, fall back to `CuaDriver.create()`, which loads the runtime into the node process. On macOS that in-process fallback attributes Accessibility and Screen Recording to the node host, normally the terminal app, as a **separate grant**; `checkPermissions` is then read-only, and the host must fully quit and relaunch after granting.
268
+ - **Telemetry.** Set `CUA_DRIVER_RS_TELEMETRY_ENABLED=false` in the child environment before constructing the driver.
269
+ - **Loop.** `listApps` → `listWindows` → `getWindowState` (refuse `degraded`/`truncated`) → resolve exactly one element → act by `elementToken` with `InputDeliveryMode.Background` → `getWindowState` again → bounded-poll the postcondition. `shutdown()` in `finally`, then `uniffiDestroy()` when present.
270
+ - **Result.** Machine-readable `verified` / `refuted` / `blocked` / `unknown`; the wrapper maps anything but `verified` to a nonzero outcome. An action that times out before its response is `unknown`, resolved by the postcondition, never by replaying the mutation.
230
271
 
231
- Prefer complete actions such as `press`, `hotkey`, and `click` over holding input across several steps. If a script must hold a key or mouse button, track what it holds and release it in cleanup. An interrupt or failsafe can itself prevent PyAutoGUI cleanup calls. Stop the script, check for held input, and release it manually or through a safe native mechanism before resuming. Do not disable the failsafe in order to keep clicking.
272
+ ### Stay safe
232
273
 
233
- After a timeout or interruption, inspect the current document and any output files. A save or export may have completed even if its acknowledgement was lost. Do not repeat destructive actions blindly.
274
+ One controller owns a desktop at a time. Use a dedicated session or account where practical, keep unrelated windows out of captures, and define an explicit stopping point before destructive or publishing actions such as overwriting an original, sending a message, or purchasing. After a timeout or interruption, inspect the current document and any output files before acting again; a save or export may have completed even if its acknowledgement was lost. Never disable OS security controls to make automation work.
234
275
 
235
- ## Browser automation with playwright-cli
276
+ ## Browser automation with agent-browser
236
277
 
237
- For tasks that require browser interaction, prefer [playwright-cli](https://github.com/microsoft/playwright-cli) for websites and web apps on all three desktop platforms. Its snapshots expose page structure and element references, so automation can use actual controls rather than screen coordinates. For data retrieval or batch operations, consider a supported API first when it meets the request and you have permission to use it.
278
+ Prefer [agent-browser](https://github.com/vercel-labs/agent-browser) for what its skill covers: websites and web apps in Chrome/Chromium on all three desktop platforms, Electron desktop apps (`agent-browser skills get electron`), Slack workspaces, and cloud browsers. Anything outside that scope, or a limitation you hit inside it, goes to [Cua Driver](#desktop-automation-with-cua-driver). Its accessibility-tree snapshots expose page structure and element references, so automation can use actual controls rather than screen coordinates. For data retrieval or batch operations, consider a supported API first when it meets the request and you have permission to use it.
238
279
 
239
280
  ### Setup and first session
240
281
 
241
- Load the `playwright-cli` skill and check `playwright-cli --help`. If the command is unavailable, check whether the project's installed Playwright exposes `npx --no-install playwright cli --help`. Otherwise install the CLI when permitted:
282
+ Load the `agent-browser` skill and check `agent-browser --help`. If the command is unavailable, install it when permitted:
242
283
 
243
284
  ```sh
244
- npm install -g @playwright/cli@latest
245
- playwright-cli --help
285
+ npm i -g agent-browser
286
+ agent-browser install
287
+ agent-browser --help
246
288
  ```
247
289
 
248
- Use the installed CLI's browser setup guidance if a browser is missing. Do not add browser automation dependencies to an unrelated project just to run a one-off task.
290
+ On Linux, use `agent-browser install --with-deps` to install system dependencies alongside the browser. Do not add browser automation dependencies to an unrelated project just to run a one-off task.
249
291
 
250
292
  Create a uniquely named session, replacing `desktop-demo` if that name is already in use:
251
293
 
252
294
  ```sh
253
- playwright-cli -s=desktop-demo open https://example.com --headed
254
- playwright-cli -s=desktop-demo snapshot
255
- playwright-cli -s=desktop-demo screenshot --filename=browser-before.png
256
- playwright-cli -s=desktop-demo close
295
+ agent-browser --session desktop-demo open https://example.com --headed
296
+ agent-browser --session desktop-demo snapshot
297
+ agent-browser --session desktop-demo screenshot browser-before.png
298
+ agent-browser --session desktop-demo close
257
299
  ```
258
300
 
259
- For a real task, act between the snapshot and final capture. Read element references from the current snapshot, then use `click`, `fill`, `select`, or `press`. Do not reuse an example reference such as `e5` without discovering what it points to. Refresh the snapshot after navigation or substantial UI changes.
301
+ For a real task, act between the snapshot and final capture. Read element references from the current snapshot, then interact through them. Do not reuse an example reference without discovering what it points to. Refresh the snapshot after navigation or substantial UI changes. Run `agent-browser skills get core` for the authoritative workflow, common patterns, and troubleshooting; `--full` adds the complete command reference.
260
302
 
261
303
  ### Best practices
262
304
 
263
- - Keep the same session name on every command. Close only sessions you created, not every browser on the machine.
305
+ - Keep the same session name on every command (or set `AGENT_BROWSER_SESSION`). Close only sessions you created, not every browser on the machine.
264
306
  - Prefer a fresh profile. Attach to an existing personal browser only when authorized; stored sessions can expose private tabs and credentials.
265
307
  - Use headed mode for visual work. Headless mode can verify DOM behavior, but does not establish that desktop integration or native dialogs work.
266
- - Inspect visible results and relevant console/network output. Use semantic locators and assertions in a maintained Playwright test for repeatable regression coverage.
267
- - Use `upload` for supported file inputs rather than driving an OS file picker. Switch to CUA or native tooling only for UI outside the page, and then recheck focus before returning to browser control.
268
- - Treat cookies, saved authentication state, traces, and network logs as sensitive. Do not commit or attach a browser profile as evidence.
308
+ - Inspect visible results and relevant console/network output (`agent-browser console`, `agent-browser errors`, `agent-browser network requests`). Keep semantic locators and assertions in a maintained browser test suite for repeatable regression coverage.
309
+ - Use the CLI's file-upload support for supported file inputs rather than driving an OS file picker. Switch to CUA or native tooling only for UI outside the page, and then recheck focus before returning to browser control.
310
+ - Treat cookies, saved authentication state, and network logs as sensitive. Do not commit or attach a browser profile as evidence.
311
+ - Keep `screenshot` PNGs and `record` recordings from the verified flow; when the work ends in a PR, attach them to the PR body with `gh pr create --attach` on supported GitHub, each next to the scenario it proves. See [Verification and evidence](/workflows/verification#native-github-media).
269
312
  - Browser mobile emulation tests a web viewport, not a native Android or iOS application.
270
313
 
271
314
  For verification captures and recordings, see [browser evidence](/workflows/verification#browser-changes).
@@ -327,11 +370,12 @@ For modified-key setup in Atomic, see [tmux setup](/tmux). For behavioral checks
327
370
 
328
371
  ### Desktop and native tools
329
372
 
330
- - Install missing uv with `brew install uv` when Homebrew is available, or use the reviewed macOS installer from [uv installation](https://docs.astral.sh/uv/getting-started/installation/). Confirm `uv --version` in the launching shell.
331
- - Allow the application launching automation, such as Terminal or your IDE, in System Settings > Privacy & Security > Accessibility. Screenshot capture also needs Screen Recording permission, which may be labelled Screen & System Audio Recording on newer macOS versions. Relaunch the affected app if macOS requests it.
373
+ - Install a missing `cua-driver` with the [one-line installer](#install-if-missing) (macOS 14 Sonoma or later), run `cua-driver telemetry disable` once, and open a new shell so `~/.local/bin` is on `PATH`. Install missing uv with `brew install uv` when Homebrew is available, or use the reviewed macOS installer from [uv installation](https://docs.astral.sh/uv/getting-started/installation/).
374
+ - The daemon is `CuaDriver.app`. Start it with `open -n -g -a CuaDriver --args serve` so macOS attributes the process, and its Accessibility and Screen Recording grants, to `com.trycua.driver` rather than to Terminal or your IDE. A daemon started from a terminal is the right binary with the wrong privacy identity.
375
+ - Grant with `cua-driver permissions grant`, then toggle CuaDriver on under System Settings > Privacy & Security > Accessibility and under Screen & System Audio Recording, and relaunch the daemon. Confirm with `cua-driver permissions status`. If CuaDriver is missing from either list, click **+** and add `/Applications/CuaDriver.app`.
376
+ - An in-process `CuaDriver.create()` runtime is attributed to the node host that imported it, normally the terminal app. That is a separate grant from the app's, `checkPermissions` is read-only there, and the host must fully quit and relaunch after a change.
332
377
  - AppleScript automation may also prompt for Automation permission to control another app. Let the user grant permissions; do not script around consent dialogs.
333
- - PyAutoGUI depends on native Python bindings on macOS. If import or capture fails, check the installed release's [installation requirements](https://pyautogui.readthedocs.io/en/latest/install.html) before adding dependencies to the uv environment.
334
- - Check Retina scaling and keep the target on the primary display. A black or incomplete capture usually needs permission or display troubleshooting, not more clicks.
378
+ - Window screenshots use the window's own coordinate space and report their scale factor; act by element token where possible and read dimensions from the same snapshot before any pixel action. A black or incomplete capture usually needs permission or display troubleshooting, not more clicks.
335
379
 
336
380
  Use `osascript` for AppleScript or JavaScript for Automation when an app's scripting dictionary exposes the operation you need. See [application scripting and recipes](#application-scripting-and-apis) for a runnable example and Office automation choices. `System Events` UI scripting and native accessibility APIs can address menus and controls more reliably than coordinates; consult Apple's [UI scripting guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/AutomatetheUserInterface.html).
337
381
 
@@ -339,7 +383,7 @@ Use `osascript` for AppleScript or JavaScript for Automation when an app's scrip
339
383
 
340
384
  ### Browser and terminal
341
385
 
342
- playwright-cli uses its own browser session. WebKit coverage is not proof of every Safari-specific desktop behavior. Use an actual target browser when that distinction matters.
386
+ agent-browser uses its own Chrome/Chromium session. Chromium coverage is not proof of every Safari-specific desktop behavior. Use an actual target browser when that distinction matters.
343
387
 
344
388
  Herdr is the first choice for interactive terminals when eligible. Homebrew provides Herdr and tmux. Preserve the shell, terminal dimensions, and keyboard behavior relevant to the task rather than silently changing them to make a scenario pass.
345
389
 
@@ -347,11 +391,10 @@ Herdr is the first choice for interactive terminals when eligible. Homebrew prov
347
391
 
348
392
  ### Desktop and native tools
349
393
 
350
- - Install missing uv through the [official Linux installer](https://docs.astral.sh/uv/getting-started/installation/) or an available distribution package. Review the installer before executing it, then confirm `uv --version`.
351
- - PyAutoGUI's Linux input backend uses X11. Run in an accessible graphical X11 session with the correct `DISPLAY` and authorization. Installing Python packages does not create a desktop session.
352
- - Check the distribution's screenshot and Python support packages. PyAutoGUI documents `scrot` and Python Tk/development packages for Linux; the required capture backend varies with the installed Pillow/PyScreeze versions. Use the distribution package manager with permission, not guessed cross-distribution commands.
353
- - A Wayland session is not equivalent to X11. XWayland does not grant access to every native Wayland app. Prefer compositor-supported capture/input tools, desktop portals, or native accessibility APIs when they support the operation. Do not weaken session security or claim PyAutoGUI has full Wayland support.
354
- - For unattended X11 work, a dedicated virtual display such as Xvfb can be useful. It does not prove behavior on a real Wayland desktop, GPU configuration, or physical display. Creative applications may require working graphics acceleration.
394
+ - Install a missing `cua-driver` with the [one-line installer](#install-if-missing); a minimal image may first need `sudo apt install libxi6 at-spi2-core`. Run `cua-driver telemetry disable` once and open a new shell so `~/.local/bin` is on `PATH`. Install missing uv through the [official Linux installer](https://docs.astral.sh/uv/getting-started/installation/) or an available distribution package.
395
+ - Installing the binary does not start the daemon or create a desktop session. Run `cua-driver serve` in the foreground in a terminal inside the graphical session that owns the apps, with the same `DISPLAY` and AT-SPI session bus, and run `cua-driver doctor` from a second terminal in that session.
396
+ - X11 and XWayland are the supported routes by default; toolkit-specific limits apply. Native Wayland is opt-in with `CUA_DRIVER_RS_ENABLE_WAYLAND=1` and depends on the compositor. Do not weaken session security or claim full Wayland support.
397
+ - For unattended X11 work, a dedicated virtual display such as Xvfb with a desktop session (for example `xfce4`) can be useful. It does not prove behavior on a real Wayland desktop, GPU configuration, or physical display. Creative applications may require working graphics acceleration.
355
398
 
356
399
  [AT-SPI](https://gnome.pages.gitlab.gnome.org/at-spi2-core/) can expose named controls in accessible applications. `xdotool` and `wmctrl` can help with focus and window placement on X11; they are not general Wayland replacements. On Wayland, choose tools for the actual compositor and inspect their permission requirements. Use app APIs where custom canvases do not expose useful accessibility controls.
357
400
 
@@ -359,7 +402,7 @@ For recordings, use a supported desktop recorder or OBS with the appropriate dis
359
402
 
360
403
  ### Browser and terminal
361
404
 
362
- playwright-cli may need browser binaries and system libraries on a minimal Linux install. A headed browser needs a display. Headless browsing remains useful on SSH or CI hosts but does not grant desktop access.
405
+ agent-browser may need browser binaries and system libraries on a minimal Linux install; `agent-browser install --with-deps` installs both. A headed browser needs a display. Headless browsing remains useful on SSH or CI hosts but does not grant desktop access.
363
406
 
364
407
  Herdr is preferred when eligible; tmux is a practical fallback on local or remote POSIX shells. An SSH terminal can run terminal scenarios without access to the remote desktop. Record which host owns the pane and application.
365
408
 
@@ -367,19 +410,20 @@ Herdr is preferred when eligible; tmux is a practical fallback on local or remot
367
410
 
368
411
  ### Desktop and native tools
369
412
 
370
- - Install missing uv with `winget install --id=astral-sh.uv -e` or use the reviewed PowerShell installer from [uv installation](https://docs.astral.sh/uv/getting-started/installation/). Open a new shell if PATH changed, then run `uv --version`.
371
- - Run PyAutoGUI and uv in the Windows graphical session that owns the app. Running them inside WSL does not automatically control native Windows windows.
413
+ - Install a missing `cua-driver` with the [PowerShell one-liner](#install-if-missing) and run `cua-driver telemetry disable` once. Open a new shell if `Path` changed, then run `cua-driver --version`. Install missing uv with `winget install --id=astral-sh.uv -e` or use the reviewed PowerShell installer from [uv installation](https://docs.astral.sh/uv/getting-started/installation/).
414
+ - The daemon must run in the interactive user session (Session 1 or later); Session 0 services cannot see the desktop. The installer registers a `cua-driver-serve` autostart task when the session is interactive; otherwise run `cua-driver serve` in an interactive desktop terminal and use a second terminal for the checks.
415
+ - Run `cua-driver` in the Windows graphical session that owns the app. Running it inside WSL does not control native Windows windows.
372
416
  - Keep the session unlocked and available during automation. A disconnected or minimized Remote Desktop session can change rendering or input behavior; verify the actual remote-session setup before relying on it.
373
417
  - Use a consistent display scale and primary monitor. Check coordinates again after moving a window between displays with different DPI settings.
374
418
  - Standard-user automation cannot reliably drive elevated apps or the UAC secure desktop. Stop for the user or choose an authorized non-elevated path rather than escalating just to force input through.
375
419
 
376
- [Windows UI Automation](https://learn.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-overview) exposes controls by name and automation ID. Tools such as [pywinauto](https://pywinauto.readthedocs.io/en/latest/) can be easier than pixel matching for accessible Windows apps. For structured document operations, start with [file libraries and app scripting](#application-scripting-and-apis). Use PyAutoGUI for the remaining visual interactions.
420
+ [Windows UI Automation](https://learn.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-overview) exposes controls by name and automation ID. Cua Driver reads that UIA tree in `get_window_state` and acts on it in the background, so prefer element tokens over pixel matching for accessible Windows apps. For structured document operations, start with [file libraries and app scripting](#application-scripting-and-apis). Use Cua Driver for the remaining visual interactions.
377
421
 
378
422
  Snipping Tool or OBS can capture desktop evidence. Check the selected window and saved recording before sharing it.
379
423
 
380
424
  ### Browser and terminal
381
425
 
382
- Use native Windows playwright-cli when the task depends on Windows browsers, downloads, or desktop dialogs. Quote paths and URLs for the shell actually in use; do not paste POSIX shell syntax into PowerShell.
426
+ Use native Windows agent-browser when the task depends on Windows browsers, downloads, or desktop dialogs. Quote paths and URLs for the shell actually in use; do not paste POSIX shell syntax into PowerShell.
383
427
 
384
428
  Prefer native Herdr when eligible. In PowerShell, check `$env:HERDR_ENV -eq '1'`, use `(Get-Location).Path` for the working directory, and read pane IDs from CLI responses. If Herdr cannot be used, install psmux through its documented Windows installation options and inspect its help. WSL tmux is useful for Linux programs, but is not native Windows ConPTY coverage.
385
429
 
@@ -391,22 +435,22 @@ Choose the deliverable first. A library or application API may produce it withou
391
435
 
392
436
  | Task | Practical approach | Useful deliverables |
393
437
  | --- | --- | --- |
394
- | Blender 3D modeling | Use Blender Python for repeatable geometry or scene setup; use PyAutoGUI for visible editor operations and visual inspection. | Editable `.blend` file, exported model if requested, preview render. |
438
+ | Blender 3D modeling | Use Blender Python for repeatable geometry or scene setup; use Cua Driver for visible editor operations and visual inspection. | Editable `.blend` file, exported model if requested, preview render. |
395
439
  | Presentations | Generate structured slides with `python-pptx`, inspect them in a compatible viewer, and use CUA for visual refinements or slideshow interaction when needed. | Editable deck plus PDF or slide previews exported through a compatible application. |
396
440
  | Video editing | Use the editor's scripting API or media CLI for repetitive operations; use CUA to adjust the timeline, inspect transitions, and review playback. | Editable project, required source references, final export. |
397
- | Work across applications | Use native scripting for named windows and file operations; use PyAutoGUI where the task needs visual interaction. | Saved documents and a concise record of completed steps. |
441
+ | Work across applications | Use native scripting for named windows and file operations; use Cua Driver where the task needs visual interaction, addressing each window by pid and window id. | Saved documents and a concise record of completed steps. |
398
442
 
399
443
  Do not substitute a screenshot for the editable project or final export the user requested. Reopen saved files, check missing assets and fonts, and inspect the actual export. For video, check audio and timing as well as a still frame. Keep originals intact and use explicit save paths. Rendering, uploading, or exporting through a paid service may need separate authorization.
400
444
 
401
- When the user specifically wants a CUA workflow, include PyAutoGUI in the stage that operates the desktop. For artifact-only requests, keep script-based work outside the desktop session and omit UI stages that add no useful operation or check. A desktop sequence is:
445
+ When the user specifically wants a CUA workflow, give the stage that operates the desktop the `cua-driver` skill, or put a code-owned scenario in `ctx.tool` with the SDK. For artifact-only requests, keep script-based work outside the desktop session and omit UI stages that add no useful operation or check. A desktop sequence is:
402
446
 
403
447
  1. Prepare assets and confirm the intended application, output formats, and permissions.
404
448
  2. Open the dedicated desktop and inspect its starting state.
405
- 3. Create or edit with PyAutoGUI and suitable native/app APIs, saving checkpoints.
449
+ 3. Create or edit with Cua Driver and suitable native/app APIs, saving checkpoints.
406
450
  4. Reopen and inspect the deliverables, then make bounded corrections if needed.
407
451
  5. Hand off local files. Publish or upload only to an authorized target.
408
452
 
409
- Pass scripts, project files, and artifact paths between stages rather than long click transcripts. Give one stage exclusive desktop ownership and use finite deadlines for renders and exports. Stop on unexpected dialogs, lost focus, missing permissions, or failed observations. On resume, inspect the app and files before repeating an action.
453
+ Pass scripts, project files, and artifact paths between stages rather than long click transcripts. Give one stage exclusive desktop ownership and use finite deadlines for renders and exports. Stop on unexpected dialogs, degraded or truncated snapshots, missing permissions, or failed observations. On resume, inspect the app and files before repeating an action.
410
454
 
411
455
  See [workflow authoring](/workflows/authoring) for stages and human-input gates. Use durable `ctx.tool` calls for workflow-owned external operations, with finite timeouts and cancellation; model stages can use the appropriate automation tools to operate the app. If the user asks to work inline, keep the same safety and deliverable checks without creating a workflow.
412
456
 
@@ -414,7 +458,11 @@ See [workflow authoring](/workflows/authoring) for stages and human-input gates.
414
458
 
415
459
  | Symptom | What to check |
416
460
  | --- | --- |
417
- | uv or another command is missing | Install it when permitted, refresh PATH, and check its version in the same shell that will launch automation. |
461
+ | `cua-driver`, uv, or another command is missing | Install it when permitted with one bounded attempt, refresh PATH, and check its version in the same shell that will launch automation. |
462
+ | `cua-driver call` fails or `permissions status` reports `unknown` | The daemon is not running. Start it with `open -n -g -a CuaDriver --args serve` on macOS, an interactive-session `cua-driver serve` on Windows, or a foreground `cua-driver serve` inside the graphical session on Linux, then rerun `cua-driver status`. |
463
+ | Grants look correct but actions or captures are refused | Stale TCC grants. Toggle CuaDriver off and on under Accessibility and Screen & System Audio Recording, or click **+** and re-add `/Applications/CuaDriver.app`, then fully relaunch the daemon. An in-process SDK runtime needs the node host relaunched instead. |
464
+ | Contract, schema, or protocol mismatch | Version skew between the bundled skill (`0.28.2`), the `@trycua/cua-driver` pin, and `cua-driver --version`. Run `cua-driver update --apply` once, restart the daemon, and reinstall the SDK at the exact driver version. |
465
+ | Snapshot reports `degraded` or `truncated` | Do not act on it. Re-observe, narrow the query, or fall back to a pixel action from the same snapshot only where the skill allows it. |
418
466
  | Black screenshot or no desktop | Check screen permissions, display/session ownership, X11 versus Wayland, and remote-session state. |
419
467
  | Input reaches the wrong app | Stop. Confirm focus, window identity, scaling, and that no other controller shares the desktop. |
420
468
  | Browser element reference no longer works | Take a fresh snapshot and locate the current control. |
@@ -1,10 +1,9 @@
1
1
  # Containerization
2
2
 
3
- Atomic runs with all permissions by default, but in some cases, you will want to have more control over what directories Atomic can write to and which accesses it has.
3
+ Atomic runs with all permissions by default. To restrict which directories it can write to and what it can access, choose one of two approaches:
4
4
 
5
- There are two general options. You can either
6
- 1. run the whole `atomic` process inside an isolated environment, or
7
- 2. run `atomic` on the host and route tool execution into an isolated environment.
5
+ 1. Run the whole `atomic` process inside an isolated environment.
6
+ 2. Run `atomic` on the host and route tool execution into an isolated environment.
8
7
 
9
8
  Containerization is the outer boundary, not the only one. [Security](/security) covers the project-trust prompt that gates which project-scoped extensions, skills, and settings load in the first place; read it alongside this page when you are deciding what an untrusted repository is allowed to do.
10
9
 
@@ -93,7 +92,7 @@ docker run --rm -it \
93
92
  atomic-sandbox
94
93
  ```
95
94
 
96
- The `-v "$PWD:/workspace"` mounts your current directory into the container at /workspace such that reads and writes in `/workspace` inside Docker directly affect your host files, like in the Gondolin example.
95
+ The `-v "$PWD:/workspace"` option mounts your current directory at /workspace in the container. Reads and writes in `/workspace` directly affect your host files, as in the Gondolin example.
97
96
 
98
97
  Use a named volume for `/root/.atomic/agent` if you want container-local settings and sessions. Mounting your host `~/.atomic/agent` exposes host auth and session files to the container.
99
98
 
@@ -135,7 +135,16 @@ interface ProviderModelConfig {
135
135
 
136
136
  The `cost` shape is equivalent to `Model<Api>["cost"]`. Base rates and every tier are complete rate sets. When multiple thresholds match, `calculateCost()` uses the highest threshold and applies that tier to all four cost buckets for the request.
137
137
 
138
- `openrouter` sends `reasoning: { effort }`. `deepseek` sends `thinking: { type: "enabled" | "disabled" }` and `reasoning_effort` when enabled. `together` sends `reasoning: { enabled }` and also `reasoning_effort` when `supportsReasoningEffort` is enabled. `qwen` is for DashScope-style top-level `enable_thinking`. Use `qwen-chat-template` for local Qwen-compatible servers that read `chat_template_kwargs.enable_thinking` and need `preserve_thinking`. Use `chat-template` for configurable `chat_template_kwargs`, for example DeepSeek V3.x behind vLLM with `chatTemplateKwargs: { "thinking": { "$var": "thinking.enabled" } }`. Use `thinkingFormat: "baseten"` with `chatTemplateArgs` when the provider expects toggle values under `chat_template_args` and optionally supports top-level `reasoning_effort`.
138
+ Choose the thinking format your endpoint expects:
139
+
140
+ - `openrouter` sends `reasoning: { effort }`.
141
+ - `deepseek` sends `thinking: { type: "enabled" | "disabled" }` and `reasoning_effort` when enabled.
142
+ - `together` sends `reasoning: { enabled }` and also `reasoning_effort` when `supportsReasoningEffort` is enabled.
143
+ - `qwen` is for DashScope-style top-level `enable_thinking`.
144
+ - Use `qwen-chat-template` for local Qwen-compatible servers that read `chat_template_kwargs.enable_thinking` and need `preserve_thinking`.
145
+ - Use `chat-template` for configurable `chat_template_kwargs`, for example DeepSeek V3.x behind vLLM with `chatTemplateKwargs: { "thinking": { "$var": "thinking.enabled" } }`.
146
+ - Use `thinkingFormat: "baseten"` with `chatTemplateArgs` when the provider expects toggle values under `chat_template_args` and optionally supports top-level `reasoning_effort`.
147
+
139
148
  `thinkingTokenBudgetField` sends a clamped per-level thinking budget as a top-level request field (`thinking_token_budget` on vLLM, `thinking_budget` on Qwen/SGLang, `thinking_budget_tokens` on llama.cpp). `supportsThinkingTokenBudget: true` is an alias for the vLLM field name. Do not combine it with `reasoning_effort` on DashScope Qwen models.
140
149
  `vllmPriority` sends a top-level `priority` request field for `openai-completions` providers. Lower values are scheduled earlier and the vLLM server default is `0`, so it only takes effect when vLLM runs with `--scheduling-policy priority`. Set it on a background or batch model so its long prefills queue behind interactive sessions. Unset by default and never set on the generated catalog.
141
150
  `cacheControlFormat: "anthropic"` applies Anthropic-style `cache_control` markers to the system prompt, last tool definition, and last user, assistant, or tool-result text content.
@@ -75,9 +75,11 @@ After registration, users can authenticate via `/login corporate-ai`.
75
75
 
76
76
  Existing extension OAuth definitions keep their `login`, `refreshToken`, `getApiKey`, and optional `modifyModels` methods. OAuth refresh is serialized so concurrent requests do not overwrite each other's credentials.
77
77
 
78
- In isolated interactive mode, extension code and executable OAuth methods remain in the engine process. Atomic transports only the JSON-safe provider description (`id`, `name`, `loginLabel`, and `usesCallbackServer`) to the terminal process; it never serializes provider functions or acquired credentials and does not load the extension a second time in the frontend. `loginLabel` replaces the login dialog title, while `usesCallbackServer: true` exposes a redirect-URL paste field that races the browser callback. The engine executes the provider's login closure and correlates browser URLs, device codes, progress/info messages, prompts, selections, and manual-code callbacks with the originating login.
78
+ OAuth callbacks run in the engine in isolated interactive mode. Use the provided callbacks for user interaction rather than relying on terminal-process state.
79
79
 
80
- After acquisition, the engine owns serialized credential persistence and logout. It publishes the authenticated provider against its already-loaded snapshot as soon as persistence succeeds; dynamic catalog and ambient-availability refreshes run separately under the model selector's deadline and never extend the login transaction. Logout similarly publishes stored-credential removal without invoking `refreshModels`; Atomic gives the provider's local remaining-auth probe a short deadline so extension code cannot keep the dialog open. The frontend applies the returned snapshot only after the engine transaction succeeds. Escape or Ctrl+C cancels only the matching login and leaves the prior credential/catalog intact. Built-in OAuth and direct, non-isolated extension OAuth use the same persistence and cancellation semantics; later provider registrations continue to override earlier registrations by ID.
80
+ `loginLabel` sets the dialog title. `usesCallbackServer: true` offers a redirect-URL paste field alongside the browser callback.
81
+
82
+ Successful login persists credentials before refreshing the catalog. Logout removes stored credentials without calling `refreshModels`. Escape or Ctrl+C cancels the matching login and preserves the previous credentials and catalog. Later registrations still override earlier providers by ID.
81
83
 
82
84
  Intentional cancellation is quiet, including native `AbortError`, an aborted signal or its exact reason, nested abort causes, and the legacy exact `Login cancelled` error. Provider denial, timeout, network/protocol errors, malformed responses, token exchange failures, and storage failures remain visible. Catalog-refresh failures are reported by `/model` while cached models remain selectable; they do not turn a persisted login into a failed transaction.
83
85
 
@@ -68,7 +68,7 @@ pi.registerProvider("my-llm", {
68
68
  });
69
69
  ```
70
70
 
71
- When `models` is provided, it **replaces** all existing models for that provider.
71
+ When `models` is provided, it **replaces** all existing chat, image, and classifier models for that provider. A missing `type` means chat; image and classifier models need `type: "image"` or `type: "classifier"` and implementations in the `images` or `classifiers` maps keyed by each model's `api`. See the [mixed-operation provider example](/custom-provider#quick-reference).
72
72
 
73
73
  ## Unregister Provider
74
74
 
@@ -28,21 +28,26 @@ All providers follow the same pattern:
28
28
  import {
29
29
  type AssistantMessage,
30
30
  type AssistantMessageEventStream,
31
- type Context,
32
31
  type Model,
33
32
  type SimpleStreamOptions,
33
+ type TranscriptContext,
34
34
  calculateCost,
35
35
  createAssistantMessageEventStream,
36
+ getCurrentSystemPrompt,
37
+ getCurrentTools,
36
38
  } from "@bastani/pi-ai";
37
39
 
38
40
  function streamMyProvider(
39
41
  model: Model<any>,
40
- context: Context,
42
+ context: TranscriptContext,
41
43
  options?: SimpleStreamOptions
42
44
  ): AssistantMessageEventStream {
43
45
  const stream = createAssistantMessageEventStream();
44
46
 
45
47
  (async () => {
48
+ const systemPrompt = getCurrentSystemPrompt(context.messages);
49
+ const tools = getCurrentTools(context.messages);
50
+ // Initialize output message
46
51
  // Initialize output message
47
52
  const output: AssistantMessage = {
48
53
  role: "assistant",
@@ -121,7 +126,7 @@ The `partial` field in each event contains the current `AssistantMessage` state.
121
126
 
122
127
  `StopReason` is `"pending" | "stop" | "length" | "toolUse" | "error" | "aborted"`.
123
128
 
124
- Start the partial message at `"pending"`. It is the reason every in-flight message carries, and it says the terminal event has not arrived yet — it is not a default standing in for `"stop"`. Set the real reason when the provider says the turn ended, then push `done` with it.
129
+ Start every in-flight partial message at `"pending"`. This means the terminal event has not arrived, not that the turn ended with `"stop"`. When the provider reports the end of the turn, set the real reason and push `done` with it.
125
130
 
126
131
  Two checks belong immediately before `done`:
127
132
 
@@ -78,6 +78,48 @@ export default function (pi: ExtensionAPI) {
78
78
 
79
79
  The extension factory can also be `async`. For dynamic model discovery, fetch and register models in the factory instead of `session_start`. Atomic waits for the factory before startup continues, so the provider is available during interactive startup and to `atomic --list-models`.
80
80
 
81
+ Registering only `baseUrl` or `headers` for an existing provider preserves its built-in models. Supplying `models` in the legacy form replaces that provider's models across chat, image, and classifier operations. An omitted `type` means `"chat"`; image and classifier models require explicit discriminants and implementations keyed by their `api` values through the `images` and `classifiers` fields.
82
+
83
+ For example, a mixed-operation provider can register non-chat models and their implementations together:
84
+
85
+ ```typescript
86
+ pi.registerProvider("media-tools", {
87
+ apiKey: "$MEDIA_TOOLS_API_KEY",
88
+ models: [
89
+ {
90
+ type: "image",
91
+ id: "image-v1",
92
+ name: "Image V1",
93
+ api: "media-images",
94
+ baseUrl: "https://media.example.com/v1",
95
+ input: ["text"],
96
+ output: ["image"],
97
+ cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
98
+ },
99
+ {
100
+ type: "classifier",
101
+ id: "classifier-v1",
102
+ name: "Classifier V1",
103
+ api: "media-classifier",
104
+ baseUrl: "https://media.example.com/v1",
105
+ input: ["text"],
106
+ cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
107
+ contextWindow: 64000,
108
+ },
109
+ ],
110
+ images: {
111
+ "media-images": { generateImages: async (model, context, options) => result },
112
+ },
113
+ classifiers: {
114
+ "media-classifier": { classify: async (model, context, options) => result },
115
+ },
116
+ });
117
+ ```
118
+
119
+ Model-level `baseUrl` values take precedence over the provider endpoint. If no `models` list is supplied, built-in models of every operation remain registered. Equal model IDs in different operations remain distinct, including their model-specific headers.
120
+
121
+ Every model needs an ID, display name, input capabilities, and cost metadata. Chat and classifier models also need a context window; chat models need an output limit and reasoning support; image models declare their output modalities. Choose the API implementation at the provider level unless one model requires an override.
122
+
81
123
  ## Override Existing Provider
82
124
 
83
125
  Moved to [Override an existing provider](/custom-provider/override#override-existing-provider).
@@ -104,7 +146,7 @@ Moved to [Provider OAuth](/custom-provider/oauth#oauth-support).
104
146
 
105
147
  ## Dynamic model catalog refresh
106
148
 
107
- Moved to [Provider OAuth](/custom-provider/oauth#dynamic-model-catalog-refresh).
149
+ Moved to [Provider OAuth](/custom-provider/oauth#dynamic-model-catalog-refresh). A complete `Provider` calls `context.publish({ update })` to install provider-owned model state, then exposes the latest list through `getModels()`. Legacy `ProviderConfig.refreshModels` returns mixed-operation model definitions that replace that registration's live models.
108
150
 
109
151
  ### OAuthLoginCallbacks
110
152
 
@@ -148,7 +190,7 @@ Moved to [Provider streaming API](/custom-provider/streaming#registration).
148
190
 
149
191
  ## Testing Your Implementation
150
192
 
151
- Test your provider against focused tests that mirror Atomic's provider contract. If you are working from the source checkout, note that provider internals come from `@bastani/pi-ai`; this monorepo does not contain a `packages/ai/test` directory to copy from directly:
193
+ Test your provider/model pairs against these behaviors. The filenames below are suggested test names, not a required test suite:
152
194
 
153
195
  | Test | Purpose |
154
196
  |------|---------|