deepline 0.3.431 → 0.3.433

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 (117) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +97 -6
  3. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +33 -0
  4. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +94 -10
  5. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +46 -2
  6. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-message.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +4 -4
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  9. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +95 -8
  10. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  11. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +5 -1
  12. package/dist/cli/{auth-C4O2LOMP.mjs → auth-5LF5G3Z2.mjs} +4 -4
  13. package/dist/cli/auth-FGHYE2JG.js +40 -0
  14. package/dist/cli/{billing-KJWTSINT.mjs → billing-I7ZADV7D.mjs} +4 -4
  15. package/dist/cli/{billing-RSZCFJLQ.js → billing-M34SJBAB.js} +73 -73
  16. package/dist/cli/{chunk-PMEMHRBA.mjs → chunk-2TNGO4DZ.mjs} +5 -4
  17. package/dist/cli/{chunk-DCEMKJAM.mjs → chunk-3C25DYSE.mjs} +3 -3
  18. package/dist/cli/{chunk-ZFZB3J6X.mjs → chunk-3CZEDR4K.mjs} +5 -5
  19. package/dist/cli/{chunk-II2W3O4Z.mjs → chunk-3ET2ZKZS.mjs} +1 -1
  20. package/dist/cli/{chunk-727ZKS55.mjs → chunk-42JTV4IM.mjs} +1 -1
  21. package/dist/cli/{chunk-E36ZD6WX.js → chunk-6R6SQQGQ.js} +4 -4
  22. package/dist/cli/{chunk-7H2VOSMU.mjs → chunk-B3XEZMYS.mjs} +8 -8
  23. package/dist/cli/{chunk-IZIKOENG.mjs → chunk-BSQH4V3Y.mjs} +1 -1
  24. package/dist/cli/{chunk-Y4YTLJOY.js → chunk-CXGNMAFV.js} +16 -16
  25. package/dist/cli/{chunk-VFEB52MK.js → chunk-DAEODAWB.js} +35 -35
  26. package/dist/cli/{chunk-YMVDYAH6.js → chunk-FYDPU4QV.js} +26 -26
  27. package/dist/cli/{chunk-XQ6GLQBP.mjs → chunk-G4P74R2F.mjs} +2 -2
  28. package/dist/cli/{chunk-QZZDQRZR.mjs → chunk-GZS6ZB55.mjs} +1 -1
  29. package/dist/cli/{chunk-VCV523UN.mjs → chunk-HAC6SRO5.mjs} +1 -1
  30. package/dist/cli/{chunk-OU7HHXQF.js → chunk-I5CB3UUX.js} +50 -50
  31. package/dist/cli/{chunk-QVCA5NFP.js → chunk-JNX4Y37G.js} +1 -1
  32. package/dist/cli/{chunk-EMXOHRK3.js → chunk-JUZW32YP.js} +8 -8
  33. package/dist/cli/{chunk-X6YQF3UF.js → chunk-KAWPJNUO.js} +20 -20
  34. package/dist/cli/{chunk-FNYEER22.js → chunk-KQ5VO34X.js} +10 -10
  35. package/dist/cli/{chunk-H37US5PT.js → chunk-N5VOE6KZ.js} +6 -6
  36. package/dist/cli/{chunk-C5ATRVQJ.js → chunk-O7X44YGX.js} +10 -9
  37. package/dist/cli/{chunk-VIA6YQI7.js → chunk-PKOCM6JB.js} +52 -52
  38. package/dist/cli/{chunk-5FE6L6K7.mjs → chunk-PM3DL6YP.mjs} +3 -3
  39. package/dist/cli/{chunk-LVO7M2MG.mjs → chunk-PRA2CG4B.mjs} +1 -1
  40. package/dist/cli/{chunk-MIGX46JW.js → chunk-T77HG3R7.js} +2 -2
  41. package/dist/cli/{chunk-4MUENWMZ.mjs → chunk-UAUHERWW.mjs} +2 -2
  42. package/dist/cli/{chunk-CAJT43U2.js → chunk-UDJXL4SM.js} +79 -79
  43. package/dist/cli/{chunk-CZ4JZP2F.mjs → chunk-VMCJGLJL.mjs} +2 -2
  44. package/dist/cli/{chunk-UE34XUXS.js → chunk-WVCAELST.js} +6 -6
  45. package/dist/cli/{chunk-K5M4OOJJ.mjs → chunk-XSEQLAHE.mjs} +2 -2
  46. package/dist/cli/{chunk-FNHIJPQ6.mjs → chunk-YBSOJ6D4.mjs} +4 -4
  47. package/dist/cli/{chunk-24FMUK3P.js → chunk-ZMRP5UXN.js} +2 -2
  48. package/dist/cli/{csv-AFWU7THX.mjs → csv-3TCORDI3.mjs} +3 -3
  49. package/dist/cli/{csv-R7BRVDCD.js → csv-R5I5ZWSC.js} +12 -12
  50. package/dist/cli/{db-VWE6GS7Z.js → db-BXEK3WX2.js} +25 -25
  51. package/dist/cli/{db-4DDGZWIG.mjs → db-D7NC4XAM.mjs} +4 -4
  52. package/dist/cli/{describe-VPSIS7MQ.js → describe-LSOFG74H.js} +16 -16
  53. package/dist/cli/{describe-O4H6N4EO.mjs → describe-SXYZTJQ5.mjs} +12 -12
  54. package/dist/cli/describe-core.d.mts +1 -1
  55. package/dist/cli/describe-core.d.ts +1 -1
  56. package/dist/cli/{executions-LHNWIQDR.js → executions-BF5YRFHH.js} +6 -6
  57. package/dist/cli/{executions-BLF6JAAZ.mjs → executions-ULXJPGV4.mjs} +4 -4
  58. package/dist/cli/{feedback-6BNBRU3O.mjs → feedback-6FJOHQJB.mjs} +3 -3
  59. package/dist/cli/{feedback-YJ6EB3JH.js → feedback-VJM56OFG.js} +7 -7
  60. package/dist/cli/git-TSBBSAK3.js +24 -0
  61. package/dist/cli/{git-TCLUOJU7.mjs → git-WGZMHPW3.mjs} +4 -4
  62. package/dist/cli/index.js +131 -131
  63. package/dist/cli/index.mjs +36 -36
  64. package/dist/cli/{legacy-noops-6ZKNRJBD.mjs → legacy-noops-EVFQBQ6H.mjs} +4 -4
  65. package/dist/cli/{legacy-noops-4KXLXXFC.js → legacy-noops-ZRDESRRJ.js} +7 -7
  66. package/dist/cli/{monitors-5XJIT3GU.mjs → monitors-4PMVB7RD.mjs} +4 -4
  67. package/dist/cli/{monitors-6U3WH74P.js → monitors-FR4OSX77.js} +84 -84
  68. package/dist/cli/{org-6LAFFTIE.js → org-HSY6TVRI.js} +64 -64
  69. package/dist/cli/{org-QZZL2WO2.mjs → org-QBENPGXU.mjs} +4 -4
  70. package/dist/cli/{play-7KDM3QTU.mjs → play-7O7GXOWT.mjs} +10 -10
  71. package/dist/cli/{play-CCDHG3GT.js → play-JSY4OSLN.js} +283 -283
  72. package/dist/cli/{providers-WEYDXXND.mjs → providers-76OM5TQ7.mjs} +4 -4
  73. package/dist/cli/{providers-VUNDMKOF.js → providers-RLLSVNR6.js} +7 -7
  74. package/dist/cli/{quickstart-ABTQUOYC.js → quickstart-MZZDW6VC.js} +5 -5
  75. package/dist/cli/{quickstart-UAWZJ52P.mjs → quickstart-UHB5GNJV.mjs} +3 -3
  76. package/dist/cli/search-GCMZS6IK.js +30 -0
  77. package/dist/cli/{search-VTEFQWX4.mjs → search-X5P34RAU.mjs} +5 -5
  78. package/dist/cli/{secrets-ZSMBJJAU.js → secrets-EKVWSDQT.js} +13 -13
  79. package/dist/cli/{secrets-FKGXGVTS.mjs → secrets-L43HK4A6.mjs} +4 -4
  80. package/dist/cli/{sessions-RXJZVW7N.js → sessions-IPV23HXJ.js} +5 -5
  81. package/dist/cli/{sessions-ZWTSTLOZ.mjs → sessions-QPK5NPXO.mjs} +4 -4
  82. package/dist/cli/{settings-ULIRON4N.js → settings-5CJ6SMAN.js} +75 -75
  83. package/dist/cli/{settings-2TYYFRK2.mjs → settings-NF4VMLGN.mjs} +8 -8
  84. package/dist/cli/{setup-PRTFVHWH.mjs → setup-3JVUB4V6.mjs} +7 -7
  85. package/dist/cli/{setup-D6PIAKTH.js → setup-FHK6S4JC.js} +42 -42
  86. package/dist/cli/{skills-S6LAHWZZ.mjs → skills-HZLL2C7G.mjs} +5 -5
  87. package/dist/cli/skills-U2R75N5D.js +29 -0
  88. package/dist/cli/tools-N57LENEU.js +44 -0
  89. package/dist/cli/{tools-3QL4GWQI.mjs → tools-TG5SDGNS.mjs} +12 -12
  90. package/dist/cli/{update-MH6Z5UL7.mjs → update-4UZ6PUZK.mjs} +7 -7
  91. package/dist/cli/update-WYEO75YZ.js +31 -0
  92. package/dist/cli/{workflow-YSIK4DXK.mjs → workflow-FAJY6TR4.mjs} +5 -5
  93. package/dist/cli/{workflow-ECWHO7I5.js → workflow-UTPL4KIF.js} +15 -15
  94. package/dist/{client-C0VoQB5b.d.ts → client-CgmfMj_N.d.ts} +73 -4
  95. package/dist/{client-BuCrTjW6.d.mts → client-DIY1WpSW.d.mts} +73 -4
  96. package/dist/index.d.mts +2 -2
  97. package/dist/index.d.ts +2 -2
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +80 -80
  101. package/dist/plays/play-description.d.mts +1 -1
  102. package/dist/plays/play-description.d.ts +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/dist/viewer/viewer.css +4 -0
  110. package/dist/viewer/viewer.js +19 -3
  111. package/package.json +1 -1
  112. package/dist/cli/auth-IJQWGGCT.js +0 -40
  113. package/dist/cli/git-OVSSGF57.js +0 -24
  114. package/dist/cli/search-44L5VX4Q.js +0 -30
  115. package/dist/cli/skills-5YWEURZ2.js +0 -29
  116. package/dist/cli/tools-UE45QLRH.js +0 -44
  117. package/dist/cli/update-J5DUS5I6.js +0 -31
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkY4YTLJOYjs = require('./chunk-Y4YTLJOY.js');
7
+ var _chunkCXGNMAFVjs = require('./chunk-CXGNMAFV.js');
8
8
 
9
9
 
10
- var _chunkVIA6YQI7js = require('./chunk-VIA6YQI7.js');
10
+ var _chunkPKOCM6JBjs = require('./chunk-PKOCM6JB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
14
+ var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
18
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.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 = _chunkE36ZD6WXjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunk6R6SQQGQjs.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/${_chunkE36ZD6WXjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunk6R6SQQGQjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkE36ZD6WXjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkE36ZD6WXjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunk6R6SQQGQjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunk6R6SQQGQjs.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()]) || _chunkE36ZD6WXjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk6R6SQQGQjs.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") || !_chunkY4YTLJOYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkVIA6YQI7js.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") || !_chunkCXGNMAFVjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPKOCM6JBjs.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()]) || _chunkE36ZD6WXjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk6R6SQQGQjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkY4YTLJOYjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkCXGNMAFVjs.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()]) || _chunkE36ZD6WXjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk6R6SQQGQjs.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 = _chunkY4YTLJOYjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkCXGNMAFVjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkY4YTLJOYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkCXGNMAFVjs.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 (_chunkH37US5PTjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkN5VOE6KZjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkH37US5PTjs.addJsonNotice.call(void 0, {
169
+ _chunkN5VOE6KZjs.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 (!_chunkY4YTLJOYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkCXGNMAFVjs.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 _chunkY4YTLJOYjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkCXGNMAFVjs.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 (!_chunkH37US5PTjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkN5VOE6KZjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
31
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
32
32
 
33
33
 
34
34
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkE36ZD6WXjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunk6R6SQQGQjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunkE36ZD6WXjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkE36ZD6WXjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunk6R6SQQGQjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunk6R6SQQGQjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunk2H4EY7KHjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkE36ZD6WXjs.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk6R6SQQGQjs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunkE36ZD6WXjs.resolveConfig.call(void 0, options);
1138
+ const config = _chunk6R6SQQGQjs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkE36ZD6WXjs.HttpClient)(config),
1140
+ new (0, _chunk6R6SQQGQjs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunkE36ZD6WXjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunk6R6SQQGQjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunkE36ZD6WXjs.resolveConfig.call(void 0, options);
3392
+ this.config = _chunk6R6SQQGQjs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkE36ZD6WXjs.HttpClient)(this.config);
3394
+ this.http = new (0, _chunk6R6SQQGQjs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
6
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkE36ZD6WXjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkE36ZD6WXjs.HttpClient)(config) };
291
+ const config = _chunk6R6SQQGQjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunk6R6SQQGQjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkE36ZD6WXjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunk6R6SQQGQjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkFNYEER22js = require('./chunk-FNYEER22.js');
6
+ var _chunkKQ5VO34Xjs = require('./chunk-KQ5VO34X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
10
+ var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
14
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkE36ZD6WXjs.sdkCliStateDirPath.call(void 0, _chunkE36ZD6WXjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunk6R6SQQGQjs.sdkCliStateDirPath.call(void 0, _chunk6R6SQQGQjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5869,6 +5869,7 @@ function searchRow(item, summaryWidth) {
5869
5869
  notes
5870
5870
  };
5871
5871
  }
5872
+ var SEARCH_KIND_COLUMN_ENABLED = false;
5872
5873
  var OPTIONAL_COLUMNS = [
5873
5874
  { header: "RATE LIMIT", key: "rateLimit" },
5874
5875
  { header: "FAILURES", key: "failureRate" },
@@ -5876,13 +5877,13 @@ var OPTIONAL_COLUMNS = [
5876
5877
  ];
5877
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5878
5879
  if (result.results.length === 0)
5879
- return _chunkH37US5PTjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkN5VOE6KZjs.renderCommandEnvelopeText.call(void 0, result);
5880
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5881
5882
  const kinds = new Set(rows.map((row) => row.kind));
5882
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
5883
5884
  const columns = [
5884
5885
  { header: onlyTools ? "TOOL" : "ID", value: (row) => row.id },
5885
- ...!onlyTools ? [{ header: "KIND", value: (row) => row.kind }] : [],
5886
+ ...SEARCH_KIND_COLUMN_ENABLED && !onlyTools ? [{ header: "KIND", value: (row) => row.kind }] : [],
5886
5887
  { header: "CREDITS", value: (row) => row.cost, alignment: "right" },
5887
5888
  // Right-aligned figures that appear only when some row has one.
5888
5889
  ...OPTIONAL_COLUMNS.filter(
@@ -5901,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5901
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5902
5903
  };
5903
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5904
- ${_chunkH37US5PTjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkN5VOE6KZjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
5906
  const notes = rows.flatMap(
5906
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5907
5908
  );
@@ -5986,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5986
5987
  console.error("--summary-width must be an integer of at least 2.");
5987
5988
  return 1;
5988
5989
  }
5989
- const { search_ref: searchRef, ...result } = await new (0, _chunkFNYEER22js.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkKQ5VO34Xjs.DeeplineClient)().search({
5990
5991
  query,
5991
5992
  types,
5992
5993
  exclude,
@@ -6000,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6000
6001
  });
6001
6002
  if (searchRef) rememberSearchRef(searchRef);
6002
6003
  pointAtDescribe(result);
6003
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0, result, {
6004
6005
  json: options.json === true,
6005
6006
  text: renderSearchResults(result, summaryWidth)
6006
6007
  });