deepline 0.3.497 → 0.3.499

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 (135) 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/cli/auth-32FRISRT.js +43 -0
  16. package/dist/cli/{auth-OAKBFUQD.mjs → auth-TECJ27G3.mjs} +5 -5
  17. package/dist/cli/{billing-AM6D2KN5.mjs → billing-PMKO73VG.mjs} +6 -6
  18. package/dist/cli/{billing-FUB6HQZ5.js → billing-ULZGAED6.js} +79 -79
  19. package/dist/cli/{chunk-V2EVSEUD.js → chunk-2PKZ3RUU.js} +16 -16
  20. package/dist/cli/{chunk-SLS3HUVC.js → chunk-2RZHMCDL.js} +4 -4
  21. package/dist/cli/{chunk-3IVAGF4P.mjs → chunk-3GP52OHV.mjs} +10 -10
  22. package/dist/cli/{chunk-KFJV3BZX.mjs → chunk-43ZERPGR.mjs} +1 -1
  23. package/dist/cli/{chunk-FISH2MI2.mjs → chunk-56JE475N.mjs} +9 -5
  24. package/dist/cli/{chunk-6TA2H7CY.js → chunk-57LW4TGY.js} +26 -26
  25. package/dist/cli/{chunk-MBOAXLWC.mjs → chunk-5IDORX4E.mjs} +4 -4
  26. package/dist/cli/{chunk-XLYJ7MJX.js → chunk-7OQZZHZ4.js} +15 -11
  27. package/dist/cli/{chunk-EWQ3KY5U.mjs → chunk-7UC2UZYW.mjs} +6 -6
  28. package/dist/cli/{chunk-JDFYCHNV.js → chunk-7WUMIRBV.js} +5 -5
  29. package/dist/cli/{chunk-5GXYXU45.mjs → chunk-A2VCFBZN.mjs} +1 -1
  30. package/dist/cli/{chunk-7RBIOOCQ.js → chunk-AGZRRHSB.js} +3 -3
  31. package/dist/cli/{chunk-SJM7MKOE.js → chunk-AKLI4XSG.js} +2 -2
  32. package/dist/cli/{chunk-4MR7LZXF.mjs → chunk-BBFWIYAF.mjs} +2 -2
  33. package/dist/cli/{chunk-XNLXHU6L.mjs → chunk-C2V5U6HO.mjs} +5 -5
  34. package/dist/cli/{chunk-OWDK2PVH.js → chunk-FG5OZ5FB.js} +8 -8
  35. package/dist/cli/{chunk-BRUDMG56.js → chunk-G7BB2VOC.js} +41 -41
  36. package/dist/cli/{chunk-IURXJPGH.mjs → chunk-IGCSKXGK.mjs} +3 -3
  37. package/dist/cli/{chunk-WKCMARFR.js → chunk-JIZHGOZ5.js} +94 -94
  38. package/dist/cli/{chunk-WZ3A35ZD.mjs → chunk-JM52ATUS.mjs} +1 -1
  39. package/dist/cli/{chunk-KUX3HYJI.mjs → chunk-JQHJKARU.mjs} +28 -22
  40. package/dist/cli/{chunk-5IBHSACU.mjs → chunk-JUQESEJX.mjs} +2 -2
  41. package/dist/cli/{chunk-ZLYKN4AJ.js → chunk-K54BUQSK.js} +7 -7
  42. package/dist/cli/{chunk-FVS5MJQ5.js → chunk-KLQ5CR77.js} +30 -24
  43. package/dist/cli/{chunk-VMOVB2FN.mjs → chunk-KOD45UP5.mjs} +5 -5
  44. package/dist/cli/{chunk-SJID5WMV.mjs → chunk-KZJKRU24.mjs} +4 -4
  45. package/dist/cli/{chunk-BBHGJE73.js → chunk-L6C7C7IJ.js} +1 -1
  46. package/dist/cli/{chunk-DKSTMQ3F.js → chunk-L7O7AFSF.js} +21 -21
  47. package/dist/cli/{chunk-YUEFDOME.js → chunk-LUNXREUI.js} +6 -6
  48. package/dist/cli/{chunk-3DHPKENA.mjs → chunk-MQ5YPD7K.mjs} +1 -1
  49. package/dist/cli/{chunk-LPCK5KK5.mjs → chunk-OWHQ4OG5.mjs} +2 -2
  50. package/dist/cli/{chunk-YQ66NC4J.mjs → chunk-P3MGNLZF.mjs} +2 -2
  51. package/dist/cli/{chunk-B4Q3EBQX.js → chunk-PE3UHMMZ.js} +5 -5
  52. package/dist/cli/{chunk-M2WIEW2E.mjs → chunk-PSYGSXDS.mjs} +1 -1
  53. package/dist/cli/{chunk-THD6KA67.mjs → chunk-QXI2W7YY.mjs} +4 -4
  54. package/dist/cli/{chunk-OEI6HXMK.js → chunk-SLWCXGKP.js} +16 -16
  55. package/dist/cli/{chunk-2HCZHIMT.mjs → chunk-TFFJ2PRN.mjs} +5 -3
  56. package/dist/cli/{chunk-7FFNSYMJ.js → chunk-TUDYBF4Y.js} +9 -9
  57. package/dist/cli/{chunk-UETGYJYH.mjs → chunk-UMPCQ4EE.mjs} +2 -2
  58. package/dist/cli/{chunk-A66Y2LCW.js → chunk-UOQUCFAK.js} +53 -53
  59. package/dist/cli/{chunk-TGAYN34A.mjs → chunk-WEVIUQGZ.mjs} +2 -2
  60. package/dist/cli/{chunk-77IAUCTB.js → chunk-WSOM3TY6.js} +3 -3
  61. package/dist/cli/{chunk-3KG2FUU4.js → chunk-XSUQAUG4.js} +7 -7
  62. package/dist/cli/{chunk-HRODQDTB.mjs → chunk-YAW7ET4P.mjs} +1 -1
  63. package/dist/cli/{chunk-N3T3L3WW.js → chunk-YPTZJ7LO.js} +5 -3
  64. package/dist/cli/{chunk-UV7AT2D4.js → chunk-YRQWGWRJ.js} +2 -2
  65. package/dist/cli/{chunk-WXW7YJDO.js → chunk-Z2MO7FZG.js} +53 -53
  66. package/dist/cli/{chunk-XX7WLKOQ.mjs → chunk-ZVAD65CF.mjs} +1 -1
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/{csv-U2GOFP3M.mjs → csv-ACO5YC46.mjs} +4 -4
  70. package/dist/cli/{csv-PMBYKVUU.js → csv-VGSQ3JYE.js} +13 -13
  71. package/dist/cli/{db-DKFOTZGZ.mjs → db-CXNZOXGM.mjs} +6 -6
  72. package/dist/cli/{db-GREVTMIR.js → db-QOUPHFFN.js} +27 -27
  73. package/dist/cli/describe-DEXYQMBO.js +50 -0
  74. package/dist/cli/{describe-SWXA6L62.mjs → describe-J4O5GCJS.mjs} +17 -17
  75. package/dist/cli/{executions-EBRFC5JR.mjs → executions-SJETRLXW.mjs} +6 -6
  76. package/dist/cli/{executions-2RRAESQK.js → executions-YIECH2CL.js} +8 -8
  77. package/dist/cli/{feedback-N6ML7IRH.js → feedback-5BRCNERV.js} +8 -8
  78. package/dist/cli/{feedback-4A57QLX2.mjs → feedback-GSAFFMF6.mjs} +4 -4
  79. package/dist/cli/git-RDKLITUC.js +25 -0
  80. package/dist/cli/{git-6D2WQPOS.mjs → git-SF5XIGLU.mjs} +5 -5
  81. package/dist/cli/index.js +141 -141
  82. package/dist/cli/index.mjs +41 -41
  83. package/dist/cli/{legacy-noops-DXRJARNC.js → legacy-noops-5TBT4XC6.js} +8 -8
  84. package/dist/cli/{legacy-noops-CL5QWXGH.mjs → legacy-noops-TZA3CALE.mjs} +5 -5
  85. package/dist/cli/{monitors-SGMEGGJO.mjs → monitors-XAYWJNSV.mjs} +7 -7
  86. package/dist/cli/{monitors-XWKDVHYL.js → monitors-XNB5YNC3.js} +95 -95
  87. package/dist/cli/{org-QKQ57PDN.js → org-2UYWJXG7.js} +72 -72
  88. package/dist/cli/{org-55BI5RQF.mjs → org-S5VZL5KZ.mjs} +6 -6
  89. package/dist/cli/{pages-LM4QACOM.mjs → pages-NGVJO7PA.mjs} +6 -6
  90. package/dist/cli/{pages-FOIR5UH4.js → pages-ZQRRTZIT.js} +18 -18
  91. package/dist/cli/{play-7VA26O6E.mjs → play-3JNERHSC.mjs} +37 -27
  92. package/dist/cli/{play-S44FXGD7.js → play-P3OYQ7JV.js} +406 -396
  93. package/dist/cli/{providers-QAVIR5E2.mjs → providers-27O6BOAP.mjs} +6 -6
  94. package/dist/cli/{providers-RDSHID7C.js → providers-2FFGAPUR.js} +9 -9
  95. package/dist/cli/{quickstart-EREQPM3G.js → quickstart-5G2UPKJV.js} +6 -6
  96. package/dist/cli/{quickstart-IL4HQYE4.mjs → quickstart-B2EXIAU6.mjs} +4 -4
  97. package/dist/cli/{run-TBUUV5EG.js → run-2TGD7FAL.js} +82 -43
  98. package/dist/cli/{run-4XZNJR7N.mjs → run-3QFXYV3Z.mjs} +69 -30
  99. package/dist/cli/{search-SYT5UT5G.mjs → search-GXEEOMVD.mjs} +7 -7
  100. package/dist/cli/search-YKTYDBCN.js +32 -0
  101. package/dist/cli/{search-output-Y3IKZ3TX.mjs → search-output-DMIJQTAA.mjs} +4 -4
  102. package/dist/cli/{search-output-5F3EEQ34.js → search-output-I4RZPHU6.js} +6 -6
  103. package/dist/cli/{secrets-AKAU2N3K.mjs → secrets-DQI5YCS6.mjs} +6 -6
  104. package/dist/cli/{secrets-PZWJ2ES5.js → secrets-MJMNRXZX.js} +15 -15
  105. package/dist/cli/{sessions-Z5C26IS7.mjs → sessions-HAUN3VYE.mjs} +5 -5
  106. package/dist/cli/{sessions-UMHA7K23.js → sessions-QS74ZTRH.js} +6 -6
  107. package/dist/cli/{settings-S5BM3SVI.mjs → settings-E64HIUXW.mjs} +11 -11
  108. package/dist/cli/{settings-WGJYWTJZ.js → settings-VQBOS6VU.js} +78 -78
  109. package/dist/cli/{setup-6K6ERKOH.js → setup-KRW3JCJE.js} +49 -49
  110. package/dist/cli/{setup-E4HRXP2X.mjs → setup-NRUG42F2.mjs} +9 -9
  111. package/dist/cli/{skills-HIZA7YAN.mjs → skills-AHLZRTKZ.mjs} +7 -7
  112. package/dist/cli/skills-PGVIJK6Q.js +36 -0
  113. package/dist/cli/{tools-FS5S6BT7.mjs → tools-INRRIWOU.mjs} +16 -16
  114. package/dist/cli/tools-IXXN2RE4.js +57 -0
  115. package/dist/cli/{update-4CJPTG3L.mjs → update-ETOWEJ7D.mjs} +9 -9
  116. package/dist/cli/update-QW4RV2UX.js +34 -0
  117. package/dist/cli/{workflow-UMSXOIOS.mjs → workflow-JT2DOSCJ.mjs} +7 -7
  118. package/dist/cli/{workflow-TYSZ5JWS.js → workflow-RUAYQK4D.js} +17 -17
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +102 -100
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.js +5 -5
  127. package/dist/server.mjs +3 -3
  128. package/package.json +1 -1
  129. package/dist/cli/auth-553ZBCPJ.js +0 -43
  130. package/dist/cli/describe-BL5NNHV5.js +0 -50
  131. package/dist/cli/git-7TSX5V57.js +0 -25
  132. package/dist/cli/search-GCANFVVZ.js +0 -32
  133. package/dist/cli/skills-J3GQHHHL.js +0 -36
  134. package/dist/cli/tools-RZYKMOUX.js +0 -57
  135. package/dist/cli/update-CATZW7GA.js +0 -34
@@ -5,8 +5,10 @@ import {
5
5
  } from "./chunk-SAW3FBCA.mjs";
6
6
  import {
7
7
  csvSafeJsonString,
8
- csvStringFromRows
9
- } from "./chunk-FISH2MI2.mjs";
8
+ csvStringFromRows,
9
+ markJsonOutputHandled,
10
+ writeRawStderr
11
+ } from "./chunk-56JE475N.mjs";
10
12
 
11
13
  // src/cli/describe-options.ts
12
14
  function addDescribeOptions(command, options = {}) {
@@ -533,11 +535,8 @@ function preflightExecutionOutput(options) {
533
535
  },
534
536
  ran: false
535
537
  },
536
- // A rejected destination must not be opened, nor may errors pollute data stdout.
537
- {
538
- receiptJson: options.receiptJson,
539
- ...dataOnStdout(options) ? { jsonOut: "-" } : {}
540
- }
538
+ options,
539
+ { skipReceiptFile: true }
541
540
  );
542
541
  return false;
543
542
  }
@@ -644,7 +643,7 @@ function csvText(rows, columns = []) {
644
643
  });
645
644
  return csvStringFromRows(projection.rows, projection.columns);
646
645
  }
647
- function writeExecutionOutput(result, options) {
646
+ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
647
  let temp;
649
648
  const temporary = (name) => join(temp ??= mkdtempSync(join(tmpdir(), "deepline-output-")), name);
650
649
  const jsonText = (value) => `${JSON.stringify(value, null, 2)}
@@ -767,13 +766,16 @@ function writeExecutionOutput(result, options) {
767
766
  error: result.error ?? null,
768
767
  next: result.next ?? {}
769
768
  };
770
- const receiptFile = options.receiptOut ? persist(options.receiptOut, jsonText(receipt)) : null;
771
- printReceipt(receipt, options, {
772
- receiptFile,
773
- data: hasData ? result.data : void 0,
774
- ran: result.ran,
775
- declared: result.declared
776
- });
769
+ if (options.receiptOut && !skipReceiptFile) {
770
+ persist(options.receiptOut, jsonText(receipt));
771
+ markJsonOutputHandled();
772
+ } else {
773
+ printReceipt(receipt, options, {
774
+ data: hasData ? result.data : void 0,
775
+ ran: result.ran,
776
+ declared: result.declared
777
+ });
778
+ }
777
779
  if (stdoutData !== void 0) process.stdout.write(stdoutData);
778
780
  } catch (error) {
779
781
  let recoveryFile = null;
@@ -781,6 +783,7 @@ function writeExecutionOutput(result, options) {
781
783
  if (result.data !== void 0) recoveryFile = ensureJson();
782
784
  } catch {
783
785
  }
786
+ const retryWarning = "Do not re-execute paid work.";
784
787
  const failure = {
785
788
  status: "output_failed",
786
789
  id: result.id,
@@ -793,16 +796,16 @@ function writeExecutionOutput(result, options) {
793
796
  schemaFile: null,
794
797
  logsFile: options.logsFile ?? null,
795
798
  collections: [],
796
- warnings: [],
799
+ warnings: options.receiptOut !== void 0 && result.id ? [retryWarning] : [],
797
800
  error: {
798
801
  message: error instanceof Error ? error.message : String(error),
799
802
  recoveryFile
800
803
  },
801
804
  next: result.next ?? {}
802
805
  };
803
- printReceipt(failure, options, { receiptFile: null, ran: result.ran });
806
+ printReceipt(failure, options, { ran: result.ran });
804
807
  throw new ExecutionOutputError(
805
- `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. Do not re-execute paid work.`,
808
+ `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. ${retryWarning}`,
806
809
  { cause: error }
807
810
  );
808
811
  }
@@ -951,9 +954,6 @@ function receiptText(receipt, options, extra) {
951
954
  )
952
955
  ]);
953
956
  }
954
- if (extra.receiptFile) {
955
- sections.push([`JSON receipt: ${extra.receiptFile}`]);
956
- }
957
957
  if (resultSection) sections.push(resultSection);
958
958
  return `${sections.map((lines) => lines.join("\n")).join("\n\n")}
959
959
  `;
@@ -1026,7 +1026,12 @@ function resultLines(title, data, declared, options) {
1026
1026
  function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
- (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1029
+ if (options.receiptOut !== void 0) {
1030
+ writeRawStderr(text);
1031
+ markJsonOutputHandled();
1032
+ } else {
1033
+ (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
+ }
1030
1035
  }
1031
1036
  function openLogDestination(output) {
1032
1037
  if (output.logsOut === "-") {
@@ -1054,6 +1059,7 @@ export {
1054
1059
  underscoreKeysLast,
1055
1060
  orderRunExportJson,
1056
1061
  writeRunDatasetCsv,
1062
+ ExecutionOutputError,
1057
1063
  preflightExecutionOutput,
1058
1064
  outputCollections,
1059
1065
  writeExecutionOutput,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-M2WIEW2E.mjs";
3
+ } from "./chunk-PSYGSXDS.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-THD6KA67.mjs";
8
+ } from "./chunk-QXI2W7YY.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -3,14 +3,14 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkB4Q3EBQXjs = require('./chunk-B4Q3EBQX.js');
6
+ var _chunkPE3UHMMZjs = require('./chunk-PE3UHMMZ.js');
7
7
 
8
8
 
9
- var _chunkXLYJ7MJXjs = require('./chunk-XLYJ7MJX.js');
9
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.js');
10
10
 
11
11
 
12
12
 
13
- var _chunk77IAUCTBjs = require('./chunk-77IAUCTB.js');
13
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.js');
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  var _commander = require('commander');
@@ -20,7 +20,7 @@ var _fs = require('fs');
20
20
  var _path = require('path');
21
21
  var SEARCH_REF_TTL_MS = 15 * 6e4;
22
22
  function lastSearchPath() {
23
- return _path.join.call(void 0, _chunk77IAUCTBjs.sdkCliStateDirPath.call(void 0, _chunk77IAUCTBjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
23
+ return _path.join.call(void 0, _chunkWSOM3TY6js.sdkCliStateDirPath.call(void 0, _chunkWSOM3TY6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
24
24
  }
25
25
  function rememberSearchRef(searchRef) {
26
26
  try {
@@ -119,7 +119,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
119
119
  console.error("--summary-width must be an integer of at least 2.");
120
120
  return 1;
121
121
  }
122
- const { search_ref: searchRef, ...result } = await new (0, _chunkB4Q3EBQXjs.DeeplineClient)().search({
122
+ const { search_ref: searchRef, ...result } = await new (0, _chunkPE3UHMMZjs.DeeplineClient)().search({
123
123
  query,
124
124
  types,
125
125
  exclude,
@@ -133,8 +133,8 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-5F3EEQ34.js")));
137
- _chunkXLYJ7MJXjs.printCommandEnvelope.call(void 0, result, {
136
+ const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-I4RZPHU6.js")));
137
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0, result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
140
140
  });
@@ -6,7 +6,9 @@ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkXLYJ7MJXjs = require('./chunk-XLYJ7MJX.js');
9
+
10
+
11
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.js');
10
12
 
11
13
  // src/cli/describe-options.ts
12
14
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +249,7 @@ function projectRunDatasetCell(value) {
247
249
  const logicalValue = parseSerializedDatasetValue(value);
248
250
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
251
  if (typeof logicalValue === "object") {
250
- return _chunkXLYJ7MJXjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunk7OQZZHZ4js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
253
  }
252
254
  return logicalValue;
253
255
  }
@@ -533,11 +535,8 @@ function preflightExecutionOutput(options) {
533
535
  },
534
536
  ran: false
535
537
  },
536
- // A rejected destination must not be opened, nor may errors pollute data stdout.
537
- {
538
- receiptJson: options.receiptJson,
539
- ...dataOnStdout(options) ? { jsonOut: "-" } : {}
540
- }
538
+ options,
539
+ { skipReceiptFile: true }
541
540
  );
542
541
  return false;
543
542
  }
@@ -642,9 +641,9 @@ function csvText(rows, columns = []) {
642
641
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
642
  columns
644
643
  });
645
- return _chunkXLYJ7MJXjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunk7OQZZHZ4js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
645
  }
647
- function writeExecutionOutput(result, options) {
646
+ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
647
  let temp;
649
648
  const temporary = (name) => _path.join.call(void 0, temp ??= _fs.mkdtempSync.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-output-")), name);
650
649
  const jsonText = (value) => `${JSON.stringify(value, null, 2)}
@@ -767,13 +766,16 @@ function writeExecutionOutput(result, options) {
767
766
  error: _nullishCoalesce(result.error, () => ( null)),
768
767
  next: _nullishCoalesce(result.next, () => ( {}))
769
768
  };
770
- const receiptFile = options.receiptOut ? persist(options.receiptOut, jsonText(receipt)) : null;
771
- printReceipt(receipt, options, {
772
- receiptFile,
773
- data: hasData ? result.data : void 0,
774
- ran: result.ran,
775
- declared: result.declared
776
- });
769
+ if (options.receiptOut && !skipReceiptFile) {
770
+ persist(options.receiptOut, jsonText(receipt));
771
+ _chunk7OQZZHZ4js.markJsonOutputHandled.call(void 0, );
772
+ } else {
773
+ printReceipt(receipt, options, {
774
+ data: hasData ? result.data : void 0,
775
+ ran: result.ran,
776
+ declared: result.declared
777
+ });
778
+ }
777
779
  if (stdoutData !== void 0) process.stdout.write(stdoutData);
778
780
  } catch (error) {
779
781
  let recoveryFile = null;
@@ -781,6 +783,7 @@ function writeExecutionOutput(result, options) {
781
783
  if (result.data !== void 0) recoveryFile = ensureJson();
782
784
  } catch (e4) {
783
785
  }
786
+ const retryWarning = "Do not re-execute paid work.";
784
787
  const failure = {
785
788
  status: "output_failed",
786
789
  id: result.id,
@@ -793,16 +796,16 @@ function writeExecutionOutput(result, options) {
793
796
  schemaFile: null,
794
797
  logsFile: _nullishCoalesce(options.logsFile, () => ( null)),
795
798
  collections: [],
796
- warnings: [],
799
+ warnings: options.receiptOut !== void 0 && result.id ? [retryWarning] : [],
797
800
  error: {
798
801
  message: error instanceof Error ? error.message : String(error),
799
802
  recoveryFile
800
803
  },
801
804
  next: _nullishCoalesce(result.next, () => ( {}))
802
805
  };
803
- printReceipt(failure, options, { receiptFile: null, ran: result.ran });
806
+ printReceipt(failure, options, { ran: result.ran });
804
807
  throw new ExecutionOutputError(
805
- `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. Do not re-execute paid work.`,
808
+ `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. ${retryWarning}`,
806
809
  { cause: error }
807
810
  );
808
811
  }
@@ -951,9 +954,6 @@ function receiptText(receipt, options, extra) {
951
954
  )
952
955
  ]);
953
956
  }
954
- if (extra.receiptFile) {
955
- sections.push([`JSON receipt: ${extra.receiptFile}`]);
956
- }
957
957
  if (resultSection) sections.push(resultSection);
958
958
  return `${sections.map((lines) => lines.join("\n")).join("\n\n")}
959
959
  `;
@@ -1026,7 +1026,12 @@ function resultLines(title, data, declared, options) {
1026
1026
  function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
- (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1029
+ if (options.receiptOut !== void 0) {
1030
+ _chunk7OQZZHZ4js.writeRawStderr.call(void 0, text);
1031
+ _chunk7OQZZHZ4js.markJsonOutputHandled.call(void 0, );
1032
+ } else {
1033
+ (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
+ }
1030
1035
  }
1031
1036
  function openLogDestination(output) {
1032
1037
  if (output.logsOut === "-") {
@@ -1058,4 +1063,5 @@ function openLogDestination(output) {
1058
1063
 
1059
1064
 
1060
1065
 
1061
- exports.addDescribeOptions = addDescribeOptions; exports.recordApiResponse = recordApiResponse; exports.recordPlayTermination = recordPlayTermination; exports.TABLE_EXPORT_ERROR_COLUMN = TABLE_EXPORT_ERROR_COLUMN; exports.tableExportHasFailedRows = tableExportHasFailedRows; exports.tableExportErrorCell = tableExportErrorCell; exports.underscoreKeysLast = underscoreKeysLast; exports.orderRunExportJson = orderRunExportJson; exports.writeRunDatasetCsv = writeRunDatasetCsv; exports.preflightExecutionOutput = preflightExecutionOutput; exports.outputCollections = outputCollections; exports.writeExecutionOutput = writeExecutionOutput; exports.openLogDestination = openLogDestination;
1066
+
1067
+ exports.addDescribeOptions = addDescribeOptions; exports.recordApiResponse = recordApiResponse; exports.recordPlayTermination = recordPlayTermination; exports.TABLE_EXPORT_ERROR_COLUMN = TABLE_EXPORT_ERROR_COLUMN; exports.tableExportHasFailedRows = tableExportHasFailedRows; exports.tableExportErrorCell = tableExportErrorCell; exports.underscoreKeysLast = underscoreKeysLast; exports.orderRunExportJson = orderRunExportJson; exports.writeRunDatasetCsv = writeRunDatasetCsv; exports.ExecutionOutputError = ExecutionOutputError; exports.preflightExecutionOutput = preflightExecutionOutput; exports.outputCollections = outputCollections; exports.writeExecutionOutput = writeExecutionOutput; exports.openLogDestination = openLogDestination;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-KFJV3BZX.mjs";
4
+ } from "./chunk-43ZERPGR.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-SJID5WMV.mjs";
7
+ } from "./chunk-KZJKRU24.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-THD6KA67.mjs";
10
+ } from "./chunk-QXI2W7YY.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-FISH2MI2.mjs";
13
+ } from "./chunk-56JE475N.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-XX7WLKOQ.mjs";
16
+ } from "./chunk-ZVAD65CF.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-THD6KA67.mjs";
14
+ } from "./chunk-QXI2W7YY.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-FISH2MI2.mjs";
17
+ } from "./chunk-56JE475N.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-XX7WLKOQ.mjs";
23
+ } from "./chunk-ZVAD65CF.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-WZ3A35ZD.mjs";
27
+ } from "./chunk-JM52ATUS.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -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.497",
52
+ version: "0.3.499",
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."
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkV2EVSEUDjs = require('./chunk-V2EVSEUD.js');
7
+ var _chunk2PKZ3RUUjs = require('./chunk-2PKZ3RUU.js');
8
8
 
9
9
 
10
- var _chunkA66Y2LCWjs = require('./chunk-A66Y2LCW.js');
10
+ var _chunkUOQUCFAKjs = require('./chunk-UOQUCFAK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkXLYJ7MJXjs = require('./chunk-XLYJ7MJX.js');
14
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.js');
15
15
 
16
16
 
17
- var _chunk77IAUCTBjs = require('./chunk-77IAUCTB.js');
17
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.js');
18
18
 
19
19
 
20
- var _chunkSLS3HUVCjs = require('./chunk-SLS3HUVC.js');
20
+ var _chunk2RZHMCDLjs = require('./chunk-2RZHMCDL.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunk77IAUCTBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkWSOM3TY6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkSLS3HUVCjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunk2RZHMCDLjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkSLS3HUVCjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkSLS3HUVCjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunk2RZHMCDLjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunk2RZHMCDLjs.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkSLS3HUVCjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk2RZHMCDLjs.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkV2EVSEUDjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkA66Y2LCWjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk2PKZ3RUUjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkUOQUCFAKjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkSLS3HUVCjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk2RZHMCDLjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkV2EVSEUDjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunk2PKZ3RUUjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkSLS3HUVCjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk2RZHMCDLjs.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkV2EVSEUDjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunk2PKZ3RUUjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkV2EVSEUDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunk2PKZ3RUUjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkXLYJ7MJXjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunk7OQZZHZ4js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkXLYJ7MJXjs.addJsonNotice.call(void 0, {
171
+ _chunk7OQZZHZ4js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkV2EVSEUDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunk2PKZ3RUUjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkV2EVSEUDjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunk2PKZ3RUUjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkXLYJ7MJXjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunk7OQZZHZ4js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkUV7AT2D4js = require('./chunk-UV7AT2D4.js');
3
+ var _chunkYRQWGWRJjs = require('./chunk-YRQWGWRJ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkA66Y2LCWjs = require('./chunk-A66Y2LCW.js');
8
+ var _chunkUOQUCFAKjs = require('./chunk-UOQUCFAK.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkA66Y2LCWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkUV7AT2D4js.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkUOQUCFAKjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkYRQWGWRJjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkA66Y2LCWjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkUOQUCFAKjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkA66Y2LCWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkUOQUCFAKjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-FISH2MI2.mjs";
3
+ } from "./chunk-56JE475N.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-HRODQDTB.mjs";
6
+ } from "./chunk-YAW7ET4P.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-CS2AEAD6.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-FISH2MI2.mjs";
14
+ } from "./chunk-56JE475N.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-FISH2MI2.mjs";
5
+ } from "./chunk-56JE475N.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-XX7WLKOQ.mjs";
8
+ } from "./chunk-ZVAD65CF.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk3KG2FUU4js = require('./chunk-3KG2FUU4.js');
3
+ var _chunkXSUQAUG4js = require('./chunk-XSUQAUG4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk77IAUCTBjs = require('./chunk-77IAUCTB.js');
7
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk3KG2FUU4js.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkXSUQAUG4js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk77IAUCTBjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk77IAUCTBjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkWSOM3TY6js.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkWSOM3TY6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-FISH2MI2.mjs";
3
+ } from "./chunk-56JE475N.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-3DHPKENA.mjs";
3
+ } from "./chunk-MQ5YPD7K.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-XX7WLKOQ.mjs";
15
+ } from "./chunk-ZVAD65CF.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-WZ3A35ZD.mjs";
23
+ } from "./chunk-JM52ATUS.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-5GXYXU45.mjs";
29
+ } from "./chunk-A2VCFBZN.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";