@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.
Files changed (348) hide show
  1. package/README.md +76 -1154
  2. package/dist/bin/agent-serve.js +17 -11
  3. package/dist/channels/github/github-channel.d.ts +4 -4
  4. package/dist/channels/github/github-channel.js +5 -5
  5. package/dist/channels/slack/eval-directive.js +1 -1
  6. package/dist/docs/404.html +2 -2
  7. package/dist/docs/assets/{app.4kQ8Db_q.js → app.CJLKDVza.js} +4 -4
  8. package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.js → building-with-agents.md.BPjPFxFg.js} +2 -2
  9. package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.lean.js → building-with-agents.md.BPjPFxFg.lean.js} +1 -1
  10. package/dist/docs/assets/chunks/@localSearchIndexroot.Bq-pxRXm.js +1 -0
  11. package/dist/docs/assets/chunks/{VPLocalSearchBox.DY1RwB8Q.js → VPLocalSearchBox.BW9mrQmq.js} +1 -1
  12. package/dist/docs/assets/chunks/{arc.CxE_fSPK.js → arc.D8ZOvM1m.js} +1 -1
  13. package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.CPX426ui.js → architectureDiagram-Q4EWVU46.CXEKhLW-.js} +1 -1
  14. package/dist/docs/assets/chunks/{baseUniq.CB52JrKG.js → baseUniq.BJkVKblr.js} +1 -1
  15. package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.J0cNaQCL.js → blockDiagram-DXYQGD6D.DQDbHxor.js} +1 -1
  16. package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.DJn3vEGT.js → c4Diagram-AHTNJAMY.ByMD6LYM.js} +1 -1
  17. package/dist/docs/assets/chunks/channel.DCU8W1RP.js +1 -0
  18. package/dist/docs/assets/chunks/{chunk-4BX2VUAB.Dao618F6.js → chunk-4BX2VUAB.Dtq1aVI9.js} +1 -1
  19. package/dist/docs/assets/chunks/{chunk-4TB4RGXK.QW8Rhjai.js → chunk-4TB4RGXK.BL_XrkoQ.js} +1 -1
  20. package/dist/docs/assets/chunks/{chunk-55IACEB6.DfRLLKF_.js → chunk-55IACEB6.BDPXu94_.js} +1 -1
  21. package/dist/docs/assets/chunks/{chunk-EDXVE4YY.CIV2ApKQ.js → chunk-EDXVE4YY.DhGOQj4k.js} +1 -1
  22. package/dist/docs/assets/chunks/{chunk-FMBD7UC4.BEheSuxp.js → chunk-FMBD7UC4.DSF5nr8v.js} +1 -1
  23. package/dist/docs/assets/chunks/{chunk-OYMX7WX6.CUN88ENB.js → chunk-OYMX7WX6.Day7wayw.js} +1 -1
  24. package/dist/docs/assets/chunks/{chunk-QZHKN3VN.CgqCs8b_.js → chunk-QZHKN3VN.CpBEC0zA.js} +1 -1
  25. package/dist/docs/assets/chunks/{chunk-YZCP3GAM.iCH0nnTJ.js → chunk-YZCP3GAM.X_7rY1rx.js} +1 -1
  26. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.DwpXsM06.js +1 -0
  27. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.DwpXsM06.js +1 -0
  28. package/dist/docs/assets/chunks/clone.DH6Mx2zB.js +1 -0
  29. package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.BLcUxhWE.js → cose-bilkent-S5V4N54A.BVRmi2ko.js} +1 -1
  30. package/dist/docs/assets/chunks/{dagre-KV5264BT.Ep7LofOm.js → dagre-KV5264BT.Dei9oslB.js} +1 -1
  31. package/dist/docs/assets/chunks/{diagram-5BDNPKRD.Bzf4GSQ4.js → diagram-5BDNPKRD._M-efGt7.js} +1 -1
  32. package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.DD6Jh-eM.js → diagram-G4DWMVQ6.D1Vmhfsj.js} +1 -1
  33. package/dist/docs/assets/chunks/{diagram-MMDJMWI5.oOIl8bWd.js → diagram-MMDJMWI5.cE1bmvAC.js} +1 -1
  34. package/dist/docs/assets/chunks/{diagram-TYMM5635.DHs85Ade.js → diagram-TYMM5635.DkXAfznP.js} +1 -1
  35. package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.BIb5ghCk.js → erDiagram-SMLLAGMA.DH_pSwPg.js} +1 -1
  36. package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.DV4paY9k.js → flowDiagram-DWJPFMVM.kAWVN9j1.js} +1 -1
  37. package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.AyEKA6_v.js → ganttDiagram-T4ZO3ILL.8r0w49-p.js} +1 -1
  38. package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.BltiCDFo.js → gitGraphDiagram-UUTBAWPF.BDa7Bi1i.js} +1 -1
  39. package/dist/docs/assets/chunks/{graph.DzuEYGdC.js → graph.BMPXHz_B.js} +1 -1
  40. package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.BV2l981J.js → infoDiagram-42DDH7IO.BmlcqewS.js} +1 -1
  41. package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.BA4Izf-m.js → ishikawaDiagram-UXIWVN3A.CVSEQSul.js} +1 -1
  42. package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.DjaFbFS3.js → journeyDiagram-VCZTEJTY.BpeWJ5n-.js} +1 -1
  43. package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.CfTFieDs.js → kanban-definition-6JOO6SKY.DHbDXuxB.js} +1 -1
  44. package/dist/docs/assets/chunks/{layout.DzfWqTBV.js → layout.CzrCDgkP.js} +1 -1
  45. package/dist/docs/assets/chunks/{linear.BO6mpulV.js → linear.HwBsflwN.js} +1 -1
  46. package/dist/docs/assets/chunks/{min.BGgTadgT.js → min.DqGHolT3.js} +1 -1
  47. package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.DPuIXVWY.js → mindmap-definition-QFDTVHPH.ZYGlOawh.js} +1 -1
  48. package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.BOnl3bBg.js → pieDiagram-DEJITSTG.C2KRXlNR.js} +1 -1
  49. package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.DNB6Ckdc.js → quadrantDiagram-34T5L4WZ.CHj3Qefp.js} +1 -1
  50. package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.D5-Qo7vb.js → requirementDiagram-MS252O5E.B1L4Tf7k.js} +1 -1
  51. package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.8t65cesf.js → sankeyDiagram-XADWPNL6.dNR2yi1B.js} +1 -1
  52. package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.CaG07BdS.js → sequenceDiagram-FGHM5R23.BrvQ3C6m.js} +1 -1
  53. package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.TKOweTB6.js → stateDiagram-FHFEXIEX.BtehEykA.js} +1 -1
  54. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.kzD0-U89.js +1 -0
  55. package/dist/docs/assets/chunks/{theme.Dx-JhpTB.js → theme.BDHBZUkP.js} +2 -2
  56. package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.fE53zQ2s.js → timeline-definition-GMOUNBTQ.Bn7nhqEN.js} +1 -1
  57. package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.DJsZZaJg.js → vennDiagram-DHZGUBPP.DKhc38sz.js} +1 -1
  58. package/dist/docs/assets/chunks/wardley-RL74JXVD.DOXQ0w8J.js +162 -0
  59. package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.CMZ-Ru_t.js → wardleyDiagram-NUSXRM2D.Bbq5B2Ic.js} +1 -1
  60. package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.XXrhBc7a.js → xychartDiagram-5P7HB3ND.B77HE1K8.js} +1 -1
  61. package/dist/docs/assets/{deployment.md.UhnJIMr-.js → deployment.md.BdqTiGdc.js} +4 -4
  62. package/dist/docs/assets/{deployment.md.UhnJIMr-.lean.js → deployment.md.BdqTiGdc.lean.js} +1 -1
  63. package/dist/docs/assets/{evals.md.CCAtNcuL.js → evals.md.C851kViu.js} +3 -3
  64. package/dist/docs/assets/{evals.md.CCAtNcuL.lean.js → evals.md.C851kViu.lean.js} +1 -1
  65. package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.js → guides_agent-to-agent.md.Cps5NiCV.js} +2 -2
  66. package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.lean.js → guides_agent-to-agent.md.Cps5NiCV.lean.js} +1 -1
  67. package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.js → guides_bitbucket.md.BB6fqD-M.js} +2 -2
  68. package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.lean.js → guides_bitbucket.md.BB6fqD-M.lean.js} +1 -1
  69. package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.js → guides_cloud-agents.md.CWJjS9No.js} +2 -2
  70. package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.lean.js → guides_cloud-agents.md.CWJjS9No.lean.js} +1 -1
  71. package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.js → guides_convert-automation.md.DMEX9nF-.js} +3 -3
  72. package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.lean.js → guides_convert-automation.md.DMEX9nF-.lean.js} +1 -1
  73. package/dist/docs/assets/{guides_github.md.Bq9kQU9B.js → guides_github.md.Cr1Xlf-m.js} +3 -3
  74. package/dist/docs/assets/{guides_github.md.Bq9kQU9B.lean.js → guides_github.md.Cr1Xlf-m.lean.js} +1 -1
  75. package/dist/docs/assets/{guides_gitlab.md.BM27P43u.js → guides_gitlab.md.CMpmFi4M.js} +2 -2
  76. package/dist/docs/assets/{guides_gitlab.md.BM27P43u.lean.js → guides_gitlab.md.CMpmFi4M.lean.js} +1 -1
  77. package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.js → guides_grokbot-agents.md.tD1smFhU.js} +2 -2
  78. package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.lean.js → guides_grokbot-agents.md.tD1smFhU.lean.js} +1 -1
  79. package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.js → guides_hooks.md.5Ce3NXxZ.js} +2 -2
  80. package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.lean.js → guides_hooks.md.5Ce3NXxZ.lean.js} +1 -1
  81. package/dist/docs/assets/{guides_improve.md.COtL-6ft.js → guides_improve.md.CRrYq22s.js} +2 -2
  82. package/dist/docs/assets/{guides_improve.md.COtL-6ft.lean.js → guides_improve.md.CRrYq22s.lean.js} +1 -1
  83. package/dist/docs/assets/{guides_jev.md.CRcgmjDb.js → guides_jev.md.D7XH4JH3.js} +2 -2
  84. package/dist/docs/assets/{guides_jev.md.CRcgmjDb.lean.js → guides_jev.md.D7XH4JH3.lean.js} +1 -1
  85. package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.js → guides_mcp-oauth.md.DR3zhC9r.js} +2 -2
  86. package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.lean.js → guides_mcp-oauth.md.DR3zhC9r.lean.js} +1 -1
  87. package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.js → guides_opentelemetry.md.jcPNrQbH.js} +8 -6
  88. package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.lean.js → guides_opentelemetry.md.jcPNrQbH.lean.js} +1 -1
  89. package/dist/docs/assets/{guides_slack.md.diqqXTTm.js → guides_slack.md.Bn-WupSE.js} +8 -8
  90. package/dist/docs/assets/{guides_slack.md.diqqXTTm.lean.js → guides_slack.md.Bn-WupSE.lean.js} +1 -1
  91. package/dist/docs/assets/{guides_webhooks.md.D0furjw0.js → guides_webhooks.md.BBvAm_VF.js} +2 -2
  92. package/dist/docs/assets/{guides_webhooks.md.D0furjw0.lean.js → guides_webhooks.md.BBvAm_VF.lean.js} +1 -1
  93. package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.js → hillclimbing.md.Dxvd-0gT.js} +2 -2
  94. package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.lean.js → hillclimbing.md.Dxvd-0gT.lean.js} +1 -1
  95. package/dist/docs/assets/index.md.Dxxr7pFa.js +27 -0
  96. package/dist/docs/assets/{index.md.CVc_oOA3.lean.js → index.md.Dxxr7pFa.lean.js} +1 -1
  97. package/dist/docs/assets/{quickstart.md.CHpHPBUN.js → quickstart.md.BK5gjHM2.js} +2 -2
  98. package/dist/docs/assets/{quickstart.md.CHpHPBUN.lean.js → quickstart.md.BK5gjHM2.lean.js} +1 -1
  99. package/dist/docs/assets/{reference_agent-config.md.Cj5uBKp4.js → reference_agent-config.md.DrtLxWgR.js} +4 -4
  100. package/dist/docs/assets/{reference_agent-config.md.Cj5uBKp4.lean.js → reference_agent-config.md.DrtLxWgR.lean.js} +1 -1
  101. package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.js → reference_artifacts.md.DLV9MZES.js} +2 -2
  102. package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.lean.js → reference_artifacts.md.DLV9MZES.lean.js} +1 -1
  103. package/dist/docs/assets/{reference_channels.md.mbNtKCiR.js → reference_channels.md.LbNIJBwd.js} +2 -2
  104. package/dist/docs/assets/{reference_channels.md.mbNtKCiR.lean.js → reference_channels.md.LbNIJBwd.lean.js} +1 -1
  105. package/dist/docs/assets/{reference_cli.md.DgeLTO18.js → reference_cli.md.BsgDqYPh.js} +4 -4
  106. package/dist/docs/assets/{reference_cli.md.DgeLTO18.lean.js → reference_cli.md.BsgDqYPh.lean.js} +1 -1
  107. package/dist/docs/assets/{reference_connections.md.COq--gAm.js → reference_connections.md.Bljpve-y.js} +4 -4
  108. package/dist/docs/assets/{reference_connections.md.COq--gAm.lean.js → reference_connections.md.Bljpve-y.lean.js} +1 -1
  109. package/dist/docs/assets/{reference_evals.md.CJm3uCUm.js → reference_evals.md.D5i8PuXJ.js} +2 -2
  110. package/dist/docs/assets/{reference_evals.md.CJm3uCUm.lean.js → reference_evals.md.D5i8PuXJ.lean.js} +1 -1
  111. package/dist/docs/assets/{reference_extensions.md.pa2tN-e4.js → reference_extensions.md.OUacPetl.js} +3 -3
  112. package/dist/docs/assets/{reference_extensions.md.pa2tN-e4.lean.js → reference_extensions.md.OUacPetl.lean.js} +1 -1
  113. package/dist/docs/assets/{reference_hooks.md.DbthhtIR.js → reference_hooks.md.C5LCJ1R3.js} +2 -2
  114. package/dist/docs/assets/{reference_hooks.md.DbthhtIR.lean.js → reference_hooks.md.C5LCJ1R3.lean.js} +1 -1
  115. package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.js → reference_http-api.md.DbFNOubV.js} +1 -1
  116. package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.js → reference_instructions.md.DrcHZXig.js} +2 -2
  117. package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.lean.js → reference_instructions.md.DrcHZXig.lean.js} +1 -1
  118. package/dist/docs/assets/reference_playground.md.1hx0gcIu.js +1 -0
  119. package/dist/docs/assets/{reference_playground.md.BdQzRJc2.lean.js → reference_playground.md.1hx0gcIu.lean.js} +1 -1
  120. package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.js → reference_project-layout.md.C2JMRh7p.js} +2 -2
  121. package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.js → reference_prompt.md.DqPh71XN.js} +3 -3
  122. package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.lean.js → reference_prompt.md.DqPh71XN.lean.js} +1 -1
  123. package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.js → reference_schedules.md.BuJ8fgMa.js} +2 -2
  124. package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.lean.js → reference_schedules.md.BuJ8fgMa.lean.js} +1 -1
  125. package/dist/docs/assets/reference_sessions.md.CM5zo3w4.js +1 -0
  126. package/dist/docs/assets/{reference_sessions.md.DeRUItHD.lean.js → reference_sessions.md.CM5zo3w4.lean.js} +1 -1
  127. package/dist/docs/assets/{reference_skills.md.Cy00QMKS.js → reference_skills.md.ClkMoQsV.js} +2 -2
  128. package/dist/docs/assets/{reference_skills.md.Cy00QMKS.lean.js → reference_skills.md.ClkMoQsV.lean.js} +1 -1
  129. package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.js → reference_subagents.md.gmPt5J-M.js} +2 -2
  130. package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.lean.js → reference_subagents.md.gmPt5J-M.lean.js} +1 -1
  131. package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.js → reference_tools.md.v3SXVSs_.js} +2 -2
  132. package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.lean.js → reference_tools.md.v3SXVSs_.lean.js} +1 -1
  133. package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.js → templates_agentic-owners.md.CvmABtia.js} +2 -2
  134. package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.js +5 -0
  135. package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.lean.js +1 -0
  136. package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.js → templates_security-reviewer.md.Gh6EF9Us.js} +3 -2
  137. package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.lean.js → templates_security-reviewer.md.Gh6EF9Us.lean.js} +1 -1
  138. package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.js → templates_thermo-quality-review.md.B77UyTrX.js} +2 -2
  139. package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.lean.js → templates_thermo-quality-review.md.B77UyTrX.lean.js} +1 -1
  140. package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.js → templates_thermo-review.md.DRJ7mC5U.js} +2 -2
  141. package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.lean.js → templates_thermo-review.md.DRJ7mC5U.lean.js} +1 -1
  142. package/dist/docs/assets/templates_triage.md.CNN6b0JZ.js +9 -0
  143. package/dist/docs/assets/{templates_triage.md.CvJyx81N.lean.js → templates_triage.md.CNN6b0JZ.lean.js} +1 -1
  144. package/dist/docs/assets/troubleshooting.md.Bscj6ODe.js +1 -0
  145. package/dist/docs/assets/{troubleshooting.md.Cw5PKa3t.lean.js → troubleshooting.md.Bscj6ODe.lean.js} +1 -1
  146. package/dist/docs/building-with-agents.html +36 -36
  147. package/dist/docs/building-with-agents.md +0 -3
  148. package/dist/docs/deployment.html +38 -38
  149. package/dist/docs/deployment.md +2 -9
  150. package/dist/docs/evals.html +37 -37
  151. package/dist/docs/evals.md +2 -5
  152. package/dist/docs/guides/agent-to-agent.html +36 -36
  153. package/dist/docs/guides/agent-to-agent.md +0 -3
  154. package/dist/docs/guides/bitbucket.html +36 -36
  155. package/dist/docs/guides/bitbucket.md +0 -3
  156. package/dist/docs/guides/cloud-agents.html +36 -36
  157. package/dist/docs/guides/cloud-agents.md +0 -4
  158. package/dist/docs/guides/convert-automation.html +37 -37
  159. package/dist/docs/guides/convert-automation.md +2 -5
  160. package/dist/docs/guides/github.html +37 -37
  161. package/dist/docs/guides/github.md +1 -4
  162. package/dist/docs/guides/gitlab.html +36 -36
  163. package/dist/docs/guides/gitlab.md +0 -3
  164. package/dist/docs/guides/grokbot-agents.html +37 -37
  165. package/dist/docs/guides/grokbot-agents.md +1 -4
  166. package/dist/docs/guides/hooks.html +36 -36
  167. package/dist/docs/guides/hooks.md +0 -3
  168. package/dist/docs/guides/improve.html +36 -36
  169. package/dist/docs/guides/improve.md +0 -3
  170. package/dist/docs/guides/jev.html +36 -36
  171. package/dist/docs/guides/jev.md +0 -3
  172. package/dist/docs/guides/mcp-oauth.html +37 -37
  173. package/dist/docs/guides/mcp-oauth.md +1 -4
  174. package/dist/docs/guides/opentelemetry.html +42 -40
  175. package/dist/docs/guides/opentelemetry.md +4 -5
  176. package/dist/docs/guides/slack.html +43 -43
  177. package/dist/docs/guides/slack.md +14 -24
  178. package/dist/docs/guides/webhooks.html +36 -36
  179. package/dist/docs/guides/webhooks.md +0 -3
  180. package/dist/docs/hashmap.json +1 -1
  181. package/dist/docs/hillclimbing.html +36 -36
  182. package/dist/docs/hillclimbing.md +0 -3
  183. package/dist/docs/index.html +38 -38
  184. package/dist/docs/index.md +9 -16
  185. package/dist/docs/llms-full.txt +153 -234
  186. package/dist/docs/llms.txt +1 -0
  187. package/dist/docs/quickstart.html +36 -36
  188. package/dist/docs/quickstart.md +2 -7
  189. package/dist/docs/reference/agent-config.html +38 -38
  190. package/dist/docs/reference/agent-config.md +4 -7
  191. package/dist/docs/reference/artifacts.html +36 -36
  192. package/dist/docs/reference/artifacts.md +0 -3
  193. package/dist/docs/reference/channels.html +37 -37
  194. package/dist/docs/reference/channels.md +1 -6
  195. package/dist/docs/reference/cli.html +38 -38
  196. package/dist/docs/reference/cli.md +7 -14
  197. package/dist/docs/reference/connections.html +38 -38
  198. package/dist/docs/reference/connections.md +7 -10
  199. package/dist/docs/reference/evals.html +36 -36
  200. package/dist/docs/reference/evals.md +0 -3
  201. package/dist/docs/reference/extensions.html +37 -37
  202. package/dist/docs/reference/extensions.md +2 -5
  203. package/dist/docs/reference/hooks.html +36 -36
  204. package/dist/docs/reference/hooks.md +0 -3
  205. package/dist/docs/reference/http-api.html +37 -37
  206. package/dist/docs/reference/http-api.md +1 -1
  207. package/dist/docs/reference/instructions.html +36 -36
  208. package/dist/docs/reference/instructions.md +0 -3
  209. package/dist/docs/reference/playground.html +36 -36
  210. package/dist/docs/reference/playground.md +0 -3
  211. package/dist/docs/reference/project-layout.html +37 -37
  212. package/dist/docs/reference/project-layout.md +2 -2
  213. package/dist/docs/reference/prompt.html +37 -37
  214. package/dist/docs/reference/prompt.md +0 -3
  215. package/dist/docs/reference/schedules.html +36 -36
  216. package/dist/docs/reference/schedules.md +0 -3
  217. package/dist/docs/reference/sessions.html +36 -36
  218. package/dist/docs/reference/sessions.md +0 -3
  219. package/dist/docs/reference/skills.html +36 -36
  220. package/dist/docs/reference/skills.md +0 -3
  221. package/dist/docs/reference/subagents.html +36 -36
  222. package/dist/docs/reference/subagents.md +0 -3
  223. package/dist/docs/reference/tools.html +36 -36
  224. package/dist/docs/reference/tools.md +1 -5
  225. package/dist/docs/templates/agentic-owners.html +37 -37
  226. package/dist/docs/templates/agentic-owners.md +2 -3
  227. package/dist/docs/templates/grokbot-agents.html +64 -0
  228. package/dist/docs/templates/grokbot-agents.md +55 -0
  229. package/dist/docs/templates/security-reviewer.html +38 -37
  230. package/dist/docs/templates/security-reviewer.md +7 -11
  231. package/dist/docs/templates/thermo-quality-review.html +37 -37
  232. package/dist/docs/templates/thermo-quality-review.md +5 -8
  233. package/dist/docs/templates/thermo-review.html +37 -37
  234. package/dist/docs/templates/thermo-review.md +5 -7
  235. package/dist/docs/templates/triage.html +39 -39
  236. package/dist/docs/templates/triage.md +8 -4
  237. package/dist/docs/troubleshooting.html +36 -36
  238. package/dist/docs/troubleshooting.md +3 -7
  239. package/dist/evals.d.ts +2 -2
  240. package/dist/internal/cli-ax.d.ts.map +1 -1
  241. package/dist/internal/cli-ax.js +14 -7
  242. package/dist/internal/eval-runner.js +7 -4
  243. package/dist/internal/init-interview.d.ts +0 -1
  244. package/dist/internal/init-interview.d.ts.map +1 -1
  245. package/dist/internal/init-interview.js +15 -24
  246. package/dist/internal/legacy-command-guard.d.ts +4 -1
  247. package/dist/internal/legacy-command-guard.d.ts.map +1 -1
  248. package/dist/internal/legacy-command-guard.js +11 -2
  249. package/dist/internal/platform-timers.d.ts +8 -1
  250. package/dist/internal/platform-timers.d.ts.map +1 -1
  251. package/dist/internal/platform-timers.js +10 -2
  252. package/dist/internal/reminder-control-plane-protocol.d.ts +8 -1
  253. package/dist/internal/reminder-control-plane-protocol.d.ts.map +1 -1
  254. package/dist/internal/reminder-runner.d.ts +5 -0
  255. package/dist/internal/reminder-runner.d.ts.map +1 -1
  256. package/dist/internal/reminder-runner.js +27 -1
  257. package/dist/internal/resolve-prod-target.d.ts +3 -0
  258. package/dist/internal/resolve-prod-target.d.ts.map +1 -1
  259. package/dist/internal/resolve-prod-target.js +2 -1
  260. package/dist/internal/run-client.d.ts +10 -1
  261. package/dist/internal/run-client.d.ts.map +1 -1
  262. package/dist/internal/run-client.js +152 -51
  263. package/dist/internal/server.d.ts +6 -0
  264. package/dist/internal/server.d.ts.map +1 -1
  265. package/dist/internal/server.js +20 -8
  266. package/dist/internal/session-links.d.ts.map +1 -1
  267. package/dist/internal/session-links.js +8 -7
  268. package/dist/internal/sessions-client.d.ts +1 -0
  269. package/dist/internal/sessions-client.d.ts.map +1 -1
  270. package/dist/internal/sessions-client.js +2 -0
  271. package/docs/README.md +9 -16
  272. package/docs/building-with-agents.md +0 -3
  273. package/docs/deployment.md +2 -9
  274. package/docs/evals.md +2 -5
  275. package/docs/guides/agent-to-agent.md +0 -3
  276. package/docs/guides/bitbucket.md +0 -3
  277. package/docs/guides/cloud-agents.md +0 -4
  278. package/docs/guides/convert-automation.md +2 -5
  279. package/docs/guides/github.md +1 -4
  280. package/docs/guides/gitlab.md +0 -3
  281. package/docs/guides/grokbot-agents.md +1 -4
  282. package/docs/guides/hooks.md +0 -3
  283. package/docs/guides/improve.md +0 -3
  284. package/docs/guides/jev.md +0 -3
  285. package/docs/guides/mcp-oauth.md +1 -4
  286. package/docs/guides/opentelemetry.md +4 -5
  287. package/docs/guides/slack.md +14 -24
  288. package/docs/guides/webhooks.md +0 -3
  289. package/docs/hillclimbing.md +0 -3
  290. package/docs/quickstart.md +2 -7
  291. package/docs/reference/agent-config.md +4 -7
  292. package/docs/reference/artifacts.md +0 -3
  293. package/docs/reference/channels.md +1 -6
  294. package/docs/reference/cli.md +7 -14
  295. package/docs/reference/connections.md +7 -10
  296. package/docs/reference/evals.md +0 -3
  297. package/docs/reference/extensions.md +2 -5
  298. package/docs/reference/hooks.md +0 -3
  299. package/docs/reference/http-api.md +1 -1
  300. package/docs/reference/instructions.md +0 -3
  301. package/docs/reference/playground.md +0 -3
  302. package/docs/reference/project-layout.md +2 -2
  303. package/docs/reference/prompt.md +0 -3
  304. package/docs/reference/schedules.md +0 -3
  305. package/docs/reference/sessions.md +0 -3
  306. package/docs/reference/skills.md +0 -3
  307. package/docs/reference/subagents.md +0 -3
  308. package/docs/reference/tools.md +1 -5
  309. package/docs/templates/agentic-owners.md +2 -3
  310. package/docs/templates/grokbot-agents.md +60 -0
  311. package/docs/templates/security-reviewer.md +7 -11
  312. package/docs/templates/thermo-quality-review.md +5 -8
  313. package/docs/templates/thermo-review.md +5 -7
  314. package/docs/templates/triage.md +8 -4
  315. package/docs/troubleshooting.md +3 -7
  316. package/package.json +2 -2
  317. package/templates/agentic-owners/README.md +0 -3
  318. package/templates/agents-md/README.md +4 -3
  319. package/templates/agents-md/evals/agents.eval.ts +1 -0
  320. package/templates/code-wiki/README.md +0 -3
  321. package/templates/code-wiki/bot/instructions.md +4 -4
  322. package/templates/demo/README.md +0 -3
  323. package/templates/grokbot-agents/README.md +4 -6
  324. package/templates/security-help/README.md +12 -6
  325. package/templates/security-reviewer/README.md +5 -6
  326. package/templates/security-reviewer/bot/tools/post_findings.ts +8 -8
  327. package/templates/thermo-quality-review/README.md +0 -3
  328. package/templates/thermo-quality-review/bot/tools/post_findings.ts +8 -8
  329. package/templates/thermo-review/README.md +0 -3
  330. package/templates/thermo-review/bot/tools/post_findings.ts +8 -8
  331. package/templates/triage/README.md +0 -3
  332. package/templates/triage/overlays/jira/README.md +0 -3
  333. package/templates/triage/overlays/linear/README.md +0 -3
  334. package/dist/docs/assets/chunks/@localSearchIndexroot.CvuAJ0My.js +0 -1
  335. package/dist/docs/assets/chunks/channel.BoNycAoN.js +0 -1
  336. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.C4x07Gkj.js +0 -1
  337. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.C4x07Gkj.js +0 -1
  338. package/dist/docs/assets/chunks/clone.Db22cH_-.js +0 -1
  339. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CuqmyQc4.js +0 -1
  340. package/dist/docs/assets/chunks/wardley-RL74JXVD.844kyrjl.js +0 -162
  341. package/dist/docs/assets/index.md.CVc_oOA3.js +0 -27
  342. package/dist/docs/assets/reference_playground.md.BdQzRJc2.js +0 -1
  343. package/dist/docs/assets/reference_sessions.md.DeRUItHD.js +0 -1
  344. package/dist/docs/assets/templates_triage.md.CvJyx81N.js +0 -9
  345. package/dist/docs/assets/troubleshooting.md.Cw5PKa3t.js +0 -1
  346. /package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.lean.js → reference_http-api.md.DbFNOubV.lean.js} +0 -0
  347. /package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.lean.js → reference_project-layout.md.C2JMRh7p.lean.js} +0 -0
  348. /package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.lean.js → templates_agentic-owners.md.CvmABtia.lean.js} +0 -0
@@ -24,6 +24,12 @@ export interface StartServerInternalOptions {
24
24
  sessionRunLog?: ReturnType<typeof selectSessionRunLogStore>;
25
25
  /** Test seam: persist the engine start.log tee without a live store. */
26
26
  startLogStore?: ReturnType<typeof selectStartLogStore>;
27
+ /**
28
+ * `bdk eval` server. Cases drive seeded sessions, so live SCM and deployment
29
+ * ingest stay off, and a Cursor account GitHub credential that cannot be
30
+ * minted fails only the calls that need it.
31
+ */
32
+ evals?: boolean;
27
33
  }
28
34
  /**
29
35
  * Start an HTTP server hosting one or more agents. A single agent with an
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/internal/server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiDH,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAQhB,YAAY,EACb,MAAM,aAAa,CAAC;AA2FrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAgDpE,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,iBAAiB,CAAC;AAUpE,OAAO,EAEL,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAsB,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAW/E,8EAA8E;AAC9E,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,YAAY,CAAC;CACvB;AAuCD,6EAA6E;AAC7E,MAAM,WAAW,0BAA0B;IACzC,oEAAoE;IACpE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,yEAAyE;IACzE,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAC5D,wEAAwE;IACxE,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;CACxD;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,UAAU,EAAE,EACpB,OAAO,GAAE,YAAY,GAAG,0BAA+B,GACtD,OAAO,CAAC,gBAAgB,CAAC,CAwlC3B"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/internal/server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiDH,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAQhB,YAAY,EACb,MAAM,aAAa,CAAC;AA2FrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAgDpE,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,iBAAiB,CAAC;AAUpE,OAAO,EAEL,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAsB,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAW/E,8EAA8E;AAC9E,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,YAAY,CAAC;CACvB;AAuCD,6EAA6E;AAC7E,MAAM,WAAW,0BAA0B;IACzC,oEAAoE;IACpE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,4EAA4E;IAC5E,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,yEAAyE;IACzE,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IAC5D,wEAAwE;IACxE,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IACvD;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,UAAU,EAAE,EACpB,OAAO,GAAE,YAAY,GAAG,0BAA+B,GACtD,OAAO,CAAC,gBAAgB,CAAC,CAwmC3B"}
@@ -177,7 +177,9 @@ export function startServer(mounts_1) {
177
177
  explicitRepos: (_o = (_b = options.cursorEvents) === null || _b === void 0 ? void 0 : _b.repos) !== null && _o !== void 0 ? _o : [],
178
178
  targets: cursorOriginTargets,
179
179
  });
180
- const effectiveCursorEvents = (_p = cursorGithubConfig.cursorEvents) !== null && _p !== void 0 ? _p : (cursorOriginScope === undefined ? undefined : { repos: [...cursorOriginScope.repos] });
180
+ const effectiveCursorEvents = options.evals === true
181
+ ? undefined
182
+ : ((_p = cursorGithubConfig.cursorEvents) !== null && _p !== void 0 ? _p : (cursorOriginScope === undefined ? undefined : { repos: [...cursorOriginScope.repos] }));
181
183
  // One resolution for every Cursor credential consumer (SDK runner, account
182
184
  // MCP bridge, SCM event relay, GitHub credentials): explicit option →
183
185
  // CURSOR_API_KEY → CURSOR_API_KEY_FILE (or the hosted default path) →
@@ -788,7 +790,15 @@ export function startServer(mounts_1) {
788
790
  validateMountConnectionsConfig(Object.assign(Object.assign({ slug,
789
791
  project, accountRefs: accountRefsBySlug.get(slug) }, (options.publicUrl === undefined ? {} : { publicUrl: options.publicUrl })), { cloudToolsBridge: options.cloudToolsUrl !== undefined }));
790
792
  }
791
- yield cursorGithubCredentials === null || cursorGithubCredentials === void 0 ? void 0 : cursorGithubCredentials.start();
793
+ try {
794
+ yield cursorGithubCredentials === null || cursorGithubCredentials === void 0 ? void 0 : cursorGithubCredentials.start();
795
+ }
796
+ catch (error) {
797
+ if (options.evals !== true) {
798
+ throw error;
799
+ }
800
+ logger(`[agent-sdk] GitHub auth: no Cursor account credential (${error instanceof Error ? error.message : String(error)}); GitHub calls from eval sessions will fail`);
801
+ }
792
802
  // Cursor SCM events: v1 stays on the engine poll. v2 ingest is local-CP
793
803
  // only — hosted `--no-control-plane` skips the July poll (hosted CP wakes).
794
804
  const routeContinuation = localControlPlaneRoute(runtimes);
@@ -820,12 +830,14 @@ export function startServer(mounts_1) {
820
830
  }
821
831
  // Cursor deployment-events relay: automatic when a mounted agent authored
822
832
  // `deploymentsChannel({ ... })`.
823
- const cursorDeploymentRelay = startCursorDeploymentRelay({
824
- options,
825
- runtimes,
826
- accountKey,
827
- logger,
828
- });
833
+ const cursorDeploymentRelay = options.evals === true
834
+ ? undefined
835
+ : startCursorDeploymentRelay({
836
+ options,
837
+ runtimes,
838
+ accountKey,
839
+ logger,
840
+ });
829
841
  // Trust --public-url's host when a reverse proxy rewrites Host.
830
842
  const browserOriginGuard = browserOriginGuardOptionsForPublicUrl(options.publicUrl);
831
843
  const server = createServer((req, res) => {
@@ -1 +1 @@
1
- {"version":3,"file":"session-links.d.ts","sourceRoot":"","sources":["../../src/internal/session-links.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC,CAAC;AAKF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,oBAAoB,CAKpF"}
1
+ {"version":3,"file":"session-links.d.ts","sourceRoot":"","sources":["../../src/internal/session-links.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC,CAAC;AAKF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,oBAAoB,CAKpF"}
@@ -1,3 +1,4 @@
1
+ import { parseGitHubPrContinuationKey } from "../channels/github/github-channel.js";
1
2
  import { parseGitHubPrRef } from "../channels/github/replay.js";
2
3
  import { slackThreadPermalink } from "../channels/slack/links.js";
3
4
  import { extractGithubPrRef } from "../channels/slack/pr-ref.js";
@@ -40,17 +41,17 @@ function slackUrl(record) {
40
41
  })) !== null && _j !== void 0 ? _j : undefined);
41
42
  }
42
43
  function githubUrl(record) {
43
- var _a, _b;
44
- var _c, _d;
45
- const fromTitle = extractGithubPrRef((_c = record.title) !== null && _c !== void 0 ? _c : "");
44
+ var _a;
45
+ var _b, _c;
46
+ const fromTitle = extractGithubPrRef((_b = record.title) !== null && _b !== void 0 ? _b : "");
46
47
  if (fromTitle !== undefined) {
47
48
  return fromTitle.url;
48
49
  }
49
- const key = (_d = record.continuationKey) !== null && _d !== void 0 ? _d : "";
50
- if (key.startsWith("github-pr:")) {
51
- return (_a = parseGitHubPrRef(key.slice("github-pr:".length))) === null || _a === void 0 ? void 0 : _a.url;
50
+ const fromKey = parseGitHubPrContinuationKey((_c = record.continuationKey) !== null && _c !== void 0 ? _c : "");
51
+ if (fromKey !== undefined) {
52
+ return `https://github.com/${fromKey.owner}/${fromKey.repo}/pull/${fromKey.number}`;
52
53
  }
53
- const repos = (_b = record.cloudOverride) === null || _b === void 0 ? void 0 : _b.repos;
54
+ const repos = (_a = record.cloudOverride) === null || _a === void 0 ? void 0 : _a.repos;
54
55
  if (repos === undefined) {
55
56
  return undefined;
56
57
  }
@@ -27,6 +27,7 @@ export declare function fetchSessionEvents(args: {
27
27
  sessionId: string;
28
28
  auth?: RequestAuth;
29
29
  fetchImpl?: typeof fetch;
30
+ signal?: AbortSignal;
30
31
  }): Promise<SessionEvent[]>;
31
32
  /**
32
33
  * Pick the previous (most recently updated) followable session for
@@ -1 +1 @@
1
- {"version":3,"file":"sessions-client.d.ts","sourceRoot":"","sources":["../../src/internal/sessions-client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEnF,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAEpF;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC,CA8B5F;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAiE1B;AAkCD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,cAAc,EAAE,GAClC,cAAc,GAAG,SAAS,CAQ5B;AAED,+DAA+D;AAC/D,wBAAsB,wBAAwB,CAAC,IAAI,EAAE;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAO9B;AAED,+DAA+D;AAC/D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAIzE;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,cAAc,EAAE,EAC1B,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAAE,GACvC,MAAM,CAgBR"}
1
+ {"version":3,"file":"sessions-client.d.ts","sourceRoot":"","sources":["../../src/internal/sessions-client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEnF,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAEpF;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC,CA8B5F;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAmE1B;AAkCD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,cAAc,EAAE,GAClC,cAAc,GAAG,SAAS,CAQ5B;AAED,+DAA+D;AAC/D,wBAAsB,wBAAwB,CAAC,IAAI,EAAE;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAO9B;AAED,+DAA+D;AAC/D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAIzE;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,cAAc,EAAE,EAC1B,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAAE,GACvC,MAAM,CAgBR"}
@@ -60,6 +60,7 @@ export function fetchSessionEvents(args) {
60
60
  try {
61
61
  const jsonResp = yield fetchImpl(`${baseUrl}${path}?format=json`, {
62
62
  headers: mergeRequestHeaders(args.auth),
63
+ signal: args.signal,
63
64
  });
64
65
  if (jsonResp.ok) {
65
66
  const body = (yield jsonResp.json());
@@ -83,6 +84,7 @@ export function fetchSessionEvents(args) {
83
84
  try {
84
85
  const resp = yield fetchImpl(`${baseUrl}${path}`, {
85
86
  headers: mergeRequestHeaders(args.auth),
87
+ signal: args.signal,
86
88
  });
87
89
  if (resp.status === 404) {
88
90
  throw new Error(`Session ${args.sessionId} not found.`);
package/docs/README.md CHANGED
@@ -5,9 +5,9 @@ description: "Build, test, and deploy BDK bots and agents as code on Cursor's ag
5
5
 
6
6
  # Grok Bot Development Kit (BDK)
7
7
 
8
- The Grok Bot Development Kit (BDK) is how Cursor builds agents. It's the
9
- open-source version of the engine behind Bugbot, Security Review, and
10
- Approval Bot.
8
+ The Grok Bot Development Kit (BDK) lets you define, test, and deploy agents
9
+ as code. It uses the Cursor SDK harness that powers Bugbot, Security Review,
10
+ and Approval Bot.
11
11
 
12
12
  A BDK project is a folder of Markdown and TypeScript. Combine deterministic
13
13
  code with model judgment, then make the bot or agent available in source
@@ -47,17 +47,9 @@ sandboxing on Cursor infrastructure or on your own host.
47
47
 
48
48
  ![BDK architecture: you bring the agent as code, and the platform provides triggers, runtime, integrations, and operations](/architecture.svg)
49
49
 
50
- ## BDK package availability
51
-
52
- BDK uses the `@cursor/bdk` package and `bdk` binary. The package isn't on npm
53
- yet, so its install commands won't run until publication.
54
-
55
50
  ## Get started
56
51
 
57
- The preferred BDK workflow starts with `bdk init` and `bdk dev`.
58
-
59
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. The package will install
60
- > the `bdk` binary; this block will not run until it publishes.
52
+ Install `@cursor/bdk`, then start with `bdk init` and `bdk dev`.
61
53
 
62
54
  ```text
63
55
  npm install --global @cursor/bdk
@@ -82,7 +74,7 @@ my-bot/
82
74
  │ ├── mcp-connections/
83
75
  │ │ └── linear.ts # tools from an MCP server
84
76
  │ ├── host-connections/
85
- │ │ └── internal.ts # host-only MCP tools
77
+ │ │ └── inventory.ts # host-only MCP tools
86
78
  │ ├── subagents/
87
79
  │ │ └── verifier/
88
80
  │ │ ├── agent.ts
@@ -102,10 +94,11 @@ Describe your bot or agent in Cursor, or edit the files yourself.
102
94
  - [Build your first PR reviewer](./quickstart.md): a working GitHub
103
95
  reviewer, one step at a time.
104
96
 
105
- - Start from a template with the docs-ahead `bdk init --template` command:
97
+ - Start from a template:
98
+ [Grok Bot agents](./templates/grokbot-agents.md),
106
99
  [security reviewer](./templates/security-reviewer.md),
107
- [thermo reviewer](./templates/thermo-review.md),
108
- [thermo quality reviewer](./templates/thermo-quality-review.md),
100
+ [Thermo review](./templates/thermo-review.md),
101
+ [Thermo quality review](./templates/thermo-quality-review.md),
109
102
  [owners-policy approver](./templates/agentic-owners.md),
110
103
  [issue triager](./templates/triage.md).
111
104
 
@@ -10,9 +10,6 @@ a coding agent can create the project, exercise its tools, run a real
10
10
  turn, and inspect the result. You approve the plan and side effects
11
11
  while the coding agent owns the implementation loop.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  This page covers a coding agent working inside a checkout. To let a
17
14
  running agent propose changes to its own source, use the separate
18
15
  [self-improvement extension](./guides/improve.md).
@@ -10,10 +10,6 @@ Cursor-managed hosting builds the selected Git ref and operates the
10
10
  runtime; self-hosting gives you control of the network, process, and
11
11
  filesystem.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands in these examples are
14
- docs-ahead until publication; see
15
- [BDK package availability](/#bdk-package-availability).
16
-
17
13
  ## Choose managed hosting or self-hosting
18
14
 
19
15
  | Option | Use it when | You manage |
@@ -30,9 +26,6 @@ API.
30
26
  Commit and push the exact ref you want to run, then sign in, validate,
31
27
  and deploy. The preferred CLI is `bdk`.
32
28
 
33
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. This block shows future
34
- > CLI syntax and will not run until the package publishes.
35
-
36
29
  ```text
37
30
  cd my-agent
38
31
  bdk login
@@ -41,7 +34,7 @@ bdk validate
41
34
  bdk deploy
42
35
  ```
43
36
 
44
- The deploy command waits until the engine is running and prints the stable
37
+ The deploy command waits until the runtime is running and prints the stable
45
38
  deployment URL.
46
39
 
47
40
  `deploy` reads from Git; it does not upload your working tree. Inside a
@@ -184,7 +177,7 @@ multi-agent deployment, stop, and delete behavior.
184
177
 
185
178
  Managed hosting persists framework-owned session, KV, and file state
186
179
  across normal runtime replacements. Files written elsewhere on the
187
- engine's local filesystem are disposable; use `ctx.host.kv` or
180
+ runtime's local filesystem are disposable; use `ctx.host.kv` or
188
181
  `ctx.host.files` for durable application state.
189
182
 
190
183
  Parked approvals and in-memory reminder handlers do not survive a
package/docs/evals.md CHANGED
@@ -13,9 +13,6 @@ not to discover what the prompt should do.
13
13
  Evals run real model turns and real tools. Guard external writes before
14
14
  running a suite against an agent that can post, merge, or deploy.
15
15
 
16
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
17
- until publication; see [BDK package availability](/#bdk-package-availability).
18
-
19
16
  ## Protect a tool decision
20
17
 
21
18
  This smoke case asks for a PR verdict, requires the read-only inspection
@@ -197,8 +194,8 @@ Run `--tag smoke` on pull requests and the full suite on a schedule when
197
194
  cost or latency makes every-push coverage impractical. Use soft scores
198
195
  for a new probabilistic benchmark until its threshold is trustworthy.
199
196
 
200
- The [CLI reference](./reference/cli.md#eval) covers selectors, hosted
201
- runs, exit codes, and JSON output.
197
+ The [CLI reference](./reference/cli.md#eval) covers selectors,
198
+ server-side batches, exit codes, and JSON output.
202
199
 
203
200
  ## Keep side effects out of eval sessions
204
201
 
@@ -10,9 +10,6 @@ help. The specialist keeps its own instructions, tools, and session,
10
10
  while the caller decides when to delegate and returns the answer to the
11
11
  user. Co-host both projects under one `bdk` process.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  ## Delegate a question to a specialist
17
14
 
18
15
  Ask the concierge about the weather and it hands the question to the
@@ -10,9 +10,6 @@ current pull-request or commit state, and writes the result back to
10
10
  Bitbucket. `bitbucketChannel()` gives the same hooks and normalized
11
11
  payloads on Bitbucket Cloud and Data Center.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  ## Review a pull request
17
14
 
18
15
  Creating a pull request, or pushing new commits to a Data Center pull
@@ -13,10 +13,6 @@ same branch.
13
13
 
14
14
  ## Mount it
15
15
 
16
- The extension will ship with `@cursor/bdk` when the package publishes.
17
- This import is docs-ahead; see
18
- [BDK package availability](/#bdk-package-availability).
19
-
20
16
  ```ts
21
17
  // bot/extensions/cloud.ts
22
18
  import cursorCloudAgents from "@cursor/bdk/extensions/cursor-cloud-agents";
@@ -14,9 +14,6 @@ path.
14
14
  configuration and prints a checklist for everything that still needs
15
15
  your judgment.
16
16
 
17
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
18
- until publication; see [BDK package availability](/#bdk-package-availability).
19
-
20
17
  ## Convert and run locally
21
18
 
22
19
  The command creates a project named after the Automation, installs its
@@ -101,9 +98,9 @@ reply experience and app setup.
101
98
 
102
99
  The generated GitHub channel keeps mechanical filters such as PR
103
100
  actions, branches, issue actions, repositories, and simple user
104
- allowlists. Conditions that depended on backend-only context stay
101
+ allowlists. Conditions that depend on dashboard-only context stay
105
102
  fail-closed, so the corresponding hook returns `null` until you replace
106
- it.
103
+ them.
107
104
 
108
105
  For example, a converted CI trigger can wake only when the suite fails:
109
106
 
@@ -10,9 +10,6 @@ latest PR and CI state, then write back reviews, comments, checks, or
10
10
  pushes. Pull events from Cursor, so you don't expose a public webhook
11
11
  URL.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  Connect GitHub in Cursor for the repos you care about (Settings or
17
14
  [cursor.com/dashboard](https://cursor.com/dashboard)). Sign the host in
18
15
  with `bdk login`. `cursorAccount` reuses that connection for
@@ -239,7 +236,7 @@ Every wake for the same repo and PR number resumes the same session. The
239
236
  channel keys turns as `github-pr:acme/checkout#42`. Opens, comments, and
240
237
  CI results share that conversation.
241
238
 
242
- ## Call GitHub from determistic code via `ctx`
239
+ ## Call GitHub from deterministic code via `ctx`
243
240
 
244
241
  `cursorAccount` puts one credential on both surfaces:
245
242
 
@@ -10,9 +10,6 @@ project or merge-request state, and writes the result back to GitLab.
10
10
  `gitlabChannel()` supports the same hooks on GitLab.com and self-managed
11
11
  GitLab.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  ## Review a merge request
17
14
 
18
15
  Opening, reopening, or pushing commits to a merge request starts a
@@ -10,9 +10,6 @@ the Grok Bot agents on its serve host's Cursor account. The bot keeps
10
10
  its existing conversation, memory, and tools, while your agent carries
11
11
  the delivered reply back into the current conversation.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  Use this extension on the local runtime. It consults another Grok Bot;
17
14
  it does not move this agent onto a Grok Bot runtime.
18
15
 
@@ -62,7 +59,7 @@ The message must include who is asking, the relevant facts, and the
62
59
  shape of the answer. The Grok Bot does not see the current BDK
63
60
  conversation.
64
61
 
65
- > Netto is deciding whether to move Saturday's picnic. The forecast is
62
+ > Avery is deciding whether to move Saturday's picnic. The forecast is
66
63
  > 70% rain from 1-4pm. Recommend keep or move, give one reason, and name
67
64
  > the best alternate time.
68
65
 
@@ -10,9 +10,6 @@ as updating metrics or sending alerts. They never change the turn, prompt, or
10
10
  reply. Author them under `bot/hooks/` with `defineHook` from
11
11
  `@cursor/bdk/hooks`.
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
  ## Meter token usage
17
14
 
18
15
  With [OpenTelemetry](./opentelemetry.md) configured, this hook adds a live
@@ -10,9 +10,6 @@ work" into a source change. The agent prepares a brief, a Cursor cloud
10
10
  agent edits a checkout and opens a pull request, and the running agent
11
11
  reports the verified PR for human review.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  Durable behavior does not change until that source is merged and
17
14
  deployed.
18
15
 
@@ -11,9 +11,6 @@ risk, choose a reviewer, or decide whether a merge needs a documentation
11
11
  follow-up. Jev returns a choice, score, or probability; your TypeScript
12
12
  decides what happens next.
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
  Set `TYPESAFE_API_KEY`. The default model is `jev-latest`.
18
15
 
19
16
  ```ts
@@ -10,9 +10,6 @@ without putting tokens in the agent's source or workspace. Use it when
10
10
  the server speaks OAuth and its credentials should belong to the serve
11
11
  host instead of a person's Cursor account.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  ## Use a private MCP tool locally
17
14
 
18
15
  Declare the remote server, authorize it once in the browser, and start
@@ -129,7 +126,7 @@ bdk deploy
129
126
  ```
130
127
 
131
128
  `--store` writes deployment secrets; it does not restart the current
132
- engine. Follow the CLI or dashboard prompt to redeploy, then exercise
129
+ process. Follow the CLI or dashboard prompt to redeploy, then exercise
133
130
  the hosted agent.
134
131
 
135
132
  These credentials belong to the deployment, not to the person who
@@ -13,16 +13,13 @@ cost metrics from the serve process.
13
13
  Export is opt-in. Nothing leaves the process until you configure a
14
14
  destination.
15
15
 
16
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
17
- published; see [BDK package availability](/#bdk-package-availability).
18
-
19
16
  ## Connect an OTLP collector
20
17
 
21
18
  Set the collector endpoint, start the agent, and send it a message. You
22
19
  should see an `agent_sdk.http` request span and an `agent_sdk.turn`
23
20
  trace, with any tool or subagent work nested under the turn.
24
21
 
25
- ```text
22
+ ```bash
26
23
  export OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.example.com
27
24
  export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer $OTEL_TOKEN"
28
25
  export OTEL_SERVICE_NAME=incident-agent
@@ -35,7 +32,9 @@ The default protocol is OTLP/HTTP protobuf. If you already call
35
32
  code:
36
33
 
37
34
  ```ts
38
- await serve(dir, {
35
+ import { serve } from "@cursor/bdk";
36
+
37
+ await serve(".", {
39
38
  otel: {
40
39
  serviceName: "incident-agent",
41
40
  exporters: [
@@ -10,9 +10,6 @@ in a channel it watches. From there, it keeps the conversation in one
10
10
  thread and can reply all at once, stream the answer live, or decide for
11
11
  itself when to post updates.
12
12
 
13
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
14
- until publication; see [BDK package availability](/#bdk-package-availability).
15
-
16
13
  Run `bdk slack create --dir .`, then `bdk slack doctor`.
17
14
 
18
15
  ## Answer a mention or DM
@@ -47,7 +44,7 @@ export default slackChannel({
47
44
  reasoning: true,
48
45
  // Tool names as they start ("Running grep, glob...").
49
46
  tools: true,
50
- idle: ["Checking the monorepo...", "Poking Datadog..."],
47
+ idle: ["Checking the request...", "Reviewing recent activity..."],
51
48
  },
52
49
  },
53
50
  });
@@ -108,15 +105,12 @@ This example watches `#triage-alerts`, so any substantial top-level
108
105
  message starts a thread even when nobody mentions the bot. The length
109
106
  guard filters out short posts before they can start a turn.
110
107
 
111
- Mentions are global — the bot answers an @mention in any channel it has
112
- joined — but listening without a mention names its channels: `allow`
113
- must include at least one channel id (`C…`/`G…`) and at most 10 distinct
114
- ids. `#name` entries may accompany the ids for readability. A lone `"*"`
115
- watches every channel the bot is in, thread replies only
116
- (`posts: "replies"`). Mixing `"*"` with ids is an error. `"*"` is the
117
- guest watcher: it is not a hosting subscription. A thread reply on
118
- Cursor-managed hosting is delivered when a mention already opened that
119
- thread, and a top-level post does not match.
108
+ Mentions work in any channel the bot has joined. Listening without a
109
+ mention requires an explicit allowlist with at least one channel ID
110
+ starting with `C` or `G` and at most 10 distinct IDs. You can add
111
+ `#name` entries for readability. A lone `"*"` watches replies in every
112
+ joined channel (`posts: "replies"`), but it does not wake on top-level
113
+ posts. Do not mix `"*"` with channel IDs.
120
114
 
121
115
  ```ts
122
116
  export default slackChannel({
@@ -140,15 +134,11 @@ export default slackChannel({
140
134
  When you create the app, pass `--channel-posts` and invite the bot to
141
135
  every channel in the allowlist.
142
136
 
143
- On Cursor-managed hosting the id entries also define the delivery set:
144
- each becomes a channel-scoped subscription, and a channel post outside
145
- the allowlist is dropped at ingress before any compute wakes (replies in
146
- threads the agent is already part of still arrive). The same watch runs
147
- at admission for each delivered event. `debounceMs` is ignored there:
148
- the control plane answers every delivery immediately, and edits arrive
149
- as separate deliveries that are dropped at the edge. Channel ids match
150
- without any Slack call; `#name` entries are resolved once per pod with
151
- the bot token and need the `channels:read` scope.
137
+ On Cursor-managed hosting, the channel IDs in `allow` define which
138
+ top-level posts can wake the agent. Replies in threads the agent has
139
+ already joined still arrive. `debounceMs` applies only when you
140
+ self-host. Add the `channels:read` scope when you include `#name`
141
+ labels.
152
142
 
153
143
  ## Control who can message
154
144
 
@@ -230,7 +220,7 @@ Use the IDs on the hook `ctx` when handling an event, and
230
220
 
231
221
  ## Connect
232
222
 
233
- ```text
223
+ ```bash
234
224
  bdk login
235
225
  bdk slack create --dir .
236
226
  bdk slack doctor --prefix TRIAGE
@@ -256,7 +246,7 @@ and tokens.
256
246
  Run `doctor` first to catch missing credentials, then start the agent
257
247
  and send it the same mention or DM a teammate would.
258
248
 
259
- ```text
249
+ ```bash
260
250
  bdk slack doctor --prefix TRIAGE
261
251
  bdk serve --dir . --dev
262
252
  ```
@@ -10,9 +10,6 @@ conversation, then sends the result back to the system that started it.
10
10
  Use one when the built-in [HTTP API](../reference/http-api.md) does not
11
11
  match the provider's payload, conversation key, or reply path.
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
  Author `bot/channels/<id>.ts`. Its routes mount under
17
14
  `/<slug>/v1/channels/<id>`.
18
15
 
@@ -13,9 +13,6 @@ crossing the freeze line.
13
13
  The companion [`hillclimb` skill](../skills/hillclimb/SKILL.md) can run
14
14
  this loop with you.
15
15
 
16
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
17
- published; see [BDK package availability](/#bdk-package-availability).
18
-
19
16
  ## Correct a wrong tool choice
20
17
 
21
18
  Suppose a PR reviewer calls `approve_pr` before `inspect_pr`. Pin one PR
@@ -13,15 +13,13 @@ review.
13
13
 
14
14
  - Node 22.13 or newer.
15
15
 
16
- - The docs-ahead BDK package and CLI. `@cursor/bdk` is not on npm yet,
17
- so these commands will not run until publication. See
18
- [BDK package availability](/#bdk-package-availability).
16
+ - The `@cursor/bdk` package:
19
17
 
20
18
  ```text
21
19
  npm install -g @cursor/bdk
22
20
  ```
23
21
 
24
- - A Cursor credential for model turns. After publication, sign in once:
22
+ - A Cursor credential for model turns. Sign in once:
25
23
 
26
24
  ```text
27
25
  bdk login
@@ -31,9 +29,6 @@ bdk login
31
29
 
32
30
  The preferred BDK workflow uses `bdk init` and `bdk dev`.
33
31
 
34
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. This block shows future
35
- > CLI syntax and will not run until the package publishes.
36
-
37
32
  ```text
38
33
  bdk init ./pr-reviewer
39
34
  cd pr-reviewer
@@ -9,9 +9,6 @@ description: "defineAgent at bot/agent.ts: the model, local workspace, and progr
9
9
  the agent and its local harness defaults.
10
10
  Everything is optional on the root agent.
11
11
 
12
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
13
- until publication; see [BDK package availability](/#bdk-package-availability).
14
-
15
12
  ```ts
16
13
  import { defineAgent } from "@cursor/bdk";
17
14
 
@@ -35,15 +32,15 @@ export default defineAgent({
35
32
  | `description` | string | What the agent is for. Required on subagents; the parent model reads it to decide when to delegate. Documentation-only on the root. |
36
33
  | `instructions` | string | Inline instructions. Prefer `instructions.md`; this exists for subagents and generated configs. |
37
34
  | `local` | `{ cwd?, workspaceDir?, sandbox? }` | Local harness defaults. See [Local options](#local-options). |
38
- | `hosting` | `{ egressDomains?, secretNames? }` | Managed-hosting declarations read by `bdk deploy`: the pod's egress allowlist and the secret names the agent expects. Mounted [extensions](./extensions.md#build-an-extension) add their own. Ignored by local serving. |
39
- | `concurrency` | `{ maxRunningTurns? }` | Engine-wide turn admission limit. See [Concurrency](#concurrency). |
35
+ | `hosting` | `{ egressDomains?, secretNames? }` | Managed-hosting declarations read by `bdk deploy`: the deployment's egress allowlist and the secret names the agent expects. Mounted [extensions](./extensions.md#build-an-extension) add their own. Ignored by local serving. |
36
+ | `concurrency` | `{ maxRunningTurns? }` | Agent-wide concurrent turn limit. See [Concurrency](#concurrency). |
40
37
  | `builtinTools` | `{ reminders? }` | Framework-provided model-facing tools, opted in per capability. See [Built-in tools](#built-in-tools). |
41
38
  | `tools` | `ToolName[]` | Allowlist of built-in harness tools offered to the model. Unset = the model's full standard toolset. See [Harness tools](#harness-tools). |
42
39
 
43
40
  ## Model
44
41
 
45
42
  `model` is a Cursor model id string, or `{ id, params }`. Effort and
46
- speed are params, not id suffixes. The SDK rejects suffix-style ids
43
+ speed are params, not id suffixes. BDK rejects suffix-style ids
47
44
  like `grok-4.5-fast`:
48
45
 
49
46
  ```ts
@@ -116,7 +113,7 @@ servers, point `local.cwd` outside the checkout. See
116
113
  [Local cwd](#local-cwd). `local.sandbox` makes MCP tool calls fail
117
114
  closed.
118
115
 
119
- Use the SDK's public tool names, including `"shell"`, `"read"`,
116
+ Use the Cursor SDK's public tool names, including `"shell"`, `"read"`,
120
117
  `"edit"`, `"grep"`, `"glob"`, `"ls"`, and `"task"`. Unknown names
121
118
  fail the turn with a `ConfigurationError`.
122
119
 
@@ -10,9 +10,6 @@ or decision records. An artifact kind defines the data it accepts, and
10
10
  the artifacts API tags or updates records by key. Records persist across
11
11
  sessions and can be listed, streamed, or downloaded.
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
  ## Artifact kinds
17
14
 
18
15
  Author `bot/artifacts.ts` with `defineArtifacts` from