@cursor/bdk 0.2.4 → 0.2.6
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/README.md +76 -1154
- package/dist/bin/agent-serve.js +17 -11
- package/dist/channels/github/github-channel.d.ts +4 -4
- package/dist/channels/github/github-channel.js +5 -5
- package/dist/channels/slack/eval-directive.js +1 -1
- package/dist/docs/404.html +2 -2
- package/dist/docs/assets/{app.4kQ8Db_q.js → app.CJLKDVza.js} +4 -4
- package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.js → building-with-agents.md.BPjPFxFg.js} +2 -2
- package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.lean.js → building-with-agents.md.BPjPFxFg.lean.js} +1 -1
- package/dist/docs/assets/chunks/@localSearchIndexroot.Bq-pxRXm.js +1 -0
- package/dist/docs/assets/chunks/{VPLocalSearchBox.DY1RwB8Q.js → VPLocalSearchBox.BW9mrQmq.js} +1 -1
- package/dist/docs/assets/chunks/{arc.CxE_fSPK.js → arc.D8ZOvM1m.js} +1 -1
- package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.CPX426ui.js → architectureDiagram-Q4EWVU46.CXEKhLW-.js} +1 -1
- package/dist/docs/assets/chunks/{baseUniq.CB52JrKG.js → baseUniq.BJkVKblr.js} +1 -1
- package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.J0cNaQCL.js → blockDiagram-DXYQGD6D.DQDbHxor.js} +1 -1
- package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.DJn3vEGT.js → c4Diagram-AHTNJAMY.ByMD6LYM.js} +1 -1
- package/dist/docs/assets/chunks/channel.DCU8W1RP.js +1 -0
- package/dist/docs/assets/chunks/{chunk-4BX2VUAB.Dao618F6.js → chunk-4BX2VUAB.Dtq1aVI9.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-4TB4RGXK.QW8Rhjai.js → chunk-4TB4RGXK.BL_XrkoQ.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-55IACEB6.DfRLLKF_.js → chunk-55IACEB6.BDPXu94_.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-EDXVE4YY.CIV2ApKQ.js → chunk-EDXVE4YY.DhGOQj4k.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-FMBD7UC4.BEheSuxp.js → chunk-FMBD7UC4.DSF5nr8v.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-OYMX7WX6.CUN88ENB.js → chunk-OYMX7WX6.Day7wayw.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-QZHKN3VN.CgqCs8b_.js → chunk-QZHKN3VN.CpBEC0zA.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-YZCP3GAM.iCH0nnTJ.js → chunk-YZCP3GAM.X_7rY1rx.js} +1 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.DwpXsM06.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.DwpXsM06.js +1 -0
- package/dist/docs/assets/chunks/clone.DH6Mx2zB.js +1 -0
- package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.BLcUxhWE.js → cose-bilkent-S5V4N54A.BVRmi2ko.js} +1 -1
- package/dist/docs/assets/chunks/{dagre-KV5264BT.Ep7LofOm.js → dagre-KV5264BT.Dei9oslB.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-5BDNPKRD.Bzf4GSQ4.js → diagram-5BDNPKRD._M-efGt7.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.DD6Jh-eM.js → diagram-G4DWMVQ6.D1Vmhfsj.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-MMDJMWI5.oOIl8bWd.js → diagram-MMDJMWI5.cE1bmvAC.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-TYMM5635.DHs85Ade.js → diagram-TYMM5635.DkXAfznP.js} +1 -1
- package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.BIb5ghCk.js → erDiagram-SMLLAGMA.DH_pSwPg.js} +1 -1
- package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.DV4paY9k.js → flowDiagram-DWJPFMVM.kAWVN9j1.js} +1 -1
- package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.AyEKA6_v.js → ganttDiagram-T4ZO3ILL.8r0w49-p.js} +1 -1
- package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.BltiCDFo.js → gitGraphDiagram-UUTBAWPF.BDa7Bi1i.js} +1 -1
- package/dist/docs/assets/chunks/{graph.DzuEYGdC.js → graph.BMPXHz_B.js} +1 -1
- package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.BV2l981J.js → infoDiagram-42DDH7IO.BmlcqewS.js} +1 -1
- package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.BA4Izf-m.js → ishikawaDiagram-UXIWVN3A.CVSEQSul.js} +1 -1
- package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.DjaFbFS3.js → journeyDiagram-VCZTEJTY.BpeWJ5n-.js} +1 -1
- package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.CfTFieDs.js → kanban-definition-6JOO6SKY.DHbDXuxB.js} +1 -1
- package/dist/docs/assets/chunks/{layout.DzfWqTBV.js → layout.CzrCDgkP.js} +1 -1
- package/dist/docs/assets/chunks/{linear.BO6mpulV.js → linear.HwBsflwN.js} +1 -1
- package/dist/docs/assets/chunks/{min.BGgTadgT.js → min.DqGHolT3.js} +1 -1
- package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.DPuIXVWY.js → mindmap-definition-QFDTVHPH.ZYGlOawh.js} +1 -1
- package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.BOnl3bBg.js → pieDiagram-DEJITSTG.C2KRXlNR.js} +1 -1
- package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.DNB6Ckdc.js → quadrantDiagram-34T5L4WZ.CHj3Qefp.js} +1 -1
- package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.D5-Qo7vb.js → requirementDiagram-MS252O5E.B1L4Tf7k.js} +1 -1
- package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.8t65cesf.js → sankeyDiagram-XADWPNL6.dNR2yi1B.js} +1 -1
- package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.CaG07BdS.js → sequenceDiagram-FGHM5R23.BrvQ3C6m.js} +1 -1
- package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.TKOweTB6.js → stateDiagram-FHFEXIEX.BtehEykA.js} +1 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.kzD0-U89.js +1 -0
- package/dist/docs/assets/chunks/{theme.Dx-JhpTB.js → theme.BDHBZUkP.js} +2 -2
- package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.fE53zQ2s.js → timeline-definition-GMOUNBTQ.Bn7nhqEN.js} +1 -1
- package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.DJsZZaJg.js → vennDiagram-DHZGUBPP.DKhc38sz.js} +1 -1
- package/dist/docs/assets/chunks/wardley-RL74JXVD.DOXQ0w8J.js +162 -0
- package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.CMZ-Ru_t.js → wardleyDiagram-NUSXRM2D.Bbq5B2Ic.js} +1 -1
- package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.XXrhBc7a.js → xychartDiagram-5P7HB3ND.B77HE1K8.js} +1 -1
- package/dist/docs/assets/{deployment.md.UhnJIMr-.js → deployment.md.BdqTiGdc.js} +4 -4
- package/dist/docs/assets/{deployment.md.UhnJIMr-.lean.js → deployment.md.BdqTiGdc.lean.js} +1 -1
- package/dist/docs/assets/{evals.md.CCAtNcuL.js → evals.md.C851kViu.js} +3 -3
- package/dist/docs/assets/{evals.md.CCAtNcuL.lean.js → evals.md.C851kViu.lean.js} +1 -1
- package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.js → guides_agent-to-agent.md.Cps5NiCV.js} +2 -2
- package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.lean.js → guides_agent-to-agent.md.Cps5NiCV.lean.js} +1 -1
- package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.js → guides_bitbucket.md.BB6fqD-M.js} +2 -2
- package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.lean.js → guides_bitbucket.md.BB6fqD-M.lean.js} +1 -1
- package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.js → guides_cloud-agents.md.CWJjS9No.js} +2 -2
- package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.lean.js → guides_cloud-agents.md.CWJjS9No.lean.js} +1 -1
- package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.js → guides_convert-automation.md.DMEX9nF-.js} +3 -3
- package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.lean.js → guides_convert-automation.md.DMEX9nF-.lean.js} +1 -1
- package/dist/docs/assets/{guides_github.md.Bq9kQU9B.js → guides_github.md.Cr1Xlf-m.js} +3 -3
- package/dist/docs/assets/{guides_github.md.Bq9kQU9B.lean.js → guides_github.md.Cr1Xlf-m.lean.js} +1 -1
- package/dist/docs/assets/{guides_gitlab.md.BM27P43u.js → guides_gitlab.md.CMpmFi4M.js} +2 -2
- package/dist/docs/assets/{guides_gitlab.md.BM27P43u.lean.js → guides_gitlab.md.CMpmFi4M.lean.js} +1 -1
- package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.js → guides_grokbot-agents.md.tD1smFhU.js} +2 -2
- package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.lean.js → guides_grokbot-agents.md.tD1smFhU.lean.js} +1 -1
- package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.js → guides_hooks.md.5Ce3NXxZ.js} +2 -2
- package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.lean.js → guides_hooks.md.5Ce3NXxZ.lean.js} +1 -1
- package/dist/docs/assets/{guides_improve.md.COtL-6ft.js → guides_improve.md.CRrYq22s.js} +2 -2
- package/dist/docs/assets/{guides_improve.md.COtL-6ft.lean.js → guides_improve.md.CRrYq22s.lean.js} +1 -1
- package/dist/docs/assets/{guides_jev.md.CRcgmjDb.js → guides_jev.md.D7XH4JH3.js} +2 -2
- package/dist/docs/assets/{guides_jev.md.CRcgmjDb.lean.js → guides_jev.md.D7XH4JH3.lean.js} +1 -1
- package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.js → guides_mcp-oauth.md.DR3zhC9r.js} +2 -2
- package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.lean.js → guides_mcp-oauth.md.DR3zhC9r.lean.js} +1 -1
- package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.js → guides_opentelemetry.md.jcPNrQbH.js} +8 -6
- package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.lean.js → guides_opentelemetry.md.jcPNrQbH.lean.js} +1 -1
- package/dist/docs/assets/{guides_slack.md.diqqXTTm.js → guides_slack.md.Bn-WupSE.js} +8 -8
- package/dist/docs/assets/{guides_slack.md.diqqXTTm.lean.js → guides_slack.md.Bn-WupSE.lean.js} +1 -1
- package/dist/docs/assets/{guides_webhooks.md.D0furjw0.js → guides_webhooks.md.BBvAm_VF.js} +2 -2
- package/dist/docs/assets/{guides_webhooks.md.D0furjw0.lean.js → guides_webhooks.md.BBvAm_VF.lean.js} +1 -1
- package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.js → hillclimbing.md.Dxvd-0gT.js} +2 -2
- package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.lean.js → hillclimbing.md.Dxvd-0gT.lean.js} +1 -1
- package/dist/docs/assets/index.md.Dxxr7pFa.js +27 -0
- package/dist/docs/assets/{index.md.CVc_oOA3.lean.js → index.md.Dxxr7pFa.lean.js} +1 -1
- package/dist/docs/assets/{quickstart.md.CHpHPBUN.js → quickstart.md.BK5gjHM2.js} +2 -2
- package/dist/docs/assets/{quickstart.md.CHpHPBUN.lean.js → quickstart.md.BK5gjHM2.lean.js} +1 -1
- package/dist/docs/assets/{reference_agent-config.md.Cj5uBKp4.js → reference_agent-config.md.DrtLxWgR.js} +4 -4
- package/dist/docs/assets/{reference_agent-config.md.Cj5uBKp4.lean.js → reference_agent-config.md.DrtLxWgR.lean.js} +1 -1
- package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.js → reference_artifacts.md.DLV9MZES.js} +2 -2
- package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.lean.js → reference_artifacts.md.DLV9MZES.lean.js} +1 -1
- package/dist/docs/assets/{reference_channels.md.mbNtKCiR.js → reference_channels.md.LbNIJBwd.js} +2 -2
- package/dist/docs/assets/{reference_channels.md.mbNtKCiR.lean.js → reference_channels.md.LbNIJBwd.lean.js} +1 -1
- package/dist/docs/assets/{reference_cli.md.DgeLTO18.js → reference_cli.md.BsgDqYPh.js} +4 -4
- package/dist/docs/assets/{reference_cli.md.DgeLTO18.lean.js → reference_cli.md.BsgDqYPh.lean.js} +1 -1
- package/dist/docs/assets/{reference_connections.md.COq--gAm.js → reference_connections.md.Bljpve-y.js} +4 -4
- package/dist/docs/assets/{reference_connections.md.COq--gAm.lean.js → reference_connections.md.Bljpve-y.lean.js} +1 -1
- package/dist/docs/assets/{reference_evals.md.CJm3uCUm.js → reference_evals.md.D5i8PuXJ.js} +2 -2
- package/dist/docs/assets/{reference_evals.md.CJm3uCUm.lean.js → reference_evals.md.D5i8PuXJ.lean.js} +1 -1
- package/dist/docs/assets/{reference_extensions.md.pa2tN-e4.js → reference_extensions.md.OUacPetl.js} +3 -3
- package/dist/docs/assets/{reference_extensions.md.pa2tN-e4.lean.js → reference_extensions.md.OUacPetl.lean.js} +1 -1
- package/dist/docs/assets/{reference_hooks.md.DbthhtIR.js → reference_hooks.md.C5LCJ1R3.js} +2 -2
- package/dist/docs/assets/{reference_hooks.md.DbthhtIR.lean.js → reference_hooks.md.C5LCJ1R3.lean.js} +1 -1
- package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.js → reference_http-api.md.DbFNOubV.js} +1 -1
- package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.js → reference_instructions.md.DrcHZXig.js} +2 -2
- package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.lean.js → reference_instructions.md.DrcHZXig.lean.js} +1 -1
- package/dist/docs/assets/reference_playground.md.1hx0gcIu.js +1 -0
- package/dist/docs/assets/{reference_playground.md.BdQzRJc2.lean.js → reference_playground.md.1hx0gcIu.lean.js} +1 -1
- package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.js → reference_project-layout.md.C2JMRh7p.js} +2 -2
- package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.js → reference_prompt.md.DqPh71XN.js} +3 -3
- package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.lean.js → reference_prompt.md.DqPh71XN.lean.js} +1 -1
- package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.js → reference_schedules.md.BuJ8fgMa.js} +2 -2
- package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.lean.js → reference_schedules.md.BuJ8fgMa.lean.js} +1 -1
- package/dist/docs/assets/reference_sessions.md.CM5zo3w4.js +1 -0
- package/dist/docs/assets/{reference_sessions.md.DeRUItHD.lean.js → reference_sessions.md.CM5zo3w4.lean.js} +1 -1
- package/dist/docs/assets/{reference_skills.md.Cy00QMKS.js → reference_skills.md.ClkMoQsV.js} +2 -2
- package/dist/docs/assets/{reference_skills.md.Cy00QMKS.lean.js → reference_skills.md.ClkMoQsV.lean.js} +1 -1
- package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.js → reference_subagents.md.gmPt5J-M.js} +2 -2
- package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.lean.js → reference_subagents.md.gmPt5J-M.lean.js} +1 -1
- package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.js → reference_tools.md.v3SXVSs_.js} +2 -2
- package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.lean.js → reference_tools.md.v3SXVSs_.lean.js} +1 -1
- package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.js → templates_agentic-owners.md.CvmABtia.js} +2 -2
- package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.js +5 -0
- package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.lean.js +1 -0
- package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.js → templates_security-reviewer.md.Gh6EF9Us.js} +3 -2
- package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.lean.js → templates_security-reviewer.md.Gh6EF9Us.lean.js} +1 -1
- package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.js → templates_thermo-quality-review.md.B77UyTrX.js} +2 -2
- package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.lean.js → templates_thermo-quality-review.md.B77UyTrX.lean.js} +1 -1
- package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.js → templates_thermo-review.md.DRJ7mC5U.js} +2 -2
- package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.lean.js → templates_thermo-review.md.DRJ7mC5U.lean.js} +1 -1
- package/dist/docs/assets/templates_triage.md.CNN6b0JZ.js +9 -0
- package/dist/docs/assets/{templates_triage.md.CvJyx81N.lean.js → templates_triage.md.CNN6b0JZ.lean.js} +1 -1
- package/dist/docs/assets/troubleshooting.md.Bscj6ODe.js +1 -0
- package/dist/docs/assets/{troubleshooting.md.Cw5PKa3t.lean.js → troubleshooting.md.Bscj6ODe.lean.js} +1 -1
- package/dist/docs/building-with-agents.html +36 -36
- package/dist/docs/building-with-agents.md +0 -3
- package/dist/docs/deployment.html +38 -38
- package/dist/docs/deployment.md +2 -9
- package/dist/docs/evals.html +37 -37
- package/dist/docs/evals.md +2 -5
- package/dist/docs/guides/agent-to-agent.html +36 -36
- package/dist/docs/guides/agent-to-agent.md +0 -3
- package/dist/docs/guides/bitbucket.html +36 -36
- package/dist/docs/guides/bitbucket.md +0 -3
- package/dist/docs/guides/cloud-agents.html +36 -36
- package/dist/docs/guides/cloud-agents.md +0 -4
- package/dist/docs/guides/convert-automation.html +37 -37
- package/dist/docs/guides/convert-automation.md +2 -5
- package/dist/docs/guides/github.html +37 -37
- package/dist/docs/guides/github.md +1 -4
- package/dist/docs/guides/gitlab.html +36 -36
- package/dist/docs/guides/gitlab.md +0 -3
- package/dist/docs/guides/grokbot-agents.html +37 -37
- package/dist/docs/guides/grokbot-agents.md +1 -4
- package/dist/docs/guides/hooks.html +36 -36
- package/dist/docs/guides/hooks.md +0 -3
- package/dist/docs/guides/improve.html +36 -36
- package/dist/docs/guides/improve.md +0 -3
- package/dist/docs/guides/jev.html +36 -36
- package/dist/docs/guides/jev.md +0 -3
- package/dist/docs/guides/mcp-oauth.html +37 -37
- package/dist/docs/guides/mcp-oauth.md +1 -4
- package/dist/docs/guides/opentelemetry.html +42 -40
- package/dist/docs/guides/opentelemetry.md +4 -5
- package/dist/docs/guides/slack.html +43 -43
- package/dist/docs/guides/slack.md +14 -24
- package/dist/docs/guides/webhooks.html +36 -36
- package/dist/docs/guides/webhooks.md +0 -3
- package/dist/docs/hashmap.json +1 -1
- package/dist/docs/hillclimbing.html +36 -36
- package/dist/docs/hillclimbing.md +0 -3
- package/dist/docs/index.html +38 -38
- package/dist/docs/index.md +9 -16
- package/dist/docs/llms-full.txt +153 -234
- package/dist/docs/llms.txt +1 -0
- package/dist/docs/quickstart.html +36 -36
- package/dist/docs/quickstart.md +2 -7
- package/dist/docs/reference/agent-config.html +38 -38
- package/dist/docs/reference/agent-config.md +4 -7
- package/dist/docs/reference/artifacts.html +36 -36
- package/dist/docs/reference/artifacts.md +0 -3
- package/dist/docs/reference/channels.html +37 -37
- package/dist/docs/reference/channels.md +1 -6
- package/dist/docs/reference/cli.html +38 -38
- package/dist/docs/reference/cli.md +7 -14
- package/dist/docs/reference/connections.html +38 -38
- package/dist/docs/reference/connections.md +7 -10
- package/dist/docs/reference/evals.html +36 -36
- package/dist/docs/reference/evals.md +0 -3
- package/dist/docs/reference/extensions.html +37 -37
- package/dist/docs/reference/extensions.md +2 -5
- package/dist/docs/reference/hooks.html +36 -36
- package/dist/docs/reference/hooks.md +0 -3
- package/dist/docs/reference/http-api.html +37 -37
- package/dist/docs/reference/http-api.md +1 -1
- package/dist/docs/reference/instructions.html +36 -36
- package/dist/docs/reference/instructions.md +0 -3
- package/dist/docs/reference/playground.html +36 -36
- package/dist/docs/reference/playground.md +0 -3
- package/dist/docs/reference/project-layout.html +37 -37
- package/dist/docs/reference/project-layout.md +2 -2
- package/dist/docs/reference/prompt.html +37 -37
- package/dist/docs/reference/prompt.md +0 -3
- package/dist/docs/reference/schedules.html +36 -36
- package/dist/docs/reference/schedules.md +0 -3
- package/dist/docs/reference/sessions.html +36 -36
- package/dist/docs/reference/sessions.md +0 -3
- package/dist/docs/reference/skills.html +36 -36
- package/dist/docs/reference/skills.md +0 -3
- package/dist/docs/reference/subagents.html +36 -36
- package/dist/docs/reference/subagents.md +0 -3
- package/dist/docs/reference/tools.html +36 -36
- package/dist/docs/reference/tools.md +1 -5
- package/dist/docs/templates/agentic-owners.html +37 -37
- package/dist/docs/templates/agentic-owners.md +2 -3
- package/dist/docs/templates/grokbot-agents.html +64 -0
- package/dist/docs/templates/grokbot-agents.md +55 -0
- package/dist/docs/templates/security-reviewer.html +38 -37
- package/dist/docs/templates/security-reviewer.md +7 -11
- package/dist/docs/templates/thermo-quality-review.html +37 -37
- package/dist/docs/templates/thermo-quality-review.md +5 -8
- package/dist/docs/templates/thermo-review.html +37 -37
- package/dist/docs/templates/thermo-review.md +5 -7
- package/dist/docs/templates/triage.html +39 -39
- package/dist/docs/templates/triage.md +8 -4
- package/dist/docs/troubleshooting.html +36 -36
- package/dist/docs/troubleshooting.md +3 -7
- package/dist/evals.d.ts +2 -2
- package/dist/internal/cli-ax.d.ts.map +1 -1
- package/dist/internal/cli-ax.js +14 -7
- package/dist/internal/eval-runner.js +7 -4
- package/dist/internal/init-interview.d.ts +0 -1
- package/dist/internal/init-interview.d.ts.map +1 -1
- package/dist/internal/init-interview.js +15 -24
- package/dist/internal/legacy-command-guard.d.ts +4 -1
- package/dist/internal/legacy-command-guard.d.ts.map +1 -1
- package/dist/internal/legacy-command-guard.js +11 -2
- package/dist/internal/platform-timers.d.ts +8 -1
- package/dist/internal/platform-timers.d.ts.map +1 -1
- package/dist/internal/platform-timers.js +10 -2
- package/dist/internal/reminder-control-plane-protocol.d.ts +8 -1
- package/dist/internal/reminder-control-plane-protocol.d.ts.map +1 -1
- package/dist/internal/reminder-runner.d.ts +5 -0
- package/dist/internal/reminder-runner.d.ts.map +1 -1
- package/dist/internal/reminder-runner.js +27 -1
- package/dist/internal/resolve-prod-target.d.ts +3 -0
- package/dist/internal/resolve-prod-target.d.ts.map +1 -1
- package/dist/internal/resolve-prod-target.js +2 -1
- package/dist/internal/run-client.d.ts +10 -1
- package/dist/internal/run-client.d.ts.map +1 -1
- package/dist/internal/run-client.js +152 -51
- package/dist/internal/server.d.ts +6 -0
- package/dist/internal/server.d.ts.map +1 -1
- package/dist/internal/server.js +20 -8
- package/dist/internal/session-links.d.ts.map +1 -1
- package/dist/internal/session-links.js +8 -7
- package/dist/internal/sessions-client.d.ts +1 -0
- package/dist/internal/sessions-client.d.ts.map +1 -1
- package/dist/internal/sessions-client.js +2 -0
- package/docs/README.md +9 -16
- package/docs/building-with-agents.md +0 -3
- package/docs/deployment.md +2 -9
- package/docs/evals.md +2 -5
- package/docs/guides/agent-to-agent.md +0 -3
- package/docs/guides/bitbucket.md +0 -3
- package/docs/guides/cloud-agents.md +0 -4
- package/docs/guides/convert-automation.md +2 -5
- package/docs/guides/github.md +1 -4
- package/docs/guides/gitlab.md +0 -3
- package/docs/guides/grokbot-agents.md +1 -4
- package/docs/guides/hooks.md +0 -3
- package/docs/guides/improve.md +0 -3
- package/docs/guides/jev.md +0 -3
- package/docs/guides/mcp-oauth.md +1 -4
- package/docs/guides/opentelemetry.md +4 -5
- package/docs/guides/slack.md +14 -24
- package/docs/guides/webhooks.md +0 -3
- package/docs/hillclimbing.md +0 -3
- package/docs/quickstart.md +2 -7
- package/docs/reference/agent-config.md +4 -7
- package/docs/reference/artifacts.md +0 -3
- package/docs/reference/channels.md +1 -6
- package/docs/reference/cli.md +7 -14
- package/docs/reference/connections.md +7 -10
- package/docs/reference/evals.md +0 -3
- package/docs/reference/extensions.md +2 -5
- package/docs/reference/hooks.md +0 -3
- package/docs/reference/http-api.md +1 -1
- package/docs/reference/instructions.md +0 -3
- package/docs/reference/playground.md +0 -3
- package/docs/reference/project-layout.md +2 -2
- package/docs/reference/prompt.md +0 -3
- package/docs/reference/schedules.md +0 -3
- package/docs/reference/sessions.md +0 -3
- package/docs/reference/skills.md +0 -3
- package/docs/reference/subagents.md +0 -3
- package/docs/reference/tools.md +1 -5
- package/docs/templates/agentic-owners.md +2 -3
- package/docs/templates/grokbot-agents.md +60 -0
- package/docs/templates/security-reviewer.md +7 -11
- package/docs/templates/thermo-quality-review.md +5 -8
- package/docs/templates/thermo-review.md +5 -7
- package/docs/templates/triage.md +8 -4
- package/docs/troubleshooting.md +3 -7
- package/package.json +2 -2
- package/templates/agentic-owners/README.md +0 -3
- package/templates/agents-md/README.md +4 -3
- package/templates/agents-md/evals/agents.eval.ts +1 -0
- package/templates/code-wiki/README.md +0 -3
- package/templates/code-wiki/bot/instructions.md +4 -4
- package/templates/demo/README.md +0 -3
- package/templates/grokbot-agents/README.md +4 -6
- package/templates/security-help/README.md +12 -6
- package/templates/security-reviewer/README.md +5 -6
- package/templates/security-reviewer/bot/tools/post_findings.ts +8 -8
- package/templates/thermo-quality-review/README.md +0 -3
- package/templates/thermo-quality-review/bot/tools/post_findings.ts +8 -8
- package/templates/thermo-review/README.md +0 -3
- package/templates/thermo-review/bot/tools/post_findings.ts +8 -8
- package/templates/triage/README.md +0 -3
- package/templates/triage/overlays/jira/README.md +0 -3
- package/templates/triage/overlays/linear/README.md +0 -3
- package/dist/docs/assets/chunks/@localSearchIndexroot.CvuAJ0My.js +0 -1
- package/dist/docs/assets/chunks/channel.BoNycAoN.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.C4x07Gkj.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.C4x07Gkj.js +0 -1
- package/dist/docs/assets/chunks/clone.Db22cH_-.js +0 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CuqmyQc4.js +0 -1
- package/dist/docs/assets/chunks/wardley-RL74JXVD.844kyrjl.js +0 -162
- package/dist/docs/assets/index.md.CVc_oOA3.js +0 -27
- package/dist/docs/assets/reference_playground.md.BdQzRJc2.js +0 -1
- package/dist/docs/assets/reference_sessions.md.DeRUItHD.js +0 -1
- package/dist/docs/assets/templates_triage.md.CvJyx81N.js +0 -9
- package/dist/docs/assets/troubleshooting.md.Cw5PKa3t.js +0 -1
- /package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.lean.js → reference_http-api.md.DbFNOubV.lean.js} +0 -0
- /package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.lean.js → reference_project-layout.md.C2JMRh7p.lean.js} +0 -0
- /package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.lean.js → templates_agentic-owners.md.CvmABtia.lean.js} +0 -0
|
@@ -10,9 +10,6 @@ A channel connects an external surface to agent sessions. A file at
|
|
|
10
10
|
under `/v1/channels/<id>`. The built-in HTTP session channel is always
|
|
11
11
|
available alongside any custom or prebuilt channels.
|
|
12
12
|
|
|
13
|
-
The `@cursor/bdk` imports on this page are docs-ahead until publication;
|
|
14
|
-
see [BDK package availability](/#bdk-package-availability).
|
|
15
|
-
|
|
16
13
|
## Built-in HTTP channel
|
|
17
14
|
|
|
18
15
|
The built-in channel serves the session, approval, tool, discovery, and
|
|
@@ -174,15 +171,13 @@ author their own chain, and `--allow-anonymous` swaps it for
|
|
|
174
171
|
|
|
175
172
|
## Prebuilt channels
|
|
176
173
|
|
|
177
|
-
| Import |
|
|
174
|
+
| Import | Function | Surface |
|
|
178
175
|
| --- | --- | --- |
|
|
179
176
|
| `@cursor/bdk/channels/slack` | `slackChannel()` | Slack messages, threads, streaming replies, and approvals. See [Slack](../guides/slack.md) |
|
|
180
177
|
| `@cursor/bdk/channels/github` | `githubChannel()` | GitHub and GitHub Enterprise webhooks. See [GitHub](../guides/github.md) |
|
|
181
178
|
| `@cursor/bdk/channels/gitlab` | `gitlabChannel()` | GitLab.com and self-managed GitLab hooks. See [GitLab](../guides/gitlab.md) |
|
|
182
179
|
| `@cursor/bdk/channels/bitbucket` | `bitbucketChannel()` | Bitbucket Cloud and Data Center hooks. See [Bitbucket](../guides/bitbucket.md) |
|
|
183
180
|
| `@cursor/bdk/channels/deployments` | `deploymentsChannel()` | Deployment events filtered by source, environment, or event name |
|
|
184
|
-
| `@cursor/bdk/channels/change-monitors` | `changeMonitorsChannel()` | Change Monitor `checkpoint.created` events |
|
|
185
|
-
| `@cursor/bdk/channels/issues` | `issuesChannel()` | Factory `issue.created` events |
|
|
186
181
|
|
|
187
182
|
For other platforms like Discord or Teams, use the authored
|
|
188
183
|
`defineChannel` route form.
|
package/docs/reference/cli.md
CHANGED
|
@@ -8,20 +8,17 @@ description: "Look up BDK commands, targets, flags, outputs, and exit status."
|
|
|
8
8
|
The Grok Bot Development Kit (BDK) uses the `@cursor/bdk` package and `bdk`
|
|
9
9
|
CLI.
|
|
10
10
|
|
|
11
|
-
> **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
|
|
12
|
-
> after publication.
|
|
13
|
-
|
|
14
11
|
```text
|
|
15
12
|
bdk <command>
|
|
16
13
|
```
|
|
17
14
|
|
|
18
|
-
The command catalog below documents the `bdk` binary
|
|
19
|
-
`@cursor/bdk`. Run
|
|
15
|
+
The command catalog below documents the `bdk` binary from
|
|
16
|
+
`@cursor/bdk`. Run it with Node 22.13 or newer; Bun is not
|
|
20
17
|
supported. Commands exit nonzero when validation or a synchronous request fails;
|
|
21
18
|
asynchronous commands can exit `0` once work is accepted. Project paths use the
|
|
22
19
|
[BDK project layout](./project-layout.md).
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
Install `@cursor/bdk` to obtain the binary. `bdk help`
|
|
25
22
|
prints top-level help; the Slack, GitHub, GitLab, and Bitbucket command packs
|
|
26
23
|
provide their own `help` subcommands.
|
|
27
24
|
|
|
@@ -441,7 +438,7 @@ installs dependencies, and tries to put `bdk` on `PATH`.
|
|
|
441
438
|
|
|
442
439
|
| Option | Contract |
|
|
443
440
|
| --- | --- |
|
|
444
|
-
| `--template <name>` | Use a bundled template: `agentic-owners`, `agents-md`, `code-wiki`, `demo`, `grokbot-agents`, `security-help`, `security-reviewer`, `thermo-quality-review`, `thermo-review`, `triage-jira`, or `triage-linear`. |
|
|
441
|
+
| `--template <name>` | Use a bundled template: `agentic-owners`, `agents-md`, `code-wiki`, `demo`, `grokbot-agents`, `security-help`, `security-reviewer`, `thermo-quality-review`, `thermo-review`, `triage-jira`, or `triage-linear`. `triage` selects `triage-linear`. |
|
|
445
442
|
| `--var id=value` | Answer a template question without a prompt. Repeat for multiple answers. |
|
|
446
443
|
| `--json` | Skip interactive login and skill prompts, then print `{ ok, directory, template, created, skipped, installed, installError, cliOnPath, cliLinkError, next }`. `ok` reflects dependency installation. |
|
|
447
444
|
|
|
@@ -480,7 +477,7 @@ The command replaces the installed BDK skills with the package copy and
|
|
|
480
477
|
removes stale bundled skills. `--print` previews the change. `--json` prints
|
|
481
478
|
`{ ok, dryRun, directory, firstInstall, skills, removed }`.
|
|
482
479
|
|
|
483
|
-
|
|
480
|
+
Package installation performs this copy.
|
|
484
481
|
Run `bdk install-skills` when you need to refresh it.
|
|
485
482
|
|
|
486
483
|
### Inspect a project {#info}
|
|
@@ -600,8 +597,7 @@ bdk deployments [--team <id>] [--json]
|
|
|
600
597
|
```
|
|
601
598
|
|
|
602
599
|
Text output shows slug, status, generation, kind, and update time. `--json`
|
|
603
|
-
prints `{ deployments }
|
|
604
|
-
succeeds.
|
|
600
|
+
prints `{ deployments }`. An empty list succeeds.
|
|
605
601
|
|
|
606
602
|
### Inspect a deployment {#deployment}
|
|
607
603
|
|
|
@@ -630,10 +626,7 @@ bdk cancel-runs <slug> [--team <id>] [--json]
|
|
|
630
626
|
```
|
|
631
627
|
|
|
632
628
|
The command requests cancellation for a deployment's active runs and reminder
|
|
633
|
-
wakes.
|
|
634
|
-
application, this cancels every install; use `stop --cancel-runs` for
|
|
635
|
-
install-local cancellation. It exits nonzero if any cancellation request fails
|
|
636
|
-
to start.
|
|
629
|
+
wakes. It exits nonzero if any cancellation request fails to start.
|
|
637
630
|
|
|
638
631
|
### Replace event repositories {#event-repos}
|
|
639
632
|
|
|
@@ -16,9 +16,6 @@ Put a server in `bot/host-connections/` when only host tools should
|
|
|
16
16
|
call it. Host connections use the same `defineConnection` shape and
|
|
17
17
|
support `bdk mcp oauth`; the model and playground don't see them.
|
|
18
18
|
|
|
19
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
20
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
21
|
-
|
|
22
19
|
## Remote MCP server
|
|
23
20
|
|
|
24
21
|
Point an MCP connection at a remote server with a URL.
|
|
@@ -102,16 +99,16 @@ export default defineConnection({
|
|
|
102
99
|
The callback is evaluated on every turn, including reminder
|
|
103
100
|
fires and post-restart follow-ups, so the identity always comes from the
|
|
104
101
|
session itself, never from state parked in memory. The model never sees a
|
|
105
|
-
|
|
106
|
-
fails the turn: a turn never silently runs without the
|
|
107
|
-
identity. `host.mcp` calls from server tools keep the static
|
|
108
|
-
You can't combine `auth` with `oauth: true`; the host OAuth
|
|
109
|
-
the Authorization header.
|
|
102
|
+
downstream account parameter and cannot choose the account. A callback
|
|
103
|
+
that throws fails the turn: a turn never silently runs without the
|
|
104
|
+
connection's identity. `host.mcp` calls from server tools keep the static
|
|
105
|
+
headers only. You can't combine `auth` with `oauth: true`; the host OAuth
|
|
106
|
+
provider owns the Authorization header.
|
|
110
107
|
|
|
111
108
|
Derive the identity from durable session facts: `session.auth`,
|
|
112
109
|
`session.id`, or your channel's own session state. Do not key it off
|
|
113
110
|
`session.continuationKey`. The HTTP channel rotates that key after every
|
|
114
|
-
accepted follow-up, so
|
|
111
|
+
accepted follow-up, so an account mapping keyed on it breaks
|
|
115
112
|
mid-conversation.
|
|
116
113
|
|
|
117
114
|
`auth` works attached or advertised. Advertise the auth connection
|
|
@@ -127,7 +124,7 @@ characters and add numeric suffixes to avoid collisions.
|
|
|
127
124
|
```ts
|
|
128
125
|
export default defineConnection({
|
|
129
126
|
url: "https://api.cursor.com/v1/mcp/plugins",
|
|
130
|
-
auth: async (session) => ({ headers: await
|
|
127
|
+
auth: async (session) => ({ headers: await headersForSession(session) }),
|
|
131
128
|
advertiseTools: true,
|
|
132
129
|
});
|
|
133
130
|
```
|
package/docs/reference/evals.md
CHANGED
|
@@ -11,9 +11,6 @@ tools, events, and output meet a contract. Files under the project-root
|
|
|
11
11
|
discovers their IDs, executes them, and reports every assertion. See the
|
|
12
12
|
[Evals guide](../evals.md) for the regression workflow.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
## Eval discovery and case IDs
|
|
18
15
|
|
|
19
16
|
Eval files live under the project-root `evals/` directory and end in
|
|
@@ -11,9 +11,6 @@ schedules, subagents, artifacts, and workspace seeds. One mount file
|
|
|
11
11
|
adds them under a namespace without copying their source into your
|
|
12
12
|
project.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
Extensions and Cursor plugins execute as trusted host code. A namespace
|
|
18
15
|
prevents name collisions; it does not sandbox the package or limit its
|
|
19
16
|
side effects. Review the package before mounting it.
|
|
@@ -108,8 +105,8 @@ not provide.
|
|
|
108
105
|
## Mount a Cursor plugin
|
|
109
106
|
|
|
110
107
|
`cursorPlugin()` adapts a vendored Cursor or Claude plugin into the same
|
|
111
|
-
namespace model. Skills, commands, agents, and MCP servers become
|
|
112
|
-
|
|
108
|
+
namespace model. Skills, commands, agents, and MCP servers become BDK
|
|
109
|
+
skills, subagents, and connections.
|
|
113
110
|
|
|
114
111
|
```ts
|
|
115
112
|
// bot/extensions/notion.ts
|
package/docs/reference/hooks.md
CHANGED
|
@@ -11,9 +11,6 @@ transcript copy, or derived state. Hooks run in the serving process for
|
|
|
11
11
|
every session of the agent. They cannot change the turn, the prompt, or
|
|
12
12
|
the reply; a handler that throws is logged and skipped.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports on this page are docs-ahead until publication;
|
|
15
|
-
see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
Treat the event as read-only. Later subscribers see the same object.
|
|
18
15
|
That makes hooks safe to add to a production agent, and the wrong
|
|
19
16
|
surface for anything that must run before the model or must fail a
|
|
@@ -140,7 +140,7 @@ These read-only routes describe the running agent.
|
|
|
140
140
|
| Route | Contract |
|
|
141
141
|
| --- | --- |
|
|
142
142
|
| `GET /v1/info` | Return the discovered model, tools, skills, connections, subagents, channels, schedules, hooks, and diagnostics |
|
|
143
|
-
| `GET /v1/tools` | Return live server tools and advertised MCP tools as `{ name, title?, source? }`; bind
|
|
143
|
+
| `GET /v1/tools` | Return live server tools and advertised MCP tools as `{ name, title?, source? }`; bind session-specific listings with `session` or `continuationToken` |
|
|
144
144
|
| `GET /v1/tools/:name` | Return one tool's description, execution mode, approval and effect rules, schemas, and source |
|
|
145
145
|
| `GET /v1/health` | Return per-agent liveness; no auth |
|
|
146
146
|
| `GET /v1/logs?after=N` | Return recent server logs and the next polling cursor |
|
|
@@ -9,9 +9,6 @@ Agent instructions form the always-on system prompt and reach the model
|
|
|
9
9
|
on every turn. A root agent requires them; a subagent may inline
|
|
10
10
|
`instructions` in `agent.ts` instead.
|
|
11
11
|
|
|
12
|
-
The `@cursor/bdk` imports on this page are docs-ahead until publication;
|
|
13
|
-
see [BDK package availability](/#bdk-package-availability).
|
|
14
|
-
|
|
15
12
|
## Authoring forms
|
|
16
13
|
|
|
17
14
|
| Form | Use it when |
|
|
@@ -10,9 +10,6 @@ description: "The built-in web UI: chat with streaming, Try buttons and slash co
|
|
|
10
10
|
mode). In multi-agent mode, each agent has its own playground, and `/`
|
|
11
11
|
lists them all.
|
|
12
12
|
|
|
13
|
-
The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
|
|
14
|
-
published; see [BDK package availability](/#bdk-package-availability).
|
|
15
|
-
|
|
16
13
|
## Playground surfaces
|
|
17
14
|
|
|
18
15
|
| Surface | What you can do |
|
|
@@ -19,7 +19,7 @@ For the capabilities below, identity comes from the path.
|
|
|
19
19
|
| --- | --- |
|
|
20
20
|
| `tools/approve_pr.ts` | tool `approve_pr` |
|
|
21
21
|
| `mcp-connections/linear.ts` | MCP connection `linear` (model + host) |
|
|
22
|
-
| `host-connections/
|
|
22
|
+
| `host-connections/inventory.ts` | Host MCP connection `inventory` (host + `mcp oauth` only) |
|
|
23
23
|
| `skills/pr-review.md` | skill `pr-review` |
|
|
24
24
|
| `subagents/reviewer/` | subagent `reviewer` |
|
|
25
25
|
| `extensions/ci.ts` | extension mount `ci`; its contributions become `ci__<name>` |
|
|
@@ -48,7 +48,7 @@ my-agent/
|
|
|
48
48
|
│ ├── mcp-connections/
|
|
49
49
|
│ │ └── linear.ts # tools from external MCP servers
|
|
50
50
|
│ ├── host-connections/
|
|
51
|
-
│ │ └──
|
|
51
|
+
│ │ └── inventory.ts # host-only MCP tools
|
|
52
52
|
│ ├── subagents/
|
|
53
53
|
│ │ └── reviewer/
|
|
54
54
|
│ │ ├── agent.ts
|
package/docs/reference/prompt.md
CHANGED
|
@@ -15,9 +15,6 @@ import { prompt } from "@cursor/bdk";
|
|
|
15
15
|
// or: import { prompt } from "@cursor/bdk/prompt";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The `@cursor/bdk` imports on this page are docs-ahead until publication;
|
|
19
|
-
see [BDK package availability](/#bdk-package-availability).
|
|
20
|
-
|
|
21
18
|
## Dedented strings
|
|
22
19
|
|
|
23
20
|
`prompt` returns one string. It removes the common leading whitespace
|
|
@@ -11,9 +11,6 @@ reminder is a runtime wake bound to one conversation: "re-check this
|
|
|
11
11
|
PR's CI in two hours." Schedules live in the filesystem; reminders are
|
|
12
12
|
created by running code.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
## Schedules
|
|
18
15
|
|
|
19
16
|
Cron expressions are standard 5-field, evaluated in UTC with minute
|
|
@@ -11,9 +11,6 @@ token, inspect it with a session ID, and follow progress on the NDJSON
|
|
|
11
11
|
stream. Chat sessions wait for follow-ups; task sessions run once and
|
|
12
12
|
stop.
|
|
13
13
|
|
|
14
|
-
The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
|
|
15
|
-
published; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
## Session contents
|
|
18
15
|
|
|
19
16
|
Each session combines:
|
package/docs/reference/skills.md
CHANGED
|
@@ -11,9 +11,6 @@ loads the full content only when the task calls for it. Skills are how
|
|
|
11
11
|
you give an agent a multi-step workflow without carrying it in the
|
|
12
12
|
always-on [instructions](./instructions.md).
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
## Authoring forms
|
|
18
15
|
|
|
19
16
|
Skills support three authoring forms.
|
|
@@ -11,9 +11,6 @@ mid-turn. Each one lives under `bot/subagents/<id>/` with a required
|
|
|
11
11
|
for a custom prompt. The parent model delegates through the `task` tool,
|
|
12
12
|
and the stream records `subagent.called` and `subagent.completed`.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports on this page are docs-ahead until publication;
|
|
15
|
-
see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
```text
|
|
18
15
|
bot/subagents/researcher/
|
|
19
16
|
├── agent.ts # description (required), model (optional)
|
package/docs/reference/tools.md
CHANGED
|
@@ -12,14 +12,10 @@ execution flavors: server tools run on the serving host, and
|
|
|
12
12
|
agent tools run as scripts where the agent runs. Every server tool can
|
|
13
13
|
also be called directly, with no model turn.
|
|
14
14
|
|
|
15
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
16
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
17
|
-
|
|
18
15
|
## Define a server tool
|
|
19
16
|
|
|
20
17
|
By default, `execute` runs in-process on the serving host with full
|
|
21
|
-
access to `process.env` and your `bot/lib/` code.
|
|
22
|
-
tools as SDK custom tools.
|
|
18
|
+
access to `process.env` and your `bot/lib/` code.
|
|
23
19
|
|
|
24
20
|
```ts
|
|
25
21
|
// bot/tools/inspect_pr.ts
|
|
@@ -12,9 +12,6 @@ what your policy allows. Ownership rules live in
|
|
|
12
12
|
the closest policy to a changed file wins, and policies are always read
|
|
13
13
|
from the PR's base ref so a PR cannot exempt itself.
|
|
14
14
|
|
|
15
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
16
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
17
|
-
|
|
18
15
|
## Scaffold
|
|
19
16
|
|
|
20
17
|
```text
|
|
@@ -92,6 +89,8 @@ next to the policy that names them. The next review reads both.
|
|
|
92
89
|
|
|
93
90
|
## Evals
|
|
94
91
|
|
|
92
|
+
Use the three smoke reviews as a local exercise:
|
|
93
|
+
|
|
95
94
|
```text
|
|
96
95
|
bdk eval
|
|
97
96
|
```
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Consult named Grok Bot agents"
|
|
3
|
+
description: "Scaffold an agent that delegates a focused question to an allowed Grok Bot agent and carries the reply back."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Consult named Grok Bot agents
|
|
7
|
+
|
|
8
|
+
The `grokbot-agents` template lets a BDK agent consult the Grok Bot
|
|
9
|
+
agents you allow. Your BDK conversation stays active while the named
|
|
10
|
+
agent works, and the delivered reply returns to the same conversation.
|
|
11
|
+
A request for an unlisted name is refused.
|
|
12
|
+
|
|
13
|
+
## Scaffold
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bdk init ./grokbot-consultant --template grokbot-agents
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`init` asks for the names shown in the Grok Bot app. Pass them directly
|
|
20
|
+
in a script:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bdk init ./grokbot-consultant --template grokbot-agents \
|
|
24
|
+
--var agents="Plan Keeper,Chief of Staff"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Run
|
|
28
|
+
|
|
29
|
+
Sign in, validate the scaffold, and start the project:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
cd grokbot-consultant
|
|
33
|
+
bdk login
|
|
34
|
+
bdk validate
|
|
35
|
+
bdk dev
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Open the playground and ask the agent to consult one of the names you
|
|
39
|
+
entered. The delivered reply returns to the same conversation.
|
|
40
|
+
|
|
41
|
+
## Choose who the agent can consult
|
|
42
|
+
|
|
43
|
+
Edit `bot/extensions/grokbot.ts` to change the allowlist. The template
|
|
44
|
+
supports descriptions that help the model choose the right specialist
|
|
45
|
+
when several names are available.
|
|
46
|
+
|
|
47
|
+
When someone asks which agents are available, the template lists them
|
|
48
|
+
without sending a message. A consultation sends one self-contained
|
|
49
|
+
question and reports the reply. Long-running consultations can be
|
|
50
|
+
checked later, and an active turn can be interrupted when the task
|
|
51
|
+
changes.
|
|
52
|
+
|
|
53
|
+
See [Grok Bot agents](../guides/grokbot-agents.md) for the extension's
|
|
54
|
+
conversation and approval boundaries.
|
|
55
|
+
|
|
56
|
+
## What to edit
|
|
57
|
+
|
|
58
|
+
- `bot/extensions/grokbot.ts`: allowed agent names
|
|
59
|
+
- `bot/instructions.md`: when to consult them
|
|
60
|
+
- `evals/grokbot-agents.eval.ts`: list-without-sending smoke case
|
|
@@ -11,21 +11,16 @@ RCE. Style nits stay out.
|
|
|
11
11
|
|
|
12
12
|
This template is one model turn: read the diff, then post one comment.
|
|
13
13
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
14
|
## Scaffold
|
|
18
15
|
|
|
19
16
|
```text
|
|
20
|
-
bdk init ./security-reviewer --template security-reviewer
|
|
17
|
+
bdk init ./security-reviewer --template security-reviewer \
|
|
18
|
+
--var repos=acme/api
|
|
21
19
|
```
|
|
22
20
|
|
|
23
|
-
`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
The list lands in `bot/lib/repos.ts`. The GitHub channel reads it for
|
|
27
|
-
`cursorAccount` and for the wake filter. Edit that file when the set
|
|
28
|
-
changes.
|
|
21
|
+
`--var repos` must name a repository already connected in Cursor for
|
|
22
|
+
your account. Separate multiple repositories with commas; they must
|
|
23
|
+
share one owner. `init` writes the list to `bot/lib/repos.ts`.
|
|
29
24
|
|
|
30
25
|
## Connect GitHub through Cursor
|
|
31
26
|
|
|
@@ -71,7 +66,8 @@ comment.
|
|
|
71
66
|
|
|
72
67
|
## Evals
|
|
73
68
|
|
|
74
|
-
|
|
69
|
+
Use the two smoke cases, one XSS fixture and one docs-only change, as a
|
|
70
|
+
local exercise:
|
|
75
71
|
|
|
76
72
|
```text
|
|
77
73
|
bdk eval
|
|
@@ -6,15 +6,12 @@ description: "Scaffold the agent, deploy it, and open a PR."
|
|
|
6
6
|
# Review pull requests for structural code quality
|
|
7
7
|
|
|
8
8
|
This agent reads a pull request diff and posts one review comment. It
|
|
9
|
-
reports missing abstractions,
|
|
10
|
-
leaking into shared paths, and files pushed past 1,000 lines. Style
|
|
11
|
-
|
|
9
|
+
reports missing abstractions, deeply nested control flow, feature logic
|
|
10
|
+
leaking into shared paths, and files pushed past 1,000 lines. Style nits
|
|
11
|
+
and behavior disputes stay out.
|
|
12
12
|
|
|
13
13
|
This template is one model turn: read the diff, then post one comment.
|
|
14
14
|
|
|
15
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
16
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
17
|
-
|
|
18
15
|
## Scaffold
|
|
19
16
|
|
|
20
17
|
```text
|
|
@@ -67,8 +64,8 @@ API calls use your account. See the [GitHub guide](../guides/github.md).
|
|
|
67
64
|
|
|
68
65
|
## Evals
|
|
69
66
|
|
|
70
|
-
|
|
71
|
-
need no GitHub access.
|
|
67
|
+
Use the two smoke cases, one spaghetti-branch fixture and one clean fix,
|
|
68
|
+
as a local exercise. They need no GitHub access.
|
|
72
69
|
|
|
73
70
|
```text
|
|
74
71
|
bdk eval
|
|
@@ -6,14 +6,12 @@ description: "Scaffold the agent, deploy it, and open a PR."
|
|
|
6
6
|
# Review pull requests for bugs and breakage
|
|
7
7
|
|
|
8
8
|
This agent reads a pull request diff and posts one review comment. It
|
|
9
|
-
reports bugs, breaking side effects,
|
|
10
|
-
|
|
9
|
+
reports bugs, breaking side effects, developer workflow failures, and
|
|
10
|
+
unintended feature exposure in added or modified code. Style nits stay
|
|
11
|
+
out.
|
|
11
12
|
|
|
12
13
|
This template is one model turn: read the diff, then post one comment.
|
|
13
14
|
|
|
14
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
15
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
16
|
-
|
|
17
15
|
## Scaffold
|
|
18
16
|
|
|
19
17
|
```text
|
|
@@ -66,8 +64,8 @@ API calls use your account. See the [GitHub guide](../guides/github.md).
|
|
|
66
64
|
|
|
67
65
|
## Evals
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
need no GitHub access.
|
|
67
|
+
Use the two smoke cases, one auth-bypass fixture and one docs-only
|
|
68
|
+
change, as a local exercise. They need no GitHub access.
|
|
71
69
|
|
|
72
70
|
```text
|
|
73
71
|
bdk eval
|
package/docs/templates/triage.md
CHANGED
|
@@ -12,9 +12,6 @@ duplicate when titles match.
|
|
|
12
12
|
File the ticket however you already do. This template starts after the
|
|
13
13
|
ticket exists.
|
|
14
14
|
|
|
15
|
-
The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
|
|
16
|
-
until publication; see [BDK package availability](/#bdk-package-availability).
|
|
17
|
-
|
|
18
15
|
## Scaffold
|
|
19
16
|
|
|
20
17
|
```text
|
|
@@ -22,6 +19,8 @@ bdk init ./triage-agent --template triage-linear
|
|
|
22
19
|
bdk init ./triage-agent --template triage-jira
|
|
23
20
|
```
|
|
24
21
|
|
|
22
|
+
`bdk init --template triage` selects `triage-linear`.
|
|
23
|
+
|
|
25
24
|
Pick the tracker you use. The agent is the same. The overlay is the
|
|
26
25
|
connection.
|
|
27
26
|
|
|
@@ -46,6 +45,10 @@ In the Cursor dashboard, open MCP and connect Linear or Jira.
|
|
|
46
45
|
The connection stays on the host. The model calls `record_triage`.
|
|
47
46
|
Linear and Jira tools stay off the model's tool list.
|
|
48
47
|
|
|
48
|
+
Linear or Jira MCP must be connected for comments, priority changes,
|
|
49
|
+
and duplicate links; queueing an issue can still classify it through
|
|
50
|
+
`record_triage` without that connection.
|
|
51
|
+
|
|
49
52
|
## First verdict
|
|
50
53
|
|
|
51
54
|
```text
|
|
@@ -83,7 +86,8 @@ details, when to call `record_triage`, how to reply.
|
|
|
83
86
|
|
|
84
87
|
## Evals
|
|
85
88
|
|
|
86
|
-
|
|
89
|
+
Use the three smoke cases, one per kind, as a local exercise after you
|
|
90
|
+
change the rubric.
|
|
87
91
|
|
|
88
92
|
```text
|
|
89
93
|
bdk eval
|
package/docs/troubleshooting.md
CHANGED
|
@@ -12,11 +12,7 @@ Start with three checks:
|
|
|
12
12
|
`bdk info --dir . --json`.
|
|
13
13
|
3. Reproduce once, then inspect the serve log or session trace.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
published; see [BDK package availability](/#bdk-package-availability).
|
|
17
|
-
|
|
18
|
-
Match the visible symptom below. The `bdk` binary ships with
|
|
19
|
-
`@cursor/bdk` when the package publishes.
|
|
15
|
+
Match the visible symptom below.
|
|
20
16
|
|
|
21
17
|
## Serve or the playground will not work
|
|
22
18
|
|
|
@@ -50,9 +46,9 @@ Match the visible symptom below. The `bdk` binary ships with
|
|
|
50
46
|
|
|
51
47
|
| What you see | What to do |
|
|
52
48
|
| --- | --- |
|
|
53
|
-
| `401` outside
|
|
49
|
+
| `401` outside local development | Send the configured bearer token, alias token, or channel credential. Default custom routes admit direct loopback only. |
|
|
54
50
|
| `403` on a stream or follow-up | Use the same authenticated principal that created the session. |
|
|
55
|
-
| A
|
|
51
|
+
| A custom channel route fails through a tunnel or LAN | Protect the shared host with `--bearer-token` or authored channel auth. Use `--allow-anonymous` only behind a proxy that authenticates every caller. |
|
|
56
52
|
| `409` on a follow-up | Refresh the rotating `continuationToken` and confirm the target is a chat session; task sessions do not accept follow-ups. |
|
|
57
53
|
| `409 session_busy` from `call --session` | Wait for the turn, omit `--session`, or mark a read-only tool with `effect: "read"` so it can run concurrently. |
|
|
58
54
|
| A custom route fails schema type-checking | Add the required Zod `querySchema` for `GET`, or `bodySchema` for `POST`, `PUT`, and `PATCH`. See [Channels](./reference/channels.md). |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursor/bdk",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"description": "Build, test, and deploy BDK bots and agents as code on Cursor's agent harness.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -5,9 +5,6 @@ committed in your repository: risk-tiers the diff, requests the owning
|
|
|
5
5
|
team or user as reviewers, and approves what the policy allows. Policies
|
|
6
6
|
are always read from the PR's base ref, so a PR cannot exempt itself.
|
|
7
7
|
|
|
8
|
-
> **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
|
|
9
|
-
> after publication.
|
|
10
|
-
|
|
11
8
|
```text
|
|
12
9
|
npx @cursor/bdk init ./owners-agent --template agentic-owners
|
|
13
10
|
```
|
|
@@ -5,9 +5,6 @@ listed Slack channels. Parks an update until a person approves it, then
|
|
|
5
5
|
opens a draft follow-up PR. Chores stay quiet. Same-base updates stack
|
|
6
6
|
on `agents-md/<base>`.
|
|
7
7
|
|
|
8
|
-
> **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
|
|
9
|
-
> after publication.
|
|
10
|
-
|
|
11
8
|
```text
|
|
12
9
|
npx @cursor/bdk init ./agents-md --template agents-md
|
|
13
10
|
```
|
|
@@ -27,6 +24,10 @@ bdk slack create --dir .
|
|
|
27
24
|
bdk dev
|
|
28
25
|
```
|
|
29
26
|
|
|
27
|
+
The Slack app uses `AGENTS_MD_SLACK_BOT_TOKEN` and
|
|
28
|
+
`AGENTS_MD_SLACK_APP_TOKEN`. `bdk slack create` writes both values to
|
|
29
|
+
`.env.local`.
|
|
30
|
+
|
|
30
31
|
Schedules do not fire under `dev`. Dispatch the weekly job:
|
|
31
32
|
|
|
32
33
|
```text
|
|
@@ -4,9 +4,6 @@ Keeps `wiki/` pages current after a pull request merges. Opens a
|
|
|
4
4
|
follow-up PR against that merge's base when a durable fact changed.
|
|
5
5
|
Skips chores. Same-base updates stack on `wiki/<base>`.
|
|
6
6
|
|
|
7
|
-
> **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
|
|
8
|
-
> after publication.
|
|
9
|
-
|
|
10
7
|
```text
|
|
11
8
|
npx @cursor/bdk init ./code-wiki --template code-wiki
|
|
12
9
|
```
|
|
@@ -18,10 +18,10 @@ or ownership change, a removed feature.
|
|
|
18
18
|
An empty wiki is not a license to document the whole repo. Create a
|
|
19
19
|
page only for a durable contract in this merge.
|
|
20
20
|
|
|
21
|
-
Skip lint, format, lockfiles, dependency pins, tests-only,
|
|
22
|
-
backports, telemetry-only changes, one-off bug fixes that
|
|
23
|
-
described behavior the same, knobs the wiki never mentioned,
|
|
24
|
-
the matching page already states.
|
|
21
|
+
Skip lint, format, lockfiles, dependency pins, tests-only, docs-only,
|
|
22
|
+
cherry-picks, backports, telemetry-only changes, one-off bug fixes that
|
|
23
|
+
leave the described behavior the same, knobs the wiki never mentioned,
|
|
24
|
+
and facts the matching page already states.
|
|
25
25
|
|
|
26
26
|
Do not write a changelog or a PR list.
|
|
27
27
|
|
package/templates/demo/README.md
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
Host collects the PR into `pr.md` and `files.md`. The agent records a
|
|
4
4
|
walkthrough and comments the result.
|
|
5
5
|
|
|
6
|
-
> **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
|
|
7
|
-
> after publication.
|
|
8
|
-
|
|
9
6
|
```text
|
|
10
7
|
npx @cursor/bdk init ./my-demo --template demo
|
|
11
8
|
```
|