@cursor/bdk 0.2.14 → 0.2.15
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/AGENTS.md +51 -52
- package/README.md +1 -1
- package/dist/bin/agent-sdk.js +0 -0
- package/dist/bin/agent-serve.js +0 -0
- package/dist/channels/slack/attachments.d.ts +2 -0
- package/dist/channels/slack/attachments.d.ts.map +1 -1
- package/dist/channels/slack/attachments.js +17 -5
- package/dist/channels/slack/channel-watch.d.ts +4 -2
- package/dist/channels/slack/channel-watch.d.ts.map +1 -1
- package/dist/channels/slack/channel-watch.js +4 -2
- package/dist/channels/slack/slack-channel.d.ts.map +1 -1
- package/dist/channels/slack/slack-channel.js +4 -2
- package/dist/channels/slack/types.d.ts +6 -4
- package/dist/channels/slack/types.d.ts.map +1 -1
- package/dist/connections.d.ts +29 -0
- package/dist/connections.d.ts.map +1 -1
- package/dist/connections.js +54 -0
- package/dist/docs/404.html +2 -2
- package/dist/docs/assets/{app.BN3sgOOo.js → app.CRMxF0qX.js} +4 -4
- package/dist/docs/assets/{building-with-agents.md.Df87rAe1.js → building-with-agents.md.Bi9CQ-bR.js} +3 -3
- package/dist/docs/assets/{building-with-agents.md.Df87rAe1.lean.js → building-with-agents.md.Bi9CQ-bR.lean.js} +1 -1
- package/dist/docs/assets/chunks/@localSearchIndexroot.BZwvb2LN.js +1 -0
- package/dist/docs/assets/chunks/{VPLocalSearchBox.CbA00dML.js → VPLocalSearchBox.C4BiQe53.js} +1 -1
- package/dist/docs/assets/chunks/{arc.Byug8CZM.js → arc.D1TA2Mxn.js} +1 -1
- package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.D1_qmnQy.js → architectureDiagram-Q4EWVU46.CA-hBJCN.js} +1 -1
- package/dist/docs/assets/chunks/{baseUniq.Dj-Nurf-.js → baseUniq.CzsSgiab.js} +1 -1
- package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.BZwq3EIg.js → blockDiagram-DXYQGD6D.sxrH_f0l.js} +1 -1
- package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.dx75urO7.js → c4Diagram-AHTNJAMY.D_Z3mqAl.js} +1 -1
- package/dist/docs/assets/chunks/channel.D7DtboxW.js +1 -0
- package/dist/docs/assets/chunks/{chunk-4BX2VUAB.CIoddsDQ.js → chunk-4BX2VUAB.BS6_uTUf.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-4TB4RGXK.O3VsVBES.js → chunk-4TB4RGXK.D-URAeTU.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-55IACEB6.WNNWh0Pe.js → chunk-55IACEB6.b4SZc5kO.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-EDXVE4YY.BKVQwEME.js → chunk-EDXVE4YY.DLKEEDkN.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-FMBD7UC4.Cv5iBz7A.js → chunk-FMBD7UC4.3SyQHgpY.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-OYMX7WX6.wCDCToee.js → chunk-OYMX7WX6.DBKKaFeS.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-QZHKN3VN.D3IGXhXA.js → chunk-QZHKN3VN.BhCYeR7H.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-YZCP3GAM.CAPPh-E7.js → chunk-YZCP3GAM.Cpg0VgI7.js} +1 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.irslOV8B.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.irslOV8B.js +1 -0
- package/dist/docs/assets/chunks/clone.DosLeDYL.js +1 -0
- package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.BQCFH3M5.js → cose-bilkent-S5V4N54A.4q0YNZN6.js} +1 -1
- package/dist/docs/assets/chunks/{dagre-KV5264BT.lHmdrh7L.js → dagre-KV5264BT.Bk_CcQPr.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-5BDNPKRD.EtSPnHgD.js → diagram-5BDNPKRD.CgreoM_Z.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.DCyUnQT8.js → diagram-G4DWMVQ6.DlZGpm6W.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-MMDJMWI5._E0Qqblb.js → diagram-MMDJMWI5.BxtXxgIR.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-TYMM5635.BDj4oyy_.js → diagram-TYMM5635.DSzlJp2D.js} +1 -1
- package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.CrvnO6a3.js → erDiagram-SMLLAGMA.BN1YUmEV.js} +1 -1
- package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.DIhYc-2F.js → flowDiagram-DWJPFMVM.B61NGNYu.js} +1 -1
- package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.hFqm_vio.js → ganttDiagram-T4ZO3ILL.DR-tto3M.js} +1 -1
- package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.N3GDaVDD.js → gitGraphDiagram-UUTBAWPF.CBPs2W_2.js} +1 -1
- package/dist/docs/assets/chunks/{graph.DK28rMBx.js → graph.DmlaqzCE.js} +1 -1
- package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.DHmE6W9M.js → infoDiagram-42DDH7IO.obPv-fFg.js} +1 -1
- package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.ByUJuOYm.js → ishikawaDiagram-UXIWVN3A.CXHTUcM3.js} +1 -1
- package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.BIUChFMh.js → journeyDiagram-VCZTEJTY.BoVHerYZ.js} +1 -1
- package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.CNgFXwo-.js → kanban-definition-6JOO6SKY.CfYmPHZg.js} +1 -1
- package/dist/docs/assets/chunks/{layout.BDnwE4ET.js → layout.621UdAhB.js} +1 -1
- package/dist/docs/assets/chunks/{linear.DmrYLXFs.js → linear.Cz_zRKjr.js} +1 -1
- package/dist/docs/assets/chunks/{min.BbYcWakN.js → min.ON4GjCH7.js} +1 -1
- package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.C9x-klkv.js → mindmap-definition-QFDTVHPH.DLPMLJlv.js} +1 -1
- package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.iufpEbi0.js → pieDiagram-DEJITSTG.BFp11AYt.js} +1 -1
- package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.DdoXbWL9.js → quadrantDiagram-34T5L4WZ.ChX7xo6B.js} +1 -1
- package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.XL1-_pNk.js → requirementDiagram-MS252O5E.DbKtHG_Q.js} +1 -1
- package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.DySXofNs.js → sankeyDiagram-XADWPNL6.Spw8tv-7.js} +1 -1
- package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.Cp0GZoOU.js → sequenceDiagram-FGHM5R23.BYso9LlE.js} +1 -1
- package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.DvK-sXUX.js → stateDiagram-FHFEXIEX.D8l54jqW.js} +1 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CAYMmzGj.js +1 -0
- package/dist/docs/assets/chunks/{theme.Clup4iIo.js → theme.m_Ethbkv.js} +2 -2
- package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.gHI9ZLm6.js → timeline-definition-GMOUNBTQ.BLdhhyy9.js} +1 -1
- package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.G2N2zXYe.js → vennDiagram-DHZGUBPP.CyGT2F_P.js} +1 -1
- package/dist/docs/assets/chunks/{wardley-RL74JXVD.C46G0P5a.js → wardley-RL74JXVD.C5JJS3bh.js} +1 -1
- package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.BgUKEagd.js → wardleyDiagram-NUSXRM2D.p_Sz9p1i.js} +1 -1
- package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.CwH7oege.js → xychartDiagram-5P7HB3ND.DtXsNUaf.js} +1 -1
- package/dist/docs/assets/deployment.md.hKKN9I4c.js +31 -0
- package/dist/docs/assets/{deployment.md.BYuEcDBv.lean.js → deployment.md.hKKN9I4c.lean.js} +1 -1
- package/dist/docs/assets/{evals.md.C851kViu.js → evals.md.CHR34K1Y.js} +3 -7
- package/dist/docs/assets/{evals.md.C851kViu.lean.js → evals.md.CHR34K1Y.lean.js} +1 -1
- package/dist/docs/assets/guides_cloud-agents.md.CBK7W0-O.js +9 -0
- package/dist/docs/assets/guides_cloud-agents.md.CBK7W0-O.lean.js +1 -0
- package/dist/docs/assets/guides_grokbot-agents.md.BwAykJ7U.js +15 -0
- package/dist/docs/assets/{guides_grokbot-agents.md.tD1smFhU.lean.js → guides_grokbot-agents.md.BwAykJ7U.lean.js} +1 -1
- package/dist/docs/assets/{guides_hooks.md.5Ce3NXxZ.js → guides_hooks.md.B_bKG1oA.js} +1 -1
- package/dist/docs/assets/{guides_improve.md.CRrYq22s.js → guides_improve.md.CZKVt1cT.js} +2 -3
- package/dist/docs/assets/{guides_improve.md.CRrYq22s.lean.js → guides_improve.md.CZKVt1cT.lean.js} +1 -1
- package/dist/docs/assets/{guides_mcp-oauth.md.DR3zhC9r.js → guides_mcp-oauth.md.BM_eFC0L.js} +3 -15
- package/dist/docs/assets/guides_mcp-oauth.md.BM_eFC0L.lean.js +1 -0
- package/dist/docs/assets/{guides_webhooks.md.BBvAm_VF.js → guides_webhooks.md.Cpdc3BDX.js} +13 -12
- package/dist/docs/assets/{guides_webhooks.md.BBvAm_VF.lean.js → guides_webhooks.md.Cpdc3BDX.lean.js} +1 -1
- package/dist/docs/assets/{index.md.Dxxr7pFa.js → index.md.BIBHIQtU.js} +1 -1
- package/dist/docs/assets/{quickstart.md.BK5gjHM2.js → quickstart.md.CduLGBAB.js} +1 -1
- package/dist/docs/assets/reference_channels.md.DYg0CLud.js +22 -0
- package/dist/docs/assets/{reference_channels.md.LbNIJBwd.lean.js → reference_channels.md.DYg0CLud.lean.js} +1 -1
- package/dist/docs/assets/{reference_cli.md.dYCAL2lB.js → reference_cli.md.BYNIHwbi.js} +15 -12
- package/dist/docs/assets/{reference_cli.md.dYCAL2lB.lean.js → reference_cli.md.BYNIHwbi.lean.js} +1 -1
- package/dist/docs/assets/{reference_connections.md.DLrgAd5f.js → reference_connections.md.CxbLpaaP.js} +4 -5
- package/dist/docs/assets/{reference_connections.md.DLrgAd5f.lean.js → reference_connections.md.CxbLpaaP.lean.js} +1 -1
- package/dist/docs/assets/{reference_evals.md.D5i8PuXJ.js → reference_evals.md.if--BLd0.js} +1 -1
- package/dist/docs/assets/{reference_hooks.md.B-eGa2km.js → reference_hooks.md.DbJC8mcZ.js} +1 -1
- package/dist/docs/assets/reference_http-api.md.CrqhTv6S.js +11 -0
- package/dist/docs/assets/{reference_http-api.md.DbFNOubV.lean.js → reference_http-api.md.CrqhTv6S.lean.js} +1 -1
- package/dist/docs/assets/reference_playground.md.q4MI-0td.js +1 -0
- package/dist/docs/assets/reference_playground.md.q4MI-0td.lean.js +1 -0
- package/dist/docs/assets/{reference_schedules.md.BuJ8fgMa.js → reference_schedules.md.03Ryy9ca.js} +5 -5
- package/dist/docs/assets/{reference_schedules.md.BuJ8fgMa.lean.js → reference_schedules.md.03Ryy9ca.lean.js} +1 -1
- package/dist/docs/assets/reference_sessions.md.C_uzIWuy.js +1 -0
- package/dist/docs/assets/{reference_skills.md.ClkMoQsV.js → reference_skills.md.Ckddg6KX.js} +1 -1
- package/dist/docs/assets/{reference_tools.md.DzIY9JzY.js → reference_tools.md.08XR7lIl.js} +3 -14
- package/dist/docs/assets/reference_tools.md.08XR7lIl.lean.js +1 -0
- package/dist/docs/assets/{templates_grokbot-agents.md.2sydjFiO.js → templates_grokbot-agents.md.DgpPEs7B.js} +1 -1
- package/dist/docs/assets/troubleshooting.md.PCafNCb5.js +1 -0
- package/dist/docs/assets/{troubleshooting.md.x-GBa7wN.lean.js → troubleshooting.md.PCafNCb5.lean.js} +1 -1
- package/dist/docs/building-with-agents.html +37 -37
- package/dist/docs/building-with-agents.md +5 -5
- package/dist/docs/deployment.html +43 -41
- package/dist/docs/deployment.md +70 -33
- package/dist/docs/evals.html +38 -42
- package/dist/docs/evals.md +1 -16
- package/dist/docs/guides/agent-to-agent.html +35 -35
- package/dist/docs/guides/bitbucket.html +35 -35
- package/dist/docs/guides/cloud-agents.html +38 -39
- package/dist/docs/guides/cloud-agents.md +2 -8
- 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 -38
- package/dist/docs/guides/grokbot-agents.md +9 -13
- package/dist/docs/guides/hooks.html +37 -37
- package/dist/docs/guides/hooks.md +0 -1
- package/dist/docs/guides/improve.html +37 -38
- package/dist/docs/guides/improve.md +4 -6
- package/dist/docs/guides/jev.html +35 -35
- package/dist/docs/guides/mcp-oauth.html +39 -51
- package/dist/docs/guides/mcp-oauth.md +17 -40
- package/dist/docs/guides/migrate.html +35 -35
- package/dist/docs/guides/opentelemetry.html +35 -35
- package/dist/docs/guides/slack.html +35 -35
- package/dist/docs/guides/webhooks.html +47 -46
- package/dist/docs/guides/webhooks.md +35 -18
- package/dist/docs/hashmap.json +1 -1
- package/dist/docs/hillclimbing.html +35 -35
- package/dist/docs/index.html +36 -36
- package/dist/docs/index.md +1 -1
- package/dist/docs/llms-full.txt +347 -269
- package/dist/docs/llms.txt +4 -4
- package/dist/docs/quickstart.html +37 -37
- package/dist/docs/quickstart.md +2 -2
- package/dist/docs/reference/agent-config.html +35 -35
- package/dist/docs/reference/artifacts.html +35 -35
- package/dist/docs/reference/channels.html +42 -43
- package/dist/docs/reference/channels.md +29 -13
- package/dist/docs/reference/cli.html +49 -46
- package/dist/docs/reference/cli.md +113 -40
- package/dist/docs/reference/connections.html +39 -40
- package/dist/docs/reference/connections.md +6 -5
- package/dist/docs/reference/evals.html +37 -37
- package/dist/docs/reference/evals.md +2 -4
- package/dist/docs/reference/extensions.html +35 -35
- package/dist/docs/reference/hooks.html +37 -37
- package/dist/docs/reference/hooks.md +0 -1
- package/dist/docs/reference/http-api.html +38 -38
- package/dist/docs/reference/http-api.md +7 -17
- package/dist/docs/reference/instructions.html +35 -35
- package/dist/docs/reference/playground.html +37 -37
- package/dist/docs/reference/playground.md +1 -4
- package/dist/docs/reference/project-layout.html +35 -35
- package/dist/docs/reference/prompt.html +35 -35
- package/dist/docs/reference/schedules.html +39 -39
- package/dist/docs/reference/schedules.md +26 -3
- package/dist/docs/reference/sessions.html +36 -36
- package/dist/docs/reference/sessions.md +1 -2
- package/dist/docs/reference/skills.html +37 -37
- package/dist/docs/reference/skills.md +1 -1
- package/dist/docs/reference/subagents.html +35 -35
- package/dist/docs/reference/tools.html +39 -50
- package/dist/docs/reference/tools.md +2 -28
- package/dist/docs/templates/agentic-owners.html +35 -35
- package/dist/docs/templates/grokbot-agents.html +37 -37
- package/dist/docs/templates/grokbot-agents.md +1 -1
- 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 +12 -7
- package/dist/extensions/cursor-cloud-agents/extension.d.ts +5 -1
- package/dist/extensions/cursor-cloud-agents/extension.d.ts.map +1 -1
- package/dist/extensions/cursor-cloud-agents/extension.js +4 -0
- package/dist/extensions/cursor-cloud-agents/lib/channels.d.ts.map +1 -1
- package/dist/extensions/cursor-cloud-agents/lib/channels.js +5 -1
- package/dist/internal/cli-deploy.d.ts.map +1 -1
- package/dist/internal/cli-deploy.js +14 -0
- package/dist/internal/continuation-identity.js +1 -1
- package/dist/internal/discovery/agent-config.d.ts +6 -0
- package/dist/internal/discovery/agent-config.d.ts.map +1 -1
- package/dist/internal/discovery/agent-config.js +19 -0
- package/dist/internal/discovery/agent.d.ts.map +1 -1
- package/dist/internal/discovery/agent.js +2 -1
- package/dist/internal/hosted-catch-protocol.d.ts +2 -0
- package/dist/internal/hosted-catch-protocol.d.ts.map +1 -1
- package/dist/internal/hosted-catch-protocol.js +2 -0
- package/dist/internal/hosted-catch.d.ts +2 -3
- package/dist/internal/hosted-catch.d.ts.map +1 -1
- package/dist/internal/hosted-catch.js +2 -3
- package/dist/internal/hosted-delivery.d.ts.map +1 -1
- package/dist/internal/hosted-delivery.js +22 -12
- package/dist/internal/hosted-execution-flush.d.ts +6 -3
- package/dist/internal/hosted-execution-flush.d.ts.map +1 -1
- package/dist/internal/hosted-execution-flush.js +28 -31
- package/dist/internal/peer-connections.d.ts +6 -2
- package/dist/internal/peer-connections.d.ts.map +1 -1
- package/dist/internal/peer-connections.js +23 -19
- package/dist/internal/sdk-runner.d.ts.map +1 -1
- package/dist/internal/sdk-runner.js +5 -2
- package/dist/internal/server.d.ts.map +1 -1
- package/dist/internal/server.js +6 -5
- package/dist/internal/session-engine.d.ts.map +1 -1
- package/dist/internal/session-engine.js +3 -0
- package/dist/internal/session-run-log.d.ts.map +1 -1
- package/dist/internal/session-run-log.js +26 -11
- package/dist/playground/assets/index-BVYWBxLU.css +1 -0
- package/dist/playground/assets/{index-ClxRl2Cw.js → index-DCsq6f_I.js} +37 -37
- package/dist/playground/index.html +2 -2
- package/dist/types.d.ts +16 -0
- package/dist/types.d.ts.map +1 -1
- package/docs/README.md +1 -1
- package/docs/building-with-agents.md +5 -5
- package/docs/deployment.md +70 -33
- package/docs/evals.md +1 -16
- package/docs/guides/cloud-agents.md +3 -9
- package/docs/guides/grokbot-agents.md +10 -14
- package/docs/guides/hooks.md +0 -1
- package/docs/guides/improve.md +4 -6
- package/docs/guides/mcp-oauth.md +18 -41
- package/docs/guides/webhooks.md +35 -18
- package/docs/quickstart.md +2 -2
- package/docs/reference/channels.md +29 -13
- package/docs/reference/cli.md +113 -40
- package/docs/reference/connections.md +6 -5
- package/docs/reference/evals.md +2 -4
- package/docs/reference/hooks.md +0 -1
- package/docs/reference/http-api.md +7 -17
- package/docs/reference/playground.md +2 -5
- package/docs/reference/schedules.md +26 -3
- package/docs/reference/sessions.md +1 -2
- package/docs/reference/skills.md +1 -1
- package/docs/reference/tools.md +3 -29
- package/docs/templates/grokbot-agents.md +1 -1
- package/docs/troubleshooting.md +12 -7
- package/package.json +35 -35
- package/skills/create-agent/SKILL.md +9 -6
- package/skills/debug/SKILL.md +3 -4
- package/skills/evals/SKILL.md +2 -2
- package/skills/framework-map/SKILL.md +10 -10
- package/skills/mcp-auth/SKILL.md +10 -34
- package/skills/migrate-v2/SKILL.md +13 -9
- package/skills/setup-slack/SKILL.md +0 -13
- package/templates/agents-md/README.md +3 -3
- package/templates/agents-md/bot/channels/queue.ts +3 -8
- package/templates/agents-md/bot/instructions.md +1 -2
- package/templates/agents-md/bot/tools/apply_agents.ts +0 -1
- package/templates/agents-md/evals/agents.eval.ts +2 -2
- package/templates/demo/bot/channels/queue.ts +5 -15
- package/templates/grokbot-agents/.gitignore +4 -0
- package/templates/pr-autofixer/bot/channels/drive.ts +3 -16
- package/templates/security-help/.gitignore +4 -0
- package/templates/triage/bot/channels/queue.ts +11 -22
- package/templates/triage/bot/channels/webhook.ts +3 -6
- package/templates/triage/bot/lib/parse-queue-event.ts +0 -6
- package/dist/docs/assets/chunks/@localSearchIndexroot.CzrtdJ8s.js +0 -1
- package/dist/docs/assets/chunks/channel.6ebHhoF9.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.BJ-CwKwu.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.BJ-CwKwu.js +0 -1
- package/dist/docs/assets/chunks/clone.DfV2fkWH.js +0 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.DNdUCJyd.js +0 -1
- package/dist/docs/assets/deployment.md.BYuEcDBv.js +0 -29
- package/dist/docs/assets/guides_cloud-agents.md.CWJjS9No.js +0 -10
- package/dist/docs/assets/guides_cloud-agents.md.CWJjS9No.lean.js +0 -1
- package/dist/docs/assets/guides_grokbot-agents.md.tD1smFhU.js +0 -16
- package/dist/docs/assets/guides_mcp-oauth.md.DR3zhC9r.lean.js +0 -1
- package/dist/docs/assets/reference_channels.md.LbNIJBwd.js +0 -23
- package/dist/docs/assets/reference_http-api.md.DbFNOubV.js +0 -11
- package/dist/docs/assets/reference_playground.md.1hx0gcIu.js +0 -1
- package/dist/docs/assets/reference_playground.md.1hx0gcIu.lean.js +0 -1
- package/dist/docs/assets/reference_sessions.md.CyM7ARz1.js +0 -1
- package/dist/docs/assets/reference_tools.md.DzIY9JzY.lean.js +0 -1
- package/dist/docs/assets/troubleshooting.md.x-GBa7wN.js +0 -1
- package/dist/playground/assets/index-BKSsuEMw.css +0 -1
- /package/dist/docs/assets/{guides_hooks.md.5Ce3NXxZ.lean.js → guides_hooks.md.B_bKG1oA.lean.js} +0 -0
- /package/dist/docs/assets/{index.md.Dxxr7pFa.lean.js → index.md.BIBHIQtU.lean.js} +0 -0
- /package/dist/docs/assets/{quickstart.md.BK5gjHM2.lean.js → quickstart.md.CduLGBAB.lean.js} +0 -0
- /package/dist/docs/assets/{reference_evals.md.D5i8PuXJ.lean.js → reference_evals.md.if--BLd0.lean.js} +0 -0
- /package/dist/docs/assets/{reference_hooks.md.B-eGa2km.lean.js → reference_hooks.md.DbJC8mcZ.lean.js} +0 -0
- /package/dist/docs/assets/{reference_sessions.md.CyM7ARz1.lean.js → reference_sessions.md.C_uzIWuy.lean.js} +0 -0
- /package/dist/docs/assets/{reference_skills.md.ClkMoQsV.lean.js → reference_skills.md.Ckddg6KX.lean.js} +0 -0
- /package/dist/docs/assets/{templates_grokbot-agents.md.2sydjFiO.lean.js → templates_grokbot-agents.md.DgpPEs7B.lean.js} +0 -0
|
@@ -65,12 +65,17 @@ provide their own `help` subcommands.
|
|
|
65
65
|
| [`deployments`](#deployments) | List deployments |
|
|
66
66
|
| [`deployment`](#deployment) | Inspect one deployment |
|
|
67
67
|
| [`stop`](#stop) | Stop a deployment |
|
|
68
|
+
| [`start`](#start) | Start a stopped deployment |
|
|
69
|
+
| [`kill`](#kill) | Stop a deployment, cancel its runs, and lock deploys |
|
|
70
|
+
| [`unlock-deploys`](#unlock-deploys) | Let a killed deployment deploy again |
|
|
68
71
|
| [`cancel-runs`](#cancel-runs) | Cancel active runs and reminder wakes |
|
|
69
72
|
| [`event-repos`](#event-repos) | Replace a deployment's event repositories |
|
|
70
73
|
| [`upgrade`](#upgrade) | Move a deployment to a release |
|
|
74
|
+
| [`rollback`](#rollback) | Move a deployment to an earlier release |
|
|
71
75
|
| [`delete`](#delete) | Delete a deployment |
|
|
72
76
|
| [`rotate-token`](#rotate-token) | Replace a deployment's alias token |
|
|
73
77
|
| [`secrets`](#secrets) | Set, list, or remove deployment secrets |
|
|
78
|
+
| [`images`](#images) | Push, list, or remove container images for persistent agents |
|
|
74
79
|
|
|
75
80
|
### Connection and channel commands
|
|
76
81
|
|
|
@@ -93,7 +98,7 @@ Commands that send requests support these targets:
|
|
|
93
98
|
| Ephemeral local server | Omit `--url` and `--prod` | `run`, `call`, `skill`, `eval` |
|
|
94
99
|
| Running server | Pass `--url <baseUrl>` | `chat`, `resume`, `run`, `call`, `skill`, `eval`, `logs`, `sessions`, `session`, `cost`, `playground`, `mcp` |
|
|
95
100
|
| Default local server | Omit `--url` and `--prod`; uses `http://127.0.0.1:3000` | `chat`, `resume`, `logs`, `sessions`, `session`, `cost`, `playground` |
|
|
96
|
-
| Hosted deployment | Pass `--prod` | `run`, `session`, `playground` |
|
|
101
|
+
| Hosted deployment | Pass `--prod` | `run`, `session`, `logs`, `playground` |
|
|
97
102
|
|
|
98
103
|
An explicit `--url` must include the slug for a multi-agent server, such as
|
|
99
104
|
`http://127.0.0.1:3000/pr-approver`. `--slug` never changes an explicit URL.
|
|
@@ -103,8 +108,8 @@ An explicit `--url` must include the slug for a multi-agent server, such as
|
|
|
103
108
|
| --- | --- |
|
|
104
109
|
| `--dir <path>` | Select the project root. The default is the current directory. |
|
|
105
110
|
| `--url <baseUrl>` | Use a running agent instead of local project discovery. |
|
|
106
|
-
| `--prod` | Use the hosted deployment. Only `run`, `session`, and `playground` accept it. |
|
|
107
|
-
| `--slug <slug>` | Select an agent from a multi-agent project or a hosted
|
|
111
|
+
| `--prod` | Use the hosted deployment. Only `run`, `session`, `logs`, and `playground` accept it; `chat`, `resume`, `call`, `skill`, `sessions`, `cost`, and `mcp` report that the deployment doesn't support the command, and `eval` rejects the flag. |
|
|
112
|
+
| `--slug <slug>` | Select an agent from a multi-agent project or a hosted deployment. Under `--prod`, the default is the `--dir` basename. |
|
|
108
113
|
| `--team <id>` | Select a Cursor team. The signed-in account's team is the default. |
|
|
109
114
|
| `--api-key <key>` | Override the Cursor credential for commands that authenticate with Cursor. |
|
|
110
115
|
| `--bearer-token <token>` | Authenticate to a running server with a bearer token. |
|
|
@@ -229,28 +234,31 @@ bdk run [--dir <path>] [--message <text>]...
|
|
|
229
234
|
|
|
230
235
|
| Option | Contract |
|
|
231
236
|
| --- | --- |
|
|
232
|
-
| `--message <text>` | Send a user message. Repeat it for a multi-turn local or `--url` run. `--prod`
|
|
237
|
+
| `--message <text>` | Send a user message. Repeat it for a multi-turn local or `--url` run. A `--prod` run takes exactly one message. |
|
|
233
238
|
| `--messages-file <path>` | Read a JSON array of strings. File messages run before repeated `--message` values. |
|
|
234
|
-
| `--session <id>` | Continue a session. With `--prod`, pass a hosted `ses_...` ID. |
|
|
235
|
-
| `--continuation-token <token>` | Continue the session selected by `--session` on a running server. `--prod`
|
|
239
|
+
| `--session <id>` | Continue a session. With `--prod`, pass a hosted `ses_...` ID from a session that `run --prod` or `session --prod` started; Slack, SCM, and custom-route sessions can't be continued this way. |
|
|
240
|
+
| `--continuation-token <token>` | Continue the session selected by `--session` on a running server. `--prod` doesn't accept it. |
|
|
236
241
|
| `--events <file>` | Write the raw NDJSON stream to this path. |
|
|
237
242
|
| `--no-events` | Skip the NDJSON trace. |
|
|
238
243
|
| `--text` | Print a compact trajectory instead of JSON. |
|
|
239
244
|
| `--timeout-ms <n>` | Stop waiting after a positive number of milliseconds. There is no default timeout. |
|
|
240
245
|
| `--no-stream` | Hide live tool and reply progress on stderr. |
|
|
241
|
-
| `--dry-run` |
|
|
242
|
-
| `--as-of <instant>` | Freeze a `--prod` session's clock at
|
|
243
|
-
| `--component <key>` |
|
|
246
|
+
| `--dry-run` | Start a `--prod` session that runs read tools and stubs write tools. |
|
|
247
|
+
| `--as-of <instant>` | Freeze a `--prod` session's clock at an ISO-8601 instant with a timezone, such as `2026-08-31T12:00:00Z`. |
|
|
248
|
+
| `--component <key>` | Wake a named component of a `--prod` deployment instead of its default. A continued session must belong to that component. |
|
|
244
249
|
|
|
245
250
|
For local and running-server targets, JSON output contains `ok`, `sessionId`,
|
|
246
251
|
`continuationToken`, `trace`, `playgroundUrl`, `playgroundHint`, `visualize`,
|
|
247
252
|
and `trajectory`. The `trace` value gives the saved path when event output is
|
|
248
|
-
enabled.
|
|
249
|
-
|
|
250
|
-
`
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
enabled.
|
|
254
|
+
|
|
255
|
+
With `--prod`, `run` returns as soon as the deployment accepts the turn and
|
|
256
|
+
exits `0` before the turn outcome is known. It prints `deliveryId`,
|
|
257
|
+
`workflowId`, and `sessionMode`, plus `dryRun` and `asOf` when set. A fresh
|
|
258
|
+
start has no `sessionId` yet; a continuation echoes the `--session` value.
|
|
259
|
+
`--events`, `--no-events`, `--text`, `--timeout-ms`, and `--no-stream` have no
|
|
260
|
+
effect. See [Verify a hosted turn](/docs/deployment.md#verify-a-hosted-turn) for
|
|
261
|
+
finding and following the new session.
|
|
254
262
|
|
|
255
263
|
### Call a tool {#call}
|
|
256
264
|
|
|
@@ -296,9 +304,9 @@ Text output shows the session ID, channel, mode, turn count, running status,
|
|
|
296
304
|
and update time. `--json` prints `{ sessions }`, including continuation
|
|
297
305
|
tokens.
|
|
298
306
|
|
|
299
|
-
Hosted deployments don't support `sessions`. Find a hosted session in the
|
|
300
|
-
deployment's **Sessions** list in the
|
|
301
|
-
[`session <sessionId> --prod`](#session).
|
|
307
|
+
Hosted deployments don't support `sessions`. Find a hosted session ID in the
|
|
308
|
+
[`logs --prod`](#logs) headers or the deployment's **Sessions** list in the
|
|
309
|
+
dashboard, then check it with [`session <sessionId> --prod`](#session).
|
|
302
310
|
|
|
303
311
|
### Inspect a session {#session}
|
|
304
312
|
|
|
@@ -308,7 +316,7 @@ bdk session <sessionId> [--url <baseUrl> | --prod]
|
|
|
308
316
|
[--json | --text | --events] [--out <file.ndjson>]
|
|
309
317
|
|
|
310
318
|
bdk session --prod [<sessionId>] --slug <slug> --message <text>
|
|
311
|
-
[--dry-run] [--as-of <instant>] [--component <key>]
|
|
319
|
+
[--team <id>] [--dry-run] [--as-of <instant>] [--component <key>]
|
|
312
320
|
```
|
|
313
321
|
|
|
314
322
|
| Option | Contract |
|
|
@@ -318,28 +326,33 @@ bdk session --prod [<sessionId>] --slug <slug> --message <text>
|
|
|
318
326
|
| `--json` | Print the trajectory object. |
|
|
319
327
|
| `--events` | Print `{ sessionId, events }` with the raw event list. |
|
|
320
328
|
| `--out <file.ndjson>` | Write the raw NDJSON trace instead of printing it. |
|
|
321
|
-
| `--prod --message <text>` | Start a hosted session or continue the supplied hosted session ID. |
|
|
329
|
+
| `--prod --message <text>` | Start a hosted session, or continue the supplied hosted session ID, with the same contract as [`run --prod`](#run). |
|
|
322
330
|
|
|
323
|
-
`--events` and `--json` are mutually exclusive.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
331
|
+
`--events` and `--json` are mutually exclusive. Use [`resume`](#resume) to
|
|
332
|
+
continue a conversational session on a local or running server.
|
|
333
|
+
|
|
334
|
+
With `--prod`, the command prints the session's hosted executions: one line
|
|
335
|
+
per run with its status, duration, and time, followed by that run's log
|
|
336
|
+
lines. `--json` prints `{ sessionId, executions, startLog, ... }`. `--events`
|
|
337
|
+
and `--out` aren't available. While a turn is running, text output also
|
|
338
|
+
reports the event count and latest event type and prints
|
|
339
|
+
`Turn running; runs may lag behind events.` A run can show `running` with no
|
|
340
|
+
logs until the turn ends, so a growing event count is the progress signal.
|
|
328
341
|
|
|
329
342
|
### Follow logs {#logs}
|
|
330
343
|
|
|
331
344
|
```text
|
|
332
345
|
bdk logs [sessionId] [--url <baseUrl> | --prod]
|
|
333
|
-
[--session <sessionId>] [--slug <slug>] [--once] [--json]
|
|
346
|
+
[--session <sessionId>] [--slug <slug>] [--team <id>] [--once] [--json]
|
|
334
347
|
```
|
|
335
348
|
|
|
336
349
|
The command follows logs until Ctrl-C. `--once` prints the current buffer and
|
|
337
350
|
exits; `--json` emits newline-delimited JSON events. With `--prod`, it follows
|
|
338
|
-
the output of the hosted deployment's most recent sessions
|
|
339
|
-
`==> <sessionId> (<channel>) <==` header each time the output
|
|
340
|
-
sessions. Pass a session ID, as an argument or with `--session`, to
|
|
341
|
-
that session
|
|
342
|
-
`index` and `at`.
|
|
351
|
+
the output of the hosted deployment's most recent sessions on every channel
|
|
352
|
+
and prints a `==> <sessionId> (<channel>) <==` header each time the output
|
|
353
|
+
switches sessions. Pass a session ID, as an argument or with `--session`, to
|
|
354
|
+
follow only that session; a session ID requires `--prod`. Hosted log events
|
|
355
|
+
carry `sessionId` and `line` rather than `index` and `at`.
|
|
343
356
|
|
|
344
357
|
### Report costs {#cost}
|
|
345
358
|
|
|
@@ -363,8 +376,8 @@ bdk playground [--url <baseUrl> | --prod] [--session <id>]
|
|
|
363
376
|
The command prints the playground URL and opens it unless `--print` is set.
|
|
364
377
|
`--session` opens a deep link. A running target with credentials that a
|
|
365
378
|
browser can't send starts a loopback proxy and stays open until Ctrl-C.
|
|
366
|
-
`--
|
|
367
|
-
|
|
379
|
+
With `--prod`, the URL opens the deployment's playground under **Deployed
|
|
380
|
+
Agents** in the dashboard.
|
|
368
381
|
|
|
369
382
|
### Inspect a trajectory {#trajectory}
|
|
370
383
|
|
|
@@ -654,6 +667,36 @@ The command waits for `stopped` by default. `--no-wait` returns after the
|
|
|
654
667
|
request is accepted. `--cancel-runs` also requests cancellation of active
|
|
655
668
|
runs and reminder wakes.
|
|
656
669
|
|
|
670
|
+
### Start a deployment {#start}
|
|
671
|
+
|
|
672
|
+
```text
|
|
673
|
+
bdk start <slug> [--team <id>] [--json]
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
`start` resumes a stopped deployment. It doesn't remove the deploy lock
|
|
677
|
+
that [`kill`](#kill) sets.
|
|
678
|
+
|
|
679
|
+
### Kill a deployment {#kill}
|
|
680
|
+
|
|
681
|
+
```text
|
|
682
|
+
bdk kill <slug> [--team <id>] [--json]
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
Use `kill` in an emergency. It locks deploys of the slug, stops the
|
|
686
|
+
deployment, and requests cancellation of its active runs and reminder
|
|
687
|
+
wakes. To bring the deployment back, run
|
|
688
|
+
[`unlock-deploys`](#unlock-deploys) and then [`start`](#start).
|
|
689
|
+
|
|
690
|
+
### Unlock deploys {#unlock-deploys}
|
|
691
|
+
|
|
692
|
+
```text
|
|
693
|
+
bdk unlock-deploys <slug> [--team <id>] [--json]
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
`unlock-deploys` removes the lock that `kill` sets, so `deploy`,
|
|
697
|
+
`upgrade`, and `rollback` work for the slug again. It doesn't resume
|
|
698
|
+
traffic; run `start` for that.
|
|
699
|
+
|
|
657
700
|
### Cancel active runs {#cancel-runs}
|
|
658
701
|
|
|
659
702
|
```text
|
|
@@ -684,6 +727,17 @@ bdk upgrade <slug> [--release <id-or-version>]
|
|
|
684
727
|
`--release` accepts a release ID or version. Omit it to select the newest
|
|
685
728
|
ready release. `--json` prints `{ releaseId }`.
|
|
686
729
|
|
|
730
|
+
### Roll back a deployment {#rollback}
|
|
731
|
+
|
|
732
|
+
```text
|
|
733
|
+
bdk rollback <slug> [--release <id-or-version>]
|
|
734
|
+
[--team <id>] [--json]
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
`rollback` moves the deployment to an earlier ready release without
|
|
738
|
+
building a new one. Omit `--release` to select the release before the
|
|
739
|
+
current one. `--json` prints `{ releaseId }`.
|
|
740
|
+
|
|
687
741
|
### Delete a deployment {#delete}
|
|
688
742
|
|
|
689
743
|
```text
|
|
@@ -732,6 +786,24 @@ most 4096 bytes, and each deployment holds at most 32 secrets.
|
|
|
732
786
|
`{ secretNames }` for `set`, `{ secrets }` for `list`, and `{ removed }` for
|
|
733
787
|
`unset`. Changes are available to subsequent hosted work.
|
|
734
788
|
|
|
789
|
+
### Manage container images {#images}
|
|
790
|
+
|
|
791
|
+
```text
|
|
792
|
+
bdk images push <local-image> --name <name> [--team <id>] [--json]
|
|
793
|
+
bdk images list [--team <id>] [--json]
|
|
794
|
+
bdk images rm <name> [--team <id>] [--json]
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
A persistent agent can run inside a container image that your team pushes
|
|
798
|
+
and names in `hosting.image`. `push` needs Docker on your machine. It
|
|
799
|
+
checks the local image first: the image must be `linux/amd64` and have
|
|
800
|
+
`bash`, `git`, `node` 22.13 or newer, and `npm` on `PATH`. The command
|
|
801
|
+
then compresses the image and uploads it under `--name`.
|
|
802
|
+
|
|
803
|
+
`list` shows the team's images and how many the team can keep, and `rm`
|
|
804
|
+
deletes one image. A deploy pins the image it uses, so after you push a
|
|
805
|
+
new image under the same name, deploy again to pick it up.
|
|
806
|
+
|
|
735
807
|
## MCP connections
|
|
736
808
|
|
|
737
809
|
### Connect an MCP client {#mcp}
|
|
@@ -748,10 +820,13 @@ bdk mcp install --url <baseUrl> [--bearer-token <token>]
|
|
|
748
820
|
| `mcp` | Read newline-delimited JSON-RPC from stdin and proxy it to the selected agent's MCP endpoint. stdout is reserved for MCP messages. A target is required. |
|
|
749
821
|
| `mcp install` | Add the selected agent to `~/.cursor/mcp.json`. `--name` sets the server name, `--print` previews the entry, and `--json` prints a machine-readable result. A `--url` entry with `--bearer-token` contains that token; handle printed and written copies as credentials. |
|
|
750
822
|
|
|
823
|
+
Hosted deployments don't support `mcp` or `mcp install`; both report that the
|
|
824
|
+
deployment doesn't support the command when you pass `--prod`.
|
|
825
|
+
|
|
751
826
|
### Authorize MCP OAuth {#mcp-oauth}
|
|
752
827
|
|
|
753
828
|
```text
|
|
754
|
-
bdk mcp oauth <connection> [--dir <path>]
|
|
829
|
+
bdk mcp oauth <connection> [--dir <path>]
|
|
755
830
|
[--slug <slug>] [--team <id>]
|
|
756
831
|
```
|
|
757
832
|
|
|
@@ -760,13 +835,11 @@ bdk mcp oauth <connection> [--dir <path>] [--store]
|
|
|
760
835
|
|
|
761
836
|
| Connection | Result |
|
|
762
837
|
| --- | --- |
|
|
763
|
-
| `defineConnection({ url, oauth: true })` | Open a browser PKCE flow and save tokens in `mcp-auth.json` under the CLI config directory.
|
|
764
|
-
| `defineConnection({ cursorAccount: true })` | Authorize the hosted deployment's service account through Cursor.
|
|
838
|
+
| `defineConnection({ url, oauth: true })` | Open a browser PKCE flow and save tokens in `mcp-auth.json` under the CLI config directory. |
|
|
839
|
+
| `defineConnection({ cursorAccount: true })` | Authorize the hosted deployment's service account through Cursor. |
|
|
765
840
|
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
them in `hosting.secretNames`. URL-connection tokens are bound to the resource
|
|
769
|
-
URL; authorize again after changing it.
|
|
841
|
+
URL-connection tokens are bound to the resource URL; authorize again after
|
|
842
|
+
changing it.
|
|
770
843
|
|
|
771
844
|
See [Host MCP OAuth](/docs/guides/mcp-oauth.md) for the full setup flow.
|
|
772
845
|
|