deepline 0.3.458 → 0.3.460
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 +0 -18
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -20
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +51 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -1
- package/dist/cli/{auth-APD43NYT.mjs → auth-HKA6ZVHQ.mjs} +4 -4
- package/dist/cli/auth-VDOCNR7H.js +40 -0
- package/dist/cli/{billing-QW4K272E.mjs → billing-26G44S5N.mjs} +4 -4
- package/dist/cli/{billing-TI4YOWAJ.js → billing-MTO2ZZ3G.js} +73 -73
- package/dist/cli/{chunk-7M6C4STX.js → chunk-2PBN4SZE.js} +16 -16
- package/dist/cli/{chunk-LJDJ5GPR.js → chunk-2WRO2UJ5.js} +51 -51
- package/dist/cli/{chunk-AA2DMXBN.js → chunk-2XHWOQF4.js} +50 -50
- package/dist/cli/{chunk-7MZQ64FI.mjs → chunk-526R2HON.mjs} +1 -1
- package/dist/cli/{chunk-2A63IJ2J.js → chunk-BHGII2D6.js} +6 -6
- package/dist/cli/{chunk-EO7WQN5X.mjs → chunk-CTRPCARW.mjs} +8 -8
- package/dist/cli/{chunk-ECS3KXM7.mjs → chunk-EJGBLXDZ.mjs} +1 -1
- package/dist/cli/{chunk-ZLL345RP.mjs → chunk-KADIT5NV.mjs} +2 -2
- package/dist/cli/{chunk-HJ5WE6S5.mjs → chunk-LAWEURCT.mjs} +1 -1
- package/dist/cli/{chunk-6FLTFNAY.js → chunk-LJTFZOHU.js} +8 -8
- package/dist/cli/{chunk-JIDT3SCM.js → chunk-LMAULZLF.js} +20 -20
- package/dist/cli/{chunk-LZUXLXL3.mjs → chunk-LVJOFUU7.mjs} +3 -3
- package/dist/cli/{chunk-XI6AZJPO.js → chunk-M52JQSLK.js} +3 -3
- package/dist/cli/{chunk-4TWDW7PI.mjs → chunk-MLFR6DVF.mjs} +5 -5
- package/dist/cli/{chunk-6UJJZWT2.mjs → chunk-NH6JSJW6.mjs} +3 -3
- package/dist/cli/{chunk-NDODDIEC.js → chunk-NRGGFVVB.js} +35 -35
- package/dist/cli/{chunk-X3ZRKA3V.mjs → chunk-OJ6RUKVT.mjs} +1 -1
- package/dist/cli/{chunk-U5O5TZC2.mjs → chunk-OMM54B3X.mjs} +1 -1
- package/dist/cli/{chunk-XBVZ35XJ.js → chunk-QGAWTBIR.js} +81 -81
- package/dist/cli/{chunk-DHERSOIG.js → chunk-QJLKYYPX.js} +4 -4
- package/dist/cli/{chunk-AJQUFGTJ.js → chunk-RBTTUYZZ.js} +1 -1
- package/dist/cli/{chunk-CF2GXP2O.js → chunk-RDPTDDKX.js} +2 -2
- package/dist/cli/{chunk-VYLWKTDQ.mjs → chunk-RZSTT45F.mjs} +3 -3
- package/dist/cli/{chunk-OTN6GV74.mjs → chunk-S4Q2XCGM.mjs} +1 -1
- package/dist/cli/{chunk-ECVZUWRR.js → chunk-UKFZT7RF.js} +2 -2
- package/dist/cli/{chunk-K6IHE6R5.js → chunk-VJAEA4CS.js} +8 -8
- package/dist/cli/{chunk-L27PA5GT.js → chunk-VTODQWQA.js} +10 -10
- package/dist/cli/{chunk-5KO62ZXQ.mjs → chunk-W3BE3CHK.mjs} +4 -4
- package/dist/cli/{chunk-GFGBHE43.mjs → chunk-XAYO3Q2X.mjs} +2 -2
- package/dist/cli/{chunk-NXVHTBBS.js → chunk-YHTQM5XI.js} +26 -26
- package/dist/cli/{chunk-W3OAT72T.js → chunk-YS2YBSJB.js} +6 -6
- package/dist/cli/{chunk-V6BEYE35.mjs → chunk-YULBYKAK.mjs} +2 -2
- package/dist/cli/{chunk-MNEN3RYE.mjs → chunk-YVBWO647.mjs} +2 -2
- package/dist/cli/{chunk-EMIR3EXE.mjs → chunk-ZR2RLI4O.mjs} +1 -1
- package/dist/cli/{csv-NIKB3RQX.js → csv-6FNFYJUC.js} +12 -12
- package/dist/cli/{csv-VOX5XXBB.mjs → csv-MDHT4BKK.mjs} +3 -3
- package/dist/cli/{db-GETE5AIV.mjs → db-74O3RFWY.mjs} +4 -4
- package/dist/cli/{db-ZH2NUZ3F.js → db-D6AMVOEW.js} +25 -25
- package/dist/cli/{describe-JZ6QOTPY.js → describe-QW54QQNB.js} +17 -17
- package/dist/cli/{describe-LWGEU6IE.mjs → describe-TOMIAT37.mjs} +13 -13
- package/dist/cli/{executions-CEVMJ4QY.js → executions-N4FMGVSC.js} +6 -6
- package/dist/cli/{executions-DUMCTK4E.mjs → executions-PVSF4HUF.mjs} +4 -4
- package/dist/cli/{feedback-UEYC3V3O.mjs → feedback-OB7NANZW.mjs} +3 -3
- package/dist/cli/{feedback-VI4N44TJ.js → feedback-WFSPCAI2.js} +7 -7
- package/dist/cli/git-4PMBJSH5.js +24 -0
- package/dist/cli/{git-BOMW65V5.mjs → git-FHUSPAEU.mjs} +4 -4
- package/dist/cli/index.js +132 -132
- package/dist/cli/index.mjs +37 -37
- package/dist/cli/{legacy-noops-SWPSUKTD.js → legacy-noops-ECHNA5HN.js} +7 -7
- package/dist/cli/{legacy-noops-33X26VLN.mjs → legacy-noops-HMK4BSCI.mjs} +4 -4
- package/dist/cli/{monitors-465GCZ73.mjs → monitors-U7VQ3EZM.mjs} +5 -5
- package/dist/cli/{monitors-6HMDLDKU.js → monitors-XLLFNENH.js} +89 -89
- package/dist/cli/{org-CAAOHGTM.mjs → org-6H3USO5M.mjs} +4 -4
- package/dist/cli/{org-JFQ4QBHQ.js → org-QX6ER2HN.js} +66 -66
- package/dist/cli/{play-NJP6HIQD.mjs → play-MOB2WYOR.mjs} +11 -11
- package/dist/cli/{play-UKD4KR4K.js → play-WNB7HBZK.js} +284 -284
- package/dist/cli/{providers-YTRBZARB.js → providers-7M3DISKX.js} +7 -7
- package/dist/cli/{providers-UVHTTSKV.mjs → providers-CXEZ23E2.mjs} +4 -4
- package/dist/cli/{quickstart-3GXVHJRL.js → quickstart-CLJT4AZL.js} +5 -5
- package/dist/cli/{quickstart-CB3TQ5L2.mjs → quickstart-ZFCHKHF6.mjs} +3 -3
- package/dist/cli/search-4CCQCTVD.js +30 -0
- package/dist/cli/{search-NXA6526R.mjs → search-FVYWYIC3.mjs} +5 -5
- package/dist/cli/{secrets-JFJK2X2N.mjs → secrets-WAMPTQFC.mjs} +4 -4
- package/dist/cli/{secrets-E3Y6YDKR.js → secrets-YRLKZQS5.js} +13 -13
- package/dist/cli/{sessions-NKLP6TVY.js → sessions-44J6WIVU.js} +5 -5
- package/dist/cli/{sessions-HAZJLQQL.mjs → sessions-IQ332BJH.mjs} +4 -4
- package/dist/cli/{settings-BSD4DW4O.mjs → settings-22S6NIFQ.mjs} +9 -9
- package/dist/cli/{settings-D4LEZOEW.js → settings-4IJR2I2T.js} +76 -76
- package/dist/cli/{setup-KMZ4EFDK.js → setup-3FWSRNOX.js} +43 -43
- package/dist/cli/{setup-QO64H6YO.mjs → setup-OZUPKKPW.mjs} +8 -8
- package/dist/cli/{skills-YLAH2YNN.mjs → skills-5CW3NFP3.mjs} +6 -6
- package/dist/cli/skills-LMNM6B5F.js +30 -0
- package/dist/cli/tools-AGBBDJ7P.js +45 -0
- package/dist/cli/{tools-KGQ76YQE.mjs → tools-NOPBDRGW.mjs} +13 -13
- package/dist/cli/{update-JXUSVBH7.mjs → update-IBULOV7P.mjs} +8 -8
- package/dist/cli/update-U3W6USVD.js +32 -0
- package/dist/cli/{workflow-NYWZWN5Z.mjs → workflow-MVZT7MWT.mjs} +5 -5
- package/dist/cli/{workflow-YTXY76FN.js → workflow-Z7FW6GT2.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +80 -80
- 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-4CBIXFOR.js +0 -40
- package/dist/cli/git-QISWQQM3.js +0 -24
- package/dist/cli/search-YM4ATHTV.js +0 -30
- package/dist/cli/skills-T5VTI2LZ.js +0 -30
- package/dist/cli/tools-M574OF4H.js +0 -45
- package/dist/cli/update-WNG5DNNO.js +0 -32
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk2WRO2UJ5js = require('./chunk-2WRO2UJ5.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.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 = _chunkQJLKYYPXjs.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, () => ( _chunkQJLKYYPXjs.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, _chunkQJLKYYPXjs.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 = [..._chunk2WRO2UJ5js.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=${_chunk2WRO2UJ5js.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=${_chunk2WRO2UJ5js.SKILLS_NPX_PACKAGE}`,
|
|
139
139
|
"--",
|
|
140
140
|
"skills",
|
|
141
141
|
"add",
|
|
142
|
-
|
|
142
|
+
_chunk2WRO2UJ5js.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 = _chunk2WRO2UJ5js.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
|
+
`${_chunk2WRO2UJ5js.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(`${_chunk2WRO2UJ5js.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
|
+
_chunkBHGII2D6js.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 = _chunkQJLKYYPXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
239
239
|
const catalog = {
|
|
240
|
-
skillNames: [...
|
|
241
|
-
version:
|
|
240
|
+
skillNames: [..._chunk2WRO2UJ5js.DEFAULT_SDK_SKILL_NAMES],
|
|
241
|
+
version: _chunkQJLKYYPXjs.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
|
+
_chunkBHGII2D6js.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)) && !_chunk2WRO2UJ5js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
|
|
253
|
+
_chunkBHGII2D6js.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, ..._chunk2WRO2UJ5js.LEGACY_SKILL_NAMES_TO_REMOVE])
|
|
286
286
|
];
|
|
287
287
|
const agentRoots = workspaceSkillRootsForAgents(plan.agents);
|
|
288
|
-
|
|
288
|
+
_chunkQJLKYYPXjs.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 _chunk2WRO2UJ5js.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 _chunk2WRO2UJ5js.SkillsStateUnavailableError)) throw error;
|
|
306
|
+
_chunkBHGII2D6js.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
|
+
_chunkBHGII2D6js.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 ${_chunk2WRO2UJ5js.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
|
+
_chunkBHGII2D6js.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: _chunkQJLKYYPXjs.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
|
+
_chunk2WRO2UJ5js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
|
|
421
421
|
}
|
|
422
|
-
|
|
422
|
+
_chunkBHGII2D6js.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 ${_chunk2WRO2UJ5js.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(_chunk2WRO2UJ5js.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
|
+
_chunkBHGII2D6js.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 _chunk2WRO2UJ5js.syncSdkSkillsIfNeeded.call(void 0, _chunkQJLKYYPXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
|
|
485
485
|
mode: "inline",
|
|
486
486
|
notices: "defer",
|
|
487
487
|
claim
|