@cursor/bdk 0.2.3 → 0.2.5

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 (760) hide show
  1. package/README.md +76 -1154
  2. package/dist/bin/agent-serve.js +9 -1
  3. package/dist/channels/slack/attachments.d.ts +2 -1
  4. package/dist/channels/slack/attachments.d.ts.map +1 -1
  5. package/dist/channels/slack/attachments.js +19 -9
  6. package/dist/channels/slack/dispatch.d.ts.map +1 -1
  7. package/dist/channels/slack/dispatch.js +26 -24
  8. package/dist/channels/slack/thread-context.d.ts +21 -11
  9. package/dist/channels/slack/thread-context.d.ts.map +1 -1
  10. package/dist/channels/slack/thread-context.js +75 -27
  11. package/dist/docs/404.html +2 -2
  12. package/dist/docs/assets/{app.BOIHhrKi.js → app.94Iu5dyD.js} +4 -4
  13. package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.js → building-with-agents.md.BPjPFxFg.js} +2 -2
  14. package/dist/docs/assets/{building-with-agents.md.-fcjCmJU.lean.js → building-with-agents.md.BPjPFxFg.lean.js} +1 -1
  15. package/dist/docs/assets/chunks/@localSearchIndexroot.BITLoOQa.js +1 -0
  16. package/dist/docs/assets/chunks/{VPLocalSearchBox.D49zVZqM.js → VPLocalSearchBox.DTKFDlBr.js} +1 -1
  17. package/dist/docs/assets/chunks/{arc.hmjb-sc4.js → arc.DuzwHEeg.js} +1 -1
  18. package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.CxEI1KqM.js → architectureDiagram-Q4EWVU46.C6lyhLs0.js} +1 -1
  19. package/dist/docs/assets/chunks/{baseUniq.DHHvBWoV.js → baseUniq.DUNEWlY8.js} +1 -1
  20. package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.DnXW-3bu.js → blockDiagram-DXYQGD6D.CXOQGI0O.js} +1 -1
  21. package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.e-47O2jM.js → c4Diagram-AHTNJAMY.BYdPE-Oe.js} +1 -1
  22. package/dist/docs/assets/chunks/channel.B46uXH41.js +1 -0
  23. package/dist/docs/assets/chunks/{chunk-4BX2VUAB.3ry4pYXB.js → chunk-4BX2VUAB.YIV9HeX0.js} +1 -1
  24. package/dist/docs/assets/chunks/{chunk-4TB4RGXK.DGIZFRx6.js → chunk-4TB4RGXK.BG80DEOc.js} +1 -1
  25. package/dist/docs/assets/chunks/{chunk-55IACEB6.DKBnqg9U.js → chunk-55IACEB6.BDKJSZQc.js} +1 -1
  26. package/dist/docs/assets/chunks/{chunk-EDXVE4YY.BIU8Ue5k.js → chunk-EDXVE4YY.CtYnQqts.js} +1 -1
  27. package/dist/docs/assets/chunks/{chunk-FMBD7UC4.DP-TFhjI.js → chunk-FMBD7UC4.CityOth-.js} +1 -1
  28. package/dist/docs/assets/chunks/{chunk-OYMX7WX6.Ux0OYj5v.js → chunk-OYMX7WX6.CMD22CQX.js} +1 -1
  29. package/dist/docs/assets/chunks/{chunk-QZHKN3VN.BzHMwYox.js → chunk-QZHKN3VN.WWpc3ND0.js} +1 -1
  30. package/dist/docs/assets/chunks/{chunk-YZCP3GAM.D4OGAsSP.js → chunk-YZCP3GAM.BMg-yhj3.js} +1 -1
  31. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.0cmCFsSf.js +1 -0
  32. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.0cmCFsSf.js +1 -0
  33. package/dist/docs/assets/chunks/clone.1vTOFZT1.js +1 -0
  34. package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.Jq_7BUNx.js → cose-bilkent-S5V4N54A.Buu_LC5q.js} +1 -1
  35. package/dist/docs/assets/chunks/{dagre-KV5264BT.Di-skR2x.js → dagre-KV5264BT.DW7onj6E.js} +1 -1
  36. package/dist/docs/assets/chunks/{diagram-5BDNPKRD.DeREHIdH.js → diagram-5BDNPKRD.B3NxIbEV.js} +1 -1
  37. package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.C7Kcqxro.js → diagram-G4DWMVQ6.BJvN6Vkv.js} +1 -1
  38. package/dist/docs/assets/chunks/{diagram-MMDJMWI5.BK3eohyo.js → diagram-MMDJMWI5.wfRWrexs.js} +1 -1
  39. package/dist/docs/assets/chunks/{diagram-TYMM5635.C6TyymXT.js → diagram-TYMM5635.7QtjSYio.js} +1 -1
  40. package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.DYGG-gGx.js → erDiagram-SMLLAGMA.jxPgDH1t.js} +1 -1
  41. package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.C9nBcSV4.js → flowDiagram-DWJPFMVM.BhDWA-TO.js} +1 -1
  42. package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.wAg_ymsp.js → ganttDiagram-T4ZO3ILL.Ijq8iYKv.js} +1 -1
  43. package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.B87j9Oeg.js → gitGraphDiagram-UUTBAWPF.DXpfW4YG.js} +1 -1
  44. package/dist/docs/assets/chunks/{graph.CuFMj31w.js → graph.CoPlssRl.js} +1 -1
  45. package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.P_mLGumP.js → infoDiagram-42DDH7IO.eJuv_EOz.js} +1 -1
  46. package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.DyuL_MsT.js → ishikawaDiagram-UXIWVN3A._OEzenCR.js} +1 -1
  47. package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.CtP09IoJ.js → journeyDiagram-VCZTEJTY.CwlTjirB.js} +1 -1
  48. package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.BoeSYPZo.js → kanban-definition-6JOO6SKY.DSp_C8cZ.js} +1 -1
  49. package/dist/docs/assets/chunks/{layout.B0lMMtNo.js → layout.Bms9s7uB.js} +1 -1
  50. package/dist/docs/assets/chunks/{linear.HxRBiAFX.js → linear.BjnmB4je.js} +1 -1
  51. package/dist/docs/assets/chunks/{min.BGlFFHwS.js → min.CKkYlMsn.js} +1 -1
  52. package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.JyLBD9M8.js → mindmap-definition-QFDTVHPH.T2d0vJ7X.js} +1 -1
  53. package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.DnSmNZF8.js → pieDiagram-DEJITSTG.DU0RoCvx.js} +1 -1
  54. package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.CUCnbfCa.js → quadrantDiagram-34T5L4WZ.9QZjM-x0.js} +1 -1
  55. package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.py0IVUn5.js → requirementDiagram-MS252O5E.CZpylJMd.js} +1 -1
  56. package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.Bkc-HWYp.js → sankeyDiagram-XADWPNL6.CnFdfW95.js} +1 -1
  57. package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.Dqn8Mlv2.js → sequenceDiagram-FGHM5R23.-jC0PP1t.js} +1 -1
  58. package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.JikkoQUU.js → stateDiagram-FHFEXIEX.DG7yBRUU.js} +1 -1
  59. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CbsZcOOu.js +1 -0
  60. package/dist/docs/assets/chunks/{theme.b6HQ6zG_.js → theme.B3O9koXV.js} +2 -2
  61. package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.BvpSXiBj.js → timeline-definition-GMOUNBTQ.Bf9u4Ebb.js} +1 -1
  62. package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.CU7MVnZx.js → vennDiagram-DHZGUBPP.BjhbbYE6.js} +1 -1
  63. package/dist/docs/assets/chunks/{wardley-RL74JXVD.BKwC4ctG.js → wardley-RL74JXVD.DEA21akR.js} +1 -1
  64. package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.BfaF6Uhe.js → wardleyDiagram-NUSXRM2D.8fRb4Nb5.js} +1 -1
  65. package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.Bg5dcpj4.js → xychartDiagram-5P7HB3ND.DoOP3zZM.js} +1 -1
  66. package/dist/docs/assets/{deployment.md.BJ8i7Q6p.js → deployment.md.BdqTiGdc.js} +5 -5
  67. package/dist/docs/assets/{deployment.md.BJ8i7Q6p.lean.js → deployment.md.BdqTiGdc.lean.js} +1 -1
  68. package/dist/docs/assets/{evals.md.CCAtNcuL.js → evals.md.LRCSn6Ik.js} +2 -2
  69. package/dist/docs/assets/{evals.md.CCAtNcuL.lean.js → evals.md.LRCSn6Ik.lean.js} +1 -1
  70. package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.js → guides_agent-to-agent.md.Cps5NiCV.js} +2 -2
  71. package/dist/docs/assets/{guides_agent-to-agent.md.CGkicXeB.lean.js → guides_agent-to-agent.md.Cps5NiCV.lean.js} +1 -1
  72. package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.js → guides_bitbucket.md.BB6fqD-M.js} +2 -2
  73. package/dist/docs/assets/{guides_bitbucket.md.Cb3LPKt3.lean.js → guides_bitbucket.md.BB6fqD-M.lean.js} +1 -1
  74. package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.js → guides_cloud-agents.md.CWJjS9No.js} +2 -2
  75. package/dist/docs/assets/{guides_cloud-agents.md.BuEkDCwo.lean.js → guides_cloud-agents.md.CWJjS9No.lean.js} +1 -1
  76. package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.js → guides_convert-automation.md.DMEX9nF-.js} +3 -3
  77. package/dist/docs/assets/{guides_convert-automation.md.Ci-Y2iD5.lean.js → guides_convert-automation.md.DMEX9nF-.lean.js} +1 -1
  78. package/dist/docs/assets/{guides_github.md.Bq9kQU9B.js → guides_github.md.Cr1Xlf-m.js} +3 -3
  79. package/dist/docs/assets/{guides_github.md.Bq9kQU9B.lean.js → guides_github.md.Cr1Xlf-m.lean.js} +1 -1
  80. package/dist/docs/assets/{guides_gitlab.md.BM27P43u.js → guides_gitlab.md.CMpmFi4M.js} +2 -2
  81. package/dist/docs/assets/{guides_gitlab.md.BM27P43u.lean.js → guides_gitlab.md.CMpmFi4M.lean.js} +1 -1
  82. package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.js → guides_grokbot-agents.md.tD1smFhU.js} +2 -2
  83. package/dist/docs/assets/{guides_grokbot-agents.md.yxVbSlKA.lean.js → guides_grokbot-agents.md.tD1smFhU.lean.js} +1 -1
  84. package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.js → guides_hooks.md.5Ce3NXxZ.js} +2 -2
  85. package/dist/docs/assets/{guides_hooks.md.BWoiNaMq.lean.js → guides_hooks.md.5Ce3NXxZ.lean.js} +1 -1
  86. package/dist/docs/assets/{guides_improve.md.COtL-6ft.js → guides_improve.md.CRrYq22s.js} +2 -2
  87. package/dist/docs/assets/{guides_improve.md.COtL-6ft.lean.js → guides_improve.md.CRrYq22s.lean.js} +1 -1
  88. package/dist/docs/assets/{guides_jev.md.BNDm14Gy.js → guides_jev.md.D7XH4JH3.js} +2 -2
  89. package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.js → guides_mcp-oauth.md.DR3zhC9r.js} +2 -2
  90. package/dist/docs/assets/{guides_mcp-oauth.md.Cu6mhZ_3.lean.js → guides_mcp-oauth.md.DR3zhC9r.lean.js} +1 -1
  91. package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.js → guides_opentelemetry.md.jcPNrQbH.js} +8 -6
  92. package/dist/docs/assets/{guides_opentelemetry.md.DLlIB5rv.lean.js → guides_opentelemetry.md.jcPNrQbH.lean.js} +1 -1
  93. package/dist/docs/assets/{guides_slack.md.diqqXTTm.js → guides_slack.md.Bn-WupSE.js} +8 -8
  94. package/dist/docs/assets/{guides_slack.md.diqqXTTm.lean.js → guides_slack.md.Bn-WupSE.lean.js} +1 -1
  95. package/dist/docs/assets/{guides_webhooks.md.D0furjw0.js → guides_webhooks.md.BBvAm_VF.js} +2 -2
  96. package/dist/docs/assets/{guides_webhooks.md.D0furjw0.lean.js → guides_webhooks.md.BBvAm_VF.lean.js} +1 -1
  97. package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.js → hillclimbing.md.Dxvd-0gT.js} +2 -2
  98. package/dist/docs/assets/{hillclimbing.md.Biy0m-Qb.lean.js → hillclimbing.md.Dxvd-0gT.lean.js} +1 -1
  99. package/dist/docs/assets/index.md.Dxxr7pFa.js +27 -0
  100. package/dist/docs/assets/{index.md.CVc_oOA3.lean.js → index.md.Dxxr7pFa.lean.js} +1 -1
  101. package/dist/docs/assets/{quickstart.md.CHpHPBUN.js → quickstart.md.BK5gjHM2.js} +2 -2
  102. package/dist/docs/assets/{quickstart.md.CHpHPBUN.lean.js → quickstart.md.BK5gjHM2.lean.js} +1 -1
  103. package/dist/docs/assets/{reference_agent-config.md.DzGI777n.js → reference_agent-config.md.DrtLxWgR.js} +4 -4
  104. package/dist/docs/assets/{reference_agent-config.md.DzGI777n.lean.js → reference_agent-config.md.DrtLxWgR.lean.js} +1 -1
  105. package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.js → reference_artifacts.md.DLV9MZES.js} +2 -2
  106. package/dist/docs/assets/{reference_artifacts.md.CQfKq8F2.lean.js → reference_artifacts.md.DLV9MZES.lean.js} +1 -1
  107. package/dist/docs/assets/{reference_channels.md.mbNtKCiR.js → reference_channels.md.LbNIJBwd.js} +2 -2
  108. package/dist/docs/assets/{reference_channels.md.mbNtKCiR.lean.js → reference_channels.md.LbNIJBwd.lean.js} +1 -1
  109. package/dist/docs/assets/{reference_cli.md.DgeLTO18.js → reference_cli.md.BsgDqYPh.js} +4 -4
  110. package/dist/docs/assets/{reference_cli.md.DgeLTO18.lean.js → reference_cli.md.BsgDqYPh.lean.js} +1 -1
  111. package/dist/docs/assets/{reference_connections.md.COq--gAm.js → reference_connections.md.Bljpve-y.js} +4 -4
  112. package/dist/docs/assets/{reference_connections.md.COq--gAm.lean.js → reference_connections.md.Bljpve-y.lean.js} +1 -1
  113. package/dist/docs/assets/{reference_evals.md.CJm3uCUm.js → reference_evals.md.D5i8PuXJ.js} +2 -2
  114. package/dist/docs/assets/{reference_evals.md.CJm3uCUm.lean.js → reference_evals.md.D5i8PuXJ.lean.js} +1 -1
  115. package/dist/docs/assets/{reference_extensions.md.CPPrkWlJ.js → reference_extensions.md.OUacPetl.js} +5 -4
  116. package/dist/docs/assets/{reference_extensions.md.CPPrkWlJ.lean.js → reference_extensions.md.OUacPetl.lean.js} +1 -1
  117. package/dist/docs/assets/{reference_hooks.md.DbthhtIR.js → reference_hooks.md.C5LCJ1R3.js} +2 -2
  118. package/dist/docs/assets/{reference_hooks.md.DbthhtIR.lean.js → reference_hooks.md.C5LCJ1R3.lean.js} +1 -1
  119. package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.js → reference_http-api.md.DbFNOubV.js} +1 -1
  120. package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.js → reference_instructions.md.DrcHZXig.js} +2 -2
  121. package/dist/docs/assets/{reference_instructions.md.Bdwscs4G.lean.js → reference_instructions.md.DrcHZXig.lean.js} +1 -1
  122. package/dist/docs/assets/reference_playground.md.1hx0gcIu.js +1 -0
  123. package/dist/docs/assets/{reference_playground.md.BdQzRJc2.lean.js → reference_playground.md.1hx0gcIu.lean.js} +1 -1
  124. package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.js → reference_project-layout.md.C2JMRh7p.js} +2 -2
  125. package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.js → reference_prompt.md.DqPh71XN.js} +3 -3
  126. package/dist/docs/assets/{reference_prompt.md.BQZB4eaV.lean.js → reference_prompt.md.DqPh71XN.lean.js} +1 -1
  127. package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.js → reference_schedules.md.BuJ8fgMa.js} +2 -2
  128. package/dist/docs/assets/{reference_schedules.md.BVU5EFbz.lean.js → reference_schedules.md.BuJ8fgMa.lean.js} +1 -1
  129. package/dist/docs/assets/reference_sessions.md.CM5zo3w4.js +1 -0
  130. package/dist/docs/assets/{reference_sessions.md.DeRUItHD.lean.js → reference_sessions.md.CM5zo3w4.lean.js} +1 -1
  131. package/dist/docs/assets/{reference_skills.md.Cy00QMKS.js → reference_skills.md.C0guGcH0.js} +4 -4
  132. package/dist/docs/assets/{reference_skills.md.Cy00QMKS.lean.js → reference_skills.md.C0guGcH0.lean.js} +1 -1
  133. package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.js → reference_subagents.md.gmPt5J-M.js} +2 -2
  134. package/dist/docs/assets/{reference_subagents.md.B8oyeXOI.lean.js → reference_subagents.md.gmPt5J-M.lean.js} +1 -1
  135. package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.js → reference_tools.md.v3SXVSs_.js} +2 -2
  136. package/dist/docs/assets/{reference_tools.md.hg2Wi5Bq.lean.js → reference_tools.md.v3SXVSs_.lean.js} +1 -1
  137. package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.js → templates_agentic-owners.md.vtjfwxbf.js} +2 -2
  138. package/dist/docs/assets/{templates_agentic-owners.md.BykUiZ8j.lean.js → templates_agentic-owners.md.vtjfwxbf.lean.js} +1 -1
  139. package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.js +5 -0
  140. package/dist/docs/assets/templates_grokbot-agents.md.2sydjFiO.lean.js +1 -0
  141. package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.js → templates_security-reviewer.md.CX9l9bcg.js} +2 -2
  142. package/dist/docs/assets/{templates_security-reviewer.md.DXMmKl_o.lean.js → templates_security-reviewer.md.CX9l9bcg.lean.js} +1 -1
  143. package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.js → templates_thermo-quality-review.md.95qmTmr1.js} +2 -2
  144. package/dist/docs/assets/{templates_thermo-quality-review.md.Dg1p1MsG.lean.js → templates_thermo-quality-review.md.95qmTmr1.lean.js} +1 -1
  145. package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.js → templates_thermo-review.md.DQh6Q0C-.js} +2 -2
  146. package/dist/docs/assets/{templates_thermo-review.md.Dlylkowj.lean.js → templates_thermo-review.md.DQh6Q0C-.lean.js} +1 -1
  147. package/dist/docs/assets/{templates_triage.md.CvJyx81N.js → templates_triage.md.BFlQhWXf.js} +3 -3
  148. package/dist/docs/assets/{templates_triage.md.CvJyx81N.lean.js → templates_triage.md.BFlQhWXf.lean.js} +1 -1
  149. package/dist/docs/assets/troubleshooting.md.Bscj6ODe.js +1 -0
  150. package/dist/docs/assets/{troubleshooting.md.Cw5PKa3t.lean.js → troubleshooting.md.Bscj6ODe.lean.js} +1 -1
  151. package/dist/docs/building-with-agents.html +36 -36
  152. package/dist/docs/building-with-agents.md +0 -3
  153. package/dist/docs/deployment.html +39 -39
  154. package/dist/docs/deployment.md +6 -10
  155. package/dist/docs/evals.html +36 -36
  156. package/dist/docs/evals.md +0 -3
  157. package/dist/docs/guides/agent-to-agent.html +36 -36
  158. package/dist/docs/guides/agent-to-agent.md +0 -3
  159. package/dist/docs/guides/bitbucket.html +36 -36
  160. package/dist/docs/guides/bitbucket.md +0 -3
  161. package/dist/docs/guides/cloud-agents.html +36 -36
  162. package/dist/docs/guides/cloud-agents.md +0 -4
  163. package/dist/docs/guides/convert-automation.html +37 -37
  164. package/dist/docs/guides/convert-automation.md +2 -5
  165. package/dist/docs/guides/github.html +37 -37
  166. package/dist/docs/guides/github.md +1 -4
  167. package/dist/docs/guides/gitlab.html +36 -36
  168. package/dist/docs/guides/gitlab.md +0 -3
  169. package/dist/docs/guides/grokbot-agents.html +37 -37
  170. package/dist/docs/guides/grokbot-agents.md +1 -4
  171. package/dist/docs/guides/hooks.html +36 -36
  172. package/dist/docs/guides/hooks.md +0 -3
  173. package/dist/docs/guides/improve.html +36 -36
  174. package/dist/docs/guides/improve.md +0 -3
  175. package/dist/docs/guides/jev.html +37 -37
  176. package/dist/docs/guides/jev.md +7 -3
  177. package/dist/docs/guides/mcp-oauth.html +37 -37
  178. package/dist/docs/guides/mcp-oauth.md +1 -4
  179. package/dist/docs/guides/opentelemetry.html +42 -40
  180. package/dist/docs/guides/opentelemetry.md +4 -5
  181. package/dist/docs/guides/slack.html +43 -43
  182. package/dist/docs/guides/slack.md +14 -24
  183. package/dist/docs/guides/webhooks.html +36 -36
  184. package/dist/docs/guides/webhooks.md +0 -3
  185. package/dist/docs/hashmap.json +1 -1
  186. package/dist/docs/hillclimbing.html +36 -36
  187. package/dist/docs/hillclimbing.md +0 -3
  188. package/dist/docs/index.html +38 -38
  189. package/dist/docs/index.md +9 -16
  190. package/dist/docs/llms-full.txt +156 -220
  191. package/dist/docs/llms.txt +1 -0
  192. package/dist/docs/quickstart.html +36 -36
  193. package/dist/docs/quickstart.md +2 -7
  194. package/dist/docs/reference/agent-config.html +38 -38
  195. package/dist/docs/reference/agent-config.md +4 -7
  196. package/dist/docs/reference/artifacts.html +36 -36
  197. package/dist/docs/reference/artifacts.md +0 -3
  198. package/dist/docs/reference/channels.html +37 -37
  199. package/dist/docs/reference/channels.md +1 -6
  200. package/dist/docs/reference/cli.html +38 -38
  201. package/dist/docs/reference/cli.md +7 -14
  202. package/dist/docs/reference/connections.html +38 -38
  203. package/dist/docs/reference/connections.md +7 -10
  204. package/dist/docs/reference/evals.html +36 -36
  205. package/dist/docs/reference/evals.md +0 -3
  206. package/dist/docs/reference/extensions.html +40 -39
  207. package/dist/docs/reference/extensions.md +15 -5
  208. package/dist/docs/reference/hooks.html +36 -36
  209. package/dist/docs/reference/hooks.md +0 -3
  210. package/dist/docs/reference/http-api.html +37 -37
  211. package/dist/docs/reference/http-api.md +1 -1
  212. package/dist/docs/reference/instructions.html +36 -36
  213. package/dist/docs/reference/instructions.md +0 -3
  214. package/dist/docs/reference/playground.html +36 -36
  215. package/dist/docs/reference/playground.md +0 -3
  216. package/dist/docs/reference/project-layout.html +37 -37
  217. package/dist/docs/reference/project-layout.md +2 -2
  218. package/dist/docs/reference/prompt.html +37 -37
  219. package/dist/docs/reference/prompt.md +0 -3
  220. package/dist/docs/reference/schedules.html +36 -36
  221. package/dist/docs/reference/schedules.md +0 -3
  222. package/dist/docs/reference/sessions.html +36 -36
  223. package/dist/docs/reference/sessions.md +0 -3
  224. package/dist/docs/reference/skills.html +38 -38
  225. package/dist/docs/reference/skills.md +0 -3
  226. package/dist/docs/reference/subagents.html +36 -36
  227. package/dist/docs/reference/subagents.md +0 -3
  228. package/dist/docs/reference/tools.html +36 -36
  229. package/dist/docs/reference/tools.md +1 -5
  230. package/dist/docs/templates/agentic-owners.html +36 -36
  231. package/dist/docs/templates/agentic-owners.md +0 -3
  232. package/dist/docs/templates/grokbot-agents.html +64 -0
  233. package/dist/docs/templates/grokbot-agents.md +55 -0
  234. package/dist/docs/templates/security-reviewer.html +37 -37
  235. package/dist/docs/templates/security-reviewer.md +0 -3
  236. package/dist/docs/templates/thermo-quality-review.html +36 -36
  237. package/dist/docs/templates/thermo-quality-review.md +3 -6
  238. package/dist/docs/templates/thermo-review.html +36 -36
  239. package/dist/docs/templates/thermo-review.md +3 -5
  240. package/dist/docs/templates/triage.html +37 -37
  241. package/dist/docs/templates/triage.md +2 -3
  242. package/dist/docs/troubleshooting.html +36 -36
  243. package/dist/docs/troubleshooting.md +3 -7
  244. package/dist/extensions/jev/extension.d.ts +3 -0
  245. package/dist/extensions/jev/extension.d.ts.map +1 -1
  246. package/dist/extensions/jev/extension.js +10 -1
  247. package/dist/extensions/jev/lib/evaluate.d.ts +4 -0
  248. package/dist/extensions/jev/lib/evaluate.d.ts.map +1 -1
  249. package/dist/extensions/jev/lib/evaluate.js +6 -2
  250. package/dist/extensions.d.ts +4 -2
  251. package/dist/extensions.d.ts.map +1 -1
  252. package/dist/extensions.js +5 -2
  253. package/dist/internal/cli-deploy.d.ts.map +1 -1
  254. package/dist/internal/cli-deploy.js +19 -5
  255. package/dist/internal/discovery/agent-config.d.ts +6 -5
  256. package/dist/internal/discovery/agent-config.d.ts.map +1 -1
  257. package/dist/internal/discovery/agent-config.js +29 -28
  258. package/dist/internal/discovery/agent.js +1 -1
  259. package/dist/internal/discovery/extensions.d.ts.map +1 -1
  260. package/dist/internal/discovery/extensions.js +12 -0
  261. package/dist/internal/hosting.d.ts +8 -0
  262. package/dist/internal/hosting.d.ts.map +1 -1
  263. package/dist/internal/hosting.js +24 -0
  264. package/dist/types.d.ts +18 -2
  265. package/dist/types.d.ts.map +1 -1
  266. package/docs/README.md +9 -16
  267. package/docs/building-with-agents.md +0 -3
  268. package/docs/deployment.md +6 -10
  269. package/docs/evals.md +0 -3
  270. package/docs/guides/agent-to-agent.md +0 -3
  271. package/docs/guides/bitbucket.md +0 -3
  272. package/docs/guides/cloud-agents.md +0 -4
  273. package/docs/guides/convert-automation.md +2 -5
  274. package/docs/guides/github.md +1 -4
  275. package/docs/guides/gitlab.md +0 -3
  276. package/docs/guides/grokbot-agents.md +1 -4
  277. package/docs/guides/hooks.md +0 -3
  278. package/docs/guides/improve.md +0 -3
  279. package/docs/guides/jev.md +7 -3
  280. package/docs/guides/mcp-oauth.md +1 -4
  281. package/docs/guides/opentelemetry.md +4 -5
  282. package/docs/guides/slack.md +14 -24
  283. package/docs/guides/webhooks.md +0 -3
  284. package/docs/hillclimbing.md +0 -3
  285. package/docs/quickstart.md +2 -7
  286. package/docs/reference/agent-config.md +4 -7
  287. package/docs/reference/artifacts.md +0 -3
  288. package/docs/reference/channels.md +1 -6
  289. package/docs/reference/cli.md +7 -14
  290. package/docs/reference/connections.md +7 -10
  291. package/docs/reference/evals.md +0 -3
  292. package/docs/reference/extensions.md +15 -5
  293. package/docs/reference/hooks.md +0 -3
  294. package/docs/reference/http-api.md +1 -1
  295. package/docs/reference/instructions.md +0 -3
  296. package/docs/reference/playground.md +0 -3
  297. package/docs/reference/project-layout.md +2 -2
  298. package/docs/reference/prompt.md +0 -3
  299. package/docs/reference/schedules.md +0 -3
  300. package/docs/reference/sessions.md +0 -3
  301. package/docs/reference/skills.md +0 -3
  302. package/docs/reference/subagents.md +0 -3
  303. package/docs/reference/tools.md +1 -5
  304. package/docs/templates/agentic-owners.md +0 -3
  305. package/docs/templates/grokbot-agents.md +60 -0
  306. package/docs/templates/security-reviewer.md +0 -3
  307. package/docs/templates/thermo-quality-review.md +3 -6
  308. package/docs/templates/thermo-review.md +3 -5
  309. package/docs/templates/triage.md +2 -3
  310. package/docs/troubleshooting.md +3 -7
  311. package/package.json +2 -10
  312. package/templates/agentic-owners/README.md +0 -3
  313. package/templates/agents-md/README.md +4 -3
  314. package/templates/code-wiki/README.md +0 -3
  315. package/templates/demo/README.md +0 -3
  316. package/templates/grokbot-agents/README.md +4 -6
  317. package/templates/security-help/README.md +12 -6
  318. package/templates/security-reviewer/README.md +0 -3
  319. package/templates/thermo-quality-review/README.md +0 -3
  320. package/templates/thermo-review/README.md +0 -3
  321. package/templates/triage/README.md +0 -3
  322. package/templates/triage/overlays/jira/README.md +0 -3
  323. package/templates/triage/overlays/linear/README.md +0 -3
  324. package/dist/docs/assets/chunks/@localSearchIndexroot.D5L-b34G.js +0 -1
  325. package/dist/docs/assets/chunks/channel.BbOGaJQP.js +0 -1
  326. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.Db58HCb1.js +0 -1
  327. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.Db58HCb1.js +0 -1
  328. package/dist/docs/assets/chunks/clone.Co4MBflG.js +0 -1
  329. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CMsKhrW0.js +0 -1
  330. package/dist/docs/assets/index.md.CVc_oOA3.js +0 -27
  331. package/dist/docs/assets/reference_playground.md.BdQzRJc2.js +0 -1
  332. package/dist/docs/assets/reference_sessions.md.DeRUItHD.js +0 -1
  333. package/dist/docs/assets/troubleshooting.md.Cw5PKa3t.js +0 -1
  334. package/src/artifacts.ts +0 -68
  335. package/src/bin/agent-serve.ts +0 -1854
  336. package/src/channels/bitbucket/api.ts +0 -891
  337. package/src/channels/bitbucket/binding.ts +0 -417
  338. package/src/channels/bitbucket/bitbucket-channel.ts +0 -162
  339. package/src/channels/bitbucket/bitbucket-webhook.ts +0 -519
  340. package/src/channels/bitbucket/checks.ts +0 -146
  341. package/src/channels/bitbucket/cursor-account.ts +0 -106
  342. package/src/channels/bitbucket/defaults.ts +0 -100
  343. package/src/channels/bitbucket/events.ts +0 -74
  344. package/src/channels/bitbucket/index.ts +0 -51
  345. package/src/channels/bitbucket/replay.ts +0 -421
  346. package/src/channels/bitbucket/state.ts +0 -59
  347. package/src/channels/bitbucket/types.ts +0 -261
  348. package/src/channels/change-monitors/change-monitors-channel.ts +0 -63
  349. package/src/channels/change-monitors/index.ts +0 -8
  350. package/src/channels/change-monitors/types.ts +0 -42
  351. package/src/channels/checks.ts +0 -185
  352. package/src/channels/deployments/deployments-channel.ts +0 -224
  353. package/src/channels/deployments/index.ts +0 -25
  354. package/src/channels/deployments/types.ts +0 -92
  355. package/src/channels/github/api.ts +0 -526
  356. package/src/channels/github/auth.ts +0 -293
  357. package/src/channels/github/binding.ts +0 -233
  358. package/src/channels/github/checks.ts +0 -145
  359. package/src/channels/github/cursor-account.ts +0 -303
  360. package/src/channels/github/defaults.ts +0 -168
  361. package/src/channels/github/events.ts +0 -67
  362. package/src/channels/github/forward.ts +0 -359
  363. package/src/channels/github/github-channel.ts +0 -2334
  364. package/src/channels/github/index.ts +0 -54
  365. package/src/channels/github/progress.ts +0 -365
  366. package/src/channels/github/replay.ts +0 -372
  367. package/src/channels/github/state.ts +0 -124
  368. package/src/channels/github/types.ts +0 -590
  369. package/src/channels/gitlab/api.ts +0 -329
  370. package/src/channels/gitlab/binding.ts +0 -231
  371. package/src/channels/gitlab/checks.ts +0 -228
  372. package/src/channels/gitlab/cursor-account.ts +0 -105
  373. package/src/channels/gitlab/defaults.ts +0 -80
  374. package/src/channels/gitlab/events.ts +0 -37
  375. package/src/channels/gitlab/gitlab-channel.ts +0 -160
  376. package/src/channels/gitlab/gitlab-webhook.ts +0 -509
  377. package/src/channels/gitlab/index.ts +0 -44
  378. package/src/channels/gitlab/replay.ts +0 -328
  379. package/src/channels/gitlab/state.ts +0 -55
  380. package/src/channels/gitlab/types.ts +0 -247
  381. package/src/channels/issues/index.ts +0 -9
  382. package/src/channels/issues/issues-channel.ts +0 -45
  383. package/src/channels/issues/types.ts +0 -38
  384. package/src/channels/origin/api.ts +0 -507
  385. package/src/channels/origin/binding.ts +0 -114
  386. package/src/channels/origin/checks.ts +0 -250
  387. package/src/channels/origin/cursor-account.ts +0 -58
  388. package/src/channels/origin/defaults.ts +0 -140
  389. package/src/channels/origin/events.ts +0 -35
  390. package/src/channels/origin/index.ts +0 -35
  391. package/src/channels/origin/origin-channel.ts +0 -815
  392. package/src/channels/origin/origin-webhook.ts +0 -296
  393. package/src/channels/origin/reactions.ts +0 -72
  394. package/src/channels/origin/state.ts +0 -54
  395. package/src/channels/origin/types.ts +0 -295
  396. package/src/channels/slack/agentic-delivery.ts +0 -634
  397. package/src/channels/slack/agentic-posted.ts +0 -135
  398. package/src/channels/slack/agentic-signals.ts +0 -231
  399. package/src/channels/slack/api.ts +0 -761
  400. package/src/channels/slack/approvals.ts +0 -279
  401. package/src/channels/slack/assistant.ts +0 -76
  402. package/src/channels/slack/attachments.ts +0 -596
  403. package/src/channels/slack/auth.ts +0 -127
  404. package/src/channels/slack/blocks.ts +0 -131
  405. package/src/channels/slack/bot-mentions.ts +0 -318
  406. package/src/channels/slack/channel-watch.ts +0 -314
  407. package/src/channels/slack/cli-project.ts +0 -249
  408. package/src/channels/slack/code-fences.ts +0 -171
  409. package/src/channels/slack/constants.ts +0 -38
  410. package/src/channels/slack/credentials.ts +0 -88
  411. package/src/channels/slack/defaults.ts +0 -714
  412. package/src/channels/slack/dispatch.ts +0 -1060
  413. package/src/channels/slack/doctor.ts +0 -338
  414. package/src/channels/slack/eval-directive.ts +0 -306
  415. package/src/channels/slack/event-id-dedupe.ts +0 -30
  416. package/src/channels/slack/external-policy.ts +0 -75
  417. package/src/channels/slack/footer.ts +0 -106
  418. package/src/channels/slack/inbound.ts +0 -416
  419. package/src/channels/slack/index.ts +0 -53
  420. package/src/channels/slack/init.ts +0 -169
  421. package/src/channels/slack/interactive.ts +0 -406
  422. package/src/channels/slack/links.ts +0 -23
  423. package/src/channels/slack/live-delivery.ts +0 -489
  424. package/src/channels/slack/log.ts +0 -70
  425. package/src/channels/slack/manifest.ts +0 -240
  426. package/src/channels/slack/message-body.ts +0 -82
  427. package/src/channels/slack/nudge-carrier.ts +0 -224
  428. package/src/channels/slack/nudge-store.ts +0 -334
  429. package/src/channels/slack/paint-start.ts +0 -93
  430. package/src/channels/slack/placeholder.ts +0 -358
  431. package/src/channels/slack/pr-ref.ts +0 -74
  432. package/src/channels/slack/progress-delivery.ts +0 -138
  433. package/src/channels/slack/reasoning-card.ts +0 -125
  434. package/src/channels/slack/reasoning-chip.ts +0 -41
  435. package/src/channels/slack/recording-sink.ts +0 -167
  436. package/src/channels/slack/redact.ts +0 -6
  437. package/src/channels/slack/reply-options.ts +0 -279
  438. package/src/channels/slack/setup.ts +0 -125
  439. package/src/channels/slack/slack-channel.ts +0 -744
  440. package/src/channels/slack/socket-mode.ts +0 -140
  441. package/src/channels/slack/stop.ts +0 -25
  442. package/src/channels/slack/stream.ts +0 -66
  443. package/src/channels/slack/thread-context.ts +0 -485
  444. package/src/channels/slack/tool-approval-events.ts +0 -233
  445. package/src/channels/slack/tool-cards.ts +0 -198
  446. package/src/channels/slack/tool-chip.ts +0 -34
  447. package/src/channels/slack/types.ts +0 -787
  448. package/src/channels/slack/upload.ts +0 -137
  449. package/src/channels.ts +0 -543
  450. package/src/connections.ts +0 -153
  451. package/src/dashboard-session-url.ts +0 -30
  452. package/src/evals/assertions.ts +0 -688
  453. package/src/evals/expect.ts +0 -250
  454. package/src/evals/judge.ts +0 -329
  455. package/src/evals/loaders.ts +0 -111
  456. package/src/evals/matchers.ts +0 -223
  457. package/src/evals/reporters.ts +0 -257
  458. package/src/evals/results.ts +0 -130
  459. package/src/evals/run-facts.ts +0 -306
  460. package/src/evals.ts +0 -709
  461. package/src/extensions/cursor-cloud-agents/extension.ts +0 -131
  462. package/src/extensions/cursor-cloud-agents/lib/backend.ts +0 -386
  463. package/src/extensions/cursor-cloud-agents/lib/channels.ts +0 -11
  464. package/src/extensions/cursor-cloud-agents/lib/fleet.ts +0 -98
  465. package/src/extensions/cursor-cloud-agents/lib/inputs.ts +0 -5
  466. package/src/extensions/cursor-cloud-agents/lib/repos.ts +0 -80
  467. package/src/extensions/cursor-cloud-agents/lib/transcript.ts +0 -19
  468. package/src/extensions/cursor-cloud-agents/skills/handoff.md +0 -37
  469. package/src/extensions/cursor-cloud-agents/tools/cancel.ts +0 -21
  470. package/src/extensions/cursor-cloud-agents/tools/dump.ts +0 -47
  471. package/src/extensions/cursor-cloud-agents/tools/get.ts +0 -18
  472. package/src/extensions/cursor-cloud-agents/tools/launch.ts +0 -62
  473. package/src/extensions/cursor-cloud-agents/tools/list.ts +0 -31
  474. package/src/extensions/cursor-cloud-agents/tools/reply.ts +0 -36
  475. package/src/extensions/cursor-grokbot-agents/extension.ts +0 -132
  476. package/src/extensions/cursor-grokbot-agents/lib/agents.ts +0 -42
  477. package/src/extensions/cursor-grokbot-agents/lib/backend.ts +0 -208
  478. package/src/extensions/cursor-grokbot-agents/lib/contacts.ts +0 -74
  479. package/src/extensions/cursor-grokbot-agents/lib/conversation.ts +0 -260
  480. package/src/extensions/cursor-grokbot-agents/lib/inputs.ts +0 -21
  481. package/src/extensions/cursor-grokbot-agents/lib/lock.ts +0 -26
  482. package/src/extensions/cursor-grokbot-agents/skills/consult.md +0 -40
  483. package/src/extensions/cursor-grokbot-agents/tools/ask.ts +0 -32
  484. package/src/extensions/cursor-grokbot-agents/tools/check.ts +0 -25
  485. package/src/extensions/cursor-grokbot-agents/tools/interrupt.ts +0 -17
  486. package/src/extensions/cursor-grokbot-agents/tools/list.ts +0 -26
  487. package/src/extensions/improve/extension.ts +0 -69
  488. package/src/extensions/improve/skills/yourself.ts +0 -50
  489. package/src/extensions/jev/extension.ts +0 -95
  490. package/src/extensions/jev/lib/evaluate.ts +0 -266
  491. package/src/extensions/jev/skills/gated-write.md +0 -25
  492. package/src/extensions/jev/skills/questions.md +0 -33
  493. package/src/extensions/jev/tools/evaluate.ts +0 -82
  494. package/src/extensions/slack-communication/evals/harness.ts +0 -705
  495. package/src/extensions/slack-communication/evals/slack-communication.eval.ts +0 -830
  496. package/src/extensions/slack-communication/evals/slack-placeholder.eval.ts +0 -172
  497. package/src/extensions/slack-communication/extension.ts +0 -44
  498. package/src/extensions/slack-communication/skills/slack-voice.ts +0 -56
  499. package/src/extensions/slack-communication/tools/delete-message.ts +0 -33
  500. package/src/extensions/slack-communication/tools/edit-message.ts +0 -42
  501. package/src/extensions/slack-communication/tools/post-card.ts +0 -28
  502. package/src/extensions/slack-communication/tools/post-file.ts +0 -82
  503. package/src/extensions/slack-communication/tools/post-update.ts +0 -40
  504. package/src/extensions/slack-communication/tools/react.ts +0 -30
  505. package/src/extensions/slack-communication/tools/set-status.ts +0 -21
  506. package/src/extensions.ts +0 -179
  507. package/src/files-backends/agent-store-presigned-url.ts +0 -11
  508. package/src/files-backends/cursor-hosted.ts +0 -1212
  509. package/src/files-backends/local-fs.ts +0 -163
  510. package/src/files.ts +0 -293
  511. package/src/filesystem.ts +0 -2005
  512. package/src/hooks.ts +0 -30
  513. package/src/index.ts +0 -259
  514. package/src/internal/advertise-tools.ts +0 -370
  515. package/src/internal/approval-gate.ts +0 -103
  516. package/src/internal/artifacts-store.ts +0 -836
  517. package/src/internal/as-of.ts +0 -257
  518. package/src/internal/auth.ts +0 -46
  519. package/src/internal/authored-alias-hooks.ts +0 -138
  520. package/src/internal/authored-loaders.ts +0 -188
  521. package/src/internal/bounded-int.ts +0 -24
  522. package/src/internal/bounded.ts +0 -25
  523. package/src/internal/brand.ts +0 -28
  524. package/src/internal/browser-origin-guard.ts +0 -67
  525. package/src/internal/builtin-tools/artifacts.ts +0 -62
  526. package/src/internal/builtin-tools/index.ts +0 -53
  527. package/src/internal/builtin-tools/reminders.ts +0 -145
  528. package/src/internal/channel-dispatch.ts +0 -129
  529. package/src/internal/channel-route-dispatch.ts +0 -58
  530. package/src/internal/channel-state.ts +0 -83
  531. package/src/internal/chat-client.ts +0 -594
  532. package/src/internal/cli-ax.ts +0 -2318
  533. package/src/internal/cli-bitbucket.ts +0 -438
  534. package/src/internal/cli-convert-automation.ts +0 -335
  535. package/src/internal/cli-cursor.ts +0 -282
  536. package/src/internal/cli-deploy.ts +0 -2519
  537. package/src/internal/cli-docs.ts +0 -192
  538. package/src/internal/cli-github.ts +0 -806
  539. package/src/internal/cli-gitlab.ts +0 -452
  540. package/src/internal/cli-images.ts +0 -672
  541. package/src/internal/cli-manifest.ts +0 -56
  542. package/src/internal/cli-mcp-oauth.ts +0 -396
  543. package/src/internal/cli-mcp.ts +0 -808
  544. package/src/internal/cli-skills.ts +0 -98
  545. package/src/internal/cli-slack-manual.ts +0 -418
  546. package/src/internal/cli-slack.ts +0 -874
  547. package/src/internal/cloud-merge.ts +0 -51
  548. package/src/internal/cloud-turn-cost.ts +0 -159
  549. package/src/internal/connection-env.ts +0 -106
  550. package/src/internal/continuation-channel.ts +0 -233
  551. package/src/internal/continuation-identity.ts +0 -935
  552. package/src/internal/conversation-mirror.ts +0 -423
  553. package/src/internal/convert-automation/convert-workflow.ts +0 -1377
  554. package/src/internal/convert-automation/slug.ts +0 -29
  555. package/src/internal/convert-automation/types.ts +0 -212
  556. package/src/internal/cron.ts +0 -76
  557. package/src/internal/cursor/account-mcp.ts +0 -692
  558. package/src/internal/cursor/backend-client.ts +0 -984
  559. package/src/internal/cursor/bound-secret-file.ts +0 -101
  560. package/src/internal/cursor/credentials.ts +0 -560
  561. package/src/internal/cursor/cursor-api-transport.ts +0 -65
  562. package/src/internal/cursor/github-credentials.ts +0 -228
  563. package/src/internal/cursor/hosted-bound-secrets.ts +0 -71
  564. package/src/internal/cursor/hosted-deployment-secrets.ts +0 -100
  565. package/src/internal/cursor/hosted-store-secrets.ts +0 -152
  566. package/src/internal/cursor/session-token.ts +0 -111
  567. package/src/internal/cursor/store-api-client.ts +0 -323
  568. package/src/internal/cursor-account-mcp-auth.ts +0 -303
  569. package/src/internal/cursor-agent-template.ts +0 -50
  570. package/src/internal/cursor-deployment-relay.ts +0 -315
  571. package/src/internal/cursor-event-relay.ts +0 -675
  572. package/src/internal/cursor-relay-core.ts +0 -563
  573. package/src/internal/deferred-channel-session.ts +0 -61
  574. package/src/internal/deploy-client.ts +0 -1574
  575. package/src/internal/deploy-manifest.ts +0 -361
  576. package/src/internal/deploy-source.ts +0 -144
  577. package/src/internal/describe-error.ts +0 -32
  578. package/src/internal/dev-mode.ts +0 -20
  579. package/src/internal/discovery/agent-config.ts +0 -288
  580. package/src/internal/discovery/agent.ts +0 -381
  581. package/src/internal/discovery/channels.ts +0 -100
  582. package/src/internal/discovery/connections.ts +0 -516
  583. package/src/internal/discovery/context.ts +0 -38
  584. package/src/internal/discovery/cursor-plugin.ts +0 -628
  585. package/src/internal/discovery/extension-overlay.ts +0 -247
  586. package/src/internal/discovery/extensions.ts +0 -490
  587. package/src/internal/discovery/fs.ts +0 -103
  588. package/src/internal/discovery/hooks.ts +0 -63
  589. package/src/internal/discovery/info.ts +0 -174
  590. package/src/internal/discovery/instructions.ts +0 -98
  591. package/src/internal/discovery/modules.ts +0 -107
  592. package/src/internal/discovery/names.ts +0 -45
  593. package/src/internal/discovery/project.ts +0 -319
  594. package/src/internal/discovery/reminders.ts +0 -65
  595. package/src/internal/discovery/runtime.ts +0 -158
  596. package/src/internal/discovery/schedules.ts +0 -120
  597. package/src/internal/discovery/seed-files.ts +0 -34
  598. package/src/internal/discovery/services.ts +0 -151
  599. package/src/internal/discovery/skills.ts +0 -174
  600. package/src/internal/discovery/subagent.ts +0 -138
  601. package/src/internal/discovery/tools.ts +0 -170
  602. package/src/internal/discovery.ts +0 -27
  603. package/src/internal/distribution.ts +0 -126
  604. package/src/internal/docs-site.ts +0 -248
  605. package/src/internal/duration.ts +0 -37
  606. package/src/internal/env-file.ts +0 -83
  607. package/src/internal/eval-judge-model.ts +0 -142
  608. package/src/internal/eval-run-store.ts +0 -585
  609. package/src/internal/eval-runner.ts +0 -823
  610. package/src/internal/evals-client.ts +0 -475
  611. package/src/internal/event-log.ts +0 -342
  612. package/src/internal/event-mapper.ts +0 -811
  613. package/src/internal/expected-delivery-failure.ts +0 -34
  614. package/src/internal/factory-resource-channel.ts +0 -103
  615. package/src/internal/filesystem/errors.ts +0 -207
  616. package/src/internal/filesystem/format.ts +0 -253
  617. package/src/internal/filesystem/merge.ts +0 -192
  618. package/src/internal/filesystem/nearest.ts +0 -112
  619. package/src/internal/filesystem/scratch.ts +0 -239
  620. package/src/internal/filesystem/sdk-schemas.ts +0 -204
  621. package/src/internal/filesystem/tools.ts +0 -804
  622. package/src/internal/filesystem/walk.ts +0 -366
  623. package/src/internal/fixtures/units-server.ts +0 -52
  624. package/src/internal/framework-file-storage.ts +0 -357
  625. package/src/internal/framework-storage-selection.ts +0 -156
  626. package/src/internal/frontmatter.ts +0 -108
  627. package/src/internal/github-fanout.ts +0 -144
  628. package/src/internal/guest-network.ts +0 -391
  629. package/src/internal/handleAgentServeTrigger.ts +0 -286
  630. package/src/internal/host-files.ts +0 -341
  631. package/src/internal/host-kv.ts +0 -81
  632. package/src/internal/host-otel.ts +0 -231
  633. package/src/internal/host-platforms.ts +0 -170
  634. package/src/internal/hosted-admission-adapter.ts +0 -47
  635. package/src/internal/hosted-admission-context.ts +0 -37
  636. package/src/internal/hosted-catch-protocol.ts +0 -112
  637. package/src/internal/hosted-catch.ts +0 -179
  638. package/src/internal/hosted-delivery-protocol.ts +0 -824
  639. package/src/internal/hosted-delivery.ts +0 -1410
  640. package/src/internal/hosted-execution-diag.ts +0 -291
  641. package/src/internal/hosted-execution-flush.ts +0 -136
  642. package/src/internal/hosted-execution-latency.ts +0 -301
  643. package/src/internal/hosted-managed-automation.ts +0 -116
  644. package/src/internal/hosting.ts +0 -114
  645. package/src/internal/http-channel-define.ts +0 -25
  646. package/src/internal/http-channel.ts +0 -669
  647. package/src/internal/http-control-plane-session.ts +0 -110
  648. package/src/internal/ids.ts +0 -39
  649. package/src/internal/incoming-headers-to-fetch.ts +0 -45
  650. package/src/internal/init-interview.ts +0 -360
  651. package/src/internal/init-project.ts +0 -711
  652. package/src/internal/init-scaffold.ts +0 -182
  653. package/src/internal/inline-stdio-define-stub.ts +0 -4
  654. package/src/internal/inline-stdio-mcp.ts +0 -230
  655. package/src/internal/install-cursor-skills.ts +0 -604
  656. package/src/internal/is-record.ts +0 -3
  657. package/src/internal/json-schema.ts +0 -95
  658. package/src/internal/legacy-command-guard.ts +0 -66
  659. package/src/internal/listen-port.ts +0 -85
  660. package/src/internal/local-control-plane.ts +0 -442
  661. package/src/internal/local-env.ts +0 -59
  662. package/src/internal/local-ingress.ts +0 -90
  663. package/src/internal/log-ring.ts +0 -59
  664. package/src/internal/logs-client.ts +0 -477
  665. package/src/internal/map-pool.ts +0 -39
  666. package/src/internal/mcp-endpoint.ts +0 -747
  667. package/src/internal/mcp-host.ts +0 -509
  668. package/src/internal/mcp-oauth-on-demand.ts +0 -337
  669. package/src/internal/mcp-oauth-persist.ts +0 -118
  670. package/src/internal/mcp-oauth.ts +0 -549
  671. package/src/internal/net.ts +0 -29
  672. package/src/internal/open-browser.ts +0 -41
  673. package/src/internal/otel/attrs.ts +0 -16
  674. package/src/internal/otel/collector.ts +0 -937
  675. package/src/internal/otel/config.ts +0 -287
  676. package/src/internal/otel/http.ts +0 -122
  677. package/src/internal/otel/mcp.ts +0 -56
  678. package/src/internal/otel/propagation.ts +0 -17
  679. package/src/internal/otel/runtime.ts +0 -441
  680. package/src/internal/package-inline-stdio.ts +0 -114
  681. package/src/internal/peer-connections.ts +0 -96
  682. package/src/internal/platform-schedule-sync.ts +0 -75
  683. package/src/internal/platform-timers.ts +0 -365
  684. package/src/internal/playground/static.ts +0 -278
  685. package/src/internal/playground/toolchain.ts +0 -270
  686. package/src/internal/playground-proxy.ts +0 -564
  687. package/src/internal/process-memory-telemetry.ts +0 -334
  688. package/src/internal/project-layout.ts +0 -31
  689. package/src/internal/prompt-context.ts +0 -116
  690. package/src/internal/reminder-control-plane-protocol.ts +0 -482
  691. package/src/internal/reminder-runner.ts +0 -1559
  692. package/src/internal/reminder-schedule.ts +0 -104
  693. package/src/internal/reminder-store.ts +0 -176
  694. package/src/internal/request-error-status.ts +0 -95
  695. package/src/internal/request-headers.ts +0 -21
  696. package/src/internal/resolve-prod-target.ts +0 -334
  697. package/src/internal/resolved-connections.ts +0 -190
  698. package/src/internal/router.ts +0 -143
  699. package/src/internal/run-client.ts +0 -354
  700. package/src/internal/runtime-dispatch-runner.ts +0 -50
  701. package/src/internal/sanitize-mcp-tool-name.ts +0 -31
  702. package/src/internal/schedule-runner.ts +0 -154
  703. package/src/internal/scm/pr-url.ts +0 -245
  704. package/src/internal/sdk-runner.ts +0 -959
  705. package/src/internal/serve-restart.ts +0 -113
  706. package/src/internal/server.ts +0 -3147
  707. package/src/internal/session-cost.ts +0 -208
  708. package/src/internal/session-engine.ts +0 -5622
  709. package/src/internal/session-links.ts +0 -84
  710. package/src/internal/session-run-log.ts +0 -535
  711. package/src/internal/session-store.ts +0 -307
  712. package/src/internal/session-urls.ts +0 -32
  713. package/src/internal/sessions-client.ts +0 -239
  714. package/src/internal/skill-catalog.ts +0 -66
  715. package/src/internal/skills-sync.ts +0 -55
  716. package/src/internal/slack-provision-client.ts +0 -544
  717. package/src/internal/slack-thread-key.ts +0 -11
  718. package/src/internal/sleep.ts +0 -3
  719. package/src/internal/start-log-store.ts +0 -164
  720. package/src/internal/steering.ts +0 -17
  721. package/src/internal/storage-coordinator.ts +0 -800
  722. package/src/internal/storage-roles.ts +0 -86
  723. package/src/internal/storage.ts +0 -1
  724. package/src/internal/store-api-protocol.ts +0 -205
  725. package/src/internal/store-mirror.ts +0 -73
  726. package/src/internal/stream-progress.ts +0 -294
  727. package/src/internal/terminal-style.ts +0 -133
  728. package/src/internal/testing/factory-resource-fixtures.ts +0 -84
  729. package/src/internal/testing/scm-continuation-fixtures.ts +0 -285
  730. package/src/internal/tool-catalog.ts +0 -104
  731. package/src/internal/tool-policy.ts +0 -222
  732. package/src/internal/tool-result.ts +0 -50
  733. package/src/internal/trajectory.ts +0 -418
  734. package/src/internal/turn-cost.ts +0 -136
  735. package/src/internal/turn-governor.ts +0 -145
  736. package/src/internal/turn-lease-store.ts +0 -144
  737. package/src/internal/turn-outbox.ts +0 -77
  738. package/src/internal/update-check.ts +0 -517
  739. package/src/internal/v2-hosting.ts +0 -52
  740. package/src/internal/workspace-sync.ts +0 -114
  741. package/src/internal/workspace.ts +0 -505
  742. package/src/kv/memory-kv.ts +0 -94
  743. package/src/kv.ts +0 -18
  744. package/src/memory.ts +0 -487
  745. package/src/otel-public.ts +0 -24
  746. package/src/otel.ts +0 -320
  747. package/src/prompt.ts +0 -80
  748. package/src/reminders.ts +0 -65
  749. package/src/schedules.ts +0 -31
  750. package/src/skills.ts +0 -27
  751. package/src/storage-backends/cursor-hosted-v2.ts +0 -204
  752. package/src/storage-backends/cursor-hosted.ts +0 -388
  753. package/src/storage-backends/file-kv.ts +0 -276
  754. package/src/storage-protocol.ts +0 -261
  755. package/src/storage.ts +0 -408
  756. package/src/tools.ts +0 -166
  757. package/src/types.ts +0 -3776
  758. /package/dist/docs/assets/{guides_jev.md.BNDm14Gy.lean.js → guides_jev.md.D7XH4JH3.lean.js} +0 -0
  759. /package/dist/docs/assets/{reference_http-api.md.BZOvhCqY.lean.js → reference_http-api.md.DbFNOubV.lean.js} +0 -0
  760. /package/dist/docs/assets/{reference_project-layout.md.CpLQ9j4K.lean.js → reference_project-layout.md.C2JMRh7p.lean.js} +0 -0
@@ -13,9 +13,6 @@ a coding agent can create the project, exercise its tools, run a real
13
13
  turn, and inspect the result. You approve the plan and side effects
14
14
  while the coding agent owns the implementation loop.
15
15
 
16
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
17
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
18
-
19
16
  This page covers a coding agent working inside a checkout. To let a
20
17
  running agent propose changes to its own source, use the separate
21
18
  [self-improvement extension](/docs/guides/improve.md).
@@ -153,10 +150,6 @@ Cursor-managed hosting builds the selected Git ref and operates the
153
150
  runtime; self-hosting gives you control of the network, process, and
154
151
  filesystem.
155
152
 
156
- The `@cursor/bdk` imports and `bdk` commands in these examples are
157
- docs-ahead until publication; see
158
- [BDK package availability](/docs/index.md#bdk-package-availability).
159
-
160
153
  ## Choose managed hosting or self-hosting
161
154
 
162
155
  | Option | Use it when | You manage |
@@ -173,9 +166,6 @@ API.
173
166
  Commit and push the exact ref you want to run, then sign in, validate,
174
167
  and deploy. The preferred CLI is `bdk`.
175
168
 
176
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. This block shows future
177
- > CLI syntax and will not run until the package publishes.
178
-
179
169
  ```text
180
170
  cd my-agent
181
171
  bdk login
@@ -184,7 +174,7 @@ bdk validate
184
174
  bdk deploy
185
175
  ```
186
176
 
187
- The deploy command waits until the engine is running and prints the stable
177
+ The deploy command waits until the runtime is running and prints the stable
188
178
  deployment URL.
189
179
 
190
180
  `deploy` reads from Git; it does not upload your working tree. Inside a
@@ -205,7 +195,10 @@ project.
205
195
 
206
196
  ## Add egress and secrets
207
197
 
208
- Declare the external hosts and secret names the agent needs. After the
198
+ Declare the external hosts and secret names the agent needs. Mounted
199
+ extensions add the ones they declare, so list only what your own code
200
+ calls; `bdk info --dir .` shows the combined list and what each mount
201
+ adds. After the
209
202
  deployment exists, set each value at the hidden prompt and follow the
210
203
  CLI or dashboard instruction to redeploy.
211
204
 
@@ -324,7 +317,7 @@ multi-agent deployment, stop, and delete behavior.
324
317
 
325
318
  Managed hosting persists framework-owned session, KV, and file state
326
319
  across normal runtime replacements. Files written elsewhere on the
327
- engine's local filesystem are disposable; use `ctx.host.kv` or
320
+ runtime's local filesystem are disposable; use `ctx.host.kv` or
328
321
  `ctx.host.files` for durable application state.
329
322
 
330
323
  Parked approvals and in-memory reminder handlers do not survive a
@@ -402,9 +395,6 @@ not to discover what the prompt should do.
402
395
  Evals run real model turns and real tools. Guard external writes before
403
396
  running a suite against an agent that can post, merge, or deploy.
404
397
 
405
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
406
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
407
-
408
398
  ## Protect a tool decision
409
399
 
410
400
  This smoke case asks for a PR verdict, requires the read-only inspection
@@ -661,9 +651,6 @@ help. The specialist keeps its own instructions, tools, and session,
661
651
  while the caller decides when to delegate and returns the answer to the
662
652
  user. Co-host both projects under one `bdk` process.
663
653
 
664
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
665
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
666
-
667
654
  ## Delegate a question to a specialist
668
655
 
669
656
  Ask the concierge about the weather and it hands the question to the
@@ -818,9 +805,6 @@ current pull-request or commit state, and writes the result back to
818
805
  Bitbucket. `bitbucketChannel()` gives the same hooks and normalized
819
806
  payloads on Bitbucket Cloud and Data Center.
820
807
 
821
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
822
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
823
-
824
808
  ## Review a pull request
825
809
 
826
810
  Creating a pull request, or pushing new commits to a Data Center pull
@@ -1114,10 +1098,6 @@ same branch.
1114
1098
 
1115
1099
  ## Mount it
1116
1100
 
1117
- The extension will ship with `@cursor/bdk` when the package publishes.
1118
- This import is docs-ahead; see
1119
- [BDK package availability](/docs/index.md#bdk-package-availability).
1120
-
1121
1101
  ```ts
1122
1102
  // bot/extensions/cloud.ts
1123
1103
  import cursorCloudAgents from "@cursor/bdk/extensions/cursor-cloud-agents";
@@ -1210,9 +1190,6 @@ path.
1210
1190
  configuration and prints a checklist for everything that still needs
1211
1191
  your judgment.
1212
1192
 
1213
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
1214
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
1215
-
1216
1193
  ## Convert and run locally
1217
1194
 
1218
1195
  The command creates a project named after the Automation, installs its
@@ -1297,9 +1274,9 @@ reply experience and app setup.
1297
1274
 
1298
1275
  The generated GitHub channel keeps mechanical filters such as PR
1299
1276
  actions, branches, issue actions, repositories, and simple user
1300
- allowlists. Conditions that depended on backend-only context stay
1277
+ allowlists. Conditions that depend on dashboard-only context stay
1301
1278
  fail-closed, so the corresponding hook returns `null` until you replace
1302
- it.
1279
+ them.
1303
1280
 
1304
1281
  For example, a converted CI trigger can wake only when the suite fails:
1305
1282
 
@@ -1394,9 +1371,6 @@ latest PR and CI state, then write back reviews, comments, checks, or
1394
1371
  pushes. Pull events from Cursor, so you don't expose a public webhook
1395
1372
  URL.
1396
1373
 
1397
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
1398
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
1399
-
1400
1374
  Connect GitHub in Cursor for the repos you care about (Settings or
1401
1375
  [cursor.com/dashboard](https://cursor.com/dashboard)). Sign the host in
1402
1376
  with `bdk login`. `cursorAccount` reuses that connection for
@@ -1623,7 +1597,7 @@ Every wake for the same repo and PR number resumes the same session. The
1623
1597
  channel keys turns as `github-pr:acme/checkout#42`. Opens, comments, and
1624
1598
  CI results share that conversation.
1625
1599
 
1626
- ## Call GitHub from determistic code via `ctx`
1600
+ ## Call GitHub from deterministic code via `ctx`
1627
1601
 
1628
1602
  `cursorAccount` puts one credential on both surfaces:
1629
1603
 
@@ -1759,9 +1733,6 @@ project or merge-request state, and writes the result back to GitLab.
1759
1733
  `gitlabChannel()` supports the same hooks on GitLab.com and self-managed
1760
1734
  GitLab.
1761
1735
 
1762
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
1763
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
1764
-
1765
1736
  ## Review a merge request
1766
1737
 
1767
1738
  Opening, reopening, or pushing commits to a merge request starts a
@@ -2058,9 +2029,6 @@ the Grok Bot agents on its serve host's Cursor account. The bot keeps
2058
2029
  its existing conversation, memory, and tools, while your agent carries
2059
2030
  the delivered reply back into the current conversation.
2060
2031
 
2061
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
2062
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
2063
-
2064
2032
  Use this extension on the local runtime. It consults another Grok Bot;
2065
2033
  it does not move this agent onto a Grok Bot runtime.
2066
2034
 
@@ -2110,7 +2078,7 @@ The message must include who is asking, the relevant facts, and the
2110
2078
  shape of the answer. The Grok Bot does not see the current BDK
2111
2079
  conversation.
2112
2080
 
2113
- > Netto is deciding whether to move Saturday's picnic. The forecast is
2081
+ > Avery is deciding whether to move Saturday's picnic. The forecast is
2114
2082
  > 70% rain from 1-4pm. Recommend keep or move, give one reason, and name
2115
2083
  > the best alternate time.
2116
2084
 
@@ -2205,9 +2173,6 @@ as updating metrics or sending alerts. They never change the turn, prompt, or
2205
2173
  reply. Author them under `bot/hooks/` with `defineHook` from
2206
2174
  `@cursor/bdk/hooks`.
2207
2175
 
2208
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
2209
- see [BDK package availability](/docs/index.md#bdk-package-availability).
2210
-
2211
2176
  ## Meter token usage
2212
2177
 
2213
2178
  With [OpenTelemetry](/docs/guides/opentelemetry.md) configured, this hook adds a live
@@ -2324,9 +2289,6 @@ work" into a source change. The agent prepares a brief, a Cursor cloud
2324
2289
  agent edits a checkout and opens a pull request, and the running agent
2325
2290
  reports the verified PR for human review.
2326
2291
 
2327
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
2328
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
2329
-
2330
2292
  Durable behavior does not change until that source is merged and
2331
2293
  deployed.
2332
2294
 
@@ -2464,9 +2426,6 @@ risk, choose a reviewer, or decide whether a merge needs a documentation
2464
2426
  follow-up. Jev returns a choice, score, or probability; your TypeScript
2465
2427
  decides what happens next.
2466
2428
 
2467
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
2468
- see [BDK package availability](/docs/index.md#bdk-package-availability).
2469
-
2470
2429
  Set `TYPESAFE_API_KEY`. The default model is `jev-latest`.
2471
2430
 
2472
2431
  ```ts
@@ -2476,6 +2435,13 @@ import jev from "@cursor/bdk/extensions/jev";
2476
2435
  export default jev();
2477
2436
  ```
2478
2437
 
2438
+ On Cursor-managed hosting, this mount adds `api.typesafe.ai` to the
2439
+ deployment's egress allowlist and `TYPESAFE_API_KEY` to the secrets it
2440
+ expects, so `bdk deploy` warns until you set the key. A project that
2441
+ imports `decide` or `evaluate` without mounting the extension has to
2442
+ list `api.typesafe.ai` in `hosting.egressDomains` itself; see
2443
+ [Add egress and secrets](/docs/deployment.md#add-egress-and-secrets).
2444
+
2479
2445
  ## Start only the review turns you need
2480
2446
 
2481
2447
  Call Jev from a channel hook before a model turn starts. When a pull
@@ -2762,9 +2728,6 @@ without putting tokens in the agent's source or workspace. Use it when
2762
2728
  the server speaks OAuth and its credentials should belong to the serve
2763
2729
  host instead of a person's Cursor account.
2764
2730
 
2765
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
2766
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
2767
-
2768
2731
  ## Use a private MCP tool locally
2769
2732
 
2770
2733
  Declare the remote server, authorize it once in the browser, and start
@@ -2881,7 +2844,7 @@ bdk deploy
2881
2844
  ```
2882
2845
 
2883
2846
  `--store` writes deployment secrets; it does not restart the current
2884
- engine. Follow the CLI or dashboard prompt to redeploy, then exercise
2847
+ process. Follow the CLI or dashboard prompt to redeploy, then exercise
2885
2848
  the hosted agent.
2886
2849
 
2887
2850
  These credentials belong to the deployment, not to the person who
@@ -2932,16 +2895,13 @@ cost metrics from the serve process.
2932
2895
  Export is opt-in. Nothing leaves the process until you configure a
2933
2896
  destination.
2934
2897
 
2935
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
2936
- published; see [BDK package availability](/docs/index.md#bdk-package-availability).
2937
-
2938
2898
  ## Connect an OTLP collector
2939
2899
 
2940
2900
  Set the collector endpoint, start the agent, and send it a message. You
2941
2901
  should see an `agent_sdk.http` request span and an `agent_sdk.turn`
2942
2902
  trace, with any tool or subagent work nested under the turn.
2943
2903
 
2944
- ```text
2904
+ ```bash
2945
2905
  export OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.example.com
2946
2906
  export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer $OTEL_TOKEN"
2947
2907
  export OTEL_SERVICE_NAME=incident-agent
@@ -2954,7 +2914,9 @@ The default protocol is OTLP/HTTP protobuf. If you already call
2954
2914
  code:
2955
2915
 
2956
2916
  ```ts
2957
- await serve(dir, {
2917
+ import { serve } from "@cursor/bdk";
2918
+
2919
+ await serve(".", {
2958
2920
  otel: {
2959
2921
  serviceName: "incident-agent",
2960
2922
  exporters: [
@@ -3087,9 +3049,6 @@ in a channel it watches. From there, it keeps the conversation in one
3087
3049
  thread and can reply all at once, stream the answer live, or decide for
3088
3050
  itself when to post updates.
3089
3051
 
3090
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
3091
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
3092
-
3093
3052
  Run `bdk slack create --dir .`, then `bdk slack doctor`.
3094
3053
 
3095
3054
  ## Answer a mention or DM
@@ -3124,7 +3083,7 @@ export default slackChannel({
3124
3083
  reasoning: true,
3125
3084
  // Tool names as they start ("Running grep, glob...").
3126
3085
  tools: true,
3127
- idle: ["Checking the monorepo...", "Poking Datadog..."],
3086
+ idle: ["Checking the request...", "Reviewing recent activity..."],
3128
3087
  },
3129
3088
  },
3130
3089
  });
@@ -3185,15 +3144,12 @@ This example watches `#triage-alerts`, so any substantial top-level
3185
3144
  message starts a thread even when nobody mentions the bot. The length
3186
3145
  guard filters out short posts before they can start a turn.
3187
3146
 
3188
- Mentions are global — the bot answers an @mention in any channel it has
3189
- joined — but listening without a mention names its channels: `allow`
3190
- must include at least one channel id (`C…`/`G…`) and at most 10 distinct
3191
- ids. `#name` entries may accompany the ids for readability. A lone `"*"`
3192
- watches every channel the bot is in, thread replies only
3193
- (`posts: "replies"`). Mixing `"*"` with ids is an error. `"*"` is the
3194
- guest watcher: it is not a hosting subscription. A thread reply on
3195
- Cursor-managed hosting is delivered when a mention already opened that
3196
- thread, and a top-level post does not match.
3147
+ Mentions work in any channel the bot has joined. Listening without a
3148
+ mention requires an explicit allowlist with at least one channel ID
3149
+ starting with `C` or `G` and at most 10 distinct IDs. You can add
3150
+ `#name` entries for readability. A lone `"*"` watches replies in every
3151
+ joined channel (`posts: "replies"`), but it does not wake on top-level
3152
+ posts. Do not mix `"*"` with channel IDs.
3197
3153
 
3198
3154
  ```ts
3199
3155
  export default slackChannel({
@@ -3217,15 +3173,11 @@ export default slackChannel({
3217
3173
  When you create the app, pass `--channel-posts` and invite the bot to
3218
3174
  every channel in the allowlist.
3219
3175
 
3220
- On Cursor-managed hosting the id entries also define the delivery set:
3221
- each becomes a channel-scoped subscription, and a channel post outside
3222
- the allowlist is dropped at ingress before any compute wakes (replies in
3223
- threads the agent is already part of still arrive). The same watch runs
3224
- at admission for each delivered event. `debounceMs` is ignored there:
3225
- the control plane answers every delivery immediately, and edits arrive
3226
- as separate deliveries that are dropped at the edge. Channel ids match
3227
- without any Slack call; `#name` entries are resolved once per pod with
3228
- the bot token and need the `channels:read` scope.
3176
+ On Cursor-managed hosting, the channel IDs in `allow` define which
3177
+ top-level posts can wake the agent. Replies in threads the agent has
3178
+ already joined still arrive. `debounceMs` applies only when you
3179
+ self-host. Add the `channels:read` scope when you include `#name`
3180
+ labels.
3229
3181
 
3230
3182
  ## Control who can message
3231
3183
 
@@ -3307,7 +3259,7 @@ Use the IDs on the hook `ctx` when handling an event, and
3307
3259
 
3308
3260
  ## Connect
3309
3261
 
3310
- ```text
3262
+ ```bash
3311
3263
  bdk login
3312
3264
  bdk slack create --dir .
3313
3265
  bdk slack doctor --prefix TRIAGE
@@ -3333,7 +3285,7 @@ and tokens.
3333
3285
  Run `doctor` first to catch missing credentials, then start the agent
3334
3286
  and send it the same mention or DM a teammate would.
3335
3287
 
3336
- ```text
3288
+ ```bash
3337
3289
  bdk slack doctor --prefix TRIAGE
3338
3290
  bdk serve --dir . --dev
3339
3291
  ```
@@ -3370,9 +3322,6 @@ conversation, then sends the result back to the system that started it.
3370
3322
  Use one when the built-in [HTTP API](/docs/reference/http-api.md) does not
3371
3323
  match the provider's payload, conversation key, or reply path.
3372
3324
 
3373
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
3374
- see [BDK package availability](/docs/index.md#bdk-package-availability).
3375
-
3376
3325
  Author `bot/channels/<id>.ts`. Its routes mount under
3377
3326
  `/<slug>/v1/channels/<id>`.
3378
3327
 
@@ -3614,9 +3563,6 @@ crossing the freeze line.
3614
3563
  The companion [`hillclimb` skill](https://github.com/cursor/cursor/blob/main/packages/agent-serve/skills/hillclimb/SKILL.md) can run
3615
3564
  this loop with you.
3616
3565
 
3617
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
3618
- published; see [BDK package availability](/docs/index.md#bdk-package-availability).
3619
-
3620
3566
  ## Correct a wrong tool choice
3621
3567
 
3622
3568
  Suppose a PR reviewer calls `approve_pr` before `inspect_pr`. Pin one PR
@@ -3748,9 +3694,9 @@ Source: /docs/index.md
3748
3694
 
3749
3695
  # Grok Bot Development Kit (BDK)
3750
3696
 
3751
- The Grok Bot Development Kit (BDK) is how Cursor builds agents. It's the
3752
- open-source version of the engine behind Bugbot, Security Review, and
3753
- Approval Bot.
3697
+ The Grok Bot Development Kit (BDK) lets you define, test, and deploy agents
3698
+ as code. It uses the Cursor SDK harness that powers Bugbot, Security Review,
3699
+ and Approval Bot.
3754
3700
 
3755
3701
  A BDK project is a folder of Markdown and TypeScript. Combine deterministic
3756
3702
  code with model judgment, then make the bot or agent available in source
@@ -3790,17 +3736,9 @@ sandboxing on Cursor infrastructure or on your own host.
3790
3736
 
3791
3737
  ![BDK architecture: you bring the agent as code, and the platform provides triggers, runtime, integrations, and operations](/docs/architecture.svg)
3792
3738
 
3793
- ## BDK package availability
3794
-
3795
- BDK uses the `@cursor/bdk` package and `bdk` binary. The package isn't on npm
3796
- yet, so its install commands won't run until publication.
3797
-
3798
3739
  ## Get started
3799
3740
 
3800
- The preferred BDK workflow starts with `bdk init` and `bdk dev`.
3801
-
3802
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. The package will install
3803
- > the `bdk` binary; this block will not run until it publishes.
3741
+ Install `@cursor/bdk`, then start with `bdk init` and `bdk dev`.
3804
3742
 
3805
3743
  ```text
3806
3744
  npm install --global @cursor/bdk
@@ -3825,7 +3763,7 @@ my-bot/
3825
3763
  │ ├── mcp-connections/
3826
3764
  │ │ └── linear.ts # tools from an MCP server
3827
3765
  │ ├── host-connections/
3828
- │ │ └── internal.ts # host-only MCP tools
3766
+ │ │ └── inventory.ts # host-only MCP tools
3829
3767
  │ ├── subagents/
3830
3768
  │ │ └── verifier/
3831
3769
  │ │ ├── agent.ts
@@ -3845,10 +3783,11 @@ Describe your bot or agent in Cursor, or edit the files yourself.
3845
3783
  - [Build your first PR reviewer](/docs/quickstart.md): a working GitHub
3846
3784
  reviewer, one step at a time.
3847
3785
 
3848
- - Start from a template with the docs-ahead `bdk init --template` command:
3786
+ - Start from a template:
3787
+ [Grok Bot agents](/docs/templates/grokbot-agents.md),
3849
3788
  [security reviewer](/docs/templates/security-reviewer.md),
3850
- [thermo reviewer](/docs/templates/thermo-review.md),
3851
- [thermo quality reviewer](/docs/templates/thermo-quality-review.md),
3789
+ [Thermo review](/docs/templates/thermo-review.md),
3790
+ [Thermo quality review](/docs/templates/thermo-quality-review.md),
3852
3791
  [owners-policy approver](/docs/templates/agentic-owners.md),
3853
3792
  [issue triager](/docs/templates/triage.md).
3854
3793
 
@@ -3875,15 +3814,13 @@ review.
3875
3814
 
3876
3815
  - Node 22.13 or newer.
3877
3816
 
3878
- - The docs-ahead BDK package and CLI. `@cursor/bdk` is not on npm yet,
3879
- so these commands will not run until publication. See
3880
- [BDK package availability](/docs/index.md#bdk-package-availability).
3817
+ - The `@cursor/bdk` package:
3881
3818
 
3882
3819
  ```text
3883
3820
  npm install -g @cursor/bdk
3884
3821
  ```
3885
3822
 
3886
- - A Cursor credential for model turns. After publication, sign in once:
3823
+ - A Cursor credential for model turns. Sign in once:
3887
3824
 
3888
3825
  ```text
3889
3826
  bdk login
@@ -3893,9 +3830,6 @@ bdk login
3893
3830
 
3894
3831
  The preferred BDK workflow uses `bdk init` and `bdk dev`.
3895
3832
 
3896
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. This block shows future
3897
- > CLI syntax and will not run until the package publishes.
3898
-
3899
3833
  ```text
3900
3834
  bdk init ./pr-reviewer
3901
3835
  cd pr-reviewer
@@ -4188,9 +4122,6 @@ Source: /docs/reference/agent-config.md
4188
4122
  the agent and its local harness defaults.
4189
4123
  Everything is optional on the root agent.
4190
4124
 
4191
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
4192
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
4193
-
4194
4125
  ```ts
4195
4126
  import { defineAgent } from "@cursor/bdk";
4196
4127
 
@@ -4214,15 +4145,15 @@ export default defineAgent({
4214
4145
  | `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. |
4215
4146
  | `instructions` | string | Inline instructions. Prefer `instructions.md`; this exists for subagents and generated configs. |
4216
4147
  | `local` | `{ cwd?, workspaceDir?, sandbox? }` | Local harness defaults. See [Local options](#local-options). |
4217
- | `hosting` | `{ egressDomains?, secretNames? }` | Managed-hosting declarations read by `bdk deploy`: the pod's egress allowlist and the secret names the agent expects. Ignored by local serving. |
4218
- | `concurrency` | `{ maxRunningTurns? }` | Engine-wide turn admission limit. See [Concurrency](#concurrency). |
4148
+ | `hosting` | `{ egressDomains?, secretNames? }` | Managed-hosting declarations read by `bdk deploy`: the deployment's egress allowlist and the secret names the agent expects. Mounted [extensions](/docs/reference/extensions.md#build-an-extension) add their own. Ignored by local serving. |
4149
+ | `concurrency` | `{ maxRunningTurns? }` | Agent-wide concurrent turn limit. See [Concurrency](#concurrency). |
4219
4150
  | `builtinTools` | `{ reminders? }` | Framework-provided model-facing tools, opted in per capability. See [Built-in tools](#built-in-tools). |
4220
4151
  | `tools` | `ToolName[]` | Allowlist of built-in harness tools offered to the model. Unset = the model's full standard toolset. See [Harness tools](#harness-tools). |
4221
4152
 
4222
4153
  ## Model
4223
4154
 
4224
4155
  `model` is a Cursor model id string, or `{ id, params }`. Effort and
4225
- speed are params, not id suffixes. The SDK rejects suffix-style ids
4156
+ speed are params, not id suffixes. BDK rejects suffix-style ids
4226
4157
  like `grok-4.5-fast`:
4227
4158
 
4228
4159
  ```ts
@@ -4295,7 +4226,7 @@ servers, point `local.cwd` outside the checkout. See
4295
4226
  [Local cwd](#local-cwd). `local.sandbox` makes MCP tool calls fail
4296
4227
  closed.
4297
4228
 
4298
- Use the SDK's public tool names, including `"shell"`, `"read"`,
4229
+ Use the Cursor SDK's public tool names, including `"shell"`, `"read"`,
4299
4230
  `"edit"`, `"grep"`, `"glob"`, `"ls"`, and `"task"`. Unknown names
4300
4231
  fail the turn with a `ConfigurationError`.
4301
4232
 
@@ -4382,9 +4313,6 @@ or decision records. An artifact kind defines the data it accepts, and
4382
4313
  the artifacts API tags or updates records by key. Records persist across
4383
4314
  sessions and can be listed, streamed, or downloaded.
4384
4315
 
4385
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
4386
- see [BDK package availability](/docs/index.md#bdk-package-availability).
4387
-
4388
4316
  ## Artifact kinds
4389
4317
 
4390
4318
  Author `bot/artifacts.ts` with `defineArtifacts` from
@@ -4503,9 +4431,6 @@ A channel connects an external surface to agent sessions. A file at
4503
4431
  under `/v1/channels/<id>`. The built-in HTTP session channel is always
4504
4432
  available alongside any custom or prebuilt channels.
4505
4433
 
4506
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
4507
- see [BDK package availability](/docs/index.md#bdk-package-availability).
4508
-
4509
4434
  ## Built-in HTTP channel
4510
4435
 
4511
4436
  The built-in channel serves the session, approval, tool, discovery, and
@@ -4667,15 +4592,13 @@ author their own chain, and `--allow-anonymous` swaps it for
4667
4592
 
4668
4593
  ## Prebuilt channels
4669
4594
 
4670
- | Import | Factory | Surface |
4595
+ | Import | Function | Surface |
4671
4596
  | --- | --- | --- |
4672
4597
  | `@cursor/bdk/channels/slack` | `slackChannel()` | Slack messages, threads, streaming replies, and approvals. See [Slack](/docs/guides/slack.md) |
4673
4598
  | `@cursor/bdk/channels/github` | `githubChannel()` | GitHub and GitHub Enterprise webhooks. See [GitHub](/docs/guides/github.md) |
4674
4599
  | `@cursor/bdk/channels/gitlab` | `gitlabChannel()` | GitLab.com and self-managed GitLab hooks. See [GitLab](/docs/guides/gitlab.md) |
4675
4600
  | `@cursor/bdk/channels/bitbucket` | `bitbucketChannel()` | Bitbucket Cloud and Data Center hooks. See [Bitbucket](/docs/guides/bitbucket.md) |
4676
4601
  | `@cursor/bdk/channels/deployments` | `deploymentsChannel()` | Deployment events filtered by source, environment, or event name |
4677
- | `@cursor/bdk/channels/change-monitors` | `changeMonitorsChannel()` | Change Monitor `checkpoint.created` events |
4678
- | `@cursor/bdk/channels/issues` | `issuesChannel()` | Factory `issue.created` events |
4679
4602
 
4680
4603
  For other platforms like Discord or Teams, use the authored
4681
4604
  `defineChannel` route form.
@@ -4704,20 +4627,17 @@ Source: /docs/reference/cli.md
4704
4627
  The Grok Bot Development Kit (BDK) uses the `@cursor/bdk` package and `bdk`
4705
4628
  CLI.
4706
4629
 
4707
- > **Docs ahead:** `@cursor/bdk` is not on npm yet. This command will work
4708
- > after publication.
4709
-
4710
4630
  ```text
4711
4631
  bdk <command>
4712
4632
  ```
4713
4633
 
4714
- The command catalog below documents the `bdk` binary that will ship with
4715
- `@cursor/bdk`. Run the published binary with Node 22.13 or newer; Bun is not
4634
+ The command catalog below documents the `bdk` binary from
4635
+ `@cursor/bdk`. Run it with Node 22.13 or newer; Bun is not
4716
4636
  supported. Commands exit nonzero when validation or a synchronous request fails;
4717
4637
  asynchronous commands can exit `0` once work is accepted. Project paths use the
4718
4638
  [BDK project layout](/docs/reference/project-layout.md).
4719
4639
 
4720
- After publication, install `@cursor/bdk` to obtain the binary. `bdk help`
4640
+ Install `@cursor/bdk` to obtain the binary. `bdk help`
4721
4641
  prints top-level help; the Slack, GitHub, GitLab, and Bitbucket command packs
4722
4642
  provide their own `help` subcommands.
4723
4643
 
@@ -5137,7 +5057,7 @@ installs dependencies, and tries to put `bdk` on `PATH`.
5137
5057
 
5138
5058
  | Option | Contract |
5139
5059
  | --- | --- |
5140
- | `--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`. |
5060
+ | `--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`. |
5141
5061
  | `--var id=value` | Answer a template question without a prompt. Repeat for multiple answers. |
5142
5062
  | `--json` | Skip interactive login and skill prompts, then print `{ ok, directory, template, created, skipped, installed, installError, cliOnPath, cliLinkError, next }`. `ok` reflects dependency installation. |
5143
5063
 
@@ -5176,7 +5096,7 @@ The command replaces the installed BDK skills with the package copy and
5176
5096
  removes stale bundled skills. `--print` previews the change. `--json` prints
5177
5097
  `{ ok, dryRun, directory, firstInstall, skills, removed }`.
5178
5098
 
5179
- When `@cursor/bdk` publishes, package installation will perform this copy.
5099
+ Package installation performs this copy.
5180
5100
  Run `bdk install-skills` when you need to refresh it.
5181
5101
 
5182
5102
  ### Inspect a project {#info}
@@ -5296,8 +5216,7 @@ bdk deployments [--team <id>] [--json]
5296
5216
  ```
5297
5217
 
5298
5218
  Text output shows slug, status, generation, kind, and update time. `--json`
5299
- prints `{ deployments }` and may also include `applications`. An empty list
5300
- succeeds.
5219
+ prints `{ deployments }`. An empty list succeeds.
5301
5220
 
5302
5221
  ### Inspect a deployment {#deployment}
5303
5222
 
@@ -5326,10 +5245,7 @@ bdk cancel-runs <slug> [--team <id>] [--json]
5326
5245
  ```
5327
5246
 
5328
5247
  The command requests cancellation for a deployment's active runs and reminder
5329
- wakes. For a multi-tenant
5330
- application, this cancels every install; use `stop --cancel-runs` for
5331
- install-local cancellation. It exits nonzero if any cancellation request fails
5332
- to start.
5248
+ wakes. It exits nonzero if any cancellation request fails to start.
5333
5249
 
5334
5250
  ### Replace event repositories {#event-repos}
5335
5251
 
@@ -5623,9 +5539,6 @@ Put a server in `bot/host-connections/` when only host tools should
5623
5539
  call it. Host connections use the same `defineConnection` shape and
5624
5540
  support `bdk mcp oauth`; the model and playground don't see them.
5625
5541
 
5626
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
5627
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
5628
-
5629
5542
  ## Remote MCP server
5630
5543
 
5631
5544
  Point an MCP connection at a remote server with a URL.
@@ -5709,16 +5622,16 @@ export default defineConnection({
5709
5622
  The callback is evaluated on every turn, including reminder
5710
5623
  fires and post-restart follow-ups, so the identity always comes from the
5711
5624
  session itself, never from state parked in memory. The model never sees a
5712
- tenant parameter and can never choose the tenant. A callback that throws
5713
- fails the turn: a turn never silently runs without the connection's
5714
- identity. `host.mcp` calls from server tools keep the static headers only.
5715
- You can't combine `auth` with `oauth: true`; the host OAuth provider owns
5716
- the Authorization header.
5625
+ downstream account parameter and cannot choose the account. A callback
5626
+ that throws fails the turn: a turn never silently runs without the
5627
+ connection's identity. `host.mcp` calls from server tools keep the static
5628
+ headers only. You can't combine `auth` with `oauth: true`; the host OAuth
5629
+ provider owns the Authorization header.
5717
5630
 
5718
5631
  Derive the identity from durable session facts: `session.auth`,
5719
5632
  `session.id`, or your channel's own session state. Do not key it off
5720
5633
  `session.continuationKey`. The HTTP channel rotates that key after every
5721
- accepted follow-up, so a tenant mapping keyed on it breaks
5634
+ accepted follow-up, so an account mapping keyed on it breaks
5722
5635
  mid-conversation.
5723
5636
 
5724
5637
  `auth` works attached or advertised. Advertise the auth connection
@@ -5734,7 +5647,7 @@ characters and add numeric suffixes to avoid collisions.
5734
5647
  ```ts
5735
5648
  export default defineConnection({
5736
5649
  url: "https://api.cursor.com/v1/mcp/plugins",
5737
- auth: async (session) => ({ headers: await tenantHeaders(session) }),
5650
+ auth: async (session) => ({ headers: await headersForSession(session) }),
5738
5651
  advertiseTools: true,
5739
5652
  });
5740
5653
  ```
@@ -5921,9 +5834,6 @@ tools, events, and output meet a contract. Files under the project-root
5921
5834
  discovers their IDs, executes them, and reports every assertion. See the
5922
5835
  [Evals guide](/docs/evals.md) for the regression workflow.
5923
5836
 
5924
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
5925
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
5926
-
5927
5837
  ## Eval discovery and case IDs
5928
5838
 
5929
5839
  Eval files live under the project-root `evals/` directory and end in
@@ -6212,9 +6122,6 @@ schedules, subagents, artifacts, and workspace seeds. One mount file
6212
6122
  adds them under a namespace without copying their source into your
6213
6123
  project.
6214
6124
 
6215
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
6216
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
6217
-
6218
6125
  Extensions and Cursor plugins execute as trusted host code. A namespace
6219
6126
  prevents name collisions; it does not sandbox the package or limit its
6220
6127
  side effects. Review the package before mounting it.
@@ -6255,6 +6162,10 @@ bdk info --dir . --json
6255
6162
  hooks, channels, schedules, subagents, and artifact kinds. The same
6256
6163
  data appears under `extensions` in `GET /v1/info`.
6257
6164
 
6165
+ A mount can also widen what a hosted deployment reaches. `info` shows the
6166
+ egress hosts and secret names each mount adds, and `bdk deploy` names
6167
+ every extension that adds egress before it deploys.
6168
+
6258
6169
  Names inside the extension stay short. A tool authored as
6259
6170
  `tools/failed_jobs.ts` appears to the mounting agent as
6260
6171
  `<namespace>__failed_jobs`. The `__` separator is reserved, so root
@@ -6305,8 +6216,8 @@ not provide.
6305
6216
  ## Mount a Cursor plugin
6306
6217
 
6307
6218
  `cursorPlugin()` adapts a vendored Cursor or Claude plugin into the same
6308
- namespace model. Skills, commands, agents, and MCP servers become Agent
6309
- SDK skills, subagents, and connections.
6219
+ namespace model. Skills, commands, agents, and MCP servers become BDK
6220
+ skills, subagents, and connections.
6310
6221
 
6311
6222
  ```ts
6312
6223
  // bot/extensions/notion.ts
@@ -6375,6 +6286,7 @@ export default defineExtension({
6375
6286
  token: z.string(),
6376
6287
  logTailLines: z.number().int().positive().default(200),
6377
6288
  }),
6289
+ hosting: () => ({ egressDomains: ["api.buildkite.com"] }),
6378
6290
  });
6379
6291
  ```
6380
6292
 
@@ -6383,6 +6295,14 @@ Modules inside the package import this definition and read
6383
6295
  applied. Publish the built entry point with its slot directories and
6384
6296
  prose assets beside it.
6385
6297
 
6298
+ `hosting` names the hosts the package calls and the secrets it reads
6299
+ from the environment. It receives the validated settings, and the
6300
+ mounting agent's `hosting.egressDomains` and `hosting.secretNames` gain
6301
+ whatever it returns, so a hosted deploy reaches Buildkite without the
6302
+ consumer listing `api.buildkite.com`. Leave out secrets that arrive
6303
+ through settings, such as `token` here; the consumer decides where that
6304
+ value comes from.
6305
+
6386
6306
  The [Project layout](/docs/reference/project-layout.md) owns each contribution's
6387
6307
  authoring contract. Keep extension instructions and tool descriptions
6388
6308
  namespace-neutral because the consumer chooses the final prefix.
@@ -6410,9 +6330,6 @@ transcript copy, or derived state. Hooks run in the serving process for
6410
6330
  every session of the agent. They cannot change the turn, the prompt, or
6411
6331
  the reply; a handler that throws is logged and skipped.
6412
6332
 
6413
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
6414
- see [BDK package availability](/docs/index.md#bdk-package-availability).
6415
-
6416
6333
  Treat the event as read-only. Later subscribers see the same object.
6417
6334
  That makes hooks safe to add to a production agent, and the wrong
6418
6335
  surface for anything that must run before the model or must fail a
@@ -6735,7 +6652,7 @@ These read-only routes describe the running agent.
6735
6652
  | Route | Contract |
6736
6653
  | --- | --- |
6737
6654
  | `GET /v1/info` | Return the discovered model, tools, skills, connections, subagents, channels, schedules, hooks, and diagnostics |
6738
- | `GET /v1/tools` | Return live server tools and advertised MCP tools as `{ name, title?, source? }`; bind tenant-scoped listings with `session` or `continuationToken` |
6655
+ | `GET /v1/tools` | Return live server tools and advertised MCP tools as `{ name, title?, source? }`; bind session-specific listings with `session` or `continuationToken` |
6739
6656
  | `GET /v1/tools/:name` | Return one tool's description, execution mode, approval and effect rules, schemas, and source |
6740
6657
  | `GET /v1/health` | Return per-agent liveness; no auth |
6741
6658
  | `GET /v1/logs?after=N` | Return recent server logs and the next polling cursor |
@@ -6840,9 +6757,6 @@ Agent instructions form the always-on system prompt and reach the model
6840
6757
  on every turn. A root agent requires them; a subagent may inline
6841
6758
  `instructions` in `agent.ts` instead.
6842
6759
 
6843
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
6844
- see [BDK package availability](/docs/index.md#bdk-package-availability).
6845
-
6846
6760
  ## Authoring forms
6847
6761
 
6848
6762
  | Form | Use it when |
@@ -6909,9 +6823,6 @@ Source: /docs/reference/playground.md
6909
6823
  mode). In multi-agent mode, each agent has its own playground, and `/`
6910
6824
  lists them all.
6911
6825
 
6912
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
6913
- published; see [BDK package availability](/docs/index.md#bdk-package-availability).
6914
-
6915
6826
  ## Playground surfaces
6916
6827
 
6917
6828
  | Surface | What you can do |
@@ -6965,7 +6876,7 @@ For the capabilities below, identity comes from the path.
6965
6876
  | --- | --- |
6966
6877
  | `tools/approve_pr.ts` | tool `approve_pr` |
6967
6878
  | `mcp-connections/linear.ts` | MCP connection `linear` (model + host) |
6968
- | `host-connections/anytool.ts` | Host MCP connection `anytool` (host + `mcp oauth` only) |
6879
+ | `host-connections/inventory.ts` | Host MCP connection `inventory` (host + `mcp oauth` only) |
6969
6880
  | `skills/pr-review.md` | skill `pr-review` |
6970
6881
  | `subagents/reviewer/` | subagent `reviewer` |
6971
6882
  | `extensions/ci.ts` | extension mount `ci`; its contributions become `ci__<name>` |
@@ -6994,7 +6905,7 @@ my-agent/
6994
6905
  │ ├── mcp-connections/
6995
6906
  │ │ └── linear.ts # tools from external MCP servers
6996
6907
  │ ├── host-connections/
6997
- │ │ └── anytool.ts # privileged MCP, host tools only
6908
+ │ │ └── inventory.ts # host-only MCP tools
6998
6909
  │ ├── subagents/
6999
6910
  │ │ └── reviewer/
7000
6911
  │ │ ├── agent.ts
@@ -7081,9 +6992,6 @@ import { prompt } from "@cursor/bdk";
7081
6992
  // or: import { prompt } from "@cursor/bdk/prompt";
7082
6993
  ```
7083
6994
 
7084
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
7085
- see [BDK package availability](/docs/index.md#bdk-package-availability).
7086
-
7087
6995
  ## Dedented strings
7088
6996
 
7089
6997
  `prompt` returns one string. It removes the common leading whitespace
@@ -7132,9 +7040,6 @@ reminder is a runtime wake bound to one conversation: "re-check this
7132
7040
  PR's CI in two hours." Schedules live in the filesystem; reminders are
7133
7041
  created by running code.
7134
7042
 
7135
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
7136
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
7137
-
7138
7043
  ## Schedules
7139
7044
 
7140
7045
  Cron expressions are standard 5-field, evaluated in UTC with minute
@@ -7307,9 +7212,6 @@ token, inspect it with a session ID, and follow progress on the NDJSON
7307
7212
  stream. Chat sessions wait for follow-ups; task sessions run once and
7308
7213
  stop.
7309
7214
 
7310
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
7311
- published; see [BDK package availability](/docs/index.md#bdk-package-availability).
7312
-
7313
7215
  ## Session contents
7314
7216
 
7315
7217
  Each session combines:
@@ -7473,9 +7375,6 @@ loads the full content only when the task calls for it. Skills are how
7473
7375
  you give an agent a multi-step workflow without carrying it in the
7474
7376
  always-on [instructions](/docs/reference/instructions.md).
7475
7377
 
7476
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
7477
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
7478
-
7479
7378
  ## Authoring forms
7480
7379
 
7481
7380
  Skills support three authoring forms.
@@ -7553,9 +7452,6 @@ mid-turn. Each one lives under `bot/subagents/<id>/` with a required
7553
7452
  for a custom prompt. The parent model delegates through the `task` tool,
7554
7453
  and the stream records `subagent.called` and `subagent.completed`.
7555
7454
 
7556
- The `@cursor/bdk` imports on this page are docs-ahead until publication;
7557
- see [BDK package availability](/docs/index.md#bdk-package-availability).
7558
-
7559
7455
  ```text
7560
7456
  bot/subagents/researcher/
7561
7457
  ├── agent.ts # description (required), model (optional)
@@ -7621,14 +7517,10 @@ execution flavors: server tools run on the serving host, and
7621
7517
  agent tools run as scripts where the agent runs. Every server tool can
7622
7518
  also be called directly, with no model turn.
7623
7519
 
7624
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
7625
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
7626
-
7627
7520
  ## Define a server tool
7628
7521
 
7629
7522
  By default, `execute` runs in-process on the serving host with full
7630
- access to `process.env` and your `bot/lib/` code. Turns call server
7631
- tools as SDK custom tools.
7523
+ access to `process.env` and your `bot/lib/` code.
7632
7524
 
7633
7525
  ```ts
7634
7526
  // bot/tools/inspect_pr.ts
@@ -7950,9 +7842,6 @@ what your policy allows. Ownership rules live in
7950
7842
  the closest policy to a changed file wins, and policies are always read
7951
7843
  from the PR's base ref so a PR cannot exempt itself.
7952
7844
 
7953
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
7954
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
7955
-
7956
7845
  ## Scaffold
7957
7846
 
7958
7847
  ```text
@@ -8039,6 +7928,66 @@ sessions skip GitHub writes.
8039
7928
 
8040
7929
  ---
8041
7930
 
7931
+ Source: /docs/templates/grokbot-agents.md
7932
+
7933
+ # Consult named Grok Bot agents
7934
+
7935
+ The `grokbot-agents` template lets a BDK agent consult the Grok Bot
7936
+ agents you allow. Your BDK conversation stays active while the named
7937
+ agent works, and the delivered reply returns to the same conversation.
7938
+ A request for an unlisted name is refused.
7939
+
7940
+ ## Scaffold
7941
+
7942
+ ```bash
7943
+ bdk init ./grokbot-consultant --template grokbot-agents
7944
+ ```
7945
+
7946
+ `init` asks for the names shown in the Grok Bot app. Pass them directly
7947
+ in a script:
7948
+
7949
+ ```bash
7950
+ bdk init ./grokbot-consultant --template grokbot-agents \
7951
+ --var agents="Plan Keeper,Chief of Staff"
7952
+ ```
7953
+
7954
+ ## Run
7955
+
7956
+ Sign in, validate the scaffold, and start the project:
7957
+
7958
+ ```bash
7959
+ cd grokbot-consultant
7960
+ bdk login
7961
+ bdk validate
7962
+ bdk dev
7963
+ ```
7964
+
7965
+ Open the playground and ask the agent to consult one of the names you
7966
+ entered. The delivered reply returns to the same conversation.
7967
+
7968
+ ## Choose who the agent can consult
7969
+
7970
+ Edit `bot/extensions/grokbot.ts` to change the allowlist. The template
7971
+ supports descriptions that help the model choose the right specialist
7972
+ when several names are available.
7973
+
7974
+ When someone asks which agents are available, the template lists them
7975
+ without sending a message. A consultation sends one self-contained
7976
+ question and reports the reply. Long-running consultations can be
7977
+ checked later, and an active turn can be interrupted when the task
7978
+ changes.
7979
+
7980
+ See [Grok Bot agents](/docs/guides/grokbot-agents.md) for the extension's
7981
+ conversation and approval boundaries.
7982
+
7983
+ ## What to edit
7984
+
7985
+ - `bot/extensions/grokbot.ts`: allowed agent names
7986
+ - `bot/instructions.md`: when to consult them
7987
+ - `evals/grokbot-agents.eval.ts`: list-without-sending smoke case
7988
+
7989
+ ---
7990
+
8042
7991
  Source: /docs/templates/security-reviewer.md
8043
7992
 
8044
7993
  # Review pull requests for exploitable bugs
@@ -8049,9 +7998,6 @@ RCE. Style nits stay out.
8049
7998
 
8050
7999
  This template is one model turn: read the diff, then post one comment.
8051
8000
 
8052
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
8053
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
8054
-
8055
8001
  ## Scaffold
8056
8002
 
8057
8003
  ```text
@@ -8134,15 +8080,12 @@ Source: /docs/templates/thermo-quality-review.md
8134
8080
  # Review pull requests for structural code quality
8135
8081
 
8136
8082
  This agent reads a pull request diff and posts one review comment. It
8137
- reports missing abstractions, spaghetti branches, feature logic
8138
- leaking into shared paths, and files pushed past 1,000 lines. Style
8139
- nits and behavior disputes stay out.
8083
+ reports missing abstractions, deeply nested control flow, feature logic
8084
+ leaking into shared paths, and files pushed past 1,000 lines. Style nits
8085
+ and behavior disputes stay out.
8140
8086
 
8141
8087
  This template is one model turn: read the diff, then post one comment.
8142
8088
 
8143
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
8144
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
8145
-
8146
8089
  ## Scaffold
8147
8090
 
8148
8091
  ```text
@@ -8217,14 +8160,12 @@ Source: /docs/templates/thermo-review.md
8217
8160
  # Review pull requests for bugs and breakage
8218
8161
 
8219
8162
  This agent reads a pull request diff and posts one review comment. It
8220
- reports bugs, breaking side effects, devex breaks, and feature-gate
8221
- leaks in added or modified code. Style nits stay out.
8163
+ reports bugs, breaking side effects, developer workflow failures, and
8164
+ unintended feature exposure in added or modified code. Style nits stay
8165
+ out.
8222
8166
 
8223
8167
  This template is one model turn: read the diff, then post one comment.
8224
8168
 
8225
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
8226
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
8227
-
8228
8169
  ## Scaffold
8229
8170
 
8230
8171
  ```text
@@ -8305,9 +8246,6 @@ duplicate when titles match.
8305
8246
  File the ticket however you already do. This template starts after the
8306
8247
  ticket exists.
8307
8248
 
8308
- The `@cursor/bdk` imports and `bdk` commands on this page are docs-ahead
8309
- until publication; see [BDK package availability](/docs/index.md#bdk-package-availability).
8310
-
8311
8249
  ## Scaffold
8312
8250
 
8313
8251
  ```text
@@ -8315,6 +8253,8 @@ bdk init ./triage-agent --template triage-linear
8315
8253
  bdk init ./triage-agent --template triage-jira
8316
8254
  ```
8317
8255
 
8256
+ `bdk init --template triage` selects `triage-linear`.
8257
+
8318
8258
  Pick the tracker you use. The agent is the same. The overlay is the
8319
8259
  connection.
8320
8260
 
@@ -8407,11 +8347,7 @@ Start with three checks:
8407
8347
  `bdk info --dir . --json`.
8408
8348
  3. Reproduce once, then inspect the serve log or session trace.
8409
8349
 
8410
- The `bdk` commands on this page are docs-ahead until `@cursor/bdk` is
8411
- published; see [BDK package availability](/docs/index.md#bdk-package-availability).
8412
-
8413
- Match the visible symptom below. The `bdk` binary ships with
8414
- `@cursor/bdk` when the package publishes.
8350
+ Match the visible symptom below.
8415
8351
 
8416
8352
  ## Serve or the playground will not work
8417
8353
 
@@ -8445,9 +8381,9 @@ Match the visible symptom below. The `bdk` binary ships with
8445
8381
 
8446
8382
  | What you see | What to do |
8447
8383
  | --- | --- |
8448
- | `401` outside localhost | Send the configured bearer token, alias token, or channel credential. Default custom routes admit direct loopback only. |
8384
+ | `401` outside local development | Send the configured bearer token, alias token, or channel credential. Default custom routes admit direct loopback only. |
8449
8385
  | `403` on a stream or follow-up | Use the same authenticated principal that created the session. |
8450
- | A localhost 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. |
8386
+ | 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. |
8451
8387
  | `409` on a follow-up | Refresh the rotating `continuationToken` and confirm the target is a chat session; task sessions do not accept follow-ups. |
8452
8388
  | `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. |
8453
8389
  | A custom route fails schema type-checking | Add the required Zod `querySchema` for `GET`, or `bodySchema` for `POST`, `PUT`, and `PATCH`. See [Channels](/docs/reference/channels.md). |