@cursor/july 0.1.113 → 0.2.0

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 (278) hide show
  1. package/dist/channels/slack/inbound.d.ts +7 -0
  2. package/dist/channels/slack/inbound.d.ts.map +1 -1
  3. package/dist/channels/slack/inbound.js +23 -0
  4. package/dist/channels/slack/slack-channel.d.ts.map +1 -1
  5. package/dist/channels/slack/slack-channel.js +83 -4
  6. package/dist/docs/404.html +2 -2
  7. package/dist/docs/assets/{app.CAeK13eM.js → app.9eAtsjAM.js} +4 -4
  8. package/dist/docs/assets/chunks/@localSearchIndexroot.DjNBgxTF.js +1 -0
  9. package/dist/docs/assets/chunks/{VPLocalSearchBox.C9LbPHod.js → VPLocalSearchBox.C9s69nxj.js} +1 -1
  10. package/dist/docs/assets/chunks/{arc.CmMq2zmS.js → arc.DmWDRaF-.js} +1 -1
  11. package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.CCXB8Uj5.js → architectureDiagram-Q4EWVU46.BE1Wj4f3.js} +1 -1
  12. package/dist/docs/assets/chunks/{baseUniq.CyQo6eLe.js → baseUniq.pmEZGnWu.js} +1 -1
  13. package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.JYq6w91N.js → blockDiagram-DXYQGD6D.D6mM-5XN.js} +1 -1
  14. package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.BRV8GPJJ.js → c4Diagram-AHTNJAMY.ZQYTPC1b.js} +1 -1
  15. package/dist/docs/assets/chunks/channel.BNF8VK-B.js +1 -0
  16. package/dist/docs/assets/chunks/{chunk-4BX2VUAB.Bv4ooYQR.js → chunk-4BX2VUAB.CKJ7gaK8.js} +1 -1
  17. package/dist/docs/assets/chunks/{chunk-4TB4RGXK.t4JtKPcj.js → chunk-4TB4RGXK.CL61HnvB.js} +1 -1
  18. package/dist/docs/assets/chunks/{chunk-55IACEB6.34lCHj9Y.js → chunk-55IACEB6.DsA4XA1m.js} +1 -1
  19. package/dist/docs/assets/chunks/{chunk-EDXVE4YY.BSwrPNrt.js → chunk-EDXVE4YY.BODHCHFW.js} +1 -1
  20. package/dist/docs/assets/chunks/{chunk-FMBD7UC4.Beeun-R-.js → chunk-FMBD7UC4.D6NBaZTa.js} +1 -1
  21. package/dist/docs/assets/chunks/{chunk-OYMX7WX6.BUUFUcJc.js → chunk-OYMX7WX6.BLPuqFXg.js} +1 -1
  22. package/dist/docs/assets/chunks/{chunk-QZHKN3VN.B2XjHzN_.js → chunk-QZHKN3VN.BFs_ML8Z.js} +1 -1
  23. package/dist/docs/assets/chunks/{chunk-YZCP3GAM.CLYG8znk.js → chunk-YZCP3GAM.BDjuFyZv.js} +1 -1
  24. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.iViHzfrK.js +1 -0
  25. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.iViHzfrK.js +1 -0
  26. package/dist/docs/assets/chunks/clone.CJoR2BBM.js +1 -0
  27. package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.DVEa6fZp.js → cose-bilkent-S5V4N54A.D85HNEsi.js} +1 -1
  28. package/dist/docs/assets/chunks/{dagre-KV5264BT.C9PZQK-S.js → dagre-KV5264BT.V463KlSF.js} +1 -1
  29. package/dist/docs/assets/chunks/{diagram-5BDNPKRD.DoN0uv3Y.js → diagram-5BDNPKRD.DhBDu1ab.js} +1 -1
  30. package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.Czv3duqx.js → diagram-G4DWMVQ6.v6sC68zl.js} +1 -1
  31. package/dist/docs/assets/chunks/{diagram-MMDJMWI5.BinJ5kWb.js → diagram-MMDJMWI5.DhHsdXYv.js} +1 -1
  32. package/dist/docs/assets/chunks/{diagram-TYMM5635.DW326M4K.js → diagram-TYMM5635.BPWNSFZc.js} +1 -1
  33. package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.U2pR_OA7.js → erDiagram-SMLLAGMA.Cq0wTMPL.js} +1 -1
  34. package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.ByWJXeYK.js → flowDiagram-DWJPFMVM.MveMtucC.js} +1 -1
  35. package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.OquF0Rtg.js → ganttDiagram-T4ZO3ILL.BzKfGUSf.js} +1 -1
  36. package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.Bpn01P7X.js → gitGraphDiagram-UUTBAWPF.OToXTSW_.js} +1 -1
  37. package/dist/docs/assets/chunks/{graph.CNRB6ETL.js → graph.D82tam-l.js} +1 -1
  38. package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.CqhknMWi.js → infoDiagram-42DDH7IO.DzFlRmcE.js} +1 -1
  39. package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.C6xpR2af.js → ishikawaDiagram-UXIWVN3A.CVPRJiKe.js} +1 -1
  40. package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.Cg5f7oB3.js → journeyDiagram-VCZTEJTY.CQvNTfQC.js} +1 -1
  41. package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.Cx9YTwlU.js → kanban-definition-6JOO6SKY.BwywywUl.js} +1 -1
  42. package/dist/docs/assets/chunks/{layout.ljS-wFtK.js → layout.C4BkPPba.js} +1 -1
  43. package/dist/docs/assets/chunks/{linear.jSxNrsFC.js → linear.FoSfGKD4.js} +1 -1
  44. package/dist/docs/assets/chunks/{min.Cum8AlQw.js → min.yLh8jqfl.js} +1 -1
  45. package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.BLiysLpe.js → mindmap-definition-QFDTVHPH.C9Dq2_CN.js} +1 -1
  46. package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.BoIDyuKF.js → pieDiagram-DEJITSTG.CiGyBcES.js} +1 -1
  47. package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.DLkpDytR.js → quadrantDiagram-34T5L4WZ.1FWea9nj.js} +1 -1
  48. package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.DqTVqSu2.js → requirementDiagram-MS252O5E.B1q7ntiV.js} +1 -1
  49. package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.CG_6FF7j.js → sankeyDiagram-XADWPNL6.Cpr4oU_k.js} +1 -1
  50. package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.BIp9602K.js → sequenceDiagram-FGHM5R23.CUK68STn.js} +1 -1
  51. package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.COSXsD9I.js → stateDiagram-FHFEXIEX.zU0yL2m4.js} +1 -1
  52. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.nV8Nl-td.js +1 -0
  53. package/dist/docs/assets/chunks/{theme.CXJ7PNwy.js → theme.DhnKd0CD.js} +2 -2
  54. package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.CXdVqkLq.js → timeline-definition-GMOUNBTQ.CNYoXo3F.js} +1 -1
  55. package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.CZxGuc4r.js → vennDiagram-DHZGUBPP.DFWH3G9s.js} +1 -1
  56. package/dist/docs/assets/chunks/{wardley-RL74JXVD.3oVgfqQk.js → wardley-RL74JXVD.Do4PwzeN.js} +1 -1
  57. package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.6_irCgGJ.js → wardleyDiagram-NUSXRM2D.7WLkqM7s.js} +1 -1
  58. package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.TRPe92m3.js → xychartDiagram-5P7HB3ND.-SyUNgWw.js} +1 -1
  59. package/dist/docs/assets/{deployment.md.D2jQZuFx.js → deployment.md.D2YX7u_I.js} +1 -1
  60. package/dist/docs/assets/{guides_agent-to-agent.md.CD4T5FIl.js → guides_agent-to-agent.md.C6kPY8nu.js} +2 -2
  61. package/dist/docs/assets/{guides_cloud-agents.md.Cp1O3u-X.js → guides_cloud-agents.md.BPJqTZjT.js} +1 -1
  62. package/dist/docs/assets/{guides_grokbot-agents.md.CMhZNdEU.js → guides_grokbot-agents.md.CzV715v8.js} +1 -1
  63. package/dist/docs/assets/guides_hooks.md.BT9GLwEp.js +50 -0
  64. package/dist/docs/assets/guides_hooks.md.BT9GLwEp.lean.js +1 -0
  65. package/dist/docs/assets/{guides_jev.md.F5fAkkfN.js → guides_jev.md.DeSCqMaO.js} +6 -44
  66. package/dist/docs/assets/guides_jev.md.DeSCqMaO.lean.js +1 -0
  67. package/dist/docs/assets/{guides_slack.md.Bo96y42E.js → guides_slack.md.DVjNyqq5.js} +3 -3
  68. package/dist/docs/assets/{guides_slack.md.Bo96y42E.lean.js → guides_slack.md.DVjNyqq5.lean.js} +1 -1
  69. package/dist/docs/assets/reference_agent-config.md.BRxAlnRy.js +36 -0
  70. package/dist/docs/assets/{reference_agent-config.md.DGPyw7ms.lean.js → reference_agent-config.md.BRxAlnRy.lean.js} +1 -1
  71. package/dist/docs/assets/reference_artifacts.md.KRX0sAdt.js +18 -0
  72. package/dist/docs/assets/reference_artifacts.md.KRX0sAdt.lean.js +1 -0
  73. package/dist/docs/assets/reference_channels.md.DZr14vm7.js +23 -0
  74. package/dist/docs/assets/reference_channels.md.DZr14vm7.lean.js +1 -0
  75. package/dist/docs/assets/reference_cli.md.BvnQM8wd.js +97 -0
  76. package/dist/docs/assets/reference_cli.md.BvnQM8wd.lean.js +1 -0
  77. package/dist/docs/assets/{reference_connections.md.Je9dMsdd.js → reference_connections.md.DJGUCxrr.js} +18 -30
  78. package/dist/docs/assets/{reference_connections.md.Je9dMsdd.lean.js → reference_connections.md.DJGUCxrr.lean.js} +1 -1
  79. package/dist/docs/assets/{reference_evals.md.DNJzM_yf.js → reference_evals.md.C6umwNC6.js} +6 -7
  80. package/dist/docs/assets/reference_evals.md.C6umwNC6.lean.js +1 -0
  81. package/dist/docs/assets/{reference_extensions.md.Cv5aLCz_.js → reference_extensions.md.DbNYu-DP.js} +3 -3
  82. package/dist/docs/assets/{reference_extensions.md.Cv5aLCz_.lean.js → reference_extensions.md.DbNYu-DP.lean.js} +1 -1
  83. package/dist/docs/assets/reference_hooks.md.BfOkhTU0.js +45 -0
  84. package/dist/docs/assets/{reference_hooks.md.B7uzNENk.lean.js → reference_hooks.md.BfOkhTU0.lean.js} +1 -1
  85. package/dist/docs/assets/reference_http-api.md.DdwtBeCj.js +11 -0
  86. package/dist/docs/assets/{reference_http-api.md.CduHavZ2.lean.js → reference_http-api.md.DdwtBeCj.lean.js} +1 -1
  87. package/dist/docs/assets/reference_instructions.md.B2mcIzT6.js +14 -0
  88. package/dist/docs/assets/reference_instructions.md.B2mcIzT6.lean.js +1 -0
  89. package/dist/docs/assets/reference_playground.md.CyrQD_n3.js +1 -0
  90. package/dist/docs/assets/reference_playground.md.CyrQD_n3.lean.js +1 -0
  91. package/dist/docs/assets/reference_project-layout.md.BEMzxAkq.js +19 -0
  92. package/dist/docs/assets/{reference_project-layout.md.BGhgpy9V.lean.js → reference_project-layout.md.BEMzxAkq.lean.js} +1 -1
  93. package/dist/docs/assets/reference_prompt.md.BFrqjHFL.js +9 -0
  94. package/dist/docs/assets/reference_prompt.md.BFrqjHFL.lean.js +1 -0
  95. package/dist/docs/assets/reference_schedules.md.BB9N3tRR.js +47 -0
  96. package/dist/docs/assets/reference_schedules.md.BB9N3tRR.lean.js +1 -0
  97. package/dist/docs/assets/reference_sessions.md.BBp-GIt-.js +1 -0
  98. package/dist/docs/assets/{reference_sessions.md.1_6Vyv7x.lean.js → reference_sessions.md.BBp-GIt-.lean.js} +1 -1
  99. package/dist/docs/assets/reference_skills.md.BVmi3UJ_.js +15 -0
  100. package/dist/docs/assets/{reference_skills.md.DjQkRefx.lean.js → reference_skills.md.BVmi3UJ_.lean.js} +1 -1
  101. package/dist/docs/assets/reference_subagents.md.DRoRy2Uj.js +10 -0
  102. package/dist/docs/assets/{reference_subagents.md.Dl16gcBj.lean.js → reference_subagents.md.DRoRy2Uj.lean.js} +1 -1
  103. package/dist/docs/assets/{reference_tools.md.B1dH1lpa.js → reference_tools.md.CgocLDX1.js} +9 -6
  104. package/dist/docs/assets/{reference_tools.md.B1dH1lpa.lean.js → reference_tools.md.CgocLDX1.lean.js} +1 -1
  105. package/dist/docs/assets/troubleshooting.md.HY95rCCz.js +1 -0
  106. package/dist/docs/building-with-agents.html +35 -35
  107. package/dist/docs/deployment.html +37 -37
  108. package/dist/docs/deployment.md +1 -1
  109. package/dist/docs/evals.html +35 -35
  110. package/dist/docs/guides/agent-to-agent.html +38 -38
  111. package/dist/docs/guides/agent-to-agent.md +11 -12
  112. package/dist/docs/guides/bitbucket.html +35 -35
  113. package/dist/docs/guides/cloud-agents.html +36 -36
  114. package/dist/docs/guides/cloud-agents.md +1 -1
  115. package/dist/docs/guides/convert-automation.html +35 -35
  116. package/dist/docs/guides/github.html +35 -35
  117. package/dist/docs/guides/gitlab.html +35 -35
  118. package/dist/docs/guides/grokbot-agents.html +37 -37
  119. package/dist/docs/guides/grokbot-agents.md +1 -1
  120. package/dist/docs/guides/hooks.html +109 -0
  121. package/dist/docs/guides/hooks.md +111 -0
  122. package/dist/docs/guides/improve.html +35 -35
  123. package/dist/docs/guides/jev.html +42 -80
  124. package/dist/docs/guides/jev.md +22 -79
  125. package/dist/docs/guides/mcp-oauth.html +36 -36
  126. package/dist/docs/guides/opentelemetry.html +35 -35
  127. package/dist/docs/guides/slack.html +37 -37
  128. package/dist/docs/guides/slack.md +7 -0
  129. package/dist/docs/guides/webhooks.html +35 -35
  130. package/dist/docs/hashmap.json +1 -1
  131. package/dist/docs/hillclimbing.html +35 -35
  132. package/dist/docs/index.html +35 -35
  133. package/dist/docs/llms-full.txt +1683 -2054
  134. package/dist/docs/llms.txt +9 -8
  135. package/dist/docs/quickstart.html +35 -35
  136. package/dist/docs/reference/agent-config.html +42 -46
  137. package/dist/docs/reference/agent-config.md +48 -81
  138. package/dist/docs/reference/artifacts.html +39 -40
  139. package/dist/docs/reference/artifacts.md +71 -70
  140. package/dist/docs/reference/channels.html +41 -61
  141. package/dist/docs/reference/channels.md +134 -201
  142. package/dist/docs/reference/cli.html +127 -125
  143. package/dist/docs/reference/cli.md +685 -753
  144. package/dist/docs/reference/connections.html +54 -66
  145. package/dist/docs/reference/connections.md +92 -128
  146. package/dist/docs/reference/evals.html +42 -43
  147. package/dist/docs/reference/evals.md +42 -50
  148. package/dist/docs/reference/extensions.html +38 -38
  149. package/dist/docs/reference/extensions.md +9 -13
  150. package/dist/docs/reference/hooks.html +39 -67
  151. package/dist/docs/reference/hooks.md +72 -146
  152. package/dist/docs/reference/http-api.html +39 -39
  153. package/dist/docs/reference/http-api.md +137 -161
  154. package/dist/docs/reference/instructions.html +39 -39
  155. package/dist/docs/reference/instructions.md +21 -36
  156. package/dist/docs/reference/playground.html +36 -36
  157. package/dist/docs/reference/playground.md +26 -43
  158. package/dist/docs/reference/project-layout.html +38 -38
  159. package/dist/docs/reference/project-layout.md +12 -17
  160. package/dist/docs/reference/prompt.html +42 -42
  161. package/dist/docs/reference/prompt.md +18 -13
  162. package/dist/docs/reference/schedules.html +56 -91
  163. package/dist/docs/reference/schedules.md +52 -99
  164. package/dist/docs/reference/sessions.html +36 -36
  165. package/dist/docs/reference/sessions.md +36 -40
  166. package/dist/docs/reference/skills.html +38 -38
  167. package/dist/docs/reference/skills.md +15 -26
  168. package/dist/docs/reference/subagents.html +38 -38
  169. package/dist/docs/reference/subagents.md +20 -30
  170. package/dist/docs/reference/tools.html +44 -41
  171. package/dist/docs/reference/tools.md +45 -64
  172. package/dist/docs/templates/agentic-owners.html +35 -35
  173. package/dist/docs/templates/pr-autofixer.html +35 -35
  174. package/dist/docs/templates/security-reviewer.html +35 -35
  175. package/dist/docs/templates/thermo-quality-review.html +35 -35
  176. package/dist/docs/templates/thermo-review.html +35 -35
  177. package/dist/docs/templates/triage.html +35 -35
  178. package/dist/docs/troubleshooting.html +36 -36
  179. package/dist/docs/troubleshooting.md +1 -1
  180. package/dist/internal/cli-deploy.d.ts.map +1 -1
  181. package/dist/internal/cli-deploy.js +9 -1
  182. package/dist/internal/deploy-client.d.ts +6 -0
  183. package/dist/internal/deploy-client.d.ts.map +1 -1
  184. package/dist/internal/deploy-client.js +3 -0
  185. package/dist/internal/discovery/agent-config.d.ts +3 -1
  186. package/dist/internal/discovery/agent-config.d.ts.map +1 -1
  187. package/dist/internal/discovery/agent-config.js +7 -4
  188. package/dist/internal/framework-storage-selection.d.ts +1 -1
  189. package/dist/internal/framework-storage-selection.d.ts.map +1 -1
  190. package/dist/internal/platform-timers.d.ts.map +1 -1
  191. package/dist/internal/platform-timers.js +20 -2
  192. package/dist/internal/reminder-runner.d.ts +79 -1
  193. package/dist/internal/reminder-runner.d.ts.map +1 -1
  194. package/dist/internal/reminder-runner.js +276 -44
  195. package/dist/internal/server.d.ts.map +1 -1
  196. package/dist/internal/server.js +7 -0
  197. package/dist/memory.d.ts +4 -0
  198. package/dist/memory.d.ts.map +1 -1
  199. package/dist/memory.js +28 -4
  200. package/dist/playground/assets/index-DLwnR9ys.css +1 -0
  201. package/dist/playground/index.html +2 -2
  202. package/dist/types.d.ts +16 -9
  203. package/dist/types.d.ts.map +1 -1
  204. package/docs/deployment.md +1 -1
  205. package/docs/guides/agent-to-agent.md +11 -12
  206. package/docs/guides/cloud-agents.md +1 -1
  207. package/docs/guides/grokbot-agents.md +1 -1
  208. package/docs/guides/hooks.md +116 -0
  209. package/docs/guides/jev.md +23 -80
  210. package/docs/guides/slack.md +7 -0
  211. package/docs/reference/agent-config.md +48 -81
  212. package/docs/reference/artifacts.md +72 -71
  213. package/docs/reference/channels.md +135 -202
  214. package/docs/reference/cli.md +686 -754
  215. package/docs/reference/connections.md +93 -129
  216. package/docs/reference/evals.md +43 -51
  217. package/docs/reference/extensions.md +9 -13
  218. package/docs/reference/hooks.md +72 -146
  219. package/docs/reference/http-api.md +137 -161
  220. package/docs/reference/instructions.md +22 -37
  221. package/docs/reference/playground.md +26 -43
  222. package/docs/reference/project-layout.md +12 -17
  223. package/docs/reference/prompt.md +20 -15
  224. package/docs/reference/schedules.md +52 -99
  225. package/docs/reference/sessions.md +36 -40
  226. package/docs/reference/skills.md +15 -26
  227. package/docs/reference/subagents.md +20 -30
  228. package/docs/reference/tools.md +45 -64
  229. package/docs/troubleshooting.md +1 -1
  230. package/package.json +1 -1
  231. package/src/channels/slack/inbound.ts +24 -0
  232. package/src/channels/slack/slack-channel.ts +123 -1
  233. package/src/internal/cli-deploy.ts +12 -1
  234. package/src/internal/deploy-client.ts +9 -0
  235. package/src/internal/discovery/agent-config.ts +8 -6
  236. package/src/internal/framework-storage-selection.ts +1 -1
  237. package/src/internal/platform-timers.ts +24 -2
  238. package/src/internal/reminder-runner.ts +426 -63
  239. package/src/internal/server.ts +8 -0
  240. package/src/memory.ts +37 -3
  241. package/src/types.ts +16 -9
  242. package/dist/docs/assets/chunks/@localSearchIndexroot.Ck9E52Ls.js +0 -1
  243. package/dist/docs/assets/chunks/channel.BHiYmnZ4.js +0 -1
  244. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.Degh8l90.js +0 -1
  245. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.Degh8l90.js +0 -1
  246. package/dist/docs/assets/chunks/clone.BIywbczV.js +0 -1
  247. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.qrxrbFsX.js +0 -1
  248. package/dist/docs/assets/guides_jev.md.F5fAkkfN.lean.js +0 -1
  249. package/dist/docs/assets/reference_agent-config.md.DGPyw7ms.js +0 -40
  250. package/dist/docs/assets/reference_artifacts.md.Bu_4HmsD.js +0 -19
  251. package/dist/docs/assets/reference_artifacts.md.Bu_4HmsD.lean.js +0 -1
  252. package/dist/docs/assets/reference_channels.md.nFWbzAic.js +0 -43
  253. package/dist/docs/assets/reference_channels.md.nFWbzAic.lean.js +0 -1
  254. package/dist/docs/assets/reference_cli.md.DLWDz9ij.js +0 -95
  255. package/dist/docs/assets/reference_cli.md.DLWDz9ij.lean.js +0 -1
  256. package/dist/docs/assets/reference_evals.md.DNJzM_yf.lean.js +0 -1
  257. package/dist/docs/assets/reference_hooks.md.B7uzNENk.js +0 -73
  258. package/dist/docs/assets/reference_http-api.md.CduHavZ2.js +0 -11
  259. package/dist/docs/assets/reference_instructions.md.CU1My5My.js +0 -14
  260. package/dist/docs/assets/reference_instructions.md.CU1My5My.lean.js +0 -1
  261. package/dist/docs/assets/reference_playground.md.Ch2d0Iqi.js +0 -1
  262. package/dist/docs/assets/reference_playground.md.Ch2d0Iqi.lean.js +0 -1
  263. package/dist/docs/assets/reference_project-layout.md.BGhgpy9V.js +0 -19
  264. package/dist/docs/assets/reference_prompt.md.Ccp0R53H.js +0 -1
  265. package/dist/docs/assets/reference_prompt.md.Ccp0R53H.lean.js +0 -1
  266. package/dist/docs/assets/reference_schedules.md.B2Nm6FaD.js +0 -82
  267. package/dist/docs/assets/reference_schedules.md.B2Nm6FaD.lean.js +0 -1
  268. package/dist/docs/assets/reference_sessions.md.1_6Vyv7x.js +0 -1
  269. package/dist/docs/assets/reference_skills.md.DjQkRefx.js +0 -15
  270. package/dist/docs/assets/reference_subagents.md.Dl16gcBj.js +0 -10
  271. package/dist/docs/assets/troubleshooting.md.mnfFG2Em.js +0 -1
  272. package/dist/playground/assets/index-DSMAewbx.css +0 -1
  273. /package/dist/docs/assets/{deployment.md.D2jQZuFx.lean.js → deployment.md.D2YX7u_I.lean.js} +0 -0
  274. /package/dist/docs/assets/{guides_agent-to-agent.md.CD4T5FIl.lean.js → guides_agent-to-agent.md.C6kPY8nu.lean.js} +0 -0
  275. /package/dist/docs/assets/{guides_cloud-agents.md.Cp1O3u-X.lean.js → guides_cloud-agents.md.BPJqTZjT.lean.js} +0 -0
  276. /package/dist/docs/assets/{guides_grokbot-agents.md.CMhZNdEU.lean.js → guides_grokbot-agents.md.CzV715v8.lean.js} +0 -0
  277. /package/dist/docs/assets/{troubleshooting.md.mnfFG2Em.lean.js → troubleshooting.md.HY95rCCz.lean.js} +0 -0
  278. /package/dist/playground/assets/{index-De_lpFxE.js → index-CX6oTKwz.js} +0 -0
@@ -1,31 +1,30 @@
1
- # HTTP API reference
2
-
3
- Agent SDK hosts expose the same public HTTP surface. In the default
4
- multi-agent layout each agent is namespaced under its slug
5
- (`/<slug>/v1/session`, `/<slug>/playground`), with host-level routes at
6
- the root. With `--mode single`, one agent serves the same surface
7
- unslugged (`/v1/*`).
8
-
9
- Unless noted otherwise, routes run the agent's HTTP auth chain: the
10
- default is `localDevStrict()` (loopback only), replaced by `bearerAuth` under
11
- `--bearer-token` or `allowAll()` under `--allow-anonymous`. Session
12
- routes also require the caller to be the session's owner (`403`
13
- otherwise). Errors return JSON
14
- `{ ok: false, error: "<code>", message? }` with a matching HTTP status.
15
-
16
- ## Host-level routes (multi-agent mode)
17
-
18
- These routes live at the host root, above any agent. The two index
19
- routes exist only while the playground is enabled (`--no-playground`
20
- removes them) and run no auth. The documentation site is mounted in
21
- both layouts and removed by `--no-docs`.
22
-
23
- | Route | What it does |
24
- | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
25
- | `GET /` | A web index of every mounted agent, linking to playgrounds (playground only) |
26
- | `GET /v1/agents` | The JSON index of mounted agents (playground only, no auth) |
27
- | `GET /docs`, `GET /docs/*` | This documentation, served as a static site (both layouts, no auth) |
28
- | `GET /v1/health` | Host-level liveness, no auth |
1
+ # HTTP API
2
+
3
+ Agent SDK hosts expose one public HTTP surface. In the default
4
+ multi-agent layout, each agent uses `/<slug>/v1/*`; `--mode single`
5
+ serves the same routes at `/v1/*`. Routes use the agent's HTTP auth
6
+ chain, and session-owned resources return `403` to another principal.
7
+
8
+ Unless a section says otherwise, the default auth policy is
9
+ `localDevStrict()`. `--bearer-token` replaces it with bearer auth, and
10
+ `--allow-anonymous` replaces it with anonymous access. Built-in JSON
11
+ routes use `{ ok: false, error: "<code>", message? }` for errors; MCP
12
+ uses JSON-RPC, and custom channel handlers define their own responses.
13
+
14
+ ## Host routes
15
+
16
+ These routes live at the host root in multi-agent mode. The index routes
17
+ exist only when the playground is enabled.
18
+
19
+ | Route | Contract |
20
+ | --- | --- |
21
+ | `GET /` | HTML index of mounted agents; no auth |
22
+ | `GET /v1/agents` | JSON index of mounted agents; no auth |
23
+ | `GET /docs`, `GET /docs/*` | Documentation site in either layout; no auth |
24
+ | `GET /v1/health` | Host liveness; no auth |
25
+
26
+ `--no-playground` removes the two index routes. `--no-docs` removes the
27
+ documentation site.
29
28
 
30
29
  ## Start a session
31
30
 
@@ -39,18 +38,18 @@ curl -X POST http://127.0.0.1:3000/<slug>/v1/session \
39
38
  # "playgroundUrl":"…?sessionId=ses_…","traceUrl":"…/v1/session/ses_…/events"}
40
39
  ```
41
40
 
42
- The response returns as soon as the message is accepted; follow the
43
- stream for progress. The continuation token is the follow-up credential,
44
- and `playgroundUrl` deep-links the session in the playground.
41
+ Once accepted, the response returns `sessionId` for inspection and
42
+ `continuationToken` for follow-ups; follow the stream for progress.
45
43
 
46
- | Body field | Meaning |
44
+ | Body field | Contract |
47
45
  | --- | --- |
48
46
  | `message` | Required user message |
49
- | `title` | Session title |
47
+ | `title` | Display title |
50
48
  | `dryRun` | Run read tools and stub write tools |
51
- | `asOf` | ISO-8601 instant with a timezone, frozen at create; the prompt states it, `ctx.now()` returns it, and tool calls with relative, later-than-`asOf`, or omitted schema-declared time bounds are refused. `400` when unusable |
52
- | `workspaceFiles` | UTF-8 files written into the session workspace |
49
+ | `asOf` | ISO-8601 instant with a timezone; sets `ctx.now()` and rejects omitted, relative, or later declared tool time arguments. Invalid values return `400` |
50
+ | `workspaceFiles` | Relative files added to the session workspace |
53
51
  | `cloud` | Per-session cloud options merged over the agent defaults |
52
+ | `purpose` | Use `"eval"` to mark regression traffic |
54
53
 
55
54
  ## Send a follow-up
56
55
 
@@ -62,15 +61,15 @@ curl -X POST http://127.0.0.1:3000/<slug>/v1/session/ses_… \
62
61
  -d '{"continuationToken":"http:…","message":"Make it shorter."}'
63
62
  ```
64
63
 
65
- Works for any chat session, including ones created by custom channels.
66
- Each accepted follow-up rotates the token, and the response carries the
67
- new one. Sending to a busy session interrupts the in-flight turn, waits
68
- for it to settle, then sends.
64
+ The route accepts any chat session, including one created by a custom
65
+ channel. Each accepted follow-up rotates the continuation token and
66
+ returns the replacement. A message sent to a busy session interrupts
67
+ the active turn before starting.
69
68
 
70
- Expect `409` on a stale token or a task session. Task sessions do not accept
71
- follow-ups. Expect `403` when the caller is not the session owner.
69
+ The route returns `409` for a stale token or task session, and `403`
70
+ when the caller doesn't own the session.
72
71
 
73
- ## Stream a session
72
+ ## Stream or replay session events
74
73
 
75
74
  `GET /v1/session/:sessionId/stream` is the live NDJSON feed.
76
75
 
@@ -78,44 +77,36 @@ follow-ups. Expect `403` when the caller is not the session owner.
78
77
  curl -N 'http://127.0.0.1:3000/<slug>/v1/session/ses_…/stream?startIndex=0'
79
78
  ```
80
79
 
81
- One NDJSON event per line, from `startIndex`, then following live. The
82
- default is `0`: omitting the parameter replays the entire recorded
83
- stream before following. Pass the last index you've seen plus one to
84
- resume without duplicates. The stream is durable and reconnectable. For
85
- the vocabulary, see
86
- [Sessions](/docs/reference/sessions.md#which-events-can-i-stream).
80
+ The route replays one event per line from `startIndex`, then follows new
81
+ events. The default `0` replays the full stream. To reconnect without
82
+ duplicates, pass the last index you received plus one.
87
83
 
88
84
  `GET /v1/session/:sessionId/events` returns a one-shot NDJSON dump.
89
- Pass `?format=json` for `{ sessionId, events, playgroundUrl }`.
90
-
91
- ## Stop and list
92
-
93
- `POST /v1/session/:sessionId/stop` interrupts the in-flight turn without
94
- sending a new message. `GET /v1/sessions` lists sessions owned by the
95
- calling principal. Under `serve --dev` on loopback it includes all
96
- sessions, which is how webhook and schedule sessions show up in the
97
- playground.
85
+ Pass `?format=json` for `{ sessionId, events, playgroundUrl }`. See
86
+ [Stream events](/docs/reference/sessions.md#stream-events) for the event vocabulary.
98
87
 
99
- ## Session cost
88
+ ## Manage sessions
100
89
 
101
- `GET /v1/session/:sessionId/cost` returns the session's cost report:
102
- per-turn token usage and the engine's estimated cost, folded from
103
- `turn.completed` events. It runs the same owner check as the other
104
- session routes and returns `404` for an unknown session. The
105
- [`agent-sdk cost`](/docs/reference/cli.md#cost) command reports the same data.
90
+ | Route | Contract |
91
+ | --- | --- |
92
+ | `POST /v1/session/:sessionId/stop` | Interrupt the active turn without sending another message |
93
+ | `GET /v1/sessions` | List sessions owned by the caller |
94
+ | `GET /v1/session/:sessionId/cost` | Return per-turn token usage and estimated cost |
106
95
 
107
- ## Approvals
96
+ On loopback under `serve --dev`, the session list includes every
97
+ principal so webhook and schedule sessions appear in the playground.
98
+ The cost route returns `404` for an unknown session.
108
99
 
109
- Two routes list and resolve parked tool calls.
100
+ ## Resolve tool approvals
110
101
 
111
- | Route | What it does |
112
- | ----------------------------------------------- | -------------------------------------------------------------- |
113
- | `GET /v1/session/:sessionId/approvals` | Pending human-in-the-loop tool approvals |
114
- | `POST /v1/session/:sessionId/approvals/:callId` | Resolve one: `{"decision":"approve"}` or `{"decision":"deny"}` |
102
+ | Route | Contract |
103
+ | --- | --- |
104
+ | `GET /v1/session/:sessionId/approvals` | List pending tool approvals |
105
+ | `POST /v1/session/:sessionId/approvals/:callId` | Resolve one with `{"decision":"approve"}` or `{"decision":"deny"}` |
115
106
 
116
107
  For the lifecycle, see [Gate a tool on human approval](/docs/reference/tools.md#gate-a-tool-on-human-approval).
117
108
 
118
- ## Call a tool directly
109
+ ## Call a tool without a model turn
119
110
 
120
111
  `POST /v1/tools/:toolName` runs a server tool with no model turn.
121
112
 
@@ -127,130 +118,115 @@ curl -X POST http://127.0.0.1:3000/<slug>/v1/tools/inspect_pr \
127
118
  # "isError":false,"result":{…},"durationMs":12}
128
119
  ```
129
120
 
130
- It runs an authored server tool in-process: schema-validated, no model
131
- turn. An optional `"sessionId"` in the body runs it inside an existing
132
- session and records it on that session's stream (`409 session_busy`
133
- for a write-effect call while a turn runs; reads run alongside the
134
- turn). Agent-execution tools are rejected with `400`, and
135
- unknown tools with `404` and the list of available names. For the
136
- semantics, see [Tools](/docs/reference/tools.md#call-a-tool-without-a-model-turn).
121
+ | Body field | Contract |
122
+ | --- | --- |
123
+ | `input` | Tool input; defaults to `{}` |
124
+ | `sessionId` | Bind the call to an existing session |
125
+ | `continuationToken` | Bind the call by its wire continuation token; mutually exclusive with `sessionId` |
137
126
 
138
- An optional `"continuationToken"` (`<channelId>:<key>`, as
139
- `/v1/sessions` lists it; mutually exclusive with `sessionId`) addresses
140
- the session by continuation token instead; malformed tokens are
141
- rejected with `400 invalid_continuation_token`. For the semantics, see
142
- [Tools](/docs/reference/tools.md#call-a-tool-without-a-model-turn).
127
+ Omit both identifiers for an unbound call. Agent-execution tools return
128
+ `400`, and an unknown name returns `404` with the available names. See
129
+ [Tools](/docs/reference/tools.md#call-a-tool-without-a-model-turn) for session
130
+ binding, busy-session rules, and error codes.
143
131
 
144
- ## Discovery
132
+ ## Discovery routes
145
133
 
146
134
  These read-only routes describe the running agent.
147
135
 
148
- | Route | What it does |
149
- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
150
- | `GET /v1/info` | The discovered surface: model, tools, skills, MCP connections, subagents, channels and routes (with schemas), schedules, hooks, diagnostics |
151
- | `GET /v1/tools` | The live tool catalog: authored server tools plus advertised MCP passthroughs under model-facing names, as light `{ name, title?, source? }` entries. `session` / `continuationToken` query parameters bind the listing to a session identity (advertised inventories can be tenant-scoped); a connection whose listing fails is skipped and reported in `connectionErrors` |
152
- | `GET /v1/tools/:name` | One catalog tool's full description: description, execution, `needsApproval`, `effect`, input and output schemas, source connection. Same session binding as the listing; unknown names get `404` with the available names |
153
- | `GET /v1/health` | Per-agent liveness, no auth |
154
- | `GET /v1/logs?after=N` | Recent server log lines, with a polling cursor |
136
+ | Route | Contract |
137
+ | --- | --- |
138
+ | `GET /v1/info` | Return the discovered model, tools, skills, connections, subagents, channels, schedules, hooks, and diagnostics |
139
+ | `GET /v1/tools` | Return live server tools and advertised MCP tools as `{ name, title?, source? }`; bind tenant-scoped listings with `session` or `continuationToken` |
140
+ | `GET /v1/tools/:name` | Return one tool's description, execution mode, approval and effect rules, schemas, and source |
141
+ | `GET /v1/health` | Return per-agent liveness; no auth |
142
+ | `GET /v1/logs?after=N` | Return recent server logs and the next polling cursor |
155
143
 
156
- ## Artifacts
144
+ An unknown tool name returns `404` with available names. If an MCP
145
+ connection can't list its tools, the catalog skips that connection and
146
+ includes it in `connectionErrors`.
157
147
 
158
- Two routes read durable artifacts tagged by `ctx.artifacts` or
159
- `tag_artifact`. See [Artifacts](/docs/reference/artifacts.md).
148
+ ## List and download artifacts
160
149
 
161
- | Route | What it does |
162
- | -------------------------------- | ------------------------------------------------------------------------------------------------------ |
163
- | `GET /v1/artifacts` | List artifacts as `{ artifacts }`, newest-updated first. Filter with `?kind=`, `?sessionId=`, and `?limit=` (a positive integer) |
164
- | `GET /v1/artifacts/:id/content` | Download one artifact's file or blob payload. Served as an attachment, never rendered inline; `404` when the artifact is unknown or carries no content |
150
+ | Route | Contract |
151
+ | --- | --- |
152
+ | `GET /v1/artifacts` | Return `{ artifacts }`, newest-updated first; filter with `kind`, `sessionId`, and a positive `limit` |
153
+ | `GET /v1/artifacts/:id/content` | Download an artifact's file or blob as an attachment; return `404` when no content exists |
165
154
 
166
- Session ownership applies the same way as `GET /v1/sessions`: under
167
- `serve --dev` on loopback (or `--allow-anonymous`) the list spans all
168
- principals, while bearer or custom channel auth keeps strict
169
- per-principal isolation.
155
+ The list follows the same ownership rules as `GET /v1/sessions`. See
156
+ [Artifacts](/docs/reference/artifacts.md) for tagging and record fields.
170
157
 
171
- ## Custom channel routes
158
+ ## Call custom channel routes
172
159
 
173
- Authored routes mount under `/v1/channels/<id>` with the methods, paths,
174
- and Zod schemas the channel declared (a
175
- `POST /<slug>/v1/channels/drive` route, say). Bodies are validated before
176
- handlers run (`400` on schema violations), and each channel's auth chain
177
- applies. The GitHub channel verifies `X-Hub-Signature-256` when a
178
- secret is configured. See [Channels](/docs/reference/channels.md).
160
+ Authored routes mount under `/v1/channels/<id>` with their declared
161
+ methods and paths. The host validates their Zod body and query schemas
162
+ before calling the handler, returning `400` on failure. Each channel's
163
+ auth chain applies. See [Channels](/docs/reference/channels.md).
179
164
 
180
165
  ## MCP endpoint
181
166
 
182
- `/v1/mcp` serves the Model Context Protocol over streamable HTTP
183
- (stateless; POST carries the protocol, and GET/DELETE return
184
- spec-compliant 405s). The tools are `ask` (delegate a message, bounded
185
- waits), `check` (poll a running session), and `call_tool` (deterministic
186
- server-tool passthrough, present when the agent has server tools). The
187
- route runs the same auth chain as the session API. Peer wiring:
188
- [MCP connections](/docs/reference/connections.md#peer-mcp-connection).
167
+ Both MCP routes use stateless streamable HTTP. Send protocol requests
168
+ with `POST`; `GET` and `DELETE` return `405`.
189
169
 
190
- `/v1/mcp/tools` is a second stateless MCP endpoint exposing only the
191
- agent's deterministic server tools. Hosted cloud turns call back into
192
- it through the URL configured by `serve --cloud-tools-url`. Unlike
193
- `/v1/mcp`, it runs the CLI-level auth chain (loopback, bearer, or
194
- anonymous), not any authored channel auth.
170
+ | Route | Tools and auth |
171
+ | --- | --- |
172
+ | `/v1/mcp` | `ask`, `check`, and `call_tool` when server tools exist; uses the session API auth chain |
173
+ | `/v1/mcp/tools` | Deterministic server tools only; uses the CLI-level loopback, bearer, or anonymous auth chain |
174
+
175
+ See [MCP connections](/docs/reference/connections.md#peer-mcp-connection) to connect
176
+ one agent to another.
195
177
 
196
178
  ## Playground eval routes
197
179
 
198
- The playground Evals tab and `agent-sdk eval --prod` / `--url` use these:
180
+ The playground Evals tab and remote eval commands use these routes:
199
181
 
200
- | Route | What it does |
201
- | ------------------------------- | ---------------------------------------------------------------------------------------------------------- |
202
- | `GET /v1/dev/evals` | List discovered eval datapoints and project config |
203
- | `GET /v1/dev/evals/runs` | List recent run snapshots, newest first |
204
- | `POST /v1/dev/evals/runs` | Start an eval run (`{filterIds?, tags?}`); `202` with a snapshot (`runId` is the Eval ID), `404` when nothing matches, `409` when one is running |
205
- | `GET /v1/dev/evals/runs/:runId` | Poll a run's progress |
206
- | `POST /v1/dev/evals/runs/:runId/cancel` | Cancel a running batch; `200` with snapshot, `404` unknown, `409` when not running |
182
+ | Route | Contract |
183
+ | --- | --- |
184
+ | `GET /v1/dev/evals` | List discovered cases and eval config |
185
+ | `GET /v1/dev/evals/runs` | List recent run snapshots, newest first |
186
+ | `POST /v1/dev/evals/runs` | Start `{ filterIds?, tags?, timeoutMs?, verbose? }`; return `202`, `404` for no match, or `409` while another run is active |
187
+ | `GET /v1/dev/evals/runs/:runId` | Return progress and the final snapshot |
188
+ | `POST /v1/dev/evals/runs/:runId/cancel` | Cancel an active run; return `404` when unknown or `409` when no longer running |
207
189
 
208
- Eval runs are asynchronous. Poll the run route for case progress and
209
- the final `completed` or `failed` status. Batch errors appear on the
210
- snapshot returned by the poll. Entries within `filterIds` and `tags`
211
- use OR semantics. When both fields are present, a case must match one
212
- entry from each field. Listed runs persist across restarts when
213
- durable storage is configured. Otherwise they are
214
- process-memory only.
190
+ Poll the run route until its status is `completed`, `failed`, or
191
+ `cancelled`. Entries within `filterIds` and `tags` use OR semantics;
192
+ when both fields are present, a case must match each group.
215
193
 
216
194
  ## Dev-mode routes
217
195
 
218
196
  These routes exist only under `serve --dev`.
219
197
 
220
- | Route | What it does |
221
- | ------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
198
+ | Route | Contract |
199
+ | --- | --- |
222
200
  | `POST /v1/dev/schedules/:scheduleId` | Dispatch a schedule by hand, exactly once. Returns `{scheduleId, sessionIds}` |
223
- | `GET /v1/dev/reminders` | List reminders |
224
- | `POST /v1/dev/reminders/:reminderId` | Fire a reminder by hand |
201
+ | `GET /v1/dev/reminders` | List reminders |
202
+ | `POST /v1/dev/reminders/:reminderId` | Fire a reminder by hand |
225
203
 
226
204
  Schedules and reminders never fire automatically in dev mode. These
227
- routes are the only way they run, which keeps iteration deterministic.
205
+ routes run them manually.
228
206
 
229
207
  ## Playground assets
230
208
 
231
209
  `GET /playground` and `GET /playground/assets/:file` serve the
232
- playground (omitted with `--no-playground`). It calls the JSON API
233
- above and has no privileged surface.
210
+ playground. `--no-playground` removes both routes.
234
211
 
235
212
  ## Status codes
236
213
 
237
- Error responses use a small, consistent set of status codes.
238
-
239
- | Code | Meaning here |
240
- | ----- | -------------------------------------------------------------------------------------------------------------------------- |
241
- | `400` | Schema-invalid body or query, agent-execution tool called on the host, malformed request |
242
- | `401` | No auth policy admitted the request |
243
- | `403` | Authenticated, but not the session owner |
244
- | `404` | Unknown session, tool, schedule, reminder, or eval run; no eval datapoints match a run request |
245
- | `405` | Wrong method (GET on the MCP endpoint, say) |
246
- | `409` | Stale continuation token, a busy session-bound tool call, a non-followable task session, or an eval run already in progress |
247
- | `202` | Accepted for background work (GitHub `{ task }` hooks, eval runs) |
248
-
249
- ## What's next
214
+ Built-in routes use these common status codes.
250
215
 
251
- Continue with these pages:
252
-
253
- - [Sessions and streaming](/docs/reference/sessions.md): the handles and events these
254
- routes traffic in
255
- - [Channels](/docs/reference/channels.md): authoring your own routes
256
- - [Deployment](/docs/deployment.md): auth on real hosts
216
+ | Code | Meaning |
217
+ | --- | --- |
218
+ | `400` | Invalid body, query, tool input, or request shape |
219
+ | `401` | No auth policy admitted the request |
220
+ | `403` | The caller is authenticated but doesn't own the resource |
221
+ | `404` | A named resource doesn't exist, or an eval selection matches no cases |
222
+ | `405` | The route doesn't accept this method |
223
+ | `409` | The resource state rejects the request, such as a stale token or busy write |
224
+ | `202` | The request was accepted for asynchronous work |
225
+ | `500` | A write-effect tool can't create its session workspace (`workspace_unavailable`) |
226
+
227
+ ## Related
228
+
229
+ - [Sessions](/docs/reference/sessions.md)
230
+ - [Channels](/docs/reference/channels.md)
231
+ - [Tools](/docs/reference/tools.md)
232
+ - [Deployment](/docs/deployment.md)