deepline 0.3.473 → 0.3.475
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 +4 -1
- package/dist/bundling-sources/sdk/src/play.ts +7 -2
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +3 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +101 -2
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +62 -20
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +24 -8
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +19 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +196 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +40 -17
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +222 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +46 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +9 -5
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +39 -15
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +18 -8
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +64 -35
- package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
- package/dist/cli/auth-7GVCW24N.js +41 -0
- package/dist/cli/{auth-KLJOQ4DZ.mjs → auth-CFDYJ7FZ.mjs} +5 -5
- package/dist/cli/{billing-DNDYNBQ7.mjs → billing-PEXWWLRT.mjs} +12 -10
- package/dist/cli/{billing-IQNJXKH5.js → billing-XLIL3FLK.js} +85 -83
- package/dist/cli/{chunk-4U3RNA3J.js → chunk-3MQJJ6YX.js} +51 -51
- package/dist/cli/{chunk-EUHTZV2E.mjs → chunk-3QSFSHCJ.mjs} +1 -1
- package/dist/cli/{chunk-CNCK2D6B.mjs → chunk-3WVA7E7O.mjs} +2 -2
- package/dist/cli/{chunk-NTFM7JQW.mjs → chunk-42F6LTBJ.mjs} +3 -3
- package/dist/cli/{chunk-V25CXRQ7.mjs → chunk-4QHAP3MR.mjs} +5 -5
- package/dist/cli/{chunk-3LFSIUFI.js → chunk-4QHQ3WYW.js} +21 -21
- package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
- package/dist/cli/{chunk-VS7JKS22.mjs → chunk-6PRYHABU.mjs} +1 -1
- package/dist/cli/{chunk-63OOFT6B.js → chunk-7SWRXZ4A.js} +93 -93
- package/dist/cli/{chunk-6YOGOXOJ.mjs → chunk-7U3L2S7X.mjs} +10 -10
- package/dist/cli/{chunk-D4B3EV55.js → chunk-7XTBEYLS.js} +36 -36
- package/dist/cli/{chunk-QD6IW2HP.mjs → chunk-AD7KL6AI.mjs} +4 -4
- package/dist/cli/{chunk-YH5SFKHJ.js → chunk-B7NJ5JQ2.js} +4 -4
- package/dist/cli/{chunk-F4PUDYBY.js → chunk-BLW2K6YH.js} +3 -3
- package/dist/cli/{chunk-N4ZCMQ54.js → chunk-BSK2TGB4.js} +8 -8
- package/dist/cli/{chunk-QG3THSTN.mjs → chunk-BVAYLXMH.mjs} +2 -2
- package/dist/cli/{chunk-IC6AHOYS.js → chunk-CKSRTD45.js} +1 -1
- package/dist/cli/{chunk-RVRG57OB.js → chunk-D3Q4FUFS.js} +8 -8
- package/dist/cli/{chunk-ABLEU3QI.mjs → chunk-D6SXN34W.mjs} +4 -4
- package/dist/cli/{chunk-GTH7JORC.mjs → chunk-DIMKSDF6.mjs} +2 -2
- package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
- package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
- package/dist/cli/{chunk-6QS7522K.mjs → chunk-EA45HSEC.mjs} +2 -2
- package/dist/cli/{chunk-TUFQFTOC.js → chunk-F4FNMXI3.js} +53 -53
- package/dist/cli/{chunk-3OPQLFUK.mjs → chunk-FC4C7MZM.mjs} +4 -4
- package/dist/cli/{chunk-WGQKOLXH.js → chunk-G4SGYWKV.js} +6 -6
- package/dist/cli/{chunk-GISBRE2H.mjs → chunk-HALAYT3Y.mjs} +3 -3
- package/dist/cli/{chunk-GQBAJTQU.mjs → chunk-HMHH7JQD.mjs} +2 -2
- package/dist/cli/{chunk-PMJAGTSQ.js → chunk-KTWXY73Q.js} +5 -5
- package/dist/cli/{chunk-GAWP2YF5.mjs → chunk-M27SSAQ7.mjs} +1 -1
- package/dist/cli/{chunk-UON3WCBD.js → chunk-M4QO3GRD.js} +3 -3
- package/dist/cli/{chunk-36KEQFWZ.js → chunk-M7K5BCWP.js} +10 -10
- package/dist/cli/{chunk-SWAYZST7.mjs → chunk-MUDOASYL.mjs} +2 -2
- package/dist/cli/{chunk-D22QIUE3.js → chunk-NBVYS6VG.js} +9 -9
- package/dist/cli/{chunk-GE5GPLNM.mjs → chunk-NGOKBSBH.mjs} +1 -1
- package/dist/cli/{chunk-VGVSHQN5.mjs → chunk-NHQP4UPJ.mjs} +5 -5
- package/dist/cli/{chunk-3J2N7YF5.js → chunk-QKMWQTMI.js} +3 -3
- package/dist/cli/{chunk-B3BM3PAI.js → chunk-TLPW2SHS.js} +6 -6
- package/dist/cli/{chunk-QI73EL5C.js → chunk-TZRTT7EI.js} +26 -26
- package/dist/cli/{chunk-DD7E4ZVH.js → chunk-U3F63UWD.js} +7 -7
- package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
- package/dist/cli/{chunk-YHB6MASP.js → chunk-VBGPRRJ6.js} +2 -2
- package/dist/cli/{chunk-HQCTPAXP.mjs → chunk-VD3E3QMI.mjs} +1 -1
- package/dist/cli/{chunk-X6R5UNDZ.mjs → chunk-VFP3MFLD.mjs} +1 -1
- package/dist/cli/{chunk-EVLUSXQG.mjs → chunk-VTCXSICG.mjs} +2 -2
- package/dist/cli/{chunk-TBLBYIKO.mjs → chunk-YAAQNDP6.mjs} +1 -1
- package/dist/cli/{chunk-IFZ76E5H.mjs → chunk-YMS7VYFA.mjs} +1 -1
- package/dist/cli/{chunk-OHUGXZ7N.js → chunk-Z5VSBCFV.js} +16 -16
- package/dist/cli/{chunk-ZVLYUKJU.js → chunk-ZANUM4XV.js} +5 -5
- package/dist/cli/{chunk-MREO5LZD.js → chunk-ZQYBKDPA.js} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-OVV3HWN4.js → csv-4YHSYV2C.js} +13 -13
- package/dist/cli/{csv-NCY5MWS2.mjs → csv-WC7ILC7P.mjs} +4 -4
- package/dist/cli/{db-BOELNDS4.js → db-APZNM2GI.js} +27 -27
- package/dist/cli/{db-VPH6JHUD.mjs → db-I5PV6NTC.mjs} +6 -6
- package/dist/cli/describe-OR7FZBCD.js +48 -0
- package/dist/cli/{describe-FFDCPYZH.mjs → describe-XH5F3X5W.mjs} +17 -17
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-5GCCDENS.mjs → executions-PIY4XM7T.mjs} +6 -6
- package/dist/cli/{executions-RF44ANF5.js → executions-VIXFKZYU.js} +8 -8
- package/dist/cli/{feedback-OI2A5L6F.mjs → feedback-IGDHBWGT.mjs} +4 -4
- package/dist/cli/{feedback-NJM3V7QV.js → feedback-WCLIFQTR.js} +8 -8
- package/dist/cli/git-CKN2F32Y.js +25 -0
- package/dist/cli/{git-EOGSZ3T2.mjs → git-FRICPPTA.mjs} +5 -5
- package/dist/cli/index.js +139 -139
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-5QM7XGGX.js → legacy-noops-DSFOPYDY.js} +8 -8
- package/dist/cli/{legacy-noops-UYKK7AAB.mjs → legacy-noops-ROAXEG6D.mjs} +5 -5
- package/dist/cli/{monitors-N3ITC5MP.mjs → monitors-FZ5PRLW6.mjs} +7 -7
- package/dist/cli/{monitors-52GW2V4V.js → monitors-KUCYQLU5.js} +91 -91
- package/dist/cli/{org-KUZUG33W.mjs → org-DRNND5XU.mjs} +6 -6
- package/dist/cli/{org-ADF47NPV.js → org-SRHMWKQR.js} +72 -72
- package/dist/cli/{pages-H3H7ODBN.js → pages-TEJQIHTU.js} +17 -17
- package/dist/cli/{pages-C3S5WU3S.mjs → pages-XNGA356T.mjs} +6 -6
- package/dist/cli/{play-YWZWBG32.js → play-GCGFQSFP.js} +662 -601
- package/dist/cli/{play-SZETTQPV.mjs → play-NE45ROIZ.mjs} +110 -49
- package/dist/cli/{providers-FSCD35HB.mjs → providers-57TJOSMV.mjs} +6 -6
- package/dist/cli/{providers-V3BP7ZB2.js → providers-VHMUR63R.js} +9 -9
- package/dist/cli/{quickstart-ICULVGAR.js → quickstart-BPXWO4UD.js} +6 -6
- package/dist/cli/{quickstart-SYZCT2WI.mjs → quickstart-K3SH4NXP.mjs} +4 -4
- package/dist/cli/{run-WUJSKGUM.js → run-553AAXDU.js} +36 -36
- package/dist/cli/{run-HA5B3AYQ.mjs → run-ZRWJUEN2.mjs} +22 -22
- package/dist/cli/{search-A27AGYDV.mjs → search-BW6XRS4I.mjs} +7 -7
- package/dist/cli/search-WF26AUDJ.js +32 -0
- package/dist/cli/{secrets-ODX56QBF.js → secrets-AMYQYUL5.js} +15 -15
- package/dist/cli/{secrets-2L4VRJ2F.mjs → secrets-OYYCFGZE.mjs} +6 -6
- package/dist/cli/{sessions-PRF36DHO.mjs → sessions-O4SVVOMO.mjs} +5 -5
- package/dist/cli/{sessions-DVZ4FECP.js → sessions-RYCJUMJ2.js} +6 -6
- package/dist/cli/{settings-RJT5DBWG.js → settings-7R5FQKII.js} +78 -78
- package/dist/cli/{settings-LUATIKJE.mjs → settings-QK7DHDU7.mjs} +11 -11
- package/dist/cli/{setup-FJSBKCLU.js → setup-OTQDQHDN.js} +44 -44
- package/dist/cli/{setup-IQXTYLRH.mjs → setup-VDAAVCKK.mjs} +9 -9
- package/dist/cli/{skills-XJH4ZC5Y.mjs → skills-HRK5O5JO.mjs} +7 -7
- package/dist/cli/skills-VNLMEOXW.js +31 -0
- package/dist/cli/tools-C3MUHL7G.js +55 -0
- package/dist/cli/{tools-IGXLZCKZ.mjs → tools-O7BM62QV.mjs} +16 -16
- package/dist/cli/update-TCKTU6QJ.js +33 -0
- package/dist/cli/{update-AH7G5VSL.mjs → update-UHKHCSTY.mjs} +9 -9
- package/dist/cli/{workflow-IQ2J7LWM.js → workflow-7Z5NCTGG.js} +17 -17
- package/dist/cli/{workflow-WOYSCWVD.mjs → workflow-T2EDR7L4.mjs} +7 -7
- package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
- package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
- package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
- package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
- package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
- package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
- package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
- package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
- package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
- package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
- package/dist/index.d.mts +14 -9
- package/dist/index.d.ts +14 -9
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +111 -110
- 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 +1 -1
- 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/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 +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-IJOWKNSB.js +0 -41
- package/dist/cli/describe-7SFESEFL.js +0 -48
- package/dist/cli/git-4V5ZS5SE.js +0 -25
- package/dist/cli/search-XATDPNEM.js +0 -32
- package/dist/cli/skills-N6CPBF6T.js +0 -31
- package/dist/cli/tools-YMVEVRCE.js +0 -55
- package/dist/cli/update-MUCWGTXH.js +0 -33
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findNamed,
|
|
3
3
|
nothingNamed
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-D6SXN34W.mjs";
|
|
5
|
+
import "./chunk-7U3L2S7X.mjs";
|
|
6
6
|
import {
|
|
7
7
|
looksLikeFilePath,
|
|
8
8
|
resolvePlayRunCliOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VTCXSICG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
openLogDestination,
|
|
12
12
|
preflightExecutionOutput,
|
|
13
13
|
writeExecutionOutput
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-YMS7VYFA.mjs";
|
|
15
|
+
import "./chunk-HALAYT3Y.mjs";
|
|
16
16
|
import {
|
|
17
17
|
DEEPLINE_NAMESPACE
|
|
18
18
|
} from "./chunk-OWUZKXE7.mjs";
|
|
@@ -23,29 +23,29 @@ import "./chunk-LJ5747UC.mjs";
|
|
|
23
23
|
import "./chunk-F6QV42MC.mjs";
|
|
24
24
|
import "./chunk-FR2ILQ4G.mjs";
|
|
25
25
|
import "./chunk-FIVKWNMT.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DIMKSDF6.mjs";
|
|
27
27
|
import "./chunk-3RGWTKK3.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VFP3MFLD.mjs";
|
|
29
29
|
import "./chunk-L2VKAASU.mjs";
|
|
30
30
|
import "./chunk-NELMCOWK.mjs";
|
|
31
31
|
import "./chunk-S3A4IXBQ.mjs";
|
|
32
32
|
import "./chunk-UBKA33KY.mjs";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-4QHAP3MR.mjs";
|
|
34
|
+
import "./chunk-NHQP4UPJ.mjs";
|
|
35
|
+
import "./chunk-6PRYHABU.mjs";
|
|
36
|
+
import "./chunk-AD7KL6AI.mjs";
|
|
37
|
+
import "./chunk-VD3E3QMI.mjs";
|
|
38
|
+
import "./chunk-FC4C7MZM.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-M27SSAQ7.mjs";
|
|
42
|
+
import "./chunk-BVAYLXMH.mjs";
|
|
43
|
+
import "./chunk-NGOKBSBH.mjs";
|
|
44
|
+
import "./chunk-3QSFSHCJ.mjs";
|
|
45
45
|
import "./chunk-4QF2K7TM.mjs";
|
|
46
46
|
import "./chunk-DLIRSHV6.mjs";
|
|
47
47
|
import "./chunk-HBL4PM5Q.mjs";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-YAAQNDP6.mjs";
|
|
49
49
|
import "./chunk-WZYKRD7T.mjs";
|
|
50
50
|
import "./chunk-KRD6H754.mjs";
|
|
51
51
|
|
|
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
|
|
|
114
114
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
115
115
|
}
|
|
116
116
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
117
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
117
|
+
const { parseToolExecuteTimeout } = await import("./tools-O7BM62QV.mjs");
|
|
118
118
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
119
119
|
}
|
|
120
120
|
} catch (error) {
|
|
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
|
|
|
135
135
|
if (name !== void 0) {
|
|
136
136
|
return refuse("Use a name or -e, not both.", output);
|
|
137
137
|
}
|
|
138
|
-
const { writeInlinePlay } = await import("./play-
|
|
138
|
+
const { writeInlinePlay } = await import("./play-NE45ROIZ.mjs");
|
|
139
139
|
let file;
|
|
140
140
|
try {
|
|
141
141
|
file = writeInlinePlay(options.eval);
|
|
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
|
|
|
195
195
|
if (runner.via === "play") {
|
|
196
196
|
return runPlay(runner.reference, { ...play, revision });
|
|
197
197
|
}
|
|
198
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
198
|
+
const { executeToolForReceipt } = await import("./tools-O7BM62QV.mjs");
|
|
199
199
|
return executeToolForReceipt({
|
|
200
200
|
toolId: runner.toolId,
|
|
201
201
|
params: input,
|
|
@@ -226,7 +226,7 @@ function dryRun(described, input, output) {
|
|
|
226
226
|
return missing.length ? 2 : 0;
|
|
227
227
|
}
|
|
228
228
|
async function runPlay(reference, play) {
|
|
229
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
229
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-NE45ROIZ.mjs");
|
|
230
230
|
const { output, options, revision } = play;
|
|
231
231
|
if (options.dryRun) {
|
|
232
232
|
return handlePlayRun(
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HALAYT3Y.mjs";
|
|
9
9
|
import "./chunk-LJ5747UC.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-DIMKSDF6.mjs";
|
|
11
|
+
import "./chunk-VFP3MFLD.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
13
|
import "./chunk-NELMCOWK.mjs";
|
|
14
14
|
import "./chunk-S3A4IXBQ.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BVAYLXMH.mjs";
|
|
17
|
+
import "./chunk-NGOKBSBH.mjs";
|
|
18
|
+
import "./chunk-3QSFSHCJ.mjs";
|
|
19
19
|
import "./chunk-4QF2K7TM.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-HBL4PM5Q.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YAAQNDP6.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkD3Q4FUFSjs = require('./chunk-D3Q4FUFS.js');
|
|
9
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
10
|
+
require('./chunk-KTWXY73Q.js');
|
|
11
|
+
require('./chunk-G4SGYWKV.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-JDMR33HS.js');
|
|
14
|
+
require('./chunk-NMU3VR5U.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-U3F63UWD.js');
|
|
17
|
+
require('./chunk-BLW2K6YH.js');
|
|
18
|
+
require('./chunk-B7NJ5JQ2.js');
|
|
19
|
+
require('./chunk-ALJJRZNJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-DIAWYWT5.js');
|
|
22
|
+
require('./chunk-CKSRTD45.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkD3Q4FUFSjs.SEARCH_TYPES; exports.appendCsv = _chunkD3Q4FUFSjs.appendCsv; exports.parseTypes = _chunkD3Q4FUFSjs.parseTypes; exports.pointAtDescribe = _chunkD3Q4FUFSjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkD3Q4FUFSjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkD3Q4FUFSjs.registerSearchCommand;
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkKTWXY73Qjs = require('./chunk-KTWXY73Q.js');
|
|
4
|
+
require('./chunk-G4SGYWKV.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-JDMR33HS.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -9,13 +9,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
|
|
13
|
+
require('./chunk-BLW2K6YH.js');
|
|
14
|
+
require('./chunk-B7NJ5JQ2.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-CKSRTD45.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
@@ -207,9 +207,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async function handleList(options) {
|
|
210
|
-
const client = new (0,
|
|
210
|
+
const client = new (0, _chunkKTWXY73Qjs.DeeplineClient)();
|
|
211
211
|
const secrets = await client.listSecrets();
|
|
212
|
-
|
|
212
|
+
_chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
secrets,
|
|
215
215
|
count: secrets.length,
|
|
@@ -227,14 +227,14 @@ async function handleList(options) {
|
|
|
227
227
|
}
|
|
228
228
|
async function handleCheck(nameInput, options) {
|
|
229
229
|
const name = normalizeSecretName(nameInput);
|
|
230
|
-
const client = new (0,
|
|
230
|
+
const client = new (0, _chunkKTWXY73Qjs.DeeplineClient)();
|
|
231
231
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
232
232
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
233
233
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
234
234
|
const ok = check ? check.ok : Boolean(secret);
|
|
235
235
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
236
236
|
const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
|
|
237
|
-
|
|
237
|
+
_chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
|
|
238
238
|
{
|
|
239
239
|
ok,
|
|
240
240
|
name,
|
|
@@ -262,7 +262,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
262
262
|
const name = normalizeSecretName(nameInput);
|
|
263
263
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
264
264
|
const value = await readSecretValueFromOptions(options);
|
|
265
|
-
const { http } =
|
|
265
|
+
const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
|
|
266
266
|
const response = await http.post(
|
|
267
267
|
"/api/v2/secrets",
|
|
268
268
|
{
|
|
@@ -274,7 +274,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
276
|
const secret = response.secret;
|
|
277
|
-
|
|
277
|
+
_chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
|
|
278
278
|
{
|
|
279
279
|
ok: true,
|
|
280
280
|
secret,
|
|
@@ -302,7 +302,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
302
302
|
}
|
|
303
303
|
const note = options.clear ? "" : noteInput;
|
|
304
304
|
if (options.dryRun) {
|
|
305
|
-
|
|
305
|
+
_chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
|
|
306
306
|
{
|
|
307
307
|
ok: true,
|
|
308
308
|
dryRun: true,
|
|
@@ -323,9 +323,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
323
323
|
);
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
|
-
const client = new (0,
|
|
326
|
+
const client = new (0, _chunkKTWXY73Qjs.DeeplineClient)();
|
|
327
327
|
const secret = await client.updateSecretNote(secretId, note);
|
|
328
|
-
|
|
328
|
+
_chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
|
|
329
329
|
{
|
|
330
330
|
ok: true,
|
|
331
331
|
secret,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DIMKSDF6.mjs";
|
|
4
|
+
import "./chunk-VFP3MFLD.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-NELMCOWK.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-BVAYLXMH.mjs";
|
|
13
|
+
import "./chunk-NGOKBSBH.mjs";
|
|
14
|
+
import "./chunk-3QSFSHCJ.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YAAQNDP6.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands,
|
|
3
3
|
registerSessionsCommands
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3WVA7E7O.mjs";
|
|
5
|
+
import "./chunk-BVAYLXMH.mjs";
|
|
6
|
+
import "./chunk-NGOKBSBH.mjs";
|
|
7
|
+
import "./chunk-3QSFSHCJ.mjs";
|
|
8
8
|
import "./chunk-4QF2K7TM.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-HBL4PM5Q.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YAAQNDP6.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
4
|
+
var _chunkBSK2TGB4js = require('./chunk-BSK2TGB4.js');
|
|
5
|
+
require('./chunk-U3F63UWD.js');
|
|
6
|
+
require('./chunk-BLW2K6YH.js');
|
|
7
|
+
require('./chunk-B7NJ5JQ2.js');
|
|
8
8
|
require('./chunk-ALJJRZNJ.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
10
|
require('./chunk-DIAWYWT5.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-CKSRTD45.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
require('./chunk-COGTRVWW.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.registerSessionSendRenderCommands =
|
|
17
|
+
exports.registerSessionSendRenderCommands = _chunkBSK2TGB4js.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkBSK2TGB4js.registerSessionsCommands;
|