deepline 0.3.542 → 0.3.544
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 +112 -2
- package/dist/bundling-sources/sdk/src/index.ts +7 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +198 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +3 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +35 -11
- package/dist/bundling-sources/sdk/src/types.ts +10 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +132 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +3 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +108 -1
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -1
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +5 -5
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +34 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +11 -5
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +9 -7
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +235 -12
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +39 -30
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/event-wait-tools.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +10 -4
- package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +209 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +24 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +37 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +43 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +23 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +320 -836
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/vercel-sandbox.ts +1061 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +862 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +45 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +11 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-contract.ts +20 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +71 -34
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-provider-profile.ts +286 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +12 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +49 -55
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +127 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +214 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/managed-sandbox-resource-sql.ts +118 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +229 -144
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +11 -13
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +42 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/vercel-sandbox-runtime-config.ts +217 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +23 -0
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/script-entry.ts +76 -6
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +1 -0
- package/dist/bundling-sources/shared_libs/security/credential-revision.ts +50 -0
- package/dist/bundling-sources/shared_libs/security/internal-actor.ts +2 -1
- package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +37 -0
- package/dist/cli/auth-ENBXAKQS.js +43 -0
- package/dist/cli/{auth-IGBGOB4E.mjs → auth-IMWJAHPU.mjs} +5 -5
- package/dist/cli/{billing-IB2TWE74.js → billing-Y55PR2PV.js} +101 -101
- package/dist/cli/{billing-N37W2I62.mjs → billing-YQMW3QJI.mjs} +12 -12
- package/dist/cli/chunk-22OBDYHP.js +455 -0
- package/dist/cli/{chunk-GBAT5NMI.mjs → chunk-2HSZCQMT.mjs} +48 -6
- package/dist/cli/{chunk-VLEVVDWG.js → chunk-2JHYYB3F.js} +3 -3
- package/dist/cli/{chunk-D44DP4KJ.js → chunk-3I26HMJ7.js} +37 -17
- package/dist/cli/{chunk-B5NP3SHX.mjs → chunk-3JDA23NN.mjs} +2 -2
- package/dist/cli/{chunk-QXNOSCYL.js → chunk-3KGMM4KS.js} +1 -1
- package/dist/cli/{chunk-6WQDHEVF.mjs → chunk-456RRXAP.mjs} +5 -5
- package/dist/cli/{chunk-V4EYJKGJ.js → chunk-4JQEAYN3.js} +156 -17
- package/dist/cli/{chunk-FGGPCAGC.js → chunk-4PKHFW56.js} +18 -18
- package/dist/cli/{chunk-QONO7FRF.mjs → chunk-57G4NYOL.mjs} +1 -1
- package/dist/cli/{chunk-46V7QSJE.mjs → chunk-5PR4VLLL.mjs} +3 -3
- package/dist/cli/{chunk-OLH2PHMC.mjs → chunk-6P7TGCHQ.mjs} +1 -1
- package/dist/cli/{chunk-AKY7KZRJ.js → chunk-7GNZEOTH.js} +6 -6
- package/dist/cli/{chunk-LFMQVSEI.js → chunk-7HMMTSDA.js} +5 -5
- package/dist/cli/{chunk-ORA5TMML.mjs → chunk-BEQ7RQLT.mjs} +5 -5
- package/dist/cli/{chunk-KQSTV4MW.js → chunk-BLYW6FFB.js} +60 -18
- package/dist/cli/{chunk-GM73TZ2W.js → chunk-C4P2KLWT.js} +41 -41
- package/dist/cli/{chunk-DNGACHFX.js → chunk-COJHT2KF.js} +22 -22
- package/dist/cli/{chunk-6SLEHAXX.js → chunk-DF2X7GJG.js} +5 -5
- package/dist/cli/{chunk-TT4JUUC3.mjs → chunk-DVDWAC2M.mjs} +7 -3
- package/dist/cli/{chunk-5CAVURVS.js → chunk-DYDHLBSK.js} +53 -53
- package/dist/cli/{chunk-UNDLNT3V.js → chunk-ECWOIXAV.js} +1 -1
- package/dist/cli/{chunk-EHLCWGWN.js → chunk-G26VJCNT.js} +4 -4
- package/dist/cli/{chunk-WL2GUGNZ.js → chunk-GQHRGBHV.js} +7 -7
- package/dist/cli/{chunk-DADH3WPE.mjs → chunk-GV45TTI6.mjs} +2 -2
- package/dist/cli/{chunk-OVX3Q5Q3.mjs → chunk-GWNYLIF7.mjs} +1 -1
- package/dist/cli/{chunk-EGOCGWCI.mjs → chunk-H4SAHB3Q.mjs} +3 -3
- package/dist/cli/{chunk-FX4OWXKK.mjs → chunk-HAQRF6DJ.mjs} +2 -2
- package/dist/cli/{chunk-NLZHLEHD.mjs → chunk-HBSWATOU.mjs} +6 -6
- package/dist/cli/{chunk-ACVTMAW4.mjs → chunk-HVJQF5BI.mjs} +2 -2
- package/dist/cli/{chunk-L2VKAASU.mjs → chunk-HXIR3VQL.mjs} +21 -0
- package/dist/cli/{chunk-Z5YRKX7K.mjs → chunk-HXM2JUGD.mjs} +1 -1
- package/dist/cli/{chunk-JPT6VE54.js → chunk-IFIJ4DBJ.js} +2 -2
- package/dist/cli/{chunk-HAITCPCG.js → chunk-JBWOE6AP.js} +16 -16
- package/dist/cli/{chunk-AWLPERL3.js → chunk-JWVG7ZPX.js} +3 -3
- package/dist/cli/{chunk-3XXXMSSP.js → chunk-KE6CSCUF.js} +44 -44
- package/dist/cli/{chunk-2ZGSHVZE.mjs → chunk-LPUBBUKX.mjs} +24 -4
- package/dist/cli/{chunk-PLIKPGOO.mjs → chunk-LQ6RRYXN.mjs} +5 -5
- package/dist/cli/{chunk-FFDZT255.mjs → chunk-LW274RO7.mjs} +1 -1
- package/dist/cli/{chunk-Z2XA6YU4.mjs → chunk-LX35AXTN.mjs} +1 -0
- package/dist/cli/{chunk-FANIRW74.mjs → chunk-NIPLY25A.mjs} +0 -2
- package/dist/cli/{chunk-VHJUH3TB.js → chunk-ON56ISO6.js} +3 -3
- package/dist/cli/{chunk-4I47NCRI.js → chunk-PDJ4UDCO.js} +498 -328
- package/dist/cli/{chunk-SWO5QOXB.mjs → chunk-PFGOCUH3.mjs} +1 -1
- package/dist/cli/{chunk-Q7WDXLYO.js → chunk-PKRW76XG.js} +2 -2
- package/dist/cli/{chunk-YK7NNZD4.mjs → chunk-PMW5YP72.mjs} +37 -190
- package/dist/cli/{chunk-5APOJWJF.mjs → chunk-Q7ZOWNKR.mjs} +183 -13
- package/dist/cli/{chunk-WACIN4PR.mjs → chunk-REEOMNCO.mjs} +3 -3
- package/dist/cli/{chunk-DMXLZ57N.js → chunk-RG34YBDE.js} +2 -2
- package/dist/cli/{chunk-3LEUSRV3.mjs → chunk-RJPDCSTD.mjs} +4 -4
- package/dist/cli/{chunk-IPVRMYWT.js → chunk-RKF263LR.js} +5 -5
- package/dist/cli/{chunk-AUFE624T.js → chunk-RUFR4PUO.js} +10 -10
- package/dist/cli/{chunk-I5EAIFGO.mjs → chunk-SK3HPU2J.mjs} +1 -1
- package/dist/cli/{chunk-ZVNYBQ77.mjs → chunk-SKS53WM6.mjs} +4 -4
- package/dist/cli/{chunk-CQDQNZGH.js → chunk-SL6MYJYM.js} +1 -0
- package/dist/cli/{chunk-E4CABWXL.js → chunk-TI6DTURF.js} +22 -1
- package/dist/cli/{chunk-CFZCRM6R.js → chunk-UHIAQPVA.js} +26 -26
- package/dist/cli/{chunk-D7GWEBMF.js → chunk-UNMNGRPB.js} +7 -7
- package/dist/cli/{chunk-GWHA4DAC.js → chunk-UV4RU2TE.js} +0 -2
- package/dist/cli/{chunk-TTBHOMAA.js → chunk-W7X4KH45.js} +316 -469
- package/dist/cli/chunk-WBSGPLH5.mjs +455 -0
- package/dist/cli/{chunk-SCLP5H4P.mjs → chunk-WUEORIOY.mjs} +1 -1
- package/dist/cli/{chunk-IDDKNMFX.mjs → chunk-Y3T5GWYK.mjs} +153 -14
- package/dist/cli/{chunk-P4MDTBAA.mjs → chunk-YIRVKMON.mjs} +1 -1
- package/dist/cli/{chunk-NDNEARE3.js → chunk-Z44YTSTA.js} +13 -13
- package/dist/cli/{chunk-F6QV42MC.mjs → chunk-Z7SXGOIQ.mjs} +1 -1
- package/dist/cli/{chunk-2VRKBHMD.mjs → chunk-ZHY4T5M6.mjs} +1 -1
- package/dist/cli/{chunk-E7B73LGT.js → chunk-ZY6FL4O4.js} +24 -20
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-DIBGMEIN.mjs → concurrent-runs-help-KBWPKSTP.mjs} +7 -7
- package/dist/cli/concurrent-runs-help-TOMLCMV7.js +21 -0
- package/dist/cli/{csv-CAVA3EMS.mjs → csv-M5EBEMZH.mjs} +4 -4
- package/dist/cli/{csv-XZAM7EYZ.js → csv-XGGDZTQI.js} +13 -13
- package/dist/cli/{db-PPGEOBNG.js → db-CVPR54XK.js} +29 -29
- package/dist/cli/{db-HD332QI7.mjs → db-M6FJ6J6E.mjs} +8 -8
- package/dist/cli/describe-RUODIS6M.js +50 -0
- package/dist/cli/describe-X6QA2U3C.mjs +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 +3 -3
- package/dist/cli/describe-core.mjs +2 -2
- package/dist/cli/{executions-AFEOLB4A.mjs → executions-EHTS2XJX.mjs} +8 -8
- package/dist/cli/{executions-4ZKBL7IC.js → executions-VJEEWN22.js} +10 -10
- package/dist/cli/{feedback-J2YPLKMF.mjs → feedback-76VGY4GP.mjs} +6 -6
- package/dist/cli/{feedback-M6Y33JKT.js → feedback-DQPUCUXO.js} +14 -14
- package/dist/cli/{git-632RYEF6.mjs → git-IY6DKKLR.mjs} +5 -5
- package/dist/cli/git-RLHTSYRY.js +25 -0
- package/dist/cli/index.js +150 -146
- package/dist/cli/index.mjs +49 -45
- package/dist/cli/integrations-242LE3TQ.mjs +98 -0
- package/dist/cli/integrations-CQSTIKFY.js +98 -0
- package/dist/cli/{legacy-noops-KWZMXYAU.mjs → legacy-noops-SWTSTMRY.mjs} +6 -6
- package/dist/cli/{legacy-noops-4Y62TKPC.js → legacy-noops-U72DO6ZF.js} +9 -9
- package/dist/cli/{mcp-PESLHAAC.mjs → mcp-JJH6JR52.mjs} +72 -15
- package/dist/cli/{mcp-35QA6YG7.js → mcp-L473BKLJ.js} +89 -32
- package/dist/cli/{monitors-4DTUZLAI.js → monitors-3TF2DOFD.js} +119 -104
- package/dist/cli/{monitors-YVBKBJBU.mjs → monitors-VSYHUBKC.mjs} +26 -11
- package/dist/cli/{org-DJNKMFCZ.mjs → org-S5VIKU2E.mjs} +8 -8
- package/dist/cli/{org-FWCBZMER.js → org-YKVI2ZTI.js} +90 -90
- package/dist/cli/{play-PHVQEEEZ.mjs → play-C7T5A3QM.mjs} +44 -25
- package/dist/cli/{play-FZ45M4KD.js → play-DOWEG45Y.js} +374 -355
- package/dist/cli/{providers-46E67QG7.mjs → providers-BMVVX3VD.mjs} +10 -9
- package/dist/cli/{providers-QJU6FMDD.js → providers-TAZPPFTB.js} +13 -12
- package/dist/cli/{quickstart-6HMJJ4RR.mjs → quickstart-A3WKMKTW.mjs} +4 -4
- package/dist/cli/{quickstart-HOL7H5FS.js → quickstart-HD6FQXGR.js} +6 -6
- package/dist/cli/{run-WKSIRXEC.js → run-BVVV2UX7.js} +49 -48
- package/dist/cli/{run-2W2TJ6QA.mjs → run-FV7TWNOC.mjs} +28 -27
- package/dist/cli/{search-Y2CFLSYB.mjs → search-MGK6WIKS.mjs} +9 -9
- package/dist/cli/search-VJFCWUZN.js +32 -0
- package/dist/cli/{search-output-2IK6ZZDY.js → search-output-6Y7KEPIE.js} +6 -6
- package/dist/cli/{search-output-FCZ35PHF.mjs → search-output-GM7LDZKE.mjs} +4 -4
- package/dist/cli/{secrets-PNPNUZLX.mjs → secrets-4RFAR7YI.mjs} +8 -8
- package/dist/cli/{secrets-JVJIHGU4.js → secrets-SISXIXSZ.js} +17 -17
- package/dist/cli/{sessions-GY5VVQGO.mjs → sessions-CE3OMEG7.mjs} +6 -6
- package/dist/cli/sessions-OWWZJZXH.js +22 -0
- package/dist/cli/{settings-5WHMFRNQ.js → settings-4HPM3K4A.js} +89 -89
- package/dist/cli/{settings-YQOPF3AI.mjs → settings-E22IDSX2.mjs} +16 -16
- package/dist/cli/{setup-3VJMKDEU.js → setup-BDRSNLKX.js} +49 -49
- package/dist/cli/{setup-O5U5IEVW.mjs → setup-BK65MDZ6.mjs} +9 -9
- package/dist/cli/{skills-G6J5PF35.mjs → skills-FI2GZMR4.mjs} +7 -7
- package/dist/cli/skills-ZLBFUAFR.js +36 -0
- package/dist/cli/tools-3K72VE33.js +57 -0
- package/dist/cli/{tools-AG7SWL5Y.mjs → tools-HMMWYUNW.mjs} +20 -19
- package/dist/cli/update-QZV6DH5V.js +34 -0
- package/dist/cli/{update-K73DD6CR.mjs → update-WDKBSXV5.mjs} +9 -9
- package/dist/cli/{views-4D2OTLIO.js → views-775AUDWQ.js} +23 -23
- package/dist/cli/{views-MO6DIOMR.mjs → views-JYIJCO23.mjs} +8 -8
- package/dist/cli/{workflow-ZEMFCS4Y.js → workflow-4H6KQRFQ.js} +19 -19
- package/dist/cli/{workflow-MMZMAELI.mjs → workflow-FKKHE3IU.mjs} +9 -9
- package/dist/{client-DLG9mHDh.d.mts → client-ANT3pyoa.d.mts} +1 -1
- package/dist/{client-X-FJD5Dp.d.ts → client-DD_FyJVd.d.ts} +1 -1
- package/dist/{client-core-WtnqyBwY.d.mts → client-core-Dg9tKhdB.d.mts} +339 -3
- package/dist/{client-core-0jmHfFBv.d.ts → client-core-QHmo73k1.d.ts} +339 -3
- package/dist/{compiler-manifest-Cys06iYg.d.mts → compiler-manifest-BWFtsQIC.d.mts} +21 -0
- package/dist/{compiler-manifest-Cys06iYg.d.ts → compiler-manifest-BWFtsQIC.d.ts} +21 -0
- package/dist/{errors-B6eMjKcr.d.mts → errors-CwKXXtuu.d.mts} +1 -1
- package/dist/{errors-rdOUqcU2.d.ts → errors-Lm9_vJHZ.d.ts} +1 -1
- package/dist/{index-ejWadAL5.d.ts → index-3vJ-V9yw.d.ts} +1 -1
- package/dist/{index-CZdYO81A.d.mts → index-DjwsAt82.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +12 -12
- package/dist/index.mjs +8 -8
- package/dist/install-integrity.json +147 -133
- 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/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 +2 -2
- package/dist/plays/run-request.mjs +1 -1
- 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 +7 -7
- package/dist/server.mjs +5 -5
- package/package.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +0 -222
- package/dist/cli/auth-2PH6RSKL.js +0 -43
- package/dist/cli/concurrent-runs-help-BNIDBKML.js +0 -21
- package/dist/cli/describe-5TFFB2PM.js +0 -49
- package/dist/cli/describe-THQU7N47.mjs +0 -49
- package/dist/cli/git-AQLQYWRI.js +0 -25
- package/dist/cli/search-YLJFCJTK.js +0 -32
- package/dist/cli/sessions-TZ33UCPS.js +0 -22
- package/dist/cli/skills-WZY3XDT3.js +0 -36
- package/dist/cli/tools-BXQBL72Q.js +0 -56
- package/dist/cli/update-XYP5EII6.js +0 -34
|
@@ -1,17 +1,17 @@
|
|
|
1
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
|
-
var
|
|
3
|
+
var _chunk2JHYYB3Fjs = require('./chunk-2JHYYB3F.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkPDJ4UDCOjs = require('./chunk-PDJ4UDCO.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkZY6FL4O4js.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkZY6FL4O4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZY6FL4O4js.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -604,6 +604,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
604
604
|
let waitTimeoutMs = null;
|
|
605
605
|
let maxConcurrentExternalCalls = null;
|
|
606
606
|
let maxConcurrentRows = null;
|
|
607
|
+
let cacheReuseWindowSeconds = null;
|
|
607
608
|
let profile = null;
|
|
608
609
|
let fixtureBehavior = null;
|
|
609
610
|
let runIdFile = null;
|
|
@@ -656,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
656
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
657
658
|
);
|
|
658
659
|
}
|
|
659
|
-
const parsed =
|
|
660
|
+
const parsed = _chunkPDJ4UDCOjs.parseLogLevel.call(void 0, value);
|
|
660
661
|
if (!parsed) {
|
|
661
662
|
throw new Error(
|
|
662
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -693,7 +694,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
693
694
|
throw new Error("--profile requires an execution profile id.");
|
|
694
695
|
}
|
|
695
696
|
profile = value.trim();
|
|
696
|
-
|
|
697
|
+
_chunk2JHYYB3Fjs.resolveEnabledExecutionProfile.call(void 0, profile);
|
|
697
698
|
index += 1;
|
|
698
699
|
continue;
|
|
699
700
|
}
|
|
@@ -732,6 +733,20 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
732
733
|
index += 1;
|
|
733
734
|
continue;
|
|
734
735
|
}
|
|
736
|
+
if (arg === "--cache-reuse-window-seconds") {
|
|
737
|
+
const value = args[index + 1];
|
|
738
|
+
if (!value || !/^[1-9]\d*$/.test(value)) {
|
|
739
|
+
throw new Error(
|
|
740
|
+
"--cache-reuse-window-seconds requires a positive whole number."
|
|
741
|
+
);
|
|
742
|
+
}
|
|
743
|
+
cacheReuseWindowSeconds = parsePositiveInteger(
|
|
744
|
+
value,
|
|
745
|
+
"--cache-reuse-window-seconds"
|
|
746
|
+
);
|
|
747
|
+
index += 1;
|
|
748
|
+
continue;
|
|
749
|
+
}
|
|
735
750
|
if (arg === "--fixture-behavior") {
|
|
736
751
|
const value = args[index + 1];
|
|
737
752
|
if (!value) {
|
|
@@ -780,12 +795,12 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
780
795
|
}
|
|
781
796
|
if (arg === "--debug" && args[index + 1] && !args[index + 1].startsWith("--")) {
|
|
782
797
|
input ??= {};
|
|
783
|
-
|
|
798
|
+
_chunkSL6MYJYMjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
|
|
784
799
|
continue;
|
|
785
800
|
}
|
|
786
801
|
if (arg.startsWith("--debug=")) {
|
|
787
802
|
input ??= {};
|
|
788
|
-
|
|
803
|
+
_chunkSL6MYJYMjs.setDottedInputValue.call(void 0,
|
|
789
804
|
input,
|
|
790
805
|
"debug",
|
|
791
806
|
parseInputFlagValue(arg.slice("--debug=".length))
|
|
@@ -813,7 +828,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
813
828
|
if (arg.startsWith("--")) {
|
|
814
829
|
const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
|
|
815
830
|
input ??= {};
|
|
816
|
-
|
|
831
|
+
_chunkSL6MYJYMjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
|
|
817
832
|
if (!arg.includes("=")) {
|
|
818
833
|
index += 1;
|
|
819
834
|
}
|
|
@@ -877,6 +892,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
877
892
|
waitTimeoutMs,
|
|
878
893
|
force,
|
|
879
894
|
forceToolRefresh,
|
|
895
|
+
cacheReuseWindowSeconds,
|
|
880
896
|
maxConcurrentExternalCalls,
|
|
881
897
|
maxConcurrentRows,
|
|
882
898
|
maxCredits: null,
|
|
@@ -902,7 +918,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
902
918
|
let initialInput = options.input === void 0 ? null : parseJsonInput(options.input);
|
|
903
919
|
if (typeof options.debug === "string") {
|
|
904
920
|
initialInput ??= {};
|
|
905
|
-
|
|
921
|
+
_chunkSL6MYJYMjs.setDottedInputValue.call(void 0,
|
|
906
922
|
initialInput,
|
|
907
923
|
"debug",
|
|
908
924
|
parseInputFlagValue(options.debug)
|
|
@@ -939,7 +955,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
939
955
|
if (dryRun && resolvedTarget.kind !== "file")
|
|
940
956
|
throw new Error("--dry-run currently requires a local Play file.");
|
|
941
957
|
const profile = _nullishCoalesce(_optionalChain([stringOption, 'call', _5 => _5(options.profile, "--profile"), 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]), () => ( base.profile));
|
|
942
|
-
if (profile !== null)
|
|
958
|
+
if (profile !== null) _chunk2JHYYB3Fjs.resolveEnabledExecutionProfile.call(void 0, profile);
|
|
943
959
|
const countOption = (value, flag) => {
|
|
944
960
|
if (value === void 0) return void 0;
|
|
945
961
|
if (!/^[1-9]\d*$/.test(value))
|
|
@@ -974,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
974
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
975
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
976
992
|
);
|
|
977
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkPDJ4UDCOjs.parseLogLevel.call(void 0, options.logLevel);
|
|
978
994
|
if (!logLevel)
|
|
979
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
980
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -988,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
988
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
989
1005
|
logLevel = "debug";
|
|
990
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
991
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
992
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZY6FL4O4js.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkZY6FL4O4js.jsonFieldArgs.call(void 0, options.json)],
|
|
993
1009
|
"run"
|
|
994
1010
|
).fields;
|
|
995
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
996
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
997
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkZY6FL4O4js.argsWantJson.call(void 0, []) : explicitJson;
|
|
998
1014
|
const verboseLogs = Boolean(
|
|
999
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1000
1016
|
);
|
|
@@ -1023,6 +1039,10 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1023
1039
|
// as before, and an unset option inherits the base run's choice.
|
|
1024
1040
|
force: _nullishCoalesce(_nullishCoalesce(options.force, () => ( (options.fromStart || void 0))), () => ( base.force)),
|
|
1025
1041
|
forceToolRefresh: _nullishCoalesce(_nullishCoalesce(options.forceToolRefresh, () => ( (options.refreshCache || void 0))), () => ( base.forceToolRefresh)),
|
|
1042
|
+
cacheReuseWindowSeconds: _nullishCoalesce(countOption(
|
|
1043
|
+
options.cacheReuseWindowSeconds,
|
|
1044
|
+
"--cache-reuse-window-seconds"
|
|
1045
|
+
), () => ( base.cacheReuseWindowSeconds)),
|
|
1026
1046
|
maxConcurrentExternalCalls: externalCalls,
|
|
1027
1047
|
maxConcurrentRows: rows,
|
|
1028
1048
|
maxCredits,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q7ZOWNKR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HXM2JUGD.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.544",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SK3HPU2J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RJPDCSTD.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BEQ7RQLT.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DVDWAC2M.mjs";
|
|
14
14
|
import {
|
|
15
15
|
autoDetectBaseUrl
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HXM2JUGD.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
|
|
@@ -384,7 +384,7 @@ Output:
|
|
|
384
384
|
Your runtime price, allowance used, paid overage, and reset date.
|
|
385
385
|
Usage is shown in standard sandbox minutes at your current rate and in credits.
|
|
386
386
|
${PLAY_RUNTIME_PRICING_NOTE}
|
|
387
|
-
${
|
|
387
|
+
${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
|
|
388
388
|
Cost:
|
|
389
389
|
Free to check.
|
|
390
390
|
[[cli:
|
|
@@ -524,7 +524,7 @@ When:
|
|
|
524
524
|
for compatibility. Absence from discovery does not mean a tool was removed.
|
|
525
525
|
[[cli:
|
|
526
526
|
If a tool needs a connection, the description gives the dashboard setup link
|
|
527
|
-
when available and the exact
|
|
527
|
+
when available and the exact integrations connect command. Share byok.setupUrl
|
|
528
528
|
from JSON, or run connectCommand and share the returned connect_url with a
|
|
529
529
|
workspace owner or admin.
|
|
530
530
|
]]
|
|
@@ -608,7 +608,95 @@ Cost:
|
|
|
608
608
|
credits; [[cli:run <id> --dry-run]][[mcp:deepline_describe_tool]] shows the price.
|
|
609
609
|
`
|
|
610
610
|
},
|
|
611
|
+
integrations: {
|
|
612
|
+
core: `
|
|
613
|
+
Purpose:
|
|
614
|
+
Set up provider access and manage named workspace authorizations.
|
|
615
|
+
providers lists the catalog; tools calls provider APIs; auth handles Deepline login.
|
|
616
|
+
Input and output:
|
|
617
|
+
connect <provider> returns the setup modal link. My account is the default;
|
|
618
|
+
workspace admins can choose Workspace and complete the provider's approval.
|
|
619
|
+
list shows workspace authorization names. get <name> shows one record and
|
|
620
|
+
its granted scopes. Use the name as connection in a tool call or Play.
|
|
621
|
+
reconnect, disconnect, and delete act on existing workspace authorizations.
|
|
622
|
+
Pass --provider when the same name occurs for more than one provider.
|
|
623
|
+
verify <domain> checks an existing Google Admin grant and enables it locally.
|
|
624
|
+
Scope changes require provider approval; a Play's connection selection
|
|
625
|
+
cannot expand granted access.
|
|
626
|
+
SDK:
|
|
627
|
+
client.integrations exposes list, get, connect, reconnect, disconnect,
|
|
628
|
+
delete, verify and members. Lifecycle methods accept dryRun and preserve
|
|
629
|
+
the same ID/revision checks used by the CLI.
|
|
630
|
+
Cost:
|
|
631
|
+
These management commands do not spend Deepline credits.
|
|
632
|
+
Examples:
|
|
633
|
+
deepline integrations connect google_calendar_availability
|
|
634
|
+
deepline integrations list --json
|
|
635
|
+
deepline integrations get deepline.com --json
|
|
636
|
+
`
|
|
637
|
+
},
|
|
638
|
+
"integrations get": {
|
|
639
|
+
core: `Purpose: Read one named workspace authorization from the connection inventory.
|
|
640
|
+
Input: the exact name from list; --provider disambiguates repeated names.
|
|
641
|
+
Output: the inventory record, including identity, type, status, version, and
|
|
642
|
+
granted scopes when supplied by the provider. Never credential material.
|
|
643
|
+
Cost: Does not spend credits.`,
|
|
644
|
+
rolloutFeature: "integration-connections"
|
|
645
|
+
},
|
|
646
|
+
"integrations reconnect": {
|
|
647
|
+
core: `Purpose: Reauthorize an existing named workspace connection.
|
|
648
|
+
Input: the exact name from list; --provider disambiguates repeated names.
|
|
649
|
+
Google Workspace approvals also require --verification-email in that domain.
|
|
650
|
+
Output: OAuth URL requiring browser consent, or the Google approval verification result.
|
|
651
|
+
Uses the current stored ID and revision; stale changes fail. --dry-run reads
|
|
652
|
+
current state and prints the planned change without OAuth, Google calls, or writes.
|
|
653
|
+
Cost: Does not spend credits.`,
|
|
654
|
+
rolloutFeature: "integration-connections"
|
|
655
|
+
},
|
|
656
|
+
"integrations disconnect": {
|
|
657
|
+
core: `Purpose: Disable a named workspace authorization for future execution.
|
|
658
|
+
Input: the exact name from list; --provider disambiguates repeated names.
|
|
659
|
+
Output: the API's disconnect result. The stored connection remains available
|
|
660
|
+
for reconnect. A Google Admin approval is separately revoked in Google Admin.
|
|
661
|
+
--dry-run reads current state and prints the planned change without writes.
|
|
662
|
+
Cost: Does not spend credits.`,
|
|
663
|
+
rolloutFeature: "integration-connections"
|
|
664
|
+
},
|
|
665
|
+
"integrations delete": {
|
|
666
|
+
core: `Purpose: Remove a named workspace connection and free its slot.
|
|
667
|
+
Input: the exact name from list; --provider disambiguates repeated names.
|
|
668
|
+
Disconnect Google Workspace approvals first. Their Google Admin grant remains
|
|
669
|
+
until an administrator revokes it in Google Admin.
|
|
670
|
+
Output: the API's removal result. Identity and revision checks reject stale changes.
|
|
671
|
+
--dry-run reads current state and prints the planned change without writes.
|
|
672
|
+
Cost: Does not spend credits.`,
|
|
673
|
+
rolloutFeature: "integration-connections"
|
|
674
|
+
},
|
|
675
|
+
"integrations verify": {
|
|
676
|
+
core: `Purpose: Verify and enable a Google Workspace Calendar approval.
|
|
677
|
+
Input: the approved domain and --verification-email for a user in that domain.
|
|
678
|
+
Complete the Google Admin approval in the dashboard setup wizard first.
|
|
679
|
+
Use --booking after approving calendar.events.owned to enable meetings on the
|
|
680
|
+
organizer's primary calendar. The Play supplies organizerEmail and attendees.
|
|
681
|
+
The CLI reads the current revision, verifies the requested Google scopes, and saves
|
|
682
|
+
the approval. Repeating verification refreshes the existing domain approval.
|
|
683
|
+
Output: enabled or validation_failed, revision and provider readiness evidence.
|
|
684
|
+
Verification failure exits with code 7 and retains the provider readiness result.
|
|
685
|
+
--dry-run reads the revision and prints the change without contacting Google or writing.
|
|
686
|
+
Cost: Does not spend credits.`,
|
|
687
|
+
rolloutFeature: "integration-connections"
|
|
688
|
+
},
|
|
611
689
|
"tools balance": {
|
|
690
|
+
core: "Purpose: Compatibility alias for integrations balance. Input and output: see deepline integrations balance <provider> --help. Cost: Does not spend credits."
|
|
691
|
+
},
|
|
692
|
+
"tools workspace-connections": {
|
|
693
|
+
core: "Purpose: Compatibility alias for integrations list. Input and output: see deepline integrations list --help. Cost: Does not spend credits.",
|
|
694
|
+
rolloutFeature: "integration-connections"
|
|
695
|
+
},
|
|
696
|
+
"tools connect": {
|
|
697
|
+
core: "Purpose: Compatibility alias for integrations connect. Input and output: see deepline integrations connect <provider> --help. Cost: Does not spend credits."
|
|
698
|
+
},
|
|
699
|
+
"integrations balance": {
|
|
612
700
|
core: `
|
|
613
701
|
Purpose:
|
|
614
702
|
Read the active workspace's connected LeadMagic account balance.
|
|
@@ -625,13 +713,18 @@ Output:
|
|
|
625
713
|
Cost:
|
|
626
714
|
The LeadMagic credit lookup is free. No Deepline credits are charged.
|
|
627
715
|
Examples:
|
|
628
|
-
[[cli:deepline
|
|
716
|
+
[[cli:deepline integrations balance leadmagic --json]]
|
|
629
717
|
`
|
|
630
718
|
},
|
|
631
|
-
"
|
|
719
|
+
"integrations list": {
|
|
632
720
|
core: `
|
|
633
721
|
Purpose:
|
|
634
|
-
List
|
|
722
|
+
List workspace authorizations with Integration connections enabled.
|
|
723
|
+
Google Workspace entries include the domain, granted scopes, and the name
|
|
724
|
+
a Play passes as connection. Use --inventory for compatibility records.
|
|
725
|
+
Use --members with --provider to list teammates' linked accounts.
|
|
726
|
+
This inventory contains workspace authorizations, not the caller's personal
|
|
727
|
+
accounts. Personal connections are managed through the dashboard setup modal.
|
|
635
728
|
Output:
|
|
636
729
|
[[cli:Use --json for records with provider, status, label, and connection version.]]
|
|
637
730
|
Cost:
|
|
@@ -655,11 +748,35 @@ Cost:
|
|
|
655
748
|
core: `
|
|
656
749
|
Purpose:
|
|
657
750
|
Manage shared Google Calendar access as a workspace owner or admin.
|
|
658
|
-
In Production, use deepline
|
|
751
|
+
In Production, use deepline integrations connect hubspot --link to manage shared HubSpot.
|
|
659
752
|
Enrolled Preview workspaces can manage a dedicated shared HubSpot connection here.
|
|
660
753
|
Input:
|
|
661
|
-
Pass the provider and connect, reconnect, replace, or
|
|
754
|
+
Pass the provider and connect, reconnect, replace, disconnect, or remove.
|
|
755
|
+
Remove frees a connection slot for a named account or a Google workspace account.
|
|
662
756
|
Complete OAuth consent in the browser.
|
|
757
|
+
Use connect --auto-name to let Deepline assign the connection name.
|
|
758
|
+
Use --name <name> to select a named HubSpot or Google Calendar workspace
|
|
759
|
+
account in an enrolled local or Preview environment.
|
|
760
|
+
Cost:
|
|
761
|
+
Does not spend Deepline credits.
|
|
762
|
+
`,
|
|
763
|
+
rolloutFeature: "integration-connections"
|
|
764
|
+
},
|
|
765
|
+
"tools calendar-delegation": {
|
|
766
|
+
core: `
|
|
767
|
+
Purpose:
|
|
768
|
+
Verify and manage Google Workspace authorization as a workspace admin.
|
|
769
|
+
Input:
|
|
770
|
+
Use list to read approval IDs and revisions.
|
|
771
|
+
Use status --domain <domain> to read the Google client ID and scope.
|
|
772
|
+
After approving those values in Google Admin, use enable-workspace with
|
|
773
|
+
--domain, --grant-revision, and --verification-email. Verification checks
|
|
774
|
+
Google access to that email without requiring a Deepline membership.
|
|
775
|
+
Use disable-workspace to disconnect an approval. Use remove-workspace with
|
|
776
|
+
--domain, --connection-id, and --grant-revision to remove a disconnected
|
|
777
|
+
approval and free its slot.
|
|
778
|
+
Legacy --name and --members commands remain available for existing Plays.
|
|
779
|
+
[[cli:Use --dry-run to inspect a proposed change.]]
|
|
663
780
|
Cost:
|
|
664
781
|
Does not spend Deepline credits.
|
|
665
782
|
`,
|
|
@@ -677,12 +794,14 @@ Cost:
|
|
|
677
794
|
`,
|
|
678
795
|
rolloutFeature: "integration-connections"
|
|
679
796
|
},
|
|
680
|
-
"
|
|
797
|
+
"integrations connect": {
|
|
681
798
|
core: `
|
|
682
799
|
Purpose:
|
|
683
|
-
|
|
684
|
-
|
|
800
|
+
Open provider setup or connect provider credentials in the active workspace.
|
|
801
|
+
Setup starts with My account; admins can choose Workspace in the modal.
|
|
802
|
+
Direct credential updates require a workspace owner or admin.
|
|
685
803
|
Input:
|
|
804
|
+
With no setup flags, print the dashboard link. --link requests it explicitly.
|
|
686
805
|
--link looks up the exact provider id. When a person needs to connect a
|
|
687
806
|
provider, use the command printed by deepline describe <tool-id> or look up
|
|
688
807
|
the tool's provider field. Give them the returned link and tell them to
|
|
@@ -707,12 +826,14 @@ Output:
|
|
|
707
826
|
Credentials: confirmation without secret values.
|
|
708
827
|
OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
|
|
709
828
|
completed connection. The browser must finish authorization.
|
|
829
|
+
--dry-run prints the proposed setup without starting OAuth, reading secret
|
|
830
|
+
file contents, or saving credentials.
|
|
710
831
|
Cost:
|
|
711
832
|
Does not spend Deepline credits.
|
|
712
833
|
Examples:
|
|
713
|
-
deepline
|
|
714
|
-
deepline
|
|
715
|
-
deepline
|
|
834
|
+
deepline integrations connect hubspot --link --json
|
|
835
|
+
deepline integrations connect heyreach --credentials-file ./heyreach.json
|
|
836
|
+
deepline integrations connect hubspot --oauth --preset read-crm
|
|
716
837
|
`
|
|
717
838
|
},
|
|
718
839
|
"tools grep": {
|
|
@@ -850,6 +971,13 @@ Input:
|
|
|
850
971
|
-p email=a@b.com one key=value per -p, repeatable
|
|
851
972
|
--payload is an alias of --input. There is no --payload-file flag; use
|
|
852
973
|
@path. --out <file.csv> writes row-shaped output to a CSV file.
|
|
974
|
+
--connection <name> selects a workspace authorization for supported
|
|
975
|
+
HubSpot and Google Calendar tools. A Google Workspace authorization uses its
|
|
976
|
+
approved domain, for example --connection deepline.com. Pass calendar emails
|
|
977
|
+
in the tool input. Omitting --connection uses the caller's personal account
|
|
978
|
+
where personal connections are supported.
|
|
979
|
+
deepline integrations list --json lists workspace authorization names.
|
|
980
|
+
Each authorization grants specific scopes. Missing scopes fail the call.
|
|
853
981
|
]]
|
|
854
982
|
[[cli:
|
|
855
983
|
Output (JSON):
|
|
@@ -1006,6 +1134,16 @@ Authoring rules:
|
|
|
1006
1134
|
one paid call in a column, and shaping, status, and miss_reason in
|
|
1007
1135
|
separate plain columns after it. Return the dataset for anything that
|
|
1008
1136
|
should export as CSV.
|
|
1137
|
+
Column order is what people read: the run page shows a dataset's columns
|
|
1138
|
+
in the order the Play declares them, the row's own keys as written, then
|
|
1139
|
+
each withColumn in order. Choose it for a reader: put what they look for
|
|
1140
|
+
first (name, company, email, the final answer, status) and ids, raw
|
|
1141
|
+
provider payloads and intermediate attempts toward the end. Each run
|
|
1142
|
+
records its own order, so reordering a Play's columns shows from its next
|
|
1143
|
+
run on. A column whose name starts with _ is kept with the row but hidden
|
|
1144
|
+
from the run page: use it for values people do not need to see (raw
|
|
1145
|
+
payloads, internal ids). _key, _status, _error, _stage, _provider and
|
|
1146
|
+
_run_id are reserved.
|
|
1009
1147
|
Dataset handles are async: await rows.count(), rows.first(),
|
|
1010
1148
|
rows.peek(n), rows.materialize(n), or for await. Array methods on a
|
|
1011
1149
|
handle fail [[cli:plays check]][[mcp:deepline_check_play]].
|
|
@@ -1367,7 +1505,7 @@ Concurrency:
|
|
|
1367
1505
|
deepline billing entitlements shows this workspace's plan and limit and
|
|
1368
1506
|
every plan's limit; this help prints them too when you are signed in.
|
|
1369
1507
|
]]
|
|
1370
|
-
${
|
|
1508
|
+
${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
|
|
1371
1509
|
Cost:
|
|
1372
1510
|
Spends Deepline credits through the play's tool calls. Validation errors
|
|
1373
1511
|
(missing column, bad input) fail before any spend.
|
|
@@ -1618,7 +1756,7 @@ Concurrency:
|
|
|
1618
1756
|
deepline billing entitlements shows this workspace's plan and limit and
|
|
1619
1757
|
every plan's limit; this help prints them too when you are signed in.
|
|
1620
1758
|
]]
|
|
1621
|
-
${
|
|
1759
|
+
${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
|
|
1622
1760
|
Cost:
|
|
1623
1761
|
Free.
|
|
1624
1762
|
Avoid:
|
|
@@ -1790,7 +1928,8 @@ When:
|
|
|
1790
1928
|
]]
|
|
1791
1929
|
[[mcp:
|
|
1792
1930
|
When a run failed and the deepline_get_run error is not enough. It returns
|
|
1793
|
-
the latest log lines of one run;
|
|
1931
|
+
the latest log lines of one run; pass nextCursor as cursor for older lines.
|
|
1932
|
+
failed: true reads the window around a failed run's failure.
|
|
1794
1933
|
]]
|
|
1795
1934
|
[[cli:
|
|
1796
1935
|
Input:
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkW7X4KH45js = require('./chunk-W7X4KH45.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUNMNGRPBjs = require('./chunk-UNMNGRPB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkDF2X7GJGjs = require('./chunk-DF2X7GJG.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
var _fs = require('fs');
|
|
@@ -32,14 +32,14 @@ var _path = require('path');
|
|
|
32
32
|
// src/cli/doc-read-reporting.ts
|
|
33
33
|
var REPORT_TIMEOUT_MS = 1e3;
|
|
34
34
|
async function reportDocRead(docId) {
|
|
35
|
-
if (
|
|
35
|
+
if (_chunkZY6FL4O4js.isFailureReportingDisabled.call(void 0, )) return;
|
|
36
36
|
try {
|
|
37
|
-
const baseUrl =
|
|
38
|
-
const apiKey =
|
|
37
|
+
const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
38
|
+
const apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
39
39
|
if (!apiKey) return;
|
|
40
40
|
await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
|
|
41
41
|
method: "POST",
|
|
42
|
-
headers:
|
|
42
|
+
headers: _chunkZY6FL4O4js.failureReportHeaders.call(void 0, apiKey),
|
|
43
43
|
body: JSON.stringify({ doc_id: docId }),
|
|
44
44
|
signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
|
|
45
45
|
});
|
|
@@ -52,16 +52,16 @@ function nothingNamed(name) {
|
|
|
52
52
|
return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
|
|
53
53
|
}
|
|
54
54
|
function findNamed2(name, options) {
|
|
55
|
-
return
|
|
55
|
+
return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkDF2X7GJGjs.DeeplineClient)()));
|
|
56
56
|
}
|
|
57
57
|
async function describeAnything(name, options, onMissing) {
|
|
58
|
-
const client = new (0,
|
|
59
|
-
const lookups =
|
|
60
|
-
const outcome = await
|
|
58
|
+
const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
|
|
59
|
+
const lookups = _chunkRKF263LRjs.describeLookupsFor.call(void 0, client);
|
|
60
|
+
const outcome = await _chunkRKF263LRjs.describeName.call(void 0, name, options, {
|
|
61
61
|
...lookups,
|
|
62
62
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
63
63
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
64
|
-
seedStarterScript:
|
|
64
|
+
seedStarterScript: _chunkW7X4KH45js.seedToolListScript
|
|
65
65
|
});
|
|
66
66
|
if (outcome.status === "missing") {
|
|
67
67
|
if (onMissing) return onMissing();
|
|
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
87
87
|
` : text;
|
|
88
88
|
_fs.writeFileSync.call(void 0, path, content);
|
|
89
89
|
const bytes = Buffer.byteLength(content);
|
|
90
|
-
|
|
90
|
+
_chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
|
|
91
91
|
{ path, bytes },
|
|
92
92
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
93
93
|
` }
|
|
94
94
|
);
|
|
95
95
|
return 0;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
_chunkZY6FL4O4js.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
98
98
|
return 0;
|
|
99
99
|
}
|
|
100
100
|
function registerDescribeCommand(program) {
|
|
101
|
-
|
|
101
|
+
_chunkUNMNGRPBjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
|
|
102
102
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
103
103
|
).addHelpText(
|
|
104
104
|
"after",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H4SAHB3Q.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRICING_PAGE_NOTE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NIPLY25A.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autoDetectBaseUrl,
|
|
9
9
|
resolveApiKeyForBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HXM2JUGD.mjs";
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|