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
@@ -0,0 +1,202 @@
1
+ /**
2
+ * How often the platform retried one Play run, as a fixed-size summary.
3
+ *
4
+ * Every count comes from the scheduler's durable run and attempt records, read
5
+ * by `readRunRetryFacts`; nothing here is inferred from logs or error text.
6
+ * The summary has the same keys for every run, so its size never grows with
7
+ * rows, calls, attempts or logs. Event-level detail stays in the paginated run
8
+ * events (`runs logs <run-id> --kind activity.observed`).
9
+ *
10
+ * Only failure-driven retries are counted. A durable wait (event wait, long
11
+ * sleep, rate hold) also ends one scheduler attempt and starts another, and the
12
+ * scheduler keeps no per-attempt record that tells such a wait apart from a
13
+ * lost worker or runner. So raw attempt and sandbox counts are deliberately not
14
+ * reported: a run that only slept must not look like it retried.
15
+ *
16
+ * A retried attempt can repeat work a previous attempt already did: Plays are
17
+ * at-least-once. These counts say how many times the platform retried, never
18
+ * that any effect happened exactly once.
19
+ *
20
+ * Provider HTTP retries inside one tool call, runner-to-gateway transport
21
+ * retries, and lost-worker replacements are not counted: no durable record
22
+ * holds an exact per-run count of any of them.
23
+ */
24
+
25
+ export const RUN_RETRY_RECOVERY_OUTCOMES = [
26
+ 'none',
27
+ 'recovering',
28
+ 'recovered',
29
+ 'exhausted',
30
+ ] as const;
31
+ export type RunRetryRecoveryOutcome =
32
+ (typeof RUN_RETRY_RECOVERY_OUTCOMES)[number];
33
+
34
+ export type RunRetrySummary = {
35
+ /**
36
+ * Counts cover the run's current resume epoch. `runs resume` starts a new
37
+ * epoch and clears the recovery counts of the previous one.
38
+ */
39
+ scope: 'current_epoch';
40
+ /** How many times `runs resume` continued this run; 0 if never resumed. */
41
+ resumeEpoch: number;
42
+ /**
43
+ * Automatic platform recoveries in this epoch: an attempt that failed for a
44
+ * platform reason was retired and the run requeued. `preCode` failed before
45
+ * the Play's code started; `postCode` failed after it started. Exact: each
46
+ * is the scheduler's own fenced defer count.
47
+ */
48
+ platformRecoveries: { preCode: number; postCode: number };
49
+ /**
50
+ * `recovering`: waiting out a recovery delay before the next attempt.
51
+ * `exhausted`: the recovery budget ran out, so the run failed.
52
+ * `recovered`: at least one recovery requeued the run and none is pending;
53
+ * it says nothing about how the run itself ended.
54
+ * `none`: no platform recovery in this epoch.
55
+ */
56
+ recoveryOutcome: RunRetryRecoveryOutcome;
57
+ };
58
+
59
+ /** Raw durable scheduler facts for one run, as read from runtime Postgres. */
60
+ export type RunRetryFacts = {
61
+ /** `launch.resumeEpoch`; absent before the first resume. */
62
+ resumeEpoch: unknown;
63
+ /** `runs.recovery_json`, or null for a run that was never recovered. */
64
+ recovery: unknown;
65
+ /** Whether the queued run is waiting out a recovery delay right now. */
66
+ recovering: boolean;
67
+ };
68
+
69
+ function record(value: unknown): Record<string, unknown> | null {
70
+ return value !== null && typeof value === 'object' && !Array.isArray(value)
71
+ ? (value as Record<string, unknown>)
72
+ : null;
73
+ }
74
+
75
+ const MISSING = Symbol('missing');
76
+ /** A stored JSON value the reader could not parse. */
77
+ export const MALFORMED_STORED_JSON = Symbol('malformed-stored-json');
78
+
79
+ /** A stored count; absent is `MISSING`, anything malformed is `null`. */
80
+ function storedCount(value: unknown): number | null | typeof MISSING {
81
+ if (value === undefined || value === null) return MISSING;
82
+ const parsed = typeof value === 'string' ? Number(value) : value;
83
+ return Number.isSafeInteger(parsed) && (parsed as number) >= 0
84
+ ? (parsed as number)
85
+ : null;
86
+ }
87
+
88
+ function storedTime(value: unknown): boolean | null {
89
+ const parsed = storedCount(value);
90
+ if (parsed === MISSING) return false;
91
+ return parsed === null ? null : true;
92
+ }
93
+
94
+ /**
95
+ * Project the scheduler's facts into the summary. Returns undefined when a
96
+ * stored fact is malformed, so a reader reports the summary as unavailable
97
+ * instead of showing an invented zero.
98
+ */
99
+ export function projectRunRetrySummary(
100
+ facts: RunRetryFacts,
101
+ ): RunRetrySummary | undefined {
102
+ const epoch = storedCount(facts.resumeEpoch);
103
+ if (epoch === null) return undefined;
104
+ // Recovery state is an object or absent; anything else is malformed.
105
+ if (
106
+ facts.recovery !== null &&
107
+ facts.recovery !== undefined &&
108
+ !record(facts.recovery)
109
+ )
110
+ return undefined;
111
+ const recovery = record(facts.recovery) ?? {};
112
+ const postCode = record(recovery.postCode) ?? {};
113
+ const preCode = recovery.kind === 'platform_pre_code' ? recovery : {};
114
+ const postCodeDefers = storedCount(postCode.deferCount);
115
+ const preCodeDefers = storedCount(preCode.deferCount);
116
+ const postCodeExhausted = storedTime(postCode.exhaustedAtMs);
117
+ const preCodeExhausted = storedTime(preCode.exhaustedAtMs);
118
+ if (
119
+ postCodeDefers === null ||
120
+ preCodeDefers === null ||
121
+ postCodeExhausted === null ||
122
+ preCodeExhausted === null
123
+ ) {
124
+ return undefined;
125
+ }
126
+ const platformRecoveries = {
127
+ preCode: preCodeDefers === MISSING ? 0 : preCodeDefers,
128
+ postCode: postCodeDefers === MISSING ? 0 : postCodeDefers,
129
+ };
130
+ const recoveryOutcome: RunRetryRecoveryOutcome = facts.recovering
131
+ ? 'recovering'
132
+ : postCodeExhausted || preCodeExhausted
133
+ ? 'exhausted'
134
+ : platformRecoveries.preCode + platformRecoveries.postCode > 0
135
+ ? 'recovered'
136
+ : 'none';
137
+ return {
138
+ scope: 'current_epoch',
139
+ resumeEpoch: epoch === MISSING ? 0 : epoch,
140
+ platformRecoveries,
141
+ recoveryOutcome,
142
+ };
143
+ }
144
+
145
+ /**
146
+ * Read a summary from an API response. Older servers omit it, and a value
147
+ * that does not match the contract is treated as absent.
148
+ */
149
+ export function normalizeRunRetrySummary(
150
+ value: unknown,
151
+ ): RunRetrySummary | undefined {
152
+ const source = record(value);
153
+ const recoveries = record(source?.platformRecoveries);
154
+ const count = (field: unknown): field is number =>
155
+ Number.isSafeInteger(field) && (field as number) >= 0;
156
+ if (
157
+ !source ||
158
+ !recoveries ||
159
+ source.scope !== 'current_epoch' ||
160
+ !count(source.resumeEpoch) ||
161
+ !count(recoveries.preCode) ||
162
+ !count(recoveries.postCode) ||
163
+ !(RUN_RETRY_RECOVERY_OUTCOMES as readonly unknown[]).includes(
164
+ source.recoveryOutcome,
165
+ )
166
+ ) {
167
+ return undefined;
168
+ }
169
+ return {
170
+ scope: 'current_epoch',
171
+ resumeEpoch: source.resumeEpoch,
172
+ platformRecoveries: {
173
+ preCode: recoveries.preCode,
174
+ postCode: recoveries.postCode,
175
+ },
176
+ recoveryOutcome: source.recoveryOutcome as RunRetryRecoveryOutcome,
177
+ };
178
+ }
179
+
180
+ /** Whether the platform retried or someone resumed the run. */
181
+ export function runWasRetried(summary: RunRetrySummary): boolean {
182
+ return (
183
+ summary.resumeEpoch > 0 ||
184
+ summary.recoveryOutcome !== 'none' ||
185
+ summary.platformRecoveries.preCode + summary.platformRecoveries.postCode > 0
186
+ );
187
+ }
188
+
189
+ /** One line for people. */
190
+ export function formatRunRetrySummary(summary: RunRetrySummary): string {
191
+ const { preCode, postCode } = summary.platformRecoveries;
192
+ const parts = [
193
+ preCode + postCode > 0 || summary.recoveryOutcome !== 'none'
194
+ ? `platform recoveries ${preCode} before code, ${postCode} after code (${summary.recoveryOutcome})`
195
+ : 'no platform recovery',
196
+ ];
197
+ if (summary.resumeEpoch > 0)
198
+ parts.push(
199
+ `resumed ${summary.resumeEpoch} ${summary.resumeEpoch === 1 ? 'time' : 'times'}; counts are since the last resume`,
200
+ );
201
+ return parts.join(' · ');
202
+ }
@@ -62,6 +62,8 @@ const MODAL_CAPACITY_RELEASE_RETRY_DELAYS_MS = [0, 100, 500, 2_000] as const;
62
62
  const MODAL_LATE_CREATE_PERSIST_RETRY_DELAYS_MS = [0, 100, 500, 2_000] as const;
63
63
  // The SDK does not export gRPC status codes.
64
64
  const MODAL_GRPC_STATUS_NOT_FOUND = 5;
65
+ const MODAL_GRPC_STATUS_UNKNOWN = 2;
66
+ const MODAL_GRPC_STATUS_INTERNAL = 13;
65
67
  type ModalSandbox = Awaited<ReturnType<ModalClient['sandboxes']['create']>>;
66
68
 
67
69
  class ModalPayloadUploadTimeoutError extends Error {
@@ -74,15 +76,30 @@ class ModalPayloadUploadTimeoutError extends Error {
74
76
  }
75
77
 
76
78
  /**
77
- * A file did not reach the sandbox because Modal reports the sandbox
78
- * unavailable, which another sandbox can outrun. Staging sends no command, so
79
- * nothing could run. By name, as `isModalSandboxNotFoundError` reads the SDK's
80
- * errors. Other write errors stay loud: the SDK folds a refused credential into
81
- * the same `SandboxFilesystemError` as a provider fault, and a stalled upload
82
- * may be input too large for any sandbox.
79
+ * A file did not reach the sandbox for a reason another sandbox can outrun.
80
+ * Staging sends no command, so nothing could run. By exact class name, as
81
+ * `isModalSandboxNotFoundError` reads the SDK's errors:
82
+ *
83
+ * - `NotFoundError`: Modal reports the sandbox unavailable.
84
+ * - `SandboxFilesystemError` itself, not a subclass: the SDK's class for a
85
+ * write that failed for no reason it names. Its translation of an unexpected
86
+ * control-plane answer ("An unexpected error occurred, please contact
87
+ * support@modal.com") is this class; on Nov 13 it failed 77 runs before
88
+ * `upload:done`. A refused credential folds into it too. That is Deepline's
89
+ * credential, so it defers and a persistent one exhausts the bounded budget
90
+ * as `PLATFORM_RECOVERY_EXHAUSTED`.
91
+ *
92
+ * The named subclasses (permission, not a directory, is a directory) describe
93
+ * the write itself, which any sandbox would repeat, so they stay loud. So does
94
+ * a stalled upload: its input may be too large for any sandbox, and Modal
95
+ * starts one sandbox per attempt, so no earlier start failure in the attempt
96
+ * can show otherwise.
83
97
  */
84
98
  function isUndeliveredModalRunnerFailure(error: unknown): boolean {
85
- return error instanceof Error && error.name === 'NotFoundError';
99
+ return (
100
+ error instanceof Error &&
101
+ (error.name === 'NotFoundError' || error.name === 'SandboxFilesystemError')
102
+ );
86
103
  }
87
104
 
88
105
  async function writeModalFileWithDeadline(input: {
@@ -131,6 +148,41 @@ export class ModalSandboxCreateOutcomeUnknownError extends Error {
131
148
  }
132
149
  }
133
150
 
151
+ /**
152
+ * The pre-code recovery for a Modal create that Modal itself rejected. A typed
153
+ * rejection keeps its own reason (capacity, unavailable). A gRPC `INTERNAL` or
154
+ * `UNKNOWN` answer to the create, such as Modal's "unexpected error", returned
155
+ * no sandbox, so no runner and no customer code exist: it defers on the
156
+ * bounded start budget instead of failing the run. Modal does not create a
157
+ * second sandbox inside an attempt, so the deferral is the retry.
158
+ *
159
+ * Everything else stays terminal. `sandboxes.create` builds the image and the
160
+ * request locally before sending it, so a non-gRPC error is our config and a
161
+ * retry would repeat it. A create that never settled
162
+ * (`ModalSandboxCreateOutcomeUnknownError`) may still produce that sandbox, so
163
+ * its intent stays pending for the reconciler.
164
+ */
165
+ function recoveryForModalCreateRejection(
166
+ error: unknown,
167
+ createSent: boolean,
168
+ ): unknown {
169
+ const typed = recoveryForModalSandboxCreateFailure(error);
170
+ if (typed) return typed;
171
+ if (createSent && isModalCreateRejectedByModal(error)) {
172
+ return recoveryForRunnerStartupNotLive(error);
173
+ }
174
+ return error;
175
+ }
176
+
177
+ /** Modal's control plane answered the create with an untyped gRPC failure. */
178
+ function isModalCreateRejectedByModal(error: unknown): boolean {
179
+ if (!(error instanceof Error) || error.name !== 'ClientError') return false;
180
+ const code = (error as { code?: unknown }).code;
181
+ return (
182
+ code === MODAL_GRPC_STATUS_INTERNAL || code === MODAL_GRPC_STATUS_UNKNOWN
183
+ );
184
+ }
185
+
134
186
  export async function awaitModalSandboxCreate<T>(input: {
135
187
  create: Promise<T>;
136
188
  timeoutMs?: number;
@@ -635,7 +687,7 @@ export const modalPlayRunnerBackend: PlayRunnerBackend = {
635
687
  // A create rejection proves no sandbox and no customer code exist.
636
688
  // Preserve that fact for the scheduler rather than converting it
637
689
  // into a terminal runner result below.
638
- throw recoveryForModalSandboxCreateFailure(error) ?? error;
690
+ throw recoveryForModalCreateRejection(error, createSent);
639
691
  }
640
692
  const billingStartedAt = Date.now();
641
693
  runtimeTiming.modalCreateMs = billingStartedAt - startedAt;
@@ -235,3 +235,115 @@ export function emitRecoveredSecretResolutionRetry(input: {
235
235
  },
236
236
  });
237
237
  }
238
+
239
+ /**
240
+ * Durability decisions, as fixed-shape telemetry lines.
241
+ *
242
+ * Each line is emitted where the decision is made, through the process's
243
+ * existing log stream (the Fly worker's stdout feeds `deepline-runtime-logs`,
244
+ * the app's feeds `vercel`). A line carries identities, enums, and counts
245
+ * only: never inputs, outputs, provider text, or secrets. Its size does not
246
+ * grow with the run.
247
+ */
248
+ const DURABILITY_DECISION_REASON = /^[a-z][a-z0-9_]{0,95}$/;
249
+
250
+ /** A code-owned snake_case reason, or `unrecognized` for anything else. */
251
+ function durabilityDecisionReason(reason: unknown): string {
252
+ return typeof reason === 'string' && DURABILITY_DECISION_REASON.test(reason)
253
+ ? reason
254
+ : 'unrecognized';
255
+ }
256
+
257
+ function durabilityDecisionCount(value: unknown): number | null {
258
+ return typeof value === 'number' && Number.isSafeInteger(value) && value >= 0
259
+ ? value
260
+ : null;
261
+ }
262
+
263
+ export type PlayRunRecoveryDecision = {
264
+ runId: string;
265
+ orgId: string | null;
266
+ /** The scheduler attempt the decision retired. */
267
+ attempt: number;
268
+ /** `pre_code`: no customer code started. `post_code`: it may have. */
269
+ stage: 'pre_code' | 'post_code';
270
+ /** `deferred`: the same run retries later. `exhausted`: its budget ended. */
271
+ outcome: 'deferred' | 'exhausted';
272
+ /** The scheduler's persisted recovery reason. */
273
+ reason: string;
274
+ /** Pre-code only: the dependency whose circuit owns the decision. */
275
+ dependency: 'modal' | 'runtime' | null;
276
+ /** The run's recovery count for this stage after this decision. */
277
+ deferCount: number | null;
278
+ /** Deferred only: how long until the retry is due. */
279
+ delayMs: number | null;
280
+ };
281
+
282
+ /**
283
+ * One line per platform recovery decision: `play.run.recovery_decision`.
284
+ * Exhaustion is an error (the run fails); a deferral is a warning.
285
+ */
286
+ export function emitPlayRunRecoveryDecision(
287
+ input: PlayRunRecoveryDecision,
288
+ ): void {
289
+ emitPlayTelemetry({
290
+ level: input.outcome === 'exhausted' ? 'error' : 'warn',
291
+ event: 'play.run.recovery_decision',
292
+ tag: '[play.run.recovery_decision]',
293
+ fields: {
294
+ orgId: input.orgId,
295
+ runId: input.runId,
296
+ attempt: durabilityDecisionCount(input.attempt),
297
+ stage: input.stage,
298
+ outcome: input.outcome,
299
+ reason: durabilityDecisionReason(input.reason),
300
+ dependency: input.dependency,
301
+ deferCount: durabilityDecisionCount(input.deferCount),
302
+ delayMs:
303
+ input.outcome === 'deferred'
304
+ ? durabilityDecisionCount(input.delayMs)
305
+ : null,
306
+ },
307
+ });
308
+ }
309
+
310
+ export type PlayRunResumeDecision = {
311
+ runId: string;
312
+ orgId: string;
313
+ /**
314
+ * `accepted`: a new epoch was queued. `refused`: a typed refusal (HTTP 400, 403, 404
315
+ * or 409). `failed`: the request errored before a decision (500 or 503).
316
+ */
317
+ outcome: 'accepted' | 'refused' | 'failed';
318
+ /** Refused only: the typed refusal reason. */
319
+ reason: string | null;
320
+ /** Accepted only: the new resume epoch. */
321
+ epoch: number | null;
322
+ };
323
+
324
+ /** One line per `runs resume` decision: `play.run.resume_decision`. */
325
+ export function emitPlayRunResumeDecision(input: PlayRunResumeDecision): void {
326
+ emitPlayTelemetry({
327
+ level:
328
+ input.outcome === 'failed'
329
+ ? 'error'
330
+ : input.outcome === 'refused'
331
+ ? 'warn'
332
+ : 'info',
333
+ event: 'play.run.resume_decision',
334
+ tag: '[play.run.resume_decision]',
335
+ fields: {
336
+ orgId: input.orgId,
337
+ runId: input.runId,
338
+ outcome: input.outcome,
339
+ reason:
340
+ input.outcome === 'refused'
341
+ ? durabilityDecisionReason(input.reason)
342
+ : null,
343
+ epoch:
344
+ input.outcome === 'accepted'
345
+ ? durabilityDecisionCount(input.epoch)
346
+ : null,
347
+ },
348
+ });
349
+ }
@@ -359,7 +359,10 @@ import {
359
359
  createRunLedgerProjectionJob,
360
360
  type RunLedgerProjectionStats,
361
361
  } from '../play-runs/projection';
362
- import { emitPlayRuntimeSpan } from '../runtime-telemetry';
362
+ import {
363
+ emitPlayRunRecoveryDecision,
364
+ emitPlayRuntimeSpan,
365
+ } from '../runtime-telemetry';
363
366
 
364
367
  /**
365
368
  * A token exchange crosses an HTTP boundary, which otherwise erases the
@@ -4210,6 +4213,19 @@ async function executeAssignedAbsurdAttempt(input: {
4210
4213
  delayMs: deferral.delayMs,
4211
4214
  historyRows: deferral.historyRows,
4212
4215
  });
4216
+ if (deferral.deferred || deferral.exhausted) {
4217
+ emitPlayRunRecoveryDecision({
4218
+ runId,
4219
+ orgId: launch.orgId ?? null,
4220
+ attempt: generation,
4221
+ stage: 'post_code',
4222
+ outcome: deferral.deferred ? 'deferred' : 'exhausted',
4223
+ reason: outcome.reason,
4224
+ dependency: null,
4225
+ deferCount: deferral.deferCount,
4226
+ delayMs: deferral.delayMs,
4227
+ });
4228
+ }
4213
4229
  if (deferral.deferred && deferral.delayMs !== null) {
4214
4230
  // The lost attempts' receipt claims would otherwise hold their calls
4215
4231
  // until the leases expire; the retried attempt must claim them now.
@@ -5678,12 +5694,34 @@ async function executeAssignedAbsurdAttempt(input: {
5678
5694
  ...(detail ? { detail } : {}),
5679
5695
  ...(providerText ? { providerText } : {}),
5680
5696
  });
5697
+ emitPlayRunRecoveryDecision({
5698
+ runId,
5699
+ orgId: launch.orgId ?? null,
5700
+ attempt: generation,
5701
+ stage: 'pre_code',
5702
+ outcome: 'deferred',
5703
+ reason: recovery.reason,
5704
+ dependency: recovery.dependency,
5705
+ deferCount: recovery.deferCount,
5706
+ delayMs: recovery.delaySeconds * 1_000,
5707
+ });
5681
5708
  throw new DeferTask(
5682
5709
  `Platform recovery deferred for ${recovery.dependency}: ${recovery.reason}`,
5683
5710
  recovery.delaySeconds,
5684
5711
  );
5685
5712
  }
5686
5713
  if (recovery.kind === 'exhausted') {
5714
+ emitPlayRunRecoveryDecision({
5715
+ runId,
5716
+ orgId: launch.orgId ?? null,
5717
+ attempt: generation,
5718
+ stage: 'pre_code',
5719
+ outcome: 'exhausted',
5720
+ reason: recovery.reason,
5721
+ dependency: recovery.dependency,
5722
+ deferCount: recovery.deferCount,
5723
+ delayMs: null,
5724
+ });
5687
5725
  return finalizeTerminal({
5688
5726
  claim,
5689
5727
  runnerResult: recovery.terminalResult,
@@ -69,18 +69,24 @@ export const isDurableRunFailureCause = isDurableRunFailureCauseFilter;
69
69
  const PLATFORM_RECOVERY_EXHAUSTED_PREFIX = 'PLATFORM_RECOVERY_EXHAUSTED:';
70
70
  /**
71
71
  * Leading codes the runtime writes when Deepline, not the Play, failed the
72
- * run: the sandbox never started a runner, or the scheduler was unavailable.
72
+ * run: the sandbox never started a runner, the scheduler was unavailable, a
73
+ * Modal create never settled, or the payload upload to a Modal sandbox missed
74
+ * its deadline. None of these ran customer code.
73
75
  */
74
76
  const PLATFORM_RUNTIME_FAILURE_CODES = [
75
77
  'RUNTIME_SANDBOX_START_FAILED',
76
78
  'RUNTIME_SCHEDULER_UNAVAILABLE',
79
+ 'RUNTIME_MODAL_SANDBOX_CREATE_OUTCOME_UNKNOWN',
80
+ 'MODAL_PAYLOAD_UPLOAD_TIMEOUT',
77
81
  ] as const;
78
82
  /**
79
83
  * Runtime error classes whose stored message is `<Class>: <CODE>: ...`. Only
80
84
  * these names are stripped before reading the leading code: a Play's own
81
85
  * `Error: <CODE>: ...` keeps its class prefix and stays the Play's.
82
86
  */
83
- const RUNTIME_ERROR_CLASS_PREFIXES = ['DaytonaRunnerInitializationError'] as const;
87
+ const RUNTIME_ERROR_CLASS_PREFIXES = [
88
+ 'DaytonaRunnerInitializationError',
89
+ ] as const;
84
90
  /**
85
91
  * The exhausted-recovery message is a fixed Deepline template
86
92
  * (`platformRecoveryExhaustedMessage` and the pre-code variant), well under
@@ -106,9 +112,11 @@ export const DURABLE_RUN_FAILURE_MESSAGE_MAX_CHARS = 512;
106
112
  * admission sessions expired) failed on Deepline's authority, not its code.
107
113
  * So did a sandbox that never started a runner (`RUNTIME_SANDBOX_START_FAILED`,
108
114
  * also behind a known runtime error class such as
109
- * `DaytonaRunnerInitializationError: `) and an unavailable scheduler
110
- * (`RUNTIME_SCHEDULER_UNAVAILABLE`). Only the leading code position counts,
111
- * so stored rows of any age read the same way.
115
+ * `DaytonaRunnerInitializationError: `), an unavailable scheduler
116
+ * (`RUNTIME_SCHEDULER_UNAVAILABLE`), a Modal create that never settled
117
+ * (`RUNTIME_MODAL_SANDBOX_CREATE_OUTCOME_UNKNOWN`) and a Modal payload upload
118
+ * past its deadline (`MODAL_PAYLOAD_UPLOAD_TIMEOUT`). Only the leading code
119
+ * position counts, so stored rows of any age read the same way.
112
120
  */
113
121
  export function durableRunFailureLateralSql(): string {
114
122
  return `LEFT JOIN LATERAL (
@@ -27,7 +27,13 @@ export type PlayRunRecoveryOutcome =
27
27
  deadlineAtMs: number | null;
28
28
  delaySeconds: number;
29
29
  }
30
- | { kind: 'exhausted'; terminalResult: PlayRunnerResult };
30
+ | {
31
+ kind: 'exhausted';
32
+ dependency: 'modal' | 'runtime';
33
+ reason: string;
34
+ deferCount: number | null;
35
+ terminalResult: PlayRunnerResult;
36
+ };
31
37
 
32
38
  export async function transitionPreCodePlayRunRecovery(input: {
33
39
  error: unknown;
@@ -81,6 +87,9 @@ export async function transitionPreCodePlayRunRecovery(input: {
81
87
  if (recovery.exhausted) {
82
88
  return {
83
89
  kind: 'exhausted',
90
+ dependency: decision.dependency,
91
+ reason: decision.reason,
92
+ deferCount: recovery.deferCount,
84
93
  terminalResult: {
85
94
  status: 'failed',
86
95
  error:
@@ -0,0 +1,62 @@
1
+ /**
2
+ * The scheduler facts behind a run's retry summary. Read-only, one row, and
3
+ * constant work: the run by primary key plus the recovering predicate, which
4
+ * reads only the run's newest attempt by its `(run_id, attempt)` key.
5
+ */
6
+ import {
7
+ MALFORMED_STORED_JSON,
8
+ type RunRetryFacts,
9
+ } from '../run-retry-summary';
10
+ import {
11
+ durableRunRecoveringSql,
12
+ durableRunTable,
13
+ type DurableRunSqlOptions,
14
+ } from './durable-run-sql';
15
+ import type { PostgresSchedulerQueryClient } from './postgres';
16
+
17
+ /** JSON columns arrive as text so every driver hands back the same shape. */
18
+ type RawRunRetryFacts = Record<string, unknown> & {
19
+ resume_epoch: string | null;
20
+ recovery_json: string | null;
21
+ recovering: boolean | null;
22
+ };
23
+
24
+ /** Unparseable stored JSON stays visibly malformed for the projection. */
25
+ function parsedJson(value: string | null): unknown {
26
+ if (value === null) return null;
27
+ try {
28
+ return JSON.parse(value) as unknown;
29
+ } catch {
30
+ return MALFORMED_STORED_JSON;
31
+ }
32
+ }
33
+
34
+ /**
35
+ * One run's retry facts, or null when this scheduler schema has no such run
36
+ * for the org. The org filter is part of the query: the runs table is shared.
37
+ */
38
+ export async function readRunRetryFacts(
39
+ client: PostgresSchedulerQueryClient,
40
+ input: { runId: string; orgId: string },
41
+ options?: DurableRunSqlOptions,
42
+ ): Promise<RunRetryFacts | null> {
43
+ const result = await client.query<RawRunRetryFacts>(
44
+ `
45
+ SELECT (coalesce(runs.admission_json, runs.launch_json) -> 'resumeEpoch')::text
46
+ AS resume_epoch,
47
+ runs.recovery_json::text AS recovery_json,
48
+ ${durableRunRecoveringSql(options)} AS recovering
49
+ FROM ${durableRunTable('runs', options)} AS runs
50
+ WHERE runs.run_id = $1
51
+ AND runs.org_id = $2
52
+ `,
53
+ [input.runId, input.orgId],
54
+ );
55
+ const row = result.rows[0];
56
+ if (!row) return null;
57
+ return {
58
+ resumeEpoch: parsedJson(row.resume_epoch),
59
+ recovery: parsedJson(row.recovery_json),
60
+ recovering: row.recovering === true,
61
+ };
62
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkV65J64FLjs = require('./chunk-V65J64FL.js');
18
+ require('./chunk-S5LUY3KJ.js');
19
+ require('./chunk-TFEGJEYO.js');
20
+ require('./chunk-LE537GBC.js');
21
+ require('./chunk-T2N3B7IQ.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-SQWET4SL.js');
24
+ require('./chunk-2WFVLOB7.js');
25
+ require('./chunk-OG64RBAC.js');
26
+ require('./chunk-COGTRVWW.js');
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ exports.EXIT_WORKSPACE_MISMATCH = _chunkV65J64FLjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkV65J64FLjs.authStatusLine; exports.clearPendingClaim = _chunkV65J64FLjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkV65J64FLjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkV65J64FLjs.handleRegister; exports.handleStatus = _chunkV65J64FLjs.handleStatus; exports.handleWait = _chunkV65J64FLjs.handleWait; exports.httpJson = _chunkV65J64FLjs.httpJson; exports.readPendingAuthClaim = _chunkV65J64FLjs.readPendingAuthClaim; exports.readStatusBanner = _chunkV65J64FLjs.readStatusBanner; exports.registerAuthCommands = _chunkV65J64FLjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkV65J64FLjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkV65J64FLjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkV65J64FLjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkV65J64FLjs.statusBannerLine;
@@ -14,14 +14,14 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-RKREB7MU.mjs";
18
- import "./chunk-6DBRBWHC.mjs";
19
- import "./chunk-SXTVJIGB.mjs";
20
- import "./chunk-JCTTXLAZ.mjs";
17
+ } from "./chunk-RMZ6CISE.mjs";
18
+ import "./chunk-GCLNX72G.mjs";
19
+ import "./chunk-U4M32NFS.mjs";
20
+ import "./chunk-OWQF6WVH.mjs";
21
21
  import "./chunk-QNHHZ63P.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-ZPGGW27Q.mjs";
24
- import "./chunk-JVEFMOY2.mjs";
24
+ import "./chunk-7C4F4TLR.mjs";
25
25
  import "./chunk-WZYKRD7T.mjs";
26
26
  import "./chunk-KRD6H754.mjs";
27
27
  export {