deepline 0.3.554 → 0.3.556
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/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -2
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
- package/dist/cli/auth-HA7TI6SA.js +44 -0
- package/dist/cli/{auth-HJUNW7T2.mjs → auth-MT7DWCZO.mjs} +5 -5
- package/dist/cli/{billing-4TSA5HEC.js → billing-3HHUTNME.js} +102 -102
- package/dist/cli/{billing-SJYRJAQ2.mjs → billing-4NOM52PO.mjs} +9 -9
- package/dist/cli/{chunk-VV4XGZ24.js → chunk-2NZQ432X.js} +13 -13
- package/dist/cli/{chunk-6EXOAT6T.mjs → chunk-2ZS5PZB6.mjs} +2 -2
- package/dist/cli/{chunk-M7STM3MZ.js → chunk-3R6RBAQW.js} +26 -26
- package/dist/cli/{chunk-TJ6HLN56.js → chunk-4HSPHSUB.js} +5 -5
- package/dist/cli/{chunk-GRZENGNE.js → chunk-4U5HIMZY.js} +2 -2
- package/dist/cli/{chunk-TOO3YM5N.js → chunk-7ERE37SK.js} +6 -6
- package/dist/cli/{chunk-5CYZHOKI.js → chunk-7MD36QLK.js} +4 -4
- package/dist/cli/{chunk-BOZAP2EM.mjs → chunk-ASMHON7N.mjs} +5 -5
- package/dist/cli/{chunk-VQ75KX7G.mjs → chunk-ASOLVHDL.mjs} +2 -2
- package/dist/cli/{chunk-2ORPFQUA.mjs → chunk-B4RWCBU5.mjs} +3 -3
- package/dist/cli/{chunk-33WRQSQ2.mjs → chunk-BTKVXI3G.mjs} +3 -2
- package/dist/cli/{chunk-B6HO2XWH.mjs → chunk-C2XLKCRH.mjs} +5 -5
- package/dist/cli/{chunk-3Z4VFCXO.mjs → chunk-C4GWTN3J.mjs} +5 -5
- package/dist/cli/{chunk-2OVHNHCF.js → chunk-CJF7AFBD.js} +2 -2
- package/dist/cli/{chunk-2HMN5H54.js → chunk-CZ2RJTAQ.js} +48 -48
- package/dist/cli/{chunk-UBBYHB2B.mjs → chunk-DAQQL743.mjs} +2 -2
- package/dist/cli/{chunk-UNNOZKRT.js → chunk-DAS66RGZ.js} +1 -1
- package/dist/cli/{chunk-GHT2NDL7.js → chunk-F5CE3JZQ.js} +9 -9
- package/dist/cli/{chunk-OVEYWO4H.js → chunk-FFXLMJ5O.js} +8 -8
- package/dist/cli/{chunk-RBBTCYQB.mjs → chunk-FQYEHUVR.mjs} +3 -3
- package/dist/cli/{chunk-OPTV7D2V.js → chunk-G6BX5VJN.js} +100 -100
- package/dist/cli/{chunk-E74KGKFZ.js → chunk-GY4S6A72.js} +5 -5
- package/dist/cli/{chunk-RTHMGSZX.js → chunk-GZFYLAXJ.js} +15 -15
- package/dist/cli/{chunk-62HWJXST.mjs → chunk-HJO3MZ4M.mjs} +2 -2
- package/dist/cli/{chunk-YY55NYAH.mjs → chunk-IFHMGEDN.mjs} +11 -11
- package/dist/cli/{chunk-KZHBDMGF.mjs → chunk-JRYF5W3A.mjs} +2 -2
- package/dist/cli/{chunk-FBAFX43W.js → chunk-K4IPTGU5.js} +10 -10
- package/dist/cli/{chunk-XD3MFTHA.mjs → chunk-KA77KT46.mjs} +1 -1
- package/dist/cli/{chunk-UYCZFQYQ.js → chunk-KN3NETDA.js} +10 -8
- package/dist/cli/{chunk-UC4BDZKI.mjs → chunk-KNOS6H4E.mjs} +2 -2
- package/dist/cli/{chunk-ECHKAC7M.js → chunk-KONNXKKX.js} +2 -2
- package/dist/cli/{chunk-7OWI736E.js → chunk-KUDSTDSL.js} +23 -23
- package/dist/cli/{chunk-DSKSFFK2.mjs → chunk-L57JAXHI.mjs} +1 -1
- package/dist/cli/{chunk-W6CZDTIR.js → chunk-LU3OLGF3.js} +53 -53
- package/dist/cli/{chunk-S6W6SJ6E.mjs → chunk-LW2FKVCQ.mjs} +1 -1
- package/dist/cli/{chunk-FXQ3JKE3.mjs → chunk-MUIJGT2B.mjs} +1 -1
- package/dist/cli/{chunk-DUBXUAAO.js → chunk-N6LM2Q6V.js} +5 -5
- package/dist/cli/{chunk-VIUUTEHY.js → chunk-NGB2VSGB.js} +3 -3
- package/dist/cli/{chunk-XU6QNM4D.mjs → chunk-O7QRNMSW.mjs} +1 -1
- package/dist/cli/{chunk-62AUAWQV.mjs → chunk-P6ZIR4QD.mjs} +4 -4
- package/dist/cli/{chunk-YQKCH4R7.js → chunk-PWQ3IUD4.js} +20 -20
- package/dist/cli/{chunk-F7CMRKSK.mjs → chunk-QGQPVPJN.mjs} +1 -1
- package/dist/cli/{chunk-4DOFGIEJ.js → chunk-QVNX6AC3.js} +12 -12
- package/dist/cli/{chunk-WL7P32PI.js → chunk-SWVGAIJD.js} +20 -20
- package/dist/cli/{chunk-YCOGPOUX.mjs → chunk-UERLY7PX.mjs} +2 -2
- package/dist/cli/{chunk-PQQMPUCZ.js → chunk-UO7NPJEK.js} +3 -3
- package/dist/cli/{chunk-VLO5NFH2.mjs → chunk-UYPXQFJ4.mjs} +1 -1
- package/dist/cli/{chunk-Q7ACILL2.mjs → chunk-VCYPHVUE.mjs} +2 -2
- package/dist/cli/{chunk-GA2M3G3Y.mjs → chunk-VQZQCPCA.mjs} +4 -4
- package/dist/cli/{chunk-D6Z6POKE.mjs → chunk-W5JM2QCI.mjs} +5 -5
- package/dist/cli/{chunk-UOT7HPBH.js → chunk-YGW2CSB7.js} +41 -41
- package/dist/cli/{chunk-IVZKMJUK.js → chunk-YI4ADWTN.js} +3 -2
- package/dist/cli/{chunk-KVBQY4ST.mjs → chunk-YO2FDGAN.mjs} +4 -2
- package/dist/cli/{chunk-52Q5KETX.mjs → chunk-ZGOTBBY3.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-O3Q5IPLF.mjs → concurrent-runs-help-AFJDK2SY.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ZHOCLINF.js +22 -0
- package/dist/cli/{csv-Y3BFPEM6.mjs → csv-CATF6MZU.mjs} +4 -4
- package/dist/cli/{csv-4ZQ2RATI.js → csv-NTNQLQXG.js} +13 -13
- package/dist/cli/{db-VEIFS4M7.js → db-IKFKNLW5.js} +27 -27
- package/dist/cli/{db-3JYY4JNN.mjs → db-U3FK4FFM.mjs} +6 -6
- package/dist/cli/{describe-EVJ4MFVU.mjs → describe-F7OQQ7IO.mjs} +18 -18
- package/dist/cli/describe-ZHNZ4H6S.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-HPZXOOVX.js → executions-3TA5SATU.js} +8 -8
- package/dist/cli/{executions-PCXZKEHM.mjs → executions-6KUA7RPH.mjs} +6 -6
- package/dist/cli/{feedback-ZKFHFVL6.js → feedback-GX7RVC4O.js} +14 -14
- package/dist/cli/{feedback-Y6VKZNY6.mjs → feedback-U5I6UTJG.mjs} +6 -6
- package/dist/cli/git-6DK7N4V7.js +26 -0
- package/dist/cli/{git-UMPR2QYC.mjs → git-DYNKPPNT.mjs} +5 -5
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-V3TM6XAB.mjs → integrations-7FATBEB5.mjs} +7 -7
- package/dist/cli/{integrations-3GQCTRTF.js → integrations-PQX2FRPT.js} +15 -15
- package/dist/cli/{legacy-noops-VYCO7NGW.js → legacy-noops-JNXQWYUR.js} +9 -9
- package/dist/cli/{legacy-noops-JZBUD7ZE.mjs → legacy-noops-ODATBQUL.mjs} +6 -6
- package/dist/cli/{mcp-4OIWTCE6.js → mcp-RXBXC4HW.js} +24 -24
- package/dist/cli/{mcp-PH4KZ76P.mjs → mcp-UDNG33WQ.mjs} +4 -4
- package/dist/cli/{monitors-SSMGIDGX.mjs → monitors-L56QYFRW.mjs} +7 -7
- package/dist/cli/{monitors-E2A6VPBY.js → monitors-NDAGIRO4.js} +100 -100
- package/dist/cli/{org-SFDKSK5D.mjs → org-EA5DL5I7.mjs} +6 -6
- package/dist/cli/{org-WUDZGWBT.js → org-Q47O5ZTI.js} +121 -121
- package/dist/cli/{outcomes-Y7SZTLSL.js → outcomes-27ENBTWE.js} +14 -14
- package/dist/cli/{outcomes-QT7LQBPK.mjs → outcomes-773GPYXN.mjs} +6 -6
- package/dist/cli/{play-GDNHCRRR.js → play-BOZIT25U.js} +339 -327
- package/dist/cli/{play-EK7KSFPL.mjs → play-O6RGVBT7.mjs} +34 -22
- package/dist/cli/{providers-FVZLRXAU.mjs → providers-OOKYSLMJ.mjs} +6 -6
- package/dist/cli/{providers-ZKOSECLV.js → providers-S2E5IGFO.js} +9 -9
- package/dist/cli/{quickstart-UJZ6PIQV.mjs → quickstart-7GVZ7YCQ.mjs} +4 -4
- package/dist/cli/{quickstart-KSDKIXYD.js → quickstart-YXKRRK43.js} +6 -6
- package/dist/cli/{run-E7MZ7P35.mjs → run-3QGOVUHF.mjs} +27 -33
- package/dist/cli/{run-PD2BBG6S.js → run-7DXBARRO.js} +48 -54
- package/dist/cli/search-4DZYX3FR.js +32 -0
- package/dist/cli/{search-VTFUFTOY.mjs → search-5UIB4QSG.mjs} +7 -7
- package/dist/cli/{search-output-G2AGDCOY.js → search-output-C7ZPRC2B.js} +6 -6
- package/dist/cli/{search-output-PFVXQCWA.mjs → search-output-MSUN3KPW.mjs} +4 -4
- package/dist/cli/{secrets-BCOQ4U7U.js → secrets-FU3DFFB6.js} +15 -15
- package/dist/cli/{secrets-7CIMEMX7.mjs → secrets-JYJS2VHO.mjs} +6 -6
- package/dist/cli/sessions-E2IX3GU7.js +23 -0
- package/dist/cli/{sessions-IUCQZEF7.mjs → sessions-JBD64DOX.mjs} +6 -6
- package/dist/cli/{settings-KZN62UQK.mjs → settings-4KFYWSJI.mjs} +12 -12
- package/dist/cli/{settings-REL4736M.js → settings-GDJGQXKT.js} +85 -85
- package/dist/cli/{setup-2P7OG3OU.mjs → setup-46VMBV3K.mjs} +9 -9
- package/dist/cli/{setup-2XIVBBCS.js → setup-OKLUCTU7.js} +49 -49
- package/dist/cli/skills-GJS4Q7NU.js +37 -0
- package/dist/cli/{skills-VIGNDJKI.mjs → skills-XRJNXEEA.mjs} +7 -7
- package/dist/cli/tools-LICQXFYA.js +57 -0
- package/dist/cli/{tools-W3QT5EJY.mjs → tools-WEBVZN3X.mjs} +17 -17
- package/dist/cli/update-3XH3NVVY.js +37 -0
- package/dist/cli/{update-GZVBVMY3.mjs → update-RKTYJ6BO.mjs} +9 -9
- package/dist/cli/{views-BOGEH424.mjs → views-VTOQ4U75.mjs} +6 -6
- package/dist/cli/{views-TOLJNLSV.js → views-XLAPDQXQ.js} +21 -21
- package/dist/cli/{workflow-ENWFRK5M.js → workflow-HH4XVYPN.js} +17 -17
- package/dist/cli/{workflow-VDG2FDQV.mjs → workflow-RCO4R46B.mjs} +7 -7
- package/dist/{client-B8f7RNF8.d.mts → client-1ogYQqUw.d.mts} +1 -1
- package/dist/{client-C5TgXmJQ.d.ts → client-BoayTB7p.d.ts} +1 -1
- package/dist/{client-core-SLLGBTht.d.mts → client-core-Ch8CXaX4.d.mts} +8 -2
- package/dist/{client-core-p0sOxnkl.d.ts → client-core-DySw9x_E.d.ts} +8 -2
- 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 +118 -118
- 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/auth-SP6SKZJZ.js +0 -44
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +0 -22
- package/dist/cli/describe-FG625QPF.js +0 -50
- package/dist/cli/git-RUBMALLH.js +0 -26
- package/dist/cli/search-TKSPTPHA.js +0 -32
- package/dist/cli/sessions-4CO556VD.js +0 -23
- package/dist/cli/skills-JYT5DEY6.js +0 -37
- package/dist/cli/tools-NTVUQ2TG.js +0 -57
- package/dist/cli/update-TWJZPUZM.js +0 -37
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
concurrentRunsLine
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VCYPHVUE.mjs";
|
|
4
|
+
import "./chunk-B4RWCBU5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DeeplineClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2ZS5PZB6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
PUBLIC_PLAN_SKUS,
|
|
10
10
|
iterateCursorPages,
|
|
11
11
|
requireBillingIdempotencyKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UYPXQFJ4.mjs";
|
|
13
13
|
import "./chunk-FZHMNK6F.mjs";
|
|
14
14
|
import "./chunk-5TYLSS4Q.mjs";
|
|
15
15
|
import "./chunk-PSX3WHIH.mjs";
|
|
16
16
|
import {
|
|
17
17
|
PLAY_RUNTIME_PRICING_NOTE
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BTKVXI3G.mjs";
|
|
19
19
|
import {
|
|
20
20
|
PRICING_PAGE_NOTE
|
|
21
21
|
} from "./chunk-2RIKOPIM.mjs";
|
|
@@ -32,9 +32,9 @@ import {
|
|
|
32
32
|
openInBrowser,
|
|
33
33
|
printCommandEnvelope,
|
|
34
34
|
shouldEmitJson
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
36
|
+
import "./chunk-ZGOTBBY3.mjs";
|
|
37
|
+
import "./chunk-LW2FKVCQ.mjs";
|
|
38
38
|
import {
|
|
39
39
|
AuthError,
|
|
40
40
|
ConfigError
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
DeeplineError
|
|
45
45
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
46
46
|
import "./chunk-2MGZAI54.mjs";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-MUIJGT2B.mjs";
|
|
48
48
|
import "./chunk-WZYKRD7T.mjs";
|
|
49
49
|
import "./chunk-KRD6H754.mjs";
|
|
50
50
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCJF7AFBDjs = require('./chunk-CJF7AFBD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7MD36QLKjs = require('./chunk-7MD36QLK.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
|
|
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
|
|
|
55
55
|
}
|
|
56
56
|
function listClaudeSessionFiles() {
|
|
57
57
|
const files = [];
|
|
58
|
-
for (const root of
|
|
58
|
+
for (const root of _chunk7MD36QLKjs.claudeProjectsRoots.call(void 0, )) {
|
|
59
59
|
files.push(...listClaudeSessionFilesIn(root));
|
|
60
60
|
}
|
|
61
61
|
return files;
|
|
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
|
|
|
147
147
|
const newestFirst = listSessionFiles(agent).sort(
|
|
148
148
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
149
149
|
);
|
|
150
|
-
const sessionId =
|
|
150
|
+
const sessionId = _chunk7MD36QLKjs.agentSessionIdFromEnvironment.call(void 0,
|
|
151
151
|
process.env,
|
|
152
152
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
153
153
|
);
|
|
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
|
|
|
156
156
|
(candidate) => candidate.sessionId === sessionId
|
|
157
157
|
);
|
|
158
158
|
if (named) return named;
|
|
159
|
-
const cowork = agent === "codex" ? null :
|
|
159
|
+
const cowork = agent === "codex" ? null : _chunk7MD36QLKjs.coworkTranscriptFromEnvironment.call(void 0, );
|
|
160
160
|
const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
|
|
161
161
|
if (cowork && coworkStat) {
|
|
162
162
|
return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
|
|
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
|
|
|
166
166
|
), () => ( newestFirst[0])), () => ( null));
|
|
167
167
|
}
|
|
168
168
|
function feedbackAgentSessionId(agentRuntime) {
|
|
169
|
-
return _nullishCoalesce(
|
|
169
|
+
return _nullishCoalesce(_chunk7MD36QLKjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunk7MD36QLKjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
|
|
170
170
|
}
|
|
171
171
|
function sessionStartedInDirectory(candidate, cwd) {
|
|
172
172
|
if (candidate.agent === "claude") {
|
|
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
|
|
|
215
215
|
return null;
|
|
216
216
|
}
|
|
217
217
|
function sessionSearchDescription(agent) {
|
|
218
|
-
const claude =
|
|
218
|
+
const claude = _chunk7MD36QLKjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
|
|
219
219
|
if (agent === "claude") return claude;
|
|
220
220
|
if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
|
|
221
221
|
return `${claude} or ~/.codex/sessions/**/*.jsonl`;
|
|
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
|
|
|
472
472
|
return { encodedContent: encoded, needsChunking: true };
|
|
473
473
|
}
|
|
474
474
|
async function uploadPayload(path, payload) {
|
|
475
|
-
const { http } =
|
|
475
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
476
476
|
return await http.post(path, payload);
|
|
477
477
|
}
|
|
478
478
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
|
|
|
550
550
|
return target.sessionId;
|
|
551
551
|
}
|
|
552
552
|
async function handleSessionsSend(options) {
|
|
553
|
-
if (
|
|
553
|
+
if (_chunkCJF7AFBDjs.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
554
554
|
const rating = parseSessionRating(options.rating);
|
|
555
555
|
if (options.file) {
|
|
556
556
|
const filePath = _path.resolve.call(void 0, options.file);
|
|
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
|
|
|
562
562
|
filename: _path.basename.call(void 0, filePath),
|
|
563
563
|
...rating ? { rating } : {}
|
|
564
564
|
});
|
|
565
|
-
|
|
565
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
566
566
|
{
|
|
567
567
|
...response2,
|
|
568
568
|
ok: true,
|
|
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
|
|
|
594
594
|
labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
|
|
595
595
|
});
|
|
596
596
|
const sessionIds = built.map((session) => session.sessionId);
|
|
597
|
-
|
|
597
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
598
598
|
{
|
|
599
599
|
...response,
|
|
600
600
|
ok: true,
|
|
@@ -702,7 +702,7 @@ ${refreshMeta}
|
|
|
702
702
|
</body>
|
|
703
703
|
</html>`;
|
|
704
704
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
705
|
-
|
|
705
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
706
706
|
{
|
|
707
707
|
ok: true,
|
|
708
708
|
file: outputPath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UYPXQFJ4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZGOTBBY3.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
|
|
|
32
32
|
return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
|
|
33
33
|
}
|
|
34
34
|
async function handleList(options) {
|
|
35
|
-
const { http } =
|
|
35
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
36
36
|
const payload = await http.get(
|
|
37
37
|
`/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
77
77
|
const payload = await http.get("/api/v2/github/installation");
|
|
78
78
|
const installation = payload.installation;
|
|
79
79
|
const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
140
140
|
{
|
|
141
141
|
installation,
|
|
142
142
|
installations: _nullishCoalesce(payload.installations, () => ( [])),
|
|
@@ -147,10 +147,10 @@ async function handleStatus(options) {
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
async function handleRepos(options) {
|
|
150
|
-
const { http } =
|
|
150
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
151
151
|
const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
|
|
152
152
|
const payload = await http.get(`/api/v2/github/repos${query}`);
|
|
153
|
-
|
|
153
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
154
154
|
{
|
|
155
155
|
installation: payload.installation,
|
|
156
156
|
repositories: payload.repositories,
|
|
@@ -171,7 +171,7 @@ async function handleRepos(options) {
|
|
|
171
171
|
}
|
|
172
172
|
async function resolveRepoId(repo, installation) {
|
|
173
173
|
if (/^\d+$/.test(repo)) return Number(repo);
|
|
174
|
-
const { http } =
|
|
174
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
175
175
|
const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
|
|
176
176
|
const payload = await http.get(
|
|
177
177
|
`/api/v2/github/repos${query}`
|
|
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
192
192
|
const payload = await http.post("/api/v2/play-projects", {
|
|
193
193
|
repoId,
|
|
194
194
|
...options.installation !== void 0 ? { installationId: options.installation } : {},
|
|
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
|
|
|
197
197
|
...options.branch !== void 0 ? { productionBranch: options.branch } : {},
|
|
198
198
|
...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
async function handleGet(id, options) {
|
|
223
|
-
const { http } =
|
|
223
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
228
228
|
{
|
|
229
229
|
project: payload.project,
|
|
230
230
|
render: {
|
|
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
async function handleSet(id, options) {
|
|
243
|
-
const { http } =
|
|
243
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
244
244
|
const payload = await http.patch(
|
|
245
245
|
`/api/v2/play-projects/${encodeURIComponent(id)}`,
|
|
246
246
|
{
|
|
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
|
|
|
251
251
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
|
-
|
|
254
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
project: payload.project,
|
|
257
257
|
render: {
|
|
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
async function handleUnlink(id, options) {
|
|
267
|
-
const { http } =
|
|
267
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
270
270
|
{
|
|
271
271
|
ok: true,
|
|
272
272
|
id,
|
|
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
async function handleConnect(options) {
|
|
289
|
-
const baseUrl =
|
|
289
|
+
const baseUrl = _chunkNGB2VSGBjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkPWQ3IUD4js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
315
315
|
const query = new URLSearchParams();
|
|
316
316
|
if (options.repo) query.set("projectId", options.repo);
|
|
317
317
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
|
|
|
319
319
|
const payload = await http.get(
|
|
320
320
|
`/api/v2/deployments${suffix}`
|
|
321
321
|
);
|
|
322
|
-
|
|
322
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
deployments: payload.deployments,
|
|
325
325
|
count: payload.deployments.length,
|
|
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
|
|
|
363
363
|
]);
|
|
364
364
|
}
|
|
365
365
|
async function handleDeploymentGet(id, options) {
|
|
366
|
-
const { http } =
|
|
366
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
367
367
|
const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
|
|
368
368
|
const playLines = renderDeploymentPlayLines(payload.deployment.results);
|
|
369
369
|
const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
|
|
370
370
|
const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
|
|
371
|
-
|
|
371
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
372
372
|
{
|
|
373
373
|
deployment: payload.deployment,
|
|
374
374
|
project: payload.project,
|
|
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
|
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
async function handleDeploymentCancel(id, options) {
|
|
390
|
-
const { http } =
|
|
390
|
+
const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFFXLMJ5Ojs = require('./chunk-FFXLMJ5O.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkNGB2VSGBjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkFFXLMJ5Ojs.PlayClient)(
|
|
142
|
+
new (0, _chunkNGB2VSGBjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkPWQ3IUD4js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -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 _chunk4U5HIMZYjs = require('./chunk-4U5HIMZY.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCZ2RJTAQjs = require('./chunk-CZ2RJTAQ.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,18 +18,18 @@ 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") _chunkCZ2RJTAQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunk4U5HIMZYjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkCZ2RJTAQjs.requireSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
|
-
|
|
32
|
+
_chunkCZ2RJTAQjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
|
21
21
|
var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkDAS66RGZjs = require('./chunk-DAS66RGZ.js');
|
|
25
25
|
|
|
26
26
|
// src/version.ts
|
|
27
|
-
var SDK_VERSION =
|
|
28
|
-
var SDK_API_MAJOR =
|
|
29
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
27
|
+
var SDK_VERSION = _chunkDAS66RGZjs.SDK_RELEASE.version;
|
|
28
|
+
var SDK_API_MAJOR = _chunkDAS66RGZjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
29
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkDAS66RGZjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
30
30
|
|
|
31
31
|
// src/agent-runtime.ts
|
|
32
32
|
var _fs = require('fs');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L57JAXHI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_MAX_RETRIES,
|
|
9
9
|
DEFAULT_SKILL_AGENTS,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
sdkCliStateDirPath,
|
|
19
19
|
skillsAgentPathSegment,
|
|
20
20
|
writeSdkSkillsLocalVersion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZGOTBBY3.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SDK_API_CONTRACT,
|
|
24
24
|
SDK_API_MAJOR,
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
deploymentProtectionHeaders,
|
|
27
27
|
detectAgentRuntime
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LW2FKVCQ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
32
|
import {
|
|
33
33
|
SDK_RELEASE
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MUIJGT2B.mjs";
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
import { randomUUID } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MF7PCM6C.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UYPXQFJ4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-5TYLSS4Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
saveHostEnvValues,
|
|
23
23
|
saveProjectDeeplineEnvValues,
|
|
24
24
|
storedHostApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZGOTBBY3.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SDK_API_CONTRACT,
|
|
28
28
|
SDK_VERSION,
|
|
29
29
|
connectionFailureMessage,
|
|
30
30
|
detectAgentRuntime,
|
|
31
31
|
networkCauseCode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LW2FKVCQ.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -654,8 +654,9 @@ Output:
|
|
|
654
654
|
error.retry says whether sending the same call again can succeed, and
|
|
655
655
|
error.upstreamResponse holds a connected provider's status and body.
|
|
656
656
|
Cost:
|
|
657
|
-
What the tool or play charges. --max-credits caps a play run
|
|
658
|
-
|
|
657
|
+
What the tool or play charges. --max-credits caps a play run's posted
|
|
658
|
+
charges; parallel calls in flight can end it somewhat over (plays run
|
|
659
|
+
--help). Running an interrupted call again replays it without paying twice.
|
|
659
660
|
Next:
|
|
660
661
|
Read the saved file. deepline runs get <id> shows the run again.
|
|
661
662
|
`
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W5JM2QCI.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
resolveShellSpawn,
|
|
11
11
|
syncSdkSkillsIfNeeded
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ASMHON7N.mjs";
|
|
13
13
|
import {
|
|
14
14
|
addJsonNotice,
|
|
15
15
|
isJsonOutputMode
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
17
17
|
import {
|
|
18
18
|
resolveApiKeyForBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZGOTBBY3.mjs";
|
|
20
20
|
import {
|
|
21
21
|
SDK_VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LW2FKVCQ.mjs";
|
|
23
23
|
|
|
24
24
|
// src/cli/compatibility-catalog.ts
|
|
25
25
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IFHMGEDN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YO2FDGAN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-XFZX6FNM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2ZS5PZB6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KNOS6H4E.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZGOTBBY3.mjs";
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
import { writeFileSync } from "fs";
|
|
@@ -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 _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.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
|
+
_chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|