deepline 0.3.446 → 0.3.447

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 (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +3 -0
  3. package/dist/cli/{auth-QS4HFSPI.mjs → auth-COGJHSV4.mjs} +4 -4
  4. package/dist/cli/auth-MHBOTH5I.js +40 -0
  5. package/dist/cli/{billing-X7ZJUBJE.mjs → billing-LMW3OXJG.mjs} +4 -4
  6. package/dist/cli/{billing-72BVAZ6M.js → billing-O4VZKEBX.js} +73 -73
  7. package/dist/cli/{chunk-N5CNBKPY.js → chunk-3HQHWCXO.js} +81 -81
  8. package/dist/cli/{chunk-6XL3IIFD.mjs → chunk-3T74FJWG.mjs} +4 -4
  9. package/dist/cli/{chunk-WX4K4TNG.js → chunk-4OGNPUTA.js} +4 -4
  10. package/dist/cli/{chunk-4UD3HIUY.js → chunk-5FRUCHTH.js} +8 -8
  11. package/dist/cli/{chunk-ULGMJRSU.mjs → chunk-6EQRPWRM.mjs} +8 -8
  12. package/dist/cli/{chunk-TY6KOFLR.js → chunk-7DEPUMTR.js} +8 -8
  13. package/dist/cli/{chunk-IQREZ6NU.mjs → chunk-7Y6TUHBC.mjs} +2 -2
  14. package/dist/cli/{chunk-R53NKATP.mjs → chunk-AWV47AZQ.mjs} +5 -5
  15. package/dist/cli/{chunk-XK7USWW3.js → chunk-AZ3I7WXB.js} +6 -6
  16. package/dist/cli/{chunk-FMUADJJ6.mjs → chunk-BJ5JX32Q.mjs} +3 -3
  17. package/dist/cli/{chunk-DPVDPJLA.mjs → chunk-DOTKSF3L.mjs} +1 -1
  18. package/dist/cli/{chunk-CNIFSBGW.js → chunk-DQJOTP5P.js} +35 -35
  19. package/dist/cli/{chunk-MU76KMIL.js → chunk-DXMNRVCV.js} +20 -20
  20. package/dist/cli/{chunk-D7ES6PAW.mjs → chunk-ETLBBI6B.mjs} +1 -1
  21. package/dist/cli/{chunk-EATTWMIB.js → chunk-F4IUMSC6.js} +2 -2
  22. package/dist/cli/{chunk-R4AKASN2.mjs → chunk-G3QV4EOW.mjs} +3 -3
  23. package/dist/cli/{chunk-SSPHVLOF.js → chunk-GC7P7QC4.js} +52 -52
  24. package/dist/cli/{chunk-HBC7PNWS.mjs → chunk-H5YDQBLP.mjs} +1 -1
  25. package/dist/cli/{chunk-KUWUIXC7.mjs → chunk-JNO7JR6A.mjs} +2 -2
  26. package/dist/cli/{chunk-ISQLFI2O.mjs → chunk-JRQFJMP5.mjs} +1 -1
  27. package/dist/cli/{chunk-6PTUA4M7.js → chunk-LJE4SJYM.js} +10 -10
  28. package/dist/cli/{chunk-JZK7OEG7.mjs → chunk-O2WRDCE6.mjs} +2 -2
  29. package/dist/cli/{chunk-7X7GEXHC.js → chunk-POS24KGO.js} +6 -6
  30. package/dist/cli/{chunk-MERFSCZL.js → chunk-QSKHP36B.js} +16 -16
  31. package/dist/cli/{chunk-T56WZU3Q.mjs → chunk-RTP24G2N.mjs} +1 -1
  32. package/dist/cli/{chunk-XQSQNS73.js → chunk-SVSWKNUO.js} +1 -1
  33. package/dist/cli/{chunk-BIQCGMZC.js → chunk-TFFZZSOA.js} +50 -50
  34. package/dist/cli/{chunk-LBZGICM5.js → chunk-U57YILAD.js} +2 -2
  35. package/dist/cli/{chunk-RZ25NO6A.js → chunk-VFK2XNEX.js} +26 -26
  36. package/dist/cli/{chunk-PE4GNPHD.mjs → chunk-VN2S5AD7.mjs} +2 -2
  37. package/dist/cli/{chunk-MTRBEEIJ.mjs → chunk-XPZVU6DO.mjs} +1 -1
  38. package/dist/cli/{chunk-7HUXIWE2.mjs → chunk-XQTTO5ZK.mjs} +3 -3
  39. package/dist/cli/{csv-J2CGPTVS.mjs → csv-THN4ZLUI.mjs} +3 -3
  40. package/dist/cli/{csv-I2U2XHF2.js → csv-TKHPVZTQ.js} +12 -12
  41. package/dist/cli/{db-7ZYN4RSF.mjs → db-4OLJNFTE.mjs} +4 -4
  42. package/dist/cli/{db-ID7WE25S.js → db-JRFN65AN.js} +25 -25
  43. package/dist/cli/{describe-6MWB45ZF.js → describe-OER7TYUP.js} +16 -16
  44. package/dist/cli/{describe-KIE5HRU6.mjs → describe-PC2VEBPG.mjs} +12 -12
  45. package/dist/cli/{executions-NPH4K6V4.js → executions-H4GQTNRL.js} +6 -6
  46. package/dist/cli/{executions-UAKS7E5U.mjs → executions-UCUKWRNI.mjs} +4 -4
  47. package/dist/cli/{feedback-T65QHRNJ.js → feedback-4N3WCV2J.js} +7 -7
  48. package/dist/cli/{feedback-VGRGR5TG.mjs → feedback-GYMC5YZB.mjs} +3 -3
  49. package/dist/cli/{git-MHBPDHFC.mjs → git-AXXF7WZP.mjs} +4 -4
  50. package/dist/cli/git-LHHJFXJL.js +24 -0
  51. package/dist/cli/index.js +131 -131
  52. package/dist/cli/index.mjs +36 -36
  53. package/dist/cli/{legacy-noops-O27BEOS7.mjs → legacy-noops-GOH56MJB.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-UWDPM46V.js → legacy-noops-N7OL7HA5.js} +7 -7
  55. package/dist/cli/{monitors-OEQ7GQ7Z.mjs → monitors-57FT6XVT.mjs} +4 -4
  56. package/dist/cli/{monitors-U4O52KL7.js → monitors-JH63QWM2.js} +84 -84
  57. package/dist/cli/{org-FKNL42W7.js → org-2XHVAWMG.js} +66 -66
  58. package/dist/cli/{org-TCP4TADK.mjs → org-SWUF6IMF.mjs} +4 -4
  59. package/dist/cli/{play-3UFJK5TR.mjs → play-5LWJRKWA.mjs} +10 -10
  60. package/dist/cli/{play-H2XWJ2GR.js → play-ZFOIZD4I.js} +283 -283
  61. package/dist/cli/{providers-ZDLZX6AB.js → providers-74MVZVMN.js} +7 -7
  62. package/dist/cli/{providers-SYZJQNNL.mjs → providers-D4C2JSKB.mjs} +4 -4
  63. package/dist/cli/{quickstart-LLZAA3YH.mjs → quickstart-2UBYYZZ2.mjs} +3 -3
  64. package/dist/cli/{quickstart-GPFZQF5I.js → quickstart-V2VPGBNV.js} +5 -5
  65. package/dist/cli/{search-XEZ6YINQ.mjs → search-AEF4GNGW.mjs} +5 -5
  66. package/dist/cli/search-LT23PNKG.js +30 -0
  67. package/dist/cli/{secrets-6LG6WSV4.js → secrets-HOPL4L2K.js} +13 -13
  68. package/dist/cli/{secrets-GTUPRTIQ.mjs → secrets-LSA45EST.mjs} +4 -4
  69. package/dist/cli/{sessions-6T7GLRAE.js → sessions-YAO2R3VM.js} +5 -5
  70. package/dist/cli/{sessions-FCD3L6BO.mjs → sessions-ZDW2TWJD.mjs} +4 -4
  71. package/dist/cli/{settings-BLS3NVLD.js → settings-5NVBSJE3.js} +75 -75
  72. package/dist/cli/{settings-TMJK4XRG.mjs → settings-L7VDUB4S.mjs} +8 -8
  73. package/dist/cli/{setup-XIWCJNVC.mjs → setup-2SNQ6KRO.mjs} +7 -7
  74. package/dist/cli/{setup-CLGJAUHO.js → setup-E2KCE7JQ.js} +42 -42
  75. package/dist/cli/{skills-CAZWF6XW.mjs → skills-3AJAHTG3.mjs} +5 -5
  76. package/dist/cli/skills-UOZ4C3PQ.js +29 -0
  77. package/dist/cli/tools-4QF5UT7T.js +44 -0
  78. package/dist/cli/{tools-ZW5RKTQD.mjs → tools-VSZOCX3I.mjs} +12 -12
  79. package/dist/cli/{update-EEAZY5SI.mjs → update-ML7WYXTR.mjs} +7 -7
  80. package/dist/cli/update-MQV3ZPDE.js +31 -0
  81. package/dist/cli/{workflow-6WUBJEPO.js → workflow-PNOMCXFA.js} +15 -15
  82. package/dist/cli/{workflow-QQW22LYJ.mjs → workflow-XW3F2T4N.mjs} +5 -5
  83. package/dist/index.js +6 -6
  84. package/dist/index.mjs +3 -3
  85. package/dist/install-integrity.json +78 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-LQFM7AUA.js +0 -40
  92. package/dist/cli/git-YKUQZPWL.js +0 -24
  93. package/dist/cli/search-WQ77HY2K.js +0 -30
  94. package/dist/cli/skills-VRIWFWDM.js +0 -29
  95. package/dist/cli/tools-E4JIROSM.js +0 -44
  96. package/dist/cli/update-DFQ3SX6R.js +0 -31
@@ -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 _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
4
+ var _chunkPOS24KGOjs = require('./chunk-POS24KGO.js');
5
5
 
6
6
 
7
- var _chunkWX4K4TNGjs = require('./chunk-WX4K4TNG.js');
7
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.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 = _chunkWX4K4TNGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunk4OGNPUTAjs.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 } = _chunk7X7GEXHCjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkPOS24KGOjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
487
+ _chunkPOS24KGOjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
519
+ _chunkPOS24KGOjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
569
+ _chunkPOS24KGOjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
677
+ _chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  recentSearchRef,
7
7
  registerDeprecatedSearchCommand
8
- } from "./chunk-R4AKASN2.mjs";
8
+ } from "./chunk-G3QV4EOW.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-ISQLFI2O.mjs";
51
+ } from "./chunk-JRQFJMP5.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-6XL3IIFD.mjs";
61
+ } from "./chunk-3T74FJWG.mjs";
62
62
  import {
63
63
  isCliTraceEnabled,
64
64
  recordCliTrace,
65
65
  resolveCliMaintenancePolicy
66
- } from "./chunk-D7ES6PAW.mjs";
66
+ } from "./chunk-ETLBBI6B.mjs";
67
67
  import {
68
68
  checkSdkCompatibility,
69
69
  enforceSdkCompatibilityResponse,
70
70
  flushDeferredSkillsSyncNotices,
71
71
  syncSdkSkillsIfNeeded
72
- } from "./chunk-7HUXIWE2.mjs";
72
+ } from "./chunk-XQTTO5ZK.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-MTRBEEIJ.mjs";
80
+ } from "./chunk-XPZVU6DO.mjs";
81
81
  import {
82
82
  readSdkSkillsLocalVersion,
83
83
  resolveConfig,
84
84
  sdkCliStateDirPath
85
- } from "./chunk-T56WZU3Q.mjs";
85
+ } from "./chunk-RTP24G2N.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-KIE5HRU6.mjs");
974
+ const { describeAnything } = await import("./describe-PC2VEBPG.mjs");
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunk6PTUA4M7js = require('./chunk-6PTUA4M7.js');
6
+ var _chunkLJE4SJYMjs = require('./chunk-LJE4SJYM.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
10
+ var _chunkPOS24KGOjs = require('./chunk-POS24KGO.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkWX4K4TNGjs = require('./chunk-WX4K4TNG.js');
14
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkWX4K4TNGjs.sdkCliStateDirPath.call(void 0, _chunkWX4K4TNGjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunk4OGNPUTAjs.sdkCliStateDirPath.call(void 0, _chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunk7X7GEXHCjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkPOS24KGOjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunk7X7GEXHCjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkPOS24KGOjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunk6PTUA4M7js.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkLJE4SJYMjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkPOS24KGOjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-D7ES6PAW.mjs";
3
+ } from "./chunk-ETLBBI6B.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-7HUXIWE2.mjs";
8
+ } from "./chunk-XQTTO5ZK.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-DPVDPJLA.mjs";
4
+ } from "./chunk-DOTKSF3L.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-FMUADJJ6.mjs";
7
+ } from "./chunk-BJ5JX32Q.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-7HUXIWE2.mjs";
10
+ } from "./chunk-XQTTO5ZK.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-MTRBEEIJ.mjs";
13
+ } from "./chunk-XPZVU6DO.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-T56WZU3Q.mjs";
16
+ } from "./chunk-RTP24G2N.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLBZGICM5js = require('./chunk-LBZGICM5.js');
3
+ var _chunkU57YILADjs = require('./chunk-U57YILAD.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkSSPHVLOFjs = require('./chunk-SSPHVLOF.js');
8
+ var _chunkGC7P7QC4js = require('./chunk-GC7P7QC4.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") _chunkSSPHVLOFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkLBZGICM5js.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkGC7P7QC4js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkU57YILADjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkSSPHVLOFjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkGC7P7QC4js.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
- _chunkSSPHVLOFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkGC7P7QC4js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-7HUXIWE2.mjs";
14
+ } from "./chunk-XQTTO5ZK.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-MTRBEEIJ.mjs";
17
+ } from "./chunk-XPZVU6DO.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-T56WZU3Q.mjs";
25
+ } from "./chunk-RTP24G2N.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-7HUXIWE2.mjs";
3
+ } from "./chunk-XQTTO5ZK.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -11,10 +11,10 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkSSPHVLOFjs = require('./chunk-SSPHVLOF.js');
14
+ var _chunkGC7P7QC4js = require('./chunk-GC7P7QC4.js');
15
15
 
16
16
 
17
- var _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
17
+ var _chunkPOS24KGOjs = require('./chunk-POS24KGO.js');
18
18
 
19
19
 
20
20
 
@@ -22,7 +22,7 @@ var _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkWX4K4TNGjs = require('./chunk-WX4K4TNG.js');
25
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.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 = _chunkWX4K4TNGjs.resolveProjectPinTarget.call(void 0, );
78
+ const target = _chunk4OGNPUTAjs.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, () => ( _chunkWX4K4TNGjs.detectAgentRuntime.call(void 0, )));
89
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunk4OGNPUTAjs.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, _chunkWX4K4TNGjs.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, _chunk4OGNPUTAjs.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 = [..._chunkSSPHVLOFjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
108
+ const legacyNames = [..._chunkGC7P7QC4js.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=${_chunkSSPHVLOFjs.SKILLS_NPX_PACKAGE}`,
122
+ `--package=${_chunkGC7P7QC4js.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=${_chunkSSPHVLOFjs.SKILLS_NPX_PACKAGE}`,
138
+ `--package=${_chunkGC7P7QC4js.SKILLS_NPX_PACKAGE}`,
139
139
  "--",
140
140
  "skills",
141
141
  "add",
142
- _chunkSSPHVLOFjs.skillsSourceUrl.call(void 0, input.baseUrl),
142
+ _chunkGC7P7QC4js.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 = _chunkSSPHVLOFjs.resolveShellSpawn.call(void 0,
179
+ const plan = _chunkGC7P7QC4js.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
- `${_chunkSSPHVLOFjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
201
+ `${_chunkGC7P7QC4js.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(`${_chunkSSPHVLOFjs.SKILLS_NPX_PACKAGE} exited ${code}.
212
+ process.stderr.write(`${_chunkGC7P7QC4js.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
226
+ _chunkPOS24KGOjs.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 = _chunkWX4K4TNGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
238
+ const baseUrl = _chunk4OGNPUTAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
239
239
  const catalog = {
240
- skillNames: [..._chunkSSPHVLOFjs.DEFAULT_SDK_SKILL_NAMES],
241
- version: _chunkWX4K4TNGjs.SDK_VERSION
240
+ skillNames: [..._chunkGC7P7QC4js.DEFAULT_SDK_SKILL_NAMES],
241
+ version: _chunk4OGNPUTAjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
246
+ _chunkPOS24KGOjs.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)) && !_chunkSSPHVLOFjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
252
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkGC7P7QC4js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
253
+ _chunkPOS24KGOjs.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, ..._chunkSSPHVLOFjs.LEGACY_SKILL_NAMES_TO_REMOVE])
285
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkGC7P7QC4js.LEGACY_SKILL_NAMES_TO_REMOVE])
286
286
  ];
287
287
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
288
- _chunkWX4K4TNGjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
288
+ _chunk4OGNPUTAjs.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 _chunkSSPHVLOFjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
297
+ lease = scope === "global" ? await _chunkGC7P7QC4js.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 _chunkSSPHVLOFjs.SkillsStateUnavailableError)) throw error;
306
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
305
+ if (!(error instanceof _chunkGC7P7QC4js.SkillsStateUnavailableError)) throw error;
306
+ _chunkPOS24KGOjs.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
322
+ _chunkPOS24KGOjs.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 ${_chunkSSPHVLOFjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
331
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkGC7P7QC4js.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
368
+ _chunkPOS24KGOjs.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: _chunkWX4K4TNGjs.SDK_VERSION,
407
+ cliVersion: _chunk4OGNPUTAjs.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
- _chunkSSPHVLOFjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
420
+ _chunkGC7P7QC4js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
421
421
  }
422
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
422
+ _chunkPOS24KGOjs.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 ${_chunkSSPHVLOFjs.SKILLS_NPX_PACKAGE},
453
+ This command reinstalls current Deepline-managed skills using ${_chunkGC7P7QC4js.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(_chunkSSPHVLOFjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
465
+ program.command(_chunkGC7P7QC4js.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
- _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0,
471
+ _chunkPOS24KGOjs.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 _chunkSSPHVLOFjs.syncSdkSkillsIfNeeded.call(void 0, _chunkWX4K4TNGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
484
+ await _chunkGC7P7QC4js.syncSdkSkillsIfNeeded.call(void 0, _chunk4OGNPUTAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
485
485
  mode: "inline",
486
486
  notices: "defer",
487
487
  claim