@cursor/july 0.1.29 → 0.1.31

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 (392) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +10 -5
  3. package/dist/bin/agent-serve.js +4 -4
  4. package/dist/channels/github/index.d.ts +1 -1
  5. package/dist/channels/github/index.js +1 -1
  6. package/dist/channels/slack/bot-mentions.d.ts +1 -1
  7. package/dist/channels/slack/bot-mentions.d.ts.map +1 -1
  8. package/dist/channels/slack/bot-mentions.js +1 -1
  9. package/dist/channels/slack/eval-directive.js +1 -1
  10. package/dist/channels/slack/external-policy.d.ts +1 -1
  11. package/dist/channels/slack/external-policy.js +1 -1
  12. package/dist/channels/slack/log.d.ts +1 -1
  13. package/dist/channels/slack/log.js +1 -1
  14. package/dist/channels/slack/setup.js +1 -1
  15. package/dist/channels/slack/socket-mode.js +1 -1
  16. package/dist/docs/404.html +3 -3
  17. package/dist/docs/ab.html +11 -11
  18. package/dist/docs/assets/{ab.md.BMCZ6Hd7.js → ab.md.DAQoJ-up.js} +6 -6
  19. package/dist/docs/assets/{ab.md.BMCZ6Hd7.lean.js → ab.md.DAQoJ-up.lean.js} +1 -1
  20. package/dist/docs/assets/{app.QdunVQKg.js → app.DigB_9cQ.js} +1 -1
  21. package/dist/docs/assets/building-with-agents.md.CnHqvYDd.js +13 -0
  22. package/dist/docs/assets/{building-with-agents.md.CJCtZCyi.lean.js → building-with-agents.md.CnHqvYDd.lean.js} +1 -1
  23. package/dist/docs/assets/chunks/@localSearchIndexroot.CnFFl07y.js +1 -0
  24. package/dist/docs/assets/chunks/{VPLocalSearchBox.B6EpUXYf.js → VPLocalSearchBox.BCMX25Bv.js} +1 -1
  25. package/dist/docs/assets/chunks/{theme.BOTJVqh7.js → theme.BDDWeELx.js} +2 -2
  26. package/dist/docs/assets/concepts.md.DFaQEFkA.js +4 -0
  27. package/dist/docs/assets/concepts.md.DFaQEFkA.lean.js +1 -0
  28. package/dist/docs/assets/deployment.md.9MYBuKM1.js +55 -0
  29. package/dist/docs/assets/deployment.md.9MYBuKM1.lean.js +1 -0
  30. package/dist/docs/assets/{evals.md.DYOjkRCX.js → evals.md.BIUoVZ6X.js} +13 -13
  31. package/dist/docs/assets/evals.md.BIUoVZ6X.lean.js +1 -0
  32. package/dist/docs/assets/{example-agents_approval-buddy.md.DFGBYLcc.js → example-agents_approval-buddy.md.BhEfleVx.js} +4 -4
  33. package/dist/docs/assets/{example-agents_approval-buddy.md.DFGBYLcc.lean.js → example-agents_approval-buddy.md.BhEfleVx.lean.js} +1 -1
  34. package/dist/docs/assets/example-agents_benny.md.2Et1qa8f.js +7 -0
  35. package/dist/docs/assets/{example-agents_bugbot.md.DelIdhxB.js → example-agents_bugbot.md.ByUexi5i.js} +5 -5
  36. package/dist/docs/assets/{example-agents_codebase-wiki.md.DC6sgwn0.js → example-agents_codebase-wiki.md.B4y-7ZVW.js} +6 -6
  37. package/dist/docs/assets/{example-agents_codebase-wiki.md.DC6sgwn0.lean.js → example-agents_codebase-wiki.md.B4y-7ZVW.lean.js} +1 -1
  38. package/dist/docs/assets/{example-agents_codeowners-review.md.Ku_tG2RY.js → example-agents_codeowners-review.md.D6ay4nvf.js} +6 -6
  39. package/dist/docs/assets/{example-agents_codeowners-review.md.Ku_tG2RY.lean.js → example-agents_codeowners-review.md.D6ay4nvf.lean.js} +1 -1
  40. package/dist/docs/assets/{example-agents_concierge.md.4rQTSMXt.js → example-agents_concierge.md.lL8rhYlj.js} +7 -7
  41. package/dist/docs/assets/{example-agents_fsd.md.CzgUrDfi.js → example-agents_fsd.md.DfNKQTHz.js} +5 -5
  42. package/dist/docs/assets/example-agents_index.md.DgGBwckv.js +2 -0
  43. package/dist/docs/assets/example-agents_index.md.DgGBwckv.lean.js +1 -0
  44. package/dist/docs/assets/{example-agents_knowledge-base.md.BPJiVueF.js → example-agents_knowledge-base.md.CzyZ2DCr.js} +5 -5
  45. package/dist/docs/assets/{example-agents_knowledge-base.md.BPJiVueF.lean.js → example-agents_knowledge-base.md.CzyZ2DCr.lean.js} +1 -1
  46. package/dist/docs/assets/example-agents_oncall.md.wFFXXEyW.js +10 -0
  47. package/dist/docs/assets/{example-agents_security-reviewer.md.Dhj_m7_B.js → example-agents_security-reviewer.md.Dkf1gyo6.js} +8 -8
  48. package/dist/docs/assets/example-agents_slack-agent.md.DvgvT4nn.js +5 -0
  49. package/dist/docs/assets/example-agents_weather-agent.md.Dmrcphhl.js +24 -0
  50. package/dist/docs/assets/example-agents_weather-agent.md.Dmrcphhl.lean.js +1 -0
  51. package/dist/docs/assets/{guides_agent-to-agent.md.Bpzgq2Pq.js → guides_agent-to-agent.md.Bmbxy-FA.js} +4 -4
  52. package/dist/docs/assets/guides_cloud-runtime.md.BZ2GA7Es.js +9 -0
  53. package/dist/docs/assets/{guides_github.md.DOOCpqsW.js → guides_github.md.R2QlpR75.js} +5 -5
  54. package/dist/docs/assets/{guides_human-in-the-loop.md.DlUqsp1S.js → guides_human-in-the-loop.md.BWvT7UqY.js} +1 -1
  55. package/dist/docs/assets/{guides_mcp-oauth.md.Dd8EgSem.js → guides_mcp-oauth.md.C7G7IykG.js} +5 -5
  56. package/dist/docs/assets/guides_mcp-oauth.md.C7G7IykG.lean.js +1 -0
  57. package/dist/docs/assets/guides_slack.md.zriQpU_9.js +47 -0
  58. package/dist/docs/assets/guides_slack.md.zriQpU_9.lean.js +1 -0
  59. package/dist/docs/assets/{guides_webhooks.md.wSOYas3X.js → guides_webhooks.md.DiAwSR42.js} +1 -1
  60. package/dist/docs/assets/{hillclimbing.md.DHNast08.js → hillclimbing.md.D9Y1_bYh.js} +1 -1
  61. package/dist/docs/assets/index.md.CZqbBJPB.js +20 -0
  62. package/dist/docs/assets/index.md.CZqbBJPB.lean.js +1 -0
  63. package/dist/docs/assets/{quickstart.md.BU6Iwi_9.js → quickstart.md.TnEXYgYW.js} +12 -12
  64. package/dist/docs/assets/{reference_agent-config.md.DrW2JUM8.js → reference_agent-config.md.kuN6-OxK.js} +1 -1
  65. package/dist/docs/assets/reference_cli.md.sD-IUWjg.js +73 -0
  66. package/dist/docs/assets/{reference_cli.md.ccoKOoXt.lean.js → reference_cli.md.sD-IUWjg.lean.js} +1 -1
  67. package/dist/docs/assets/{reference_connections.md.B9Q3TOve.js → reference_connections.md.DGqAsFXb.js} +3 -3
  68. package/dist/docs/assets/reference_http-api.md.CfVM_ICa.js +11 -0
  69. package/dist/docs/assets/{reference_project-layout.md.Bd_CKtNS.js → reference_project-layout.md.D8E6ZmHJ.js} +4 -4
  70. package/dist/docs/assets/{reference_project-layout.md.Bd_CKtNS.lean.js → reference_project-layout.md.D8E6ZmHJ.lean.js} +1 -1
  71. package/dist/docs/assets/{reference_schedules.md.w_F2mXB6.js → reference_schedules.md.gmfYzf_I.js} +1 -1
  72. package/dist/docs/assets/{reference_sessions.md.DLd6mvbv.js → reference_sessions.md.C_ouF_uf.js} +3 -3
  73. package/dist/docs/assets/{reference_tools.md.BRSDnTbN.js → reference_tools.md.BswAQM41.js} +3 -3
  74. package/dist/docs/assets/{scaffolding-agents.md.C3pTrmoE.js → scaffolding-agents.md.Bsr9Pwzu.js} +1 -1
  75. package/dist/docs/assets/{scaffolding-agents.md.C3pTrmoE.lean.js → scaffolding-agents.md.Bsr9Pwzu.lean.js} +1 -1
  76. package/dist/docs/assets/{storage.md.DRTdnFvd.js → storage.md.xZoiGM58.js} +3 -3
  77. package/dist/docs/assets/storage.md.xZoiGM58.lean.js +1 -0
  78. package/dist/docs/assets/troubleshooting.md.B5RVX_tL.js +1 -0
  79. package/dist/docs/assets/{troubleshooting.md.CmQkmnzC.lean.js → troubleshooting.md.B5RVX_tL.lean.js} +1 -1
  80. package/dist/docs/building-with-agents.html +12 -12
  81. package/dist/docs/concepts.html +6 -6
  82. package/dist/docs/deployment.html +32 -32
  83. package/dist/docs/evals.html +19 -19
  84. package/dist/docs/example-agents/approval-buddy.html +9 -9
  85. package/dist/docs/example-agents/benny.html +11 -11
  86. package/dist/docs/example-agents/bugbot.html +10 -10
  87. package/dist/docs/example-agents/codebase-wiki.html +11 -11
  88. package/dist/docs/example-agents/codeowners-review.html +11 -11
  89. package/dist/docs/example-agents/concierge.html +12 -12
  90. package/dist/docs/example-agents/fsd.html +10 -10
  91. package/dist/docs/example-agents/index.html +7 -7
  92. package/dist/docs/example-agents/knowledge-base.html +10 -10
  93. package/dist/docs/example-agents/oncall.html +10 -10
  94. package/dist/docs/example-agents/security-reviewer.html +13 -13
  95. package/dist/docs/example-agents/slack-agent.html +10 -10
  96. package/dist/docs/example-agents/weather-agent.html +16 -16
  97. package/dist/docs/guides/agent-to-agent.html +9 -9
  98. package/dist/docs/guides/cloud-runtime.html +7 -7
  99. package/dist/docs/guides/github.html +10 -10
  100. package/dist/docs/guides/human-in-the-loop.html +7 -7
  101. package/dist/docs/guides/mcp-oauth.html +11 -11
  102. package/dist/docs/guides/slack.html +22 -17
  103. package/dist/docs/guides/webhooks.html +7 -7
  104. package/dist/docs/hashmap.json +1 -1
  105. package/dist/docs/hillclimbing.html +7 -7
  106. package/dist/docs/index.html +9 -9
  107. package/dist/docs/quickstart.html +17 -17
  108. package/dist/docs/reference/agent-config.html +7 -7
  109. package/dist/docs/reference/channels.html +5 -5
  110. package/dist/docs/reference/cli.html +56 -48
  111. package/dist/docs/reference/connections.html +9 -9
  112. package/dist/docs/reference/hooks.html +5 -5
  113. package/dist/docs/reference/http-api.html +7 -7
  114. package/dist/docs/reference/instructions.html +5 -5
  115. package/dist/docs/reference/playground.html +5 -5
  116. package/dist/docs/reference/project-layout.html +9 -9
  117. package/dist/docs/reference/prompt.html +5 -5
  118. package/dist/docs/reference/schedules.html +7 -7
  119. package/dist/docs/reference/sessions.html +8 -8
  120. package/dist/docs/reference/skills.html +5 -5
  121. package/dist/docs/reference/subagents.html +5 -5
  122. package/dist/docs/reference/tools.html +9 -9
  123. package/dist/docs/scaffolding-agents.html +6 -6
  124. package/dist/docs/storage.html +9 -9
  125. package/dist/docs/troubleshooting.html +6 -6
  126. package/dist/evals/reporters.d.ts +1 -1
  127. package/dist/evals/reporters.js +1 -1
  128. package/dist/evals.d.ts +2 -2
  129. package/dist/files-backends/agent-store-presigned-url.d.ts +100 -0
  130. package/dist/files-backends/agent-store-presigned-url.d.ts.map +1 -0
  131. package/dist/files-backends/agent-store-presigned-url.js +347 -0
  132. package/dist/files-backends/cursor-hosted.d.ts +87 -0
  133. package/dist/files-backends/cursor-hosted.d.ts.map +1 -0
  134. package/dist/files-backends/cursor-hosted.js +540 -0
  135. package/dist/files-backends/local-fs.d.ts +33 -0
  136. package/dist/files-backends/local-fs.d.ts.map +1 -0
  137. package/dist/files-backends/local-fs.js +199 -0
  138. package/dist/files.d.ts +139 -0
  139. package/dist/files.d.ts.map +1 -0
  140. package/dist/files.js +89 -0
  141. package/dist/internal/ab-collector.js +2 -2
  142. package/dist/internal/ab-fold.js +1 -1
  143. package/dist/internal/cli-ax.d.ts +2 -2
  144. package/dist/internal/cli-ax.js +2 -2
  145. package/dist/internal/cli-deploy.d.ts +1 -1
  146. package/dist/internal/cli-deploy.d.ts.map +1 -1
  147. package/dist/internal/cli-deploy.js +7 -2
  148. package/dist/internal/cli-docs.d.ts +1 -1
  149. package/dist/internal/cli-docs.js +1 -1
  150. package/dist/internal/cli-github.js +13 -13
  151. package/dist/internal/cli-mcp-oauth.d.ts +1 -1
  152. package/dist/internal/cli-mcp-oauth.js +2 -2
  153. package/dist/internal/cli-mcp.d.ts +3 -3
  154. package/dist/internal/cli-mcp.js +4 -4
  155. package/dist/internal/cli-skills.js +1 -1
  156. package/dist/internal/cloud-turn-cost.d.ts +9 -1
  157. package/dist/internal/cloud-turn-cost.d.ts.map +1 -1
  158. package/dist/internal/cloud-turn-cost.js +14 -4
  159. package/dist/internal/cursor/account-mcp.js +5 -5
  160. package/dist/internal/cursor/backend-client.js +1 -1
  161. package/dist/internal/cursor/github-credentials.js +3 -3
  162. package/dist/internal/cursor-account-mcp-auth.d.ts +1 -1
  163. package/dist/internal/cursor-account-mcp-auth.js +1 -1
  164. package/dist/internal/cursor-event-relay.js +1 -1
  165. package/dist/internal/cursor-relay-core.d.ts +1 -1
  166. package/dist/internal/cursor-relay-core.d.ts.map +1 -1
  167. package/dist/internal/cursor-slack-relay.js +1 -1
  168. package/dist/internal/deploy-client.d.ts +6 -1
  169. package/dist/internal/deploy-client.d.ts.map +1 -1
  170. package/dist/internal/deploy-client.js +3 -2
  171. package/dist/internal/deploy-source.d.ts +2 -2
  172. package/dist/internal/deploy-source.js +2 -2
  173. package/dist/internal/discovery.js +2 -2
  174. package/dist/internal/distribution.d.ts +5 -5
  175. package/dist/internal/distribution.d.ts.map +1 -1
  176. package/dist/internal/distribution.js +6 -6
  177. package/dist/internal/docs-site.js +5 -5
  178. package/dist/internal/eval-run-store.js +8 -8
  179. package/dist/internal/evals-client.d.ts +1 -1
  180. package/dist/internal/evals-client.js +1 -1
  181. package/dist/internal/github-fanout.js +2 -2
  182. package/dist/internal/host-files.d.ts +29 -0
  183. package/dist/internal/host-files.d.ts.map +1 -0
  184. package/dist/internal/host-files.js +283 -0
  185. package/dist/internal/host-platforms.js +5 -5
  186. package/dist/internal/hosting.d.ts +1 -1
  187. package/dist/internal/hosting.js +1 -1
  188. package/dist/internal/http-channel.d.ts.map +1 -1
  189. package/dist/internal/http-channel.js +26 -0
  190. package/dist/internal/install-cursor-skills.d.ts +1 -1
  191. package/dist/internal/install-cursor-skills.d.ts.map +1 -1
  192. package/dist/internal/install-cursor-skills.js +33 -4
  193. package/dist/internal/local-control-plane.js +2 -2
  194. package/dist/internal/logs-client.d.ts +2 -2
  195. package/dist/internal/logs-client.js +2 -2
  196. package/dist/internal/mcp-endpoint.js +1 -1
  197. package/dist/internal/mcp-oauth.js +2 -2
  198. package/dist/internal/platform-schedule-sync.js +2 -2
  199. package/dist/internal/playground/toolchain.js +6 -6
  200. package/dist/internal/reminder-runner.js +13 -13
  201. package/dist/internal/resolved-connections.js +6 -6
  202. package/dist/internal/schedule-runner.js +1 -1
  203. package/dist/internal/sdk-runner.js +5 -5
  204. package/dist/internal/server.js +16 -16
  205. package/dist/internal/session-cost.d.ts +3 -2
  206. package/dist/internal/session-cost.d.ts.map +1 -1
  207. package/dist/internal/session-cost.js +7 -6
  208. package/dist/internal/session-engine.d.ts +31 -1
  209. package/dist/internal/session-engine.d.ts.map +1 -1
  210. package/dist/internal/session-engine.js +119 -31
  211. package/dist/internal/slack-provision-client.js +1 -1
  212. package/dist/internal/storage-coordinator.js +7 -7
  213. package/dist/internal/trajectory.js +2 -2
  214. package/dist/internal/turn-cost.d.ts +27 -0
  215. package/dist/internal/turn-cost.d.ts.map +1 -0
  216. package/dist/internal/turn-cost.js +83 -0
  217. package/dist/internal/update-check.d.ts +3 -3
  218. package/dist/internal/update-check.d.ts.map +1 -1
  219. package/dist/internal/update-check.js +5 -5
  220. package/dist/memory.d.ts +1 -1
  221. package/dist/memory.js +1 -1
  222. package/dist/playground/assets/index-50PKeJlG.css +1 -0
  223. package/dist/playground/assets/index-C0f2Wl1q.js +85 -0
  224. package/dist/playground/index.html +2 -2
  225. package/dist/storage.d.ts +1 -1
  226. package/dist/storage.js +1 -1
  227. package/dist/types.d.ts +120 -16
  228. package/dist/types.d.ts.map +1 -1
  229. package/docs/README.md +23 -23
  230. package/docs/ab.md +12 -12
  231. package/docs/building-with-agents.md +9 -9
  232. package/docs/concepts.md +11 -11
  233. package/docs/deployment.md +55 -43
  234. package/docs/evals.md +20 -20
  235. package/docs/example-agents/approval-buddy.md +9 -9
  236. package/docs/example-agents/benny.md +13 -13
  237. package/docs/example-agents/bugbot.md +6 -6
  238. package/docs/example-agents/codebase-wiki.md +8 -8
  239. package/docs/example-agents/codeowners-review.md +8 -8
  240. package/docs/example-agents/concierge.md +10 -10
  241. package/docs/example-agents/fsd.md +7 -7
  242. package/docs/example-agents/index.md +8 -8
  243. package/docs/example-agents/knowledge-base.md +9 -9
  244. package/docs/example-agents/oncall.md +7 -7
  245. package/docs/example-agents/security-reviewer.md +12 -12
  246. package/docs/example-agents/slack-agent.md +10 -10
  247. package/docs/example-agents/weather-agent.md +30 -26
  248. package/docs/guides/agent-to-agent.md +4 -4
  249. package/docs/guides/cloud-runtime.md +3 -3
  250. package/docs/guides/github.md +6 -6
  251. package/docs/guides/human-in-the-loop.md +1 -1
  252. package/docs/guides/mcp-oauth.md +9 -9
  253. package/docs/guides/slack.md +94 -21
  254. package/docs/guides/webhooks.md +1 -1
  255. package/docs/hillclimbing.md +3 -3
  256. package/docs/quickstart.md +18 -18
  257. package/docs/reference/agent-config.md +1 -1
  258. package/docs/reference/cli.md +110 -79
  259. package/docs/reference/connections.md +3 -3
  260. package/docs/reference/http-api.md +2 -2
  261. package/docs/reference/project-layout.md +7 -7
  262. package/docs/reference/schedules.md +1 -1
  263. package/docs/reference/sessions.md +7 -7
  264. package/docs/reference/tools.md +3 -3
  265. package/docs/scaffolding-agents.md +2 -2
  266. package/docs/storage.md +5 -5
  267. package/docs/troubleshooting.md +11 -10
  268. package/package.json +3 -1
  269. package/skills/ab/SKILL.md +5 -5
  270. package/skills/create-agent/SKILL.md +17 -17
  271. package/skills/debug/SKILL.md +10 -10
  272. package/skills/evals/SKILL.md +13 -13
  273. package/skills/framework-map/SKILL.md +3 -3
  274. package/skills/github/SKILL.md +11 -11
  275. package/skills/hillclimb/SKILL.md +9 -9
  276. package/skills/mcp-auth/SKILL.md +11 -11
  277. package/skills/setup-slack/SKILL.md +28 -28
  278. package/src/bin/agent-serve.ts +4 -4
  279. package/src/channels/github/index.ts +1 -1
  280. package/src/channels/slack/bot-mentions.ts +1 -1
  281. package/src/channels/slack/eval-directive.ts +1 -1
  282. package/src/channels/slack/external-policy.ts +1 -1
  283. package/src/channels/slack/log.ts +1 -1
  284. package/src/channels/slack/setup.ts +1 -1
  285. package/src/channels/slack/socket-mode.ts +1 -1
  286. package/src/evals/reporters.ts +1 -1
  287. package/src/evals.ts +2 -2
  288. package/src/files-backends/agent-store-presigned-url.ts +402 -0
  289. package/src/files-backends/cursor-hosted.ts +698 -0
  290. package/src/files-backends/local-fs.ts +178 -0
  291. package/src/files.ts +195 -0
  292. package/src/internal/ab-collector.ts +2 -2
  293. package/src/internal/ab-fold.ts +1 -1
  294. package/src/internal/cli-ax.ts +2 -2
  295. package/src/internal/cli-deploy.ts +7 -2
  296. package/src/internal/cli-docs.ts +1 -1
  297. package/src/internal/cli-github.ts +13 -13
  298. package/src/internal/cli-mcp-oauth.ts +2 -2
  299. package/src/internal/cli-mcp.ts +4 -4
  300. package/src/internal/cli-skills.ts +1 -1
  301. package/src/internal/cloud-turn-cost.ts +20 -4
  302. package/src/internal/cursor/account-mcp.ts +5 -5
  303. package/src/internal/cursor/backend-client.ts +1 -1
  304. package/src/internal/cursor/github-credentials.ts +3 -3
  305. package/src/internal/cursor-account-mcp-auth.ts +1 -1
  306. package/src/internal/cursor-event-relay.ts +1 -1
  307. package/src/internal/cursor-relay-core.ts +1 -1
  308. package/src/internal/cursor-slack-relay.ts +1 -1
  309. package/src/internal/deploy-client.ts +8 -2
  310. package/src/internal/deploy-source.ts +2 -2
  311. package/src/internal/discovery.ts +2 -2
  312. package/src/internal/distribution.ts +6 -6
  313. package/src/internal/docs-site.ts +5 -5
  314. package/src/internal/eval-run-store.ts +8 -8
  315. package/src/internal/evals-client.ts +1 -1
  316. package/src/internal/github-fanout.ts +2 -2
  317. package/src/internal/host-files.ts +372 -0
  318. package/src/internal/host-platforms.ts +5 -5
  319. package/src/internal/hosting.ts +1 -1
  320. package/src/internal/http-channel.ts +30 -0
  321. package/src/internal/install-cursor-skills.ts +31 -3
  322. package/src/internal/local-control-plane.ts +2 -2
  323. package/src/internal/logs-client.ts +2 -2
  324. package/src/internal/mcp-endpoint.ts +1 -1
  325. package/src/internal/mcp-oauth.ts +2 -2
  326. package/src/internal/platform-schedule-sync.ts +2 -2
  327. package/src/internal/playground/toolchain.ts +6 -6
  328. package/src/internal/reminder-runner.ts +13 -13
  329. package/src/internal/resolved-connections.ts +6 -6
  330. package/src/internal/schedule-runner.ts +1 -1
  331. package/src/internal/sdk-runner.ts +5 -5
  332. package/src/internal/server.ts +16 -16
  333. package/src/internal/session-cost.ts +7 -6
  334. package/src/internal/session-engine.ts +141 -28
  335. package/src/internal/slack-provision-client.ts +1 -1
  336. package/src/internal/storage-coordinator.ts +7 -7
  337. package/src/internal/trajectory.ts +2 -2
  338. package/src/internal/turn-cost.ts +110 -0
  339. package/src/internal/update-check.ts +6 -6
  340. package/src/memory.ts +1 -1
  341. package/src/storage.ts +1 -1
  342. package/src/types.ts +148 -16
  343. package/dist/docs/assets/building-with-agents.md.CJCtZCyi.js +0 -13
  344. package/dist/docs/assets/chunks/@localSearchIndexroot.DGe61XHA.js +0 -1
  345. package/dist/docs/assets/concepts.md.Cfb9b-k1.js +0 -4
  346. package/dist/docs/assets/concepts.md.Cfb9b-k1.lean.js +0 -1
  347. package/dist/docs/assets/deployment.md.TecHo0_2.js +0 -55
  348. package/dist/docs/assets/deployment.md.TecHo0_2.lean.js +0 -1
  349. package/dist/docs/assets/evals.md.DYOjkRCX.lean.js +0 -1
  350. package/dist/docs/assets/example-agents_benny.md.B0gjhI-p.js +0 -7
  351. package/dist/docs/assets/example-agents_index.md.D2PEVSXl.js +0 -2
  352. package/dist/docs/assets/example-agents_index.md.D2PEVSXl.lean.js +0 -1
  353. package/dist/docs/assets/example-agents_oncall.md.BG_sUMly.js +0 -10
  354. package/dist/docs/assets/example-agents_slack-agent.md.buLbgvBf.js +0 -5
  355. package/dist/docs/assets/example-agents_weather-agent.md.C9Qv-W0o.js +0 -24
  356. package/dist/docs/assets/example-agents_weather-agent.md.C9Qv-W0o.lean.js +0 -1
  357. package/dist/docs/assets/guides_cloud-runtime.md.gVzabdQL.js +0 -9
  358. package/dist/docs/assets/guides_mcp-oauth.md.Dd8EgSem.lean.js +0 -1
  359. package/dist/docs/assets/guides_slack.md.CjmJSvZS.js +0 -42
  360. package/dist/docs/assets/guides_slack.md.CjmJSvZS.lean.js +0 -1
  361. package/dist/docs/assets/index.md.CH_s5uZe.js +0 -20
  362. package/dist/docs/assets/index.md.CH_s5uZe.lean.js +0 -1
  363. package/dist/docs/assets/reference_cli.md.ccoKOoXt.js +0 -65
  364. package/dist/docs/assets/reference_http-api.md.BncLd3PZ.js +0 -11
  365. package/dist/docs/assets/storage.md.DRTdnFvd.lean.js +0 -1
  366. package/dist/docs/assets/troubleshooting.md.CmQkmnzC.js +0 -1
  367. package/dist/internal/model-pricing.d.ts +0 -49
  368. package/dist/internal/model-pricing.d.ts.map +0 -1
  369. package/dist/internal/model-pricing.js +0 -377
  370. package/dist/playground/assets/index-CquRB-l0.js +0 -85
  371. package/dist/playground/assets/index-Dj0bWpkn.css +0 -1
  372. package/src/internal/model-pricing.ts +0 -426
  373. /package/dist/docs/assets/{example-agents_benny.md.B0gjhI-p.lean.js → example-agents_benny.md.2Et1qa8f.lean.js} +0 -0
  374. /package/dist/docs/assets/{example-agents_bugbot.md.DelIdhxB.lean.js → example-agents_bugbot.md.ByUexi5i.lean.js} +0 -0
  375. /package/dist/docs/assets/{example-agents_concierge.md.4rQTSMXt.lean.js → example-agents_concierge.md.lL8rhYlj.lean.js} +0 -0
  376. /package/dist/docs/assets/{example-agents_fsd.md.CzgUrDfi.lean.js → example-agents_fsd.md.DfNKQTHz.lean.js} +0 -0
  377. /package/dist/docs/assets/{example-agents_oncall.md.BG_sUMly.lean.js → example-agents_oncall.md.wFFXXEyW.lean.js} +0 -0
  378. /package/dist/docs/assets/{example-agents_security-reviewer.md.Dhj_m7_B.lean.js → example-agents_security-reviewer.md.Dkf1gyo6.lean.js} +0 -0
  379. /package/dist/docs/assets/{example-agents_slack-agent.md.buLbgvBf.lean.js → example-agents_slack-agent.md.DvgvT4nn.lean.js} +0 -0
  380. /package/dist/docs/assets/{guides_agent-to-agent.md.Bpzgq2Pq.lean.js → guides_agent-to-agent.md.Bmbxy-FA.lean.js} +0 -0
  381. /package/dist/docs/assets/{guides_cloud-runtime.md.gVzabdQL.lean.js → guides_cloud-runtime.md.BZ2GA7Es.lean.js} +0 -0
  382. /package/dist/docs/assets/{guides_github.md.DOOCpqsW.lean.js → guides_github.md.R2QlpR75.lean.js} +0 -0
  383. /package/dist/docs/assets/{guides_human-in-the-loop.md.DlUqsp1S.lean.js → guides_human-in-the-loop.md.BWvT7UqY.lean.js} +0 -0
  384. /package/dist/docs/assets/{guides_webhooks.md.wSOYas3X.lean.js → guides_webhooks.md.DiAwSR42.lean.js} +0 -0
  385. /package/dist/docs/assets/{hillclimbing.md.DHNast08.lean.js → hillclimbing.md.D9Y1_bYh.lean.js} +0 -0
  386. /package/dist/docs/assets/{quickstart.md.BU6Iwi_9.lean.js → quickstart.md.TnEXYgYW.lean.js} +0 -0
  387. /package/dist/docs/assets/{reference_agent-config.md.DrW2JUM8.lean.js → reference_agent-config.md.kuN6-OxK.lean.js} +0 -0
  388. /package/dist/docs/assets/{reference_connections.md.B9Q3TOve.lean.js → reference_connections.md.DGqAsFXb.lean.js} +0 -0
  389. /package/dist/docs/assets/{reference_http-api.md.BncLd3PZ.lean.js → reference_http-api.md.CfVM_ICa.lean.js} +0 -0
  390. /package/dist/docs/assets/{reference_schedules.md.w_F2mXB6.lean.js → reference_schedules.md.gmfYzf_I.lean.js} +0 -0
  391. /package/dist/docs/assets/{reference_sessions.md.DLd6mvbv.lean.js → reference_sessions.md.C_ouF_uf.lean.js} +0 -0
  392. /package/dist/docs/assets/{reference_tools.md.BRSDnTbN.lean.js → reference_tools.md.BswAQM41.lean.js} +0 -0
@@ -88,8 +88,8 @@ GitHub. Its only side effects are wiki files on the serve host.
88
88
  ## Validate the surface
89
89
 
90
90
  ```bash
91
- agentkit validate --dir examples/codebase-wiki
92
- agentkit info --dir examples/codebase-wiki --json
91
+ agent-sdk validate --dir examples/codebase-wiki
92
+ agent-sdk info --dir examples/codebase-wiki --json
93
93
  ```
94
94
 
95
95
  The manifest should report four server tools, one skill, one schedule,
@@ -100,9 +100,9 @@ and the authored GitHub channel.
100
100
  Replay a real merged PR as a closed delivery:
101
101
 
102
102
  ```bash
103
- agentkit dev examples/codebase-wiki
103
+ agent-sdk dev examples/codebase-wiki
104
104
 
105
- agentkit github replay https://github.com/owner/repo/pull/123 \
105
+ agent-sdk github replay https://github.com/owner/repo/pull/123 \
106
106
  --dir examples/codebase-wiki --action closed
107
107
  ```
108
108
 
@@ -118,7 +118,7 @@ section, and a changelog line citing the PR. Deterministic digest
118
118
  preparation works without a model turn:
119
119
 
120
120
  ```bash
121
- agentkit call ingest_pr \
121
+ agent-sdk call ingest_pr \
122
122
  --dir examples/codebase-wiki \
123
123
  --input '{"pr":"https://github.com/owner/repo/pull/123"}'
124
124
  ```
@@ -128,7 +128,7 @@ the model to change nothing.
128
128
 
129
129
  ## Run the daily digest
130
130
 
131
- The schedule fires at 07:00 UTC. Under `agentkit dev`, trigger it by
131
+ The schedule fires at 07:00 UTC. Under `agent-sdk dev`, trigger it by
132
132
  hand:
133
133
 
134
134
  ```bash
@@ -143,8 +143,8 @@ always count; a digest only claims a quiet day when no entry qualifies.
143
143
  ## Run the evals
144
144
 
145
145
  ```bash
146
- agentkit eval --dir examples/codebase-wiki --list
147
- agentkit eval --dir examples/codebase-wiki ingest/update-existing
146
+ agent-sdk eval --dir examples/codebase-wiki --list
147
+ agent-sdk eval --dir examples/codebase-wiki ingest/update-existing
148
148
  ```
149
149
 
150
150
  The cases seed a temp wiki through `CODEBASE_WIKI_DIR` and build
@@ -96,8 +96,8 @@ the same session through the `pr:<label>` continuation token.
96
96
  ## Validate the surface
97
97
 
98
98
  ```bash
99
- agentkit validate --dir examples/codeowners-review
100
- agentkit info --dir examples/codeowners-review --json
99
+ agent-sdk validate --dir examples/codeowners-review
100
+ agent-sdk info --dir examples/codeowners-review --json
101
101
  ```
102
102
 
103
103
  The manifest should report two server tools, one skill, one subagent,
@@ -106,9 +106,9 @@ and the authored GitHub channel.
106
106
  ## Inspect routing without a model turn
107
107
 
108
108
  ```bash
109
- agentkit call list_review_areas --dir examples/codeowners-review --input '{}'
109
+ agent-sdk call list_review_areas --dir examples/codeowners-review --input '{}'
110
110
 
111
- agentkit call prepare_review \
111
+ agent-sdk call prepare_review \
112
112
  --dir examples/codeowners-review \
113
113
  --input '{"pr":"fixture:multi-area"}'
114
114
  ```
@@ -123,7 +123,7 @@ adapt `reviews/REVIEWERS`.
123
123
  ## Review the planted fixture
124
124
 
125
125
  ```bash
126
- agentkit dev examples/codeowners-review
126
+ agent-sdk dev examples/codeowners-review
127
127
  ```
128
128
 
129
129
  In the playground:
@@ -146,7 +146,7 @@ Review a real PR the same way:
146
146
  Or replay one as a webhook delivery:
147
147
 
148
148
  ```bash
149
- agentkit github replay https://github.com/owner/repo/pull/123 \
149
+ agent-sdk github replay https://github.com/owner/repo/pull/123 \
150
150
  --dir examples/codeowners-review --action opened
151
151
  ```
152
152
 
@@ -162,8 +162,8 @@ APPROVE only when every non-advisory area approved.
162
162
  ## Run the evals
163
163
 
164
164
  ```bash
165
- agentkit eval --dir examples/codeowners-review --list
166
- agentkit eval --dir examples/codeowners-review review/multi-area
165
+ agent-sdk eval --dir examples/codeowners-review --list
166
+ agent-sdk eval --dir examples/codeowners-review review/multi-area
167
167
  ```
168
168
 
169
169
  `review/multi-area` gates the whole pipeline: `prepare_review` runs, at
@@ -6,7 +6,7 @@ description: "Delegate weather requests through a peer MCP connection while each
6
6
  # Compose agents with a concierge
7
7
 
8
8
  Concierge answers general questions itself and sends every weather question
9
- to the weather agent. The connection is one file. Agentkit turns the target
9
+ to the weather agent. The connection is one file. The Agent SDK turns the target
10
10
  agent's MCP endpoint into tools the concierge can call.
11
11
 
12
12
  Use this example when two agents are useful on their own and one should
@@ -51,7 +51,7 @@ comparison.
51
51
  classifies packing advice as weather-related.
52
52
  3. The model calls `weather.ask` with the city, timeframe, units, and the
53
53
  complete question.
54
- 4. Agentkit creates an MCP-channel session inside `weather-agent`.
54
+ 4. The Agent SDK creates an MCP-channel session inside `weather-agent`.
55
55
  5. Weather agent calls its own Open-Meteo tools and returns a reply.
56
56
  6. If the turn exceeds the bounded MCP wait, `ask` returns
57
57
  `status: "running"`. Concierge calls `weather.check` with the returned
@@ -87,8 +87,8 @@ isn't mounted.
87
87
  From `packages/agent-serve`, validate both projects:
88
88
 
89
89
  ```bash
90
- agentkit validate --dir examples/concierge
91
- agentkit validate --dir examples/weather-agent
90
+ agent-sdk validate --dir examples/concierge
91
+ agent-sdk validate --dir examples/weather-agent
92
92
  ```
93
93
 
94
94
  Don't serve the repository's whole `examples/` directory for this proof.
@@ -108,7 +108,7 @@ cp -R examples/weather-agent/agent/{tools,skills,mcp-connections,subagents,sched
108
108
  "$PAIR_DIR/weather-agent/agent/"
109
109
  cp -R examples/weather-agent/mcp "$PAIR_DIR/weather-agent/"
110
110
  cp examples/weather-agent/package.json "$PAIR_DIR/weather-agent/"
111
- agentkit dev "$PAIR_DIR"
111
+ agent-sdk dev "$PAIR_DIR"
112
112
  ```
113
113
 
114
114
  The host resolves the peer after it knows every mount. The local peer URL is
@@ -120,7 +120,7 @@ credential for both model turns.
120
120
  Send a weather request to the running Concierge:
121
121
 
122
122
  ```bash
123
- agentkit chat \
123
+ agent-sdk chat \
124
124
  --url http://127.0.0.1:3000/concierge \
125
125
  --message "What should I pack for Paris tomorrow?"
126
126
  ```
@@ -136,7 +136,7 @@ separate session on the `mcp` channel with live weather tool calls.
136
136
  Now send a general request:
137
137
 
138
138
  ```bash
139
- agentkit chat \
139
+ agent-sdk chat \
140
140
  --url http://127.0.0.1:3000/concierge \
141
141
  --message "Give me three ideas for a quiet weekend."
142
142
  ```
@@ -155,7 +155,7 @@ the second question needs facts or choices from the first.
155
155
 
156
156
  ## Keep delegation bounded
157
157
 
158
- Agentkit rejects unknown peer slugs and self-references during startup. It
158
+ The Agent SDK rejects unknown peer slugs and self-references during startup. It
159
159
  doesn't stop a cycle across several valid peers. If agent A delegates all work
160
160
  to B and B delegates all work to A, they can recurse.
161
161
 
@@ -175,12 +175,12 @@ Local turns reach peers over loopback. A cloud VM can't reach the serve
175
175
  host's loopback address. Set a public URL when a cloud agent needs the peer:
176
176
 
177
177
  ```bash
178
- agentkit serve --dir "$PAIR_DIR" \
178
+ agent-sdk serve --dir "$PAIR_DIR" \
179
179
  --public-url https://agents.example.com \
180
180
  --bearer-token "$AGENT_TOKEN"
181
181
  ```
182
182
 
183
- Agentkit attaches the bearer token to peer calls. Without `--public-url`,
183
+ The Agent SDK attaches the bearer token to peer calls. Without `--public-url`,
184
184
  cloud turns omit peer connections and the server logs a warning.
185
185
 
186
186
  ## Compose your own pair
@@ -41,7 +41,7 @@ execution, event wakes, and timed follow-ups.
41
41
  2. The root model calls `drive_pr` with the PR, mode, and optional hint.
42
42
  3. The tool calls `ctx.send("drive", ...)` with a per-session `cloud` block
43
43
  to attach the PR.
44
- 4. Agentkit creates or resumes the `drive` session keyed by
44
+ 4. The Agent SDK creates or resumes the `drive` session keyed by
45
45
  `pr:owner/repo#N`.
46
46
  5. The remote runtime provisions the agent and emits `agent.bound`.
47
47
  6. The enrollment hook writes PR affinity and calls the workflow backend to
@@ -119,9 +119,9 @@ long-lived host.
119
119
  ## Validate without starting remote work
120
120
 
121
121
  ```bash
122
- agentkit validate --dir examples/fsd
123
- agentkit info --dir examples/fsd --json
124
- agentkit github events --dir examples/fsd --json
122
+ agent-sdk validate --dir examples/fsd
123
+ agent-sdk info --dir examples/fsd --json
124
+ agent-sdk github events --dir examples/fsd --json
125
125
  ```
126
126
 
127
127
  These commands inspect discovery and declared GitHub events. They don't
@@ -158,7 +158,7 @@ authoritative mode.
158
158
  Run the host:
159
159
 
160
160
  ```bash
161
- agentkit dev examples/fsd
161
+ agent-sdk dev examples/fsd
162
162
  ```
163
163
 
164
164
  From chat:
@@ -168,7 +168,7 @@ From chat:
168
168
  Or call the coordinator tool:
169
169
 
170
170
  ```bash
171
- agentkit call drive_pr \
171
+ agent-sdk call drive_pr \
172
172
  --dir examples/fsd \
173
173
  --input '{"pr":"https://github.com/owner/repo/pull/123","mode":"suggest"}'
174
174
  ```
@@ -270,7 +270,7 @@ Development mode doesn't fire reminder timers automatically. Dispatch one
270
270
  through the dev reminder endpoint for a manual proof, or use non-dev `serve`
271
271
  to run the 30-minute cadence.
272
272
 
273
- The reminder's `run` handler lives in memory. After a host restart, agentkit
273
+ The reminder's `run` handler lives in memory. After a host restart, the Agent SDK
274
274
  disarms it with `handler_lost_on_restart`; a later drive or webhook path can
275
275
  arm a fresh handler. Persisted reminder metadata alone doesn't keep the check
276
276
  running.
@@ -1,9 +1,9 @@
1
1
  ---
2
- title: "Choose the right agentkit example"
2
+ title: "Choose the right Agent SDK example"
3
3
  description: "Compare all twelve example agents by runtime, channels, tools, state, and the framework pattern each one teaches."
4
4
  ---
5
5
 
6
- # Choose the right agentkit example
6
+ # Choose the right Agent SDK example
7
7
 
8
8
  The examples progress from one-channel assistants to durable, event-driven
9
9
  workflows. Start with the smallest agent for your use case. Each guide
@@ -13,7 +13,7 @@ design.
13
13
  The source projects live under
14
14
  [`examples/`](../../examples/). Run the commands below from
15
15
  `packages/agent-serve`. See [Run the CLI](../README.md#run-the-cli) if the
16
- `agentkit` command isn't installed.
16
+ `agent-sdk` command isn't installed.
17
17
 
18
18
  ## Compare the examples
19
19
 
@@ -34,7 +34,7 @@ The source projects live under
34
34
 
35
35
  ## Pick a learning path
36
36
 
37
- Use this order when you want to learn agentkit one capability at a time:
37
+ Use this order when you want to learn the Agent SDK one capability at a time:
38
38
 
39
39
  1. Start with [Weather agent](./weather-agent.md) to explore the filesystem
40
40
  conventions and local runtime.
@@ -60,7 +60,7 @@ Use this order when you want to learn agentkit one capability at a time:
60
60
 
61
61
  All examples require:
62
62
 
63
- - Node 22.13 or newer. Don't run agentkit under Bun.
63
+ - Node 22.13 or newer. Don't run the Agent SDK under Bun.
64
64
  - Workspace dependencies installed.
65
65
  - An agent-runtime credential for model turns.
66
66
 
@@ -83,11 +83,11 @@ Each guide lists its own credentials, services, and side effects.
83
83
  Discovery commands don't start a model turn:
84
84
 
85
85
  ```bash
86
- agentkit validate --dir examples/weather-agent
87
- agentkit info --dir examples/weather-agent --json
86
+ agent-sdk validate --dir examples/weather-agent
87
+ agent-sdk info --dir examples/weather-agent --json
88
88
  ```
89
89
 
90
- Start one development server with `agentkit dev examples/<name>`.
90
+ Start one development server with `agent-sdk dev examples/<name>`.
91
91
  Concierge depends on Weather agent, so its guide creates an isolated
92
92
  two-project mount. Don't mount the whole examples directory to test one
93
93
  agent; several advanced examples subscribe to live GitHub events.
@@ -82,8 +82,8 @@ Nothing else. The wiki is created on first write.
82
82
  ## Validate the surface
83
83
 
84
84
  ```bash
85
- agentkit validate --dir examples/knowledge-base
86
- agentkit info --dir examples/knowledge-base --json
85
+ agent-sdk validate --dir examples/knowledge-base
86
+ agent-sdk info --dir examples/knowledge-base --json
87
87
  ```
88
88
 
89
89
  The manifest should report three server tools, one skill, and one
@@ -92,15 +92,15 @@ schedule.
92
92
  ## Exercise the store without a model turn
93
93
 
94
94
  ```bash
95
- agentkit call wiki_write \
95
+ agent-sdk call wiki_write \
96
96
  --dir examples/knowledge-base \
97
97
  --input '{"page":"staging-database","content":"# Staging database\n\n- Port: 6432 (recorded 2026-07-19)\n"}'
98
98
 
99
- agentkit call wiki_search \
99
+ agent-sdk call wiki_search \
100
100
  --dir examples/knowledge-base \
101
101
  --input '{"query":"6432"}'
102
102
 
103
- agentkit call wiki_read --dir examples/knowledge-base --input '{}'
103
+ agent-sdk call wiki_read --dir examples/knowledge-base --input '{}'
104
104
  ```
105
105
 
106
106
  Invalid page ids fail fast. Try `{"page":"../escape"}` and the tool
@@ -109,7 +109,7 @@ returns the validation error instead of touching the filesystem.
109
109
  ## Prove recall across sessions
110
110
 
111
111
  ```bash
112
- agentkit dev examples/knowledge-base
112
+ agent-sdk dev examples/knowledge-base
113
113
  ```
114
114
 
115
115
  Teach it something in the playground:
@@ -132,7 +132,7 @@ source of truth.
132
132
 
133
133
  The `gardener` schedule fires at 06:00 UTC and rewrites the wiki for
134
134
  consistency: merge near-duplicate pages, rebuild `index`, and flag
135
- facts older than 90 days. Under `agentkit dev`, timers don't auto-fire.
135
+ facts older than 90 days. Under `agent-sdk dev`, timers don't auto-fire.
136
136
  Trigger it by hand:
137
137
 
138
138
  ```bash
@@ -142,8 +142,8 @@ curl -s -X POST http://127.0.0.1:3000/knowledge-base/v1/dev/schedules/gardener
142
142
  ## Run the evals
143
143
 
144
144
  ```bash
145
- agentkit eval --dir examples/knowledge-base --list
146
- agentkit eval --dir examples/knowledge-base knowledge/recall
145
+ agent-sdk eval --dir examples/knowledge-base --list
146
+ agent-sdk eval --dir examples/knowledge-base knowledge/recall
147
147
  ```
148
148
 
149
149
  The eval file seeds a temp directory through `KNOWLEDGE_BASE_DIR`
@@ -27,7 +27,7 @@ instead of answering every message.
27
27
  through; the agent's own posts always stay dropped.
28
28
  3. The handler reacts 👀 on the alert post and sets "Investigating…"
29
29
  typing. The reaction is the lock-in signal: this alert has an owner.
30
- 4. Agentkit creates a session keyed to the alert's thread and dispatches
30
+ 4. The Agent SDK creates a session keyed to the alert's thread and dispatches
31
31
  immediately. New alerts get no debounce.
32
32
  5. The agent reads the alert, gathers evidence, and posts findings to the
33
33
  thread once it has a hypothesis.
@@ -137,8 +137,8 @@ Channel watching is Socket Mode only, so this example uses a dedicated
137
137
  app:
138
138
 
139
139
  ```bash
140
- agentkit slack init --dir examples/oncall --name "Oncall" --channel-posts
141
- agentkit slack doctor --prefix ONCALL
140
+ agent-sdk slack init --dir examples/oncall --name "Oncall" --channel-posts
141
+ agent-sdk slack doctor --prefix ONCALL
142
142
  ```
143
143
 
144
144
  The generated manifest subscribes to `message.channels` and
@@ -157,9 +157,9 @@ thread.
157
157
  ## Validate and start the server
158
158
 
159
159
  ```bash
160
- agentkit validate --dir examples/oncall
161
- agentkit info --dir examples/oncall --json
162
- agentkit dev examples/oncall
160
+ agent-sdk validate --dir examples/oncall
161
+ agent-sdk info --dir examples/oncall --json
162
+ agent-sdk dev examples/oncall
163
163
  ```
164
164
 
165
165
  The info output lists four server tools and the watched channel on the
@@ -186,7 +186,7 @@ own posts never loop, and replies coalesce behind the quiet window.
186
186
  The smoke eval spends a model turn:
187
187
 
188
188
  ```bash
189
- agentkit eval --dir examples/oncall smoke --json
189
+ agent-sdk eval --dir examples/oncall smoke --json
190
190
  ```
191
191
 
192
192
  It checks identity and the reminder-tool route lexically. It doesn't prove
@@ -102,9 +102,9 @@ The active names live beside the orchestration in
102
102
  ## Validate the discovered agent
103
103
 
104
104
  ```bash
105
- agentkit validate --dir ../../factory/security-reviewer
106
- agentkit info --dir ../../factory/security-reviewer --json
107
- agentkit eval --dir ../../factory/security-reviewer --list
105
+ agent-sdk validate --dir ../../factory/security-reviewer
106
+ agent-sdk info --dir ../../factory/security-reviewer --json
107
+ agent-sdk eval --dir ../../factory/security-reviewer --list
108
108
  ```
109
109
 
110
110
  The manifest should show four server tools, two authored channels, one
@@ -129,15 +129,15 @@ calls below when a no-post proof must be enforced.
129
129
  Call each stage and pass `postComment: false` yourself:
130
130
 
131
131
  ```bash
132
- agentkit call prepare_review \
132
+ agent-sdk call prepare_review \
133
133
  --dir ../../factory/security-reviewer \
134
134
  --input '{"prUrl":"https://github.com/owner/repo/pull/123"}'
135
135
 
136
- agentkit call run_reviewers \
136
+ agent-sdk call run_reviewers \
137
137
  --dir ../../factory/security-reviewer \
138
138
  --input '{"runId":"<run-id>"}'
139
139
 
140
- agentkit call finalize_review \
140
+ agent-sdk call finalize_review \
141
141
  --dir ../../factory/security-reviewer \
142
142
  --input '{"runId":"<run-id>","postComment":false}'
143
143
  ```
@@ -154,7 +154,7 @@ stages can open the prepared `runId`.
154
154
  Run the dev server:
155
155
 
156
156
  ```bash
157
- agentkit dev ../../factory/security-reviewer
157
+ agent-sdk dev ../../factory/security-reviewer
158
158
  ```
159
159
 
160
160
  Open the printed playground and start a review. The custom
@@ -164,7 +164,7 @@ It refreshes every 500 ms while the stage runs. Each row shows a reviewer
164
164
  module's state, candidates, reviewed areas, and failure. A second section
165
165
  shows triage jobs and confirmed or rejected counts.
166
166
 
167
- This is an authored playground extension. Agentkit discovers it by the tool
167
+ This is an authored playground extension. The Agent SDK discovers it by the tool
168
168
  name, so the generic `run_reviewers` chip becomes a domain-specific view
169
169
  without changing the framework playground.
170
170
 
@@ -192,7 +192,7 @@ findings, accounting, and audit events.
192
192
 
193
193
  ## Separate session storage from review artifacts
194
194
 
195
- `defineStorage` + `cursorHostedStorage` sends agentkit session and event records
195
+ `defineStorage` + `cursorHostedStorage` sends Agent SDK session and event records
196
196
  to Cursor-hosted Bugbot storage through the control-plane proxy. Security
197
197
  Reviewer sets `restore: "off"` so startup doesn't load old review sessions in
198
198
  bulk. A continuation lookup can still fetch a needed session.
@@ -234,7 +234,7 @@ The channel currently accepts two configured repositories. It wakes on
234
234
  Inspect its event surface:
235
235
 
236
236
  ```bash
237
- agentkit github events \
237
+ agent-sdk github events \
238
238
  --dir ../../factory/security-reviewer \
239
239
  --json
240
240
  ```
@@ -243,7 +243,7 @@ Replay reaches the full publishing path:
243
243
 
244
244
  ```bash
245
245
  TEST_PR_URL=https://github.com/your-org/allowlisted-test-repo/pull/123
246
- agentkit github replay \
246
+ agent-sdk github replay \
247
247
  "$TEST_PR_URL" \
248
248
  --dir ../../factory/security-reviewer \
249
249
  --action opened
@@ -256,7 +256,7 @@ status and may post findings.
256
256
  ## Inspect the eval before running it
257
257
 
258
258
  ```bash
259
- agentkit eval --dir ../../factory/security-reviewer --list
259
+ agent-sdk eval --dir ../../factory/security-reviewer --list
260
260
  ```
261
261
 
262
262
  The case reads pinned metadata from the committed fixture and checks for all
@@ -31,7 +31,7 @@ status updates, and suggested prompts.
31
31
  1. A user mentions the agent or sends the host app a direct message naming
32
32
  it.
33
33
  2. The Slack relay selects this channel by its single-token `agentName`.
34
- 3. Agentkit maps the Slack channel and thread timestamp to a continuation
34
+ 3. The Agent SDK maps the Slack channel and thread timestamp to a continuation
35
35
  key.
36
36
  4. The local harness runs with
37
37
  [`instructions.md`](../../examples/slack-agent/agent/instructions.md).
@@ -45,7 +45,7 @@ or tool routing.
45
45
 
46
46
  | File | Purpose |
47
47
  | --- | --- |
48
- | [`package.json`](../../examples/slack-agent/package.json) | Declares the example package and agentkit dependency. |
48
+ | [`package.json`](../../examples/slack-agent/package.json) | Declares the example package and Agent SDK dependency. |
49
49
  | [`agent/agent.ts`](../../examples/slack-agent/agent/agent.ts) | Names the agent and selects the model. The omitted `runtime` defaults to local. |
50
50
  | [`agent/instructions.md`](../../examples/slack-agent/agent/instructions.md) | Sets the always-on response style. |
51
51
  | [`agent/channels/slack.ts`](../../examples/slack-agent/agent/channels/slack.ts) | Connects the signed-in host account to Slack. |
@@ -64,8 +64,8 @@ You need:
64
64
  Sign in and confirm the active account:
65
65
 
66
66
  ```bash
67
- agentkit login
68
- agentkit whoami
67
+ agent-sdk login
68
+ agent-sdk whoami
69
69
  ```
70
70
 
71
71
  The selected transport owns Slack credential setup. See the
@@ -75,9 +75,9 @@ options.
75
75
  ## Validate and start the server
76
76
 
77
77
  ```bash
78
- agentkit validate --dir examples/slack-agent
79
- agentkit info --dir examples/slack-agent --json
80
- agentkit dev examples/slack-agent
78
+ agent-sdk validate --dir examples/slack-agent
79
+ agent-sdk info --dir examples/slack-agent --json
80
+ agent-sdk dev examples/slack-agent
81
81
  ```
82
82
 
83
83
  The dev command prints the playground URL. It also mounts the Slack channel
@@ -85,7 +85,7 @@ and waits for relayed messages.
85
85
 
86
86
  In Slack, address the configured host app and router name, then send:
87
87
 
88
- > `<host-app mention> <router name>` Explain agentkit in three bullets.
88
+ > `<host-app mention> <router name>` Explain the Agent SDK in three bullets.
89
89
 
90
90
  Reply in the generated thread:
91
91
 
@@ -101,8 +101,8 @@ Every project gets the built-in HTTP channel even when no HTTP file exists.
101
101
  Run a one-shot turn through it:
102
102
 
103
103
  ```bash
104
- agentkit run --dir examples/slack-agent \
105
- --message "Explain agentkit simply."
104
+ agent-sdk run --dir examples/slack-agent \
105
+ --message "Explain the Agent SDK simply."
106
106
  ```
107
107
 
108
108
  The same project also exposes an MCP endpoint. Since this agent has no server