deepline 0.3.522 → 0.3.523

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 (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +118 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +47 -18
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/db-session-renewal.ts +209 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -6
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +5 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +1 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +38 -5
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +92 -10
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +96 -25
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +29 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +139 -17
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +26 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +145 -5
  17. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +190 -10
  18. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +85 -5
  19. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +21 -11
  20. package/dist/cli/{artifacts-RY2MK74N.mjs → artifacts-RBHR2DG4.mjs} +6 -6
  21. package/dist/cli/{artifacts-GIZZH5VA.js → artifacts-RZTS2JHZ.js} +18 -18
  22. package/dist/cli/auth-DPWYFQR5.js +43 -0
  23. package/dist/cli/{auth-YIBY5IKT.mjs → auth-ENQUQS56.mjs} +5 -5
  24. package/dist/cli/{billing-G3IX3SNY.mjs → billing-6A27ULCX.mjs} +7 -7
  25. package/dist/cli/{billing-UDKL53GI.js → billing-6HONTJOY.js} +82 -82
  26. package/dist/cli/{chunk-4DFWDA2Q.js → chunk-2BRDHM4S.js} +9 -9
  27. package/dist/cli/{chunk-EJBW7Y6Z.js → chunk-326WVSWS.js} +108 -96
  28. package/dist/cli/{chunk-7JEN3FX4.js → chunk-36LQQL5C.js} +5 -5
  29. package/dist/cli/{chunk-GVKW3LCA.js → chunk-4NWY7JBB.js} +11 -11
  30. package/dist/cli/{chunk-RKE5YTHY.mjs → chunk-4V63IJCL.mjs} +5 -5
  31. package/dist/cli/{chunk-VFCVH2LV.mjs → chunk-5WFQXAD4.mjs} +5 -5
  32. package/dist/cli/{chunk-4TUMKJZX.mjs → chunk-6DBRBWHC.mjs} +2 -2
  33. package/dist/cli/{chunk-CFXERH7F.mjs → chunk-6OZ2WSHD.mjs} +1 -1
  34. package/dist/cli/{chunk-5H22VJPE.js → chunk-7GNKAACY.js} +6 -6
  35. package/dist/cli/{chunk-G65FJ5JX.mjs → chunk-7M5FRSFP.mjs} +2 -2
  36. package/dist/cli/{chunk-PDLRUZ42.mjs → chunk-DNXP3D5H.mjs} +5 -5
  37. package/dist/cli/{chunk-OAQIVJFY.mjs → chunk-F3WRLFFM.mjs} +2 -2
  38. package/dist/cli/{chunk-RI672VNY.js → chunk-FBMOBNJY.js} +2 -2
  39. package/dist/cli/{chunk-NDNG3MAT.mjs → chunk-H7275EZU.mjs} +5 -5
  40. package/dist/cli/{chunk-C6WGMODR.mjs → chunk-HSVGP4CI.mjs} +2 -2
  41. package/dist/cli/{chunk-DNJJ3ULJ.js → chunk-HUC5SGJQ.js} +2 -2
  42. package/dist/cli/{chunk-DARD7TJ7.js → chunk-HUIFUE4L.js} +53 -53
  43. package/dist/cli/{chunk-52MHE7B4.mjs → chunk-I62LJ7NU.mjs} +1 -1
  44. package/dist/cli/{chunk-BZY335JP.js → chunk-IEVXYHGJ.js} +5 -5
  45. package/dist/cli/{chunk-FQQAAR3Q.mjs → chunk-JCTTXLAZ.mjs} +1 -1
  46. package/dist/cli/{chunk-3KMGVOBM.mjs → chunk-JGZQBDYG.mjs} +4 -4
  47. package/dist/cli/{chunk-ZUAKRBZB.js → chunk-JMMNCJ7Z.js} +1 -1
  48. package/dist/cli/{chunk-UV6XCHOZ.mjs → chunk-JVEFMOY2.mjs} +1 -1
  49. package/dist/cli/{chunk-FNHUDCJE.js → chunk-K326BEVR.js} +10 -10
  50. package/dist/cli/{chunk-MD524MRB.mjs → chunk-KILRUAXF.mjs} +1 -1
  51. package/dist/cli/{chunk-XXY4E57R.mjs → chunk-LZL6V5M5.mjs} +2 -2
  52. package/dist/cli/{chunk-GMYDVW7Z.js → chunk-MCXPJYBN.js} +3 -3
  53. package/dist/cli/{chunk-VE6FHVXZ.mjs → chunk-MHTRYBXY.mjs} +78 -1
  54. package/dist/cli/{chunk-ISUUSSS4.js → chunk-MT3WG3KR.js} +16 -16
  55. package/dist/cli/{chunk-37SXIFIU.js → chunk-MZROKQV3.js} +44 -44
  56. package/dist/cli/{chunk-4MF44THR.js → chunk-N5MLEXZ7.js} +50 -8
  57. package/dist/cli/{chunk-XR6TN5DT.mjs → chunk-NWTMQGPP.mjs} +6 -6
  58. package/dist/cli/{chunk-Y3LDRCMB.mjs → chunk-PCORO245.mjs} +2 -2
  59. package/dist/cli/{chunk-534YYHIF.js → chunk-PESMXAUG.js} +6 -6
  60. package/dist/cli/{chunk-RDJTCW3I.mjs → chunk-QMBL5ZIQ.mjs} +3 -3
  61. package/dist/cli/{chunk-LFSOBW7E.mjs → chunk-QOO5W5XS.mjs} +22 -10
  62. package/dist/cli/{chunk-ZZ7U4YJS.mjs → chunk-QSAC3IVI.mjs} +1 -1
  63. package/dist/cli/{chunk-HYR34KFA.js → chunk-QYXIODWH.js} +78 -1
  64. package/dist/cli/{chunk-BONXEWYF.mjs → chunk-RKREB7MU.mjs} +3 -3
  65. package/dist/cli/{chunk-KMBF3N2Z.js → chunk-RQN4PHRE.js} +16 -16
  66. package/dist/cli/{chunk-XT25FX6T.js → chunk-S4YKRH3W.js} +3 -3
  67. package/dist/cli/{chunk-F5D623KO.js → chunk-SBGKKOCC.js} +26 -26
  68. package/dist/cli/{chunk-5477PEHL.mjs → chunk-SXTVJIGB.mjs} +1 -1
  69. package/dist/cli/{chunk-7J5PLHII.mjs → chunk-U6DLLV3S.mjs} +1 -1
  70. package/dist/cli/{chunk-ENWJFUWK.mjs → chunk-UH3EAFFN.mjs} +2 -2
  71. package/dist/cli/{chunk-DLDWAPA5.js → chunk-UQN4VTZL.js} +4 -4
  72. package/dist/cli/{chunk-DRDZBRXV.js → chunk-V46J3UTM.js} +7 -7
  73. package/dist/cli/{chunk-5BQPEHEP.js → chunk-WGVJA4I5.js} +14 -14
  74. package/dist/cli/{chunk-SFMCKB57.mjs → chunk-WVQOXYTQ.mjs} +44 -2
  75. package/dist/cli/{chunk-VIM6I7RC.js → chunk-XVXEARHC.js} +41 -41
  76. package/dist/cli/{chunk-6SJPZV5E.js → chunk-XYL26236.js} +2 -2
  77. package/dist/cli/{chunk-ZZLZCO6Y.js → chunk-ZWN4RXC2.js} +22 -22
  78. package/dist/cli/command-docs.js +2 -2
  79. package/dist/cli/command-docs.mjs +1 -1
  80. package/dist/cli/{csv-3HIE4VCO.js → csv-UBACJK75.js} +13 -13
  81. package/dist/cli/{csv-PE35WGRO.mjs → csv-YFJ2JLUP.mjs} +4 -4
  82. package/dist/cli/{db-O2YRTTDO.js → db-2ZPA2LZ7.js} +27 -27
  83. package/dist/cli/{db-L7ZMMQKW.mjs → db-NKGYTAQO.mjs} +6 -6
  84. package/dist/cli/{describe-NI324Y2M.mjs → describe-GX7DRKWZ.mjs} +18 -18
  85. package/dist/cli/describe-WQZF7MEG.js +50 -0
  86. package/dist/cli/describe-core.d.mts +3 -3
  87. package/dist/cli/describe-core.d.ts +3 -3
  88. package/dist/cli/{executions-T6KU2OKK.mjs → executions-HTHQ7KKD.mjs} +6 -6
  89. package/dist/cli/{executions-VH4DKLFI.js → executions-NXMRGPIL.js} +8 -8
  90. package/dist/cli/{feedback-ZLC6G5OK.js → feedback-TGVQACRO.js} +10 -10
  91. package/dist/cli/{feedback-SCSJC3FX.mjs → feedback-USP4T34P.mjs} +5 -5
  92. package/dist/cli/{git-I4LVQCID.mjs → git-KUONEHCD.mjs} +5 -5
  93. package/dist/cli/git-X3SCQREB.js +25 -0
  94. package/dist/cli/index.js +145 -145
  95. package/dist/cli/index.mjs +44 -44
  96. package/dist/cli/{legacy-noops-UPFWEHPG.js → legacy-noops-2JY3CQ24.js} +9 -9
  97. package/dist/cli/{legacy-noops-44FQ2256.mjs → legacy-noops-B2GMHU42.mjs} +6 -6
  98. package/dist/cli/{monitors-LMSASWXE.mjs → monitors-2OVBZJ6Z.mjs} +7 -7
  99. package/dist/cli/{monitors-JN6IQGK6.js → monitors-XI6I52AX.js} +100 -100
  100. package/dist/cli/{org-F7O3ZU5O.js → org-5TUQ2H6Y.js} +235 -72
  101. package/dist/cli/{org-QYLVEE7A.mjs → org-BNJW764Y.mjs} +169 -6
  102. package/dist/cli/{pages-5XE4LBZN.mjs → pages-QC3TQIPW.mjs} +6 -6
  103. package/dist/cli/{pages-KEL3Y4L4.js → pages-UXCLX53Y.js} +18 -18
  104. package/dist/cli/{play-MWQG3G32.mjs → play-45PPG5SZ.mjs} +18 -18
  105. package/dist/cli/{play-OURHH6KV.js → play-KRWMZ7FG.js} +317 -317
  106. package/dist/cli/{providers-IQY7LUBB.mjs → providers-JDT35MRL.mjs} +6 -6
  107. package/dist/cli/{providers-ZCBWPE3C.js → providers-RBUJ72Y3.js} +9 -9
  108. package/dist/cli/{quickstart-L45NGRMI.mjs → quickstart-GD2SWGAC.mjs} +4 -4
  109. package/dist/cli/{quickstart-O53OXTN6.js → quickstart-JZ4Q3HFT.js} +6 -6
  110. package/dist/cli/{run-W745Z3Z5.js → run-JEAHA367.js} +41 -41
  111. package/dist/cli/{run-VCSIWLEU.mjs → run-KIZ3HBI2.mjs} +23 -23
  112. package/dist/cli/{search-THELKULN.mjs → search-5UFNXHFK.mjs} +8 -8
  113. package/dist/cli/search-6JULJMD7.js +33 -0
  114. package/dist/cli/{search-output-N7MJLYYD.mjs → search-output-HAXPKQO6.mjs} +4 -4
  115. package/dist/cli/{search-output-SJW7LEOM.js → search-output-W3RDSVLE.js} +6 -6
  116. package/dist/cli/{secrets-44ST3FJH.mjs → secrets-JAWT66B2.mjs} +6 -6
  117. package/dist/cli/{secrets-GDXPX3KB.js → secrets-PC7C2Q32.js} +15 -15
  118. package/dist/cli/{sessions-LYCBI77S.mjs → sessions-325V7G35.mjs} +6 -6
  119. package/dist/cli/sessions-WFUCOJHZ.js +18 -0
  120. package/dist/cli/{settings-GXPDMJFG.mjs → settings-FKHTA65P.mjs} +13 -13
  121. package/dist/cli/{settings-3WOFF642.js → settings-RGU6Y2QR.js} +86 -86
  122. package/dist/cli/{setup-YM6JEB64.mjs → setup-43GOYTFC.mjs} +10 -10
  123. package/dist/cli/{setup-YHLMBJP4.js → setup-ZMZ7HU2I.js} +50 -50
  124. package/dist/cli/skills-3XTQ6FFM.js +37 -0
  125. package/dist/cli/{skills-WX4XWEAT.mjs → skills-Q2VAHSXM.mjs} +8 -8
  126. package/dist/cli/{tools-K24VSQ7S.mjs → tools-BUH7ZWDS.mjs} +17 -17
  127. package/dist/cli/tools-UK2R4YXQ.js +57 -0
  128. package/dist/cli/{update-PSSCF5AT.mjs → update-JFALWOHD.mjs} +10 -10
  129. package/dist/cli/update-LNKPHS54.js +35 -0
  130. package/dist/cli/{workflow-DGOPYATO.mjs → workflow-ISJKLY6X.mjs} +7 -7
  131. package/dist/cli/{workflow-FPVI3NIA.js → workflow-YELST32A.js} +17 -17
  132. package/dist/{client-DA71-2_u.d.mts → client-C2N7MofG.d.mts} +1 -1
  133. package/dist/{client-B-2Am2y6.d.ts → client-C7lTRJjw.d.ts} +1 -1
  134. package/dist/{client-core-BXbds1cb.d.mts → client-core-BTkDSKGn.d.mts} +79 -2
  135. package/dist/{client-core-C0IzDKMJ.d.ts → client-core-hmhBi7Ib.d.ts} +79 -2
  136. package/dist/{compiler-manifest-B4mIIbw7.d.mts → compiler-manifest-DsxsQP-T.d.mts} +14 -7
  137. package/dist/{compiler-manifest-B4mIIbw7.d.ts → compiler-manifest-DsxsQP-T.d.ts} +14 -7
  138. package/dist/{errors-Gj9i5Rkd.d.ts → errors-Bk5h1D-C.d.ts} +1 -1
  139. package/dist/{errors-C2F4qzAq.d.mts → errors-qdJUVQ3g.d.mts} +1 -1
  140. package/dist/{index-5JZBufdF.d.mts → index-PaupwX1B.d.mts} +1 -1
  141. package/dist/{index-BXtSj8bv.d.ts → index-bL66eHYz.d.ts} +1 -1
  142. package/dist/index.d.mts +7 -7
  143. package/dist/index.d.ts +7 -7
  144. package/dist/index.js +9 -9
  145. package/dist/index.mjs +6 -6
  146. package/dist/install-integrity.json +117 -116
  147. package/dist/plays/bundle-play-file.d.mts +3 -3
  148. package/dist/plays/bundle-play-file.d.ts +3 -3
  149. package/dist/plays/bundle-play-file.mjs +7 -5
  150. package/dist/plays/play-description.d.mts +2 -2
  151. package/dist/plays/play-description.d.ts +2 -2
  152. package/dist/plays/run-request.d.mts +2 -2
  153. package/dist/plays/run-request.d.ts +2 -2
  154. package/dist/release.d.mts +1 -1
  155. package/dist/release.d.ts +1 -1
  156. package/dist/release.js +2 -2
  157. package/dist/release.mjs +1 -1
  158. package/dist/server.d.mts +4 -4
  159. package/dist/server.d.ts +4 -4
  160. package/dist/server.js +5 -5
  161. package/dist/server.mjs +3 -3
  162. package/package.json +1 -1
  163. package/dist/cli/auth-JSES2JOQ.js +0 -43
  164. package/dist/cli/describe-EB336DAO.js +0 -50
  165. package/dist/cli/git-23T7TXAH.js +0 -25
  166. package/dist/cli/search-R6K7ZAMU.js +0 -33
  167. package/dist/cli/sessions-2V5ZFOWL.js +0 -18
  168. package/dist/cli/skills-XNGADDO6.js +0 -37
  169. package/dist/cli/tools-ROUMCB7B.js +0 -57
  170. package/dist/cli/update-RXURGIRW.js +0 -35
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk4MF44THRjs = require('./chunk-4MF44THR.js');
3
+ var _chunkN5MLEXZ7js = require('./chunk-N5MLEXZ7.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
7
+ var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk4MF44THRjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkN5MLEXZ7js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkGMYDVW7Zjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkGMYDVW7Zjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkMCXPJYBNjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkMCXPJYBNjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunk7JEN3FX4js = require('./chunk-7JEN3FX4.js');
6
+ var _chunk36LQQL5Cjs = require('./chunk-36LQQL5C.js');
7
7
 
8
8
 
9
- var _chunk5BQPEHEPjs = require('./chunk-5BQPEHEP.js');
9
+ var _chunkWGVJA4I5js = require('./chunk-WGVJA4I5.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
13
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
17
+ var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkGMYDVW7Zjs.sdkCliStateDirPath.call(void 0, _chunkGMYDVW7Zjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkMCXPJYBNjs.sdkCliStateDirPath.call(void 0, _chunkMCXPJYBNjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunk7JEN3FX4js.DeeplineClient)();
137
+ const client = new (0, _chunk36LQQL5Cjs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-SJW7LEOM.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-W3RDSVLE.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunkDRDZBRXVjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunk5BQPEHEPjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunkV46J3UTMjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkWGVJA4I5js.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
189
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-ZZ7U4YJS.mjs";
3
+ } from "./chunk-QSAC3IVI.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-XXY4E57R.mjs";
6
+ } from "./chunk-LZL6V5M5.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-5477PEHL.mjs";
17
+ } from "./chunk-SXTVJIGB.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-FQQAAR3Q.mjs";
24
+ } from "./chunk-JCTTXLAZ.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-UV6XCHOZ.mjs";
27
+ } from "./chunk-JVEFMOY2.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-G65FJ5JX.mjs";
6
+ } from "./chunk-7M5FRSFP.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-XXY4E57R.mjs";
9
+ } from "./chunk-LZL6V5M5.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-4TUMKJZX.mjs";
13
+ } from "./chunk-6DBRBWHC.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-5477PEHL.mjs";
17
+ } from "./chunk-SXTVJIGB.mjs";
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  import { Option } from "commander";
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
136
  }
137
137
  const client = new DeeplineClient();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-N7MJLYYD.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-HAXPKQO6.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-5477PEHL.mjs";
5
+ } from "./chunk-SXTVJIGB.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-FQQAAR3Q.mjs";
8
+ } from "./chunk-JCTTXLAZ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  readToolUpstreamResponse,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-RKE5YTHY.mjs";
3
+ } from "./chunk-4V63IJCL.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -8,7 +8,7 @@ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
11
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
249
249
  const logicalValue = parseSerializedDatasetValue(value);
250
250
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
251
251
  if (typeof logicalValue === "object") {
252
- return _chunkDRDZBRXVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunkV46J3UTMjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
253
  }
254
254
  return logicalValue;
255
255
  }
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
641
641
  rows: rows.map((row) => record(row) ? row : { value: row }),
642
642
  columns
643
643
  });
644
- return _chunkDRDZBRXVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunkV46J3UTMjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
645
  }
646
646
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
647
647
  let temp;
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
768
768
  };
769
769
  if (options.receiptOut && !skipReceiptFile) {
770
770
  persist(options.receiptOut, jsonText(receipt));
771
- _chunkDRDZBRXVjs.markJsonOutputHandled.call(void 0, );
771
+ _chunkV46J3UTMjs.markJsonOutputHandled.call(void 0, );
772
772
  } else {
773
773
  printReceipt(receipt, options, {
774
774
  data: hasData ? result.data : void 0,
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
1029
  if (options.receiptOut !== void 0) {
1030
- _chunkDRDZBRXVjs.writeRawStderr.call(void 0, text);
1031
- _chunkDRDZBRXVjs.markJsonOutputHandled.call(void 0, );
1030
+ _chunkV46J3UTMjs.writeRawStderr.call(void 0, text);
1031
+ _chunkV46J3UTMjs.markJsonOutputHandled.call(void 0, );
1032
1032
  } else {
1033
1033
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1034
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-SFMCKB57.mjs";
3
+ } from "./chunk-WVQOXYTQ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-5477PEHL.mjs";
7
+ } from "./chunk-SXTVJIGB.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-CFXERH7F.mjs";
4
+ } from "./chunk-6OZ2WSHD.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-3KMGVOBM.mjs";
7
+ } from "./chunk-JGZQBDYG.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-RKE5YTHY.mjs";
10
+ } from "./chunk-4V63IJCL.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-4TUMKJZX.mjs";
13
+ } from "./chunk-6DBRBWHC.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-5477PEHL.mjs";
16
+ } from "./chunk-SXTVJIGB.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-52MHE7B4.mjs";
3
+ } from "./chunk-I62LJ7NU.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-RKE5YTHY.mjs";
8
+ } from "./chunk-4V63IJCL.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
3
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
60
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-PDLRUZ42.mjs";
7
+ } from "./chunk-DNXP3D5H.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-RKE5YTHY.mjs";
11
+ } from "./chunk-4V63IJCL.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-4TUMKJZX.mjs";
15
+ } from "./chunk-6DBRBWHC.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-5477PEHL.mjs";
18
+ } from "./chunk-SXTVJIGB.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-FQQAAR3Q.mjs";
21
+ } from "./chunk-JCTTXLAZ.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4TUMKJZX.mjs";
5
+ } from "./chunk-6DBRBWHC.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-5477PEHL.mjs";
8
+ } from "./chunk-SXTVJIGB.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -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(); } }
2
2
 
3
- var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
3
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkDRDZBRXVjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkV46J3UTMjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {