deepline 0.3.523 → 0.3.524
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 +60 -60
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +60 -14
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-delivery.ts +9 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +359 -22
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +388 -13
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +28 -0
- package/dist/cli/auth-OKPHHMMP.js +43 -0
- package/dist/cli/{auth-ENQUQS56.mjs → auth-QXJMVLPN.mjs} +5 -5
- package/dist/cli/{billing-6HONTJOY.js → billing-N5R4HTHT.js} +82 -82
- package/dist/cli/{billing-6A27ULCX.mjs → billing-SNSIFM4B.mjs} +7 -7
- package/dist/cli/{chunk-326WVSWS.js → chunk-2ZWNIS54.js} +98 -98
- package/dist/cli/{chunk-JGZQBDYG.mjs → chunk-2ZX7XSAQ.mjs} +4 -4
- package/dist/cli/{chunk-6DBRBWHC.mjs → chunk-3WWTBQHC.mjs} +2 -2
- package/dist/cli/{chunk-KILRUAXF.mjs → chunk-536TGWR6.mjs} +1 -1
- package/dist/cli/{chunk-MZROKQV3.js → chunk-66N76YZG.js} +44 -44
- package/dist/cli/{chunk-IEVXYHGJ.js → chunk-7E6B7VMS.js} +5 -5
- package/dist/cli/{chunk-QYXIODWH.js → chunk-7OQGZBDG.js} +31 -23
- package/dist/cli/{chunk-4NWY7JBB.js → chunk-7QM6DNR4.js} +11 -11
- package/dist/cli/{chunk-HUC5SGJQ.js → chunk-ANKD3AIR.js} +2 -2
- package/dist/cli/{chunk-2BRDHM4S.js → chunk-ATATJNJ6.js} +9 -9
- package/dist/cli/{chunk-QSAC3IVI.mjs → chunk-BXIQD2IY.mjs} +1 -1
- package/dist/cli/{chunk-S4YKRH3W.js → chunk-BXVYVIMB.js} +3 -3
- package/dist/cli/{chunk-NWTMQGPP.mjs → chunk-CH7JVSA7.mjs} +6 -6
- package/dist/cli/{chunk-4V63IJCL.mjs → chunk-EO55Y4QW.mjs} +5 -5
- package/dist/cli/{chunk-FBMOBNJY.js → chunk-EQNAQENZ.js} +2 -2
- package/dist/cli/{chunk-QOO5W5XS.mjs → chunk-FXTV5B3D.mjs} +10 -10
- package/dist/cli/{chunk-HSVGP4CI.mjs → chunk-GMO3JDZA.mjs} +2 -2
- package/dist/cli/{chunk-V46J3UTM.js → chunk-GTGJBZVH.js} +7 -7
- package/dist/cli/{chunk-WVQOXYTQ.mjs → chunk-HLAFGQPV.mjs} +33 -33
- package/dist/cli/{chunk-PESMXAUG.js → chunk-HTYT2OHB.js} +6 -6
- package/dist/cli/{chunk-ZWN4RXC2.js → chunk-I75VRGQG.js} +22 -22
- package/dist/cli/{chunk-PCORO245.mjs → chunk-II3BJKCH.mjs} +2 -2
- package/dist/cli/{chunk-WGVJA4I5.js → chunk-JDIQBZ6O.js} +14 -14
- package/dist/cli/{chunk-UH3EAFFN.mjs → chunk-KKPBCB6D.mjs} +2 -2
- package/dist/cli/{chunk-RKREB7MU.mjs → chunk-KSQXBLRW.mjs} +3 -3
- package/dist/cli/{chunk-36LQQL5C.js → chunk-LRWDZDBS.js} +5 -5
- package/dist/cli/{chunk-SXTVJIGB.mjs → chunk-MW3YMPD2.mjs} +1 -1
- package/dist/cli/{chunk-5WFQXAD4.mjs → chunk-NUC7ZVDG.mjs} +5 -5
- package/dist/cli/{chunk-UQN4VTZL.js → chunk-OCT4SUJA.js} +4 -4
- package/dist/cli/{chunk-JCTTXLAZ.mjs → chunk-OQ5G7RFQ.mjs} +1 -1
- package/dist/cli/{chunk-XVXEARHC.js → chunk-PFKKZVFK.js} +41 -41
- package/dist/cli/{chunk-F3WRLFFM.mjs → chunk-PFKWKWUJ.mjs} +2 -2
- package/dist/cli/{chunk-I62LJ7NU.mjs → chunk-R457IMHJ.mjs} +1 -1
- package/dist/cli/{chunk-JVEFMOY2.mjs → chunk-RIX26ZJD.mjs} +1 -1
- package/dist/cli/{chunk-QMBL5ZIQ.mjs → chunk-RTDX5NNN.mjs} +3 -3
- package/dist/cli/{chunk-K326BEVR.js → chunk-RUULUCBP.js} +10 -10
- package/dist/cli/{chunk-MCXPJYBN.js → chunk-SF4QJVBE.js} +3 -3
- package/dist/cli/{chunk-HUIFUE4L.js → chunk-SMWFOGUT.js} +53 -53
- package/dist/cli/{chunk-LZL6V5M5.mjs → chunk-T43FF5PF.mjs} +2 -2
- package/dist/cli/{chunk-JMMNCJ7Z.js → chunk-TZTWH53O.js} +1 -1
- package/dist/cli/{chunk-U6DLLV3S.mjs → chunk-V2YIBBVT.mjs} +1 -1
- package/dist/cli/{chunk-XYL26236.js → chunk-V4RJ57MA.js} +2 -2
- package/dist/cli/{chunk-N5MLEXZ7.js → chunk-V7KUBDEB.js} +39 -39
- package/dist/cli/{chunk-MT3WG3KR.js → chunk-VHTVXS5A.js} +16 -16
- package/dist/cli/{chunk-H7275EZU.mjs → chunk-WCVIPZWX.mjs} +5 -5
- package/dist/cli/{chunk-SBGKKOCC.js → chunk-WOEPDSO3.js} +26 -26
- package/dist/cli/{chunk-MHTRYBXY.mjs → chunk-XURWFEXM.mjs} +31 -23
- package/dist/cli/{chunk-7M5FRSFP.mjs → chunk-YCIXY66B.mjs} +2 -2
- package/dist/cli/{chunk-6OZ2WSHD.mjs → chunk-YGOI5ZE5.mjs} +1 -1
- package/dist/cli/{chunk-DNXP3D5H.mjs → chunk-YKFW3NNA.mjs} +5 -5
- package/dist/cli/{chunk-7GNKAACY.js → chunk-YXVYPYIP.js} +6 -6
- package/dist/cli/{chunk-RQN4PHRE.js → chunk-Z4MOEQSY.js} +16 -16
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-YFJ2JLUP.mjs → csv-HT2JBCW2.mjs} +4 -4
- package/dist/cli/{csv-UBACJK75.js → csv-Q2LWKXAV.js} +13 -13
- package/dist/cli/{db-NKGYTAQO.mjs → db-CS3XQ2LX.mjs} +6 -6
- package/dist/cli/{db-2ZPA2LZ7.js → db-XEV4WEE4.js} +27 -27
- package/dist/cli/describe-5G5NXO5E.js +50 -0
- package/dist/cli/{describe-GX7DRKWZ.mjs → describe-OUTXLDGZ.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-NXMRGPIL.js → executions-JCC34WAD.js} +8 -8
- package/dist/cli/{executions-HTHQ7KKD.mjs → executions-L6XFG5MP.mjs} +6 -6
- package/dist/cli/{feedback-USP4T34P.mjs → feedback-AWBDO5I6.mjs} +5 -5
- package/dist/cli/{feedback-TGVQACRO.js → feedback-HV2M2G7N.js} +10 -10
- package/dist/cli/git-GDPTG52F.js +25 -0
- package/dist/cli/{git-KUONEHCD.mjs → git-S4LRXTRX.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{legacy-noops-B2GMHU42.mjs → legacy-noops-7MOKBL4O.mjs} +6 -6
- package/dist/cli/{legacy-noops-2JY3CQ24.js → legacy-noops-RGSZUD6V.js} +9 -9
- package/dist/cli/{monitors-XI6I52AX.js → monitors-JEFM2C5W.js} +100 -100
- package/dist/cli/{monitors-2OVBZJ6Z.mjs → monitors-XQNXDZPQ.mjs} +7 -7
- package/dist/cli/{org-5TUQ2H6Y.js → org-GYLA5V32.js} +86 -86
- package/dist/cli/{org-BNJW764Y.mjs → org-KTMJZGTN.mjs} +6 -6
- package/dist/cli/{pages-UXCLX53Y.js → pages-RY4U7OCL.js} +18 -18
- package/dist/cli/{pages-QC3TQIPW.mjs → pages-WOMU2T2O.mjs} +6 -6
- package/dist/cli/{play-KRWMZ7FG.js → play-2Q6MWJ3D.js} +363 -323
- package/dist/cli/{play-45PPG5SZ.mjs → play-KOYGGNYS.mjs} +64 -24
- package/dist/cli/{providers-JDT35MRL.mjs → providers-7YKDITJC.mjs} +6 -6
- package/dist/cli/{providers-RBUJ72Y3.js → providers-HOIRHMN2.js} +9 -9
- package/dist/cli/{quickstart-JZ4Q3HFT.js → quickstart-OWCJOSQA.js} +6 -6
- package/dist/cli/{quickstart-GD2SWGAC.mjs → quickstart-RDXHSMVX.mjs} +4 -4
- package/dist/cli/{run-JEAHA367.js → run-MT2ABKO5.js} +41 -41
- package/dist/cli/{run-KIZ3HBI2.mjs → run-RT73NDP5.mjs} +23 -23
- package/dist/cli/search-7VBA6IGS.js +33 -0
- package/dist/cli/{search-5UFNXHFK.mjs → search-CJPKIGSA.mjs} +8 -8
- package/dist/cli/{search-output-HAXPKQO6.mjs → search-output-AREMA544.mjs} +4 -4
- package/dist/cli/{search-output-W3RDSVLE.js → search-output-OSBZ7WK6.js} +6 -6
- package/dist/cli/{secrets-JAWT66B2.mjs → secrets-BTIY2FEJ.mjs} +6 -6
- package/dist/cli/{secrets-PC7C2Q32.js → secrets-OV6KH633.js} +15 -15
- package/dist/cli/{sessions-325V7G35.mjs → sessions-3CO3ZFOD.mjs} +6 -6
- package/dist/cli/sessions-B3WNEWRW.js +18 -0
- package/dist/cli/{settings-FKHTA65P.mjs → settings-7BQIC7QN.mjs} +13 -13
- package/dist/cli/{settings-RGU6Y2QR.js → settings-LBIECYDB.js} +86 -86
- package/dist/cli/{setup-ZMZ7HU2I.js → setup-QZE7QR3F.js} +50 -50
- package/dist/cli/{setup-43GOYTFC.mjs → setup-XPTSNNES.mjs} +10 -10
- package/dist/cli/{skills-Q2VAHSXM.mjs → skills-TGGKIQLT.mjs} +8 -8
- package/dist/cli/skills-TXBRTWEV.js +37 -0
- package/dist/cli/{tools-BUH7ZWDS.mjs → tools-MKIFX2TQ.mjs} +17 -17
- package/dist/cli/tools-RZJV4X3J.js +57 -0
- package/dist/cli/{update-JFALWOHD.mjs → update-5R3D3WNH.mjs} +10 -10
- package/dist/cli/update-YWGGPWUA.js +35 -0
- package/dist/cli/{artifacts-RBHR2DG4.mjs → views-VHKDHHUP.mjs} +76 -76
- package/dist/cli/views-VPWEINIA.js +270 -0
- package/dist/cli/{workflow-YELST32A.js → workflow-7K2VEQ4V.js} +17 -17
- package/dist/cli/{workflow-ISJKLY6X.mjs → workflow-D5DF65N6.mjs} +7 -7
- package/dist/{client-C2N7MofG.d.mts → client-C5_6W8yd.d.mts} +1 -1
- package/dist/{client-core-hmhBi7Ib.d.ts → client-core-B-GPfmaC.d.ts} +43 -43
- package/dist/{client-core-BTkDSKGn.d.mts → client-core-Dob428Z4.d.mts} +43 -43
- package/dist/{client-C7lTRJjw.d.ts → client-iXW4TOat.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +110 -110
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +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 +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/artifacts-RZTS2JHZ.js +0 -270
- package/dist/cli/auth-DPWYFQR5.js +0 -43
- package/dist/cli/describe-WQZF7MEG.js +0 -50
- package/dist/cli/git-X3SCQREB.js +0 -25
- package/dist/cli/search-6JULJMD7.js +0 -33
- package/dist/cli/sessions-WFUCOJHZ.js +0 -18
- package/dist/cli/skills-3XTQ6FFM.js +0 -37
- package/dist/cli/tools-UK2R4YXQ.js +0 -57
- package/dist/cli/update-LNKPHS54.js +0 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGTGJBZVHjs = require('./chunk-GTGJBZVH.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
|
|
|
19
19
|
__init9() {this.quiet = false}
|
|
20
20
|
// --json output is one JSON document: progress never renders under it.
|
|
21
21
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
|
|
22
|
-
this.enabled = enabled && !
|
|
22
|
+
this.enabled = enabled && !_chunkGTGJBZVHjs.isJsonOutputMode.call(void 0, );
|
|
23
23
|
}
|
|
24
24
|
setLogWriter(writer) {
|
|
25
25
|
this.logWriter = writer;
|
|
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
|
|
|
59
59
|
this.logWriter(line);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (_chunkGTGJBZVHjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FXTV5B3D.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-536TGWR6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,18 +14,18 @@ import {
|
|
|
14
14
|
} from "./chunk-ITJ7NB2D.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YCIXY66B.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T43FF5PF.mjs";
|
|
22
22
|
import {
|
|
23
23
|
printCommandEnvelope
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3WWTBQHC.mjs";
|
|
25
25
|
import {
|
|
26
26
|
autoDetectBaseUrl,
|
|
27
27
|
resolveApiKeyForBaseUrl
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MW3YMPD2.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/describe.ts
|
|
31
31
|
import { writeFileSync } from "fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BXIQD2IY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T43FF5PF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
sdkCliStateDirPath,
|
|
15
15
|
skillsAgentPathSegment,
|
|
16
16
|
writeSdkSkillsLocalVersion
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MW3YMPD2.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SDK_API_CONTRACT,
|
|
20
20
|
SDK_API_MAJOR,
|
|
21
21
|
SDK_VERSION,
|
|
22
22
|
deploymentProtectionHeaders,
|
|
23
23
|
detectAgentRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OQ5G7RFQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SDK_RELEASE
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RIX26ZJD.mjs";
|
|
28
28
|
|
|
29
29
|
// src/compat.ts
|
|
30
30
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGTGJBZVHjs = require('./chunk-GTGJBZVH.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkGTGJBZVHjs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-536TGWR6.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NUC7ZVDG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Capability,
|
|
12
12
|
arrayField,
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
} from "./chunk-FIVKWNMT.mjs";
|
|
47
47
|
import {
|
|
48
48
|
DeeplineClient
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YCIXY66B.mjs";
|
|
50
50
|
import {
|
|
51
51
|
validateExecutionIdempotencyKey
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-HLAFGQPV.mjs";
|
|
53
53
|
import {
|
|
54
54
|
stableStringify
|
|
55
55
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -59,18 +59,18 @@ import {
|
|
|
59
59
|
maybeAutoUpdateAndRelaunch,
|
|
60
60
|
registerCompatibilityCatalog,
|
|
61
61
|
runToolExecuteStage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WCVIPZWX.mjs";
|
|
63
63
|
import {
|
|
64
64
|
isCliTraceEnabled,
|
|
65
65
|
recordCliTrace,
|
|
66
66
|
resolveCliMaintenancePolicy
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-R457IMHJ.mjs";
|
|
68
68
|
import {
|
|
69
69
|
checkSdkCompatibility,
|
|
70
70
|
enforceSdkCompatibilityResponse,
|
|
71
71
|
flushDeferredSkillsSyncNotices,
|
|
72
72
|
syncSdkSkillsIfNeeded
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-EO55Y4QW.mjs";
|
|
74
74
|
import {
|
|
75
75
|
printCommandEnvelope,
|
|
76
76
|
printCompactJson,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
printJsonError,
|
|
79
79
|
renderCommandEnvelopeText,
|
|
80
80
|
shouldEmitJson
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-3WWTBQHC.mjs";
|
|
82
82
|
import {
|
|
83
83
|
readSdkSkillsLocalVersion,
|
|
84
84
|
resolveConfig,
|
|
85
85
|
sdkCliStateDirPath
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-MW3YMPD2.mjs";
|
|
87
87
|
import {
|
|
88
88
|
DeeplineError
|
|
89
89
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -1066,7 +1066,7 @@ Examples:
|
|
|
1066
1066
|
process.exitCode = await narrowView();
|
|
1067
1067
|
return;
|
|
1068
1068
|
}
|
|
1069
|
-
const { describeAnything } = await import("./describe-
|
|
1069
|
+
const { describeAnything } = await import("./describe-OUTXLDGZ.mjs");
|
|
1070
1070
|
process.exitCode = await describeAnything(
|
|
1071
1071
|
toolId,
|
|
1072
1072
|
{
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3WWTBQHC.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MW3YMPD2.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkSF4QJVBEjs = require('./chunk-SF4QJVBE.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOCT4SUJAjs = require('./chunk-OCT4SUJA.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -294,8 +294,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
294
294
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
295
295
|
var defaultBrowserCommandRunner = childProcess;
|
|
296
296
|
function getAuthedHttpClient() {
|
|
297
|
-
const config =
|
|
298
|
-
return { config, http: new (0,
|
|
297
|
+
const config = _chunkSF4QJVBEjs.resolveConfig.call(void 0, );
|
|
298
|
+
return { config, http: new (0, _chunkSF4QJVBEjs.HttpClient)(config) };
|
|
299
299
|
}
|
|
300
300
|
function stableOsUserId() {
|
|
301
301
|
try {
|
|
@@ -635,7 +635,7 @@ function collectLocalEnvInfo() {
|
|
|
635
635
|
os: `${process.platform} ${process.arch}`,
|
|
636
636
|
node_version: process.version,
|
|
637
637
|
home_dir: homeDir,
|
|
638
|
-
agent_runtime:
|
|
638
|
+
agent_runtime: _chunkOCT4SUJAjs.detectAgentRuntime.call(void 0, )
|
|
639
639
|
};
|
|
640
640
|
const env = process.env;
|
|
641
641
|
const optional = {
|
|
@@ -882,9 +882,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
882
882
|
}
|
|
883
883
|
function withAgentCommandContext(value) {
|
|
884
884
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
885
|
-
return
|
|
885
|
+
return _chunkOCT4SUJAjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
886
886
|
...valueRecord,
|
|
887
|
-
command_context:
|
|
887
|
+
command_context: _chunkSF4QJVBEjs.resolveCliCommandContext.call(void 0, )
|
|
888
888
|
} : value;
|
|
889
889
|
}
|
|
890
890
|
function printJson(value, fields) {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
RETAINED_PIPELINE_RECEIVERS_HEADER,
|
|
32
32
|
RUNTIME_ENVIRONMENT_TOKEN_HEADER,
|
|
33
33
|
SDK_API_MAJOR
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OQ5G7RFQ.mjs";
|
|
35
35
|
import {
|
|
36
36
|
CustomerDbQueryOutcomeUnknownError
|
|
37
37
|
} from "./chunk-QNHHZ63P.mjs";
|
|
@@ -3747,75 +3747,75 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
3747
3747
|
);
|
|
3748
3748
|
}
|
|
3749
3749
|
// ——————————————————————————————————————————————————————————
|
|
3750
|
-
//
|
|
3750
|
+
// Views
|
|
3751
3751
|
// ——————————————————————————————————————————————————————————
|
|
3752
|
-
/** List this workspace's
|
|
3753
|
-
async
|
|
3752
|
+
/** List this workspace's views, most recently changed first. */
|
|
3753
|
+
async listViews(input) {
|
|
3754
3754
|
const params = new URLSearchParams();
|
|
3755
3755
|
if (input?.cursor) params.set("cursor", input.cursor);
|
|
3756
3756
|
if (input?.limit) params.set("limit", String(input.limit));
|
|
3757
3757
|
const query = params.size > 0 ? `?${params}` : "";
|
|
3758
|
-
return await this.http.get(`/api/v2/
|
|
3758
|
+
return await this.http.get(`/api/v2/views${query}`);
|
|
3759
3759
|
}
|
|
3760
|
-
/** One
|
|
3761
|
-
async
|
|
3760
|
+
/** One view and what the caller may do with it. */
|
|
3761
|
+
async getView(id) {
|
|
3762
3762
|
return await this.http.get(
|
|
3763
|
-
`/api/v2/
|
|
3763
|
+
`/api/v2/views/${encodeURIComponent(id)}`
|
|
3764
3764
|
);
|
|
3765
3765
|
}
|
|
3766
|
-
/** Create
|
|
3767
|
-
async
|
|
3768
|
-
return await this.http.post("/api/v2/
|
|
3766
|
+
/** Create a view that shows a Play's runs at a fixed URL. */
|
|
3767
|
+
async createView(input) {
|
|
3768
|
+
return await this.http.post("/api/v2/views", input);
|
|
3769
3769
|
}
|
|
3770
3770
|
/** Change the name, description, Play, or saved input. */
|
|
3771
|
-
async
|
|
3771
|
+
async updateView(id, input) {
|
|
3772
3772
|
return await this.http.patch(
|
|
3773
|
-
`/api/v2/
|
|
3773
|
+
`/api/v2/views/${encodeURIComponent(id)}`,
|
|
3774
3774
|
input
|
|
3775
3775
|
);
|
|
3776
3776
|
}
|
|
3777
|
-
/** Who can open
|
|
3778
|
-
async
|
|
3777
|
+
/** Who can open a view: workspace members, or anyone with its URL. */
|
|
3778
|
+
async setViewAccess(id, access) {
|
|
3779
3779
|
return await this.http.post(
|
|
3780
|
-
`/api/v2/
|
|
3780
|
+
`/api/v2/views/${encodeURIComponent(id)}/access`,
|
|
3781
3781
|
{ access }
|
|
3782
3782
|
);
|
|
3783
3783
|
}
|
|
3784
|
-
/** Every run of the
|
|
3785
|
-
async
|
|
3784
|
+
/** Every run of the view's Play, newest first. */
|
|
3785
|
+
async listViewRuns(id, input) {
|
|
3786
3786
|
const params = new URLSearchParams();
|
|
3787
3787
|
if (input?.limit) params.set("limit", String(input.limit));
|
|
3788
3788
|
if (input?.offset) params.set("offset", String(input.offset));
|
|
3789
3789
|
const query = params.size > 0 ? `?${params}` : "";
|
|
3790
3790
|
return await this.http.get(
|
|
3791
|
-
`/api/v2/
|
|
3791
|
+
`/api/v2/views/${encodeURIComponent(id)}/runs${query}`
|
|
3792
3792
|
);
|
|
3793
3793
|
}
|
|
3794
3794
|
/**
|
|
3795
|
-
* Refresh
|
|
3796
|
-
* goes through the normal run API; the
|
|
3795
|
+
* Refresh a view: run its Play with its saved input (or `input`). The run
|
|
3796
|
+
* goes through the normal run API; the view shows it when it finishes.
|
|
3797
3797
|
*/
|
|
3798
|
-
async
|
|
3799
|
-
const intent = await this.http.post(`/api/v2/
|
|
3798
|
+
async refreshView(id, input) {
|
|
3799
|
+
const intent = await this.http.post(`/api/v2/views/${encodeURIComponent(id)}/refresh`, {});
|
|
3800
3800
|
const started = await this.startPlayRun({
|
|
3801
3801
|
name: intent.play,
|
|
3802
3802
|
input: input ?? intent.input
|
|
3803
3803
|
});
|
|
3804
|
-
return { ...started,
|
|
3804
|
+
return { ...started, view: intent.id };
|
|
3805
3805
|
}
|
|
3806
|
-
/** Delete
|
|
3807
|
-
async
|
|
3806
|
+
/** Delete a view. Its Play and runs are not touched. */
|
|
3807
|
+
async deleteView(id) {
|
|
3808
3808
|
return await this.http.delete(
|
|
3809
|
-
`/api/v2/
|
|
3809
|
+
`/api/v2/views/${encodeURIComponent(id)}`
|
|
3810
3810
|
);
|
|
3811
3811
|
}
|
|
3812
|
-
/** The workspace
|
|
3813
|
-
async
|
|
3814
|
-
return await this.http.get("/api/v2/
|
|
3812
|
+
/** The workspace view rules and what the caller may do. */
|
|
3813
|
+
async getViewPermissions() {
|
|
3814
|
+
return await this.http.get("/api/v2/views/permissions");
|
|
3815
3815
|
}
|
|
3816
|
-
/** Change
|
|
3817
|
-
async
|
|
3818
|
-
return await this.http.put("/api/v2/
|
|
3816
|
+
/** Change view rules. Admins only; omitted verbs keep their rule. */
|
|
3817
|
+
async setViewPermissions(rules) {
|
|
3818
|
+
return await this.http.put("/api/v2/views/permissions", { rules });
|
|
3819
3819
|
}
|
|
3820
3820
|
/** List secret metadata visible to the current workspace. */
|
|
3821
3821
|
async listSecrets() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkANKD3AIRjs = require('./chunk-ANKD3AIR.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk66N76YZGjs = require('./chunk-66N76YZG.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunk66N76YZGjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkANKD3AIRjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunk66N76YZGjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
|
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
32
|
if (compatibility.error) throw compatibility.error;
|
|
33
|
-
|
|
33
|
+
_chunk66N76YZGjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVHTVXS5Ajs = require('./chunk-VHTVXS5A.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk66N76YZGjs = require('./chunk-66N76YZG.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkGTGJBZVHjs = require('./chunk-GTGJBZVH.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkSF4QJVBEjs = require('./chunk-SF4QJVBE.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkOCT4SUJAjs = require('./chunk-OCT4SUJA.js');
|
|
22
22
|
|
|
23
23
|
// src/cli/compatibility-catalog.ts
|
|
24
24
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -45,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
45
45
|
async function reportAutoUpdateEvent(input) {
|
|
46
46
|
let apiKey = "";
|
|
47
47
|
try {
|
|
48
|
-
apiKey =
|
|
48
|
+
apiKey = _chunkSF4QJVBEjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
49
49
|
} catch (e2) {
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
@@ -61,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
61
61
|
headers: {
|
|
62
62
|
Authorization: `Bearer ${apiKey}`,
|
|
63
63
|
"Content-Type": "application/json",
|
|
64
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
64
|
+
"User-Agent": `deepline-ts-sdk/${_chunkOCT4SUJAjs.SDK_VERSION}`,
|
|
65
65
|
"X-Deepline-Client-Family": "sdk",
|
|
66
66
|
"X-Deepline-CLI-Family": "sdk",
|
|
67
|
-
"X-Deepline-CLI-Version":
|
|
68
|
-
"X-Deepline-SDK-Version":
|
|
67
|
+
"X-Deepline-CLI-Version": _chunkOCT4SUJAjs.SDK_VERSION,
|
|
68
|
+
"X-Deepline-SDK-Version": _chunkOCT4SUJAjs.SDK_VERSION
|
|
69
69
|
},
|
|
70
70
|
body: JSON.stringify({
|
|
71
71
|
event: input.event,
|
|
72
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
72
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkOCT4SUJAjs.SDK_VERSION,
|
|
73
73
|
target_version: input.response.latest,
|
|
74
74
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
75
75
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -88,13 +88,13 @@ function envTruthy(name) {
|
|
|
88
88
|
return value === "1" || value === "true" || value === "yes";
|
|
89
89
|
}
|
|
90
90
|
function shouldSkipSelfUpdate(policy) {
|
|
91
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
91
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkVHTVXS5Ajs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk66N76YZGjs.isCiEnvironment.call(void 0, );
|
|
92
92
|
}
|
|
93
93
|
function isDowngradeAutoUpdateResponse(response) {
|
|
94
94
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
95
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
95
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkOCT4SUJAjs.SDK_VERSION;
|
|
96
96
|
if (!target) return false;
|
|
97
|
-
return
|
|
97
|
+
return _chunkVHTVXS5Ajs.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
98
98
|
}
|
|
99
99
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
100
100
|
return new Promise((resolve) => {
|
|
@@ -147,7 +147,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
147
147
|
}
|
|
148
148
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
149
149
|
const target = response.latest;
|
|
150
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
150
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkOCT4SUJAjs.SDK_VERSION;
|
|
151
151
|
process.stderr.write(
|
|
152
152
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
153
153
|
`
|
|
@@ -155,21 +155,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
155
155
|
return false;
|
|
156
156
|
}
|
|
157
157
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
158
|
-
const plan =
|
|
158
|
+
const plan = _chunkVHTVXS5Ajs.resolveUpdatePlan.call(void 0, {
|
|
159
159
|
packageSpec,
|
|
160
160
|
requireVerifiedNpmOwnership: true,
|
|
161
161
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
162
162
|
});
|
|
163
|
-
if (!
|
|
163
|
+
if (!_chunkVHTVXS5Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
164
164
|
return false;
|
|
165
165
|
}
|
|
166
166
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
167
167
|
deferredAutoUpdate = async () => {
|
|
168
168
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
169
169
|
};
|
|
170
|
-
if (
|
|
170
|
+
if (_chunkGTGJBZVHjs.isJsonOutputMode.call(void 0, )) {
|
|
171
171
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
172
|
-
|
|
172
|
+
_chunkGTGJBZVHjs.addJsonNotice.call(void 0, {
|
|
173
173
|
code: "sdk_update_queued",
|
|
174
174
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
175
175
|
});
|
|
@@ -182,7 +182,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
182
182
|
return true;
|
|
183
183
|
}
|
|
184
184
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
185
|
-
if (!
|
|
185
|
+
if (!_chunkVHTVXS5Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
186
186
|
const autoUpdate = response.auto_update;
|
|
187
187
|
const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
|
|
188
188
|
process.stderr.write(
|
|
@@ -195,7 +195,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
195
195
|
event: "started",
|
|
196
196
|
installKind: plan.kind
|
|
197
197
|
});
|
|
198
|
-
const updateResult = await
|
|
198
|
+
const updateResult = await _chunkVHTVXS5Ajs.runAutomaticUpdatePlan.call(void 0, plan);
|
|
199
199
|
if (updateResult.status === "skipped_previous_failure") {
|
|
200
200
|
void reportAutoUpdateEvent({
|
|
201
201
|
baseUrl,
|
|
@@ -233,7 +233,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
233
233
|
exitCode: 0
|
|
234
234
|
});
|
|
235
235
|
try {
|
|
236
|
-
await
|
|
236
|
+
await _chunk66N76YZGjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
237
237
|
mode: "detached",
|
|
238
238
|
update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
|
|
239
239
|
afterCliUpdate: {
|
|
@@ -260,7 +260,7 @@ var _crypto = require('crypto');
|
|
|
260
260
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
261
261
|
var activeToolExecuteCommand = null;
|
|
262
262
|
function progressLine(line) {
|
|
263
|
-
if (!
|
|
263
|
+
if (!_chunkGTGJBZVHjs.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
264
264
|
}
|
|
265
265
|
function beginToolExecuteCommand() {
|
|
266
266
|
if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLAFGQPV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-FKD3KL5Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3WWTBQHC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-ZPGGW27Q.mjs";
|