@cursor/bdk 0.2.5 → 0.2.7

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 (376) hide show
  1. package/dist/bin/agent-serve.js +55 -54
  2. package/dist/channels/github/github-channel.d.ts +4 -4
  3. package/dist/channels/github/github-channel.d.ts.map +1 -1
  4. package/dist/channels/github/github-channel.js +39 -13
  5. package/dist/channels/github/types.d.ts +6 -0
  6. package/dist/channels/github/types.d.ts.map +1 -1
  7. package/dist/channels/slack/dispatch.d.ts.map +1 -1
  8. package/dist/channels/slack/dispatch.js +37 -29
  9. package/dist/channels/slack/eval-directive.js +1 -1
  10. package/dist/channels/slack/external-policy.d.ts.map +1 -1
  11. package/dist/channels/slack/external-policy.js +6 -6
  12. package/dist/channels/slack/inbound.d.ts +5 -0
  13. package/dist/channels/slack/inbound.d.ts.map +1 -1
  14. package/dist/channels/slack/inbound.js +13 -0
  15. package/dist/channels/slack/index.d.ts +3 -0
  16. package/dist/channels/slack/index.d.ts.map +1 -1
  17. package/dist/channels/slack/index.js +3 -0
  18. package/dist/channels/slack/log.d.ts +1 -1
  19. package/dist/channels/slack/log.js +1 -1
  20. package/dist/channels/slack/self-identity.d.ts +15 -0
  21. package/dist/channels/slack/self-identity.d.ts.map +1 -0
  22. package/dist/channels/slack/self-identity.js +48 -0
  23. package/dist/channels/slack/sender-name.d.ts +17 -0
  24. package/dist/channels/slack/sender-name.d.ts.map +1 -0
  25. package/dist/channels/slack/sender-name.js +87 -0
  26. package/dist/channels/slack/setup.js +1 -1
  27. package/dist/channels/slack/user-info.d.ts +15 -0
  28. package/dist/channels/slack/user-info.d.ts.map +1 -0
  29. package/dist/channels/slack/user-info.js +57 -0
  30. package/dist/docs/404.html +2 -2
  31. package/dist/docs/assets/{app.94Iu5dyD.js → app.oyjtOr3W.js} +4 -4
  32. package/dist/docs/assets/chunks/@localSearchIndexroot.C25zYVuc.js +1 -0
  33. package/dist/docs/assets/chunks/{VPLocalSearchBox.DTKFDlBr.js → VPLocalSearchBox.D0P6J_UJ.js} +1 -1
  34. package/dist/docs/assets/chunks/{arc.DuzwHEeg.js → arc.B0LY1J1h.js} +1 -1
  35. package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.C6lyhLs0.js → architectureDiagram-Q4EWVU46.dPduLUxY.js} +1 -1
  36. package/dist/docs/assets/chunks/{baseUniq.DUNEWlY8.js → baseUniq.B_Ohm21h.js} +1 -1
  37. package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.CXOQGI0O.js → blockDiagram-DXYQGD6D.B4zcanaJ.js} +1 -1
  38. package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.BYdPE-Oe.js → c4Diagram-AHTNJAMY.D9Iw21nx.js} +1 -1
  39. package/dist/docs/assets/chunks/channel.CRUyWDV-.js +1 -0
  40. package/dist/docs/assets/chunks/{chunk-4BX2VUAB.YIV9HeX0.js → chunk-4BX2VUAB.DDVwRShI.js} +1 -1
  41. package/dist/docs/assets/chunks/{chunk-4TB4RGXK.BG80DEOc.js → chunk-4TB4RGXK.DsYcdn1i.js} +1 -1
  42. package/dist/docs/assets/chunks/{chunk-55IACEB6.BDKJSZQc.js → chunk-55IACEB6.BzzQvcYp.js} +1 -1
  43. package/dist/docs/assets/chunks/{chunk-EDXVE4YY.CtYnQqts.js → chunk-EDXVE4YY.BMiXZ7FX.js} +1 -1
  44. package/dist/docs/assets/chunks/{chunk-FMBD7UC4.CityOth-.js → chunk-FMBD7UC4.D_mBcLoc.js} +1 -1
  45. package/dist/docs/assets/chunks/{chunk-OYMX7WX6.CMD22CQX.js → chunk-OYMX7WX6.CMVjWVMx.js} +1 -1
  46. package/dist/docs/assets/chunks/{chunk-QZHKN3VN.WWpc3ND0.js → chunk-QZHKN3VN.BG-FrPv9.js} +1 -1
  47. package/dist/docs/assets/chunks/{chunk-YZCP3GAM.BMg-yhj3.js → chunk-YZCP3GAM.CkFE1ap3.js} +1 -1
  48. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.CG_UObcQ.js +1 -0
  49. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.CG_UObcQ.js +1 -0
  50. package/dist/docs/assets/chunks/clone.NYSZ9qZN.js +1 -0
  51. package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.Buu_LC5q.js → cose-bilkent-S5V4N54A.BVNnCTvY.js} +1 -1
  52. package/dist/docs/assets/chunks/{dagre-KV5264BT.DW7onj6E.js → dagre-KV5264BT.CDN5PR9l.js} +1 -1
  53. package/dist/docs/assets/chunks/{diagram-5BDNPKRD.B3NxIbEV.js → diagram-5BDNPKRD.DQRUlT-i.js} +1 -1
  54. package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.BJvN6Vkv.js → diagram-G4DWMVQ6.CoeblYQT.js} +1 -1
  55. package/dist/docs/assets/chunks/{diagram-MMDJMWI5.wfRWrexs.js → diagram-MMDJMWI5.DW3ymjl0.js} +1 -1
  56. package/dist/docs/assets/chunks/{diagram-TYMM5635.7QtjSYio.js → diagram-TYMM5635.BP0uN4Jw.js} +1 -1
  57. package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.jxPgDH1t.js → erDiagram-SMLLAGMA.DVFUWEn4.js} +1 -1
  58. package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.BhDWA-TO.js → flowDiagram-DWJPFMVM.HU-eHspv.js} +1 -1
  59. package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.Ijq8iYKv.js → ganttDiagram-T4ZO3ILL.DHNhXijY.js} +1 -1
  60. package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.DXpfW4YG.js → gitGraphDiagram-UUTBAWPF.DkISXcO3.js} +1 -1
  61. package/dist/docs/assets/chunks/{graph.CoPlssRl.js → graph.CCV0fuRR.js} +1 -1
  62. package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.eJuv_EOz.js → infoDiagram-42DDH7IO.bgILzOoc.js} +1 -1
  63. package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A._OEzenCR.js → ishikawaDiagram-UXIWVN3A.CuryXC0F.js} +1 -1
  64. package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.CwlTjirB.js → journeyDiagram-VCZTEJTY.BL1Pr-wu.js} +1 -1
  65. package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.DSp_C8cZ.js → kanban-definition-6JOO6SKY.BbGjvk4l.js} +1 -1
  66. package/dist/docs/assets/chunks/{layout.Bms9s7uB.js → layout.C4PfdldS.js} +1 -1
  67. package/dist/docs/assets/chunks/{linear.BjnmB4je.js → linear.C3xD1T6X.js} +1 -1
  68. package/dist/docs/assets/chunks/{min.CKkYlMsn.js → min.CzgRAQ9c.js} +1 -1
  69. package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.T2d0vJ7X.js → mindmap-definition-QFDTVHPH.CA9rSWum.js} +1 -1
  70. package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.DU0RoCvx.js → pieDiagram-DEJITSTG.B8MprgJu.js} +1 -1
  71. package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.9QZjM-x0.js → quadrantDiagram-34T5L4WZ.DndDwbKT.js} +1 -1
  72. package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.CZpylJMd.js → requirementDiagram-MS252O5E.Zhfgwlnn.js} +1 -1
  73. package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.CnFdfW95.js → sankeyDiagram-XADWPNL6.B6RRm6N5.js} +1 -1
  74. package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.-jC0PP1t.js → sequenceDiagram-FGHM5R23.Bfmz-1PN.js} +1 -1
  75. package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.DG7yBRUU.js → stateDiagram-FHFEXIEX.gbrdNqgj.js} +1 -1
  76. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.DOOmulfQ.js +1 -0
  77. package/dist/docs/assets/chunks/{theme.B3O9koXV.js → theme.gpWjytMh.js} +2 -2
  78. package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.Bf9u4Ebb.js → timeline-definition-GMOUNBTQ.Bl1l7M1f.js} +1 -1
  79. package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.BjhbbYE6.js → vennDiagram-DHZGUBPP.Dfle4U0d.js} +1 -1
  80. package/dist/docs/assets/chunks/wardley-RL74JXVD.BJrCW6xc.js +162 -0
  81. package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.8fRb4Nb5.js → wardleyDiagram-NUSXRM2D.CM_4lmvZ.js} +1 -1
  82. package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.DoOP3zZM.js → xychartDiagram-5P7HB3ND.CHT5X28R.js} +1 -1
  83. package/dist/docs/assets/{evals.md.LRCSn6Ik.js → evals.md.C851kViu.js} +1 -1
  84. package/dist/docs/assets/{reference_cli.md.BsgDqYPh.js → reference_cli.md.GwugN3n-.js} +5 -5
  85. package/dist/docs/assets/reference_cli.md.GwugN3n-.lean.js +1 -0
  86. package/dist/docs/assets/{templates_agentic-owners.md.vtjfwxbf.js → templates_agentic-owners.md.CvmABtia.js} +1 -1
  87. package/dist/docs/assets/{templates_agentic-owners.md.vtjfwxbf.lean.js → templates_agentic-owners.md.CvmABtia.lean.js} +1 -1
  88. package/dist/docs/assets/{templates_security-reviewer.md.CX9l9bcg.js → templates_security-reviewer.md.Gh6EF9Us.js} +3 -2
  89. package/dist/docs/assets/{templates_security-reviewer.md.CX9l9bcg.lean.js → templates_security-reviewer.md.Gh6EF9Us.lean.js} +1 -1
  90. package/dist/docs/assets/{templates_thermo-quality-review.md.95qmTmr1.js → templates_thermo-quality-review.md.B77UyTrX.js} +1 -1
  91. package/dist/docs/assets/{templates_thermo-review.md.DQh6Q0C-.js → templates_thermo-review.md.DRJ7mC5U.js} +1 -1
  92. package/dist/docs/assets/{templates_triage.md.BFlQhWXf.js → templates_triage.md.CNN6b0JZ.js} +3 -3
  93. package/dist/docs/assets/{templates_triage.md.BFlQhWXf.lean.js → templates_triage.md.CNN6b0JZ.lean.js} +1 -1
  94. package/dist/docs/building-with-agents.html +35 -35
  95. package/dist/docs/deployment.html +35 -35
  96. package/dist/docs/evals.html +37 -37
  97. package/dist/docs/evals.md +2 -2
  98. package/dist/docs/guides/agent-to-agent.html +35 -35
  99. package/dist/docs/guides/bitbucket.html +35 -35
  100. package/dist/docs/guides/cloud-agents.html +35 -35
  101. package/dist/docs/guides/convert-automation.html +35 -35
  102. package/dist/docs/guides/github.html +35 -35
  103. package/dist/docs/guides/gitlab.html +35 -35
  104. package/dist/docs/guides/grokbot-agents.html +35 -35
  105. package/dist/docs/guides/hooks.html +35 -35
  106. package/dist/docs/guides/improve.html +35 -35
  107. package/dist/docs/guides/jev.html +35 -35
  108. package/dist/docs/guides/mcp-oauth.html +35 -35
  109. package/dist/docs/guides/opentelemetry.html +35 -35
  110. package/dist/docs/guides/slack.html +35 -35
  111. package/dist/docs/guides/webhooks.html +35 -35
  112. package/dist/docs/hashmap.json +1 -1
  113. package/dist/docs/hillclimbing.html +35 -35
  114. package/dist/docs/index.html +35 -35
  115. package/dist/docs/llms-full.txt +41 -24
  116. package/dist/docs/quickstart.html +35 -35
  117. package/dist/docs/reference/agent-config.html +35 -35
  118. package/dist/docs/reference/artifacts.html +35 -35
  119. package/dist/docs/reference/channels.html +35 -35
  120. package/dist/docs/reference/cli.html +39 -39
  121. package/dist/docs/reference/cli.md +20 -9
  122. package/dist/docs/reference/connections.html +35 -35
  123. package/dist/docs/reference/evals.html +35 -35
  124. package/dist/docs/reference/extensions.html +35 -35
  125. package/dist/docs/reference/hooks.html +35 -35
  126. package/dist/docs/reference/http-api.html +35 -35
  127. package/dist/docs/reference/instructions.html +35 -35
  128. package/dist/docs/reference/playground.html +35 -35
  129. package/dist/docs/reference/project-layout.html +35 -35
  130. package/dist/docs/reference/prompt.html +35 -35
  131. package/dist/docs/reference/schedules.html +35 -35
  132. package/dist/docs/reference/sessions.html +35 -35
  133. package/dist/docs/reference/skills.html +35 -35
  134. package/dist/docs/reference/subagents.html +35 -35
  135. package/dist/docs/reference/tools.html +35 -35
  136. package/dist/docs/templates/agentic-owners.html +37 -37
  137. package/dist/docs/templates/agentic-owners.md +2 -0
  138. package/dist/docs/templates/grokbot-agents.html +35 -35
  139. package/dist/docs/templates/security-reviewer.html +38 -37
  140. package/dist/docs/templates/security-reviewer.md +7 -8
  141. package/dist/docs/templates/thermo-quality-review.html +37 -37
  142. package/dist/docs/templates/thermo-quality-review.md +2 -2
  143. package/dist/docs/templates/thermo-review.html +37 -37
  144. package/dist/docs/templates/thermo-review.md +2 -2
  145. package/dist/docs/templates/triage.html +38 -38
  146. package/dist/docs/templates/triage.md +6 -1
  147. package/dist/docs/troubleshooting.html +35 -35
  148. package/dist/evals.d.ts +2 -2
  149. package/dist/extensions/cursor-cloud-agents/extension.d.ts +14 -0
  150. package/dist/extensions/cursor-cloud-agents/extension.d.ts.map +1 -1
  151. package/dist/extensions/cursor-cloud-agents/extension.js +5 -0
  152. package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts +17 -0
  153. package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts.map +1 -0
  154. package/dist/extensions/cursor-cloud-agents/lib/watch.js +99 -0
  155. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts +19 -0
  156. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts.map +1 -0
  157. package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.js +71 -0
  158. package/dist/extensions/cursor-cloud-agents/skills/handoff.md +9 -5
  159. package/dist/extensions/cursor-cloud-agents/tools/cancel.d.ts.map +1 -1
  160. package/dist/extensions/cursor-cloud-agents/tools/cancel.js +3 -1
  161. package/dist/extensions/cursor-cloud-agents/tools/launch.d.ts.map +1 -1
  162. package/dist/extensions/cursor-cloud-agents/tools/launch.js +3 -2
  163. package/dist/extensions.d.ts +1 -1
  164. package/dist/extensions.js +1 -1
  165. package/dist/files-backends/cursor-hosted.d.ts +22 -83
  166. package/dist/files-backends/cursor-hosted.d.ts.map +1 -1
  167. package/dist/files-backends/cursor-hosted.js +46 -160
  168. package/dist/files.d.ts +9 -32
  169. package/dist/files.d.ts.map +1 -1
  170. package/dist/files.js +7 -32
  171. package/dist/internal/artifacts-store.d.ts +13 -25
  172. package/dist/internal/artifacts-store.d.ts.map +1 -1
  173. package/dist/internal/artifacts-store.js +25 -46
  174. package/dist/internal/cli-ax.d.ts +10 -17
  175. package/dist/internal/cli-ax.d.ts.map +1 -1
  176. package/dist/internal/cli-ax.js +92 -153
  177. package/dist/internal/cli-bitbucket.js +5 -5
  178. package/dist/internal/cli-deploy.d.ts +4 -1
  179. package/dist/internal/cli-deploy.d.ts.map +1 -1
  180. package/dist/internal/cli-deploy.js +117 -20
  181. package/dist/internal/cli-github.js +13 -13
  182. package/dist/internal/cli-gitlab.js +5 -5
  183. package/dist/internal/continuation-identity.d.ts +2 -0
  184. package/dist/internal/continuation-identity.d.ts.map +1 -1
  185. package/dist/internal/continuation-identity.js +4 -0
  186. package/dist/internal/conversation-mirror.d.ts +9 -38
  187. package/dist/internal/conversation-mirror.d.ts.map +1 -1
  188. package/dist/internal/conversation-mirror.js +62 -68
  189. package/dist/internal/cursor/account-mcp.d.ts +1 -1
  190. package/dist/internal/cursor/account-mcp.js +1 -1
  191. package/dist/internal/cursor/backend-client.js +1 -1
  192. package/dist/internal/cursor/github-credentials.js +3 -3
  193. package/dist/internal/cursor/hosted-bound-secrets.d.ts +6 -2
  194. package/dist/internal/cursor/hosted-bound-secrets.d.ts.map +1 -1
  195. package/dist/internal/cursor/hosted-bound-secrets.js +13 -2
  196. package/dist/internal/cursor/hosted-store-secrets.d.ts +13 -37
  197. package/dist/internal/cursor/hosted-store-secrets.d.ts.map +1 -1
  198. package/dist/internal/cursor/hosted-store-secrets.js +13 -37
  199. package/dist/internal/cursor/store-api-client.d.ts +17 -39
  200. package/dist/internal/cursor/store-api-client.d.ts.map +1 -1
  201. package/dist/internal/cursor/store-api-client.js +15 -37
  202. package/dist/internal/cursor-deployment-relay.js +3 -3
  203. package/dist/internal/cursor-event-relay.js +1 -1
  204. package/dist/internal/cursor-relay-core.d.ts +1 -1
  205. package/dist/internal/cursor-relay-core.d.ts.map +1 -1
  206. package/dist/internal/deploy-client.d.ts +55 -63
  207. package/dist/internal/deploy-client.d.ts.map +1 -1
  208. package/dist/internal/deploy-client.js +48 -28
  209. package/dist/internal/discovery/agent.d.ts +1 -1
  210. package/dist/internal/discovery/agent.d.ts.map +1 -1
  211. package/dist/internal/discovery/agent.js +4 -0
  212. package/dist/internal/discovery/extensions.d.ts +2 -1
  213. package/dist/internal/discovery/extensions.d.ts.map +1 -1
  214. package/dist/internal/discovery/extensions.js +11 -1
  215. package/dist/internal/discovery/project.d.ts.map +1 -1
  216. package/dist/internal/discovery/project.js +1 -0
  217. package/dist/internal/distribution.d.ts +2 -2
  218. package/dist/internal/distribution.d.ts.map +1 -1
  219. package/dist/internal/distribution.js +2 -2
  220. package/dist/internal/docs-site.js +3 -3
  221. package/dist/internal/eval-run-store.js +8 -8
  222. package/dist/internal/eval-runner.js +7 -4
  223. package/dist/internal/framework-file-storage.d.ts +10 -34
  224. package/dist/internal/framework-file-storage.d.ts.map +1 -1
  225. package/dist/internal/framework-file-storage.js +12 -39
  226. package/dist/internal/framework-storage-selection.d.ts +10 -46
  227. package/dist/internal/framework-storage-selection.d.ts.map +1 -1
  228. package/dist/internal/framework-storage-selection.js +15 -64
  229. package/dist/internal/github-fanout.js +2 -2
  230. package/dist/internal/handleAgentServeTrigger.d.ts +5 -8
  231. package/dist/internal/handleAgentServeTrigger.d.ts.map +1 -1
  232. package/dist/internal/handleAgentServeTrigger.js +5 -8
  233. package/dist/internal/host-files.js +6 -9
  234. package/dist/internal/host-platforms.js +5 -5
  235. package/dist/internal/hosted-catch.d.ts +3 -2
  236. package/dist/internal/hosted-catch.d.ts.map +1 -1
  237. package/dist/internal/hosted-catch.js +27 -9
  238. package/dist/internal/hosted-delivery-protocol.d.ts +31 -8
  239. package/dist/internal/hosted-delivery-protocol.d.ts.map +1 -1
  240. package/dist/internal/hosted-delivery-protocol.js +102 -1
  241. package/dist/internal/hosted-delivery.d.ts.map +1 -1
  242. package/dist/internal/hosted-delivery.js +32 -12
  243. package/dist/internal/hosted-execution-diag.d.ts +13 -24
  244. package/dist/internal/hosted-execution-diag.d.ts.map +1 -1
  245. package/dist/internal/hosted-execution-diag.js +11 -20
  246. package/dist/internal/hosted-execution-flush.d.ts +22 -10
  247. package/dist/internal/hosted-execution-flush.d.ts.map +1 -1
  248. package/dist/internal/hosted-execution-flush.js +45 -9
  249. package/dist/internal/hosted-managed-automation.js +5 -5
  250. package/dist/internal/hosting.d.ts +5 -10
  251. package/dist/internal/hosting.d.ts.map +1 -1
  252. package/dist/internal/hosting.js +5 -10
  253. package/dist/internal/init-interview.d.ts +0 -1
  254. package/dist/internal/init-interview.d.ts.map +1 -1
  255. package/dist/internal/init-interview.js +15 -24
  256. package/dist/internal/listen-port.js +1 -1
  257. package/dist/internal/local-control-plane.js +6 -6
  258. package/dist/internal/logs-client.d.ts +20 -1
  259. package/dist/internal/logs-client.d.ts.map +1 -1
  260. package/dist/internal/logs-client.js +89 -1
  261. package/dist/internal/mcp-endpoint.js +1 -1
  262. package/dist/internal/otel/collector.js +1 -1
  263. package/dist/internal/otel/runtime.js +13 -13
  264. package/dist/internal/platform-schedule-sync.js +2 -2
  265. package/dist/internal/platform-timers.d.ts +8 -1
  266. package/dist/internal/platform-timers.d.ts.map +1 -1
  267. package/dist/internal/platform-timers.js +10 -2
  268. package/dist/internal/playground/toolchain.js +6 -6
  269. package/dist/internal/process-memory-telemetry.js +2 -2
  270. package/dist/internal/reminder-control-plane-protocol.d.ts +8 -1
  271. package/dist/internal/reminder-control-plane-protocol.d.ts.map +1 -1
  272. package/dist/internal/reminder-runner.d.ts +13 -3
  273. package/dist/internal/reminder-runner.d.ts.map +1 -1
  274. package/dist/internal/reminder-runner.js +78 -53
  275. package/dist/internal/resolve-prod-target.d.ts +1 -9
  276. package/dist/internal/resolve-prod-target.d.ts.map +1 -1
  277. package/dist/internal/resolve-prod-target.js +1 -30
  278. package/dist/internal/resolved-connections.js +8 -8
  279. package/dist/internal/run-client.d.ts +11 -1
  280. package/dist/internal/run-client.d.ts.map +1 -1
  281. package/dist/internal/run-client.js +197 -59
  282. package/dist/internal/runtime-dispatch-runner.d.ts +1 -0
  283. package/dist/internal/runtime-dispatch-runner.d.ts.map +1 -1
  284. package/dist/internal/runtime-dispatch-runner.js +7 -1
  285. package/dist/internal/schedule-runner.js +1 -1
  286. package/dist/internal/sdk-runner.d.ts +4 -0
  287. package/dist/internal/sdk-runner.d.ts.map +1 -1
  288. package/dist/internal/sdk-runner.js +37 -22
  289. package/dist/internal/server.d.ts +8 -0
  290. package/dist/internal/server.d.ts.map +1 -1
  291. package/dist/internal/server.js +58 -45
  292. package/dist/internal/session-engine.d.ts +31 -44
  293. package/dist/internal/session-engine.d.ts.map +1 -1
  294. package/dist/internal/session-engine.js +67 -83
  295. package/dist/internal/session-links.d.ts.map +1 -1
  296. package/dist/internal/session-links.js +8 -7
  297. package/dist/internal/session-run-log.d.ts +10 -24
  298. package/dist/internal/session-run-log.d.ts.map +1 -1
  299. package/dist/internal/session-run-log.js +13 -27
  300. package/dist/internal/sessions-client.d.ts +1 -0
  301. package/dist/internal/sessions-client.d.ts.map +1 -1
  302. package/dist/internal/sessions-client.js +8 -3
  303. package/dist/internal/skills-sync.d.ts +3 -5
  304. package/dist/internal/skills-sync.d.ts.map +1 -1
  305. package/dist/internal/skills-sync.js +3 -5
  306. package/dist/internal/start-log-store.d.ts +7 -18
  307. package/dist/internal/start-log-store.d.ts.map +1 -1
  308. package/dist/internal/start-log-store.js +47 -24
  309. package/dist/internal/storage-coordinator.d.ts +7 -10
  310. package/dist/internal/storage-coordinator.d.ts.map +1 -1
  311. package/dist/internal/storage-coordinator.js +18 -20
  312. package/dist/internal/storage-roles.d.ts +5 -0
  313. package/dist/internal/storage-roles.d.ts.map +1 -1
  314. package/dist/internal/store-api-protocol.d.ts +12 -33
  315. package/dist/internal/store-api-protocol.d.ts.map +1 -1
  316. package/dist/internal/store-api-protocol.js +6 -22
  317. package/dist/internal/store-mirror.d.ts +4 -5
  318. package/dist/internal/store-mirror.d.ts.map +1 -1
  319. package/dist/internal/store-mirror.js +6 -8
  320. package/dist/internal/turn-lease-store.d.ts +12 -5
  321. package/dist/internal/turn-lease-store.d.ts.map +1 -1
  322. package/dist/internal/turn-lease-store.js +61 -8
  323. package/dist/internal/v2-hosting.d.ts +4 -7
  324. package/dist/internal/v2-hosting.d.ts.map +1 -1
  325. package/dist/internal/v2-hosting.js +4 -7
  326. package/dist/internal/workspace-sync.d.ts +3 -6
  327. package/dist/internal/workspace-sync.d.ts.map +1 -1
  328. package/dist/internal/workspace-sync.js +3 -6
  329. package/dist/internal/workspace.d.ts +10 -16
  330. package/dist/internal/workspace.d.ts.map +1 -1
  331. package/dist/internal/workspace.js +9 -14
  332. package/dist/memory.d.ts +17 -43
  333. package/dist/memory.d.ts.map +1 -1
  334. package/dist/memory.js +34 -80
  335. package/dist/playground/assets/index-DPKLl4C_.css +1 -0
  336. package/dist/playground/assets/index-MijLHTbB.js +71 -0
  337. package/dist/playground/index.html +2 -2
  338. package/dist/storage-backends/cursor-hosted-v2.d.ts +8 -36
  339. package/dist/storage-backends/cursor-hosted-v2.d.ts.map +1 -1
  340. package/dist/storage-backends/cursor-hosted-v2.js +9 -37
  341. package/dist/storage-backends/cursor-hosted.d.ts +17 -30
  342. package/dist/storage-backends/cursor-hosted.d.ts.map +1 -1
  343. package/dist/storage-backends/cursor-hosted.js +14 -27
  344. package/dist/storage-protocol.d.ts +13 -38
  345. package/dist/storage-protocol.d.ts.map +1 -1
  346. package/dist/storage-protocol.js +14 -39
  347. package/dist/types.d.ts +29 -30
  348. package/dist/types.d.ts.map +1 -1
  349. package/docs/evals.md +2 -2
  350. package/docs/reference/cli.md +20 -9
  351. package/docs/templates/agentic-owners.md +2 -0
  352. package/docs/templates/security-reviewer.md +7 -8
  353. package/docs/templates/thermo-quality-review.md +2 -2
  354. package/docs/templates/thermo-review.md +2 -2
  355. package/docs/templates/triage.md +6 -1
  356. package/package.json +1 -1
  357. package/templates/agents-md/evals/agents.eval.ts +1 -0
  358. package/templates/code-wiki/bot/instructions.md +4 -4
  359. package/templates/pr-autofixer/bot/instructions.md +3 -3
  360. package/templates/security-reviewer/README.md +5 -3
  361. package/templates/security-reviewer/bot/tools/post_findings.ts +8 -8
  362. package/templates/thermo-quality-review/bot/tools/post_findings.ts +8 -8
  363. package/templates/thermo-review/bot/tools/post_findings.ts +8 -8
  364. package/dist/docs/assets/chunks/@localSearchIndexroot.BITLoOQa.js +0 -1
  365. package/dist/docs/assets/chunks/channel.B46uXH41.js +0 -1
  366. package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.0cmCFsSf.js +0 -1
  367. package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.0cmCFsSf.js +0 -1
  368. package/dist/docs/assets/chunks/clone.1vTOFZT1.js +0 -1
  369. package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.CbsZcOOu.js +0 -1
  370. package/dist/docs/assets/chunks/wardley-RL74JXVD.DEA21akR.js +0 -162
  371. package/dist/docs/assets/reference_cli.md.BsgDqYPh.lean.js +0 -1
  372. package/dist/playground/assets/index-6BbTPnaT.css +0 -1
  373. package/dist/playground/assets/index-CI7FAmOP.js +0 -71
  374. /package/dist/docs/assets/{evals.md.LRCSn6Ik.lean.js → evals.md.C851kViu.lean.js} +0 -0
  375. /package/dist/docs/assets/{templates_thermo-quality-review.md.95qmTmr1.lean.js → templates_thermo-quality-review.md.B77UyTrX.lean.js} +0 -0
  376. /package/dist/docs/assets/{templates_thermo-review.md.DQh6Q0C-.lean.js → templates_thermo-review.md.DRJ7mC5U.lean.js} +0 -0
@@ -177,7 +177,9 @@ export function startServer(mounts_1) {
177
177
  explicitRepos: (_o = (_b = options.cursorEvents) === null || _b === void 0 ? void 0 : _b.repos) !== null && _o !== void 0 ? _o : [],
178
178
  targets: cursorOriginTargets,
179
179
  });
180
- const effectiveCursorEvents = (_p = cursorGithubConfig.cursorEvents) !== null && _p !== void 0 ? _p : (cursorOriginScope === undefined ? undefined : { repos: [...cursorOriginScope.repos] });
180
+ const effectiveCursorEvents = options.evals === true
181
+ ? undefined
182
+ : ((_p = cursorGithubConfig.cursorEvents) !== null && _p !== void 0 ? _p : (cursorOriginScope === undefined ? undefined : { repos: [...cursorOriginScope.repos] }));
181
183
  // One resolution for every Cursor credential consumer (SDK runner, account
182
184
  // MCP bridge, SCM event relay, GitHub credentials): explicit option →
183
185
  // CURSOR_API_KEY → CURSOR_API_KEY_FILE (or the hosted default path) →
@@ -237,13 +239,13 @@ export function startServer(mounts_1) {
237
239
  if (options.allowAnonymousCursorGithub !== true) {
238
240
  throw new Error("githubChannel({ cursorAccount: true }) cannot be served with --allow-anonymous because admitted callers could use the signed-in account's GitHub access. If every admitted caller is trusted (e.g. behind an SSO proxy), opt in with --allow-anonymous-cursor-github.");
239
241
  }
240
- logger("[agent-sdk] warning: --allow-anonymous-cursor-github — every admitted HTTP caller can drive sessions holding the signed-in account's repo-scoped GitHub credential; serve this only behind a trusted boundary (e.g. an SSO proxy)");
242
+ logger("[bdk] warning: --allow-anonymous-cursor-github — every admitted HTTP caller can drive sessions holding the signed-in account's repo-scoped GitHub credential; serve this only behind a trusted boundary (e.g. an SSO proxy)");
241
243
  if (githubApiKeyNow === undefined) {
242
- logger("[agent-sdk] GitHub auth: listening unsigned; credentials bind at task via CURSOR_API_KEY or CURSOR_API_KEY_FILE");
244
+ logger("[bdk] GitHub auth: listening unsigned; credentials bind at task via CURSOR_API_KEY or CURSOR_API_KEY_FILE");
243
245
  }
244
246
  }
245
247
  if (cursorGithubConfig.permissions === "contents-write") {
246
- logger('[agent-sdk] warning: Cursor GitHub credentials include contents:write — the host holds a push-capable token shared with model-driven tools and untrusted webhook content; prefer permissions: "pr-write" unless this agent must push code');
248
+ logger('[bdk] warning: Cursor GitHub credentials include contents:write — the host holds a push-capable token shared with model-driven tools and untrusted webhook content; prefer permissions: "pr-write" unless this agent must push code');
247
249
  }
248
250
  const githubAuthBaseUrl = cursorExternalApiUrl();
249
251
  const requireGithubApiKey = () => __awaiter(this, void 0, void 0, function* () {
@@ -284,7 +286,7 @@ export function startServer(mounts_1) {
284
286
  target.accountRuntime.credentials.bind(requireGithubApiKey);
285
287
  target.accountRuntime.credentials.bindProxyTransport(proxyTransport);
286
288
  }
287
- logger(`[agent-sdk] GitHub auth: channel API calls route through ${githubProxyUrl}`);
289
+ logger(`[bdk] GitHub auth: channel API calls route through ${githubProxyUrl}`);
288
290
  }
289
291
  else {
290
292
  for (const target of cursorGithubTargets) {
@@ -314,7 +316,7 @@ export function startServer(mounts_1) {
314
316
  getApiKey: requireGithubApiKey,
315
317
  transport: proxyTransport,
316
318
  });
317
- logger(`[agent-sdk] GitHub auth: channel and host API calls route through ${githubProxyUrl} (repo scope per request)`);
319
+ logger(`[bdk] GitHub auth: channel and host API calls route through ${githubProxyUrl} (repo scope per request)`);
318
320
  }
319
321
  }
320
322
  }
@@ -349,7 +351,7 @@ export function startServer(mounts_1) {
349
351
  }
350
352
  }
351
353
  if (gitlabTargets > 0) {
352
- logger(`[agent-sdk] GitLab auth: channel API calls route through ${gitlabProxyUrl}`);
354
+ logger(`[bdk] GitLab auth: channel API calls route through ${gitlabProxyUrl}`);
353
355
  }
354
356
  // Bitbucket `cursorAccount` channels: same shape, `/v0/bitbucket-proxy`
355
357
  // with `x-cursor-bitbucket-repos` scope. The proxy picks Cloud 2.0 or
@@ -382,7 +384,7 @@ export function startServer(mounts_1) {
382
384
  }
383
385
  }
384
386
  if (bitbucketTargets > 0) {
385
- logger(`[agent-sdk] Bitbucket auth: channel API calls route through ${bitbucketProxyUrl}`);
387
+ logger(`[bdk] Bitbucket auth: channel API calls route through ${bitbucketProxyUrl}`);
386
388
  }
387
389
  }
388
390
  const resolvedCursorGithubCredentials = cursorGithubCredentials;
@@ -401,7 +403,7 @@ export function startServer(mounts_1) {
401
403
  yield ensureDocsSiteBundle(logger);
402
404
  }
403
405
  if (options.allowAnonymous === true) {
404
- logger("[agent-sdk] warning: --allow-anonymous admits every HTTP caller as the same principal; use only on a trusted network (e.g. Tailscale) and prefer --bearer-token for shared hosts");
406
+ logger("[bdk] warning: --allow-anonymous admits every HTTP caller as the same principal; use only on a trusted network (e.g. Tailscale) and prefer --bearer-token for shared hosts");
405
407
  }
406
408
  // v2 hosted engines mirror the SDK conversation store to the deployment's
407
409
  // shared file storage so a fresh pod resumes threads instead of forking
@@ -459,7 +461,7 @@ export function startServer(mounts_1) {
459
461
  if (options.allowAnonymousGrokbot !== true) {
460
462
  throw new Error('runtime: "grokbot" cannot be served with --allow-anonymous because admitted callers could drive the signed-in account\'s hosted Grok Bot computer. If every admitted caller is trusted (e.g. behind an SSO proxy), opt in with --allow-anonymous-grokbot.');
461
463
  }
462
- logger("[agent-sdk] warning: --allow-anonymous-grokbot — every admitted HTTP caller can drive turns on the signed-in account's hosted Grok Bot computer; serve this only behind a trusted boundary (e.g. an SSO proxy)");
464
+ logger("[bdk] warning: --allow-anonymous-grokbot — every admitted HTTP caller can drive turns on the signed-in account's hosted Grok Bot computer; serve this only behind a trusted boundary (e.g. an SSO proxy)");
463
465
  }
464
466
  let runner = sdkRunner;
465
467
  if (hasGrokBotMounts && options.runner === undefined) {
@@ -480,7 +482,7 @@ export function startServer(mounts_1) {
480
482
  backendUrl: cursorExternalApiUrl(),
481
483
  }),
482
484
  });
483
- logger("[agent-sdk] grokbot runtime: remote client (turns run on the hosted Grok Bot harness)");
485
+ logger("[bdk] grokbot runtime: remote client (turns run on the hosted Grok Bot harness)");
484
486
  }
485
487
  const router = new Router();
486
488
  const runtimes = [];
@@ -503,7 +505,7 @@ export function startServer(mounts_1) {
503
505
  if (options.allowAnonymous === true &&
504
506
  options.allowAnonymousCursorAccountMcp === true &&
505
507
  accountRefsBySlug.size > 0) {
506
- logger("[agent-sdk] warning: --allow-anonymous-cursor-account-mcp — every admitted HTTP caller can drive Cursor account MCP connectors; serve this only behind a trusted boundary (e.g. an SSO proxy or hosted alias token)");
508
+ logger("[bdk] warning: --allow-anonymous-cursor-account-mcp — every admitted HTTP caller can drive Cursor account MCP connectors; serve this only behind a trusted boundary (e.g. an SSO proxy or hosted alias token)");
507
509
  }
508
510
  let accountBridge;
509
511
  if (accountRefsBySlug.size > 0) {
@@ -511,7 +513,7 @@ export function startServer(mounts_1) {
511
513
  throw new Error(`This project has Cursor account MCP connections (defineConnection({ cursorAccount: true })) but the host is not signed in to Cursor. ${SIGN_IN_HINT}`);
512
514
  }
513
515
  if (accountKey === undefined) {
514
- logger("[agent-sdk] Cursor account MCP: listening unsigned; credentials bind at task via CURSOR_API_KEY or CURSOR_API_KEY_FILE");
516
+ logger("[bdk] Cursor account MCP: listening unsigned; credentials bind at task via CURSOR_API_KEY or CURSOR_API_KEY_FILE");
515
517
  }
516
518
  accountBridge = new CursorAccountMcpBridge({
517
519
  client: new CursorBackendClient({
@@ -674,7 +676,7 @@ export function startServer(mounts_1) {
674
676
  yield definition.onStart(startArgs);
675
677
  }
676
678
  catch (error) {
677
- logger(`[agent-sdk] channel "${channel.id}" onStart failed: ${error instanceof Error ? ((_0 = error.stack) !== null && _0 !== void 0 ? _0 : error.message) : String(error)}`);
679
+ logger(`[bdk] channel "${channel.id}" onStart failed: ${error instanceof Error ? ((_0 = error.stack) !== null && _0 !== void 0 ? _0 : error.message) : String(error)}`);
678
680
  }
679
681
  }
680
682
  }
@@ -788,7 +790,15 @@ export function startServer(mounts_1) {
788
790
  validateMountConnectionsConfig(Object.assign(Object.assign({ slug,
789
791
  project, accountRefs: accountRefsBySlug.get(slug) }, (options.publicUrl === undefined ? {} : { publicUrl: options.publicUrl })), { cloudToolsBridge: options.cloudToolsUrl !== undefined }));
790
792
  }
791
- yield cursorGithubCredentials === null || cursorGithubCredentials === void 0 ? void 0 : cursorGithubCredentials.start();
793
+ try {
794
+ yield cursorGithubCredentials === null || cursorGithubCredentials === void 0 ? void 0 : cursorGithubCredentials.start();
795
+ }
796
+ catch (error) {
797
+ if (options.evals !== true) {
798
+ throw error;
799
+ }
800
+ logger(`[bdk] GitHub auth: no Cursor account credential (${error instanceof Error ? error.message : String(error)}); GitHub calls from eval sessions will fail`);
801
+ }
792
802
  // Cursor SCM events: v1 stays on the engine poll. v2 ingest is local-CP
793
803
  // only — hosted `--no-control-plane` skips the July poll (hosted CP wakes).
794
804
  const routeContinuation = localControlPlaneRoute(runtimes);
@@ -810,22 +820,24 @@ export function startServer(mounts_1) {
810
820
  localCp.attachScmEvents(controlPlaneScmRelay);
811
821
  }
812
822
  else {
813
- logger("[agent-sdk] cursor-events: skipping v2 scm-events poll (--no-control-plane); hosted CP owns ingest");
823
+ logger("[bdk] cursor-events: skipping v2 scm-events poll (--no-control-plane); hosted CP owns ingest");
814
824
  }
815
825
  }
816
826
  else if (hostedControlPlaneOwnsIngest && effectiveCursorEvents !== undefined) {
817
827
  // No credential was required above, so no relay object was built; the
818
828
  // outcome is the same skip.
819
- logger("[agent-sdk] cursor-events: skipping v2 scm-events poll (--no-control-plane); hosted CP owns ingest");
829
+ logger("[bdk] cursor-events: skipping v2 scm-events poll (--no-control-plane); hosted CP owns ingest");
820
830
  }
821
831
  // Cursor deployment-events relay: automatic when a mounted agent authored
822
832
  // `deploymentsChannel({ ... })`.
823
- const cursorDeploymentRelay = startCursorDeploymentRelay({
824
- options,
825
- runtimes,
826
- accountKey,
827
- logger,
828
- });
833
+ const cursorDeploymentRelay = options.evals === true
834
+ ? undefined
835
+ : startCursorDeploymentRelay({
836
+ options,
837
+ runtimes,
838
+ accountKey,
839
+ logger,
840
+ });
829
841
  // Trust --public-url's host when a reverse proxy rewrites Host.
830
842
  const browserOriginGuard = browserOriginGuardOptionsForPublicUrl(options.publicUrl);
831
843
  const server = createServer((req, res) => {
@@ -891,7 +903,7 @@ export function startServer(mounts_1) {
891
903
  : `${options.publicUrl.replace(/\/$/, "")}${basePath}${TOOL_MCP_ENDPOINT_PATH}`);
892
904
  if (publicToolsUrl === undefined) {
893
905
  if (hasServerTools) {
894
- logger(`[agent-sdk] warning: agent "${runtime.project.name}" has server tools but no --public-url or --cloud-tools-url; cloud turns omit those tools.`);
906
+ logger(`[bdk] warning: agent "${runtime.project.name}" has server tools but no --public-url or --cloud-tools-url; cloud turns omit those tools.`);
895
907
  }
896
908
  }
897
909
  else {
@@ -910,7 +922,7 @@ export function startServer(mounts_1) {
910
922
  if (options.allowAnonymous !== true) {
911
923
  throw new Error(`Agent "${runtime.project.name}" needs a Cursor API key to authenticate --cloud-tools-url. ${SIGN_IN_HINT}`);
912
924
  }
913
- logger(`[agent-sdk] --cloud-tools-url: listening unsigned; Bearer resolves after task-time credential binding`);
925
+ logger(`[bdk] --cloud-tools-url: listening unsigned; Bearer resolves after task-time credential binding`);
914
926
  }
915
927
  runtime.engine.setCloudServerToolsConnection(Object.assign({ type: "http", url: publicToolsUrl }, (headers === undefined ? {} : { headers })), resolveCloudToolsHeaders);
916
928
  }
@@ -1033,7 +1045,7 @@ export function startServer(mounts_1) {
1033
1045
  yield stop();
1034
1046
  }
1035
1047
  catch (error) {
1036
- logger(`[agent-sdk] channel onStop failed: ${error instanceof Error ? ((_b = error.stack) !== null && _b !== void 0 ? _b : error.message) : String(error)}`);
1048
+ logger(`[bdk] channel onStop failed: ${error instanceof Error ? ((_b = error.stack) !== null && _b !== void 0 ? _b : error.message) : String(error)}`);
1037
1049
  }
1038
1050
  }
1039
1051
  server.close();
@@ -1252,9 +1264,8 @@ function mountAgentRoutes(router, runtime, args) {
1252
1264
  const includeAll = relaxSessionReadAuth &&
1253
1265
  (relaxSessionReadAuthBeyondLoopback ||
1254
1266
  (typeof ctx.requestIp === "string" && isLoopbackAddress(ctx.requestIp)));
1255
- // `?latest=1` — only the newest visible session. Clients binding a
1256
- // default session (agsh) do not need the whole list, and on hosted
1257
- // storage the whole list is a database scan.
1267
+ // `?latest=1` returns only the newest visible session. Clients
1268
+ // binding a default session do not need the cost of a full listing.
1258
1269
  const latest = new URL(request.url).searchParams.get("latest");
1259
1270
  const listed = latest === "1" || latest === "true"
1260
1271
  ? yield engine.latestSessionWithSource(ctx.auth, { includeAll })
@@ -1865,7 +1876,7 @@ function requireCursorEventsAuth(config, accountKey) {
1865
1876
  var _a, _b, _c;
1866
1877
  const apiKey = ((_b = (_a = config.apiKey) !== null && _a !== void 0 ? _a : accountKey === null || accountKey === void 0 ? void 0 : accountKey.apiKey) !== null && _b !== void 0 ? _b : "").trim();
1867
1878
  if (apiKey === "") {
1868
- throw new Error(`[agent-sdk] --cursor-events (serve({ cursorEvents })) requires a signed-in Cursor account: the SCM event stream is read as the host's user. ${SIGN_IN_HINT}`);
1879
+ throw new Error(`[bdk] --cursor-events (serve({ cursorEvents })) requires a signed-in Cursor account: the SCM event stream is read as the host's user. ${SIGN_IN_HINT}`);
1869
1880
  }
1870
1881
  return {
1871
1882
  apiKey,
@@ -1930,7 +1941,7 @@ function assertSingleCursorEventsLane(input) {
1930
1941
  collectCursorEventSubscriptions(Object.assign({ mounts: input.v2Mounts }, shared)).length === 0) {
1931
1942
  return;
1932
1943
  }
1933
- throw new Error("[agent-sdk] cursor-events: refusing to serve v1 and v2 github/origin agents in one process — they would open two /v0/scm-events consumers. Serve one architecture per process.");
1944
+ throw new Error("[bdk] cursor-events: refusing to serve v1 and v2 github/origin agents in one process — they would open two /v0/scm-events consumers. Serve one architecture per process.");
1934
1945
  }
1935
1946
  function startCursorEventRelay(input) {
1936
1947
  var _a;
@@ -1946,17 +1957,17 @@ function startCursorEventRelay(input) {
1946
1957
  });
1947
1958
  if (subscriptions.length === 0) {
1948
1959
  if (input.lane === "engine" && input.skippedV2 === true) {
1949
- logger("[agent-sdk] cursor-events: no v1 github/origin targets; v2 ingest is control-plane only");
1960
+ logger("[bdk] cursor-events: no v1 github/origin targets; v2 ingest is control-plane only");
1950
1961
  }
1951
1962
  else if (input.lane === "control-plane") {
1952
1963
  return undefined;
1953
1964
  }
1954
1965
  else if (input.githubRepos.every(repo => repo.trim() === "") &&
1955
1966
  input.originRepos.every(repo => repo.trim() === "")) {
1956
- logger("[agent-sdk] cursor-events: no repos configured (pass --repo owner/name); relay disabled");
1967
+ logger("[bdk] cursor-events: no repos configured (pass --repo owner/name); relay disabled");
1957
1968
  }
1958
1969
  else {
1959
- logger("[agent-sdk] cursor-events: no mounted agent declares a github or origin channel; relay disabled");
1970
+ logger("[bdk] cursor-events: no mounted agent declares a github or origin channel; relay disabled");
1960
1971
  }
1961
1972
  return undefined;
1962
1973
  }
@@ -2009,16 +2020,16 @@ function startCursorEventRelay(input) {
2009
2020
  return relay;
2010
2021
  }
2011
2022
  relay.start();
2012
- logger(`[agent-sdk] cursor-events: relaying ${subscriptions.length} subscription(s) from ${auth.baseUrl}`);
2023
+ logger(`[bdk] cursor-events: relaying ${subscriptions.length} subscription(s) from ${auth.baseUrl}`);
2013
2024
  return relay;
2014
2025
  }
2015
2026
  function logCursorScmDispatch(logger, event, result) {
2016
2027
  const outcomes = result.targets.map(target => formatCursorScmDispatchOutcome(target)).join(", ");
2017
2028
  const rejected = result.targets.filter(target => target.status >= 400);
2018
2029
  if (rejected.length > 0) {
2019
- logger(`[agent-sdk] cursor-events: dropped ${formatCursorScmEventLog(event)} before hook: ${rejected.map(formatCursorScmDispatchOutcome).join(", ")}`);
2030
+ logger(`[bdk] cursor-events: dropped ${formatCursorScmEventLog(event)} before hook: ${rejected.map(formatCursorScmDispatchOutcome).join(", ")}`);
2020
2031
  }
2021
- logger(`[agent-sdk] cursor-events: dispatched ${formatCursorScmEventLog(event)}${outcomes === "" ? "" : ` → ${outcomes}`}`);
2032
+ logger(`[bdk] cursor-events: dispatched ${formatCursorScmEventLog(event)}${outcomes === "" ? "" : ` → ${outcomes}`}`);
2022
2033
  }
2023
2034
  function collectCursorGithubTargets(mounts) {
2024
2035
  const targets = [];
@@ -2161,7 +2172,7 @@ function startCursorDeploymentRelay(input) {
2161
2172
  }
2162
2173
  if (accountKey === undefined) {
2163
2174
  if (input.options.allowAnonymous === true) {
2164
- logger("[agent-sdk] deployment-events: skipped while unsigned; long-poll relays need a key at start");
2175
+ logger("[bdk] deployment-events: skipped while unsigned; long-poll relays need a key at start");
2165
2176
  return undefined;
2166
2177
  }
2167
2178
  throw new Error(`This project has channels subscribed to deployment events (deploymentsChannel({ ... })) but the host is not signed in to Cursor. ${SIGN_IN_HINT}`);
@@ -2171,7 +2182,7 @@ function startCursorDeploymentRelay(input) {
2171
2182
  // names every source, so a channel that omits the option registers nothing.
2172
2183
  const initial = liveDeploymentSubscriptionUnion(targets);
2173
2184
  if (initial.length === 0) {
2174
- logger(`[agent-sdk] deployment-events: no deploy sources yet on ${targets
2185
+ logger(`[bdk] deployment-events: no deploy sources yet on ${targets
2175
2186
  .map(target => `${target.runtime.slug || target.runtime.project.name}/${target.channelId}`)
2176
2187
  .join(", ")}; the relay will register when a channel lists some`);
2177
2188
  }
@@ -2204,7 +2215,7 @@ function startCursorDeploymentRelay(input) {
2204
2215
  }),
2205
2216
  });
2206
2217
  relay.start();
2207
- logger(`[agent-sdk] deployment-events: relaying ${initial.length} deploy-source subscription(s) to ${targets.length} channel(s)`);
2218
+ logger(`[bdk] deployment-events: relaying ${initial.length} deploy-source subscription(s) to ${targets.length} channel(s)`);
2208
2219
  return relay;
2209
2220
  }
2210
2221
  function buildChannelHandlerArgs(input) {
@@ -2289,7 +2300,7 @@ function handleRequest(router, req, res, logger, browserOriginGuard) {
2289
2300
  : errorResponse(mapped.status, mapped.code, mapped.message);
2290
2301
  }
2291
2302
  else {
2292
- logger(`[agent-sdk] request failed: ${error instanceof Error ? ((_c = error.stack) !== null && _c !== void 0 ? _c : error.message) : String(error)}`);
2303
+ logger(`[bdk] request failed: ${error instanceof Error ? ((_c = error.stack) !== null && _c !== void 0 ? _c : error.message) : String(error)}`);
2293
2304
  const snippet = hostedErrorStackSnippet(error);
2294
2305
  const message = hostedDeliveryRequest
2295
2306
  ? hostedErrorMessageOnly(error)
@@ -2310,7 +2321,7 @@ function handleRequest(router, req, res, logger, browserOriginGuard) {
2310
2321
  yield writeFetchResponse(response, res, method);
2311
2322
  }
2312
2323
  catch (error) {
2313
- logger(`[agent-sdk] response write failed: ${error instanceof Error ? error.message : String(error)}`);
2324
+ logger(`[bdk] response write failed: ${error instanceof Error ? error.message : String(error)}`);
2314
2325
  res.destroy();
2315
2326
  }
2316
2327
  });
@@ -2376,7 +2387,7 @@ function readBody(req) {
2376
2387
  return Buffer.concat(chunks);
2377
2388
  });
2378
2389
  }
2379
- function writeFetchResponse(response_1, res_1) {
2390
+ export function writeFetchResponse(response_1, res_1) {
2380
2391
  return __awaiter(this, arguments, void 0, function* (response, res, method = "GET") {
2381
2392
  const headers = {};
2382
2393
  response.headers.forEach((value, key) => {
@@ -2385,8 +2396,10 @@ function writeFetchResponse(response_1, res_1) {
2385
2396
  res.writeHead(response.status, headers);
2386
2397
  // HEAD responses must not include a body (RFC 9110 §9.3.2). Cancel any
2387
2398
  // handler-produced stream so long-lived GET handlers (e.g. session SSE)
2388
- // still unsubscribe when served via the HEAD→GET fallback.
2389
- if (method === "HEAD" || response.body === null) {
2399
+ // still unsubscribe when served via the HEAD→GET fallback. A client that
2400
+ // left while the handler ran gets no body either: its `close` has already
2401
+ // fired, so the loop below would wait on a drain that never comes.
2402
+ if (method === "HEAD" || response.body === null || res.destroyed) {
2390
2403
  if (response.body !== null) {
2391
2404
  void response.body.cancel().catch(() => { });
2392
2405
  }
@@ -127,8 +127,8 @@ export interface EngineResolvedConnection {
127
127
  export interface EngineSendOptions extends SendMessageOptions {
128
128
  mode?: "chat" | "task";
129
129
  /**
130
- * Hosted v2 control-plane identity. Private host plumbing only: channel
131
- * authors cannot choose a session id through the public SendMessageOptions.
130
+ * Platform-provided session identity for a hosted send or bound reminder.
131
+ * Channel authors cannot choose it through public SendMessageOptions.
132
132
  */
133
133
  hostedSessionId?: string;
134
134
  /**
@@ -170,7 +170,7 @@ export declare class SessionEngine {
170
170
  readonly storage: StorageCoordinator | undefined;
171
171
  /** In-flight lazy restores, deduped per channel + continuation key. */
172
172
  private readonly restoreInFlight;
173
- /** In-flight authored files → Agent Store syncs (see syncToCloudStore). */
173
+ /** In-flight authored-file syncs for cloud turns. */
174
174
  private readonly cloudSyncs;
175
175
  private readonly runner;
176
176
  private readonly logger;
@@ -244,7 +244,7 @@ export declare class SessionEngine {
244
244
  private resolvedConnections;
245
245
  /** Direct server-tool HTTP MCP transport exposed only to cloud turns. */
246
246
  private cloudServerToolsConnection;
247
- /** Re-resolved after hosted v2 task binding writes the Cursor credential. */
247
+ /** Lazily resolved Cursor credential for managed cloud tools. */
248
248
  private cloudServerToolsHeaders;
249
249
  private readonly getCloudUsage;
250
250
  private readonly estimateTurnCost;
@@ -472,48 +472,34 @@ export declare class SessionEngine {
472
472
  private scaffoldDir;
473
473
  private executeTurn;
474
474
  /**
475
- * Sync authored skills onto the Agent Store at `skills/<name>/…` (hosted)
476
- * or `agent-serve/<agent>/skills/<name>/…` (personal-key local+cloud)
477
- * before the first cloud prompt, so `--agent-store-skills-dir` and the
478
- * first-turn S3 scan can discover them. False when the sync fails: the
479
- * turn then runs without store skills rather than pointing discovery at
480
- * paths that do not exist.
475
+ * Sync authored skills to cloud-turn storage before the first prompt.
476
+ * Returns false on failure so the turn runs without unavailable skills.
481
477
  */
482
478
  private ensureCloudSkillsSynced;
483
479
  /**
484
- * Sync `agent/sandbox/workspace/**` seeds onto the Agent Store at
485
- * `workspace/…` (hosted) or `agent-serve/<agent>/workspace/…`
486
- * (personal-key local+cloud) before the first cloud prompt, which names
487
- * the mounted directory (see buildCloudWorkspaceSection).
480
+ * Sync authored workspace seeds before the first cloud prompt.
488
481
  */
489
482
  private ensureCloudWorkspaceSynced;
490
483
  /**
491
484
  * Replace this session's store prefix with the pending `workspaceFiles`.
492
485
  * Undefined when the write did not land; the prompt must not name the
493
- * mount, matching ensureCloudWorkspaceSynced.
486
+ * directory, matching ensureCloudWorkspaceSynced.
494
487
  */
495
488
  private syncCloudSessionWorkspaceFiles;
496
489
  private wipeCloudSessionWorkspace;
497
490
  private clearPendingWorkspaceFiles;
498
491
  /**
499
492
  * With files authored, every first cloud turn re-copies the authored
500
- * bytes and the memo only dedupes concurrent first turns. The mount is
501
- * writable from cloud sessions, so a once-per-process copy would let one
502
- * session's edits masquerade as agent definition for every later session
503
- * until the engine restarts; re-syncing keeps the store true to discovery
504
- * the same way local materialization always rewrites skills. Without
505
- * authored files the sync is best-effort stale cleanup and one attempt
506
- * per process is enough, success or not — a deployment without the files
507
- * surface must not fail and log on every new session for a feature it
508
- * does not use.
493
+ * bytes; the memo only dedupes concurrent first turns. Cloud sessions can
494
+ * edit their view, so re-syncing keeps later sessions true to discovery.
495
+ * Without authored files, one best-effort cleanup attempt per process is
496
+ * enough.
509
497
  */
510
498
  private syncToCloudStore;
511
499
  /**
512
- * Hosted deployments own the deployment store. Local `serve`/`run` with
513
- * a personal API key writes into the USER store under `agent-serve/`.
514
- * A persistent deployment's version container has no cloud store at all:
515
- * its state directory is the durable copy, and its service-account key
516
- * must not be mistaken for a personal one.
500
+ * Managed ephemeral deployments use deployment-scoped storage. Local cloud
501
+ * turns use user-scoped storage. Persistent managed deployments use their
502
+ * durable state directory instead.
517
503
  */
518
504
  private cloudStore;
519
505
  private buildTurnRequest;
@@ -717,18 +703,19 @@ export declare class SessionEngine {
717
703
  private channelEventHandlersFor;
718
704
  /**
719
705
  * Wait until everything this session has already emitted is durably
720
- * mirrored: its dispatch chain first (the chain's tail runs the turn-end
721
- * storage flush, so the record carries the boundary event's handler
722
- * mutations), then the storage delivery queue. Hosted v2 awaits this
723
- * before the execution reply — the pod can be parked the moment the
724
- * reply lands, and an unflushed session record would strand a
725
- * conversation whose blobs persisted but whose record (which selects the
726
- * conversation to hydrate) never reached the sink. No-op without a
727
- * storage mirror.
706
+ * mirrored: the runner's conversation mirror write, then its dispatch
707
+ * chain (the chain's tail runs the turn-end storage flush, so the record
708
+ * carries the boundary event's handler mutations), then the storage
709
+ * delivery queue. Managed hosting awaits this before the execution reply
710
+ * because the process may stop as soon as the reply lands. An unflushed
711
+ * record would strand an otherwise persisted conversation. The storage
712
+ * steps are no-ops without a storage mirror.
728
713
  *
729
714
  * Under a debounced event policy the turn-end flush is a timer, not the
730
- * chain's tail, so flush explicitly before waiting on the queue; a no-op
731
- * when the chain already flushed.
715
+ * chain's tail, so flush explicitly before waiting on the queue. The flush
716
+ * is exact: turn-end flushes skip records where only `turnCount` /
717
+ * `updatedAt` moved, and close() may never run to repair them, which would
718
+ * leave the durable turn count stale.
732
719
  */
733
720
  drainSessionDurability(sessionId: string): Promise<void>;
734
721
  waitForCompletion(sessionId: string): Promise<TurnOutcome>;
@@ -740,9 +727,9 @@ export declare class SessionEngine {
740
727
  * schedule/task sessions, other callers). The route auth chain still
741
728
  * gates who may call this at all.
742
729
  *
743
- * When the project uses `cursorHostedStorage`, prefers durable Bugbot rows
744
- * (merged with any newer local records not flushed yet). Falls back to the
745
- * local `--state-root` store when the sink is unavailable.
730
+ * When the project uses `cursorHostedStorage`, prefers Cursor-managed
731
+ * durable records, merged with any newer local records not flushed yet.
732
+ * Falls back to the local `--state-root` store when the sink is unavailable.
746
733
  */
747
734
  listSessions(caller: AuthContext | null, options?: {
748
735
  includeAll?: boolean;
@@ -775,7 +762,7 @@ export declare class SessionEngine {
775
762
  private ownedSessionIds;
776
763
  /**
777
764
  * Same as {@link listSessions}, plus which store answered
778
- * (`cursor-hosted` = durable DB via the control-plane proxy; `local` =
765
+ * (`cursor-hosted` = Cursor-managed durable storage; `local` =
779
766
  * `--state-root`).
780
767
  */
781
768
  listSessionsWithSource(caller: AuthContext | null, options?: {
@@ -867,7 +854,7 @@ export declare class SessionEngine {
867
854
  /**
868
855
  * Local session lookup with lazy restore by session id.
869
856
  *
870
- * `GET /v1/sessions` (cursor-hosted) can list durable rows that were not
857
+ * `GET /v1/sessions` (cursor-hosted) can list durable records that were not
871
858
  * bulk-restored into `--state-root` (restore caps, `restore: "off"`, or
872
859
  * eval Open-trace by id). Events/stream/follow-up must materialize that
873
860
  * one session before answering, or the playground shows an empty timeline
@@ -1 +1 @@
1
- {"version":3,"file":"session-engine.d.ts","sourceRoot":"","sources":["../../src/internal/session-engine.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AA0BxF,OAAO,EACL,KAAK,YAAY,EAEjB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,YAAY,EAEjB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAEtB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAIxB,KAAK,cAAc,EAEnB,KAAK,WAAW,EAGhB,KAAK,qBAAqB,EAK1B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EAMjB,KAAK,kBAAkB,EAEvB,KAAK,YAAY,EAEjB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,cAAc,EAEnB,KAAK,eAAe,EAGpB,KAAK,WAAW,EACjB,MAAM,aAAa,CAAC;AAQrB,OAAO,EAEL,KAAK,eAAe,EAIrB,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,KAAK,mBAAmB,EAAiB,MAAM,gBAAgB,CAAC;AAiBzE,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM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