deepline 0.3.551 → 0.3.553
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/dist/bundling-sources/sdk/src/client-core.ts +130 -12
- package/dist/bundling-sources/sdk/src/compat.ts +239 -87
- package/dist/bundling-sources/sdk/src/config.ts +113 -2
- package/dist/bundling-sources/sdk/src/errors.ts +2 -0
- package/dist/bundling-sources/sdk/src/http-core.ts +124 -10
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +6 -4
- package/dist/bundling-sources/sdk/src/play.ts +3 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +66 -30
- package/dist/bundling-sources/sdk/src/tool-calls.ts +2 -1
- package/dist/bundling-sources/sdk/src/tool-failure-hint.ts +104 -0
- package/dist/bundling-sources/sdk/src/types.ts +9 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +4 -2
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-plan-skus.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +58 -4
- package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/pricing.ts +11 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +103 -5
- package/dist/bundling-sources/shared_libs/monitors/fleets/converge-admission.ts +133 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-attention.ts +165 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-release.ts +726 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-walk.ts +274 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +1 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/provider-bulk-wait.ts +126 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/shared-payload.ts +189 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/inbound-publish-key.ts +4 -0
- package/dist/bundling-sources/shared_libs/monitors/inventory-counter-errors.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +65 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +11 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +152 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +390 -10
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +34 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +66 -30
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +30 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +80 -13
- package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +26 -3
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +41 -13
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/raw-receipt-causes.ts +219 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +21 -10
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/tamradar-countries.ts +285 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/log-metadata.ts +5 -3
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +10 -1
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/redaction.ts +24 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +312 -41
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-data-plane/preview-r2-oidc.ts +188 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +170 -16
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +68 -2
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +568 -26
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-fetch-caller-deadline.ts +200 -0
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +21 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +14 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +70 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-tool-identity.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +92 -16
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +74 -3
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +31 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/query-result-dataset.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +39 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +33 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-contract.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +300 -57
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +87 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +241 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +161 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +16 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-compression.ts +37 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +298 -46
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +39 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +62 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +206 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +185 -64
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-slot-ledger.ts +157 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +110 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-listener-hint.ts +323 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/executor-attempt-standing.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-storage.ts +23 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +32 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-workspace-purge.ts +199 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +632 -66
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +517 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-api-origin.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-receipt-value-storage.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +599 -2
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +51 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +113 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -7
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +37 -7
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +40 -5
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/control-plane-types.ts +16 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +10 -41
- package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +33 -0
- package/dist/bundling-sources/shared_libs/plays/row-identity.ts +18 -1
- package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +108 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +14 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +171 -0
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +27 -1
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +9 -24
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +178 -5
- package/dist/bundling-sources/shared_libs/security/signup-email-dns-screen.ts +148 -0
- package/dist/bundling-sources/shared_libs/tool-execution-error.ts +108 -0
- package/dist/cli/{auth-E7BH4GMJ.mjs → auth-I3QAU4RV.mjs} +8 -7
- package/dist/cli/auth-MQCN7WGZ.js +44 -0
- package/dist/cli/{billing-OXKU462W.mjs → billing-3IC54OQQ.mjs} +202 -59
- package/dist/cli/{billing-DNQAZGX7.js → billing-YGFFVAIC.js} +302 -159
- package/dist/cli/{chunk-COGREZAO.js → chunk-2B5B5KAW.js} +210 -128
- package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
- package/dist/cli/{chunk-T2B5BVZE.js → chunk-3NTP2OSG.js} +13 -13
- package/dist/cli/{chunk-FOTGUFVK.mjs → chunk-45OAVGU6.mjs} +5 -5
- package/dist/cli/{chunk-54EEYLTF.js → chunk-4747TPLV.js} +3 -3
- package/dist/cli/{chunk-CLRAANWH.mjs → chunk-4BFTDNHU.mjs} +1 -1
- package/dist/cli/{chunk-BGBJV26E.mjs → chunk-4HYNMXXF.mjs} +4 -4
- package/dist/cli/{chunk-5S6PHKRV.mjs → chunk-4SMCFQ23.mjs} +1 -1
- package/dist/cli/{chunk-VWLHRZFG.mjs → chunk-55F6HNOY.mjs} +5 -5
- package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
- package/dist/cli/{chunk-VTGG2RT3.js → chunk-6NE3RRRY.js} +1 -1
- package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
- package/dist/cli/{chunk-MNSTCJMX.mjs → chunk-72V4PDH5.mjs} +18 -18
- package/dist/cli/{chunk-ZCDKE4UH.js → chunk-74RES4DS.js} +5 -5
- package/dist/cli/{chunk-WKBHUB6R.js → chunk-7GEMELKI.js} +366 -320
- package/dist/cli/{chunk-C4CUZH57.js → chunk-7O6J6A7P.js} +1871 -92
- package/dist/cli/{chunk-7RSIFA72.js → chunk-7SERLBNR.js} +161 -53
- package/dist/cli/{chunk-3G6QZACZ.js → chunk-7YRJ5UC4.js} +21 -21
- package/dist/cli/{chunk-I4VKGNAQ.mjs → chunk-A7DLBE5K.mjs} +136 -54
- package/dist/cli/{chunk-GGB3JYCW.mjs → chunk-AGICYWGN.mjs} +299 -69
- package/dist/cli/{chunk-44KSACJW.mjs → chunk-AGIQDA2T.mjs} +12 -12
- package/dist/cli/{chunk-PACD5DGC.js → chunk-AGLR6QVN.js} +255 -109
- package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
- package/dist/cli/{chunk-4OMAGJ6U.js → chunk-BVDKFS2T.js} +2 -2
- package/dist/cli/{chunk-LPJPCGT3.js → chunk-CACFJODG.js} +190 -134
- package/dist/cli/{chunk-GVYLCCKN.mjs → chunk-CAEBJOYU.mjs} +1 -1
- package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
- package/dist/cli/{chunk-POLUE7D5.js → chunk-DP2VH7CO.js} +12 -12
- package/dist/cli/{chunk-D6M5HFBB.mjs → chunk-DP64MD6U.mjs} +1 -1
- package/dist/cli/{chunk-W425ERWN.mjs → chunk-DZA7RFGL.mjs} +5 -5
- package/dist/cli/{chunk-R7J7CJPZ.js → chunk-E2G2DNAB.js} +4 -1
- package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-E7WZOX2A.mjs} +22 -18
- package/dist/cli/{chunk-44I675YK.js → chunk-FM7LPUPA.js} +41 -41
- package/dist/cli/{chunk-2UXDHFSF.mjs → chunk-GAVZ4EOD.mjs} +1 -1
- package/dist/cli/{chunk-Z2FIOG3V.js → chunk-HEBO3XNZ.js} +27 -31
- package/dist/cli/{chunk-6PWJKMFQ.mjs → chunk-HSJ6X2AQ.mjs} +4 -4
- package/dist/cli/{chunk-UPMRIVZB.js → chunk-HVI55MTK.js} +61 -10
- package/dist/cli/{chunk-KWSH5T7K.js → chunk-IH6GDNKW.js} +21 -21
- package/dist/cli/{chunk-3KYBDAR3.js → chunk-IMX7J4DU.js} +8 -8
- package/dist/cli/{chunk-HEHVGEZV.mjs → chunk-INEMTYMT.mjs} +8 -8
- package/dist/cli/{chunk-5VVSEU67.js → chunk-IUOGII7D.js} +6 -7
- package/dist/cli/{chunk-MXGA6JFI.mjs → chunk-JJGWHITQ.mjs} +5 -5
- package/dist/cli/{chunk-QM6Y6S4E.js → chunk-JLGP5XAJ.js} +5 -5
- package/dist/cli/{chunk-V6SCP4B7.mjs → chunk-LFOERUQY.mjs} +69 -3
- package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
- package/dist/cli/{chunk-ZMNGZ6XS.mjs → chunk-LH5PZKER.mjs} +80 -24
- package/dist/cli/{chunk-MR5LTVHD.js → chunk-LRDHPOZW.js} +69 -69
- package/dist/cli/{chunk-5LUF4LAR.mjs → chunk-LRZGS6RZ.mjs} +3 -0
- package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
- package/dist/cli/{chunk-UDXULACQ.js → chunk-MLABYI4M.js} +90 -24
- package/dist/cli/{chunk-S7IZWGUA.mjs → chunk-NDNHYONK.mjs} +17 -21
- package/dist/cli/{chunk-4D3WIZST.mjs → chunk-OTV2UUKW.mjs} +164 -18
- package/dist/cli/{chunk-XYE5XPGF.js → chunk-Q6Z6N3A7.js} +18 -18
- package/dist/cli/{chunk-7WQNWJQW.mjs → chunk-QG6JIWUL.mjs} +151 -43
- package/dist/cli/{chunk-3T65J5RG.mjs → chunk-QI5S5HWB.mjs} +2 -2
- package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
- package/dist/cli/{chunk-PM7MO62Y.mjs → chunk-RMNOZKRI.mjs} +3 -3
- package/dist/cli/{chunk-NMWGZD6Y.js → chunk-RTV4RF7N.js} +36 -36
- package/dist/cli/{chunk-CQ6JYQSW.js → chunk-SBH4CKPN.js} +11 -11
- package/dist/cli/{chunk-BIIJATTX.mjs → chunk-SG3LUONJ.mjs} +3 -3
- package/dist/cli/{chunk-2WFPHBR4.js → chunk-TFEXSHPM.js} +22 -18
- package/dist/cli/{chunk-5IL7SC45.mjs → chunk-TN4TY6TT.mjs} +6 -7
- package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-UEVKMZLR.mjs} +54 -3
- package/dist/cli/{chunk-RE5MJBEV.mjs → chunk-UVQJYV76.mjs} +2 -2
- package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
- package/dist/cli/{chunk-W2ZWQUHT.js → chunk-WOCHZCUJ.js} +2 -2
- package/dist/cli/{chunk-ZDQFBJPO.js → chunk-XLIHTJVM.js} +348 -118
- package/dist/cli/{chunk-2ZYRBMQM.js → chunk-Y6SP3JMI.js} +22 -22
- package/dist/cli/{chunk-PPSDCN6C.js → chunk-YUA6HA6D.js} +2 -2
- package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
- package/dist/cli/{chunk-E64HFB4L.mjs → chunk-Z6XPSHKM.mjs} +87 -41
- package/dist/cli/{chunk-7DOQ3OEX.mjs → chunk-Z7AOIHFE.mjs} +1870 -91
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-CFJH4KXV.js +22 -0
- package/dist/cli/{concurrent-runs-help-C6L6I5OR.mjs → concurrent-runs-help-DNV2X5AZ.mjs} +9 -8
- package/dist/cli/{csv-QMF4FWE7.js → csv-SA6ELJY6.js} +16 -15
- package/dist/cli/{csv-SYSDXFEM.mjs → csv-ZXZGHWOM.mjs} +7 -6
- package/dist/cli/{db-Q7HURWRZ.mjs → db-A54SP6AD.mjs} +16 -16
- package/dist/cli/{db-YSHPPA4H.js → db-JHFEIQBU.js} +43 -43
- package/dist/cli/describe-PHQ33AGS.mjs +50 -0
- package/dist/cli/describe-RHJ4XRFI.js +50 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +6 -6
- package/dist/cli/describe-core.mjs +5 -5
- package/dist/cli/{executions-G7U3VUXN.mjs → executions-HL2M2DFU.mjs} +10 -10
- package/dist/cli/{executions-MWBC5TAW.js → executions-TLFZRHBJ.js} +12 -12
- package/dist/cli/{feedback-SD55OY6H.js → feedback-5UEX5UZK.js} +17 -16
- package/dist/cli/{feedback-GMHIFLBJ.mjs → feedback-QMBTNXVG.mjs} +9 -8
- package/dist/cli/git-4JWOOHBG.js +26 -0
- package/dist/cli/{git-HPE45OPD.mjs → git-LKGXVIVC.mjs} +8 -7
- package/dist/cli/index.js +170 -158
- package/dist/cli/index.mjs +60 -48
- package/dist/cli/{integrations-HFKVBY6G.js → integrations-6RUTLMN7.js} +23 -27
- package/dist/cli/{integrations-2W4MGIQR.mjs → integrations-FGGRVUJ7.mjs} +15 -19
- package/dist/cli/{legacy-noops-SXVNDEXN.js → legacy-noops-J3Z7QRWZ.js} +12 -11
- package/dist/cli/{legacy-noops-GZYKNU2Z.mjs → legacy-noops-YIPRMVXZ.mjs} +9 -8
- package/dist/cli/{mcp-PJRHQHHU.js → mcp-6LWFP7RW.js} +121 -48
- package/dist/cli/{mcp-BWA6KULG.mjs → mcp-CHDYFO7F.mjs} +100 -27
- package/dist/cli/{monitors-K2WSI6CR.js → monitors-STM6A7OU.js} +221 -186
- package/dist/cli/{monitors-SYQKCATO.mjs → monitors-UGRY2BXI.mjs} +58 -23
- package/dist/cli/org-3SYOUQCX.mjs +2289 -0
- package/dist/cli/org-ZOBSNSIB.js +2289 -0
- package/dist/cli/outcomes-H4YYAT5X.js +2865 -0
- package/dist/cli/outcomes-Z3P2JE67.mjs +2865 -0
- package/dist/cli/{play-SZXY2F2S.js → play-SM4CW2GS.js} +1116 -846
- package/dist/cli/{play-TTMABJEI.mjs → play-SN5YWLS7.mjs} +375 -105
- package/dist/cli/{providers-GQIOMRQO.mjs → providers-WZ4YBR5Y.mjs} +10 -10
- package/dist/cli/{providers-YDHCTZAF.js → providers-WZARYMCF.js} +13 -13
- package/dist/cli/{quickstart-PHSSMKCA.mjs → quickstart-2575BNKA.mjs} +7 -6
- package/dist/cli/{quickstart-BNYOXQXG.js → quickstart-PS4YHQJ6.js} +9 -8
- package/dist/cli/{run-GFIAZXVL.js → run-FLZ6OTM7.js} +51 -51
- package/dist/cli/{run-74C3C75C.mjs → run-ZUHCZOJS.mjs} +31 -31
- package/dist/cli/run-identity-LMLFMACS.js +31 -0
- package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MAZ7ANH5.mjs} +9 -3
- package/dist/cli/{search-3SWUB7KX.mjs → search-HLPPKQEO.mjs} +11 -11
- package/dist/cli/search-JJWVHR3N.js +32 -0
- package/dist/cli/{search-output-K2SWHVHQ.mjs → search-output-PDAXNOGP.mjs} +9 -8
- package/dist/cli/{search-output-6JF3S4TP.js → search-output-RXJLU36B.js} +12 -11
- package/dist/cli/{secrets-2M4XWEKE.mjs → secrets-CGELYQ3H.mjs} +11 -11
- package/dist/cli/{secrets-2SAKLH2H.js → secrets-QJNG7G2Y.js} +20 -20
- package/dist/cli/sessions-DHTBT2GN.js +23 -0
- package/dist/cli/{sessions-A64BCXTO.mjs → sessions-ELMWVR4M.mjs} +9 -8
- package/dist/cli/{settings-HV64WIJF.js → settings-44I44P5F.js} +89 -89
- package/dist/cli/{settings-SVGEC3FI.mjs → settings-RR3LZXL7.mjs} +16 -16
- package/dist/cli/{setup-EDC3NEJ3.mjs → setup-KGWRWH4B.mjs} +20 -19
- package/dist/cli/{setup-FHXOLQGQ.js → setup-KTEYOCJO.js} +60 -59
- package/dist/cli/skills-EPZPEXI2.js +37 -0
- package/dist/cli/{skills-3HGHZMXB.mjs → skills-FPRID2I5.mjs} +10 -9
- package/dist/cli/tools-IGQQ5TML.js +57 -0
- package/dist/cli/{tools-P2QS6A6Q.mjs → tools-PI4WMDLY.mjs} +23 -23
- package/dist/cli/update-4RNCVYGE.js +37 -0
- package/dist/cli/{update-552BYQM4.mjs → update-VJOJAZ7B.mjs} +14 -11
- package/dist/cli/{views-PA25NAE3.js → views-NTUOLNQU.js} +62 -64
- package/dist/cli/{views-LD5HXJYY.mjs → views-OVPSINZO.mjs} +47 -49
- package/dist/cli/{workflow-FIDBUQV6.js → workflow-2UDYDM6F.js} +23 -23
- package/dist/cli/{workflow-LDYFGBYP.mjs → workflow-7OEFNXZC.mjs} +13 -13
- package/dist/{client-DuDFiJDU.d.mts → client-B8f7RNF8.d.mts} +1 -1
- package/dist/{client-t9HZAkFD.d.ts → client-C5TgXmJQ.d.ts} +1 -1
- package/dist/{client-core-DydMQOft.d.mts → client-core-SLLGBTht.d.mts} +285 -23
- package/dist/{client-core-CJRzLanv.d.ts → client-core-p0sOxnkl.d.ts} +285 -23
- package/dist/{compiler-manifest-BqwVrOri.d.mts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
- package/dist/{compiler-manifest-BqwVrOri.d.ts → compiler-manifest-D_zZEh9Q.d.ts} +70 -5
- package/dist/{errors-BU8FB99X.d.mts → errors-CZCrBFrQ.d.mts} +1 -1
- package/dist/{errors-DfVN_FUG.d.ts → errors-DsUkLrdZ.d.ts} +1 -1
- package/dist/{index-BGnvtYGc.d.ts → index-B6RTOZGC.d.ts} +1 -1
- package/dist/{index-DjZgwpGw.d.mts → index-DeOVrEmX.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +66 -55
- package/dist/index.mjs +25 -14
- package/dist/install-integrity.json +162 -142
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +23 -4
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +4 -4
- package/dist/plays/run-request.mjs +3 -3
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +15 -13
- package/dist/server.mjs +9 -7
- package/package.json +1 -1
- package/dist/cli/auth-B4PI7GVY.js +0 -43
- package/dist/cli/concurrent-runs-help-JEFQZTJI.js +0 -21
- package/dist/cli/describe-PXTSBJTL.js +0 -50
- package/dist/cli/describe-YGMQBV44.mjs +0 -50
- package/dist/cli/git-I3JV7IGH.js +0 -25
- package/dist/cli/org-5KD7X7IA.mjs +0 -1282
- package/dist/cli/org-YQ2CR32B.js +0 -1282
- package/dist/cli/run-identity-G257GQED.js +0 -25
- package/dist/cli/search-2RRRF4LW.js +0 -32
- package/dist/cli/sessions-SBH27JNW.js +0 -22
- package/dist/cli/skills-Y3SRLOYD.js +0 -36
- package/dist/cli/tools-OFYPUPUV.js +0 -57
- package/dist/cli/update-SOUSCLB7.js +0 -34
|
@@ -2,27 +2,42 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AGICYWGN.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cliFeatureEnabled
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-LFOERUQY.mjs";
|
|
9
|
+
import "./chunk-OTV2UUKW.mjs";
|
|
10
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
13
|
+
import "./chunk-2MGZAI54.mjs";
|
|
14
|
+
import "./chunk-GAVZ4EOD.mjs";
|
|
14
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
16
|
import "./chunk-KRD6H754.mjs";
|
|
16
17
|
|
|
17
18
|
// src/cli/commands/mcp.ts
|
|
18
19
|
import { stdin as input } from "process";
|
|
20
|
+
var SCOPES = ["user", "workspace", "org"];
|
|
19
21
|
var AUTH_MODES = ["none", "headers", "oauth"];
|
|
20
22
|
function collect(value, previous = []) {
|
|
21
23
|
return [...previous, value];
|
|
22
24
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
+
function parseScope(value) {
|
|
26
|
+
if (value === void 0) return void 0;
|
|
27
|
+
if (!SCOPES.includes(value)) {
|
|
28
|
+
throw new Error("--scope must be user, workspace, or org.");
|
|
29
|
+
}
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
function base(slug, options, path = "") {
|
|
33
|
+
const scope = parseScope(options.scope);
|
|
34
|
+
return `/api/v2/mcp-connections/${encodeURIComponent(slug)}${path}${scope ? `?scope=${scope}` : ""}`;
|
|
25
35
|
}
|
|
36
|
+
var SCOPE_LABELS = {
|
|
37
|
+
user: "personal",
|
|
38
|
+
workspace: "workspace",
|
|
39
|
+
org: "org"
|
|
40
|
+
};
|
|
26
41
|
async function readHeaders(options) {
|
|
27
42
|
const fromEnv = options.headerEnv ?? [];
|
|
28
43
|
if (fromEnv.length > 0 && options.headersStdin) {
|
|
@@ -74,7 +89,7 @@ async function readHeaders(options) {
|
|
|
74
89
|
}
|
|
75
90
|
function renderConnection(connection) {
|
|
76
91
|
const reason = connection.statusReason ? ` \u2014 ${connection.statusReason}` : "";
|
|
77
|
-
return `${connection.slug} ${connection.status} ${connection.authMode} ${connection.toolCount} tools ${connection.serverUrl}${reason}`;
|
|
92
|
+
return `${connection.slug} ${SCOPE_LABELS[connection.scope] ?? connection.scope} ${connection.status} ${connection.authMode} ${connection.toolCount} tools ${connection.serverUrl}${reason}`;
|
|
78
93
|
}
|
|
79
94
|
function effectLabel(tool) {
|
|
80
95
|
if (tool.readOnly) return "read";
|
|
@@ -98,34 +113,42 @@ async function handleConnect(name, url, forbidden, options) {
|
|
|
98
113
|
if (authMode === "oauth" && headers) {
|
|
99
114
|
throw new Error("OAuth connections do not take headers.");
|
|
100
115
|
}
|
|
116
|
+
const scope = parseScope(options.scope) ?? "user";
|
|
101
117
|
const { http } = getAuthedHttpClient();
|
|
102
118
|
const response = await http.post("/api/v2/mcp-connections", {
|
|
103
119
|
name,
|
|
104
120
|
url,
|
|
121
|
+
scope,
|
|
105
122
|
auth_mode: authMode,
|
|
106
123
|
...headers ? { headers } : {},
|
|
107
124
|
...options.displayName ? { display_name: options.displayName } : {}
|
|
108
125
|
});
|
|
109
126
|
const connection = response.connection;
|
|
127
|
+
const overrides = response.overrides ?? [];
|
|
128
|
+
const overrideLines = overrides.length ? [overrideNotice(connection.slug, overrides)] : [];
|
|
110
129
|
if (response.authorization_url) {
|
|
111
130
|
printAuthorization(
|
|
112
131
|
connection.slug,
|
|
113
132
|
response.authorization_url,
|
|
114
133
|
connection,
|
|
115
|
-
options
|
|
134
|
+
options,
|
|
135
|
+
overrideLines
|
|
116
136
|
);
|
|
117
137
|
return;
|
|
118
138
|
}
|
|
139
|
+
const scopeFlag = scopeFlagFor(connection.scope, overrides.length > 0);
|
|
119
140
|
printCommandEnvelope(
|
|
120
141
|
{
|
|
121
142
|
connection,
|
|
143
|
+
overrides,
|
|
122
144
|
render: {
|
|
123
145
|
sections: [
|
|
124
146
|
{
|
|
125
147
|
title: "mcp connection",
|
|
126
148
|
lines: [
|
|
127
149
|
renderConnection(connection),
|
|
128
|
-
|
|
150
|
+
...overrideLines,
|
|
151
|
+
`Turn tools on: deepline mcp tools ${connection.slug}${scopeFlag}, then deepline mcp enable ${connection.slug} <tool...>${scopeFlag}`
|
|
129
152
|
]
|
|
130
153
|
}
|
|
131
154
|
]
|
|
@@ -134,7 +157,14 @@ async function handleConnect(name, url, forbidden, options) {
|
|
|
134
157
|
{ json: options.json }
|
|
135
158
|
);
|
|
136
159
|
}
|
|
137
|
-
function
|
|
160
|
+
function overrideNotice(slug, overrides) {
|
|
161
|
+
const names = overrides.map((scope) => `the ${SCOPE_LABELS[scope]} one`);
|
|
162
|
+
return `Note: mcp.${slug}.* now reaches this connection for you, overriding ${names.join(" and ")}.`;
|
|
163
|
+
}
|
|
164
|
+
function scopeFlagFor(scope, collides) {
|
|
165
|
+
return collides ? ` --scope ${scope}` : "";
|
|
166
|
+
}
|
|
167
|
+
function printAuthorization(slug, authorizationUrl, connection, options, notes = []) {
|
|
138
168
|
const opened = options.open !== false && !options.json ? openInBrowser(authorizationUrl) === "opened" : false;
|
|
139
169
|
printCommandEnvelope(
|
|
140
170
|
{
|
|
@@ -147,6 +177,7 @@ function printAuthorization(slug, authorizationUrl, connection, options) {
|
|
|
147
177
|
title: "mcp authorization",
|
|
148
178
|
lines: [
|
|
149
179
|
...connection ? [renderConnection(connection)] : [],
|
|
180
|
+
...notes,
|
|
150
181
|
opened ? "Opened your browser to authorize. If it did not open, visit:" : "Open this URL to authorize (it expires in 10 minutes):",
|
|
151
182
|
authorizationUrl,
|
|
152
183
|
`After approving, run: deepline mcp list (then deepline mcp tools ${slug})`
|
|
@@ -161,7 +192,7 @@ function printAuthorization(slug, authorizationUrl, connection, options) {
|
|
|
161
192
|
async function handleReauth(slug, options) {
|
|
162
193
|
const { http } = getAuthedHttpClient();
|
|
163
194
|
const { authorization_url } = await http.post(
|
|
164
|
-
|
|
195
|
+
base(slug, options, "/oauth"),
|
|
165
196
|
{}
|
|
166
197
|
);
|
|
167
198
|
printAuthorization(slug, authorization_url, void 0, options);
|
|
@@ -216,8 +247,10 @@ async function handleTools(slug, options) {
|
|
|
216
247
|
const query = new URLSearchParams();
|
|
217
248
|
if (options.cursor) query.set("cursor", options.cursor);
|
|
218
249
|
if (options.limit) query.set("limit", options.limit);
|
|
250
|
+
const scope = parseScope(options.scope);
|
|
251
|
+
if (scope) query.set("scope", scope);
|
|
219
252
|
const suffix = query.size > 0 ? `?${query.toString()}` : "";
|
|
220
|
-
const page = await http.get(
|
|
253
|
+
const page = await http.get(`/api/v2/mcp-connections/${encodeURIComponent(slug)}/tools${suffix}`);
|
|
221
254
|
printCommandEnvelope(
|
|
222
255
|
{
|
|
223
256
|
connection: page.connection,
|
|
@@ -244,7 +277,7 @@ async function handleSetEnabled(slug, tools, enabled, options) {
|
|
|
244
277
|
if (tools.length === 0) throw new Error("Name at least one tool.");
|
|
245
278
|
const { http } = getAuthedHttpClient();
|
|
246
279
|
const result = await http.patch(
|
|
247
|
-
|
|
280
|
+
base(slug, options, "/tools"),
|
|
248
281
|
{
|
|
249
282
|
tools,
|
|
250
283
|
enabled
|
|
@@ -268,7 +301,7 @@ async function handleSetEnabled(slug, tools, enabled, options) {
|
|
|
268
301
|
}
|
|
269
302
|
async function handleRefresh(slug, options) {
|
|
270
303
|
const { http } = getAuthedHttpClient();
|
|
271
|
-
const result = await http.post(
|
|
304
|
+
const result = await http.post(base(slug, options, "/refresh"), {});
|
|
272
305
|
printCommandEnvelope(
|
|
273
306
|
{
|
|
274
307
|
...result,
|
|
@@ -301,7 +334,7 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
301
334
|
}
|
|
302
335
|
const { http } = getAuthedHttpClient();
|
|
303
336
|
const { connection } = await http.put(
|
|
304
|
-
|
|
337
|
+
base(slug, options, "/headers"),
|
|
305
338
|
{ headers }
|
|
306
339
|
);
|
|
307
340
|
printCommandEnvelope(
|
|
@@ -318,12 +351,16 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
318
351
|
}
|
|
319
352
|
async function handleRemove(slug, options) {
|
|
320
353
|
const { http } = getAuthedHttpClient();
|
|
321
|
-
await http.delete(
|
|
354
|
+
const result = await http.delete(
|
|
355
|
+
base(slug, options)
|
|
356
|
+
);
|
|
357
|
+
const removed = result?.scope ? `Removed the ${SCOPE_LABELS[result.scope]} connection ${slug}.` : `Removed ${slug}.`;
|
|
322
358
|
printCommandEnvelope(
|
|
323
359
|
{
|
|
324
360
|
deleted: slug,
|
|
361
|
+
...result?.scope ? { scope: result.scope } : {},
|
|
325
362
|
render: {
|
|
326
|
-
sections: [{ title: "mcp connection", lines: [
|
|
363
|
+
sections: [{ title: "mcp connection", lines: [removed] }]
|
|
327
364
|
}
|
|
328
365
|
},
|
|
329
366
|
{ json: options.json }
|
|
@@ -332,7 +369,7 @@ async function handleRemove(slug, options) {
|
|
|
332
369
|
var MCP_CONNECTIONS_FEATURE = "mcp-connections";
|
|
333
370
|
function registerMcpCommands(program) {
|
|
334
371
|
const mcp = program.command("mcp", { hidden: !cliFeatureEnabled(MCP_CONNECTIONS_FEATURE) }).description(
|
|
335
|
-
"Connect your workspace
|
|
372
|
+
"Connect remote MCP servers for yourself, your workspace or your org, and call their tools."
|
|
336
373
|
).addHelpText(
|
|
337
374
|
"after",
|
|
338
375
|
`
|
|
@@ -344,11 +381,21 @@ Notes:
|
|
|
344
381
|
--auth oauth prints an authorization URL (and opens it); the connection is
|
|
345
382
|
active once you approve. If its tokens stop working, run deepline mcp reauth.
|
|
346
383
|
|
|
384
|
+
Scopes:
|
|
385
|
+
--scope user (the default for connect) is only you, in every workspace of
|
|
386
|
+
the org. --scope workspace is everyone in the current workspace, --scope org
|
|
387
|
+
everyone in the org; only org owners and admins can change those. When
|
|
388
|
+
several connections share a name, mcp.<name>.* reaches the closest: yours,
|
|
389
|
+
then the workspace's, then the org's. Plays reach only workspace and org
|
|
390
|
+
connections, never yours. Pass --scope to another command to act on one a
|
|
391
|
+
closer connection overrides.
|
|
392
|
+
|
|
347
393
|
Examples:
|
|
348
394
|
deepline mcp servers
|
|
349
395
|
deepline mcp connect deepwiki https://mcp.deepwiki.com/mcp
|
|
350
396
|
deepline mcp connect vendor https://mcp.example.com/mcp --header-env Authorization=VENDOR_AUTH
|
|
351
397
|
deepline mcp connect linear https://mcp.linear.app/mcp --auth oauth
|
|
398
|
+
deepline mcp connect linear https://mcp.linear.app/mcp --auth oauth --scope workspace
|
|
352
399
|
deepline mcp reauth linear
|
|
353
400
|
printf '{"X-Api-Key":"..."}' | deepline mcp connect vendor https://mcp.example.com/mcp --headers-stdin
|
|
354
401
|
deepline mcp list
|
|
@@ -367,29 +414,49 @@ Examples:
|
|
|
367
414
|
"Send a header whose value comes from an environment variable (repeatable)",
|
|
368
415
|
collect
|
|
369
416
|
).option("--headers-stdin", "Read headers as a JSON object from piped stdin").option("--display-name <name>", "Display name for a new server").option(
|
|
417
|
+
"--scope <scope>",
|
|
418
|
+
"user (only you, default), workspace, or org (owners and admins)"
|
|
419
|
+
).option(
|
|
370
420
|
"--no-open",
|
|
371
421
|
"With --auth oauth, print the authorization URL without opening a browser"
|
|
372
422
|
).option("--json", "Emit JSON output").action(
|
|
373
423
|
async (name, url, forbidden, options) => handleConnect(name, url, forbidden ?? [], options)
|
|
374
424
|
);
|
|
375
|
-
mcp.command("list").description(
|
|
376
|
-
|
|
425
|
+
mcp.command("list").description(
|
|
426
|
+
"List the MCP connections you can use: yours, the workspace's and the org's."
|
|
427
|
+
).option("--json", "Emit JSON output").action(async (options) => handleList(options));
|
|
428
|
+
mcp.command("tools").description("List a connection's tools and whether each is on.").argument("<name>", "Connection name").option("--cursor <cursor>", "Continue from a previous page").option("--limit <n>", "Tools per page (1-200, default 100)").option(
|
|
429
|
+
"--scope <scope>",
|
|
430
|
+
"user, workspace, or org: which of same-named connections"
|
|
431
|
+
).option("--json", "Emit JSON output").action(
|
|
377
432
|
async (name, options) => handleTools(name, options)
|
|
378
433
|
);
|
|
379
|
-
mcp.command("enable").description("Turn tools on, approving their current version.").argument("<name>", "Connection name").argument("<tools...>", "Tool names").option(
|
|
434
|
+
mcp.command("enable").description("Turn tools on, approving their current version.").argument("<name>", "Connection name").argument("<tools...>", "Tool names").option(
|
|
435
|
+
"--scope <scope>",
|
|
436
|
+
"user, workspace, or org: which of same-named connections"
|
|
437
|
+
).option("--json", "Emit JSON output").action(
|
|
380
438
|
async (name, tools, options) => handleSetEnabled(name, tools, true, options)
|
|
381
439
|
);
|
|
382
|
-
mcp.command("disable").description("Turn tools off.").argument("<name>", "Connection name").argument("<tools...>", "Tool names").option(
|
|
440
|
+
mcp.command("disable").description("Turn tools off.").argument("<name>", "Connection name").argument("<tools...>", "Tool names").option(
|
|
441
|
+
"--scope <scope>",
|
|
442
|
+
"user, workspace, or org: which of same-named connections"
|
|
443
|
+
).option("--json", "Emit JSON output").action(
|
|
383
444
|
async (name, tools, options) => handleSetEnabled(name, tools, false, options)
|
|
384
445
|
);
|
|
385
|
-
mcp.command("refresh").description("Re-list the server's tools now.").argument("<name>", "Connection name").option(
|
|
446
|
+
mcp.command("refresh").description("Re-list the server's tools now.").argument("<name>", "Connection name").option(
|
|
447
|
+
"--scope <scope>",
|
|
448
|
+
"user, workspace, or org: which of same-named connections"
|
|
449
|
+
).option("--json", "Emit JSON output").action(
|
|
386
450
|
async (name, options) => handleRefresh(name, options)
|
|
387
451
|
);
|
|
388
452
|
mcp.command("set-headers").description("Replace a header-auth connection's headers and verify it.").argument("<name>", "Connection name").argument("[forbidden...]", "Do not pass header values here").option(
|
|
389
453
|
"--header-env <Name=ENV_VAR>",
|
|
390
454
|
"Send a header whose value comes from an environment variable (repeatable)",
|
|
391
455
|
collect
|
|
392
|
-
).option("--headers-stdin", "Read headers as a JSON object from piped stdin").option(
|
|
456
|
+
).option("--headers-stdin", "Read headers as a JSON object from piped stdin").option(
|
|
457
|
+
"--scope <scope>",
|
|
458
|
+
"user, workspace, or org: which of same-named connections"
|
|
459
|
+
).option("--json", "Emit JSON output").action(
|
|
393
460
|
async (name, forbidden, options) => handleSetHeaders(name, forbidden ?? [], options)
|
|
394
461
|
);
|
|
395
462
|
mcp.command("reauth").description(
|
|
@@ -397,10 +464,16 @@ Examples:
|
|
|
397
464
|
).argument("<name>", "Connection name").option(
|
|
398
465
|
"--no-open",
|
|
399
466
|
"Print the authorization URL without opening a browser"
|
|
467
|
+
).option(
|
|
468
|
+
"--scope <scope>",
|
|
469
|
+
"user, workspace, or org: which of same-named connections"
|
|
400
470
|
).option("--json", "Emit JSON output").action(
|
|
401
471
|
async (name, options) => handleReauth(name, options)
|
|
402
472
|
);
|
|
403
|
-
mcp.command("remove").description("Delete a connection and its stored credentials.").argument("<name>", "Connection name").option(
|
|
473
|
+
mcp.command("remove").description("Delete a connection and its stored credentials.").argument("<name>", "Connection name").option(
|
|
474
|
+
"--scope <scope>",
|
|
475
|
+
"user, workspace, or org: which of same-named connections"
|
|
476
|
+
).option("--json", "Emit JSON output").action(
|
|
404
477
|
async (name, options) => handleRemove(name, options)
|
|
405
478
|
);
|
|
406
479
|
}
|