deepline 0.3.338 → 0.3.340

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 (98) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +20 -2
  3. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +20 -7
  4. package/dist/cli/{auth-MTF2TRBC.mjs → auth-AAHQCTJW.mjs} +4 -4
  5. package/dist/cli/auth-WDM5N7LQ.js +31 -0
  6. package/dist/cli/{billing-HXXPKDYV.mjs → billing-2X4SP44P.mjs} +4 -4
  7. package/dist/cli/{billing-OXEY6DAU.js → billing-SBU4F4VS.js} +71 -71
  8. package/dist/cli/{chunk-7WL23HDH.mjs → chunk-2IZ6RE5L.mjs} +1 -1
  9. package/dist/cli/{chunk-OTJMWSIK.mjs → chunk-6D77EBSR.mjs} +5 -5
  10. package/dist/cli/{chunk-FOODYFMR.js → chunk-6ONNP4XL.js} +1 -1
  11. package/dist/cli/{chunk-6CEPAFCE.mjs → chunk-77YWQTE6.mjs} +4 -4
  12. package/dist/cli/{chunk-BYIWZOSA.js → chunk-A4LUPRGL.js} +6 -6
  13. package/dist/cli/{chunk-FBU4A2ZE.mjs → chunk-AN3X5XIR.mjs} +2 -2
  14. package/dist/cli/{chunk-NUJIZBLA.js → chunk-AYAEVVB5.js} +4 -4
  15. package/dist/cli/{chunk-CVSUI4Z2.js → chunk-B2HJ2OFH.js} +48 -48
  16. package/dist/cli/{chunk-ID5OGCLU.mjs → chunk-DX37W6IS.mjs} +3 -3
  17. package/dist/cli/{chunk-XWTEOTGL.js → chunk-EQFYORNR.js} +26 -26
  18. package/dist/cli/{chunk-EV4QJE4J.mjs → chunk-IIOBMOMH.mjs} +18 -7
  19. package/dist/cli/{chunk-SSRGN56V.mjs → chunk-LR66EFVU.mjs} +1 -1
  20. package/dist/cli/{chunk-MIHJFRGP.mjs → chunk-M3KIBSVO.mjs} +2 -2
  21. package/dist/cli/{chunk-J47TX67H.mjs → chunk-N3X2DMF2.mjs} +1 -1
  22. package/dist/cli/{chunk-5OHHWYOV.js → chunk-NPPD5XT6.js} +45 -45
  23. package/dist/cli/{chunk-N3EOKUQV.mjs → chunk-OD7LIBSF.mjs} +2 -2
  24. package/dist/cli/{chunk-UQV5M6HN.js → chunk-OJVAVQLB.js} +18 -7
  25. package/dist/cli/{chunk-YMLGJ2B7.mjs → chunk-PLSVHYRC.mjs} +1 -1
  26. package/dist/cli/{chunk-NR5ILIKI.js → chunk-URO52CD6.js} +2 -2
  27. package/dist/cli/{chunk-HJEHCSFH.js → chunk-VLV2PVA2.js} +8 -8
  28. package/dist/cli/{chunk-CGVCELEC.mjs → chunk-VMEJLJJD.mjs} +1 -1
  29. package/dist/cli/{chunk-UVGGJ2CV.mjs → chunk-WDB7AIXJ.mjs} +59 -74
  30. package/dist/cli/{chunk-KLAWLBSP.js → chunk-X6A7PAR6.js} +60 -60
  31. package/dist/cli/{chunk-AHO5IXHM.js → chunk-XCB2WE4D.js} +15 -15
  32. package/dist/cli/{chunk-KRZDVQZH.js → chunk-YAYAOUH3.js} +8 -8
  33. package/dist/cli/{chunk-7EQ3WFD2.js → chunk-YLDIZ7A3.js} +9 -9
  34. package/dist/cli/{chunk-FYR7GGUF.js → chunk-YODUXBLR.js} +293 -308
  35. package/dist/cli/{chunk-NHTICK5G.mjs → chunk-YRDTRTU4.mjs} +2 -2
  36. package/dist/cli/client-2MTAJ6XW.js +20 -0
  37. package/dist/cli/{client-LXBODS53.mjs → client-LKEH3EYO.mjs} +3 -3
  38. package/dist/cli/{csv-3346Z7MA.mjs → csv-WDWQGVDN.mjs} +3 -3
  39. package/dist/cli/{csv-5UMO4TMZ.js → csv-ZQIEH4Q3.js} +12 -12
  40. package/dist/cli/{db-RBWIVEB3.js → db-CRQSATVK.js} +29 -29
  41. package/dist/cli/{db-HVAQDN7U.mjs → db-KKC6CT3W.mjs} +4 -4
  42. package/dist/cli/{describe-LAAOJYI2.js → describe-HGYOEBYE.js} +16 -16
  43. package/dist/cli/{describe-OKSZOU3V.mjs → describe-YEVXHHHH.mjs} +9 -9
  44. package/dist/cli/{executions-5WENZ6MO.js → executions-ISG5EEOO.js} +6 -6
  45. package/dist/cli/{executions-T56YNXAC.mjs → executions-MMNCPQNE.mjs} +4 -4
  46. package/dist/cli/{feedback-RU4EKJYX.mjs → feedback-3HNMWGJA.mjs} +3 -3
  47. package/dist/cli/{feedback-YZILULGJ.js → feedback-U5SC3CAL.js} +7 -7
  48. package/dist/cli/git-BULAJZKJ.js +23 -0
  49. package/dist/cli/{git-LX7NYWDT.mjs → git-REGKM36C.mjs} +4 -4
  50. package/dist/cli/index.js +79 -79
  51. package/dist/cli/index.mjs +31 -31
  52. package/dist/cli/{legacy-noops-K6W26TQA.js → legacy-noops-GTUAF7TM.js} +7 -7
  53. package/dist/cli/{legacy-noops-SN44IUWD.mjs → legacy-noops-KUIQG6VC.mjs} +4 -4
  54. package/dist/cli/{monitors-BQ5SXRDD.mjs → monitors-7IYKWVMJ.mjs} +4 -4
  55. package/dist/cli/{monitors-R4D7X7PL.js → monitors-V5RFXFO5.js} +85 -85
  56. package/dist/cli/{org-6GWQHHLF.js → org-77BRBYNS.js} +60 -60
  57. package/dist/cli/{org-RNR3CGVL.mjs → org-RSN7GZN4.mjs} +4 -4
  58. package/dist/cli/play-IKPMX4VZ.js +153 -0
  59. package/dist/cli/{play-CPG4HFXR.mjs → play-ZPWFRN3I.mjs} +8 -8
  60. package/dist/cli/{providers-AP5NBYJF.js → providers-2LD2BJUO.js} +7 -7
  61. package/dist/cli/{providers-YEFPQW3K.mjs → providers-TVELPXNI.mjs} +4 -4
  62. package/dist/cli/{quickstart-IT43KYUN.mjs → quickstart-7RUT33IL.mjs} +3 -3
  63. package/dist/cli/{quickstart-5D6WSPKU.js → quickstart-CYL2GNSK.js} +5 -5
  64. package/dist/cli/search-2ZFU42IA.js +26 -0
  65. package/dist/cli/{search-BVTZBNF3.mjs → search-GJURFP4W.mjs} +5 -5
  66. package/dist/cli/{secrets-L6Q2JJNX.js → secrets-KWBPK5GP.js} +13 -13
  67. package/dist/cli/{secrets-7HG77SLP.mjs → secrets-L5LNMMSB.mjs} +4 -4
  68. package/dist/cli/{sessions-TNXYON2R.js → sessions-5DWIUOGX.js} +5 -5
  69. package/dist/cli/{sessions-SSBDCVQN.mjs → sessions-5EAEXNJY.mjs} +4 -4
  70. package/dist/cli/{settings-4FKK3LUF.js → settings-KBPJL4KI.js} +74 -74
  71. package/dist/cli/{settings-5L23COY7.mjs → settings-OPD6MT4Q.mjs} +7 -7
  72. package/dist/cli/{setup-EB5JLUFH.js → setup-B5UDLN32.js} +41 -41
  73. package/dist/cli/{setup-GXXWJFRV.mjs → setup-GFHBMHWJ.mjs} +6 -6
  74. package/dist/cli/{skills-ETEFVVPT.mjs → skills-3245BDMO.mjs} +4 -4
  75. package/dist/cli/skills-I5MHLBGC.js +28 -0
  76. package/dist/cli/tools-QQVNDK7W.js +40 -0
  77. package/dist/cli/{tools-HDTU55RW.mjs → tools-ZKXMREZU.mjs} +6 -6
  78. package/dist/cli/update-6OCUCA4T.js +28 -0
  79. package/dist/cli/{update-FR5QUV5I.mjs → update-NBHQD6N6.mjs} +6 -6
  80. package/dist/cli/{workflow-BE77YVLP.mjs → workflow-5XYAE4BX.mjs} +5 -5
  81. package/dist/cli/{workflow-OFWWX4ZP.js → workflow-T3IWKJI2.js} +15 -15
  82. package/dist/index.js +6 -6
  83. package/dist/index.mjs +3 -3
  84. package/dist/install-integrity.json +76 -76
  85. package/dist/plays/bundle-play-file.mjs +1 -1
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-LVTYDMEL.js +0 -31
  92. package/dist/cli/client-V4OIXTP6.js +0 -20
  93. package/dist/cli/git-XASJHFDR.js +0 -23
  94. package/dist/cli/play-2V2Y4P3P.js +0 -153
  95. package/dist/cli/search-O66KVPGA.js +0 -26
  96. package/dist/cli/skills-XFMWA4WX.js +0 -28
  97. package/dist/cli/tools-3TWNYKZY.js +0 -40
  98. package/dist/cli/update-AEBCM2LT.js +0 -28
@@ -1,17 +1,17 @@
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 _chunkNR5ILIKIjs = require('./chunk-NR5ILIKI.js');
4
+ var _chunkURO52CD6js = require('./chunk-URO52CD6.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkKLAWLBSPjs = require('./chunk-KLAWLBSP.js');
8
+ var _chunkX6A7PAR6js = require('./chunk-X6A7PAR6.js');
9
9
 
10
10
 
11
- var _chunkBYIWZOSAjs = require('./chunk-BYIWZOSA.js');
11
+ var _chunkA4LUPRGLjs = require('./chunk-A4LUPRGL.js');
12
12
 
13
13
 
14
- var _chunkNUJIZBLAjs = require('./chunk-NUJIZBLA.js');
14
+ var _chunkAYAEVVB5js = require('./chunk-AYAEVVB5.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunkKLAWLBSPjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkX6A7PAR6js.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunkNR5ILIKIjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunkNR5ILIKIjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunkURO52CD6js.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkURO52CD6js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkNUJIZBLAjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkAYAEVVB5js.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunkKLAWLBSPjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkX6A7PAR6js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkNUJIZBLAjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkAYAEVVB5js.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunkKLAWLBSPjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkX6A7PAR6js.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
1164
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills --json
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
1207
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkBYIWZOSAjs = require('./chunk-BYIWZOSA.js');
4
+ var _chunkA4LUPRGLjs = require('./chunk-A4LUPRGL.js');
5
5
 
6
6
 
7
- var _chunkNUJIZBLAjs = require('./chunk-NUJIZBLA.js');
7
+ var _chunkAYAEVVB5js = require('./chunk-AYAEVVB5.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkNUJIZBLAjs.agentSessionIdFromEnvironment.call(void 0, );
142
+ const sessionId = _chunkAYAEVVB5js.agentSessionIdFromEnvironment.call(void 0, );
143
143
  const cwd = process.cwd();
144
144
  return _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(newestFirst.find((candidate) => candidate.sessionId === sessionId), () => ( newestFirst.find(
145
145
  (candidate) => sessionStartedInDirectory(candidate, cwd)
@@ -448,7 +448,7 @@ function buildSessionUploadContent(raw) {
448
448
  return { encodedContent: encoded, needsChunking: true };
449
449
  }
450
450
  async function uploadPayload(path, payload) {
451
- const { http } = _chunkBYIWZOSAjs.getAuthedHttpClient.call(void 0, );
451
+ const { http } = _chunkA4LUPRGLjs.getAuthedHttpClient.call(void 0, );
452
452
  return await http.post(path, payload);
453
453
  }
454
454
  async function uploadChunkedSessions(sessions, options) {
@@ -481,7 +481,7 @@ async function uploadChunkedSessions(sessions, options) {
481
481
  ...options.rating ? { rating: options.rating } : {}
482
482
  });
483
483
  const sessionIds = sessions.map((session) => session.sessionId);
484
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
484
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response,
487
487
  ok: true,
@@ -513,7 +513,7 @@ async function handleSessionsSend(options) {
513
513
  filename: _path.basename.call(void 0, filePath),
514
514
  ...rating ? { rating } : {}
515
515
  });
516
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
516
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
517
517
  {
518
518
  ...response2,
519
519
  ok: true,
@@ -563,7 +563,7 @@ async function handleSessionsSend(options) {
563
563
  ...rating ? { rating } : {}
564
564
  });
565
565
  const sessionIds = built.map((session) => session.sessionId);
566
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
566
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
567
567
  {
568
568
  ...response,
569
569
  ok: true,
@@ -671,7 +671,7 @@ ${refreshMeta}
671
671
  </body>
672
672
  </html>`;
673
673
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
674
- _chunkBYIWZOSAjs.printCommandEnvelope.call(void 0,
674
+ _chunkA4LUPRGLjs.printCommandEnvelope.call(void 0,
675
675
  {
676
676
  ok: true,
677
677
  file: outputPath,
@@ -15,7 +15,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkNUJIZBLAjs = require('./chunk-NUJIZBLA.js');
18
+ var _chunkAYAEVVB5js = require('./chunk-AYAEVVB5.js');
19
19
 
20
20
 
21
21
 
@@ -167,7 +167,7 @@ async function queryCustomerDatabase(http, input) {
167
167
  if (error instanceof _chunk7P5AA3SNjs.DeeplineError && (_optionalChain([error, 'access', _2 => _2.code, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("NETWORK_")]) || // Older API readers return PostgreSQL errors as HTTP 400, including
168
168
  // lost connections and explicitly unknown transaction resolution.
169
169
  /^08[A-Z0-9]{3}$/.test(_nullishCoalesce(error.code, () => ( ""))) || ["57P01", "57P02", "57P03"].includes(_nullishCoalesce(error.code, () => ( ""))) || error.statusCode === 408 || (_nullishCoalesce(error.statusCode, () => ( 0))) >= 500)) {
170
- throw new (0, _chunkNUJIZBLAjs.CustomerDbQueryOutcomeUnknownError)(
170
+ throw new (0, _chunkAYAEVVB5js.CustomerDbQueryOutcomeUnknownError)(
171
171
  error,
172
172
  plan.request.body.operation_key
173
173
  );
@@ -175,7 +175,7 @@ async function queryCustomerDatabase(http, input) {
175
175
  throw error;
176
176
  }
177
177
  if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
178
- throw new (0, _chunkNUJIZBLAjs.CustomerDbQueryOutcomeUnknownError)(
178
+ throw new (0, _chunkAYAEVVB5js.CustomerDbQueryOutcomeUnknownError)(
179
179
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
180
180
  "The SQL response did not contain a valid result.",
181
181
  200,
@@ -186,7 +186,7 @@ async function queryCustomerDatabase(http, input) {
186
186
  }
187
187
  const operation = result.operation;
188
188
  if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
189
- throw new (0, _chunkNUJIZBLAjs.CustomerDbQueryOutcomeUnknownError)(
189
+ throw new (0, _chunkAYAEVVB5js.CustomerDbQueryOutcomeUnknownError)(
190
190
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
191
191
  "The server did not confirm the original atomic SQL operation.",
192
192
  200,
@@ -2875,8 +2875,8 @@ function runtimeSelectionHeaders(runtime) {
2875
2875
  }
2876
2876
  const receivers = _optionalChain([process, 'access', _102 => _102.env, 'access', _103 => _103.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _104 => _104.trim, 'call', _105 => _105()]);
2877
2877
  return {
2878
- [_chunkNUJIZBLAjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2879
- ...receivers ? { [_chunkNUJIZBLAjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2878
+ [_chunkAYAEVVB5js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2879
+ ...receivers ? { [_chunkAYAEVVB5js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2880
2880
  };
2881
2881
  }
2882
2882
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2892,7 +2892,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2892
2892
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2893
2893
  );
2894
2894
  }
2895
- return { [_chunkNUJIZBLAjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2895
+ return { [_chunkAYAEVVB5js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2896
2896
  }
2897
2897
  function normalizeTestPolicyOverrides(value, source) {
2898
2898
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -3182,8 +3182,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
3182
3182
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3183
3183
  */
3184
3184
  constructor(options) {
3185
- this.config = _chunkNUJIZBLAjs.resolveConfig.call(void 0, options);
3186
- this.http = new (0, _chunkNUJIZBLAjs.HttpClient)(this.config);
3185
+ this.config = _chunkAYAEVVB5js.resolveConfig.call(void 0, options);
3186
+ this.http = new (0, _chunkAYAEVVB5js.HttpClient)(this.config);
3187
3187
  this.toolCalls = new ToolCalls(
3188
3188
  this.http,
3189
3189
  this.config.timeout,