@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.
- package/AGENTS.md +1 -1
- package/README.md +10 -5
- package/dist/bin/agent-serve.js +4 -4
- package/dist/channels/github/index.d.ts +1 -1
- package/dist/channels/github/index.js +1 -1
- package/dist/channels/slack/bot-mentions.d.ts +1 -1
- package/dist/channels/slack/bot-mentions.d.ts.map +1 -1
- package/dist/channels/slack/bot-mentions.js +1 -1
- package/dist/channels/slack/eval-directive.js +1 -1
- package/dist/channels/slack/external-policy.d.ts +1 -1
- package/dist/channels/slack/external-policy.js +1 -1
- package/dist/channels/slack/log.d.ts +1 -1
- package/dist/channels/slack/log.js +1 -1
- package/dist/channels/slack/setup.js +1 -1
- package/dist/channels/slack/socket-mode.js +1 -1
- package/dist/docs/404.html +3 -3
- package/dist/docs/ab.html +11 -11
- package/dist/docs/assets/{ab.md.BMCZ6Hd7.js → ab.md.DAQoJ-up.js} +6 -6
- package/dist/docs/assets/{ab.md.BMCZ6Hd7.lean.js → ab.md.DAQoJ-up.lean.js} +1 -1
- package/dist/docs/assets/{app.QdunVQKg.js → app.DigB_9cQ.js} +1 -1
- package/dist/docs/assets/building-with-agents.md.CnHqvYDd.js +13 -0
- package/dist/docs/assets/{building-with-agents.md.CJCtZCyi.lean.js → building-with-agents.md.CnHqvYDd.lean.js} +1 -1
- package/dist/docs/assets/chunks/@localSearchIndexroot.CnFFl07y.js +1 -0
- package/dist/docs/assets/chunks/{VPLocalSearchBox.B6EpUXYf.js → VPLocalSearchBox.BCMX25Bv.js} +1 -1
- package/dist/docs/assets/chunks/{theme.BOTJVqh7.js → theme.BDDWeELx.js} +2 -2
- package/dist/docs/assets/concepts.md.DFaQEFkA.js +4 -0
- package/dist/docs/assets/concepts.md.DFaQEFkA.lean.js +1 -0
- package/dist/docs/assets/deployment.md.9MYBuKM1.js +55 -0
- package/dist/docs/assets/deployment.md.9MYBuKM1.lean.js +1 -0
- package/dist/docs/assets/{evals.md.DYOjkRCX.js → evals.md.BIUoVZ6X.js} +13 -13
- package/dist/docs/assets/evals.md.BIUoVZ6X.lean.js +1 -0
- package/dist/docs/assets/{example-agents_approval-buddy.md.DFGBYLcc.js → example-agents_approval-buddy.md.BhEfleVx.js} +4 -4
- package/dist/docs/assets/{example-agents_approval-buddy.md.DFGBYLcc.lean.js → example-agents_approval-buddy.md.BhEfleVx.lean.js} +1 -1
- package/dist/docs/assets/example-agents_benny.md.2Et1qa8f.js +7 -0
- package/dist/docs/assets/{example-agents_bugbot.md.DelIdhxB.js → example-agents_bugbot.md.ByUexi5i.js} +5 -5
- package/dist/docs/assets/{example-agents_codebase-wiki.md.DC6sgwn0.js → example-agents_codebase-wiki.md.B4y-7ZVW.js} +6 -6
- package/dist/docs/assets/{example-agents_codebase-wiki.md.DC6sgwn0.lean.js → example-agents_codebase-wiki.md.B4y-7ZVW.lean.js} +1 -1
- package/dist/docs/assets/{example-agents_codeowners-review.md.Ku_tG2RY.js → example-agents_codeowners-review.md.D6ay4nvf.js} +6 -6
- package/dist/docs/assets/{example-agents_codeowners-review.md.Ku_tG2RY.lean.js → example-agents_codeowners-review.md.D6ay4nvf.lean.js} +1 -1
- package/dist/docs/assets/{example-agents_concierge.md.4rQTSMXt.js → example-agents_concierge.md.lL8rhYlj.js} +7 -7
- package/dist/docs/assets/{example-agents_fsd.md.CzgUrDfi.js → example-agents_fsd.md.DfNKQTHz.js} +5 -5
- package/dist/docs/assets/example-agents_index.md.DgGBwckv.js +2 -0
- package/dist/docs/assets/example-agents_index.md.DgGBwckv.lean.js +1 -0
- package/dist/docs/assets/{example-agents_knowledge-base.md.BPJiVueF.js → example-agents_knowledge-base.md.CzyZ2DCr.js} +5 -5
- package/dist/docs/assets/{example-agents_knowledge-base.md.BPJiVueF.lean.js → example-agents_knowledge-base.md.CzyZ2DCr.lean.js} +1 -1
- package/dist/docs/assets/example-agents_oncall.md.wFFXXEyW.js +10 -0
- package/dist/docs/assets/{example-agents_security-reviewer.md.Dhj_m7_B.js → example-agents_security-reviewer.md.Dkf1gyo6.js} +8 -8
- package/dist/docs/assets/example-agents_slack-agent.md.DvgvT4nn.js +5 -0
- package/dist/docs/assets/example-agents_weather-agent.md.Dmrcphhl.js +24 -0
- package/dist/docs/assets/example-agents_weather-agent.md.Dmrcphhl.lean.js +1 -0
- package/dist/docs/assets/{guides_agent-to-agent.md.Bpzgq2Pq.js → guides_agent-to-agent.md.Bmbxy-FA.js} +4 -4
- package/dist/docs/assets/guides_cloud-runtime.md.BZ2GA7Es.js +9 -0
- package/dist/docs/assets/{guides_github.md.DOOCpqsW.js → guides_github.md.R2QlpR75.js} +5 -5
- package/dist/docs/assets/{guides_human-in-the-loop.md.DlUqsp1S.js → guides_human-in-the-loop.md.BWvT7UqY.js} +1 -1
- package/dist/docs/assets/{guides_mcp-oauth.md.Dd8EgSem.js → guides_mcp-oauth.md.C7G7IykG.js} +5 -5
- package/dist/docs/assets/guides_mcp-oauth.md.C7G7IykG.lean.js +1 -0
- package/dist/docs/assets/guides_slack.md.zriQpU_9.js +47 -0
- package/dist/docs/assets/guides_slack.md.zriQpU_9.lean.js +1 -0
- package/dist/docs/assets/{guides_webhooks.md.wSOYas3X.js → guides_webhooks.md.DiAwSR42.js} +1 -1
- package/dist/docs/assets/{hillclimbing.md.DHNast08.js → hillclimbing.md.D9Y1_bYh.js} +1 -1
- package/dist/docs/assets/index.md.CZqbBJPB.js +20 -0
- package/dist/docs/assets/index.md.CZqbBJPB.lean.js +1 -0
- package/dist/docs/assets/{quickstart.md.BU6Iwi_9.js → quickstart.md.TnEXYgYW.js} +12 -12
- package/dist/docs/assets/{reference_agent-config.md.DrW2JUM8.js → reference_agent-config.md.kuN6-OxK.js} +1 -1
- package/dist/docs/assets/reference_cli.md.sD-IUWjg.js +73 -0
- package/dist/docs/assets/{reference_cli.md.ccoKOoXt.lean.js → reference_cli.md.sD-IUWjg.lean.js} +1 -1
- package/dist/docs/assets/{reference_connections.md.B9Q3TOve.js → reference_connections.md.DGqAsFXb.js} +3 -3
- package/dist/docs/assets/reference_http-api.md.CfVM_ICa.js +11 -0
- package/dist/docs/assets/{reference_project-layout.md.Bd_CKtNS.js → reference_project-layout.md.D8E6ZmHJ.js} +4 -4
- package/dist/docs/assets/{reference_project-layout.md.Bd_CKtNS.lean.js → reference_project-layout.md.D8E6ZmHJ.lean.js} +1 -1
- package/dist/docs/assets/{reference_schedules.md.w_F2mXB6.js → reference_schedules.md.gmfYzf_I.js} +1 -1
- package/dist/docs/assets/{reference_sessions.md.DLd6mvbv.js → reference_sessions.md.C_ouF_uf.js} +3 -3
- package/dist/docs/assets/{reference_tools.md.BRSDnTbN.js → reference_tools.md.BswAQM41.js} +3 -3
- package/dist/docs/assets/{scaffolding-agents.md.C3pTrmoE.js → scaffolding-agents.md.Bsr9Pwzu.js} +1 -1
- package/dist/docs/assets/{scaffolding-agents.md.C3pTrmoE.lean.js → scaffolding-agents.md.Bsr9Pwzu.lean.js} +1 -1
- package/dist/docs/assets/{storage.md.DRTdnFvd.js → storage.md.xZoiGM58.js} +3 -3
- package/dist/docs/assets/storage.md.xZoiGM58.lean.js +1 -0
- package/dist/docs/assets/troubleshooting.md.B5RVX_tL.js +1 -0
- package/dist/docs/assets/{troubleshooting.md.CmQkmnzC.lean.js → troubleshooting.md.B5RVX_tL.lean.js} +1 -1
- package/dist/docs/building-with-agents.html +12 -12
- package/dist/docs/concepts.html +6 -6
- package/dist/docs/deployment.html +32 -32
- package/dist/docs/evals.html +19 -19
- package/dist/docs/example-agents/approval-buddy.html +9 -9
- package/dist/docs/example-agents/benny.html +11 -11
- package/dist/docs/example-agents/bugbot.html +10 -10
- package/dist/docs/example-agents/codebase-wiki.html +11 -11
- package/dist/docs/example-agents/codeowners-review.html +11 -11
- package/dist/docs/example-agents/concierge.html +12 -12
- package/dist/docs/example-agents/fsd.html +10 -10
- package/dist/docs/example-agents/index.html +7 -7
- package/dist/docs/example-agents/knowledge-base.html +10 -10
- package/dist/docs/example-agents/oncall.html +10 -10
- package/dist/docs/example-agents/security-reviewer.html +13 -13
- package/dist/docs/example-agents/slack-agent.html +10 -10
- package/dist/docs/example-agents/weather-agent.html +16 -16
- package/dist/docs/guides/agent-to-agent.html +9 -9
- package/dist/docs/guides/cloud-runtime.html +7 -7
- package/dist/docs/guides/github.html +10 -10
- package/dist/docs/guides/human-in-the-loop.html +7 -7
- package/dist/docs/guides/mcp-oauth.html +11 -11
- package/dist/docs/guides/slack.html +22 -17
- package/dist/docs/guides/webhooks.html +7 -7
- package/dist/docs/hashmap.json +1 -1
- package/dist/docs/hillclimbing.html +7 -7
- package/dist/docs/index.html +9 -9
- package/dist/docs/quickstart.html +17 -17
- package/dist/docs/reference/agent-config.html +7 -7
- package/dist/docs/reference/channels.html +5 -5
- package/dist/docs/reference/cli.html +56 -48
- package/dist/docs/reference/connections.html +9 -9
- package/dist/docs/reference/hooks.html +5 -5
- package/dist/docs/reference/http-api.html +7 -7
- package/dist/docs/reference/instructions.html +5 -5
- package/dist/docs/reference/playground.html +5 -5
- package/dist/docs/reference/project-layout.html +9 -9
- package/dist/docs/reference/prompt.html +5 -5
- package/dist/docs/reference/schedules.html +7 -7
- package/dist/docs/reference/sessions.html +8 -8
- package/dist/docs/reference/skills.html +5 -5
- package/dist/docs/reference/subagents.html +5 -5
- package/dist/docs/reference/tools.html +9 -9
- package/dist/docs/scaffolding-agents.html +6 -6
- package/dist/docs/storage.html +9 -9
- package/dist/docs/troubleshooting.html +6 -6
- package/dist/evals/reporters.d.ts +1 -1
- package/dist/evals/reporters.js +1 -1
- package/dist/evals.d.ts +2 -2
- package/dist/files-backends/agent-store-presigned-url.d.ts +100 -0
- package/dist/files-backends/agent-store-presigned-url.d.ts.map +1 -0
- package/dist/files-backends/agent-store-presigned-url.js +347 -0
- package/dist/files-backends/cursor-hosted.d.ts +87 -0
- package/dist/files-backends/cursor-hosted.d.ts.map +1 -0
- package/dist/files-backends/cursor-hosted.js +540 -0
- package/dist/files-backends/local-fs.d.ts +33 -0
- package/dist/files-backends/local-fs.d.ts.map +1 -0
- package/dist/files-backends/local-fs.js +199 -0
- package/dist/files.d.ts +139 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +89 -0
- package/dist/internal/ab-collector.js +2 -2
- package/dist/internal/ab-fold.js +1 -1
- package/dist/internal/cli-ax.d.ts +2 -2
- package/dist/internal/cli-ax.js +2 -2
- package/dist/internal/cli-deploy.d.ts +1 -1
- package/dist/internal/cli-deploy.d.ts.map +1 -1
- package/dist/internal/cli-deploy.js +7 -2
- package/dist/internal/cli-docs.d.ts +1 -1
- package/dist/internal/cli-docs.js +1 -1
- package/dist/internal/cli-github.js +13 -13
- package/dist/internal/cli-mcp-oauth.d.ts +1 -1
- package/dist/internal/cli-mcp-oauth.js +2 -2
- package/dist/internal/cli-mcp.d.ts +3 -3
- package/dist/internal/cli-mcp.js +4 -4
- package/dist/internal/cli-skills.js +1 -1
- package/dist/internal/cloud-turn-cost.d.ts +9 -1
- package/dist/internal/cloud-turn-cost.d.ts.map +1 -1
- package/dist/internal/cloud-turn-cost.js +14 -4
- package/dist/internal/cursor/account-mcp.js +5 -5
- package/dist/internal/cursor/backend-client.js +1 -1
- package/dist/internal/cursor/github-credentials.js +3 -3
- package/dist/internal/cursor-account-mcp-auth.d.ts +1 -1
- package/dist/internal/cursor-account-mcp-auth.js +1 -1
- package/dist/internal/cursor-event-relay.js +1 -1
- package/dist/internal/cursor-relay-core.d.ts +1 -1
- package/dist/internal/cursor-relay-core.d.ts.map +1 -1
- package/dist/internal/cursor-slack-relay.js +1 -1
- package/dist/internal/deploy-client.d.ts +6 -1
- package/dist/internal/deploy-client.d.ts.map +1 -1
- package/dist/internal/deploy-client.js +3 -2
- package/dist/internal/deploy-source.d.ts +2 -2
- package/dist/internal/deploy-source.js +2 -2
- package/dist/internal/discovery.js +2 -2
- package/dist/internal/distribution.d.ts +5 -5
- package/dist/internal/distribution.d.ts.map +1 -1
- package/dist/internal/distribution.js +6 -6
- package/dist/internal/docs-site.js +5 -5
- package/dist/internal/eval-run-store.js +8 -8
- package/dist/internal/evals-client.d.ts +1 -1
- package/dist/internal/evals-client.js +1 -1
- package/dist/internal/github-fanout.js +2 -2
- package/dist/internal/host-files.d.ts +29 -0
- package/dist/internal/host-files.d.ts.map +1 -0
- package/dist/internal/host-files.js +283 -0
- package/dist/internal/host-platforms.js +5 -5
- package/dist/internal/hosting.d.ts +1 -1
- package/dist/internal/hosting.js +1 -1
- package/dist/internal/http-channel.d.ts.map +1 -1
- package/dist/internal/http-channel.js +26 -0
- package/dist/internal/install-cursor-skills.d.ts +1 -1
- package/dist/internal/install-cursor-skills.d.ts.map +1 -1
- package/dist/internal/install-cursor-skills.js +33 -4
- package/dist/internal/local-control-plane.js +2 -2
- package/dist/internal/logs-client.d.ts +2 -2
- package/dist/internal/logs-client.js +2 -2
- package/dist/internal/mcp-endpoint.js +1 -1
- package/dist/internal/mcp-oauth.js +2 -2
- package/dist/internal/platform-schedule-sync.js +2 -2
- package/dist/internal/playground/toolchain.js +6 -6
- package/dist/internal/reminder-runner.js +13 -13
- package/dist/internal/resolved-connections.js +6 -6
- package/dist/internal/schedule-runner.js +1 -1
- package/dist/internal/sdk-runner.js +5 -5
- package/dist/internal/server.js +16 -16
- package/dist/internal/session-cost.d.ts +3 -2
- package/dist/internal/session-cost.d.ts.map +1 -1
- package/dist/internal/session-cost.js +7 -6
- package/dist/internal/session-engine.d.ts +31 -1
- package/dist/internal/session-engine.d.ts.map +1 -1
- package/dist/internal/session-engine.js +119 -31
- package/dist/internal/slack-provision-client.js +1 -1
- package/dist/internal/storage-coordinator.js +7 -7
- package/dist/internal/trajectory.js +2 -2
- package/dist/internal/turn-cost.d.ts +27 -0
- package/dist/internal/turn-cost.d.ts.map +1 -0
- package/dist/internal/turn-cost.js +83 -0
- package/dist/internal/update-check.d.ts +3 -3
- package/dist/internal/update-check.d.ts.map +1 -1
- package/dist/internal/update-check.js +5 -5
- package/dist/memory.d.ts +1 -1
- package/dist/memory.js +1 -1
- package/dist/playground/assets/index-50PKeJlG.css +1 -0
- package/dist/playground/assets/index-C0f2Wl1q.js +85 -0
- package/dist/playground/index.html +2 -2
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +1 -1
- package/dist/types.d.ts +120 -16
- package/dist/types.d.ts.map +1 -1
- package/docs/README.md +23 -23
- package/docs/ab.md +12 -12
- package/docs/building-with-agents.md +9 -9
- package/docs/concepts.md +11 -11
- package/docs/deployment.md +55 -43
- package/docs/evals.md +20 -20
- package/docs/example-agents/approval-buddy.md +9 -9
- package/docs/example-agents/benny.md +13 -13
- package/docs/example-agents/bugbot.md +6 -6
- package/docs/example-agents/codebase-wiki.md +8 -8
- package/docs/example-agents/codeowners-review.md +8 -8
- package/docs/example-agents/concierge.md +10 -10
- package/docs/example-agents/fsd.md +7 -7
- package/docs/example-agents/index.md +8 -8
- package/docs/example-agents/knowledge-base.md +9 -9
- package/docs/example-agents/oncall.md +7 -7
- package/docs/example-agents/security-reviewer.md +12 -12
- package/docs/example-agents/slack-agent.md +10 -10
- package/docs/example-agents/weather-agent.md +30 -26
- package/docs/guides/agent-to-agent.md +4 -4
- package/docs/guides/cloud-runtime.md +3 -3
- package/docs/guides/github.md +6 -6
- package/docs/guides/human-in-the-loop.md +1 -1
- package/docs/guides/mcp-oauth.md +9 -9
- package/docs/guides/slack.md +94 -21
- package/docs/guides/webhooks.md +1 -1
- package/docs/hillclimbing.md +3 -3
- package/docs/quickstart.md +18 -18
- package/docs/reference/agent-config.md +1 -1
- package/docs/reference/cli.md +110 -79
- package/docs/reference/connections.md +3 -3
- package/docs/reference/http-api.md +2 -2
- package/docs/reference/project-layout.md +7 -7
- package/docs/reference/schedules.md +1 -1
- package/docs/reference/sessions.md +7 -7
- package/docs/reference/tools.md +3 -3
- package/docs/scaffolding-agents.md +2 -2
- package/docs/storage.md +5 -5
- package/docs/troubleshooting.md +11 -10
- package/package.json +3 -1
- package/skills/ab/SKILL.md +5 -5
- package/skills/create-agent/SKILL.md +17 -17
- package/skills/debug/SKILL.md +10 -10
- package/skills/evals/SKILL.md +13 -13
- package/skills/framework-map/SKILL.md +3 -3
- package/skills/github/SKILL.md +11 -11
- package/skills/hillclimb/SKILL.md +9 -9
- package/skills/mcp-auth/SKILL.md +11 -11
- package/skills/setup-slack/SKILL.md +28 -28
- package/src/bin/agent-serve.ts +4 -4
- package/src/channels/github/index.ts +1 -1
- package/src/channels/slack/bot-mentions.ts +1 -1
- package/src/channels/slack/eval-directive.ts +1 -1
- package/src/channels/slack/external-policy.ts +1 -1
- package/src/channels/slack/log.ts +1 -1
- package/src/channels/slack/setup.ts +1 -1
- package/src/channels/slack/socket-mode.ts +1 -1
- package/src/evals/reporters.ts +1 -1
- package/src/evals.ts +2 -2
- package/src/files-backends/agent-store-presigned-url.ts +402 -0
- package/src/files-backends/cursor-hosted.ts +698 -0
- package/src/files-backends/local-fs.ts +178 -0
- package/src/files.ts +195 -0
- package/src/internal/ab-collector.ts +2 -2
- package/src/internal/ab-fold.ts +1 -1
- package/src/internal/cli-ax.ts +2 -2
- package/src/internal/cli-deploy.ts +7 -2
- package/src/internal/cli-docs.ts +1 -1
- package/src/internal/cli-github.ts +13 -13
- package/src/internal/cli-mcp-oauth.ts +2 -2
- package/src/internal/cli-mcp.ts +4 -4
- package/src/internal/cli-skills.ts +1 -1
- package/src/internal/cloud-turn-cost.ts +20 -4
- package/src/internal/cursor/account-mcp.ts +5 -5
- package/src/internal/cursor/backend-client.ts +1 -1
- package/src/internal/cursor/github-credentials.ts +3 -3
- package/src/internal/cursor-account-mcp-auth.ts +1 -1
- package/src/internal/cursor-event-relay.ts +1 -1
- package/src/internal/cursor-relay-core.ts +1 -1
- package/src/internal/cursor-slack-relay.ts +1 -1
- package/src/internal/deploy-client.ts +8 -2
- package/src/internal/deploy-source.ts +2 -2
- package/src/internal/discovery.ts +2 -2
- package/src/internal/distribution.ts +6 -6
- package/src/internal/docs-site.ts +5 -5
- package/src/internal/eval-run-store.ts +8 -8
- package/src/internal/evals-client.ts +1 -1
- package/src/internal/github-fanout.ts +2 -2
- package/src/internal/host-files.ts +372 -0
- package/src/internal/host-platforms.ts +5 -5
- package/src/internal/hosting.ts +1 -1
- package/src/internal/http-channel.ts +30 -0
- package/src/internal/install-cursor-skills.ts +31 -3
- package/src/internal/local-control-plane.ts +2 -2
- package/src/internal/logs-client.ts +2 -2
- package/src/internal/mcp-endpoint.ts +1 -1
- package/src/internal/mcp-oauth.ts +2 -2
- package/src/internal/platform-schedule-sync.ts +2 -2
- package/src/internal/playground/toolchain.ts +6 -6
- package/src/internal/reminder-runner.ts +13 -13
- package/src/internal/resolved-connections.ts +6 -6
- package/src/internal/schedule-runner.ts +1 -1
- package/src/internal/sdk-runner.ts +5 -5
- package/src/internal/server.ts +16 -16
- package/src/internal/session-cost.ts +7 -6
- package/src/internal/session-engine.ts +141 -28
- package/src/internal/slack-provision-client.ts +1 -1
- package/src/internal/storage-coordinator.ts +7 -7
- package/src/internal/trajectory.ts +2 -2
- package/src/internal/turn-cost.ts +110 -0
- package/src/internal/update-check.ts +6 -6
- package/src/memory.ts +1 -1
- package/src/storage.ts +1 -1
- package/src/types.ts +148 -16
- package/dist/docs/assets/building-with-agents.md.CJCtZCyi.js +0 -13
- package/dist/docs/assets/chunks/@localSearchIndexroot.DGe61XHA.js +0 -1
- package/dist/docs/assets/concepts.md.Cfb9b-k1.js +0 -4
- package/dist/docs/assets/concepts.md.Cfb9b-k1.lean.js +0 -1
- package/dist/docs/assets/deployment.md.TecHo0_2.js +0 -55
- package/dist/docs/assets/deployment.md.TecHo0_2.lean.js +0 -1
- package/dist/docs/assets/evals.md.DYOjkRCX.lean.js +0 -1
- package/dist/docs/assets/example-agents_benny.md.B0gjhI-p.js +0 -7
- package/dist/docs/assets/example-agents_index.md.D2PEVSXl.js +0 -2
- package/dist/docs/assets/example-agents_index.md.D2PEVSXl.lean.js +0 -1
- package/dist/docs/assets/example-agents_oncall.md.BG_sUMly.js +0 -10
- package/dist/docs/assets/example-agents_slack-agent.md.buLbgvBf.js +0 -5
- package/dist/docs/assets/example-agents_weather-agent.md.C9Qv-W0o.js +0 -24
- package/dist/docs/assets/example-agents_weather-agent.md.C9Qv-W0o.lean.js +0 -1
- package/dist/docs/assets/guides_cloud-runtime.md.gVzabdQL.js +0 -9
- package/dist/docs/assets/guides_mcp-oauth.md.Dd8EgSem.lean.js +0 -1
- package/dist/docs/assets/guides_slack.md.CjmJSvZS.js +0 -42
- package/dist/docs/assets/guides_slack.md.CjmJSvZS.lean.js +0 -1
- package/dist/docs/assets/index.md.CH_s5uZe.js +0 -20
- package/dist/docs/assets/index.md.CH_s5uZe.lean.js +0 -1
- package/dist/docs/assets/reference_cli.md.ccoKOoXt.js +0 -65
- package/dist/docs/assets/reference_http-api.md.BncLd3PZ.js +0 -11
- package/dist/docs/assets/storage.md.DRTdnFvd.lean.js +0 -1
- package/dist/docs/assets/troubleshooting.md.CmQkmnzC.js +0 -1
- package/dist/internal/model-pricing.d.ts +0 -49
- package/dist/internal/model-pricing.d.ts.map +0 -1
- package/dist/internal/model-pricing.js +0 -377
- package/dist/playground/assets/index-CquRB-l0.js +0 -85
- package/dist/playground/assets/index-Dj0bWpkn.css +0 -1
- package/src/internal/model-pricing.ts +0 -426
- /package/dist/docs/assets/{example-agents_benny.md.B0gjhI-p.lean.js → example-agents_benny.md.2Et1qa8f.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_bugbot.md.DelIdhxB.lean.js → example-agents_bugbot.md.ByUexi5i.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_concierge.md.4rQTSMXt.lean.js → example-agents_concierge.md.lL8rhYlj.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_fsd.md.CzgUrDfi.lean.js → example-agents_fsd.md.DfNKQTHz.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_oncall.md.BG_sUMly.lean.js → example-agents_oncall.md.wFFXXEyW.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_security-reviewer.md.Dhj_m7_B.lean.js → example-agents_security-reviewer.md.Dkf1gyo6.lean.js} +0 -0
- /package/dist/docs/assets/{example-agents_slack-agent.md.buLbgvBf.lean.js → example-agents_slack-agent.md.DvgvT4nn.lean.js} +0 -0
- /package/dist/docs/assets/{guides_agent-to-agent.md.Bpzgq2Pq.lean.js → guides_agent-to-agent.md.Bmbxy-FA.lean.js} +0 -0
- /package/dist/docs/assets/{guides_cloud-runtime.md.gVzabdQL.lean.js → guides_cloud-runtime.md.BZ2GA7Es.lean.js} +0 -0
- /package/dist/docs/assets/{guides_github.md.DOOCpqsW.lean.js → guides_github.md.R2QlpR75.lean.js} +0 -0
- /package/dist/docs/assets/{guides_human-in-the-loop.md.DlUqsp1S.lean.js → guides_human-in-the-loop.md.BWvT7UqY.lean.js} +0 -0
- /package/dist/docs/assets/{guides_webhooks.md.wSOYas3X.lean.js → guides_webhooks.md.DiAwSR42.lean.js} +0 -0
- /package/dist/docs/assets/{hillclimbing.md.DHNast08.lean.js → hillclimbing.md.D9Y1_bYh.lean.js} +0 -0
- /package/dist/docs/assets/{quickstart.md.BU6Iwi_9.lean.js → quickstart.md.TnEXYgYW.lean.js} +0 -0
- /package/dist/docs/assets/{reference_agent-config.md.DrW2JUM8.lean.js → reference_agent-config.md.kuN6-OxK.lean.js} +0 -0
- /package/dist/docs/assets/{reference_connections.md.B9Q3TOve.lean.js → reference_connections.md.DGqAsFXb.lean.js} +0 -0
- /package/dist/docs/assets/{reference_http-api.md.BncLd3PZ.lean.js → reference_http-api.md.CfVM_ICa.lean.js} +0 -0
- /package/dist/docs/assets/{reference_schedules.md.w_F2mXB6.lean.js → reference_schedules.md.gmfYzf_I.lean.js} +0 -0
- /package/dist/docs/assets/{reference_sessions.md.DLd6mvbv.lean.js → reference_sessions.md.C_ouF_uf.lean.js} +0 -0
- /package/dist/docs/assets/{reference_tools.md.BRSDnTbN.lean.js → reference_tools.md.BswAQM41.lean.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentkit-hillclimb
|
|
3
3
|
description: >-
|
|
4
|
-
Iterate on a specific
|
|
4
|
+
Iterate on a specific Agent SDK agent by running the local server,
|
|
5
5
|
sending real requests, measuring correctness/efficiency, and proposing
|
|
6
6
|
the next harness or prompt change. Read this skill when improving an
|
|
7
7
|
existing agent.
|
|
@@ -9,9 +9,9 @@ paths:
|
|
|
9
9
|
- packages/agent-serve/**/*
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Agent SDK hillclimb
|
|
13
13
|
|
|
14
|
-
Optimize one
|
|
14
|
+
Optimize one Agent SDK agent project
|
|
15
15
|
with a tight measure → change → remeasure loop. Do not redesign the
|
|
16
16
|
whole framework; climb one concrete failure mode at a time. Sibling skills:
|
|
17
17
|
`framework-map` (orientation), `evals` (the ratchet), `ab` (live variant
|
|
@@ -36,15 +36,15 @@ If those are missing, ask before editing.
|
|
|
36
36
|
A climb over a moving input is noise. Before round 1:
|
|
37
37
|
|
|
38
38
|
- **GitHub agents** — replay, don't wait for live events:
|
|
39
|
-
`
|
|
39
|
+
`agent-sdk github replay <pr> --dir <project>` synthesizes signed,
|
|
40
40
|
GitHub-shaped payloads from read access only, identically every run;
|
|
41
41
|
`--dry-run --out fixtures/github` snapshots them for offline replay.
|
|
42
42
|
- **Tool behavior** — isolate host tools from the model with
|
|
43
|
-
`
|
|
43
|
+
`agent-sdk call <tool> --dir <project> --input '{...}'` (schema-validated,
|
|
44
44
|
in-process, no turn). If the tool output is wrong, no prompt change fixes it.
|
|
45
|
-
- **Chat agents** — `
|
|
45
|
+
- **Chat agents** — `agent-sdk run --dir <project> --message "<fixture>"`
|
|
46
46
|
gives a JSON trajectory plus an NDJSON trace under
|
|
47
|
-
`<project>/.agent-serve/traces/`; `
|
|
47
|
+
`<project>/.agent-serve/traces/`; `agent-sdk trajectory --events <file>`
|
|
48
48
|
re-summarizes any saved trace.
|
|
49
49
|
- **Manual probes** — the playground Try modal on any channel route
|
|
50
50
|
remembers your last body per endpoint and has Copy curl; a successful Try
|
|
@@ -59,7 +59,7 @@ Repeat until the user stops or fixtures meet the criteria.
|
|
|
59
59
|
- Serve with Node (never Bun):
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
|
|
62
|
+
agent-sdk serve --dir <project> --dev
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
- Hit the agent the way a user would (channel HTTP, playground, Slack in
|
|
@@ -131,7 +131,7 @@ State the hypothesis in one sentence: *“If we X, metric Y should move because
|
|
|
131
131
|
- **Ratchet every kept change**: land an eval that would have failed before
|
|
132
132
|
it (tool-choice gate, `action.result` count bound, output-shape regex —
|
|
133
133
|
see `evals/SKILL.md`), and never weaken an existing gate to make a round
|
|
134
|
-
pass. `
|
|
134
|
+
pass. `agent-sdk eval --dir <project> --json` is the regression check
|
|
135
135
|
between rounds.
|
|
136
136
|
|
|
137
137
|
Present a short round report to the user before starting the next climb.
|
package/skills/mcp-auth/SKILL.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: agentkit-mcp-auth
|
|
3
3
|
description: >-
|
|
4
4
|
Authorize host MCP OAuth for defineConnection({ url, oauth: true }):
|
|
5
|
-
|
|
5
|
+
agent-sdk mcp oauth, local mcp-auth.json, --store deployment secrets,
|
|
6
6
|
hostOnly, and egress. Read when wiring or debugging MCP auth.
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Host MCP OAuth (mcp auth)
|
|
10
10
|
|
|
11
11
|
Use this skill when a human asks to authorize a remote MCP server on an
|
|
12
|
-
|
|
12
|
+
Agent SDK host, store credentials for Cursor-managed hosting, or debug
|
|
13
13
|
`host.mcp` auth failures for `oauth: true` connections.
|
|
14
14
|
|
|
15
15
|
Sibling skills: `framework-map` for layout, `create-agent` when scaffolding,
|
|
@@ -35,8 +35,8 @@ those tools.
|
|
|
35
35
|
- [ ] `agent/mcp-connections/<name>.ts` with `url` + `oauth: true` (+ `hostOnly` if privileged)
|
|
36
36
|
- [ ] `hosting.secretNames` lists `MCP_OAUTH_<NAME>_{ACCESS_TOKEN,REFRESH_TOKEN,CLIENT_ID}` when you will `--store`
|
|
37
37
|
- [ ] Hosted engines that reach non-bootstrap hosts declare `hosting.egressDomains`
|
|
38
|
-
- [ ] Local: `
|
|
39
|
-
- [ ] Hosted: `
|
|
38
|
+
- [ ] Local: `agent-sdk mcp oauth <name>` succeeds
|
|
39
|
+
- [ ] Hosted: `agent-sdk mcp oauth <name> --store` then redeploy; `secrets list` shows the names
|
|
40
40
|
|
|
41
41
|
## Phase 0 — Author the connection (agent)
|
|
42
42
|
|
|
@@ -83,7 +83,7 @@ Update instructions so the model does not hunt IDE MCP namespaces or
|
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
85
|
cd <agent-project>
|
|
86
|
-
|
|
86
|
+
agent-sdk mcp oauth <connection>
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Human completes the browser login. Callback:
|
|
@@ -95,12 +95,12 @@ re-run; resource URL binding drops the old entry.
|
|
|
95
95
|
|
|
96
96
|
## Phase 2 — Store on the deployment (agent + human)
|
|
97
97
|
|
|
98
|
-
Requires `
|
|
98
|
+
Requires `agent-sdk login` (or `CURSOR_API_KEY`) and deploy rights.
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
agent-sdk mcp oauth <connection> --store [--slug <slug>] [--team <id>]
|
|
102
|
+
agent-sdk secrets list <slug>
|
|
103
|
+
agent-sdk deploy # or your usual deploy; secrets apply next deploy
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
`--store` upserts access (required), refresh (if present), and client id
|
|
@@ -111,8 +111,8 @@ agentkit deploy # or your usual deploy; secrets apply next deploy
|
|
|
111
111
|
Local:
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
agent-sdk validate --dir .
|
|
115
|
+
agent-sdk call <tool-that-uses-host.mcp> --dir .
|
|
116
116
|
# or exercise the same path from the playground
|
|
117
117
|
```
|
|
118
118
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentkit-setup-slack
|
|
3
3
|
description: >-
|
|
4
|
-
Put an
|
|
4
|
+
Put an Agent SDK agent in Slack. Covers the required connection decision
|
|
5
5
|
(Cursor-hosted connection vs dedicated Socket Mode Slack app) with an
|
|
6
6
|
AskQuestion gate, then both setup paths end to end — cursorAccount
|
|
7
7
|
sign-in + smoke, or manifests, tokens, doctor, smoke test, and opt-in
|
|
8
8
|
Slack tool approvals (HITL). Read this skill when wiring Slack for an
|
|
9
|
-
|
|
9
|
+
Agent SDK project.
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
# Setup Slack for
|
|
12
|
+
# Setup Slack for the Agent SDK
|
|
13
13
|
|
|
14
|
-
Use this skill when a human asks to wire Slack to an
|
|
14
|
+
Use this skill when a human asks to wire Slack to an Agent SDK agent.
|
|
15
15
|
|
|
16
16
|
There are **two ways to connect**, and they differ mostly in setup cost:
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ There are **two ways to connect**, and they differ mostly in setup cost:
|
|
|
24
24
|
token pair. Required for channel watching, approval buttons, or a
|
|
25
25
|
distinct bot handle. When the workspace is enrolled in Cursor's
|
|
26
26
|
**Add to Slack** (feature gate + a workspace-manager consent),
|
|
27
|
-
`
|
|
27
|
+
`agent-sdk slack create` provisions all of it in one command.
|
|
28
28
|
|
|
29
29
|
**Do not generate manifests or ask for tokens until the decision below
|
|
30
30
|
is made.** Defaulting into Path B buries the user in Slack admin work
|
|
@@ -36,7 +36,7 @@ Walk the user through the tradeoffs before touching files:
|
|
|
36
36
|
|
|
37
37
|
| | A: Cursor-hosted | B: Dedicated Slack app |
|
|
38
38
|
| --- | --- | --- |
|
|
39
|
-
| Setup | Zero Slack admin — sign the host in (`
|
|
39
|
+
| Setup | Zero Slack admin — sign the host in (`agent-sdk login` / `CURSOR_API_KEY`) and serve | Enrolled in Cursor's Add to Slack: one `agent-sdk slack create` per env (app + install + tokens, signed-in host). Otherwise: a Slack admin creates **two** apps (dev + prod) from manifests, installs them, mints `xoxb-…` + `xapp-…` for each |
|
|
40
40
|
| Prereq | Cursor Slack integration installed in the workspace and linked to the Cursor account | Permission to create Slack apps; token storage/rotation is on you |
|
|
41
41
|
| How users reach it | `@Cursor <AgentName> …`, DMs to @Cursor, replies in claimed threads | Its own bot user: @mention, DM, channel invites |
|
|
42
42
|
| Identity | Posts as the Cursor app under the agent's name + icon | Own app name, avatar, and handle |
|
|
@@ -81,7 +81,7 @@ threaded reply. No Slack app, no tokens, no manifests.
|
|
|
81
81
|
### A1 — Author the channel (agent)
|
|
82
82
|
|
|
83
83
|
Write `agent/channels/slack.ts` by hand — do **not** run
|
|
84
|
-
`
|
|
84
|
+
`agent-sdk slack init` (that scaffolds the Path B manifests + env):
|
|
85
85
|
|
|
86
86
|
```ts
|
|
87
87
|
import { slackChannel } from "@cursor/july/channels/slack";
|
|
@@ -104,11 +104,11 @@ blocked by default; see `policy.blockExternals` in
|
|
|
104
104
|
### A2 — Sign in + serve (agent)
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
agent-sdk login # or export CURSOR_API_KEY
|
|
108
|
+
agent-sdk dev .
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
Confirm log: `[
|
|
111
|
+
Confirm log: `[agent-sdk] cursor-slack: relaying Slack for <AgentName> …`.
|
|
112
112
|
An unsigned host fails `serve` with a sign-in hint naming the channel.
|
|
113
113
|
|
|
114
114
|
### A3 — Smoke (human)
|
|
@@ -145,7 +145,7 @@ Goal:
|
|
|
145
145
|
|
|
146
146
|
Update `.agent-serve/slack/setup-status.json` as you complete phases.
|
|
147
147
|
|
|
148
|
-
### Provisioned variant — `
|
|
148
|
+
### Provisioned variant — `agent-sdk slack create` (primary when enrolled)
|
|
149
149
|
|
|
150
150
|
When the Slack workspace is enrolled in Cursor's **Add to Slack**
|
|
151
151
|
(the provisioning feature gate plus a workspace-manager consent), one
|
|
@@ -153,8 +153,8 @@ command collapses Phases 0–3 — manifest import, app creation, install,
|
|
|
153
153
|
and token minting:
|
|
154
154
|
|
|
155
155
|
```bash
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
agent-sdk slack create --dir <agent> # dev app (default)
|
|
157
|
+
agent-sdk slack create --dir <agent> --prod # prod app
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
`create` scaffolds `agent/channels/slack.ts` + the `.agent-serve/slack`
|
|
@@ -163,11 +163,11 @@ consent flow when the workspace is not connected yet, provisions +
|
|
|
163
163
|
installs the app, writes `<PREFIX>_SLACK_BOT_TOKEN` /
|
|
164
164
|
`<PREFIX>_SLACK_APP_TOKEN` into `<dir>/.env.local` (replacing stale
|
|
165
165
|
lines), and finishes with `doctor`. It needs a signed-in host
|
|
166
|
-
(`
|
|
166
|
+
(`agent-sdk login` / `CURSOR_API_KEY`). Pass `--slack-team <id>` when
|
|
167
167
|
several workspaces are connected. If the install lands in
|
|
168
168
|
`pending_admin_approval`, a Slack workspace admin must approve the
|
|
169
169
|
printed link — then re-run `create` to finish and mint the tokens.
|
|
170
|
-
`
|
|
170
|
+
`agent-sdk slack destroy` deletes the provisioned app (tokens left in
|
|
171
171
|
`.env.local` simply stop working). Skip to Phase 4 when `create`
|
|
172
172
|
succeeds — `dev`/`serve` load the agent's `.env.local` (real env wins).
|
|
173
173
|
Note: re-running `create` rebuilds the app manifest from the command's
|
|
@@ -222,7 +222,7 @@ MY_AGENT_SLACK_APP_TOKEN=xapp-…
|
|
|
222
222
|
```
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
|
-
|
|
225
|
+
agent-sdk slack doctor --prefix MY_AGENT
|
|
226
226
|
```
|
|
227
227
|
|
|
228
228
|
Stop when `app_token`, `connections_open`, `bot_token`, and `auth_test` are green.
|
|
@@ -230,10 +230,10 @@ Stop when `app_token`, `connections_open`, `bot_token`, and `auth_test` are gree
|
|
|
230
230
|
### Phase 4 — Serve + smoke (agent + human)
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
|
-
|
|
233
|
+
agent-sdk dev .
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
Confirm log: `[
|
|
236
|
+
Confirm log: `[agent-sdk/slack] Socket Mode connected`.
|
|
237
237
|
|
|
238
238
|
When tokens are missing the channel logs
|
|
239
239
|
`channel idle reason=missing credentials need=…` and `serve` continues — useful
|
|
@@ -336,14 +336,14 @@ Requirements and caveats:
|
|
|
336
336
|
tooling; Path A needs only `login`.
|
|
337
337
|
|
|
338
338
|
```bash
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
339
|
+
agent-sdk slack setup
|
|
340
|
+
agent-sdk slack create --dir . # provision via Add to Slack (dev app)
|
|
341
|
+
agent-sdk slack create --dir . --prod # prod app
|
|
342
|
+
agent-sdk slack create --dir . --slack-team T0123ABCD
|
|
343
|
+
agent-sdk slack destroy --dir . [--prod] [--slack-team T0123ABCD]
|
|
344
|
+
agent-sdk slack init --dir . --name "My Agent"
|
|
345
|
+
agent-sdk slack init --dir . --no-prefix
|
|
346
|
+
agent-sdk slack init --dir . --channel-posts # + message.channels/groups events
|
|
347
|
+
agent-sdk slack manifest --env both
|
|
348
|
+
agent-sdk slack doctor --prefix MY_AGENT
|
|
349
349
|
```
|
package/src/bin/agent-serve.ts
CHANGED
|
@@ -189,7 +189,7 @@ Commands:
|
|
|
189
189
|
machine-readable and never blocks on login. No directory:
|
|
190
190
|
print the setup guide.
|
|
191
191
|
install-skills
|
|
192
|
-
Install (or refresh) the
|
|
192
|
+
Install (or refresh) the Agent SDK skills for coding agents in
|
|
193
193
|
~/.cursor/skills/agentkit and print where they landed. \`init\`
|
|
194
194
|
offers this once, interactively, and skips it when the prompt
|
|
195
195
|
goes unanswered; this command never asks. --print previews
|
|
@@ -1240,7 +1240,7 @@ async function main(argv: string[]): Promise<number> {
|
|
|
1240
1240
|
})
|
|
1241
1241
|
.catch((error: unknown) => {
|
|
1242
1242
|
process.stderr.write(
|
|
1243
|
-
`[
|
|
1243
|
+
`[agent-sdk] restart failed: ${
|
|
1244
1244
|
error instanceof Error
|
|
1245
1245
|
? (error.stack ?? error.message)
|
|
1246
1246
|
: String(error)
|
|
@@ -1586,7 +1586,7 @@ function installTransportErrorGuards(): void {
|
|
|
1586
1586
|
const log = (label: string, reason: unknown): void => {
|
|
1587
1587
|
const text = reason instanceof Error ? reason.message : String(reason);
|
|
1588
1588
|
process.stderr.write(
|
|
1589
|
-
`[
|
|
1589
|
+
`[agent-sdk] ${label} (server stays up): ${text.slice(0, 400)}\n`
|
|
1590
1590
|
);
|
|
1591
1591
|
};
|
|
1592
1592
|
process.on("unhandledRejection", (reason) => {
|
|
@@ -1602,7 +1602,7 @@ function installTransportErrorGuards(): void {
|
|
|
1602
1602
|
return;
|
|
1603
1603
|
}
|
|
1604
1604
|
process.stderr.write(
|
|
1605
|
-
`[
|
|
1605
|
+
`[agent-sdk] uncaughtException: ${error.stack ?? error.message}\n`
|
|
1606
1606
|
);
|
|
1607
1607
|
process.exit(1);
|
|
1608
1608
|
});
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* export default githubChannel({
|
|
8
8
|
* botName: "my-agent",
|
|
9
|
-
* // Reuses `
|
|
9
|
+
* // Reuses `agent-sdk login` for events, ctx.github, ctx.host.github, and gh.
|
|
10
10
|
* cursorAccount: { repos: ["owner/repo"] },
|
|
11
11
|
* onComment: (ctx, comment) => ({ auth: defaultGitHubAuth(ctx) }),
|
|
12
12
|
* onPullRequest: (ctx, pr) =>
|
|
@@ -20,7 +20,7 @@ import type {
|
|
|
20
20
|
SlackMessage,
|
|
21
21
|
} from "./types.js";
|
|
22
22
|
|
|
23
|
-
/** Slack message `metadata.event_type` for
|
|
23
|
+
/** Slack message `metadata.event_type` for Agent SDK delegation posts. */
|
|
24
24
|
export const SLACK_DELEGATION_METADATA_EVENT_TYPE = "agentkit_delegation";
|
|
25
25
|
|
|
26
26
|
/** Default budgets for {@link SlackBotMentionsOptions}. */
|
|
@@ -154,7 +154,7 @@ export function isSlackEvalDirective(
|
|
|
154
154
|
|
|
155
155
|
export function formatSlackEvalHelp(): string {
|
|
156
156
|
return [
|
|
157
|
-
"*Eval commands* (same batches as the playground / `
|
|
157
|
+
"*Eval commands* (same batches as the playground / `agent-sdk eval --prod`):",
|
|
158
158
|
"• `eval` — run all evals",
|
|
159
159
|
"• `eval <id> [id…]` — run specific eval ids",
|
|
160
160
|
"• `eval --tag <tag>` — run evals with a tag (`-t` also works)",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Shared logging for the Slack channel pack.
|
|
3
3
|
*
|
|
4
4
|
* Uses the same `(line: string) => void` contract as ServeOptions.logger.
|
|
5
|
-
* Lines always start with `[
|
|
5
|
+
* Lines always start with `[agent-sdk/slack]` so Socket Mode docs and greps
|
|
6
6
|
* keep working. Optional key=value fields carry correlation ids.
|
|
7
7
|
*/
|
|
8
8
|
|
package/src/evals/reporters.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
-
* `
|
|
19
|
+
* `agent-sdk eval --junit <path>` and `--artifacts <dir>` attach these same two
|
|
20
20
|
* reporters without touching the eval files, which is usually the better fit:
|
|
21
21
|
* CI owns the output paths, not the eval author.
|
|
22
22
|
*/
|
package/src/evals.ts
CHANGED
|
@@ -622,7 +622,7 @@ export interface HostStartEvalRunInput {
|
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
624
|
* Host-facing playground eval batches — the same surface as
|
|
625
|
-
* `/v1/dev/evals*` and `
|
|
625
|
+
* `/v1/dev/evals*` and `agent-sdk eval --prod`. Attached to
|
|
626
626
|
* {@link import("./types.js").HostContext.evals} by `serve`.
|
|
627
627
|
*/
|
|
628
628
|
export interface HostEvalsApi {
|
|
@@ -663,7 +663,7 @@ export interface EvalConfigFile {
|
|
|
663
663
|
* Optional. Max batches kept in the **playground / `/v1/dev/evals*`**
|
|
664
664
|
* history window (in-memory, and pruned from the `defineStorage` evals
|
|
665
665
|
* table when one is configured). Includes server-side batches started by
|
|
666
|
-
* `
|
|
666
|
+
* `agent-sdk eval --prod` or `--url` (not the default local harness).
|
|
667
667
|
*
|
|
668
668
|
* Default {@link EVAL_DEFAULT_MAX_PLAYGROUND_RUNS}; hard-capped at
|
|
669
669
|
* {@link EVAL_MAX_PLAYGROUND_RUNS}. Newest batches win.
|