deepline 0.3.542 → 0.3.543
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 +106 -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/tool-connection.ts +13 -0
- 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/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 +42 -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 +46 -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 +226 -144
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +1 -1
- 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-IGBGOB4E.mjs → auth-ITAELTOA.mjs} +5 -5
- package/dist/cli/auth-S6B5WUU5.js +43 -0
- package/dist/cli/{billing-IB2TWE74.js → billing-33XVFDUJ.js} +101 -101
- package/dist/cli/{billing-N37W2I62.mjs → billing-WZ7RVZW4.mjs} +12 -12
- package/dist/cli/{chunk-D44DP4KJ.js → chunk-23D224GI.js} +37 -17
- package/dist/cli/{chunk-B5NP3SHX.mjs → chunk-274WKLSY.mjs} +2 -2
- 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-FGGPCAGC.js → chunk-2KTGZKRE.js} +18 -18
- package/dist/cli/{chunk-AWLPERL3.js → chunk-2LNTKICO.js} +3 -3
- package/dist/cli/{chunk-5CAVURVS.js → chunk-2NCJQEZH.js} +53 -53
- package/dist/cli/{chunk-6SLEHAXX.js → chunk-3JZXU5OB.js} +5 -5
- package/dist/cli/{chunk-4I47NCRI.js → chunk-46BEBZ3M.js} +497 -328
- package/dist/cli/{chunk-V4EYJKGJ.js → chunk-4JQEAYN3.js} +156 -17
- package/dist/cli/{chunk-DADH3WPE.mjs → chunk-4SKDSSPU.mjs} +2 -2
- package/dist/cli/{chunk-FX4OWXKK.mjs → chunk-52YK3EII.mjs} +2 -2
- package/dist/cli/{chunk-HAITCPCG.js → chunk-5MN3BKNB.js} +16 -16
- package/dist/cli/{chunk-FFDZT255.mjs → chunk-5VIPTLRX.mjs} +1 -1
- package/dist/cli/{chunk-OLH2PHMC.mjs → chunk-6P7TGCHQ.mjs} +1 -1
- package/dist/cli/{chunk-YK7NNZD4.mjs → chunk-6SJZMMD5.mjs} +37 -190
- package/dist/cli/chunk-7AUQTNLB.mjs +455 -0
- package/dist/cli/{chunk-I5EAIFGO.mjs → chunk-AACKPOGA.mjs} +1 -1
- package/dist/cli/{chunk-GM73TZ2W.js → chunk-BGAUADV4.js} +41 -41
- package/dist/cli/{chunk-KQSTV4MW.js → chunk-BLYW6FFB.js} +60 -18
- package/dist/cli/{chunk-LFMQVSEI.js → chunk-C35NLLSA.js} +5 -5
- package/dist/cli/{chunk-5APOJWJF.mjs → chunk-D6YAU3CF.mjs} +182 -13
- package/dist/cli/{chunk-TT4JUUC3.mjs → chunk-DH43ECTN.mjs} +7 -3
- package/dist/cli/{chunk-TTBHOMAA.js → chunk-DI3GL3T6.js} +316 -469
- package/dist/cli/{chunk-D7GWEBMF.js → chunk-DUGTPVT7.js} +7 -7
- package/dist/cli/{chunk-UNDLNT3V.js → chunk-ECWOIXAV.js} +1 -1
- package/dist/cli/{chunk-CFZCRM6R.js → chunk-EHUG6EUT.js} +26 -26
- package/dist/cli/chunk-F6VSQ5LN.js +455 -0
- package/dist/cli/{chunk-ACVTMAW4.mjs → chunk-FNW2SGPD.mjs} +2 -2
- package/dist/cli/{chunk-EHLCWGWN.js → chunk-GRCFX2EG.js} +4 -4
- package/dist/cli/{chunk-OVX3Q5Q3.mjs → chunk-GWNYLIF7.mjs} +1 -1
- package/dist/cli/{chunk-6WQDHEVF.mjs → chunk-HKJ26NRN.mjs} +5 -5
- package/dist/cli/{chunk-L2VKAASU.mjs → chunk-HXIR3VQL.mjs} +21 -0
- package/dist/cli/{chunk-WL2GUGNZ.js → chunk-J2F6F5GL.js} +7 -7
- package/dist/cli/{chunk-2VRKBHMD.mjs → chunk-JXG7HWBA.mjs} +1 -1
- package/dist/cli/{chunk-Z2XA6YU4.mjs → chunk-LX35AXTN.mjs} +1 -0
- package/dist/cli/{chunk-DNGACHFX.js → chunk-MCBUWK5K.js} +22 -22
- package/dist/cli/{chunk-Q7WDXLYO.js → chunk-NHKP2NSU.js} +2 -2
- package/dist/cli/{chunk-FANIRW74.mjs → chunk-NIPLY25A.mjs} +0 -2
- package/dist/cli/{chunk-AKY7KZRJ.js → chunk-NLENABRU.js} +6 -6
- package/dist/cli/{chunk-ORA5TMML.mjs → chunk-NR3O56FT.mjs} +5 -5
- package/dist/cli/{chunk-3XXXMSSP.js → chunk-O2KLWUNI.js} +44 -44
- package/dist/cli/{chunk-ZVNYBQ77.mjs → chunk-OAFKUHN5.mjs} +4 -4
- package/dist/cli/{chunk-2ZGSHVZE.mjs → chunk-OELJKQOL.mjs} +24 -4
- package/dist/cli/{chunk-E7B73LGT.js → chunk-PX7XAVUC.js} +24 -20
- package/dist/cli/{chunk-VHJUH3TB.js → chunk-QFRMVI4S.js} +3 -3
- package/dist/cli/{chunk-Z5YRKX7K.mjs → chunk-R57UCXQG.mjs} +1 -1
- package/dist/cli/{chunk-IPVRMYWT.js → chunk-RKF263LR.js} +5 -5
- package/dist/cli/{chunk-CQDQNZGH.js → chunk-SL6MYJYM.js} +1 -0
- package/dist/cli/{chunk-JPT6VE54.js → chunk-STXG2LFC.js} +2 -2
- package/dist/cli/{chunk-SCLP5H4P.mjs → chunk-SU4K4SUU.mjs} +1 -1
- package/dist/cli/{chunk-NLZHLEHD.mjs → chunk-SYOPHFKB.mjs} +6 -6
- package/dist/cli/{chunk-WACIN4PR.mjs → chunk-SZNJENGT.mjs} +3 -3
- package/dist/cli/{chunk-QXNOSCYL.js → chunk-TBCNL2T5.js} +1 -1
- package/dist/cli/{chunk-E4CABWXL.js → chunk-TI6DTURF.js} +22 -1
- package/dist/cli/{chunk-NDNEARE3.js → chunk-UJ6GOV7K.js} +13 -13
- package/dist/cli/{chunk-GWHA4DAC.js → chunk-UV4RU2TE.js} +0 -2
- package/dist/cli/{chunk-P4MDTBAA.mjs → chunk-VSJEOSYL.mjs} +1 -1
- package/dist/cli/{chunk-EGOCGWCI.mjs → chunk-W2OPPSAZ.mjs} +3 -3
- package/dist/cli/{chunk-46V7QSJE.mjs → chunk-XBM3KABD.mjs} +3 -3
- package/dist/cli/{chunk-QONO7FRF.mjs → chunk-XFPVFWZR.mjs} +1 -1
- package/dist/cli/{chunk-PLIKPGOO.mjs → chunk-XSN6BAZT.mjs} +5 -5
- package/dist/cli/{chunk-IDDKNMFX.mjs → chunk-Y3T5GWYK.mjs} +153 -14
- package/dist/cli/{chunk-AUFE624T.js → chunk-YE3T73BV.js} +10 -10
- package/dist/cli/{chunk-DMXLZ57N.js → chunk-YJYKZ2U3.js} +2 -2
- package/dist/cli/{chunk-F6QV42MC.mjs → chunk-Z7SXGOIQ.mjs} +1 -1
- package/dist/cli/{chunk-SWO5QOXB.mjs → chunk-ZRT2PNYY.mjs} +1 -1
- package/dist/cli/{chunk-3LEUSRV3.mjs → chunk-ZSPBJB7I.mjs} +4 -4
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-E4OYD3DS.js +21 -0
- package/dist/cli/{concurrent-runs-help-DIBGMEIN.mjs → concurrent-runs-help-Z6ODNL4E.mjs} +7 -7
- package/dist/cli/{csv-CAVA3EMS.mjs → csv-5QW2HPHT.mjs} +4 -4
- package/dist/cli/{csv-XZAM7EYZ.js → csv-SSOFTXHU.js} +13 -13
- package/dist/cli/{db-PPGEOBNG.js → db-4LK5AJNO.js} +29 -29
- package/dist/cli/{db-HD332QI7.mjs → db-K2JMR6EM.mjs} +8 -8
- package/dist/cli/describe-AC6PLEFP.js +50 -0
- package/dist/cli/describe-AXHQZHTT.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-4ZKBL7IC.js → executions-AATJQQAQ.js} +10 -10
- package/dist/cli/{executions-AFEOLB4A.mjs → executions-FY2XTX2W.mjs} +8 -8
- package/dist/cli/{feedback-J2YPLKMF.mjs → feedback-MKBPRGS6.mjs} +6 -6
- package/dist/cli/{feedback-M6Y33JKT.js → feedback-QPVJER75.js} +14 -14
- package/dist/cli/{git-632RYEF6.mjs → git-AGRFZR3K.mjs} +5 -5
- package/dist/cli/git-RUYFQEJX.js +25 -0
- package/dist/cli/index.js +150 -146
- package/dist/cli/index.mjs +49 -45
- package/dist/cli/integrations-OUQ6U33M.mjs +98 -0
- package/dist/cli/integrations-R6OUFZXI.js +98 -0
- package/dist/cli/{legacy-noops-KWZMXYAU.mjs → legacy-noops-DVL2RRKL.mjs} +6 -6
- package/dist/cli/{legacy-noops-4Y62TKPC.js → legacy-noops-H7INM2QN.js} +9 -9
- package/dist/cli/{mcp-PESLHAAC.mjs → mcp-2Z2YVOLK.mjs} +72 -15
- package/dist/cli/{mcp-35QA6YG7.js → mcp-33F7D7WI.js} +89 -32
- package/dist/cli/{monitors-4DTUZLAI.js → monitors-KDUJHAKJ.js} +102 -102
- package/dist/cli/{monitors-YVBKBJBU.mjs → monitors-NZD2WIKK.mjs} +9 -9
- package/dist/cli/{org-FWCBZMER.js → org-4PQGHLEB.js} +90 -90
- package/dist/cli/{org-DJNKMFCZ.mjs → org-EJW45RUA.mjs} +8 -8
- package/dist/cli/{play-PHVQEEEZ.mjs → play-3CM5RT5J.mjs} +44 -25
- package/dist/cli/{play-FZ45M4KD.js → play-MLHMQL4G.js} +374 -355
- package/dist/cli/{providers-46E67QG7.mjs → providers-BHYBJI4R.mjs} +10 -9
- package/dist/cli/{providers-QJU6FMDD.js → providers-YBJG7277.js} +13 -12
- package/dist/cli/{quickstart-6HMJJ4RR.mjs → quickstart-LL3MR562.mjs} +4 -4
- package/dist/cli/{quickstart-HOL7H5FS.js → quickstart-O7L2NNGJ.js} +6 -6
- package/dist/cli/{run-WKSIRXEC.js → run-HJ2AR6CM.js} +49 -48
- package/dist/cli/{run-2W2TJ6QA.mjs → run-OK545H5Q.mjs} +28 -27
- package/dist/cli/search-UUNS6BCC.js +32 -0
- package/dist/cli/{search-Y2CFLSYB.mjs → search-Z5ZKMRTX.mjs} +9 -9
- package/dist/cli/{search-output-FCZ35PHF.mjs → search-output-Q5VHNUWG.mjs} +4 -4
- package/dist/cli/{search-output-2IK6ZZDY.js → search-output-SVW4DETG.js} +6 -6
- package/dist/cli/{secrets-JVJIHGU4.js → secrets-ENQWMCB5.js} +17 -17
- package/dist/cli/{secrets-PNPNUZLX.mjs → secrets-QIKIEFWB.mjs} +8 -8
- package/dist/cli/{sessions-GY5VVQGO.mjs → sessions-AETO22RF.mjs} +6 -6
- package/dist/cli/sessions-FNSUDERA.js +22 -0
- package/dist/cli/{settings-YQOPF3AI.mjs → settings-G5RGRPFV.mjs} +16 -16
- package/dist/cli/{settings-5WHMFRNQ.js → settings-OFLIFTMZ.js} +89 -89
- package/dist/cli/{setup-O5U5IEVW.mjs → setup-G4N3X6KG.mjs} +9 -9
- package/dist/cli/{setup-3VJMKDEU.js → setup-QW7Y62XD.js} +49 -49
- package/dist/cli/skills-3IXIY2IV.js +36 -0
- package/dist/cli/{skills-G6J5PF35.mjs → skills-QRFQGHNA.mjs} +7 -7
- package/dist/cli/{tools-AG7SWL5Y.mjs → tools-52BH7UTF.mjs} +20 -19
- package/dist/cli/tools-MYBUMPKH.js +57 -0
- package/dist/cli/update-GT7574UU.js +34 -0
- package/dist/cli/{update-K73DD6CR.mjs → update-SDGZLAGL.mjs} +9 -9
- package/dist/cli/{views-MO6DIOMR.mjs → views-3BIJFJMQ.mjs} +8 -8
- package/dist/cli/{views-4D2OTLIO.js → views-5QKAWYPI.js} +23 -23
- package/dist/cli/{workflow-ZEMFCS4Y.js → workflow-G67RPWVY.js} +19 -19
- package/dist/cli/{workflow-MMZMAELI.mjs → workflow-QAK773FR.mjs} +9 -9
- package/dist/{client-X-FJD5Dp.d.ts → client-D1ga52xq.d.ts} +1 -1
- package/dist/{client-DLG9mHDh.d.mts → client-bd4QQIXo.d.mts} +1 -1
- package/dist/{client-core-0jmHfFBv.d.ts → client-core-B6eMVx8h.d.ts} +334 -3
- package/dist/{client-core-WtnqyBwY.d.mts → client-core-CqfWNf2Q.d.mts} +334 -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
package/dist/cli/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
usesInlinePlayAdmission
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-52YK3EII.mjs";
|
|
5
5
|
import {
|
|
6
6
|
feedbackSendRestriction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SU4K4SUU.mjs";
|
|
8
8
|
import {
|
|
9
9
|
beginToolExecuteCommand,
|
|
10
10
|
compatibilityCatalog,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
maybeAutoUpdateAndRelaunch,
|
|
14
14
|
runDeferredAutoUpdate,
|
|
15
15
|
runToolExecuteStage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XSN6BAZT.mjs";
|
|
17
17
|
import {
|
|
18
18
|
isCliTraceEnabled,
|
|
19
19
|
parseCliMaintenancePolicy,
|
|
20
20
|
recordCliTrace,
|
|
21
21
|
resolveCliMaintenancePolicy,
|
|
22
22
|
traceCliSpan
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-5VIPTLRX.mjs";
|
|
24
|
+
import "./chunk-HKJ26NRN.mjs";
|
|
25
|
+
import "./chunk-AACKPOGA.mjs";
|
|
26
|
+
import "./chunk-ZSPBJB7I.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
29
29
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
readFreshCleanCompatibility,
|
|
36
36
|
readTrustedCleanCompatibility,
|
|
37
37
|
syncSdkSkillsIfNeeded
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NR3O56FT.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VSJEOSYL.mjs";
|
|
42
42
|
import {
|
|
43
43
|
commandDocKey,
|
|
44
44
|
helpDetailFromArgv,
|
|
45
45
|
renderCommandExplanation
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-Y3T5GWYK.mjs";
|
|
47
|
+
import "./chunk-NIPLY25A.mjs";
|
|
48
48
|
import "./chunk-5LUF4LAR.mjs";
|
|
49
49
|
import "./chunk-7I4B6V2S.mjs";
|
|
50
50
|
import {
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
sanitizeCommand,
|
|
66
66
|
shouldEmitJson,
|
|
67
67
|
takeSilentJsonFailureMessage
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
69
69
|
import {
|
|
70
70
|
HttpClient,
|
|
71
71
|
autoDetectBaseUrl,
|
|
@@ -73,18 +73,18 @@ import {
|
|
|
73
73
|
resolveApiKeyForBaseUrl,
|
|
74
74
|
resolveBaseUrlOnly,
|
|
75
75
|
resolveConfig
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-R57UCXQG.mjs";
|
|
77
77
|
import {
|
|
78
78
|
SDK_VERSION,
|
|
79
79
|
agentSessionIdFromEnvironment,
|
|
80
80
|
connectionFailureMessage
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JXG7HWBA.mjs";
|
|
82
82
|
import {
|
|
83
83
|
AuthError
|
|
84
84
|
} from "./chunk-CQBIO6HW.mjs";
|
|
85
85
|
import "./chunk-DLIRSHV6.mjs";
|
|
86
86
|
import "./chunk-JL2OTMSG.mjs";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
88
88
|
import "./chunk-WZYKRD7T.mjs";
|
|
89
89
|
import "./chunk-5JPKRDFC.mjs";
|
|
90
90
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -165,60 +165,64 @@ import { Command as Command2 } from "commander";
|
|
|
165
165
|
var COMMAND_GROUPS = [
|
|
166
166
|
{
|
|
167
167
|
names: ["auth"],
|
|
168
|
-
load: async () => (await import("./auth-
|
|
168
|
+
load: async () => (await import("./auth-ITAELTOA.mjs")).registerAuthCommands
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
names: ["providers"],
|
|
172
|
-
load: async () => (await import("./providers-
|
|
172
|
+
load: async () => (await import("./providers-BHYBJI4R.mjs")).registerProviderCommands
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
names: ["integrations"],
|
|
176
|
+
load: async () => (await import("./integrations-OUQ6U33M.mjs")).registerIntegrationsCommands
|
|
173
177
|
},
|
|
174
178
|
{
|
|
175
179
|
names: ["search"],
|
|
176
|
-
load: async () => (await import("./search-
|
|
180
|
+
load: async () => (await import("./search-Z5ZKMRTX.mjs")).registerSearchCommand
|
|
177
181
|
},
|
|
178
182
|
{
|
|
179
183
|
names: ["describe"],
|
|
180
|
-
load: async () => (await import("./describe-
|
|
184
|
+
load: async () => (await import("./describe-AXHQZHTT.mjs")).registerDescribeCommand
|
|
181
185
|
},
|
|
182
186
|
{
|
|
183
187
|
names: ["run"],
|
|
184
|
-
load: async () => (await import("./run-
|
|
188
|
+
load: async () => (await import("./run-OK545H5Q.mjs")).registerRunCommand
|
|
185
189
|
},
|
|
186
190
|
{
|
|
187
191
|
names: ["tools"],
|
|
188
|
-
load: async () => (await import("./tools-
|
|
192
|
+
load: async () => (await import("./tools-52BH7UTF.mjs")).registerToolsCommands
|
|
189
193
|
},
|
|
190
194
|
{
|
|
191
195
|
names: ["executions"],
|
|
192
|
-
load: async () => (await import("./executions-
|
|
196
|
+
load: async () => (await import("./executions-FY2XTX2W.mjs")).registerExecutionsCommands
|
|
193
197
|
},
|
|
194
198
|
{
|
|
195
199
|
names: ["plays", "runs"],
|
|
196
|
-
load: async () => (await import("./play-
|
|
200
|
+
load: async () => (await import("./play-3CM5RT5J.mjs")).registerPlayCommands
|
|
197
201
|
},
|
|
198
202
|
{
|
|
199
203
|
names: ["sessions"],
|
|
200
|
-
load: async () => (await import("./sessions-
|
|
204
|
+
load: async () => (await import("./sessions-AETO22RF.mjs")).registerSessionsCommands
|
|
201
205
|
},
|
|
202
206
|
{
|
|
203
207
|
names: ["workflows"],
|
|
204
|
-
load: async () => (await import("./workflow-
|
|
208
|
+
load: async () => (await import("./workflow-QAK773FR.mjs")).registerWorkflowCommands
|
|
205
209
|
},
|
|
206
210
|
{
|
|
207
211
|
names: ["views"],
|
|
208
|
-
load: async () => (await import("./views-
|
|
212
|
+
load: async () => (await import("./views-3BIJFJMQ.mjs")).registerViewsCommands
|
|
209
213
|
},
|
|
210
214
|
{
|
|
211
215
|
names: ["secrets"],
|
|
212
|
-
load: async () => (await import("./secrets-
|
|
216
|
+
load: async () => (await import("./secrets-QIKIEFWB.mjs")).registerSecretsCommands
|
|
213
217
|
},
|
|
214
218
|
{
|
|
215
219
|
names: ["mcp"],
|
|
216
|
-
load: async () => (await import("./mcp-
|
|
220
|
+
load: async () => (await import("./mcp-2Z2YVOLK.mjs")).registerMcpCommands
|
|
217
221
|
},
|
|
218
222
|
{
|
|
219
223
|
names: ["settings", "notifications"],
|
|
220
224
|
load: async () => {
|
|
221
|
-
const commands = await import("./settings-
|
|
225
|
+
const commands = await import("./settings-G5RGRPFV.mjs");
|
|
222
226
|
return (p) => {
|
|
223
227
|
commands.registerSettingsCommands(p);
|
|
224
228
|
commands.registerNotificationCommands(p);
|
|
@@ -227,51 +231,51 @@ var COMMAND_GROUPS = [
|
|
|
227
231
|
},
|
|
228
232
|
{
|
|
229
233
|
names: ["billing"],
|
|
230
|
-
load: async () => (await import("./billing-
|
|
234
|
+
load: async () => (await import("./billing-WZ7RVZW4.mjs")).registerBillingCommands
|
|
231
235
|
},
|
|
232
236
|
{
|
|
233
237
|
names: ["monitors"],
|
|
234
|
-
load: async () => (await import("./monitors-
|
|
238
|
+
load: async () => (await import("./monitors-NZD2WIKK.mjs")).registerMonitorsCommands
|
|
235
239
|
},
|
|
236
240
|
{
|
|
237
241
|
names: ["org"],
|
|
238
|
-
load: async () => (await import("./org-
|
|
242
|
+
load: async () => (await import("./org-EJW45RUA.mjs")).registerOrgCommands
|
|
239
243
|
},
|
|
240
244
|
{
|
|
241
245
|
names: ["git", "projects", "deployments"],
|
|
242
|
-
load: async () => (await import("./git-
|
|
246
|
+
load: async () => (await import("./git-AGRFZR3K.mjs")).registerGitCommands
|
|
243
247
|
},
|
|
244
248
|
{
|
|
245
249
|
names: ["csv"],
|
|
246
|
-
load: async () => (await import("./csv-
|
|
250
|
+
load: async () => (await import("./csv-5QW2HPHT.mjs")).registerCsvCommands
|
|
247
251
|
},
|
|
248
252
|
{
|
|
249
253
|
names: ["db"],
|
|
250
|
-
load: async () => (await import("./db-
|
|
254
|
+
load: async () => (await import("./db-K2JMR6EM.mjs")).registerDbCommands
|
|
251
255
|
},
|
|
252
256
|
{
|
|
253
257
|
names: ["feedback"],
|
|
254
|
-
load: async () => (await import("./feedback-
|
|
258
|
+
load: async () => (await import("./feedback-MKBPRGS6.mjs")).registerFeedbackCommands
|
|
255
259
|
},
|
|
256
260
|
{
|
|
257
261
|
names: ["enrich", "session", "backend"],
|
|
258
|
-
load: async () => (await import("./legacy-noops-
|
|
262
|
+
load: async () => (await import("./legacy-noops-DVL2RRKL.mjs")).registerDeprecatedCommands
|
|
259
263
|
},
|
|
260
264
|
{
|
|
261
265
|
names: ["update"],
|
|
262
|
-
load: async () => (await import("./update-
|
|
266
|
+
load: async () => (await import("./update-SDGZLAGL.mjs")).registerUpdateCommand
|
|
263
267
|
},
|
|
264
268
|
{
|
|
265
269
|
names: ["skills", "skills-auto-sync"],
|
|
266
|
-
load: async () => (await import("./skills-
|
|
270
|
+
load: async () => (await import("./skills-QRFQGHNA.mjs")).registerSkillsCommand
|
|
267
271
|
},
|
|
268
272
|
{
|
|
269
273
|
names: ["setup", "doctor"],
|
|
270
|
-
load: async () => (await import("./setup-
|
|
274
|
+
load: async () => (await import("./setup-G4N3X6KG.mjs")).registerSetupCommands
|
|
271
275
|
},
|
|
272
276
|
{
|
|
273
277
|
names: ["quickstart"],
|
|
274
|
-
load: async () => (await import("./quickstart-
|
|
278
|
+
load: async () => (await import("./quickstart-LL3MR562.mjs")).registerQuickstartCommands
|
|
275
279
|
}
|
|
276
280
|
];
|
|
277
281
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -639,7 +643,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
639
643
|
});
|
|
640
644
|
let exitCode = 1;
|
|
641
645
|
try {
|
|
642
|
-
const { handlePlayRun } = await import("./play-
|
|
646
|
+
const { handlePlayRun } = await import("./play-3CM5RT5J.mjs");
|
|
643
647
|
exitCode = await handlePlayRun([
|
|
644
648
|
file,
|
|
645
649
|
"--input",
|
|
@@ -1107,7 +1111,7 @@ Examples:
|
|
|
1107
1111
|
return;
|
|
1108
1112
|
}
|
|
1109
1113
|
try {
|
|
1110
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1114
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-ITAELTOA.mjs");
|
|
1111
1115
|
const baseUrl = resolveBaseUrlOnly();
|
|
1112
1116
|
const [{ status, data }, banner] = await Promise.all([
|
|
1113
1117
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1195,13 +1199,13 @@ Examples:
|
|
|
1195
1199
|
const helpArgs = process.argv.slice(2);
|
|
1196
1200
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1197
1201
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1198
|
-
const { authStatusLine } = await import("./auth-
|
|
1202
|
+
const { authStatusLine } = await import("./auth-ITAELTOA.mjs");
|
|
1199
1203
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1200
1204
|
${await authStatusLine()}
|
|
1201
1205
|
`;
|
|
1202
1206
|
}
|
|
1203
1207
|
if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
|
|
1204
|
-
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-
|
|
1208
|
+
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-Z6ODNL4E.mjs");
|
|
1205
1209
|
if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
|
|
1206
1210
|
await ensureTransport();
|
|
1207
1211
|
concurrentRunsHelpStatus = await read();
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
printIntegrationResult,
|
|
3
|
+
registerIntegrationBalanceCommand,
|
|
4
|
+
registerIntegrationConnectCommand,
|
|
5
|
+
registerWorkspaceConnectionListCommand
|
|
6
|
+
} from "./chunk-7AUQTNLB.mjs";
|
|
7
|
+
import {
|
|
8
|
+
DeeplineClient
|
|
9
|
+
} from "./chunk-4SKDSSPU.mjs";
|
|
10
|
+
import "./chunk-D6YAU3CF.mjs";
|
|
11
|
+
import "./chunk-HXIR3VQL.mjs";
|
|
12
|
+
import "./chunk-LX35AXTN.mjs";
|
|
13
|
+
import "./chunk-PSX3WHIH.mjs";
|
|
14
|
+
import "./chunk-UBKA33KY.mjs";
|
|
15
|
+
import "./chunk-DH43ECTN.mjs";
|
|
16
|
+
import "./chunk-R57UCXQG.mjs";
|
|
17
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
18
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
19
|
+
import "./chunk-DLIRSHV6.mjs";
|
|
20
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
21
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
22
|
+
import "./chunk-WZYKRD7T.mjs";
|
|
23
|
+
import "./chunk-KRD6H754.mjs";
|
|
24
|
+
|
|
25
|
+
// src/cli/commands/integrations.ts
|
|
26
|
+
function printChangeResult(result, json) {
|
|
27
|
+
const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Workspace authorization ${result.status ?? "updated"}.`;
|
|
28
|
+
printIntegrationResult(result, json, [text]);
|
|
29
|
+
if ("status" in result && result.status === "validation_failed")
|
|
30
|
+
process.exitCode = 7;
|
|
31
|
+
}
|
|
32
|
+
function registerIntegrationsCommands(program) {
|
|
33
|
+
const integrations = program.command("integrations").description(
|
|
34
|
+
"Connect providers and manage named workspace authorizations."
|
|
35
|
+
);
|
|
36
|
+
registerWorkspaceConnectionListCommand(integrations, "list");
|
|
37
|
+
registerIntegrationBalanceCommand(integrations);
|
|
38
|
+
registerIntegrationConnectCommand(integrations, true);
|
|
39
|
+
integrations.command("get <name>").description(
|
|
40
|
+
"Show a named workspace authorization, including granted scopes."
|
|
41
|
+
).option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
|
|
42
|
+
const row = await new DeeplineClient().integrations.get(name, options);
|
|
43
|
+
printIntegrationResult(row, options.json, [
|
|
44
|
+
`${row.name} ${row.provider} ${row.status}`,
|
|
45
|
+
row.label,
|
|
46
|
+
...(row.scopes ?? []).map((scope) => `Scope: ${scope}`)
|
|
47
|
+
]);
|
|
48
|
+
});
|
|
49
|
+
for (const action of ["reconnect", "disconnect", "delete"]) {
|
|
50
|
+
const command = integrations.command(`${action} <name>`).description(
|
|
51
|
+
`${action[0].toUpperCase()}${action.slice(1)} a named workspace authorization.`
|
|
52
|
+
).option(
|
|
53
|
+
"--provider <provider>",
|
|
54
|
+
"Disambiguate the provider for this name"
|
|
55
|
+
).option(
|
|
56
|
+
"--dry-run",
|
|
57
|
+
"Read current state and print the change without saving or contacting the provider"
|
|
58
|
+
).option("--json", "Print the result as JSON");
|
|
59
|
+
if (action === "reconnect")
|
|
60
|
+
command.option(
|
|
61
|
+
"--verification-email <email>",
|
|
62
|
+
"Work email used to verify a Google Workspace approval"
|
|
63
|
+
);
|
|
64
|
+
if (action === "reconnect")
|
|
65
|
+
command.option(
|
|
66
|
+
"--booking",
|
|
67
|
+
"Verify Calendar availability and event booking permissions"
|
|
68
|
+
);
|
|
69
|
+
command.action(async (name, options) => {
|
|
70
|
+
const result = await new DeeplineClient().integrations[action](
|
|
71
|
+
name,
|
|
72
|
+
options
|
|
73
|
+
);
|
|
74
|
+
printChangeResult(result, options.json);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
integrations.command("verify <domain>").description("Verify and enable a Google Workspace Calendar approval.").requiredOption(
|
|
78
|
+
"--verification-email <email>",
|
|
79
|
+
"Work email in the approved domain"
|
|
80
|
+
).option(
|
|
81
|
+
"--dry-run",
|
|
82
|
+
"Read current state and print the change without saving or contacting Google"
|
|
83
|
+
).option("--json", "Print the verification result as JSON").option(
|
|
84
|
+
"--booking",
|
|
85
|
+
"Verify Calendar availability and event booking permissions"
|
|
86
|
+
).action(
|
|
87
|
+
async (domain, options) => {
|
|
88
|
+
const result = await new DeeplineClient().integrations.verify(
|
|
89
|
+
domain,
|
|
90
|
+
options
|
|
91
|
+
);
|
|
92
|
+
printChangeResult(result, options.json);
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
registerIntegrationsCommands
|
|
98
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkF6VSQ5LNjs = require('./chunk-F6VSQ5LN.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk3JZXU5OBjs = require('./chunk-3JZXU5OB.js');
|
|
10
|
+
require('./chunk-46BEBZ3M.js');
|
|
11
|
+
require('./chunk-TI6DTURF.js');
|
|
12
|
+
require('./chunk-SL6MYJYM.js');
|
|
13
|
+
require('./chunk-PMH4GLMD.js');
|
|
14
|
+
require('./chunk-XDVT3GOM.js');
|
|
15
|
+
require('./chunk-PX7XAVUC.js');
|
|
16
|
+
require('./chunk-QFRMVI4S.js');
|
|
17
|
+
require('./chunk-GRCFX2EG.js');
|
|
18
|
+
require('./chunk-2GJZLIKW.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-BBTKAASQ.js');
|
|
21
|
+
require('./chunk-TBCNL2T5.js');
|
|
22
|
+
require('./chunk-OG64RBAC.js');
|
|
23
|
+
require('./chunk-COGTRVWW.js');
|
|
24
|
+
|
|
25
|
+
// src/cli/commands/integrations.ts
|
|
26
|
+
function printChangeResult(result, json) {
|
|
27
|
+
const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Workspace authorization ${_nullishCoalesce(result.status, () => ( "updated"))}.`;
|
|
28
|
+
_chunkF6VSQ5LNjs.printIntegrationResult.call(void 0, result, json, [text]);
|
|
29
|
+
if ("status" in result && result.status === "validation_failed")
|
|
30
|
+
process.exitCode = 7;
|
|
31
|
+
}
|
|
32
|
+
function registerIntegrationsCommands(program) {
|
|
33
|
+
const integrations = program.command("integrations").description(
|
|
34
|
+
"Connect providers and manage named workspace authorizations."
|
|
35
|
+
);
|
|
36
|
+
_chunkF6VSQ5LNjs.registerWorkspaceConnectionListCommand.call(void 0, integrations, "list");
|
|
37
|
+
_chunkF6VSQ5LNjs.registerIntegrationBalanceCommand.call(void 0, integrations);
|
|
38
|
+
_chunkF6VSQ5LNjs.registerIntegrationConnectCommand.call(void 0, integrations, true);
|
|
39
|
+
integrations.command("get <name>").description(
|
|
40
|
+
"Show a named workspace authorization, including granted scopes."
|
|
41
|
+
).option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
|
|
42
|
+
const row = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().integrations.get(name, options);
|
|
43
|
+
_chunkF6VSQ5LNjs.printIntegrationResult.call(void 0, row, options.json, [
|
|
44
|
+
`${row.name} ${row.provider} ${row.status}`,
|
|
45
|
+
row.label,
|
|
46
|
+
...(_nullishCoalesce(row.scopes, () => ( []))).map((scope) => `Scope: ${scope}`)
|
|
47
|
+
]);
|
|
48
|
+
});
|
|
49
|
+
for (const action of ["reconnect", "disconnect", "delete"]) {
|
|
50
|
+
const command = integrations.command(`${action} <name>`).description(
|
|
51
|
+
`${action[0].toUpperCase()}${action.slice(1)} a named workspace authorization.`
|
|
52
|
+
).option(
|
|
53
|
+
"--provider <provider>",
|
|
54
|
+
"Disambiguate the provider for this name"
|
|
55
|
+
).option(
|
|
56
|
+
"--dry-run",
|
|
57
|
+
"Read current state and print the change without saving or contacting the provider"
|
|
58
|
+
).option("--json", "Print the result as JSON");
|
|
59
|
+
if (action === "reconnect")
|
|
60
|
+
command.option(
|
|
61
|
+
"--verification-email <email>",
|
|
62
|
+
"Work email used to verify a Google Workspace approval"
|
|
63
|
+
);
|
|
64
|
+
if (action === "reconnect")
|
|
65
|
+
command.option(
|
|
66
|
+
"--booking",
|
|
67
|
+
"Verify Calendar availability and event booking permissions"
|
|
68
|
+
);
|
|
69
|
+
command.action(async (name, options) => {
|
|
70
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().integrations[action](
|
|
71
|
+
name,
|
|
72
|
+
options
|
|
73
|
+
);
|
|
74
|
+
printChangeResult(result, options.json);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
integrations.command("verify <domain>").description("Verify and enable a Google Workspace Calendar approval.").requiredOption(
|
|
78
|
+
"--verification-email <email>",
|
|
79
|
+
"Work email in the approved domain"
|
|
80
|
+
).option(
|
|
81
|
+
"--dry-run",
|
|
82
|
+
"Read current state and print the change without saving or contacting Google"
|
|
83
|
+
).option("--json", "Print the verification result as JSON").option(
|
|
84
|
+
"--booking",
|
|
85
|
+
"Verify Calendar availability and event booking permissions"
|
|
86
|
+
).action(
|
|
87
|
+
async (domain, options) => {
|
|
88
|
+
const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().integrations.verify(
|
|
89
|
+
domain,
|
|
90
|
+
options
|
|
91
|
+
);
|
|
92
|
+
printChangeResult(result, options.json);
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
exports.registerIntegrationsCommands = registerIntegrationsCommands;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZNJENGT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SU4K4SUU.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DH43ECTN.mjs";
|
|
11
|
+
import "./chunk-R57UCXQG.mjs";
|
|
12
|
+
import "./chunk-JXG7HWBA.mjs";
|
|
13
13
|
import "./chunk-CQBIO6HW.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-JL2OTMSG.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ZRT2PNYY.mjs";
|
|
17
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
18
18
|
import "./chunk-KRD6H754.mjs";
|
|
19
19
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUJ6GOV7Kjs = require('./chunk-UJ6GOV7K.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-YJYKZ2U3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
|
|
11
|
+
require('./chunk-QFRMVI4S.js');
|
|
12
|
+
require('./chunk-GRCFX2EG.js');
|
|
13
13
|
require('./chunk-2GJZLIKW.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-BBTKAASQ.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-TBCNL2T5.js');
|
|
17
17
|
require('./chunk-OG64RBAC.js');
|
|
18
18
|
require('./chunk-COGTRVWW.js');
|
|
19
19
|
|
|
@@ -54,7 +54,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
function printDeprecatedCommand(input) {
|
|
57
|
-
|
|
57
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
58
58
|
json: input.options.json
|
|
59
59
|
});
|
|
60
60
|
process.exitCode = 2;
|
|
@@ -74,7 +74,7 @@ function registerDeprecatedCommands(program) {
|
|
|
74
74
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
75
75
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
76
76
|
`).action((_args, options) => {
|
|
77
|
-
|
|
77
|
+
_chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
|
|
78
78
|
{
|
|
79
79
|
ok: false,
|
|
80
80
|
command: "deepline enrich",
|
|
@@ -117,7 +117,7 @@ Examples:
|
|
|
117
117
|
options
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
|
-
|
|
120
|
+
_chunkUJ6GOV7Kjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
121
121
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
122
122
|
addDeprecatedSubcommand(
|
|
123
123
|
session,
|