deepline 0.3.502 → 0.3.504

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 (211) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +26 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +35 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +1 -1
  7. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +13 -0
  8. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
  9. package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
  10. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  11. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
  16. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  18. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  20. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  22. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  25. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  26. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  50. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  51. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  54. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  55. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  56. package/dist/cli/{auth-EFHLOVG4.mjs → auth-3L5AA5AX.mjs} +5 -5
  57. package/dist/cli/auth-UPK4IIIN.js +43 -0
  58. package/dist/cli/{billing-Q5XKEYPP.mjs → billing-E7EASVPO.mjs} +19 -12
  59. package/dist/cli/{billing-SKT2VE34.js → billing-HOGXVE2V.js} +92 -85
  60. package/dist/cli/{chunk-L5CTJY74.mjs → chunk-22OCKCYS.mjs} +2 -2
  61. package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-2ABRDH3B.mjs} +2 -2
  62. package/dist/cli/{chunk-IL666WJE.js → chunk-2W77YCKH.js} +5 -5
  63. package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-3MLFFWDM.mjs} +2 -2
  64. package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-4CC67XH5.mjs} +2 -2
  65. package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-5CHBIJIM.mjs} +10 -6
  66. package/dist/cli/chunk-5LUF4LAR.mjs +209 -0
  67. package/dist/cli/{chunk-JL6H4H3G.js → chunk-5Z6EULD5.js} +6 -6
  68. package/dist/cli/{chunk-32YQBJON.js → chunk-67OI26OE.js} +7 -7
  69. package/dist/cli/{chunk-LA3UYRVZ.js → chunk-6JNBMTCZ.js} +1 -1
  70. package/dist/cli/{chunk-DYHTXGLX.js → chunk-6SMR7LU7.js} +2 -2
  71. package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7F4OEHQK.mjs} +1 -1
  72. package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
  73. package/dist/cli/{chunk-UOANF3DR.js → chunk-7P2QVMBP.js} +26 -7
  74. package/dist/cli/{chunk-GINKIZ7S.js → chunk-A6LA42JY.js} +16 -16
  75. package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
  76. package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-BTWUNKKX.mjs} +2 -2
  77. package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-BX45XMXZ.mjs} +2 -2
  78. package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-DEAJVQEG.mjs} +1 -1
  79. package/dist/cli/{chunk-JFBJLNBI.js → chunk-FISP4LCK.js} +53 -53
  80. package/dist/cli/{chunk-OEUMXKR5.js → chunk-FTRVCIGC.js} +26 -26
  81. package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-GGBXNQCR.mjs} +4 -4
  82. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-GJ2DA35C.js} +100 -17
  83. package/dist/cli/{chunk-2S2F6YSI.js → chunk-GRAGUYIE.js} +41 -41
  84. package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-HUX5DZO6.mjs} +3 -3
  85. package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-IGNQKOWT.mjs} +32 -15
  86. package/dist/cli/{chunk-WKFAX2K7.js → chunk-IPAMOMGP.js} +21 -21
  87. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  88. package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-JPR2546F.js} +23 -21
  89. package/dist/cli/{chunk-X5MGQ7UT.js → chunk-KCKAFTPY.js} +10 -10
  90. package/dist/cli/{chunk-TAK3MVXY.js → chunk-KGUGNEKL.js} +284 -267
  91. package/dist/cli/{chunk-OVZOMSH2.js → chunk-LHXYCZYO.js} +8 -8
  92. package/dist/cli/{chunk-QOJBRCAS.js → chunk-MJTK6Q3G.js} +3 -3
  93. package/dist/cli/{chunk-MYUISF3P.mjs → chunk-MLMWM5DV.mjs} +5 -5
  94. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  95. package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-NZ7Z7WNM.mjs} +2 -2
  96. package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-OX2D6BG4.mjs} +20 -1
  97. package/dist/cli/{chunk-YDXEXVBV.js → chunk-QKKU2FH4.js} +7 -7
  98. package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-QOLX2O2S.mjs} +4 -4
  99. package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
  100. package/dist/cli/chunk-R7J7CJPZ.js +209 -0
  101. package/dist/cli/{chunk-XMKUJ44Z.js → chunk-SMSQVRHE.js} +5 -5
  102. package/dist/cli/{chunk-54QXWK3C.mjs → chunk-SVFTZTCI.mjs} +1 -1
  103. package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
  104. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-UFYJTRSF.mjs} +98 -15
  105. package/dist/cli/{chunk-EUWRKWT4.js → chunk-UJMBG5JU.js} +5 -4
  106. package/dist/cli/{chunk-DKAMCJIT.js → chunk-USTJEEND.js} +17 -13
  107. package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-UXQQPMYO.js} +2 -2
  108. package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-VJVJWZ6I.mjs} +5 -5
  109. package/dist/cli/{chunk-JLYDLK6X.js → chunk-WBIDPDKJ.js} +3 -3
  110. package/dist/cli/{chunk-QNELA7SX.js → chunk-WZSFIJMG.js} +53 -53
  111. package/dist/cli/{chunk-NZXB27TP.mjs → chunk-XHZSPMNC.mjs} +4 -4
  112. package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-Y6XKCEPK.mjs} +1 -1
  113. package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-Y7VEHKID.mjs} +10 -8
  114. package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-YOQ2NNDO.mjs} +2 -1
  115. package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-Z6FXUDIL.mjs} +1 -1
  116. package/dist/cli/command-docs.d.mts +2 -1
  117. package/dist/cli/command-docs.d.ts +2 -1
  118. package/dist/cli/command-docs.js +6 -2
  119. package/dist/cli/command-docs.mjs +5 -1
  120. package/dist/cli/{csv-OXGSCV75.js → csv-2XWGPITO.js} +13 -13
  121. package/dist/cli/{csv-6AEPKKCO.mjs → csv-433JEHLQ.mjs} +4 -4
  122. package/dist/cli/{db-K3KRK4CZ.mjs → db-K747DH43.mjs} +6 -6
  123. package/dist/cli/{db-6NVHDUZY.js → db-PJJMD4VH.js} +27 -27
  124. package/dist/cli/describe-OYS7LZJD.js +49 -0
  125. package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-VEDDYW4P.mjs} +20 -20
  126. package/dist/cli/describe-core.d.mts +8 -4
  127. package/dist/cli/describe-core.d.ts +8 -4
  128. package/dist/cli/describe-core.js +4 -4
  129. package/dist/cli/describe-core.mjs +3 -3
  130. package/dist/cli/{executions-2C2FFG52.js → executions-HM5T72H6.js} +8 -8
  131. package/dist/cli/{executions-I7XW6WWK.mjs → executions-JWRX3XCT.mjs} +6 -6
  132. package/dist/cli/{feedback-47B57A5Y.js → feedback-34UG4BO3.js} +8 -8
  133. package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-MNSIA63Y.mjs} +4 -4
  134. package/dist/cli/git-5YQJSJFR.js +25 -0
  135. package/dist/cli/{git-3G5AFKBT.mjs → git-ZKEOXV3A.mjs} +5 -5
  136. package/dist/cli/index.js +144 -142
  137. package/dist/cli/index.mjs +44 -42
  138. package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-5M4T4ZVT.mjs} +5 -5
  139. package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-YXSI4FVU.js} +8 -8
  140. package/dist/cli/{monitors-KUPZODZS.mjs → monitors-C65OC4AW.mjs} +7 -7
  141. package/dist/cli/{monitors-IPWAD7LS.js → monitors-O25GDOYE.js} +95 -95
  142. package/dist/cli/{org-WFC3N672.js → org-2GSPLY2A.js} +72 -72
  143. package/dist/cli/{org-ZCQGEM3L.mjs → org-ZRMG5NS2.mjs} +6 -6
  144. package/dist/cli/{pages-N5BNC67L.js → pages-45DPADK6.js} +18 -18
  145. package/dist/cli/{pages-VE66IU7B.mjs → pages-TZZUFBRO.mjs} +6 -6
  146. package/dist/cli/{play-EIMDIAJB.mjs → play-3D7HH273.mjs} +138 -226
  147. package/dist/cli/{play-NKIRJSKX.js → play-RCGMND6X.js} +454 -542
  148. package/dist/cli/{providers-XU3AGY2F.js → providers-3N3ECMTY.js} +9 -9
  149. package/dist/cli/{providers-KDTJ63ED.mjs → providers-PSAKV6CJ.mjs} +6 -6
  150. package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-2A35SMGC.mjs} +4 -4
  151. package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-6R6AIXM6.js} +6 -6
  152. package/dist/cli/{run-ODGML35U.mjs → run-F3TLDGUO.mjs} +25 -25
  153. package/dist/cli/{run-ET2KVTPK.js → run-F6ZXTASZ.js} +44 -44
  154. package/dist/cli/{search-DK67K6PR.mjs → search-CZLCY3D2.mjs} +7 -7
  155. package/dist/cli/search-R5VEWJO2.js +32 -0
  156. package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-MQTSTLN5.mjs} +5 -5
  157. package/dist/cli/{search-output-KXP4FA62.js → search-output-R5XDNILW.js} +7 -7
  158. package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-D3GF4B2Z.mjs} +6 -6
  159. package/dist/cli/{secrets-WPS6NMNK.js → secrets-DCJYHDSY.js} +15 -15
  160. package/dist/cli/{sessions-PXVOH34X.mjs → sessions-QGEQ2UYZ.mjs} +5 -5
  161. package/dist/cli/{sessions-IP562J5Z.js → sessions-Z4JYJSDP.js} +6 -6
  162. package/dist/cli/{settings-FBUQGYVJ.mjs → settings-G7QEXA4N.mjs} +11 -11
  163. package/dist/cli/{settings-SUDUIVMY.js → settings-UVXXAT4A.js} +78 -78
  164. package/dist/cli/{setup-I5H6IOEY.js → setup-5I42W7D4.js} +49 -49
  165. package/dist/cli/{setup-JSIMTR73.mjs → setup-QHJU3DUI.mjs} +9 -9
  166. package/dist/cli/{skills-FJQ3LX6N.mjs → skills-5LRF4UKX.mjs} +7 -7
  167. package/dist/cli/skills-FB6TV52O.js +36 -0
  168. package/dist/cli/tools-L2364RPA.js +56 -0
  169. package/dist/cli/{tools-IGBK4BVE.mjs → tools-PUT6STVG.mjs} +18 -18
  170. package/dist/cli/{update-7MTT6F5K.mjs → update-CJ2GA64X.mjs} +9 -9
  171. package/dist/cli/update-ESYJGYVZ.js +34 -0
  172. package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-HVEWRTXD.mjs} +7 -7
  173. package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-O67MEBCP.js} +17 -17
  174. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  175. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  176. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  177. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  178. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  179. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  180. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  181. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  182. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  183. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  184. package/dist/index.d.mts +7 -7
  185. package/dist/index.d.ts +7 -7
  186. package/dist/index.js +9 -9
  187. package/dist/index.mjs +6 -6
  188. package/dist/install-integrity.json +125 -116
  189. package/dist/plays/bundle-play-file.d.mts +3 -3
  190. package/dist/plays/bundle-play-file.d.ts +3 -3
  191. package/dist/plays/bundle-play-file.mjs +12 -5
  192. package/dist/plays/play-description.d.mts +2 -2
  193. package/dist/plays/play-description.d.ts +2 -2
  194. package/dist/plays/run-request.d.mts +2 -2
  195. package/dist/plays/run-request.d.ts +2 -2
  196. package/dist/release.d.mts +1 -1
  197. package/dist/release.d.ts +1 -1
  198. package/dist/release.js +2 -2
  199. package/dist/release.mjs +1 -1
  200. package/dist/server.d.mts +4 -4
  201. package/dist/server.d.ts +4 -4
  202. package/dist/server.js +5 -5
  203. package/dist/server.mjs +3 -3
  204. package/package.json +1 -1
  205. package/dist/cli/auth-VM3IKP5F.js +0 -43
  206. package/dist/cli/describe-JOUAXXPE.js +0 -49
  207. package/dist/cli/git-OPKIC6JQ.js +0 -25
  208. package/dist/cli/search-6U54Y3OK.js +0 -32
  209. package/dist/cli/skills-VHININXC.js +0 -36
  210. package/dist/cli/tools-XMBMHVKF.js +0 -56
  211. package/dist/cli/update-H7JVW43I.js +0 -34
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkFVM4PS5Qjs = require('./chunk-FVM4PS5Q.js');
6
+ var _chunkBN5VKY4Xjs = require('./chunk-BN5VKY4X.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkFVM4PS5Qjs = require('./chunk-FVM4PS5Q.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
16
+ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
17
17
 
18
18
 
19
19
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunkFVM4PS5Qjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkBN5VKY4Xjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunkJO5FFSR7js.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkNTLBZUHDjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
133
133
  const record = await lookups.play(reference2);
134
134
  if (!record) return null;
135
135
  return {
136
- described: _chunkJO5FFSR7js.describedPlay.call(void 0, record),
136
+ described: _chunkNTLBZUHDjs.describedPlay.call(void 0, record),
137
137
  record: { ...record },
138
138
  schemas: {
139
139
  inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
@@ -144,22 +144,18 @@ async function findNamed(reference, options, lookups) {
144
144
  const tool = async () => {
145
145
  const record = await lookups.tool(name);
146
146
  if (!record) return null;
147
- const { byok } = record;
148
147
  const features = toolFeatures(record);
149
148
  return {
150
149
  described: {
151
- ..._chunkFVM4PS5Qjs.describedTool.call(void 0, record, name),
152
- // Shown when the tool runs only on your own credentials; otherwise
153
- // it is a feature, described with --feature byok.
154
- ..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
150
+ ..._chunkBN5VKY4Xjs.describedTool.call(void 0, record, name),
155
151
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
156
152
  },
157
- record: _chunkFVM4PS5Qjs.toolMetadataJsonForDescribe.call(void 0,
153
+ record: _chunkBN5VKY4Xjs.toolMetadataJsonForDescribe.call(void 0,
158
154
  record,
159
155
  name,
160
156
  lookups.seedStarterScript
161
157
  ),
162
- schemas: _chunkFVM4PS5Qjs.publicToolSchemas.call(void 0, record),
158
+ schemas: _chunkBN5VKY4Xjs.publicToolSchemas.call(void 0, record),
163
159
  feature: (featureName, value) => {
164
160
  const feature = features.find(({ name: name2 }) => name2 === featureName);
165
161
  return feature ? describeFeature(record, feature, value, {
@@ -205,7 +201,7 @@ async function describeName(name, options, lookups) {
205
201
  const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
206
202
  const verbose = options.verbose === true;
207
203
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
208
- const dashboardUrl = isPlay ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
204
+ const dashboardUrl = isPlay ? _chunkNTLBZUHDjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
209
205
  if (options.webUrl) {
210
206
  if (!dashboardUrl) {
211
207
  return {
@@ -222,7 +218,7 @@ async function describeName(name, options, lookups) {
222
218
  }
223
219
  if (options.feature !== void 0) {
224
220
  const { name: featureName, value } = parseFeatureRequest(options.feature);
225
- const pending = _nullishCoalesce(_optionalChain([chosen, 'access', _4 => _4.feature, 'optionalCall', _5 => _5(featureName, value)]), () => ( null));
221
+ const pending = _nullishCoalesce(_optionalChain([chosen, 'access', _3 => _3.feature, 'optionalCall', _4 => _4(featureName, value)]), () => ( null));
226
222
  const features = _nullishCoalesce(described.features, () => ( []));
227
223
  if (!pending) {
228
224
  return {
@@ -231,7 +227,7 @@ async function describeName(name, options, lookups) {
231
227
  exitCode: 2
232
228
  };
233
229
  }
234
- const shownValue = _nullishCoalesce(value, () => ( _optionalChain([features, 'access', _6 => _6.find, 'call', _7 => _7(({ name: name2 }) => name2 === featureName), 'optionalAccess', _8 => _8.defaultValue])));
230
+ const shownValue = _nullishCoalesce(value, () => ( _optionalChain([features, 'access', _5 => _5.find, 'call', _6 => _6(({ name: name2 }) => name2 === featureName), 'optionalAccess', _7 => _7.defaultValue])));
235
231
  const { details, lines } = await pending;
236
232
  return {
237
233
  status: "described",
@@ -269,7 +265,7 @@ async function describeName(name, options, lookups) {
269
265
  },
270
266
  lines: [
271
267
  `${described.id} [${described.kind.replace("_", " ")}]`,
272
- ..._chunkJO5FFSR7js.schemaLines.call(void 0, described, {
268
+ ..._chunkNTLBZUHDjs.schemaLines.call(void 0, described, {
273
269
  full: true,
274
270
  secondary: true,
275
271
  ...fields.length ? { fields } : {}
@@ -278,17 +274,17 @@ async function describeName(name, options, lookups) {
278
274
  } : {
279
275
  envelope: {
280
276
  ...summary,
281
- inputs: inputs.map(_chunkJO5FFSR7js.topLevelField),
282
- outputs: outputs.map(_chunkJO5FFSR7js.topLevelField),
283
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
284
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
285
- runExamples: _chunkJO5FFSR7js.examples.call(void 0, described, { verbose }),
277
+ inputs: inputs.map(_chunkNTLBZUHDjs.topLevelField),
278
+ outputs: outputs.map(_chunkNTLBZUHDjs.topLevelField),
279
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkNTLBZUHDjs.topLevelField) } : {},
280
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkNTLBZUHDjs.topLevelField) } : {},
281
+ runExamples: _chunkNTLBZUHDjs.examples.call(void 0, described, { verbose }),
286
282
  ...dashboardUrl ? { dashboardUrl } : {},
287
283
  ...shadows ? { shadows, note } : {}
288
284
  },
289
285
  lines: [
290
286
  ...note ? [`Note: ${note}`, ""] : [],
291
- ..._chunkJO5FFSR7js.describedLines.call(void 0, described, {
287
+ ..._chunkNTLBZUHDjs.describedLines.call(void 0, described, {
292
288
  cli: shown && (!named || options.cliExample === true),
293
289
  play: shown && (!named || options.playExample === true),
294
290
  explain: named,
@@ -305,7 +301,7 @@ async function describeName(name, options, lookups) {
305
301
  // its value stands, so callers of the older commands read what they did.
306
302
  { ...view.envelope, ...record }
307
303
  ) : {
308
- ..._chunkJO5FFSR7js.describedJson.call(void 0, described, {
304
+ ..._chunkNTLBZUHDjs.describedJson.call(void 0, described, {
309
305
  secondary: verbose || fields.length > 0,
310
306
  verbose
311
307
  }),
@@ -1,4 +1,9 @@
1
+ import {
2
+ PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
3
+ } from "./chunk-5LUF4LAR.mjs";
4
+
1
5
  // src/cli/command-docs.ts
6
+ var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
2
7
  var CONVENTIONS = `
3
8
  [[cli:
4
9
  Conventions (apply to every command):
@@ -311,6 +316,23 @@ Output:
311
316
  ]]
312
317
  Cost:
313
318
  Free.
319
+ `
320
+ },
321
+ "billing compute": {
322
+ core: `
323
+ Purpose:
324
+ Show Play runtime pricing, included compute, and usage.
325
+ Output:
326
+ The workspace pricing status, included compute, and runtime used.
327
+ ${PLAY_RUNTIME_PRICING_NOTE}
328
+ Cost:
329
+ Free to check.
330
+ [[cli:
331
+ --enable switches the workspace to included compute pricing.
332
+ Examples:
333
+ deepline billing compute --json
334
+ deepline billing quote --sandbox-timeout 30m --sandbox-size xlarge
335
+ ]]
314
336
  `
315
337
  },
316
338
  "billing usage": {
@@ -398,6 +420,8 @@ Examples:
398
420
  ]]
399
421
  Output:
400
422
  A ranked list. Each result has an id, its kind, what it does, and its price.
423
+ Tools that need a provider connection are flagged. Describe the tool to
424
+ see how to connect it.
401
425
  Cost:
402
426
  Free.
403
427
  Next:
@@ -416,6 +440,12 @@ When:
416
440
  do not say which kind the id is.
417
441
  Exact tool ids can also resolve supported tools hidden from list/search
418
442
  for compatibility. Absence from discovery does not mean a tool was removed.
443
+ [[cli:
444
+ If a tool needs a connection, the description gives the dashboard setup link
445
+ when available and the exact tools connect command. Share byok.setupUrl
446
+ from JSON, or run connectCommand and share the returned connect_url with a
447
+ workspace owner or admin.
448
+ ]]
419
449
  [[cli:
420
450
  Input:
421
451
  The id or reference from search. --verbose fills in every input and reads
@@ -424,6 +454,8 @@ Input:
424
454
  schema over 100 lines; --out <path> saves the output; --json prints JSON.
425
455
  A tool lists its features, such as the model an AI tool runs;
426
456
  --feature <name>[=<value>] describes one.
457
+ The byok feature marks tools that can use your own provider credentials.
458
+ Use --feature byok for setup details and the dashboard link when available.
427
459
  A play your workspace created is shown instead of a Deepline tool or
428
460
  prebuilt play of the same name; deepline/<name> shows the Deepline one.
429
461
  ]]
@@ -432,6 +464,8 @@ Output:
432
464
  Readable text by default; read that form. With --json:
433
465
  kind, id, displayName, description, cost, inputs[], outputs[], and
434
466
  runExamples {cli, play}, plus the kind's own fields.
467
+ Tools include provider and report connected and credentialStatus when known.
468
+ A missing provider connection can include connectCommand and byok.setupUrl.
435
469
  ]]
436
470
  Cost:
437
471
  Free.
@@ -492,8 +526,14 @@ Cost:
492
526
  "tools connect": {
493
527
  core: `
494
528
  Purpose:
495
- Connect a provider to the active workspace. Requires an owner or admin.
529
+ Get a shareable dashboard link or connect a provider to the active workspace.
530
+ Completing a connection requires a workspace owner or admin.
496
531
  Input:
532
+ --link looks up the exact provider id. When a person needs to connect a
533
+ provider, use the command printed by deepline describe <tool-id> or look up
534
+ the tool's provider field. Give them the returned link and tell them to
535
+ select the intended workspace in the dashboard.
536
+ The link opens that provider's setup without starting OAuth or saving anything.
497
537
  --credentials-file <path> saves a private JSON object of credential strings.
498
538
  A provider that takes one API key reads {"api_key": "..."}; a file with one
499
539
  field is accepted whatever the field is named. A multi-field provider (for
@@ -508,12 +548,15 @@ Input:
508
548
  requests no optional scopes. Scope names and presets
509
549
  are validated by the server; requested access may differ from granted access.
510
550
  Output:
551
+ Link: dashboard URL, or {provider, connect_url} with --json. Share connect_url
552
+ with the workspace owner or admin who will finish setup in the browser.
511
553
  Credentials: confirmation without secret values.
512
554
  OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
513
555
  completed connection. The browser must finish authorization.
514
556
  Cost:
515
557
  Does not spend Deepline credits.
516
558
  Examples:
559
+ deepline tools connect hubspot --link --json
517
560
  deepline tools connect heyreach --credentials-file ./heyreach.json
518
561
  deepline tools connect hubspot --oauth --preset read-crm
519
562
  `
@@ -573,6 +616,10 @@ When:
573
616
  reliable source of field names.
574
617
  Exact ids can resolve supported hidden tools for compatibility even when
575
618
  list/search omit them. Absence from discovery does not mean removal.
619
+ [[cli:
620
+ When provider credentials are missing, share byok.setupUrl from the
621
+ description, or run connectCommand and share the returned connect_url.
622
+ ]]
576
623
  [[cli:
577
624
  Input:
578
625
  The tool id. Prints readable text by default; read that
@@ -621,11 +668,10 @@ Output fields:
621
668
  connected false means the provider needs a connected account or
622
669
  key in this workspace; execute will fail with 3.
623
670
  credentialStatus detail for connected false.
624
- byok only when required. supported: you can connect your
625
- own provider credentials; required: the tool runs
626
- only on them. setup and setupUrl say where to
627
- connect them. With byok optional and nothing
628
- connected, Deepline's managed credentials are used.
671
+ byok shown with --feature byok. supported says whether
672
+ you can connect your own provider credentials.
673
+ required says whether the tool needs them. setupUrl
674
+ opens the provider's dashboard setup when available.
629
675
  extractors / targetGetters JSON paths the CLI uses to turn the raw provider
630
676
  response into rows.
631
677
  usageGuidance provider-specific notes worth reading once.
@@ -745,6 +791,8 @@ Writing a play:
745
791
  result.
746
792
  An optional export const config = { name, description, cron, webhook,
747
793
  runtime }; at the top of the file sets the name, triggers and runtime.
794
+ Set runtime.size to 'standard' (1gb, default), 'large' (4gb), or 'xlarge'
795
+ (8gb). See deepline billing compute --help for runtime pricing.
748
796
  --help --verbose lists the authoring rules.
749
797
  Auditing plays:
750
798
  plays list every saved play
@@ -838,8 +886,9 @@ Authoring rules:
838
886
  Set runtime.size to 'standard' or '1gb' (1 GiB / 1 CPU), 'large' or '4gb'
839
887
  (4 GiB / 2 CPU), or 'xlarge' or '8gb' (8 GiB / 4 CPU).
840
888
  Each alias selects the same profile and price as its named size.
841
- Compute pricing follows the workspace plan.
842
- [[cli:Use deepline billing quote for the session ceiling.]]
889
+ ${PLAY_RUNTIME_PRICING_NOTE}
890
+ [[cli:Use deepline billing quote --sandbox-timeout 30m --sandbox-size large
891
+ for the workspace's session ceiling.]]
843
892
  Set runtime.timeout to extend a run up to 4h.
844
893
  For large datasets, keep working sets bounded and checkpoint progress;
845
894
  inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
@@ -1088,6 +1137,8 @@ Input:
1088
1137
  --columns.<field> <header> maps a CSV header to a required field.
1089
1138
  --no-wait returns the run id immediately instead of waiting.
1090
1139
  --run-id-file <path> writes the run id as soon as the server accepts it.
1140
+ --from-run <run-id> starts a new run with that run's retained input and
1141
+ pinned revision instead of a target and input.
1091
1142
  ]]
1092
1143
  [[cli:
1093
1144
  Output (JSON, printed when the run ends):
@@ -1166,8 +1217,9 @@ Output fields:
1166
1217
  Reruns and idempotency:
1167
1218
  Running the same play with the same input reuses completed provider calls
1168
1219
  and rows, so rerunning after a partial failure only pays for the missing
1169
- work.[[cli: --force starts a fresh run graph; --force-tool-refresh repeats
1170
- billed provider calls and is almost never what you want.]]
1220
+ work.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
1221
+ cached reads, calls providers again (bills those calls again), and updates
1222
+ the shared result other Plays reuse; it is almost never what you want.]]
1171
1223
  Related:
1172
1224
  [[runs get <run-id>]] for status later; [[cli:runs export]][[mcp:deepline_read_play_output]] for rows; [[runs logs]] for
1173
1225
  persisted logs; [[billing usage --run-id]] for cost.
@@ -1608,11 +1660,14 @@ Cost:
1608
1660
  "runs rerun": {
1609
1661
  core: `
1610
1662
  Purpose:
1611
- Start a new run of the same play with the same input as an earlier run,
1612
- reusing its completed rows.
1663
+ Start over: a new run of the same play with the same input and revision
1664
+ as an earlier run. Calls run again unless their staleAfterSeconds allows a
1665
+ cached result, so writes repeat. [[cli:plays run --from-run <run-id> is
1666
+ the new name for this; runs resume <run-id> continues a stopped run
1667
+ without repeating its completed work.]]
1613
1668
  When:
1614
- After fixing the cause of a partial failure. When a failed run is
1615
- resumable, [[runs get]] also prints the exact command under actions.rerunCmd.
1669
+ To start over after changing data or settings. To continue a failed run
1670
+ after fixing its cause, prefer runs resume.
1616
1671
  [[cli:
1617
1672
  Input:
1618
1673
  The run id. --json.
@@ -1620,7 +1675,34 @@ Input:
1620
1675
  Output (JSON):
1621
1676
  The new run's package, as plays run --json prints.
1622
1677
  Cost:
1623
- Spends credits only for rows that were not completed before.
1678
+ Spends credits for every call that runs again; reused cached results are
1679
+ free.
1680
+ `
1681
+ },
1682
+ "runs resume": {
1683
+ core: `
1684
+ Purpose:
1685
+ Continue a failed or cancelled run as the same run, without repeating its
1686
+ completed work.
1687
+ When:
1688
+ After fixing the cause of a failure. A run can be resumed for 14 days after
1689
+ it stops. [[cli:To start over as a new run instead, use plays run --from-run
1690
+ <run-id>.]]
1691
+ [[cli:
1692
+ Input:
1693
+ The run id.
1694
+ ]]
1695
+ [[cli:Output:
1696
+ Confirmation of the same run id and its new resume epoch.]]
1697
+ [[mcp:Output (JSON):
1698
+ runId (the same run), resumed: true, and epoch (how many times the run has
1699
+ been resumed).]]
1700
+ Follow the run with [[runs get]].
1701
+ Cost:
1702
+ Spends credits only for work the run had not finished.
1703
+ Avoid:
1704
+ Resuming a run that is still active, or one whose last attempt is still
1705
+ finishing; the server refuses both. Wait a minute and try again.
1624
1706
  `
1625
1707
  },
1626
1708
  notifications: {
@@ -2064,6 +2146,7 @@ function indent(text) {
2064
2146
  }
2065
2147
 
2066
2148
  export {
2149
+ PLAY_RUNTIME_PRICING_NOTE,
2067
2150
  COMMAND_DOCS,
2068
2151
  commandDocKey,
2069
2152
  helpDetailFromArgv,
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkLA3UYRVZjs = require('./chunk-LA3UYRVZ.js');
19
+ var _chunk6JNBMTCZjs = require('./chunk-6JNBMTCZ.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkLA3UYRVZjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkLA3UYRVZjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkLA3UYRVZjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunk6JNBMTCZjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunk6JNBMTCZjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk6JNBMTCZjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -130,6 +130,7 @@ var _crypto = require('crypto');
130
130
  var PLAY_RUNTIME_TEST_FAULT_HEADER = "x-deepline-test-fault";
131
131
  var MAX_RUNTIME_TEST_POLICY_MS = 10 * 6e4;
132
132
  var MAX_RUNNER_HEARTBEAT_SILENCE_MS = 10 * 6e4;
133
+ var FENCE_COMMIT_ABANDON_MAX_MS = 10 * 6e4;
133
134
 
134
135
  // ../integration-contracts/execute-retry-contract.ts
135
136
  var EXECUTE_RETRY_POLICY_HEADER = "x-deepline-execute-retry-policy";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkUOANF3DRjs = require('./chunk-UOANF3DR.js');
6
+ var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
14
+ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -458,7 +458,9 @@ var PLAY_RUN_RESERVED_BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
458
458
  "--debug",
459
459
  "--full",
460
460
  "--force",
461
+ "--from-start",
461
462
  "--force-tool-refresh",
463
+ "--refresh-cache",
462
464
  "--open",
463
465
  "--debug-map-latency"
464
466
  ]);
@@ -579,7 +581,7 @@ function parseInputFlagValue(raw) {
579
581
  return raw;
580
582
  }
581
583
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkYDXEXVBVjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0, args, "run");
583
585
  args = selection.args;
584
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
587
  let filePath = null;
@@ -591,10 +593,10 @@ function parsePlayRunOptions(args, initialInput = null) {
591
593
  let revisionSelector = null;
592
594
  const watch = !args.includes("--no-wait");
593
595
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkYDXEXVBVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkYDXEXVBVjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkQKKU2FH4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
595
597
  const fullJson = args.includes("--full");
596
- const force = args.includes("--force");
597
- const forceToolRefresh = args.includes("--force-tool-refresh");
598
+ const force = args.includes("--force") || args.includes("--from-start");
599
+ const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
598
600
  const open = args.includes("--open");
599
601
  const debugMapLatency = args.includes("--debug-map-latency");
600
602
  let logLevel = "info";
@@ -654,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
656
  "--log-level requires one of: debug, info, warn, error."
655
657
  );
656
658
  }
657
- const parsed = _chunkUOANF3DRjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk7P2QVMBPjs.parseLogLevel.call(void 0, value);
658
660
  if (!parsed) {
659
661
  throw new Error(
660
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
976
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUOANF3DRjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk7P2QVMBPjs.parseLogLevel.call(void 0, options.logLevel);
976
978
  if (!logLevel)
977
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
988
  if (debugAlias || debugMapLatency && logLevel === "info")
987
989
  logLevel = "debug";
988
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkYDXEXVBVjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkYDXEXVBVjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkQKKU2FH4js.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkQKKU2FH4js.jsonFieldArgs.call(void 0, options.json)],
991
993
  "run"
992
994
  ).fields;
993
995
  const watch = options.wait === false ? false : base.watch;
994
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkYDXEXVBVjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkQKKU2FH4js.argsWantJson.call(void 0, []) : explicitJson;
996
998
  const verboseLogs = Boolean(
997
999
  debugAlias || logLevel === "debug" || debugMapLatency
998
1000
  );
@@ -1017,8 +1019,10 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1017
1019
  fullJson,
1018
1020
  jsonFields,
1019
1021
  waitTimeoutMs,
1020
- force: _nullishCoalesce(options.force, () => ( base.force)),
1021
- forceToolRefresh: _nullishCoalesce(options.forceToolRefresh, () => ( base.forceToolRefresh)),
1022
+ // The new names are aliases: an explicit legacy value still wins, exactly
1023
+ // as before, and an unset option inherits the base run's choice.
1024
+ force: _nullishCoalesce(_nullishCoalesce(options.force, () => ( (options.fromStart || void 0))), () => ( base.force)),
1025
+ forceToolRefresh: _nullishCoalesce(_nullishCoalesce(options.forceToolRefresh, () => ( (options.refreshCache || void 0))), () => ( base.forceToolRefresh)),
1022
1026
  maxConcurrentExternalCalls: externalCalls,
1023
1027
  maxConcurrentRows: rows,
1024
1028
  maxCredits,
@@ -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 _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
3
+ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.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
- _chunkYDXEXVBVjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkQKKU2FH4js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-54QXWK3C.mjs";
4
+ } from "./chunk-SVFTZTCI.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-YL2CCF6T.mjs";
7
+ } from "./chunk-GGBXNQCR.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-NZXB27TP.mjs";
10
+ } from "./chunk-XHZSPMNC.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-2MVIS2UI.mjs";
13
+ } from "./chunk-3MLFFWDM.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-W5CHE5Q2.mjs";
16
+ } from "./chunk-Y6XKCEPK.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
4
+ var _chunkUJMBG5JUjs = require('./chunk-UJMBG5JU.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkEUWRKWT4js.HttpClient {
784
+ var HttpClient2 = class extends _chunkUJMBG5JUjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }