deepline 0.3.496 → 0.3.498

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/monitors/billing/policy-builders.ts +2 -0
  3. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +8 -1
  4. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +23 -5
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +4 -3
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-admission-outcome.ts +8 -3
  9. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +470 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +318 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +7 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +19 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +138 -0
  15. package/dist/bundling-sources/shared_libs/plays/docflow.ts +9 -2
  16. package/dist/cli/auth-NYYFDCMT.js +43 -0
  17. package/dist/cli/{auth-EU4EFRDJ.mjs → auth-TNYYAPIX.mjs} +5 -5
  18. package/dist/cli/{billing-GMVH3RBX.mjs → billing-G6QBOZAE.mjs} +6 -6
  19. package/dist/cli/{billing-4JJLTVK4.js → billing-MP43H3ZK.js} +79 -79
  20. package/dist/cli/{chunk-IXPZROZX.mjs → chunk-2QS3MCJ2.mjs} +2 -2
  21. package/dist/cli/{chunk-O36ZPHJG.mjs → chunk-3XNYGMPZ.mjs} +10 -10
  22. package/dist/cli/{chunk-UT3ORL35.mjs → chunk-4RSOYJ67.mjs} +3 -3
  23. package/dist/cli/{chunk-SH6HOR25.mjs → chunk-4TVN2676.mjs} +2 -2
  24. package/dist/cli/{chunk-5M4PLPTR.mjs → chunk-6JVJZ7YG.mjs} +1 -1
  25. package/dist/cli/{chunk-KKI5GWED.js → chunk-BQIEYWGQ.js} +94 -94
  26. package/dist/cli/{chunk-CNMIYEB4.mjs → chunk-C7BH7T3T.mjs} +2 -2
  27. package/dist/cli/{chunk-GKZUGHDK.js → chunk-DB7SJKGI.js} +6 -6
  28. package/dist/cli/{chunk-GRIHMNYM.js → chunk-EAQXRAVF.js} +4 -4
  29. package/dist/cli/{chunk-YHFW7MBT.mjs → chunk-EHOC6NCN.mjs} +1 -1
  30. package/dist/cli/{chunk-6UUZM4FY.mjs → chunk-ELZYHPE7.mjs} +5 -5
  31. package/dist/cli/{chunk-5YSIHOGV.js → chunk-FPRS3FP4.js} +26 -26
  32. package/dist/cli/{chunk-WTZ7Y3IZ.mjs → chunk-H7YR4EYF.mjs} +2 -2
  33. package/dist/cli/{chunk-MWQ3WQ4Q.js → chunk-IBCROFZW.js} +41 -41
  34. package/dist/cli/{chunk-6QIAEXRH.mjs → chunk-IE6FYMUS.mjs} +1 -1
  35. package/dist/cli/{chunk-EX4JEFYI.js → chunk-IUCAVYXR.js} +16 -16
  36. package/dist/cli/{chunk-FXPICCUU.mjs → chunk-KLA4IUOI.mjs} +1 -1
  37. package/dist/cli/{chunk-QEBQIGXP.js → chunk-KRR2Z2FH.js} +2 -2
  38. package/dist/cli/{chunk-R4H5MCG4.mjs → chunk-KV4RNW2H.mjs} +4 -4
  39. package/dist/cli/{chunk-U6SE6757.mjs → chunk-LGE6ZOEO.mjs} +1 -1
  40. package/dist/cli/{chunk-IMWJRBV5.mjs → chunk-MRHMC33S.mjs} +1 -1
  41. package/dist/cli/{chunk-7Q7VPFPR.mjs → chunk-O4H53SJ4.mjs} +2 -2
  42. package/dist/cli/{chunk-WCBZHSC4.mjs → chunk-OFNXUDEC.mjs} +5 -5
  43. package/dist/cli/{chunk-5GK6J7MH.js → chunk-OL2QEEXF.js} +5 -5
  44. package/dist/cli/{chunk-7NBDLK3N.mjs → chunk-PAHFVOFZ.mjs} +1 -1
  45. package/dist/cli/{chunk-JU4LIA2T.js → chunk-PHBJ2VDS.js} +7 -7
  46. package/dist/cli/{chunk-W7DZ6UGP.js → chunk-PKTJN6PF.js} +3 -3
  47. package/dist/cli/{chunk-WEGGJMNF.js → chunk-QDNP6KOF.js} +21 -21
  48. package/dist/cli/{chunk-QZ7I4NZZ.js → chunk-QERMP4TW.js} +2 -2
  49. package/dist/cli/{chunk-UTG3STCR.js → chunk-QUIJUNXX.js} +3 -3
  50. package/dist/cli/{chunk-E3KXXJWR.mjs → chunk-RZA6HSXX.mjs} +6 -6
  51. package/dist/cli/{chunk-4NKAM4GX.mjs → chunk-RZO743TC.mjs} +2 -2
  52. package/dist/cli/{chunk-3KA466RV.mjs → chunk-SR3PRGWB.mjs} +1 -1
  53. package/dist/cli/{chunk-3HIPDJWJ.js → chunk-TDUTNTA5.js} +53 -53
  54. package/dist/cli/{chunk-QN6IULFT.js → chunk-TLG75Q77.js} +53 -53
  55. package/dist/cli/{chunk-ZL4Q4T3G.js → chunk-TPQFCUPV.js} +7 -7
  56. package/dist/cli/{chunk-AOBAVBSX.js → chunk-UA2GU7NB.js} +7 -7
  57. package/dist/cli/{chunk-QYXUZX5N.mjs → chunk-UUFZFJL4.mjs} +4 -4
  58. package/dist/cli/{chunk-7U6W3CKT.mjs → chunk-VETP54NO.mjs} +4 -4
  59. package/dist/cli/{chunk-Z27R2BG7.js → chunk-VFYKFPZD.js} +16 -16
  60. package/dist/cli/{chunk-JEPNE4N5.js → chunk-VUNAIAMX.js} +5 -5
  61. package/dist/cli/{chunk-J55ZM5CK.js → chunk-XGUGFGCF.js} +3 -3
  62. package/dist/cli/{chunk-HIAFBOYA.js → chunk-XNYAIV4E.js} +8 -8
  63. package/dist/cli/{chunk-73CBLBNP.js → chunk-XUTIBRKF.js} +1 -1
  64. package/dist/cli/{chunk-PHVRS56F.js → chunk-YCGVVUGX.js} +9 -9
  65. package/dist/cli/{chunk-DFW6P6ZN.mjs → chunk-ZEYB6QPW.mjs} +2 -2
  66. package/dist/cli/{csv-ET7ESAPM.mjs → csv-LBUOESU2.mjs} +4 -4
  67. package/dist/cli/{csv-JWBLNEPC.js → csv-SCXUWRVV.js} +13 -13
  68. package/dist/cli/{db-4PIWQPR6.mjs → db-3SI2OXIV.mjs} +6 -6
  69. package/dist/cli/{db-3ZGQXWTQ.js → db-CC2D2GSL.js} +27 -27
  70. package/dist/cli/describe-DAUL3SDQ.js +50 -0
  71. package/dist/cli/{describe-OREUCFC2.mjs → describe-ZK5CMT4M.mjs} +17 -17
  72. package/dist/cli/{executions-HW6PMZOF.mjs → executions-DVPHIG2I.mjs} +6 -6
  73. package/dist/cli/{executions-YR545MRU.js → executions-YKYQIRPP.js} +8 -8
  74. package/dist/cli/{feedback-FNVHJQEC.js → feedback-BVLYZ3BM.js} +8 -8
  75. package/dist/cli/{feedback-B2FJ6HPA.mjs → feedback-UQRMPU2S.mjs} +4 -4
  76. package/dist/cli/git-MFIJCRX6.js +25 -0
  77. package/dist/cli/{git-CCNPW3CA.mjs → git-WTMZ66HP.mjs} +5 -5
  78. package/dist/cli/index.js +137 -137
  79. package/dist/cli/index.mjs +40 -40
  80. package/dist/cli/{legacy-noops-VJLCXTPB.mjs → legacy-noops-RUQT6DB3.mjs} +5 -5
  81. package/dist/cli/{legacy-noops-2EBZS45D.js → legacy-noops-TVJ5WOBD.js} +8 -8
  82. package/dist/cli/{monitors-JNWKPCN5.js → monitors-UYYJBO6U.js} +95 -95
  83. package/dist/cli/{monitors-4AMETRW7.mjs → monitors-ZQBZMFUL.mjs} +7 -7
  84. package/dist/cli/{org-7FUHVFYU.js → org-4TZED2IF.js} +72 -72
  85. package/dist/cli/{org-LO6GSCCG.mjs → org-UACQHFY6.mjs} +6 -6
  86. package/dist/cli/{pages-TT4TZOOV.js → pages-HDYYGZOT.js} +18 -18
  87. package/dist/cli/{pages-PJ32M2PU.mjs → pages-R2KSZCYK.mjs} +6 -6
  88. package/dist/cli/{play-QJEZAIZB.mjs → play-DQ4AZ2NV.mjs} +34 -30
  89. package/dist/cli/{play-VN7DFYDP.js → play-ZMYWHAV3.js} +330 -326
  90. package/dist/cli/{providers-IDFN2FCR.js → providers-I7GXTYG4.js} +9 -9
  91. package/dist/cli/{providers-24ER3SND.mjs → providers-X53WCX46.mjs} +6 -6
  92. package/dist/cli/{quickstart-FKENQU34.mjs → quickstart-DKVF32MY.mjs} +4 -4
  93. package/dist/cli/{quickstart-AQDCRVUQ.js → quickstart-GKW46HUR.js} +6 -6
  94. package/dist/cli/{run-KXMRE5ZD.mjs → run-A36EBVLD.mjs} +22 -22
  95. package/dist/cli/{run-HCASJQZY.js → run-VLX775L5.js} +36 -36
  96. package/dist/cli/{search-3F2T33OE.mjs → search-QHO4AYS2.mjs} +7 -7
  97. package/dist/cli/search-STXZIGVB.js +32 -0
  98. package/dist/cli/{search-output-GFCEGNCJ.js → search-output-P7GWSTNO.js} +6 -6
  99. package/dist/cli/{search-output-U6PM5KAH.mjs → search-output-YF5HCWKU.mjs} +4 -4
  100. package/dist/cli/{secrets-KYVUP755.js → secrets-3X56AV2F.js} +15 -15
  101. package/dist/cli/{secrets-ZZSOVXOX.mjs → secrets-XTHBAX26.mjs} +6 -6
  102. package/dist/cli/{sessions-4Z62CVHL.mjs → sessions-4ZVZABXN.mjs} +5 -5
  103. package/dist/cli/{sessions-7JFKTUQS.js → sessions-AJUQJR4G.js} +6 -6
  104. package/dist/cli/{settings-OXG7IRVC.mjs → settings-AX5JF47R.mjs} +11 -11
  105. package/dist/cli/{settings-X4PSK4EW.js → settings-R7RQC5Z3.js} +78 -78
  106. package/dist/cli/{setup-RB7JE6KA.mjs → setup-DTXQODYK.mjs} +9 -9
  107. package/dist/cli/{setup-NCJEDW4W.js → setup-QB62E6K5.js} +49 -49
  108. package/dist/cli/skills-IEP5L5MQ.js +36 -0
  109. package/dist/cli/{skills-D4BR2WU2.mjs → skills-N6OY5ABC.mjs} +7 -7
  110. package/dist/cli/{tools-CEOD7VD5.mjs → tools-3T4GKGS4.mjs} +16 -16
  111. package/dist/cli/tools-JWBXEZKY.js +57 -0
  112. package/dist/cli/{update-UKUMQ6FC.mjs → update-QDT4SFW3.mjs} +9 -9
  113. package/dist/cli/update-QME3C2VP.js +34 -0
  114. package/dist/cli/{workflow-LFWQWZKS.js → workflow-FW3FPOWU.js} +17 -17
  115. package/dist/cli/{workflow-EKKTTSCJ.mjs → workflow-Q7LQETNW.mjs} +7 -7
  116. package/dist/index.js +9 -9
  117. package/dist/index.mjs +6 -6
  118. package/dist/install-integrity.json +100 -98
  119. package/dist/release.d.mts +1 -1
  120. package/dist/release.d.ts +1 -1
  121. package/dist/release.js +2 -2
  122. package/dist/release.mjs +1 -1
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-SHWC5FMY.js +0 -43
  127. package/dist/cli/describe-KO3OQBIR.js +0 -50
  128. package/dist/cli/git-X2QJ2B5O.js +0 -25
  129. package/dist/cli/search-OGY6SQDJ.js +0 -32
  130. package/dist/cli/skills-WWWFRDCA.js +0 -36
  131. package/dist/cli/tools-QMSAA3LC.js +0 -57
  132. package/dist/cli/update-HTDFPN7L.js +0 -34
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJ55ZM5CKjs = require('./chunk-J55ZM5CK.js');
5
+ var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
6
6
 
7
7
 
8
- var _chunkGRIHMNYMjs = require('./chunk-GRIHMNYM.js');
8
+ var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkJ55ZM5CKjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkJ55ZM5CKjs.HttpClient)(config) };
293
+ const config = _chunkXGUGFGCFjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkXGUGFGCFjs.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkGRIHMNYMjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkEAQXRAVFjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkGRIHMNYMjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkEAQXRAVFjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkJ55ZM5CKjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkXGUGFGCFjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkGRIHMNYMjs = require('./chunk-GRIHMNYM.js');
34
+ var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.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(_chunkGRIHMNYMjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkEAQXRAVFjs.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 {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkGRIHMNYMjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkGRIHMNYMjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkEAQXRAVFjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkEAQXRAVFjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkEQR5O2D2js.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkGRIHMNYMjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkEAQXRAVFjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkGRIHMNYMjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkEAQXRAVFjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4011,7 +4011,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4011
4011
  );
4012
4012
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4013
4013
  ...runtimeHeaders,
4014
- "X-Deepline-API-Major": String(_chunkGRIHMNYMjs.SDK_API_MAJOR)
4014
+ "X-Deepline-API-Major": String(_chunkEAQXRAVFjs.SDK_API_MAJOR)
4015
4015
  } : runtimeHeaders;
4016
4016
  const http = this.http;
4017
4017
  let submitted = false;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-6QIAEXRH.mjs";
3
+ } from "./chunk-IE6FYMUS.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-7NBDLK3N.mjs";
15
+ } from "./chunk-PAHFVOFZ.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-IMWJRBV5.mjs";
23
+ } from "./chunk-MRHMC33S.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-3KA466RV.mjs";
29
+ } from "./chunk-SR3PRGWB.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-4NKAM4GX.mjs";
6
+ } from "./chunk-RZO743TC.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-WTZ7Y3IZ.mjs";
9
+ } from "./chunk-H7YR4EYF.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-7NBDLK3N.mjs";
13
+ } from "./chunk-PAHFVOFZ.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -133,7 +133,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await import("./search-output-U6PM5KAH.mjs");
136
+ const { renderSearchResults } = await import("./search-output-YF5HCWKU.mjs");
137
137
  printCommandEnvelope(result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
@@ -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 _chunkQEBQIGXPjs = require('./chunk-QEBQIGXP.js');
4
+ var _chunkKRR2Z2FHjs = require('./chunk-KRR2Z2FH.js');
5
5
 
6
6
 
7
- var _chunkMWQ3WQ4Qjs = require('./chunk-MWQ3WQ4Q.js');
7
+ var _chunkIBCROFZWjs = require('./chunk-IBCROFZW.js');
8
8
 
9
9
 
10
- var _chunkQN6IULFTjs = require('./chunk-QN6IULFT.js');
10
+ var _chunkTLG75Q77js = require('./chunk-TLG75Q77.js');
11
11
 
12
12
 
13
- var _chunkZL4Q4T3Gjs = require('./chunk-ZL4Q4T3G.js');
13
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
14
14
 
15
15
 
16
- var _chunkJ55ZM5CKjs = require('./chunk-J55ZM5CK.js');
16
+ var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.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 = _chunkQN6IULFTjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkTLG75Q77js.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 ? _chunkQEBQIGXPjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkQEBQIGXPjs.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 ? _chunkKRR2Z2FHjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkKRR2Z2FHjs.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()]) || _chunkJ55ZM5CKjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkXGUGFGCFjs.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 = _chunkQN6IULFTjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkTLG75Q77js.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, () => ( _chunkJ55ZM5CKjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkXGUGFGCFjs.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 _chunkMWQ3WQ4Qjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkIBCROFZWjs.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
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
1284
+ _chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
1327
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  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(); } }
2
2
 
3
- var _chunkAOBAVBSXjs = require('./chunk-AOBAVBSX.js');
3
+ var _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJ55ZM5CKjs = require('./chunk-J55ZM5CK.js');
7
+ var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkJ55ZM5CKjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkAOBAVBSXjs.PlayClient)(
142
- new (0, _chunkJ55ZM5CKjs.HttpClient)(config),
140
+ const config = _chunkXGUGFGCFjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkUA2GU7NBjs.PlayClient)(
142
+ new (0, _chunkXGUGFGCFjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -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 _chunkGRIHMNYMjs = require('./chunk-GRIHMNYM.js');
4
+ var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.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 (_chunkGRIHMNYMjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkEAQXRAVFjs.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 _chunkGRIHMNYMjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkEAQXRAVFjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -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 _chunkZL4Q4T3Gjs = require('./chunk-ZL4Q4T3G.js');
4
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
5
5
 
6
6
 
7
- var _chunkGRIHMNYMjs = require('./chunk-GRIHMNYM.js');
7
+ var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.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 = _chunkGRIHMNYMjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkEAQXRAVFjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkZL4Q4T3Gjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
487
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
519
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
569
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0,
677
+ _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.496",
52
+ version: "0.3.498",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkAOBAVBSXjs = require('./chunk-AOBAVBSX.js');
6
+ var _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
7
7
 
8
8
 
9
9
  var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
@@ -11,7 +11,7 @@ var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkZL4Q4T3Gjs = require('./chunk-ZL4Q4T3G.js');
14
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkAOBAVBSXjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkAOBAVBSXjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUA2GU7NBjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZL4Q4T3Gjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkZL4Q4T3Gjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkTPQFCUPVjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkZL4Q4T3Gjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkTPQFCUPVjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-WTZ7Y3IZ.mjs";
4
+ } from "./chunk-H7YR4EYF.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-IMWJRBV5.mjs";
7
+ } from "./chunk-MRHMC33S.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-WTZ7Y3IZ.mjs";
8
- import "./chunk-7NBDLK3N.mjs";
9
- import "./chunk-IMWJRBV5.mjs";
7
+ } from "./chunk-H7YR4EYF.mjs";
8
+ import "./chunk-PAHFVOFZ.mjs";
9
+ import "./chunk-MRHMC33S.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-3KA466RV.mjs";
13
+ import "./chunk-SR3PRGWB.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16
 
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZL4Q4T3Gjs = require('./chunk-ZL4Q4T3G.js');
8
- require('./chunk-J55ZM5CK.js');
9
- require('./chunk-GRIHMNYM.js');
7
+ var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
8
+ require('./chunk-XGUGFGCF.js');
9
+ require('./chunk-EAQXRAVF.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-73CBLBNP.js');
13
+ require('./chunk-XUTIBRKF.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 : _chunkZL4Q4T3Gjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkTPQFCUPVjs.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 : _chunkZL4Q4T3Gjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkTPQFCUPVjs.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 = _chunkZL4Q4T3Gjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printJson.call(void 0, {
174
+ _chunkTPQFCUPVjs.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(_chunkZL4Q4T3Gjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printJson.call(void 0, {
198
+ _chunkTPQFCUPVjs.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
- ${_chunkZL4Q4T3Gjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkTPQFCUPVjs.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
- _chunkZL4Q4T3Gjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkTPQFCUPVjs.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"));
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-OVDNJAJN.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-4NKAM4GX.mjs";
6
+ } from "./chunk-RZO743TC.mjs";
7
7
  import {
8
8
  planCustomerDbQuery
9
- } from "./chunk-5M4PLPTR.mjs";
9
+ } from "./chunk-6JVJZ7YG.mjs";
10
10
  import "./chunk-L2VKAASU.mjs";
11
11
  import "./chunk-CS2AEAD6.mjs";
12
12
  import "./chunk-S3A4IXBQ.mjs";
@@ -20,9 +20,9 @@ import {
20
20
  printCommandEnvelope,
21
21
  recordRows,
22
22
  shouldEmitJson
23
- } from "./chunk-WTZ7Y3IZ.mjs";
24
- import "./chunk-7NBDLK3N.mjs";
25
- import "./chunk-IMWJRBV5.mjs";
23
+ } from "./chunk-H7YR4EYF.mjs";
24
+ import "./chunk-PAHFVOFZ.mjs";
25
+ import "./chunk-MRHMC33S.mjs";
26
26
  import {
27
27
  CustomerDbQueryOutcomeUnknownError
28
28
  } from "./chunk-4QF2K7TM.mjs";
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
30
30
  import {
31
31
  DeeplineError
32
32
  } from "./chunk-HBL4PM5Q.mjs";
33
- import "./chunk-3KA466RV.mjs";
33
+ import "./chunk-SR3PRGWB.mjs";
34
34
  import "./chunk-WZYKRD7T.mjs";
35
35
  import "./chunk-KRD6H754.mjs";
36
36