deepline 0.3.529 → 0.3.530

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 (127) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +99 -4
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +29 -0
  4. package/dist/cli/{auth-V7A6TU4G.mjs → auth-LRWNDQFT.mjs} +5 -5
  5. package/dist/cli/auth-QFIXECQV.js +43 -0
  6. package/dist/cli/{billing-XF6SAA5Y.js → billing-5FDPWGCG.js} +79 -79
  7. package/dist/cli/{billing-5VBUYPWW.mjs → billing-7T73MRYF.mjs} +6 -6
  8. package/dist/cli/{chunk-KSUWW26I.js → chunk-2FLODRM2.js} +13 -13
  9. package/dist/cli/{chunk-R62Z4INU.mjs → chunk-2FLRKNME.mjs} +2 -2
  10. package/dist/cli/{chunk-GPU4ULMY.mjs → chunk-2LKVNWRA.mjs} +10 -10
  11. package/dist/cli/{chunk-KAI64HV7.js → chunk-32NTC5UD.js} +7 -7
  12. package/dist/cli/{chunk-ETCGTKLF.mjs → chunk-3MAHDV5C.mjs} +1 -1
  13. package/dist/cli/{chunk-6XZIXDLC.mjs → chunk-4VQ63Y6S.mjs} +5 -5
  14. package/dist/cli/{chunk-XZ6OY3BH.js → chunk-4WPIORJX.js} +1 -1
  15. package/dist/cli/{chunk-7Z3ZXSOX.js → chunk-5B37ER3C.js} +3 -3
  16. package/dist/cli/{chunk-C2WTS7WY.mjs → chunk-5DJUNUHN.mjs} +5 -5
  17. package/dist/cli/{chunk-FXHKNZM2.mjs → chunk-5KX3TWBK.mjs} +1 -1
  18. package/dist/cli/{chunk-ZULLXAJJ.mjs → chunk-6NG3FRJB.mjs} +5 -5
  19. package/dist/cli/{chunk-AP7DNG6D.js → chunk-7E7CP5KA.js} +4 -4
  20. package/dist/cli/{chunk-OA4FI5ZM.js → chunk-7WGMCOM6.js} +2 -2
  21. package/dist/cli/{chunk-E7CN5GEM.mjs → chunk-A5MYJM4K.mjs} +2 -2
  22. package/dist/cli/{chunk-K55VBSCA.mjs → chunk-BVY4QRVT.mjs} +3 -3
  23. package/dist/cli/{chunk-4BKE63Q7.js → chunk-C44RZGM5.js} +26 -26
  24. package/dist/cli/{chunk-ZEIN5YJS.js → chunk-D7Y7I4EE.js} +2 -2
  25. package/dist/cli/{chunk-RWY2QLJ4.js → chunk-E6L3NEFV.js} +41 -41
  26. package/dist/cli/{chunk-FCNSJHED.js → chunk-EADHDZW2.js} +6 -6
  27. package/dist/cli/{chunk-XE4PQE2O.mjs → chunk-ERMDXXP5.mjs} +1 -1
  28. package/dist/cli/{chunk-NVH6ULDP.js → chunk-GW76IDID.js} +22 -22
  29. package/dist/cli/{chunk-NDVCVFZW.mjs → chunk-HCWPX2UP.mjs} +2 -2
  30. package/dist/cli/{chunk-EW33RCLA.mjs → chunk-I2YXEHDO.mjs} +3 -3
  31. package/dist/cli/{chunk-YVJJEMNQ.mjs → chunk-J6XSBTEX.mjs} +1 -1
  32. package/dist/cli/{chunk-4A4OQMJX.mjs → chunk-K4Y6CNFV.mjs} +1 -1
  33. package/dist/cli/{chunk-XEZSORKG.js → chunk-KEXGBXUG.js} +5 -5
  34. package/dist/cli/{chunk-PAAREIKG.mjs → chunk-KI63L5H3.mjs} +2 -2
  35. package/dist/cli/{chunk-2GV54JFN.js → chunk-KUHH7RW4.js} +44 -44
  36. package/dist/cli/{chunk-M47I47FK.js → chunk-L4QR7CYL.js} +14 -14
  37. package/dist/cli/{chunk-HV4UKMBB.mjs → chunk-LNZILMVK.mjs} +4 -4
  38. package/dist/cli/{chunk-7RTDSHMB.js → chunk-M4Q4LEMM.js} +2 -2
  39. package/dist/cli/{chunk-7SRZTSHU.js → chunk-MHR3XVJD.js} +5 -5
  40. package/dist/cli/{chunk-BOWZ3OOU.mjs → chunk-MVF7ZBJX.mjs} +1 -1
  41. package/dist/cli/{chunk-QTQWPSAK.js → chunk-MVFKZQ7E.js} +3 -3
  42. package/dist/cli/{chunk-PJDYY5JL.mjs → chunk-OUM2V7R6.mjs} +6 -6
  43. package/dist/cli/{chunk-FWC47SCG.mjs → chunk-QI2LKPW5.mjs} +2 -2
  44. package/dist/cli/{chunk-DKX5CGTG.mjs → chunk-QQ4LNSY5.mjs} +1 -1
  45. package/dist/cli/{chunk-ZYMX7KZE.mjs → chunk-QWEPCX6L.mjs} +2 -2
  46. package/dist/cli/{chunk-DPGPXARU.js → chunk-SJQ7Z3NI.js} +53 -53
  47. package/dist/cli/{chunk-TEFO5AS2.js → chunk-V4EK7ZZX.js} +98 -98
  48. package/dist/cli/{chunk-L3J7IAYE.js → chunk-VKVLJTW5.js} +9 -9
  49. package/dist/cli/{chunk-G4SYSUDB.mjs → chunk-VQMGCNX2.mjs} +5 -5
  50. package/dist/cli/{chunk-PNWBODCB.js → chunk-VYSQ76RP.js} +7 -7
  51. package/dist/cli/{chunk-NVSMSP2J.mjs → chunk-WAWOMHWO.mjs} +2 -2
  52. package/dist/cli/{chunk-H2JAXOPP.js → chunk-WWLIDAVT.js} +11 -11
  53. package/dist/cli/{chunk-BRQDN67G.js → chunk-WYI3VMTO.js} +6 -6
  54. package/dist/cli/{chunk-4722FTYU.js → chunk-X547OW3I.js} +16 -16
  55. package/dist/cli/{chunk-5NZEA2YV.mjs → chunk-XNWS2WJG.mjs} +1 -1
  56. package/dist/cli/{chunk-UMCEXTRM.js → chunk-YI7QOP6L.js} +16 -16
  57. package/dist/cli/{chunk-Y4P6XJHU.mjs → chunk-YVLPGYRS.mjs} +1 -1
  58. package/dist/cli/{csv-VEKMGGOE.js → csv-EFIEDJA2.js} +13 -13
  59. package/dist/cli/{csv-IHLVHG35.mjs → csv-VY2S7KKV.mjs} +4 -4
  60. package/dist/cli/{db-NTFFISQG.js → db-3DLI5TYW.js} +27 -27
  61. package/dist/cli/{db-RKLVYARP.mjs → db-D32CBDTN.mjs} +6 -6
  62. package/dist/cli/{describe-62ELB5DZ.mjs → describe-6MYKK2P3.mjs} +18 -18
  63. package/dist/cli/describe-U6HM52X6.js +50 -0
  64. package/dist/cli/{executions-X7NMKMXW.js → executions-QG3DEEY3.js} +8 -8
  65. package/dist/cli/{executions-5BMZW4C7.mjs → executions-U6TPX4RX.mjs} +6 -6
  66. package/dist/cli/{feedback-UHHWCIFD.mjs → feedback-YZ6H4VMQ.mjs} +6 -6
  67. package/dist/cli/{feedback-RDN5O4AT.js → feedback-ZSPW6NXL.js} +14 -14
  68. package/dist/cli/{git-3M33GKOW.mjs → git-ENN72IK4.mjs} +5 -5
  69. package/dist/cli/git-OBV73OVY.js +25 -0
  70. package/dist/cli/index.js +141 -141
  71. package/dist/cli/index.mjs +43 -43
  72. package/dist/cli/{legacy-noops-7RVRPF5B.mjs → legacy-noops-MNA6LWJU.mjs} +6 -6
  73. package/dist/cli/{legacy-noops-ENKN6JU4.js → legacy-noops-Q6EVYIGN.js} +9 -9
  74. package/dist/cli/{monitors-YOWDFGIR.js → monitors-BUH54HXJ.js} +100 -100
  75. package/dist/cli/{monitors-FJPDMUQ6.mjs → monitors-KENWEEWC.mjs} +7 -7
  76. package/dist/cli/{org-4GBLI75H.js → org-AHWQJMV7.js} +86 -86
  77. package/dist/cli/{org-H24LOZAC.mjs → org-HWOHKYP3.mjs} +6 -6
  78. package/dist/cli/{pages-BKM2D6BV.mjs → pages-I7DYTCW6.mjs} +6 -6
  79. package/dist/cli/{pages-WWVLYB5K.js → pages-Z5R7NYEF.js} +18 -18
  80. package/dist/cli/{play-TXHKCG6B.js → play-3LXZB4ED.js} +317 -317
  81. package/dist/cli/{play-M3CSYH3A.mjs → play-ET7CRVWJ.mjs} +18 -18
  82. package/dist/cli/{providers-EW5WTMTX.mjs → providers-GZSAZVHZ.mjs} +6 -6
  83. package/dist/cli/{providers-XL4SNFHU.js → providers-ZV2E7NGX.js} +9 -9
  84. package/dist/cli/{quickstart-SZSLS553.mjs → quickstart-5746NBS2.mjs} +4 -4
  85. package/dist/cli/{quickstart-AFQ5MCDL.js → quickstart-VJZAT4RY.js} +6 -6
  86. package/dist/cli/{run-MOFHGYSN.js → run-WGUAVYZC.js} +41 -41
  87. package/dist/cli/{run-TWXFNH6U.mjs → run-WOQ6XMTT.mjs} +23 -23
  88. package/dist/cli/search-IGHNMXI4.js +33 -0
  89. package/dist/cli/{search-2SW4V4IR.mjs → search-NNPFJYEW.mjs} +8 -8
  90. package/dist/cli/{search-output-I6DNYXNT.mjs → search-output-65HDEEFS.mjs} +4 -4
  91. package/dist/cli/{search-output-CJGRPJYD.js → search-output-K4ISMPKD.js} +6 -6
  92. package/dist/cli/{secrets-SD43HSLX.js → secrets-NBKGWMF4.js} +15 -15
  93. package/dist/cli/{secrets-4XXLR6QO.mjs → secrets-RK44OV3X.mjs} +6 -6
  94. package/dist/cli/{sessions-7G32HW5R.mjs → sessions-ULQJJN3J.mjs} +6 -6
  95. package/dist/cli/sessions-ZJNV4SEL.js +22 -0
  96. package/dist/cli/{settings-SYEBDDDJ.js → settings-IHNA7X3Y.js} +86 -86
  97. package/dist/cli/{settings-HSYRY2L5.mjs → settings-V5ZRL2EF.mjs} +13 -13
  98. package/dist/cli/{setup-XZVBPKZK.mjs → setup-54VZPJGM.mjs} +10 -10
  99. package/dist/cli/{setup-VTWCVCTK.js → setup-HTEBFMOQ.js} +50 -50
  100. package/dist/cli/{skills-OMPEUMRT.mjs → skills-3FCPWMHX.mjs} +8 -8
  101. package/dist/cli/skills-ZCJ6FOOK.js +37 -0
  102. package/dist/cli/{tools-UEDNJI4G.mjs → tools-2NTDNUQT.mjs} +17 -17
  103. package/dist/cli/tools-Q75XC2BS.js +57 -0
  104. package/dist/cli/{update-4YVCUSSI.mjs → update-25MTBTGU.mjs} +10 -10
  105. package/dist/cli/update-3G3GO7IE.js +35 -0
  106. package/dist/cli/{views-ZCCSKWMP.js → views-37K4JNNS.js} +18 -18
  107. package/dist/cli/{views-4FP4AJQ2.mjs → views-OBE5LUSW.mjs} +6 -6
  108. package/dist/cli/{workflow-SM4OD4VJ.js → workflow-6YTIHHJH.js} +17 -17
  109. package/dist/cli/{workflow-A2D5FALP.mjs → workflow-HAPCL4K6.mjs} +7 -7
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +104 -104
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/dist/server.js +5 -5
  118. package/dist/server.mjs +3 -3
  119. package/package.json +1 -1
  120. package/dist/cli/auth-P7M7SXM5.js +0 -43
  121. package/dist/cli/describe-JXOGKT6C.js +0 -50
  122. package/dist/cli/git-7VZGGIGZ.js +0 -25
  123. package/dist/cli/search-V2AGWRLO.js +0 -33
  124. package/dist/cli/sessions-FIRDFPIZ.js +0 -22
  125. package/dist/cli/skills-RUY7CION.js +0 -37
  126. package/dist/cli/tools-KLIW7G6T.js +0 -57
  127. package/dist/cli/update-FDUZRKKU.js +0 -35
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkPNWBODCBjs = require('./chunk-PNWBODCB.js');
6
+ var _chunkVYSQ76RPjs = require('./chunk-VYSQ76RP.js');
7
7
 
8
8
 
9
9
  var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
@@ -11,7 +11,7 @@ var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
14
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
15
15
 
16
16
 
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkKAI64HV7js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk32NTC5UDjs.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 ? _chunkKAI64HV7js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkKAI64HV7js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk32NTC5UDjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk32NTC5UDjs.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 = _chunkPNWBODCBjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkVYSQ76RPjs.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 : _chunkPNWBODCBjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkVYSQ76RPjs.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 : _chunkKAI64HV7js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkKAI64HV7js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk32NTC5UDjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunk32NTC5UDjs.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 || _chunkKAI64HV7js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk32NTC5UDjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-ZULLXAJJ.mjs";
7
+ } from "./chunk-6NG3FRJB.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-C2WTS7WY.mjs";
11
+ } from "./chunk-5DJUNUHN.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-E7CN5GEM.mjs";
15
+ } from "./chunk-A5MYJM4K.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-XE4PQE2O.mjs";
18
+ } from "./chunk-ERMDXXP5.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-BOWZ3OOU.mjs";
21
+ } from "./chunk-MVF7ZBJX.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -31,7 +31,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkAP7DNG6Djs = require('./chunk-AP7DNG6D.js');
34
+ var _chunk7E7CP5KAjs = require('./chunk-7E7CP5KA.js');
35
35
 
36
36
 
37
37
  var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
@@ -674,7 +674,7 @@ var ToolCalls = class {
674
674
  idempotencyKey,
675
675
  onResponse: (response2) => {
676
676
  lastResponse = null;
677
- atomicToolsSupported = response2.headers.get(_chunkAP7DNG6Djs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
677
+ atomicToolsSupported = response2.headers.get(_chunk7E7CP5KAjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
678
678
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
679
679
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
680
680
  try {
@@ -1060,8 +1060,8 @@ function runtimeSelectionHeaders(runtime, env) {
1060
1060
  }
1061
1061
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1062
1062
  return {
1063
- [_chunkAP7DNG6Djs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1064
- ...receivers ? { [_chunkAP7DNG6Djs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1063
+ [_chunk7E7CP5KAjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1064
+ ...receivers ? { [_chunk7E7CP5KAjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1065
1065
  };
1066
1066
  }
1067
1067
  function normalizeTestPolicyOverrides(value, source) {
@@ -1132,7 +1132,7 @@ var PlayClient = class {
1132
1132
  return _chunk2KHUFWTKjs.startPlayRun.call(void 0,
1133
1133
  this.http,
1134
1134
  resolved.request,
1135
- _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkAP7DNG6Djs.SDK_API_MAJOR) } : headers,
1135
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk7E7CP5KAjs.SDK_API_MAJOR) } : headers,
1136
1136
  options
1137
1137
  );
1138
1138
  }
@@ -3229,7 +3229,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3229
3229
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3230
3230
  );
3231
3231
  }
3232
- return { [_chunkAP7DNG6Djs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3232
+ return { [_chunk7E7CP5KAjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3233
3233
  }
3234
3234
  function sleep(ms) {
3235
3235
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4156,7 +4156,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4156
4156
  );
4157
4157
  const headers = _optionalChain([options, 'optionalAccess', _188 => _188.cliAdmission]) ? {
4158
4158
  ...runtimeHeaders,
4159
- "X-Deepline-API-Major": String(_chunkAP7DNG6Djs.SDK_API_MAJOR)
4159
+ "X-Deepline-API-Major": String(_chunk7E7CP5KAjs.SDK_API_MAJOR)
4160
4160
  } : runtimeHeaders;
4161
4161
  const http = this.http;
4162
4162
  let submitted = false;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-4A4OQMJX.mjs";
3
+ } from "./chunk-K4Y6CNFV.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-C2WTS7WY.mjs";
8
+ } from "./chunk-5DJUNUHN.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkXEZSORKGjs = require('./chunk-XEZSORKG.js');
6
+ var _chunkKEXGBXUGjs = require('./chunk-KEXGBXUG.js');
7
7
 
8
8
 
9
- var _chunkM47I47FKjs = require('./chunk-M47I47FK.js');
9
+ var _chunkL4QR7CYLjs = require('./chunk-L4QR7CYL.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
13
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
17
+ var _chunk5B37ER3Cjs = require('./chunk-5B37ER3C.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, _chunk7Z3ZXSOXjs.sdkCliStateDirPath.call(void 0, _chunk7Z3ZXSOXjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunk5B37ER3Cjs.sdkCliStateDirPath.call(void 0, _chunk5B37ER3Cjs.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, _chunkXEZSORKGjs.DeeplineClient)();
137
+ const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-CJGRPJYD.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-K4ISMPKD.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunk32NTC5UDjs.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 = _chunkKAI64HV7js.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkM47I47FKjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunk32NTC5UDjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkL4QR7CYLjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
189
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -8,7 +8,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
11
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.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 _chunkKAI64HV7js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunk32NTC5UDjs.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 _chunkKAI64HV7js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunk32NTC5UDjs.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
- _chunkKAI64HV7js.markJsonOutputHandled.call(void 0, );
771
+ _chunk32NTC5UDjs.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
- _chunkKAI64HV7js.writeRawStderr.call(void 0, text);
1031
- _chunkKAI64HV7js.markJsonOutputHandled.call(void 0, );
1030
+ _chunk32NTC5UDjs.writeRawStderr.call(void 0, text);
1031
+ _chunk32NTC5UDjs.markJsonOutputHandled.call(void 0, );
1032
1032
  } else {
1033
1033
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1034
  }
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkTEFO5AS2js = require('./chunk-TEFO5AS2.js');
3
+ var _chunkV4EK7ZZXjs = require('./chunk-V4EK7ZZX.js');
4
4
 
5
5
 
6
- var _chunkBRQDN67Gjs = require('./chunk-BRQDN67G.js');
6
+ var _chunkWYI3VMTOjs = require('./chunk-WYI3VMTO.js');
7
7
 
8
8
 
9
9
 
@@ -14,18 +14,18 @@ var _chunk5YAJGRWBjs = require('./chunk-5YAJGRWB.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunkXEZSORKGjs = require('./chunk-XEZSORKG.js');
17
+ var _chunkKEXGBXUGjs = require('./chunk-KEXGBXUG.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkM47I47FKjs = require('./chunk-M47I47FK.js');
21
+ var _chunkL4QR7CYLjs = require('./chunk-L4QR7CYL.js');
22
22
 
23
23
 
24
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
24
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
25
25
 
26
26
 
27
27
 
28
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
28
+ var _chunk5B37ER3Cjs = require('./chunk-5B37ER3C.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunkM47I47FKjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkL4QR7CYLjs.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunk7Z3ZXSOXjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunk5B37ER3Cjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunk5B37ER3Cjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunkM47I47FKjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkL4QR7CYLjs.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunk5YAJGRWBjs.findNamed.call(void 0, name, options, _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, new (0, _chunkXEZSORKGjs.DeeplineClient)()));
57
+ return _chunk5YAJGRWBjs.findNamed.call(void 0, name, options, _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, new (0, _chunkKEXGBXUGjs.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkXEZSORKGjs.DeeplineClient)();
60
+ const client = new (0, _chunkKEXGBXUGjs.DeeplineClient)();
61
61
  const lookups = _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, client);
62
62
  const outcome = await _chunk5YAJGRWBjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkTEFO5AS2js.seedToolListScript
66
+ seedStarterScript: _chunkV4EK7ZZXjs.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
92
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunkBRQDN67Gjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunkWYI3VMTOjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-E7CN5GEM.mjs";
3
+ } from "./chunk-A5MYJM4K.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -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 _chunkOA4FI5ZMjs = require('./chunk-OA4FI5ZM.js');
4
+ var _chunk7WGMCOM6js = require('./chunk-7WGMCOM6.js');
5
5
 
6
6
 
7
- var _chunkRWY2QLJ4js = require('./chunk-RWY2QLJ4.js');
7
+ var _chunkE6L3NEFVjs = require('./chunk-E6L3NEFV.js');
8
8
 
9
9
 
10
- var _chunk2GV54JFNjs = require('./chunk-2GV54JFN.js');
10
+ var _chunkKUHH7RW4js = require('./chunk-KUHH7RW4.js');
11
11
 
12
12
 
13
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
13
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
14
14
 
15
15
 
16
- var _chunk7Z3ZXSOXjs = require('./chunk-7Z3ZXSOX.js');
16
+ var _chunk5B37ER3Cjs = require('./chunk-5B37ER3C.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 = _chunk2GV54JFNjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkKUHH7RW4js.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 ? _chunkOA4FI5ZMjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkOA4FI5ZMjs.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 ? _chunk7WGMCOM6js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk7WGMCOM6js.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()]) || _chunk7Z3ZXSOXjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk5B37ER3Cjs.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 = _chunk2GV54JFNjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkKUHH7RW4js.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, () => ( _chunk7Z3ZXSOXjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk5B37ER3Cjs.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 _chunkRWY2QLJ4js.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkE6L3NEFVjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
1284
+ _chunk32NTC5UDjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk32NTC5UDjs.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
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0,
1327
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -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-BOWZ3OOU.mjs";
34
+ } from "./chunk-MVF7ZBJX.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-QNHHZ63P.mjs";
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkKAI64HV7js = require('./chunk-KAI64HV7.js');
8
- require('./chunk-7Z3ZXSOX.js');
9
- require('./chunk-AP7DNG6D.js');
7
+ var _chunk32NTC5UDjs = require('./chunk-32NTC5UD.js');
8
+ require('./chunk-5B37ER3C.js');
9
+ require('./chunk-7E7CP5KA.js');
10
10
  require('./chunk-T2N3B7IQ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-SQWET4SL.js');
13
- require('./chunk-XZ6OY3BH.js');
13
+ require('./chunk-4WPIORJX.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkKAI64HV7js.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunk32NTC5UDjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkKAI64HV7js.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunk32NTC5UDjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkKAI64HV7js.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunk32NTC5UDjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkKAI64HV7js.printJson.call(void 0, {
174
+ _chunk32NTC5UDjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkKAI64HV7js.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunk32NTC5UDjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkKAI64HV7js.printJson.call(void 0, {
198
+ _chunk32NTC5UDjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkKAI64HV7js.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunk32NTC5UDjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, payload, {
492
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkKAI64HV7js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunk32NTC5UDjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-E7CN5GEM.mjs";
8
- import "./chunk-XE4PQE2O.mjs";
9
- import "./chunk-BOWZ3OOU.mjs";
7
+ } from "./chunk-A5MYJM4K.mjs";
8
+ import "./chunk-ERMDXXP5.mjs";
9
+ import "./chunk-MVF7ZBJX.mjs";
10
10
  import "./chunk-QNHHZ63P.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-ZPGGW27Q.mjs";
13
- import "./chunk-YVJJEMNQ.mjs";
13
+ import "./chunk-J6XSBTEX.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16