deepline 0.3.534 → 0.3.536
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 +254 -147
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -23
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
- package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
- package/dist/bundling-sources/shared_libs/play-runtime/call-requeue-state-machine.ts +420 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +727 -102
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +60 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +372 -10
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-no-progress.ts +6 -2
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +63 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +90 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +136 -30
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +63 -13
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
- package/dist/cli/auth-6XQKFOLG.js +43 -0
- package/dist/cli/{auth-MHQYIMVX.mjs → auth-KCTCUO7P.mjs} +7 -7
- package/dist/cli/{billing-YQLNP4S5.js → billing-4VBGZ3CT.js} +273 -112
- package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OOJHKLNS.mjs} +185 -24
- package/dist/cli/{chunk-DGKTHWWH.js → chunk-2B4IOGFD.js} +406 -382
- package/dist/cli/{chunk-MQORQ7WL.js → chunk-2FCSUOYN.js} +55 -55
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-2YWJS76L.mjs} +1 -1
- package/dist/cli/{chunk-E7TP25I2.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
- package/dist/cli/{chunk-LGRZCHKC.js → chunk-4E5JXZ3W.js} +18 -20
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-SUWTLXCV.js → chunk-6BBGUQJJ.js} +67 -146
- package/dist/cli/{chunk-JBBJDFUJ.js → chunk-6VUGBQZQ.js} +5 -5
- package/dist/cli/{chunk-2P3NVX65.mjs → chunk-AB2GBOD4.mjs} +40 -27
- package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-ANUKBZ6W.mjs} +475 -11
- package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-BASLYGXK.mjs} +101 -77
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-RH3YRMUY.js → chunk-CIDN5K23.js} +1 -1
- package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
- package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
- package/dist/cli/{chunk-UWNVFAFN.js → chunk-CWSLUNA6.js} +33 -33
- package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-CXTW7SRW.mjs} +67 -146
- package/dist/cli/{chunk-O53LHONF.mjs → chunk-DA2I2M7D.mjs} +2 -2
- package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-DQHUJMCL.mjs} +5 -5
- package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DUYAMLOC.mjs} +1 -1
- package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-E24UGPGG.mjs} +13 -15
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-GF32SBST.mjs} +1 -1
- package/dist/cli/{chunk-AK622KIG.mjs → chunk-GHLDCLSC.mjs} +1 -1
- package/dist/cli/{chunk-A6HNT4EE.js → chunk-GTVZKY3F.js} +2 -2
- package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-HAJQGP5V.mjs} +2 -2
- package/dist/cli/{chunk-6CEUQYMB.js → chunk-HWDKRN7L.js} +3 -3
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-WR4WETRU.mjs → chunk-JUHDJNSI.mjs} +4 -4
- package/dist/cli/{chunk-TQH3533L.mjs → chunk-KPQHUVYW.mjs} +5 -5
- package/dist/cli/{chunk-V7SCRUFQ.js → chunk-KWYGWO4Y.js} +9 -6
- package/dist/cli/{chunk-DZS4JC7I.js → chunk-LDGZFDUB.js} +2 -2
- package/dist/cli/{chunk-EGTUOYYG.js → chunk-LN6RXDTB.js} +523 -59
- package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-LZXZQPA2.mjs} +4 -1
- package/dist/cli/{chunk-MYSKWJMA.js → chunk-MSP4DTSD.js} +13 -13
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-NNAE7E23.mjs → chunk-OUDTOMZC.mjs} +7 -9
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-PNY3BWHP.mjs} +2 -2
- package/dist/cli/{chunk-KSA2XE4T.js → chunk-Q4MNUOS4.js} +316 -303
- package/dist/cli/{chunk-GTXSUPCJ.js → chunk-Q5CXV3E3.js} +2 -2
- package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-RVSSQPQO.mjs} +1 -1
- package/dist/cli/{chunk-VE7ZPLN2.js → chunk-SLPJ3LXI.js} +22 -22
- package/dist/cli/{chunk-IX45S5VC.js → chunk-TX5TUHJN.js} +17 -19
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-NDFNBJGL.js → chunk-VBDZIMWD.js} +26 -26
- package/dist/cli/{chunk-GVGQ6NZW.js → chunk-W7AEIGZR.js} +41 -41
- package/dist/cli/{chunk-WDNRPZED.mjs → chunk-WC5M3JXE.mjs} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-MQX363YF.js → chunk-XBAH3TKU.js} +5 -5
- package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-XJD2GYUP.mjs} +5 -5
- package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-XVZRJJDS.mjs} +4 -4
- package/dist/cli/{chunk-TVINIDHB.js → chunk-Y2NTPYGS.js} +17 -17
- package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YBMHOH6H.mjs} +4 -4
- package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-YRLAUGQY.mjs} +3 -3
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-Z7UIOGW4.mjs} +3 -3
- package/dist/cli/{chunk-HCD36BP6.js → chunk-ZEV2Y56V.js} +44 -44
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-XBK6WCVA.js → chunk-ZILSRDIN.js} +8 -8
- package/dist/cli/{chunk-B2AS3R5W.js → chunk-ZISEH7OL.js} +16 -16
- package/dist/cli/{chunk-HPJAE6PP.js → chunk-ZZ4MF2GI.js} +6 -6
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-U3M2G76R.js → csv-2V2DIFNG.js} +15 -15
- package/dist/cli/{csv-4ID4E5W3.mjs → csv-P3HLK4GO.mjs} +6 -6
- package/dist/cli/{db-IHAQIKEQ.js → db-MREAQVW6.js} +36 -36
- package/dist/cli/{db-LHX5BBCZ.mjs → db-ZYOY3QRQ.mjs} +9 -9
- package/dist/cli/describe-IKZFOADR.mjs +49 -0
- package/dist/cli/describe-WW3OQRLP.js +49 -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 +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-CJ5LV23G.js → executions-H5IJ7QSQ.js} +11 -11
- package/dist/cli/{executions-UJ6JZUL5.mjs → executions-KTSY5M34.mjs} +9 -9
- package/dist/cli/{feedback-TGUBVGRP.js → feedback-724QK3Z5.js} +16 -16
- package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-WWJRIXEU.mjs} +8 -8
- package/dist/cli/git-PHYRD56H.js +25 -0
- package/dist/cli/{git-3DOTQHJO.mjs → git-R5VRG7X6.mjs} +7 -7
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-C6GDEGPU.js} +11 -11
- package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
- package/dist/cli/{monitors-XECKLAXA.js → monitors-VAVQ4WCE.js} +125 -122
- package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-WQSKMHAP.mjs} +19 -16
- package/dist/cli/{org-DOBAIYWG.js → org-CWWRWXZQ.js} +89 -89
- package/dist/cli/{org-ZAAIEZKB.mjs → org-MAL4QPVF.mjs} +9 -9
- package/dist/cli/{play-KLYRMQPF.mjs → play-ILW6MSNG.mjs} +174 -80
- package/dist/cli/{play-E74VN6B7.js → play-WJOWK5PQ.js} +690 -596
- package/dist/cli/{providers-XTQXV5LB.mjs → providers-4V2NMLZZ.mjs} +9 -9
- package/dist/cli/{providers-APZ6SOSK.js → providers-W662ANCH.js} +12 -12
- package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-BW6EBUYX.js} +8 -8
- package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-C22BR743.mjs} +6 -6
- package/dist/cli/{run-3YLIJJ57.js → run-KW7KW4FX.js} +50 -53
- package/dist/cli/{run-TZPBBSPX.mjs → run-SPAU5IMW.mjs} +31 -34
- package/dist/cli/search-HLE54W5G.js +32 -0
- package/dist/cli/{search-VLHE2CMZ.mjs → search-XPC75HLM.mjs} +10 -11
- package/dist/cli/{search-output-73BYB7UE.mjs → search-output-JKYJSEPM.mjs} +6 -6
- package/dist/cli/{search-output-GCT7PQIT.js → search-output-VJYE7USJ.js} +8 -8
- package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-OJG73GXQ.mjs} +9 -9
- package/dist/cli/{secrets-J6CEKXKQ.js → secrets-YB57KGSB.js} +18 -18
- package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-7ZL37BW4.mjs} +8 -8
- package/dist/cli/sessions-VEBYZIEU.js +22 -0
- package/dist/cli/{settings-WRV5XEZC.js → settings-A7DD2ZYE.js} +88 -89
- package/dist/cli/{settings-72K5YCIS.mjs → settings-RKSQB7FA.mjs} +15 -16
- package/dist/cli/{setup-KQFY6WT4.mjs → setup-NXDUTITY.mjs} +11 -12
- package/dist/cli/{setup-QVXWT2EQ.js → setup-S3K5YU62.js} +51 -52
- package/dist/cli/skills-NVQ744CN.js +36 -0
- package/dist/cli/{skills-C3K3E473.mjs → skills-VMFAIDO6.mjs} +9 -10
- package/dist/cli/{tools-4A2OH6MB.mjs → tools-52NTHBSJ.mjs} +20 -21
- package/dist/cli/tools-SBDUL3WB.js +56 -0
- package/dist/cli/update-HHVFZPCV.js +34 -0
- package/dist/cli/{update-BS6USKPR.mjs → update-SAKBEKMV.mjs} +11 -12
- package/dist/cli/{views-WB6GFTRX.mjs → views-ACRV7MD6.mjs} +54 -10
- package/dist/cli/{views-4NZGAXHL.js → views-C3GJOBDG.js} +66 -22
- package/dist/cli/{workflow-2D4WX55R.mjs → workflow-CS22E7TC.mjs} +10 -10
- package/dist/cli/{workflow-L2QTQZYV.js → workflow-ZNWCZEGN.js} +20 -20
- package/dist/{client-DoUVSkqC.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-DQm56zMs.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-C7KkUIE_.d.ts → client-core-CDwapXy5.d.ts} +167 -108
- package/dist/{client-core-CPlwsC1Q.d.mts → client-core-rX7n2H8U.d.mts} +167 -108
- package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-BHNC4RL-.d.mts} +58 -21
- package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-BHNC4RL-.d.ts} +58 -21
- package/dist/{errors-qdJUVQ3g.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-Bk5h1D-C.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-bL66eHYz.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-PaupwX1B.d.mts → index-NaDZq2xf.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/index.mjs +11 -11
- package/dist/install-integrity.json +131 -132
- package/dist/monitor-fleet-contract.d.mts +17 -11
- package/dist/monitor-fleet-contract.d.ts +17 -11
- package/dist/monitor-fleet-contract.js +3 -3
- package/dist/monitor-fleet-contract.mjs +2 -2
- package/dist/monitor-input-contract.js +2 -2
- package/dist/monitor-input-contract.mjs +1 -1
- 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 +67 -3
- 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 +3 -3
- package/dist/plays/run-request.mjs +2 -2
- 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 +12 -12
- package/dist/server.mjs +6 -6
- package/package.json +1 -1
- package/dist/cli/auth-UP2RGPI6.js +0 -43
- package/dist/cli/chunk-5LZ5VSOK.mjs +0 -405
- package/dist/cli/chunk-D3J2Y2BP.js +0 -405
- package/dist/cli/describe-CI4MREFF.mjs +0 -50
- package/dist/cli/describe-IVTSD7ST.js +0 -50
- package/dist/cli/git-R3W25XIF.js +0 -25
- package/dist/cli/pages-FUOSF6BE.mjs +0 -266
- package/dist/cli/pages-TLC2N6L7.js +0 -266
- package/dist/cli/search-NB5CBALV.js +0 -33
- package/dist/cli/sessions-SFCZSB77.js +0 -22
- package/dist/cli/skills-WIJEHVLA.js +0 -37
- package/dist/cli/tools-VMMERMLO.js +0 -57
- package/dist/cli/update-54WZQDTS.js +0 -35
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WC5M3JXE.mjs";
|
|
4
|
+
import "./chunk-BASLYGXK.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-Z2XA6YU4.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
12
12
|
import {
|
|
13
13
|
cliFeatureEnabled
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-3PCYV6ZJ.mjs";
|
|
15
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
16
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
17
17
|
import "./chunk-DLIRSHV6.mjs";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
19
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
20
20
|
import "./chunk-WZYKRD7T.mjs";
|
|
21
21
|
import "./chunk-KRD6H754.mjs";
|
|
22
22
|
|
|
@@ -202,6 +202,50 @@ Examples:
|
|
|
202
202
|
);
|
|
203
203
|
})
|
|
204
204
|
);
|
|
205
|
+
const links = views.command("links").description(
|
|
206
|
+
"Share a view with people outside the workspace through signed links, which can expire, be revoked, and be emailed from Deepline."
|
|
207
|
+
);
|
|
208
|
+
function linkLine(link) {
|
|
209
|
+
const expires = link.expires_at === null ? "no expiry" : `expires ${new Date(link.expires_at).toISOString()}`;
|
|
210
|
+
const sent = link.sent_to.length ? ` \xB7 sent to ${link.sent_to.join(", ")}` : "";
|
|
211
|
+
return `${link.id} ${link.status} ${link.label ?? "(no label)"} ${expires}${sent}`;
|
|
212
|
+
}
|
|
213
|
+
links.command("list <id>", { isDefault: true }).description("List a view's share links. Their URLs are shown only once, when created.").option("--json", "Emit raw JSON response").action(
|
|
214
|
+
async (id, options) => run(async () => {
|
|
215
|
+
const result = await new DeeplineClient().listViewShareLinks(id);
|
|
216
|
+
print(
|
|
217
|
+
"views links list",
|
|
218
|
+
options.json,
|
|
219
|
+
result,
|
|
220
|
+
result.links.length ? result.links.map(linkLine) : ["No share links."]
|
|
221
|
+
);
|
|
222
|
+
})
|
|
223
|
+
);
|
|
224
|
+
links.command("create <id>").description(
|
|
225
|
+
"Create a share link. Whoever holds it can open the view, see every run and its input, but not refresh it or start Plays. The URL is printed once; keep it."
|
|
226
|
+
).requiredOption("--expires <expiry>", "How long the link lasts: 1d, 7d, 30d or never").option("--label <label>", "What the link is for, shown in the list").option("--email <emails>", "Comma-separated addresses Deepline emails the link to").option("--json", "Emit raw JSON response").action(
|
|
227
|
+
async (id, options) => run(async () => {
|
|
228
|
+
const emails = options.email ? String(options.email).split(",").map((email) => email.trim()).filter(Boolean) : void 0;
|
|
229
|
+
const link = await new DeeplineClient().createViewShareLink(id, {
|
|
230
|
+
expires: options.expires,
|
|
231
|
+
...options.label ? { label: options.label } : {},
|
|
232
|
+
...emails ? { emails } : {}
|
|
233
|
+
});
|
|
234
|
+
print("views links create", options.json, link, [
|
|
235
|
+
linkLine(link),
|
|
236
|
+
link.url ? `URL (shown once): ${link.url}` : link.message ?? "The URL was shown when this link was created.",
|
|
237
|
+
...link.not_emailed.length ? [
|
|
238
|
+
`Not emailed (address bounced or complained before): ${link.not_emailed.join(", ")}`
|
|
239
|
+
] : []
|
|
240
|
+
]);
|
|
241
|
+
})
|
|
242
|
+
);
|
|
243
|
+
links.command("revoke <id> <linkId>").description("Revoke a share link. It stops opening the view at once.").option("--json", "Emit raw JSON response").action(
|
|
244
|
+
async (id, linkId, options) => run(async () => {
|
|
245
|
+
const link = await new DeeplineClient().revokeViewShareLink(id, linkId);
|
|
246
|
+
print("views links revoke", options.json, link, [linkLine(link)]);
|
|
247
|
+
})
|
|
248
|
+
);
|
|
205
249
|
views.command("delete <id>").description("Delete a view. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
|
|
206
250
|
async (id, options) => run(async () => {
|
|
207
251
|
const result = await new DeeplineClient().deleteView(id);
|
|
@@ -235,7 +279,7 @@ Examples:
|
|
|
235
279
|
];
|
|
236
280
|
permissions.command("set").description(
|
|
237
281
|
"Change view rules (admins only). Each is members or admins."
|
|
238
|
-
).option("--create <level>", "Create views").option("--edit <level>", "Edit views").option("--delete <level>", "Delete views").option("--set-access <level>", "Make views public or workspace-only").option("--refresh <level>", "Refresh views and start Plays from them").option("--json", "Emit raw JSON response").action(
|
|
282
|
+
).option("--create <level>", "Create views").option("--edit <level>", "Edit views").option("--delete <level>", "Delete views").option("--set-access <level>", "Make views public or workspace-only, and manage share links").option("--refresh <level>", "Refresh views and start Plays from them").option("--json", "Emit raw JSON response").action(
|
|
239
283
|
async (options) => run(async () => {
|
|
240
284
|
const rules = {};
|
|
241
285
|
for (const verb of verbs) {
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkXBAH3TKUjs = require('./chunk-XBAH3TKU.js');
|
|
4
|
+
require('./chunk-2B4IOGFD.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-CQDQNZGH.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
14
|
+
var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.js');
|
|
15
|
+
require('./chunk-CWSLUNA6.js');
|
|
16
|
+
require('./chunk-2GJZLIKW.js');
|
|
17
17
|
require('./chunk-XNYIZMNQ.js');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-BBTKAASQ.js');
|
|
19
|
+
require('./chunk-CIDN5K23.js');
|
|
20
20
|
require('./chunk-OG64RBAC.js');
|
|
21
21
|
require('./chunk-COGTRVWW.js');
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ require('./chunk-COGTRVWW.js');
|
|
|
24
24
|
var _promises = require('fs/promises');
|
|
25
25
|
var VIEWS_FEATURE = "views";
|
|
26
26
|
function print(command, json, data, lines) {
|
|
27
|
-
|
|
27
|
+
_chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
|
|
28
28
|
{ command, ...data, render: { sections: [{ title: command, lines }] } },
|
|
29
29
|
{ json: Boolean(json), text: `${lines.join("\n")}
|
|
30
30
|
` }
|
|
@@ -56,7 +56,7 @@ function viewLines(view) {
|
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
function registerViewsCommands(program) {
|
|
59
|
-
const views = program.command("views", { hidden: !
|
|
59
|
+
const views = program.command("views", { hidden: !_chunkZILSRDINjs.cliFeatureEnabled.call(void 0, VIEWS_FEATURE) }).description(
|
|
60
60
|
"Show what a Play returns at a fixed URL on views.deepline.com."
|
|
61
61
|
).addHelpText(
|
|
62
62
|
"after",
|
|
@@ -69,7 +69,7 @@ Examples:
|
|
|
69
69
|
);
|
|
70
70
|
views.command("list").description("List this workspace's views.").option("--cursor <cursor>", "Continue from a previous page of results").option("--limit <n>", "Results per request, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
71
71
|
async (options) => run(async () => {
|
|
72
|
-
const result = await new (0,
|
|
72
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listViews({
|
|
73
73
|
cursor: options.cursor,
|
|
74
74
|
limit: options.limit
|
|
75
75
|
});
|
|
@@ -84,7 +84,7 @@ Examples:
|
|
|
84
84
|
);
|
|
85
85
|
views.command("get <id>").description("Show one view and what you may do with it.").option("--json", "Emit raw JSON response").action(
|
|
86
86
|
async (id, options) => run(async () => {
|
|
87
|
-
const view = await new (0,
|
|
87
|
+
const view = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getView(id);
|
|
88
88
|
print("views get", options.json, view, [
|
|
89
89
|
...viewLines(view),
|
|
90
90
|
` saved input ${JSON.stringify(view.input)}`
|
|
@@ -106,7 +106,7 @@ Examples:
|
|
|
106
106
|
`
|
|
107
107
|
).action(
|
|
108
108
|
async (options) => run(async () => {
|
|
109
|
-
const view = await new (0,
|
|
109
|
+
const view = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().createView({
|
|
110
110
|
name: options.name,
|
|
111
111
|
play: options.play,
|
|
112
112
|
...options.input !== void 0 ? {
|
|
@@ -146,7 +146,7 @@ Examples:
|
|
|
146
146
|
"Nothing to change. See: deepline views edit --help"
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
|
-
const view = await new (0,
|
|
149
|
+
const view = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().updateView(id, fields);
|
|
150
150
|
print(
|
|
151
151
|
"views edit",
|
|
152
152
|
options.json,
|
|
@@ -157,7 +157,7 @@ Examples:
|
|
|
157
157
|
);
|
|
158
158
|
views.command("runs <id>").description("List runs of the view's Play, newest first.").option("--limit <n>", "Runs to list, up to 100", Number).option("--json", "Emit raw JSON response").action(
|
|
159
159
|
async (id, options) => run(async () => {
|
|
160
|
-
const result = await new (0,
|
|
160
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listViewRuns(id, {
|
|
161
161
|
limit: options.limit
|
|
162
162
|
});
|
|
163
163
|
print("views runs", options.json, result, [
|
|
@@ -176,7 +176,7 @@ Examples:
|
|
|
176
176
|
).option("--json", "Emit raw JSON response").action(
|
|
177
177
|
async (id, options) => run(async () => {
|
|
178
178
|
const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
|
|
179
|
-
const started = await new (0,
|
|
179
|
+
const started = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().refreshView(id, input);
|
|
180
180
|
print("views refresh", options.json, started, [
|
|
181
181
|
`Started run ${started.workflowId}.`,
|
|
182
182
|
`Watch it: deepline runs get ${started.workflowId}`
|
|
@@ -190,7 +190,7 @@ Examples:
|
|
|
190
190
|
if (access !== "workspace" && access !== "public") {
|
|
191
191
|
throw new Error("Access is workspace or public.");
|
|
192
192
|
}
|
|
193
|
-
const view = await new (0,
|
|
193
|
+
const view = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().setViewAccess(
|
|
194
194
|
id,
|
|
195
195
|
access
|
|
196
196
|
);
|
|
@@ -202,9 +202,53 @@ Examples:
|
|
|
202
202
|
);
|
|
203
203
|
})
|
|
204
204
|
);
|
|
205
|
+
const links = views.command("links").description(
|
|
206
|
+
"Share a view with people outside the workspace through signed links, which can expire, be revoked, and be emailed from Deepline."
|
|
207
|
+
);
|
|
208
|
+
function linkLine(link) {
|
|
209
|
+
const expires = link.expires_at === null ? "no expiry" : `expires ${new Date(link.expires_at).toISOString()}`;
|
|
210
|
+
const sent = link.sent_to.length ? ` \xB7 sent to ${link.sent_to.join(", ")}` : "";
|
|
211
|
+
return `${link.id} ${link.status} ${_nullishCoalesce(link.label, () => ( "(no label)"))} ${expires}${sent}`;
|
|
212
|
+
}
|
|
213
|
+
links.command("list <id>", { isDefault: true }).description("List a view's share links. Their URLs are shown only once, when created.").option("--json", "Emit raw JSON response").action(
|
|
214
|
+
async (id, options) => run(async () => {
|
|
215
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listViewShareLinks(id);
|
|
216
|
+
print(
|
|
217
|
+
"views links list",
|
|
218
|
+
options.json,
|
|
219
|
+
result,
|
|
220
|
+
result.links.length ? result.links.map(linkLine) : ["No share links."]
|
|
221
|
+
);
|
|
222
|
+
})
|
|
223
|
+
);
|
|
224
|
+
links.command("create <id>").description(
|
|
225
|
+
"Create a share link. Whoever holds it can open the view, see every run and its input, but not refresh it or start Plays. The URL is printed once; keep it."
|
|
226
|
+
).requiredOption("--expires <expiry>", "How long the link lasts: 1d, 7d, 30d or never").option("--label <label>", "What the link is for, shown in the list").option("--email <emails>", "Comma-separated addresses Deepline emails the link to").option("--json", "Emit raw JSON response").action(
|
|
227
|
+
async (id, options) => run(async () => {
|
|
228
|
+
const emails = options.email ? String(options.email).split(",").map((email) => email.trim()).filter(Boolean) : void 0;
|
|
229
|
+
const link = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().createViewShareLink(id, {
|
|
230
|
+
expires: options.expires,
|
|
231
|
+
...options.label ? { label: options.label } : {},
|
|
232
|
+
...emails ? { emails } : {}
|
|
233
|
+
});
|
|
234
|
+
print("views links create", options.json, link, [
|
|
235
|
+
linkLine(link),
|
|
236
|
+
link.url ? `URL (shown once): ${link.url}` : _nullishCoalesce(link.message, () => ( "The URL was shown when this link was created.")),
|
|
237
|
+
...link.not_emailed.length ? [
|
|
238
|
+
`Not emailed (address bounced or complained before): ${link.not_emailed.join(", ")}`
|
|
239
|
+
] : []
|
|
240
|
+
]);
|
|
241
|
+
})
|
|
242
|
+
);
|
|
243
|
+
links.command("revoke <id> <linkId>").description("Revoke a share link. It stops opening the view at once.").option("--json", "Emit raw JSON response").action(
|
|
244
|
+
async (id, linkId, options) => run(async () => {
|
|
245
|
+
const link = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().revokeViewShareLink(id, linkId);
|
|
246
|
+
print("views links revoke", options.json, link, [linkLine(link)]);
|
|
247
|
+
})
|
|
248
|
+
);
|
|
205
249
|
views.command("delete <id>").description("Delete a view. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
|
|
206
250
|
async (id, options) => run(async () => {
|
|
207
|
-
const result = await new (0,
|
|
251
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().deleteView(id);
|
|
208
252
|
print("views delete", options.json, result, [
|
|
209
253
|
`Deleted view ${id}.`
|
|
210
254
|
]);
|
|
@@ -215,7 +259,7 @@ Examples:
|
|
|
215
259
|
);
|
|
216
260
|
permissions.command("get", { isDefault: true }).description("Show the workspace's view rules and what you may do.").option("--json", "Emit raw JSON response").action(
|
|
217
261
|
async (options) => run(async () => {
|
|
218
|
-
const result = await new (0,
|
|
262
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getViewPermissions();
|
|
219
263
|
print("views permissions", options.json, result, [
|
|
220
264
|
...Object.entries(result.rules).map(
|
|
221
265
|
([verb, level]) => `${verb}: ${level}`
|
|
@@ -235,7 +279,7 @@ Examples:
|
|
|
235
279
|
];
|
|
236
280
|
permissions.command("set").description(
|
|
237
281
|
"Change view rules (admins only). Each is members or admins."
|
|
238
|
-
).option("--create <level>", "Create views").option("--edit <level>", "Edit views").option("--delete <level>", "Delete views").option("--set-access <level>", "Make views public or workspace-only").option("--refresh <level>", "Refresh views and start Plays from them").option("--json", "Emit raw JSON response").action(
|
|
282
|
+
).option("--create <level>", "Create views").option("--edit <level>", "Edit views").option("--delete <level>", "Delete views").option("--set-access <level>", "Make views public or workspace-only, and manage share links").option("--refresh <level>", "Refresh views and start Plays from them").option("--json", "Emit raw JSON response").action(
|
|
239
283
|
async (options) => run(async () => {
|
|
240
284
|
const rules = {};
|
|
241
285
|
for (const verb of verbs) {
|
|
@@ -253,7 +297,7 @@ Examples:
|
|
|
253
297
|
"Pass at least one rule. See: deepline views permissions set --help"
|
|
254
298
|
);
|
|
255
299
|
}
|
|
256
|
-
const result = await new (0,
|
|
300
|
+
const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().setViewPermissions(rules);
|
|
257
301
|
print(
|
|
258
302
|
"views permissions set",
|
|
259
303
|
options.json,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-H7HIDGZ7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DeeplineClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-WC5M3JXE.mjs";
|
|
10
|
+
import "./chunk-BASLYGXK.mjs";
|
|
11
11
|
import "./chunk-L2VKAASU.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z2XA6YU4.mjs";
|
|
13
13
|
import "./chunk-PSX3WHIH.mjs";
|
|
14
14
|
import "./chunk-UBKA33KY.mjs";
|
|
15
15
|
import {
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
printJson,
|
|
18
18
|
shouldEmitJson,
|
|
19
19
|
sleep
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
21
|
+
import "./chunk-3PCYV6ZJ.mjs";
|
|
22
|
+
import "./chunk-YRLAUGQY.mjs";
|
|
23
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
24
24
|
import "./chunk-DLIRSHV6.mjs";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
26
|
+
import "./chunk-GHLDCLSC.mjs";
|
|
27
27
|
import "./chunk-WZYKRD7T.mjs";
|
|
28
28
|
import "./chunk-KRD6H754.mjs";
|
|
29
29
|
|
|
@@ -1702,7 +1702,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1702
1702
|
await writeFile(file, compiled.sourceCode, "utf8");
|
|
1703
1703
|
let published = false;
|
|
1704
1704
|
if (publish) {
|
|
1705
|
-
const { handlePlayPublish } = await import("./play-
|
|
1705
|
+
const { handlePlayPublish } = await import("./play-ILW6MSNG.mjs");
|
|
1706
1706
|
const code = await handlePlayPublish([file]);
|
|
1707
1707
|
if (code !== 0) {
|
|
1708
1708
|
return {
|
|
@@ -6,10 +6,10 @@ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
|
6
6
|
var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkXBAH3TKUjs = require('./chunk-XBAH3TKU.js');
|
|
10
|
+
require('./chunk-2B4IOGFD.js');
|
|
11
11
|
require('./chunk-E4CABWXL.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-CQDQNZGH.js');
|
|
13
13
|
require('./chunk-PMH4GLMD.js');
|
|
14
14
|
require('./chunk-XDVT3GOM.js');
|
|
15
15
|
|
|
@@ -17,13 +17,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
20
|
+
var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
|
|
21
|
+
require('./chunk-ZILSRDIN.js');
|
|
22
|
+
require('./chunk-CWSLUNA6.js');
|
|
23
|
+
require('./chunk-2GJZLIKW.js');
|
|
24
24
|
require('./chunk-XNYIZMNQ.js');
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-BBTKAASQ.js');
|
|
26
|
+
require('./chunk-CIDN5K23.js');
|
|
27
27
|
require('./chunk-OG64RBAC.js');
|
|
28
28
|
require('./chunk-COGTRVWW.js');
|
|
29
29
|
|
|
@@ -1629,18 +1629,18 @@ function noticeToStderr(command) {
|
|
|
1629
1629
|
);
|
|
1630
1630
|
}
|
|
1631
1631
|
function emitPassThrough(command, payload, options) {
|
|
1632
|
-
const json =
|
|
1632
|
+
const json = _chunkLN6RXDTBjs.shouldEmitJson.call(void 0, options.json);
|
|
1633
1633
|
const deprecation = migrationDeprecation(command);
|
|
1634
1634
|
if (json) {
|
|
1635
1635
|
const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
|
|
1636
|
-
|
|
1636
|
+
_chunkLN6RXDTBjs.printJson.call(void 0, enriched);
|
|
1637
1637
|
return;
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
_chunkLN6RXDTBjs.printJson.call(void 0, payload);
|
|
1640
1640
|
noticeToStderr(command);
|
|
1641
1641
|
}
|
|
1642
1642
|
function client() {
|
|
1643
|
-
return new (0,
|
|
1643
|
+
return new (0, _chunkXBAH3TKUjs.DeeplineClient)();
|
|
1644
1644
|
}
|
|
1645
1645
|
function clientWithTimeout(timeoutSeconds) {
|
|
1646
1646
|
if (!timeoutSeconds) return client();
|
|
@@ -1648,7 +1648,7 @@ function clientWithTimeout(timeoutSeconds) {
|
|
|
1648
1648
|
if (!Number.isFinite(seconds) || seconds <= 0) {
|
|
1649
1649
|
throw new Error("--timeout must be a positive number of seconds.");
|
|
1650
1650
|
}
|
|
1651
|
-
return new (0,
|
|
1651
|
+
return new (0, _chunkXBAH3TKUjs.DeeplineClient)({ timeout: seconds * 1e3 });
|
|
1652
1652
|
}
|
|
1653
1653
|
function readStatus(payload) {
|
|
1654
1654
|
if (!payload || typeof payload !== "object") return null;
|
|
@@ -1702,7 +1702,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1702
1702
|
await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
|
|
1703
1703
|
let published = false;
|
|
1704
1704
|
if (publish) {
|
|
1705
|
-
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
1705
|
+
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WJOWK5PQ.js")));
|
|
1706
1706
|
const code = await handlePlayPublish([file]);
|
|
1707
1707
|
if (code !== 0) {
|
|
1708
1708
|
return {
|
|
@@ -1777,10 +1777,10 @@ async function handleTransform(id, options) {
|
|
|
1777
1777
|
for (const workflowId of ids) {
|
|
1778
1778
|
outcomes.push(await transformOne(api, workflowId, outDir, publish));
|
|
1779
1779
|
}
|
|
1780
|
-
|
|
1780
|
+
_chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
|
|
1781
1781
|
{ outcomes, deprecation: null },
|
|
1782
1782
|
{
|
|
1783
|
-
json:
|
|
1783
|
+
json: _chunkLN6RXDTBjs.shouldEmitJson.call(void 0, options.json),
|
|
1784
1784
|
text: renderTransformReport(outcomes)
|
|
1785
1785
|
}
|
|
1786
1786
|
);
|
|
@@ -1801,11 +1801,11 @@ async function handleDelete(id, options) {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
async function handleDisable(id, options) {
|
|
1803
1803
|
const result = await client().disableWorkflow(id);
|
|
1804
|
-
|
|
1804
|
+
_chunkLN6RXDTBjs.printJson.call(void 0, result);
|
|
1805
1805
|
}
|
|
1806
1806
|
async function handleEnable(id, options) {
|
|
1807
1807
|
const result = await client().enableWorkflow(id);
|
|
1808
|
-
|
|
1808
|
+
_chunkLN6RXDTBjs.printJson.call(void 0, result);
|
|
1809
1809
|
}
|
|
1810
1810
|
async function handleApply(options) {
|
|
1811
1811
|
const body = await readJsonOption(options.payload, options.file);
|
|
@@ -1870,7 +1870,7 @@ async function handleTail(id, runId, options) {
|
|
|
1870
1870
|
if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
|
|
1871
1871
|
return;
|
|
1872
1872
|
}
|
|
1873
|
-
await
|
|
1873
|
+
await _chunkLN6RXDTBjs.sleep.call(void 0, intervalMs);
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
function registerWorkflowCommands(program) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-rX7n2H8U.mjs';
|
|
3
3
|
|
|
4
4
|
/** Deepline SDK client with environment and local credential discovery. */
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-
|
|
2
|
+
import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-CDwapXy5.js';
|
|
3
3
|
|
|
4
4
|
/** Deepline SDK client with environment and local credential discovery. */
|
|
5
5
|
|