deepline 0.3.511 → 0.3.512

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 (132) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +2 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +9 -3
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +35 -3
  6. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +23 -1
  8. package/dist/cli/{artifacts-PLF5ZUS7.js → artifacts-5IGM3EYP.js} +18 -18
  9. package/dist/cli/{artifacts-G6JHRHY5.mjs → artifacts-YSYWQFQQ.mjs} +6 -6
  10. package/dist/cli/{auth-2XMJMDWG.mjs → auth-4MVWCUXS.mjs} +5 -5
  11. package/dist/cli/auth-M3AJBJ3O.js +43 -0
  12. package/dist/cli/{billing-Z3XFXP3H.js → billing-OYYHWNVS.js} +79 -79
  13. package/dist/cli/{billing-6C5AI42X.mjs → billing-SZXRENPC.mjs} +6 -6
  14. package/dist/cli/{chunk-RPPU3XB3.mjs → chunk-2BS6BRGH.mjs} +2 -2
  15. package/dist/cli/{chunk-QDWNVTTO.mjs → chunk-2R6M62UO.mjs} +2 -2
  16. package/dist/cli/{chunk-FTT2SBBH.mjs → chunk-32UMZXCZ.mjs} +5 -5
  17. package/dist/cli/{chunk-OQ4YBPOQ.mjs → chunk-3INAN6EK.mjs} +3 -3
  18. package/dist/cli/{chunk-VHFTN6VY.js → chunk-4DSRBHN6.js} +44 -44
  19. package/dist/cli/{chunk-O37BQ2CG.js → chunk-4QR64X2S.js} +10 -10
  20. package/dist/cli/{chunk-WDBEWOU6.js → chunk-4ZDHGAE6.js} +2 -2
  21. package/dist/cli/{chunk-KXGH4YUQ.mjs → chunk-5XLU47DG.mjs} +1 -1
  22. package/dist/cli/{chunk-LKSJXTRP.js → chunk-7U3WY2F3.js} +53 -53
  23. package/dist/cli/{chunk-HLEZQDEZ.mjs → chunk-AATUAFD2.mjs} +2 -2
  24. package/dist/cli/{chunk-IYWN7M4I.js → chunk-AVYI522S.js} +5 -5
  25. package/dist/cli/{chunk-BHV7JKXQ.js → chunk-BP4XEO6Z.js} +1 -1
  26. package/dist/cli/{chunk-XZ6IZIQJ.mjs → chunk-DJ4FD5DR.mjs} +2 -2
  27. package/dist/cli/{chunk-ASXOFBF7.mjs → chunk-EQAKPIGI.mjs} +2 -2
  28. package/dist/cli/{chunk-XXQZYLLL.mjs → chunk-FJPJ6SO3.mjs} +2 -2
  29. package/dist/cli/{chunk-JHBZBCU4.mjs → chunk-GJMIW4Q6.mjs} +1 -1
  30. package/dist/cli/{chunk-ZFJ2U76O.mjs → chunk-HA5NSCTH.mjs} +2 -2
  31. package/dist/cli/{chunk-YX7E2VQM.js → chunk-HCMFRAYT.js} +26 -26
  32. package/dist/cli/{chunk-ISY7PBIK.mjs → chunk-I6OK54YK.mjs} +5 -5
  33. package/dist/cli/{chunk-FAGSSIOY.js → chunk-IMC2HQ6V.js} +6 -6
  34. package/dist/cli/{chunk-VQ74WMKG.mjs → chunk-JDD6OLWN.mjs} +3 -3
  35. package/dist/cli/{chunk-KK6NZHAJ.mjs → chunk-JH7JISQ2.mjs} +1 -1
  36. package/dist/cli/{chunk-2Q4H2Y6N.js → chunk-JKLFRDQ6.js} +6 -6
  37. package/dist/cli/{chunk-XGXXNT4O.js → chunk-JU35QU3Z.js} +7 -7
  38. package/dist/cli/{chunk-D5VWSR4D.js → chunk-KBM5T6UV.js} +5 -5
  39. package/dist/cli/{chunk-GGQHOLH6.js → chunk-L7CAOWHY.js} +3 -3
  40. package/dist/cli/{chunk-PCI4MMH7.mjs → chunk-LYOWQKGN.mjs} +1 -1
  41. package/dist/cli/{chunk-VEOFISLZ.mjs → chunk-MQ5GBB7V.mjs} +1 -1
  42. package/dist/cli/{chunk-XSBGWMI6.mjs → chunk-MTSHUN2R.mjs} +1 -1
  43. package/dist/cli/{chunk-PUFEARWT.js → chunk-O24VWLOY.js} +16 -16
  44. package/dist/cli/{chunk-KZBKQPSA.js → chunk-OU6AK63V.js} +2 -2
  45. package/dist/cli/{chunk-S6KEACD3.mjs → chunk-P3RYPSOQ.mjs} +6 -6
  46. package/dist/cli/{chunk-GD3ES3JU.js → chunk-PJCPFF7J.js} +14 -14
  47. package/dist/cli/{chunk-2YVRIXVR.js → chunk-Q72Q3ZWB.js} +9 -9
  48. package/dist/cli/{chunk-PI45LZ5B.js → chunk-RR6G6ZCT.js} +11 -11
  49. package/dist/cli/{chunk-S5C4CWSS.mjs → chunk-RXZRZEW7.mjs} +5 -5
  50. package/dist/cli/{chunk-SI4QXATV.mjs → chunk-T3SUWKUT.mjs} +5 -5
  51. package/dist/cli/{chunk-NVMNMKZW.js → chunk-TKN2TRW5.js} +3 -3
  52. package/dist/cli/{chunk-JDDKJIZU.mjs → chunk-TNQ5MF6K.mjs} +1 -1
  53. package/dist/cli/{chunk-LDZYGM7W.js → chunk-V6FQRUPJ.js} +41 -41
  54. package/dist/cli/{chunk-KUDNPJ43.js → chunk-VGCNLFER.js} +2 -2
  55. package/dist/cli/{chunk-JYFLIQPE.js → chunk-VZN6D23P.js} +7 -7
  56. package/dist/cli/{chunk-FV4PASXH.js → chunk-W7DAWILZ.js} +16 -16
  57. package/dist/cli/{chunk-ZWGBQKW7.js → chunk-WDCOUJQ5.js} +21 -21
  58. package/dist/cli/{chunk-ZYVR4A4P.mjs → chunk-XKFWY4IK.mjs} +10 -10
  59. package/dist/cli/{chunk-5WTLXL6O.mjs → chunk-YJN55ZWG.mjs} +1 -1
  60. package/dist/cli/{chunk-XREZY4FA.mjs → chunk-YNMHIJC5.mjs} +1 -1
  61. package/dist/cli/{chunk-K4JB2BZP.js → chunk-ZLHIQU2G.js} +96 -96
  62. package/dist/cli/{chunk-GJWL4KTY.mjs → chunk-ZVYMGTZ7.mjs} +4 -4
  63. package/dist/cli/{chunk-JIY25SUX.js → chunk-ZZ7SVWKR.js} +4 -4
  64. package/dist/cli/{csv-CNK6ZF3T.mjs → csv-AY4KT3NZ.mjs} +4 -4
  65. package/dist/cli/{csv-S44OGG2O.js → csv-YR2E5HNM.js} +13 -13
  66. package/dist/cli/{db-AVO6QJU6.mjs → db-IMYD3OCM.mjs} +6 -6
  67. package/dist/cli/{db-WKZ6EXNG.js → db-YKV6564I.js} +27 -27
  68. package/dist/cli/{describe-2HQRT5MI.mjs → describe-72GI2Q6T.mjs} +18 -18
  69. package/dist/cli/describe-UFGHQBM7.js +50 -0
  70. package/dist/cli/{executions-DKHOR7HD.mjs → executions-2YO6KIP3.mjs} +6 -6
  71. package/dist/cli/{executions-MTAHNARA.js → executions-OSNL5CSU.js} +8 -8
  72. package/dist/cli/{feedback-K6SJS4LG.mjs → feedback-SYDNAT62.mjs} +5 -5
  73. package/dist/cli/{feedback-R2UABU3E.js → feedback-WSA7YTKS.js} +10 -10
  74. package/dist/cli/{git-3EPA7433.mjs → git-WBH7N3EF.mjs} +5 -5
  75. package/dist/cli/git-YYOW4CYQ.js +25 -0
  76. package/dist/cli/index.js +141 -141
  77. package/dist/cli/index.mjs +43 -43
  78. package/dist/cli/{legacy-noops-3Q2D2F24.js → legacy-noops-BZPLWY5C.js} +9 -9
  79. package/dist/cli/{legacy-noops-66OPCJJD.mjs → legacy-noops-USZM4ZXF.mjs} +6 -6
  80. package/dist/cli/{monitors-2PYPRWT4.mjs → monitors-6HOZMLEV.mjs} +7 -7
  81. package/dist/cli/{monitors-KHH4MZDF.js → monitors-XHXAMMYC.js} +100 -100
  82. package/dist/cli/{org-X5G36B2Q.js → org-BAAOAZF3.js} +72 -72
  83. package/dist/cli/{org-WAW3OL7B.mjs → org-LT3DICB4.mjs} +6 -6
  84. package/dist/cli/{pages-XDPHCHHU.js → pages-7NP4PKLA.js} +18 -18
  85. package/dist/cli/{pages-KABWXDGW.mjs → pages-MOCSTZZQ.mjs} +6 -6
  86. package/dist/cli/{play-UE5FKQCO.js → play-CGUL22GL.js} +317 -317
  87. package/dist/cli/{play-654B2HQU.mjs → play-MGJ7B7RL.mjs} +18 -18
  88. package/dist/cli/{providers-QT2BZMJ7.js → providers-5LCUHKX2.js} +9 -9
  89. package/dist/cli/{providers-SKNGX6IT.mjs → providers-AOWBHJ24.mjs} +6 -6
  90. package/dist/cli/{quickstart-XWDVAQTT.js → quickstart-7YZUT7GO.js} +6 -6
  91. package/dist/cli/{quickstart-BX7XMJIQ.mjs → quickstart-Z6NA2CCM.mjs} +4 -4
  92. package/dist/cli/{run-JTU4K4MY.mjs → run-7QGBNUKE.mjs} +23 -23
  93. package/dist/cli/{run-C6YYD4AK.js → run-M66ILCWL.js} +41 -41
  94. package/dist/cli/search-OZQH5VMI.js +33 -0
  95. package/dist/cli/{search-NHV4Y4SX.mjs → search-Z2T3B4V4.mjs} +8 -8
  96. package/dist/cli/{search-output-WLFFEGCY.js → search-output-6OHPSJGK.js} +6 -6
  97. package/dist/cli/{search-output-AAOMFK7K.mjs → search-output-MLHVBRIR.mjs} +4 -4
  98. package/dist/cli/{secrets-H4WTLQJJ.js → secrets-T7MW2DMK.js} +15 -15
  99. package/dist/cli/{secrets-S66PZSRO.mjs → secrets-VBSILT5H.mjs} +6 -6
  100. package/dist/cli/{sessions-PY6FJX3O.mjs → sessions-KNITGDLS.mjs} +6 -6
  101. package/dist/cli/sessions-XKEIBOTP.js +18 -0
  102. package/dist/cli/{settings-V7BM42KQ.mjs → settings-NBZRRKZS.mjs} +13 -13
  103. package/dist/cli/{settings-YO4FFPN6.js → settings-OSEBDBKR.js} +86 -86
  104. package/dist/cli/{setup-IFZYYQ2W.js → setup-7DZPC6FC.js} +50 -50
  105. package/dist/cli/{setup-VUBM2HMH.mjs → setup-WTEQPZ5I.mjs} +10 -10
  106. package/dist/cli/{skills-EYWRSQQJ.mjs → skills-JMD2MNJZ.mjs} +8 -8
  107. package/dist/cli/skills-R6RO6MQF.js +37 -0
  108. package/dist/cli/{tools-VZOW4MUD.mjs → tools-LK5BM2Z7.mjs} +17 -17
  109. package/dist/cli/tools-NBBDUNPR.js +57 -0
  110. package/dist/cli/update-BI2ABPGX.js +35 -0
  111. package/dist/cli/{update-CQDJJYU2.mjs → update-IVUSIA2E.mjs} +10 -10
  112. package/dist/cli/{workflow-2VRDIPF3.mjs → workflow-4QP6G54M.mjs} +7 -7
  113. package/dist/cli/{workflow-XS3JEU6X.js → workflow-GY374FMJ.js} +17 -17
  114. package/dist/index.js +9 -9
  115. package/dist/index.mjs +6 -6
  116. package/dist/install-integrity.json +104 -104
  117. package/dist/release.d.mts +1 -1
  118. package/dist/release.d.ts +1 -1
  119. package/dist/release.js +2 -2
  120. package/dist/release.mjs +1 -1
  121. package/dist/server.js +5 -5
  122. package/dist/server.mjs +3 -3
  123. package/dist/viewer/viewer.js +16 -7
  124. package/package.json +1 -1
  125. package/dist/cli/auth-PI2KS2CD.js +0 -43
  126. package/dist/cli/describe-CCK77NER.js +0 -50
  127. package/dist/cli/git-7L3PY2A4.js +0 -25
  128. package/dist/cli/search-RIFW5JCK.js +0 -33
  129. package/dist/cli/sessions-EFWO62XJ.js +0 -18
  130. package/dist/cli/skills-LFP53SWQ.js +0 -37
  131. package/dist/cli/tools-SR2Q7KC5.js +0 -57
  132. package/dist/cli/update-ADZBZZZS.js +0 -35
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkWDBEWOU6js = require('./chunk-WDBEWOU6.js');
3
+ var _chunk4ZDHGAE6js = require('./chunk-4ZDHGAE6.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
8
+ var _chunk4DSRBHN6js = require('./chunk-4DSRBHN6.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkVHFTN6VYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkWDBEWOU6js.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunk4DSRBHN6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunk4ZDHGAE6js.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkVHFTN6VYjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunk4DSRBHN6js.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkVHFTN6VYjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunk4DSRBHN6js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-XREZY4FA.mjs";
3
+ } from "./chunk-YNMHIJC5.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-HLEZQDEZ.mjs";
7
+ } from "./chunk-AATUAFD2.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment
10
- } from "./chunk-JDDKJIZU.mjs";
10
+ } from "./chunk-TNQ5MF6K.mjs";
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-HLEZQDEZ.mjs";
3
+ } from "./chunk-AATUAFD2.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -8,7 +8,7 @@ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
11
+ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
249
249
  const logicalValue = parseSerializedDatasetValue(value);
250
250
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
251
251
  if (typeof logicalValue === "object") {
252
- return _chunkJYFLIQPEjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunkVZN6D23Pjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
253
  }
254
254
  return logicalValue;
255
255
  }
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
641
641
  rows: rows.map((row) => record(row) ? row : { value: row }),
642
642
  columns
643
643
  });
644
- return _chunkJYFLIQPEjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunkVZN6D23Pjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
645
  }
646
646
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
647
647
  let temp;
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
768
768
  };
769
769
  if (options.receiptOut && !skipReceiptFile) {
770
770
  persist(options.receiptOut, jsonText(receipt));
771
- _chunkJYFLIQPEjs.markJsonOutputHandled.call(void 0, );
771
+ _chunkVZN6D23Pjs.markJsonOutputHandled.call(void 0, );
772
772
  } else {
773
773
  printReceipt(receipt, options, {
774
774
  data: hasData ? result.data : void 0,
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
1029
  if (options.receiptOut !== void 0) {
1030
- _chunkJYFLIQPEjs.writeRawStderr.call(void 0, text);
1031
- _chunkJYFLIQPEjs.markJsonOutputHandled.call(void 0, );
1030
+ _chunkVZN6D23Pjs.writeRawStderr.call(void 0, text);
1031
+ _chunkVZN6D23Pjs.markJsonOutputHandled.call(void 0, );
1032
1032
  } else {
1033
1033
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1034
  }
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
34
+ var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkJIY25SUXjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkZZ7SVWKRjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1107,8 +1107,8 @@ function runtimeSelectionHeaders(runtime, env) {
1107
1107
  }
1108
1108
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1109
1109
  return {
1110
- [_chunkJIY25SUXjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
- ...receivers ? { [_chunkJIY25SUXjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1110
+ [_chunkZZ7SVWKRjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
+ ...receivers ? { [_chunkZZ7SVWKRjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1112
1112
  };
1113
1113
  }
1114
1114
  function normalizeTestPolicyOverrides(value, source) {
@@ -1179,7 +1179,7 @@ var PlayClient = class {
1179
1179
  return _chunkRNSHCJMEjs.startPlayRun.call(void 0,
1180
1180
  this.http,
1181
1181
  resolved.request,
1182
- _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkJIY25SUXjs.SDK_API_MAJOR) } : headers,
1182
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkZZ7SVWKRjs.SDK_API_MAJOR) } : headers,
1183
1183
  options
1184
1184
  );
1185
1185
  }
@@ -3260,7 +3260,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3260
3260
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3261
3261
  );
3262
3262
  }
3263
- return { [_chunkJIY25SUXjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3263
+ return { [_chunkZZ7SVWKRjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3264
3264
  }
3265
3265
  function sleep(ms) {
3266
3266
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4150,7 +4150,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4150
4150
  );
4151
4151
  const headers = _optionalChain([options, 'optionalAccess', _188 => _188.cliAdmission]) ? {
4152
4152
  ...runtimeHeaders,
4153
- "X-Deepline-API-Major": String(_chunkJIY25SUXjs.SDK_API_MAJOR)
4153
+ "X-Deepline-API-Major": String(_chunkZZ7SVWKRjs.SDK_API_MAJOR)
4154
4154
  } : runtimeHeaders;
4155
4155
  const http = this.http;
4156
4156
  let submitted = false;
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkXGXXNT4Ojs = require('./chunk-XGXXNT4O.js');
3
+ var _chunkJU35QU3Zjs = require('./chunk-JU35QU3Z.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
7
+ var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkXGXXNT4Ojs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkJU35QU3Zjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkGGQHOLH6js.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkGGQHOLH6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkL7CAOWHYjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,7 +1,7 @@
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 _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
4
+ var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkJIY25SUXjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkJIY25SUXjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkZZ7SVWKRjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-HLEZQDEZ.mjs";
3
+ } from "./chunk-AATUAFD2.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-JDDKJIZU.mjs";
4
+ } from "./chunk-TNQ5MF6K.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-JDDKJIZU.mjs";
34
+ } from "./chunk-TNQ5MF6K.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,19 +1,19 @@
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 _chunkKZBKQPSAjs = require('./chunk-KZBKQPSA.js');
4
+ var _chunkOU6AK63Vjs = require('./chunk-OU6AK63V.js');
5
5
 
6
6
 
7
- var _chunkLDZYGM7Wjs = require('./chunk-LDZYGM7W.js');
7
+ var _chunkV6FQRUPJjs = require('./chunk-V6FQRUPJ.js');
8
8
 
9
9
 
10
- var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
10
+ var _chunk4DSRBHN6js = require('./chunk-4DSRBHN6.js');
11
11
 
12
12
 
13
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
13
+ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
14
14
 
15
15
 
16
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
16
+ var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkVHFTN6VYjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunk4DSRBHN6js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkKZBKQPSAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkKZBKQPSAjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkOU6AK63Vjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkOU6AK63Vjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkL7CAOWHYjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkVHFTN6VYjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunk4DSRBHN6js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGGQHOLH6js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkL7CAOWHYjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkLDZYGM7Wjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkV6FQRUPJjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
1284
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
1327
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -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 _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
3
+ var _chunk4DSRBHN6js = require('./chunk-4DSRBHN6.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 = _chunkVHFTN6VYjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunk4DSRBHN6js.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,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-ZYVR4A4P.mjs";
3
+ } from "./chunk-XKFWY4IK.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-JHBZBCU4.mjs";
6
+ } from "./chunk-GJMIW4Q6.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-ZFJ2U76O.mjs";
17
+ } from "./chunk-HA5NSCTH.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-QDWNVTTO.mjs";
21
+ } from "./chunk-2R6M62UO.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-HLEZQDEZ.mjs";
24
+ } from "./chunk-AATUAFD2.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-VEOFISLZ.mjs";
28
+ } from "./chunk-MQ5GBB7V.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -1,13 +1,13 @@
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 _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
4
+ var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
10
+ var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
11
11
 
12
12
 
13
13
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkJIY25SUXjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkJIY25SUXjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkZZ7SVWKRjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkJIY25SUXjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkZZ7SVWKRjs.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkJIY25SUXjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkZZ7SVWKRjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkJIY25SUXjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkJIY25SUXjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkJIY25SUXjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkZZ7SVWKRjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkZZ7SVWKRjs.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkL7CAOWHYjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkJIY25SUXjs.SDK_VERSION,
240
+ cli_version: _chunkZZ7SVWKRjs.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkJIY25SUXjs.SDK_VERSION,
360
+ cli_version: _chunkZZ7SVWKRjs.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkL7CAOWHYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkL7CAOWHYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkXGXXNT4Ojs = require('./chunk-XGXXNT4O.js');
6
+ var _chunkJU35QU3Zjs = require('./chunk-JU35QU3Z.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
14
+ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkJYFLIQPEjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkVZN6D23Pjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  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.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkJYFLIQPEjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJYFLIQPEjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkVZN6D23Pjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVZN6D23Pjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkXGXXNT4Ojs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkJU35QU3Zjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkXGXXNT4Ojs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkJU35QU3Zjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkJYFLIQPEjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkJYFLIQPEjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVZN6D23Pjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkVZN6D23Pjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkJYFLIQPEjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkVZN6D23Pjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkD5VWSR4Djs = require('./chunk-D5VWSR4D.js');
6
+ var _chunkKBM5T6UVjs = require('./chunk-KBM5T6UV.js');
7
7
 
8
8
 
9
- var _chunkGD3ES3JUjs = require('./chunk-GD3ES3JU.js');
9
+ var _chunkPJCPFF7Jjs = require('./chunk-PJCPFF7J.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
13
+ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
17
+ var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkGGQHOLH6js.sdkCliStateDirPath.call(void 0, _chunkGGQHOLH6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkL7CAOWHYjs.sdkCliStateDirPath.call(void 0, _chunkL7CAOWHYjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
137
+ const client = new (0, _chunkKBM5T6UVjs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-WLFFEGCY.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-6OHPSJGK.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunkJYFLIQPEjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkGD3ES3JUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunkVZN6D23Pjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkPJCPFF7Jjs.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
189
+ _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,