deepline 0.3.576 → 0.3.578
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/cli/{agents-BLJR2Y3X.mjs → agents-LRBANBZH.mjs} +4 -4
- package/dist/cli/{agents-CJQ7KBFT.js → agents-MCU3ITQZ.js} +31 -31
- package/dist/cli/{auth-SLZIRCPE.mjs → auth-5BJKVYMQ.mjs} +5 -5
- package/dist/cli/auth-VSW3MTFO.js +44 -0
- package/dist/cli/{billing-6Q4SK5KF.mjs → billing-EBBI4MVL.mjs} +8 -8
- package/dist/cli/{billing-IECMVARO.js → billing-NT57POHH.js} +99 -99
- package/dist/cli/{chunk-WDWV77SJ.js → chunk-24FGR73C.js} +13 -13
- package/dist/cli/{chunk-L6H72AIX.js → chunk-25SSGQJJ.js} +2 -2
- package/dist/cli/{chunk-6RY5COUY.js → chunk-27HAQRGH.js} +23 -23
- package/dist/cli/{chunk-ZYN6S6G2.mjs → chunk-3GF33QJJ.mjs} +4 -4
- package/dist/cli/{chunk-PYFMNPTA.js → chunk-3ZUKYLC6.js} +8 -8
- package/dist/cli/{chunk-KQTZO6NT.mjs → chunk-4CNHOBUO.mjs} +2 -2
- package/dist/cli/{chunk-ZIGMC2X4.mjs → chunk-4KNRCUKY.mjs} +11 -11
- package/dist/cli/{chunk-JPFAD6G6.mjs → chunk-4LMTY4RQ.mjs} +2 -2
- package/dist/cli/{chunk-CUIFDMNP.mjs → chunk-4YSJOSBG.mjs} +1 -1
- package/dist/cli/{chunk-SBZSJQEI.js → chunk-5IMWXYVB.js} +53 -53
- package/dist/cli/{chunk-6JQZC6HX.js → chunk-5LCV36BR.js} +20 -20
- package/dist/cli/{chunk-5VABOJ4M.mjs → chunk-6UFTWNC5.mjs} +2 -2
- package/dist/cli/{chunk-66K7F7LR.mjs → chunk-7J473OJ5.mjs} +1 -1
- package/dist/cli/{chunk-MDJ4LPQ5.js → chunk-A7NKOXBV.js} +4 -4
- package/dist/cli/{chunk-YHM64N5C.mjs → chunk-ALXYCC4K.mjs} +1 -1
- package/dist/cli/{chunk-4KIIXV5Z.js → chunk-BPMA4S3O.js} +16 -16
- package/dist/cli/{chunk-GI57Q7JU.mjs → chunk-CFG3ZM7M.mjs} +2 -2
- package/dist/cli/{chunk-XJNJ3BWU.mjs → chunk-CFLAGRWL.mjs} +1 -1
- package/dist/cli/{chunk-E4M4QZBP.js → chunk-CPNTDIJK.js} +1 -1
- package/dist/cli/{chunk-V25CXBR2.js → chunk-CS36W3RL.js} +26 -26
- package/dist/cli/{chunk-S4IW4NAI.mjs → chunk-CSPOWVWS.mjs} +1 -1
- package/dist/cli/{chunk-LKC7PHDX.mjs → chunk-DDJN4RR6.mjs} +4 -4
- package/dist/cli/{chunk-EQO77FQZ.js → chunk-G7PH2QVM.js} +5 -5
- package/dist/cli/{chunk-PU5VCDCJ.mjs → chunk-H7DY5NQ3.mjs} +5 -5
- package/dist/cli/{chunk-JSIOLCTK.js → chunk-HGQT6EGK.js} +20 -20
- package/dist/cli/{chunk-HE53AI2E.mjs → chunk-HKZN33F2.mjs} +3 -3
- package/dist/cli/{chunk-UGIH4462.mjs → chunk-HZXF2HFF.mjs} +5 -5
- package/dist/cli/{chunk-7DI34I73.mjs → chunk-IFWB4BYZ.mjs} +3 -3
- package/dist/cli/{chunk-QCD7BQ5Z.mjs → chunk-ITYSPUKD.mjs} +2 -2
- package/dist/cli/{chunk-DGY4EYIX.js → chunk-J7PCSLRY.js} +5 -5
- package/dist/cli/{chunk-SY3OKOI5.mjs → chunk-JQPFICW3.mjs} +1 -1
- package/dist/cli/{chunk-TZHS2W5Z.mjs → chunk-LYZPGP3P.mjs} +1 -1
- package/dist/cli/{chunk-OXRG325T.js → chunk-M3ITWEGS.js} +41 -41
- package/dist/cli/{chunk-NQFZ7FYN.js → chunk-NEH7NZFT.js} +10 -10
- package/dist/cli/{chunk-R5NKLZL2.mjs → chunk-NTHN7ODR.mjs} +1 -1
- package/dist/cli/{chunk-2UHEJPSS.mjs → chunk-OAQYLTUN.mjs} +5 -5
- package/dist/cli/{chunk-F4H26PP6.js → chunk-P35YQAUC.js} +100 -100
- package/dist/cli/{chunk-D5LWYP2H.mjs → chunk-PJXPHUAR.mjs} +3 -3
- package/dist/cli/{chunk-45POZK3F.js → chunk-PXMCPEE2.js} +3 -3
- package/dist/cli/{chunk-AUR24RQB.mjs → chunk-QPOJLAFT.mjs} +2 -2
- package/dist/cli/{chunk-HHMO3CON.js → chunk-RLPPLS6A.js} +6 -6
- package/dist/cli/{chunk-Y4A6Y5EY.js → chunk-RWDYULX2.js} +7 -7
- package/dist/cli/{chunk-X5V6S5KI.mjs → chunk-T2CCLYHV.mjs} +5 -5
- package/dist/cli/{chunk-BRPUB6UA.js → chunk-UKSOIH2P.js} +5 -5
- package/dist/cli/{chunk-OMVBBAQP.mjs → chunk-VMCJKGZS.mjs} +2 -2
- package/dist/cli/{chunk-GZ7KYGYE.js → chunk-VVZ7JZMQ.js} +15 -15
- package/dist/cli/{chunk-ANPHEXTT.js → chunk-W47SXEWQ.js} +9 -9
- package/dist/cli/{chunk-ZRC52APB.mjs → chunk-W66GXHYR.mjs} +1 -1
- package/dist/cli/{chunk-36254433.js → chunk-XBO4ERH6.js} +3 -3
- package/dist/cli/{chunk-M23G33MH.js → chunk-XE66BGLB.js} +2 -2
- package/dist/cli/{chunk-WPGZ6V36.js → chunk-XX7TZM4N.js} +48 -48
- package/dist/cli/{chunk-UD6M2ZTY.js → chunk-Y2TK7OXN.js} +2 -2
- package/dist/cli/{concurrent-runs-help-H3SA7J6H.mjs → concurrent-runs-help-2MHLIUC6.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +22 -0
- package/dist/cli/{csv-ICXI7JAS.mjs → csv-J6SRBMOT.mjs} +4 -4
- package/dist/cli/{csv-6DEKR3QQ.js → csv-RYYDAC76.js} +13 -13
- package/dist/cli/{db-AG7INMLP.js → db-5QLH6QK5.js} +27 -27
- package/dist/cli/{db-VI7T5E6O.mjs → db-WK226TM7.mjs} +6 -6
- package/dist/cli/describe-Q27SRQWM.js +50 -0
- package/dist/cli/{describe-S6NFWWGK.mjs → describe-UBSCFPH5.mjs} +18 -18
- package/dist/cli/{executions-M5R5QHIA.js → executions-AGV5V7SD.js} +8 -8
- package/dist/cli/{executions-MK7H4Q2H.mjs → executions-XF5BNCFS.mjs} +6 -6
- package/dist/cli/{feedback-L3L4FEQL.js → feedback-3RDEZE2M.js} +14 -14
- package/dist/cli/{feedback-ZHATL2XF.mjs → feedback-LT3PDK72.mjs} +6 -6
- package/dist/cli/{git-W5DHNH2Q.mjs → git-7VBTCCBV.mjs} +5 -5
- package/dist/cli/git-BBTP3H7J.js +26 -0
- package/dist/cli/index.js +144 -144
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-73YSN2LI.mjs → integrations-E7QRWMKZ.mjs} +7 -7
- package/dist/cli/{integrations-IBWNO3YP.js → integrations-JP732FQB.js} +29 -29
- package/dist/cli/{legacy-noops-4LFZJTDX.mjs → legacy-noops-UFNQBPIT.mjs} +6 -6
- package/dist/cli/{legacy-noops-AE6DBYJM.js → legacy-noops-UTL4W5WE.js} +9 -9
- package/dist/cli/{mcp-BKL6M6OI.js → mcp-5X4XFB4V.js} +24 -24
- package/dist/cli/{mcp-E6PTSNDE.mjs → mcp-YHETA3AU.mjs} +4 -4
- package/dist/cli/{monitors-SW7ZCPPT.js → monitors-AN6KH4XY.js} +100 -100
- package/dist/cli/{monitors-MXJ27KQK.mjs → monitors-WFVZ42OQ.mjs} +7 -7
- package/dist/cli/{org-XJ44KZ5I.js → org-CN3XJZLA.js} +121 -121
- package/dist/cli/{org-HYAJ2MIK.mjs → org-OMDV7WDF.mjs} +6 -6
- package/dist/cli/{outcomes-PTXGG4BZ.js → outcomes-7HCZ6K3Q.js} +14 -14
- package/dist/cli/{outcomes-PUMAXRGD.mjs → outcomes-I4ZTG5ND.mjs} +6 -6
- package/dist/cli/{play-EPDZ3GDV.js → play-45VXZ57A.js} +336 -336
- package/dist/cli/{play-QN3X6IAE.mjs → play-TSNBSHGA.mjs} +19 -19
- package/dist/cli/{providers-JIN5UQ7Z.mjs → providers-4TB56ZLK.mjs} +6 -6
- package/dist/cli/{providers-GNJFGNDH.js → providers-RB3TT7AE.js} +9 -9
- package/dist/cli/{quickstart-4EBFHGB7.mjs → quickstart-XHZ3PG5I.mjs} +4 -4
- package/dist/cli/{quickstart-YH6NNC5I.js → quickstart-ZNDM6VUD.js} +6 -6
- package/dist/cli/{run-5467KBCP.mjs → run-7PY4G6GB.mjs} +23 -23
- package/dist/cli/{run-4DRF7KQJ.js → run-XNEJGAKV.js} +44 -44
- package/dist/cli/{search-ZERTOGH6.mjs → search-BG7KCIOG.mjs} +7 -7
- package/dist/cli/search-ZBU5GW4W.js +32 -0
- package/dist/cli/{search-output-OMNZN2LP.js → search-output-3ZBNTHGO.js} +6 -6
- package/dist/cli/{search-output-OAVJXRFO.mjs → search-output-TWKKP2BE.mjs} +4 -4
- package/dist/cli/{secrets-KAVDYB4P.mjs → secrets-AZZCE7E3.mjs} +6 -6
- package/dist/cli/{secrets-7XK2BGYX.js → secrets-FNR6MX6A.js} +15 -15
- package/dist/cli/sessions-GCY62GAW.js +23 -0
- package/dist/cli/{sessions-TNPI6XWB.mjs → sessions-ZAMKN3AF.mjs} +6 -6
- package/dist/cli/{settings-RQ3Z3JCM.js → settings-QGASFWV3.js} +85 -85
- package/dist/cli/{settings-KUABXRAJ.mjs → settings-WKWOOOI2.mjs} +12 -12
- package/dist/cli/{setup-TDOWNKYN.js → setup-KUZDCR3F.js} +49 -49
- package/dist/cli/{setup-6IX6BSS7.mjs → setup-U36W42LE.mjs} +9 -9
- package/dist/cli/{skills-Z6NBJ4KP.mjs → skills-25CSZQIK.mjs} +7 -7
- package/dist/cli/skills-43DHMLRW.js +37 -0
- package/dist/cli/{tools-LQKFWK7J.mjs → tools-4NZQ22AA.mjs} +17 -17
- package/dist/cli/tools-5BGKNMFU.js +57 -0
- package/dist/cli/{update-RUB4EIKW.mjs → update-CJYP36TG.mjs} +9 -9
- package/dist/cli/update-CUO2MTB6.js +37 -0
- package/dist/cli/{views-FFLXLAGC.js → views-76UIPWJD.js} +21 -21
- package/dist/cli/{views-D7WY5QPR.mjs → views-GYGE7FSV.mjs} +6 -6
- package/dist/cli/{workflow-BV2OTEQD.mjs → workflow-LZSWALZS.mjs} +7 -7
- package/dist/cli/{workflow-QW7QVODA.js → workflow-NCVXBATM.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +114 -114
- 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-GSDYP4ZN.js +0 -44
- package/dist/cli/concurrent-runs-help-PB7GT6F2.js +0 -22
- package/dist/cli/describe-LMHIG3DP.js +0 -50
- package/dist/cli/git-WYNCLDHD.js +0 -26
- package/dist/cli/search-B2KCWPUV.js +0 -32
- package/dist/cli/sessions-PUQURPPC.js +0 -23
- package/dist/cli/skills-AACRY2TV.js +0 -37
- package/dist/cli/tools-OTYA4722.js +0 -57
- package/dist/cli/update-JTGMI6OJ.js +0 -37
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rejectRestrictedFeedback
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ALXYCC4K.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getAuthedHttpClient,
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4LMTY4RQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
agentSessionIdFromEnvironment,
|
|
10
10
|
claudeProjectsRoots,
|
|
11
11
|
coworkTranscriptFromEnvironment
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CFLAGRWL.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
import {
|
|
@@ -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 _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.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 && !_chunkHGQT6EGKjs.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 (_chunkHGQT6EGKjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MF7PCM6C.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NTHN7ODR.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-4LMTY4RQ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -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 _chunk25SSGQJJjs = require('./chunk-25SSGQJJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkXX7TZM4Njs = require('./chunk-XX7TZM4N.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") _chunkXX7TZM4Njs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunk25SSGQJJjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkXX7TZM4Njs.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
|
+
_chunkXX7TZM4Njs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -9,7 +9,7 @@ var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
|
|
|
250
250
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
251
251
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
252
252
|
if (typeof logicalValue === "object") {
|
|
253
|
-
return
|
|
253
|
+
return _chunkHGQT6EGKjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
254
254
|
}
|
|
255
255
|
return logicalValue;
|
|
256
256
|
}
|
|
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
|
|
|
642
642
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
643
643
|
columns
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return _chunkHGQT6EGKjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
648
648
|
let temp;
|
|
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
770
770
|
};
|
|
771
771
|
if (options.receiptOut && !skipReceiptFile) {
|
|
772
772
|
persist(options.receiptOut, jsonText(receipt));
|
|
773
|
-
|
|
773
|
+
_chunkHGQT6EGKjs.markJsonOutputHandled.call(void 0, );
|
|
774
774
|
} else {
|
|
775
775
|
printReceipt(receipt, options, {
|
|
776
776
|
data: hasData ? result.data : void 0,
|
|
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
|
|
|
939
939
|
problems.push(
|
|
940
940
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
941
941
|
);
|
|
942
|
-
const diagnostic =
|
|
942
|
+
const diagnostic = _chunkHGQT6EGKjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
943
943
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
944
944
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
945
945
|
problems.push(
|
|
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1032
1032
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1033
1033
|
` : receiptText(receipt, options, extra);
|
|
1034
1034
|
if (options.receiptOut !== void 0) {
|
|
1035
|
-
|
|
1036
|
-
|
|
1035
|
+
_chunkHGQT6EGKjs.writeRawStderr.call(void 0, text);
|
|
1036
|
+
_chunkHGQT6EGKjs.markJsonOutputHandled.call(void 0, );
|
|
1037
1037
|
} else {
|
|
1038
1038
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1039
1039
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4KNRCUKY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CSPOWVWS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
} from "./chunk-FYKHAT2F.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ITYSPUKD.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4LMTY4RQ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl,
|
|
26
26
|
resolveCliDashboardOrgId
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-W66GXHYR.mjs";
|
|
28
28
|
|
|
29
29
|
// src/cli/commands/describe.ts
|
|
30
30
|
import { writeFileSync } from "fs";
|
|
@@ -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 _chunk3ZUKYLC6js = require('./chunk-3ZUKYLC6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunk3ZUKYLC6js.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkXBO4ERH6js.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkXBO4ERH6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
traceCliSpan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JQPFICW3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
enforceSdkCompatibilityResponse,
|
|
6
6
|
flushDeferredSkillsSyncNotices,
|
|
7
7
|
requireSdkCompatibility
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OAQYLTUN.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -1,19 +1,19 @@
|
|
|
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 _chunkUKSOIH2Pjs = require('./chunk-UKSOIH2P.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/integration-commands.ts
|
|
12
12
|
var _commander = require('commander');
|
|
13
13
|
var _fs = require('fs');
|
|
14
14
|
var _path = require('path');
|
|
15
15
|
function printIntegrationResult(value, json, lines, nextCursor) {
|
|
16
|
-
|
|
16
|
+
_chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
|
|
17
17
|
{},
|
|
18
18
|
{
|
|
19
19
|
json: json || void 0,
|
|
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
|
|
|
29
29
|
return parent.command("balance <provider>", { hidden }).description(
|
|
30
30
|
"Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
|
|
31
31
|
).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
|
|
32
|
-
const balance = await new (0,
|
|
32
|
+
const balance = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().getIntegrationBalance(
|
|
33
33
|
provider
|
|
34
34
|
);
|
|
35
35
|
printIntegrationResult(balance, options.json, [
|
|
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
43
43
|
"List teammates\u2019 personal connections for this provider"
|
|
44
44
|
).option("--cursor <cursor>", "Read the next page of members").action(
|
|
45
45
|
async (options) => {
|
|
46
|
-
const client = new (0,
|
|
46
|
+
const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
|
|
47
47
|
if (name === "list" && options.cursor && !options.members)
|
|
48
48
|
throw new Error(
|
|
49
49
|
"Use --cursor with --members to continue a member page."
|
|
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
85
85
|
}
|
|
86
86
|
function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
|
|
87
87
|
return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
|
|
88
|
-
const page = await new (0,
|
|
88
|
+
const page = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().listPersonalHubSpotMembers(
|
|
89
89
|
options.cursor
|
|
90
90
|
);
|
|
91
91
|
const rows = page.members.map((member) => {
|
|
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
|
|
|
111
111
|
);
|
|
112
112
|
if (options.autoName && (action !== "connect" || options.name !== void 0))
|
|
113
113
|
throw new Error("Use --auto-name with connect and omit --name.");
|
|
114
|
-
const client = new (0,
|
|
114
|
+
const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
|
|
115
115
|
const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
|
|
116
116
|
const row = connections.find(
|
|
117
117
|
(connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
|
|
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
144
144
|
"Print the proposed change without contacting Google or saving it"
|
|
145
145
|
).option("--json", "Print the result as JSON").action(
|
|
146
146
|
async (action, options) => {
|
|
147
|
-
const client = new (0,
|
|
147
|
+
const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
|
|
148
148
|
if (action === "list") {
|
|
149
149
|
const inventory = await client.listCalendarAvailabilityConnections();
|
|
150
150
|
const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
|
|
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
294
294
|
}
|
|
295
295
|
function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
|
|
296
296
|
return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
|
|
297
|
-
const page = await new (0,
|
|
297
|
+
const page = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().listAvailabilityCalendars(
|
|
298
298
|
options.cursor
|
|
299
299
|
);
|
|
300
300
|
printIntegrationResult(page, options.json, [
|
|
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
372
372
|
);
|
|
373
373
|
return;
|
|
374
374
|
}
|
|
375
|
-
const result2 = await new (0,
|
|
375
|
+
const result2 = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().connectManagedIntegration(
|
|
376
376
|
provider,
|
|
377
377
|
{
|
|
378
378
|
termsVersion: options.acceptTerms,
|
|
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
409
409
|
printSetupPlan({ provider, action: "connect_link" }, options.json);
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
|
-
const link = await new (0,
|
|
412
|
+
const link = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().getIntegrationConnectLink(
|
|
413
413
|
provider
|
|
414
414
|
);
|
|
415
415
|
printIntegrationResult(link, options.json, [link.connect_url]);
|
|
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
439
439
|
);
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
const result2 = await new (0,
|
|
442
|
+
const result2 = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().startIntegrationOAuth(
|
|
443
443
|
provider,
|
|
444
444
|
{
|
|
445
445
|
...options.preset !== void 0 ? { preset: options.preset } : {},
|
|
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
501
501
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
|
-
const result = await new (0,
|
|
504
|
+
const result = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().setIntegrationCredentials(
|
|
505
505
|
provider,
|
|
506
506
|
credentials,
|
|
507
507
|
{ expectedConnectionId: options.expectedConnectionId, teamId }
|
|
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
530
530
|
function connectTeamId(orgDefault) {
|
|
531
531
|
if (orgDefault) return null;
|
|
532
532
|
try {
|
|
533
|
-
return _nullishCoalesce(
|
|
533
|
+
return _nullishCoalesce(_chunkXBO4ERH6js.resolveConfig.call(void 0, ).workspace, () => ( null));
|
|
534
534
|
} catch (e2) {
|
|
535
535
|
return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
|
|
536
536
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk3ZUKYLC6js = require('./chunk-3ZUKYLC6.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkHGQT6EGKjs.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
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.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkHGQT6EGKjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkHGQT6EGKjs.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
657
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
const parsed =
|
|
660
|
+
const parsed = _chunk3ZUKYLC6js.parseLogLevel.call(void 0, value);
|
|
661
661
|
if (!parsed) {
|
|
662
662
|
throw new Error(
|
|
663
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
990
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
991
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
992
992
|
);
|
|
993
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk3ZUKYLC6js.parseLogLevel.call(void 0, options.logLevel);
|
|
994
994
|
if (!logLevel)
|
|
995
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
996
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1004
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
1005
1005
|
logLevel = "debug";
|
|
1006
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
1007
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
1008
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkHGQT6EGKjs.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkHGQT6EGKjs.jsonFieldArgs.call(void 0, options.json)],
|
|
1009
1009
|
"run"
|
|
1010
1010
|
).fields;
|
|
1011
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
1012
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
1013
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkHGQT6EGKjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
1014
1014
|
const verboseLogs = Boolean(
|
|
1015
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1016
1016
|
);
|
|
@@ -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 _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -778,7 +778,7 @@ function readSkillsVersionFile(path) {
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
function resolveAutoSyncSkillAgents() {
|
|
781
|
-
switch (
|
|
781
|
+
switch (_chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, )) {
|
|
782
782
|
case "codex":
|
|
783
783
|
return ["codex"];
|
|
784
784
|
case "claude_code":
|
|
@@ -848,7 +848,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
// src/http.ts
|
|
851
|
-
var HttpClient2 = class extends
|
|
851
|
+
var HttpClient2 = class extends _chunkA7NKOXBVjs.HttpClient {
|
|
852
852
|
constructor(config) {
|
|
853
853
|
super(config, readSdkSkillsLocalVersion);
|
|
854
854
|
}
|
|
@@ -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 _chunkXX7TZM4Njs = require('./chunk-XX7TZM4N.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 = _chunkXX7TZM4Njs.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
|
windowsHide: true,
|
|
19
19
|
encoding: "utf8",
|