@grok/agent-sdk 0.0.0-stage → 0.2.27
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 +336 -0
- package/CHANGELOG.md +3 -0
- package/LICENSE.md +3 -0
- package/README.md +106 -2
- package/dist/artifacts.d.ts +37 -0
- package/dist/artifacts.d.ts.map +1 -0
- package/dist/artifacts.js +52 -0
- package/dist/bin/agent-sdk.js +2 -0
- package/dist/bin/agent-serve.d.ts +20 -0
- package/dist/bin/agent-serve.d.ts.map +1 -0
- package/dist/bin/agent-serve.js +1703 -0
- package/dist/channels/bitbucket/api.d.ts +217 -0
- package/dist/channels/bitbucket/api.d.ts.map +1 -0
- package/dist/channels/bitbucket/api.js +648 -0
- package/dist/channels/bitbucket/binding.d.ts +75 -0
- package/dist/channels/bitbucket/binding.d.ts.map +1 -0
- package/dist/channels/bitbucket/binding.js +313 -0
- package/dist/channels/bitbucket/bitbucket-channel.d.ts +47 -0
- package/dist/channels/bitbucket/bitbucket-channel.d.ts.map +1 -0
- package/dist/channels/bitbucket/bitbucket-channel.js +173 -0
- package/dist/channels/bitbucket/bitbucket-webhook.d.ts +73 -0
- package/dist/channels/bitbucket/bitbucket-webhook.d.ts.map +1 -0
- package/dist/channels/bitbucket/bitbucket-webhook.js +399 -0
- package/dist/channels/bitbucket/checks.d.ts +67 -0
- package/dist/channels/bitbucket/checks.d.ts.map +1 -0
- package/dist/channels/bitbucket/checks.js +90 -0
- package/dist/channels/bitbucket/cursor-account.d.ts +37 -0
- package/dist/channels/bitbucket/cursor-account.d.ts.map +1 -0
- package/dist/channels/bitbucket/cursor-account.js +65 -0
- package/dist/channels/bitbucket/defaults.d.ts +26 -0
- package/dist/channels/bitbucket/defaults.d.ts.map +1 -0
- package/dist/channels/bitbucket/defaults.js +77 -0
- package/dist/channels/bitbucket/events.d.ts +22 -0
- package/dist/channels/bitbucket/events.d.ts.map +1 -0
- package/dist/channels/bitbucket/events.js +59 -0
- package/dist/channels/bitbucket/index.d.ts +38 -0
- package/dist/channels/bitbucket/index.d.ts.map +1 -0
- package/dist/channels/bitbucket/index.js +37 -0
- package/dist/channels/bitbucket/replay.d.ts +63 -0
- package/dist/channels/bitbucket/replay.d.ts.map +1 -0
- package/dist/channels/bitbucket/replay.js +326 -0
- package/dist/channels/bitbucket/state.d.ts +35 -0
- package/dist/channels/bitbucket/state.d.ts.map +1 -0
- package/dist/channels/bitbucket/state.js +30 -0
- package/dist/channels/bitbucket/types.d.ts +236 -0
- package/dist/channels/bitbucket/types.d.ts.map +1 -0
- package/dist/channels/bitbucket/types.js +1 -0
- package/dist/channels/change-monitors/change-monitors-channel.d.ts +5 -0
- package/dist/channels/change-monitors/change-monitors-channel.d.ts.map +1 -0
- package/dist/channels/change-monitors/change-monitors-channel.js +45 -0
- package/dist/channels/change-monitors/index.d.ts +4 -0
- package/dist/channels/change-monitors/index.d.ts.map +1 -0
- package/dist/channels/change-monitors/index.js +2 -0
- package/dist/channels/change-monitors/types.d.ts +42 -0
- package/dist/channels/change-monitors/types.d.ts.map +1 -0
- package/dist/channels/change-monitors/types.js +1 -0
- package/dist/channels/checks.d.ts +121 -0
- package/dist/channels/checks.d.ts.map +1 -0
- package/dist/channels/checks.js +76 -0
- package/dist/channels/deployments/deployments-channel.d.ts +95 -0
- package/dist/channels/deployments/deployments-channel.d.ts.map +1 -0
- package/dist/channels/deployments/deployments-channel.js +188 -0
- package/dist/channels/deployments/index.d.ts +25 -0
- package/dist/channels/deployments/index.d.ts.map +1 -0
- package/dist/channels/deployments/index.js +24 -0
- package/dist/channels/deployments/types.d.ts +83 -0
- package/dist/channels/deployments/types.d.ts.map +1 -0
- package/dist/channels/deployments/types.js +7 -0
- package/dist/channels/github/api.d.ts +133 -0
- package/dist/channels/github/api.d.ts.map +1 -0
- package/dist/channels/github/api.js +373 -0
- package/dist/channels/github/auth.d.ts +71 -0
- package/dist/channels/github/auth.d.ts.map +1 -0
- package/dist/channels/github/auth.js +247 -0
- package/dist/channels/github/binding.d.ts +86 -0
- package/dist/channels/github/binding.d.ts.map +1 -0
- package/dist/channels/github/binding.js +123 -0
- package/dist/channels/github/checks.d.ts +64 -0
- package/dist/channels/github/checks.d.ts.map +1 -0
- package/dist/channels/github/checks.js +93 -0
- package/dist/channels/github/cursor-account.d.ts +109 -0
- package/dist/channels/github/cursor-account.d.ts.map +1 -0
- package/dist/channels/github/cursor-account.js +206 -0
- package/dist/channels/github/defaults.d.ts +23 -0
- package/dist/channels/github/defaults.d.ts.map +1 -0
- package/dist/channels/github/defaults.js +132 -0
- package/dist/channels/github/events.d.ts +18 -0
- package/dist/channels/github/events.d.ts.map +1 -0
- package/dist/channels/github/events.js +56 -0
- package/dist/channels/github/forward.d.ts +139 -0
- package/dist/channels/github/forward.d.ts.map +1 -0
- package/dist/channels/github/forward.js +263 -0
- package/dist/channels/github/github-channel.d.ts +187 -0
- package/dist/channels/github/github-channel.d.ts.map +1 -0
- package/dist/channels/github/github-channel.js +2089 -0
- package/dist/channels/github/index.d.ts +64 -0
- package/dist/channels/github/index.d.ts.map +1 -0
- package/dist/channels/github/index.js +52 -0
- package/dist/channels/github/progress.d.ts +84 -0
- package/dist/channels/github/progress.d.ts.map +1 -0
- package/dist/channels/github/progress.js +235 -0
- package/dist/channels/github/replay.d.ts +115 -0
- package/dist/channels/github/replay.d.ts.map +1 -0
- package/dist/channels/github/replay.js +269 -0
- package/dist/channels/github/state.d.ts +47 -0
- package/dist/channels/github/state.d.ts.map +1 -0
- package/dist/channels/github/state.js +77 -0
- package/dist/channels/github/types.d.ts +515 -0
- package/dist/channels/github/types.d.ts.map +1 -0
- package/dist/channels/github/types.js +1 -0
- package/dist/channels/gitlab/api.d.ts +118 -0
- package/dist/channels/gitlab/api.d.ts.map +1 -0
- package/dist/channels/gitlab/api.js +220 -0
- package/dist/channels/gitlab/binding.d.ts +63 -0
- package/dist/channels/gitlab/binding.d.ts.map +1 -0
- package/dist/channels/gitlab/binding.js +166 -0
- package/dist/channels/gitlab/checks.d.ts +110 -0
- package/dist/channels/gitlab/checks.d.ts.map +1 -0
- package/dist/channels/gitlab/checks.js +121 -0
- package/dist/channels/gitlab/cursor-account.d.ts +36 -0
- package/dist/channels/gitlab/cursor-account.d.ts.map +1 -0
- package/dist/channels/gitlab/cursor-account.js +64 -0
- package/dist/channels/gitlab/defaults.d.ts +25 -0
- package/dist/channels/gitlab/defaults.d.ts.map +1 -0
- package/dist/channels/gitlab/defaults.js +61 -0
- package/dist/channels/gitlab/events.d.ts +12 -0
- package/dist/channels/gitlab/events.d.ts.map +1 -0
- package/dist/channels/gitlab/events.js +26 -0
- package/dist/channels/gitlab/gitlab-channel.d.ts +48 -0
- package/dist/channels/gitlab/gitlab-channel.d.ts.map +1 -0
- package/dist/channels/gitlab/gitlab-channel.js +173 -0
- package/dist/channels/gitlab/gitlab-webhook.d.ts +54 -0
- package/dist/channels/gitlab/gitlab-webhook.d.ts.map +1 -0
- package/dist/channels/gitlab/gitlab-webhook.js +421 -0
- package/dist/channels/gitlab/index.d.ts +35 -0
- package/dist/channels/gitlab/index.d.ts.map +1 -0
- package/dist/channels/gitlab/index.js +34 -0
- package/dist/channels/gitlab/replay.d.ts +105 -0
- package/dist/channels/gitlab/replay.d.ts.map +1 -0
- package/dist/channels/gitlab/replay.js +222 -0
- package/dist/channels/gitlab/state.d.ts +33 -0
- package/dist/channels/gitlab/state.d.ts.map +1 -0
- package/dist/channels/gitlab/state.js +31 -0
- package/dist/channels/gitlab/types.d.ts +222 -0
- package/dist/channels/gitlab/types.d.ts.map +1 -0
- package/dist/channels/gitlab/types.js +1 -0
- package/dist/channels/issues/index.d.ts +4 -0
- package/dist/channels/issues/index.d.ts.map +1 -0
- package/dist/channels/issues/index.js +2 -0
- package/dist/channels/issues/issues-channel.d.ts +5 -0
- package/dist/channels/issues/issues-channel.d.ts.map +1 -0
- package/dist/channels/issues/issues-channel.js +35 -0
- package/dist/channels/issues/types.d.ts +33 -0
- package/dist/channels/issues/types.d.ts.map +1 -0
- package/dist/channels/issues/types.js +1 -0
- package/dist/channels/origin/api.d.ts +157 -0
- package/dist/channels/origin/api.d.ts.map +1 -0
- package/dist/channels/origin/api.js +363 -0
- package/dist/channels/origin/binding.d.ts +57 -0
- package/dist/channels/origin/binding.d.ts.map +1 -0
- package/dist/channels/origin/binding.js +56 -0
- package/dist/channels/origin/checks.d.ts +119 -0
- package/dist/channels/origin/checks.d.ts.map +1 -0
- package/dist/channels/origin/checks.js +147 -0
- package/dist/channels/origin/cursor-account.d.ts +24 -0
- package/dist/channels/origin/cursor-account.d.ts.map +1 -0
- package/dist/channels/origin/cursor-account.js +35 -0
- package/dist/channels/origin/defaults.d.ts +43 -0
- package/dist/channels/origin/defaults.d.ts.map +1 -0
- package/dist/channels/origin/defaults.js +94 -0
- package/dist/channels/origin/events.d.ts +10 -0
- package/dist/channels/origin/events.d.ts.map +1 -0
- package/dist/channels/origin/events.js +25 -0
- package/dist/channels/origin/index.d.ts +45 -0
- package/dist/channels/origin/index.d.ts.map +1 -0
- package/dist/channels/origin/index.js +33 -0
- package/dist/channels/origin/origin-channel.d.ts +72 -0
- package/dist/channels/origin/origin-channel.d.ts.map +1 -0
- package/dist/channels/origin/origin-channel.js +628 -0
- package/dist/channels/origin/origin-webhook.d.ts +69 -0
- package/dist/channels/origin/origin-webhook.d.ts.map +1 -0
- package/dist/channels/origin/origin-webhook.js +213 -0
- package/dist/channels/origin/reactions.d.ts +56 -0
- package/dist/channels/origin/reactions.d.ts.map +1 -0
- package/dist/channels/origin/reactions.js +46 -0
- package/dist/channels/origin/state.d.ts +32 -0
- package/dist/channels/origin/state.d.ts.map +1 -0
- package/dist/channels/origin/state.js +31 -0
- package/dist/channels/origin/types.d.ts +257 -0
- package/dist/channels/origin/types.d.ts.map +1 -0
- package/dist/channels/origin/types.js +1 -0
- package/dist/channels/pagerduty/api.d.ts +74 -0
- package/dist/channels/pagerduty/api.d.ts.map +1 -0
- package/dist/channels/pagerduty/api.js +101 -0
- package/dist/channels/pagerduty/defaults.d.ts +42 -0
- package/dist/channels/pagerduty/defaults.d.ts.map +1 -0
- package/dist/channels/pagerduty/defaults.js +132 -0
- package/dist/channels/pagerduty/events.d.ts +24 -0
- package/dist/channels/pagerduty/events.d.ts.map +1 -0
- package/dist/channels/pagerduty/events.js +38 -0
- package/dist/channels/pagerduty/index.d.ts +31 -0
- package/dist/channels/pagerduty/index.d.ts.map +1 -0
- package/dist/channels/pagerduty/index.js +30 -0
- package/dist/channels/pagerduty/pagerduty-channel.d.ts +64 -0
- package/dist/channels/pagerduty/pagerduty-channel.d.ts.map +1 -0
- package/dist/channels/pagerduty/pagerduty-channel.js +195 -0
- package/dist/channels/pagerduty/pagerduty-webhook.d.ts +70 -0
- package/dist/channels/pagerduty/pagerduty-webhook.d.ts.map +1 -0
- package/dist/channels/pagerduty/pagerduty-webhook.js +280 -0
- package/dist/channels/pagerduty/payload.d.ts +33 -0
- package/dist/channels/pagerduty/payload.d.ts.map +1 -0
- package/dist/channels/pagerduty/payload.js +150 -0
- package/dist/channels/pagerduty/replay.d.ts +35 -0
- package/dist/channels/pagerduty/replay.d.ts.map +1 -0
- package/dist/channels/pagerduty/replay.js +115 -0
- package/dist/channels/pagerduty/secrets.d.ts +16 -0
- package/dist/channels/pagerduty/secrets.d.ts.map +1 -0
- package/dist/channels/pagerduty/secrets.js +23 -0
- package/dist/channels/pagerduty/self-user.d.ts +51 -0
- package/dist/channels/pagerduty/self-user.d.ts.map +1 -0
- package/dist/channels/pagerduty/self-user.js +157 -0
- package/dist/channels/pagerduty/state.d.ts +31 -0
- package/dist/channels/pagerduty/state.d.ts.map +1 -0
- package/dist/channels/pagerduty/state.js +30 -0
- package/dist/channels/pagerduty/types.d.ts +217 -0
- package/dist/channels/pagerduty/types.d.ts.map +1 -0
- package/dist/channels/pagerduty/types.js +1 -0
- package/dist/channels/runs/index.d.ts +4 -0
- package/dist/channels/runs/index.d.ts.map +1 -0
- package/dist/channels/runs/index.js +2 -0
- package/dist/channels/runs/runs-channel.d.ts +5 -0
- package/dist/channels/runs/runs-channel.d.ts.map +1 -0
- package/dist/channels/runs/runs-channel.js +34 -0
- package/dist/channels/runs/types.d.ts +34 -0
- package/dist/channels/runs/types.d.ts.map +1 -0
- package/dist/channels/runs/types.js +1 -0
- package/dist/channels/slack/agentic-delivery.d.ts +24 -0
- package/dist/channels/slack/agentic-delivery.d.ts.map +1 -0
- package/dist/channels/slack/agentic-delivery.js +510 -0
- package/dist/channels/slack/agentic-posted.d.ts +30 -0
- package/dist/channels/slack/agentic-posted.d.ts.map +1 -0
- package/dist/channels/slack/agentic-posted.js +101 -0
- package/dist/channels/slack/agentic-signals.d.ts +43 -0
- package/dist/channels/slack/agentic-signals.d.ts.map +1 -0
- package/dist/channels/slack/agentic-signals.js +199 -0
- package/dist/channels/slack/api.d.ts +172 -0
- package/dist/channels/slack/api.d.ts.map +1 -0
- package/dist/channels/slack/api.js +642 -0
- package/dist/channels/slack/approvals.d.ts +48 -0
- package/dist/channels/slack/approvals.d.ts.map +1 -0
- package/dist/channels/slack/approvals.js +233 -0
- package/dist/channels/slack/assistant.d.ts +23 -0
- package/dist/channels/slack/assistant.d.ts.map +1 -0
- package/dist/channels/slack/assistant.js +57 -0
- package/dist/channels/slack/attachments.d.ts +85 -0
- package/dist/channels/slack/attachments.d.ts.map +1 -0
- package/dist/channels/slack/attachments.js +507 -0
- package/dist/channels/slack/auth.d.ts +46 -0
- package/dist/channels/slack/auth.d.ts.map +1 -0
- package/dist/channels/slack/auth.js +97 -0
- package/dist/channels/slack/blocks.d.ts +61 -0
- package/dist/channels/slack/blocks.d.ts.map +1 -0
- package/dist/channels/slack/blocks.js +90 -0
- package/dist/channels/slack/bot-mentions.d.ts +108 -0
- package/dist/channels/slack/bot-mentions.d.ts.map +1 -0
- package/dist/channels/slack/bot-mentions.js +243 -0
- package/dist/channels/slack/channel-watch.d.ts +80 -0
- package/dist/channels/slack/channel-watch.d.ts.map +1 -0
- package/dist/channels/slack/channel-watch.js +264 -0
- package/dist/channels/slack/cli-project.d.ts +19 -0
- package/dist/channels/slack/cli-project.d.ts.map +1 -0
- package/dist/channels/slack/cli-project.js +203 -0
- package/dist/channels/slack/code-fences.d.ts +17 -0
- package/dist/channels/slack/code-fences.d.ts.map +1 -0
- package/dist/channels/slack/code-fences.js +164 -0
- package/dist/channels/slack/constants.d.ts +27 -0
- package/dist/channels/slack/constants.d.ts.map +1 -0
- package/dist/channels/slack/constants.js +37 -0
- package/dist/channels/slack/credentials.d.ts +35 -0
- package/dist/channels/slack/credentials.d.ts.map +1 -0
- package/dist/channels/slack/credentials.js +73 -0
- package/dist/channels/slack/defaults.d.ts +50 -0
- package/dist/channels/slack/defaults.d.ts.map +1 -0
- package/dist/channels/slack/defaults.js +592 -0
- package/dist/channels/slack/dispatch.d.ts +153 -0
- package/dist/channels/slack/dispatch.d.ts.map +1 -0
- package/dist/channels/slack/dispatch.js +820 -0
- package/dist/channels/slack/doctor.d.ts +40 -0
- package/dist/channels/slack/doctor.d.ts.map +1 -0
- package/dist/channels/slack/doctor.js +277 -0
- package/dist/channels/slack/eval-directive.d.ts +59 -0
- package/dist/channels/slack/eval-directive.d.ts.map +1 -0
- package/dist/channels/slack/eval-directive.js +252 -0
- package/dist/channels/slack/event-id-dedupe.d.ts +10 -0
- package/dist/channels/slack/event-id-dedupe.d.ts.map +1 -0
- package/dist/channels/slack/event-id-dedupe.js +23 -0
- package/dist/channels/slack/external-policy.d.ts +28 -0
- package/dist/channels/slack/external-policy.d.ts.map +1 -0
- package/dist/channels/slack/external-policy.js +51 -0
- package/dist/channels/slack/footer.d.ts +33 -0
- package/dist/channels/slack/footer.d.ts.map +1 -0
- package/dist/channels/slack/footer.js +72 -0
- package/dist/channels/slack/inbound.d.ts +104 -0
- package/dist/channels/slack/inbound.d.ts.map +1 -0
- package/dist/channels/slack/inbound.js +350 -0
- package/dist/channels/slack/index.d.ts +56 -0
- package/dist/channels/slack/index.d.ts.map +1 -0
- package/dist/channels/slack/index.js +55 -0
- package/dist/channels/slack/init.d.ts +41 -0
- package/dist/channels/slack/init.d.ts.map +1 -0
- package/dist/channels/slack/init.js +109 -0
- package/dist/channels/slack/interactive.d.ts +73 -0
- package/dist/channels/slack/interactive.d.ts.map +1 -0
- package/dist/channels/slack/interactive.js +309 -0
- package/dist/channels/slack/links.d.ts +10 -0
- package/dist/channels/slack/links.d.ts.map +1 -0
- package/dist/channels/slack/links.js +18 -0
- package/dist/channels/slack/live-delivery.d.ts +80 -0
- package/dist/channels/slack/live-delivery.d.ts.map +1 -0
- package/dist/channels/slack/live-delivery.js +386 -0
- package/dist/channels/slack/log.d.ts +25 -0
- package/dist/channels/slack/log.d.ts.map +1 -0
- package/dist/channels/slack/log.js +44 -0
- package/dist/channels/slack/manifest.d.ts +80 -0
- package/dist/channels/slack/manifest.d.ts.map +1 -0
- package/dist/channels/slack/manifest.js +186 -0
- package/dist/channels/slack/message-body.d.ts +13 -0
- package/dist/channels/slack/message-body.d.ts.map +1 -0
- package/dist/channels/slack/message-body.js +74 -0
- package/dist/channels/slack/nudge-carrier.d.ts +21 -0
- package/dist/channels/slack/nudge-carrier.d.ts.map +1 -0
- package/dist/channels/slack/nudge-carrier.js +201 -0
- package/dist/channels/slack/nudge-store.d.ts +77 -0
- package/dist/channels/slack/nudge-store.d.ts.map +1 -0
- package/dist/channels/slack/nudge-store.js +288 -0
- package/dist/channels/slack/paint-start.d.ts +22 -0
- package/dist/channels/slack/paint-start.d.ts.map +1 -0
- package/dist/channels/slack/paint-start.js +76 -0
- package/dist/channels/slack/placeholder.d.ts +62 -0
- package/dist/channels/slack/placeholder.d.ts.map +1 -0
- package/dist/channels/slack/placeholder.js +237 -0
- package/dist/channels/slack/pr-ref.d.ts +24 -0
- package/dist/channels/slack/pr-ref.d.ts.map +1 -0
- package/dist/channels/slack/pr-ref.js +55 -0
- package/dist/channels/slack/progress-delivery.d.ts +28 -0
- package/dist/channels/slack/progress-delivery.d.ts.map +1 -0
- package/dist/channels/slack/progress-delivery.js +109 -0
- package/dist/channels/slack/reasoning-card.d.ts +38 -0
- package/dist/channels/slack/reasoning-card.d.ts.map +1 -0
- package/dist/channels/slack/reasoning-card.js +90 -0
- package/dist/channels/slack/reasoning-chip.d.ts +8 -0
- package/dist/channels/slack/reasoning-chip.d.ts.map +1 -0
- package/dist/channels/slack/reasoning-chip.js +30 -0
- package/dist/channels/slack/recording-sink.d.ts +29 -0
- package/dist/channels/slack/recording-sink.d.ts.map +1 -0
- package/dist/channels/slack/recording-sink.js +128 -0
- package/dist/channels/slack/redact.d.ts +2 -0
- package/dist/channels/slack/redact.d.ts.map +1 -0
- package/dist/channels/slack/redact.js +5 -0
- package/dist/channels/slack/reply-options.d.ts +56 -0
- package/dist/channels/slack/reply-options.d.ts.map +1 -0
- package/dist/channels/slack/reply-options.js +218 -0
- package/dist/channels/slack/self-identity.d.ts +18 -0
- package/dist/channels/slack/self-identity.d.ts.map +1 -0
- package/dist/channels/slack/self-identity.js +49 -0
- package/dist/channels/slack/sender-name.d.ts +26 -0
- package/dist/channels/slack/sender-name.d.ts.map +1 -0
- package/dist/channels/slack/sender-name.js +79 -0
- package/dist/channels/slack/setup.d.ts +33 -0
- package/dist/channels/slack/setup.d.ts.map +1 -0
- package/dist/channels/slack/setup.js +99 -0
- package/dist/channels/slack/slack-channel.d.ts +46 -0
- package/dist/channels/slack/slack-channel.d.ts.map +1 -0
- package/dist/channels/slack/slack-channel.js +683 -0
- package/dist/channels/slack/socket-mode.d.ts +26 -0
- package/dist/channels/slack/socket-mode.d.ts.map +1 -0
- package/dist/channels/slack/socket-mode.js +100 -0
- package/dist/channels/slack/stop.d.ts +14 -0
- package/dist/channels/slack/stop.d.ts.map +1 -0
- package/dist/channels/slack/stop.js +22 -0
- package/dist/channels/slack/stream.d.ts +42 -0
- package/dist/channels/slack/stream.d.ts.map +1 -0
- package/dist/channels/slack/stream.js +30 -0
- package/dist/channels/slack/thread-context.d.ts +89 -0
- package/dist/channels/slack/thread-context.d.ts.map +1 -0
- package/dist/channels/slack/thread-context.js +459 -0
- package/dist/channels/slack/tool-approval-events.d.ts +38 -0
- package/dist/channels/slack/tool-approval-events.d.ts.map +1 -0
- package/dist/channels/slack/tool-approval-events.js +207 -0
- package/dist/channels/slack/tool-cards.d.ts +22 -0
- package/dist/channels/slack/tool-cards.d.ts.map +1 -0
- package/dist/channels/slack/tool-cards.js +167 -0
- package/dist/channels/slack/tool-chip.d.ts +9 -0
- package/dist/channels/slack/tool-chip.d.ts.map +1 -0
- package/dist/channels/slack/tool-chip.js +22 -0
- package/dist/channels/slack/types.d.ts +811 -0
- package/dist/channels/slack/types.d.ts.map +1 -0
- package/dist/channels/slack/types.js +4 -0
- package/dist/channels/slack/upload.d.ts +13 -0
- package/dist/channels/slack/upload.d.ts.map +1 -0
- package/dist/channels/slack/upload.js +122 -0
- package/dist/channels/slack/user-info.d.ts +16 -0
- package/dist/channels/slack/user-info.d.ts.map +1 -0
- package/dist/channels/slack/user-info.js +58 -0
- package/dist/channels.d.ts +188 -0
- package/dist/channels.d.ts.map +1 -0
- package/dist/channels.js +421 -0
- package/dist/connections.d.ts +160 -0
- package/dist/connections.d.ts.map +1 -0
- package/dist/connections.js +185 -0
- package/dist/dashboard-session-url.d.ts +15 -0
- package/dist/dashboard-session-url.d.ts.map +1 -0
- package/dist/dashboard-session-url.js +24 -0
- package/dist/docs/404.html +24 -0
- package/dist/docs/architecture.svg +59 -0
- package/dist/docs/assets/app.wA5xBBcd.js +309 -0
- package/dist/docs/assets/building-with-agents.md.FZXrY8Nk.js +9 -0
- package/dist/docs/assets/building-with-agents.md.FZXrY8Nk.lean.js +1 -0
- package/dist/docs/assets/changelog.md.BvHRIiMH.js +1 -0
- package/dist/docs/assets/changelog.md.BvHRIiMH.lean.js +1 -0
- package/dist/docs/assets/chunks/@localSearchIndexroot.BoDEJQWv.js +1 -0
- package/dist/docs/assets/chunks/VPLocalSearchBox.C29HLCVL.js +9 -0
- package/dist/docs/assets/chunks/arc.BOaoYWmh.js +1 -0
- package/dist/docs/assets/chunks/architectureDiagram-Q4EWVU46.MfG0itQh.js +36 -0
- package/dist/docs/assets/chunks/baseUniq.CUeJciCF.js +1 -0
- package/dist/docs/assets/chunks/blockDiagram-DXYQGD6D.BrXMZRtK.js +132 -0
- package/dist/docs/assets/chunks/c4Diagram-AHTNJAMY.DfkDHeB9.js +10 -0
- package/dist/docs/assets/chunks/channel.D2BTz0L-.js +1 -0
- package/dist/docs/assets/chunks/chunk-4BX2VUAB.xKz8CiXK.js +1 -0
- package/dist/docs/assets/chunks/chunk-4TB4RGXK.kkfBh4zk.js +206 -0
- package/dist/docs/assets/chunks/chunk-55IACEB6.BClJGb94.js +1 -0
- package/dist/docs/assets/chunks/chunk-EDXVE4YY.P9BpQ9L3.js +1 -0
- package/dist/docs/assets/chunks/chunk-FMBD7UC4.R4iYi58S.js +15 -0
- package/dist/docs/assets/chunks/chunk-OYMX7WX6.Cpn8L1dw.js +231 -0
- package/dist/docs/assets/chunks/chunk-QZHKN3VN.BLftECqU.js +1 -0
- package/dist/docs/assets/chunks/chunk-YZCP3GAM.BWDV1AYt.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.DqByliAC.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.DqByliAC.js +1 -0
- package/dist/docs/assets/chunks/clone.CldT1lbQ.js +1 -0
- package/dist/docs/assets/chunks/cose-bilkent-S5V4N54A.DGpAcJ55.js +1 -0
- package/dist/docs/assets/chunks/cytoscape.esm.BQk4lpUV.js +331 -0
- package/dist/docs/assets/chunks/dagre-KV5264BT.BBXxGEaD.js +4 -0
- package/dist/docs/assets/chunks/defaultLocale.C4B-KCzX.js +1 -0
- package/dist/docs/assets/chunks/diagram-5BDNPKRD.EKqOwmK2.js +10 -0
- package/dist/docs/assets/chunks/diagram-G4DWMVQ6.CB8pdkoZ.js +24 -0
- package/dist/docs/assets/chunks/diagram-MMDJMWI5.aHh4WGg9.js +43 -0
- package/dist/docs/assets/chunks/diagram-TYMM5635.YIsbRH20.js +24 -0
- package/dist/docs/assets/chunks/erDiagram-SMLLAGMA.B3bTCW_e.js +85 -0
- package/dist/docs/assets/chunks/flowDiagram-DWJPFMVM.M81hXIXZ.js +162 -0
- package/dist/docs/assets/chunks/framework.BNw1pucY.js +19 -0
- package/dist/docs/assets/chunks/ganttDiagram-T4ZO3ILL.BKg7WY--.js +292 -0
- package/dist/docs/assets/chunks/gitGraphDiagram-UUTBAWPF.CLEMZgO3.js +106 -0
- package/dist/docs/assets/chunks/graph.DS38W_Q-.js +1 -0
- package/dist/docs/assets/chunks/infoDiagram-42DDH7IO.BTiWTi82.js +2 -0
- package/dist/docs/assets/chunks/init.Gi6I4Gst.js +1 -0
- package/dist/docs/assets/chunks/ishikawaDiagram-UXIWVN3A.DcqY_KQL.js +70 -0
- package/dist/docs/assets/chunks/journeyDiagram-VCZTEJTY.0lQNZ40U.js +139 -0
- package/dist/docs/assets/chunks/kanban-definition-6JOO6SKY.L5sKlf7X.js +89 -0
- package/dist/docs/assets/chunks/katex.DkKDou_j.js +257 -0
- package/dist/docs/assets/chunks/layout.7u4gFhQa.js +1 -0
- package/dist/docs/assets/chunks/linear.D5v33SOb.js +1 -0
- package/dist/docs/assets/chunks/min.Dc9uCxf9.js +1 -0
- package/dist/docs/assets/chunks/mindmap-definition-QFDTVHPH.B56nGoB_.js +96 -0
- package/dist/docs/assets/chunks/ordinal.DBvzRdQf.js +1 -0
- package/dist/docs/assets/chunks/pieDiagram-DEJITSTG.Cba8e8lS.js +30 -0
- package/dist/docs/assets/chunks/quadrantDiagram-34T5L4WZ.2YjBycHF.js +7 -0
- package/dist/docs/assets/chunks/requirementDiagram-MS252O5E.D4P5RqVI.js +84 -0
- package/dist/docs/assets/chunks/sankeyDiagram-XADWPNL6.C0Hn8NUm.js +10 -0
- package/dist/docs/assets/chunks/sequenceDiagram-FGHM5R23.BZm7EaoT.js +157 -0
- package/dist/docs/assets/chunks/stateDiagram-FHFEXIEX.DcR4f3X2.js +1 -0
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.Bb4oMe0P.js +1 -0
- package/dist/docs/assets/chunks/theme.DvfKzyXq.js +2 -0
- package/dist/docs/assets/chunks/timeline-definition-GMOUNBTQ.CgDh96vg.js +120 -0
- package/dist/docs/assets/chunks/vennDiagram-DHZGUBPP.B4fagbC8.js +34 -0
- package/dist/docs/assets/chunks/virtual_mermaid-config.DDnGl6nM.js +1 -0
- package/dist/docs/assets/chunks/wardley-RL74JXVD.Ck68omim.js +162 -0
- package/dist/docs/assets/chunks/wardleyDiagram-NUSXRM2D.DBUg0bvz.js +20 -0
- package/dist/docs/assets/chunks/xychartDiagram-5P7HB3ND.DnKSGQE1.js +7 -0
- package/dist/docs/assets/deployment.md.3MMWuPeV.js +31 -0
- package/dist/docs/assets/deployment.md.3MMWuPeV.lean.js +1 -0
- package/dist/docs/assets/evals.md.CHR34K1Y.js +68 -0
- package/dist/docs/assets/evals.md.CHR34K1Y.lean.js +1 -0
- package/dist/docs/assets/guides_agent-to-agent.md.CwL5cwuE.js +42 -0
- package/dist/docs/assets/guides_agent-to-agent.md.CwL5cwuE.lean.js +1 -0
- package/dist/docs/assets/guides_bitbucket.md.CKUayYtD.js +145 -0
- package/dist/docs/assets/guides_bitbucket.md.CKUayYtD.lean.js +1 -0
- package/dist/docs/assets/guides_cloud-agents.md.BzbzcOyj.js +9 -0
- package/dist/docs/assets/guides_cloud-agents.md.BzbzcOyj.lean.js +1 -0
- package/dist/docs/assets/guides_convert-automation.md.DMEX9nF-.js +43 -0
- package/dist/docs/assets/guides_convert-automation.md.DMEX9nF-.lean.js +1 -0
- package/dist/docs/assets/guides_export-grokbot.md.qo5bxi4h.js +55 -0
- package/dist/docs/assets/guides_export-grokbot.md.qo5bxi4h.lean.js +1 -0
- package/dist/docs/assets/guides_github.md.TuNiZAOQ.js +162 -0
- package/dist/docs/assets/guides_github.md.TuNiZAOQ.lean.js +1 -0
- package/dist/docs/assets/guides_gitlab.md.CtNI4fSH.js +153 -0
- package/dist/docs/assets/guides_gitlab.md.CtNI4fSH.lean.js +1 -0
- package/dist/docs/assets/guides_grokbot-agents.md.BwAykJ7U.js +15 -0
- package/dist/docs/assets/guides_grokbot-agents.md.BwAykJ7U.lean.js +1 -0
- package/dist/docs/assets/guides_hooks.md.B2XfGX50.js +54 -0
- package/dist/docs/assets/guides_hooks.md.B2XfGX50.lean.js +1 -0
- package/dist/docs/assets/guides_improve.md.CZKVt1cT.js +21 -0
- package/dist/docs/assets/guides_improve.md.CZKVt1cT.lean.js +1 -0
- package/dist/docs/assets/guides_jev.md.D7XH4JH3.js +151 -0
- package/dist/docs/assets/guides_jev.md.D7XH4JH3.lean.js +1 -0
- package/dist/docs/assets/guides_mcp-oauth.md.Cxq2TxBB.js +38 -0
- package/dist/docs/assets/guides_mcp-oauth.md.Cxq2TxBB.lean.js +1 -0
- package/dist/docs/assets/guides_migrate.md.CQlGaBKX.js +7 -0
- package/dist/docs/assets/guides_migrate.md.CQlGaBKX.lean.js +1 -0
- package/dist/docs/assets/guides_opentelemetry.md.D4wO7_8v.js +37 -0
- package/dist/docs/assets/guides_opentelemetry.md.D4wO7_8v.lean.js +1 -0
- package/dist/docs/assets/guides_pagerduty.md.BHXMcMtx.js +60 -0
- package/dist/docs/assets/guides_pagerduty.md.BHXMcMtx.lean.js +1 -0
- package/dist/docs/assets/guides_slack.md.ClIyi7FI.js +75 -0
- package/dist/docs/assets/guides_slack.md.ClIyi7FI.lean.js +1 -0
- package/dist/docs/assets/guides_webhooks.md.Cpdc3BDX.js +93 -0
- package/dist/docs/assets/guides_webhooks.md.Cpdc3BDX.lean.js +1 -0
- package/dist/docs/assets/hillclimbing.md.Dxvd-0gT.js +7 -0
- package/dist/docs/assets/hillclimbing.md.Dxvd-0gT.lean.js +1 -0
- package/dist/docs/assets/index.md.CAnsLl8D.js +27 -0
- package/dist/docs/assets/index.md.CAnsLl8D.lean.js +1 -0
- package/dist/docs/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/dist/docs/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/dist/docs/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/dist/docs/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/dist/docs/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/dist/docs/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/dist/docs/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/dist/docs/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/dist/docs/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/dist/docs/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/dist/docs/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/dist/docs/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/dist/docs/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/dist/docs/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/dist/docs/assets/quickstart.md.D8JDfkKO.js +170 -0
- package/dist/docs/assets/quickstart.md.D8JDfkKO.lean.js +1 -0
- package/dist/docs/assets/reference_agent-config.md.CZrbHOfT.js +38 -0
- package/dist/docs/assets/reference_agent-config.md.CZrbHOfT.lean.js +1 -0
- package/dist/docs/assets/reference_artifacts.md.DLV9MZES.js +18 -0
- package/dist/docs/assets/reference_artifacts.md.DLV9MZES.lean.js +1 -0
- package/dist/docs/assets/reference_channels.md.CNNIS6K7.js +22 -0
- package/dist/docs/assets/reference_channels.md.CNNIS6K7.lean.js +1 -0
- package/dist/docs/assets/reference_cli.md.1o_TqKdt.js +103 -0
- package/dist/docs/assets/reference_cli.md.1o_TqKdt.lean.js +1 -0
- package/dist/docs/assets/reference_connections.md.BJE2Zllp.js +66 -0
- package/dist/docs/assets/reference_connections.md.BJE2Zllp.lean.js +1 -0
- package/dist/docs/assets/reference_evals.md.Ccwp4x3o.js +56 -0
- package/dist/docs/assets/reference_evals.md.Ccwp4x3o.lean.js +1 -0
- package/dist/docs/assets/reference_extensions.md.DKxTuCIw.js +62 -0
- package/dist/docs/assets/reference_extensions.md.DKxTuCIw.lean.js +1 -0
- package/dist/docs/assets/reference_hooks.md.CROr0QgC.js +51 -0
- package/dist/docs/assets/reference_hooks.md.CROr0QgC.lean.js +1 -0
- package/dist/docs/assets/reference_http-api.md.Dji-DD_Z.js +11 -0
- package/dist/docs/assets/reference_http-api.md.Dji-DD_Z.lean.js +1 -0
- package/dist/docs/assets/reference_instructions.md.BYMVxAkw.js +14 -0
- package/dist/docs/assets/reference_instructions.md.BYMVxAkw.lean.js +1 -0
- package/dist/docs/assets/reference_memory.md.BwyJXYZe.js +4 -0
- package/dist/docs/assets/reference_memory.md.BwyJXYZe.lean.js +1 -0
- package/dist/docs/assets/reference_playground.md.q4MI-0td.js +1 -0
- package/dist/docs/assets/reference_playground.md.q4MI-0td.lean.js +1 -0
- package/dist/docs/assets/reference_project-layout.md.mFcS8yDD.js +25 -0
- package/dist/docs/assets/reference_project-layout.md.mFcS8yDD.lean.js +1 -0
- package/dist/docs/assets/reference_prompt.md.DqPh71XN.js +9 -0
- package/dist/docs/assets/reference_prompt.md.DqPh71XN.lean.js +1 -0
- package/dist/docs/assets/reference_schedules.md.BqWnJES4.js +47 -0
- package/dist/docs/assets/reference_schedules.md.BqWnJES4.lean.js +1 -0
- package/dist/docs/assets/reference_sessions.md.Bi6lHttM.js +22 -0
- package/dist/docs/assets/reference_sessions.md.Bi6lHttM.lean.js +1 -0
- package/dist/docs/assets/reference_skills.md.Ckddg6KX.js +15 -0
- package/dist/docs/assets/reference_skills.md.Ckddg6KX.lean.js +1 -0
- package/dist/docs/assets/reference_subagents.md.ChNGh6HK.js +10 -0
- package/dist/docs/assets/reference_subagents.md.ChNGh6HK.lean.js +1 -0
- package/dist/docs/assets/reference_tools.md.Bo0UfT0a.js +79 -0
- package/dist/docs/assets/reference_tools.md.Bo0UfT0a.lean.js +1 -0
- package/dist/docs/assets/style.B9o0luvp.css +1 -0
- package/dist/docs/assets/templates_agentic-owners.md.CTEnR0jp.js +13 -0
- package/dist/docs/assets/templates_agentic-owners.md.CTEnR0jp.lean.js +1 -0
- package/dist/docs/assets/templates_grokbot-agents.md.DgpPEs7B.js +5 -0
- package/dist/docs/assets/templates_grokbot-agents.md.DgpPEs7B.lean.js +1 -0
- package/dist/docs/assets/templates_security-reviewer.md.Gh6EF9Us.js +3 -0
- package/dist/docs/assets/templates_security-reviewer.md.Gh6EF9Us.lean.js +1 -0
- package/dist/docs/assets/templates_thermo-quality-review.md.B77UyTrX.js +3 -0
- package/dist/docs/assets/templates_thermo-quality-review.md.B77UyTrX.lean.js +1 -0
- package/dist/docs/assets/templates_thermo-review.md.DRJ7mC5U.js +3 -0
- package/dist/docs/assets/templates_thermo-review.md.DRJ7mC5U.lean.js +1 -0
- package/dist/docs/assets/templates_triage.md.CNN6b0JZ.js +9 -0
- package/dist/docs/assets/templates_triage.md.CNN6b0JZ.lean.js +1 -0
- package/dist/docs/assets/troubleshooting.md.DFnoTDlQ.js +1 -0
- package/dist/docs/assets/troubleshooting.md.DFnoTDlQ.lean.js +1 -0
- package/dist/docs/building-with-agents.html +68 -0
- package/dist/docs/building-with-agents.md +134 -0
- package/dist/docs/changelog.html +60 -0
- package/dist/docs/changelog.md +114 -0
- package/dist/docs/deployment.html +90 -0
- package/dist/docs/deployment.md +309 -0
- package/dist/docs/evals.html +127 -0
- package/dist/docs/evals.md +239 -0
- package/dist/docs/guides/agent-to-agent.html +101 -0
- package/dist/docs/guides/agent-to-agent.md +162 -0
- package/dist/docs/guides/bitbucket.html +204 -0
- package/dist/docs/guides/bitbucket.md +293 -0
- package/dist/docs/guides/cloud-agents.html +68 -0
- package/dist/docs/guides/cloud-agents.md +81 -0
- package/dist/docs/guides/convert-automation.html +102 -0
- package/dist/docs/guides/convert-automation.md +180 -0
- package/dist/docs/guides/export-grokbot.html +114 -0
- package/dist/docs/guides/export-grokbot.md +239 -0
- package/dist/docs/guides/github.html +221 -0
- package/dist/docs/guides/github.md +373 -0
- package/dist/docs/guides/gitlab.html +212 -0
- package/dist/docs/guides/gitlab.md +299 -0
- package/dist/docs/guides/grokbot-agents.html +74 -0
- package/dist/docs/guides/grokbot-agents.md +135 -0
- package/dist/docs/guides/hooks.html +113 -0
- package/dist/docs/guides/hooks.md +116 -0
- package/dist/docs/guides/improve.html +80 -0
- package/dist/docs/guides/improve.md +129 -0
- package/dist/docs/guides/jev.html +210 -0
- package/dist/docs/guides/jev.md +298 -0
- package/dist/docs/guides/mcp-oauth.html +97 -0
- package/dist/docs/guides/mcp-oauth.md +148 -0
- package/dist/docs/guides/migrate.html +66 -0
- package/dist/docs/guides/migrate.md +164 -0
- package/dist/docs/guides/opentelemetry.html +96 -0
- package/dist/docs/guides/opentelemetry.md +205 -0
- package/dist/docs/guides/pagerduty.html +119 -0
- package/dist/docs/guides/pagerduty.md +336 -0
- package/dist/docs/guides/slack.html +134 -0
- package/dist/docs/guides/slack.md +309 -0
- package/dist/docs/guides/webhooks.html +152 -0
- package/dist/docs/guides/webhooks.md +250 -0
- package/dist/docs/hashmap.json +1 -0
- package/dist/docs/hillclimbing.html +66 -0
- package/dist/docs/hillclimbing.md +134 -0
- package/dist/docs/index.html +86 -0
- package/dist/docs/index.md +110 -0
- package/dist/docs/llms-full.txt +10077 -0
- package/dist/docs/llms.txt +68 -0
- package/dist/docs/quickstart.html +229 -0
- package/dist/docs/quickstart.md +307 -0
- package/dist/docs/reference/agent-config.html +97 -0
- package/dist/docs/reference/agent-config.md +238 -0
- package/dist/docs/reference/artifacts.html +77 -0
- package/dist/docs/reference/artifacts.md +113 -0
- package/dist/docs/reference/channels.html +81 -0
- package/dist/docs/reference/channels.md +214 -0
- package/dist/docs/reference/cli.html +162 -0
- package/dist/docs/reference/cli.md +1098 -0
- package/dist/docs/reference/connections.html +125 -0
- package/dist/docs/reference/connections.md +307 -0
- package/dist/docs/reference/evals.html +115 -0
- package/dist/docs/reference/evals.md +294 -0
- package/dist/docs/reference/extensions.html +121 -0
- package/dist/docs/reference/extensions.md +209 -0
- package/dist/docs/reference/hooks.html +110 -0
- package/dist/docs/reference/hooks.md +197 -0
- package/dist/docs/reference/http-api.html +70 -0
- package/dist/docs/reference/http-api.md +221 -0
- package/dist/docs/reference/instructions.html +73 -0
- package/dist/docs/reference/instructions.md +64 -0
- package/dist/docs/reference/memory.html +63 -0
- package/dist/docs/reference/memory.md +114 -0
- package/dist/docs/reference/playground.html +60 -0
- package/dist/docs/reference/playground.md +36 -0
- package/dist/docs/reference/project-layout.html +84 -0
- package/dist/docs/reference/project-layout.md +117 -0
- package/dist/docs/reference/prompt.html +68 -0
- package/dist/docs/reference/prompt.md +47 -0
- package/dist/docs/reference/schedules.html +106 -0
- package/dist/docs/reference/schedules.md +190 -0
- package/dist/docs/reference/sessions.html +81 -0
- package/dist/docs/reference/sessions.md +200 -0
- package/dist/docs/reference/skills.html +74 -0
- package/dist/docs/reference/skills.md +72 -0
- package/dist/docs/reference/subagents.html +69 -0
- package/dist/docs/reference/subagents.md +61 -0
- package/dist/docs/reference/tools.html +138 -0
- package/dist/docs/reference/tools.md +306 -0
- package/dist/docs/templates/agentic-owners.html +72 -0
- package/dist/docs/templates/agentic-owners.md +126 -0
- package/dist/docs/templates/grokbot-agents.html +64 -0
- package/dist/docs/templates/grokbot-agents.md +55 -0
- package/dist/docs/templates/security-reviewer.html +62 -0
- package/dist/docs/templates/security-reviewer.md +81 -0
- package/dist/docs/templates/thermo-quality-review.html +62 -0
- package/dist/docs/templates/thermo-quality-review.md +75 -0
- package/dist/docs/templates/thermo-review.html +62 -0
- package/dist/docs/templates/thermo-review.md +75 -0
- package/dist/docs/templates/triage.html +68 -0
- package/dist/docs/templates/triage.md +101 -0
- package/dist/docs/troubleshooting.html +60 -0
- package/dist/docs/troubleshooting.md +149 -0
- package/dist/docs/vp-icons.css +0 -0
- package/dist/evals/assertions.d.ts +199 -0
- package/dist/evals/assertions.d.ts.map +1 -0
- package/dist/evals/assertions.js +447 -0
- package/dist/evals/expect.d.ts +95 -0
- package/dist/evals/expect.d.ts.map +1 -0
- package/dist/evals/expect.js +184 -0
- package/dist/evals/judge.d.ts +134 -0
- package/dist/evals/judge.d.ts.map +1 -0
- package/dist/evals/judge.js +221 -0
- package/dist/evals/loaders.d.ts +51 -0
- package/dist/evals/loaders.d.ts.map +1 -0
- package/dist/evals/loaders.js +107 -0
- package/dist/evals/matchers.d.ts +95 -0
- package/dist/evals/matchers.d.ts.map +1 -0
- package/dist/evals/matchers.js +141 -0
- package/dist/evals/reporters.d.ts +70 -0
- package/dist/evals/reporters.d.ts.map +1 -0
- package/dist/evals/reporters.js +196 -0
- package/dist/evals/results.d.ts +103 -0
- package/dist/evals/results.d.ts.map +1 -0
- package/dist/evals/results.js +27 -0
- package/dist/evals/run-facts.d.ts +77 -0
- package/dist/evals/run-facts.d.ts.map +1 -0
- package/dist/evals/run-facts.js +213 -0
- package/dist/evals.d.ts +446 -0
- package/dist/evals.d.ts.map +1 -0
- package/dist/evals.js +304 -0
- package/dist/executors.d.ts +11 -0
- package/dist/executors.d.ts.map +1 -0
- package/dist/executors.js +21 -0
- package/dist/extensions/cursor-cloud-agents/extension.d.ts +94 -0
- package/dist/extensions/cursor-cloud-agents/extension.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/extension.js +104 -0
- package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts +118 -0
- package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/backend.js +290 -0
- package/dist/extensions/cursor-cloud-agents/lib/channels.d.ts +3 -0
- package/dist/extensions/cursor-cloud-agents/lib/channels.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/channels.js +11 -0
- package/dist/extensions/cursor-cloud-agents/lib/fleet.d.ts +25 -0
- package/dist/extensions/cursor-cloud-agents/lib/fleet.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/fleet.js +65 -0
- package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts +5 -0
- package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/inputs.js +4 -0
- package/dist/extensions/cursor-cloud-agents/lib/launch-agent.d.ts +47 -0
- package/dist/extensions/cursor-cloud-agents/lib/launch-agent.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/launch-agent.js +62 -0
- package/dist/extensions/cursor-cloud-agents/lib/repos.d.ts +17 -0
- package/dist/extensions/cursor-cloud-agents/lib/repos.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/repos.js +60 -0
- package/dist/extensions/cursor-cloud-agents/lib/transcript.d.ts +8 -0
- package/dist/extensions/cursor-cloud-agents/lib/transcript.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/transcript.js +14 -0
- package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts +17 -0
- package/dist/extensions/cursor-cloud-agents/lib/watch.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/watch.js +85 -0
- package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts +19 -0
- package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.js +60 -0
- package/dist/extensions/cursor-cloud-agents/skills/handoff.md +41 -0
- package/dist/extensions/cursor-cloud-agents/tools/cancel.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/cancel.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/cancel.js +19 -0
- package/dist/extensions/cursor-cloud-agents/tools/dump.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/dump.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/dump.js +43 -0
- package/dist/extensions/cursor-cloud-agents/tools/get.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/get.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/get.js +14 -0
- package/dist/extensions/cursor-cloud-agents/tools/launch.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/launch.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/launch.js +49 -0
- package/dist/extensions/cursor-cloud-agents/tools/list.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/list.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/list.js +25 -0
- package/dist/extensions/cursor-cloud-agents/tools/reply.d.ts +4 -0
- package/dist/extensions/cursor-cloud-agents/tools/reply.d.ts.map +1 -0
- package/dist/extensions/cursor-cloud-agents/tools/reply.js +26 -0
- package/dist/extensions/cursor-grokbot-agents/extension.d.ts +77 -0
- package/dist/extensions/cursor-grokbot-agents/extension.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/extension.js +70 -0
- package/dist/extensions/cursor-grokbot-agents/lib/agents.d.ts +11 -0
- package/dist/extensions/cursor-grokbot-agents/lib/agents.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/agents.js +31 -0
- package/dist/extensions/cursor-grokbot-agents/lib/backend.d.ts +56 -0
- package/dist/extensions/cursor-grokbot-agents/lib/backend.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/backend.js +138 -0
- package/dist/extensions/cursor-grokbot-agents/lib/contacts.d.ts +28 -0
- package/dist/extensions/cursor-grokbot-agents/lib/contacts.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/contacts.js +46 -0
- package/dist/extensions/cursor-grokbot-agents/lib/conversation.d.ts +53 -0
- package/dist/extensions/cursor-grokbot-agents/lib/conversation.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/conversation.js +186 -0
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts +4 -0
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.js +15 -0
- package/dist/extensions/cursor-grokbot-agents/lib/lock.d.ts +12 -0
- package/dist/extensions/cursor-grokbot-agents/lib/lock.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/lib/lock.js +24 -0
- package/dist/extensions/cursor-grokbot-agents/skills/consult.md +40 -0
- package/dist/extensions/cursor-grokbot-agents/tools/ask.d.ts +4 -0
- package/dist/extensions/cursor-grokbot-agents/tools/ask.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/tools/ask.js +26 -0
- package/dist/extensions/cursor-grokbot-agents/tools/check.d.ts +4 -0
- package/dist/extensions/cursor-grokbot-agents/tools/check.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/tools/check.js +21 -0
- package/dist/extensions/cursor-grokbot-agents/tools/interrupt.d.ts +4 -0
- package/dist/extensions/cursor-grokbot-agents/tools/interrupt.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/tools/interrupt.js +13 -0
- package/dist/extensions/cursor-grokbot-agents/tools/list.d.ts +4 -0
- package/dist/extensions/cursor-grokbot-agents/tools/list.d.ts.map +1 -0
- package/dist/extensions/cursor-grokbot-agents/tools/list.js +22 -0
- package/dist/extensions/improve/extension.d.ts +48 -0
- package/dist/extensions/improve/extension.d.ts.map +1 -0
- package/dist/extensions/improve/extension.js +43 -0
- package/dist/extensions/improve/skills/yourself.d.ts +4 -0
- package/dist/extensions/improve/skills/yourself.d.ts.map +1 -0
- package/dist/extensions/improve/skills/yourself.js +43 -0
- package/dist/extensions/jev/extension.d.ts +46 -0
- package/dist/extensions/jev/extension.d.ts.map +1 -0
- package/dist/extensions/jev/extension.js +56 -0
- package/dist/extensions/jev/lib/evaluate.d.ts +105 -0
- package/dist/extensions/jev/lib/evaluate.d.ts.map +1 -0
- package/dist/extensions/jev/lib/evaluate.js +154 -0
- package/dist/extensions/jev/skills/gated-write.md +25 -0
- package/dist/extensions/jev/skills/questions.md +33 -0
- package/dist/extensions/jev/tools/evaluate.d.ts +4 -0
- package/dist/extensions/jev/tools/evaluate.d.ts.map +1 -0
- package/dist/extensions/jev/tools/evaluate.js +72 -0
- package/dist/extensions/slack-communication/extension.d.ts +28 -0
- package/dist/extensions/slack-communication/extension.d.ts.map +1 -0
- package/dist/extensions/slack-communication/extension.js +32 -0
- package/dist/extensions/slack-communication/skills/slack-voice.d.ts +5 -0
- package/dist/extensions/slack-communication/skills/slack-voice.d.ts.map +1 -0
- package/dist/extensions/slack-communication/skills/slack-voice.js +52 -0
- package/dist/extensions/slack-communication/tools/delete-message.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/delete-message.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/delete-message.js +29 -0
- package/dist/extensions/slack-communication/tools/edit-message.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/edit-message.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/edit-message.js +34 -0
- package/dist/extensions/slack-communication/tools/post-card.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/post-card.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/post-card.js +25 -0
- package/dist/extensions/slack-communication/tools/post-file.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/post-file.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/post-file.js +75 -0
- package/dist/extensions/slack-communication/tools/post-update.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/post-update.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/post-update.js +33 -0
- package/dist/extensions/slack-communication/tools/react.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/react.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/react.js +27 -0
- package/dist/extensions/slack-communication/tools/set-status.d.ts +4 -0
- package/dist/extensions/slack-communication/tools/set-status.d.ts.map +1 -0
- package/dist/extensions/slack-communication/tools/set-status.js +18 -0
- package/dist/extensions.d.ts +87 -0
- package/dist/extensions.d.ts.map +1 -0
- package/dist/extensions.js +141 -0
- package/dist/files-backends/agent-store-presigned-url.d.ts +3 -0
- package/dist/files-backends/agent-store-presigned-url.d.ts.map +1 -0
- package/dist/files-backends/agent-store-presigned-url.js +223 -0
- package/dist/files-backends/cursor-hosted.d.ts +65 -0
- package/dist/files-backends/cursor-hosted.d.ts.map +1 -0
- package/dist/files-backends/cursor-hosted.js +848 -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 +133 -0
- package/dist/files.d.ts +203 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +129 -0
- package/dist/filesystem.d.ts +515 -0
- package/dist/filesystem.d.ts.map +1 -0
- package/dist/filesystem.js +1596 -0
- package/dist/hooks.d.ts +25 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +25 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +94 -0
- package/dist/internal/advertise-tools.d.ts +96 -0
- package/dist/internal/advertise-tools.d.ts.map +1 -0
- package/dist/internal/advertise-tools.js +255 -0
- package/dist/internal/approval-gate.d.ts +35 -0
- package/dist/internal/approval-gate.d.ts.map +1 -0
- package/dist/internal/approval-gate.js +81 -0
- package/dist/internal/artifacts-store.d.ts +123 -0
- package/dist/internal/artifacts-store.d.ts.map +1 -0
- package/dist/internal/artifacts-store.js +657 -0
- package/dist/internal/as-of.d.ts +39 -0
- package/dist/internal/as-of.d.ts.map +1 -0
- package/dist/internal/as-of.js +207 -0
- package/dist/internal/auth.d.ts +12 -0
- package/dist/internal/auth.d.ts.map +1 -0
- package/dist/internal/auth.js +34 -0
- package/dist/internal/authored-alias-hooks.d.ts +43 -0
- package/dist/internal/authored-alias-hooks.d.ts.map +1 -0
- package/dist/internal/authored-alias-hooks.js +104 -0
- package/dist/internal/authored-loaders.d.ts +50 -0
- package/dist/internal/authored-loaders.d.ts.map +1 -0
- package/dist/internal/authored-loaders.js +183 -0
- package/dist/internal/bounded-int.d.ts +11 -0
- package/dist/internal/bounded-int.d.ts.map +1 -0
- package/dist/internal/bounded-int.js +12 -0
- package/dist/internal/bounded.d.ts +7 -0
- package/dist/internal/bounded.d.ts.map +1 -0
- package/dist/internal/bounded.js +21 -0
- package/dist/internal/brand.d.ts +6 -0
- package/dist/internal/brand.d.ts.map +1 -0
- package/dist/internal/brand.js +17 -0
- package/dist/internal/browser-origin-guard.d.ts +19 -0
- package/dist/internal/browser-origin-guard.d.ts.map +1 -0
- package/dist/internal/browser-origin-guard.js +51 -0
- package/dist/internal/builtin-tools/artifacts.d.ts +10 -0
- package/dist/internal/builtin-tools/artifacts.d.ts.map +1 -0
- package/dist/internal/builtin-tools/artifacts.js +87 -0
- package/dist/internal/builtin-tools/index.d.ts +17 -0
- package/dist/internal/builtin-tools/index.d.ts.map +1 -0
- package/dist/internal/builtin-tools/index.js +39 -0
- package/dist/internal/builtin-tools/reminders.d.ts +9 -0
- package/dist/internal/builtin-tools/reminders.d.ts.map +1 -0
- package/dist/internal/builtin-tools/reminders.js +115 -0
- package/dist/internal/channel-architecture.d.ts +21 -0
- package/dist/internal/channel-architecture.d.ts.map +1 -0
- package/dist/internal/channel-architecture.js +43 -0
- package/dist/internal/channel-dispatch.d.ts +43 -0
- package/dist/internal/channel-dispatch.d.ts.map +1 -0
- package/dist/internal/channel-dispatch.js +74 -0
- package/dist/internal/channel-route-dispatch.d.ts +13 -0
- package/dist/internal/channel-route-dispatch.d.ts.map +1 -0
- package/dist/internal/channel-route-dispatch.js +51 -0
- package/dist/internal/channel-state.d.ts +17 -0
- package/dist/internal/channel-state.d.ts.map +1 -0
- package/dist/internal/channel-state.js +69 -0
- package/dist/internal/chat-client.d.ts +45 -0
- package/dist/internal/chat-client.d.ts.map +1 -0
- package/dist/internal/chat-client.js +457 -0
- package/dist/internal/cli-ax.d.ts +227 -0
- package/dist/internal/cli-ax.d.ts.map +1 -0
- package/dist/internal/cli-ax.js +1825 -0
- package/dist/internal/cli-bitbucket.d.ts +33 -0
- package/dist/internal/cli-bitbucket.d.ts.map +1 -0
- package/dist/internal/cli-bitbucket.js +332 -0
- package/dist/internal/cli-convert-automation.d.ts +39 -0
- package/dist/internal/cli-convert-automation.d.ts.map +1 -0
- package/dist/internal/cli-convert-automation.js +257 -0
- package/dist/internal/cli-cursor.d.ts +38 -0
- package/dist/internal/cli-cursor.d.ts.map +1 -0
- package/dist/internal/cli-cursor.js +205 -0
- package/dist/internal/cli-deploy.d.ts +171 -0
- package/dist/internal/cli-deploy.d.ts.map +1 -0
- package/dist/internal/cli-deploy.js +2072 -0
- package/dist/internal/cli-docs.d.ts +34 -0
- package/dist/internal/cli-docs.d.ts.map +1 -0
- package/dist/internal/cli-docs.js +156 -0
- package/dist/internal/cli-github.d.ts +47 -0
- package/dist/internal/cli-github.d.ts.map +1 -0
- package/dist/internal/cli-github.js +600 -0
- package/dist/internal/cli-gitlab.d.ts +37 -0
- package/dist/internal/cli-gitlab.d.ts.map +1 -0
- package/dist/internal/cli-gitlab.js +350 -0
- package/dist/internal/cli-images.d.ts +68 -0
- package/dist/internal/cli-images.d.ts.map +1 -0
- package/dist/internal/cli-images.js +536 -0
- package/dist/internal/cli-init-grokbot.d.ts +29 -0
- package/dist/internal/cli-init-grokbot.d.ts.map +1 -0
- package/dist/internal/cli-init-grokbot.js +181 -0
- package/dist/internal/cli-manifest.d.ts +19 -0
- package/dist/internal/cli-manifest.d.ts.map +1 -0
- package/dist/internal/cli-manifest.js +37 -0
- package/dist/internal/cli-mcp-oauth.d.ts +51 -0
- package/dist/internal/cli-mcp-oauth.d.ts.map +1 -0
- package/dist/internal/cli-mcp-oauth.js +300 -0
- package/dist/internal/cli-mcp.d.ts +75 -0
- package/dist/internal/cli-mcp.d.ts.map +1 -0
- package/dist/internal/cli-mcp.js +659 -0
- package/dist/internal/cli-migrate.d.ts +18 -0
- package/dist/internal/cli-migrate.d.ts.map +1 -0
- package/dist/internal/cli-migrate.js +351 -0
- package/dist/internal/cli-pagerduty.d.ts +32 -0
- package/dist/internal/cli-pagerduty.d.ts.map +1 -0
- package/dist/internal/cli-pagerduty.js +242 -0
- package/dist/internal/cli-skills.d.ts +21 -0
- package/dist/internal/cli-skills.d.ts.map +1 -0
- package/dist/internal/cli-skills.js +65 -0
- package/dist/internal/cli-slack-manual.d.ts +41 -0
- package/dist/internal/cli-slack-manual.d.ts.map +1 -0
- package/dist/internal/cli-slack-manual.js +296 -0
- package/dist/internal/cli-slack.d.ts +59 -0
- package/dist/internal/cli-slack.d.ts.map +1 -0
- package/dist/internal/cli-slack.js +708 -0
- package/dist/internal/cloud-merge.d.ts +25 -0
- package/dist/internal/cloud-merge.d.ts.map +1 -0
- package/dist/internal/cloud-merge.js +40 -0
- package/dist/internal/cloud-turn-usage.d.ts +34 -0
- package/dist/internal/cloud-turn-usage.d.ts.map +1 -0
- package/dist/internal/cloud-turn-usage.js +94 -0
- package/dist/internal/comment-safe.d.ts +8 -0
- package/dist/internal/comment-safe.d.ts.map +1 -0
- package/dist/internal/comment-safe.js +12 -0
- package/dist/internal/connection-env.d.ts +31 -0
- package/dist/internal/connection-env.d.ts.map +1 -0
- package/dist/internal/connection-env.js +83 -0
- package/dist/internal/continuation-channel.d.ts +48 -0
- package/dist/internal/continuation-channel.d.ts.map +1 -0
- package/dist/internal/continuation-channel.js +170 -0
- package/dist/internal/continuation-identity.d.ts +126 -0
- package/dist/internal/continuation-identity.d.ts.map +1 -0
- package/dist/internal/continuation-identity.js +897 -0
- package/dist/internal/continuation.d.ts +3 -0
- package/dist/internal/continuation.d.ts.map +1 -0
- package/dist/internal/continuation.js +1 -0
- package/dist/internal/conversation-mirror.d.ts +72 -0
- package/dist/internal/conversation-mirror.d.ts.map +1 -0
- package/dist/internal/conversation-mirror.js +401 -0
- package/dist/internal/conversation-pack.d.ts +29 -0
- package/dist/internal/conversation-pack.d.ts.map +1 -0
- package/dist/internal/conversation-pack.js +96 -0
- package/dist/internal/convert-automation/convert-workflow.d.ts +10 -0
- package/dist/internal/convert-automation/convert-workflow.d.ts.map +1 -0
- package/dist/internal/convert-automation/convert-workflow.js +976 -0
- package/dist/internal/convert-automation/types.d.ts +202 -0
- package/dist/internal/convert-automation/types.d.ts.map +1 -0
- package/dist/internal/convert-automation/types.js +13 -0
- package/dist/internal/convert-grokbot/answers.d.ts +127 -0
- package/dist/internal/convert-grokbot/answers.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/answers.js +445 -0
- package/dist/internal/convert-grokbot/bot.d.ts +50 -0
- package/dist/internal/convert-grokbot/bot.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/bot.js +72 -0
- package/dist/internal/convert-grokbot/checks.d.ts +26 -0
- package/dist/internal/convert-grokbot/checks.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/checks.js +170 -0
- package/dist/internal/convert-grokbot/convert.d.ts +60 -0
- package/dist/internal/convert-grokbot/convert.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/convert.js +470 -0
- package/dist/internal/convert-grokbot/handoff.d.ts +44 -0
- package/dist/internal/convert-grokbot/handoff.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/handoff.js +160 -0
- package/dist/internal/convert-grokbot/recipe.d.ts +61 -0
- package/dist/internal/convert-grokbot/recipe.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/recipe.js +94 -0
- package/dist/internal/convert-grokbot/routine.d.ts +51 -0
- package/dist/internal/convert-grokbot/routine.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/routine.js +128 -0
- package/dist/internal/convert-grokbot/slack.d.ts +28 -0
- package/dist/internal/convert-grokbot/slack.d.ts.map +1 -0
- package/dist/internal/convert-grokbot/slack.js +50 -0
- package/dist/internal/cron.d.ts +17 -0
- package/dist/internal/cron.d.ts.map +1 -0
- package/dist/internal/cron.js +60 -0
- package/dist/internal/cursor/account-mcp.d.ts +135 -0
- package/dist/internal/cursor/account-mcp.d.ts.map +1 -0
- package/dist/internal/cursor/account-mcp.js +513 -0
- package/dist/internal/cursor/backend-client.d.ts +229 -0
- package/dist/internal/cursor/backend-client.d.ts.map +1 -0
- package/dist/internal/cursor/backend-client.js +700 -0
- package/dist/internal/cursor/bound-secret-file.d.ts +56 -0
- package/dist/internal/cursor/bound-secret-file.d.ts.map +1 -0
- package/dist/internal/cursor/bound-secret-file.js +88 -0
- package/dist/internal/cursor/credentials.d.ts +196 -0
- package/dist/internal/cursor/credentials.d.ts.map +1 -0
- package/dist/internal/cursor/credentials.js +463 -0
- package/dist/internal/cursor/cursor-api-transport.d.ts +37 -0
- package/dist/internal/cursor/cursor-api-transport.d.ts.map +1 -0
- package/dist/internal/cursor/cursor-api-transport.js +40 -0
- package/dist/internal/cursor/github-credentials.d.ts +44 -0
- package/dist/internal/cursor/github-credentials.d.ts.map +1 -0
- package/dist/internal/cursor/github-credentials.js +174 -0
- package/dist/internal/cursor/hosted-bound-secrets.d.ts +45 -0
- package/dist/internal/cursor/hosted-bound-secrets.d.ts.map +1 -0
- package/dist/internal/cursor/hosted-bound-secrets.js +64 -0
- package/dist/internal/cursor/hosted-deployment-secrets.d.ts +30 -0
- package/dist/internal/cursor/hosted-deployment-secrets.d.ts.map +1 -0
- package/dist/internal/cursor/hosted-deployment-secrets.js +97 -0
- package/dist/internal/cursor/hosted-store-secrets.d.ts +39 -0
- package/dist/internal/cursor/hosted-store-secrets.d.ts.map +1 -0
- package/dist/internal/cursor/hosted-store-secrets.js +84 -0
- package/dist/internal/cursor/session-token.d.ts +45 -0
- package/dist/internal/cursor/session-token.d.ts.map +1 -0
- package/dist/internal/cursor/session-token.js +85 -0
- package/dist/internal/cursor/store-api-client.d.ts +60 -0
- package/dist/internal/cursor/store-api-client.d.ts.map +1 -0
- package/dist/internal/cursor/store-api-client.js +189 -0
- package/dist/internal/cursor-account-mcp-auth.d.ts +70 -0
- package/dist/internal/cursor-account-mcp-auth.d.ts.map +1 -0
- package/dist/internal/cursor-account-mcp-auth.js +233 -0
- package/dist/internal/cursor-agent-template.d.ts +9 -0
- package/dist/internal/cursor-agent-template.d.ts.map +1 -0
- package/dist/internal/cursor-agent-template.js +43 -0
- package/dist/internal/cursor-deployment-relay.d.ts +95 -0
- package/dist/internal/cursor-deployment-relay.d.ts.map +1 -0
- package/dist/internal/cursor-deployment-relay.js +212 -0
- package/dist/internal/cursor-event-relay.d.ts +243 -0
- package/dist/internal/cursor-event-relay.d.ts.map +1 -0
- package/dist/internal/cursor-event-relay.js +430 -0
- package/dist/internal/cursor-relay-core.d.ts +160 -0
- package/dist/internal/cursor-relay-core.d.ts.map +1 -0
- package/dist/internal/cursor-relay-core.js +442 -0
- package/dist/internal/deferred-channel-session.d.ts +21 -0
- package/dist/internal/deferred-channel-session.d.ts.map +1 -0
- package/dist/internal/deferred-channel-session.js +55 -0
- package/dist/internal/deploy-client.d.ts +604 -0
- package/dist/internal/deploy-client.d.ts.map +1 -0
- package/dist/internal/deploy-client.js +1009 -0
- package/dist/internal/deploy-manifest.d.ts +179 -0
- package/dist/internal/deploy-manifest.d.ts.map +1 -0
- package/dist/internal/deploy-manifest.js +320 -0
- package/dist/internal/deploy-source.d.ts +38 -0
- package/dist/internal/deploy-source.d.ts.map +1 -0
- package/dist/internal/deploy-source.js +124 -0
- package/dist/internal/describe-error.d.ts +6 -0
- package/dist/internal/describe-error.d.ts.map +1 -0
- package/dist/internal/describe-error.js +31 -0
- package/dist/internal/dev-mode.d.ts +13 -0
- package/dist/internal/dev-mode.d.ts.map +1 -0
- package/dist/internal/dev-mode.js +17 -0
- package/dist/internal/discovery/agent-config.d.ts +55 -0
- package/dist/internal/discovery/agent-config.d.ts.map +1 -0
- package/dist/internal/discovery/agent-config.js +230 -0
- package/dist/internal/discovery/agent.d.ts +16 -0
- package/dist/internal/discovery/agent.d.ts.map +1 -0
- package/dist/internal/discovery/agent.js +347 -0
- package/dist/internal/discovery/channels.d.ts +10 -0
- package/dist/internal/discovery/channels.d.ts.map +1 -0
- package/dist/internal/discovery/channels.js +88 -0
- package/dist/internal/discovery/connections.d.ts +13 -0
- package/dist/internal/discovery/connections.d.ts.map +1 -0
- package/dist/internal/discovery/connections.js +430 -0
- package/dist/internal/discovery/context.d.ts +36 -0
- package/dist/internal/discovery/context.d.ts.map +1 -0
- package/dist/internal/discovery/context.js +84 -0
- package/dist/internal/discovery/cursor-plugin.d.ts +25 -0
- package/dist/internal/discovery/cursor-plugin.d.ts.map +1 -0
- package/dist/internal/discovery/cursor-plugin.js +513 -0
- package/dist/internal/discovery/extension-overlay.d.ts +31 -0
- package/dist/internal/discovery/extension-overlay.d.ts.map +1 -0
- package/dist/internal/discovery/extension-overlay.js +142 -0
- package/dist/internal/discovery/extensions.d.ts +28 -0
- package/dist/internal/discovery/extensions.d.ts.map +1 -0
- package/dist/internal/discovery/extensions.js +376 -0
- package/dist/internal/discovery/fs.d.ts +15 -0
- package/dist/internal/discovery/fs.d.ts.map +1 -0
- package/dist/internal/discovery/fs.js +92 -0
- package/dist/internal/discovery/hooks.d.ts +7 -0
- package/dist/internal/discovery/hooks.d.ts.map +1 -0
- package/dist/internal/discovery/hooks.js +50 -0
- package/dist/internal/discovery/info.d.ts +6 -0
- package/dist/internal/discovery/info.d.ts.map +1 -0
- package/dist/internal/discovery/info.js +166 -0
- package/dist/internal/discovery/instructions.d.ts +7 -0
- package/dist/internal/discovery/instructions.d.ts.map +1 -0
- package/dist/internal/discovery/instructions.js +79 -0
- package/dist/internal/discovery/instrumentation.d.ts +10 -0
- package/dist/internal/discovery/instrumentation.d.ts.map +1 -0
- package/dist/internal/discovery/instrumentation.js +29 -0
- package/dist/internal/discovery/modules.d.ts +20 -0
- package/dist/internal/discovery/modules.d.ts.map +1 -0
- package/dist/internal/discovery/modules.js +88 -0
- package/dist/internal/discovery/names.d.ts +14 -0
- package/dist/internal/discovery/names.d.ts.map +1 -0
- package/dist/internal/discovery/names.js +39 -0
- package/dist/internal/discovery/project-public.d.ts +16 -0
- package/dist/internal/discovery/project-public.d.ts.map +1 -0
- package/dist/internal/discovery/project-public.js +54 -0
- package/dist/internal/discovery/project.d.ts +57 -0
- package/dist/internal/discovery/project.d.ts.map +1 -0
- package/dist/internal/discovery/project.js +298 -0
- package/dist/internal/discovery/reminders.d.ts +7 -0
- package/dist/internal/discovery/reminders.d.ts.map +1 -0
- package/dist/internal/discovery/reminders.js +54 -0
- package/dist/internal/discovery/runtime.d.ts +34 -0
- package/dist/internal/discovery/runtime.d.ts.map +1 -0
- package/dist/internal/discovery/runtime.js +97 -0
- package/dist/internal/discovery/schedules.d.ts +7 -0
- package/dist/internal/discovery/schedules.d.ts.map +1 -0
- package/dist/internal/discovery/schedules.js +107 -0
- package/dist/internal/discovery/seed-files.d.ts +7 -0
- package/dist/internal/discovery/seed-files.d.ts.map +1 -0
- package/dist/internal/discovery/seed-files.js +30 -0
- package/dist/internal/discovery/services.d.ts +27 -0
- package/dist/internal/discovery/services.d.ts.map +1 -0
- package/dist/internal/discovery/services.js +122 -0
- package/dist/internal/discovery/skills.d.ts +11 -0
- package/dist/internal/discovery/skills.d.ts.map +1 -0
- package/dist/internal/discovery/skills.js +139 -0
- package/dist/internal/discovery/subagent.d.ts +16 -0
- package/dist/internal/discovery/subagent.d.ts.map +1 -0
- package/dist/internal/discovery/subagent.js +113 -0
- package/dist/internal/discovery/tools.d.ts +18 -0
- package/dist/internal/discovery/tools.d.ts.map +1 -0
- package/dist/internal/discovery/tools.js +144 -0
- package/dist/internal/discovery.d.ts +15 -0
- package/dist/internal/discovery.d.ts.map +1 -0
- package/dist/internal/discovery.js +13 -0
- package/dist/internal/distribution.d.ts +65 -0
- package/dist/internal/distribution.d.ts.map +1 -0
- package/dist/internal/distribution.js +102 -0
- package/dist/internal/docs-site.d.ts +38 -0
- package/dist/internal/docs-site.d.ts.map +1 -0
- package/dist/internal/docs-site.js +216 -0
- package/dist/internal/duration.d.ts +8 -0
- package/dist/internal/duration.d.ts.map +1 -0
- package/dist/internal/duration.js +35 -0
- package/dist/internal/env-file.d.ts +19 -0
- package/dist/internal/env-file.d.ts.map +1 -0
- package/dist/internal/env-file.js +74 -0
- package/dist/internal/estimate-cost.d.ts +55 -0
- package/dist/internal/estimate-cost.d.ts.map +1 -0
- package/dist/internal/estimate-cost.js +118 -0
- package/dist/internal/eval-judge-model.d.ts +64 -0
- package/dist/internal/eval-judge-model.d.ts.map +1 -0
- package/dist/internal/eval-judge-model.js +129 -0
- package/dist/internal/eval-run-store.d.ts +119 -0
- package/dist/internal/eval-run-store.d.ts.map +1 -0
- package/dist/internal/eval-run-store.js +479 -0
- package/dist/internal/eval-runner.d.ts +106 -0
- package/dist/internal/eval-runner.d.ts.map +1 -0
- package/dist/internal/eval-runner.js +616 -0
- package/dist/internal/eval-transport.d.ts +24 -0
- package/dist/internal/eval-transport.d.ts.map +1 -0
- package/dist/internal/eval-transport.js +22 -0
- package/dist/internal/evals-client.d.ts +104 -0
- package/dist/internal/evals-client.d.ts.map +1 -0
- package/dist/internal/evals-client.js +299 -0
- package/dist/internal/event-log.d.ts +94 -0
- package/dist/internal/event-log.d.ts.map +1 -0
- package/dist/internal/event-log.js +302 -0
- package/dist/internal/event-mapper.d.ts +165 -0
- package/dist/internal/event-mapper.d.ts.map +1 -0
- package/dist/internal/event-mapper.js +665 -0
- package/dist/internal/expected-delivery-failure.d.ts +3 -0
- package/dist/internal/expected-delivery-failure.d.ts.map +1 -0
- package/dist/internal/expected-delivery-failure.js +34 -0
- package/dist/internal/factory-resource-channel.d.ts +33 -0
- package/dist/internal/factory-resource-channel.d.ts.map +1 -0
- package/dist/internal/factory-resource-channel.js +63 -0
- package/dist/internal/filesystem/errors.d.ts +64 -0
- package/dist/internal/filesystem/errors.d.ts.map +1 -0
- package/dist/internal/filesystem/errors.js +172 -0
- package/dist/internal/filesystem/format.d.ts +28 -0
- package/dist/internal/filesystem/format.d.ts.map +1 -0
- package/dist/internal/filesystem/format.js +209 -0
- package/dist/internal/filesystem/merge.d.ts +34 -0
- package/dist/internal/filesystem/merge.d.ts.map +1 -0
- package/dist/internal/filesystem/merge.js +154 -0
- package/dist/internal/filesystem/nearest.d.ts +15 -0
- package/dist/internal/filesystem/nearest.d.ts.map +1 -0
- package/dist/internal/filesystem/nearest.js +90 -0
- package/dist/internal/filesystem/scratch.d.ts +60 -0
- package/dist/internal/filesystem/scratch.d.ts.map +1 -0
- package/dist/internal/filesystem/scratch.js +190 -0
- package/dist/internal/filesystem/sdk-schemas.d.ts +29 -0
- package/dist/internal/filesystem/sdk-schemas.d.ts.map +1 -0
- package/dist/internal/filesystem/sdk-schemas.js +154 -0
- package/dist/internal/filesystem/subagent-inherit.d.ts +39 -0
- package/dist/internal/filesystem/subagent-inherit.d.ts.map +1 -0
- package/dist/internal/filesystem/subagent-inherit.js +96 -0
- package/dist/internal/filesystem/tools.d.ts +48 -0
- package/dist/internal/filesystem/tools.d.ts.map +1 -0
- package/dist/internal/filesystem/tools.js +648 -0
- package/dist/internal/filesystem/walk.d.ts +77 -0
- package/dist/internal/filesystem/walk.d.ts.map +1 -0
- package/dist/internal/filesystem/walk.js +283 -0
- package/dist/internal/framework-file-storage.d.ts +51 -0
- package/dist/internal/framework-file-storage.d.ts.map +1 -0
- package/dist/internal/framework-file-storage.js +291 -0
- package/dist/internal/framework-storage-selection.d.ts +30 -0
- package/dist/internal/framework-storage-selection.d.ts.map +1 -0
- package/dist/internal/framework-storage-selection.js +84 -0
- package/dist/internal/frontmatter.d.ts +20 -0
- package/dist/internal/frontmatter.d.ts.map +1 -0
- package/dist/internal/frontmatter.js +85 -0
- package/dist/internal/github-fanout.d.ts +32 -0
- package/dist/internal/github-fanout.d.ts.map +1 -0
- package/dist/internal/github-fanout.js +106 -0
- package/dist/internal/guest-network.d.ts +98 -0
- package/dist/internal/guest-network.d.ts.map +1 -0
- package/dist/internal/guest-network.js +313 -0
- package/dist/internal/handleAgentServeTrigger.d.ts +98 -0
- package/dist/internal/handleAgentServeTrigger.d.ts.map +1 -0
- package/dist/internal/handleAgentServeTrigger.js +194 -0
- package/dist/internal/hmac-secret-values.d.ts +48 -0
- package/dist/internal/hmac-secret-values.d.ts.map +1 -0
- package/dist/internal/hmac-secret-values.js +68 -0
- 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 +256 -0
- package/dist/internal/host-kv.d.ts +21 -0
- package/dist/internal/host-kv.d.ts.map +1 -0
- package/dist/internal/host-kv.js +62 -0
- package/dist/internal/host-otel.d.ts +26 -0
- package/dist/internal/host-otel.d.ts.map +1 -0
- package/dist/internal/host-otel.js +184 -0
- package/dist/internal/host-platforms.d.ts +58 -0
- package/dist/internal/host-platforms.d.ts.map +1 -0
- package/dist/internal/host-platforms.js +118 -0
- package/dist/internal/hosted-admission-adapter.d.ts +36 -0
- package/dist/internal/hosted-admission-adapter.d.ts.map +1 -0
- package/dist/internal/hosted-admission-adapter.js +7 -0
- package/dist/internal/hosted-admission-context.d.ts +20 -0
- package/dist/internal/hosted-admission-context.d.ts.map +1 -0
- package/dist/internal/hosted-admission-context.js +31 -0
- package/dist/internal/hosted-catch-protocol.d.ts +54 -0
- package/dist/internal/hosted-catch-protocol.d.ts.map +1 -0
- package/dist/internal/hosted-catch-protocol.js +90 -0
- package/dist/internal/hosted-catch.d.ts +42 -0
- package/dist/internal/hosted-catch.d.ts.map +1 -0
- package/dist/internal/hosted-catch.js +154 -0
- package/dist/internal/hosted-delivery-protocol.d.ts +275 -0
- package/dist/internal/hosted-delivery-protocol.d.ts.map +1 -0
- package/dist/internal/hosted-delivery-protocol.js +708 -0
- package/dist/internal/hosted-delivery.d.ts +135 -0
- package/dist/internal/hosted-delivery.d.ts.map +1 -0
- package/dist/internal/hosted-delivery.js +1098 -0
- package/dist/internal/hosted-eval-cases.d.ts +21 -0
- package/dist/internal/hosted-eval-cases.d.ts.map +1 -0
- package/dist/internal/hosted-eval-cases.js +162 -0
- package/dist/internal/hosted-execution-diag.d.ts +64 -0
- package/dist/internal/hosted-execution-diag.d.ts.map +1 -0
- package/dist/internal/hosted-execution-diag.js +219 -0
- package/dist/internal/hosted-execution-flush.d.ts +65 -0
- package/dist/internal/hosted-execution-flush.d.ts.map +1 -0
- package/dist/internal/hosted-execution-flush.js +113 -0
- package/dist/internal/hosted-execution-latency.d.ts +80 -0
- package/dist/internal/hosted-execution-latency.d.ts.map +1 -0
- package/dist/internal/hosted-execution-latency.js +226 -0
- package/dist/internal/hosted-managed-automation.d.ts +30 -0
- package/dist/internal/hosted-managed-automation.d.ts.map +1 -0
- package/dist/internal/hosted-managed-automation.js +83 -0
- package/dist/internal/hosting.d.ts +62 -0
- package/dist/internal/hosting.d.ts.map +1 -0
- package/dist/internal/hosting.js +130 -0
- package/dist/internal/http-channel-define.d.ts +11 -0
- package/dist/internal/http-channel-define.d.ts.map +1 -0
- package/dist/internal/http-channel-define.js +21 -0
- package/dist/internal/http-channel.d.ts +54 -0
- package/dist/internal/http-channel.d.ts.map +1 -0
- package/dist/internal/http-channel.js +543 -0
- package/dist/internal/http-control-plane-session.d.ts +54 -0
- package/dist/internal/http-control-plane-session.d.ts.map +1 -0
- package/dist/internal/http-control-plane-session.js +163 -0
- package/dist/internal/ids.d.ts +27 -0
- package/dist/internal/ids.d.ts.map +1 -0
- package/dist/internal/ids.js +54 -0
- package/dist/internal/incoming-headers-to-fetch.d.ts +10 -0
- package/dist/internal/incoming-headers-to-fetch.d.ts.map +1 -0
- package/dist/internal/incoming-headers-to-fetch.js +40 -0
- package/dist/internal/init-interview.d.ts +64 -0
- package/dist/internal/init-interview.d.ts.map +1 -0
- package/dist/internal/init-interview.js +193 -0
- package/dist/internal/init-project.d.ts +188 -0
- package/dist/internal/init-project.d.ts.map +1 -0
- package/dist/internal/init-project.js +492 -0
- package/dist/internal/init-scaffold.d.ts +20 -0
- package/dist/internal/init-scaffold.d.ts.map +1 -0
- package/dist/internal/init-scaffold.js +194 -0
- package/dist/internal/inline-stdio-define-stub.d.ts +3 -0
- package/dist/internal/inline-stdio-define-stub.d.ts.map +1 -0
- package/dist/internal/inline-stdio-define-stub.js +4 -0
- package/dist/internal/inline-stdio-mcp.d.ts +34 -0
- package/dist/internal/inline-stdio-mcp.d.ts.map +1 -0
- package/dist/internal/inline-stdio-mcp.js +170 -0
- package/dist/internal/install-cursor-skills.d.ts +160 -0
- package/dist/internal/install-cursor-skills.d.ts.map +1 -0
- package/dist/internal/install-cursor-skills.js +464 -0
- package/dist/internal/interview/agent-questions.d.ts +19 -0
- package/dist/internal/interview/agent-questions.d.ts.map +1 -0
- package/dist/internal/interview/agent-questions.js +120 -0
- package/dist/internal/interview/question.d.ts +82 -0
- package/dist/internal/interview/question.d.ts.map +1 -0
- package/dist/internal/interview/question.js +198 -0
- package/dist/internal/is-record.d.ts +2 -0
- package/dist/internal/is-record.d.ts.map +1 -0
- package/dist/internal/is-record.js +3 -0
- package/dist/internal/json-schema.d.ts +25 -0
- package/dist/internal/json-schema.d.ts.map +1 -0
- package/dist/internal/json-schema.js +69 -0
- package/dist/internal/legacy-command-guard.d.ts +24 -0
- package/dist/internal/legacy-command-guard.d.ts.map +1 -0
- package/dist/internal/legacy-command-guard.js +47 -0
- package/dist/internal/listen-port.d.ts +22 -0
- package/dist/internal/listen-port.d.ts.map +1 -0
- package/dist/internal/listen-port.js +66 -0
- package/dist/internal/local-control-plane.d.ts +59 -0
- package/dist/internal/local-control-plane.d.ts.map +1 -0
- package/dist/internal/local-control-plane.js +341 -0
- package/dist/internal/local-env.d.ts +10 -0
- package/dist/internal/local-env.d.ts.map +1 -0
- package/dist/internal/local-env.js +55 -0
- package/dist/internal/local-ingress.d.ts +35 -0
- package/dist/internal/local-ingress.d.ts.map +1 -0
- package/dist/internal/local-ingress.js +50 -0
- package/dist/internal/log-ring.d.ts +23 -0
- package/dist/internal/log-ring.d.ts.map +1 -0
- package/dist/internal/log-ring.js +41 -0
- package/dist/internal/logs-client.d.ts +98 -0
- package/dist/internal/logs-client.d.ts.map +1 -0
- package/dist/internal/logs-client.js +418 -0
- package/dist/internal/map-pool.d.ts +11 -0
- package/dist/internal/map-pool.d.ts.map +1 -0
- package/dist/internal/map-pool.js +34 -0
- package/dist/internal/mcp-endpoint.d.ts +84 -0
- package/dist/internal/mcp-endpoint.d.ts.map +1 -0
- package/dist/internal/mcp-endpoint.js +566 -0
- package/dist/internal/mcp-host.d.ts +99 -0
- package/dist/internal/mcp-host.d.ts.map +1 -0
- package/dist/internal/mcp-host.js +422 -0
- package/dist/internal/mcp-oauth-on-demand.d.ts +68 -0
- package/dist/internal/mcp-oauth-on-demand.d.ts.map +1 -0
- package/dist/internal/mcp-oauth-on-demand.js +250 -0
- package/dist/internal/mcp-oauth-persist.d.ts +42 -0
- package/dist/internal/mcp-oauth-persist.d.ts.map +1 -0
- package/dist/internal/mcp-oauth-persist.js +76 -0
- package/dist/internal/mcp-oauth.d.ts +118 -0
- package/dist/internal/mcp-oauth.d.ts.map +1 -0
- package/dist/internal/mcp-oauth.js +393 -0
- package/dist/internal/memory-dir.d.ts +8 -0
- package/dist/internal/memory-dir.d.ts.map +1 -0
- package/dist/internal/memory-dir.js +7 -0
- package/dist/internal/model-config.d.ts +7 -0
- package/dist/internal/model-config.d.ts.map +1 -0
- package/dist/internal/model-config.js +67 -0
- package/dist/internal/named-webhook-secret.d.ts +39 -0
- package/dist/internal/named-webhook-secret.d.ts.map +1 -0
- package/dist/internal/named-webhook-secret.js +47 -0
- package/dist/internal/net.d.ts +5 -0
- package/dist/internal/net.d.ts.map +1 -0
- package/dist/internal/net.js +28 -0
- package/dist/internal/open-browser.d.ts +5 -0
- package/dist/internal/open-browser.d.ts.map +1 -0
- package/dist/internal/open-browser.js +33 -0
- package/dist/internal/otel/attrs.d.ts +7 -0
- package/dist/internal/otel/attrs.d.ts.map +1 -0
- package/dist/internal/otel/attrs.js +13 -0
- package/dist/internal/otel/collector.d.ts +50 -0
- package/dist/internal/otel/collector.d.ts.map +1 -0
- package/dist/internal/otel/collector.js +765 -0
- package/dist/internal/otel/computer-use-attrs.d.ts +18 -0
- package/dist/internal/otel/computer-use-attrs.d.ts.map +1 -0
- package/dist/internal/otel/computer-use-attrs.js +30 -0
- package/dist/internal/otel/config.d.ts +59 -0
- package/dist/internal/otel/config.d.ts.map +1 -0
- package/dist/internal/otel/config.js +236 -0
- package/dist/internal/otel/conversation-span-processor.d.ts +9 -0
- package/dist/internal/otel/conversation-span-processor.d.ts.map +1 -0
- package/dist/internal/otel/conversation-span-processor.js +34 -0
- package/dist/internal/otel/customer.d.ts +52 -0
- package/dist/internal/otel/customer.d.ts.map +1 -0
- package/dist/internal/otel/customer.js +727 -0
- package/dist/internal/otel/http.d.ts +13 -0
- package/dist/internal/otel/http.d.ts.map +1 -0
- package/dist/internal/otel/http.js +93 -0
- package/dist/internal/otel/mcp.d.ts +16 -0
- package/dist/internal/otel/mcp.d.ts.map +1 -0
- package/dist/internal/otel/mcp.js +46 -0
- package/dist/internal/otel/propagation.d.ts +6 -0
- package/dist/internal/otel/propagation.d.ts.map +1 -0
- package/dist/internal/otel/propagation.js +14 -0
- package/dist/internal/otel/runtime.d.ts +41 -0
- package/dist/internal/otel/runtime.d.ts.map +1 -0
- package/dist/internal/otel/runtime.js +92 -0
- package/dist/internal/otel/tool-error-class.d.ts +4 -0
- package/dist/internal/otel/tool-error-class.d.ts.map +1 -0
- package/dist/internal/otel/tool-error-class.js +36 -0
- package/dist/internal/otel-env.d.ts +6 -0
- package/dist/internal/otel-env.d.ts.map +1 -0
- package/dist/internal/otel-env.js +5 -0
- package/dist/internal/package-inline-stdio.d.ts +12 -0
- package/dist/internal/package-inline-stdio.d.ts.map +1 -0
- package/dist/internal/package-inline-stdio.js +107 -0
- package/dist/internal/peer-connections.d.ts +63 -0
- package/dist/internal/peer-connections.d.ts.map +1 -0
- package/dist/internal/peer-connections.js +115 -0
- package/dist/internal/persistent-stage-log-mirror.d.ts +57 -0
- package/dist/internal/persistent-stage-log-mirror.d.ts.map +1 -0
- package/dist/internal/persistent-stage-log-mirror.js +231 -0
- package/dist/internal/platform-schedule-sync.d.ts +17 -0
- package/dist/internal/platform-schedule-sync.d.ts.map +1 -0
- package/dist/internal/platform-schedule-sync.js +55 -0
- package/dist/internal/platform-timers.d.ts +42 -0
- package/dist/internal/platform-timers.d.ts.map +1 -0
- package/dist/internal/platform-timers.js +251 -0
- package/dist/internal/playground/static.d.ts +52 -0
- package/dist/internal/playground/static.d.ts.map +1 -0
- package/dist/internal/playground/static.js +230 -0
- package/dist/internal/playground/toolchain.d.ts +57 -0
- package/dist/internal/playground/toolchain.d.ts.map +1 -0
- package/dist/internal/playground/toolchain.js +213 -0
- package/dist/internal/playground-proxy.d.ts +69 -0
- package/dist/internal/playground-proxy.d.ts.map +1 -0
- package/dist/internal/playground-proxy.js +434 -0
- package/dist/internal/process-memory-telemetry.d.ts +89 -0
- package/dist/internal/process-memory-telemetry.d.ts.map +1 -0
- package/dist/internal/process-memory-telemetry.js +226 -0
- package/dist/internal/project-layout.d.ts +7 -0
- package/dist/internal/project-layout.d.ts.map +1 -0
- package/dist/internal/project-layout.js +24 -0
- package/dist/internal/prompt-context.d.ts +38 -0
- package/dist/internal/prompt-context.d.ts.map +1 -0
- package/dist/internal/prompt-context.js +86 -0
- package/dist/internal/reminder-control-plane-protocol.d.ts +196 -0
- package/dist/internal/reminder-control-plane-protocol.d.ts.map +1 -0
- package/dist/internal/reminder-control-plane-protocol.js +279 -0
- package/dist/internal/reminder-runner.d.ts +223 -0
- package/dist/internal/reminder-runner.d.ts.map +1 -0
- package/dist/internal/reminder-runner.js +1241 -0
- package/dist/internal/reminder-schedule.d.ts +26 -0
- package/dist/internal/reminder-schedule.d.ts.map +1 -0
- package/dist/internal/reminder-schedule.js +83 -0
- package/dist/internal/reminder-store.d.ts +78 -0
- package/dist/internal/reminder-store.d.ts.map +1 -0
- package/dist/internal/reminder-store.js +105 -0
- package/dist/internal/request-error-status.d.ts +14 -0
- package/dist/internal/request-error-status.d.ts.map +1 -0
- package/dist/internal/request-error-status.js +77 -0
- package/dist/internal/request-headers.d.ts +11 -0
- package/dist/internal/request-headers.d.ts.map +1 -0
- package/dist/internal/request-headers.js +14 -0
- package/dist/internal/resolve-prod-target.d.ts +76 -0
- package/dist/internal/resolve-prod-target.d.ts.map +1 -0
- package/dist/internal/resolve-prod-target.js +215 -0
- package/dist/internal/resolved-connections.d.ts +65 -0
- package/dist/internal/resolved-connections.d.ts.map +1 -0
- package/dist/internal/resolved-connections.js +108 -0
- package/dist/internal/router.d.ts +33 -0
- package/dist/internal/router.d.ts.map +1 -0
- package/dist/internal/router.js +93 -0
- package/dist/internal/run-client.d.ts +78 -0
- package/dist/internal/run-client.d.ts.map +1 -0
- package/dist/internal/run-client.js +369 -0
- package/dist/internal/runtime-dispatch-runner.d.ts +25 -0
- package/dist/internal/runtime-dispatch-runner.d.ts.map +1 -0
- package/dist/internal/runtime-dispatch-runner.js +35 -0
- package/dist/internal/sanitize-mcp-tool-name.d.ts +20 -0
- package/dist/internal/sanitize-mcp-tool-name.d.ts.map +1 -0
- package/dist/internal/sanitize-mcp-tool-name.js +28 -0
- package/dist/internal/schedule-runner.d.ts +42 -0
- package/dist/internal/schedule-runner.d.ts.map +1 -0
- package/dist/internal/schedule-runner.js +157 -0
- package/dist/internal/scm/pr-url.d.ts +56 -0
- package/dist/internal/scm/pr-url.d.ts.map +1 -0
- package/dist/internal/scm/pr-url.js +153 -0
- package/dist/internal/sdk-runner.d.ts +204 -0
- package/dist/internal/sdk-runner.d.ts.map +1 -0
- package/dist/internal/sdk-runner.js +1006 -0
- package/dist/internal/sdk-subagent-inherit-support.d.ts +9 -0
- package/dist/internal/sdk-subagent-inherit-support.d.ts.map +1 -0
- package/dist/internal/sdk-subagent-inherit-support.js +89 -0
- package/dist/internal/secret-alternatives.d.ts +11 -0
- package/dist/internal/secret-alternatives.d.ts.map +1 -0
- package/dist/internal/secret-alternatives.js +13 -0
- package/dist/internal/serve-restart.d.ts +42 -0
- package/dist/internal/serve-restart.d.ts.map +1 -0
- package/dist/internal/serve-restart.js +72 -0
- package/dist/internal/server.d.ts +45 -0
- package/dist/internal/server.d.ts.map +1 -0
- package/dist/internal/server.js +2566 -0
- package/dist/internal/session-cost.d.ts +49 -0
- package/dist/internal/session-cost.d.ts.map +1 -0
- package/dist/internal/session-cost.js +147 -0
- package/dist/internal/session-engine.d.ts +955 -0
- package/dist/internal/session-engine.d.ts.map +1 -0
- package/dist/internal/session-engine.js +4880 -0
- package/dist/internal/session-links.d.ts +14 -0
- package/dist/internal/session-links.d.ts.map +1 -0
- package/dist/internal/session-links.js +64 -0
- package/dist/internal/session-live-publisher.d.ts +48 -0
- package/dist/internal/session-live-publisher.d.ts.map +1 -0
- package/dist/internal/session-live-publisher.js +415 -0
- package/dist/internal/session-run-log.d.ts +108 -0
- package/dist/internal/session-run-log.d.ts.map +1 -0
- package/dist/internal/session-run-log.js +398 -0
- package/dist/internal/session-store.d.ts +73 -0
- package/dist/internal/session-store.d.ts.map +1 -0
- package/dist/internal/session-store.js +279 -0
- package/dist/internal/session-urls.d.ts +10 -0
- package/dist/internal/session-urls.d.ts.map +1 -0
- package/dist/internal/session-urls.js +25 -0
- package/dist/internal/sessions-client.d.ts +63 -0
- package/dist/internal/sessions-client.d.ts.map +1 -0
- package/dist/internal/sessions-client.js +215 -0
- package/dist/internal/skill-catalog.d.ts +28 -0
- package/dist/internal/skill-catalog.d.ts.map +1 -0
- package/dist/internal/skill-catalog.js +36 -0
- package/dist/internal/skills-sync.d.ts +22 -0
- package/dist/internal/skills-sync.d.ts.map +1 -0
- package/dist/internal/skills-sync.js +40 -0
- package/dist/internal/slack-provision-client.d.ts +199 -0
- package/dist/internal/slack-provision-client.d.ts.map +1 -0
- package/dist/internal/slack-provision-client.js +320 -0
- package/dist/internal/slack-thread-key.d.ts +7 -0
- package/dist/internal/slack-thread-key.d.ts.map +1 -0
- package/dist/internal/slack-thread-key.js +10 -0
- package/dist/internal/sleep.d.ts +2 -0
- package/dist/internal/sleep.d.ts.map +1 -0
- package/dist/internal/sleep.js +3 -0
- package/dist/internal/slug.d.ts +12 -0
- package/dist/internal/slug.d.ts.map +1 -0
- package/dist/internal/slug.js +38 -0
- package/dist/internal/sqlite-experimental-warning.d.ts +2 -0
- package/dist/internal/sqlite-experimental-warning.d.ts.map +1 -0
- package/dist/internal/sqlite-experimental-warning.js +22 -0
- package/dist/internal/start-log-store.d.ts +53 -0
- package/dist/internal/start-log-store.d.ts.map +1 -0
- package/dist/internal/start-log-store.js +155 -0
- package/dist/internal/steering.d.ts +15 -0
- package/dist/internal/steering.d.ts.map +1 -0
- package/dist/internal/steering.js +17 -0
- package/dist/internal/storage-coordinator.d.ts +200 -0
- package/dist/internal/storage-coordinator.d.ts.map +1 -0
- package/dist/internal/storage-coordinator.js +747 -0
- package/dist/internal/storage-roles.d.ts +83 -0
- package/dist/internal/storage-roles.d.ts.map +1 -0
- package/dist/internal/storage-roles.js +24 -0
- package/dist/internal/storage.d.ts +2 -0
- package/dist/internal/storage.d.ts.map +1 -0
- package/dist/internal/storage.js +1 -0
- package/dist/internal/store-api-protocol.d.ts +164 -0
- package/dist/internal/store-api-protocol.d.ts.map +1 -0
- package/dist/internal/store-api-protocol.js +145 -0
- package/dist/internal/store-mirror.d.ts +28 -0
- package/dist/internal/store-mirror.d.ts.map +1 -0
- package/dist/internal/store-mirror.js +54 -0
- package/dist/internal/stream-progress.d.ts +14 -0
- package/dist/internal/stream-progress.d.ts.map +1 -0
- package/dist/internal/stream-progress.js +231 -0
- package/dist/internal/terminal-style.d.ts +40 -0
- package/dist/internal/terminal-style.d.ts.map +1 -0
- package/dist/internal/terminal-style.js +93 -0
- package/dist/internal/testing/conversation-identity-vectors.d.ts +53 -0
- package/dist/internal/testing/conversation-identity-vectors.d.ts.map +1 -0
- package/dist/internal/testing/conversation-identity-vectors.js +170 -0
- package/dist/internal/testing/factory-resource-fixtures.d.ts +64 -0
- package/dist/internal/testing/factory-resource-fixtures.d.ts.map +1 -0
- package/dist/internal/testing/factory-resource-fixtures.js +55 -0
- package/dist/internal/testing/hmac-secret-vectors.d.ts +38 -0
- package/dist/internal/testing/hmac-secret-vectors.d.ts.map +1 -0
- package/dist/internal/testing/hmac-secret-vectors.js +89 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts +42 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts.map +1 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.js +175 -0
- package/dist/internal/testing/scm-continuation-fixtures.d.ts +33 -0
- package/dist/internal/testing/scm-continuation-fixtures.d.ts.map +1 -0
- package/dist/internal/testing/scm-continuation-fixtures.js +257 -0
- package/dist/internal/testing/slack-continuation-fixtures.d.ts +26 -0
- package/dist/internal/testing/slack-continuation-fixtures.d.ts.map +1 -0
- package/dist/internal/testing/slack-continuation-fixtures.js +136 -0
- package/dist/internal/tool-call-retry.d.ts +87 -0
- package/dist/internal/tool-call-retry.d.ts.map +1 -0
- package/dist/internal/tool-call-retry.js +387 -0
- package/dist/internal/tool-catalog.d.ts +31 -0
- package/dist/internal/tool-catalog.d.ts.map +1 -0
- package/dist/internal/tool-catalog.js +76 -0
- package/dist/internal/tool-policy.d.ts +110 -0
- package/dist/internal/tool-policy.d.ts.map +1 -0
- package/dist/internal/tool-policy.js +138 -0
- package/dist/internal/tool-result.d.ts +20 -0
- package/dist/internal/tool-result.d.ts.map +1 -0
- package/dist/internal/tool-result.js +50 -0
- package/dist/internal/trajectory.d.ts +68 -0
- package/dist/internal/trajectory.d.ts.map +1 -0
- package/dist/internal/trajectory.js +336 -0
- package/dist/internal/turn-governor.d.ts +54 -0
- package/dist/internal/turn-governor.d.ts.map +1 -0
- package/dist/internal/turn-governor.js +108 -0
- package/dist/internal/turn-lease-store.d.ts +51 -0
- package/dist/internal/turn-lease-store.d.ts.map +1 -0
- package/dist/internal/turn-lease-store.js +172 -0
- package/dist/internal/turn-outbox.d.ts +24 -0
- package/dist/internal/turn-outbox.d.ts.map +1 -0
- package/dist/internal/turn-outbox.js +65 -0
- package/dist/internal/update-check.d.ts +93 -0
- package/dist/internal/update-check.d.ts.map +1 -0
- package/dist/internal/update-check.js +401 -0
- package/dist/internal/v2-hosting.d.ts +34 -0
- package/dist/internal/v2-hosting.d.ts.map +1 -0
- package/dist/internal/v2-hosting.js +35 -0
- package/dist/internal/workspace-sync.d.ts +44 -0
- package/dist/internal/workspace-sync.d.ts.map +1 -0
- package/dist/internal/workspace-sync.js +85 -0
- package/dist/internal/workspace.d.ts +155 -0
- package/dist/internal/workspace.d.ts.map +1 -0
- package/dist/internal/workspace.js +468 -0
- package/dist/internal/zod-schema.d.ts +14 -0
- package/dist/internal/zod-schema.d.ts.map +1 -0
- package/dist/internal/zod-schema.js +22 -0
- package/dist/internal/zod3-datetime.d.ts +12 -0
- package/dist/internal/zod3-datetime.d.ts.map +1 -0
- package/dist/internal/zod3-datetime.js +17 -0
- package/dist/kv/memory-kv.d.ts +24 -0
- package/dist/kv/memory-kv.d.ts.map +1 -0
- package/dist/kv/memory-kv.js +80 -0
- package/dist/kv.d.ts +18 -0
- package/dist/kv.d.ts.map +1 -0
- package/dist/kv.js +16 -0
- package/dist/memory.d.ts +113 -0
- package/dist/memory.d.ts.map +1 -0
- package/dist/memory.js +312 -0
- package/dist/otel-public.d.ts +6 -0
- package/dist/otel-public.d.ts.map +1 -0
- package/dist/otel-public.js +5 -0
- package/dist/otel.d.ts +31 -0
- package/dist/otel.d.ts.map +1 -0
- package/dist/otel.js +146 -0
- package/dist/playground/assets/cursor-icons-16-DfKNljMZ.woff2 +0 -0
- package/dist/playground/assets/index-B3_YohwW.js +62 -0
- package/dist/playground/assets/index-Cn3-adsJ.css +1 -0
- package/dist/playground/index.html +17 -0
- package/dist/prompt.d.ts +39 -0
- package/dist/prompt.d.ts.map +1 -0
- package/dist/prompt.js +68 -0
- package/dist/public-deprecated.d.ts +36 -0
- package/dist/public-deprecated.d.ts.map +1 -0
- package/dist/public-deprecated.js +39 -0
- package/dist/reminders.d.ts +42 -0
- package/dist/reminders.d.ts.map +1 -0
- package/dist/reminders.js +45 -0
- package/dist/schedules.d.ts +23 -0
- package/dist/schedules.d.ts.map +1 -0
- package/dist/schedules.js +26 -0
- package/dist/skills.d.ts +22 -0
- package/dist/skills.d.ts.map +1 -0
- package/dist/skills.js +22 -0
- package/dist/storage-backends/cursor-hosted-v2.d.ts +54 -0
- package/dist/storage-backends/cursor-hosted-v2.d.ts.map +1 -0
- package/dist/storage-backends/cursor-hosted-v2.js +113 -0
- package/dist/storage-backends/cursor-hosted.d.ts +94 -0
- package/dist/storage-backends/cursor-hosted.d.ts.map +1 -0
- package/dist/storage-backends/cursor-hosted.js +225 -0
- package/dist/storage-backends/file-kv.d.ts +42 -0
- package/dist/storage-backends/file-kv.d.ts.map +1 -0
- package/dist/storage-backends/file-kv.js +226 -0
- package/dist/storage-protocol.d.ts +124 -0
- package/dist/storage-protocol.d.ts.map +1 -0
- package/dist/storage-protocol.js +181 -0
- package/dist/storage.d.ts +254 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +145 -0
- package/dist/tools.d.ts +135 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +78 -0
- package/dist/types.d.ts +3804 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +191 -0
- package/docs/README.md +115 -0
- package/docs/building-with-agents.md +139 -0
- package/docs/changelog.md +119 -0
- package/docs/deployment.md +314 -0
- package/docs/evals.md +244 -0
- package/docs/guides/agent-to-agent.md +167 -0
- package/docs/guides/bitbucket.md +298 -0
- package/docs/guides/cloud-agents.md +86 -0
- package/docs/guides/convert-automation.md +185 -0
- package/docs/guides/export-grokbot.md +244 -0
- package/docs/guides/github.md +378 -0
- package/docs/guides/gitlab.md +304 -0
- package/docs/guides/grokbot-agents.md +140 -0
- package/docs/guides/hooks.md +121 -0
- package/docs/guides/improve.md +134 -0
- package/docs/guides/jev.md +303 -0
- package/docs/guides/mcp-oauth.md +153 -0
- package/docs/guides/migrate.md +169 -0
- package/docs/guides/opentelemetry.md +205 -0
- package/docs/guides/pagerduty.md +341 -0
- package/docs/guides/slack.md +314 -0
- package/docs/guides/webhooks.md +255 -0
- package/docs/hillclimbing.md +139 -0
- package/docs/quickstart.md +312 -0
- package/docs/reference/agent-config.md +243 -0
- package/docs/reference/artifacts.md +118 -0
- package/docs/reference/channels.md +219 -0
- package/docs/reference/cli.md +1103 -0
- package/docs/reference/connections.md +312 -0
- package/docs/reference/evals.md +299 -0
- package/docs/reference/extensions.md +214 -0
- package/docs/reference/hooks.md +202 -0
- package/docs/reference/http-api.md +226 -0
- package/docs/reference/instructions.md +69 -0
- package/docs/reference/memory.md +119 -0
- package/docs/reference/playground.md +41 -0
- package/docs/reference/project-layout.md +122 -0
- package/docs/reference/prompt.md +52 -0
- package/docs/reference/schedules.md +195 -0
- package/docs/reference/sessions.md +205 -0
- package/docs/reference/skills.md +77 -0
- package/docs/reference/subagents.md +66 -0
- package/docs/reference/tools.md +311 -0
- package/docs/templates/agentic-owners.md +131 -0
- package/docs/templates/grokbot-agents.md +60 -0
- package/docs/templates/security-reviewer.md +86 -0
- package/docs/templates/thermo-quality-review.md +80 -0
- package/docs/templates/thermo-review.md +80 -0
- package/docs/templates/triage.md +106 -0
- package/docs/troubleshooting.md +154 -0
- package/package.json +429 -4
- package/schemas/grokbot-answers.schema.json +354 -0
- package/scripts/install-cursor-skills.mjs +29 -0
- package/skills/create-agent/SKILL.md +175 -0
- package/skills/debug/SKILL.md +43 -0
- package/skills/deploy/SKILL.md +169 -0
- package/skills/evals/SKILL.md +145 -0
- package/skills/framework-map/SKILL.md +128 -0
- package/skills/github/SKILL.md +133 -0
- package/skills/hillclimb/SKILL.md +63 -0
- package/skills/mcp-auth/SKILL.md +60 -0
- package/skills/migrate-v2/SKILL.md +397 -0
- package/skills/otel/SKILL.md +48 -0
- package/skills/setup-slack/SKILL.md +136 -0
- package/templates/agentic-owners/README.md +78 -0
- package/templates/agentic-owners/bot/agent.ts +8 -0
- package/templates/agentic-owners/bot/channels/github.ts +63 -0
- package/templates/agentic-owners/bot/instructions.md +34 -0
- package/templates/agentic-owners/bot/lib/config.ts +5 -0
- package/templates/agentic-owners/bot/lib/github.ts +219 -0
- package/templates/agentic-owners/bot/lib/owners/README.md +50 -0
- package/templates/agentic-owners/bot/lib/owners/constants.ts +22 -0
- package/templates/agentic-owners/bot/lib/owners/decision.ts +480 -0
- package/templates/agentic-owners/bot/lib/owners/globalOverride.ts +60 -0
- package/templates/agentic-owners/bot/lib/owners/handles.ts +54 -0
- package/templates/agentic-owners/bot/lib/owners/match.ts +287 -0
- package/templates/agentic-owners/bot/lib/owners/matching.ts +147 -0
- package/templates/agentic-owners/bot/lib/owners/parse.ts +696 -0
- package/templates/agentic-owners/bot/lib/owners/policyMode.ts +57 -0
- package/templates/agentic-owners/bot/lib/owners/prompt.ts +64 -0
- package/templates/agentic-owners/bot/lib/owners/prompts/base-review.md +105 -0
- package/templates/agentic-owners/bot/lib/owners/types.ts +73 -0
- package/templates/agentic-owners/bot/lib/review.ts +723 -0
- package/templates/agentic-owners/bot/tools/record_review.ts +62 -0
- package/templates/agentic-owners/evals/evals.config.ts +5 -0
- package/templates/agentic-owners/evals/owners.eval.ts +111 -0
- package/templates/agentic-owners/package.json +20 -0
- package/templates/agentic-owners/tsconfig.json +12 -0
- package/templates/agents-md/README.md +43 -0
- package/templates/agents-md/bot/agent.ts +8 -0
- package/templates/agents-md/bot/channels/github.ts +10 -0
- package/templates/agents-md/bot/channels/queue.ts +23 -0
- package/templates/agents-md/bot/channels/slack.ts +9 -0
- package/templates/agents-md/bot/instructions.md +38 -0
- package/templates/agents-md/bot/lib/collect.ts +412 -0
- package/templates/agents-md/bot/lib/config.ts +8 -0
- package/templates/agents-md/bot/lib/paths.ts +49 -0
- package/templates/agents-md/bot/schedules/weekly.ts +17 -0
- package/templates/agents-md/bot/tools/apply_agents.ts +217 -0
- package/templates/agents-md/evals/agents.eval.ts +136 -0
- package/templates/agents-md/evals/evals.config.ts +5 -0
- package/templates/agents-md/init.json +38 -0
- package/templates/agents-md/package.json +18 -0
- package/templates/agents-md/tsconfig.json +12 -0
- package/templates/code-wiki/README.md +34 -0
- package/templates/code-wiki/bot/agent.ts +8 -0
- package/templates/code-wiki/bot/channels/github.ts +125 -0
- package/templates/code-wiki/bot/instructions.md +39 -0
- package/templates/code-wiki/bot/lib/repos.ts +5 -0
- package/templates/code-wiki/bot/lib/wiki.ts +22 -0
- package/templates/code-wiki/bot/tools/apply_wiki.ts +210 -0
- package/templates/code-wiki/evals/evals.config.ts +5 -0
- package/templates/code-wiki/evals/wiki.eval.ts +124 -0
- package/templates/code-wiki/init.json +25 -0
- package/templates/code-wiki/package.json +18 -0
- package/templates/code-wiki/tsconfig.json +12 -0
- package/templates/demo/README.md +37 -0
- package/templates/demo/bot/agent.ts +8 -0
- package/templates/demo/bot/channels/github.ts +52 -0
- package/templates/demo/bot/channels/queue.ts +24 -0
- package/templates/demo/bot/instructions.md +8 -0
- package/templates/demo/bot/lib/collect.ts +66 -0
- package/templates/demo/bot/lib/repos.ts +5 -0
- package/templates/demo/bot/tools/record_demo.ts +37 -0
- package/templates/demo/evals/demo.eval.ts +29 -0
- package/templates/demo/evals/evals.config.ts +5 -0
- package/templates/demo/init.json +25 -0
- package/templates/demo/package.json +18 -0
- package/templates/demo/tsconfig.json +12 -0
- package/templates/grokbot-agents/README.md +27 -0
- package/templates/grokbot-agents/bot/agent.ts +6 -0
- package/templates/grokbot-agents/bot/extensions/grokbot.ts +5 -0
- package/templates/grokbot-agents/bot/instructions.md +7 -0
- package/templates/grokbot-agents/evals/evals.config.ts +5 -0
- package/templates/grokbot-agents/evals/grokbot-agents.eval.ts +18 -0
- package/templates/grokbot-agents/init.json +18 -0
- package/templates/grokbot-agents/package.json +17 -0
- package/templates/grokbot-agents/tsconfig.json +12 -0
- package/templates/pr-autofixer/bot/agent.ts +11 -0
- package/templates/pr-autofixer/bot/channels/drive.ts +24 -0
- package/templates/pr-autofixer/bot/channels/github.ts +155 -0
- package/templates/pr-autofixer/bot/channels/slack.ts +16 -0
- package/templates/pr-autofixer/bot/hooks/bind-agent.ts +19 -0
- package/templates/pr-autofixer/bot/instructions.md +83 -0
- package/templates/pr-autofixer/bot/lib/affinity.ts +24 -0
- package/templates/pr-autofixer/bot/lib/drive-schemas.ts +18 -0
- package/templates/pr-autofixer/bot/lib/drive.ts +73 -0
- package/templates/pr-autofixer/bot/lib/merge-watch.ts +116 -0
- package/templates/pr-autofixer/bot/lib/pr-state.ts +40 -0
- package/templates/pr-autofixer/bot/lib/repos.ts +18 -0
- package/templates/pr-autofixer/bot/lib/start-drive.ts +113 -0
- package/templates/pr-autofixer/bot/lib/webhook-buffer.ts +215 -0
- package/templates/pr-autofixer/bot/lib/webhook-routing.ts +231 -0
- package/templates/pr-autofixer/bot/tools/drive_pr.ts +21 -0
- package/templates/pr-autofixer/evals/coordinator.eval.ts +16 -0
- package/templates/pr-autofixer/evals/evals.config.ts +5 -0
- package/templates/pr-autofixer/init.json +25 -0
- package/templates/pr-autofixer/package.json +18 -0
- package/templates/pr-autofixer/tsconfig.json +12 -0
- package/templates/security-help/README.md +46 -0
- package/templates/security-help/bot/agent.ts +17 -0
- package/templates/security-help/bot/channels/github.ts +13 -0
- package/templates/security-help/bot/channels/slack.ts +84 -0
- package/templates/security-help/bot/instructions.md +19 -0
- package/templates/security-help/bot/lib/pr-first-pass.ts +40 -0
- package/templates/security-help/bot/lib/repos.ts +5 -0
- package/templates/security-help/bot/skills/access-request.md +10 -0
- package/templates/security-help/bot/skills/faq.md +31 -0
- package/templates/security-help/bot/skills/security-playbooks.md +12 -0
- package/templates/security-help/bot/skills/security-pr-first-pass.md +12 -0
- package/templates/security-help/evals/evals.config.ts +5 -0
- package/templates/security-help/evals/security-help.eval.ts +51 -0
- package/templates/security-help/init.json +31 -0
- package/templates/security-help/package.json +17 -0
- package/templates/security-help/tsconfig.json +12 -0
- package/templates/security-reviewer/README.md +33 -0
- package/templates/security-reviewer/bot/agent.ts +8 -0
- package/templates/security-reviewer/bot/channels/github.ts +43 -0
- package/templates/security-reviewer/bot/instructions.md +22 -0
- package/templates/security-reviewer/bot/lib/repos.ts +5 -0
- package/templates/security-reviewer/bot/tools/post_findings.ts +68 -0
- package/templates/security-reviewer/evals/evals.config.ts +5 -0
- package/templates/security-reviewer/evals/review.eval.ts +50 -0
- package/templates/security-reviewer/init.json +25 -0
- package/templates/security-reviewer/package.json +18 -0
- package/templates/security-reviewer/tsconfig.json +12 -0
- package/templates/thermo-quality-review/README.md +35 -0
- package/templates/thermo-quality-review/bot/agent.ts +8 -0
- package/templates/thermo-quality-review/bot/channels/github.ts +39 -0
- package/templates/thermo-quality-review/bot/instructions.md +43 -0
- package/templates/thermo-quality-review/bot/tools/post_findings.ts +67 -0
- package/templates/thermo-quality-review/evals/evals.config.ts +5 -0
- package/templates/thermo-quality-review/evals/review.eval.ts +59 -0
- package/templates/thermo-quality-review/package.json +18 -0
- package/templates/thermo-quality-review/tsconfig.json +12 -0
- package/templates/thermo-review/README.md +35 -0
- package/templates/thermo-review/bot/agent.ts +8 -0
- package/templates/thermo-review/bot/channels/github.ts +39 -0
- package/templates/thermo-review/bot/instructions.md +40 -0
- package/templates/thermo-review/bot/tools/post_findings.ts +67 -0
- package/templates/thermo-review/evals/evals.config.ts +5 -0
- package/templates/thermo-review/evals/review.eval.ts +50 -0
- package/templates/thermo-review/package.json +18 -0
- package/templates/thermo-review/tsconfig.json +12 -0
- package/templates/triage/README.md +47 -0
- package/templates/triage/bot/agent.ts +8 -0
- package/templates/triage/bot/channels/queue.ts +29 -0
- package/templates/triage/bot/channels/webhook.ts +41 -0
- package/templates/triage/bot/hooks/memory.ts +3 -0
- package/templates/triage/bot/instructions.md +38 -0
- package/templates/triage/bot/lib/actuate.ts +703 -0
- package/templates/triage/bot/lib/parse-queue-event.ts +160 -0
- package/templates/triage/bot/lib/tracker.ts +5 -0
- package/templates/triage/bot/lib/types.ts +48 -0
- package/templates/triage/bot/lib/verify-webhook.ts +79 -0
- package/templates/triage/bot/skills/triage-rubric.md +44 -0
- package/templates/triage/bot/tools/record_triage.ts +29 -0
- package/templates/triage/evals/evals.config.ts +5 -0
- package/templates/triage/evals/triage.eval.ts +64 -0
- package/templates/triage/overlays/jira/README.md +21 -0
- package/templates/triage/overlays/jira/bot/lib/tracker.ts +8 -0
- package/templates/triage/overlays/jira/bot/mcp-connections/tracker.ts +6 -0
- package/templates/triage/overlays/linear/README.md +21 -0
- package/templates/triage/overlays/linear/bot/lib/tracker.ts +8 -0
- package/templates/triage/overlays/linear/bot/mcp-connections/tracker.ts +6 -0
- package/templates/triage/package.json +18 -0
- package/templates/triage/tsconfig.json +12 -0
|
@@ -0,0 +1,1098 @@
|
|
|
1
|
+
# BDK CLI
|
|
2
|
+
|
|
3
|
+
The Bot Development Kit (BDK) is published as `@cursor/bdk` with the `bdk`
|
|
4
|
+
CLI.
|
|
5
|
+
|
|
6
|
+
```text
|
|
7
|
+
bdk <command>
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
The command catalog below documents the `bdk` binary from
|
|
11
|
+
`@cursor/bdk`. Run it with Node 22.13 or newer; Bun is not
|
|
12
|
+
supported. Commands exit nonzero when validation or a synchronous request fails;
|
|
13
|
+
asynchronous commands can exit `0` once work is accepted. Project paths use the
|
|
14
|
+
[BDK project layout](/docs/reference/project-layout.md).
|
|
15
|
+
|
|
16
|
+
Install `@cursor/bdk` to obtain the binary. `bdk help`
|
|
17
|
+
prints top-level help; the Slack, GitHub, GitLab, and Bitbucket command packs
|
|
18
|
+
provide their own `help` subcommands.
|
|
19
|
+
|
|
20
|
+
## Command catalog
|
|
21
|
+
|
|
22
|
+
### Development commands
|
|
23
|
+
|
|
24
|
+
| Command | Contract |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| `help`, `--help`, `-h` | Print top-level help |
|
|
27
|
+
| [`serve`](#serve) | Serve one or more agents over HTTP |
|
|
28
|
+
| [`dev`](#dev) | Serve agents with local-development behavior |
|
|
29
|
+
| [`docs`](#docs) | Serve the documentation bundled with `@cursor/bdk` |
|
|
30
|
+
| [`init`](#init) | Scaffold a BDK project |
|
|
31
|
+
| [`convert-automation`](#convert-automation) | Export a Cursor Automation into a project |
|
|
32
|
+
| [`migrate`](#migrate) | Move an early-alpha project to architecture v2 through a pull request |
|
|
33
|
+
| [`install-skills`](#install-skills) | Refresh the bundled coding-agent skills |
|
|
34
|
+
| [`info`](#info) | Print the discovered project surface |
|
|
35
|
+
| [`validate`](#validate) | Check project diagnostics and set the exit status |
|
|
36
|
+
| [`manifest`](#manifest) | Print deployment metadata as JSON |
|
|
37
|
+
| [`version`](#version) | Print the installed package version |
|
|
38
|
+
| [`update`](#update) | Upgrade the installed CLI |
|
|
39
|
+
| [`login`](#login-logout-whoami) | Sign the host in to Cursor |
|
|
40
|
+
| [`logout`](#login-logout-whoami) | Remove the stored Cursor credential |
|
|
41
|
+
| [`whoami`](#login-logout-whoami) | Show the active Cursor credential |
|
|
42
|
+
|
|
43
|
+
### Session and eval commands
|
|
44
|
+
|
|
45
|
+
| Command | Contract |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| [`chat`](#chat) | Talk to a running agent |
|
|
48
|
+
| [`resume`](#resume) | Reattach chat to a previous session |
|
|
49
|
+
| [`run`](#run) | Start or continue work on a local, running, or hosted agent |
|
|
50
|
+
| [`call`](#call) | Call a server tool without a model turn |
|
|
51
|
+
| [`skill`](#skill) | Read an authored skill without a model turn |
|
|
52
|
+
| [`logs`](#logs) | Follow or dump agent logs |
|
|
53
|
+
| [`sessions`](#sessions) | List sessions |
|
|
54
|
+
| [`session`](#session) | Inspect a session or start a hosted session turn |
|
|
55
|
+
| [`cost`](#cost) | Report token usage and estimated cost |
|
|
56
|
+
| [`playground`](#playground) | Open an agent's playground |
|
|
57
|
+
| [`trajectory`](#trajectory) | Summarize a saved event stream |
|
|
58
|
+
| [`eval`](#eval) | List, run, inspect, or cancel evals |
|
|
59
|
+
|
|
60
|
+
### Managed hosting commands
|
|
61
|
+
|
|
62
|
+
| Command | Contract |
|
|
63
|
+
| --- | --- |
|
|
64
|
+
| [`deploy`](#deploy) | Deploy one or more agents |
|
|
65
|
+
| [`deployments`](#deployments) | List deployments |
|
|
66
|
+
| [`deployment`](#deployment) | Inspect one deployment |
|
|
67
|
+
| [`stop`](#stop) | Stop a deployment |
|
|
68
|
+
| [`start`](#start) | Start a stopped deployment |
|
|
69
|
+
| [`kill`](#kill) | Stop a deployment, cancel its runs, and lock deploys |
|
|
70
|
+
| [`unlock-deploys`](#unlock-deploys) | Let a killed deployment deploy again |
|
|
71
|
+
| [`cancel-runs`](#cancel-runs) | Cancel active runs and reminder wakes |
|
|
72
|
+
| [`event-repos`](#event-repos) | Replace a deployment's event repositories |
|
|
73
|
+
| [`upgrade`](#upgrade) | Move a deployment to a release |
|
|
74
|
+
| [`rollback`](#rollback) | Move a deployment to an earlier release |
|
|
75
|
+
| [`delete`](#delete) | Delete a deployment |
|
|
76
|
+
| [`rotate-token`](#rotate-token) | Replace a deployment's alias token |
|
|
77
|
+
| [`secrets`](#secrets) | Set, list, or remove deployment secrets |
|
|
78
|
+
| [`images`](#images) | Push, list, or remove container images for persistent agents |
|
|
79
|
+
|
|
80
|
+
### Connection and channel commands
|
|
81
|
+
|
|
82
|
+
| Command | Contract |
|
|
83
|
+
| --- | --- |
|
|
84
|
+
| [`mcp`](#mcp) | Proxy an agent's MCP endpoint over stdio |
|
|
85
|
+
| [`mcp install`](#mcp) | Add the agent to an MCP client config |
|
|
86
|
+
| [`mcp oauth`](#mcp-oauth) | Authorize an MCP connection |
|
|
87
|
+
| [`slack`](#slack) | Provision and check Slack channel apps |
|
|
88
|
+
| [`github`](#github) | Forward, replay, and inspect GitHub webhooks |
|
|
89
|
+
| [`gitlab`](#gitlab) | Replay and inspect GitLab webhooks |
|
|
90
|
+
| [`bitbucket`](#bitbucket) | Replay and inspect Bitbucket webhooks |
|
|
91
|
+
|
|
92
|
+
## Targets {#choose-a-target}
|
|
93
|
+
|
|
94
|
+
Commands that send requests support these targets:
|
|
95
|
+
|
|
96
|
+
| Target | Selection | Commands |
|
|
97
|
+
| --- | --- | --- |
|
|
98
|
+
| Ephemeral local server | Omit `--url` and `--prod` | `run`, `call`, `skill`, `eval` |
|
|
99
|
+
| Running server | Pass `--url <baseUrl>` | `chat`, `resume`, `run`, `call`, `skill`, `eval`, `logs`, `sessions`, `session`, `cost`, `playground`, `mcp` |
|
|
100
|
+
| Default local server | Omit `--url` and `--prod`; uses `http://127.0.0.1:3000` | `chat`, `resume`, `logs`, `sessions`, `session`, `cost`, `playground` |
|
|
101
|
+
| Hosted deployment | Pass `--prod` | `run`, `session`, `logs`, `playground` |
|
|
102
|
+
|
|
103
|
+
An explicit `--url` must include the slug for a multi-agent server, such as
|
|
104
|
+
`http://127.0.0.1:3000/pr-approver`. `--slug` never changes an explicit URL.
|
|
105
|
+
`--url` and `--prod` are mutually exclusive.
|
|
106
|
+
|
|
107
|
+
| Option | Contract |
|
|
108
|
+
| --- | --- |
|
|
109
|
+
| `--dir <path>` | Select the project root. The default is the current directory. |
|
|
110
|
+
| `--url <baseUrl>` | Use a running agent instead of local project discovery. |
|
|
111
|
+
| `--prod` | Use the hosted deployment. Only `run`, `session`, `logs`, and `playground` accept it; `chat`, `resume`, `call`, `skill`, `sessions`, `cost`, and `mcp` report that the deployment doesn't support the command, and `eval` rejects the flag. |
|
|
112
|
+
| `--slug <slug>` | Select an agent from a multi-agent project or a hosted deployment. Under `--prod`, the default is the `--dir` basename. |
|
|
113
|
+
| `--team <id>` | Select a Cursor team. The signed-in account's team is the default. |
|
|
114
|
+
| `--api-key <key>` | Override the Cursor credential for commands that authenticate with Cursor. |
|
|
115
|
+
| `--bearer-token <token>` | Authenticate to a running server with a bearer token. |
|
|
116
|
+
| `--state-root <path>` | Select local state for `serve` and ephemeral `run`, `call`, `skill`, and `eval` targets. Running and `--prod` targets ignore it. |
|
|
117
|
+
| `--json` | Request machine-readable output when the command supports it. `run` already defaults to JSON. |
|
|
118
|
+
|
|
119
|
+
## Local servers
|
|
120
|
+
|
|
121
|
+
### Serve agents {#serve}
|
|
122
|
+
|
|
123
|
+
`serve` mounts every project discovered under `--dir`:
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
bdk serve [--dir <path>] [--port <n>] [--host <host>]
|
|
127
|
+
[--mode multi|single] [--dev] [--api-key <key>]
|
|
128
|
+
[--state-root <path>]
|
|
129
|
+
[--bearer-token <secret> | --allow-anonymous]
|
|
130
|
+
[--allow-anonymous-cursor-github]
|
|
131
|
+
[--allow-anonymous-cursor-account-mcp]
|
|
132
|
+
[--allow-anonymous-grokbot]
|
|
133
|
+
[--public-url <url>]
|
|
134
|
+
[--peers-url <url>]
|
|
135
|
+
[--no-schedules] [--no-playground] [--no-docs]
|
|
136
|
+
[--cursor-events --repo <owner/name>]...
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
| Option | Contract |
|
|
140
|
+
| --- | --- |
|
|
141
|
+
| `--port <n>` | Listen on this port. The default is `3000`; `0` selects an available port. When an omitted default is occupied, the CLI selects the next port. An occupied explicit port fails with a next-port hint. |
|
|
142
|
+
| `--host <host>` | Bind this host. The default is loopback-only `127.0.0.1`. |
|
|
143
|
+
| `--mode multi` | Mount projects at `/<slug>/v1/*` and `/<slug>/playground`, with an index at `/`. This is the default. |
|
|
144
|
+
| `--mode single` | Mount one project at `/v1/*` and `/playground`. Declared peers are omitted with a warning unless `--peers-url` is set. |
|
|
145
|
+
| `--dev` | Disable automatic schedule and reminder firing, admit unsigned loopback GitHub deliveries, and enable local playground access. |
|
|
146
|
+
| `--state-root <path>` | Store local sessions, streams, workspaces, and channel state here. Keep durable state outside a repository whose rules shouldn't reach agent workspaces. |
|
|
147
|
+
| `--bearer-token <secret>` | Require this token on routes without authored authentication. Mutually exclusive with `--allow-anonymous`. |
|
|
148
|
+
| `--allow-anonymous` | Admit callers as one anonymous principal. Use it only behind a trusted network boundary. |
|
|
149
|
+
| `--allow-anonymous-cursor-github` | Let anonymous callers use sessions with a Cursor account's repository-scoped GitHub credential. Requires an authenticating proxy. |
|
|
150
|
+
| `--allow-anonymous-cursor-account-mcp` | Let anonymous callers use Cursor account MCP connections. Requires an authenticating proxy. |
|
|
151
|
+
| `--allow-anonymous-grokbot` | Let anonymous callers drive hosted Grok Bot runtime agents. Requires an authenticating proxy. |
|
|
152
|
+
| `--public-url <url>` | Set the externally reachable base URL that turns running off the serve host use for peer MCP and host bridges. It does not expose the server; configure the listener or proxy separately. Local-runtime peers use loopback. |
|
|
153
|
+
| `--peers-url <url>` | Resolve declared peers for a single-agent serve through a hosting-provided peer service. Cursor-managed hosting sets this option automatically; a multi-agent serve rejects it. |
|
|
154
|
+
| `--no-schedules` | Disable schedule firing outside dev mode. |
|
|
155
|
+
| `--no-playground` | Skip the playground. |
|
|
156
|
+
| `--no-docs` | Skip the documentation site at `/docs`. |
|
|
157
|
+
| `--cursor-events` | Receive SCM events through Cursor. Requires sign-in and one or more repeatable `--repo owner/name` values. |
|
|
158
|
+
|
|
159
|
+
Multi-agent slugs start with a letter or digit and contain only letters,
|
|
160
|
+
digits, `_`, or `-`. The reserved slugs are `v1`, `playground`, and `docs`.
|
|
161
|
+
|
|
162
|
+
### Develop locally {#dev}
|
|
163
|
+
|
|
164
|
+
`dev` is `serve --dev` with an optional positional project path:
|
|
165
|
+
|
|
166
|
+
```text
|
|
167
|
+
bdk dev
|
|
168
|
+
bdk dev ./bdk-pr-reviewer --port 3000
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
It accepts every `serve` option. Pass at most one positional path, and don't
|
|
172
|
+
combine it with a different `--dir`.
|
|
173
|
+
|
|
174
|
+
### Serve the docs {#docs}
|
|
175
|
+
|
|
176
|
+
```text
|
|
177
|
+
bdk docs [--port <n>] [--host 127.0.0.1] [--print]
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
`docs` serves the bundled documentation without an agent project. It uses an
|
|
181
|
+
available loopback port by default and stays open until Ctrl-C. `--print`
|
|
182
|
+
prints the URL without opening a browser.
|
|
183
|
+
|
|
184
|
+
## Sessions and turns
|
|
185
|
+
|
|
186
|
+
### Chat with an agent {#chat}
|
|
187
|
+
|
|
188
|
+
`chat` connects to a running server and never starts an ephemeral one:
|
|
189
|
+
|
|
190
|
+
```text
|
|
191
|
+
bdk chat [--url <baseUrl>] [--message <text>]
|
|
192
|
+
[--session <id> | --resume] [--continuation-token <token>]
|
|
193
|
+
[--slug <slug>] [--json] [--text] [--no-color]
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
| Input mode | Behavior |
|
|
197
|
+
| --- | --- |
|
|
198
|
+
| TTY without `--message` | Open an interactive REPL. |
|
|
199
|
+
| TTY with `--message` | Send the message, then keep the REPL open. |
|
|
200
|
+
| Non-TTY with `--message` | Send one turn and exit. |
|
|
201
|
+
| Non-TTY without `--message` | Read newline-delimited messages until EOF. |
|
|
202
|
+
| `--json --message <text>` | Send one turn and print `{ ok, sessionId, continuationToken, trajectory }`. |
|
|
203
|
+
| `--json --text --message <text>` | Print a compact trajectory instead of JSON. |
|
|
204
|
+
|
|
205
|
+
Use `--session <id>` to reattach a stored session. If you omit
|
|
206
|
+
`--continuation-token`, the CLI looks it up from the target's session list.
|
|
207
|
+
`--resume` selects the most recently updated session with a continuation
|
|
208
|
+
token. An explicit session ID takes precedence.
|
|
209
|
+
|
|
210
|
+
### Resume a session {#resume}
|
|
211
|
+
|
|
212
|
+
`resume` provides the same reattachment contract as `chat --session`:
|
|
213
|
+
|
|
214
|
+
```text
|
|
215
|
+
bdk resume [sessionId] [--url <baseUrl>]
|
|
216
|
+
[--message <text>] [--json] [--text]
|
|
217
|
+
[--continuation-token <token>] [--slug <slug>]
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Omit the session ID to select the most recently updated followable session.
|
|
221
|
+
The command replays the transcript before accepting follow-ups.
|
|
222
|
+
`resume --json` requires `--message`.
|
|
223
|
+
|
|
224
|
+
### Run turns {#run}
|
|
225
|
+
|
|
226
|
+
`run` sends messages to an ephemeral, running, or `--prod` target:
|
|
227
|
+
|
|
228
|
+
```text
|
|
229
|
+
bdk run [--dir <path>] [--message <text>]...
|
|
230
|
+
[--messages-file <path>] [--url <baseUrl> | --prod]
|
|
231
|
+
[--session <id>] [--continuation-token <token>]
|
|
232
|
+
[--events <file> | --no-events] [--text]
|
|
233
|
+
[--timeout-ms <n>] [--no-stream] [--slug <slug>] [--team <id>]
|
|
234
|
+
[--dry-run] [--as-of <instant>] [--component <key>]
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
| Option | Contract |
|
|
238
|
+
| --- | --- |
|
|
239
|
+
| `--message <text>` | Send a user message. Repeat it for a multi-turn local or `--url` run. A `--prod` run takes exactly one message. |
|
|
240
|
+
| `--messages-file <path>` | Read a JSON array of strings. File messages run before repeated `--message` values. |
|
|
241
|
+
| `--session <id>` | Continue a session. With `--prod`, pass a hosted `ses_...` ID from a session that `run --prod` or `session --prod` started; Slack, SCM, and custom-route sessions can't be continued this way. |
|
|
242
|
+
| `--continuation-token <token>` | Continue the session selected by `--session` on a running server. `--prod` doesn't accept it. |
|
|
243
|
+
| `--events <file>` | Write the raw NDJSON stream to this path. |
|
|
244
|
+
| `--no-events` | Skip the NDJSON trace. |
|
|
245
|
+
| `--text` | Print a compact trajectory instead of JSON. |
|
|
246
|
+
| `--timeout-ms <n>` | Stop waiting after a positive number of milliseconds. There is no default timeout. |
|
|
247
|
+
| `--no-stream` | Hide live tool and reply progress on stderr. |
|
|
248
|
+
| `--dry-run` | Start a `--prod` session that runs read tools and stubs write tools. |
|
|
249
|
+
| `--as-of <instant>` | Freeze a `--prod` session's clock at an ISO-8601 instant with a timezone, such as `2026-08-31T12:00:00Z`. |
|
|
250
|
+
| `--component <key>` | Wake a named component of a `--prod` deployment instead of its default. A continued session must belong to that component. |
|
|
251
|
+
|
|
252
|
+
For local and running-server targets, JSON output contains `ok`, `sessionId`,
|
|
253
|
+
`continuationToken`, `trace`, `playgroundUrl`, `playgroundHint`, `visualize`,
|
|
254
|
+
and `trajectory`. The `trace` value gives the saved path when event output is
|
|
255
|
+
enabled.
|
|
256
|
+
|
|
257
|
+
With `--prod`, `run` returns as soon as the deployment accepts the turn and
|
|
258
|
+
exits `0` before the turn outcome is known. It prints `deliveryId`,
|
|
259
|
+
`workflowId`, and `sessionMode`, plus `dryRun` and `asOf` when set. A fresh
|
|
260
|
+
start has no `sessionId` yet; a continuation echoes the `--session` value.
|
|
261
|
+
`--events`, `--no-events`, `--text`, `--timeout-ms`, and `--no-stream` have no
|
|
262
|
+
effect. See [Verify a hosted turn](/docs/deployment.md#verify-a-hosted-turn) for
|
|
263
|
+
finding and following the new session.
|
|
264
|
+
|
|
265
|
+
### Call a tool {#call}
|
|
266
|
+
|
|
267
|
+
`call` invokes a server tool without a model turn:
|
|
268
|
+
|
|
269
|
+
```text
|
|
270
|
+
bdk call <tool> [--input <json>]
|
|
271
|
+
[--dir <path> | --url <baseUrl>]
|
|
272
|
+
[--session <id>] [--slug <slug>]
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
`--input` accepts JSON and defaults to `{}`. `--session` uses the session
|
|
276
|
+
workspace and records the call on its event stream. The command prints the
|
|
277
|
+
server's JSON response and succeeds only when the HTTP response succeeds with
|
|
278
|
+
`ok: true`.
|
|
279
|
+
|
|
280
|
+
Hosted deployments don't support `call`. Start a model turn with `run --prod`
|
|
281
|
+
and check it with [`session`](#session).
|
|
282
|
+
|
|
283
|
+
See [Tools](/docs/reference/tools.md#call-a-tool-without-a-model-turn) for validation,
|
|
284
|
+
busy-session behavior, and error codes.
|
|
285
|
+
|
|
286
|
+
### Read a skill {#skill}
|
|
287
|
+
|
|
288
|
+
`skill` reads an authored skill without a model turn:
|
|
289
|
+
|
|
290
|
+
```text
|
|
291
|
+
bdk skill <name> [--dir <path> | --url <baseUrl>]
|
|
292
|
+
[--slug <slug>] [--text]
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
The default output is the server's JSON response. `--text` prints the rendered
|
|
296
|
+
`SKILL.md` content.
|
|
297
|
+
|
|
298
|
+
### List sessions {#sessions}
|
|
299
|
+
|
|
300
|
+
```text
|
|
301
|
+
bdk sessions [--url <baseUrl>]
|
|
302
|
+
[--slug <slug>] [--bearer-token <token>] [--json]
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
Text output shows the session ID, channel, mode, turn count, running status,
|
|
306
|
+
and update time. `--json` prints `{ sessions }`, including continuation
|
|
307
|
+
tokens.
|
|
308
|
+
|
|
309
|
+
Hosted deployments don't support `sessions`. Find a hosted session ID in the
|
|
310
|
+
[`logs --prod`](#logs) headers or the deployment's **Sessions** list in the
|
|
311
|
+
dashboard, then check it with [`session <sessionId> --prod`](#session).
|
|
312
|
+
|
|
313
|
+
### Inspect a session {#session}
|
|
314
|
+
|
|
315
|
+
```text
|
|
316
|
+
bdk session <sessionId> [--url <baseUrl> | --prod]
|
|
317
|
+
[--slug <slug>] [--team <id>]
|
|
318
|
+
[--json | --text | --events] [--out <file.ndjson>]
|
|
319
|
+
|
|
320
|
+
bdk session --prod [<sessionId>] --slug <slug> --message <text>
|
|
321
|
+
[--team <id>] [--dry-run] [--as-of <instant>] [--component <key>]
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
| Option | Contract |
|
|
325
|
+
| --- | --- |
|
|
326
|
+
| No output option | Print a compact trajectory. |
|
|
327
|
+
| `--text` | Select the compact trajectory explicitly. |
|
|
328
|
+
| `--json` | Print the trajectory object. |
|
|
329
|
+
| `--events` | Print `{ sessionId, events }` with the raw event list. |
|
|
330
|
+
| `--out <file.ndjson>` | Write the raw NDJSON trace instead of printing it. |
|
|
331
|
+
| `--prod --message <text>` | Start a hosted session, or continue the supplied hosted session ID, with the same contract as [`run --prod`](#run). |
|
|
332
|
+
|
|
333
|
+
`--events` and `--json` are mutually exclusive. Use [`resume`](#resume) to
|
|
334
|
+
continue a conversational session on a local or running server.
|
|
335
|
+
|
|
336
|
+
With `--prod`, the command prints the session's hosted executions: one line
|
|
337
|
+
per run with its status, duration, and time, followed by that run's log
|
|
338
|
+
lines. `--json` prints `{ sessionId, executions, startLog, ... }`. `--events`
|
|
339
|
+
and `--out` aren't available. While a turn is running, text output also
|
|
340
|
+
reports the event count and latest event type and prints
|
|
341
|
+
`Turn running; runs may lag behind events.` A run can show `running` with no
|
|
342
|
+
logs until the turn ends, so a growing event count is the progress signal.
|
|
343
|
+
|
|
344
|
+
### Follow logs {#logs}
|
|
345
|
+
|
|
346
|
+
```text
|
|
347
|
+
bdk logs [sessionId] [--url <baseUrl> | --prod]
|
|
348
|
+
[--session <sessionId>] [--slug <slug>] [--team <id>] [--once] [--json]
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
The command follows logs until Ctrl-C. `--once` prints the current buffer and
|
|
352
|
+
exits; `--json` emits newline-delimited JSON events. With `--prod`, it follows
|
|
353
|
+
the output of the hosted deployment's most recent sessions on every channel
|
|
354
|
+
and prints a `==> <sessionId> (<channel>) <==` header each time the output
|
|
355
|
+
switches sessions. Pass a session ID, as an argument or with `--session`, to
|
|
356
|
+
follow only that session; a session ID requires `--prod`. Hosted log events
|
|
357
|
+
carry `sessionId` and `line` rather than `index` and `at`.
|
|
358
|
+
|
|
359
|
+
### Report costs {#cost}
|
|
360
|
+
|
|
361
|
+
```text
|
|
362
|
+
bdk cost [sessionId] [--url <baseUrl>]
|
|
363
|
+
[--slug <slug>] [--json]
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
With a session ID, `cost` prints per-turn token usage and estimated cost.
|
|
367
|
+
Without one, it prints one row per session and a total. Turns saved before
|
|
368
|
+
cost tracking appear as unpriced. `--json` prints the underlying report or
|
|
369
|
+
`{ sessions }` for an aggregate.
|
|
370
|
+
|
|
371
|
+
### Open the playground {#playground}
|
|
372
|
+
|
|
373
|
+
```text
|
|
374
|
+
bdk playground [--url <baseUrl> | --prod] [--session <id>]
|
|
375
|
+
[--slug <slug>] [--team <id>] [--bearer-token <token>] [--print]
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
The command prints the playground URL and opens it unless `--print` is set.
|
|
379
|
+
`--session` opens a deep link. A running target with credentials that a
|
|
380
|
+
browser can't send starts a loopback proxy and stays open until Ctrl-C.
|
|
381
|
+
With `--prod`, the URL opens the deployment's playground under **Deployed
|
|
382
|
+
Agents** in the dashboard.
|
|
383
|
+
|
|
384
|
+
### Inspect a trajectory {#trajectory}
|
|
385
|
+
|
|
386
|
+
```text
|
|
387
|
+
bdk trajectory --events <file.ndjson> [--text]
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
The command converts an NDJSON stream into the trajectory JSON returned by
|
|
391
|
+
`run`. `--text` prints the compact view.
|
|
392
|
+
|
|
393
|
+
## Evals
|
|
394
|
+
|
|
395
|
+
### Run evals {#eval}
|
|
396
|
+
|
|
397
|
+
`eval` discovers `evals/**/*.eval.{ts,js}` and runs selected cases:
|
|
398
|
+
|
|
399
|
+
```text
|
|
400
|
+
bdk eval [--dir <path>] [evalId...]
|
|
401
|
+
[--list] [--tag <tag>]... [--json] [--verbose]
|
|
402
|
+
[--timeout-ms <n>] [--strict] [--max-concurrency <n>]
|
|
403
|
+
[--junit <path>] [--artifacts <dir> | --no-artifacts]
|
|
404
|
+
[--skip-report] [--out <file.json>] [--no-stream]
|
|
405
|
+
[--url <baseUrl>] [--no-wait] [--slug <slug>]
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
Select an exact case such as `weather/nyc`, a file prefix such as `weather`,
|
|
409
|
+
several IDs, or no IDs for every case. Repeat `--tag` for OR matching.
|
|
410
|
+
Projects must provide `evals/evals.config.{ts,js}` with `maxConcurrency`
|
|
411
|
+
between 1 and 200.
|
|
412
|
+
|
|
413
|
+
| Option | Contract |
|
|
414
|
+
| --- | --- |
|
|
415
|
+
| `--list` | List matching cases without running them. `--list --json` prints an array. |
|
|
416
|
+
| `--tag <tag>` | Select a tag. Repeat the option for OR matching. |
|
|
417
|
+
| `--json` | Print `{ ok, passed, failed, scored, skipped, strict, results }`. |
|
|
418
|
+
| `--verbose` | Stream `t.log` lines and reply snippets. |
|
|
419
|
+
| `--no-stream` | Hide live progress on stderr. |
|
|
420
|
+
| `--strict` | Treat a scored case below its soft threshold as a failure. |
|
|
421
|
+
| `--max-concurrency <n>` | Override `maxConcurrency` from the eval config for an ephemeral local run. |
|
|
422
|
+
| `--timeout-ms <n>` | Override the per-case timeout. A case timeout takes precedence, followed by this option, the config timeout, and the 180-second default. |
|
|
423
|
+
| `--junit <path>` | Write JUnit XML for an ephemeral local run. |
|
|
424
|
+
| `--artifacts <dir>` | Select the artifact directory for an ephemeral local run. The default is a timestamped directory under the project's state directory. |
|
|
425
|
+
| `--no-artifacts` | Skip artifacts for an ephemeral local run. |
|
|
426
|
+
| `--skip-report` | Ignore reporters from eval files and the eval config during an ephemeral local run. |
|
|
427
|
+
| `--out <file.json>` | Also write the full result JSON. |
|
|
428
|
+
| `--no-wait` | Return after a running server accepts the batch. |
|
|
429
|
+
|
|
430
|
+
A running server prints its Eval ID when it accepts the batch.
|
|
431
|
+
Use these commands to inspect or cancel it:
|
|
432
|
+
|
|
433
|
+
```text
|
|
434
|
+
bdk eval status [evalId] --url <baseUrl>
|
|
435
|
+
bdk eval cancel <evalId> --url <baseUrl>
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
`eval status` without an ID lists recent remote runs. `eval status --out`
|
|
439
|
+
requires an ID. The `status` and `cancel` subcommands require `--url`.
|
|
440
|
+
|
|
441
|
+
## Projects
|
|
442
|
+
|
|
443
|
+
### Scaffold a project {#init}
|
|
444
|
+
|
|
445
|
+
```text
|
|
446
|
+
bdk init [directory] [--template <name>] [--var id=value]... [--json]
|
|
447
|
+
bdk init [directory] --from-grokbot <recipe.json>
|
|
448
|
+
[--answers <file>] [--dry-run] [--json]
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
Without a directory, `init` prints the setup guide and changes no files. With
|
|
452
|
+
a directory, it preserves existing scaffold files, adds missing files,
|
|
453
|
+
installs dependencies, and tries to put `bdk` on `PATH`.
|
|
454
|
+
|
|
455
|
+
| Option | Contract |
|
|
456
|
+
| --- | --- |
|
|
457
|
+
| `--template <name>` | Use a bundled template: `agentic-owners`, `agents-md`, `code-wiki`, `demo`, `grokbot-agents`, `security-help`, `security-reviewer`, `thermo-quality-review`, `thermo-review`, `triage-jira`, or `triage-linear`. `triage` selects `triage-linear`. |
|
|
458
|
+
| `--var id=value` | Answer a template question without a prompt. Repeat for multiple answers. |
|
|
459
|
+
| `--json` | Skip interactive login and skill prompts, then print `{ ok, directory, template, created, skipped, installed, installError, cliOnPath, cliLinkError, next }`. `ok` reflects dependency installation. |
|
|
460
|
+
|
|
461
|
+
On a TTY, templates with questions run their interview before writing files.
|
|
462
|
+
`init` also offers to refresh the bundled coding-agent skills and starts login
|
|
463
|
+
when the host has no Cursor credential.
|
|
464
|
+
|
|
465
|
+
#### Export a Grok Bot recipe
|
|
466
|
+
|
|
467
|
+
`--from-grokbot` reads a Grok Bot recipe and maps its profile, selected skills
|
|
468
|
+
and routines, memory, channels, and connectors into a BDK project. The target
|
|
469
|
+
directory defaults to the resolved `location` answer; a positional directory
|
|
470
|
+
overrides it. A target previously created with `bdk init --template` is
|
|
471
|
+
rejected; export into a fresh directory instead.
|
|
472
|
+
|
|
473
|
+
| Option | Contract |
|
|
474
|
+
| --- | --- |
|
|
475
|
+
| `--from-grokbot <recipe.json>` | Read the recipe to export. |
|
|
476
|
+
| `--answers <file>` | Read export decisions from a JSON object. Fields present in the file are not asked again. The published schema is `schemas/grokbot-answers.schema.json`. |
|
|
477
|
+
| `--dry-run` | Print the planned files, defaults, exclusions, unmapped behavior, placeholders, secret names, warnings, and setup steps without writing files or installing dependencies. |
|
|
478
|
+
| `--json` | Never prompt and print machine-readable output. Combine it with `--dry-run` for a machine-readable preview. |
|
|
479
|
+
|
|
480
|
+
On a TTY, the command asks for missing decisions and offers recipe-derived
|
|
481
|
+
defaults. Off a TTY, it never prompts, takes defaults where possible, and
|
|
482
|
+
lists the fields it defaulted.
|
|
483
|
+
|
|
484
|
+
`--dry-run --json` prints `{ ok, dryRun, directory, preview }`. The preview
|
|
485
|
+
contains `version`, `name`, resolved `answers`, `defaulted`, `ignored`, `files`
|
|
486
|
+
as `{ path, from }`, `excluded`, `unmapped` as `{ from, reason }`, `fillIns`,
|
|
487
|
+
`secrets` as `{ names, reauth }`, `warnings`, and `setupSteps`. A write with
|
|
488
|
+
`--json` also reports `files`, `installed`, and `installError`. A dependency
|
|
489
|
+
install failure leaves `ok: true`, sets `installed: false`, reports
|
|
490
|
+
`installError`, and exits `0`. Other errors print `{ ok: false, error }` and
|
|
491
|
+
exit nonzero.
|
|
492
|
+
|
|
493
|
+
`--answers` and `--dry-run` require `--from-grokbot`. This export mode does
|
|
494
|
+
not accept `--template` or `--var`.
|
|
495
|
+
|
|
496
|
+
See [Export a Grok Bot](/docs/guides/export-grokbot.md) for the preview-first
|
|
497
|
+
workflow, mapping table, and post-export checklist.
|
|
498
|
+
|
|
499
|
+
### Convert an Automation {#convert-automation}
|
|
500
|
+
|
|
501
|
+
```text
|
|
502
|
+
bdk convert-automation <url-or-uuid> [--dir <path>] [--json]
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
The input can be a Cursor Automation dashboard URL or its UUID. The output
|
|
506
|
+
directory defaults to `./<automation-name>`. Generated files don't overwrite
|
|
507
|
+
existing paths, and missing scaffold files are added. The following
|
|
508
|
+
`npm install` can update lockfiles and run lifecycle scripts from an existing
|
|
509
|
+
`package.json`.
|
|
510
|
+
|
|
511
|
+
`--json` prints
|
|
512
|
+
`{ ok, directory, files, warnings, setupSteps, installed, installError, mcpConnections }`.
|
|
513
|
+
Conversion warnings and dependency-install failures remain visible in this
|
|
514
|
+
output without failing a completed file conversion. Invalid input,
|
|
515
|
+
authentication, export, and file-write failures exit nonzero.
|
|
516
|
+
|
|
517
|
+
See [Convert a Cursor Automation](/docs/guides/convert-automation.md) for the
|
|
518
|
+
generated project and features that need manual review.
|
|
519
|
+
|
|
520
|
+
### Migrate an early-alpha project {#migrate}
|
|
521
|
+
|
|
522
|
+
```text
|
|
523
|
+
bdk migrate [--dir <path>] [--repo <https-url>] [--ref <git-ref>]
|
|
524
|
+
[--path <agent-path>] [--no-wait] [--json] [--api-key <key>]
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
`migrate` applies only to projects deployed on architecture v1 during the BDK
|
|
528
|
+
early alpha. It reads a pushed Git ref, starts a Cursor cloud agent with the
|
|
529
|
+
bundled `bdk-migrate-v2` skill, and opens a pull request with the source
|
|
530
|
+
changes. The command waits for the pull request by default and never deploys
|
|
531
|
+
the project or changes deployment secrets. When it starts an agent, it prints
|
|
532
|
+
a checklist for the steps after the first deploy: deploy each agent folder,
|
|
533
|
+
create the prod Slack app, unset peer URL secrets, and set secrets a new slug
|
|
534
|
+
still needs.
|
|
535
|
+
|
|
536
|
+
The command prints `Nothing to migrate.` and exits 0 only when `--dir` shows
|
|
537
|
+
no migration work. That check looks for an `@cursor/july` dependency,
|
|
538
|
+
`architecture: "v1"`, `bot/storage.ts` or `agent/storage.ts`,
|
|
539
|
+
`runtime: "grokbot"`, a literal SCM credential, a `/v1` continuation selector,
|
|
540
|
+
an anonymous reminder, and a `*_MCP_URL` peer connection. When any of those is
|
|
541
|
+
present, or a project file cannot be read, the command starts the agent. It
|
|
542
|
+
does not read the hosted deployment.
|
|
543
|
+
|
|
544
|
+
| Option | Contract |
|
|
545
|
+
| --- | --- |
|
|
546
|
+
| `--dir <path>` | Select the local BDK project. The default is the current directory. |
|
|
547
|
+
| `--repo <https-url>` | Select the source repository. The CLI infers the current checkout's origin when possible. |
|
|
548
|
+
| `--ref <git-ref>` | Select the pushed ref for the cloud agent. The CLI infers the current branch when possible. |
|
|
549
|
+
| `--path <agent-path>` | Select the project path relative to the repository root. The CLI infers it from `--dir` when possible. |
|
|
550
|
+
| `--no-wait` | Print the cloud agent URL and return after the agent starts. |
|
|
551
|
+
| `--json` | Print a report with `ok`, `status`, `agentId`, and the cloud agent `url`. A completed migration adds `prUrl` and `checklist`. A run with nothing to migrate uses `status: "current"` and `message` (no agent started) or `summary` (the agent reported it). A blocked or failed migration adds its explanation. |
|
|
552
|
+
| `--api-key <key>` | Override the Cursor credential. |
|
|
553
|
+
|
|
554
|
+
Credential resolution follows the normal order: `--api-key`,
|
|
555
|
+
`CURSOR_API_KEY`, `CURSOR_API_KEY_FILE`, `CURSOR_SERVICE_ACCOUNT_KEY`, then
|
|
556
|
+
the stored `bdk login` credential. See
|
|
557
|
+
[Migrate an early-alpha project](/docs/guides/migrate.md) for detection, pull
|
|
558
|
+
request review, and deployment cutover.
|
|
559
|
+
|
|
560
|
+
### Install coding-agent skills {#install-skills}
|
|
561
|
+
|
|
562
|
+
```text
|
|
563
|
+
bdk install-skills [--print] [--json]
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
The command replaces the installed BDK skills with the package copy and
|
|
567
|
+
removes stale bundled skills. `--print` previews the change. `--json` prints
|
|
568
|
+
`{ ok, dryRun, directory, firstInstall, skills, removed }`.
|
|
569
|
+
|
|
570
|
+
Package installation performs this copy.
|
|
571
|
+
Run `bdk install-skills` when you need to refresh it.
|
|
572
|
+
|
|
573
|
+
### Inspect a project {#info}
|
|
574
|
+
|
|
575
|
+
```text
|
|
576
|
+
bdk info [--dir <path>] [--json]
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
Text output lists the model, instructions, tools, skills, extensions,
|
|
580
|
+
connections, subagents, channels, schedules, hooks, hosting settings, and
|
|
581
|
+
diagnostics. For one unslugged project, `--json` prints its project info
|
|
582
|
+
object. For slugged or multi-agent discovery, it prints `{ agents }`.
|
|
583
|
+
|
|
584
|
+
### Validate a project {#validate}
|
|
585
|
+
|
|
586
|
+
```text
|
|
587
|
+
bdk validate [--dir <path>]
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
`validate` prints every discovered project's diagnostics and exits nonzero
|
|
591
|
+
when any diagnostic has error severity. Use it instead of `info --json` when a
|
|
592
|
+
script needs validation status.
|
|
593
|
+
|
|
594
|
+
Hosting checks run here too. On architecture v2 (the default), a
|
|
595
|
+
`githubChannel` credential or a GitLab or Bitbucket `webhookSecret` written
|
|
596
|
+
as a literal or a `() => process.env.NAME` getter is an error whose message
|
|
597
|
+
quotes the `{ secretName: "NAME" }` form to use instead. A project that still
|
|
598
|
+
sets `architecture: "v1"` gets the same finding as a warning, so run
|
|
599
|
+
`validate` before removing the pin to list what the migration must rename.
|
|
600
|
+
|
|
601
|
+
### Print a deployment manifest {#manifest}
|
|
602
|
+
|
|
603
|
+
```text
|
|
604
|
+
bdk manifest [--dir <path>] [--json]
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
`manifest` validates one project and prints its deployment metadata without a
|
|
608
|
+
network request. Default output is indented JSON; `--json` prints one compact
|
|
609
|
+
line.
|
|
610
|
+
|
|
611
|
+
## Credentials and versions
|
|
612
|
+
|
|
613
|
+
### Manage credentials {#login-logout-whoami}
|
|
614
|
+
|
|
615
|
+
```text
|
|
616
|
+
bdk login [--api-key <key>] [--key-name <name>]
|
|
617
|
+
bdk whoami [--json]
|
|
618
|
+
bdk logout
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
| Command | Contract |
|
|
622
|
+
| --- | --- |
|
|
623
|
+
| `login` | Use a supplied API key, or open browser sign-in and store the resulting dashboard-revocable key in the CLI config directory. `--key-name` labels a browser-created key. |
|
|
624
|
+
| `whoami` | Show the active credential and its source. `--json` returns the same identity as JSON. |
|
|
625
|
+
| `logout` | Remove the stored credential file. It doesn't revoke the API key; revoke the key in the Cursor dashboard. |
|
|
626
|
+
|
|
627
|
+
### Print the version {#version}
|
|
628
|
+
|
|
629
|
+
```text
|
|
630
|
+
bdk version [--json]
|
|
631
|
+
bdk --version
|
|
632
|
+
bdk -V
|
|
633
|
+
```
|
|
634
|
+
|
|
635
|
+
Text output is the version number. `--json` prints
|
|
636
|
+
`{ name, version }`.
|
|
637
|
+
|
|
638
|
+
### Update the CLI {#update}
|
|
639
|
+
|
|
640
|
+
```text
|
|
641
|
+
bdk update
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
`update` checks npm's `latest` tag and upgrades a recognized global or project
|
|
645
|
+
install with its package manager. If it can't identify an installed copy, it
|
|
646
|
+
prints a manual upgrade command instead.
|
|
647
|
+
|
|
648
|
+
Published installs check for updates at most once every 24 hours. Set
|
|
649
|
+
`AGENT_SERVE_NO_UPDATE_CHECK`, `NO_UPDATE_NOTIFIER`, or `CI` to disable the
|
|
650
|
+
automatic warning.
|
|
651
|
+
|
|
652
|
+
## Managed hosting
|
|
653
|
+
|
|
654
|
+
### Deploy agents {#deploy}
|
|
655
|
+
|
|
656
|
+
```text
|
|
657
|
+
bdk deploy [--dir <path>] [--slug <slug> | --all] [--team <id>]
|
|
658
|
+
[--repo <https-url>] [--ref <git-ref>] [--path <agent-path>]
|
|
659
|
+
[--cursor-events-repo <repo>]...
|
|
660
|
+
[--allow-domain <domain>]... [--no-wait] [--json]
|
|
661
|
+
```
|
|
662
|
+
|
|
663
|
+
Managed hosting requires a team with agent hosting enabled. A team
|
|
664
|
+
service-account API key with agent access can deploy.
|
|
665
|
+
|
|
666
|
+
| Option | Contract |
|
|
667
|
+
| --- | --- |
|
|
668
|
+
| `--slug <slug>` | Select one project and set its deployment slug. Under a folder of several agents, this deploys that one agent. |
|
|
669
|
+
| `--all` | Deploy every child under a folder of several agents. For a folder of v2 agents, print one deploy command for each agent. |
|
|
670
|
+
| `--team <id>` | Select the Cursor team. |
|
|
671
|
+
| `--repo <https-url>` | Set the source repository. The CLI infers it from the current checkout when possible. HTTPS is required. |
|
|
672
|
+
| `--ref <git-ref>` | Set the source Git ref. The CLI infers the current branch when possible. |
|
|
673
|
+
| `--path <agent-path>` | Set the project path relative to the repository root. |
|
|
674
|
+
| `--cursor-events-repo <repo>` | Watch a repository's Cursor events. Write `owner/name` for GitHub and Origin, `gitlab.com/<group>/<project>` for GitLab (subgroups allowed), or `bitbucket.org/<workspace>/<repo>` for Bitbucket. Repeat the flag for each repository; the repositories you pass replace the previous list. Without the flag, the deployment watches its GitHub source repository. |
|
|
675
|
+
| `--allow-domain <domain>` | Add an egress hostname. Repeat for multiple domains; values are combined with `hosting.egressDomains`. |
|
|
676
|
+
| `--no-wait` | Return after the deployment request is accepted. |
|
|
677
|
+
| `--json` | Print one object for one target or an array for multiple targets. |
|
|
678
|
+
|
|
679
|
+
Deployment slugs contain lowercase letters, digits, `_`, or `-`, start with a
|
|
680
|
+
letter or digit, and have at most 64 characters. Egress entries are lowercase
|
|
681
|
+
hostnames with an alphabetic top-level domain; one leading `*.` wildcard is
|
|
682
|
+
allowed, or a trailing `:port` for a protocol that is not HTTPS, with at most
|
|
683
|
+
64 entries.
|
|
684
|
+
|
|
685
|
+
By default, `deploy` waits until the deployment is running and exits nonzero
|
|
686
|
+
if it reaches a failed state. A first deployment can return an alias token
|
|
687
|
+
once. Store it as a secret and send it as `X-Agent-Alias-Token` when calling
|
|
688
|
+
the stable alias URL.
|
|
689
|
+
|
|
690
|
+
### List deployments {#deployments}
|
|
691
|
+
|
|
692
|
+
```text
|
|
693
|
+
bdk deployments [--team <id>] [--json]
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
Text output shows slug, status, generation, kind, and update time. `--json`
|
|
697
|
+
prints `{ deployments }`. An empty list succeeds.
|
|
698
|
+
|
|
699
|
+
### Inspect a deployment {#deployment}
|
|
700
|
+
|
|
701
|
+
```text
|
|
702
|
+
bdk deployment <slug> [--team <id>] [--json]
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
Text output includes status, source, routes, secret names, egress domains, and
|
|
706
|
+
the latest error. `--json` can include short-lived access headers, so handle
|
|
707
|
+
its output as a credential.
|
|
708
|
+
|
|
709
|
+
### Stop a deployment {#stop}
|
|
710
|
+
|
|
711
|
+
```text
|
|
712
|
+
bdk stop <slug> [--team <id>] [--no-wait] [--cancel-runs] [--json]
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
The command waits for `stopped` by default. `--no-wait` returns after the
|
|
716
|
+
request is accepted. `--cancel-runs` also requests cancellation of active
|
|
717
|
+
runs and reminder wakes.
|
|
718
|
+
|
|
719
|
+
### Start a deployment {#start}
|
|
720
|
+
|
|
721
|
+
```text
|
|
722
|
+
bdk start <slug> [--team <id>] [--json]
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
`start` resumes a stopped deployment. It doesn't remove the deploy lock
|
|
726
|
+
that [`kill`](#kill) sets.
|
|
727
|
+
|
|
728
|
+
### Kill a deployment {#kill}
|
|
729
|
+
|
|
730
|
+
```text
|
|
731
|
+
bdk kill <slug> [--team <id>] [--json]
|
|
732
|
+
```
|
|
733
|
+
|
|
734
|
+
Use `kill` in an emergency. It locks deploys of the slug, stops the
|
|
735
|
+
deployment, and requests cancellation of its active runs and reminder
|
|
736
|
+
wakes. To bring the deployment back, run
|
|
737
|
+
[`unlock-deploys`](#unlock-deploys) and then [`start`](#start).
|
|
738
|
+
|
|
739
|
+
### Unlock deploys {#unlock-deploys}
|
|
740
|
+
|
|
741
|
+
```text
|
|
742
|
+
bdk unlock-deploys <slug> [--team <id>] [--json]
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
`unlock-deploys` removes the lock that `kill` sets, so `deploy`,
|
|
746
|
+
`upgrade`, and `rollback` work for the slug again. It doesn't resume
|
|
747
|
+
traffic; run `start` for that.
|
|
748
|
+
|
|
749
|
+
### Cancel active runs {#cancel-runs}
|
|
750
|
+
|
|
751
|
+
```text
|
|
752
|
+
bdk cancel-runs <slug> [--team <id>] [--json]
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
The command requests cancellation for a deployment's active runs and reminder
|
|
756
|
+
wakes. It exits nonzero if any cancellation request fails to start.
|
|
757
|
+
|
|
758
|
+
### Replace event repositories {#event-repos}
|
|
759
|
+
|
|
760
|
+
```text
|
|
761
|
+
bdk event-repos <slug> [--repo <owner/name>]...
|
|
762
|
+
[--team <id>] [--json]
|
|
763
|
+
```
|
|
764
|
+
|
|
765
|
+
The supplied repositories replace the deployment's complete event repository
|
|
766
|
+
list; they aren't merged with the previous list. Omit `--repo` to clear the
|
|
767
|
+
list.
|
|
768
|
+
|
|
769
|
+
### Upgrade a deployment {#upgrade}
|
|
770
|
+
|
|
771
|
+
```text
|
|
772
|
+
bdk upgrade <slug> [--release <id-or-version>]
|
|
773
|
+
[--team <id>] [--json]
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
`--release` accepts a release ID or version. Omit it to select the newest
|
|
777
|
+
ready release. `--json` prints `{ releaseId }`.
|
|
778
|
+
|
|
779
|
+
### Roll back a deployment {#rollback}
|
|
780
|
+
|
|
781
|
+
```text
|
|
782
|
+
bdk rollback <slug> [--release <id-or-version>]
|
|
783
|
+
[--team <id>] [--json]
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
`rollback` moves the deployment to an earlier ready release without
|
|
787
|
+
building a new one. Omit `--release` to select the release before the
|
|
788
|
+
current one. `--json` prints `{ releaseId }`.
|
|
789
|
+
|
|
790
|
+
### Delete a deployment {#delete}
|
|
791
|
+
|
|
792
|
+
```text
|
|
793
|
+
bdk delete <slug> [--team <id>] [--no-wait] [--json]
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
`delete` removes the deployment and frees its slug. It waits until the
|
|
797
|
+
deployment is gone unless `--no-wait` is set.
|
|
798
|
+
|
|
799
|
+
### Rotate an alias token {#rotate-token}
|
|
800
|
+
|
|
801
|
+
```text
|
|
802
|
+
bdk rotate-token <slug> [--team <id>] [--json]
|
|
803
|
+
```
|
|
804
|
+
|
|
805
|
+
The old token stops working immediately. The replacement appears once;
|
|
806
|
+
`--json` prints `{ aliasToken }`.
|
|
807
|
+
|
|
808
|
+
### Manage deployment secrets {#secrets}
|
|
809
|
+
|
|
810
|
+
```text
|
|
811
|
+
bdk secrets set <slug> NAME [NAME2 ...]
|
|
812
|
+
[--team <id>] [--from-argv] [--json]
|
|
813
|
+
bdk secrets list <slug> [--team <id>] [--json]
|
|
814
|
+
bdk secrets unset <slug> NAME [--team <id>] [--json]
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
Pass secret names to `set`. On a TTY, the CLI prompts for a hidden value and
|
|
818
|
+
ends that value at the first newline. With one name, redirected stdin is the
|
|
819
|
+
whole value and one trailing newline is removed, so a PEM private key keeps
|
|
820
|
+
its line breaks:
|
|
821
|
+
|
|
822
|
+
```bash
|
|
823
|
+
bdk secrets set my-bot GITHUB_APP_PRIVATE_KEY < ./app.private-key.pem
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
With several names, provide one line per name. `set` rejects `NAME=VALUE` on
|
|
827
|
+
the command line unless `--from-argv` is set, because those values can enter
|
|
828
|
+
shell history and captured terminals.
|
|
829
|
+
|
|
830
|
+
Names use `UPPER_SNAKE_CASE`, start with a letter, and contain at most 64
|
|
831
|
+
characters. Names beginning with `CURSOR_` are reserved. Values contain at
|
|
832
|
+
most 4096 bytes, and each deployment holds at most 32 secrets.
|
|
833
|
+
|
|
834
|
+
`list` returns names and creation times, never values. JSON output is
|
|
835
|
+
`{ secretNames }` for `set`, `{ secrets }` for `list`, and `{ removed }` for
|
|
836
|
+
`unset`. Changes are available to subsequent hosted work.
|
|
837
|
+
|
|
838
|
+
### Manage container images {#images}
|
|
839
|
+
|
|
840
|
+
```text
|
|
841
|
+
bdk images push <local-image> --name <name> [--team <id>] [--json]
|
|
842
|
+
bdk images list [--team <id>] [--json]
|
|
843
|
+
bdk images rm <name> [--team <id>] [--json]
|
|
844
|
+
```
|
|
845
|
+
|
|
846
|
+
A persistent agent can run inside a container image that your team pushes
|
|
847
|
+
and names in `hosting.image`. `push` needs Docker on your machine. It
|
|
848
|
+
checks the local image first: the image must be `linux/amd64` and have
|
|
849
|
+
`bash`, `git`, `node` 22.13 or newer, and `npm` on `PATH`. The command
|
|
850
|
+
then compresses the image and uploads it under `--name`.
|
|
851
|
+
|
|
852
|
+
`list` shows the team's images and how many the team can keep, and `rm`
|
|
853
|
+
deletes one image. A deploy pins the image it uses, so after you push a
|
|
854
|
+
new image under the same name, deploy again to pick it up.
|
|
855
|
+
|
|
856
|
+
## MCP connections
|
|
857
|
+
|
|
858
|
+
### Connect an MCP client {#mcp}
|
|
859
|
+
|
|
860
|
+
```text
|
|
861
|
+
bdk mcp --url <baseUrl> [--bearer-token <token>]
|
|
862
|
+
|
|
863
|
+
bdk mcp install --url <baseUrl> [--bearer-token <token>]
|
|
864
|
+
[--name <server-name>] [--print] [--json]
|
|
865
|
+
```
|
|
866
|
+
|
|
867
|
+
| Command | Contract |
|
|
868
|
+
| --- | --- |
|
|
869
|
+
| `mcp` | Read newline-delimited JSON-RPC from stdin and proxy it to the selected agent's MCP endpoint. stdout is reserved for MCP messages. A target is required. |
|
|
870
|
+
| `mcp install` | Add the selected agent to `~/.cursor/mcp.json`. `--name` sets the server name, `--print` previews the entry, and `--json` prints a machine-readable result. A `--url` entry with `--bearer-token` contains that token; handle printed and written copies as credentials. |
|
|
871
|
+
|
|
872
|
+
Hosted deployments don't support `mcp` or `mcp install`; both report that the
|
|
873
|
+
deployment doesn't support the command when you pass `--prod`.
|
|
874
|
+
|
|
875
|
+
### Authorize MCP OAuth {#mcp-oauth}
|
|
876
|
+
|
|
877
|
+
```text
|
|
878
|
+
bdk mcp oauth <connection> [--dir <path>]
|
|
879
|
+
[--slug <slug>] [--team <id>]
|
|
880
|
+
```
|
|
881
|
+
|
|
882
|
+
`<connection>` is the basename under `bot/mcp-connections/` or
|
|
883
|
+
`bot/host-connections/`.
|
|
884
|
+
|
|
885
|
+
| Connection | Result |
|
|
886
|
+
| --- | --- |
|
|
887
|
+
| `defineConnection({ url, oauth: true })` | Open a browser PKCE flow and save tokens in `mcp-auth.json` under the CLI config directory. |
|
|
888
|
+
| `defineConnection({ cursorAccount: true })` | Authorize the hosted deployment's service account through Cursor. |
|
|
889
|
+
|
|
890
|
+
URL-connection tokens are bound to the resource URL; authorize again after
|
|
891
|
+
changing it.
|
|
892
|
+
|
|
893
|
+
See [Host MCP OAuth](/docs/guides/mcp-oauth.md) for the full setup flow.
|
|
894
|
+
|
|
895
|
+
## Channel helpers
|
|
896
|
+
|
|
897
|
+
### Configure Slack {#slack}
|
|
898
|
+
|
|
899
|
+
```text
|
|
900
|
+
bdk slack setup
|
|
901
|
+
bdk slack create [--dir <path>] [--name <name>] [--prod]
|
|
902
|
+
[--slack-team <id>] [--team <id>] [--icon <url-or-file>]
|
|
903
|
+
[--prefix <prefix> | --no-prefix] [--channel-posts] [--json]
|
|
904
|
+
bdk slack destroy [--dir <path>] [--prod]
|
|
905
|
+
[--slack-team <id>] [--team <id>] [--json]
|
|
906
|
+
bdk slack icon <url-or-file> [--dir <path>] [--prod]
|
|
907
|
+
[--slack-team <id>] [--team <id>] [--json]
|
|
908
|
+
bdk slack init --manual [--dir <path>] [--name <name>]
|
|
909
|
+
[--prefix <prefix> | --no-prefix] [--channel-posts]
|
|
910
|
+
[--install | --no-install] [--slack-team <id>] [--prod]
|
|
911
|
+
bdk slack manifest [--dir <path>] [--name <name>]
|
|
912
|
+
[--env dev|prod|both] [--channel-posts] [--print]
|
|
913
|
+
bdk slack doctor [--dir <path>]
|
|
914
|
+
[--prefix <prefix> | --no-prefix] [--channel <id>]... [--json]
|
|
915
|
+
```
|
|
916
|
+
|
|
917
|
+
| Subcommand | Contract |
|
|
918
|
+
| --- | --- |
|
|
919
|
+
| `setup` | Print the setup choices without changing files. |
|
|
920
|
+
| `create` | Open the signed-in Cursor dashboard wizard, write the resulting token pair to `.env.local`, and run `doctor`. The development app is the default; `--prod` selects production. A second create overwrites the live app manifest. |
|
|
921
|
+
| `destroy` | Delete the provisioned app. Existing local token entries remain but stop working. |
|
|
922
|
+
| `icon` | Set an HTTPS or local PNG, JPG, or GIF icon of at most 512 KB. |
|
|
923
|
+
| `init --manual` | Write the channel, manifests, Slack CLI project, and setup files for a manually managed app. |
|
|
924
|
+
| `manifest` | Generate Slack manifests. `--env` defaults to `both`; with `--print`, select one environment when you need one JSON document. |
|
|
925
|
+
| `doctor` | Check both tokens, Socket Mode connectivity, Slack authentication, and any repeatable `--channel` values. |
|
|
926
|
+
|
|
927
|
+
The default token prefix is the project directory name normalized to upper
|
|
928
|
+
snake case. `--no-prefix` uses `SLACK_BOT_TOKEN` and `SLACK_APP_TOKEN`.
|
|
929
|
+
Channel-post subscriptions are off by default; `--channel-posts` adds message
|
|
930
|
+
events for public and private channels as required by
|
|
931
|
+
`engagement.channelPosts`.
|
|
932
|
+
Multi-agent servers need one token pair per agent.
|
|
933
|
+
|
|
934
|
+
See [Slack](/docs/guides/slack.md) for app consent and manual setup.
|
|
935
|
+
|
|
936
|
+
### Test GitHub webhooks {#github}
|
|
937
|
+
|
|
938
|
+
```text
|
|
939
|
+
bdk github forward [--dir <path>] [--slug <slug>] [--channel <id>]
|
|
940
|
+
[--repo owner/repo | --org <org>] [--events a,b,c]
|
|
941
|
+
[--url <url>] [--host <host>] [--port <n>]
|
|
942
|
+
[--secret <secret>] [--install]
|
|
943
|
+
bdk github replay <pr-url-or-owner/repo#N>
|
|
944
|
+
[--events a,b,c | '*'] [--action <action>] [--conclusion <result>]
|
|
945
|
+
[--comment <body>] [--context <name>] [--dir <path>]
|
|
946
|
+
[--slug <slug>] [--channel <id>] [--url <url>]
|
|
947
|
+
[--secret <secret>] [--dry-run] [--out <dir>] [--json]
|
|
948
|
+
bdk github events [--dir <path>] [--host <host>] [--port <n>] [--json]
|
|
949
|
+
bdk github doctor [--install] [--json]
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
| Subcommand | Contract |
|
|
953
|
+
| --- | --- |
|
|
954
|
+
| `forward` | Forward live deliveries with `gh webhook forward`. The CLI derives URLs and events from discovered channels and can fan out to several matches. |
|
|
955
|
+
| `replay` | Read a pull request, synthesize selected webhook payloads, and post them to matching channels. The default event is `pull_request`; `'*'` selects the channel's supported declared events. |
|
|
956
|
+
| `events` | List discovered channel URLs and event sets. No channels is a successful empty result. |
|
|
957
|
+
| `doctor` | Check the GitHub CLI, its login, and the pinned webhook extension. `--install` installs or repairs the extension. |
|
|
958
|
+
|
|
959
|
+
Replay supports `pull_request`, `issue_comment`,
|
|
960
|
+
`pull_request_review_comment`, `check_run`, `check_suite`, `workflow_run`, and
|
|
961
|
+
`status`. `--dry-run` prints without posting. `--out` writes fixtures and
|
|
962
|
+
still posts unless combined with `--dry-run`.
|
|
963
|
+
|
|
964
|
+
Forwarding requires repository admin access, or organization owner access for
|
|
965
|
+
`--org`. It uses the GitHub CLI's stored login; unset `GITHUB_TOKEN` and
|
|
966
|
+
`GH_TOKEN` before forwarding. Replay needs only pull-request read access.
|
|
967
|
+
|
|
968
|
+
See [GitHub](/docs/guides/github.md) for channel setup and live delivery.
|
|
969
|
+
|
|
970
|
+
### Test GitLab webhooks {#gitlab}
|
|
971
|
+
|
|
972
|
+
```text
|
|
973
|
+
bdk gitlab replay <mr-url-or-group/project!N>
|
|
974
|
+
[--events a,b,c | '*'] [--action <action>]
|
|
975
|
+
[--conclusion <status>] [--comment <body>]
|
|
976
|
+
[--dir <path>] [--slug <slug>] [--channel <id>]
|
|
977
|
+
[--url <url>] [--host <host>] [--port <n>]
|
|
978
|
+
[--secret <secret>] [--dry-run] [--out <dir>] [--json]
|
|
979
|
+
bdk gitlab events [--dir <path>] [--host <host>] [--port <n>] [--json]
|
|
980
|
+
bdk gitlab forward [--dir <path>] [--host <host>] [--port <n>]
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
| Subcommand | Contract |
|
|
984
|
+
| --- | --- |
|
|
985
|
+
| `replay` | Read a merge request, synthesize selected webhook payloads, and post them to matching channels. The default event is `merge_request`; `'*'` selects the channel's declared events. |
|
|
986
|
+
| `events` | List discovered GitLab channel URLs and object kinds. |
|
|
987
|
+
| `forward` | Print the public-hook and tunnel recipe for live deliveries. |
|
|
988
|
+
|
|
989
|
+
Replay supports `merge_request`, `note`, `pipeline`, and `push`. It requires
|
|
990
|
+
`GITLAB_TOKEN` with project read access. `--secret` defaults to
|
|
991
|
+
`GITLAB_WEBHOOK_SECRET`; `--dry-run` and `--out` follow the GitHub replay
|
|
992
|
+
contract.
|
|
993
|
+
|
|
994
|
+
See [GitLab](/docs/guides/gitlab.md) for channel setup and self-managed hosts.
|
|
995
|
+
|
|
996
|
+
### Test Bitbucket webhooks {#bitbucket}
|
|
997
|
+
|
|
998
|
+
```text
|
|
999
|
+
bdk bitbucket replay <pr-url-or-workspace/repo#N>
|
|
1000
|
+
[--events a,b,c | '*'] [--comment <body>]
|
|
1001
|
+
[--dir <path>] [--slug <slug>] [--channel <id>]
|
|
1002
|
+
[--url <url>] [--host <host>] [--port <n>]
|
|
1003
|
+
[--secret <secret>] [--dry-run] [--out <dir>] [--json]
|
|
1004
|
+
bdk bitbucket events [--dir <path>] [--host <host>] [--port <n>] [--json]
|
|
1005
|
+
bdk bitbucket forward [--dir <path>] [--host <host>] [--port <n>]
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
| Subcommand | Contract |
|
|
1009
|
+
| --- | --- |
|
|
1010
|
+
| `replay` | Read a pull request, synthesize webhook payloads in the host's Cloud or Data Center format, and post them to matching channels. |
|
|
1011
|
+
| `events` | List discovered Bitbucket channel URLs and event keys. |
|
|
1012
|
+
| `forward` | Print the repository-hook and tunnel recipe for live deliveries. |
|
|
1013
|
+
|
|
1014
|
+
Replay supports `pullrequest:created`, `pullrequest:updated`,
|
|
1015
|
+
`pullrequest:comment_created`, and `repo:push`, along with their supported Data
|
|
1016
|
+
Center forms. It requires `BITBUCKET_TOKEN` with pull-request read access.
|
|
1017
|
+
`--secret` defaults to `BITBUCKET_WEBHOOK_SECRET`; `--dry-run` and `--out`
|
|
1018
|
+
follow the GitHub replay contract.
|
|
1019
|
+
|
|
1020
|
+
See [Bitbucket](/docs/guides/bitbucket.md) for Cloud and Data Center setup.
|
|
1021
|
+
|
|
1022
|
+
### Test PagerDuty webhooks {#pagerduty}
|
|
1023
|
+
|
|
1024
|
+
```text
|
|
1025
|
+
bdk pagerduty replay [incident-id]
|
|
1026
|
+
[--events a,b,c | '*'] [--comment <body>]
|
|
1027
|
+
[--dir <path>] [--slug <slug>] [--channel <id>]
|
|
1028
|
+
[--url <url>] [--host <host>] [--port <n>]
|
|
1029
|
+
[--secret <secret>] [--dry-run] [--out <dir>] [--json]
|
|
1030
|
+
bdk pagerduty events [--dir <path>] [--host <host>] [--port <n>] [--json]
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
| Subcommand | Contract |
|
|
1034
|
+
| --- | --- |
|
|
1035
|
+
| `replay` | Synthesize v3 webhook bodies for one incident and post them, in order, to matching channels. The default event is `incident.triggered`; `'*'` selects every declared event replay supports. |
|
|
1036
|
+
| `events` | List discovered PagerDuty channel URLs and event types. |
|
|
1037
|
+
|
|
1038
|
+
Replay supports `incident.triggered`, `.acknowledged`, `.annotated`,
|
|
1039
|
+
`.escalated`, `.resolved`, and `.reopened`, by full name or by action alone
|
|
1040
|
+
(`resolved`). It needs no PagerDuty account. The incident id defaults to
|
|
1041
|
+
`PREPLAY1`, and `--comment` is the note body for `annotated`. `--secret`
|
|
1042
|
+
defaults to `PAGERDUTY_WEBHOOK_SECRET`, signing with its first line when it
|
|
1043
|
+
lists several; without either the deliveries are unsigned, which `bdk dev`
|
|
1044
|
+
admits from loopback. `--dry-run` and `--out`
|
|
1045
|
+
follow the GitHub replay contract.
|
|
1046
|
+
|
|
1047
|
+
See [PagerDuty](/docs/guides/pagerduty.md) for channel setup.
|
|
1048
|
+
|
|
1049
|
+
## Environment variables
|
|
1050
|
+
|
|
1051
|
+
Credential resolution follows this order: `--api-key`, `CURSOR_API_KEY`,
|
|
1052
|
+
`CURSOR_API_KEY_FILE`, `CURSOR_SERVICE_ACCOUNT_KEY`, then the stored login.
|
|
1053
|
+
|
|
1054
|
+
| Variable | Contract |
|
|
1055
|
+
| --- | --- |
|
|
1056
|
+
| `CURSOR_API_KEY` | Cursor credential. |
|
|
1057
|
+
| `CURSOR_API_KEY_FILE` | Path to a Cursor credential file. |
|
|
1058
|
+
| `CURSOR_SERVICE_ACCOUNT_KEY` | Team service-account credential used after the API key and key-file sources. |
|
|
1059
|
+
| `CURSOR_API_BASE_URL` | Backend for login, account, deployment, and event commands. |
|
|
1060
|
+
| `CURSOR_BACKEND_URL` | Backend for BDK turns. Set it with `CURSOR_API_BASE_URL` when using a non-default backend. |
|
|
1061
|
+
| `AGENT_SERVE_CONFIG_DIR` | Override the CLI config directory for stored credentials and update state. |
|
|
1062
|
+
| `AGENT_SERVE_NO_UPDATE_CHECK`, `NO_UPDATE_NOTIFIER`, `CI` | Disable published-version checks when set to a non-empty value other than `0`. |
|
|
1063
|
+
| `GITHUB_WEBHOOK_SECRET` | Default signature secret for GitHub forwarding and replay. |
|
|
1064
|
+
| `GITHUB_APP_ID`, `GITHUB_APP_PRIVATE_KEY`, `GITHUB_APP_INSTALLATION_ID` | GitHub App credentials for outbound API calls. |
|
|
1065
|
+
| `GITHUB_TOKEN`, `GH_TOKEN` | Token credentials for outbound GitHub calls. Unset both for `github forward`. |
|
|
1066
|
+
| `GITLAB_TOKEN` | Token for GitLab API reads and direct channel calls. |
|
|
1067
|
+
| `GITLAB_API_BASE_URL` | Override the GitLab REST base URL for self-managed hosts. |
|
|
1068
|
+
| `GITLAB_WEBHOOK_SECRET` | Default GitLab webhook token for replay and channel verification. |
|
|
1069
|
+
| `BITBUCKET_TOKEN` | Token for Bitbucket API reads and direct channel calls. |
|
|
1070
|
+
| `BITBUCKET_API_BASE_URL` | Override the Bitbucket Data Center REST base URL. |
|
|
1071
|
+
| `BITBUCKET_WEBHOOK_SECRET` | Default Bitbucket signing secret for replay and channel verification. |
|
|
1072
|
+
| `SLACK_BOT_TOKEN`, `SLACK_APP_TOKEN` | Slack tokens for one agent. Multi-agent servers use `<PREFIX>_SLACK_BOT_TOKEN` and `<PREFIX>_SLACK_APP_TOKEN`. |
|
|
1073
|
+
|
|
1074
|
+
## Exit status
|
|
1075
|
+
|
|
1076
|
+
| Command | Nonzero contract |
|
|
1077
|
+
| --- | --- |
|
|
1078
|
+
| No command | Print help and exit `1`. Explicit `help`, `--help`, and `-h` exit `0`. |
|
|
1079
|
+
| `run` | For local and running-server trajectories, exit `1` when the trajectory fails. |
|
|
1080
|
+
| `call` | Exit `1` unless the response succeeds with `ok: true`. |
|
|
1081
|
+
| `skill` | Exit `2` when the name is missing and `1` when the request fails. |
|
|
1082
|
+
| `trajectory` | Exit `1` when the reconstructed trajectory failed. |
|
|
1083
|
+
| `eval` | Exit `1` for failed cases, or scored cases below threshold with `--strict`; exit `2` for invalid eval options or an execution with no matching cases. An empty `--list` succeeds. |
|
|
1084
|
+
| `eval status` | Exit `3` while the batch runs, `1` when it failed or was cancelled, and `2` for invalid usage. |
|
|
1085
|
+
| `chat`, `session` | Exit `2` for documented option conflicts or missing required input. |
|
|
1086
|
+
| `validate` | Exit `1` when any project diagnostic has error severity. |
|
|
1087
|
+
| `convert-automation` | Exit `1` for invalid input, authentication, export, or file-write failure. Warnings and dependency-install failure don't change a successful conversion exit. |
|
|
1088
|
+
| `migrate` | Exit `0` when nothing needs a migration, after starting with `--no-wait`, or after the agent opens a pull request. Exit `1` for invalid input, authentication or agent failure, or a completed run without a pull request. |
|
|
1089
|
+
| Other commands | Exit nonzero when validation, authentication, a request, or the requested operation fails. |
|
|
1090
|
+
|
|
1091
|
+
## Related
|
|
1092
|
+
|
|
1093
|
+
- [Project layout](/docs/reference/project-layout.md)
|
|
1094
|
+
- [Sessions, events, and streaming](/docs/reference/sessions.md)
|
|
1095
|
+
- [Evals](/docs/reference/evals.md)
|
|
1096
|
+
- [HTTP API](/docs/reference/http-api.md)
|
|
1097
|
+
- [Deployment](/docs/deployment.md)
|
|
1098
|
+
- [Early-alpha migration](/docs/guides/migrate.md)
|