deepline 0.3.487 → 0.3.488
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/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/cli/{auth-GIBZFTUJ.mjs → auth-3BTWD5NT.mjs} +5 -5
- package/dist/cli/auth-F3OYGJ7T.js +43 -0
- package/dist/cli/{billing-TZINXSTI.js → billing-CHCBRT2F.js} +79 -79
- package/dist/cli/{billing-T3SN2T4T.mjs → billing-QROEPF5K.mjs} +6 -6
- package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-2LNTFODA.mjs} +2 -2
- package/dist/cli/{chunk-JZNSRGDL.js → chunk-2OHR2B5U.js} +2 -2
- package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-3T6HNVZN.mjs} +2 -2
- package/dist/cli/{chunk-WXEAAVBK.js → chunk-4BQEGVNC.js} +7 -7
- package/dist/cli/{chunk-BWXQIRPZ.js → chunk-4BVJ6YSN.js} +5 -5
- package/dist/cli/{chunk-O4LTC7S6.js → chunk-6JTJWIXZ.js} +22 -8
- package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-6RZ2UVFW.mjs} +1 -1
- package/dist/cli/{chunk-QZ4DVKYU.js → chunk-73H5KG5T.js} +9 -9
- package/dist/cli/{chunk-VPSK464I.mjs → chunk-AYJVYXES.mjs} +10 -10
- package/dist/cli/{chunk-E2CSKE27.js → chunk-BU2MZXN6.js} +3 -3
- package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-C5M43H4F.mjs} +4 -4
- package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-CVBMI2HY.mjs} +3 -3
- package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-EMPGZXFN.mjs} +4 -4
- package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-F4W4J6BT.mjs} +2 -2
- package/dist/cli/{chunk-HKK3NTTF.js → chunk-G52LFTXC.js} +2 -2
- package/dist/cli/{chunk-JDFYXDDA.js → chunk-GBQLNEB7.js} +53 -53
- package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-GXZK35XL.mjs} +2 -2
- package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-HDUDLOGI.mjs} +5 -5
- package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-HO4PLJHS.mjs} +4 -4
- package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-IS24BRFV.mjs} +1 -1
- package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-IXQQWEYK.mjs} +1 -1
- package/dist/cli/{chunk-DAXLSR65.js → chunk-KI74RLCP.js} +3 -3
- package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-KQKPDXIZ.mjs} +1 -1
- package/dist/cli/{chunk-TY7AFVAC.js → chunk-KV5MCYQE.js} +37 -37
- package/dist/cli/{chunk-6YMPAQEI.js → chunk-LBFU3VRY.js} +26 -26
- package/dist/cli/{chunk-FMN7S7KB.js → chunk-MBHPAZEA.js} +53 -53
- package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-N7LKHN5C.mjs} +1 -1
- package/dist/cli/{chunk-76EUEG45.mjs → chunk-NSAI3D4H.mjs} +1 -1
- package/dist/cli/{chunk-TDUPHVI2.js → chunk-OWYXDSU5.js} +21 -21
- package/dist/cli/{chunk-75LPU4AO.js → chunk-P2IEBDEG.js} +7 -7
- package/dist/cli/{chunk-NR6ZSXYE.js → chunk-QHMEOHN4.js} +94 -94
- package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-QRBDW3X6.mjs} +1 -1
- package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-QT2SPITP.mjs} +2 -2
- package/dist/cli/{chunk-YIVYI5XH.js → chunk-QWEQV3R3.js} +8 -8
- package/dist/cli/{chunk-BXOHHCXG.js → chunk-SE252VCN.js} +4 -4
- package/dist/cli/{chunk-XVSMWD6E.js → chunk-SV2VOJF4.js} +7 -7
- package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-TJRGYEDA.mjs} +4 -4
- package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-TKK4TR7B.mjs} +15 -1
- package/dist/cli/{chunk-ZJIFSEJS.js → chunk-TMIWNHL4.js} +16 -16
- package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-TZSRQYKH.mjs} +2 -2
- package/dist/cli/{chunk-4LMPONJM.mjs → chunk-UUKMZK23.mjs} +2 -2
- package/dist/cli/{chunk-NDUZXNGV.js → chunk-WER5FPHI.js} +1 -1
- package/dist/cli/{chunk-WFMTJFGG.js → chunk-XGQBBMSP.js} +10 -10
- package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-XMBIESQ7.mjs} +5 -5
- package/dist/cli/{chunk-ZOENOU2W.js → chunk-ZJVQXD7M.js} +5 -5
- package/dist/cli/{chunk-WZQSBYFU.js → chunk-ZYJBIZLV.js} +6 -6
- package/dist/cli/{csv-42ZQOY2Y.mjs → csv-74EFMI3L.mjs} +4 -4
- package/dist/cli/{csv-IKHCVOV5.js → csv-WQ5IPBPJ.js} +13 -13
- package/dist/cli/{db-B3RLPXTA.mjs → db-JMTHP7J2.mjs} +6 -6
- package/dist/cli/{db-3AWAIV6O.js → db-LUU3EFBM.js} +27 -27
- package/dist/cli/describe-35UK3DNO.js +49 -0
- package/dist/cli/{describe-NEPMNE33.mjs → describe-PKBLERG6.mjs} +17 -17
- package/dist/cli/{executions-3KJXWIGK.js → executions-LVMXG5GY.js} +8 -8
- package/dist/cli/{executions-W53OBSB6.mjs → executions-SM32REFN.mjs} +6 -6
- package/dist/cli/{feedback-3MSNFC6M.js → feedback-AECGZDEG.js} +8 -8
- package/dist/cli/{feedback-GJNATGAP.mjs → feedback-V7PEANAR.mjs} +4 -4
- package/dist/cli/git-3KBELBUI.js +25 -0
- package/dist/cli/{git-5BWKZFNE.mjs → git-BDX3U6NA.mjs} +5 -5
- package/dist/cli/index.js +137 -137
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-JRGBSX4O.js} +8 -8
- package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-W6E7TXE4.mjs} +5 -5
- package/dist/cli/{monitors-T5RMXFKT.js → monitors-JT6QZITH.js} +91 -91
- package/dist/cli/{monitors-24QFIRCI.mjs → monitors-RKWUYNER.mjs} +7 -7
- package/dist/cli/{org-ZZPKJOQY.mjs → org-5XOHJY6O.mjs} +6 -6
- package/dist/cli/{org-3JJQOXLF.js → org-PALGDO5U.js} +72 -72
- package/dist/cli/{pages-ZFCV37XK.mjs → pages-Q5MG4J6F.mjs} +6 -6
- package/dist/cli/{pages-3GK3SKKB.js → pages-UKICE2RA.js} +17 -17
- package/dist/cli/{play-4MINBQNW.js → play-MR324ZTD.js} +312 -312
- package/dist/cli/{play-DX36FVSU.mjs → play-PY5AT3JQ.mjs} +17 -17
- package/dist/cli/{providers-YDQHY35D.js → providers-MGBLIMRF.js} +9 -9
- package/dist/cli/{providers-Z4EYMZJM.mjs → providers-V3YMXJFB.mjs} +6 -6
- package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-LYQ5N6VI.js} +6 -6
- package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-MMETU4RG.mjs} +4 -4
- package/dist/cli/{run-P345MQLC.js → run-A5CNTDYQ.js} +37 -36
- package/dist/cli/{run-OBU3YFOJ.mjs → run-PZ7CWOJJ.mjs} +23 -22
- package/dist/cli/search-4SG3UMIQ.js +32 -0
- package/dist/cli/{search-5FBWOI2H.mjs → search-IRDHHP7N.mjs} +7 -7
- package/dist/cli/{search-output-673LGTLF.mjs → search-output-7UAKSD7H.mjs} +4 -4
- package/dist/cli/{search-output-WOTMZA55.js → search-output-N7RQNWBW.js} +6 -6
- package/dist/cli/{secrets-IWYY42YD.js → secrets-XJGQ3BLJ.js} +15 -15
- package/dist/cli/{secrets-QX45TZJK.mjs → secrets-XN4UDYNN.mjs} +6 -6
- package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-324MFEFP.mjs} +5 -5
- package/dist/cli/{sessions-ZUK654NJ.js → sessions-4UUVDBAO.js} +6 -6
- package/dist/cli/{settings-6VY7HTEE.mjs → settings-4EZEUQOS.mjs} +11 -11
- package/dist/cli/{settings-ZXXP7DHM.js → settings-REBKKLBF.js} +78 -78
- package/dist/cli/{setup-RE7T3PAE.js → setup-ELPVMUCK.js} +47 -47
- package/dist/cli/{setup-SD66A4OE.mjs → setup-G3VQ5NCJ.mjs} +9 -9
- package/dist/cli/{skills-ARPNJ7MN.mjs → skills-RLUDQJWB.mjs} +7 -7
- package/dist/cli/skills-X5FY5KJM.js +33 -0
- package/dist/cli/{tools-R3TUCRX3.mjs → tools-MRAFK3MJ.mjs} +16 -16
- package/dist/cli/tools-PCRPD5XD.js +56 -0
- package/dist/cli/update-Q4ND4F7E.js +33 -0
- package/dist/cli/{update-2DPZJQK4.mjs → update-WRTYTP3Y.mjs} +9 -9
- package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-ALJ3HLW4.mjs} +7 -7
- package/dist/cli/{workflow-GIWX7OZC.js → workflow-LHS32WIT.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +98 -98
- 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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-Q4U7IFFV.js +0 -43
- package/dist/cli/describe-HLO35E5Y.js +0 -49
- package/dist/cli/git-WRFBKH6H.js +0 -25
- package/dist/cli/search-IV22OQLS.js +0 -32
- package/dist/cli/skills-ZDKFUVNP.js +0 -33
- package/dist/cli/tools-AUU42AVE.js +0 -56
- package/dist/cli/update-QLF3A6YY.js +0 -33
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-7I4B6V2S.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TZSRQYKH.mjs";
|
|
7
7
|
import {
|
|
8
8
|
iterateCursorPages,
|
|
9
9
|
requireBillingIdempotencyKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IS24BRFV.mjs";
|
|
11
11
|
import "./chunk-L2VKAASU.mjs";
|
|
12
12
|
import "./chunk-ONONSV2Q.mjs";
|
|
13
13
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
openInBrowser,
|
|
19
19
|
printCommandEnvelope,
|
|
20
20
|
shouldEmitJson
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-UUKMZK23.mjs";
|
|
22
|
+
import "./chunk-N7LKHN5C.mjs";
|
|
23
|
+
import "./chunk-KQKPDXIZ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AuthError,
|
|
26
26
|
ConfigError
|
|
@@ -29,7 +29,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-QRBDW3X6.mjs";
|
|
33
33
|
import "./chunk-WZYKRD7T.mjs";
|
|
34
34
|
import "./chunk-KRD6H754.mjs";
|
|
35
35
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UUKMZK23.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KQKPDXIZ.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|
|
@@ -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(); } } 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 _chunkMBHPAZEAjs = require('./chunk-MBHPAZEA.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkMBHPAZEAjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
encoding: "utf8",
|
|
19
19
|
env,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
traceCliSpan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NSAI3D4H.mjs";
|
|
4
4
|
import {
|
|
5
5
|
checkSdkCompatibility,
|
|
6
6
|
enforceSdkCompatibilityResponse,
|
|
7
7
|
flushDeferredSkillsSyncNotices
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C5M43H4F.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBU2MZXN6js = require('./chunk-BU2MZXN6.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSE252VCNjs = require('./chunk-SE252VCN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
290
290
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
291
291
|
var defaultBrowserCommandRunner = childProcess;
|
|
292
292
|
function getAuthedHttpClient() {
|
|
293
|
-
const config =
|
|
294
|
-
return { config, http: new (0,
|
|
293
|
+
const config = _chunkBU2MZXN6js.resolveConfig.call(void 0, );
|
|
294
|
+
return { config, http: new (0, _chunkBU2MZXN6js.HttpClient)(config) };
|
|
295
295
|
}
|
|
296
296
|
function stableOsUserId() {
|
|
297
297
|
try {
|
|
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
|
|
|
631
631
|
os: `${process.platform} ${process.arch}`,
|
|
632
632
|
node_version: process.version,
|
|
633
633
|
home_dir: homeDir,
|
|
634
|
-
agent_runtime:
|
|
634
|
+
agent_runtime: _chunkSE252VCNjs.detectAgentRuntime.call(void 0, )
|
|
635
635
|
};
|
|
636
636
|
const env = process.env;
|
|
637
637
|
const optional = {
|
|
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
878
878
|
}
|
|
879
879
|
function withAgentCommandContext(value) {
|
|
880
880
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
881
|
-
return
|
|
881
|
+
return _chunkSE252VCNjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
882
882
|
...valueRecord,
|
|
883
|
-
command_context:
|
|
883
|
+
command_context: _chunkBU2MZXN6js.resolveCliCommandContext.call(void 0, )
|
|
884
884
|
} : value;
|
|
885
885
|
}
|
|
886
886
|
function printJson(value, fields) {
|
|
@@ -1,16 +1,16 @@
|
|
|
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 _chunkSV2VOJF4js = require('./chunk-SV2VOJF4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkBU2MZXN6js = require('./chunk-BU2MZXN6.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkSV2VOJF4js.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkBU2MZXN6js.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkBU2MZXN6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -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 _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -15,17 +15,27 @@ var CliProgress = (_class = class {
|
|
|
15
15
|
/** Where live log lines go instead of stderr, as `deepline run --logs-out` sets. */
|
|
16
16
|
__init8() {this.logWriter = null}
|
|
17
17
|
|
|
18
|
+
/** Progress goes to the log writer, not stderr, as a non-terminal `deepline run` sets. */
|
|
19
|
+
__init9() {this.quiet = false}
|
|
18
20
|
// --json output is one JSON document: progress never renders under it.
|
|
19
|
-
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);
|
|
20
|
-
this.enabled = enabled && !
|
|
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 && !_chunk4BQEGVNCjs.isJsonOutputMode.call(void 0, );
|
|
21
23
|
}
|
|
22
24
|
setLogWriter(writer) {
|
|
23
25
|
this.logWriter = writer;
|
|
24
26
|
}
|
|
27
|
+
setQuiet(quiet) {
|
|
28
|
+
this.quiet = quiet;
|
|
29
|
+
}
|
|
25
30
|
phase(message) {
|
|
26
31
|
if (!this.enabled || this.lastMessage === message) {
|
|
27
32
|
return;
|
|
28
33
|
}
|
|
34
|
+
if (this.quiet) {
|
|
35
|
+
this.lastMessage = message;
|
|
36
|
+
_optionalChain([this, 'access', _ => _.logWriter, 'optionalCall', _2 => _2(message)]);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
29
39
|
if (this.interactive && this.lastMessage) {
|
|
30
40
|
this.settle("\u2713");
|
|
31
41
|
}
|
|
@@ -36,7 +46,7 @@ var CliProgress = (_class = class {
|
|
|
36
46
|
return;
|
|
37
47
|
}
|
|
38
48
|
this.ensureWorker();
|
|
39
|
-
_optionalChain([this, 'access',
|
|
49
|
+
_optionalChain([this, 'access', _3 => _3.worker, 'optionalAccess', _4 => _4.postMessage, 'call', _5 => _5({ type: "phase", message })]);
|
|
40
50
|
}
|
|
41
51
|
complete() {
|
|
42
52
|
this.settle("\u2713");
|
|
@@ -49,7 +59,7 @@ var CliProgress = (_class = class {
|
|
|
49
59
|
this.logWriter(line);
|
|
50
60
|
return;
|
|
51
61
|
}
|
|
52
|
-
if (
|
|
62
|
+
if (_chunk4BQEGVNCjs.isJsonOutputMode.call(void 0, )) return;
|
|
53
63
|
if (!this.enabled) {
|
|
54
64
|
process.stderr.write(`${line}
|
|
55
65
|
`);
|
|
@@ -62,7 +72,7 @@ var CliProgress = (_class = class {
|
|
|
62
72
|
return;
|
|
63
73
|
}
|
|
64
74
|
const activeMessage = this.lastMessage;
|
|
65
|
-
_optionalChain([this, 'access',
|
|
75
|
+
_optionalChain([this, 'access', _6 => _6.worker, 'optionalAccess', _7 => _7.terminate, 'call', _8 => _8(), 'access', _9 => _9.catch, 'call', _10 => _10(() => void 0)]);
|
|
66
76
|
this.worker = null;
|
|
67
77
|
process.stderr.write(`\r\x1B[2K${message}
|
|
68
78
|
`);
|
|
@@ -71,13 +81,17 @@ var CliProgress = (_class = class {
|
|
|
71
81
|
}
|
|
72
82
|
}
|
|
73
83
|
writeLine(line, stream = process.stderr) {
|
|
84
|
+
if (this.quiet && stream === process.stderr) {
|
|
85
|
+
_optionalChain([this, 'access', _11 => _11.logWriter, 'optionalCall', _12 => _12(line)]);
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
74
88
|
if (!this.enabled || !this.interactive) {
|
|
75
89
|
stream.write(`${line}
|
|
76
90
|
`);
|
|
77
91
|
return;
|
|
78
92
|
}
|
|
79
93
|
const activeMessage = this.lastMessage;
|
|
80
|
-
_optionalChain([this, 'access',
|
|
94
|
+
_optionalChain([this, 'access', _13 => _13.worker, 'optionalAccess', _14 => _14.terminate, 'call', _15 => _15(), 'access', _16 => _16.catch, 'call', _17 => _17(() => void 0)]);
|
|
81
95
|
this.worker = null;
|
|
82
96
|
stream.write(`\r\x1B[2K${line}
|
|
83
97
|
`);
|
|
@@ -90,7 +104,7 @@ var CliProgress = (_class = class {
|
|
|
90
104
|
return;
|
|
91
105
|
}
|
|
92
106
|
if (this.interactive) {
|
|
93
|
-
_optionalChain([this, 'access',
|
|
107
|
+
_optionalChain([this, 'access', _18 => _18.worker, 'optionalAccess', _19 => _19.terminate, 'call', _20 => _20(), 'access', _21 => _21.catch, 'call', _22 => _22(() => void 0)]);
|
|
94
108
|
this.worker = null;
|
|
95
109
|
process.stderr.write(
|
|
96
110
|
`\r\x1B[2K${this.grey}${mark} ${this.lastMessage}${this.reset}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSV2VOJF4js = require('./chunk-SV2VOJF4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
|
|
@@ -11,7 +11,7 @@ var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
|
|
|
579
579
|
return raw;
|
|
580
580
|
}
|
|
581
581
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
582
|
-
const selection =
|
|
582
|
+
const selection = _chunk4BQEGVNCjs.parseJsonFields.call(void 0, args, "run");
|
|
583
583
|
args = selection.args;
|
|
584
584
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
585
585
|
let filePath = null;
|
|
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
591
591
|
let revisionSelector = null;
|
|
592
592
|
const watch = !args.includes("--no-wait");
|
|
593
593
|
const dryRun = args.includes("--dry-run");
|
|
594
|
-
let jsonOutput = dryRun ?
|
|
594
|
+
let jsonOutput = dryRun ? _chunk4BQEGVNCjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk4BQEGVNCjs.argsWantJson.call(void 0, args);
|
|
595
595
|
const fullJson = args.includes("--full");
|
|
596
596
|
const force = args.includes("--force");
|
|
597
597
|
const forceToolRefresh = args.includes("--force-tool-refresh");
|
|
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
654
654
|
"--log-level requires one of: debug, info, warn, error."
|
|
655
655
|
);
|
|
656
656
|
}
|
|
657
|
-
const parsed =
|
|
657
|
+
const parsed = _chunkSV2VOJF4js.parseLogLevel.call(void 0, value);
|
|
658
658
|
if (!parsed) {
|
|
659
659
|
throw new Error(
|
|
660
660
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
972
972
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
973
973
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
974
974
|
);
|
|
975
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
975
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkSV2VOJF4js.parseLogLevel.call(void 0, options.logLevel);
|
|
976
976
|
if (!logLevel)
|
|
977
977
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
978
978
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
986
986
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
987
987
|
logLevel = "debug";
|
|
988
988
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
989
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
990
|
-
[...fullJson ? ["--full"] : [], ...
|
|
989
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunk4BQEGVNCjs.parseJsonFields.call(void 0,
|
|
990
|
+
[...fullJson ? ["--full"] : [], ..._chunk4BQEGVNCjs.jsonFieldArgs.call(void 0, options.json)],
|
|
991
991
|
"run"
|
|
992
992
|
).fields;
|
|
993
993
|
const watch = options.wait === false ? false : base.watch;
|
|
994
994
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
995
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
995
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunk4BQEGVNCjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
996
996
|
const verboseLogs = Boolean(
|
|
997
997
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
998
998
|
);
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6RZ2UVFW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HO4PLJHS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
arrayField,
|
|
12
12
|
formatModelDescription,
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
} from "./chunk-FIVKWNMT.mjs";
|
|
49
49
|
import {
|
|
50
50
|
DeeplineClient
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TZSRQYKH.mjs";
|
|
52
52
|
import {
|
|
53
53
|
validateExecutionIdempotencyKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IS24BRFV.mjs";
|
|
55
55
|
import {
|
|
56
56
|
stableStringify
|
|
57
57
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -61,18 +61,18 @@ import {
|
|
|
61
61
|
maybeAutoUpdateAndRelaunch,
|
|
62
62
|
registerCompatibilityCatalog,
|
|
63
63
|
runToolExecuteStage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-HDUDLOGI.mjs";
|
|
65
65
|
import {
|
|
66
66
|
isCliTraceEnabled,
|
|
67
67
|
recordCliTrace,
|
|
68
68
|
resolveCliMaintenancePolicy
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-NSAI3D4H.mjs";
|
|
70
70
|
import {
|
|
71
71
|
checkSdkCompatibility,
|
|
72
72
|
enforceSdkCompatibilityResponse,
|
|
73
73
|
flushDeferredSkillsSyncNotices,
|
|
74
74
|
syncSdkSkillsIfNeeded
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-C5M43H4F.mjs";
|
|
76
76
|
import {
|
|
77
77
|
printCommandEnvelope,
|
|
78
78
|
printCompactJson,
|
|
@@ -80,12 +80,12 @@ import {
|
|
|
80
80
|
printJsonError,
|
|
81
81
|
renderCommandEnvelopeText,
|
|
82
82
|
shouldEmitJson
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-UUKMZK23.mjs";
|
|
84
84
|
import {
|
|
85
85
|
readSdkSkillsLocalVersion,
|
|
86
86
|
resolveConfig,
|
|
87
87
|
sdkCliStateDirPath
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-N7LKHN5C.mjs";
|
|
89
89
|
import {
|
|
90
90
|
DeeplineError
|
|
91
91
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1038,7 +1038,7 @@ Examples:
|
|
|
1038
1038
|
process.exitCode = await narrowView();
|
|
1039
1039
|
return;
|
|
1040
1040
|
}
|
|
1041
|
-
const { describeAnything } = await import("./describe-
|
|
1041
|
+
const { describeAnything } = await import("./describe-PKBLERG6.mjs");
|
|
1042
1042
|
process.exitCode = await describeAnything(
|
|
1043
1043
|
toolId,
|
|
1044
1044
|
{
|
|
@@ -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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSE252VCNjs = require('./chunk-SE252VCN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
function resolveAutoSyncSkillAgents() {
|
|
714
|
-
switch (
|
|
714
|
+
switch (_chunkSE252VCNjs.detectAgentRuntime.call(void 0, )) {
|
|
715
715
|
case "codex":
|
|
716
716
|
return ["codex"];
|
|
717
717
|
case "claude_code":
|
|
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
// src/http.ts
|
|
784
|
-
var HttpClient2 = class extends
|
|
784
|
+
var HttpClient2 = class extends _chunkSE252VCNjs.HttpClient {
|
|
785
785
|
constructor(config) {
|
|
786
786
|
super(config, readSdkSkillsLocalVersion);
|
|
787
787
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TKK4TR7B.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SKILL_AGENTS,
|
|
6
6
|
KNOWN_SKILL_AGENTS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
sdkCliStateDirPath,
|
|
13
13
|
skillsAgentPathSegment,
|
|
14
14
|
writeSdkSkillsLocalVersion
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N7LKHN5C.mjs";
|
|
16
16
|
import {
|
|
17
17
|
SDK_API_CONTRACT,
|
|
18
18
|
SDK_API_MAJOR,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
agentSessionIdFromEnvironment,
|
|
21
21
|
deploymentProtectionHeaders,
|
|
22
22
|
detectAgentRuntime
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KQKPDXIZ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
DeeplineError
|
|
26
26
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_RELEASE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QRBDW3X6.mjs";
|
|
30
30
|
|
|
31
31
|
// src/compat.ts
|
|
32
32
|
import { randomUUID } from "crypto";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UUKMZK23.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-N7LKHN5C.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-KQKPDXIZ.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AYJVYXES.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6RZ2UVFW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-JVHOS3K3.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TZSRQYKH.mjs";
|
|
18
18
|
import {
|
|
19
19
|
printCommandEnvelope
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UUKMZK23.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/describe.ts
|
|
23
23
|
import { writeFileSync } from "fs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IS24BRFV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-ONONSV2Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UUKMZK23.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -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 _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.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
|
+
_chunk4BQEGVNCjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|