deepline 0.3.457 → 0.3.459

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 (114) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +0 -23
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -0
  5. package/dist/cli/{auth-MZG5NF5U.mjs → auth-2RM2ZC6E.mjs} +4 -4
  6. package/dist/cli/auth-EAFWPDJG.js +40 -0
  7. package/dist/cli/{billing-RG3LF5OU.js → billing-4BZABEOA.js} +73 -73
  8. package/dist/cli/{billing-DWKZIL66.mjs → billing-FYF2GJ25.mjs} +4 -4
  9. package/dist/cli/{chunk-GLXYOSEL.js → chunk-2JSVKNLG.js} +3 -3
  10. package/dist/cli/{chunk-EXOCQILY.mjs → chunk-4EBJNT5C.mjs} +2 -2
  11. package/dist/cli/{chunk-MWRPRDHW.js → chunk-5KC7RLJO.js} +6 -6
  12. package/dist/cli/{chunk-X4XNGIPL.mjs → chunk-5WGW57KC.mjs} +3 -3
  13. package/dist/cli/{chunk-CQHTN3RY.mjs → chunk-7AGGDRNR.mjs} +1 -1
  14. package/dist/cli/{chunk-YVQVS7SF.mjs → chunk-7DFM5YLL.mjs} +4 -4
  15. package/dist/cli/{chunk-JL5DCH37.js → chunk-ACCQ5OM7.js} +16 -16
  16. package/dist/cli/{chunk-QGLFBQ43.mjs → chunk-BIPMJKLI.mjs} +5 -5
  17. package/dist/cli/{chunk-VLL6RRIA.js → chunk-FBMVFOD7.js} +8 -8
  18. package/dist/cli/{chunk-5TIASNUT.js → chunk-FFUQFRKZ.js} +20 -20
  19. package/dist/cli/{chunk-CTWD4ZHP.js → chunk-FPPCTKV6.js} +2 -2
  20. package/dist/cli/{chunk-JANCYPKP.mjs → chunk-HU7JG4RL.mjs} +1 -1
  21. package/dist/cli/{chunk-EHEBXARN.js → chunk-HUVI6EBF.js} +1 -1
  22. package/dist/cli/{chunk-J2ZS4PEC.js → chunk-JOSOQJ5P.js} +51 -51
  23. package/dist/cli/{chunk-KTAVYWYI.js → chunk-KB4XJRQW.js} +8 -8
  24. package/dist/cli/{chunk-W3IZ55XS.mjs → chunk-KDDB5S6E.mjs} +3 -3
  25. package/dist/cli/{chunk-SFCNYJ4B.js → chunk-LGOI2BRX.js} +10 -21
  26. package/dist/cli/{chunk-E5BGIERY.mjs → chunk-LSJYTDEK.mjs} +1 -1
  27. package/dist/cli/{chunk-NMVLO3JM.mjs → chunk-MHMRLS7W.mjs} +3 -3
  28. package/dist/cli/{chunk-LVGCJZ5S.mjs → chunk-MNNMPS6J.mjs} +1 -12
  29. package/dist/cli/{chunk-F64XBZ3A.mjs → chunk-NLRKZJZF.mjs} +2 -2
  30. package/dist/cli/{chunk-AQFHU3DW.js → chunk-NMJ4D2WO.js} +0 -21
  31. package/dist/cli/{chunk-BD5A242C.mjs → chunk-OD236M42.mjs} +2 -2
  32. package/dist/cli/{chunk-CHBYYJ7Q.mjs → chunk-OQW2YP3P.mjs} +1 -1
  33. package/dist/cli/{chunk-KVXBMYRY.js → chunk-OY4JQBJG.js} +2 -2
  34. package/dist/cli/{chunk-7JW4WIWU.js → chunk-PI65FBEA.js} +81 -81
  35. package/dist/cli/{chunk-77Z5BO7D.mjs → chunk-R2GLGLDR.mjs} +0 -21
  36. package/dist/cli/{chunk-L7WE7Q63.mjs → chunk-RLQDDJZZ.mjs} +1 -1
  37. package/dist/cli/{chunk-JCWEQQGE.js → chunk-S5TTNBEZ.js} +35 -35
  38. package/dist/cli/{chunk-MU4ZDVQK.mjs → chunk-SOUQUQQE.mjs} +8 -8
  39. package/dist/cli/{chunk-KKPKLLNB.js → chunk-U3VAYRUL.js} +6 -6
  40. package/dist/cli/{chunk-LKAITV2M.js → chunk-UIKSAVAE.js} +26 -26
  41. package/dist/cli/{chunk-TTBQOHG4.js → chunk-VLJXYDGZ.js} +4 -4
  42. package/dist/cli/{chunk-7IIRZXCO.mjs → chunk-Y35FCRLQ.mjs} +1 -1
  43. package/dist/cli/{chunk-US3SZ7VQ.js → chunk-Z4YO4J4J.js} +50 -50
  44. package/dist/cli/{chunk-LHHJATXY.mjs → chunk-ZAJAGMXA.mjs} +2 -2
  45. package/dist/cli/command-docs.js +2 -2
  46. package/dist/cli/command-docs.mjs +1 -1
  47. package/dist/cli/{csv-QSAAPCYE.js → csv-LRIV3RXE.js} +12 -12
  48. package/dist/cli/{csv-27M4PREP.mjs → csv-SDVEU3O5.mjs} +3 -3
  49. package/dist/cli/{db-LYPTNAPX.js → db-JS4OEDNY.js} +25 -25
  50. package/dist/cli/{db-H73PJID6.mjs → db-NHYULZTM.mjs} +4 -4
  51. package/dist/cli/{describe-Y5BHLZLH.mjs → describe-H5F72Q3S.mjs} +13 -13
  52. package/dist/cli/{describe-KYLGQSMO.js → describe-ZFKCZHOJ.js} +17 -17
  53. package/dist/cli/describe-core.d.mts +1 -1
  54. package/dist/cli/describe-core.d.ts +1 -1
  55. package/dist/cli/{executions-ZGQEWS2X.mjs → executions-25YKX4K3.mjs} +4 -4
  56. package/dist/cli/{executions-DHGYCPFO.js → executions-QPAKZTNQ.js} +6 -6
  57. package/dist/cli/{feedback-3YQPYCMT.js → feedback-O63Z5O2R.js} +7 -7
  58. package/dist/cli/{feedback-EBXU4ANA.mjs → feedback-Z3BES6L6.mjs} +3 -3
  59. package/dist/cli/git-KSRP3PNB.js +24 -0
  60. package/dist/cli/{git-CFPU33DJ.mjs → git-V7S3IBLO.mjs} +4 -4
  61. package/dist/cli/index.js +136 -136
  62. package/dist/cli/index.mjs +38 -38
  63. package/dist/cli/{legacy-noops-TFGIWA5C.mjs → legacy-noops-VRT5WZ5I.mjs} +4 -4
  64. package/dist/cli/{legacy-noops-CDKZ7RYT.js → legacy-noops-ZLLYEGQ6.js} +7 -7
  65. package/dist/cli/{monitors-6ED5RJYG.mjs → monitors-44KSWY3M.mjs} +5 -5
  66. package/dist/cli/{monitors-PCMAB7NP.js → monitors-T7FKIDDY.js} +89 -89
  67. package/dist/cli/{org-V4QYXLOL.mjs → org-BZE4CGIT.mjs} +4 -4
  68. package/dist/cli/{org-KAARC2XN.js → org-KPPG2KY4.js} +66 -66
  69. package/dist/cli/{play-OTTJ6S2G.mjs → play-CHTP4NKR.mjs} +11 -11
  70. package/dist/cli/{play-PPWCRYME.js → play-M5P74N3E.js} +284 -284
  71. package/dist/cli/{providers-ULL5EJHY.mjs → providers-CGLPOOXA.mjs} +4 -46
  72. package/dist/cli/{providers-ICY74FM5.js → providers-L3PK7NHU.js} +8 -50
  73. package/dist/cli/{quickstart-YOUCGJQP.js → quickstart-LJ7HELWE.js} +5 -5
  74. package/dist/cli/{quickstart-QLVS53TD.mjs → quickstart-NWG35AKK.mjs} +3 -3
  75. package/dist/cli/{search-AGYQR6YQ.mjs → search-723TVSNC.mjs} +5 -5
  76. package/dist/cli/search-PESQULBG.js +30 -0
  77. package/dist/cli/{secrets-PJFO3RZW.mjs → secrets-ONN3Z5Y6.mjs} +4 -4
  78. package/dist/cli/{secrets-OA3HHNHP.js → secrets-SVSSLPWB.js} +13 -13
  79. package/dist/cli/{sessions-WNRZQEBL.mjs → sessions-3KAEYQ3U.mjs} +4 -4
  80. package/dist/cli/{sessions-OYTROOOG.js → sessions-7LYPPYUY.js} +5 -5
  81. package/dist/cli/{settings-JIYDWBPM.mjs → settings-2CBJI7FY.mjs} +10 -10
  82. package/dist/cli/{settings-RXGOZAZI.js → settings-JGJZO7EX.js} +77 -77
  83. package/dist/cli/{setup-VXNSUQYT.js → setup-AIAOO7R4.js} +43 -43
  84. package/dist/cli/{setup-YAYE7KQM.mjs → setup-BJCBDH34.mjs} +8 -8
  85. package/dist/cli/{skills-XYDBLLRK.mjs → skills-7QSQPQXX.mjs} +6 -6
  86. package/dist/cli/skills-WECIGARR.js +30 -0
  87. package/dist/cli/tools-HTEMYXT2.js +45 -0
  88. package/dist/cli/{tools-TRDYMDPL.mjs → tools-I7LYXHDR.mjs} +13 -13
  89. package/dist/cli/update-J4LSPXHD.js +32 -0
  90. package/dist/cli/{update-KH36JGLK.mjs → update-LKY5OJ56.mjs} +8 -8
  91. package/dist/cli/{workflow-EYWCMD4D.mjs → workflow-DD32BU7Y.mjs} +5 -5
  92. package/dist/cli/{workflow-CQZBGIQ2.js → workflow-Y4HGE7MB.js} +15 -15
  93. package/dist/{client-BX2EVlPo.d.mts → client-BbU5_j7n.d.mts} +0 -14
  94. package/dist/{client-CRz2laoR.d.ts → client-CYqG23K1.d.ts} +0 -14
  95. package/dist/index.d.mts +2 -2
  96. package/dist/index.d.ts +2 -2
  97. package/dist/index.js +6 -6
  98. package/dist/index.mjs +3 -3
  99. package/dist/install-integrity.json +84 -84
  100. package/dist/plays/play-description.d.mts +1 -1
  101. package/dist/plays/play-description.d.ts +1 -1
  102. package/dist/plays/run-request.d.mts +1 -1
  103. package/dist/plays/run-request.d.ts +1 -1
  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/package.json +1 -1
  109. package/dist/cli/auth-O3XJDECG.js +0 -40
  110. package/dist/cli/git-4ACVGA4W.js +0 -24
  111. package/dist/cli/search-XNU6FOOH.js +0 -30
  112. package/dist/cli/skills-5UCGZVCN.js +0 -30
  113. package/dist/cli/tools-UMSFNX5B.js +0 -45
  114. package/dist/cli/update-K5AOROYI.js +0 -32
@@ -11,10 +11,10 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkJ2ZS4PECjs = require('./chunk-J2ZS4PEC.js');
14
+ var _chunkJOSOQJ5Pjs = require('./chunk-JOSOQJ5P.js');
15
15
 
16
16
 
17
- var _chunkKKPKLLNBjs = require('./chunk-KKPKLLNB.js');
17
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
18
18
 
19
19
 
20
20
 
@@ -22,7 +22,7 @@ var _chunkKKPKLLNBjs = require('./chunk-KKPKLLNB.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
25
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.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 = _chunkTTBQOHG4js.resolveProjectPinTarget.call(void 0, );
78
+ const target = _chunkVLJXYDGZjs.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, () => ( _chunkTTBQOHG4js.detectAgentRuntime.call(void 0, )));
89
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkVLJXYDGZjs.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, _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
104
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkVLJXYDGZjs.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 = [..._chunkJ2ZS4PECjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
108
+ const legacyNames = [..._chunkJOSOQJ5Pjs.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=${_chunkJ2ZS4PECjs.SKILLS_NPX_PACKAGE}`,
122
+ `--package=${_chunkJOSOQJ5Pjs.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=${_chunkJ2ZS4PECjs.SKILLS_NPX_PACKAGE}`,
138
+ `--package=${_chunkJOSOQJ5Pjs.SKILLS_NPX_PACKAGE}`,
139
139
  "--",
140
140
  "skills",
141
141
  "add",
142
- _chunkJ2ZS4PECjs.skillsSourceUrl.call(void 0, input.baseUrl),
142
+ _chunkJOSOQJ5Pjs.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 = _chunkJ2ZS4PECjs.resolveShellSpawn.call(void 0,
179
+ const plan = _chunkJOSOQJ5Pjs.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
- `${_chunkJ2ZS4PECjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
201
+ `${_chunkJOSOQJ5Pjs.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(`${_chunkJ2ZS4PECjs.SKILLS_NPX_PACKAGE} exited ${code}.
212
+ process.stderr.write(`${_chunkJOSOQJ5Pjs.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
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
226
+ _chunkU3VAYRULjs.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 = _chunkTTBQOHG4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
238
+ const baseUrl = _chunkVLJXYDGZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
239
239
  const catalog = {
240
- skillNames: [..._chunkJ2ZS4PECjs.DEFAULT_SDK_SKILL_NAMES],
241
- version: _chunkTTBQOHG4js.SDK_VERSION
240
+ skillNames: [..._chunkJOSOQJ5Pjs.DEFAULT_SDK_SKILL_NAMES],
241
+ version: _chunkVLJXYDGZjs.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
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
246
+ _chunkU3VAYRULjs.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)) && !_chunkJ2ZS4PECjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
252
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkJOSOQJ5Pjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
+ _chunkU3VAYRULjs.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, ..._chunkJ2ZS4PECjs.LEGACY_SKILL_NAMES_TO_REMOVE])
285
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkJOSOQJ5Pjs.LEGACY_SKILL_NAMES_TO_REMOVE])
286
286
  ];
287
287
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
288
- _chunkTTBQOHG4js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
288
+ _chunkVLJXYDGZjs.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 _chunkJ2ZS4PECjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
297
+ lease = scope === "global" ? await _chunkJOSOQJ5Pjs.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 _chunkJ2ZS4PECjs.SkillsStateUnavailableError)) throw error;
306
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
305
+ if (!(error instanceof _chunkJOSOQJ5Pjs.SkillsStateUnavailableError)) throw error;
306
+ _chunkU3VAYRULjs.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
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
322
+ _chunkU3VAYRULjs.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 ${_chunkJ2ZS4PECjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
331
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkJOSOQJ5Pjs.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
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
368
+ _chunkU3VAYRULjs.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: _chunkTTBQOHG4js.SDK_VERSION,
407
+ cliVersion: _chunkVLJXYDGZjs.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
- _chunkJ2ZS4PECjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
420
+ _chunkJOSOQJ5Pjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
421
421
  }
422
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
422
+ _chunkU3VAYRULjs.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 ${_chunkJ2ZS4PECjs.SKILLS_NPX_PACKAGE},
453
+ This command reinstalls current Deepline-managed skills using ${_chunkJOSOQJ5Pjs.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(_chunkJ2ZS4PECjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
465
+ program.command(_chunkJOSOQJ5Pjs.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
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
471
+ _chunkU3VAYRULjs.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 _chunkJ2ZS4PECjs.syncSdkSkillsIfNeeded.call(void 0, _chunkTTBQOHG4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
484
+ await _chunkJOSOQJ5Pjs.syncSdkSkillsIfNeeded.call(void 0, _chunkVLJXYDGZjs.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-NMVLO3JM.mjs";
8
+ } from "./chunk-MHMRLS7W.mjs";
9
9
  import {
10
10
  arrayField,
11
11
  formatModelDescription,
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  DeeplineClient,
50
50
  validateExecutionIdempotencyKey
51
- } from "./chunk-LVGCJZ5S.mjs";
51
+ } from "./chunk-MNNMPS6J.mjs";
52
52
  import {
53
53
  stableStringify
54
54
  } from "./chunk-UBKA33KY.mjs";
@@ -58,18 +58,18 @@ import {
58
58
  maybeAutoUpdateAndRelaunch,
59
59
  registerCompatibilityCatalog,
60
60
  runToolExecuteStage
61
- } from "./chunk-YVQVS7SF.mjs";
61
+ } from "./chunk-7DFM5YLL.mjs";
62
62
  import {
63
63
  isCliTraceEnabled,
64
64
  recordCliTrace,
65
65
  resolveCliMaintenancePolicy
66
- } from "./chunk-L7WE7Q63.mjs";
66
+ } from "./chunk-RLQDDJZZ.mjs";
67
67
  import {
68
68
  checkSdkCompatibility,
69
69
  enforceSdkCompatibilityResponse,
70
70
  flushDeferredSkillsSyncNotices,
71
71
  syncSdkSkillsIfNeeded
72
- } from "./chunk-X4XNGIPL.mjs";
72
+ } from "./chunk-5WGW57KC.mjs";
73
73
  import {
74
74
  printCommandEnvelope,
75
75
  printCompactJson,
@@ -77,12 +77,12 @@ import {
77
77
  printJsonError,
78
78
  renderCommandEnvelopeText,
79
79
  shouldEmitJson
80
- } from "./chunk-7IIRZXCO.mjs";
80
+ } from "./chunk-Y35FCRLQ.mjs";
81
81
  import {
82
82
  readSdkSkillsLocalVersion,
83
83
  resolveConfig,
84
84
  sdkCliStateDirPath
85
- } from "./chunk-CQHTN3RY.mjs";
85
+ } from "./chunk-7AGGDRNR.mjs";
86
86
  import {
87
87
  DeeplineError
88
88
  } from "./chunk-HBL4PM5Q.mjs";
@@ -971,7 +971,7 @@ Examples:
971
971
  process.exitCode = await narrowView();
972
972
  return;
973
973
  }
974
- const { describeAnything } = await import("./describe-Y5BHLZLH.mjs");
974
+ const { describeAnything } = await import("./describe-H5F72Q3S.mjs");
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
6
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkTTBQOHG4js.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkTTBQOHG4js.HttpClient)(config) };
291
+ const config = _chunkVLJXYDGZjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkVLJXYDGZjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkTTBQOHG4js.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkVLJXYDGZjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkTTBQOHG4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkVLJXYDGZjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkTTBQOHG4js.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkVLJXYDGZjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkKKPKLLNBjs = require('./chunk-KKPKLLNB.js');
5
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
6
6
 
7
7
 
8
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
8
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
39
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
139
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
153
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
200
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
227
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
254
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
269
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkTTBQOHG4js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkVLJXYDGZjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkKKPKLLNBjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkU3VAYRULjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
322
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
371
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkKKPKLLNBjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0,
392
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
18
18
 
19
19
 
20
- var _chunkEHEBXARNjs = require('./chunk-EHEBXARN.js');
20
+ var _chunkHUVI6EBFjs = require('./chunk-HUVI6EBF.js');
21
21
 
22
22
  // src/config.ts
23
23
 
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
649
649
  }
650
650
 
651
651
  // src/version.ts
652
- var SDK_VERSION = _chunkEHEBXARNjs.SDK_RELEASE.version;
653
- var SDK_API_MAJOR = _chunkEHEBXARNjs.SDK_RELEASE.contracts.api.currentMajor;
654
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkEHEBXARNjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
652
+ var SDK_VERSION = _chunkHUVI6EBFjs.SDK_RELEASE.version;
653
+ var SDK_API_MAJOR = _chunkHUVI6EBFjs.SDK_RELEASE.contracts.api.currentMajor;
654
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkHUVI6EBFjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
655
655
 
656
656
  // src/agent-runtime.ts
657
657
 
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-CQHTN3RY.mjs";
6
+ } from "./chunk-7AGGDRNR.mjs";
7
7
  import {
8
8
  DeeplineError,
9
9
  serializeToolExecutionFailure