@grok/agent-sdk 0.0.0-stage → 0.2.28

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 (2050) hide show
  1. package/AGENTS.md +341 -0
  2. package/CHANGELOG.md +3 -0
  3. package/LICENSE.md +3 -0
  4. package/README.md +104 -2
  5. package/dist/agent-v2-hosting.d.ts +13 -0
  6. package/dist/agent-v2-hosting.d.ts.map +1 -0
  7. package/dist/agent-v2-hosting.js +8 -0
  8. package/dist/artifacts.d.ts +37 -0
  9. package/dist/artifacts.d.ts.map +1 -0
  10. package/dist/artifacts.js +52 -0
  11. package/dist/bin/agent-serve.d.ts +8 -0
  12. package/dist/bin/agent-serve.d.ts.map +1 -0
  13. package/dist/bin/agent-serve.js +105 -0
  14. package/dist/channels/bitbucket/api.d.ts +217 -0
  15. package/dist/channels/bitbucket/api.d.ts.map +1 -0
  16. package/dist/channels/bitbucket/api.js +648 -0
  17. package/dist/channels/bitbucket/binding.d.ts +75 -0
  18. package/dist/channels/bitbucket/binding.d.ts.map +1 -0
  19. package/dist/channels/bitbucket/binding.js +313 -0
  20. package/dist/channels/bitbucket/bitbucket-channel.d.ts +47 -0
  21. package/dist/channels/bitbucket/bitbucket-channel.d.ts.map +1 -0
  22. package/dist/channels/bitbucket/bitbucket-channel.js +174 -0
  23. package/dist/channels/bitbucket/bitbucket-webhook.d.ts +73 -0
  24. package/dist/channels/bitbucket/bitbucket-webhook.d.ts.map +1 -0
  25. package/dist/channels/bitbucket/bitbucket-webhook.js +402 -0
  26. package/dist/channels/bitbucket/checks.d.ts +67 -0
  27. package/dist/channels/bitbucket/checks.d.ts.map +1 -0
  28. package/dist/channels/bitbucket/checks.js +94 -0
  29. package/dist/channels/bitbucket/cursor-account.d.ts +37 -0
  30. package/dist/channels/bitbucket/cursor-account.d.ts.map +1 -0
  31. package/dist/channels/bitbucket/cursor-account.js +65 -0
  32. package/dist/channels/bitbucket/defaults.d.ts +26 -0
  33. package/dist/channels/bitbucket/defaults.d.ts.map +1 -0
  34. package/dist/channels/bitbucket/defaults.js +77 -0
  35. package/dist/channels/bitbucket/events.d.ts +22 -0
  36. package/dist/channels/bitbucket/events.d.ts.map +1 -0
  37. package/dist/channels/bitbucket/events.js +59 -0
  38. package/dist/channels/bitbucket/index.d.ts +38 -0
  39. package/dist/channels/bitbucket/index.d.ts.map +1 -0
  40. package/dist/channels/bitbucket/index.js +37 -0
  41. package/dist/channels/bitbucket/replay.d.ts +63 -0
  42. package/dist/channels/bitbucket/replay.d.ts.map +1 -0
  43. package/dist/channels/bitbucket/replay.js +327 -0
  44. package/dist/channels/bitbucket/state.d.ts +35 -0
  45. package/dist/channels/bitbucket/state.d.ts.map +1 -0
  46. package/dist/channels/bitbucket/state.js +30 -0
  47. package/dist/channels/bitbucket/types.d.ts +236 -0
  48. package/dist/channels/bitbucket/types.d.ts.map +1 -0
  49. package/dist/channels/bitbucket/types.js +1 -0
  50. package/dist/channels/change-monitors/change-monitors-channel.d.ts +5 -0
  51. package/dist/channels/change-monitors/change-monitors-channel.d.ts.map +1 -0
  52. package/dist/channels/change-monitors/change-monitors-channel.js +58 -0
  53. package/dist/channels/change-monitors/claim.d.ts +5 -0
  54. package/dist/channels/change-monitors/claim.d.ts.map +1 -0
  55. package/dist/channels/change-monitors/claim.js +6 -0
  56. package/dist/channels/change-monitors/index.d.ts +5 -0
  57. package/dist/channels/change-monitors/index.d.ts.map +1 -0
  58. package/dist/channels/change-monitors/index.js +3 -0
  59. package/dist/channels/change-monitors/types.d.ts +42 -0
  60. package/dist/channels/change-monitors/types.d.ts.map +1 -0
  61. package/dist/channels/change-monitors/types.js +1 -0
  62. package/dist/channels/checks.d.ts +121 -0
  63. package/dist/channels/checks.d.ts.map +1 -0
  64. package/dist/channels/checks.js +76 -0
  65. package/dist/channels/deployments/deployments-channel.d.ts +95 -0
  66. package/dist/channels/deployments/deployments-channel.d.ts.map +1 -0
  67. package/dist/channels/deployments/deployments-channel.js +188 -0
  68. package/dist/channels/deployments/index.d.ts +25 -0
  69. package/dist/channels/deployments/index.d.ts.map +1 -0
  70. package/dist/channels/deployments/index.js +24 -0
  71. package/dist/channels/deployments/types.d.ts +83 -0
  72. package/dist/channels/deployments/types.d.ts.map +1 -0
  73. package/dist/channels/deployments/types.js +7 -0
  74. package/dist/channels/github/api.d.ts +144 -0
  75. package/dist/channels/github/api.d.ts.map +1 -0
  76. package/dist/channels/github/api.js +398 -0
  77. package/dist/channels/github/auth.d.ts +71 -0
  78. package/dist/channels/github/auth.d.ts.map +1 -0
  79. package/dist/channels/github/auth.js +247 -0
  80. package/dist/channels/github/binding.d.ts +88 -0
  81. package/dist/channels/github/binding.d.ts.map +1 -0
  82. package/dist/channels/github/binding.js +130 -0
  83. package/dist/channels/github/checks.d.ts +64 -0
  84. package/dist/channels/github/checks.d.ts.map +1 -0
  85. package/dist/channels/github/checks.js +93 -0
  86. package/dist/channels/github/cursor-account.d.ts +109 -0
  87. package/dist/channels/github/cursor-account.d.ts.map +1 -0
  88. package/dist/channels/github/cursor-account.js +206 -0
  89. package/dist/channels/github/defaults.d.ts +23 -0
  90. package/dist/channels/github/defaults.d.ts.map +1 -0
  91. package/dist/channels/github/defaults.js +132 -0
  92. package/dist/channels/github/events.d.ts +18 -0
  93. package/dist/channels/github/events.d.ts.map +1 -0
  94. package/dist/channels/github/events.js +56 -0
  95. package/dist/channels/github/forward.d.ts +139 -0
  96. package/dist/channels/github/forward.d.ts.map +1 -0
  97. package/dist/channels/github/forward.js +263 -0
  98. package/dist/channels/github/github-channel.d.ts +192 -0
  99. package/dist/channels/github/github-channel.d.ts.map +1 -0
  100. package/dist/channels/github/github-channel.js +2098 -0
  101. package/dist/channels/github/index.d.ts +64 -0
  102. package/dist/channels/github/index.d.ts.map +1 -0
  103. package/dist/channels/github/index.js +52 -0
  104. package/dist/channels/github/progress.d.ts +84 -0
  105. package/dist/channels/github/progress.d.ts.map +1 -0
  106. package/dist/channels/github/progress.js +239 -0
  107. package/dist/channels/github/replay.d.ts +115 -0
  108. package/dist/channels/github/replay.d.ts.map +1 -0
  109. package/dist/channels/github/replay.js +269 -0
  110. package/dist/channels/github/state.d.ts +47 -0
  111. package/dist/channels/github/state.d.ts.map +1 -0
  112. package/dist/channels/github/state.js +77 -0
  113. package/dist/channels/github/types.d.ts +515 -0
  114. package/dist/channels/github/types.d.ts.map +1 -0
  115. package/dist/channels/github/types.js +1 -0
  116. package/dist/channels/gitlab/api.d.ts +118 -0
  117. package/dist/channels/gitlab/api.d.ts.map +1 -0
  118. package/dist/channels/gitlab/api.js +231 -0
  119. package/dist/channels/gitlab/binding.d.ts +63 -0
  120. package/dist/channels/gitlab/binding.d.ts.map +1 -0
  121. package/dist/channels/gitlab/binding.js +165 -0
  122. package/dist/channels/gitlab/checks.d.ts +110 -0
  123. package/dist/channels/gitlab/checks.d.ts.map +1 -0
  124. package/dist/channels/gitlab/checks.js +125 -0
  125. package/dist/channels/gitlab/cursor-account.d.ts +36 -0
  126. package/dist/channels/gitlab/cursor-account.d.ts.map +1 -0
  127. package/dist/channels/gitlab/cursor-account.js +64 -0
  128. package/dist/channels/gitlab/defaults.d.ts +25 -0
  129. package/dist/channels/gitlab/defaults.d.ts.map +1 -0
  130. package/dist/channels/gitlab/defaults.js +61 -0
  131. package/dist/channels/gitlab/events.d.ts +12 -0
  132. package/dist/channels/gitlab/events.d.ts.map +1 -0
  133. package/dist/channels/gitlab/events.js +26 -0
  134. package/dist/channels/gitlab/gitlab-channel.d.ts +48 -0
  135. package/dist/channels/gitlab/gitlab-channel.d.ts.map +1 -0
  136. package/dist/channels/gitlab/gitlab-channel.js +170 -0
  137. package/dist/channels/gitlab/gitlab-webhook.d.ts +54 -0
  138. package/dist/channels/gitlab/gitlab-webhook.d.ts.map +1 -0
  139. package/dist/channels/gitlab/gitlab-webhook.js +424 -0
  140. package/dist/channels/gitlab/index.d.ts +35 -0
  141. package/dist/channels/gitlab/index.d.ts.map +1 -0
  142. package/dist/channels/gitlab/index.js +34 -0
  143. package/dist/channels/gitlab/replay.d.ts +105 -0
  144. package/dist/channels/gitlab/replay.d.ts.map +1 -0
  145. package/dist/channels/gitlab/replay.js +224 -0
  146. package/dist/channels/gitlab/state.d.ts +33 -0
  147. package/dist/channels/gitlab/state.d.ts.map +1 -0
  148. package/dist/channels/gitlab/state.js +31 -0
  149. package/dist/channels/gitlab/types.d.ts +222 -0
  150. package/dist/channels/gitlab/types.d.ts.map +1 -0
  151. package/dist/channels/gitlab/types.js +1 -0
  152. package/dist/channels/issues/claim.d.ts +5 -0
  153. package/dist/channels/issues/claim.d.ts.map +1 -0
  154. package/dist/channels/issues/claim.js +6 -0
  155. package/dist/channels/issues/index.d.ts +5 -0
  156. package/dist/channels/issues/index.d.ts.map +1 -0
  157. package/dist/channels/issues/index.js +3 -0
  158. package/dist/channels/issues/issues-channel.d.ts +5 -0
  159. package/dist/channels/issues/issues-channel.d.ts.map +1 -0
  160. package/dist/channels/issues/issues-channel.js +48 -0
  161. package/dist/channels/issues/types.d.ts +33 -0
  162. package/dist/channels/issues/types.d.ts.map +1 -0
  163. package/dist/channels/issues/types.js +1 -0
  164. package/dist/channels/origin/api.d.ts +157 -0
  165. package/dist/channels/origin/api.d.ts.map +1 -0
  166. package/dist/channels/origin/api.js +363 -0
  167. package/dist/channels/origin/binding.d.ts +57 -0
  168. package/dist/channels/origin/binding.d.ts.map +1 -0
  169. package/dist/channels/origin/binding.js +56 -0
  170. package/dist/channels/origin/checks.d.ts +119 -0
  171. package/dist/channels/origin/checks.d.ts.map +1 -0
  172. package/dist/channels/origin/checks.js +147 -0
  173. package/dist/channels/origin/cursor-account.d.ts +24 -0
  174. package/dist/channels/origin/cursor-account.d.ts.map +1 -0
  175. package/dist/channels/origin/cursor-account.js +35 -0
  176. package/dist/channels/origin/defaults.d.ts +43 -0
  177. package/dist/channels/origin/defaults.d.ts.map +1 -0
  178. package/dist/channels/origin/defaults.js +94 -0
  179. package/dist/channels/origin/events.d.ts +10 -0
  180. package/dist/channels/origin/events.d.ts.map +1 -0
  181. package/dist/channels/origin/events.js +25 -0
  182. package/dist/channels/origin/index.d.ts +45 -0
  183. package/dist/channels/origin/index.d.ts.map +1 -0
  184. package/dist/channels/origin/index.js +33 -0
  185. package/dist/channels/origin/origin-channel.d.ts +72 -0
  186. package/dist/channels/origin/origin-channel.d.ts.map +1 -0
  187. package/dist/channels/origin/origin-channel.js +628 -0
  188. package/dist/channels/origin/origin-webhook.d.ts +69 -0
  189. package/dist/channels/origin/origin-webhook.d.ts.map +1 -0
  190. package/dist/channels/origin/origin-webhook.js +210 -0
  191. package/dist/channels/origin/reactions.d.ts +56 -0
  192. package/dist/channels/origin/reactions.d.ts.map +1 -0
  193. package/dist/channels/origin/reactions.js +46 -0
  194. package/dist/channels/origin/state.d.ts +32 -0
  195. package/dist/channels/origin/state.d.ts.map +1 -0
  196. package/dist/channels/origin/state.js +31 -0
  197. package/dist/channels/origin/types.d.ts +257 -0
  198. package/dist/channels/origin/types.d.ts.map +1 -0
  199. package/dist/channels/origin/types.js +1 -0
  200. package/dist/channels/pagerduty/api.d.ts +74 -0
  201. package/dist/channels/pagerduty/api.d.ts.map +1 -0
  202. package/dist/channels/pagerduty/api.js +102 -0
  203. package/dist/channels/pagerduty/defaults.d.ts +42 -0
  204. package/dist/channels/pagerduty/defaults.d.ts.map +1 -0
  205. package/dist/channels/pagerduty/defaults.js +132 -0
  206. package/dist/channels/pagerduty/events.d.ts +24 -0
  207. package/dist/channels/pagerduty/events.d.ts.map +1 -0
  208. package/dist/channels/pagerduty/events.js +38 -0
  209. package/dist/channels/pagerduty/index.d.ts +31 -0
  210. package/dist/channels/pagerduty/index.d.ts.map +1 -0
  211. package/dist/channels/pagerduty/index.js +30 -0
  212. package/dist/channels/pagerduty/pagerduty-channel.d.ts +64 -0
  213. package/dist/channels/pagerduty/pagerduty-channel.d.ts.map +1 -0
  214. package/dist/channels/pagerduty/pagerduty-channel.js +196 -0
  215. package/dist/channels/pagerduty/pagerduty-webhook.d.ts +70 -0
  216. package/dist/channels/pagerduty/pagerduty-webhook.d.ts.map +1 -0
  217. package/dist/channels/pagerduty/pagerduty-webhook.js +289 -0
  218. package/dist/channels/pagerduty/payload.d.ts +33 -0
  219. package/dist/channels/pagerduty/payload.d.ts.map +1 -0
  220. package/dist/channels/pagerduty/payload.js +149 -0
  221. package/dist/channels/pagerduty/replay.d.ts +35 -0
  222. package/dist/channels/pagerduty/replay.d.ts.map +1 -0
  223. package/dist/channels/pagerduty/replay.js +118 -0
  224. package/dist/channels/pagerduty/secrets.d.ts +16 -0
  225. package/dist/channels/pagerduty/secrets.d.ts.map +1 -0
  226. package/dist/channels/pagerduty/secrets.js +23 -0
  227. package/dist/channels/pagerduty/self-user.d.ts +51 -0
  228. package/dist/channels/pagerduty/self-user.d.ts.map +1 -0
  229. package/dist/channels/pagerduty/self-user.js +156 -0
  230. package/dist/channels/pagerduty/state.d.ts +31 -0
  231. package/dist/channels/pagerduty/state.d.ts.map +1 -0
  232. package/dist/channels/pagerduty/state.js +30 -0
  233. package/dist/channels/pagerduty/types.d.ts +217 -0
  234. package/dist/channels/pagerduty/types.d.ts.map +1 -0
  235. package/dist/channels/pagerduty/types.js +1 -0
  236. package/dist/channels/runs/index.d.ts +4 -0
  237. package/dist/channels/runs/index.d.ts.map +1 -0
  238. package/dist/channels/runs/index.js +2 -0
  239. package/dist/channels/runs/runs-channel.d.ts +5 -0
  240. package/dist/channels/runs/runs-channel.d.ts.map +1 -0
  241. package/dist/channels/runs/runs-channel.js +40 -0
  242. package/dist/channels/runs/types.d.ts +34 -0
  243. package/dist/channels/runs/types.d.ts.map +1 -0
  244. package/dist/channels/runs/types.js +1 -0
  245. package/dist/channels/slack/agentic-delivery.d.ts +43 -0
  246. package/dist/channels/slack/agentic-delivery.d.ts.map +1 -0
  247. package/dist/channels/slack/agentic-delivery.js +575 -0
  248. package/dist/channels/slack/agentic-posted.d.ts +30 -0
  249. package/dist/channels/slack/agentic-posted.d.ts.map +1 -0
  250. package/dist/channels/slack/agentic-posted.js +101 -0
  251. package/dist/channels/slack/agentic-signals.d.ts +45 -0
  252. package/dist/channels/slack/agentic-signals.d.ts.map +1 -0
  253. package/dist/channels/slack/agentic-signals.js +216 -0
  254. package/dist/channels/slack/api.d.ts +172 -0
  255. package/dist/channels/slack/api.d.ts.map +1 -0
  256. package/dist/channels/slack/api.js +641 -0
  257. package/dist/channels/slack/approvals.d.ts +48 -0
  258. package/dist/channels/slack/approvals.d.ts.map +1 -0
  259. package/dist/channels/slack/approvals.js +234 -0
  260. package/dist/channels/slack/assistant.d.ts +23 -0
  261. package/dist/channels/slack/assistant.d.ts.map +1 -0
  262. package/dist/channels/slack/assistant.js +57 -0
  263. package/dist/channels/slack/attachments.d.ts +85 -0
  264. package/dist/channels/slack/attachments.d.ts.map +1 -0
  265. package/dist/channels/slack/attachments.js +532 -0
  266. package/dist/channels/slack/auth.d.ts +46 -0
  267. package/dist/channels/slack/auth.d.ts.map +1 -0
  268. package/dist/channels/slack/auth.js +99 -0
  269. package/dist/channels/slack/blocks.d.ts +61 -0
  270. package/dist/channels/slack/blocks.d.ts.map +1 -0
  271. package/dist/channels/slack/blocks.js +90 -0
  272. package/dist/channels/slack/bot-mentions.d.ts +108 -0
  273. package/dist/channels/slack/bot-mentions.d.ts.map +1 -0
  274. package/dist/channels/slack/bot-mentions.js +241 -0
  275. package/dist/channels/slack/channel-watch.d.ts +80 -0
  276. package/dist/channels/slack/channel-watch.d.ts.map +1 -0
  277. package/dist/channels/slack/channel-watch.js +264 -0
  278. package/dist/channels/slack/cli-project.d.ts +19 -0
  279. package/dist/channels/slack/cli-project.d.ts.map +1 -0
  280. package/dist/channels/slack/cli-project.js +200 -0
  281. package/dist/channels/slack/code-fences.d.ts +17 -0
  282. package/dist/channels/slack/code-fences.d.ts.map +1 -0
  283. package/dist/channels/slack/code-fences.js +164 -0
  284. package/dist/channels/slack/constants.d.ts +34 -0
  285. package/dist/channels/slack/constants.d.ts.map +1 -0
  286. package/dist/channels/slack/constants.js +44 -0
  287. package/dist/channels/slack/credentials.d.ts +35 -0
  288. package/dist/channels/slack/credentials.d.ts.map +1 -0
  289. package/dist/channels/slack/credentials.js +73 -0
  290. package/dist/channels/slack/defaults.d.ts +62 -0
  291. package/dist/channels/slack/defaults.d.ts.map +1 -0
  292. package/dist/channels/slack/defaults.js +600 -0
  293. package/dist/channels/slack/dispatch.d.ts +159 -0
  294. package/dist/channels/slack/dispatch.d.ts.map +1 -0
  295. package/dist/channels/slack/dispatch.js +895 -0
  296. package/dist/channels/slack/doctor.d.ts +40 -0
  297. package/dist/channels/slack/doctor.d.ts.map +1 -0
  298. package/dist/channels/slack/doctor.js +277 -0
  299. package/dist/channels/slack/eval-directive.d.ts +59 -0
  300. package/dist/channels/slack/eval-directive.d.ts.map +1 -0
  301. package/dist/channels/slack/eval-directive.js +252 -0
  302. package/dist/channels/slack/event-id-dedupe.d.ts +10 -0
  303. package/dist/channels/slack/event-id-dedupe.d.ts.map +1 -0
  304. package/dist/channels/slack/event-id-dedupe.js +23 -0
  305. package/dist/channels/slack/external-policy.d.ts +28 -0
  306. package/dist/channels/slack/external-policy.d.ts.map +1 -0
  307. package/dist/channels/slack/external-policy.js +51 -0
  308. package/dist/channels/slack/footer.d.ts +33 -0
  309. package/dist/channels/slack/footer.d.ts.map +1 -0
  310. package/dist/channels/slack/footer.js +72 -0
  311. package/dist/channels/slack/inbound.d.ts +111 -0
  312. package/dist/channels/slack/inbound.d.ts.map +1 -0
  313. package/dist/channels/slack/inbound.js +371 -0
  314. package/dist/channels/slack/index.d.ts +56 -0
  315. package/dist/channels/slack/index.d.ts.map +1 -0
  316. package/dist/channels/slack/index.js +55 -0
  317. package/dist/channels/slack/init.d.ts +43 -0
  318. package/dist/channels/slack/init.d.ts.map +1 -0
  319. package/dist/channels/slack/init.js +117 -0
  320. package/dist/channels/slack/interactive.d.ts +78 -0
  321. package/dist/channels/slack/interactive.d.ts.map +1 -0
  322. package/dist/channels/slack/interactive.js +299 -0
  323. package/dist/channels/slack/links.d.ts +10 -0
  324. package/dist/channels/slack/links.d.ts.map +1 -0
  325. package/dist/channels/slack/links.js +18 -0
  326. package/dist/channels/slack/live-delivery.d.ts +80 -0
  327. package/dist/channels/slack/live-delivery.d.ts.map +1 -0
  328. package/dist/channels/slack/live-delivery.js +386 -0
  329. package/dist/channels/slack/log.d.ts +25 -0
  330. package/dist/channels/slack/log.d.ts.map +1 -0
  331. package/dist/channels/slack/log.js +44 -0
  332. package/dist/channels/slack/manifest.d.ts +80 -0
  333. package/dist/channels/slack/manifest.d.ts.map +1 -0
  334. package/dist/channels/slack/manifest.js +189 -0
  335. package/dist/channels/slack/message-body.d.ts +13 -0
  336. package/dist/channels/slack/message-body.d.ts.map +1 -0
  337. package/dist/channels/slack/message-body.js +72 -0
  338. package/dist/channels/slack/nudge-carrier.d.ts +21 -0
  339. package/dist/channels/slack/nudge-carrier.d.ts.map +1 -0
  340. package/dist/channels/slack/nudge-carrier.js +227 -0
  341. package/dist/channels/slack/nudge-store.d.ts +77 -0
  342. package/dist/channels/slack/nudge-store.d.ts.map +1 -0
  343. package/dist/channels/slack/nudge-store.js +293 -0
  344. package/dist/channels/slack/paint-start.d.ts +22 -0
  345. package/dist/channels/slack/paint-start.d.ts.map +1 -0
  346. package/dist/channels/slack/paint-start.js +76 -0
  347. package/dist/channels/slack/placeholder.d.ts +65 -0
  348. package/dist/channels/slack/placeholder.d.ts.map +1 -0
  349. package/dist/channels/slack/placeholder.js +238 -0
  350. package/dist/channels/slack/pr-ref.d.ts +24 -0
  351. package/dist/channels/slack/pr-ref.d.ts.map +1 -0
  352. package/dist/channels/slack/pr-ref.js +55 -0
  353. package/dist/channels/slack/progress-delivery.d.ts +28 -0
  354. package/dist/channels/slack/progress-delivery.d.ts.map +1 -0
  355. package/dist/channels/slack/progress-delivery.js +109 -0
  356. package/dist/channels/slack/reasoning-card.d.ts +38 -0
  357. package/dist/channels/slack/reasoning-card.d.ts.map +1 -0
  358. package/dist/channels/slack/reasoning-card.js +90 -0
  359. package/dist/channels/slack/reasoning-chip.d.ts +8 -0
  360. package/dist/channels/slack/reasoning-chip.d.ts.map +1 -0
  361. package/dist/channels/slack/reasoning-chip.js +30 -0
  362. package/dist/channels/slack/recording-sink.d.ts +29 -0
  363. package/dist/channels/slack/recording-sink.d.ts.map +1 -0
  364. package/dist/channels/slack/recording-sink.js +129 -0
  365. package/dist/channels/slack/redact.d.ts +2 -0
  366. package/dist/channels/slack/redact.d.ts.map +1 -0
  367. package/dist/channels/slack/redact.js +5 -0
  368. package/dist/channels/slack/reply-options.d.ts +56 -0
  369. package/dist/channels/slack/reply-options.d.ts.map +1 -0
  370. package/dist/channels/slack/reply-options.js +218 -0
  371. package/dist/channels/slack/self-identity.d.ts +18 -0
  372. package/dist/channels/slack/self-identity.d.ts.map +1 -0
  373. package/dist/channels/slack/self-identity.js +49 -0
  374. package/dist/channels/slack/sender-name.d.ts +26 -0
  375. package/dist/channels/slack/sender-name.d.ts.map +1 -0
  376. package/dist/channels/slack/sender-name.js +78 -0
  377. package/dist/channels/slack/setup.d.ts +33 -0
  378. package/dist/channels/slack/setup.d.ts.map +1 -0
  379. package/dist/channels/slack/setup.js +99 -0
  380. package/dist/channels/slack/slack-channel.d.ts +44 -0
  381. package/dist/channels/slack/slack-channel.d.ts.map +1 -0
  382. package/dist/channels/slack/slack-channel.js +660 -0
  383. package/dist/channels/slack/socket-mode.d.ts +26 -0
  384. package/dist/channels/slack/socket-mode.d.ts.map +1 -0
  385. package/dist/channels/slack/socket-mode.js +100 -0
  386. package/dist/channels/slack/stop.d.ts +14 -0
  387. package/dist/channels/slack/stop.d.ts.map +1 -0
  388. package/dist/channels/slack/stop.js +22 -0
  389. package/dist/channels/slack/stream.d.ts +42 -0
  390. package/dist/channels/slack/stream.d.ts.map +1 -0
  391. package/dist/channels/slack/stream.js +30 -0
  392. package/dist/channels/slack/thread-context.d.ts +89 -0
  393. package/dist/channels/slack/thread-context.d.ts.map +1 -0
  394. package/dist/channels/slack/thread-context.js +454 -0
  395. package/dist/channels/slack/tool-approval-events.d.ts +38 -0
  396. package/dist/channels/slack/tool-approval-events.d.ts.map +1 -0
  397. package/dist/channels/slack/tool-approval-events.js +207 -0
  398. package/dist/channels/slack/tool-cards.d.ts +22 -0
  399. package/dist/channels/slack/tool-cards.d.ts.map +1 -0
  400. package/dist/channels/slack/tool-cards.js +171 -0
  401. package/dist/channels/slack/tool-chip.d.ts +9 -0
  402. package/dist/channels/slack/tool-chip.d.ts.map +1 -0
  403. package/dist/channels/slack/tool-chip.js +22 -0
  404. package/dist/channels/slack/types.d.ts +826 -0
  405. package/dist/channels/slack/types.d.ts.map +1 -0
  406. package/dist/channels/slack/types.js +4 -0
  407. package/dist/channels/slack/upload.d.ts +15 -0
  408. package/dist/channels/slack/upload.d.ts.map +1 -0
  409. package/dist/channels/slack/upload.js +159 -0
  410. package/dist/channels/slack/user-info.d.ts +16 -0
  411. package/dist/channels/slack/user-info.d.ts.map +1 -0
  412. package/dist/channels/slack/user-info.js +55 -0
  413. package/dist/channels.d.ts +188 -0
  414. package/dist/channels.d.ts.map +1 -0
  415. package/dist/channels.js +448 -0
  416. package/dist/connections.d.ts +160 -0
  417. package/dist/connections.d.ts.map +1 -0
  418. package/dist/connections.js +185 -0
  419. package/dist/dashboard-session-url.d.ts +15 -0
  420. package/dist/dashboard-session-url.d.ts.map +1 -0
  421. package/dist/dashboard-session-url.js +24 -0
  422. package/dist/docs/404.html +24 -0
  423. package/dist/docs/architecture.svg +59 -0
  424. package/dist/docs/assets/app.DF9vlcdn.js +309 -0
  425. package/dist/docs/assets/building-with-agents.md.Bf1yH2tG.js +9 -0
  426. package/dist/docs/assets/building-with-agents.md.Bf1yH2tG.lean.js +1 -0
  427. package/dist/docs/assets/changelog.md.fZ-NNFeJ.js +1 -0
  428. package/dist/docs/assets/changelog.md.fZ-NNFeJ.lean.js +1 -0
  429. package/dist/docs/assets/chunks/@localSearchIndexroot.mfzjiOsL.js +1 -0
  430. package/dist/docs/assets/chunks/VPLocalSearchBox.D8OuwKO0.js +9 -0
  431. package/dist/docs/assets/chunks/arc.DCq_TCYV.js +1 -0
  432. package/dist/docs/assets/chunks/architectureDiagram-Q4EWVU46.PWRNTPbk.js +36 -0
  433. package/dist/docs/assets/chunks/baseUniq.BeRPvRUL.js +1 -0
  434. package/dist/docs/assets/chunks/blockDiagram-DXYQGD6D.BuRmZVSo.js +132 -0
  435. package/dist/docs/assets/chunks/c4Diagram-AHTNJAMY.7DKSMwuv.js +10 -0
  436. package/dist/docs/assets/chunks/channel.goFR5lbe.js +1 -0
  437. package/dist/docs/assets/chunks/chunk-4BX2VUAB.7VrO9-9i.js +1 -0
  438. package/dist/docs/assets/chunks/chunk-4TB4RGXK.CHystNE2.js +206 -0
  439. package/dist/docs/assets/chunks/chunk-55IACEB6.Nuh9TbTq.js +1 -0
  440. package/dist/docs/assets/chunks/chunk-EDXVE4YY.CA0EKugm.js +1 -0
  441. package/dist/docs/assets/chunks/chunk-FMBD7UC4.F9_mp7U8.js +15 -0
  442. package/dist/docs/assets/chunks/chunk-OYMX7WX6.CEU4QfE1.js +231 -0
  443. package/dist/docs/assets/chunks/chunk-QZHKN3VN.B8h_x9_i.js +1 -0
  444. package/dist/docs/assets/chunks/chunk-YZCP3GAM.Btfb-rKg.js +1 -0
  445. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.B2yLtFja.js +1 -0
  446. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.B2yLtFja.js +1 -0
  447. package/dist/docs/assets/chunks/clone.CztV97Wu.js +1 -0
  448. package/dist/docs/assets/chunks/cose-bilkent-S5V4N54A.DKvc96Wa.js +1 -0
  449. package/dist/docs/assets/chunks/cytoscape.esm.BQk4lpUV.js +331 -0
  450. package/dist/docs/assets/chunks/dagre-KV5264BT.CMo0cy1b.js +4 -0
  451. package/dist/docs/assets/chunks/defaultLocale.C4B-KCzX.js +1 -0
  452. package/dist/docs/assets/chunks/diagram-5BDNPKRD.DDgMOQhB.js +10 -0
  453. package/dist/docs/assets/chunks/diagram-G4DWMVQ6.BdJnoIsU.js +24 -0
  454. package/dist/docs/assets/chunks/diagram-MMDJMWI5.oSvhAZaL.js +43 -0
  455. package/dist/docs/assets/chunks/diagram-TYMM5635.C9zZLIE-.js +24 -0
  456. package/dist/docs/assets/chunks/erDiagram-SMLLAGMA.BNhVyccy.js +85 -0
  457. package/dist/docs/assets/chunks/flowDiagram-DWJPFMVM.BEFLLBiU.js +162 -0
  458. package/dist/docs/assets/chunks/framework.BNw1pucY.js +19 -0
  459. package/dist/docs/assets/chunks/ganttDiagram-T4ZO3ILL.BdUzXBgY.js +292 -0
  460. package/dist/docs/assets/chunks/gitGraphDiagram-UUTBAWPF.Rd3LlOIJ.js +106 -0
  461. package/dist/docs/assets/chunks/graph.DnJC1GpG.js +1 -0
  462. package/dist/docs/assets/chunks/infoDiagram-42DDH7IO.xv0xntDJ.js +2 -0
  463. package/dist/docs/assets/chunks/init.Gi6I4Gst.js +1 -0
  464. package/dist/docs/assets/chunks/ishikawaDiagram-UXIWVN3A.BaGIlviU.js +70 -0
  465. package/dist/docs/assets/chunks/journeyDiagram-VCZTEJTY.Cof_h0fp.js +139 -0
  466. package/dist/docs/assets/chunks/kanban-definition-6JOO6SKY.C5GozFuU.js +89 -0
  467. package/dist/docs/assets/chunks/katex.DkKDou_j.js +257 -0
  468. package/dist/docs/assets/chunks/layout.zc9UShLc.js +1 -0
  469. package/dist/docs/assets/chunks/linear.BoqrFVcJ.js +1 -0
  470. package/dist/docs/assets/chunks/min.DwIfr8hG.js +1 -0
  471. package/dist/docs/assets/chunks/mindmap-definition-QFDTVHPH.Dkq2yTtp.js +96 -0
  472. package/dist/docs/assets/chunks/ordinal.DBvzRdQf.js +1 -0
  473. package/dist/docs/assets/chunks/pieDiagram-DEJITSTG.B4CpTmHK.js +30 -0
  474. package/dist/docs/assets/chunks/quadrantDiagram-34T5L4WZ.BqXnFC9C.js +7 -0
  475. package/dist/docs/assets/chunks/requirementDiagram-MS252O5E.DhIN2z-E.js +84 -0
  476. package/dist/docs/assets/chunks/sankeyDiagram-XADWPNL6.BhxUAmg2.js +10 -0
  477. package/dist/docs/assets/chunks/sequenceDiagram-FGHM5R23.BqgU7HU-.js +157 -0
  478. package/dist/docs/assets/chunks/stateDiagram-FHFEXIEX.B1BCO18N.js +1 -0
  479. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CZlVHdDZ.js +1 -0
  480. package/dist/docs/assets/chunks/theme.oV7rddEz.js +2 -0
  481. package/dist/docs/assets/chunks/timeline-definition-GMOUNBTQ.oRI8UwMC.js +120 -0
  482. package/dist/docs/assets/chunks/vennDiagram-DHZGUBPP.DmuWrIxN.js +34 -0
  483. package/dist/docs/assets/chunks/virtual_mermaid-config.DDnGl6nM.js +1 -0
  484. package/dist/docs/assets/chunks/wardley-RL74JXVD.CEBjM5ov.js +162 -0
  485. package/dist/docs/assets/chunks/wardleyDiagram-NUSXRM2D.m5zsCOF9.js +20 -0
  486. package/dist/docs/assets/chunks/xychartDiagram-5P7HB3ND.cPN-587n.js +7 -0
  487. package/dist/docs/assets/deployment.md.DDmjAVbg.js +31 -0
  488. package/dist/docs/assets/deployment.md.DDmjAVbg.lean.js +1 -0
  489. package/dist/docs/assets/evals.md.OjKb7tNA.js +68 -0
  490. package/dist/docs/assets/evals.md.OjKb7tNA.lean.js +1 -0
  491. package/dist/docs/assets/guides_agent-to-agent.md.D1D5f6Jc.js +42 -0
  492. package/dist/docs/assets/guides_agent-to-agent.md.D1D5f6Jc.lean.js +1 -0
  493. package/dist/docs/assets/guides_bitbucket.md.DkjkBRU8.js +145 -0
  494. package/dist/docs/assets/guides_bitbucket.md.DkjkBRU8.lean.js +1 -0
  495. package/dist/docs/assets/guides_cloud-agents.md.Ceyjv0ul.js +9 -0
  496. package/dist/docs/assets/guides_cloud-agents.md.Ceyjv0ul.lean.js +1 -0
  497. package/dist/docs/assets/guides_convert-automation.md.BjraCvok.js +43 -0
  498. package/dist/docs/assets/guides_convert-automation.md.BjraCvok.lean.js +1 -0
  499. package/dist/docs/assets/guides_github.md.CgN5sNbW.js +162 -0
  500. package/dist/docs/assets/guides_github.md.CgN5sNbW.lean.js +1 -0
  501. package/dist/docs/assets/guides_gitlab.md.DCE0p7_w.js +153 -0
  502. package/dist/docs/assets/guides_gitlab.md.DCE0p7_w.lean.js +1 -0
  503. package/dist/docs/assets/guides_grokbot-agents.md.D0PpM_Gf.js +15 -0
  504. package/dist/docs/assets/guides_grokbot-agents.md.D0PpM_Gf.lean.js +1 -0
  505. package/dist/docs/assets/guides_hooks.md.BjeEiM7s.js +54 -0
  506. package/dist/docs/assets/guides_hooks.md.BjeEiM7s.lean.js +1 -0
  507. package/dist/docs/assets/guides_improve.md.BFYtrtLE.js +21 -0
  508. package/dist/docs/assets/guides_improve.md.BFYtrtLE.lean.js +1 -0
  509. package/dist/docs/assets/guides_jev.md.Ccw4pedT.js +151 -0
  510. package/dist/docs/assets/guides_jev.md.Ccw4pedT.lean.js +1 -0
  511. package/dist/docs/assets/guides_mcp-oauth.md.ekpWOZCC.js +38 -0
  512. package/dist/docs/assets/guides_mcp-oauth.md.ekpWOZCC.lean.js +1 -0
  513. package/dist/docs/assets/guides_migrate.md.RS9Eu-Xh.js +8 -0
  514. package/dist/docs/assets/guides_migrate.md.RS9Eu-Xh.lean.js +1 -0
  515. package/dist/docs/assets/guides_opentelemetry.md.CoZ1kNyd.js +28 -0
  516. package/dist/docs/assets/guides_opentelemetry.md.CoZ1kNyd.lean.js +1 -0
  517. package/dist/docs/assets/guides_pagerduty.md.mnKXe9U0.js +60 -0
  518. package/dist/docs/assets/guides_pagerduty.md.mnKXe9U0.lean.js +1 -0
  519. package/dist/docs/assets/guides_slack.md.BqiGSYGX.js +88 -0
  520. package/dist/docs/assets/guides_slack.md.BqiGSYGX.lean.js +1 -0
  521. package/dist/docs/assets/guides_webhooks.md.BJk63ZTs.js +97 -0
  522. package/dist/docs/assets/guides_webhooks.md.BJk63ZTs.lean.js +1 -0
  523. package/dist/docs/assets/hillclimbing.md.By61f3uq.js +7 -0
  524. package/dist/docs/assets/hillclimbing.md.By61f3uq.lean.js +1 -0
  525. package/dist/docs/assets/index.md.CVRjO09Y.js +27 -0
  526. package/dist/docs/assets/index.md.CVRjO09Y.lean.js +1 -0
  527. package/dist/docs/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
  528. package/dist/docs/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
  529. package/dist/docs/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
  530. package/dist/docs/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
  531. package/dist/docs/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
  532. package/dist/docs/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
  533. package/dist/docs/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
  534. package/dist/docs/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
  535. package/dist/docs/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
  536. package/dist/docs/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
  537. package/dist/docs/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
  538. package/dist/docs/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
  539. package/dist/docs/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
  540. package/dist/docs/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
  541. package/dist/docs/assets/quickstart.md.DaLk4ZIF.js +170 -0
  542. package/dist/docs/assets/quickstart.md.DaLk4ZIF.lean.js +1 -0
  543. package/dist/docs/assets/reference_access.md.CExlH_mR.js +1 -0
  544. package/dist/docs/assets/reference_access.md.CExlH_mR.lean.js +1 -0
  545. package/dist/docs/assets/reference_agent-config.md.11E_xe--.js +40 -0
  546. package/dist/docs/assets/reference_agent-config.md.11E_xe--.lean.js +1 -0
  547. package/dist/docs/assets/reference_artifacts.md.C-hKR2hp.js +18 -0
  548. package/dist/docs/assets/reference_artifacts.md.C-hKR2hp.lean.js +1 -0
  549. package/dist/docs/assets/reference_channels.md.DsJfGSBJ.js +22 -0
  550. package/dist/docs/assets/reference_channels.md.DsJfGSBJ.lean.js +1 -0
  551. package/dist/docs/assets/reference_cli.md.DQ3dCgmk.js +99 -0
  552. package/dist/docs/assets/reference_cli.md.DQ3dCgmk.lean.js +1 -0
  553. package/dist/docs/assets/reference_connections.md.BoAotr7_.js +66 -0
  554. package/dist/docs/assets/reference_connections.md.BoAotr7_.lean.js +1 -0
  555. package/dist/docs/assets/reference_evals.md.DYKjGFi-.js +56 -0
  556. package/dist/docs/assets/reference_evals.md.DYKjGFi-.lean.js +1 -0
  557. package/dist/docs/assets/reference_extensions.md.pEVj72Xo.js +62 -0
  558. package/dist/docs/assets/reference_extensions.md.pEVj72Xo.lean.js +1 -0
  559. package/dist/docs/assets/reference_hooks.md.B-bwJuiG.js +51 -0
  560. package/dist/docs/assets/reference_hooks.md.B-bwJuiG.lean.js +1 -0
  561. package/dist/docs/assets/reference_http-api.md._RWELr3d.js +11 -0
  562. package/dist/docs/assets/reference_http-api.md._RWELr3d.lean.js +1 -0
  563. package/dist/docs/assets/reference_instructions.md.yL2hXLnl.js +14 -0
  564. package/dist/docs/assets/reference_instructions.md.yL2hXLnl.lean.js +1 -0
  565. package/dist/docs/assets/reference_limits.md.Da1HegjB.js +8 -0
  566. package/dist/docs/assets/reference_limits.md.Da1HegjB.lean.js +1 -0
  567. package/dist/docs/assets/reference_memory.md.Dd7cyV9V.js +4 -0
  568. package/dist/docs/assets/reference_memory.md.Dd7cyV9V.lean.js +1 -0
  569. package/dist/docs/assets/reference_playground.md.CQiJk9CM.js +1 -0
  570. package/dist/docs/assets/reference_playground.md.CQiJk9CM.lean.js +1 -0
  571. package/dist/docs/assets/reference_project-layout.md.BamcPDUn.js +25 -0
  572. package/dist/docs/assets/reference_project-layout.md.BamcPDUn.lean.js +1 -0
  573. package/dist/docs/assets/reference_prompt.md.BMjm1Jp3.js +9 -0
  574. package/dist/docs/assets/reference_prompt.md.BMjm1Jp3.lean.js +1 -0
  575. package/dist/docs/assets/reference_schedules.md.RC47aFm4.js +47 -0
  576. package/dist/docs/assets/reference_schedules.md.RC47aFm4.lean.js +1 -0
  577. package/dist/docs/assets/reference_sessions.md.C7KFhWXV.js +22 -0
  578. package/dist/docs/assets/reference_sessions.md.C7KFhWXV.lean.js +1 -0
  579. package/dist/docs/assets/reference_skills.md.Dej2zQxi.js +15 -0
  580. package/dist/docs/assets/reference_skills.md.Dej2zQxi.lean.js +1 -0
  581. package/dist/docs/assets/reference_subagents.md.CAhvW4yS.js +10 -0
  582. package/dist/docs/assets/reference_subagents.md.CAhvW4yS.lean.js +1 -0
  583. package/dist/docs/assets/reference_tools.md.DQr7Fnhu.js +79 -0
  584. package/dist/docs/assets/reference_tools.md.DQr7Fnhu.lean.js +1 -0
  585. package/dist/docs/assets/style.DK0YX1WL.css +1 -0
  586. package/dist/docs/assets/templates_agentic-owners.md.Dh2nDSqg.js +13 -0
  587. package/dist/docs/assets/templates_agentic-owners.md.Dh2nDSqg.lean.js +1 -0
  588. package/dist/docs/assets/templates_security-reviewer.md.DnwXdnB5.js +3 -0
  589. package/dist/docs/assets/templates_security-reviewer.md.DnwXdnB5.lean.js +1 -0
  590. package/dist/docs/assets/templates_thermo-quality-review.md.MJIdHkzE.js +3 -0
  591. package/dist/docs/assets/templates_thermo-quality-review.md.MJIdHkzE.lean.js +1 -0
  592. package/dist/docs/assets/templates_thermo-review.md.DfN1OFOl.js +3 -0
  593. package/dist/docs/assets/templates_thermo-review.md.DfN1OFOl.lean.js +1 -0
  594. package/dist/docs/assets/templates_triage.md.BYWMloV4.js +9 -0
  595. package/dist/docs/assets/templates_triage.md.BYWMloV4.lean.js +1 -0
  596. package/dist/docs/assets/troubleshooting.md.AGJ3jDzj.js +1 -0
  597. package/dist/docs/assets/troubleshooting.md.AGJ3jDzj.lean.js +1 -0
  598. package/dist/docs/building-with-agents.html +68 -0
  599. package/dist/docs/building-with-agents.md +134 -0
  600. package/dist/docs/changelog.html +60 -0
  601. package/dist/docs/changelog.md +150 -0
  602. package/dist/docs/deployment.html +90 -0
  603. package/dist/docs/deployment.md +371 -0
  604. package/dist/docs/evals.html +127 -0
  605. package/dist/docs/evals.md +239 -0
  606. package/dist/docs/guides/agent-to-agent.html +101 -0
  607. package/dist/docs/guides/agent-to-agent.md +162 -0
  608. package/dist/docs/guides/bitbucket.html +204 -0
  609. package/dist/docs/guides/bitbucket.md +293 -0
  610. package/dist/docs/guides/cloud-agents.html +68 -0
  611. package/dist/docs/guides/cloud-agents.md +81 -0
  612. package/dist/docs/guides/convert-automation.html +102 -0
  613. package/dist/docs/guides/convert-automation.md +181 -0
  614. package/dist/docs/guides/github.html +221 -0
  615. package/dist/docs/guides/github.md +373 -0
  616. package/dist/docs/guides/gitlab.html +212 -0
  617. package/dist/docs/guides/gitlab.md +299 -0
  618. package/dist/docs/guides/grokbot-agents.html +74 -0
  619. package/dist/docs/guides/grokbot-agents.md +129 -0
  620. package/dist/docs/guides/hooks.html +113 -0
  621. package/dist/docs/guides/hooks.md +116 -0
  622. package/dist/docs/guides/improve.html +80 -0
  623. package/dist/docs/guides/improve.md +129 -0
  624. package/dist/docs/guides/jev.html +210 -0
  625. package/dist/docs/guides/jev.md +298 -0
  626. package/dist/docs/guides/mcp-oauth.html +97 -0
  627. package/dist/docs/guides/mcp-oauth.md +148 -0
  628. package/dist/docs/guides/migrate.html +67 -0
  629. package/dist/docs/guides/migrate.md +171 -0
  630. package/dist/docs/guides/opentelemetry.html +87 -0
  631. package/dist/docs/guides/opentelemetry.md +136 -0
  632. package/dist/docs/guides/pagerduty.html +119 -0
  633. package/dist/docs/guides/pagerduty.md +336 -0
  634. package/dist/docs/guides/slack.html +147 -0
  635. package/dist/docs/guides/slack.md +380 -0
  636. package/dist/docs/guides/webhooks.html +156 -0
  637. package/dist/docs/guides/webhooks.md +308 -0
  638. package/dist/docs/hashmap.json +1 -0
  639. package/dist/docs/hillclimbing.html +66 -0
  640. package/dist/docs/hillclimbing.md +134 -0
  641. package/dist/docs/index.html +86 -0
  642. package/dist/docs/index.md +109 -0
  643. package/dist/docs/llms-full.txt +10072 -0
  644. package/dist/docs/llms.txt +68 -0
  645. package/dist/docs/quickstart.html +229 -0
  646. package/dist/docs/quickstart.md +307 -0
  647. package/dist/docs/reference/access.html +60 -0
  648. package/dist/docs/reference/access.md +22 -0
  649. package/dist/docs/reference/agent-config.html +99 -0
  650. package/dist/docs/reference/agent-config.md +280 -0
  651. package/dist/docs/reference/artifacts.html +77 -0
  652. package/dist/docs/reference/artifacts.md +113 -0
  653. package/dist/docs/reference/channels.html +81 -0
  654. package/dist/docs/reference/channels.md +234 -0
  655. package/dist/docs/reference/cli.html +158 -0
  656. package/dist/docs/reference/cli.md +1095 -0
  657. package/dist/docs/reference/connections.html +125 -0
  658. package/dist/docs/reference/connections.md +307 -0
  659. package/dist/docs/reference/evals.html +115 -0
  660. package/dist/docs/reference/evals.md +294 -0
  661. package/dist/docs/reference/extensions.html +121 -0
  662. package/dist/docs/reference/extensions.md +209 -0
  663. package/dist/docs/reference/hooks.html +110 -0
  664. package/dist/docs/reference/hooks.md +197 -0
  665. package/dist/docs/reference/http-api.html +70 -0
  666. package/dist/docs/reference/http-api.md +221 -0
  667. package/dist/docs/reference/instructions.html +73 -0
  668. package/dist/docs/reference/instructions.md +64 -0
  669. package/dist/docs/reference/limits.html +67 -0
  670. package/dist/docs/reference/limits.md +37 -0
  671. package/dist/docs/reference/memory.html +63 -0
  672. package/dist/docs/reference/memory.md +114 -0
  673. package/dist/docs/reference/playground.html +60 -0
  674. package/dist/docs/reference/playground.md +36 -0
  675. package/dist/docs/reference/project-layout.html +84 -0
  676. package/dist/docs/reference/project-layout.md +117 -0
  677. package/dist/docs/reference/prompt.html +68 -0
  678. package/dist/docs/reference/prompt.md +47 -0
  679. package/dist/docs/reference/schedules.html +106 -0
  680. package/dist/docs/reference/schedules.md +190 -0
  681. package/dist/docs/reference/sessions.html +81 -0
  682. package/dist/docs/reference/sessions.md +200 -0
  683. package/dist/docs/reference/skills.html +74 -0
  684. package/dist/docs/reference/skills.md +72 -0
  685. package/dist/docs/reference/subagents.html +69 -0
  686. package/dist/docs/reference/subagents.md +61 -0
  687. package/dist/docs/reference/tools.html +138 -0
  688. package/dist/docs/reference/tools.md +316 -0
  689. package/dist/docs/templates/agentic-owners.html +72 -0
  690. package/dist/docs/templates/agentic-owners.md +126 -0
  691. package/dist/docs/templates/security-reviewer.html +62 -0
  692. package/dist/docs/templates/security-reviewer.md +81 -0
  693. package/dist/docs/templates/thermo-quality-review.html +62 -0
  694. package/dist/docs/templates/thermo-quality-review.md +75 -0
  695. package/dist/docs/templates/thermo-review.html +62 -0
  696. package/dist/docs/templates/thermo-review.md +75 -0
  697. package/dist/docs/templates/triage.html +68 -0
  698. package/dist/docs/templates/triage.md +101 -0
  699. package/dist/docs/troubleshooting.html +60 -0
  700. package/dist/docs/troubleshooting.md +151 -0
  701. package/dist/docs/vp-icons.css +0 -0
  702. package/dist/evals/assertions.d.ts +199 -0
  703. package/dist/evals/assertions.d.ts.map +1 -0
  704. package/dist/evals/assertions.js +447 -0
  705. package/dist/evals/expect.d.ts +95 -0
  706. package/dist/evals/expect.d.ts.map +1 -0
  707. package/dist/evals/expect.js +192 -0
  708. package/dist/evals/judge.d.ts +134 -0
  709. package/dist/evals/judge.d.ts.map +1 -0
  710. package/dist/evals/judge.js +221 -0
  711. package/dist/evals/loaders.d.ts +51 -0
  712. package/dist/evals/loaders.d.ts.map +1 -0
  713. package/dist/evals/loaders.js +110 -0
  714. package/dist/evals/matchers.d.ts +95 -0
  715. package/dist/evals/matchers.d.ts.map +1 -0
  716. package/dist/evals/matchers.js +175 -0
  717. package/dist/evals/reporters.d.ts +70 -0
  718. package/dist/evals/reporters.d.ts.map +1 -0
  719. package/dist/evals/reporters.js +196 -0
  720. package/dist/evals/results.d.ts +103 -0
  721. package/dist/evals/results.d.ts.map +1 -0
  722. package/dist/evals/results.js +27 -0
  723. package/dist/evals/run-facts.d.ts +77 -0
  724. package/dist/evals/run-facts.d.ts.map +1 -0
  725. package/dist/evals/run-facts.js +213 -0
  726. package/dist/evals.d.ts +446 -0
  727. package/dist/evals.d.ts.map +1 -0
  728. package/dist/evals.js +304 -0
  729. package/dist/executors.d.ts +11 -0
  730. package/dist/executors.d.ts.map +1 -0
  731. package/dist/executors.js +21 -0
  732. package/dist/extensions/cursor-cloud-agents/extension.d.ts +94 -0
  733. package/dist/extensions/cursor-cloud-agents/extension.d.ts.map +1 -0
  734. package/dist/extensions/cursor-cloud-agents/extension.js +104 -0
  735. package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts +118 -0
  736. package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts.map +1 -0
  737. package/dist/extensions/cursor-cloud-agents/lib/backend.js +301 -0
  738. package/dist/extensions/cursor-cloud-agents/lib/channels.d.ts +3 -0
  739. package/dist/extensions/cursor-cloud-agents/lib/channels.d.ts.map +1 -0
  740. package/dist/extensions/cursor-cloud-agents/lib/channels.js +11 -0
  741. package/dist/extensions/cursor-cloud-agents/lib/fleet.d.ts +25 -0
  742. package/dist/extensions/cursor-cloud-agents/lib/fleet.d.ts.map +1 -0
  743. package/dist/extensions/cursor-cloud-agents/lib/fleet.js +65 -0
  744. package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts +5 -0
  745. package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts.map +1 -0
  746. package/dist/extensions/cursor-cloud-agents/lib/inputs.js +4 -0
  747. package/dist/extensions/cursor-cloud-agents/lib/launch-agent.d.ts +47 -0
  748. package/dist/extensions/cursor-cloud-agents/lib/launch-agent.d.ts.map +1 -0
  749. package/dist/extensions/cursor-cloud-agents/lib/launch-agent.js +62 -0
  750. package/dist/extensions/cursor-cloud-agents/lib/repos.d.ts +17 -0
  751. package/dist/extensions/cursor-cloud-agents/lib/repos.d.ts.map +1 -0
  752. package/dist/extensions/cursor-cloud-agents/lib/repos.js +60 -0
  753. package/dist/extensions/cursor-cloud-agents/lib/transcript.d.ts +8 -0
  754. package/dist/extensions/cursor-cloud-agents/lib/transcript.d.ts.map +1 -0
  755. package/dist/extensions/cursor-cloud-agents/lib/transcript.js +14 -0
  756. package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts +17 -0
  757. package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts.map +1 -0
  758. package/dist/extensions/cursor-cloud-agents/lib/watch.js +85 -0
  759. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts +19 -0
  760. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts.map +1 -0
  761. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.js +60 -0
  762. package/dist/extensions/cursor-cloud-agents/skills/handoff.md +41 -0
  763. package/dist/extensions/cursor-cloud-agents/tools/cancel.d.ts +4 -0
  764. package/dist/extensions/cursor-cloud-agents/tools/cancel.d.ts.map +1 -0
  765. package/dist/extensions/cursor-cloud-agents/tools/cancel.js +19 -0
  766. package/dist/extensions/cursor-cloud-agents/tools/dump.d.ts +4 -0
  767. package/dist/extensions/cursor-cloud-agents/tools/dump.d.ts.map +1 -0
  768. package/dist/extensions/cursor-cloud-agents/tools/dump.js +43 -0
  769. package/dist/extensions/cursor-cloud-agents/tools/get.d.ts +4 -0
  770. package/dist/extensions/cursor-cloud-agents/tools/get.d.ts.map +1 -0
  771. package/dist/extensions/cursor-cloud-agents/tools/get.js +14 -0
  772. package/dist/extensions/cursor-cloud-agents/tools/launch.d.ts +4 -0
  773. package/dist/extensions/cursor-cloud-agents/tools/launch.d.ts.map +1 -0
  774. package/dist/extensions/cursor-cloud-agents/tools/launch.js +49 -0
  775. package/dist/extensions/cursor-cloud-agents/tools/list.d.ts +4 -0
  776. package/dist/extensions/cursor-cloud-agents/tools/list.d.ts.map +1 -0
  777. package/dist/extensions/cursor-cloud-agents/tools/list.js +25 -0
  778. package/dist/extensions/cursor-cloud-agents/tools/reply.d.ts +4 -0
  779. package/dist/extensions/cursor-cloud-agents/tools/reply.d.ts.map +1 -0
  780. package/dist/extensions/cursor-cloud-agents/tools/reply.js +26 -0
  781. package/dist/extensions/cursor-grokbot-agents/extension.d.ts +71 -0
  782. package/dist/extensions/cursor-grokbot-agents/extension.d.ts.map +1 -0
  783. package/dist/extensions/cursor-grokbot-agents/extension.js +64 -0
  784. package/dist/extensions/cursor-grokbot-agents/lib/agents.d.ts +11 -0
  785. package/dist/extensions/cursor-grokbot-agents/lib/agents.d.ts.map +1 -0
  786. package/dist/extensions/cursor-grokbot-agents/lib/agents.js +31 -0
  787. package/dist/extensions/cursor-grokbot-agents/lib/backend.d.ts +56 -0
  788. package/dist/extensions/cursor-grokbot-agents/lib/backend.d.ts.map +1 -0
  789. package/dist/extensions/cursor-grokbot-agents/lib/backend.js +139 -0
  790. package/dist/extensions/cursor-grokbot-agents/lib/contacts.d.ts +28 -0
  791. package/dist/extensions/cursor-grokbot-agents/lib/contacts.d.ts.map +1 -0
  792. package/dist/extensions/cursor-grokbot-agents/lib/contacts.js +46 -0
  793. package/dist/extensions/cursor-grokbot-agents/lib/conversation.d.ts +53 -0
  794. package/dist/extensions/cursor-grokbot-agents/lib/conversation.d.ts.map +1 -0
  795. package/dist/extensions/cursor-grokbot-agents/lib/conversation.js +186 -0
  796. package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts +4 -0
  797. package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts.map +1 -0
  798. package/dist/extensions/cursor-grokbot-agents/lib/inputs.js +15 -0
  799. package/dist/extensions/cursor-grokbot-agents/lib/lock.d.ts +12 -0
  800. package/dist/extensions/cursor-grokbot-agents/lib/lock.d.ts.map +1 -0
  801. package/dist/extensions/cursor-grokbot-agents/lib/lock.js +24 -0
  802. package/dist/extensions/cursor-grokbot-agents/skills/consult.md +40 -0
  803. package/dist/extensions/cursor-grokbot-agents/tools/ask.d.ts +4 -0
  804. package/dist/extensions/cursor-grokbot-agents/tools/ask.d.ts.map +1 -0
  805. package/dist/extensions/cursor-grokbot-agents/tools/ask.js +26 -0
  806. package/dist/extensions/cursor-grokbot-agents/tools/check.d.ts +4 -0
  807. package/dist/extensions/cursor-grokbot-agents/tools/check.d.ts.map +1 -0
  808. package/dist/extensions/cursor-grokbot-agents/tools/check.js +21 -0
  809. package/dist/extensions/cursor-grokbot-agents/tools/interrupt.d.ts +4 -0
  810. package/dist/extensions/cursor-grokbot-agents/tools/interrupt.d.ts.map +1 -0
  811. package/dist/extensions/cursor-grokbot-agents/tools/interrupt.js +13 -0
  812. package/dist/extensions/cursor-grokbot-agents/tools/list.d.ts +4 -0
  813. package/dist/extensions/cursor-grokbot-agents/tools/list.d.ts.map +1 -0
  814. package/dist/extensions/cursor-grokbot-agents/tools/list.js +22 -0
  815. package/dist/extensions/improve/extension.d.ts +48 -0
  816. package/dist/extensions/improve/extension.d.ts.map +1 -0
  817. package/dist/extensions/improve/extension.js +43 -0
  818. package/dist/extensions/improve/skills/yourself.d.ts +4 -0
  819. package/dist/extensions/improve/skills/yourself.d.ts.map +1 -0
  820. package/dist/extensions/improve/skills/yourself.js +43 -0
  821. package/dist/extensions/jev/extension.d.ts +46 -0
  822. package/dist/extensions/jev/extension.d.ts.map +1 -0
  823. package/dist/extensions/jev/extension.js +56 -0
  824. package/dist/extensions/jev/lib/evaluate.d.ts +105 -0
  825. package/dist/extensions/jev/lib/evaluate.d.ts.map +1 -0
  826. package/dist/extensions/jev/lib/evaluate.js +173 -0
  827. package/dist/extensions/jev/skills/gated-write.md +25 -0
  828. package/dist/extensions/jev/skills/questions.md +33 -0
  829. package/dist/extensions/jev/tools/evaluate.d.ts +4 -0
  830. package/dist/extensions/jev/tools/evaluate.d.ts.map +1 -0
  831. package/dist/extensions/jev/tools/evaluate.js +72 -0
  832. package/dist/extensions/slack-communication/extension.d.ts +28 -0
  833. package/dist/extensions/slack-communication/extension.d.ts.map +1 -0
  834. package/dist/extensions/slack-communication/extension.js +32 -0
  835. package/dist/extensions/slack-communication/skills/slack-voice.d.ts +5 -0
  836. package/dist/extensions/slack-communication/skills/slack-voice.d.ts.map +1 -0
  837. package/dist/extensions/slack-communication/skills/slack-voice.js +52 -0
  838. package/dist/extensions/slack-communication/tools/delete-message.d.ts +4 -0
  839. package/dist/extensions/slack-communication/tools/delete-message.d.ts.map +1 -0
  840. package/dist/extensions/slack-communication/tools/delete-message.js +29 -0
  841. package/dist/extensions/slack-communication/tools/edit-message.d.ts +4 -0
  842. package/dist/extensions/slack-communication/tools/edit-message.d.ts.map +1 -0
  843. package/dist/extensions/slack-communication/tools/edit-message.js +34 -0
  844. package/dist/extensions/slack-communication/tools/post-card.d.ts +4 -0
  845. package/dist/extensions/slack-communication/tools/post-card.d.ts.map +1 -0
  846. package/dist/extensions/slack-communication/tools/post-card.js +25 -0
  847. package/dist/extensions/slack-communication/tools/post-file.d.ts +4 -0
  848. package/dist/extensions/slack-communication/tools/post-file.d.ts.map +1 -0
  849. package/dist/extensions/slack-communication/tools/post-file.js +118 -0
  850. package/dist/extensions/slack-communication/tools/post-update.d.ts +4 -0
  851. package/dist/extensions/slack-communication/tools/post-update.d.ts.map +1 -0
  852. package/dist/extensions/slack-communication/tools/post-update.js +33 -0
  853. package/dist/extensions/slack-communication/tools/react.d.ts +4 -0
  854. package/dist/extensions/slack-communication/tools/react.d.ts.map +1 -0
  855. package/dist/extensions/slack-communication/tools/react.js +27 -0
  856. package/dist/extensions/slack-communication/tools/set-status.d.ts +4 -0
  857. package/dist/extensions/slack-communication/tools/set-status.d.ts.map +1 -0
  858. package/dist/extensions/slack-communication/tools/set-status.js +18 -0
  859. package/dist/extensions.d.ts +87 -0
  860. package/dist/extensions.d.ts.map +1 -0
  861. package/dist/extensions.js +145 -0
  862. package/dist/files-backends/agent-store-presigned-url.d.ts +3 -0
  863. package/dist/files-backends/agent-store-presigned-url.d.ts.map +1 -0
  864. package/dist/files-backends/agent-store-presigned-url.js +223 -0
  865. package/dist/files-backends/cursor-hosted.d.ts +65 -0
  866. package/dist/files-backends/cursor-hosted.d.ts.map +1 -0
  867. package/dist/files-backends/cursor-hosted.js +853 -0
  868. package/dist/files-backends/local-fs.d.ts +33 -0
  869. package/dist/files-backends/local-fs.d.ts.map +1 -0
  870. package/dist/files-backends/local-fs.js +134 -0
  871. package/dist/files.d.ts +203 -0
  872. package/dist/files.d.ts.map +1 -0
  873. package/dist/files.js +129 -0
  874. package/dist/filesystem.d.ts +485 -0
  875. package/dist/filesystem.d.ts.map +1 -0
  876. package/dist/filesystem.js +1664 -0
  877. package/dist/hooks.d.ts +25 -0
  878. package/dist/hooks.d.ts.map +1 -0
  879. package/dist/hooks.js +25 -0
  880. package/dist/index.d.ts +94 -0
  881. package/dist/index.d.ts.map +1 -0
  882. package/dist/index.js +101 -0
  883. package/dist/internal/advertise-tools.d.ts +96 -0
  884. package/dist/internal/advertise-tools.d.ts.map +1 -0
  885. package/dist/internal/advertise-tools.js +259 -0
  886. package/dist/internal/approval-gate.d.ts +35 -0
  887. package/dist/internal/approval-gate.d.ts.map +1 -0
  888. package/dist/internal/approval-gate.js +81 -0
  889. package/dist/internal/artifacts-store.d.ts +123 -0
  890. package/dist/internal/artifacts-store.d.ts.map +1 -0
  891. package/dist/internal/artifacts-store.js +666 -0
  892. package/dist/internal/as-of.d.ts +39 -0
  893. package/dist/internal/as-of.d.ts.map +1 -0
  894. package/dist/internal/as-of.js +208 -0
  895. package/dist/internal/auth.d.ts +12 -0
  896. package/dist/internal/auth.d.ts.map +1 -0
  897. package/dist/internal/auth.js +34 -0
  898. package/dist/internal/authored-alias-hooks.d.ts +24 -0
  899. package/dist/internal/authored-alias-hooks.d.ts.map +1 -0
  900. package/dist/internal/authored-alias-hooks.js +151 -0
  901. package/dist/internal/authored-loaders.d.ts +50 -0
  902. package/dist/internal/authored-loaders.d.ts.map +1 -0
  903. package/dist/internal/authored-loaders.js +208 -0
  904. package/dist/internal/bounded-int.d.ts +11 -0
  905. package/dist/internal/bounded-int.d.ts.map +1 -0
  906. package/dist/internal/bounded-int.js +12 -0
  907. package/dist/internal/bounded.d.ts +7 -0
  908. package/dist/internal/bounded.d.ts.map +1 -0
  909. package/dist/internal/bounded.js +21 -0
  910. package/dist/internal/brand.d.ts +6 -0
  911. package/dist/internal/brand.d.ts.map +1 -0
  912. package/dist/internal/brand.js +40 -0
  913. package/dist/internal/browser-origin-guard.d.ts +19 -0
  914. package/dist/internal/browser-origin-guard.d.ts.map +1 -0
  915. package/dist/internal/browser-origin-guard.js +51 -0
  916. package/dist/internal/builtin-tools/artifacts.d.ts +10 -0
  917. package/dist/internal/builtin-tools/artifacts.d.ts.map +1 -0
  918. package/dist/internal/builtin-tools/artifacts.js +103 -0
  919. package/dist/internal/builtin-tools/index.d.ts +17 -0
  920. package/dist/internal/builtin-tools/index.d.ts.map +1 -0
  921. package/dist/internal/builtin-tools/index.js +39 -0
  922. package/dist/internal/builtin-tools/reminders.d.ts +9 -0
  923. package/dist/internal/builtin-tools/reminders.d.ts.map +1 -0
  924. package/dist/internal/builtin-tools/reminders.js +115 -0
  925. package/dist/internal/channel-architecture.d.ts +21 -0
  926. package/dist/internal/channel-architecture.d.ts.map +1 -0
  927. package/dist/internal/channel-architecture.js +43 -0
  928. package/dist/internal/channel-dispatch.d.ts +43 -0
  929. package/dist/internal/channel-dispatch.d.ts.map +1 -0
  930. package/dist/internal/channel-dispatch.js +74 -0
  931. package/dist/internal/channel-route-dispatch.d.ts +13 -0
  932. package/dist/internal/channel-route-dispatch.d.ts.map +1 -0
  933. package/dist/internal/channel-route-dispatch.js +51 -0
  934. package/dist/internal/channel-state.d.ts +17 -0
  935. package/dist/internal/channel-state.d.ts.map +1 -0
  936. package/dist/internal/channel-state.js +74 -0
  937. package/dist/internal/chat-client.d.ts +45 -0
  938. package/dist/internal/chat-client.d.ts.map +1 -0
  939. package/dist/internal/chat-client.js +466 -0
  940. package/dist/internal/cli/command.d.ts +134 -0
  941. package/dist/internal/cli/command.d.ts.map +1 -0
  942. package/dist/internal/cli/command.js +54 -0
  943. package/dist/internal/cli/commands/channels.d.ts +26 -0
  944. package/dist/internal/cli/commands/channels.d.ts.map +1 -0
  945. package/dist/internal/cli/commands/channels.js +524 -0
  946. package/dist/internal/cli/commands/develop.d.ts +15 -0
  947. package/dist/internal/cli/commands/develop.d.ts.map +1 -0
  948. package/dist/internal/cli/commands/develop.js +568 -0
  949. package/dist/internal/cli/commands/hosted.d.ts +22 -0
  950. package/dist/internal/cli/commands/hosted.d.ts.map +1 -0
  951. package/dist/internal/cli/commands/hosted.js +407 -0
  952. package/dist/internal/cli/commands/index.d.ts +4 -0
  953. package/dist/internal/cli/commands/index.d.ts.map +1 -0
  954. package/dist/internal/cli/commands/index.js +84 -0
  955. package/dist/internal/cli/commands/mcp.d.ts +6 -0
  956. package/dist/internal/cli/commands/mcp.d.ts.map +1 -0
  957. package/dist/internal/cli/commands/mcp.js +89 -0
  958. package/dist/internal/cli/commands/project.d.ts +5 -0
  959. package/dist/internal/cli/commands/project.d.ts.map +1 -0
  960. package/dist/internal/cli/commands/project.js +136 -0
  961. package/dist/internal/cli/commands/scaffold.d.ts +12 -0
  962. package/dist/internal/cli/commands/scaffold.d.ts.map +1 -0
  963. package/dist/internal/cli/commands/scaffold.js +279 -0
  964. package/dist/internal/cli/commands/serve.d.ts +11 -0
  965. package/dist/internal/cli/commands/serve.d.ts.map +1 -0
  966. package/dist/internal/cli/commands/serve.js +370 -0
  967. package/dist/internal/cli/commands/session.d.ts +7 -0
  968. package/dist/internal/cli/commands/session.d.ts.map +1 -0
  969. package/dist/internal/cli/commands/session.js +354 -0
  970. package/dist/internal/cli/dispatch.d.ts +46 -0
  971. package/dist/internal/cli/dispatch.d.ts.map +1 -0
  972. package/dist/internal/cli/dispatch.js +385 -0
  973. package/dist/internal/cli/errors.d.ts +51 -0
  974. package/dist/internal/cli/errors.d.ts.map +1 -0
  975. package/dist/internal/cli/errors.js +142 -0
  976. package/dist/internal/cli/flags.d.ts +186 -0
  977. package/dist/internal/cli/flags.d.ts.map +1 -0
  978. package/dist/internal/cli/flags.js +167 -0
  979. package/dist/internal/cli/help-command.d.ts +7 -0
  980. package/dist/internal/cli/help-command.d.ts.map +1 -0
  981. package/dist/internal/cli/help-command.js +60 -0
  982. package/dist/internal/cli/help.d.ts +63 -0
  983. package/dist/internal/cli/help.d.ts.map +1 -0
  984. package/dist/internal/cli/help.js +203 -0
  985. package/dist/internal/cli/io.d.ts +11 -0
  986. package/dist/internal/cli/io.d.ts.map +1 -0
  987. package/dist/internal/cli/io.js +33 -0
  988. package/dist/internal/cli/output.d.ts +54 -0
  989. package/dist/internal/cli/output.d.ts.map +1 -0
  990. package/dist/internal/cli/output.js +132 -0
  991. package/dist/internal/cli/value-kinds.d.ts +20 -0
  992. package/dist/internal/cli/value-kinds.d.ts.map +1 -0
  993. package/dist/internal/cli/value-kinds.js +70 -0
  994. package/dist/internal/cli-ax.d.ts +242 -0
  995. package/dist/internal/cli-ax.d.ts.map +1 -0
  996. package/dist/internal/cli-ax.js +1896 -0
  997. package/dist/internal/cli-bitbucket.d.ts +33 -0
  998. package/dist/internal/cli-bitbucket.d.ts.map +1 -0
  999. package/dist/internal/cli-bitbucket.js +332 -0
  1000. package/dist/internal/cli-convert-automation.d.ts +41 -0
  1001. package/dist/internal/cli-convert-automation.d.ts.map +1 -0
  1002. package/dist/internal/cli-convert-automation.js +289 -0
  1003. package/dist/internal/cli-cursor.d.ts +38 -0
  1004. package/dist/internal/cli-cursor.d.ts.map +1 -0
  1005. package/dist/internal/cli-cursor.js +209 -0
  1006. package/dist/internal/cli-deploy.d.ts +185 -0
  1007. package/dist/internal/cli-deploy.d.ts.map +1 -0
  1008. package/dist/internal/cli-deploy.js +1798 -0
  1009. package/dist/internal/cli-docs.d.ts +34 -0
  1010. package/dist/internal/cli-docs.d.ts.map +1 -0
  1011. package/dist/internal/cli-docs.js +157 -0
  1012. package/dist/internal/cli-github.d.ts +47 -0
  1013. package/dist/internal/cli-github.d.ts.map +1 -0
  1014. package/dist/internal/cli-github.js +601 -0
  1015. package/dist/internal/cli-gitlab.d.ts +37 -0
  1016. package/dist/internal/cli-gitlab.d.ts.map +1 -0
  1017. package/dist/internal/cli-gitlab.js +350 -0
  1018. package/dist/internal/cli-images.d.ts +68 -0
  1019. package/dist/internal/cli-images.d.ts.map +1 -0
  1020. package/dist/internal/cli-images.js +566 -0
  1021. package/dist/internal/cli-invocation.d.ts +22 -0
  1022. package/dist/internal/cli-invocation.d.ts.map +1 -0
  1023. package/dist/internal/cli-invocation.js +86 -0
  1024. package/dist/internal/cli-manifest.d.ts +22 -0
  1025. package/dist/internal/cli-manifest.d.ts.map +1 -0
  1026. package/dist/internal/cli-manifest.js +49 -0
  1027. package/dist/internal/cli-mcp-oauth.d.ts +47 -0
  1028. package/dist/internal/cli-mcp-oauth.d.ts.map +1 -0
  1029. package/dist/internal/cli-mcp-oauth.js +220 -0
  1030. package/dist/internal/cli-mcp.d.ts +64 -0
  1031. package/dist/internal/cli-mcp.d.ts.map +1 -0
  1032. package/dist/internal/cli-mcp.js +419 -0
  1033. package/dist/internal/cli-migrate.d.ts +20 -0
  1034. package/dist/internal/cli-migrate.d.ts.map +1 -0
  1035. package/dist/internal/cli-migrate.js +379 -0
  1036. package/dist/internal/cli-pagerduty.d.ts +32 -0
  1037. package/dist/internal/cli-pagerduty.d.ts.map +1 -0
  1038. package/dist/internal/cli-pagerduty.js +242 -0
  1039. package/dist/internal/cli-skills.d.ts +49 -0
  1040. package/dist/internal/cli-skills.d.ts.map +1 -0
  1041. package/dist/internal/cli-skills.js +125 -0
  1042. package/dist/internal/cli-slack-context.d.ts +91 -0
  1043. package/dist/internal/cli-slack-context.d.ts.map +1 -0
  1044. package/dist/internal/cli-slack-context.js +112 -0
  1045. package/dist/internal/cli-slack-manual.d.ts +43 -0
  1046. package/dist/internal/cli-slack-manual.d.ts.map +1 -0
  1047. package/dist/internal/cli-slack-manual.js +308 -0
  1048. package/dist/internal/cli-slack.d.ts +11 -0
  1049. package/dist/internal/cli-slack.d.ts.map +1 -0
  1050. package/dist/internal/cli-slack.js +588 -0
  1051. package/dist/internal/cloud-merge.d.ts +23 -0
  1052. package/dist/internal/cloud-merge.d.ts.map +1 -0
  1053. package/dist/internal/cloud-merge.js +35 -0
  1054. package/dist/internal/cloud-turn-usage.d.ts +34 -0
  1055. package/dist/internal/cloud-turn-usage.d.ts.map +1 -0
  1056. package/dist/internal/cloud-turn-usage.js +94 -0
  1057. package/dist/internal/comment-safe.d.ts +8 -0
  1058. package/dist/internal/comment-safe.d.ts.map +1 -0
  1059. package/dist/internal/comment-safe.js +12 -0
  1060. package/dist/internal/connection-env.d.ts +31 -0
  1061. package/dist/internal/connection-env.d.ts.map +1 -0
  1062. package/dist/internal/connection-env.js +83 -0
  1063. package/dist/internal/continuation-channel.d.ts +48 -0
  1064. package/dist/internal/continuation-channel.d.ts.map +1 -0
  1065. package/dist/internal/continuation-channel.js +158 -0
  1066. package/dist/internal/continuation-identity.d.ts +147 -0
  1067. package/dist/internal/continuation-identity.d.ts.map +1 -0
  1068. package/dist/internal/continuation-identity.js +1015 -0
  1069. package/dist/internal/continuation-registration.d.ts +26 -0
  1070. package/dist/internal/continuation-registration.d.ts.map +1 -0
  1071. package/dist/internal/continuation-registration.js +35 -0
  1072. package/dist/internal/continuation.d.ts +3 -0
  1073. package/dist/internal/continuation.d.ts.map +1 -0
  1074. package/dist/internal/continuation.js +1 -0
  1075. package/dist/internal/conversation-mirror.d.ts +72 -0
  1076. package/dist/internal/conversation-mirror.d.ts.map +1 -0
  1077. package/dist/internal/conversation-mirror.js +410 -0
  1078. package/dist/internal/conversation-pack.d.ts +29 -0
  1079. package/dist/internal/conversation-pack.d.ts.map +1 -0
  1080. package/dist/internal/conversation-pack.js +96 -0
  1081. package/dist/internal/convert-automation/convert-workflow.d.ts +10 -0
  1082. package/dist/internal/convert-automation/convert-workflow.d.ts.map +1 -0
  1083. package/dist/internal/convert-automation/convert-workflow.js +982 -0
  1084. package/dist/internal/convert-automation/types.d.ts +202 -0
  1085. package/dist/internal/convert-automation/types.d.ts.map +1 -0
  1086. package/dist/internal/convert-automation/types.js +13 -0
  1087. package/dist/internal/cron.d.ts +17 -0
  1088. package/dist/internal/cron.d.ts.map +1 -0
  1089. package/dist/internal/cron.js +60 -0
  1090. package/dist/internal/cursor/account-mcp.d.ts +135 -0
  1091. package/dist/internal/cursor/account-mcp.d.ts.map +1 -0
  1092. package/dist/internal/cursor/account-mcp.js +513 -0
  1093. package/dist/internal/cursor/backend-client.d.ts +229 -0
  1094. package/dist/internal/cursor/backend-client.d.ts.map +1 -0
  1095. package/dist/internal/cursor/backend-client.js +698 -0
  1096. package/dist/internal/cursor/bound-secret-file.d.ts +56 -0
  1097. package/dist/internal/cursor/bound-secret-file.d.ts.map +1 -0
  1098. package/dist/internal/cursor/bound-secret-file.js +89 -0
  1099. package/dist/internal/cursor/credentials.d.ts +183 -0
  1100. package/dist/internal/cursor/credentials.d.ts.map +1 -0
  1101. package/dist/internal/cursor/credentials.js +447 -0
  1102. package/dist/internal/cursor/cursor-api-transport.d.ts +37 -0
  1103. package/dist/internal/cursor/cursor-api-transport.d.ts.map +1 -0
  1104. package/dist/internal/cursor/cursor-api-transport.js +40 -0
  1105. package/dist/internal/cursor/github-credentials.d.ts +44 -0
  1106. package/dist/internal/cursor/github-credentials.d.ts.map +1 -0
  1107. package/dist/internal/cursor/github-credentials.js +174 -0
  1108. package/dist/internal/cursor/hosted-bound-secrets.d.ts +45 -0
  1109. package/dist/internal/cursor/hosted-bound-secrets.d.ts.map +1 -0
  1110. package/dist/internal/cursor/hosted-bound-secrets.js +64 -0
  1111. package/dist/internal/cursor/hosted-deployment-secrets.d.ts +30 -0
  1112. package/dist/internal/cursor/hosted-deployment-secrets.d.ts.map +1 -0
  1113. package/dist/internal/cursor/hosted-deployment-secrets.js +97 -0
  1114. package/dist/internal/cursor/hosted-store-secrets.d.ts +39 -0
  1115. package/dist/internal/cursor/hosted-store-secrets.d.ts.map +1 -0
  1116. package/dist/internal/cursor/hosted-store-secrets.js +84 -0
  1117. package/dist/internal/cursor/session-token.d.ts +45 -0
  1118. package/dist/internal/cursor/session-token.d.ts.map +1 -0
  1119. package/dist/internal/cursor/session-token.js +84 -0
  1120. package/dist/internal/cursor/store-api-client.d.ts +60 -0
  1121. package/dist/internal/cursor/store-api-client.d.ts.map +1 -0
  1122. package/dist/internal/cursor/store-api-client.js +190 -0
  1123. package/dist/internal/cursor-account-mcp-auth.d.ts +70 -0
  1124. package/dist/internal/cursor-account-mcp-auth.d.ts.map +1 -0
  1125. package/dist/internal/cursor-account-mcp-auth.js +233 -0
  1126. package/dist/internal/cursor-agent-template.d.ts +9 -0
  1127. package/dist/internal/cursor-agent-template.d.ts.map +1 -0
  1128. package/dist/internal/cursor-agent-template.js +43 -0
  1129. package/dist/internal/cursor-deployment-relay.d.ts +95 -0
  1130. package/dist/internal/cursor-deployment-relay.d.ts.map +1 -0
  1131. package/dist/internal/cursor-deployment-relay.js +234 -0
  1132. package/dist/internal/cursor-event-relay.d.ts +243 -0
  1133. package/dist/internal/cursor-event-relay.d.ts.map +1 -0
  1134. package/dist/internal/cursor-event-relay.js +454 -0
  1135. package/dist/internal/cursor-relay-core.d.ts +160 -0
  1136. package/dist/internal/cursor-relay-core.d.ts.map +1 -0
  1137. package/dist/internal/cursor-relay-core.js +461 -0
  1138. package/dist/internal/deferred-channel-session.d.ts +21 -0
  1139. package/dist/internal/deferred-channel-session.d.ts.map +1 -0
  1140. package/dist/internal/deferred-channel-session.js +55 -0
  1141. package/dist/internal/deploy-client.d.ts +614 -0
  1142. package/dist/internal/deploy-client.d.ts.map +1 -0
  1143. package/dist/internal/deploy-client.js +974 -0
  1144. package/dist/internal/deploy-manifest.d.ts +179 -0
  1145. package/dist/internal/deploy-manifest.d.ts.map +1 -0
  1146. package/dist/internal/deploy-manifest.js +320 -0
  1147. package/dist/internal/deploy-source.d.ts +38 -0
  1148. package/dist/internal/deploy-source.d.ts.map +1 -0
  1149. package/dist/internal/deploy-source.js +124 -0
  1150. package/dist/internal/describe-error.d.ts +10 -0
  1151. package/dist/internal/describe-error.d.ts.map +1 -0
  1152. package/dist/internal/describe-error.js +51 -0
  1153. package/dist/internal/dev-mode.d.ts +13 -0
  1154. package/dist/internal/dev-mode.d.ts.map +1 -0
  1155. package/dist/internal/dev-mode.js +17 -0
  1156. package/dist/internal/discovery/agent-config.d.ts +51 -0
  1157. package/dist/internal/discovery/agent-config.d.ts.map +1 -0
  1158. package/dist/internal/discovery/agent-config.js +224 -0
  1159. package/dist/internal/discovery/agent.d.ts +16 -0
  1160. package/dist/internal/discovery/agent.d.ts.map +1 -0
  1161. package/dist/internal/discovery/agent.js +341 -0
  1162. package/dist/internal/discovery/channels.d.ts +10 -0
  1163. package/dist/internal/discovery/channels.d.ts.map +1 -0
  1164. package/dist/internal/discovery/channels.js +90 -0
  1165. package/dist/internal/discovery/connections.d.ts +13 -0
  1166. package/dist/internal/discovery/connections.d.ts.map +1 -0
  1167. package/dist/internal/discovery/connections.js +432 -0
  1168. package/dist/internal/discovery/context.d.ts +36 -0
  1169. package/dist/internal/discovery/context.d.ts.map +1 -0
  1170. package/dist/internal/discovery/context.js +89 -0
  1171. package/dist/internal/discovery/cursor-plugin.d.ts +25 -0
  1172. package/dist/internal/discovery/cursor-plugin.d.ts.map +1 -0
  1173. package/dist/internal/discovery/cursor-plugin.js +513 -0
  1174. package/dist/internal/discovery/extension-overlay.d.ts +31 -0
  1175. package/dist/internal/discovery/extension-overlay.d.ts.map +1 -0
  1176. package/dist/internal/discovery/extension-overlay.js +143 -0
  1177. package/dist/internal/discovery/extensions.d.ts +28 -0
  1178. package/dist/internal/discovery/extensions.d.ts.map +1 -0
  1179. package/dist/internal/discovery/extensions.js +383 -0
  1180. package/dist/internal/discovery/fs.d.ts +15 -0
  1181. package/dist/internal/discovery/fs.d.ts.map +1 -0
  1182. package/dist/internal/discovery/fs.js +93 -0
  1183. package/dist/internal/discovery/hooks.d.ts +7 -0
  1184. package/dist/internal/discovery/hooks.d.ts.map +1 -0
  1185. package/dist/internal/discovery/hooks.js +51 -0
  1186. package/dist/internal/discovery/info.d.ts +6 -0
  1187. package/dist/internal/discovery/info.d.ts.map +1 -0
  1188. package/dist/internal/discovery/info.js +163 -0
  1189. package/dist/internal/discovery/instructions.d.ts +7 -0
  1190. package/dist/internal/discovery/instructions.d.ts.map +1 -0
  1191. package/dist/internal/discovery/instructions.js +82 -0
  1192. package/dist/internal/discovery/instrumentation.d.ts +10 -0
  1193. package/dist/internal/discovery/instrumentation.d.ts.map +1 -0
  1194. package/dist/internal/discovery/instrumentation.js +29 -0
  1195. package/dist/internal/discovery/modules.d.ts +20 -0
  1196. package/dist/internal/discovery/modules.d.ts.map +1 -0
  1197. package/dist/internal/discovery/modules.js +91 -0
  1198. package/dist/internal/discovery/names.d.ts +14 -0
  1199. package/dist/internal/discovery/names.d.ts.map +1 -0
  1200. package/dist/internal/discovery/names.js +39 -0
  1201. package/dist/internal/discovery/project-public.d.ts +16 -0
  1202. package/dist/internal/discovery/project-public.d.ts.map +1 -0
  1203. package/dist/internal/discovery/project-public.js +54 -0
  1204. package/dist/internal/discovery/project.d.ts +57 -0
  1205. package/dist/internal/discovery/project.d.ts.map +1 -0
  1206. package/dist/internal/discovery/project.js +298 -0
  1207. package/dist/internal/discovery/reminders.d.ts +7 -0
  1208. package/dist/internal/discovery/reminders.d.ts.map +1 -0
  1209. package/dist/internal/discovery/reminders.js +55 -0
  1210. package/dist/internal/discovery/runtime.d.ts +18 -0
  1211. package/dist/internal/discovery/runtime.d.ts.map +1 -0
  1212. package/dist/internal/discovery/runtime.js +52 -0
  1213. package/dist/internal/discovery/schedules.d.ts +7 -0
  1214. package/dist/internal/discovery/schedules.d.ts.map +1 -0
  1215. package/dist/internal/discovery/schedules.js +108 -0
  1216. package/dist/internal/discovery/seed-files.d.ts +7 -0
  1217. package/dist/internal/discovery/seed-files.d.ts.map +1 -0
  1218. package/dist/internal/discovery/seed-files.js +30 -0
  1219. package/dist/internal/discovery/services.d.ts +27 -0
  1220. package/dist/internal/discovery/services.d.ts.map +1 -0
  1221. package/dist/internal/discovery/services.js +124 -0
  1222. package/dist/internal/discovery/skills.d.ts +11 -0
  1223. package/dist/internal/discovery/skills.d.ts.map +1 -0
  1224. package/dist/internal/discovery/skills.js +140 -0
  1225. package/dist/internal/discovery/subagent.d.ts +16 -0
  1226. package/dist/internal/discovery/subagent.d.ts.map +1 -0
  1227. package/dist/internal/discovery/subagent.js +113 -0
  1228. package/dist/internal/discovery/tools.d.ts +18 -0
  1229. package/dist/internal/discovery/tools.d.ts.map +1 -0
  1230. package/dist/internal/discovery/tools.js +146 -0
  1231. package/dist/internal/discovery.d.ts +15 -0
  1232. package/dist/internal/discovery.d.ts.map +1 -0
  1233. package/dist/internal/discovery.js +13 -0
  1234. package/dist/internal/distribution.d.ts +60 -0
  1235. package/dist/internal/distribution.d.ts.map +1 -0
  1236. package/dist/internal/distribution.js +138 -0
  1237. package/dist/internal/docs-site.d.ts +38 -0
  1238. package/dist/internal/docs-site.d.ts.map +1 -0
  1239. package/dist/internal/docs-site.js +229 -0
  1240. package/dist/internal/dry-run.d.ts +32 -0
  1241. package/dist/internal/dry-run.d.ts.map +1 -0
  1242. package/dist/internal/dry-run.js +62 -0
  1243. package/dist/internal/duration.d.ts +8 -0
  1244. package/dist/internal/duration.d.ts.map +1 -0
  1245. package/dist/internal/duration.js +36 -0
  1246. package/dist/internal/env-file.d.ts +19 -0
  1247. package/dist/internal/env-file.d.ts.map +1 -0
  1248. package/dist/internal/env-file.js +74 -0
  1249. package/dist/internal/estimate-cost.d.ts +55 -0
  1250. package/dist/internal/estimate-cost.d.ts.map +1 -0
  1251. package/dist/internal/estimate-cost.js +125 -0
  1252. package/dist/internal/eval-judge-model.d.ts +64 -0
  1253. package/dist/internal/eval-judge-model.d.ts.map +1 -0
  1254. package/dist/internal/eval-judge-model.js +129 -0
  1255. package/dist/internal/eval-run-store.d.ts +119 -0
  1256. package/dist/internal/eval-run-store.d.ts.map +1 -0
  1257. package/dist/internal/eval-run-store.js +480 -0
  1258. package/dist/internal/eval-runner.d.ts +104 -0
  1259. package/dist/internal/eval-runner.d.ts.map +1 -0
  1260. package/dist/internal/eval-runner.js +616 -0
  1261. package/dist/internal/eval-transport.d.ts +24 -0
  1262. package/dist/internal/eval-transport.d.ts.map +1 -0
  1263. package/dist/internal/eval-transport.js +22 -0
  1264. package/dist/internal/evals-client.d.ts +104 -0
  1265. package/dist/internal/evals-client.d.ts.map +1 -0
  1266. package/dist/internal/evals-client.js +344 -0
  1267. package/dist/internal/event-log.d.ts +94 -0
  1268. package/dist/internal/event-log.d.ts.map +1 -0
  1269. package/dist/internal/event-log.js +294 -0
  1270. package/dist/internal/event-mapper.d.ts +165 -0
  1271. package/dist/internal/event-mapper.d.ts.map +1 -0
  1272. package/dist/internal/event-mapper.js +683 -0
  1273. package/dist/internal/expected-delivery-failure.d.ts +3 -0
  1274. package/dist/internal/expected-delivery-failure.d.ts.map +1 -0
  1275. package/dist/internal/expected-delivery-failure.js +35 -0
  1276. package/dist/internal/fetch-text.d.ts +8 -0
  1277. package/dist/internal/fetch-text.d.ts.map +1 -0
  1278. package/dist/internal/fetch-text.js +32 -0
  1279. package/dist/internal/filesystem/errors.d.ts +64 -0
  1280. package/dist/internal/filesystem/errors.d.ts.map +1 -0
  1281. package/dist/internal/filesystem/errors.js +180 -0
  1282. package/dist/internal/filesystem/format.d.ts +28 -0
  1283. package/dist/internal/filesystem/format.d.ts.map +1 -0
  1284. package/dist/internal/filesystem/format.js +209 -0
  1285. package/dist/internal/filesystem/merge.d.ts +34 -0
  1286. package/dist/internal/filesystem/merge.d.ts.map +1 -0
  1287. package/dist/internal/filesystem/merge.js +154 -0
  1288. package/dist/internal/filesystem/nearest.d.ts +15 -0
  1289. package/dist/internal/filesystem/nearest.d.ts.map +1 -0
  1290. package/dist/internal/filesystem/nearest.js +90 -0
  1291. package/dist/internal/filesystem/scratch.d.ts +60 -0
  1292. package/dist/internal/filesystem/scratch.d.ts.map +1 -0
  1293. package/dist/internal/filesystem/scratch.js +187 -0
  1294. package/dist/internal/filesystem/sdk-schemas.d.ts +29 -0
  1295. package/dist/internal/filesystem/sdk-schemas.d.ts.map +1 -0
  1296. package/dist/internal/filesystem/sdk-schemas.js +148 -0
  1297. package/dist/internal/filesystem/subagent-inherit.d.ts +39 -0
  1298. package/dist/internal/filesystem/subagent-inherit.d.ts.map +1 -0
  1299. package/dist/internal/filesystem/subagent-inherit.js +96 -0
  1300. package/dist/internal/filesystem/tools.d.ts +59 -0
  1301. package/dist/internal/filesystem/tools.d.ts.map +1 -0
  1302. package/dist/internal/filesystem/tools.js +634 -0
  1303. package/dist/internal/filesystem/walk.d.ts +77 -0
  1304. package/dist/internal/filesystem/walk.d.ts.map +1 -0
  1305. package/dist/internal/filesystem/walk.js +287 -0
  1306. package/dist/internal/framework-file-storage.d.ts +51 -0
  1307. package/dist/internal/framework-file-storage.d.ts.map +1 -0
  1308. package/dist/internal/framework-file-storage.js +292 -0
  1309. package/dist/internal/framework-storage-selection.d.ts +30 -0
  1310. package/dist/internal/framework-storage-selection.d.ts.map +1 -0
  1311. package/dist/internal/framework-storage-selection.js +84 -0
  1312. package/dist/internal/frontmatter.d.ts +20 -0
  1313. package/dist/internal/frontmatter.d.ts.map +1 -0
  1314. package/dist/internal/frontmatter.js +89 -0
  1315. package/dist/internal/github-fanout.d.ts +32 -0
  1316. package/dist/internal/github-fanout.d.ts.map +1 -0
  1317. package/dist/internal/github-fanout.js +107 -0
  1318. package/dist/internal/guest-network.d.ts +98 -0
  1319. package/dist/internal/guest-network.d.ts.map +1 -0
  1320. package/dist/internal/guest-network.js +319 -0
  1321. package/dist/internal/handleAgentServeTrigger.d.ts +106 -0
  1322. package/dist/internal/handleAgentServeTrigger.d.ts.map +1 -0
  1323. package/dist/internal/handleAgentServeTrigger.js +220 -0
  1324. package/dist/internal/hmac-secret-values.d.ts +48 -0
  1325. package/dist/internal/hmac-secret-values.d.ts.map +1 -0
  1326. package/dist/internal/hmac-secret-values.js +68 -0
  1327. package/dist/internal/host-files.d.ts +29 -0
  1328. package/dist/internal/host-files.d.ts.map +1 -0
  1329. package/dist/internal/host-files.js +256 -0
  1330. package/dist/internal/host-kv.d.ts +21 -0
  1331. package/dist/internal/host-kv.d.ts.map +1 -0
  1332. package/dist/internal/host-kv.js +64 -0
  1333. package/dist/internal/host-otel.d.ts +26 -0
  1334. package/dist/internal/host-otel.d.ts.map +1 -0
  1335. package/dist/internal/host-otel.js +178 -0
  1336. package/dist/internal/host-platforms.d.ts +58 -0
  1337. package/dist/internal/host-platforms.d.ts.map +1 -0
  1338. package/dist/internal/host-platforms.js +125 -0
  1339. package/dist/internal/hosted-admission-adapter.d.ts +36 -0
  1340. package/dist/internal/hosted-admission-adapter.d.ts.map +1 -0
  1341. package/dist/internal/hosted-admission-adapter.js +7 -0
  1342. package/dist/internal/hosted-admission-context.d.ts +20 -0
  1343. package/dist/internal/hosted-admission-context.d.ts.map +1 -0
  1344. package/dist/internal/hosted-admission-context.js +31 -0
  1345. package/dist/internal/hosted-catch-protocol.d.ts +54 -0
  1346. package/dist/internal/hosted-catch-protocol.d.ts.map +1 -0
  1347. package/dist/internal/hosted-catch-protocol.js +107 -0
  1348. package/dist/internal/hosted-catch.d.ts +45 -0
  1349. package/dist/internal/hosted-catch.d.ts.map +1 -0
  1350. package/dist/internal/hosted-catch.js +166 -0
  1351. package/dist/internal/hosted-delivery-protocol.d.ts +275 -0
  1352. package/dist/internal/hosted-delivery-protocol.d.ts.map +1 -0
  1353. package/dist/internal/hosted-delivery-protocol.js +738 -0
  1354. package/dist/internal/hosted-delivery.d.ts +134 -0
  1355. package/dist/internal/hosted-delivery.d.ts.map +1 -0
  1356. package/dist/internal/hosted-delivery.js +1093 -0
  1357. package/dist/internal/hosted-eval-cases.d.ts +21 -0
  1358. package/dist/internal/hosted-eval-cases.d.ts.map +1 -0
  1359. package/dist/internal/hosted-eval-cases.js +162 -0
  1360. package/dist/internal/hosted-execution-diag.d.ts +64 -0
  1361. package/dist/internal/hosted-execution-diag.d.ts.map +1 -0
  1362. package/dist/internal/hosted-execution-diag.js +217 -0
  1363. package/dist/internal/hosted-execution-flush.d.ts +65 -0
  1364. package/dist/internal/hosted-execution-flush.d.ts.map +1 -0
  1365. package/dist/internal/hosted-execution-flush.js +113 -0
  1366. package/dist/internal/hosted-execution-latency.d.ts +80 -0
  1367. package/dist/internal/hosted-execution-latency.d.ts.map +1 -0
  1368. package/dist/internal/hosted-execution-latency.js +237 -0
  1369. package/dist/internal/hosted-hints.d.ts +16 -0
  1370. package/dist/internal/hosted-hints.d.ts.map +1 -0
  1371. package/dist/internal/hosted-hints.js +23 -0
  1372. package/dist/internal/hosted-managed-automation.d.ts +30 -0
  1373. package/dist/internal/hosted-managed-automation.d.ts.map +1 -0
  1374. package/dist/internal/hosted-managed-automation.js +84 -0
  1375. package/dist/internal/hosted-session-fixture.d.ts +26 -0
  1376. package/dist/internal/hosted-session-fixture.d.ts.map +1 -0
  1377. package/dist/internal/hosted-session-fixture.js +34 -0
  1378. package/dist/internal/hosted-session-view.d.ts +48 -0
  1379. package/dist/internal/hosted-session-view.d.ts.map +1 -0
  1380. package/dist/internal/hosted-session-view.js +305 -0
  1381. package/dist/internal/hosting.d.ts +62 -0
  1382. package/dist/internal/hosting.d.ts.map +1 -0
  1383. package/dist/internal/hosting.js +130 -0
  1384. package/dist/internal/http-channel-define.d.ts +11 -0
  1385. package/dist/internal/http-channel-define.d.ts.map +1 -0
  1386. package/dist/internal/http-channel-define.js +21 -0
  1387. package/dist/internal/http-channel.d.ts +54 -0
  1388. package/dist/internal/http-channel.d.ts.map +1 -0
  1389. package/dist/internal/http-channel.js +546 -0
  1390. package/dist/internal/http-control-plane-session.d.ts +54 -0
  1391. package/dist/internal/http-control-plane-session.d.ts.map +1 -0
  1392. package/dist/internal/http-control-plane-session.js +162 -0
  1393. package/dist/internal/ids.d.ts +27 -0
  1394. package/dist/internal/ids.d.ts.map +1 -0
  1395. package/dist/internal/ids.js +54 -0
  1396. package/dist/internal/incoming-headers-to-fetch.d.ts +10 -0
  1397. package/dist/internal/incoming-headers-to-fetch.d.ts.map +1 -0
  1398. package/dist/internal/incoming-headers-to-fetch.js +40 -0
  1399. package/dist/internal/init-interview.d.ts +64 -0
  1400. package/dist/internal/init-interview.d.ts.map +1 -0
  1401. package/dist/internal/init-interview.js +193 -0
  1402. package/dist/internal/init-project.d.ts +182 -0
  1403. package/dist/internal/init-project.d.ts.map +1 -0
  1404. package/dist/internal/init-project.js +482 -0
  1405. package/dist/internal/init-scaffold.d.ts +20 -0
  1406. package/dist/internal/init-scaffold.d.ts.map +1 -0
  1407. package/dist/internal/init-scaffold.js +194 -0
  1408. package/dist/internal/inline-stdio-define-stub.d.ts +3 -0
  1409. package/dist/internal/inline-stdio-define-stub.d.ts.map +1 -0
  1410. package/dist/internal/inline-stdio-define-stub.js +4 -0
  1411. package/dist/internal/inline-stdio-mcp.d.ts +34 -0
  1412. package/dist/internal/inline-stdio-mcp.d.ts.map +1 -0
  1413. package/dist/internal/inline-stdio-mcp.js +193 -0
  1414. package/dist/internal/install-cursor-skills.d.ts +167 -0
  1415. package/dist/internal/install-cursor-skills.d.ts.map +1 -0
  1416. package/dist/internal/install-cursor-skills.js +499 -0
  1417. package/dist/internal/interview/agent-questions.d.ts +19 -0
  1418. package/dist/internal/interview/agent-questions.d.ts.map +1 -0
  1419. package/dist/internal/interview/agent-questions.js +123 -0
  1420. package/dist/internal/interview/question.d.ts +82 -0
  1421. package/dist/internal/interview/question.d.ts.map +1 -0
  1422. package/dist/internal/interview/question.js +198 -0
  1423. package/dist/internal/is-record.d.ts +2 -0
  1424. package/dist/internal/is-record.d.ts.map +1 -0
  1425. package/dist/internal/is-record.js +3 -0
  1426. package/dist/internal/json-schema.d.ts +26 -0
  1427. package/dist/internal/json-schema.d.ts.map +1 -0
  1428. package/dist/internal/json-schema.js +149 -0
  1429. package/dist/internal/json-value.d.ts +20 -0
  1430. package/dist/internal/json-value.d.ts.map +1 -0
  1431. package/dist/internal/json-value.js +56 -0
  1432. package/dist/internal/listen-port.d.ts +22 -0
  1433. package/dist/internal/listen-port.d.ts.map +1 -0
  1434. package/dist/internal/listen-port.js +66 -0
  1435. package/dist/internal/local-control-plane.d.ts +59 -0
  1436. package/dist/internal/local-control-plane.d.ts.map +1 -0
  1437. package/dist/internal/local-control-plane.js +341 -0
  1438. package/dist/internal/local-env.d.ts +10 -0
  1439. package/dist/internal/local-env.d.ts.map +1 -0
  1440. package/dist/internal/local-env.js +55 -0
  1441. package/dist/internal/local-ingress.d.ts +35 -0
  1442. package/dist/internal/local-ingress.d.ts.map +1 -0
  1443. package/dist/internal/local-ingress.js +50 -0
  1444. package/dist/internal/log-ring.d.ts +23 -0
  1445. package/dist/internal/log-ring.d.ts.map +1 -0
  1446. package/dist/internal/log-ring.js +41 -0
  1447. package/dist/internal/logs-client.d.ts +77 -0
  1448. package/dist/internal/logs-client.d.ts.map +1 -0
  1449. package/dist/internal/logs-client.js +261 -0
  1450. package/dist/internal/map-pool.d.ts +11 -0
  1451. package/dist/internal/map-pool.d.ts.map +1 -0
  1452. package/dist/internal/map-pool.js +34 -0
  1453. package/dist/internal/mcp-endpoint.d.ts +84 -0
  1454. package/dist/internal/mcp-endpoint.d.ts.map +1 -0
  1455. package/dist/internal/mcp-endpoint.js +567 -0
  1456. package/dist/internal/mcp-host.d.ts +99 -0
  1457. package/dist/internal/mcp-host.d.ts.map +1 -0
  1458. package/dist/internal/mcp-host.js +435 -0
  1459. package/dist/internal/mcp-oauth-on-demand.d.ts +68 -0
  1460. package/dist/internal/mcp-oauth-on-demand.d.ts.map +1 -0
  1461. package/dist/internal/mcp-oauth-on-demand.js +250 -0
  1462. package/dist/internal/mcp-oauth-persist.d.ts +42 -0
  1463. package/dist/internal/mcp-oauth-persist.d.ts.map +1 -0
  1464. package/dist/internal/mcp-oauth-persist.js +76 -0
  1465. package/dist/internal/mcp-oauth.d.ts +118 -0
  1466. package/dist/internal/mcp-oauth.d.ts.map +1 -0
  1467. package/dist/internal/mcp-oauth.js +446 -0
  1468. package/dist/internal/memory-dir.d.ts +8 -0
  1469. package/dist/internal/memory-dir.d.ts.map +1 -0
  1470. package/dist/internal/memory-dir.js +7 -0
  1471. package/dist/internal/model-config.d.ts +7 -0
  1472. package/dist/internal/model-config.d.ts.map +1 -0
  1473. package/dist/internal/model-config.js +67 -0
  1474. package/dist/internal/named-webhook-secret.d.ts +51 -0
  1475. package/dist/internal/named-webhook-secret.d.ts.map +1 -0
  1476. package/dist/internal/named-webhook-secret.js +65 -0
  1477. package/dist/internal/net.d.ts +5 -0
  1478. package/dist/internal/net.d.ts.map +1 -0
  1479. package/dist/internal/net.js +28 -0
  1480. package/dist/internal/open-browser.d.ts +5 -0
  1481. package/dist/internal/open-browser.d.ts.map +1 -0
  1482. package/dist/internal/open-browser.js +33 -0
  1483. package/dist/internal/otel/attrs.d.ts +7 -0
  1484. package/dist/internal/otel/attrs.d.ts.map +1 -0
  1485. package/dist/internal/otel/attrs.js +13 -0
  1486. package/dist/internal/otel/bind-telemetry.d.ts +26 -0
  1487. package/dist/internal/otel/bind-telemetry.d.ts.map +1 -0
  1488. package/dist/internal/otel/bind-telemetry.js +36 -0
  1489. package/dist/internal/otel/collector.d.ts +50 -0
  1490. package/dist/internal/otel/collector.d.ts.map +1 -0
  1491. package/dist/internal/otel/collector.js +817 -0
  1492. package/dist/internal/otel/computer-use-attrs.d.ts +18 -0
  1493. package/dist/internal/otel/computer-use-attrs.d.ts.map +1 -0
  1494. package/dist/internal/otel/computer-use-attrs.js +30 -0
  1495. package/dist/internal/otel/config.d.ts +59 -0
  1496. package/dist/internal/otel/config.d.ts.map +1 -0
  1497. package/dist/internal/otel/config.js +237 -0
  1498. package/dist/internal/otel/conversation-span-processor.d.ts +9 -0
  1499. package/dist/internal/otel/conversation-span-processor.d.ts.map +1 -0
  1500. package/dist/internal/otel/conversation-span-processor.js +37 -0
  1501. package/dist/internal/otel/customer.d.ts +48 -0
  1502. package/dist/internal/otel/customer.d.ts.map +1 -0
  1503. package/dist/internal/otel/customer.js +749 -0
  1504. package/dist/internal/otel/http.d.ts +13 -0
  1505. package/dist/internal/otel/http.d.ts.map +1 -0
  1506. package/dist/internal/otel/http.js +95 -0
  1507. package/dist/internal/otel/mcp.d.ts +16 -0
  1508. package/dist/internal/otel/mcp.d.ts.map +1 -0
  1509. package/dist/internal/otel/mcp.js +46 -0
  1510. package/dist/internal/otel/propagation.d.ts +7 -0
  1511. package/dist/internal/otel/propagation.d.ts.map +1 -0
  1512. package/dist/internal/otel/propagation.js +15 -0
  1513. package/dist/internal/otel/reserved-attributes.d.ts +8 -0
  1514. package/dist/internal/otel/reserved-attributes.d.ts.map +1 -0
  1515. package/dist/internal/otel/reserved-attributes.js +24 -0
  1516. package/dist/internal/otel/runtime.d.ts +41 -0
  1517. package/dist/internal/otel/runtime.d.ts.map +1 -0
  1518. package/dist/internal/otel/runtime.js +99 -0
  1519. package/dist/internal/otel/session-telemetry.d.ts +22 -0
  1520. package/dist/internal/otel/session-telemetry.d.ts.map +1 -0
  1521. package/dist/internal/otel/session-telemetry.js +30 -0
  1522. package/dist/internal/otel/telemetry-attributes.d.ts +7 -0
  1523. package/dist/internal/otel/telemetry-attributes.d.ts.map +1 -0
  1524. package/dist/internal/otel/telemetry-attributes.js +35 -0
  1525. package/dist/internal/otel/telemetry-processor.d.ts +7 -0
  1526. package/dist/internal/otel/telemetry-processor.d.ts.map +1 -0
  1527. package/dist/internal/otel/telemetry-processor.js +47 -0
  1528. package/dist/internal/otel/tool-error-class.d.ts +4 -0
  1529. package/dist/internal/otel/tool-error-class.d.ts.map +1 -0
  1530. package/dist/internal/otel/tool-error-class.js +40 -0
  1531. package/dist/internal/otel-env.d.ts +6 -0
  1532. package/dist/internal/otel-env.d.ts.map +1 -0
  1533. package/dist/internal/otel-env.js +5 -0
  1534. package/dist/internal/package-inline-stdio.d.ts +12 -0
  1535. package/dist/internal/package-inline-stdio.d.ts.map +1 -0
  1536. package/dist/internal/package-inline-stdio.js +107 -0
  1537. package/dist/internal/peer-connections.d.ts +63 -0
  1538. package/dist/internal/peer-connections.d.ts.map +1 -0
  1539. package/dist/internal/peer-connections.js +115 -0
  1540. package/dist/internal/persistent-stage-log-mirror.d.ts +57 -0
  1541. package/dist/internal/persistent-stage-log-mirror.d.ts.map +1 -0
  1542. package/dist/internal/persistent-stage-log-mirror.js +228 -0
  1543. package/dist/internal/platform-schedule-sync.d.ts +17 -0
  1544. package/dist/internal/platform-schedule-sync.d.ts.map +1 -0
  1545. package/dist/internal/platform-schedule-sync.js +55 -0
  1546. package/dist/internal/platform-timers.d.ts +42 -0
  1547. package/dist/internal/platform-timers.d.ts.map +1 -0
  1548. package/dist/internal/platform-timers.js +282 -0
  1549. package/dist/internal/playground/static.d.ts +52 -0
  1550. package/dist/internal/playground/static.d.ts.map +1 -0
  1551. package/dist/internal/playground/static.js +230 -0
  1552. package/dist/internal/playground/toolchain.d.ts +57 -0
  1553. package/dist/internal/playground/toolchain.d.ts.map +1 -0
  1554. package/dist/internal/playground/toolchain.js +226 -0
  1555. package/dist/internal/playground-proxy.d.ts +48 -0
  1556. package/dist/internal/playground-proxy.d.ts.map +1 -0
  1557. package/dist/internal/playground-proxy.js +376 -0
  1558. package/dist/internal/private-file.d.ts +2 -0
  1559. package/dist/internal/private-file.d.ts.map +1 -0
  1560. package/dist/internal/private-file.js +8 -0
  1561. package/dist/internal/process-memory-telemetry.d.ts +89 -0
  1562. package/dist/internal/process-memory-telemetry.d.ts.map +1 -0
  1563. package/dist/internal/process-memory-telemetry.js +226 -0
  1564. package/dist/internal/project-layout.d.ts +7 -0
  1565. package/dist/internal/project-layout.d.ts.map +1 -0
  1566. package/dist/internal/project-layout.js +24 -0
  1567. package/dist/internal/prompt-context.d.ts +38 -0
  1568. package/dist/internal/prompt-context.d.ts.map +1 -0
  1569. package/dist/internal/prompt-context.js +86 -0
  1570. package/dist/internal/reminder-control-plane-protocol.d.ts +196 -0
  1571. package/dist/internal/reminder-control-plane-protocol.d.ts.map +1 -0
  1572. package/dist/internal/reminder-control-plane-protocol.js +281 -0
  1573. package/dist/internal/reminder-runner.d.ts +223 -0
  1574. package/dist/internal/reminder-runner.d.ts.map +1 -0
  1575. package/dist/internal/reminder-runner.js +1228 -0
  1576. package/dist/internal/reminder-schedule.d.ts +26 -0
  1577. package/dist/internal/reminder-schedule.d.ts.map +1 -0
  1578. package/dist/internal/reminder-schedule.js +83 -0
  1579. package/dist/internal/reminder-store.d.ts +78 -0
  1580. package/dist/internal/reminder-store.d.ts.map +1 -0
  1581. package/dist/internal/reminder-store.js +100 -0
  1582. package/dist/internal/request-error-status.d.ts +14 -0
  1583. package/dist/internal/request-error-status.d.ts.map +1 -0
  1584. package/dist/internal/request-error-status.js +77 -0
  1585. package/dist/internal/request-headers.d.ts +11 -0
  1586. package/dist/internal/request-headers.d.ts.map +1 -0
  1587. package/dist/internal/request-headers.js +14 -0
  1588. package/dist/internal/resolve-prod-target.d.ts +20 -0
  1589. package/dist/internal/resolve-prod-target.d.ts.map +1 -0
  1590. package/dist/internal/resolve-prod-target.js +48 -0
  1591. package/dist/internal/resolved-connections.d.ts +65 -0
  1592. package/dist/internal/resolved-connections.d.ts.map +1 -0
  1593. package/dist/internal/resolved-connections.js +108 -0
  1594. package/dist/internal/resource-channel.d.ts +33 -0
  1595. package/dist/internal/resource-channel.d.ts.map +1 -0
  1596. package/dist/internal/resource-channel.js +65 -0
  1597. package/dist/internal/router.d.ts +33 -0
  1598. package/dist/internal/router.d.ts.map +1 -0
  1599. package/dist/internal/router.js +93 -0
  1600. package/dist/internal/run-client.d.ts +78 -0
  1601. package/dist/internal/run-client.d.ts.map +1 -0
  1602. package/dist/internal/run-client.js +372 -0
  1603. package/dist/internal/sanitize-mcp-tool-name.d.ts +20 -0
  1604. package/dist/internal/sanitize-mcp-tool-name.d.ts.map +1 -0
  1605. package/dist/internal/sanitize-mcp-tool-name.js +28 -0
  1606. package/dist/internal/schedule-runner.d.ts +42 -0
  1607. package/dist/internal/schedule-runner.d.ts.map +1 -0
  1608. package/dist/internal/schedule-runner.js +157 -0
  1609. package/dist/internal/scm/pr-url.d.ts +56 -0
  1610. package/dist/internal/scm/pr-url.d.ts.map +1 -0
  1611. package/dist/internal/scm/pr-url.js +153 -0
  1612. package/dist/internal/sdk-runner.d.ts +204 -0
  1613. package/dist/internal/sdk-runner.d.ts.map +1 -0
  1614. package/dist/internal/sdk-runner.js +1009 -0
  1615. package/dist/internal/sdk-subagent-inherit-support.d.ts +9 -0
  1616. package/dist/internal/sdk-subagent-inherit-support.d.ts.map +1 -0
  1617. package/dist/internal/sdk-subagent-inherit-support.js +90 -0
  1618. package/dist/internal/secret-alternatives.d.ts +11 -0
  1619. package/dist/internal/secret-alternatives.d.ts.map +1 -0
  1620. package/dist/internal/secret-alternatives.js +13 -0
  1621. package/dist/internal/serve-restart.d.ts +45 -0
  1622. package/dist/internal/serve-restart.d.ts.map +1 -0
  1623. package/dist/internal/serve-restart.js +76 -0
  1624. package/dist/internal/server.d.ts +49 -0
  1625. package/dist/internal/server.d.ts.map +1 -0
  1626. package/dist/internal/server.js +2573 -0
  1627. package/dist/internal/session-cost.d.ts +49 -0
  1628. package/dist/internal/session-cost.d.ts.map +1 -0
  1629. package/dist/internal/session-cost.js +147 -0
  1630. package/dist/internal/session-engine.d.ts +969 -0
  1631. package/dist/internal/session-engine.d.ts.map +1 -0
  1632. package/dist/internal/session-engine.js +4975 -0
  1633. package/dist/internal/session-links.d.ts +14 -0
  1634. package/dist/internal/session-links.d.ts.map +1 -0
  1635. package/dist/internal/session-links.js +65 -0
  1636. package/dist/internal/session-live-publisher.d.ts +41 -0
  1637. package/dist/internal/session-live-publisher.d.ts.map +1 -0
  1638. package/dist/internal/session-live-publisher.js +428 -0
  1639. package/dist/internal/session-run-log.d.ts +108 -0
  1640. package/dist/internal/session-run-log.d.ts.map +1 -0
  1641. package/dist/internal/session-run-log.js +412 -0
  1642. package/dist/internal/session-store.d.ts +73 -0
  1643. package/dist/internal/session-store.d.ts.map +1 -0
  1644. package/dist/internal/session-store.js +293 -0
  1645. package/dist/internal/session-urls.d.ts +10 -0
  1646. package/dist/internal/session-urls.d.ts.map +1 -0
  1647. package/dist/internal/session-urls.js +25 -0
  1648. package/dist/internal/sessions-client.d.ts +65 -0
  1649. package/dist/internal/sessions-client.d.ts.map +1 -0
  1650. package/dist/internal/sessions-client.js +249 -0
  1651. package/dist/internal/shallow-clone.d.ts +258 -0
  1652. package/dist/internal/shallow-clone.d.ts.map +1 -0
  1653. package/dist/internal/shallow-clone.js +644 -0
  1654. package/dist/internal/skill-catalog.d.ts +28 -0
  1655. package/dist/internal/skill-catalog.d.ts.map +1 -0
  1656. package/dist/internal/skill-catalog.js +36 -0
  1657. package/dist/internal/skills-sync.d.ts +22 -0
  1658. package/dist/internal/skills-sync.d.ts.map +1 -0
  1659. package/dist/internal/skills-sync.js +40 -0
  1660. package/dist/internal/slack-bot-scopes.d.ts +3 -0
  1661. package/dist/internal/slack-bot-scopes.d.ts.map +1 -0
  1662. package/dist/internal/slack-bot-scopes.js +2 -0
  1663. package/dist/internal/slack-manifest-opt-in.d.ts +26 -0
  1664. package/dist/internal/slack-manifest-opt-in.d.ts.map +1 -0
  1665. package/dist/internal/slack-manifest-opt-in.js +63 -0
  1666. package/dist/internal/slack-provision-client.d.ts +183 -0
  1667. package/dist/internal/slack-provision-client.d.ts.map +1 -0
  1668. package/dist/internal/slack-provision-client.js +321 -0
  1669. package/dist/internal/slack-thread-key.d.ts +12 -0
  1670. package/dist/internal/slack-thread-key.d.ts.map +1 -0
  1671. package/dist/internal/slack-thread-key.js +10 -0
  1672. package/dist/internal/sleep.d.ts +2 -0
  1673. package/dist/internal/sleep.d.ts.map +1 -0
  1674. package/dist/internal/sleep.js +3 -0
  1675. package/dist/internal/slug.d.ts +12 -0
  1676. package/dist/internal/slug.d.ts.map +1 -0
  1677. package/dist/internal/slug.js +38 -0
  1678. package/dist/internal/sqlite-experimental-warning.d.ts +2 -0
  1679. package/dist/internal/sqlite-experimental-warning.d.ts.map +1 -0
  1680. package/dist/internal/sqlite-experimental-warning.js +22 -0
  1681. package/dist/internal/start-log-store.d.ts +53 -0
  1682. package/dist/internal/start-log-store.d.ts.map +1 -0
  1683. package/dist/internal/start-log-store.js +152 -0
  1684. package/dist/internal/steering.d.ts +15 -0
  1685. package/dist/internal/steering.d.ts.map +1 -0
  1686. package/dist/internal/steering.js +17 -0
  1687. package/dist/internal/storage-coordinator.d.ts +200 -0
  1688. package/dist/internal/storage-coordinator.d.ts.map +1 -0
  1689. package/dist/internal/storage-coordinator.js +776 -0
  1690. package/dist/internal/storage-roles.d.ts +83 -0
  1691. package/dist/internal/storage-roles.d.ts.map +1 -0
  1692. package/dist/internal/storage-roles.js +24 -0
  1693. package/dist/internal/storage.d.ts +2 -0
  1694. package/dist/internal/storage.d.ts.map +1 -0
  1695. package/dist/internal/storage.js +1 -0
  1696. package/dist/internal/store-api-protocol.d.ts +164 -0
  1697. package/dist/internal/store-api-protocol.d.ts.map +1 -0
  1698. package/dist/internal/store-api-protocol.js +145 -0
  1699. package/dist/internal/store-mirror.d.ts +28 -0
  1700. package/dist/internal/store-mirror.d.ts.map +1 -0
  1701. package/dist/internal/store-mirror.js +54 -0
  1702. package/dist/internal/stored-eval-run.d.ts +17 -0
  1703. package/dist/internal/stored-eval-run.d.ts.map +1 -0
  1704. package/dist/internal/stored-eval-run.js +305 -0
  1705. package/dist/internal/stream-progress.d.ts +14 -0
  1706. package/dist/internal/stream-progress.d.ts.map +1 -0
  1707. package/dist/internal/stream-progress.js +231 -0
  1708. package/dist/internal/tcp-address.d.ts +4 -0
  1709. package/dist/internal/tcp-address.d.ts.map +1 -0
  1710. package/dist/internal/tcp-address.js +8 -0
  1711. package/dist/internal/terminal-style.d.ts +40 -0
  1712. package/dist/internal/terminal-style.d.ts.map +1 -0
  1713. package/dist/internal/terminal-style.js +93 -0
  1714. package/dist/internal/testing/conversation-identity-vectors.d.ts +53 -0
  1715. package/dist/internal/testing/conversation-identity-vectors.d.ts.map +1 -0
  1716. package/dist/internal/testing/conversation-identity-vectors.js +170 -0
  1717. package/dist/internal/testing/hmac-secret-vectors.d.ts +38 -0
  1718. package/dist/internal/testing/hmac-secret-vectors.d.ts.map +1 -0
  1719. package/dist/internal/testing/hmac-secret-vectors.js +89 -0
  1720. package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts +42 -0
  1721. package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts.map +1 -0
  1722. package/dist/internal/testing/pagerduty-continuation-fixtures.js +175 -0
  1723. package/dist/internal/testing/scm-continuation-fixtures.d.ts +33 -0
  1724. package/dist/internal/testing/scm-continuation-fixtures.d.ts.map +1 -0
  1725. package/dist/internal/testing/scm-continuation-fixtures.js +257 -0
  1726. package/dist/internal/testing/slack-continuation-fixtures.d.ts +32 -0
  1727. package/dist/internal/testing/slack-continuation-fixtures.d.ts.map +1 -0
  1728. package/dist/internal/testing/slack-continuation-fixtures.js +207 -0
  1729. package/dist/internal/tool-call-retry.d.ts +115 -0
  1730. package/dist/internal/tool-call-retry.d.ts.map +1 -0
  1731. package/dist/internal/tool-call-retry.js +387 -0
  1732. package/dist/internal/tool-catalog.d.ts +31 -0
  1733. package/dist/internal/tool-catalog.d.ts.map +1 -0
  1734. package/dist/internal/tool-catalog.js +81 -0
  1735. package/dist/internal/tool-policy.d.ts +123 -0
  1736. package/dist/internal/tool-policy.d.ts.map +1 -0
  1737. package/dist/internal/tool-policy.js +166 -0
  1738. package/dist/internal/tool-result.d.ts +15 -0
  1739. package/dist/internal/tool-result.d.ts.map +1 -0
  1740. package/dist/internal/tool-result.js +70 -0
  1741. package/dist/internal/trajectory.d.ts +68 -0
  1742. package/dist/internal/trajectory.d.ts.map +1 -0
  1743. package/dist/internal/trajectory.js +340 -0
  1744. package/dist/internal/turn-governor.d.ts +54 -0
  1745. package/dist/internal/turn-governor.d.ts.map +1 -0
  1746. package/dist/internal/turn-governor.js +108 -0
  1747. package/dist/internal/turn-lease-store.d.ts +51 -0
  1748. package/dist/internal/turn-lease-store.d.ts.map +1 -0
  1749. package/dist/internal/turn-lease-store.js +172 -0
  1750. package/dist/internal/turn-outbox.d.ts +24 -0
  1751. package/dist/internal/turn-outbox.d.ts.map +1 -0
  1752. package/dist/internal/turn-outbox.js +66 -0
  1753. package/dist/internal/update-check.d.ts +95 -0
  1754. package/dist/internal/update-check.d.ts.map +1 -0
  1755. package/dist/internal/update-check.js +405 -0
  1756. package/dist/internal/v2-hosting.d.ts +34 -0
  1757. package/dist/internal/v2-hosting.d.ts.map +1 -0
  1758. package/dist/internal/v2-hosting.js +35 -0
  1759. package/dist/internal/workspace-sync.d.ts +44 -0
  1760. package/dist/internal/workspace-sync.d.ts.map +1 -0
  1761. package/dist/internal/workspace-sync.js +85 -0
  1762. package/dist/internal/workspace.d.ts +154 -0
  1763. package/dist/internal/workspace.d.ts.map +1 -0
  1764. package/dist/internal/workspace.js +468 -0
  1765. package/dist/internal/zod-schema.d.ts +14 -0
  1766. package/dist/internal/zod-schema.d.ts.map +1 -0
  1767. package/dist/internal/zod-schema.js +22 -0
  1768. package/dist/internal/zod3-datetime.d.ts +12 -0
  1769. package/dist/internal/zod3-datetime.d.ts.map +1 -0
  1770. package/dist/internal/zod3-datetime.js +17 -0
  1771. package/dist/kv/memory-kv.d.ts +24 -0
  1772. package/dist/kv/memory-kv.d.ts.map +1 -0
  1773. package/dist/kv/memory-kv.js +80 -0
  1774. package/dist/kv.d.ts +25 -0
  1775. package/dist/kv.d.ts.map +1 -0
  1776. package/dist/kv.js +24 -0
  1777. package/dist/memory.d.ts +113 -0
  1778. package/dist/memory.d.ts.map +1 -0
  1779. package/dist/memory.js +312 -0
  1780. package/dist/otel-public.d.ts +7 -0
  1781. package/dist/otel-public.d.ts.map +1 -0
  1782. package/dist/otel-public.js +6 -0
  1783. package/dist/otel.d.ts +31 -0
  1784. package/dist/otel.d.ts.map +1 -0
  1785. package/dist/otel.js +150 -0
  1786. package/dist/playground/assets/cursor-icons-16-QUmxS7q3.woff2 +0 -0
  1787. package/dist/playground/assets/index-BMpVzZzC.css +1 -0
  1788. package/dist/playground/assets/index-_3zz3yh8.js +62 -0
  1789. package/dist/playground/index.html +17 -0
  1790. package/dist/prompt.d.ts +39 -0
  1791. package/dist/prompt.d.ts.map +1 -0
  1792. package/dist/prompt.js +68 -0
  1793. package/dist/public-deprecated.d.ts +35 -0
  1794. package/dist/public-deprecated.d.ts.map +1 -0
  1795. package/dist/public-deprecated.js +38 -0
  1796. package/dist/reminders.d.ts +42 -0
  1797. package/dist/reminders.d.ts.map +1 -0
  1798. package/dist/reminders.js +45 -0
  1799. package/dist/schedules.d.ts +23 -0
  1800. package/dist/schedules.d.ts.map +1 -0
  1801. package/dist/schedules.js +26 -0
  1802. package/dist/scm.d.ts +2 -0
  1803. package/dist/scm.d.ts.map +1 -0
  1804. package/dist/scm.js +1 -0
  1805. package/dist/skills.d.ts +22 -0
  1806. package/dist/skills.d.ts.map +1 -0
  1807. package/dist/skills.js +22 -0
  1808. package/dist/storage-backends/cursor-hosted-v2.d.ts +54 -0
  1809. package/dist/storage-backends/cursor-hosted-v2.d.ts.map +1 -0
  1810. package/dist/storage-backends/cursor-hosted-v2.js +113 -0
  1811. package/dist/storage-backends/cursor-hosted.d.ts +94 -0
  1812. package/dist/storage-backends/cursor-hosted.d.ts.map +1 -0
  1813. package/dist/storage-backends/cursor-hosted.js +227 -0
  1814. package/dist/storage-backends/file-kv.d.ts +43 -0
  1815. package/dist/storage-backends/file-kv.d.ts.map +1 -0
  1816. package/dist/storage-backends/file-kv.js +238 -0
  1817. package/dist/storage-protocol.d.ts +124 -0
  1818. package/dist/storage-protocol.d.ts.map +1 -0
  1819. package/dist/storage-protocol.js +181 -0
  1820. package/dist/storage.d.ts +253 -0
  1821. package/dist/storage.d.ts.map +1 -0
  1822. package/dist/storage.js +149 -0
  1823. package/dist/telemetry.d.ts +12 -0
  1824. package/dist/telemetry.d.ts.map +1 -0
  1825. package/dist/telemetry.js +11 -0
  1826. package/dist/tools.d.ts +135 -0
  1827. package/dist/tools.d.ts.map +1 -0
  1828. package/dist/tools.js +79 -0
  1829. package/dist/types.d.ts +3817 -0
  1830. package/dist/types.d.ts.map +1 -0
  1831. package/dist/types.js +191 -0
  1832. package/docs/README.md +114 -0
  1833. package/docs/building-with-agents.md +139 -0
  1834. package/docs/changelog.md +155 -0
  1835. package/docs/deployment.md +376 -0
  1836. package/docs/evals.md +244 -0
  1837. package/docs/guides/agent-to-agent.md +167 -0
  1838. package/docs/guides/bitbucket.md +298 -0
  1839. package/docs/guides/cloud-agents.md +86 -0
  1840. package/docs/guides/convert-automation.md +186 -0
  1841. package/docs/guides/github.md +378 -0
  1842. package/docs/guides/gitlab.md +304 -0
  1843. package/docs/guides/grokbot-agents.md +134 -0
  1844. package/docs/guides/hooks.md +121 -0
  1845. package/docs/guides/improve.md +134 -0
  1846. package/docs/guides/jev.md +303 -0
  1847. package/docs/guides/mcp-oauth.md +153 -0
  1848. package/docs/guides/migrate.md +176 -0
  1849. package/docs/guides/opentelemetry.md +136 -0
  1850. package/docs/guides/pagerduty.md +341 -0
  1851. package/docs/guides/slack.md +385 -0
  1852. package/docs/guides/webhooks.md +313 -0
  1853. package/docs/hillclimbing.md +139 -0
  1854. package/docs/quickstart.md +312 -0
  1855. package/docs/reference/access.md +27 -0
  1856. package/docs/reference/agent-config.md +285 -0
  1857. package/docs/reference/artifacts.md +118 -0
  1858. package/docs/reference/channels.md +239 -0
  1859. package/docs/reference/cli.md +1100 -0
  1860. package/docs/reference/connections.md +312 -0
  1861. package/docs/reference/evals.md +299 -0
  1862. package/docs/reference/extensions.md +214 -0
  1863. package/docs/reference/hooks.md +202 -0
  1864. package/docs/reference/http-api.md +226 -0
  1865. package/docs/reference/instructions.md +69 -0
  1866. package/docs/reference/limits.md +42 -0
  1867. package/docs/reference/memory.md +119 -0
  1868. package/docs/reference/playground.md +41 -0
  1869. package/docs/reference/project-layout.md +122 -0
  1870. package/docs/reference/prompt.md +52 -0
  1871. package/docs/reference/schedules.md +195 -0
  1872. package/docs/reference/sessions.md +205 -0
  1873. package/docs/reference/skills.md +77 -0
  1874. package/docs/reference/subagents.md +66 -0
  1875. package/docs/reference/tools.md +321 -0
  1876. package/docs/templates/agentic-owners.md +131 -0
  1877. package/docs/templates/security-reviewer.md +86 -0
  1878. package/docs/templates/thermo-quality-review.md +80 -0
  1879. package/docs/templates/thermo-review.md +80 -0
  1880. package/docs/templates/triage.md +106 -0
  1881. package/docs/troubleshooting.md +156 -0
  1882. package/package.json +388 -4
  1883. package/scripts/install-cursor-skills.mjs +29 -0
  1884. package/skills/cli/SKILL.md +125 -0
  1885. package/skills/create-agent/SKILL.md +177 -0
  1886. package/skills/debug/SKILL.md +43 -0
  1887. package/skills/deploy/SKILL.md +172 -0
  1888. package/skills/evals/SKILL.md +145 -0
  1889. package/skills/framework-map/SKILL.md +129 -0
  1890. package/skills/github/SKILL.md +133 -0
  1891. package/skills/hillclimb/SKILL.md +63 -0
  1892. package/skills/mcp-auth/SKILL.md +60 -0
  1893. package/skills/migrate-v2/SKILL.md +394 -0
  1894. package/skills/otel/SKILL.md +78 -0
  1895. package/skills/setup-slack/SKILL.md +136 -0
  1896. package/templates/agentic-owners/README.md +78 -0
  1897. package/templates/agentic-owners/bot/agent.ts +8 -0
  1898. package/templates/agentic-owners/bot/channels/github.ts +63 -0
  1899. package/templates/agentic-owners/bot/instructions.md +34 -0
  1900. package/templates/agentic-owners/bot/lib/config.ts +5 -0
  1901. package/templates/agentic-owners/bot/lib/github.ts +219 -0
  1902. package/templates/agentic-owners/bot/lib/owners/README.md +50 -0
  1903. package/templates/agentic-owners/bot/lib/owners/constants.ts +22 -0
  1904. package/templates/agentic-owners/bot/lib/owners/decision.ts +480 -0
  1905. package/templates/agentic-owners/bot/lib/owners/globalOverride.ts +60 -0
  1906. package/templates/agentic-owners/bot/lib/owners/handles.ts +54 -0
  1907. package/templates/agentic-owners/bot/lib/owners/match.ts +287 -0
  1908. package/templates/agentic-owners/bot/lib/owners/matching.ts +147 -0
  1909. package/templates/agentic-owners/bot/lib/owners/parse.ts +696 -0
  1910. package/templates/agentic-owners/bot/lib/owners/policyMode.ts +61 -0
  1911. package/templates/agentic-owners/bot/lib/owners/prompt.ts +64 -0
  1912. package/templates/agentic-owners/bot/lib/owners/prompts/base-review.md +105 -0
  1913. package/templates/agentic-owners/bot/lib/owners/types.ts +73 -0
  1914. package/templates/agentic-owners/bot/lib/review.ts +727 -0
  1915. package/templates/agentic-owners/bot/tools/record_review.ts +62 -0
  1916. package/templates/agentic-owners/evals/evals.config.ts +5 -0
  1917. package/templates/agentic-owners/evals/owners.eval.ts +111 -0
  1918. package/templates/agentic-owners/package.json +20 -0
  1919. package/templates/agentic-owners/tsconfig.json +12 -0
  1920. package/templates/agents-md/README.md +43 -0
  1921. package/templates/agents-md/bot/agent.ts +8 -0
  1922. package/templates/agents-md/bot/channels/github.ts +10 -0
  1923. package/templates/agents-md/bot/channels/queue.ts +25 -0
  1924. package/templates/agents-md/bot/channels/slack.ts +9 -0
  1925. package/templates/agents-md/bot/instructions.md +38 -0
  1926. package/templates/agents-md/bot/lib/collect.ts +412 -0
  1927. package/templates/agents-md/bot/lib/config.ts +8 -0
  1928. package/templates/agents-md/bot/lib/paths.ts +49 -0
  1929. package/templates/agents-md/bot/schedules/weekly.ts +17 -0
  1930. package/templates/agents-md/bot/tools/apply_agents.ts +217 -0
  1931. package/templates/agents-md/evals/agents.eval.ts +136 -0
  1932. package/templates/agents-md/evals/evals.config.ts +5 -0
  1933. package/templates/agents-md/init.json +38 -0
  1934. package/templates/agents-md/package.json +18 -0
  1935. package/templates/agents-md/tsconfig.json +12 -0
  1936. package/templates/code-wiki/README.md +34 -0
  1937. package/templates/code-wiki/bot/agent.ts +8 -0
  1938. package/templates/code-wiki/bot/channels/github.ts +125 -0
  1939. package/templates/code-wiki/bot/instructions.md +39 -0
  1940. package/templates/code-wiki/bot/lib/repos.ts +5 -0
  1941. package/templates/code-wiki/bot/lib/wiki.ts +22 -0
  1942. package/templates/code-wiki/bot/tools/apply_wiki.ts +210 -0
  1943. package/templates/code-wiki/evals/evals.config.ts +5 -0
  1944. package/templates/code-wiki/evals/wiki.eval.ts +124 -0
  1945. package/templates/code-wiki/init.json +25 -0
  1946. package/templates/code-wiki/package.json +18 -0
  1947. package/templates/code-wiki/tsconfig.json +12 -0
  1948. package/templates/demo/README.md +37 -0
  1949. package/templates/demo/bot/agent.ts +8 -0
  1950. package/templates/demo/bot/channels/github.ts +56 -0
  1951. package/templates/demo/bot/channels/queue.ts +24 -0
  1952. package/templates/demo/bot/instructions.md +8 -0
  1953. package/templates/demo/bot/lib/collect.ts +66 -0
  1954. package/templates/demo/bot/lib/repos.ts +5 -0
  1955. package/templates/demo/bot/tools/record_demo.ts +37 -0
  1956. package/templates/demo/evals/demo.eval.ts +29 -0
  1957. package/templates/demo/evals/evals.config.ts +5 -0
  1958. package/templates/demo/init.json +25 -0
  1959. package/templates/demo/package.json +18 -0
  1960. package/templates/demo/tsconfig.json +12 -0
  1961. package/templates/pr-autofixer/bot/agent.ts +11 -0
  1962. package/templates/pr-autofixer/bot/channels/drive.ts +24 -0
  1963. package/templates/pr-autofixer/bot/channels/github.ts +155 -0
  1964. package/templates/pr-autofixer/bot/channels/slack.ts +16 -0
  1965. package/templates/pr-autofixer/bot/hooks/bind-agent.ts +19 -0
  1966. package/templates/pr-autofixer/bot/instructions.md +83 -0
  1967. package/templates/pr-autofixer/bot/lib/affinity.ts +24 -0
  1968. package/templates/pr-autofixer/bot/lib/drive-schemas.ts +18 -0
  1969. package/templates/pr-autofixer/bot/lib/drive.ts +73 -0
  1970. package/templates/pr-autofixer/bot/lib/merge-watch.ts +116 -0
  1971. package/templates/pr-autofixer/bot/lib/pr-state.ts +40 -0
  1972. package/templates/pr-autofixer/bot/lib/repos.ts +18 -0
  1973. package/templates/pr-autofixer/bot/lib/start-drive.ts +113 -0
  1974. package/templates/pr-autofixer/bot/lib/webhook-buffer.ts +215 -0
  1975. package/templates/pr-autofixer/bot/lib/webhook-routing.ts +231 -0
  1976. package/templates/pr-autofixer/bot/tools/drive_pr.ts +21 -0
  1977. package/templates/pr-autofixer/evals/coordinator.eval.ts +16 -0
  1978. package/templates/pr-autofixer/evals/evals.config.ts +5 -0
  1979. package/templates/pr-autofixer/init.json +25 -0
  1980. package/templates/pr-autofixer/package.json +18 -0
  1981. package/templates/pr-autofixer/tsconfig.json +12 -0
  1982. package/templates/security-help/.gitignore +4 -0
  1983. package/templates/security-help/README.md +46 -0
  1984. package/templates/security-help/bot/agent.ts +17 -0
  1985. package/templates/security-help/bot/channels/github.ts +13 -0
  1986. package/templates/security-help/bot/channels/slack.ts +84 -0
  1987. package/templates/security-help/bot/instructions.md +19 -0
  1988. package/templates/security-help/bot/lib/pr-first-pass.ts +40 -0
  1989. package/templates/security-help/bot/lib/repos.ts +5 -0
  1990. package/templates/security-help/bot/skills/access-request.md +10 -0
  1991. package/templates/security-help/bot/skills/faq.md +31 -0
  1992. package/templates/security-help/bot/skills/security-playbooks.md +12 -0
  1993. package/templates/security-help/bot/skills/security-pr-first-pass.md +12 -0
  1994. package/templates/security-help/evals/evals.config.ts +5 -0
  1995. package/templates/security-help/evals/security-help.eval.ts +51 -0
  1996. package/templates/security-help/init.json +31 -0
  1997. package/templates/security-help/package.json +17 -0
  1998. package/templates/security-help/tsconfig.json +12 -0
  1999. package/templates/security-reviewer/README.md +33 -0
  2000. package/templates/security-reviewer/bot/agent.ts +8 -0
  2001. package/templates/security-reviewer/bot/channels/github.ts +43 -0
  2002. package/templates/security-reviewer/bot/instructions.md +22 -0
  2003. package/templates/security-reviewer/bot/lib/repos.ts +5 -0
  2004. package/templates/security-reviewer/bot/tools/post_findings.ts +68 -0
  2005. package/templates/security-reviewer/evals/evals.config.ts +5 -0
  2006. package/templates/security-reviewer/evals/review.eval.ts +50 -0
  2007. package/templates/security-reviewer/init.json +25 -0
  2008. package/templates/security-reviewer/package.json +18 -0
  2009. package/templates/security-reviewer/tsconfig.json +12 -0
  2010. package/templates/thermo-quality-review/README.md +35 -0
  2011. package/templates/thermo-quality-review/bot/agent.ts +8 -0
  2012. package/templates/thermo-quality-review/bot/channels/github.ts +39 -0
  2013. package/templates/thermo-quality-review/bot/instructions.md +43 -0
  2014. package/templates/thermo-quality-review/bot/tools/post_findings.ts +67 -0
  2015. package/templates/thermo-quality-review/evals/evals.config.ts +5 -0
  2016. package/templates/thermo-quality-review/evals/review.eval.ts +59 -0
  2017. package/templates/thermo-quality-review/package.json +18 -0
  2018. package/templates/thermo-quality-review/tsconfig.json +12 -0
  2019. package/templates/thermo-review/README.md +35 -0
  2020. package/templates/thermo-review/bot/agent.ts +8 -0
  2021. package/templates/thermo-review/bot/channels/github.ts +39 -0
  2022. package/templates/thermo-review/bot/instructions.md +40 -0
  2023. package/templates/thermo-review/bot/tools/post_findings.ts +67 -0
  2024. package/templates/thermo-review/evals/evals.config.ts +5 -0
  2025. package/templates/thermo-review/evals/review.eval.ts +50 -0
  2026. package/templates/thermo-review/package.json +18 -0
  2027. package/templates/thermo-review/tsconfig.json +12 -0
  2028. package/templates/triage/README.md +47 -0
  2029. package/templates/triage/bot/agent.ts +8 -0
  2030. package/templates/triage/bot/channels/queue.ts +29 -0
  2031. package/templates/triage/bot/channels/webhook.ts +41 -0
  2032. package/templates/triage/bot/hooks/memory.ts +3 -0
  2033. package/templates/triage/bot/instructions.md +38 -0
  2034. package/templates/triage/bot/lib/actuate.ts +703 -0
  2035. package/templates/triage/bot/lib/parse-queue-event.ts +160 -0
  2036. package/templates/triage/bot/lib/tracker.ts +5 -0
  2037. package/templates/triage/bot/lib/types.ts +48 -0
  2038. package/templates/triage/bot/lib/verify-webhook.ts +79 -0
  2039. package/templates/triage/bot/skills/triage-rubric.md +44 -0
  2040. package/templates/triage/bot/tools/record_triage.ts +29 -0
  2041. package/templates/triage/evals/evals.config.ts +5 -0
  2042. package/templates/triage/evals/triage.eval.ts +64 -0
  2043. package/templates/triage/overlays/jira/README.md +21 -0
  2044. package/templates/triage/overlays/jira/bot/lib/tracker.ts +8 -0
  2045. package/templates/triage/overlays/jira/bot/mcp-connections/tracker.ts +6 -0
  2046. package/templates/triage/overlays/linear/README.md +21 -0
  2047. package/templates/triage/overlays/linear/bot/lib/tracker.ts +8 -0
  2048. package/templates/triage/overlays/linear/bot/mcp-connections/tracker.ts +6 -0
  2049. package/templates/triage/package.json +18 -0
  2050. package/templates/triage/tsconfig.json +12 -0
@@ -0,0 +1,22 @@
1
+ import{_ as t,c as s,o as a,a3 as n}from"./chunks/framework.BNw1pucY.js";const k=JSON.parse('{"title":"Channels","description":"Define custom channel routes, schemas, state, events, and authentication.","frontmatter":{"title":"Channels","description":"Define custom channel routes, schemas, state, events, and authentication."},"headers":[],"relativePath":"reference/channels.md","filePath":"reference/channels.md"}'),i={name:"reference/channels.md"};function o(d,e,r,h,l,c){return a(),s("div",null,[...e[0]||(e[0]=[n(`<h1 id="channels" tabindex="-1">Channels <a class="header-anchor" href="#channels" aria-label="Permalink to &quot;Channels&quot;">​</a></h1><p>A channel connects an external surface to agent sessions. A file at <code>bot/channels/&lt;id&gt;.ts</code> defines channel <code>&lt;id&gt;</code> and mounts its routes under <code>/v1/channels/&lt;id&gt;</code>. The built-in HTTP session channel is always available alongside any custom or prebuilt channels.</p><h2 id="built-in-http-channel" tabindex="-1">Built-in HTTP channel <a class="header-anchor" href="#built-in-http-channel" aria-label="Permalink to &quot;Built-in HTTP channel&quot;">​</a></h2><p>The built-in channel serves the session, tool, and discovery routes. In a multi-agent host, each agent&#39;s routes sit under its slug. See the <a href="./http-api.html">HTTP API</a> for request and response contracts.</p><h2 id="define-a-custom-channel" tabindex="-1">Define a custom channel <a class="header-anchor" href="#define-a-custom-channel" aria-label="Permalink to &quot;Define a custom channel&quot;">​</a></h2><p>Use <code>defineChannel</code> with one or more typed routes:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { defineChannel, POST } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;@grok/agent-sdk/channels&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
2
+ <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { z } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;zod&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
3
+ <span class="line"></span>
4
+ <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> default</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> defineChannel</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({</span></span>
5
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> routes: [</span></span>
6
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> POST</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;/review&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, {</span></span>
7
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> description: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;Review a pull request on this channel&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
8
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> bodySchema: z.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">object</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({</span></span>
9
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> message: z.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(),</span></span>
10
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> prUrl: z.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">().</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">url</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(),</span></span>
11
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }),</span></span>
12
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> handler</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">async</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">_request</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, { </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">send</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">waitUntil</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">body</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
13
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> waitUntil</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span></span>
14
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> send</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">\`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">body</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">message</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">\\n\\n</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">Pull request: \${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">body</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">prUrl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, {</span></span>
15
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> continuationToken: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">\`pr:\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">body</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">prUrl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
16
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> })</span></span>
17
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> );</span></span>
18
+ <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> new</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Response</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">null</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, { status: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">202</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> });</span></span>
19
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
20
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }),</span></span>
21
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ],</span></span>
22
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p>The route above is <code>POST /v1/channels/&lt;id&gt;/review</code>. Calls for the same pull request reuse one conversation because they pass the same continuation token.</p><h2 id="route-responses" tabindex="-1">Route responses <a class="header-anchor" href="#route-responses" aria-label="Permalink to &quot;Route responses&quot;">​</a></h2><p>A custom route acknowledges the caller and nothing more. On Cursor-managed hosting, the deployment answers every custom route with <code>202 Accepted</code> and an empty body as soon as the request arrives, then runs the handler. The caller never receives the handler&#39;s <code>Response</code>, so a route can&#39;t return a session ID, a computed result, or an error status. Requests rejected before the handler runs, such as a missing alias token or a failed <code>sharedSecretAuth</code> or <code>hmacSignatureAuth</code> check, still get <code>401</code>. A request with a bad <code>X-BDK-Session-Key</code> header gets <code>400</code>. See <a href="#hosted-session-keys">Hosted session keys</a>.</p><p>Deliver results through the channel&#39;s <a href="#events"><code>events</code></a> handlers, a callback to the system that sent the request, or a tool the turn calls. Local <code>serve</code> passes the handler&#39;s response through, so return <code>new Response(null, { status: 202 })</code> to keep local calls matching hosted ones.</p><h2 id="route-verbs-and-schemas" tabindex="-1">Route verbs and schemas <a class="header-anchor" href="#route-verbs-and-schemas" aria-label="Permalink to &quot;Route verbs and schemas&quot;">​</a></h2><p>Route paths must begin with <code>/</code>. The method helper determines which Zod schemas the route accepts:</p><table tabindex="0"><thead><tr><th>Helper</th><th>Schema contract</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>querySchema</code> is required</td></tr><tr><td><code>POST</code>, <code>PUT</code>, <code>PATCH</code></td><td><code>bodySchema</code> is required; <code>querySchema</code> is optional</td></tr><tr><td><code>DELETE</code></td><td>Both schemas are optional</td></tr></tbody></table><p>Plain JSON Schema objects don&#39;t type-check. Use <code>z.object({})</code> or <code>z.unknown()</code> for an open surface. The host validates the body and query before calling the handler, and an empty body is read as <code>{}</code>. A request that fails validation never reaches the handler; local <code>serve</code> answers it with <code>400</code>, while a hosted caller has already received its <code>202</code>. Declared schemas also appear in <code>GET /v1/info</code> for playground requests and slash commands.</p><h2 id="handler-arguments" tabindex="-1">Handler arguments <a class="header-anchor" href="#handler-arguments" aria-label="Permalink to &quot;Handler arguments&quot;">​</a></h2><p>Each handler receives the Fetch <code>Request</code> and a typed arguments object.</p><table tabindex="0"><thead><tr><th>Member</th><th>Contract</th></tr></thead><tbody><tr><td><code>send(message, options?)</code></td><td>Start or resume a session on this channel</td></tr><tr><td><code>getSession(sessionId)</code></td><td>Return this channel&#39;s session, or <code>null</code></td></tr><tr><td><code>receive(channel, input)</code></td><td>Hand work to another channel</td></tr><tr><td><code>callTool(name, input, options?)</code></td><td><a href="./tools.html#call-a-tool-without-a-model-turn">Call a server tool</a> without a model turn</td></tr><tr><td><code>body</code>, <code>query</code>, <code>params</code></td><td>Validated inputs and <code>:param</code> path segments</td></tr><tr><td><code>auth</code></td><td>The <code>AuthContext</code> returned by the route&#39;s auth chain</td></tr><tr><td><code>requestIp</code></td><td>The TCP peer address, or <code>null</code></td></tr><tr><td><code>host</code></td><td>Shared MCP, provider, storage, telemetry, and reminder services</td></tr><tr><td><code>waitUntil(promise)</code></td><td>Keep work running after the handler returns</td></tr><tr><td><code>sessionUrls(request, sessionId)</code></td><td>Build absolute playground and trace URLs for this mount</td></tr><tr><td><code>artifacts</code></td><td>List or tag <a href="./artifacts.html">artifacts</a>; pass <code>sessionId</code> when attributing one</td></tr></tbody></table><h3 id="send-options" tabindex="-1"><code>send</code> options <a class="header-anchor" href="#send-options" aria-label="Permalink to &quot;\`send\` options&quot;">​</a></h3><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>continuationToken</code></td><td>Resume the session with this channel-local key, or create one when the key is new</td></tr><tr><td><code>admission</code></td><td><code>&quot;preempt&quot;</code> interrupts a busy turn; <code>&quot;coalesce&quot;</code> queues behind it. The default is <code>&quot;preempt&quot;</code></td></tr><tr><td><code>workspaceFiles</code></td><td>Add relative files for the next turn</td></tr><tr><td><code>workspaceDir</code></td><td>Use an absolute local working directory</td></tr><tr><td><code>auth</code></td><td>Set the session principal; defaults to the request principal</td></tr><tr><td><code>state</code></td><td>Set starting channel state for a new session</td></tr><tr><td><code>title</code></td><td>Set the display title for a new session</td></tr><tr><td><code>purpose</code></td><td>Use <code>&quot;eval&quot;</code> to mark a new session as regression traffic</td></tr><tr><td><code>dryRun</code></td><td>Run read tools and stub write tools for a new session</td></tr><tr><td><code>asOf</code></td><td>Freeze a new session at an ISO-8601 instant with a timezone</td></tr><tr><td><code>deliveryId</code></td><td>Name this send on the session&#39;s events, at most 256 characters. Defaults to a fresh <code>dlv_…</code> ID</td></tr></tbody></table><p><code>send</code> returns a <code>ChannelSession</code>. Its <code>id</code> identifies the session, <code>continuationToken</code> contains its current channel key, and <code>isNew</code> says whether this call created it. A coalesced call also returns <code>coalesced: true</code>. <code>deliveryId</code> names this send on the event where the message reaches the agent; see <a href="./sessions.html#track-which-follow-up-reached-the-agent">Track which follow-up reached the agent</a>. A hosted channel&#39;s <code>send</code> returns the same ID before the session exists.</p><h2 id="events" tabindex="-1">Events <a class="header-anchor" href="#events" aria-label="Permalink to &quot;Events&quot;">​</a></h2><p>The <code>events</code> map subscribes the channel to stream events for the sessions it owns. Keys are event types from the <a href="./sessions.html#stream-events">event vocabulary</a>, or <code>&quot;*&quot;</code>. Each handler receives <code>(event, channel, ctx)</code>, including the session&#39;s <code>channel.state</code>, session info, and shared host services. Use these handlers to deliver progress and replies to the surface that owns the channel.</p><h2 id="session-state" tabindex="-1">Session state <a class="header-anchor" href="#session-state" aria-label="Permalink to &quot;Session state&quot;">​</a></h2><p><code>state</code> on the channel definition supplies starting JSON for each new session. A route can instead pass <code>state</code> to <code>send</code>; event handlers read and update the active value through <code>channel.state</code>.</p><h2 id="start-and-stop-a-channel" tabindex="-1">Start and stop a channel <a class="header-anchor" href="#start-and-stop-a-channel" aria-label="Permalink to &quot;Start and stop a channel&quot;">​</a></h2><p><code>onStart(args)</code> runs when the channel mounts, and <code>onStop()</code> runs when the host stops. <code>onStart</code> receives the route helpers plus these transport controls:</p><table tabindex="0"><thead><tr><th>Helper</th><th>Contract</th></tr></thead><tbody><tr><td><code>emitAssistantMessage(sessionId, text)</code></td><td>Append final assistant text without starting a model turn</td></tr><tr><td><code>hasContinuationSession(token)</code></td><td>Check whether a token maps to a session</td></tr><tr><td><code>isContinuationBusy(token)</code></td><td>Check whether a turn is active for a token</td></tr><tr><td><code>interruptContinuation(token)</code></td><td>Stop the active turn and clear queued coalesced follow-ups</td></tr></tbody></table><h2 id="auth-policies" tabindex="-1">Auth policies <a class="header-anchor" href="#auth-policies" aria-label="Permalink to &quot;Auth policies&quot;">​</a></h2><p>Every route runs the channel&#39;s <code>auth</code> array. The default is <code>[localDevStrict()]</code>. Policies may be asynchronous; the first one to return an <code>AuthContext</code> admits the request, and an all-null result returns <code>401</code>.</p><table tabindex="0"><thead><tr><th>Policy</th><th>Admits</th></tr></thead><tbody><tr><td><code>localDevStrict()</code></td><td>Direct loopback requests with a loopback hostname and no proxy-forwarding headers</td></tr><tr><td><code>localDev()</code></td><td>Direct loopback requests with no proxy-forwarding headers, without checking the hostname</td></tr><tr><td><code>loopbackOnly()</code></td><td>Any loopback TCP peer, including local relays that carry forwarding headers</td></tr><tr><td><code>bearerAuth(tokenOrVerify)</code></td><td>A matching bearer token, or a token accepted by the verifier</td></tr><tr><td><code>sharedSecretAuth({ header, secret })</code></td><td>A header matching the named environment or deployment secret</td></tr><tr><td><code>hmacSignatureAuth({ header, secret, prefix?, separator? })</code></td><td>A hex HMAC-SHA256 signature over the raw body using the named secret. With <code>separator</code>, any of several signatures in the header. A secret holding one value per line verifies under any of them (at most 32, <code>@grok/agent-sdk</code> 0.2.25 or later)</td></tr><tr><td><code>allowAll()</code></td><td>Every caller as an anonymous principal</td></tr><tr><td><code>publicEndpoint()</code></td><td>Every caller on this custom channel; managed hosting also exposes the route without an alias token</td></tr></tbody></table><p>Use <code>allowAll()</code> only for an intentionally public surface or one protected upstream. With <code>publicEndpoint()</code>, the handler must verify the provider&#39;s signature. The policy applies only to custom channel routes; it doesn&#39;t open the built-in session or tool API.</p><p>The resolved <code>AuthContext</code> (<code>{ authenticator, principalId, principalType, attributes? }</code>) becomes the request principal. Sessions belong to the principal that created them, and other principals receive <code>403</code> on owned routes.</p><p>Server flags interact with authored auth: <code>--bearer-token</code> swaps the default <code>localDevStrict()</code> for <code>bearerAuth(...)</code> on channels that don&#39;t author their own chain, and <code>--allow-anonymous</code> swaps it for <code>allowAll()</code>. An authored <code>auth</code> array always takes precedence.</p><h2 id="prebuilt-channels" tabindex="-1">Prebuilt channels <a class="header-anchor" href="#prebuilt-channels" aria-label="Permalink to &quot;Prebuilt channels&quot;">​</a></h2><table tabindex="0"><thead><tr><th>Import</th><th>Function</th><th>Surface</th></tr></thead><tbody><tr><td><code>@grok/agent-sdk/channels/slack</code></td><td><code>slackChannel()</code></td><td>Slack messages, threads, and streaming replies. See <a href="./../guides/slack.html">Slack</a></td></tr><tr><td><code>@grok/agent-sdk/channels/github</code></td><td><code>githubChannel()</code></td><td>GitHub and GitHub Enterprise webhooks. See <a href="./../guides/github.html">GitHub</a></td></tr><tr><td><code>@grok/agent-sdk/channels/gitlab</code></td><td><code>gitlabChannel()</code></td><td>GitLab.com and self-managed GitLab hooks. See <a href="./../guides/gitlab.html">GitLab</a></td></tr><tr><td><code>@grok/agent-sdk/channels/bitbucket</code></td><td><code>bitbucketChannel()</code></td><td>Bitbucket Cloud and Data Center hooks. See <a href="./../guides/bitbucket.html">Bitbucket</a></td></tr><tr><td><code>@grok/agent-sdk/channels/pagerduty</code></td><td><code>pagerdutyChannel()</code></td><td>PagerDuty v3 incident webhooks. Replies post as incident notes only with <code>deliverReplies: true</code>. See <a href="./../guides/pagerduty.html">PagerDuty</a></td></tr><tr><td><code>@grok/agent-sdk/channels/deployments</code></td><td><code>deploymentsChannel()</code></td><td>Deployment events filtered by source, environment, or event name</td></tr></tbody></table><p>For other platforms like Discord or Teams, use the authored <code>defineChannel</code> route form.</p><h2 id="continuation-tokens" tabindex="-1">Continuation tokens <a class="header-anchor" href="#continuation-tokens" aria-label="Permalink to &quot;Continuation tokens&quot;">​</a></h2><p>Each channel defines its continuation-token format. The same token resumes the same conversation; the built-in HTTP channel rotates its opaque token after every accepted follow-up and returns <code>409</code> for a stale token. See <a href="./sessions.html#session-identifiers">Session identifiers</a> for the full contract.</p><h3 id="hosted-session-keys" tabindex="-1">Hosted session keys <a class="header-anchor" href="#hosted-session-keys" aria-label="Permalink to &quot;Hosted session keys&quot;">​</a></h3><p>On Cursor-managed hosting, each request to a <code>defineChannel</code> route starts a new session unless the request carries <code>X-BDK-Session-Key</code>. Requests with the same header value on one channel go to one session, in arrival order. The handler&#39;s <code>continuationToken</code> does not change this choice, and local <code>serve</code> ignores the header.</p><table tabindex="0"><thead><tr><th>Rule</th><th>Contract</th></tr></thead><tbody><tr><td>Auth</td><td>The alias token or <code>sharedSecretAuth()</code>. Routes that admit the request with <code>hmacSignatureAuth()</code> or <code>publicEndpoint()</code> answer <code>400</code></td></tr><tr><td>Value</td><td>1 to 256 printable ASCII characters, with no space and no comma. Any other value gets <code>400</code></td></tr><tr><td>Scope</td><td>One channel on one deployment</td></tr><tr><td>Channels</td><td><code>defineChannel</code> routes only. Prebuilt channels ignore the header</td></tr><tr><td>Handler</td><td><code>request.headers</code> still contains the header</td></tr><tr><td>Retries</td><td>Hosting does not deduplicate. A retried request runs a second turn</td></tr></tbody></table><p>See <a href="./../guides/webhooks.html#keep-one-hosted-session-per-thread">Keep one hosted session per thread</a>.</p><h2 id="related" tabindex="-1">Related <a class="header-anchor" href="#related" aria-label="Permalink to &quot;Related&quot;">​</a></h2><ul><li><a href="./../guides/webhooks.html">Webhooks</a></li><li><a href="./http-api.html">HTTP API</a></li><li><a href="./sessions.html">Sessions</a></li><li><a href="./hooks.html">Hooks</a></li></ul>`,45)])])}const u=t(i,[["render",o]]);export{k as __pageData,u as default};
@@ -0,0 +1 @@
1
+ import{_ as t,c as s,o as a,a3 as n}from"./chunks/framework.BNw1pucY.js";const k=JSON.parse('{"title":"Channels","description":"Define custom channel routes, schemas, state, events, and authentication.","frontmatter":{"title":"Channels","description":"Define custom channel routes, schemas, state, events, and authentication."},"headers":[],"relativePath":"reference/channels.md","filePath":"reference/channels.md"}'),i={name:"reference/channels.md"};function o(d,e,r,h,l,c){return a(),s("div",null,[...e[0]||(e[0]=[n("",45)])])}const u=t(i,[["render",o]]);export{k as __pageData,u as default};
@@ -0,0 +1,99 @@
1
+ import{_ as t,c as a,o,a3 as d}from"./chunks/framework.BNw1pucY.js";const u=JSON.parse('{"title":"CLI","description":"Look up Agent SDK commands, targets, flags, outputs, and exit status.","frontmatter":{"title":"CLI","description":"Look up Agent SDK commands, targets, flags, outputs, and exit status."},"headers":[],"relativePath":"reference/cli.md","filePath":"reference/cli.md"}'),s={name:"reference/cli.md"};function n(c,e,r,i,l,p){return o(),a("div",null,[...e[0]||(e[0]=[d(`<h1 id="agent-sdk-cli" tabindex="-1">Agent SDK CLI <a class="header-anchor" href="#agent-sdk-cli" aria-label="Permalink to &quot;Agent SDK CLI&quot;">​</a></h1><p>The Agent SDK is published as <code>@grok/agent-sdk</code> with the <code>agent-sdk</code> CLI.</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk &lt;command&gt;</span></span></code></pre></div><p>The command catalog below documents the <code>agent-sdk</code> binary from <code>@grok/agent-sdk</code>. Run it with Node 22.13 or newer; Bun is not supported. Commands exit nonzero when validation or a synchronous request fails; asynchronous commands can exit <code>0</code> once work is accepted. Project paths use the <a href="./project-layout.html">Agent SDK project layout</a>.</p><p>Install <code>@grok/agent-sdk</code> to obtain the binary. Bare <code>agent-sdk</code> prints the command index. <code>agent-sdk &lt;command&gt; --help</code> prints one command&#39;s help, <code>agent-sdk help --all</code> prints every command, and <code>agent-sdk help &lt;command&gt; --json</code> prints one command&#39;s arguments and flags as JSON.</p><p>The <code>bdk</code> command remains available.</p><p>Commands are named <code>agent-sdk &lt;resource&gt; &lt;verb&gt;</code>, such as <code>agent-sdk deployment list</code>, except for a few workflow verbs (<code>init</code>, <code>dev</code>, <code>run</code>, <code>eval</code>, <code>deploy</code>, and others). Older names, such as <code>agent-sdk deployments</code> or <code>agent-sdk secrets set</code>, still run for now. Each one prints the new form on stderr.</p><h2 id="command-catalog" tabindex="-1">Command catalog <a class="header-anchor" href="#command-catalog" aria-label="Permalink to &quot;Command catalog&quot;">​</a></h2><h3 id="development-commands" tabindex="-1">Development commands <a class="header-anchor" href="#development-commands" aria-label="Permalink to &quot;Development commands&quot;">​</a></h3><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><code>help</code>, <code>--help</code>, <code>-h</code></td><td>Print the command index, or one command&#39;s help</td></tr><tr><td><a href="#serve"><code>serve</code></a></td><td>Serve one or more agents over HTTP</td></tr><tr><td><a href="#dev"><code>dev</code></a></td><td>Serve agents with local-development behavior</td></tr><tr><td><a href="#docs"><code>docs</code></a></td><td>Serve the documentation bundled with <code>@grok/agent-sdk</code></td></tr><tr><td><a href="#init"><code>init</code></a></td><td>Scaffold an Agent SDK project, or convert an Automation</td></tr><tr><td><a href="#migrate"><code>migrate</code></a></td><td>Move an early-alpha project to architecture v2 through a pull request</td></tr><tr><td><a href="#skills-install"><code>skills list</code></a></td><td>List the bundled coding-agent skills and their installed versions</td></tr><tr><td><a href="#skills-install"><code>skills install</code></a></td><td>Refresh the bundled coding-agent skills</td></tr><tr><td><a href="#info"><code>info</code></a></td><td>Print the discovered project surface or its deployment manifest</td></tr><tr><td><a href="#validate"><code>validate</code></a></td><td>Check project diagnostics and set the exit status</td></tr><tr><td><a href="#version"><code>version</code></a></td><td>Print the installed package version</td></tr><tr><td><a href="#update"><code>update</code></a></td><td>Upgrade the installed CLI</td></tr><tr><td><a href="#login-logout-whoami"><code>login</code></a></td><td>Sign the host in to Cursor</td></tr><tr><td><a href="#login-logout-whoami"><code>logout</code></a></td><td>Remove the stored Cursor credential</td></tr><tr><td><a href="#login-logout-whoami"><code>whoami</code></a></td><td>Show the active Cursor credential</td></tr></tbody></table><h3 id="session-and-eval-commands" tabindex="-1">Session and eval commands <a class="header-anchor" href="#session-and-eval-commands" aria-label="Permalink to &quot;Session and eval commands&quot;">​</a></h3><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><a href="#chat"><code>chat</code></a></td><td>Talk to a running agent, or reattach a session</td></tr><tr><td><a href="#run"><code>run</code></a></td><td>Run turns on a local or running agent</td></tr><tr><td><a href="#tool-call"><code>tool call</code></a></td><td>Call a server tool without a model turn</td></tr><tr><td><a href="#logs"><code>logs</code></a></td><td>Follow or dump agent logs</td></tr><tr><td><a href="#session-list"><code>session list</code></a></td><td>List sessions, or their costs</td></tr><tr><td><a href="#session-get"><code>session get</code></a></td><td>Inspect a session or a saved trace, or open it in the playground</td></tr><tr><td><a href="#session-create"><code>session create</code></a></td><td>Start or continue a hosted session</td></tr><tr><td><a href="#eval"><code>eval</code></a></td><td>Run evals, or list, get, and cancel remote eval batches</td></tr></tbody></table><h3 id="managed-hosting-commands" tabindex="-1">Managed hosting commands <a class="header-anchor" href="#managed-hosting-commands" aria-label="Permalink to &quot;Managed hosting commands&quot;">​</a></h3><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><a href="#deploy"><code>deploy</code></a></td><td>Deploy one or more agents</td></tr><tr><td><a href="#deployment-list"><code>deployment list</code></a></td><td>List deployments</td></tr><tr><td><a href="#deployment-get"><code>deployment get</code></a></td><td>Inspect one deployment</td></tr><tr><td><a href="#deployment-stop"><code>deployment stop</code></a></td><td>Stop a deployment</td></tr><tr><td><a href="#deployment-start"><code>deployment start</code></a></td><td>Start a stopped deployment</td></tr><tr><td><a href="#deployment-kill"><code>deployment kill</code></a></td><td>Stop a deployment, cancel its runs, and lock deploys</td></tr><tr><td><a href="#deployment-unlock"><code>deployment unlock</code></a></td><td>Let a killed deployment deploy again</td></tr><tr><td><a href="#deployment-cancel-runs"><code>deployment cancel-runs</code></a></td><td>Cancel active runs and reminder wakes</td></tr><tr><td><a href="#deployment-update"><code>deployment update</code></a></td><td>Replace a deployment&#39;s event repositories</td></tr><tr><td><a href="#deployment-upgrade"><code>deployment upgrade</code></a></td><td>Move a deployment to a release</td></tr><tr><td><a href="#deployment-rollback"><code>deployment rollback</code></a></td><td>Move a deployment to an earlier release</td></tr><tr><td><a href="#deployment-delete"><code>deployment delete</code></a></td><td>Delete a deployment</td></tr><tr><td><a href="#deployment-rotate-token"><code>deployment rotate-token</code></a></td><td>Replace a deployment&#39;s alias token</td></tr><tr><td><a href="#secret"><code>secret</code></a></td><td>Set, list, or delete deployment secrets</td></tr><tr><td><a href="#image"><code>image</code></a></td><td>Push, list, or delete container images for persistent agents</td></tr></tbody></table><h3 id="connection-and-channel-commands" tabindex="-1">Connection and channel commands <a class="header-anchor" href="#connection-and-channel-commands" aria-label="Permalink to &quot;Connection and channel commands&quot;">​</a></h3><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><a href="#mcp"><code>mcp serve</code></a></td><td>Proxy an agent&#39;s MCP endpoint over stdio</td></tr><tr><td><a href="#mcp"><code>mcp install</code></a></td><td>Add the agent to an MCP client config</td></tr><tr><td><a href="#mcp-oauth"><code>mcp oauth</code></a></td><td>Authorize an MCP connection</td></tr><tr><td><a href="#slack"><code>slack</code></a></td><td>Provision and check Slack channel apps</td></tr><tr><td><a href="#github"><code>github</code></a></td><td>Forward, replay, and inspect GitHub webhooks</td></tr><tr><td><a href="#gitlab"><code>gitlab</code></a></td><td>Replay and inspect GitLab webhooks</td></tr><tr><td><a href="#bitbucket"><code>bitbucket</code></a></td><td>Replay and inspect Bitbucket webhooks</td></tr><tr><td><a href="#pagerduty"><code>pagerduty</code></a></td><td>Replay and inspect PagerDuty webhooks</td></tr></tbody></table><h2 id="choose-a-target" tabindex="-1">Targets <a class="header-anchor" href="#choose-a-target" aria-label="Permalink to &quot;Targets {#choose-a-target}&quot;">​</a></h2><p>Commands that send requests support these targets:</p><table tabindex="0"><thead><tr><th>Target</th><th>Selection</th><th>Commands</th></tr></thead><tbody><tr><td>Ephemeral local server</td><td>Omit <code>--url</code> and <code>--prod</code></td><td><code>run</code>, <code>tool call</code>, <code>eval</code></td></tr><tr><td>Running server</td><td>Pass <code>--url &lt;baseUrl&gt;</code></td><td><code>chat</code>, <code>run</code>, <code>tool call</code>, <code>eval</code>, <code>logs</code>, <code>session list</code>, <code>session get</code>, <code>mcp serve</code></td></tr><tr><td>Default local server</td><td>Omit <code>--url</code> and <code>--prod</code>; uses <code>http://127.0.0.1:3000</code></td><td><code>chat</code>, <code>logs</code>, <code>session list</code>, <code>session get</code></td></tr><tr><td>Hosted deployment</td><td>Pass <code>--prod</code></td><td><code>session list</code>, <code>session get</code>, <code>logs</code>; <code>session create</code> is always hosted</td></tr></tbody></table><p>An explicit <code>--url</code> must include the slug for a multi-agent server, such as <code>http://127.0.0.1:3000/pr-approver</code>. <code>--slug</code> never changes an explicit URL. <code>--url</code> and <code>--prod</code> are mutually exclusive.</p><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--dir &lt;path&gt;</code></td><td>Select the project root. The default is the current directory.</td></tr><tr><td><code>--url &lt;baseUrl&gt;</code></td><td>Use a running agent instead of local project discovery.</td></tr><tr><td><code>--prod</code></td><td>Use the hosted deployment. <code>session list</code>, <code>session get</code>, and <code>logs</code> accept it; <code>chat</code>, <code>run</code>, <code>tool call</code>, <code>mcp serve</code>, and <code>eval</code> exit with a usage error.</td></tr><tr><td><code>--slug &lt;slug&gt;</code></td><td>Select an agent from a multi-agent project or a hosted deployment. Under <code>--prod</code>, the default is the <code>--dir</code> basename.</td></tr><tr><td><code>--team &lt;id&gt;</code></td><td>Select a Cursor team. The signed-in account&#39;s team is the default.</td></tr><tr><td><code>--api-key &lt;key&gt;</code></td><td>Override the Cursor credential for commands that authenticate with Cursor.</td></tr><tr><td><code>--bearer-token &lt;token&gt;</code></td><td>Authenticate to a running server with a bearer token.</td></tr><tr><td><code>--state-root &lt;path&gt;</code></td><td>Select local state for <code>serve</code> and ephemeral <code>run</code>, <code>tool call</code>, and <code>eval</code> targets. Running and <code>--prod</code> targets ignore it.</td></tr><tr><td><code>--json</code></td><td>Print one JSON document on stdout, errors included (<code>{&quot;error&quot;:{&quot;code&quot;,&quot;message&quot;,&quot;hint&quot;}}</code>). Without it, output is text, also when piped. <code>agent-sdk help</code> lists the exit codes.</td></tr></tbody></table><h2 id="local-servers" tabindex="-1">Local servers <a class="header-anchor" href="#local-servers" aria-label="Permalink to &quot;Local servers&quot;">​</a></h2><h3 id="serve" tabindex="-1">Serve agents <a class="header-anchor" href="#serve" aria-label="Permalink to &quot;Serve agents {#serve}&quot;">​</a></h3><p><code>serve</code> mounts every project discovered under <code>--dir</code>:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk serve [--dir &lt;path&gt;] [--port &lt;n&gt;] [--host &lt;host&gt;]</span></span>
2
+ <span class="line"><span> [--mode multi|single] [--dev] [--api-key &lt;key&gt;]</span></span>
3
+ <span class="line"><span> [--state-root &lt;path&gt;]</span></span>
4
+ <span class="line"><span> [--bearer-token &lt;secret&gt; | --allow-anonymous]</span></span>
5
+ <span class="line"><span> [--allow-anonymous-cursor-github]</span></span>
6
+ <span class="line"><span> [--allow-anonymous-cursor-account-mcp]</span></span>
7
+ <span class="line"><span> [--public-url &lt;url&gt;]</span></span>
8
+ <span class="line"><span> [--peers-url &lt;url&gt;]</span></span>
9
+ <span class="line"><span> [--no-schedules] [--no-playground] [--no-docs]</span></span>
10
+ <span class="line"><span> [--cursor-events --repo &lt;owner/name&gt;]...</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--port &lt;n&gt;</code></td><td>Listen on this port. The default is <code>3000</code>; <code>0</code> selects an available port. When an omitted default is occupied, the CLI selects the next port. An occupied explicit port fails with a next-port hint.</td></tr><tr><td><code>--host &lt;host&gt;</code></td><td>Bind this host. The default is loopback-only <code>127.0.0.1</code>.</td></tr><tr><td><code>--mode multi</code></td><td>Mount projects at <code>/&lt;slug&gt;/v1/*</code> and <code>/&lt;slug&gt;/playground</code>, with an index at <code>/</code>. This is the default.</td></tr><tr><td><code>--mode single</code></td><td>Mount one project at <code>/v1/*</code> and <code>/playground</code>. Declared peers are omitted with a warning unless <code>--peers-url</code> is set.</td></tr><tr><td><code>--dev</code></td><td>Disable automatic schedule and reminder firing, admit unsigned loopback GitHub deliveries, and enable local playground access.</td></tr><tr><td><code>--state-root &lt;path&gt;</code></td><td>Store local sessions, streams, workspaces, and channel state here. Keep durable state outside a repository whose rules shouldn&#39;t reach agent workspaces.</td></tr><tr><td><code>--bearer-token &lt;secret&gt;</code></td><td>Require this token on routes without authored authentication. Mutually exclusive with <code>--allow-anonymous</code>.</td></tr><tr><td><code>--allow-anonymous</code></td><td>Admit callers as one anonymous principal. Use it only behind a trusted network boundary.</td></tr><tr><td><code>--allow-anonymous-cursor-github</code></td><td>Let anonymous callers use sessions with a Cursor account&#39;s repository-scoped GitHub credential. Requires an authenticating proxy.</td></tr><tr><td><code>--allow-anonymous-cursor-account-mcp</code></td><td>Let anonymous callers use Cursor account MCP connections. Requires an authenticating proxy.</td></tr><tr><td><code>--public-url &lt;url&gt;</code></td><td>Set the externally reachable base URL that turns running off the serve host use for peer MCP and host bridges. It does not expose the server; configure the listener or proxy separately. Local-runtime peers use loopback.</td></tr><tr><td><code>--peers-url &lt;url&gt;</code></td><td>Resolve declared peers for a single-agent serve through a hosting-provided peer service. Cursor-managed hosting sets this option automatically; a multi-agent serve rejects it.</td></tr><tr><td><code>--no-schedules</code></td><td>Disable schedule firing outside dev mode.</td></tr><tr><td><code>--no-playground</code></td><td>Skip the playground.</td></tr><tr><td><code>--no-docs</code></td><td>Skip the documentation site at <code>/docs</code>.</td></tr><tr><td><code>--cursor-events</code></td><td>Receive SCM events through Cursor. Requires sign-in and one or more repeatable <code>--repo owner/name</code> values.</td></tr></tbody></table><p>Multi-agent slugs start with a letter or digit and contain only letters, digits, <code>_</code>, or <code>-</code>. The reserved slugs are <code>v1</code>, <code>playground</code>, and <code>docs</code>.</p><h3 id="dev" tabindex="-1">Develop locally <a class="header-anchor" href="#dev" aria-label="Permalink to &quot;Develop locally {#dev}&quot;">​</a></h3><p><code>dev</code> is <code>serve --dev</code> with an optional positional project path:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk dev</span></span>
11
+ <span class="line"><span>agent-sdk dev ./bdk-pr-reviewer --port 3000</span></span></code></pre></div><p>It accepts every <code>serve</code> option. Pass at most one positional path, and don&#39;t combine it with a different <code>--dir</code>.</p><h3 id="docs" tabindex="-1">Serve the docs <a class="header-anchor" href="#docs" aria-label="Permalink to &quot;Serve the docs {#docs}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk docs [--port &lt;n&gt;] [--host 127.0.0.1] [--print]</span></span></code></pre></div><p><code>docs</code> serves the bundled documentation without an agent project. It uses an available loopback port by default and stays open until Ctrl-C. <code>--print</code> prints the URL without opening a browser.</p><h2 id="sessions-and-turns" tabindex="-1">Sessions and turns <a class="header-anchor" href="#sessions-and-turns" aria-label="Permalink to &quot;Sessions and turns&quot;">​</a></h2><h3 id="chat" tabindex="-1">Chat with an agent <a class="header-anchor" href="#chat" aria-label="Permalink to &quot;Chat with an agent {#chat}&quot;">​</a></h3><p><code>chat</code> connects to a running server and never starts an ephemeral one:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk chat [--url &lt;baseUrl&gt;] [--message &lt;text&gt;]</span></span>
12
+ <span class="line"><span> [--session &lt;id&gt; | --resume] [--continuation-token &lt;token&gt;]</span></span>
13
+ <span class="line"><span> [--slug &lt;slug&gt;] [--json] [--text] [--no-color]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Input mode</th><th>Behavior</th></tr></thead><tbody><tr><td>TTY without <code>--message</code></td><td>Open an interactive REPL.</td></tr><tr><td>TTY with <code>--message</code></td><td>Send the message, then keep the REPL open.</td></tr><tr><td>Non-TTY with <code>--message</code></td><td>Send one turn and exit.</td></tr><tr><td>Non-TTY without <code>--message</code></td><td>Read newline-delimited messages until EOF.</td></tr><tr><td><code>--json --message &lt;text&gt;</code></td><td>Send one turn and print <code>{ ok, sessionId, continuationToken, trajectory }</code>.</td></tr><tr><td><code>--json --text --message &lt;text&gt;</code></td><td>Print a compact trajectory instead of JSON.</td></tr></tbody></table><p>Use <code>--session &lt;id&gt;</code> to reattach a stored session and replay its transcript. If you omit <code>--continuation-token</code>, the CLI looks it up from the target&#39;s session list. <code>--resume</code> selects the most recently updated session with a continuation token. An explicit session ID takes precedence.</p><h3 id="run" tabindex="-1">Run turns <a class="header-anchor" href="#run" aria-label="Permalink to &quot;Run turns {#run}&quot;">​</a></h3><p><code>run</code> sends messages to an ephemeral local server or a running server:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk run [--dir &lt;path&gt;] [--message &lt;text&gt;]...</span></span>
14
+ <span class="line"><span> [--messages-file &lt;path&gt;] [--url &lt;baseUrl&gt;]</span></span>
15
+ <span class="line"><span> [--session &lt;id&gt;] [--continuation-token &lt;token&gt;]</span></span>
16
+ <span class="line"><span> [--trace &lt;file&gt; | --no-trace] [--json]</span></span>
17
+ <span class="line"><span> [--timeout-ms &lt;n&gt;] [--no-stream] [--slug &lt;slug&gt;] [--dry-run]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--message &lt;text&gt;</code></td><td>Send a user message. Repeat it for a multi-turn run.</td></tr><tr><td><code>--messages-file &lt;path&gt;</code></td><td>Read a JSON array of strings. File messages run before repeated <code>--message</code> values.</td></tr><tr><td><code>--session &lt;id&gt;</code></td><td>Continue a session on the target.</td></tr><tr><td><code>--continuation-token &lt;token&gt;</code></td><td>Continue the session selected by <code>--session</code> on a running server.</td></tr><tr><td><code>--trace &lt;file&gt;</code></td><td>Write the raw NDJSON stream to this path.</td></tr><tr><td><code>--no-trace</code></td><td>Skip the NDJSON trace.</td></tr><tr><td><code>--json</code></td><td>Print the JSON result instead of the compact trajectory.</td></tr><tr><td><code>--timeout-ms &lt;n&gt;</code></td><td>Stop waiting after a positive number of milliseconds. There is no default timeout.</td></tr><tr><td><code>--no-stream</code></td><td>Hide live tool and reply progress on stderr.</td></tr><tr><td><code>--dry-run</code></td><td>Send nothing. Print the request the run would send. A local run starts no server.</td></tr></tbody></table><p>Text output is the compact trajectory, with the session ID and trace path on stderr. <code>--json</code> output contains <code>ok</code>, <code>sessionId</code>, <code>continuationToken</code>, <code>trace</code>, <code>playgroundUrl</code>, <code>visualize</code>, and <code>trajectory</code>. The <code>trace</code> value gives the saved path when trace output is enabled.</p><p>For the hosted deployment, use <a href="#session-create"><code>session create</code></a>.</p><h3 id="tool-call" tabindex="-1">Call a tool <a class="header-anchor" href="#tool-call" aria-label="Permalink to &quot;Call a tool {#tool-call}&quot;">​</a></h3><p><code>tool call</code> invokes a server tool without a model turn:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk tool call &lt;tool&gt; [--input &lt;json&gt;]</span></span>
18
+ <span class="line"><span> [--dir &lt;path&gt; | --url &lt;baseUrl&gt;]</span></span>
19
+ <span class="line"><span> [--session &lt;id&gt;] [--slug &lt;slug&gt;] [--json]</span></span></code></pre></div><p><code>--input</code> accepts JSON and defaults to <code>{}</code>. <code>--session</code> uses the session workspace and records the call on its event stream. The command prints the tool result (a string as is, anything else as JSON). <code>--json</code> prints the server&#39;s full JSON response. The command succeeds only when the HTTP response succeeds with <code>ok: true</code>.</p><p>Hosted deployments don&#39;t support <code>tool call</code>. Start a model turn with <a href="#session-create"><code>session create</code></a> and check it with <a href="#session-get"><code>session get</code></a>.</p><p>See <a href="./tools.html#call-a-tool-without-a-model-turn">Tools</a> for validation, busy-session behavior, and error codes.</p><h3 id="session-list" tabindex="-1">List sessions <a class="header-anchor" href="#session-list" aria-label="Permalink to &quot;List sessions {#session-list}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk session list [--url &lt;baseUrl&gt; | --prod] [--since &lt;duration|instant&gt;]</span></span>
20
+ <span class="line"><span> [--view sessions|cost] [--slug &lt;slug&gt;] [--team &lt;id&gt;]</span></span>
21
+ <span class="line"><span> [--bearer-token &lt;token&gt;] [--limit &lt;n&gt;] [--page-token &lt;token&gt;] [--json]</span></span></code></pre></div><p>Text output shows the session ID, channel, mode, turn count, running status, and update time. <code>--json</code> prints <code>{ items, nextPageToken }</code>, including continuation tokens. <code>--limit</code> (default 20, at most 100) sets the page size, and <code>--page-token</code> reads the next page.</p><p>With <code>--prod</code>, <code>session list</code> lists the hosted deployment&#39;s most recently active sessions; <code>--since 24h</code> (or an ISO-8601 date or instant) reads back to that cutoff, up to <code>--limit</code> sessions. Check one with <a href="#session-get"><code>session get &lt;sessionId&gt; --prod</code></a>.</p><p><code>--view cost</code> prints token usage per session and a total from a running server. Turns saved before cost tracking appear as unpriced. <code>--json</code> prints <code>{ sessions }</code>. <code>--prod</code> doesn&#39;t support this view.</p><h3 id="session-get" tabindex="-1">Inspect a session <a class="header-anchor" href="#session-get" aria-label="Permalink to &quot;Inspect a session {#session-get}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk session get &lt;sessionId&gt; [--url &lt;baseUrl&gt; | --prod]</span></span>
22
+ <span class="line"><span> [--slug &lt;slug&gt;] [--team &lt;id&gt;]</span></span>
23
+ <span class="line"><span> [--view trajectory|events|cost] [--json [--fields &lt;a,b.c&gt;]]</span></span>
24
+ <span class="line"><span> [--trace &lt;file.ndjson&gt;] [--web [--print]]</span></span>
25
+ <span class="line"><span></span></span>
26
+ <span class="line"><span>agent-sdk session get --file &lt;file.ndjson&gt; [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td>No option</td><td>Print a compact trajectory.</td></tr><tr><td><code>--json</code></td><td>Print the trajectory object.</td></tr><tr><td><code>--view events</code></td><td>Print <code>{ sessionId, events }</code> with the raw event list. With <code>--prod</code>, each tool call is an <code>actions.requested</code> or <code>action.result</code> event. The tool name is <code>toolName</code>.</td></tr><tr><td><code>--view cost</code></td><td>Print per-turn token usage and estimated cost from a running server. <code>--prod</code> doesn&#39;t support it.</td></tr><tr><td><code>--trace &lt;file.ndjson&gt;</code></td><td>Write the raw NDJSON trace instead of printing it. Not available with <code>--prod</code>.</td></tr><tr><td><code>--file &lt;file.ndjson&gt;</code></td><td>Read a saved trace (for example from <code>run --trace</code>) instead of a server, and print its trajectory.</td></tr><tr><td><code>--web</code></td><td>Open the session in the playground, or the dashboard playground with <code>--prod</code>. <code>--print</code> prints the URL only. A running target with credentials that a browser can&#39;t send starts a loopback proxy and stays open until Ctrl-C.</td></tr></tbody></table><p>Use <a href="#chat"><code>chat --session</code></a> to continue a conversational session on a local or running server.</p><p>With <code>--prod</code>, the command prints the session&#39;s hosted executions: one line per run with its status, duration, and time, followed by that run&#39;s log lines. When the deployment stored process output, a <code>Process output:</code> section prints that output next. <code>--json</code> prints <code>{ sessionId, executions, startLog, ... }</code>. <code>startLog</code> is the process output, or <code>null</code> when none is stored. <code>--view events</code> prints <code>{ sessionId, events }</code>. <code>--trace</code> isn&#39;t available. While a turn is running, text output also reports the event count and latest event type and prints <code>Turn running; runs may lag behind events.</code> A run can show <code>running</code> with no logs until the turn ends, so a growing event count is the progress signal.</p><h3 id="session-create" tabindex="-1">Start a hosted session <a class="header-anchor" href="#session-create" aria-label="Permalink to &quot;Start a hosted session {#session-create}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk session create --message &lt;text&gt; [--session &lt;ses_...&gt;]</span></span>
27
+ <span class="line"><span> [--slug &lt;slug&gt;] [--team &lt;id&gt;] [--wait [--timeout-ms &lt;n&gt;]]</span></span>
28
+ <span class="line"><span> [--read-only] [--as-of &lt;instant&gt;] [--component &lt;key&gt;] [--dry-run] [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--message &lt;text&gt;</code></td><td>The message to send. Exactly one.</td></tr><tr><td><code>--session &lt;ses_...&gt;</code></td><td>Continue a hosted session that <code>session create</code> started. Slack, SCM, and custom-route sessions can&#39;t be continued this way.</td></tr><tr><td><code>--wait</code></td><td>Poll the delivery until it names the session, then print it. Exit <code>3</code> (<code>pending</code>) when <code>--timeout-ms</code> (default 120000) passes first. A skipped or failed delivery exits <code>1</code>.</td></tr><tr><td><code>--read-only</code></td><td>Run read tools and stub write tools.</td></tr><tr><td><code>--as-of &lt;instant&gt;</code></td><td>Freeze the session&#39;s clock at an ISO-8601 instant with a timezone, such as <code>2026-08-31T12:00:00Z</code>.</td></tr><tr><td><code>--component &lt;key&gt;</code></td><td>Wake a named component instead of the deployment&#39;s default. A continued session must belong to that component.</td></tr><tr><td><code>--dry-run</code></td><td>Send nothing. Print the request it would send.</td></tr></tbody></table><p>Without <code>--wait</code>, the command returns as soon as the deployment accepts the turn and exits <code>0</code> before the turn outcome is known. It prints the delivery ID, the session ID when known, and the session mode. <code>--json</code> prints <code>deliveryId</code>, <code>workflowId</code>, <code>sessionMode</code>, and <code>sessionId</code> when known, plus <code>dryRun</code> and <code>asOf</code> when set. A fresh start has no <code>sessionId</code> until the turn starts; a continuation echoes the <code>--session</code> value. See <a href="./../deployment.html#verify-a-hosted-turn">Verify a hosted turn</a>.</p><h3 id="logs" tabindex="-1">Follow logs <a class="header-anchor" href="#logs" aria-label="Permalink to &quot;Follow logs {#logs}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk logs [sessionId] [--url &lt;baseUrl&gt; | --prod]</span></span>
29
+ <span class="line"><span> [--session &lt;sessionId&gt;] [--slug &lt;slug&gt;] [--team &lt;id&gt;] [--once] [--json]</span></span></code></pre></div><p>The command follows logs until Ctrl-C. <code>--once</code> prints the current buffer and exits; <code>--json</code> emits newline-delimited JSON events. With <code>--prod</code>, it follows the output of the hosted deployment&#39;s most recent sessions on every channel and prints a <code>==&gt; &lt;sessionId&gt; (&lt;channel&gt;) &lt;==</code> header each time the output switches sessions. A persistent deployment also prints a <code>==&gt; process-output &lt;==</code> block. That block is the process log the dashboard shows for the deployment. Pass a session ID, as an argument or with <code>--session</code>, to follow only that session; a session ID requires <code>--prod</code>. The session view starts with <code>Process output:</code> for the deployment process log and <code>Session process output:</code> for that session&#39;s own process output, and a <code>tool &lt;name&gt;</code> line for each tool call. Hosted log events carry <code>sessionId</code> and <code>line</code> rather than <code>index</code> and <code>at</code>.</p><h2 id="evals" tabindex="-1">Evals <a class="header-anchor" href="#evals" aria-label="Permalink to &quot;Evals&quot;">​</a></h2><h3 id="eval" tabindex="-1">Run evals <a class="header-anchor" href="#eval" aria-label="Permalink to &quot;Run evals {#eval}&quot;">​</a></h3><p><code>eval</code> discovers <code>evals/**/*.eval.{ts,js}</code> and runs selected cases:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk eval [--dir &lt;path&gt;] [evalId...]</span></span>
30
+ <span class="line"><span> [--list] [--tag &lt;tag&gt;]... [--json] [--verbose]</span></span>
31
+ <span class="line"><span> [--timeout-ms &lt;n&gt;] [--strict] [--max-concurrency &lt;n&gt;]</span></span>
32
+ <span class="line"><span> [--junit &lt;path&gt;] [--artifacts &lt;dir&gt; | --no-artifacts]</span></span>
33
+ <span class="line"><span> [--skip-report] [--out &lt;file.json&gt;] [--no-stream]</span></span>
34
+ <span class="line"><span> [--url &lt;baseUrl&gt;] [--no-wait] [--slug &lt;slug&gt;]</span></span></code></pre></div><p>Select an exact case such as <code>weather/nyc</code>, a file prefix such as <code>weather</code>, several IDs, or no IDs for every case. Repeat <code>--tag</code> for OR matching. To run an eval whose ID is a subcommand word (<code>list</code>, <code>get</code>, <code>cancel</code>), put it after <code>--</code>, as in <code>agent-sdk eval -- list</code>. Projects must provide <code>evals/evals.config.{ts,js}</code> with <code>maxConcurrency</code> between 1 and 200.</p><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--list</code></td><td>List matching cases without running them. <code>--list --json</code> prints an array.</td></tr><tr><td><code>--tag &lt;tag&gt;</code></td><td>Select a tag. Repeat the option for OR matching.</td></tr><tr><td><code>--json</code></td><td>Print <code>{ ok, passed, failed, scored, skipped, strict, results }</code>.</td></tr><tr><td><code>--verbose</code></td><td>Stream <code>t.log</code> lines and reply snippets.</td></tr><tr><td><code>--no-stream</code></td><td>Hide live progress on stderr.</td></tr><tr><td><code>--strict</code></td><td>Treat a scored case below its soft threshold as a failure.</td></tr><tr><td><code>--max-concurrency &lt;n&gt;</code></td><td>Override <code>maxConcurrency</code> from the eval config for an ephemeral local run.</td></tr><tr><td><code>--timeout-ms &lt;n&gt;</code></td><td>Override the per-case timeout. A case timeout takes precedence, followed by this option, the config timeout, and the 180-second default.</td></tr><tr><td><code>--junit &lt;path&gt;</code></td><td>Write JUnit XML for an ephemeral local run.</td></tr><tr><td><code>--artifacts &lt;dir&gt;</code></td><td>Select the artifact directory for an ephemeral local run. The default is a timestamped directory under the project&#39;s state directory.</td></tr><tr><td><code>--no-artifacts</code></td><td>Skip artifacts for an ephemeral local run.</td></tr><tr><td><code>--skip-report</code></td><td>Ignore reporters from eval files and the eval config during an ephemeral local run.</td></tr><tr><td><code>--out &lt;file.json&gt;</code></td><td>Also write the full result JSON.</td></tr><tr><td><code>--no-wait</code></td><td>Return after a running server accepts the batch.</td></tr></tbody></table><p>A running server prints its Eval ID when it accepts the batch. Use these commands to inspect or cancel it:</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk eval list --url &lt;baseUrl&gt; [--limit &lt;n&gt;] [--page-token &lt;token&gt;]</span></span>
35
+ <span class="line"><span>agent-sdk eval get &lt;evalId&gt; --url &lt;baseUrl&gt; [--out &lt;file.json&gt;]</span></span>
36
+ <span class="line"><span>agent-sdk eval cancel &lt;evalId&gt; --url &lt;baseUrl&gt;</span></span></code></pre></div><p><code>eval list</code> lists recent remote runs. <code>eval get</code> exits <code>3</code> (<code>pending</code>) while the batch still runs. All three require <code>--url</code>.</p><h2 id="projects" tabindex="-1">Projects <a class="header-anchor" href="#projects" aria-label="Permalink to &quot;Projects&quot;">​</a></h2><h3 id="init" tabindex="-1">Scaffold a project <a class="header-anchor" href="#init" aria-label="Permalink to &quot;Scaffold a project {#init}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk init [directory] [--template &lt;name&gt;] [--var id=value]... [--json] [--dry-run]</span></span>
37
+ <span class="line"><span>agent-sdk init [directory] --from automation:&lt;url-or-uuid&gt; [--dry-run] [--json]</span></span></code></pre></div><p>Without a directory, <code>init</code> prints the setup guide and changes no files. With a directory, it preserves existing scaffold files, adds missing files, installs dependencies, and tries to put <code>agent-sdk</code> on <code>PATH</code>.</p><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--template &lt;name&gt;</code></td><td>Use a bundled template: <code>agentic-owners</code>, <code>agents-md</code>, <code>code-wiki</code>, <code>demo</code>, <code>security-help</code>, <code>security-reviewer</code>, <code>thermo-quality-review</code>, <code>thermo-review</code>, <code>triage-jira</code>, or <code>triage-linear</code>. <code>triage</code> selects <code>triage-linear</code>.</td></tr><tr><td><code>--var id=value</code></td><td>Answer a template question without a prompt. Repeat for multiple answers.</td></tr><tr><td><code>--json</code></td><td>Skip interactive login and skill prompts, then print <code>{ ok, directory, template, created, skipped, installed, installError, cliOnPath, cliLinkError, next }</code>. <code>ok</code> reflects dependency installation.</td></tr><tr><td><code>--dry-run</code></td><td>List the files <code>init</code> would create. Write and install nothing.</td></tr></tbody></table><p>On a TTY, templates with questions run their interview before writing files. <code>init</code> also offers to refresh the bundled coding-agent skills and starts login when the host has no Cursor credential.</p><p><code>--from grokbot:&lt;recipe.json&gt;</code> and <code>--from-grokbot &lt;recipe.json&gt;</code> exit with <code>Grok Bot import was removed.</code></p><h4 id="convert-automation" tabindex="-1">Convert an Automation <a class="header-anchor" href="#convert-automation" aria-label="Permalink to &quot;Convert an Automation {#convert-automation}&quot;">​</a></h4><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk init [directory] --from automation:&lt;url-or-uuid&gt; [--dry-run] [--json]</span></span></code></pre></div><p>The input can be a Cursor Automation dashboard URL or its UUID. The output directory defaults to <code>./&lt;automation-name&gt;</code>; a positional directory overrides it. Generated files don&#39;t overwrite existing paths, and missing scaffold files are added. The following <code>npm install</code> can update lockfiles and run lifecycle scripts from an existing <code>package.json</code>.</p><p><code>--json</code> prints <code>{ ok, directory, files, warnings, setupSteps, installed, installError, mcpConnections }</code>. Conversion warnings and dependency-install failures remain visible in this output without failing a completed file conversion. Invalid input, authentication, export, and file-write failures exit nonzero.</p><p>See <a href="./../guides/convert-automation.html">Convert a Cursor Automation</a> for the generated project and features that need manual review.</p><h3 id="migrate" tabindex="-1">Migrate an early-alpha project <a class="header-anchor" href="#migrate" aria-label="Permalink to &quot;Migrate an early-alpha project {#migrate}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk migrate [--dir &lt;path&gt;] [--repo &lt;https-url&gt;] [--ref &lt;git-ref&gt;]</span></span>
38
+ <span class="line"><span> [--path &lt;agent-path&gt;] [--no-wait] [--json] [--api-key &lt;key&gt;]</span></span></code></pre></div><p><code>migrate</code> applies only to projects deployed on architecture v1 during the Agent SDK early alpha. It reads a pushed Git ref, starts a Cursor cloud agent with the bundled <code>bdk-migrate-v2</code> skill, and opens a pull request with the source changes. The command waits for the pull request by default and never deploys the project or changes deployment secrets. When it starts an agent, it prints a checklist for the steps after the first deploy: deploy each agent folder, create the prod Slack app, unset peer URL secrets, and set secrets a new slug still needs.</p><p>The command prints <code>Nothing to migrate.</code> and exits 0 only when <code>--dir</code> shows no migration work. That check looks for a legacy early-alpha package dependency, <code>architecture: &quot;v1&quot;</code>, <code>bot/storage.ts</code> or <code>agent/storage.ts</code>, <code>runtime: &quot;grokbot&quot;</code>, a literal SCM credential, a <code>/v1</code> continuation selector, an anonymous reminder, and a <code>*_MCP_URL</code> peer connection. When any of those is present, or a project file cannot be read, the command starts the agent. It does not read the hosted deployment.</p><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--dir &lt;path&gt;</code></td><td>Select the local Agent SDK project. The default is the current directory.</td></tr><tr><td><code>--repo &lt;https-url&gt;</code></td><td>Select the source repository. The CLI infers the current checkout&#39;s origin when possible.</td></tr><tr><td><code>--ref &lt;git-ref&gt;</code></td><td>Select the pushed ref for the cloud agent. The CLI infers the current branch when possible.</td></tr><tr><td><code>--path &lt;agent-path&gt;</code></td><td>Select the project path relative to the repository root. The CLI infers it from <code>--dir</code> when possible.</td></tr><tr><td><code>--no-wait</code></td><td>Print the cloud agent URL and return after the agent starts.</td></tr><tr><td><code>--json</code></td><td>Print a report with <code>ok</code>, <code>status</code>, <code>agentId</code>, and the cloud agent <code>url</code>. A completed migration adds <code>prUrl</code> and <code>checklist</code>. A run with nothing to migrate uses <code>status: &quot;current&quot;</code> and <code>message</code> (no agent started) or <code>summary</code> (the agent reported it). A blocked or failed migration adds its explanation.</td></tr><tr><td><code>--api-key &lt;key&gt;</code></td><td>Override the Cursor credential.</td></tr></tbody></table><p>Credential resolution follows the normal order: <code>--api-key</code>, <code>CURSOR_API_KEY</code>, <code>CURSOR_API_KEY_FILE</code>, <code>CURSOR_SERVICE_ACCOUNT_KEY</code>, then the stored <code>agent-sdk login</code> credential. See <a href="./../guides/migrate.html">Migrate an early-alpha project</a> for detection, pull request review, and deployment cutover.</p><h3 id="skills-install" tabindex="-1">Install and list coding-agent skills <a class="header-anchor" href="#skills-install" aria-label="Permalink to &quot;Install and list coding-agent skills {#skills-install}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk skills install [--dry-run] [--json]</span></span></code></pre></div><p>The command replaces the installed Agent SDK skills with the package copy and removes stale bundled skills. <code>--dry-run</code> previews the change. <code>--json</code> prints <code>{ ok, dryRun, directory, firstInstall, skills, removed }</code>.</p><p>Package installation performs this copy. Run <code>agent-sdk skills install</code> when you need to refresh it.</p><p>Each installed <code>SKILL.md</code> records the package release in <code>metadata.version</code>.</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk skills list [--json [--fields &lt;a,b.c&gt;]] [--limit &lt;n&gt;] [--page-token &lt;token&gt;]</span></span></code></pre></div><p><code>skills list</code> prints each bundled skill and the version of its installed copy. <code>--json</code> prints <code>{ items, nextPageToken }</code>. Each item has <code>name</code>, <code>description</code>, <code>version</code>, <code>installedVersion</code>, and <code>path</code>. <code>installedVersion</code> is <code>null</code> when the skill is not installed, and <code>&quot;unknown&quot;</code> when the installed copy has no <code>metadata.version</code>. When <code>installedVersion</code> differs from <code>version</code>, run <code>agent-sdk skills install</code>.</p><p>The <code>bdk-cli</code> skill holds the rules for agents that run <code>agent-sdk</code>: <code>--json</code>, exit codes, <code>--fields</code>, <code>--dry-run</code>, <code>--yes</code>, secrets, and untrusted output.</p><h3 id="info" tabindex="-1">Inspect a project <a class="header-anchor" href="#info" aria-label="Permalink to &quot;Inspect a project {#info}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk info [--dir &lt;path&gt;] [--view info|manifest] [--json [--fields &lt;a,b.c&gt;]]</span></span></code></pre></div><p>Text output lists the model, instructions, tools, skills, extensions, connections, subagents, channels, schedules, hooks, hosting settings, and diagnostics. For one unslugged project, <code>--json</code> prints its project info object. For slugged or multi-agent discovery, it prints <code>{ agents }</code>.</p><p><code>--view manifest</code> validates one project and prints a summary of its deployment metadata without a network request. <code>--json</code> then prints the full manifest JSON.</p><h3 id="validate" tabindex="-1">Validate a project <a class="header-anchor" href="#validate" aria-label="Permalink to &quot;Validate a project {#validate}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk validate [--dir &lt;path&gt;]</span></span></code></pre></div><p><code>validate</code> prints every discovered project&#39;s diagnostics and exits nonzero when any diagnostic has error severity. Use it instead of <code>info --json</code> when a script needs validation status.</p><p>Hosting checks run here too. On architecture v2 (the default), a <code>githubChannel</code> credential or a GitLab or Bitbucket <code>webhookSecret</code> written as a literal or a <code>() =&gt; process.env.NAME</code> getter is an error whose message quotes the <code>{ secretName: &quot;NAME&quot; }</code> form to use instead. A project that still sets <code>architecture: &quot;v1&quot;</code> gets the same finding as a warning, so run <code>validate</code> before removing the pin to list what the migration must rename.</p><h2 id="credentials-and-versions" tabindex="-1">Credentials and versions <a class="header-anchor" href="#credentials-and-versions" aria-label="Permalink to &quot;Credentials and versions&quot;">​</a></h2><h3 id="login-logout-whoami" tabindex="-1">Manage credentials <a class="header-anchor" href="#login-logout-whoami" aria-label="Permalink to &quot;Manage credentials {#login-logout-whoami}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk login [--api-key &lt;key&gt;] [--key-name &lt;name&gt;]</span></span>
39
+ <span class="line"><span>agent-sdk whoami [--json]</span></span>
40
+ <span class="line"><span>agent-sdk logout</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><code>login</code></td><td>Use a supplied API key, or open browser sign-in and store the resulting dashboard-revocable key in the CLI config directory. <code>--key-name</code> labels a browser-created key.</td></tr><tr><td><code>whoami</code></td><td>Show the active credential and its source. <code>--json</code> returns the same identity as JSON.</td></tr><tr><td><code>logout</code></td><td>Remove the stored credential file. It doesn&#39;t revoke the API key; revoke the key in the Cursor dashboard.</td></tr></tbody></table><h3 id="version" tabindex="-1">Print the version <a class="header-anchor" href="#version" aria-label="Permalink to &quot;Print the version {#version}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk version [--json]</span></span>
41
+ <span class="line"><span>agent-sdk --version</span></span>
42
+ <span class="line"><span>agent-sdk -V</span></span></code></pre></div><p>Text output is the version number. <code>--json</code> prints <code>{ name, version }</code>.</p><h3 id="update" tabindex="-1">Update the CLI <a class="header-anchor" href="#update" aria-label="Permalink to &quot;Update the CLI {#update}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk update</span></span></code></pre></div><p><code>update</code> checks npm&#39;s <code>latest</code> tag and upgrades a recognized global or project install with its package manager. If it can&#39;t identify an installed copy, it prints a manual upgrade command instead.</p><p>Published installs check for updates at most once every 24 hours. Set <code>AGENT_SERVE_NO_UPDATE_CHECK</code>, <code>NO_UPDATE_NOTIFIER</code>, or <code>CI</code> to disable the automatic warning.</p><h2 id="managed-hosting" tabindex="-1">Managed hosting <a class="header-anchor" href="#managed-hosting" aria-label="Permalink to &quot;Managed hosting&quot;">​</a></h2><p>Every command here that changes a deployment takes <code>--dry-run</code>. It runs the reads (sign-in, team, and deployment checks), then stops at the first request that would change state and prints that request, with secret values redacted. Nothing is sent, and the command exits <code>0</code>.</p><p><code>deployment kill</code>, <code>deployment cancel-runs</code>, <code>deployment delete</code>, <code>deployment rotate-token</code>, <code>secret delete</code>, <code>image delete</code>, and <code>slack destroy</code> cannot be undone. On a terminal they ask you to type the slug or name. Without a terminal, as when an agent runs them, they exit <code>2</code> unless you pass <code>--yes</code>.</p><h3 id="deploy" tabindex="-1">Deploy agents <a class="header-anchor" href="#deploy" aria-label="Permalink to &quot;Deploy agents {#deploy}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deploy [--dir &lt;path&gt;] [--slug &lt;slug&gt; | --all] [--team &lt;id&gt;]</span></span>
43
+ <span class="line"><span> [--repo &lt;https-url&gt;] [--ref &lt;git-ref&gt;] [--path &lt;agent-path&gt;]</span></span>
44
+ <span class="line"><span> [--cursor-events-repo &lt;repo&gt;]... [--no-wait] [--json]</span></span></code></pre></div><p>Managed hosting requires a team with agent hosting enabled. A team service-account API key with agent access can deploy.</p><table tabindex="0"><thead><tr><th>Option</th><th>Contract</th></tr></thead><tbody><tr><td><code>--slug &lt;slug&gt;</code></td><td>Select one project and set its deployment slug. Under a folder of several agents, this deploys that one agent.</td></tr><tr><td><code>--all</code></td><td>Deploy every child under a folder of several agents. For a folder of v2 agents, print one deploy command for each agent.</td></tr><tr><td><code>--team &lt;id&gt;</code></td><td>Select the Cursor team.</td></tr><tr><td><code>--repo &lt;https-url&gt;</code></td><td>Set the source repository. The CLI infers it from the current checkout when possible. HTTPS is required.</td></tr><tr><td><code>--ref &lt;git-ref&gt;</code></td><td>Set the source Git ref. The CLI infers the current branch when possible.</td></tr><tr><td><code>--path &lt;agent-path&gt;</code></td><td>Set the project path relative to the repository root.</td></tr><tr><td><code>--cursor-events-repo &lt;repo&gt;</code></td><td>Watch a repository&#39;s Cursor events. Write <code>owner/name</code> for GitHub and Origin, <code>gitlab.com/&lt;group&gt;/&lt;project&gt;</code> for GitLab (subgroups allowed), or <code>bitbucket.org/&lt;workspace&gt;/&lt;repo&gt;</code> for Bitbucket. Repeat the flag for each repository; the repositories you pass replace the previous list. Without the flag, the deployment watches its GitHub source repository.</td></tr><tr><td><code>--no-wait</code></td><td>Return after the deployment request is accepted.</td></tr><tr><td><code>--json</code></td><td>Print one object for one target or an array for multiple targets.</td></tr></tbody></table><p>Deployment slugs contain lowercase letters, digits, <code>_</code>, or <code>-</code>, start with a letter or digit, and have at most 64 characters. Egress entries are lowercase hostnames with an alphabetic top-level domain; one leading <code>*.</code> wildcard is allowed, or a trailing <code>:port</code> for a protocol that is not HTTPS, with at most 64 entries.</p><p>By default, <code>deploy</code> waits until the deployment is running and exits nonzero if it reaches a failed state. A first deployment can return an alias token once. Store it as a secret and send it as <code>X-Agent-Alias-Token</code> when calling the stable alias URL.</p><p>When the team egress policy blocks a host, <code>deploy</code> exits nonzero and prints <code>Error: agent-sdk deploy blocked.</code> The message names each blocked host, the team egress mode, and two fixes: add the hosts to the team egress list, or remove them from <code>hosting.egressDomains</code> and deploy again. The running bot does not change.</p><p>An agent that sets <code>architecture: &quot;v1&quot;</code> does not deploy: <code>deploy</code> exits nonzero and tells you to run <a href="#migrate"><code>migrate</code></a> first.</p><h3 id="deployment-list" tabindex="-1">List deployments <a class="header-anchor" href="#deployment-list" aria-label="Permalink to &quot;List deployments {#deployment-list}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment list [--team &lt;id&gt;] [--limit &lt;n&gt;] [--page-token &lt;token&gt;]</span></span>
45
+ <span class="line"><span> [--json [--fields &lt;a,b.c&gt;]]</span></span></code></pre></div><p>Text output shows slug, status, and update time. <code>--json</code> prints <code>{ items, nextPageToken }</code>. <code>--limit</code> (default 20, at most 100) sets the page size, and <code>--page-token</code> reads the next page. An empty list succeeds.</p><h3 id="deployment-get" tabindex="-1">Inspect a deployment <a class="header-anchor" href="#deployment-get" aria-label="Permalink to &quot;Inspect a deployment {#deployment-get}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment get &lt;slug&gt; [--team &lt;id&gt;] [--json [--fields &lt;a,b.c&gt;]] [--web]</span></span></code></pre></div><p>Text output includes status, release, watched repositories, routes, secret names, and the latest error. <code>--web</code> opens the deployment&#39;s page in the dashboard. A deployment still on architecture v1 shows its status with <code>architecture: v1</code> and the <a href="#migrate"><code>migrate</code></a> steps; <code>deployment stop</code> and <code>deployment delete</code> also still accept it.</p><h3 id="deployment-stop" tabindex="-1">Stop a deployment <a class="header-anchor" href="#deployment-stop" aria-label="Permalink to &quot;Stop a deployment {#deployment-stop}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment stop &lt;slug&gt; [--team &lt;id&gt;] [--no-wait] [--cancel-runs] [--json]</span></span></code></pre></div><p>The command waits for <code>stopped</code> by default. <code>--no-wait</code> returns after the request is accepted. <code>--cancel-runs</code> also requests cancellation of active runs and reminder wakes.</p><h3 id="deployment-start" tabindex="-1">Start a deployment <a class="header-anchor" href="#deployment-start" aria-label="Permalink to &quot;Start a deployment {#deployment-start}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment start &lt;slug&gt; [--team &lt;id&gt;] [--json]</span></span></code></pre></div><p><code>deployment start</code> resumes a stopped deployment. It doesn&#39;t remove the deploy lock that <a href="#deployment-kill"><code>deployment kill</code></a> sets.</p><h3 id="deployment-kill" tabindex="-1">Kill a deployment <a class="header-anchor" href="#deployment-kill" aria-label="Permalink to &quot;Kill a deployment {#deployment-kill}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment kill &lt;slug&gt; [--team &lt;id&gt;] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p>Use <code>deployment kill</code> in an emergency. It locks deploys of the slug, stops the deployment, and requests cancellation of its active runs and reminder wakes. To bring the deployment back, run <a href="#deployment-unlock"><code>deployment unlock</code></a> and then <a href="#deployment-start"><code>deployment start</code></a>.</p><h3 id="deployment-unlock" tabindex="-1">Unlock deploys <a class="header-anchor" href="#deployment-unlock" aria-label="Permalink to &quot;Unlock deploys {#deployment-unlock}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment unlock &lt;slug&gt; [--team &lt;id&gt;] [--json]</span></span></code></pre></div><p><code>deployment unlock</code> removes the lock that <code>deployment kill</code> sets, so <code>deploy</code>, <code>deployment upgrade</code>, and <code>deployment rollback</code> work for the slug again. It doesn&#39;t resume traffic; run <code>deployment start</code> for that.</p><h3 id="deployment-cancel-runs" tabindex="-1">Cancel active runs <a class="header-anchor" href="#deployment-cancel-runs" aria-label="Permalink to &quot;Cancel active runs {#deployment-cancel-runs}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment cancel-runs &lt;slug&gt; [--team &lt;id&gt;] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p>The command requests cancellation for a deployment&#39;s active runs and reminder wakes. It exits nonzero if any cancellation request fails to start.</p><h3 id="deployment-update" tabindex="-1">Replace event repositories <a class="header-anchor" href="#deployment-update" aria-label="Permalink to &quot;Replace event repositories {#deployment-update}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment update &lt;slug&gt; (--event-repo &lt;owner/name&gt;... | --no-event-repos)</span></span>
46
+ <span class="line"><span> [--team &lt;id&gt;] [--dry-run] [--json]</span></span></code></pre></div><p>The supplied repositories replace the deployment&#39;s complete event repository list; they aren&#39;t merged with the previous list. <code>--no-event-repos</code> clears the list.</p><h3 id="deployment-upgrade" tabindex="-1">Upgrade a deployment <a class="header-anchor" href="#deployment-upgrade" aria-label="Permalink to &quot;Upgrade a deployment {#deployment-upgrade}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment upgrade &lt;slug&gt; [--release &lt;id-or-version&gt;]</span></span>
47
+ <span class="line"><span> [--team &lt;id&gt;] [--json]</span></span></code></pre></div><p><code>--release</code> accepts a release ID or version. Omit it to select the newest ready release. <code>--json</code> prints <code>{ releaseId }</code>.</p><h3 id="deployment-rollback" tabindex="-1">Roll back a deployment <a class="header-anchor" href="#deployment-rollback" aria-label="Permalink to &quot;Roll back a deployment {#deployment-rollback}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment rollback &lt;slug&gt; [--release &lt;id-or-version&gt;]</span></span>
48
+ <span class="line"><span> [--team &lt;id&gt;] [--json]</span></span></code></pre></div><p><code>deployment rollback</code> moves the deployment to an earlier ready release without building a new one. Omit <code>--release</code> to select the release before the current one. <code>--json</code> prints <code>{ releaseId }</code>.</p><h3 id="deployment-delete" tabindex="-1">Delete a deployment <a class="header-anchor" href="#deployment-delete" aria-label="Permalink to &quot;Delete a deployment {#deployment-delete}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment delete &lt;slug&gt; [--team &lt;id&gt;] [--no-wait] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p><code>deployment delete</code> removes the deployment and frees its slug. It waits until the deployment is gone unless <code>--no-wait</code> is set.</p><h3 id="deployment-rotate-token" tabindex="-1">Rotate an alias token <a class="header-anchor" href="#deployment-rotate-token" aria-label="Permalink to &quot;Rotate an alias token {#deployment-rotate-token}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk deployment rotate-token &lt;slug&gt; [--team &lt;id&gt;] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p>The old token stops working immediately. The replacement appears once; <code>--json</code> prints <code>{ aliasToken }</code>.</p><h3 id="secret" tabindex="-1">Manage deployment secrets <a class="header-anchor" href="#secret" aria-label="Permalink to &quot;Manage deployment secrets {#secret}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk secret set &lt;slug&gt; NAME [NAME2 ...]</span></span>
49
+ <span class="line"><span> [--team &lt;id&gt;] [--from-argv] [--json]</span></span>
50
+ <span class="line"><span>agent-sdk secret list &lt;slug&gt; [--team &lt;id&gt;] [--limit &lt;n&gt;] [--page-token &lt;token&gt;] [--json]</span></span>
51
+ <span class="line"><span>agent-sdk secret delete &lt;slug&gt; NAME [--team &lt;id&gt;] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p>Pass secret names to <code>set</code>. On a TTY, the CLI prompts for a hidden value and ends that value at the first newline. With one name, redirected stdin is the whole value and one trailing newline is removed, so a PEM private key keeps its line breaks:</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent-sdk</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> secret</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> set</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> my-bot</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> GITHUB_APP_PRIVATE_KEY</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &lt;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ./app.private-key.pem</span></span></code></pre></div><p>With several names, provide one line per name. <code>set</code> rejects <code>NAME=VALUE</code> on the command line unless <code>--from-argv</code> is set, because those values can enter shell history and captured terminals.</p><p>Names use <code>UPPER_SNAKE_CASE</code>, start with a letter, and contain at most 64 characters. Names beginning with <code>CURSOR_</code> are reserved. Values contain at most 4096 bytes, and each deployment holds at most 32 secrets.</p><p><code>list</code> returns names and creation times, never values. JSON output is <code>{ secretNames }</code> for <code>set</code>, <code>{ items, nextPageToken }</code> for <code>list</code>, and <code>{ removed }</code> for <code>delete</code>. Changes are available to subsequent hosted work.</p><h3 id="image" tabindex="-1">Manage container images <a class="header-anchor" href="#image" aria-label="Permalink to &quot;Manage container images {#image}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk image push &lt;local-image&gt; --name &lt;name&gt; [--team &lt;id&gt;] [--json]</span></span>
52
+ <span class="line"><span>agent-sdk image list [--team &lt;id&gt;] [--limit &lt;n&gt;] [--page-token &lt;token&gt;] [--json]</span></span>
53
+ <span class="line"><span>agent-sdk image delete &lt;name&gt; [--team &lt;id&gt;] [--yes] [--dry-run] [--json]</span></span></code></pre></div><p>A persistent agent can run inside a container image that your team pushes and names in <code>hosting.image</code>. <code>push</code> needs Docker on your machine. It checks the local image first: the image must be <code>linux/amd64</code> and have <code>bash</code>, <code>git</code>, <code>node</code> 22.13 or newer, and <code>npm</code> on <code>PATH</code>. The command then compresses the image and uploads it under <code>--name</code>.</p><p><code>list</code> shows the team&#39;s images and how many the team can keep (<code>--json</code>: <code>{ items, nextPageToken, teamImageLimit }</code>), and <code>delete</code> deletes one image. A deploy pins the image it uses, so after you push a new image under the same name, deploy again to pick it up.</p><h2 id="mcp-connections" tabindex="-1">MCP connections <a class="header-anchor" href="#mcp-connections" aria-label="Permalink to &quot;MCP connections&quot;">​</a></h2><h3 id="mcp" tabindex="-1">Connect an MCP client <a class="header-anchor" href="#mcp" aria-label="Permalink to &quot;Connect an MCP client {#mcp}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk mcp serve --url &lt;baseUrl&gt; [--bearer-token &lt;token&gt;]</span></span>
54
+ <span class="line"><span></span></span>
55
+ <span class="line"><span>agent-sdk mcp install --url &lt;baseUrl&gt; [--bearer-token &lt;token&gt;]</span></span>
56
+ <span class="line"><span> [--name &lt;server-name&gt;] [--dry-run] [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Command</th><th>Contract</th></tr></thead><tbody><tr><td><code>mcp serve</code></td><td>Read newline-delimited JSON-RPC from stdin and proxy it to the selected agent&#39;s MCP endpoint. stdout is reserved for MCP messages. A target is required.</td></tr><tr><td><code>mcp install</code></td><td>Add the selected agent to <code>~/.cursor/mcp.json</code>. The entry runs <code>agent-sdk mcp</code>, which older CLI versions also understand. <code>--name</code> sets the server name, <code>--dry-run</code> previews the entry, and <code>--json</code> prints a machine-readable result. A <code>--url</code> entry with <code>--bearer-token</code> contains that token; handle printed and written copies as credentials.</td></tr></tbody></table><p>Hosted deployments don&#39;t support <code>mcp serve</code> or <code>mcp install</code>; both exit with a usage error when you pass <code>--prod</code>.</p><h3 id="mcp-oauth" tabindex="-1">Authorize MCP OAuth <a class="header-anchor" href="#mcp-oauth" aria-label="Permalink to &quot;Authorize MCP OAuth {#mcp-oauth}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk mcp oauth &lt;connection&gt; [--dir &lt;path&gt;]</span></span>
57
+ <span class="line"><span> [--slug &lt;slug&gt;] [--team &lt;id&gt;]</span></span></code></pre></div><p><code>&lt;connection&gt;</code> is the basename under <code>bot/mcp-connections/</code> or <code>bot/host-connections/</code>.</p><table tabindex="0"><thead><tr><th>Connection</th><th>Result</th></tr></thead><tbody><tr><td><code>defineConnection({ url, oauth: true })</code></td><td>Open a browser PKCE flow and save tokens in <code>mcp-auth.json</code> under the CLI config directory.</td></tr><tr><td><code>defineConnection({ cursorAccount: true })</code></td><td>Exits nonzero and points at the cursor.com dashboard, where you authorize the deployment&#39;s connectors.</td></tr></tbody></table><p>URL-connection tokens are bound to the resource URL; authorize again after changing it.</p><p>See <a href="./../guides/mcp-oauth.html">Host MCP OAuth</a> for the full setup flow.</p><h2 id="channel-helpers" tabindex="-1">Channel helpers <a class="header-anchor" href="#channel-helpers" aria-label="Permalink to &quot;Channel helpers&quot;">​</a></h2><h3 id="slack" tabindex="-1">Configure Slack <a class="header-anchor" href="#slack" aria-label="Permalink to &quot;Configure Slack {#slack}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk slack setup</span></span>
58
+ <span class="line"><span>agent-sdk slack create [--dir &lt;path&gt;] [--name &lt;name&gt;] [--env prod]</span></span>
59
+ <span class="line"><span> [--slack-team &lt;id&gt;] [--team &lt;id&gt;] [--icon &lt;url-or-file&gt;]</span></span>
60
+ <span class="line"><span> [--prefix &lt;prefix&gt; | --no-prefix] [--channel-posts] [--json]</span></span>
61
+ <span class="line"><span>agent-sdk slack destroy [--dir &lt;path&gt;] [--env prod] [--yes] [--dry-run]</span></span>
62
+ <span class="line"><span> [--slack-team &lt;id&gt;] [--team &lt;id&gt;] [--json]</span></span>
63
+ <span class="line"><span>agent-sdk slack icon &lt;url-or-file&gt; [--dir &lt;path&gt;] [--env prod]</span></span>
64
+ <span class="line"><span> [--slack-team &lt;id&gt;] [--team &lt;id&gt;] [--json]</span></span>
65
+ <span class="line"><span>agent-sdk slack init --manual [--dir &lt;path&gt;] [--name &lt;name&gt;]</span></span>
66
+ <span class="line"><span> [--prefix &lt;prefix&gt; | --no-prefix] [--channel-posts]</span></span>
67
+ <span class="line"><span> [--install | --no-install] [--slack-team &lt;id&gt;] [--env dev|prod]</span></span>
68
+ <span class="line"><span>agent-sdk slack manifest [--dir &lt;path&gt;] [--name &lt;name&gt;]</span></span>
69
+ <span class="line"><span> [--env dev|prod|both] [--channel-posts] [--dry-run]</span></span>
70
+ <span class="line"><span>agent-sdk slack doctor [--dir &lt;path&gt;]</span></span>
71
+ <span class="line"><span> [--prefix &lt;prefix&gt; | --no-prefix] [--channel &lt;id&gt;]... [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Subcommand</th><th>Contract</th></tr></thead><tbody><tr><td><code>setup</code></td><td>Print the setup choices without changing files.</td></tr><tr><td><code>create</code></td><td>Open the signed-in Cursor dashboard wizard, write the resulting token pair to <code>.env.local</code>, and run <code>doctor</code>. The development app is the default; <code>--env prod</code> selects production. A second create overwrites the live app manifest.</td></tr><tr><td><code>destroy</code></td><td>Delete the provisioned app. Existing local token entries remain but stop working.</td></tr><tr><td><code>icon</code></td><td>Set an HTTPS or local PNG, JPG, or GIF icon of at most 512 KB.</td></tr><tr><td><code>init --manual</code></td><td>Write the channel, manifests, Slack CLI project, and setup files for a manually managed app.</td></tr><tr><td><code>manifest</code></td><td>Generate Slack manifests. <code>--env</code> defaults to <code>both</code>; with <code>--dry-run</code>, select one environment when you need one JSON document.</td></tr><tr><td><code>doctor</code></td><td>Check both tokens, Socket Mode connectivity, Slack authentication, and any repeatable <code>--channel</code> values.</td></tr></tbody></table><p>The default token prefix is the project directory name normalized to upper snake case. <code>--no-prefix</code> uses <code>SLACK_BOT_TOKEN</code> and <code>SLACK_APP_TOKEN</code>. Channel-post subscriptions are off by default; <code>--channel-posts</code> adds message events for public and private channels as required by <code>engagement.channelPosts</code>. Multi-agent servers need one token pair per agent.</p><p>See <a href="./../guides/slack.html">Slack</a> for app consent and manual setup.</p><h3 id="github" tabindex="-1">Test GitHub webhooks <a class="header-anchor" href="#github" aria-label="Permalink to &quot;Test GitHub webhooks {#github}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk github forward [--dir &lt;path&gt;] [--slug &lt;slug&gt;] [--channel &lt;id&gt;]</span></span>
72
+ <span class="line"><span> [--repo owner/repo | --org &lt;org&gt;] [--events a,b,c]</span></span>
73
+ <span class="line"><span> [--url &lt;url&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span>
74
+ <span class="line"><span> [--secret &lt;secret&gt;] [--install]</span></span>
75
+ <span class="line"><span>agent-sdk github replay &lt;pr-url-or-owner/repo#N&gt;</span></span>
76
+ <span class="line"><span> [--events a,b,c | &#39;*&#39;] [--action &lt;action&gt;] [--conclusion &lt;result&gt;]</span></span>
77
+ <span class="line"><span> [--comment &lt;body&gt;] [--context &lt;name&gt;] [--dir &lt;path&gt;]</span></span>
78
+ <span class="line"><span> [--slug &lt;slug&gt;] [--channel &lt;id&gt;] [--url &lt;url&gt;]</span></span>
79
+ <span class="line"><span> [--secret &lt;secret&gt;] [--dry-run] [--fixtures-dir &lt;dir&gt;] [--json]</span></span>
80
+ <span class="line"><span>agent-sdk github events [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;] [--json]</span></span>
81
+ <span class="line"><span>agent-sdk github doctor [--install] [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Subcommand</th><th>Contract</th></tr></thead><tbody><tr><td><code>forward</code></td><td>Forward live deliveries with <code>gh webhook forward</code>. The CLI derives URLs and events from discovered channels and can fan out to several matches.</td></tr><tr><td><code>replay</code></td><td>Read a pull request, synthesize selected webhook payloads, and post them to matching channels. The default event is <code>pull_request</code>; <code>&#39;*&#39;</code> selects the channel&#39;s supported declared events.</td></tr><tr><td><code>events</code></td><td>List discovered channel URLs and event sets. No channels is a successful empty result.</td></tr><tr><td><code>doctor</code></td><td>Check the GitHub CLI, its login, and the pinned webhook extension. <code>--install</code> installs or repairs the extension.</td></tr></tbody></table><p>Replay supports <code>pull_request</code>, <code>issue_comment</code>, <code>pull_request_review_comment</code>, <code>check_run</code>, <code>check_suite</code>, <code>workflow_run</code>, and <code>status</code>. <code>--dry-run</code> prints without posting. <code>--fixtures-dir</code> writes fixtures and still posts unless combined with <code>--dry-run</code>.</p><p>Forwarding requires repository admin access, or organization owner access for <code>--org</code>. It uses the GitHub CLI&#39;s stored login; unset <code>GITHUB_TOKEN</code> and <code>GH_TOKEN</code> before forwarding. Replay needs only pull-request read access.</p><p>See <a href="./../guides/github.html">GitHub</a> for channel setup and live delivery.</p><h3 id="gitlab" tabindex="-1">Test GitLab webhooks <a class="header-anchor" href="#gitlab" aria-label="Permalink to &quot;Test GitLab webhooks {#gitlab}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk gitlab replay &lt;mr-url-or-group/project!N&gt;</span></span>
82
+ <span class="line"><span> [--events a,b,c | &#39;*&#39;] [--action &lt;action&gt;]</span></span>
83
+ <span class="line"><span> [--conclusion &lt;status&gt;] [--comment &lt;body&gt;]</span></span>
84
+ <span class="line"><span> [--dir &lt;path&gt;] [--slug &lt;slug&gt;] [--channel &lt;id&gt;]</span></span>
85
+ <span class="line"><span> [--url &lt;url&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span>
86
+ <span class="line"><span> [--secret &lt;secret&gt;] [--dry-run] [--fixtures-dir &lt;dir&gt;] [--json]</span></span>
87
+ <span class="line"><span>agent-sdk gitlab events [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;] [--json]</span></span>
88
+ <span class="line"><span>agent-sdk gitlab forward [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Subcommand</th><th>Contract</th></tr></thead><tbody><tr><td><code>replay</code></td><td>Read a merge request, synthesize selected webhook payloads, and post them to matching channels. The default event is <code>merge_request</code>; <code>&#39;*&#39;</code> selects the channel&#39;s declared events.</td></tr><tr><td><code>events</code></td><td>List discovered GitLab channel URLs and object kinds.</td></tr><tr><td><code>forward</code></td><td>Print the public-hook and tunnel recipe for live deliveries.</td></tr></tbody></table><p>Replay supports <code>merge_request</code>, <code>note</code>, <code>pipeline</code>, and <code>push</code>. It requires <code>GITLAB_TOKEN</code> with project read access. <code>--secret</code> defaults to <code>GITLAB_WEBHOOK_SECRET</code>; <code>--dry-run</code> and <code>--fixtures-dir</code> follow the GitHub replay contract.</p><p>See <a href="./../guides/gitlab.html">GitLab</a> for channel setup and self-managed hosts.</p><h3 id="bitbucket" tabindex="-1">Test Bitbucket webhooks <a class="header-anchor" href="#bitbucket" aria-label="Permalink to &quot;Test Bitbucket webhooks {#bitbucket}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk bitbucket replay &lt;pr-url-or-workspace/repo#N&gt;</span></span>
89
+ <span class="line"><span> [--events a,b,c | &#39;*&#39;] [--comment &lt;body&gt;]</span></span>
90
+ <span class="line"><span> [--dir &lt;path&gt;] [--slug &lt;slug&gt;] [--channel &lt;id&gt;]</span></span>
91
+ <span class="line"><span> [--url &lt;url&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span>
92
+ <span class="line"><span> [--secret &lt;secret&gt;] [--dry-run] [--fixtures-dir &lt;dir&gt;] [--json]</span></span>
93
+ <span class="line"><span>agent-sdk bitbucket events [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;] [--json]</span></span>
94
+ <span class="line"><span>agent-sdk bitbucket forward [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Subcommand</th><th>Contract</th></tr></thead><tbody><tr><td><code>replay</code></td><td>Read a pull request, synthesize webhook payloads in the host&#39;s Cloud or Data Center format, and post them to matching channels.</td></tr><tr><td><code>events</code></td><td>List discovered Bitbucket channel URLs and event keys.</td></tr><tr><td><code>forward</code></td><td>Print the repository-hook and tunnel recipe for live deliveries.</td></tr></tbody></table><p>Replay supports <code>pullrequest:created</code>, <code>pullrequest:updated</code>, <code>pullrequest:comment_created</code>, and <code>repo:push</code>, along with their supported Data Center forms. It requires <code>BITBUCKET_TOKEN</code> with pull-request read access. <code>--secret</code> defaults to <code>BITBUCKET_WEBHOOK_SECRET</code>; <code>--dry-run</code> and <code>--out</code> follow the GitHub replay contract.</p><p>See <a href="./../guides/bitbucket.html">Bitbucket</a> for Cloud and Data Center setup.</p><h3 id="pagerduty" tabindex="-1">Test PagerDuty webhooks <a class="header-anchor" href="#pagerduty" aria-label="Permalink to &quot;Test PagerDuty webhooks {#pagerduty}&quot;">​</a></h3><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>agent-sdk pagerduty replay [incident-id]</span></span>
95
+ <span class="line"><span> [--events a,b,c | &#39;*&#39;] [--comment &lt;body&gt;]</span></span>
96
+ <span class="line"><span> [--dir &lt;path&gt;] [--slug &lt;slug&gt;] [--channel &lt;id&gt;]</span></span>
97
+ <span class="line"><span> [--url &lt;url&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;]</span></span>
98
+ <span class="line"><span> [--secret &lt;secret&gt;] [--dry-run] [--fixtures-dir &lt;dir&gt;] [--json]</span></span>
99
+ <span class="line"><span>agent-sdk pagerduty events [--dir &lt;path&gt;] [--host &lt;host&gt;] [--port &lt;n&gt;] [--json]</span></span></code></pre></div><table tabindex="0"><thead><tr><th>Subcommand</th><th>Contract</th></tr></thead><tbody><tr><td><code>replay</code></td><td>Synthesize v3 webhook bodies for one incident and post them, in order, to matching channels. The default event is <code>incident.triggered</code>; <code>&#39;*&#39;</code> selects every declared event replay supports.</td></tr><tr><td><code>events</code></td><td>List discovered PagerDuty channel URLs and event types.</td></tr></tbody></table><p>Replay supports <code>incident.triggered</code>, <code>.acknowledged</code>, <code>.annotated</code>, <code>.escalated</code>, <code>.resolved</code>, and <code>.reopened</code>, by full name or by action alone (<code>resolved</code>). It needs no PagerDuty account. The incident id defaults to <code>PREPLAY1</code>, and <code>--comment</code> is the note body for <code>annotated</code>. <code>--secret</code> defaults to <code>PAGERDUTY_WEBHOOK_SECRET</code>, signing with its first line when it lists several; without either the deliveries are unsigned, which <code>agent-sdk dev</code> admits from loopback. <code>--dry-run</code> and <code>--out</code> follow the GitHub replay contract.</p><p>See <a href="./../guides/pagerduty.html">PagerDuty</a> for channel setup.</p><h2 id="environment-variables" tabindex="-1">Environment variables <a class="header-anchor" href="#environment-variables" aria-label="Permalink to &quot;Environment variables&quot;">​</a></h2><p>Credential resolution follows this order: <code>--api-key</code>, <code>CURSOR_API_KEY</code>, <code>CURSOR_API_KEY_FILE</code>, <code>CURSOR_SERVICE_ACCOUNT_KEY</code>, then the stored login.</p><table tabindex="0"><thead><tr><th>Variable</th><th>Contract</th></tr></thead><tbody><tr><td><code>CURSOR_API_KEY</code></td><td>Cursor credential.</td></tr><tr><td><code>CURSOR_API_KEY_FILE</code></td><td>Path to a Cursor credential file.</td></tr><tr><td><code>CURSOR_SERVICE_ACCOUNT_KEY</code></td><td>Team service-account credential used after the API key and key-file sources.</td></tr><tr><td><code>CURSOR_API_BASE_URL</code></td><td>Backend for login, account, deployment, and event commands.</td></tr><tr><td><code>CURSOR_BACKEND_URL</code></td><td>Backend for Agent SDK turns. Set it with <code>CURSOR_API_BASE_URL</code> when using a non-default backend.</td></tr><tr><td><code>AGENT_SERVE_CONFIG_DIR</code></td><td>Override the CLI config directory for stored credentials and update state.</td></tr><tr><td><code>AGENT_SERVE_NO_UPDATE_CHECK</code>, <code>NO_UPDATE_NOTIFIER</code>, <code>CI</code></td><td>Disable published-version checks when set to a non-empty value other than <code>0</code>.</td></tr><tr><td><code>GITHUB_WEBHOOK_SECRET</code></td><td>Default signature secret for GitHub forwarding and replay.</td></tr><tr><td><code>GITHUB_APP_ID</code>, <code>GITHUB_APP_PRIVATE_KEY</code>, <code>GITHUB_APP_INSTALLATION_ID</code></td><td>GitHub App credentials for outbound API calls.</td></tr><tr><td><code>GITHUB_TOKEN</code>, <code>GH_TOKEN</code></td><td>Token credentials for outbound GitHub calls. Unset both for <code>github forward</code>.</td></tr><tr><td><code>GITLAB_TOKEN</code></td><td>Token for GitLab API reads and direct channel calls.</td></tr><tr><td><code>GITLAB_API_BASE_URL</code></td><td>Override the GitLab REST base URL for self-managed hosts.</td></tr><tr><td><code>GITLAB_WEBHOOK_SECRET</code></td><td>Default GitLab webhook token for replay and channel verification.</td></tr><tr><td><code>BITBUCKET_TOKEN</code></td><td>Token for Bitbucket API reads and direct channel calls.</td></tr><tr><td><code>BITBUCKET_API_BASE_URL</code></td><td>Override the Bitbucket Data Center REST base URL.</td></tr><tr><td><code>BITBUCKET_WEBHOOK_SECRET</code></td><td>Default Bitbucket signing secret for replay and channel verification.</td></tr><tr><td><code>SLACK_BOT_TOKEN</code>, <code>SLACK_APP_TOKEN</code></td><td>Slack tokens for one agent. Multi-agent servers use <code>&lt;PREFIX&gt;_SLACK_BOT_TOKEN</code> and <code>&lt;PREFIX&gt;_SLACK_APP_TOKEN</code>.</td></tr></tbody></table><h2 id="exit-status" tabindex="-1">Exit status <a class="header-anchor" href="#exit-status" aria-label="Permalink to &quot;Exit status&quot;">​</a></h2><p>Every command uses one exit code table. <code>agent-sdk help</code> prints it, and <code>agent-sdk help --json</code> includes it as <code>exitCodes</code>.</p><table tabindex="0"><thead><tr><th>Code</th><th>Meaning</th></tr></thead><tbody><tr><td><code>0</code></td><td>ok</td></tr><tr><td><code>1</code></td><td>failed (also <code>aborted</code>, <code>invalid_argument</code>, <code>rate_limited</code>, <code>unavailable</code>)</td></tr><tr><td><code>2</code></td><td>usage: bad command, flag, or argument</td></tr><tr><td><code>3</code></td><td>pending: the work is still running</td></tr><tr><td><code>4</code></td><td><code>not_found</code></td></tr><tr><td><code>5</code></td><td><code>unauthenticated</code> or <code>permission_denied</code></td></tr><tr><td><code>6</code></td><td><code>conflict</code> or <code>failed_precondition</code></td></tr></tbody></table><table tabindex="0"><thead><tr><th>Command</th><th>Nonzero contract</th></tr></thead><tbody><tr><td>No command</td><td>Print the command index and exit <code>0</code>. An unknown command exits <code>2</code>.</td></tr><tr><td><code>run</code></td><td>For local and running-server trajectories, exit <code>1</code> when the trajectory fails.</td></tr><tr><td><code>tool call</code></td><td>Exit <code>1</code> unless the response succeeds with <code>ok: true</code>.</td></tr><tr><td><code>session get --file</code></td><td>Exit <code>1</code> when the reconstructed trajectory failed.</td></tr><tr><td><code>session create --wait</code></td><td>Exit <code>3</code> when the delivery names no session before <code>--timeout-ms</code>, and <code>1</code> when it was skipped or failed.</td></tr><tr><td><code>eval</code></td><td>Exit <code>1</code> for failed cases, or scored cases below threshold with <code>--strict</code>; exit <code>2</code> for invalid eval options or an execution with no matching cases. An empty <code>--list</code> succeeds.</td></tr><tr><td><code>eval get</code></td><td>Exit <code>3</code> while the batch runs, <code>1</code> when it failed or was cancelled, and <code>2</code> for invalid usage.</td></tr><tr><td><code>chat</code>, <code>session get</code></td><td>Exit <code>2</code> for documented option conflicts or missing required input.</td></tr><tr><td><code>validate</code></td><td>Exit <code>1</code> when any project diagnostic has error severity.</td></tr><tr><td>Commands that cannot be undone</td><td>Exit <code>2</code> without <code>--yes</code> when there is no terminal to ask on. Exit <code>1</code> (<code>aborted</code>) when the typed confirmation does not match.</td></tr><tr><td>Any command with <code>--dry-run</code></td><td>Exit <code>0</code> after printing what it would do, unless a check before the first change fails.</td></tr><tr><td><code>init --from automation:…</code></td><td>Exit <code>1</code> for invalid input, authentication, export, or file-write failure. Warnings and dependency-install failure don&#39;t change a successful conversion exit.</td></tr><tr><td><code>migrate</code></td><td>Exit <code>0</code> when nothing needs a migration, after starting with <code>--no-wait</code>, or after the agent opens a pull request. Exit <code>1</code> for invalid input, authentication or agent failure, or a completed run without a pull request.</td></tr><tr><td>Other commands</td><td>Exit nonzero when validation, authentication, a request, or the requested operation fails.</td></tr></tbody></table><h2 id="related" tabindex="-1">Related <a class="header-anchor" href="#related" aria-label="Permalink to &quot;Related&quot;">​</a></h2><ul><li><a href="./project-layout.html">Project layout</a></li><li><a href="./sessions.html">Sessions, events, and streaming</a></li><li><a href="./evals.html">Evals</a></li><li><a href="./http-api.html">HTTP API</a></li><li><a href="./../deployment.html">Deployment</a></li><li><a href="./../guides/migrate.html">Early-alpha migration</a></li></ul>`,228)])])}const g=t(s,[["render",n]]);export{u as __pageData,g as default};
@@ -0,0 +1 @@
1
+ import{_ as t,c as a,o,a3 as d}from"./chunks/framework.BNw1pucY.js";const u=JSON.parse('{"title":"CLI","description":"Look up Agent SDK commands, targets, flags, outputs, and exit status.","frontmatter":{"title":"CLI","description":"Look up Agent SDK commands, targets, flags, outputs, and exit status."},"headers":[],"relativePath":"reference/cli.md","filePath":"reference/cli.md"}'),s={name:"reference/cli.md"};function n(c,e,r,i,l,p){return o(),a("div",null,[...e[0]||(e[0]=[d("",228)])])}const g=t(s,[["render",n]]);export{u as __pageData,g as default};