deepline 0.3.552 → 0.3.554
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 +107 -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 +118 -8
- 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 +8 -1
- 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 +9 -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-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/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 +168 -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 +444 -39
- 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-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 +72 -0
- 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 +254 -44
- 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 +259 -52
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +30 -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-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/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-KVSBJZOX.mjs → auth-HJUNW7T2.mjs} +8 -7
- package/dist/cli/auth-SP6SKZJZ.js +44 -0
- package/dist/cli/{billing-FQREA7UA.js → billing-4TSA5HEC.js} +297 -161
- package/dist/cli/{billing-54RHFEBI.mjs → billing-SJYRJAQ2.mjs} +197 -61
- package/dist/cli/{chunk-4MK42735.js → chunk-2HMN5H54.js} +215 -130
- package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
- package/dist/cli/{chunk-EOPEYCY7.mjs → chunk-2ORPFQUA.mjs} +18 -18
- package/dist/cli/{chunk-RQZQVFCJ.js → chunk-2OVHNHCF.js} +2 -2
- package/dist/cli/{chunk-QX7LFGJR.mjs → chunk-33WRQSQ2.mjs} +1874 -91
- package/dist/cli/{chunk-UPMRIVZB.js → chunk-3IKGZ4CG.js} +74 -13
- package/dist/cli/{chunk-EUPVF4SU.mjs → chunk-3Z4VFCXO.mjs} +8 -8
- package/dist/cli/{chunk-GKYAYLRI.js → chunk-4DOFGIEJ.js} +27 -31
- package/dist/cli/{chunk-4TALT2M3.mjs → chunk-52Q5KETX.mjs} +69 -3
- package/dist/cli/{chunk-RBEUVDZF.js → chunk-5CYZHOKI.js} +249 -107
- package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
- package/dist/cli/{chunk-IYSTRCLX.mjs → chunk-62AUAWQV.mjs} +4 -4
- package/dist/cli/{chunk-ZIAXDBXX.mjs → chunk-62HWJXST.mjs} +17 -21
- package/dist/cli/{chunk-QY3ZNU6Z.mjs → chunk-6EXOAT6T.mjs} +2 -2
- package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
- package/dist/cli/{chunk-ADRC5I3R.js → chunk-7OWI736E.js} +30 -30
- package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
- package/dist/cli/{chunk-PTVD2GVQ.mjs → chunk-B6HO2XWH.mjs} +13 -13
- package/dist/cli/{chunk-YJHE3O5M.mjs → chunk-BOZAP2EM.mjs} +141 -56
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
- package/dist/cli/{chunk-WE5HES3H.mjs → chunk-D6Z6POKE.mjs} +151 -43
- package/dist/cli/{chunk-AZQ264ID.mjs → chunk-DSKSFFK2.mjs} +1 -1
- package/dist/cli/{chunk-SHLFOPD6.js → chunk-DUBXUAAO.js} +5 -5
- package/dist/cli/{chunk-V436Z54K.js → chunk-E2G2DNAB.js} +3 -1
- package/dist/cli/{chunk-HO3XK3R7.js → chunk-E74KGKFZ.js} +8 -8
- package/dist/cli/{chunk-77AAAGVB.js → chunk-ECHKAC7M.js} +2 -2
- package/dist/cli/{chunk-KWSH5T7K.js → chunk-EN5NHCCQ.js} +21 -21
- package/dist/cli/{chunk-6RZOWL2V.mjs → chunk-F7CMRKSK.mjs} +1 -1
- package/dist/cli/{chunk-JWUAX6OP.js → chunk-FBAFX43W.js} +11 -11
- package/dist/cli/{chunk-AQWQ2BFX.mjs → chunk-FXQ3JKE3.mjs} +1 -1
- package/dist/cli/{chunk-QPKH23EC.mjs → chunk-GA2M3G3Y.mjs} +5 -5
- package/dist/cli/{chunk-G4O75EXF.js → chunk-GHT2NDL7.js} +18 -18
- package/dist/cli/{chunk-MF2GHZDO.js → chunk-GRZENGNE.js} +2 -2
- package/dist/cli/{chunk-4UUR4TCH.js → chunk-IVZKMJUK.js} +1875 -92
- package/dist/cli/{chunk-FTJLJCE5.mjs → chunk-KVBQY4ST.mjs} +3 -3
- package/dist/cli/{chunk-S5S355UY.mjs → chunk-KZHBDMGF.mjs} +12 -12
- package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
- package/dist/cli/{chunk-6ZORHRKB.mjs → chunk-LRZGS6RZ.mjs} +2 -0
- package/dist/cli/{chunk-2WFPHBR4.js → chunk-LY5MMXFF.js} +47 -29
- package/dist/cli/{chunk-BAIST2BR.js → chunk-M7STM3MZ.js} +36 -36
- package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
- package/dist/cli/{chunk-45PVGZST.js → chunk-OPTV7D2V.js} +508 -361
- package/dist/cli/{chunk-PFO3ISXA.js → chunk-OVEYWO4H.js} +174 -129
- package/dist/cli/{chunk-BGBJV26E.mjs → chunk-PC2FTUCP.mjs} +4 -4
- package/dist/cli/{chunk-WLN3SUIA.js → chunk-PQQMPUCZ.js} +3 -3
- package/dist/cli/{chunk-HYC4MKGK.mjs → chunk-Q7ACILL2.mjs} +5 -5
- package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
- package/dist/cli/{chunk-57VZVF5D.mjs → chunk-RBBTCYQB.mjs} +3 -3
- package/dist/cli/{chunk-F2LH7TGF.js → chunk-RTHMGSZX.js} +21 -21
- package/dist/cli/{chunk-YLTMXJFC.mjs → chunk-S6W6SJ6E.mjs} +158 -16
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-TGUQET3O.mjs} +67 -6
- package/dist/cli/{chunk-IHRKLXZN.js → chunk-TJ6HLN56.js} +5 -5
- package/dist/cli/{chunk-3FD5EQ62.js → chunk-TOO3YM5N.js} +6 -7
- package/dist/cli/{chunk-QILKGXYF.mjs → chunk-UBBYHB2B.mjs} +2 -2
- package/dist/cli/{chunk-6PRW5UBA.mjs → chunk-UC4BDZKI.mjs} +299 -69
- package/dist/cli/{chunk-634ZDA3F.js → chunk-UNNOZKRT.js} +1 -1
- package/dist/cli/{chunk-IDVVIXPJ.js → chunk-UOT7HPBH.js} +41 -41
- package/dist/cli/{chunk-6YCA5NKJ.js → chunk-UYCZFQYQ.js} +12 -12
- package/dist/cli/{chunk-7IKQKKNX.js → chunk-VIUUTEHY.js} +90 -24
- package/dist/cli/{chunk-Z5TSLLOW.mjs → chunk-VLO5NFH2.mjs} +63 -18
- package/dist/cli/{chunk-U7QRMBIY.mjs → chunk-VQ75KX7G.mjs} +5 -5
- package/dist/cli/{chunk-4NQF6KJ3.js → chunk-VV4XGZ24.js} +13 -13
- package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
- package/dist/cli/{chunk-S46HWQKO.js → chunk-W6CZDTIR.js} +69 -69
- package/dist/cli/{chunk-XVB7V4N7.js → chunk-WL7P32PI.js} +161 -53
- package/dist/cli/{chunk-DJ2JDK4O.mjs → chunk-XD3MFTHA.mjs} +1 -1
- package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-XFZX6FNM.mjs} +40 -22
- package/dist/cli/{chunk-AWJPDPMA.mjs → chunk-XU6QNM4D.mjs} +1 -1
- package/dist/cli/{chunk-QAORXEY3.mjs → chunk-YCOGPOUX.mjs} +6 -7
- package/dist/cli/{chunk-VQALXEXO.js → chunk-YQKCH4R7.js} +348 -118
- package/dist/cli/{chunk-6O5HOODW.mjs → chunk-YY55NYAH.mjs} +207 -60
- package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-Q4KPAUJX.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +9 -8
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
- package/dist/cli/{csv-F5VAGX4K.js → csv-4ZQ2RATI.js} +16 -15
- package/dist/cli/{csv-2PTVDNO6.mjs → csv-Y3BFPEM6.mjs} +7 -6
- package/dist/cli/{db-IEDXAUF7.mjs → db-3JYY4JNN.mjs} +17 -17
- package/dist/cli/{db-Z3OIUFMM.js → db-VEIFS4M7.js} +45 -45
- package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
- package/dist/cli/describe-FG625QPF.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 +7 -7
- package/dist/cli/describe-core.mjs +6 -6
- package/dist/cli/{executions-H6H5655J.js → executions-HPZXOOVX.js} +12 -12
- package/dist/cli/{executions-R3LP74QN.mjs → executions-PCXZKEHM.mjs} +10 -10
- package/dist/cli/{feedback-WL3MRVT5.mjs → feedback-Y6VKZNY6.mjs} +9 -8
- package/dist/cli/{feedback-VFOUR66B.js → feedback-ZKFHFVL6.js} +17 -16
- package/dist/cli/git-RUBMALLH.js +26 -0
- package/dist/cli/{git-YX2J4GCI.mjs → git-UMPR2QYC.mjs} +8 -7
- package/dist/cli/index.js +170 -158
- package/dist/cli/index.mjs +60 -48
- package/dist/cli/{integrations-E2JZYKHS.js → integrations-3GQCTRTF.js} +23 -27
- package/dist/cli/{integrations-5ZK5KLVP.mjs → integrations-V3TM6XAB.mjs} +15 -19
- package/dist/cli/{legacy-noops-SMN3GSXY.mjs → legacy-noops-JZBUD7ZE.mjs} +9 -8
- package/dist/cli/{legacy-noops-3VW4IJTH.js → legacy-noops-VYCO7NGW.js} +12 -11
- package/dist/cli/{mcp-UQV2K4EW.js → mcp-4OIWTCE6.js} +121 -48
- package/dist/cli/{mcp-V6MGCYAG.mjs → mcp-PH4KZ76P.mjs} +100 -27
- package/dist/cli/{monitors-R3BBDCRC.js → monitors-E2A6VPBY.js} +221 -186
- package/dist/cli/{monitors-GGKS5W6M.mjs → monitors-SSMGIDGX.mjs} +58 -23
- package/dist/cli/org-SFDKSK5D.mjs +2289 -0
- package/dist/cli/org-WUDZGWBT.js +2289 -0
- package/dist/cli/outcomes-QT7LQBPK.mjs +2865 -0
- package/dist/cli/outcomes-Y7SZTLSL.js +2865 -0
- package/dist/cli/{play-MDWPR4XG.mjs → play-EK7KSFPL.mjs} +376 -106
- package/dist/cli/{play-2MVO27VO.js → play-GDNHCRRR.js} +1150 -880
- package/dist/cli/{providers-AKDYFZJZ.mjs → providers-FVZLRXAU.mjs} +10 -10
- package/dist/cli/{providers-2AACRUZH.js → providers-ZKOSECLV.js} +13 -13
- package/dist/cli/{quickstart-H6IV3PV3.js → quickstart-KSDKIXYD.js} +9 -8
- package/dist/cli/{quickstart-QDGRJFZY.mjs → quickstart-UJZ6PIQV.mjs} +7 -6
- package/dist/cli/{run-RTSQNGRD.mjs → run-E7MZ7P35.mjs} +35 -33
- package/dist/cli/{run-2634REDK.js → run-PD2BBG6S.js} +55 -53
- 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-TKSPTPHA.js +32 -0
- package/dist/cli/{search-6AOJ4XPP.mjs → search-VTFUFTOY.mjs} +11 -11
- package/dist/cli/{search-output-S5ODBL5E.js → search-output-G2AGDCOY.js} +13 -12
- package/dist/cli/{search-output-6ADMTOU5.mjs → search-output-PFVXQCWA.mjs} +10 -9
- package/dist/cli/{secrets-TFIFBFB3.mjs → secrets-7CIMEMX7.mjs} +11 -11
- package/dist/cli/{secrets-LHCIIHMT.js → secrets-BCOQ4U7U.js} +20 -20
- package/dist/cli/sessions-4CO556VD.js +23 -0
- package/dist/cli/{sessions-WHBVUHVW.mjs → sessions-IUCQZEF7.mjs} +9 -8
- package/dist/cli/{settings-EBONWL5C.mjs → settings-KZN62UQK.mjs} +16 -16
- package/dist/cli/{settings-CP4FVK2W.js → settings-REL4736M.js} +89 -89
- package/dist/cli/{setup-I5AZE3IU.mjs → setup-2P7OG3OU.mjs} +22 -24
- package/dist/cli/{setup-LFGHTNLQ.js → setup-2XIVBBCS.js} +62 -64
- package/dist/cli/skills-JYT5DEY6.js +37 -0
- package/dist/cli/{skills-W76AO5XE.mjs → skills-VIGNDJKI.mjs} +10 -9
- package/dist/cli/tools-NTVUQ2TG.js +57 -0
- package/dist/cli/{tools-7IJHGF6W.mjs → tools-W3QT5EJY.mjs} +24 -24
- package/dist/cli/{update-GFOPZTHY.mjs → update-GZVBVMY3.mjs} +14 -11
- package/dist/cli/update-TWJZPUZM.js +37 -0
- package/dist/cli/{views-D4NX4SBG.mjs → views-BOGEH424.mjs} +47 -49
- package/dist/cli/{views-BPL2TQJ4.js → views-TOLJNLSV.js} +62 -64
- package/dist/cli/{workflow-ZYNAUCKC.js → workflow-ENWFRK5M.js} +23 -23
- package/dist/cli/{workflow-YXP42FUI.mjs → workflow-VDG2FDQV.mjs} +13 -13
- package/dist/{client-CyXGrO4D.d.mts → client-B8f7RNF8.d.mts} +1 -1
- package/dist/{client-Bf3IpUKN.d.ts → client-C5TgXmJQ.d.ts} +1 -1
- package/dist/{client-core-BxsLnXlm.d.mts → client-core-SLLGBTht.d.mts} +268 -23
- package/dist/{client-core-BWd0lX0Z.d.ts → client-core-p0sOxnkl.d.ts} +268 -23
- package/dist/{compiler-manifest-BqwVrOri.d.ts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
- package/dist/{compiler-manifest-BqwVrOri.d.mts → 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 +163 -144
- 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-MMNVWATX.js +0 -43
- package/dist/cli/chunk-AID3OYVJ.js +0 -8
- package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
- package/dist/cli/concurrent-runs-help-FQAIHKKC.js +0 -21
- package/dist/cli/describe-QDANCTS3.mjs +0 -50
- package/dist/cli/describe-VUTT5ZKU.js +0 -50
- package/dist/cli/git-ETB3GH3K.js +0 -25
- package/dist/cli/org-GRYVMNSW.js +0 -1282
- package/dist/cli/org-Z37NGJV4.mjs +0 -1282
- package/dist/cli/run-identity-G257GQED.js +0 -25
- package/dist/cli/search-VTW2YNBS.js +0 -32
- package/dist/cli/sessions-CJ4FJ2WB.js +0 -22
- package/dist/cli/skills-R7EBXREW.js +0 -36
- package/dist/cli/tools-V7U2BDXM.js +0 -57
- package/dist/cli/update-4COPZETK.js +0 -34
|
@@ -1,28 +1,43 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
8
|
+
var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
|
|
9
|
+
require('./chunk-5CYZHOKI.js');
|
|
10
|
+
require('./chunk-6VLFQZK6.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-LFQJW4S2.js');
|
|
13
|
+
require('./chunk-CFJFUVX2.js');
|
|
14
|
+
require('./chunk-UNNOZKRT.js');
|
|
14
15
|
require('./chunk-OG64RBAC.js');
|
|
15
16
|
require('./chunk-COGTRVWW.js');
|
|
16
17
|
|
|
17
18
|
// src/cli/commands/mcp.ts
|
|
18
19
|
var _process = require('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 = _nullishCoalesce(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} ${_nullishCoalesce(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
|
}
|
|
101
|
-
const
|
|
116
|
+
const scope = _nullishCoalesce(parseScope(options.scope), () => ( "user"));
|
|
117
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
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 = _nullishCoalesce(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
|
}
|
|
119
|
-
|
|
139
|
+
const scopeFlag = scopeFlagFor(connection.scope, overrides.length > 0);
|
|
140
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
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,9 +157,16 @@ async function handleConnect(name, url, forbidden, options) {
|
|
|
134
157
|
{ json: options.json }
|
|
135
158
|
);
|
|
136
159
|
}
|
|
137
|
-
function
|
|
138
|
-
const
|
|
139
|
-
|
|
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 = []) {
|
|
168
|
+
const opened = options.open !== false && !options.json ? _chunkYQKCH4R7js.openInBrowser.call(void 0, authorizationUrl) === "opened" : false;
|
|
169
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
140
170
|
{
|
|
141
171
|
...connection ? { connection } : {},
|
|
142
172
|
authorization_url: authorizationUrl,
|
|
@@ -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})`
|
|
@@ -159,19 +190,19 @@ function printAuthorization(slug, authorizationUrl, connection, options) {
|
|
|
159
190
|
);
|
|
160
191
|
}
|
|
161
192
|
async function handleReauth(slug, options) {
|
|
162
|
-
const { http } =
|
|
193
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
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);
|
|
168
199
|
}
|
|
169
200
|
async function handleList(options) {
|
|
170
|
-
const { http } =
|
|
201
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
171
202
|
const { connections } = await http.get(
|
|
172
203
|
"/api/v2/mcp-connections"
|
|
173
204
|
);
|
|
174
|
-
|
|
205
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
175
206
|
{
|
|
176
207
|
connections,
|
|
177
208
|
count: connections.length,
|
|
@@ -190,11 +221,11 @@ async function handleList(options) {
|
|
|
190
221
|
);
|
|
191
222
|
}
|
|
192
223
|
async function handleServers(options) {
|
|
193
|
-
const { http } =
|
|
224
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
194
225
|
const { servers } = await http.get(
|
|
195
226
|
"/api/v2/mcp-connections/servers"
|
|
196
227
|
);
|
|
197
|
-
|
|
228
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
198
229
|
{
|
|
199
230
|
servers,
|
|
200
231
|
render: {
|
|
@@ -212,13 +243,15 @@ async function handleServers(options) {
|
|
|
212
243
|
);
|
|
213
244
|
}
|
|
214
245
|
async function handleTools(slug, options) {
|
|
215
|
-
const { http } =
|
|
246
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
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(
|
|
221
|
-
|
|
253
|
+
const page = await http.get(`/api/v2/mcp-connections/${encodeURIComponent(slug)}/tools${suffix}`);
|
|
254
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
222
255
|
{
|
|
223
256
|
connection: page.connection,
|
|
224
257
|
tools: page.tools,
|
|
@@ -242,15 +275,15 @@ async function handleTools(slug, options) {
|
|
|
242
275
|
}
|
|
243
276
|
async function handleSetEnabled(slug, tools, enabled, options) {
|
|
244
277
|
if (tools.length === 0) throw new Error("Name at least one tool.");
|
|
245
|
-
const { http } =
|
|
278
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
246
279
|
const result = await http.patch(
|
|
247
|
-
|
|
280
|
+
base(slug, options, "/tools"),
|
|
248
281
|
{
|
|
249
282
|
tools,
|
|
250
283
|
enabled
|
|
251
284
|
}
|
|
252
285
|
);
|
|
253
|
-
|
|
286
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
254
287
|
{
|
|
255
288
|
updated: result.updated,
|
|
256
289
|
enabled,
|
|
@@ -267,9 +300,9 @@ async function handleSetEnabled(slug, tools, enabled, options) {
|
|
|
267
300
|
);
|
|
268
301
|
}
|
|
269
302
|
async function handleRefresh(slug, options) {
|
|
270
|
-
const { http } =
|
|
271
|
-
const result = await http.post(
|
|
272
|
-
|
|
303
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
304
|
+
const result = await http.post(base(slug, options, "/refresh"), {});
|
|
305
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
273
306
|
{
|
|
274
307
|
...result,
|
|
275
308
|
render: {
|
|
@@ -299,12 +332,12 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
299
332
|
"Pass headers with --header-env Name=ENV_VAR or --headers-stdin."
|
|
300
333
|
);
|
|
301
334
|
}
|
|
302
|
-
const { http } =
|
|
335
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
303
336
|
const { connection } = await http.put(
|
|
304
|
-
|
|
337
|
+
base(slug, options, "/headers"),
|
|
305
338
|
{ headers }
|
|
306
339
|
);
|
|
307
|
-
|
|
340
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
308
341
|
{
|
|
309
342
|
connection,
|
|
310
343
|
render: {
|
|
@@ -317,13 +350,17 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
317
350
|
);
|
|
318
351
|
}
|
|
319
352
|
async function handleRemove(slug, options) {
|
|
320
|
-
const { http } =
|
|
321
|
-
await http.delete(
|
|
322
|
-
|
|
353
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
354
|
+
const result = await http.delete(
|
|
355
|
+
base(slug, options)
|
|
356
|
+
);
|
|
357
|
+
const removed = _optionalChain([result, 'optionalAccess', _ => _.scope]) ? `Removed the ${SCOPE_LABELS[result.scope]} connection ${slug}.` : `Removed ${slug}.`;
|
|
358
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
323
359
|
{
|
|
324
360
|
deleted: slug,
|
|
361
|
+
..._optionalChain([result, 'optionalAccess', _2 => _2.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 }
|
|
@@ -331,8 +368,8 @@ async function handleRemove(slug, options) {
|
|
|
331
368
|
}
|
|
332
369
|
var MCP_CONNECTIONS_FEATURE = "mcp-connections";
|
|
333
370
|
function registerMcpCommands(program) {
|
|
334
|
-
const mcp = program.command("mcp", { hidden: !
|
|
335
|
-
"Connect your workspace
|
|
371
|
+
const mcp = program.command("mcp", { hidden: !_chunkVIUUTEHYjs.cliFeatureEnabled.call(void 0, MCP_CONNECTIONS_FEATURE) }).description(
|
|
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, _nullishCoalesce(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, _nullishCoalesce(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
|
}
|