deepline 0.3.443 → 0.3.445

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +27 -6
  3. package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +153 -31
  4. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +32 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +9 -2
  6. package/dist/cli/{auth-CP2CAI7J.mjs → auth-QNWYRLML.mjs} +4 -4
  7. package/dist/cli/auth-ZA4FRBSX.js +40 -0
  8. package/dist/cli/{billing-JYSP3C76.js → billing-3HFPC32I.js} +73 -73
  9. package/dist/cli/{billing-N36FL3GI.mjs → billing-ULHQPQ2L.mjs} +4 -4
  10. package/dist/cli/{chunk-Y45RAHEA.mjs → chunk-2L2D2SXH.mjs} +2 -2
  11. package/dist/cli/{chunk-6NUGMJQA.mjs → chunk-3OBHZADJ.mjs} +1 -1
  12. package/dist/cli/{chunk-WOUFCLTM.mjs → chunk-3SELRVWB.mjs} +5 -5
  13. package/dist/cli/{chunk-EWXXWSQM.js → chunk-5JJ6JYTL.js} +6 -6
  14. package/dist/cli/{chunk-XIJL6UMV.js → chunk-6DQTJ3DY.js} +35 -35
  15. package/dist/cli/{chunk-DOKTNYMQ.mjs → chunk-6LVOC2HD.mjs} +1 -1
  16. package/dist/cli/{chunk-CGZ2KKPM.js → chunk-732QWWPG.js} +10 -10
  17. package/dist/cli/{chunk-MRW6XPDH.mjs → chunk-BEI6ZL6E.mjs} +1 -1
  18. package/dist/cli/{chunk-MZLZNISS.mjs → chunk-C54S4QPU.mjs} +2 -2
  19. package/dist/cli/{chunk-OSYT3QQD.js → chunk-COCZROBN.js} +26 -26
  20. package/dist/cli/{chunk-KZ2VAXB6.js → chunk-CQ3ZZ3RL.js} +16 -16
  21. package/dist/cli/{chunk-DPEPHLAF.mjs → chunk-E5JZH6CI.mjs} +1 -1
  22. package/dist/cli/{chunk-MWUTMJCU.js → chunk-EI2NN6HP.js} +1 -1
  23. package/dist/cli/{chunk-GVPHPLAX.mjs → chunk-FB7VBDA3.mjs} +3 -3
  24. package/dist/cli/{chunk-ZXJQ26QG.js → chunk-FC7LS3Y5.js} +50 -50
  25. package/dist/cli/{chunk-KJH4C2IJ.js → chunk-GGMJ2VTZ.js} +81 -81
  26. package/dist/cli/{chunk-YV6N4BF2.js → chunk-H6HZMADG.js} +52 -52
  27. package/dist/cli/{chunk-75VUSWF3.js → chunk-HFXG7GGH.js} +6 -6
  28. package/dist/cli/{chunk-FU7ELMKS.mjs → chunk-IXJN2NLA.mjs} +1 -1
  29. package/dist/cli/{chunk-HHOJXBQQ.mjs → chunk-LBZUIZKQ.mjs} +2 -2
  30. package/dist/cli/{chunk-LVM7CSAH.js → chunk-MMMA4OLB.js} +8 -8
  31. package/dist/cli/{chunk-L3CW2G7L.mjs → chunk-NHWNFLFK.mjs} +2 -2
  32. package/dist/cli/{chunk-757V3FDW.js → chunk-OAVHRVPA.js} +2 -2
  33. package/dist/cli/{chunk-MQYBXB2J.mjs → chunk-SAN2HUYZ.mjs} +8 -8
  34. package/dist/cli/{chunk-B6AWQQK6.mjs → chunk-SSRKG7I5.mjs} +3 -3
  35. package/dist/cli/{chunk-VXGLDGOF.mjs → chunk-T7SLOS2J.mjs} +4 -4
  36. package/dist/cli/{chunk-PXXIBSBG.js → chunk-TABMEHIP.js} +4 -4
  37. package/dist/cli/{chunk-K4ELTQAT.js → chunk-THZL4XHV.js} +8 -8
  38. package/dist/cli/{chunk-6RKZVPFA.js → chunk-TX6F2BB6.js} +2 -2
  39. package/dist/cli/{chunk-BE2GX674.js → chunk-V247SCRQ.js} +20 -20
  40. package/dist/cli/{chunk-FRZLWUM6.mjs → chunk-YXY6FCRU.mjs} +3 -3
  41. package/dist/cli/{chunk-4A45A2MH.mjs → chunk-ZRWX23RQ.mjs} +1 -1
  42. package/dist/cli/{csv-ZQFVZ4R3.js → csv-NAATVV3O.js} +12 -12
  43. package/dist/cli/{csv-Z53PJEPZ.mjs → csv-QXMJNWPE.mjs} +3 -3
  44. package/dist/cli/{db-4CNIBR5P.mjs → db-2ADNWVDN.mjs} +4 -4
  45. package/dist/cli/{db-OHBRQL2N.js → db-IB426AKH.js} +25 -25
  46. package/dist/cli/{describe-AEM7SYXF.js → describe-6T2HEQ2V.js} +16 -16
  47. package/dist/cli/{describe-GAR4MEGX.mjs → describe-UM4PAI2I.mjs} +12 -12
  48. package/dist/cli/{executions-CST4IDL3.js → executions-3WVCUBHH.js} +6 -6
  49. package/dist/cli/{executions-YBZPFAD6.mjs → executions-4NCMXHDI.mjs} +4 -4
  50. package/dist/cli/{feedback-MEJZGB4C.js → feedback-C4IBRZKH.js} +7 -7
  51. package/dist/cli/{feedback-FHJE6YDU.mjs → feedback-OKLN3VLD.mjs} +3 -3
  52. package/dist/cli/{git-FIGXIUM5.mjs → git-A6XP6LIW.mjs} +4 -4
  53. package/dist/cli/git-RRZOWDCN.js +24 -0
  54. package/dist/cli/index.js +131 -131
  55. package/dist/cli/index.mjs +36 -36
  56. package/dist/cli/{legacy-noops-BE3VVOYG.js → legacy-noops-ALY2PBIT.js} +7 -7
  57. package/dist/cli/{legacy-noops-AXHAIAMH.mjs → legacy-noops-LCQXCYQY.mjs} +4 -4
  58. package/dist/cli/{monitors-5OTJUY43.js → monitors-5C6PSVAT.js} +84 -84
  59. package/dist/cli/{monitors-YTWELXP7.mjs → monitors-T3YN2RYD.mjs} +4 -4
  60. package/dist/cli/{org-Y5DMTECB.js → org-4V76A3LD.js} +66 -66
  61. package/dist/cli/{org-WCKS4ZDK.mjs → org-7WLA42NC.mjs} +4 -4
  62. package/dist/cli/{play-B6Y6ZCPV.js → play-UT3TLBM6.js} +283 -283
  63. package/dist/cli/{play-UYAZYXHV.mjs → play-WRHGX3WB.mjs} +10 -10
  64. package/dist/cli/{providers-IZVVGFAO.mjs → providers-UA2DJLBP.mjs} +4 -4
  65. package/dist/cli/{providers-U7BLFNT4.js → providers-ZR4SRGJF.js} +7 -7
  66. package/dist/cli/{quickstart-BY7N6GXZ.mjs → quickstart-IT46STSN.mjs} +3 -3
  67. package/dist/cli/{quickstart-MTNOTGIH.js → quickstart-QN5FXZWS.js} +5 -5
  68. package/dist/cli/search-INZD56I2.js +30 -0
  69. package/dist/cli/{search-SJXJKATQ.mjs → search-QKK5SGMV.mjs} +5 -5
  70. package/dist/cli/{secrets-C2FN2YMO.js → secrets-FX3IVBUP.js} +13 -13
  71. package/dist/cli/{secrets-IA6JBZEF.mjs → secrets-GWXM2FH4.mjs} +4 -4
  72. package/dist/cli/{sessions-MNK7ZR2Y.mjs → sessions-FDZ24XY4.mjs} +4 -4
  73. package/dist/cli/{sessions-HGJQTLZP.js → sessions-G6LCRYTC.js} +5 -5
  74. package/dist/cli/{settings-MRMSITAL.js → settings-6W42BCZE.js} +75 -75
  75. package/dist/cli/{settings-7UBMCVFK.mjs → settings-77ODFZUE.mjs} +8 -8
  76. package/dist/cli/{setup-MD4F55X4.mjs → setup-5OBB5UGB.mjs} +7 -7
  77. package/dist/cli/{setup-UX7KNUOW.js → setup-T3FF5IRN.js} +42 -42
  78. package/dist/cli/{skills-W7SAJDG6.mjs → skills-ADG7CBUP.mjs} +5 -5
  79. package/dist/cli/skills-ALCERVAB.js +29 -0
  80. package/dist/cli/tools-FNWIMNNK.js +44 -0
  81. package/dist/cli/{tools-VAWJLJAK.mjs → tools-OBZRYZ7K.mjs} +12 -12
  82. package/dist/cli/update-N7I4MXRK.js +31 -0
  83. package/dist/cli/{update-B2UOERFE.mjs → update-ODKOYFCA.mjs} +7 -7
  84. package/dist/cli/{workflow-3BYE3YFQ.mjs → workflow-RGKEVZSP.mjs} +5 -5
  85. package/dist/cli/{workflow-K2YJNF64.js → workflow-TBLNAOXJ.js} +15 -15
  86. package/dist/index.js +6 -6
  87. package/dist/index.mjs +3 -3
  88. package/dist/install-integrity.json +78 -78
  89. package/dist/release.d.mts +1 -1
  90. package/dist/release.d.ts +1 -1
  91. package/dist/release.js +2 -2
  92. package/dist/release.mjs +1 -1
  93. package/package.json +1 -1
  94. package/dist/cli/auth-AZVWLMZN.js +0 -40
  95. package/dist/cli/git-PANOVLJC.js +0 -24
  96. package/dist/cli/search-W7VXB4YP.js +0 -30
  97. package/dist/cli/skills-ZY4KFM33.js +0 -29
  98. package/dist/cli/tools-6G4PXAZ3.js +0 -44
  99. package/dist/cli/update-3D4R5FW6.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 _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
4
+ var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
5
5
 
6
6
 
7
- var _chunkPXXIBSBGjs = require('./chunk-PXXIBSBG.js');
7
+ var _chunkTABMEHIPjs = require('./chunk-TABMEHIP.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 = _chunkPXXIBSBGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkTABMEHIPjs.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 } = _chunkEWXXWSQMjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk5JJ6JYTLjs.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
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
487
+ _chunk5JJ6JYTLjs.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
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
519
+ _chunk5JJ6JYTLjs.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
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
569
+ _chunk5JJ6JYTLjs.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
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
677
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkYV6N4BF2js = require('./chunk-YV6N4BF2.js');
3
+ var _chunkH6HZMADGjs = require('./chunk-H6HZMADG.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkYV6N4BF2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkH6HZMADGjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkKZ2VAXB6js = require('./chunk-KZ2VAXB6.js');
7
+ var _chunkCQ3ZZ3RLjs = require('./chunk-CQ3ZZ3RL.js');
8
8
 
9
9
 
10
- var _chunkYV6N4BF2js = require('./chunk-YV6N4BF2.js');
10
+ var _chunkH6HZMADGjs = require('./chunk-H6HZMADG.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
14
+ var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkPXXIBSBGjs = require('./chunk-PXXIBSBG.js');
18
+ var _chunkTABMEHIPjs = require('./chunk-TABMEHIP.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunkPXXIBSBGjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkTABMEHIPjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunkPXXIBSBGjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkTABMEHIPjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkPXXIBSBGjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkPXXIBSBGjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkTABMEHIPjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkTABMEHIPjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkPXXIBSBGjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkTABMEHIPjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkKZ2VAXB6js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkYV6N4BF2js.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkCQ3ZZ3RLjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkH6HZMADGjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkPXXIBSBGjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkTABMEHIPjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkKZ2VAXB6js.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkCQ3ZZ3RLjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkPXXIBSBGjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkTABMEHIPjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunkKZ2VAXB6js.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkCQ3ZZ3RLjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkKZ2VAXB6js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkCQ3ZZ3RLjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkEWXXWSQMjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunk5JJ6JYTLjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkEWXXWSQMjs.addJsonNotice.call(void 0, {
169
+ _chunk5JJ6JYTLjs.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunkKZ2VAXB6js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkCQ3ZZ3RLjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunkKZ2VAXB6js.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkCQ3ZZ3RLjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkEWXXWSQMjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunk5JJ6JYTLjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-6NUGMJQA.mjs";
3
+ } from "./chunk-3OBHZADJ.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -17,13 +17,13 @@ import {
17
17
  sdkCliStateDirPath,
18
18
  skillsAgentPathSegment,
19
19
  writeSdkSkillsLocalVersion
20
- } from "./chunk-4A45A2MH.mjs";
20
+ } from "./chunk-ZRWX23RQ.mjs";
21
21
  import {
22
22
  DeeplineError
23
23
  } from "./chunk-HBL4PM5Q.mjs";
24
24
  import {
25
25
  SDK_RELEASE
26
- } from "./chunk-DOKTNYMQ.mjs";
26
+ } from "./chunk-6LVOC2HD.mjs";
27
27
 
28
28
  // src/compat.ts
29
29
  import { randomUUID } from "crypto";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-HBL4PM5Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-DOKTNYMQ.mjs";
20
+ } from "./chunk-6LVOC2HD.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
8
- require('./chunk-PXXIBSBG.js');
7
+ var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
8
+ require('./chunk-TABMEHIP.js');
9
9
  require('./chunk-ALJJRZNJ.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-DIAWYWT5.js');
12
- require('./chunk-MWUTMJCU.js');
12
+ require('./chunk-EI2NN6HP.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunkEWXXWSQMjs.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunk5JJ6JYTLjs.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunkEWXXWSQMjs.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunk5JJ6JYTLjs.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunkEWXXWSQMjs.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunk5JJ6JYTLjs.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunkEWXXWSQMjs.printJson.call(void 0, {
173
+ _chunk5JJ6JYTLjs.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunkEWXXWSQMjs.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunk5JJ6JYTLjs.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunkEWXXWSQMjs.printJson.call(void 0, {
197
+ _chunk5JJ6JYTLjs.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunkEWXXWSQMjs.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunk5JJ6JYTLjs.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0, payload, {
491
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-6NUGMJQA.mjs";
8
- import "./chunk-4A45A2MH.mjs";
7
+ } from "./chunk-3OBHZADJ.mjs";
8
+ import "./chunk-ZRWX23RQ.mjs";
9
9
  import "./chunk-4QF2K7TM.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-HBL4PM5Q.mjs";
12
- import "./chunk-DOKTNYMQ.mjs";
12
+ import "./chunk-6LVOC2HD.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-MRW6XPDH.mjs";
7
+ } from "./chunk-BEI6ZL6E.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-FAG4DFUC.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-6NUGMJQA.mjs";
22
- import "./chunk-4A45A2MH.mjs";
21
+ } from "./chunk-3OBHZADJ.mjs";
22
+ import "./chunk-ZRWX23RQ.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-4QF2K7TM.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-HBL4PM5Q.mjs";
30
- import "./chunk-DOKTNYMQ.mjs";
30
+ import "./chunk-6LVOC2HD.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33
 
@@ -4,7 +4,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCGZ2KKPMjs = require('./chunk-CGZ2KKPM.js');
7
+ var _chunk732QWWPGjs = require('./chunk-732QWWPG.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-JKVRBCZL.js');
10
10
  require('./chunk-KXMNM4AQ.js');
@@ -18,8 +18,8 @@ require('./chunk-XDVT3GOM.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
22
- require('./chunk-PXXIBSBG.js');
21
+ var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
22
+ require('./chunk-TABMEHIP.js');
23
23
 
24
24
 
25
25
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -27,7 +27,7 @@ require('./chunk-XNYIZMNQ.js');
27
27
 
28
28
 
29
29
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
30
- require('./chunk-MWUTMJCU.js');
30
+ require('./chunk-EI2NN6HP.js');
31
31
  require('./chunk-OG64RBAC.js');
32
32
  require('./chunk-COGTRVWW.js');
33
33
 
@@ -50,8 +50,8 @@ function formatCell(value) {
50
50
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
51
51
  }
52
52
  function tableLines(result) {
53
- const rows = _chunkEWXXWSQMjs.dataExportRows.call(void 0, customerDbRows(result));
54
- const responseColumns = _chunkEWXXWSQMjs.dataExportColumns.call(void 0,
53
+ const rows = _chunk5JJ6JYTLjs.dataExportRows.call(void 0, customerDbRows(result));
54
+ const responseColumns = _chunk5JJ6JYTLjs.dataExportColumns.call(void 0,
55
55
  rows,
56
56
  customerDbColumnNames(result)
57
57
  );
@@ -97,7 +97,7 @@ function tableLines(result) {
97
97
  return lines;
98
98
  }
99
99
  function customerDbRows(result) {
100
- return _chunkEWXXWSQMjs.recordRows.call(void 0, result.rows);
100
+ return _chunk5JJ6JYTLjs.recordRows.call(void 0, result.rows);
101
101
  }
102
102
  function customerDbColumnNames(result) {
103
103
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -150,7 +150,7 @@ function writeCustomerDbCsv(result, outPath) {
150
150
  const resolved = _path.resolve.call(void 0, outPath);
151
151
  _fs.writeFileSync.call(void 0,
152
152
  resolved,
153
- _chunkEWXXWSQMjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
153
+ _chunk5JJ6JYTLjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
154
154
  "utf-8"
155
155
  );
156
156
  return resolved;
@@ -191,7 +191,7 @@ function dbQueryExportEnvelope(input) {
191
191
  function renderDbQueryResult(result, query, options) {
192
192
  const { sql, maxRows, operationKey } = query;
193
193
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
194
- const jsonOutput = explicitJsonOutput || _chunkEWXXWSQMjs.shouldEmitJson.call(void 0, );
194
+ const jsonOutput = explicitJsonOutput || _chunk5JJ6JYTLjs.shouldEmitJson.call(void 0, );
195
195
  const toolPayload = JSON.stringify({
196
196
  sql,
197
197
  result_mode: "rows",
@@ -202,7 +202,7 @@ function renderDbQueryResult(result, query, options) {
202
202
  if (format === "csv") {
203
203
  if (outPath) {
204
204
  const exportedPath = writeCustomerDbCsv(result, outPath);
205
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
205
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
206
206
  dbQueryExportEnvelope({
207
207
  result,
208
208
  format,
@@ -218,7 +218,7 @@ function renderDbQueryResult(result, query, options) {
218
218
  );
219
219
  return;
220
220
  }
221
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
221
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
222
222
  dbQueryExportEnvelope({
223
223
  result,
224
224
  format,
@@ -228,7 +228,7 @@ function renderDbQueryResult(result, query, options) {
228
228
  }),
229
229
  {
230
230
  json: explicitJsonOutput,
231
- text: _chunkEWXXWSQMjs.dataExportCsvString.call(void 0,
231
+ text: _chunk5JJ6JYTLjs.dataExportCsvString.call(void 0,
232
232
  customerDbRows(result),
233
233
  customerDbColumnNames(result)
234
234
  )
@@ -237,14 +237,14 @@ function renderDbQueryResult(result, query, options) {
237
237
  return;
238
238
  }
239
239
  if (format === "markdown") {
240
- const content = _chunkEWXXWSQMjs.markdownTableFromRows.call(void 0,
240
+ const content = _chunk5JJ6JYTLjs.markdownTableFromRows.call(void 0,
241
241
  customerDbRows(result),
242
242
  customerDbColumnNames(result)
243
243
  );
244
244
  if (outPath) {
245
245
  const exportedPath = _path.resolve.call(void 0, outPath);
246
246
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
247
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
247
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
248
248
  dbQueryExportEnvelope({
249
249
  result,
250
250
  format,
@@ -260,7 +260,7 @@ function renderDbQueryResult(result, query, options) {
260
260
  );
261
261
  return;
262
262
  }
263
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
263
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
264
264
  dbQueryExportEnvelope({
265
265
  result,
266
266
  format,
@@ -275,7 +275,7 @@ function renderDbQueryResult(result, query, options) {
275
275
  );
276
276
  return;
277
277
  }
278
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
278
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
279
279
  {
280
280
  ...result,
281
281
  next: {
@@ -349,9 +349,9 @@ async function runDbQueryCommand(options) {
349
349
  ...maxRows === void 0 ? {} : { maxRows },
350
350
  ...operationKey === void 0 ? {} : { operationKey }
351
351
  };
352
- const plan = _chunkCGZ2KKPMjs.planCustomerDbQuery.call(void 0, query);
352
+ const plan = _chunk732QWWPGjs.planCustomerDbQuery.call(void 0, query);
353
353
  if (options.dryRun) {
354
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
354
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  dryRun: true,
357
357
  ...plan,
@@ -364,11 +364,11 @@ async function runDbQueryCommand(options) {
364
364
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
365
365
  }
366
366
  },
367
- { json: options.json || _chunkEWXXWSQMjs.shouldEmitJson.call(void 0, ) }
367
+ { json: options.json || _chunk5JJ6JYTLjs.shouldEmitJson.call(void 0, ) }
368
368
  );
369
369
  return 0;
370
370
  }
371
- const client = new (0, _chunkCGZ2KKPMjs.DeeplineClient)();
371
+ const client = new (0, _chunk732QWWPGjs.DeeplineClient)();
372
372
  const result = await client.db.query(query);
373
373
  renderDbQueryResult(result, query, {
374
374
  format,
@@ -377,8 +377,8 @@ async function runDbQueryCommand(options) {
377
377
  });
378
378
  return 0;
379
379
  } catch (error) {
380
- if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkEWXXWSQMjs.shouldEmitJson.call(void 0, ))) {
381
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
380
+ if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk5JJ6JYTLjs.shouldEmitJson.call(void 0, ))) {
381
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: false,
384
384
  error: {
@@ -426,8 +426,8 @@ function dbRepairPlainText(result) {
426
426
  async function handleDbRepair(args) {
427
427
  const providerIndex = args.indexOf("--provider");
428
428
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
429
- const jsonOutput = _chunkEWXXWSQMjs.argsWantJson.call(void 0, args);
430
- const client = new (0, _chunkCGZ2KKPMjs.DeeplineClient)();
429
+ const jsonOutput = _chunk5JJ6JYTLjs.argsWantJson.call(void 0, args);
430
+ const client = new (0, _chunk732QWWPGjs.DeeplineClient)();
431
431
  let result;
432
432
  try {
433
433
  result = await client.repairIngestionStorage(
@@ -443,7 +443,7 @@ async function handleDbRepair(args) {
443
443
  console.error(errorMessage2(error));
444
444
  return 1;
445
445
  }
446
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
446
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
447
447
  {
448
448
  command: "db repair",
449
449
  status: result.status,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkKJH4C2IJjs = require('./chunk-KJH4C2IJ.js');
3
+ var _chunkGGMJ2VTZjs = require('./chunk-GGMJ2VTZ.js');
4
4
 
5
5
 
6
6
  var _chunkPP66EATAjs = require('./chunk-PP66EATA.js');
7
- require('./chunk-LVM7CSAH.js');
7
+ require('./chunk-MMMA4OLB.js');
8
8
 
9
9
 
10
10
 
@@ -20,25 +20,25 @@ require('./chunk-HGFFYVXN.js');
20
20
  require('./chunk-NA4T3B62.js');
21
21
 
22
22
 
23
- var _chunkCGZ2KKPMjs = require('./chunk-CGZ2KKPM.js');
23
+ var _chunk732QWWPGjs = require('./chunk-732QWWPG.js');
24
24
  require('./chunk-E4CABWXL.js');
25
25
  require('./chunk-JKVRBCZL.js');
26
26
  require('./chunk-KXMNM4AQ.js');
27
27
  require('./chunk-XDVT3GOM.js');
28
- require('./chunk-BE2GX674.js');
29
- require('./chunk-KZ2VAXB6.js');
30
- require('./chunk-6RKZVPFA.js');
31
- require('./chunk-XIJL6UMV.js');
32
- require('./chunk-757V3FDW.js');
33
- require('./chunk-YV6N4BF2.js');
28
+ require('./chunk-V247SCRQ.js');
29
+ require('./chunk-CQ3ZZ3RL.js');
30
+ require('./chunk-TX6F2BB6.js');
31
+ require('./chunk-6DQTJ3DY.js');
32
+ require('./chunk-OAVHRVPA.js');
33
+ require('./chunk-H6HZMADG.js');
34
34
 
35
35
 
36
- var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
37
- require('./chunk-PXXIBSBG.js');
36
+ var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
37
+ require('./chunk-TABMEHIP.js');
38
38
  require('./chunk-ALJJRZNJ.js');
39
39
  require('./chunk-XNYIZMNQ.js');
40
40
  require('./chunk-DIAWYWT5.js');
41
- require('./chunk-MWUTMJCU.js');
41
+ require('./chunk-EI2NN6HP.js');
42
42
  require('./chunk-OG64RBAC.js');
43
43
  require('./chunk-COGTRVWW.js');
44
44
 
@@ -46,13 +46,13 @@ require('./chunk-COGTRVWW.js');
46
46
  var _fs = require('fs');
47
47
  var _path = require('path');
48
48
  async function describeAnything(name, options, onMissing) {
49
- const client = new (0, _chunkCGZ2KKPMjs.DeeplineClient)();
49
+ const client = new (0, _chunk732QWWPGjs.DeeplineClient)();
50
50
  const lookups = _chunkKNAKCMGJjs.describeLookupsFor.call(void 0, client);
51
51
  const outcome = await _chunkKNAKCMGJjs.describeName.call(void 0, name, options, {
52
52
  ...lookups,
53
53
  // `tools describe` has already fetched the tool for its compatibility check.
54
54
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
55
- seedStarterScript: _chunkKJH4C2IJjs.seedToolListScript
55
+ seedStarterScript: _chunkGGMJ2VTZjs.seedToolListScript
56
56
  });
57
57
  if (outcome.status === "missing") {
58
58
  if (onMissing) return onMissing();
@@ -79,14 +79,14 @@ function deliver(envelope, lines, { json, out }) {
79
79
  ` : text;
80
80
  _fs.writeFileSync.call(void 0, path, content);
81
81
  const bytes = Buffer.byteLength(content);
82
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
82
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
83
83
  { path, bytes },
84
84
  { json, text: `Wrote ${path} (${bytes} bytes)
85
85
  ` }
86
86
  );
87
87
  return 0;
88
88
  }
89
- _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0, envelope, { json, text });
89
+ _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0, envelope, { json, text });
90
90
  return 0;
91
91
  }
92
92
  function registerDescribeCommand(program) {