deepline 0.3.465 → 0.3.466

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.
Files changed (117) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +2 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/cli/{auth-WZCX4MTH.mjs → auth-HYIPYSKK.mjs} +5 -5
  4. package/dist/cli/auth-Y3UTWD3W.js +41 -0
  5. package/dist/cli/{billing-ATR3CLIW.mjs → billing-5S6SGBUP.mjs} +6 -6
  6. package/dist/cli/{billing-DQUD3DBY.js → billing-NG62QGPT.js} +77 -77
  7. package/dist/cli/{chunk-BQNUJK53.js → chunk-22BKA2QL.js} +26 -26
  8. package/dist/cli/{chunk-RREWUPC3.js → chunk-3DVJ2IPG.js} +7 -7
  9. package/dist/cli/{chunk-N27BUJU3.mjs → chunk-46YQQOTC.mjs} +5 -5
  10. package/dist/cli/{chunk-3XFNF6RR.js → chunk-4QJ63YHC.js} +8 -8
  11. package/dist/cli/{chunk-DDF74332.js → chunk-5BEKJUOK.js} +2 -2
  12. package/dist/cli/{chunk-EVQBOVOJ.mjs → chunk-5EUJKY3G.mjs} +3 -3
  13. package/dist/cli/{chunk-SSQXSMAT.mjs → chunk-6CYRIFZ3.mjs} +2 -2
  14. package/dist/cli/{chunk-B6GAIXVD.mjs → chunk-6R36QIG4.mjs} +4 -4
  15. package/dist/cli/{chunk-PIGMBDBZ.js → chunk-7IWYO475.js} +21 -21
  16. package/dist/cli/{chunk-E3EYQ2FQ.mjs → chunk-7QITO7XO.mjs} +4 -4
  17. package/dist/cli/{chunk-4URRABMM.js → chunk-A7MWUG5H.js} +1 -1
  18. package/dist/cli/{chunk-6WKYRHGT.js → chunk-B7BNWOG6.js} +3 -3
  19. package/dist/cli/{chunk-DJD4KLIX.js → chunk-CMXFOZVG.js} +93 -93
  20. package/dist/cli/{chunk-QPJ2BDFD.js → chunk-EOKUL6XS.js} +5 -5
  21. package/dist/cli/{chunk-GNLCGR7R.mjs → chunk-F6H74EFB.mjs} +2 -2
  22. package/dist/cli/{chunk-JQSPKPHT.mjs → chunk-FWHRCZET.mjs} +4 -4
  23. package/dist/cli/{chunk-3K3EHT6E.mjs → chunk-H5MYPDO2.mjs} +1 -1
  24. package/dist/cli/{chunk-GBQSEOXE.js → chunk-HOFXQYRF.js} +7 -7
  25. package/dist/cli/{chunk-YZZGFUQ4.mjs → chunk-IEQPOBTK.mjs} +1 -1
  26. package/dist/cli/{chunk-EA2F4YVX.mjs → chunk-JLE5UYZV.mjs} +2 -2
  27. package/dist/cli/{chunk-OQDN6JK6.js → chunk-LDEJ4NUP.js} +10 -10
  28. package/dist/cli/{chunk-E3PLLFE2.js → chunk-MTH7WIE3.js} +53 -53
  29. package/dist/cli/{chunk-HS6CM7TF.mjs → chunk-NJ6KQLMO.mjs} +10 -10
  30. package/dist/cli/{chunk-5VGMRONE.js → chunk-NQH7E3F2.js} +3 -3
  31. package/dist/cli/{chunk-SOIXDMZK.js → chunk-NYNNNOJW.js} +51 -51
  32. package/dist/cli/{chunk-OKI3HWFF.js → chunk-OB5NON4G.js} +8 -8
  33. package/dist/cli/{chunk-XJ5W64AC.js → chunk-PEUWKPY4.js} +4 -4
  34. package/dist/cli/{chunk-SBM5JVTK.mjs → chunk-QMHBWFU5.mjs} +1 -1
  35. package/dist/cli/{chunk-OEU3ZNBZ.mjs → chunk-QTTYIPFY.mjs} +1 -1
  36. package/dist/cli/{chunk-6Y34LU6P.mjs → chunk-QWMXP2IP.mjs} +2 -2
  37. package/dist/cli/{chunk-N57JYG7J.js → chunk-QZKSG7XZ.js} +36 -36
  38. package/dist/cli/{chunk-TJXGEK7P.js → chunk-R2SQN2CD.js} +6 -6
  39. package/dist/cli/{chunk-7Y2MLWTM.mjs → chunk-RCMT6AZ5.mjs} +1 -1
  40. package/dist/cli/{chunk-7R76B3WE.js → chunk-RGRSUMN6.js} +5 -5
  41. package/dist/cli/{chunk-LFTLH5BK.js → chunk-RRCVAVM7.js} +2 -2
  42. package/dist/cli/{chunk-XFAO5A5R.mjs → chunk-RSXOGXGX.mjs} +1 -1
  43. package/dist/cli/{chunk-NIJYJI67.mjs → chunk-SQFBLBYC.mjs} +2 -2
  44. package/dist/cli/{chunk-A3GML7WW.js → chunk-SWUSDFG2.js} +9 -9
  45. package/dist/cli/{chunk-GW7RUNLW.mjs → chunk-UHAKSLL2.mjs} +2 -2
  46. package/dist/cli/{chunk-EISIAWBD.mjs → chunk-V27TVT7P.mjs} +1 -1
  47. package/dist/cli/{chunk-X6BQ4JAD.mjs → chunk-VSEKVRAP.mjs} +2 -2
  48. package/dist/cli/{chunk-W4J2EK5K.js → chunk-VVCMP45C.js} +3 -3
  49. package/dist/cli/{chunk-HXWZ52CW.mjs → chunk-W4XWGNW4.mjs} +3 -3
  50. package/dist/cli/{chunk-UMQT7QMB.mjs → chunk-WKOWXTDR.mjs} +2 -2
  51. package/dist/cli/{chunk-FFTLJGZQ.mjs → chunk-YHPUJI7G.mjs} +5 -5
  52. package/dist/cli/{chunk-JN7AOVD4.js → chunk-ZBWKWMSH.js} +16 -16
  53. package/dist/cli/{csv-ZVFGYRB7.js → csv-AD2DLLLL.js} +13 -13
  54. package/dist/cli/{csv-AE7OLXCV.mjs → csv-ZGZX2IIP.mjs} +4 -4
  55. package/dist/cli/{db-KTXMCLB5.mjs → db-LUFEKPEK.mjs} +6 -6
  56. package/dist/cli/{db-JOD2MQ2T.js → db-NBY4LHAY.js} +27 -27
  57. package/dist/cli/{describe-FENTKQFK.mjs → describe-MLXMC47U.mjs} +17 -17
  58. package/dist/cli/describe-Z66CQESH.js +48 -0
  59. package/dist/cli/{executions-IT6TQ65Q.js → executions-HDJMKNBR.js} +8 -8
  60. package/dist/cli/{executions-FJCV5L37.mjs → executions-JKVWM3P4.mjs} +6 -6
  61. package/dist/cli/{feedback-LTTO73YD.mjs → feedback-7E5Z4ZO5.mjs} +4 -4
  62. package/dist/cli/{feedback-WGURC3BG.js → feedback-VXMP7HDF.js} +8 -8
  63. package/dist/cli/git-NNSJKW3V.js +25 -0
  64. package/dist/cli/{git-ZYEDB2UG.mjs → git-UFMRAGMY.mjs} +5 -5
  65. package/dist/cli/index.js +135 -135
  66. package/dist/cli/index.mjs +40 -40
  67. package/dist/cli/{legacy-noops-JFXWEOZF.js → legacy-noops-4QKREY4K.js} +8 -8
  68. package/dist/cli/{legacy-noops-EGQ4G4BT.mjs → legacy-noops-BDULCVGD.mjs} +5 -5
  69. package/dist/cli/{monitors-WKN2K6ZH.js → monitors-LNNSTELC.js} +91 -91
  70. package/dist/cli/{monitors-IK6GWLCA.mjs → monitors-S6TDJYCK.mjs} +7 -7
  71. package/dist/cli/{org-PD5YBUHR.mjs → org-EEEMWKQ2.mjs} +6 -6
  72. package/dist/cli/{org-FE5VMAKF.js → org-OWM3IGOK.js} +68 -68
  73. package/dist/cli/{pages-H3DKEVVI.js → pages-7JF6AKDI.js} +17 -17
  74. package/dist/cli/{pages-ZVKSOSZJ.mjs → pages-ZYYMQUDX.mjs} +6 -6
  75. package/dist/cli/{play-RLIQY22H.mjs → play-5Z3E7KL6.mjs} +17 -17
  76. package/dist/cli/{play-2UL5OPGH.js → play-WLAFXAHR.js} +304 -304
  77. package/dist/cli/{providers-M4AFFJF2.mjs → providers-JUT7IYD3.mjs} +6 -6
  78. package/dist/cli/{providers-2IMHQDBC.js → providers-TTDFQQU2.js} +9 -9
  79. package/dist/cli/{quickstart-OE64DBKK.js → quickstart-OZYEGICI.js} +6 -6
  80. package/dist/cli/{quickstart-PS4QKNG2.mjs → quickstart-P4TL4NWJ.mjs} +4 -4
  81. package/dist/cli/{run-SWLGV2VS.js → run-BYGE4LUB.js} +36 -36
  82. package/dist/cli/{run-3TKR5CZU.mjs → run-CM6OZUBR.mjs} +22 -22
  83. package/dist/cli/search-RIG4LTCS.js +32 -0
  84. package/dist/cli/{search-AMZ67RKO.mjs → search-RZRJ73YL.mjs} +7 -7
  85. package/dist/cli/{secrets-INBXKNFM.mjs → secrets-DHI6ZMKE.mjs} +6 -6
  86. package/dist/cli/{secrets-ZTLJY7L2.js → secrets-XLTN3SCL.js} +15 -15
  87. package/dist/cli/{sessions-3GKS45NP.js → sessions-6NCQQXVK.js} +6 -6
  88. package/dist/cli/{sessions-ZVBTKQ7J.mjs → sessions-MZD5WZBT.mjs} +5 -5
  89. package/dist/cli/{settings-7YG3UWJH.js → settings-JJH72W5V.js} +78 -78
  90. package/dist/cli/{settings-AUPDZZ2U.mjs → settings-S6GQ4XFZ.mjs} +11 -11
  91. package/dist/cli/{setup-YGESCFTH.js → setup-3BIOG6N2.js} +44 -44
  92. package/dist/cli/{setup-44QB72NU.mjs → setup-ZJ4G54XN.mjs} +9 -9
  93. package/dist/cli/{skills-N3AWWCWO.mjs → skills-FBH4REPB.mjs} +7 -7
  94. package/dist/cli/skills-ODISCL7S.js +31 -0
  95. package/dist/cli/tools-IHBHDI4P.js +55 -0
  96. package/dist/cli/{tools-3SHNTJPU.mjs → tools-J6YGZTD5.mjs} +16 -16
  97. package/dist/cli/update-5O3HDR5O.js +33 -0
  98. package/dist/cli/{update-3TWB5EEV.mjs → update-6CSRALIQ.mjs} +9 -9
  99. package/dist/cli/{workflow-ULIZU7KI.js → workflow-2ETKYSJV.js} +17 -17
  100. package/dist/cli/{workflow-SYP62XNN.mjs → workflow-3ATSB7HQ.mjs} +7 -7
  101. package/dist/index.js +9 -9
  102. package/dist/index.mjs +6 -6
  103. package/dist/install-integrity.json +96 -96
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/dist/server.js +5 -5
  109. package/dist/server.mjs +3 -3
  110. package/package.json +1 -1
  111. package/dist/cli/auth-W62UTNJZ.js +0 -41
  112. package/dist/cli/describe-2IKB4KIX.js +0 -48
  113. package/dist/cli/git-UOIC2DJL.js +0 -25
  114. package/dist/cli/search-LXG7T6YZ.js +0 -32
  115. package/dist/cli/skills-QALGBUFY.js +0 -31
  116. package/dist/cli/tools-PUQ3JBZ7.js +0 -55
  117. package/dist/cli/update-O7XSJMLX.js +0 -33
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
14
+ var _chunkMTH7WIE3js = require('./chunk-MTH7WIE3.js');
15
15
 
16
16
 
17
- var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
17
+ var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
23
+ var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkXJ5W64ACjs = require('./chunk-XJ5W64AC.js');
27
+ var _chunkPEUWKPY4js = require('./chunk-PEUWKPY4.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunk5VGMRONEjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunkNQH7E3F2js.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkPEUWKPY4js.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkNQH7E3F2js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkE3PLLFE2js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkMTH7WIE3js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkMTH7WIE3js.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkMTH7WIE3js.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkE3PLLFE2js.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkMTH7WIE3js.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkMTH7WIE3js.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkMTH7WIE3js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkMTH7WIE3js.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
228
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunkNQH7E3F2js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkE3PLLFE2js.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkXJ5W64ACjs.SDK_VERSION
242
+ skillNames: [..._chunkMTH7WIE3js.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkPEUWKPY4js.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
248
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkE3PLLFE2js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkMTH7WIE3js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkE3PLLFE2js.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkMTH7WIE3js.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunk5VGMRONEjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunkNQH7E3F2js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkE3PLLFE2js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkMTH7WIE3js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkE3PLLFE2js.SkillsStateUnavailableError)) throw error;
308
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkMTH7WIE3js.SkillsStateUnavailableError)) throw error;
308
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
324
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkE3PLLFE2js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkMTH7WIE3js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
370
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkXJ5W64ACjs.SDK_VERSION,
409
+ cliVersion: _chunkPEUWKPY4js.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkE3PLLFE2js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkMTH7WIE3js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
424
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkMTH7WIE3js.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkE3PLLFE2js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkMTH7WIE3js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
473
+ _chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkE3PLLFE2js.syncSdkSkillsIfNeeded.call(void 0, _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkMTH7WIE3js.syncSdkSkillsIfNeeded.call(void 0, _chunkNQH7E3F2js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDDF74332js = require('./chunk-DDF74332.js');
3
+ var _chunk5BEKJUOKjs = require('./chunk-5BEKJUOK.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
8
+ var _chunkMTH7WIE3js = require('./chunk-MTH7WIE3.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkE3PLLFE2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkDDF74332js.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkMTH7WIE3js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunk5BEKJUOKjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkE3PLLFE2js.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkMTH7WIE3js.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkE3PLLFE2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkMTH7WIE3js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-SSQXSMAT.mjs";
3
+ } from "./chunk-6CYRIFZ3.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkRREWUPC3js = require('./chunk-RREWUPC3.js');
3
+ var _chunk3DVJ2IPGjs = require('./chunk-3DVJ2IPG.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
7
+ var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunk5VGMRONEjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkRREWUPC3js.PlayClient)(
142
- new (0, _chunk5VGMRONEjs.HttpClient)(config),
140
+ const config = _chunkNQH7E3F2js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk3DVJ2IPGjs.PlayClient)(
142
+ new (0, _chunkNQH7E3F2js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
3
+ var _chunkMTH7WIE3js = require('./chunk-MTH7WIE3.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 = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkMTH7WIE3js.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,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-YZZGFUQ4.mjs";
4
+ } from "./chunk-IEQPOBTK.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-SSQXSMAT.mjs";
5
+ } from "./chunk-6CYRIFZ3.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-XFAO5A5R.mjs";
8
+ } from "./chunk-RSXOGXGX.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkRREWUPC3js = require('./chunk-RREWUPC3.js');
6
+ var _chunk3DVJ2IPGjs = require('./chunk-3DVJ2IPG.js');
7
7
 
8
8
 
9
9
  var _chunkJKVRBCZLjs = require('./chunk-JKVRBCZL.js');
@@ -11,7 +11,7 @@ var _chunkJKVRBCZLjs = require('./chunk-JKVRBCZL.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
14
+ var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.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 = _chunkGBQSEOXEjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkHOFXQYRFjs.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 ? _chunkGBQSEOXEjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkGBQSEOXEjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkHOFXQYRFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkHOFXQYRFjs.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 = _chunkRREWUPC3js.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunk3DVJ2IPGjs.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 : _chunkRREWUPC3js.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk3DVJ2IPGjs.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 : _chunkGBQSEOXEjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkGBQSEOXEjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkHOFXQYRFjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkHOFXQYRFjs.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 || _chunkGBQSEOXEjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkHOFXQYRFjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -26,7 +26,7 @@ import {
26
26
  RETAINED_PIPELINE_RECEIVERS_HEADER,
27
27
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
28
28
  SDK_API_MAJOR
29
- } from "./chunk-YZZGFUQ4.mjs";
29
+ } from "./chunk-IEQPOBTK.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -4853,7 +4853,7 @@ var DeeplineClient = class _DeeplineClient {
4853
4853
  const probe = await fetchPage(0, 1);
4854
4854
  const lastStoredSeq = probe.lastStoredSeq;
4855
4855
  const oldestStoredSeq = probe.entries[0]?.seq ?? null;
4856
- const upperSeq = beforeSequence === null ? Number.POSITIVE_INFINITY : Math.min(beforeSequence - 1, lastStoredSeq);
4856
+ const upperSeq = beforeSequence === null ? lastStoredSeq : Math.min(beforeSequence - 1, lastStoredSeq);
4857
4857
  const windowEndSeq = Math.min(upperSeq, lastStoredSeq);
4858
4858
  let afterSeq = options?.all ? 0 : Math.max(0, windowEndSeq - limit);
4859
4859
  const entries = [];
@@ -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.465",
52
+ version: "0.3.466",
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."
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-GW7RUNLW.mjs";
6
+ } from "./chunk-UHAKSLL2.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-FAG4DFUC.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-SSQXSMAT.mjs";
14
+ } from "./chunk-6CYRIFZ3.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
9
+ var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkGBQSEOXEjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkHOFXQYRFjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -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 _chunkGBQSEOXEjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkHOFXQYRFjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-SSQXSMAT.mjs";
5
+ } from "./chunk-6CYRIFZ3.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,12 +22,12 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-XFAO5A5R.mjs";
25
+ } from "./chunk-RSXOGXGX.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  detectAgentRuntime
30
- } from "./chunk-YZZGFUQ4.mjs";
30
+ } from "./chunk-IEQPOBTK.mjs";
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
  import {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-7Y2MLWTM.mjs";
3
+ } from "./chunk-RCMT6AZ5.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-B6GAIXVD.mjs";
8
+ } from "./chunk-6R36QIG4.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-N27BUJU3.mjs";
7
+ } from "./chunk-46YQQOTC.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-B6GAIXVD.mjs";
10
+ } from "./chunk-6R36QIG4.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-SSQXSMAT.mjs";
14
+ } from "./chunk-6CYRIFZ3.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-XFAO5A5R.mjs";
17
+ } from "./chunk-RSXOGXGX.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-YZZGFUQ4.mjs";
20
+ } from "./chunk-IEQPOBTK.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();