deepline 0.3.523 → 0.3.525

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 (177) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +68 -60
  2. package/dist/bundling-sources/sdk/src/http-core.ts +14 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +10 -0
  6. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +60 -14
  7. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-delivery.ts +9 -3
  8. package/dist/bundling-sources/shared_libs/observability/dlq.ts +19 -0
  9. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  10. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +397 -22
  13. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +473 -13
  14. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +28 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/run-retry-summary.ts +202 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +60 -8
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +112 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +39 -1
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +13 -5
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +10 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-retry-facts.ts +62 -0
  22. package/dist/cli/auth-K7PMRXNG.js +43 -0
  23. package/dist/cli/{auth-ENQUQS56.mjs → auth-TH3VGYBK.mjs} +5 -5
  24. package/dist/cli/{billing-6A27ULCX.mjs → billing-CMHFI2LN.mjs} +8 -8
  25. package/dist/cli/{billing-6HONTJOY.js → billing-TWKVUFU2.js} +83 -83
  26. package/dist/cli/{chunk-JMMNCJ7Z.js → chunk-2WFVLOB7.js} +1 -1
  27. package/dist/cli/{chunk-S4YKRH3W.js → chunk-4UWXFXQF.js} +3 -3
  28. package/dist/cli/{chunk-PCORO245.mjs → chunk-5BSGWIQD.mjs} +2 -2
  29. package/dist/cli/{chunk-SBGKKOCC.js → chunk-5JFAQUZS.js} +26 -26
  30. package/dist/cli/{chunk-RVHUW4TN.js → chunk-5YAJGRWB.js} +17 -17
  31. package/dist/cli/{chunk-ITJ7NB2D.mjs → chunk-7AOFSZJM.mjs} +3 -1
  32. package/dist/cli/{chunk-JVEFMOY2.mjs → chunk-7C4F4TLR.mjs} +1 -1
  33. package/dist/cli/{chunk-QMBL5ZIQ.mjs → chunk-7OF3A4KJ.mjs} +3 -3
  34. package/dist/cli/{chunk-326WVSWS.js → chunk-AVDEYOVP.js} +269 -269
  35. package/dist/cli/{chunk-GJYLC4JB.mjs → chunk-BNH4Y35W.mjs} +2 -2
  36. package/dist/cli/{chunk-ZWN4RXC2.js → chunk-CKTRQSRA.js} +22 -22
  37. package/dist/cli/{chunk-I62LJ7NU.mjs → chunk-CLTL7ZJI.mjs} +1 -1
  38. package/dist/cli/{chunk-IEVXYHGJ.js → chunk-CQSANB3V.js} +5 -5
  39. package/dist/cli/{chunk-QYXIODWH.js → chunk-CWRL6IQP.js} +44 -29
  40. package/dist/cli/{chunk-WVQOXYTQ.mjs → chunk-CZNEQMJR.mjs} +37 -34
  41. package/dist/cli/{chunk-4NWY7JBB.js → chunk-DYS3KWYF.js} +11 -11
  42. package/dist/cli/{chunk-HSVGP4CI.mjs → chunk-EP6YH6QJ.mjs} +2 -2
  43. package/dist/cli/{chunk-XYL26236.js → chunk-ESWM2JW4.js} +2 -2
  44. package/dist/cli/{chunk-6OZ2WSHD.mjs → chunk-ETHVJ2ZE.mjs} +1 -1
  45. package/dist/cli/{chunk-6DBRBWHC.mjs → chunk-GCLNX72G.mjs} +2 -2
  46. package/dist/cli/{chunk-R2VZVHJP.mjs → chunk-GESIFFQX.mjs} +1 -1
  47. package/dist/cli/{chunk-QSAC3IVI.mjs → chunk-IMO3HXWZ.mjs} +1 -1
  48. package/dist/cli/{chunk-JGZQBDYG.mjs → chunk-JVWSIA2V.mjs} +4 -4
  49. package/dist/cli/{chunk-7GNKAACY.js → chunk-KBOSALBI.js} +10 -10
  50. package/dist/cli/{chunk-K326BEVR.js → chunk-KEZ3KBWW.js} +10 -10
  51. package/dist/cli/{chunk-7M5FRSFP.mjs → chunk-KPINGHIF.mjs} +2 -2
  52. package/dist/cli/{chunk-UH3EAFFN.mjs → chunk-LAMGJQDY.mjs} +2 -2
  53. package/dist/cli/{chunk-UQN4VTZL.js → chunk-LE537GBC.js} +13 -6
  54. package/dist/cli/{chunk-PESMXAUG.js → chunk-LXKH4MKH.js} +6 -6
  55. package/dist/cli/{chunk-4V63IJCL.mjs → chunk-M43ZYNDA.mjs} +5 -5
  56. package/dist/cli/{chunk-XVXEARHC.js → chunk-MHBSRNI7.js} +41 -41
  57. package/dist/cli/{chunk-HUC5SGJQ.js → chunk-MRUFGOJR.js} +2 -2
  58. package/dist/cli/{chunk-RQN4PHRE.js → chunk-N4MMU3QF.js} +21 -21
  59. package/dist/cli/{chunk-2BRDHM4S.js → chunk-NB2ECLQE.js} +9 -9
  60. package/dist/cli/{chunk-DNXP3D5H.mjs → chunk-NO4URKKT.mjs} +5 -5
  61. package/dist/cli/{chunk-MZROKQV3.js → chunk-NRBCETWL.js} +44 -44
  62. package/dist/cli/{chunk-JCTTXLAZ.mjs → chunk-OWQF6WVH.mjs} +10 -3
  63. package/dist/cli/{chunk-NWTMQGPP.mjs → chunk-OXFIJYN3.mjs} +8 -8
  64. package/dist/cli/{chunk-FBMOBNJY.js → chunk-P62LON53.js} +2 -2
  65. package/dist/cli/{chunk-NMU3VR5U.js → chunk-PMH4GLMD.js} +1 -0
  66. package/dist/cli/{chunk-S3A4IXBQ.mjs → chunk-PSX3WHIH.mjs} +1 -0
  67. package/dist/cli/{chunk-N5MLEXZ7.js → chunk-QR7VYYNM.js} +176 -173
  68. package/dist/cli/{chunk-RKREB7MU.mjs → chunk-RMZ6CISE.mjs} +3 -3
  69. package/dist/cli/{chunk-V46J3UTM.js → chunk-S5LUY3KJ.js} +7 -7
  70. package/dist/cli/{chunk-MCXPJYBN.js → chunk-TFEGJEYO.js} +3 -3
  71. package/dist/cli/{chunk-MT3WG3KR.js → chunk-TO72GW5I.js} +16 -16
  72. package/dist/cli/{chunk-H7275EZU.mjs → chunk-TXSBPBHB.mjs} +5 -5
  73. package/dist/cli/{chunk-SXTVJIGB.mjs → chunk-U4M32NFS.mjs} +1 -1
  74. package/dist/cli/{chunk-5WFQXAD4.mjs → chunk-UQYKSOGO.mjs} +5 -5
  75. package/dist/cli/{chunk-KILRUAXF.mjs → chunk-UXF3ODJJ.mjs} +2 -2
  76. package/dist/cli/{chunk-36LQQL5C.js → chunk-V2GN4PLK.js} +5 -5
  77. package/dist/cli/{chunk-HUIFUE4L.js → chunk-V65J64FL.js} +53 -53
  78. package/dist/cli/{chunk-U6DLLV3S.mjs → chunk-VYIAWAKJ.mjs} +1 -1
  79. package/dist/cli/{chunk-WGVJA4I5.js → chunk-WA3FG7DH.js} +14 -14
  80. package/dist/cli/{chunk-MHTRYBXY.mjs → chunk-WEYFSBAD.mjs} +44 -29
  81. package/dist/cli/{chunk-LZL6V5M5.mjs → chunk-WGRDOPAK.mjs} +2 -2
  82. package/dist/cli/{chunk-NTLBZUHD.js → chunk-XYIECA7M.js} +4 -2
  83. package/dist/cli/{chunk-QOO5W5XS.mjs → chunk-YC7FKAJ4.mjs} +12 -12
  84. package/dist/cli/{chunk-BN5VKY4X.js → chunk-ZS2WHWWL.js} +7 -7
  85. package/dist/cli/{chunk-F3WRLFFM.mjs → chunk-ZWFTHEPT.mjs} +2 -2
  86. package/dist/cli/command-docs.js +2 -2
  87. package/dist/cli/command-docs.mjs +1 -1
  88. package/dist/cli/{csv-UBACJK75.js → csv-5JHWVJ5N.js} +13 -13
  89. package/dist/cli/{csv-YFJ2JLUP.mjs → csv-OO554TPX.mjs} +4 -4
  90. package/dist/cli/{db-2ZPA2LZ7.js → db-CYQJ4OXF.js} +28 -28
  91. package/dist/cli/{db-NKGYTAQO.mjs → db-SQKJ6RKU.mjs} +7 -7
  92. package/dist/cli/describe-N7AKTUQV.mjs +50 -0
  93. package/dist/cli/describe-PASXOL3R.js +50 -0
  94. package/dist/cli/describe-core.d.mts +4 -2
  95. package/dist/cli/describe-core.d.ts +4 -2
  96. package/dist/cli/describe-core.js +5 -5
  97. package/dist/cli/describe-core.mjs +4 -4
  98. package/dist/cli/{executions-HTHQ7KKD.mjs → executions-F34DORW6.mjs} +7 -7
  99. package/dist/cli/{executions-NXMRGPIL.js → executions-K7EGCRKX.js} +9 -9
  100. package/dist/cli/{feedback-USP4T34P.mjs → feedback-GQHKCS66.mjs} +5 -5
  101. package/dist/cli/{feedback-TGVQACRO.js → feedback-NOQVCA3Q.js} +10 -10
  102. package/dist/cli/{git-KUONEHCD.mjs → git-2EEITXDB.mjs} +5 -5
  103. package/dist/cli/git-UU4YFJ2Q.js +25 -0
  104. package/dist/cli/index.js +146 -146
  105. package/dist/cli/index.mjs +45 -45
  106. package/dist/cli/{legacy-noops-B2GMHU42.mjs → legacy-noops-JHMY5XRB.mjs} +6 -6
  107. package/dist/cli/{legacy-noops-2JY3CQ24.js → legacy-noops-RFNHQ7RG.js} +9 -9
  108. package/dist/cli/{monitors-2OVBZJ6Z.mjs → monitors-RDMP6SPZ.mjs} +8 -8
  109. package/dist/cli/{monitors-XI6I52AX.js → monitors-UKRZ4BDK.js} +101 -101
  110. package/dist/cli/{org-5TUQ2H6Y.js → org-OX7TYTHV.js} +87 -87
  111. package/dist/cli/{org-BNJW764Y.mjs → org-RF3G4KMB.mjs} +7 -7
  112. package/dist/cli/{pages-QC3TQIPW.mjs → pages-FBM3MGSP.mjs} +7 -7
  113. package/dist/cli/{pages-UXCLX53Y.js → pages-MKQT5LFV.js} +19 -19
  114. package/dist/cli/{play-KRWMZ7FG.js → play-OOVX2DMV.js} +802 -713
  115. package/dist/cli/{play-45PPG5SZ.mjs → play-YWC2UORM.mjs} +197 -108
  116. package/dist/cli/{providers-RBUJ72Y3.js → providers-2CGZYLER.js} +10 -10
  117. package/dist/cli/{providers-JDT35MRL.mjs → providers-3PEQESIU.mjs} +7 -7
  118. package/dist/cli/{quickstart-JZ4Q3HFT.js → quickstart-6AANHKQZ.js} +6 -6
  119. package/dist/cli/{quickstart-GD2SWGAC.mjs → quickstart-KVB36SOW.mjs} +4 -4
  120. package/dist/cli/{run-JEAHA367.js → run-NJ7WV5TK.js} +46 -46
  121. package/dist/cli/{run-KIZ3HBI2.mjs → run-QC23NRKO.mjs} +27 -27
  122. package/dist/cli/{search-5UFNXHFK.mjs → search-7BMFFZI2.mjs} +9 -9
  123. package/dist/cli/search-NH4DTXUK.js +33 -0
  124. package/dist/cli/{search-output-HAXPKQO6.mjs → search-output-CALZ4ZI2.mjs} +4 -4
  125. package/dist/cli/{search-output-W3RDSVLE.js → search-output-XC2AVBFX.js} +6 -6
  126. package/dist/cli/{secrets-JAWT66B2.mjs → secrets-7ZHA57DI.mjs} +7 -7
  127. package/dist/cli/{secrets-PC7C2Q32.js → secrets-VHU4B2D4.js} +16 -16
  128. package/dist/cli/sessions-2TE5JWVP.js +18 -0
  129. package/dist/cli/{sessions-325V7G35.mjs → sessions-YYULWFZE.mjs} +6 -6
  130. package/dist/cli/{settings-FKHTA65P.mjs → settings-AVY4NNHI.mjs} +14 -14
  131. package/dist/cli/{settings-RGU6Y2QR.js → settings-WV77QJGD.js} +87 -87
  132. package/dist/cli/{setup-43GOYTFC.mjs → setup-AOUJ3RMU.mjs} +10 -10
  133. package/dist/cli/{setup-ZMZ7HU2I.js → setup-GE5TLTC4.js} +50 -50
  134. package/dist/cli/{skills-Q2VAHSXM.mjs → skills-FVWO2G66.mjs} +8 -8
  135. package/dist/cli/skills-OL7LD6QX.js +37 -0
  136. package/dist/cli/{tools-BUH7ZWDS.mjs → tools-URE655B4.mjs} +20 -20
  137. package/dist/cli/tools-VQ5JO6DI.js +57 -0
  138. package/dist/cli/{update-JFALWOHD.mjs → update-5B4G4345.mjs} +10 -10
  139. package/dist/cli/update-7ZOIOTZN.js +35 -0
  140. package/dist/cli/{artifacts-RBHR2DG4.mjs → views-GSECJ5IK.mjs} +77 -77
  141. package/dist/cli/views-IC762HEQ.js +270 -0
  142. package/dist/cli/{workflow-ISJKLY6X.mjs → workflow-6UQM565I.mjs} +8 -8
  143. package/dist/cli/{workflow-YELST32A.js → workflow-EME7ZEOV.js} +18 -18
  144. package/dist/{client-C2N7MofG.d.mts → client-Bd2meveV.d.mts} +1 -1
  145. package/dist/{client-C7lTRJjw.d.ts → client-CBCVhL8U.d.ts} +1 -1
  146. package/dist/{client-core-BTkDSKGn.d.mts → client-core-CGj8V9mw.d.mts} +110 -43
  147. package/dist/{client-core-hmhBi7Ib.d.ts → client-core-CsRRWCFy.d.ts} +110 -43
  148. package/dist/index.d.mts +3 -3
  149. package/dist/index.d.ts +3 -3
  150. package/dist/index.js +10 -10
  151. package/dist/index.mjs +7 -7
  152. package/dist/install-integrity.json +120 -118
  153. package/dist/plays/play-description.d.mts +1 -1
  154. package/dist/plays/play-description.d.ts +1 -1
  155. package/dist/plays/play-description.js +2 -2
  156. package/dist/plays/play-description.mjs +1 -1
  157. package/dist/plays/run-request.d.mts +1 -1
  158. package/dist/plays/run-request.d.ts +1 -1
  159. package/dist/release.d.mts +1 -1
  160. package/dist/release.d.ts +1 -1
  161. package/dist/release.js +2 -2
  162. package/dist/release.mjs +1 -1
  163. package/dist/server.d.mts +2 -2
  164. package/dist/server.d.ts +2 -2
  165. package/dist/server.js +6 -6
  166. package/dist/server.mjs +4 -4
  167. package/package.json +1 -1
  168. package/dist/cli/artifacts-RZTS2JHZ.js +0 -270
  169. package/dist/cli/auth-DPWYFQR5.js +0 -43
  170. package/dist/cli/describe-GX7DRKWZ.mjs +0 -50
  171. package/dist/cli/describe-WQZF7MEG.js +0 -50
  172. package/dist/cli/git-X3SCQREB.js +0 -25
  173. package/dist/cli/search-6JULJMD7.js +0 -33
  174. package/dist/cli/sessions-WFUCOJHZ.js +0 -18
  175. package/dist/cli/skills-3XTQ6FFM.js +0 -37
  176. package/dist/cli/tools-UK2R4YXQ.js +0 -57
  177. package/dist/cli/update-LNKPHS54.js +0 -35
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-4V63IJCL.mjs";
14
+ } from "./chunk-M43ZYNDA.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-6DBRBWHC.mjs";
17
+ } from "./chunk-GCLNX72G.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-SXTVJIGB.mjs";
23
+ } from "./chunk-U4M32NFS.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-JCTTXLAZ.mjs";
27
+ } from "./chunk-OWQF6WVH.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
5
+ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
11
+ var _chunkS5LUY3KJjs = require('./chunk-S5LUY3KJ.js');
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -26,7 +26,7 @@ function addDescribeOptions(command, options = {}) {
26
26
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
27
27
  ).option("--no-example", "Hide the run examples").option(
28
28
  "--full-schema",
29
- `Print every field: a long schema unfolded (over ${_chunkNTLBZUHDjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
29
+ `Print every field: a long schema unfolded (over ${_chunkXYIECA7Mjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
30
30
  ).option(
31
31
  "--fields <names>",
32
32
  "Show only these fields, comma-separated, plus every required input"
@@ -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 _chunkV46J3UTMjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunkS5LUY3KJjs.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 _chunkV46J3UTMjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunkS5LUY3KJjs.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
- _chunkV46J3UTMjs.markJsonOutputHandled.call(void 0, );
771
+ _chunkS5LUY3KJjs.markJsonOutputHandled.call(void 0, );
772
772
  } else {
773
773
  printReceipt(receipt, options, {
774
774
  data: hasData ? result.data : void 0,
@@ -871,9 +871,9 @@ function annotated(schema, values) {
871
871
  function shapeLines(title, data) {
872
872
  const schema = annotated(observedSchema(data), [data]);
873
873
  const block = (heading, fieldSchema) => {
874
- const { lines, folded } = _chunkNTLBZUHDjs.fieldBlockLines.call(void 0,
874
+ const { lines, folded } = _chunkXYIECA7Mjs.fieldBlockLines.call(void 0,
875
875
  heading,
876
- _chunkNTLBZUHDjs.schemaFields.call(void 0, fieldSchema)
876
+ _chunkXYIECA7Mjs.schemaFields.call(void 0, fieldSchema)
877
877
  );
878
878
  return [
879
879
  ...lines,
@@ -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
- _chunkV46J3UTMjs.writeRawStderr.call(void 0, text);
1031
- _chunkV46J3UTMjs.markJsonOutputHandled.call(void 0, );
1030
+ _chunkS5LUY3KJjs.writeRawStderr.call(void 0, text);
1031
+ _chunkS5LUY3KJjs.markJsonOutputHandled.call(void 0, );
1032
1032
  } else {
1033
1033
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1034
  }
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkFBMOBNJYjs = require('./chunk-FBMOBNJY.js');
3
+ var _chunkP62LON53js = require('./chunk-P62LON53.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
7
+ var _chunkS5LUY3KJjs = require('./chunk-S5LUY3KJ.js');
8
8
 
9
9
 
10
- var _chunkUQN4VTZLjs = require('./chunk-UQN4VTZL.js');
10
+ var _chunkLE537GBCjs = require('./chunk-LE537GBC.js');
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
 
@@ -142,7 +142,7 @@ function currentSessionFile(agent) {
142
142
  const newestFirst = listSessionFiles(agent).sort(
143
143
  (a, b) => b.mtimeMs - a.mtimeMs
144
144
  );
145
- const sessionId = _chunkUQN4VTZLjs.agentSessionIdFromEnvironment.call(void 0,
145
+ const sessionId = _chunkLE537GBCjs.agentSessionIdFromEnvironment.call(void 0,
146
146
  process.env,
147
147
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
148
148
  );
@@ -454,7 +454,7 @@ function buildSessionUploadContent(raw) {
454
454
  return { encodedContent: encoded, needsChunking: true };
455
455
  }
456
456
  async function uploadPayload(path, payload) {
457
- const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
457
+ const { http } = _chunkS5LUY3KJjs.getAuthedHttpClient.call(void 0, );
458
458
  return await http.post(path, payload);
459
459
  }
460
460
  async function uploadChunkedSessions(sessions, options) {
@@ -487,7 +487,7 @@ async function uploadChunkedSessions(sessions, options) {
487
487
  ...options.rating ? { rating: options.rating } : {}
488
488
  });
489
489
  const sessionIds = sessions.map((session) => session.sessionId);
490
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
490
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
491
491
  {
492
492
  ...response,
493
493
  ok: true,
@@ -508,7 +508,7 @@ async function uploadChunkedSessions(sessions, options) {
508
508
  );
509
509
  }
510
510
  async function handleSessionsSend(options) {
511
- if (_chunkFBMOBNJYjs.rejectRestrictedFeedback.call(void 0, options)) return;
511
+ if (_chunkP62LON53js.rejectRestrictedFeedback.call(void 0, options)) return;
512
512
  const rating = parseSessionRating(options.rating);
513
513
  if (options.file) {
514
514
  const filePath = _path.resolve.call(void 0, options.file);
@@ -520,7 +520,7 @@ async function handleSessionsSend(options) {
520
520
  filename: _path.basename.call(void 0, filePath),
521
521
  ...rating ? { rating } : {}
522
522
  });
523
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
523
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ...response2,
526
526
  ok: true,
@@ -570,7 +570,7 @@ async function handleSessionsSend(options) {
570
570
  ...rating ? { rating } : {}
571
571
  });
572
572
  const sessionIds = built.map((session) => session.sessionId);
573
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
573
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  ...response,
576
576
  ok: true,
@@ -678,7 +678,7 @@ ${refreshMeta}
678
678
  </body>
679
679
  </html>`;
680
680
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
681
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
681
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
682
682
  {
683
683
  ok: true,
684
684
  file: outputPath,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-WVQOXYTQ.mjs";
3
+ } from "./chunk-CZNEQMJR.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-SXTVJIGB.mjs";
7
+ } from "./chunk-U4M32NFS.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-WVQOXYTQ.mjs";
3
+ } from "./chunk-CZNEQMJR.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-SXTVJIGB.mjs";
7
+ } from "./chunk-U4M32NFS.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
18
18
 
19
19
 
20
- var _chunkJMMNCJ7Zjs = require('./chunk-JMMNCJ7Z.js');
20
+ var _chunk2WFVLOB7js = require('./chunk-2WFVLOB7.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunkJMMNCJ7Zjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunkJMMNCJ7Zjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkJMMNCJ7Zjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunk2WFVLOB7js.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunk2WFVLOB7js.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk2WFVLOB7js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _os = require('os');
@@ -153,6 +153,11 @@ var COWORK_NETWORK_HINT = "Claude Cowork appears to be running Deepline in a net
153
153
  var REQUEST_TIMEOUT_MARKER = Symbol("deeplineRequestTimeout");
154
154
  var REQUEST_ABORT_MARKER = Symbol("deeplineRequestAbort");
155
155
  var MAX_AUTOMATIC_RETRY_WAIT_MS = 3e4;
156
+ function deploymentProtectionRedirect(headers) {
157
+ return Object.keys(headers).some(
158
+ (name) => name.toLowerCase() === "x-vercel-protection-bypass"
159
+ ) ? "manual" : void 0;
160
+ }
156
161
  function requestCancelledError(signal) {
157
162
  const error = withErrorCause(new Error("Request aborted"), signal.reason);
158
163
  error[REQUEST_ABORT_MARKER] = true;
@@ -469,7 +474,8 @@ var HttpClient = class {
469
474
  method,
470
475
  headers,
471
476
  body: requestBody,
472
- signal: controller.signal
477
+ signal: controller.signal,
478
+ redirect: deploymentProtectionRedirect(headers)
473
479
  });
474
480
  networkPhase = "reading_body";
475
481
  _optionalChain([options, 'optionalAccess', _130 => _130.onResponse, 'optionalCall', _131 => _131(response)]);
@@ -701,7 +707,8 @@ var HttpClient = class {
701
707
  method,
702
708
  headers,
703
709
  body: _optionalChain([options, 'optionalAccess', _153 => _153.body]) !== void 0 ? JSON.stringify(options.body) : void 0,
704
- signal: _optionalChain([options, 'optionalAccess', _154 => _154.signal])
710
+ signal: _optionalChain([options, 'optionalAccess', _154 => _154.signal]),
711
+ redirect: deploymentProtectionRedirect(headers)
705
712
  });
706
713
  _optionalChain([options, 'optionalAccess', _155 => _155.onResponse, 'optionalCall', _156 => _156(response)]);
707
714
  if (!response.ok) {
@@ -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 _chunkHUC5SGJQjs = require('./chunk-HUC5SGJQ.js');
3
+ var _chunkMRUFGOJRjs = require('./chunk-MRUFGOJR.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkMZROKQV3js = require('./chunk-MZROKQV3.js');
8
+ var _chunkNRBCETWLjs = require('./chunk-NRBCETWL.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") _chunkMZROKQV3js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkHUC5SGJQjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkNRBCETWLjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkMRUFGOJRjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkMZROKQV3js.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkNRBCETWLjs.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
- _chunkMZROKQV3js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkNRBCETWLjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-QSAC3IVI.mjs";
3
+ } from "./chunk-IMO3HXWZ.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-LZL6V5M5.mjs";
6
+ } from "./chunk-WGRDOPAK.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-SXTVJIGB.mjs";
17
+ } from "./chunk-U4M32NFS.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-JCTTXLAZ.mjs";
24
+ } from "./chunk-OWQF6WVH.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-JVEFMOY2.mjs";
27
+ } from "./chunk-7C4F4TLR.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkMZROKQV3js = require('./chunk-MZROKQV3.js');
14
+ var _chunkNRBCETWLjs = require('./chunk-NRBCETWL.js');
15
15
 
16
16
 
17
- var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
17
+ var _chunkS5LUY3KJjs = require('./chunk-S5LUY3KJ.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
23
+ var _chunkTFEGJEYOjs = require('./chunk-TFEGJEYO.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkUQN4VTZLjs = require('./chunk-UQN4VTZL.js');
27
+ var _chunkLE537GBCjs = require('./chunk-LE537GBC.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkMCXPJYBNjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkTFEGJEYOjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkUQN4VTZLjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkLE537GBCjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkMCXPJYBNjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkTFEGJEYOjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkMZROKQV3js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkNRBCETWLjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkMZROKQV3js.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkNRBCETWLjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkMZROKQV3js.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkNRBCETWLjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkMZROKQV3js.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkNRBCETWLjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkMZROKQV3js.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkNRBCETWLjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkMZROKQV3js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkNRBCETWLjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkMZROKQV3js.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkNRBCETWLjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkMCXPJYBNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkTFEGJEYOjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
303
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
313
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
330
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
353
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkMCXPJYBNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkTFEGJEYOjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkMZROKQV3js.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkUQN4VTZLjs.SDK_VERSION
367
+ skillNames: [..._chunkNRBCETWLjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkLE537GBCjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
373
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkMZROKQV3js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkNRBCETWLjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkMZROKQV3js.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkNRBCETWLjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkMCXPJYBNjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkTFEGJEYOjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkMZROKQV3js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkNRBCETWLjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkMZROKQV3js.SkillsStateUnavailableError)) throw error;
433
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkNRBCETWLjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
449
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkMZROKQV3js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkNRBCETWLjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
507
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
523
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkUQN4VTZLjs.SDK_VERSION,
563
+ cliVersion: _chunkLE537GBCjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkMZROKQV3js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkNRBCETWLjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
578
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkMZROKQV3js.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkNRBCETWLjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkMZROKQV3js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkNRBCETWLjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
645
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkMZROKQV3js.syncSdkSkillsIfNeeded.call(void 0, _chunkMCXPJYBNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkNRBCETWLjs.syncSdkSkillsIfNeeded.call(void 0, _chunkTFEGJEYOjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
3
+ var _chunkS5LUY3KJjs = require('./chunk-S5LUY3KJ.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkV46J3UTMjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkS5LUY3KJjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {