deepline 0.3.436 → 0.3.438
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 +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +5 -1
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +9 -1
- package/dist/cli/auth-7MV6G26U.js +40 -0
- package/dist/cli/{auth-A6D2PZMU.mjs → auth-UDRY6ZL5.mjs} +4 -4
- package/dist/cli/{billing-SWG3FF6U.mjs → billing-3PTMADUE.mjs} +4 -4
- package/dist/cli/{billing-ZPMWQR5V.js → billing-7QTUCC3F.js} +73 -73
- package/dist/cli/{chunk-776NKVHY.mjs → chunk-2KDFL6IV.mjs} +4 -4
- package/dist/cli/{chunk-E4ED66S3.mjs → chunk-2OTCHLWC.mjs} +1 -1
- package/dist/cli/{chunk-GF5O6EFC.js → chunk-3BQVWQXZ.js} +20 -20
- package/dist/cli/{chunk-U4CAMIW7.js → chunk-3G2MZM7B.js} +2 -2
- package/dist/cli/{chunk-VSDYVYRD.mjs → chunk-3G7KUJ63.mjs} +1 -1
- package/dist/cli/{chunk-BA4WWJNF.js → chunk-3ZGIJPAC.js} +8 -8
- package/dist/cli/{chunk-T33O4YWA.mjs → chunk-64GPTXJV.mjs} +3 -3
- package/dist/cli/{chunk-MOGZ6YT6.mjs → chunk-AGX3XMPN.mjs} +1 -1
- package/dist/cli/{chunk-TIVPPP2V.mjs → chunk-ALWQKQQ6.mjs} +2 -2
- package/dist/cli/{chunk-V3QUJJ2M.js → chunk-CLDL6HJ4.js} +35 -35
- package/dist/cli/{chunk-PES2B6ZD.mjs → chunk-CO67TF3J.mjs} +8 -8
- package/dist/cli/{chunk-IL2YE7B7.mjs → chunk-DGGQXHAO.mjs} +2 -2
- package/dist/cli/{chunk-5QWTEQPP.js → chunk-EBGHNXSH.js} +1 -1
- package/dist/cli/{chunk-IBF6ASRS.mjs → chunk-G6HUOVZ4.mjs} +1 -1
- package/dist/cli/{chunk-TEDJQVSP.mjs → chunk-GBIWLNWI.mjs} +1 -1
- package/dist/cli/{chunk-Q5P5GTCA.js → chunk-GIRJGHC3.js} +10 -10
- package/dist/cli/{chunk-CJVDOWEV.mjs → chunk-GSDUURVH.mjs} +2 -2
- package/dist/cli/{chunk-CAAVZL2V.js → chunk-HWTAT726.js} +26 -26
- package/dist/cli/{chunk-4ESXEDQQ.js → chunk-IAQ73HVZ.js} +16 -16
- package/dist/cli/{chunk-YGOES3EB.js → chunk-IREQVEGX.js} +6 -6
- package/dist/cli/{chunk-BLEASRDL.js → chunk-K4WKKNGY.js} +2 -2
- package/dist/cli/{chunk-BBWDU3D5.js → chunk-KAJK6XVI.js} +1 -1
- package/dist/cli/{chunk-F5355JDY.js → chunk-KQJMCYFP.js} +50 -50
- package/dist/cli/{chunk-NFMS5PCE.mjs → chunk-LZRYLCV3.mjs} +5 -5
- package/dist/cli/{chunk-MPU3T2DO.js → chunk-MOVWT3Z3.js} +8 -8
- package/dist/cli/{chunk-PH2FUNEJ.mjs → chunk-N5D4EMIY.mjs} +1 -1
- package/dist/cli/{chunk-2NLGISW4.js → chunk-ODGVHGHI.js} +52 -52
- package/dist/cli/{chunk-RABL6ORN.js → chunk-OSQEFBQA.js} +4 -4
- package/dist/cli/{chunk-JJRUH6ES.js → chunk-OVLP7546.js} +79 -79
- package/dist/cli/{chunk-ACB2MRKR.mjs → chunk-PEFUJDEQ.mjs} +3 -3
- package/dist/cli/{chunk-A7CLG63J.mjs → chunk-QG7LM24G.mjs} +2 -2
- package/dist/cli/{chunk-QNUTTJVP.mjs → chunk-QUAV2FSK.mjs} +3 -3
- package/dist/cli/{chunk-BV4LGD5S.js → chunk-S5AVEKTO.js} +6 -6
- package/dist/cli/{chunk-VZ7XCNT7.mjs → chunk-SJBJYNJ3.mjs} +1 -1
- package/dist/cli/{csv-ZV5QP7YW.js → csv-K5PMPLNS.js} +12 -12
- package/dist/cli/{csv-ASBYH3ND.mjs → csv-ZU2VMGYN.mjs} +3 -3
- package/dist/cli/{db-VQVBDJON.js → db-7CZ73PYG.js} +25 -25
- package/dist/cli/{db-7MMWKX2N.mjs → db-GJR5NDMX.mjs} +4 -4
- package/dist/cli/{describe-VZIT4HGO.mjs → describe-NS2RAE5K.mjs} +12 -12
- package/dist/cli/{describe-TMKTLNOP.js → describe-YNVJ76T6.js} +16 -16
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-M55YIVFY.mjs → executions-7VW6WOHA.mjs} +4 -4
- package/dist/cli/{executions-26CRGU65.js → executions-EKWO3HR7.js} +6 -6
- package/dist/cli/{feedback-RU3VIDKR.js → feedback-DTMRRZNI.js} +7 -7
- package/dist/cli/{feedback-V3VZI6J7.mjs → feedback-I4AKIIFP.mjs} +3 -3
- package/dist/cli/git-F7XXAE3T.js +24 -0
- package/dist/cli/{git-S5YY2MBP.mjs → git-H7RW4ILW.mjs} +4 -4
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-JSGP4FLB.mjs → legacy-noops-2LJGABEO.mjs} +4 -4
- package/dist/cli/{legacy-noops-DVO5IRO7.js → legacy-noops-BJCSECN6.js} +7 -7
- package/dist/cli/{monitors-C3RQ72HW.mjs → monitors-75ZYK5QN.mjs} +4 -4
- package/dist/cli/{monitors-NDZM6GZ6.js → monitors-YXIETS5O.js} +84 -84
- package/dist/cli/{org-KWH6A36G.mjs → org-5BYA54D5.mjs} +4 -4
- package/dist/cli/{org-CK6RJGK5.js → org-TIQTG57G.js} +66 -66
- package/dist/cli/{play-TODYTQ6X.mjs → play-3HDMONS3.mjs} +11 -11
- package/dist/cli/{play-VHNU4ZRW.js → play-MG6PQTZX.js} +301 -301
- package/dist/cli/{providers-6XJSK4HT.js → providers-VTU5QFEY.js} +7 -7
- package/dist/cli/{providers-CIOW3U77.mjs → providers-ZRI33AVX.mjs} +4 -4
- package/dist/cli/{quickstart-RBZP2M5I.js → quickstart-E2GZQ7C5.js} +5 -5
- package/dist/cli/{quickstart-PBACGVIU.mjs → quickstart-GLKJVPGF.mjs} +3 -3
- package/dist/cli/search-FWZCKD3Y.js +30 -0
- package/dist/cli/{search-4UCRHYIY.mjs → search-WA7MLHXA.mjs} +5 -5
- package/dist/cli/{secrets-6JVGCFV4.js → secrets-FJ2FFPR6.js} +13 -13
- package/dist/cli/{secrets-TCSWMJBW.mjs → secrets-UZCAPRNH.mjs} +4 -4
- package/dist/cli/{sessions-GDCONNJJ.js → sessions-GSB77ETF.js} +5 -5
- package/dist/cli/{sessions-SH6PGON6.mjs → sessions-RGT3OFG3.mjs} +4 -4
- package/dist/cli/{settings-NSRYEMWL.mjs → settings-5TWU54SW.mjs} +8 -8
- package/dist/cli/{settings-ZAKECLTD.js → settings-LOFO3Z7X.js} +75 -75
- package/dist/cli/{setup-4HFA2PRF.mjs → setup-ECTNKMOF.mjs} +7 -7
- package/dist/cli/{setup-JQZ72TV2.js → setup-HUAD7RTY.js} +42 -42
- package/dist/cli/{skills-FGGMKSLN.mjs → skills-APEJV5NK.mjs} +5 -5
- package/dist/cli/skills-M6AIJHCI.js +29 -0
- package/dist/cli/tools-4CNXP3XD.js +44 -0
- package/dist/cli/{tools-H7K7OD6P.mjs → tools-56FHN4LC.mjs} +12 -12
- package/dist/cli/{update-SNZO56ST.mjs → update-HEN6P35K.mjs} +7 -7
- package/dist/cli/update-US3AAEVC.js +31 -0
- package/dist/cli/{workflow-PV3DQ2EH.mjs → workflow-P7XPHC5B.mjs} +5 -5
- package/dist/cli/{workflow-RGCX5NTR.js → workflow-VYCNZHZ7.js} +15 -15
- package/dist/{client-DIY1WpSW.d.mts → client-jgdWPXpp.d.mts} +1 -1
- package/dist/{client-CgmfMj_N.d.ts → client-uX4RCcOS.d.ts} +1 -1
- package/dist/{compiler-manifest-D0Gl9gLn.d.ts → compiler-manifest-CF2qngKr.d.mts} +7 -0
- package/dist/{compiler-manifest-D0Gl9gLn.d.mts → compiler-manifest-CF2qngKr.d.ts} +7 -0
- package/dist/{index-VyHDAshm.d.ts → index-Bq37k0sE.d.ts} +1 -1
- package/dist/{index-Bub1jys9.d.mts → index-DTI-iNw8.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +86 -86
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +1 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-PPBH64C7.js +0 -40
- package/dist/cli/git-ODCVAT3E.js +0 -24
- package/dist/cli/search-LLXEBTKR.js +0 -30
- package/dist/cli/skills-KOJZ7MQM.js +0 -29
- package/dist/cli/tools-3EY3AN3M.js +0 -44
- package/dist/cli/update-SVXZAUIA.js +0 -31
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkIAQ73HVZjs = require('./chunk-IAQ73HVZ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.js');
|
|
19
19
|
|
|
20
20
|
// src/cli/compatibility-catalog.ts
|
|
21
21
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
42
42
|
async function reportAutoUpdateEvent(input) {
|
|
43
43
|
let apiKey = "";
|
|
44
44
|
try {
|
|
45
|
-
apiKey =
|
|
45
|
+
apiKey = _chunkOSQEFBQAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
46
46
|
} catch (e2) {
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`,
|
|
60
60
|
"Content-Type": "application/json",
|
|
61
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
61
|
+
"User-Agent": `deepline-ts-sdk/${_chunkOSQEFBQAjs.SDK_VERSION}`,
|
|
62
62
|
"X-Deepline-Client-Family": "sdk",
|
|
63
63
|
"X-Deepline-CLI-Family": "sdk",
|
|
64
|
-
"X-Deepline-CLI-Version":
|
|
65
|
-
"X-Deepline-SDK-Version":
|
|
64
|
+
"X-Deepline-CLI-Version": _chunkOSQEFBQAjs.SDK_VERSION,
|
|
65
|
+
"X-Deepline-SDK-Version": _chunkOSQEFBQAjs.SDK_VERSION
|
|
66
66
|
},
|
|
67
67
|
body: JSON.stringify({
|
|
68
68
|
event: input.event,
|
|
69
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
69
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkOSQEFBQAjs.SDK_VERSION,
|
|
70
70
|
target_version: input.response.latest,
|
|
71
71
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
72
72
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -85,13 +85,13 @@ function envTruthy(name) {
|
|
|
85
85
|
return value === "1" || value === "true" || value === "yes";
|
|
86
86
|
}
|
|
87
87
|
function shouldSkipSelfUpdate(policy) {
|
|
88
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
88
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkIAQ73HVZjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkODGVHGHIjs.isCiEnvironment.call(void 0, );
|
|
89
89
|
}
|
|
90
90
|
function isDowngradeAutoUpdateResponse(response) {
|
|
91
91
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
92
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
92
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkOSQEFBQAjs.SDK_VERSION;
|
|
93
93
|
if (!target) return false;
|
|
94
|
-
return
|
|
94
|
+
return _chunkIAQ73HVZjs.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
95
95
|
}
|
|
96
96
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
97
97
|
return new Promise((resolve) => {
|
|
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
144
144
|
}
|
|
145
145
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
146
146
|
const target = response.latest;
|
|
147
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
147
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkOSQEFBQAjs.SDK_VERSION;
|
|
148
148
|
process.stderr.write(
|
|
149
149
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
150
150
|
`
|
|
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
152
152
|
return false;
|
|
153
153
|
}
|
|
154
154
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
155
|
-
const plan =
|
|
155
|
+
const plan = _chunkIAQ73HVZjs.resolveUpdatePlan.call(void 0, {
|
|
156
156
|
packageSpec,
|
|
157
157
|
requireVerifiedNpmOwnership: true,
|
|
158
158
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
159
159
|
});
|
|
160
|
-
if (!
|
|
160
|
+
if (!_chunkIAQ73HVZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
161
161
|
return false;
|
|
162
162
|
}
|
|
163
163
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
164
164
|
deferredAutoUpdate = async () => {
|
|
165
165
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
166
166
|
};
|
|
167
|
-
if (
|
|
167
|
+
if (_chunkS5AVEKTOjs.isJsonOutputMode.call(void 0, )) {
|
|
168
168
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
169
|
-
|
|
169
|
+
_chunkS5AVEKTOjs.addJsonNotice.call(void 0, {
|
|
170
170
|
code: "sdk_update_queued",
|
|
171
171
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
172
172
|
});
|
|
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
179
179
|
return true;
|
|
180
180
|
}
|
|
181
181
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
182
|
-
if (!
|
|
182
|
+
if (!_chunkIAQ73HVZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
183
183
|
const autoUpdate = response.auto_update;
|
|
184
184
|
const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
|
|
185
185
|
process.stderr.write(
|
|
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
192
192
|
event: "started",
|
|
193
193
|
installKind: plan.kind
|
|
194
194
|
});
|
|
195
|
-
const updateResult = await
|
|
195
|
+
const updateResult = await _chunkIAQ73HVZjs.runAutomaticUpdatePlan.call(void 0, plan);
|
|
196
196
|
if (updateResult.status === "skipped_previous_failure") {
|
|
197
197
|
void reportAutoUpdateEvent({
|
|
198
198
|
baseUrl,
|
|
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
|
|
|
243
243
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
244
244
|
var activeToolExecuteCommand = null;
|
|
245
245
|
function progressLine(line) {
|
|
246
|
-
if (!
|
|
246
|
+
if (!_chunkS5AVEKTOjs.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
247
247
|
}
|
|
248
248
|
function beginToolExecuteCommand() {
|
|
249
249
|
if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
|
|
@@ -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 _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.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 = _chunkODGVHGHIjs.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,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(); } } 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 _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.js');
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
|
|
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
|
|
|
139
139
|
const newestFirst = listSessionFiles(agent).sort(
|
|
140
140
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
141
141
|
);
|
|
142
|
-
const sessionId =
|
|
142
|
+
const sessionId = _chunkOSQEFBQAjs.agentSessionIdFromEnvironment.call(void 0,
|
|
143
143
|
process.env,
|
|
144
144
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
145
145
|
);
|
|
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
|
|
|
451
451
|
return { encodedContent: encoded, needsChunking: true };
|
|
452
452
|
}
|
|
453
453
|
async function uploadPayload(path, payload) {
|
|
454
|
-
const { http } =
|
|
454
|
+
const { http } = _chunkS5AVEKTOjs.getAuthedHttpClient.call(void 0, );
|
|
455
455
|
return await http.post(path, payload);
|
|
456
456
|
}
|
|
457
457
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
484
484
|
...options.rating ? { rating: options.rating } : {}
|
|
485
485
|
});
|
|
486
486
|
const sessionIds = sessions.map((session) => session.sessionId);
|
|
487
|
-
|
|
487
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
488
488
|
{
|
|
489
489
|
...response,
|
|
490
490
|
ok: true,
|
|
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
|
|
|
516
516
|
filename: _path.basename.call(void 0, filePath),
|
|
517
517
|
...rating ? { rating } : {}
|
|
518
518
|
});
|
|
519
|
-
|
|
519
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
520
520
|
{
|
|
521
521
|
...response2,
|
|
522
522
|
ok: true,
|
|
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
|
|
|
566
566
|
...rating ? { rating } : {}
|
|
567
567
|
});
|
|
568
568
|
const sessionIds = built.map((session) => session.sessionId);
|
|
569
|
-
|
|
569
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
570
570
|
{
|
|
571
571
|
...response,
|
|
572
572
|
ok: true,
|
|
@@ -674,7 +674,7 @@ ${refreshMeta}
|
|
|
674
674
|
</body>
|
|
675
675
|
</html>`;
|
|
676
676
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
677
|
-
|
|
677
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
678
678
|
{
|
|
679
679
|
ok: true,
|
|
680
680
|
file: outputPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isJsonOutputMode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2OTCHLWC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SKILL_AGENTS,
|
|
6
6
|
KNOWN_SKILL_AGENTS,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
sdkCliStateDirPath,
|
|
18
18
|
skillsAgentPathSegment,
|
|
19
19
|
writeSdkSkillsLocalVersion
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-G6HUOVZ4.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DeeplineError
|
|
23
23
|
} from "./chunk-E4IXDAZI.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_RELEASE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SJBJYNJ3.mjs";
|
|
27
27
|
|
|
28
28
|
// src/compat.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2OTCHLWC.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G6HUOVZ4.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ var _chunkBV4LGD5Sjs = require('./chunk-BV4LGD5S.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.js');
|
|
26
26
|
|
|
27
27
|
// src/cli/commands/skills.ts
|
|
28
28
|
var _child_process = require('child_process');
|
|
@@ -75,7 +75,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
|
|
|
75
75
|
return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
|
|
76
76
|
}
|
|
77
77
|
function resolveLocalRoot() {
|
|
78
|
-
const target =
|
|
78
|
+
const target = _chunkOSQEFBQAjs.resolveProjectPinTarget.call(void 0, );
|
|
79
79
|
if (!target.ok) {
|
|
80
80
|
throw new Error(
|
|
81
81
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
@@ -86,7 +86,7 @@ function resolveLocalRoot() {
|
|
|
86
86
|
return target.dir;
|
|
87
87
|
}
|
|
88
88
|
function detectSkillsAgents(input) {
|
|
89
|
-
const runtime = _nullishCoalesce(input.runtime, () => (
|
|
89
|
+
const runtime = _nullishCoalesce(input.runtime, () => ( _chunkOSQEFBQAjs.detectAgentRuntime.call(void 0, )));
|
|
90
90
|
const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
|
|
91
91
|
if (knownAgent) return [knownAgent];
|
|
92
92
|
const roots = [
|
|
@@ -101,11 +101,11 @@ function detectSkillsAgents(input) {
|
|
|
101
101
|
return detected.length > 0 ? detected : ["*"];
|
|
102
102
|
}
|
|
103
103
|
function skillsStatePathForScope(baseUrl, scope, root) {
|
|
104
|
-
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0,
|
|
104
|
+
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkOSQEFBQAjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
|
|
105
105
|
}
|
|
106
106
|
function buildSkillsPlan(input) {
|
|
107
107
|
const scopeArgs = input.scope === "global" ? ["--global"] : [];
|
|
108
|
-
const legacyNames = [...
|
|
108
|
+
const legacyNames = [..._chunkODGVHGHIjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
|
|
109
109
|
(a, b) => a.localeCompare(b)
|
|
110
110
|
);
|
|
111
111
|
return {
|
|
@@ -119,7 +119,7 @@ function buildSkillsPlan(input) {
|
|
|
119
119
|
args: [
|
|
120
120
|
"exec",
|
|
121
121
|
"--yes",
|
|
122
|
-
`--package=${
|
|
122
|
+
`--package=${_chunkODGVHGHIjs.SKILLS_NPX_PACKAGE}`,
|
|
123
123
|
"--",
|
|
124
124
|
"skills",
|
|
125
125
|
"remove",
|
|
@@ -135,11 +135,11 @@ function buildSkillsPlan(input) {
|
|
|
135
135
|
args: [
|
|
136
136
|
"exec",
|
|
137
137
|
"--yes",
|
|
138
|
-
`--package=${
|
|
138
|
+
`--package=${_chunkODGVHGHIjs.SKILLS_NPX_PACKAGE}`,
|
|
139
139
|
"--",
|
|
140
140
|
"skills",
|
|
141
141
|
"add",
|
|
142
|
-
|
|
142
|
+
_chunkODGVHGHIjs.skillsSourceUrl.call(void 0, input.baseUrl),
|
|
143
143
|
"--agent",
|
|
144
144
|
...input.agents,
|
|
145
145
|
...scopeArgs,
|
|
@@ -176,7 +176,7 @@ function readSkillsInstallState(path) {
|
|
|
176
176
|
}
|
|
177
177
|
function runProcess(command, args, cwd) {
|
|
178
178
|
return new Promise((resolve, reject) => {
|
|
179
|
-
const plan =
|
|
179
|
+
const plan = _chunkODGVHGHIjs.resolveShellSpawn.call(void 0,
|
|
180
180
|
command,
|
|
181
181
|
args,
|
|
182
182
|
process.platform,
|
|
@@ -198,7 +198,7 @@ function runProcess(command, args, cwd) {
|
|
|
198
198
|
child.kill("SIGTERM");
|
|
199
199
|
reject(
|
|
200
200
|
new Error(
|
|
201
|
-
`${
|
|
201
|
+
`${_chunkODGVHGHIjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
|
|
202
202
|
)
|
|
203
203
|
);
|
|
204
204
|
}, SKILLS_PROCESS_TIMEOUT_MS);
|
|
@@ -209,7 +209,7 @@ function runProcess(command, args, cwd) {
|
|
|
209
209
|
child.once("close", (code) => {
|
|
210
210
|
clearTimeout(timeout);
|
|
211
211
|
if (code && stderr.trim()) {
|
|
212
|
-
process.stderr.write(`${
|
|
212
|
+
process.stderr.write(`${_chunkODGVHGHIjs.SKILLS_NPX_PACKAGE} exited ${code}.
|
|
213
213
|
`);
|
|
214
214
|
}
|
|
215
215
|
resolve(_nullishCoalesce(code, () => ( 1)));
|
|
@@ -223,7 +223,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
223
223
|
scope = normalizeScope(options.scope);
|
|
224
224
|
root = scope === "local" ? resolveLocalRoot() : null;
|
|
225
225
|
} catch (error) {
|
|
226
|
-
|
|
226
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
227
227
|
{
|
|
228
228
|
ok: false,
|
|
229
229
|
status: "failed",
|
|
@@ -235,22 +235,22 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
235
235
|
);
|
|
236
236
|
return 2;
|
|
237
237
|
}
|
|
238
|
-
const baseUrl =
|
|
238
|
+
const baseUrl = _chunkOSQEFBQAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
239
239
|
const catalog = {
|
|
240
|
-
skillNames: [...
|
|
241
|
-
version:
|
|
240
|
+
skillNames: [..._chunkODGVHGHIjs.DEFAULT_SDK_SKILL_NAMES],
|
|
241
|
+
version: _chunkOSQEFBQAjs.SDK_VERSION
|
|
242
242
|
};
|
|
243
243
|
const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
|
|
244
244
|
const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
|
|
245
245
|
if (options.dryRun) {
|
|
246
|
-
|
|
246
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
247
247
|
{ ok: true, status: "planned", dryRun: true, ...plan },
|
|
248
248
|
{ json: options.json }
|
|
249
249
|
);
|
|
250
250
|
return 0;
|
|
251
251
|
}
|
|
252
|
-
if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !
|
|
253
|
-
|
|
252
|
+
if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkODGVHGHIjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
|
|
253
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
254
254
|
{
|
|
255
255
|
ok: true,
|
|
256
256
|
status: "current",
|
|
@@ -282,10 +282,10 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
282
282
|
}
|
|
283
283
|
if (scope === "local" && root) {
|
|
284
284
|
const managedNames = [
|
|
285
|
-
.../* @__PURE__ */ new Set([...plan.skillNames, ...
|
|
285
|
+
.../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkODGVHGHIjs.LEGACY_SKILL_NAMES_TO_REMOVE])
|
|
286
286
|
];
|
|
287
287
|
const agentRoots = workspaceSkillRootsForAgents(plan.agents);
|
|
288
|
-
|
|
288
|
+
_chunkOSQEFBQAjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
|
|
289
289
|
".deepline/",
|
|
290
290
|
...agentRoots.flatMap(
|
|
291
291
|
(agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
|
|
@@ -294,7 +294,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
294
294
|
}
|
|
295
295
|
let lease;
|
|
296
296
|
try {
|
|
297
|
-
lease = scope === "global" ? await
|
|
297
|
+
lease = scope === "global" ? await _chunkODGVHGHIjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
|
|
298
298
|
waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
|
|
299
299
|
onWait: () => process.stderr.write(
|
|
300
300
|
"Waiting for a background Deepline skills refresh to finish...\n"
|
|
@@ -302,8 +302,8 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
302
302
|
}) : { release: () => {
|
|
303
303
|
} };
|
|
304
304
|
} catch (error) {
|
|
305
|
-
if (!(error instanceof
|
|
306
|
-
|
|
305
|
+
if (!(error instanceof _chunkODGVHGHIjs.SkillsStateUnavailableError)) throw error;
|
|
306
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
307
307
|
{
|
|
308
308
|
ok: false,
|
|
309
309
|
status: "failed",
|
|
@@ -319,7 +319,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
319
319
|
return 5;
|
|
320
320
|
}
|
|
321
321
|
if (!lease) {
|
|
322
|
-
|
|
322
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
ok: false,
|
|
325
325
|
status: "failed",
|
|
@@ -328,7 +328,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
328
328
|
scope,
|
|
329
329
|
agents,
|
|
330
330
|
message: "A background Deepline skills refresh is still running for these agents.",
|
|
331
|
-
next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${
|
|
331
|
+
next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkODGVHGHIjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
|
|
332
332
|
},
|
|
333
333
|
{ json: options.json }
|
|
334
334
|
);
|
|
@@ -365,7 +365,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
365
365
|
throw new Error("Could not install the current Deepline skills.");
|
|
366
366
|
}
|
|
367
367
|
} catch (error) {
|
|
368
|
-
|
|
368
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
369
369
|
{
|
|
370
370
|
ok: false,
|
|
371
371
|
status: "failed",
|
|
@@ -404,7 +404,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
404
404
|
{
|
|
405
405
|
schemaVersion: 1,
|
|
406
406
|
installedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
407
|
-
cliVersion:
|
|
407
|
+
cliVersion: _chunkOSQEFBQAjs.SDK_VERSION,
|
|
408
408
|
scope,
|
|
409
409
|
agents,
|
|
410
410
|
skillsVersion: plan.version,
|
|
@@ -417,9 +417,9 @@ async function runSkillsInstallWithLease(input) {
|
|
|
417
417
|
"utf8"
|
|
418
418
|
);
|
|
419
419
|
if (scope === "global") {
|
|
420
|
-
|
|
420
|
+
_chunkODGVHGHIjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
|
|
421
421
|
}
|
|
422
|
-
|
|
422
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
423
423
|
{
|
|
424
424
|
ok: true,
|
|
425
425
|
status: "complete",
|
|
@@ -450,7 +450,7 @@ function registerSkillsCommand(program) {
|
|
|
450
450
|
"after",
|
|
451
451
|
`
|
|
452
452
|
Notes:
|
|
453
|
-
This command reinstalls current Deepline-managed skills using ${
|
|
453
|
+
This command reinstalls current Deepline-managed skills using ${_chunkODGVHGHIjs.SKILLS_NPX_PACKAGE},
|
|
454
454
|
then removes legacy Deepline skill names. Local scope writes into the resolved
|
|
455
455
|
persistent project.
|
|
456
456
|
|
|
@@ -462,13 +462,13 @@ Examples:
|
|
|
462
462
|
).action(async (options) => {
|
|
463
463
|
process.exitCode = await runSkillsCommand(options);
|
|
464
464
|
});
|
|
465
|
-
program.command(
|
|
465
|
+
program.command(_chunkODGVHGHIjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
|
|
466
466
|
"--claim <token>",
|
|
467
467
|
"Owner token of the leases this child was started for."
|
|
468
468
|
).action(async (options) => {
|
|
469
469
|
const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
|
|
470
470
|
if (!claim) {
|
|
471
|
-
|
|
471
|
+
_chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
|
|
472
472
|
{
|
|
473
473
|
ok: false,
|
|
474
474
|
status: "failed",
|
|
@@ -481,7 +481,7 @@ Examples:
|
|
|
481
481
|
process.exitCode = 2;
|
|
482
482
|
return;
|
|
483
483
|
}
|
|
484
|
-
await
|
|
484
|
+
await _chunkODGVHGHIjs.syncSdkSkillsIfNeeded.call(void 0, _chunkOSQEFBQAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
|
|
485
485
|
mode: "inline",
|
|
486
486
|
notices: "defer",
|
|
487
487
|
claim
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
recentSearchRef,
|
|
7
7
|
registerDeprecatedSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PEFUJDEQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
arrayField,
|
|
11
11
|
formatModelDescription,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
DeeplineClient,
|
|
47
47
|
validateExecutionIdempotencyKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GBIWLNWI.mjs";
|
|
49
49
|
import {
|
|
50
50
|
stableStringify
|
|
51
51
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -55,18 +55,18 @@ import {
|
|
|
55
55
|
maybeAutoUpdateAndRelaunch,
|
|
56
56
|
registerCompatibilityCatalog,
|
|
57
57
|
runToolExecuteStage
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2KDFL6IV.mjs";
|
|
59
59
|
import {
|
|
60
60
|
isCliTraceEnabled,
|
|
61
61
|
recordCliTrace,
|
|
62
62
|
resolveCliMaintenancePolicy
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3G7KUJ63.mjs";
|
|
64
64
|
import {
|
|
65
65
|
checkSdkCompatibility,
|
|
66
66
|
enforceSdkCompatibilityResponse,
|
|
67
67
|
flushDeferredSkillsSyncNotices,
|
|
68
68
|
syncSdkSkillsIfNeeded
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-64GPTXJV.mjs";
|
|
70
70
|
import {
|
|
71
71
|
printCommandEnvelope,
|
|
72
72
|
printCompactJson,
|
|
@@ -74,12 +74,12 @@ import {
|
|
|
74
74
|
printJsonError,
|
|
75
75
|
renderCommandEnvelopeText,
|
|
76
76
|
shouldEmitJson
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-2OTCHLWC.mjs";
|
|
78
78
|
import {
|
|
79
79
|
readSdkSkillsLocalVersion,
|
|
80
80
|
resolveConfig,
|
|
81
81
|
sdkCliStateDirPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-G6HUOVZ4.mjs";
|
|
83
83
|
import {
|
|
84
84
|
DeeplineError
|
|
85
85
|
} from "./chunk-E4IXDAZI.mjs";
|
|
@@ -936,7 +936,7 @@ Examples:
|
|
|
936
936
|
process.exitCode = await narrowView();
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
const { describeAnything } = await import("./describe-
|
|
939
|
+
const { describeAnything } = await import("./describe-NS2RAE5K.mjs");
|
|
940
940
|
process.exitCode = await describeAnything(
|
|
941
941
|
toolId,
|
|
942
942
|
{
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2OTCHLWC.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
saveHostEnvValues,
|
|
26
26
|
saveProjectDeeplineEnvValues,
|
|
27
27
|
storedHostApiKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G6HUOVZ4.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/auth.ts
|
|
31
31
|
import {
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.438",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|