deepline 0.3.490 → 0.3.492

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 (146) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +6 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/types.ts +4 -1
  4. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +5 -3
  8. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +293 -110
  9. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +104 -2
  10. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +7 -2
  11. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +4 -0
  12. package/dist/bundling-sources/shared_libs/product-notifications/content.ts +13 -0
  13. package/dist/bundling-sources/shared_libs/product-notifications/email.ts +49 -10
  14. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +22 -0
  15. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +6 -1
  16. package/dist/cli/{auth-RL6LOZGC.mjs → auth-4I6QY5WX.mjs} +5 -5
  17. package/dist/cli/auth-7BCLZU6K.js +43 -0
  18. package/dist/cli/{billing-LIDDSOSY.js → billing-2H4GOJZY.js} +79 -79
  19. package/dist/cli/{billing-33THO76F.mjs → billing-4F6L4JSI.mjs} +6 -6
  20. package/dist/cli/{chunk-TVZJ6XWM.mjs → chunk-3BRDP4UP.mjs} +1 -1
  21. package/dist/cli/{chunk-FPYESYBO.js → chunk-3IBKEOL4.js} +4 -4
  22. package/dist/cli/{chunk-B7MPY7WH.js → chunk-3TISK5RQ.js} +6 -6
  23. package/dist/cli/{chunk-XSGJKXMP.js → chunk-42Z6VC2Q.js} +2 -2
  24. package/dist/cli/{chunk-2HYJU4LJ.mjs → chunk-4GJIJHRQ.mjs} +1 -1
  25. package/dist/cli/{chunk-63TNO23X.js → chunk-4RB74KJX.js} +10 -10
  26. package/dist/cli/{chunk-MBQZMHE6.mjs → chunk-6YO4OJPM.mjs} +4 -4
  27. package/dist/cli/{chunk-YYN2O43C.js → chunk-B2JE3HD6.js} +3 -3
  28. package/dist/cli/{chunk-Y2KHSQEF.js → chunk-BDUFZSUL.js} +8 -8
  29. package/dist/cli/{chunk-EPQZ42PY.js → chunk-DJOLMS2A.js} +1 -1
  30. package/dist/cli/{chunk-27IBWHR5.mjs → chunk-DVGCPOEA.mjs} +4 -4
  31. package/dist/cli/{chunk-PVMN4OE2.js → chunk-E47VAVAR.js} +5 -5
  32. package/dist/cli/{chunk-Z7W6VJFN.mjs → chunk-EANFUHRM.mjs} +1 -1
  33. package/dist/cli/{chunk-UQXHBCHU.js → chunk-EFFHRXKB.js} +2 -2
  34. package/dist/cli/{chunk-J5HMAZ34.mjs → chunk-F6EQWY4E.mjs} +2 -2
  35. package/dist/cli/{chunk-MEYQOZPF.mjs → chunk-FFOJRD53.mjs} +5 -2
  36. package/dist/cli/{chunk-QC6QUFKY.js → chunk-FPLN7PHP.js} +5 -5
  37. package/dist/cli/{chunk-QWJZSPCV.mjs → chunk-GDSZWTJK.mjs} +10 -10
  38. package/dist/cli/{chunk-QZPJWFGD.js → chunk-HFEJ7JJT.js} +26 -26
  39. package/dist/cli/{chunk-IFGBL3US.js → chunk-JHBRJDUC.js} +7 -7
  40. package/dist/cli/{chunk-WNVZV6VK.js → chunk-JJAHWKJ2.js} +53 -53
  41. package/dist/cli/{chunk-LQIKW55V.mjs → chunk-LCCFGSV7.mjs} +2 -2
  42. package/dist/cli/{chunk-CB7IFKXN.mjs → chunk-MJFVF5AW.mjs} +2 -2
  43. package/dist/cli/{chunk-CSSOP7XG.mjs → chunk-MPITIXW4.mjs} +1 -1
  44. package/dist/cli/{chunk-JSYCPTG6.mjs → chunk-MQ2LQOAM.mjs} +3 -3
  45. package/dist/cli/{chunk-FDYCUA7A.js → chunk-NBL6JMIY.js} +16 -16
  46. package/dist/cli/{chunk-TCBYQX5N.js → chunk-NF7NUKWF.js} +37 -37
  47. package/dist/cli/{chunk-HHGAY2A4.js → chunk-O2FB42N2.js} +53 -53
  48. package/dist/cli/{chunk-OFCP66VS.mjs → chunk-O65HDVA7.mjs} +2 -2
  49. package/dist/cli/{chunk-LZ37B62K.js → chunk-OGNIB64W.js} +3 -3
  50. package/dist/cli/{chunk-3M5VPIRL.mjs → chunk-OKHBAAJG.mjs} +2 -2
  51. package/dist/cli/{chunk-UTKNSD6T.js → chunk-OTDX4A4W.js} +21 -21
  52. package/dist/cli/{chunk-V47SUOAE.mjs → chunk-OTUT3XTX.mjs} +4 -4
  53. package/dist/cli/{chunk-JC2M6XG2.mjs → chunk-PIC6M4X3.mjs} +1 -1
  54. package/dist/cli/{chunk-L7QSZAF6.js → chunk-Q3CCCTRQ.js} +9 -9
  55. package/dist/cli/{chunk-MDKAPUN2.mjs → chunk-R5MP3CIY.mjs} +2 -2
  56. package/dist/cli/{chunk-NRM5OWH2.mjs → chunk-RC366IJS.mjs} +4 -4
  57. package/dist/cli/{chunk-SGG3TERP.js → chunk-SE23YSBK.js} +3 -3
  58. package/dist/cli/{chunk-6TTPAGNX.js → chunk-TVUE4CPW.js} +122 -119
  59. package/dist/cli/{chunk-PIENQTDE.mjs → chunk-UUH4GQRL.mjs} +1 -1
  60. package/dist/cli/{chunk-YPUDIEZX.js → chunk-W4FEX5ZF.js} +94 -94
  61. package/dist/cli/{chunk-BL5Q5JY7.mjs → chunk-Y7QCMOGZ.mjs} +5 -5
  62. package/dist/cli/{chunk-7W53Y4VH.mjs → chunk-YOCEY4EI.mjs} +5 -5
  63. package/dist/cli/{chunk-JTYKW3UL.mjs → chunk-YVOYZPMY.mjs} +2 -2
  64. package/dist/cli/{chunk-A3D677RX.mjs → chunk-ZCKUNXXR.mjs} +1 -1
  65. package/dist/cli/{chunk-E26477MJ.js → chunk-ZDTPSVGF.js} +7 -7
  66. package/dist/cli/{csv-PLJNQPLE.js → csv-JGJNDRSA.js} +13 -13
  67. package/dist/cli/{csv-TELSH4ND.mjs → csv-VGXGV7YM.mjs} +4 -4
  68. package/dist/cli/{db-GISAU665.mjs → db-OYG27ZBM.mjs} +6 -6
  69. package/dist/cli/{db-QDJ6GWF5.js → db-W52WJ6E5.js} +27 -27
  70. package/dist/cli/{describe-F4K54VXB.mjs → describe-FIXCRO5N.mjs} +17 -17
  71. package/dist/cli/describe-G3O6OUBG.js +50 -0
  72. package/dist/cli/describe-core.d.mts +2 -2
  73. package/dist/cli/describe-core.d.ts +2 -2
  74. package/dist/cli/{executions-3QE7MRBG.mjs → executions-EVE4KUGL.mjs} +6 -6
  75. package/dist/cli/{executions-VKUTKQNN.js → executions-LAJHZGPY.js} +8 -8
  76. package/dist/cli/{feedback-JU7PJGDL.mjs → feedback-75QB7KVG.mjs} +4 -4
  77. package/dist/cli/{feedback-HH5AUYLA.js → feedback-ZABCN7RT.js} +8 -8
  78. package/dist/cli/git-QBAR46NW.js +25 -0
  79. package/dist/cli/{git-ACXH7K7D.mjs → git-QIFEYQGY.mjs} +5 -5
  80. package/dist/cli/index.js +137 -137
  81. package/dist/cli/index.mjs +40 -40
  82. package/dist/cli/{legacy-noops-NRPYJZOP.js → legacy-noops-2TBIAMCM.js} +8 -8
  83. package/dist/cli/{legacy-noops-IOAZ3YJ2.mjs → legacy-noops-PNTWBBGY.mjs} +5 -5
  84. package/dist/cli/{monitors-PMQUOIOI.mjs → monitors-LOHUYJEI.mjs} +7 -7
  85. package/dist/cli/{monitors-4SKMAAMR.js → monitors-UKBOEGBS.js} +91 -91
  86. package/dist/cli/{org-WJM7X6WB.js → org-E7A6QLBW.js} +72 -72
  87. package/dist/cli/{org-XNT3W6OU.mjs → org-JRUKUOUF.mjs} +6 -6
  88. package/dist/cli/{pages-WXY4GGZG.js → pages-EUDFFLLD.js} +17 -17
  89. package/dist/cli/{pages-Y3JKBS4B.mjs → pages-K76HA473.mjs} +6 -6
  90. package/dist/cli/{play-NPWWAQYK.mjs → play-DG2N66SV.mjs} +19 -18
  91. package/dist/cli/{play-NKSRPIAV.js → play-UWHNUJRA.js} +314 -313
  92. package/dist/cli/{providers-VNPJHXK5.js → providers-DZX6TTC6.js} +9 -9
  93. package/dist/cli/{providers-CUIKFE6F.mjs → providers-RUTTPUZD.mjs} +6 -6
  94. package/dist/cli/{quickstart-PJYPKFZI.mjs → quickstart-RGZZN2YE.mjs} +4 -4
  95. package/dist/cli/{quickstart-6OTS2HDR.js → quickstart-U4NMD7KX.js} +6 -6
  96. package/dist/cli/{run-2DLJBYFC.js → run-5UNF4FHG.js} +36 -36
  97. package/dist/cli/{run-AGX3EUK4.mjs → run-MOJWQYFQ.mjs} +22 -22
  98. package/dist/cli/search-3DAEJL6S.js +32 -0
  99. package/dist/cli/{search-DVIEJ2UQ.mjs → search-5B3ZDU7H.mjs} +7 -7
  100. package/dist/cli/{search-output-TXSIPSPS.mjs → search-output-QS4IWWHA.mjs} +4 -4
  101. package/dist/cli/{search-output-PFLNDCA7.js → search-output-VQWJS3FN.js} +6 -6
  102. package/dist/cli/{secrets-O5OQTFVD.js → secrets-S3PJMEAC.js} +15 -15
  103. package/dist/cli/{secrets-OAGXFXEX.mjs → secrets-V5XVDBIS.mjs} +6 -6
  104. package/dist/cli/{sessions-GBR5PGB6.mjs → sessions-5V3X24XI.mjs} +5 -5
  105. package/dist/cli/{sessions-WT7P3F73.js → sessions-Y5QMEZ3D.js} +6 -6
  106. package/dist/cli/{settings-U7UNDUDB.js → settings-3U6RRO5F.js} +78 -78
  107. package/dist/cli/{settings-KGNBIFOU.mjs → settings-LHZYY5PT.mjs} +11 -11
  108. package/dist/cli/{setup-PYWSU4YM.mjs → setup-AJLWXYAN.mjs} +9 -9
  109. package/dist/cli/{setup-4MZNDFKM.js → setup-MLLIGO2S.js} +49 -49
  110. package/dist/cli/{skills-7Y6OBM7Z.mjs → skills-5O2MUWKK.mjs} +7 -7
  111. package/dist/cli/skills-BBLIML5M.js +36 -0
  112. package/dist/cli/{tools-O7L435CR.mjs → tools-PWNMI5CD.mjs} +16 -16
  113. package/dist/cli/tools-X5SQXUMM.js +57 -0
  114. package/dist/cli/update-AEJ2ZSZQ.js +34 -0
  115. package/dist/cli/{update-SPHIBY5L.mjs → update-SXT4QW7S.mjs} +9 -9
  116. package/dist/cli/{workflow-GTDKPIEV.js → workflow-3WTF5IYT.js} +17 -17
  117. package/dist/cli/{workflow-ZRYO5J3K.mjs → workflow-KPRM6ARO.mjs} +7 -7
  118. package/dist/{client-D3hVHXjK.d.ts → client-Cb1ej1Vr.d.ts} +1 -1
  119. package/dist/{client-core-DUdVqO_m.d.ts → client-core-BmVs6SP0.d.ts} +72 -3
  120. package/dist/{client-core-BZoSMKcY.d.mts → client-core-CoBTvsXG.d.mts} +72 -3
  121. package/dist/{client-BkbDHRIg.d.mts → client-vWpbLNCB.d.mts} +1 -1
  122. package/dist/index.d.mts +3 -3
  123. package/dist/index.d.ts +3 -3
  124. package/dist/index.js +9 -9
  125. package/dist/index.mjs +6 -6
  126. package/dist/install-integrity.json +102 -102
  127. package/dist/plays/play-description.d.mts +1 -1
  128. package/dist/plays/play-description.d.ts +1 -1
  129. package/dist/plays/run-request.d.mts +1 -1
  130. package/dist/plays/run-request.d.ts +1 -1
  131. package/dist/release.d.mts +1 -1
  132. package/dist/release.d.ts +1 -1
  133. package/dist/release.js +2 -2
  134. package/dist/release.mjs +1 -1
  135. package/dist/server.d.mts +2 -2
  136. package/dist/server.d.ts +2 -2
  137. package/dist/server.js +5 -5
  138. package/dist/server.mjs +3 -3
  139. package/package.json +1 -1
  140. package/dist/cli/auth-AW34RGV5.js +0 -43
  141. package/dist/cli/describe-R6NVISAS.js +0 -50
  142. package/dist/cli/git-CXRU4CRW.js +0 -25
  143. package/dist/cli/search-Y7VFEFJJ.js +0 -32
  144. package/dist/cli/skills-BQC2323O.js +0 -36
  145. package/dist/cli/tools-732SZ4KV.js +0 -57
  146. package/dist/cli/update-PCYIUORM.js +0 -34
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-MEYQOZPF.mjs";
3
+ } from "./chunk-FFOJRD53.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-JC2M6XG2.mjs";
7
+ } from "./chunk-PIC6M4X3.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkFDYCUA7Ajs = require('./chunk-FDYCUA7A.js');
7
+ var _chunkNBL6JMIYjs = require('./chunk-NBL6JMIY.js');
8
8
 
9
9
 
10
- var _chunkHHGAY2A4js = require('./chunk-HHGAY2A4.js');
10
+ var _chunkO2FB42N2js = require('./chunk-O2FB42N2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
14
+ var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
15
15
 
16
16
 
17
- var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.js');
17
+ var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
18
18
 
19
19
 
20
- var _chunkFPYESYBOjs = require('./chunk-FPYESYBO.js');
20
+ var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkYYN2O43Cjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkB2JE3HD6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkFPYESYBOjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunk3IBKEOL4js.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkFPYESYBOjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkFPYESYBOjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunk3IBKEOL4js.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunk3IBKEOL4js.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkFPYESYBOjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk3IBKEOL4js.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkFDYCUA7Ajs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkHHGAY2A4js.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkNBL6JMIYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkO2FB42N2js.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkFPYESYBOjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk3IBKEOL4js.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkFDYCUA7Ajs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkNBL6JMIYjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkFPYESYBOjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk3IBKEOL4js.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkFDYCUA7Ajs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkNBL6JMIYjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkFDYCUA7Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkNBL6JMIYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkE26477MJjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkE26477MJjs.addJsonNotice.call(void 0, {
171
+ _chunkZDTPSVGFjs.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkFDYCUA7Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkNBL6JMIYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  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";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkFDYCUA7Ajs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkNBL6JMIYjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkE26477MJjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-3M5VPIRL.mjs";
6
+ } from "./chunk-OKHBAAJG.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-OFCP66VS.mjs";
9
+ } from "./chunk-O65HDVA7.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-JC2M6XG2.mjs";
13
+ } from "./chunk-PIC6M4X3.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -132,7 +132,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
132
132
  });
133
133
  if (searchRef) rememberSearchRef(searchRef);
134
134
  pointAtDescribe(result);
135
- const { renderSearchResults } = await import("./search-output-TXSIPSPS.mjs");
135
+ const { renderSearchResults } = await import("./search-output-QS4IWWHA.mjs");
136
136
  printCommandEnvelope(result, {
137
137
  json: options.json === true,
138
138
  text: renderSearchResults(result, summaryWidth)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-A3D677RX.mjs";
4
+ } from "./chunk-ZCKUNXXR.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunk6TTPAGNXjs = require('./chunk-6TTPAGNX.js');
6
+ var _chunkTVUE4CPWjs = require('./chunk-TVUE4CPW.js');
7
7
 
8
8
 
9
9
  var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
@@ -11,7 +11,7 @@ var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
14
+ var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkE26477MJjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkZDTPSVGFjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkE26477MJjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkE26477MJjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkZDTPSVGFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZDTPSVGFjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunk6TTPAGNXjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkTVUE4CPWjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk6TTPAGNXjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkTVUE4CPWjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkE26477MJjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkE26477MJjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZDTPSVGFjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkZDTPSVGFjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkE26477MJjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkZDTPSVGFjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-MEYQOZPF.mjs";
6
+ } from "./chunk-FFOJRD53.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-ONONSV2Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-OFCP66VS.mjs";
14
+ } from "./chunk-O65HDVA7.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-QWJZSPCV.mjs";
3
+ } from "./chunk-GDSZWTJK.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-CSSOP7XG.mjs";
6
+ } from "./chunk-MPITIXW4.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-DEJIN4DF.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-3M5VPIRL.mjs";
17
+ } from "./chunk-OKHBAAJG.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-OFCP66VS.mjs";
20
+ } from "./chunk-O65HDVA7.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -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; } var _class;
2
2
 
3
- var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
3
+ var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkE26477MJjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkE26477MJjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);