@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.
- package/dist/channels/slack/inbound.d.ts +7 -0
- package/dist/channels/slack/inbound.d.ts.map +1 -1
- package/dist/channels/slack/inbound.js +23 -0
- package/dist/channels/slack/slack-channel.d.ts.map +1 -1
- package/dist/channels/slack/slack-channel.js +83 -4
- package/dist/docs/404.html +2 -2
- package/dist/docs/assets/{app.CAeK13eM.js → app.9eAtsjAM.js} +4 -4
- package/dist/docs/assets/chunks/@localSearchIndexroot.DjNBgxTF.js +1 -0
- package/dist/docs/assets/chunks/{VPLocalSearchBox.C9LbPHod.js → VPLocalSearchBox.C9s69nxj.js} +1 -1
- package/dist/docs/assets/chunks/{arc.CmMq2zmS.js → arc.DmWDRaF-.js} +1 -1
- package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.CCXB8Uj5.js → architectureDiagram-Q4EWVU46.BE1Wj4f3.js} +1 -1
- package/dist/docs/assets/chunks/{baseUniq.CyQo6eLe.js → baseUniq.pmEZGnWu.js} +1 -1
- package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.JYq6w91N.js → blockDiagram-DXYQGD6D.D6mM-5XN.js} +1 -1
- package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.BRV8GPJJ.js → c4Diagram-AHTNJAMY.ZQYTPC1b.js} +1 -1
- package/dist/docs/assets/chunks/channel.BNF8VK-B.js +1 -0
- package/dist/docs/assets/chunks/{chunk-4BX2VUAB.Bv4ooYQR.js → chunk-4BX2VUAB.CKJ7gaK8.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-4TB4RGXK.t4JtKPcj.js → chunk-4TB4RGXK.CL61HnvB.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-55IACEB6.34lCHj9Y.js → chunk-55IACEB6.DsA4XA1m.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-EDXVE4YY.BSwrPNrt.js → chunk-EDXVE4YY.BODHCHFW.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-FMBD7UC4.Beeun-R-.js → chunk-FMBD7UC4.D6NBaZTa.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-OYMX7WX6.BUUFUcJc.js → chunk-OYMX7WX6.BLPuqFXg.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-QZHKN3VN.B2XjHzN_.js → chunk-QZHKN3VN.BFs_ML8Z.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-YZCP3GAM.CLYG8znk.js → chunk-YZCP3GAM.BDjuFyZv.js} +1 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.iViHzfrK.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.iViHzfrK.js +1 -0
- package/dist/docs/assets/chunks/clone.CJoR2BBM.js +1 -0
- package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.DVEa6fZp.js → cose-bilkent-S5V4N54A.D85HNEsi.js} +1 -1
- package/dist/docs/assets/chunks/{dagre-KV5264BT.C9PZQK-S.js → dagre-KV5264BT.V463KlSF.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-5BDNPKRD.DoN0uv3Y.js → diagram-5BDNPKRD.DhBDu1ab.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.Czv3duqx.js → diagram-G4DWMVQ6.v6sC68zl.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-MMDJMWI5.BinJ5kWb.js → diagram-MMDJMWI5.DhHsdXYv.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-TYMM5635.DW326M4K.js → diagram-TYMM5635.BPWNSFZc.js} +1 -1
- package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.U2pR_OA7.js → erDiagram-SMLLAGMA.Cq0wTMPL.js} +1 -1
- package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.ByWJXeYK.js → flowDiagram-DWJPFMVM.MveMtucC.js} +1 -1
- package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.OquF0Rtg.js → ganttDiagram-T4ZO3ILL.BzKfGUSf.js} +1 -1
- package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.Bpn01P7X.js → gitGraphDiagram-UUTBAWPF.OToXTSW_.js} +1 -1
- package/dist/docs/assets/chunks/{graph.CNRB6ETL.js → graph.D82tam-l.js} +1 -1
- package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.CqhknMWi.js → infoDiagram-42DDH7IO.DzFlRmcE.js} +1 -1
- package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.C6xpR2af.js → ishikawaDiagram-UXIWVN3A.CVPRJiKe.js} +1 -1
- package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.Cg5f7oB3.js → journeyDiagram-VCZTEJTY.CQvNTfQC.js} +1 -1
- package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.Cx9YTwlU.js → kanban-definition-6JOO6SKY.BwywywUl.js} +1 -1
- package/dist/docs/assets/chunks/{layout.ljS-wFtK.js → layout.C4BkPPba.js} +1 -1
- package/dist/docs/assets/chunks/{linear.jSxNrsFC.js → linear.FoSfGKD4.js} +1 -1
- package/dist/docs/assets/chunks/{min.Cum8AlQw.js → min.yLh8jqfl.js} +1 -1
- package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.BLiysLpe.js → mindmap-definition-QFDTVHPH.C9Dq2_CN.js} +1 -1
- package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.BoIDyuKF.js → pieDiagram-DEJITSTG.CiGyBcES.js} +1 -1
- package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.DLkpDytR.js → quadrantDiagram-34T5L4WZ.1FWea9nj.js} +1 -1
- package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.DqTVqSu2.js → requirementDiagram-MS252O5E.B1q7ntiV.js} +1 -1
- package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.CG_6FF7j.js → sankeyDiagram-XADWPNL6.Cpr4oU_k.js} +1 -1
- package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.BIp9602K.js → sequenceDiagram-FGHM5R23.CUK68STn.js} +1 -1
- package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.COSXsD9I.js → stateDiagram-FHFEXIEX.zU0yL2m4.js} +1 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.nV8Nl-td.js +1 -0
- package/dist/docs/assets/chunks/{theme.CXJ7PNwy.js → theme.DhnKd0CD.js} +2 -2
- package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.CXdVqkLq.js → timeline-definition-GMOUNBTQ.CNYoXo3F.js} +1 -1
- package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.CZxGuc4r.js → vennDiagram-DHZGUBPP.DFWH3G9s.js} +1 -1
- package/dist/docs/assets/chunks/{wardley-RL74JXVD.3oVgfqQk.js → wardley-RL74JXVD.Do4PwzeN.js} +1 -1
- package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.6_irCgGJ.js → wardleyDiagram-NUSXRM2D.7WLkqM7s.js} +1 -1
- package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.TRPe92m3.js → xychartDiagram-5P7HB3ND.-SyUNgWw.js} +1 -1
- package/dist/docs/assets/{deployment.md.D2jQZuFx.js → deployment.md.D2YX7u_I.js} +1 -1
- package/dist/docs/assets/{guides_agent-to-agent.md.CD4T5FIl.js → guides_agent-to-agent.md.C6kPY8nu.js} +2 -2
- package/dist/docs/assets/{guides_cloud-agents.md.Cp1O3u-X.js → guides_cloud-agents.md.BPJqTZjT.js} +1 -1
- package/dist/docs/assets/{guides_grokbot-agents.md.CMhZNdEU.js → guides_grokbot-agents.md.CzV715v8.js} +1 -1
- package/dist/docs/assets/guides_hooks.md.BT9GLwEp.js +50 -0
- package/dist/docs/assets/guides_hooks.md.BT9GLwEp.lean.js +1 -0
- package/dist/docs/assets/{guides_jev.md.F5fAkkfN.js → guides_jev.md.DeSCqMaO.js} +6 -44
- package/dist/docs/assets/guides_jev.md.DeSCqMaO.lean.js +1 -0
- package/dist/docs/assets/{guides_slack.md.Bo96y42E.js → guides_slack.md.DVjNyqq5.js} +3 -3
- package/dist/docs/assets/{guides_slack.md.Bo96y42E.lean.js → guides_slack.md.DVjNyqq5.lean.js} +1 -1
- package/dist/docs/assets/reference_agent-config.md.BRxAlnRy.js +36 -0
- package/dist/docs/assets/{reference_agent-config.md.DGPyw7ms.lean.js → reference_agent-config.md.BRxAlnRy.lean.js} +1 -1
- package/dist/docs/assets/reference_artifacts.md.KRX0sAdt.js +18 -0
- package/dist/docs/assets/reference_artifacts.md.KRX0sAdt.lean.js +1 -0
- package/dist/docs/assets/reference_channels.md.DZr14vm7.js +23 -0
- package/dist/docs/assets/reference_channels.md.DZr14vm7.lean.js +1 -0
- package/dist/docs/assets/reference_cli.md.BvnQM8wd.js +97 -0
- package/dist/docs/assets/reference_cli.md.BvnQM8wd.lean.js +1 -0
- package/dist/docs/assets/{reference_connections.md.Je9dMsdd.js → reference_connections.md.DJGUCxrr.js} +18 -30
- package/dist/docs/assets/{reference_connections.md.Je9dMsdd.lean.js → reference_connections.md.DJGUCxrr.lean.js} +1 -1
- package/dist/docs/assets/{reference_evals.md.DNJzM_yf.js → reference_evals.md.C6umwNC6.js} +6 -7
- package/dist/docs/assets/reference_evals.md.C6umwNC6.lean.js +1 -0
- package/dist/docs/assets/{reference_extensions.md.Cv5aLCz_.js → reference_extensions.md.DbNYu-DP.js} +3 -3
- package/dist/docs/assets/{reference_extensions.md.Cv5aLCz_.lean.js → reference_extensions.md.DbNYu-DP.lean.js} +1 -1
- package/dist/docs/assets/reference_hooks.md.BfOkhTU0.js +45 -0
- package/dist/docs/assets/{reference_hooks.md.B7uzNENk.lean.js → reference_hooks.md.BfOkhTU0.lean.js} +1 -1
- package/dist/docs/assets/reference_http-api.md.DdwtBeCj.js +11 -0
- package/dist/docs/assets/{reference_http-api.md.CduHavZ2.lean.js → reference_http-api.md.DdwtBeCj.lean.js} +1 -1
- package/dist/docs/assets/reference_instructions.md.B2mcIzT6.js +14 -0
- package/dist/docs/assets/reference_instructions.md.B2mcIzT6.lean.js +1 -0
- package/dist/docs/assets/reference_playground.md.CyrQD_n3.js +1 -0
- package/dist/docs/assets/reference_playground.md.CyrQD_n3.lean.js +1 -0
- package/dist/docs/assets/reference_project-layout.md.BEMzxAkq.js +19 -0
- package/dist/docs/assets/{reference_project-layout.md.BGhgpy9V.lean.js → reference_project-layout.md.BEMzxAkq.lean.js} +1 -1
- package/dist/docs/assets/reference_prompt.md.BFrqjHFL.js +9 -0
- package/dist/docs/assets/reference_prompt.md.BFrqjHFL.lean.js +1 -0
- package/dist/docs/assets/reference_schedules.md.BB9N3tRR.js +47 -0
- package/dist/docs/assets/reference_schedules.md.BB9N3tRR.lean.js +1 -0
- package/dist/docs/assets/reference_sessions.md.BBp-GIt-.js +1 -0
- package/dist/docs/assets/{reference_sessions.md.1_6Vyv7x.lean.js → reference_sessions.md.BBp-GIt-.lean.js} +1 -1
- package/dist/docs/assets/reference_skills.md.BVmi3UJ_.js +15 -0
- package/dist/docs/assets/{reference_skills.md.DjQkRefx.lean.js → reference_skills.md.BVmi3UJ_.lean.js} +1 -1
- package/dist/docs/assets/reference_subagents.md.DRoRy2Uj.js +10 -0
- package/dist/docs/assets/{reference_subagents.md.Dl16gcBj.lean.js → reference_subagents.md.DRoRy2Uj.lean.js} +1 -1
- package/dist/docs/assets/{reference_tools.md.B1dH1lpa.js → reference_tools.md.CgocLDX1.js} +9 -6
- package/dist/docs/assets/{reference_tools.md.B1dH1lpa.lean.js → reference_tools.md.CgocLDX1.lean.js} +1 -1
- package/dist/docs/assets/troubleshooting.md.HY95rCCz.js +1 -0
- package/dist/docs/building-with-agents.html +35 -35
- package/dist/docs/deployment.html +37 -37
- package/dist/docs/deployment.md +1 -1
- package/dist/docs/evals.html +35 -35
- package/dist/docs/guides/agent-to-agent.html +38 -38
- package/dist/docs/guides/agent-to-agent.md +11 -12
- package/dist/docs/guides/bitbucket.html +35 -35
- package/dist/docs/guides/cloud-agents.html +36 -36
- package/dist/docs/guides/cloud-agents.md +1 -1
- package/dist/docs/guides/convert-automation.html +35 -35
- package/dist/docs/guides/github.html +35 -35
- package/dist/docs/guides/gitlab.html +35 -35
- package/dist/docs/guides/grokbot-agents.html +37 -37
- package/dist/docs/guides/grokbot-agents.md +1 -1
- package/dist/docs/guides/hooks.html +109 -0
- package/dist/docs/guides/hooks.md +111 -0
- package/dist/docs/guides/improve.html +35 -35
- package/dist/docs/guides/jev.html +42 -80
- package/dist/docs/guides/jev.md +22 -79
- package/dist/docs/guides/mcp-oauth.html +36 -36
- package/dist/docs/guides/opentelemetry.html +35 -35
- package/dist/docs/guides/slack.html +37 -37
- package/dist/docs/guides/slack.md +7 -0
- package/dist/docs/guides/webhooks.html +35 -35
- package/dist/docs/hashmap.json +1 -1
- package/dist/docs/hillclimbing.html +35 -35
- package/dist/docs/index.html +35 -35
- package/dist/docs/llms-full.txt +1683 -2054
- package/dist/docs/llms.txt +9 -8
- package/dist/docs/quickstart.html +35 -35
- package/dist/docs/reference/agent-config.html +42 -46
- package/dist/docs/reference/agent-config.md +48 -81
- package/dist/docs/reference/artifacts.html +39 -40
- package/dist/docs/reference/artifacts.md +71 -70
- package/dist/docs/reference/channels.html +41 -61
- package/dist/docs/reference/channels.md +134 -201
- package/dist/docs/reference/cli.html +127 -125
- package/dist/docs/reference/cli.md +685 -753
- package/dist/docs/reference/connections.html +54 -66
- package/dist/docs/reference/connections.md +92 -128
- package/dist/docs/reference/evals.html +42 -43
- package/dist/docs/reference/evals.md +42 -50
- package/dist/docs/reference/extensions.html +38 -38
- package/dist/docs/reference/extensions.md +9 -13
- package/dist/docs/reference/hooks.html +39 -67
- package/dist/docs/reference/hooks.md +72 -146
- package/dist/docs/reference/http-api.html +39 -39
- package/dist/docs/reference/http-api.md +137 -161
- package/dist/docs/reference/instructions.html +39 -39
- package/dist/docs/reference/instructions.md +21 -36
- package/dist/docs/reference/playground.html +36 -36
- package/dist/docs/reference/playground.md +26 -43
- package/dist/docs/reference/project-layout.html +38 -38
- package/dist/docs/reference/project-layout.md +12 -17
- package/dist/docs/reference/prompt.html +42 -42
- package/dist/docs/reference/prompt.md +18 -13
- package/dist/docs/reference/schedules.html +56 -91
- package/dist/docs/reference/schedules.md +52 -99
- package/dist/docs/reference/sessions.html +36 -36
- package/dist/docs/reference/sessions.md +36 -40
- package/dist/docs/reference/skills.html +38 -38
- package/dist/docs/reference/skills.md +15 -26
- package/dist/docs/reference/subagents.html +38 -38
- package/dist/docs/reference/subagents.md +20 -30
- package/dist/docs/reference/tools.html +44 -41
- package/dist/docs/reference/tools.md +45 -64
- package/dist/docs/templates/agentic-owners.html +35 -35
- package/dist/docs/templates/pr-autofixer.html +35 -35
- package/dist/docs/templates/security-reviewer.html +35 -35
- package/dist/docs/templates/thermo-quality-review.html +35 -35
- package/dist/docs/templates/thermo-review.html +35 -35
- package/dist/docs/templates/triage.html +35 -35
- package/dist/docs/troubleshooting.html +36 -36
- package/dist/docs/troubleshooting.md +1 -1
- package/dist/internal/cli-deploy.d.ts.map +1 -1
- package/dist/internal/cli-deploy.js +9 -1
- package/dist/internal/deploy-client.d.ts +6 -0
- package/dist/internal/deploy-client.d.ts.map +1 -1
- package/dist/internal/deploy-client.js +3 -0
- package/dist/internal/discovery/agent-config.d.ts +3 -1
- package/dist/internal/discovery/agent-config.d.ts.map +1 -1
- package/dist/internal/discovery/agent-config.js +7 -4
- package/dist/internal/framework-storage-selection.d.ts +1 -1
- package/dist/internal/framework-storage-selection.d.ts.map +1 -1
- package/dist/internal/platform-timers.d.ts.map +1 -1
- package/dist/internal/platform-timers.js +20 -2
- package/dist/internal/reminder-runner.d.ts +79 -1
- package/dist/internal/reminder-runner.d.ts.map +1 -1
- package/dist/internal/reminder-runner.js +276 -44
- package/dist/internal/server.d.ts.map +1 -1
- package/dist/internal/server.js +7 -0
- package/dist/memory.d.ts +4 -0
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +28 -4
- package/dist/playground/assets/index-DLwnR9ys.css +1 -0
- package/dist/playground/index.html +2 -2
- package/dist/types.d.ts +16 -9
- package/dist/types.d.ts.map +1 -1
- package/docs/deployment.md +1 -1
- package/docs/guides/agent-to-agent.md +11 -12
- package/docs/guides/cloud-agents.md +1 -1
- package/docs/guides/grokbot-agents.md +1 -1
- package/docs/guides/hooks.md +116 -0
- package/docs/guides/jev.md +23 -80
- package/docs/guides/slack.md +7 -0
- package/docs/reference/agent-config.md +48 -81
- package/docs/reference/artifacts.md +72 -71
- package/docs/reference/channels.md +135 -202
- package/docs/reference/cli.md +686 -754
- package/docs/reference/connections.md +93 -129
- package/docs/reference/evals.md +43 -51
- package/docs/reference/extensions.md +9 -13
- package/docs/reference/hooks.md +72 -146
- package/docs/reference/http-api.md +137 -161
- package/docs/reference/instructions.md +22 -37
- package/docs/reference/playground.md +26 -43
- package/docs/reference/project-layout.md +12 -17
- package/docs/reference/prompt.md +20 -15
- package/docs/reference/schedules.md +52 -99
- package/docs/reference/sessions.md +36 -40
- package/docs/reference/skills.md +15 -26
- package/docs/reference/subagents.md +20 -30
- package/docs/reference/tools.md +45 -64
- package/docs/troubleshooting.md +1 -1
- package/package.json +1 -1
- package/src/channels/slack/inbound.ts +24 -0
- package/src/channels/slack/slack-channel.ts +123 -1
- package/src/internal/cli-deploy.ts +12 -1
- package/src/internal/deploy-client.ts +9 -0
- package/src/internal/discovery/agent-config.ts +8 -6
- package/src/internal/framework-storage-selection.ts +1 -1
- package/src/internal/platform-timers.ts +24 -2
- package/src/internal/reminder-runner.ts +426 -63
- package/src/internal/server.ts +8 -0
- package/src/memory.ts +37 -3
- package/src/types.ts +16 -9
- package/dist/docs/assets/chunks/@localSearchIndexroot.Ck9E52Ls.js +0 -1
- package/dist/docs/assets/chunks/channel.BHiYmnZ4.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.Degh8l90.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.Degh8l90.js +0 -1
- package/dist/docs/assets/chunks/clone.BIywbczV.js +0 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.qrxrbFsX.js +0 -1
- package/dist/docs/assets/guides_jev.md.F5fAkkfN.lean.js +0 -1
- package/dist/docs/assets/reference_agent-config.md.DGPyw7ms.js +0 -40
- package/dist/docs/assets/reference_artifacts.md.Bu_4HmsD.js +0 -19
- package/dist/docs/assets/reference_artifacts.md.Bu_4HmsD.lean.js +0 -1
- package/dist/docs/assets/reference_channels.md.nFWbzAic.js +0 -43
- package/dist/docs/assets/reference_channels.md.nFWbzAic.lean.js +0 -1
- package/dist/docs/assets/reference_cli.md.DLWDz9ij.js +0 -95
- package/dist/docs/assets/reference_cli.md.DLWDz9ij.lean.js +0 -1
- package/dist/docs/assets/reference_evals.md.DNJzM_yf.lean.js +0 -1
- package/dist/docs/assets/reference_hooks.md.B7uzNENk.js +0 -73
- package/dist/docs/assets/reference_http-api.md.CduHavZ2.js +0 -11
- package/dist/docs/assets/reference_instructions.md.CU1My5My.js +0 -14
- package/dist/docs/assets/reference_instructions.md.CU1My5My.lean.js +0 -1
- package/dist/docs/assets/reference_playground.md.Ch2d0Iqi.js +0 -1
- package/dist/docs/assets/reference_playground.md.Ch2d0Iqi.lean.js +0 -1
- package/dist/docs/assets/reference_project-layout.md.BGhgpy9V.js +0 -19
- package/dist/docs/assets/reference_prompt.md.Ccp0R53H.js +0 -1
- package/dist/docs/assets/reference_prompt.md.Ccp0R53H.lean.js +0 -1
- package/dist/docs/assets/reference_schedules.md.B2Nm6FaD.js +0 -82
- package/dist/docs/assets/reference_schedules.md.B2Nm6FaD.lean.js +0 -1
- package/dist/docs/assets/reference_sessions.md.1_6Vyv7x.js +0 -1
- package/dist/docs/assets/reference_skills.md.DjQkRefx.js +0 -15
- package/dist/docs/assets/reference_subagents.md.Dl16gcBj.js +0 -10
- package/dist/docs/assets/troubleshooting.md.mnfFG2Em.js +0 -1
- package/dist/playground/assets/index-DSMAewbx.css +0 -1
- /package/dist/docs/assets/{deployment.md.D2jQZuFx.lean.js → deployment.md.D2YX7u_I.lean.js} +0 -0
- /package/dist/docs/assets/{guides_agent-to-agent.md.CD4T5FIl.lean.js → guides_agent-to-agent.md.C6kPY8nu.lean.js} +0 -0
- /package/dist/docs/assets/{guides_cloud-agents.md.Cp1O3u-X.lean.js → guides_cloud-agents.md.BPJqTZjT.lean.js} +0 -0
- /package/dist/docs/assets/{guides_grokbot-agents.md.CMhZNdEU.lean.js → guides_grokbot-agents.md.CzV715v8.lean.js} +0 -0
- /package/dist/docs/assets/{troubleshooting.md.mnfFG2Em.lean.js → troubleshooting.md.HY95rCCz.lean.js} +0 -0
- /package/dist/playground/assets/{index-De_lpFxE.js → index-CX6oTKwz.js} +0 -0
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
# HTTP API
|
|
2
|
-
|
|
3
|
-
Agent SDK hosts expose
|
|
4
|
-
multi-agent layout each agent
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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 |
|
|
44
|
+
| Body field | Contract |
|
|
47
45
|
| --- | --- |
|
|
48
46
|
| `message` | Required user message |
|
|
49
|
-
| `title` |
|
|
47
|
+
| `title` | Display title |
|
|
50
48
|
| `dryRun` | Run read tools and stub write tools |
|
|
51
|
-
| `asOf` | ISO-8601 instant with a timezone
|
|
52
|
-
| `workspaceFiles` |
|
|
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
|
-
|
|
66
|
-
Each accepted follow-up rotates the token
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
|
|
71
|
-
|
|
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
|
|
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
|
-
|
|
82
|
-
default
|
|
83
|
-
|
|
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
|
-
##
|
|
88
|
+
## Manage sessions
|
|
100
89
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
`
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
|
|
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
|
-
|
|
100
|
+
## Resolve tool approvals
|
|
110
101
|
|
|
111
|
-
| Route
|
|
112
|
-
|
|
|
113
|
-
| `GET /v1/session/:sessionId/approvals`
|
|
114
|
-
| `POST /v1/session/:sessionId/approvals/:callId` | Resolve one
|
|
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
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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
|
|
149
|
-
|
|
|
150
|
-
| `GET /v1/info`
|
|
151
|
-
| `GET /v1/tools`
|
|
152
|
-
| `GET /v1/tools/:name`
|
|
153
|
-
| `GET /v1/health`
|
|
154
|
-
| `GET /v1/logs?after=N` |
|
|
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
|
-
|
|
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
|
-
|
|
159
|
-
`tag_artifact`. See [Artifacts](/docs/reference/artifacts.md).
|
|
148
|
+
## List and download artifacts
|
|
160
149
|
|
|
161
|
-
| Route
|
|
162
|
-
|
|
|
163
|
-
| `GET /v1/artifacts`
|
|
164
|
-
| `GET /v1/artifacts/:id/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
|
-
|
|
167
|
-
|
|
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
|
-
##
|
|
158
|
+
## Call custom channel routes
|
|
172
159
|
|
|
173
|
-
Authored routes mount under `/v1/channels/<id>` with
|
|
174
|
-
and Zod
|
|
175
|
-
|
|
176
|
-
|
|
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
|
-
|
|
183
|
-
|
|
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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
`/v1/mcp
|
|
194
|
-
|
|
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
|
|
180
|
+
The playground Evals tab and remote eval commands use these routes:
|
|
199
181
|
|
|
200
|
-
| Route
|
|
201
|
-
|
|
|
202
|
-
| `GET /v1/dev/evals`
|
|
203
|
-
| `GET /v1/dev/evals/runs`
|
|
204
|
-
| `POST /v1/dev/evals/runs`
|
|
205
|
-
| `GET /v1/dev/evals/runs/:runId` |
|
|
206
|
-
| `POST /v1/dev/evals/runs/:runId/cancel` | Cancel
|
|
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
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
|
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`
|
|
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
|
|
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
|
|
233
|
-
above and has no privileged surface.
|
|
210
|
+
playground. `--no-playground` removes both routes.
|
|
234
211
|
|
|
235
212
|
## Status codes
|
|
236
213
|
|
|
237
|
-
|
|
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
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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)
|