deepline 0.3.473 → 0.3.475

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 +4 -1
  2. package/dist/bundling-sources/sdk/src/play.ts +7 -2
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +3 -1
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +101 -2
  7. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +62 -20
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +24 -8
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +19 -7
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +196 -10
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +40 -17
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +4 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +222 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +46 -14
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +9 -5
  18. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +8 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +2 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +2 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +39 -15
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +18 -8
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +64 -35
  24. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
  25. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
  26. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
  27. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
  28. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
  29. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
  31. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
  32. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
  33. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
  34. package/dist/cli/auth-7GVCW24N.js +41 -0
  35. package/dist/cli/{auth-KLJOQ4DZ.mjs → auth-CFDYJ7FZ.mjs} +5 -5
  36. package/dist/cli/{billing-DNDYNBQ7.mjs → billing-PEXWWLRT.mjs} +12 -10
  37. package/dist/cli/{billing-IQNJXKH5.js → billing-XLIL3FLK.js} +85 -83
  38. package/dist/cli/{chunk-4U3RNA3J.js → chunk-3MQJJ6YX.js} +51 -51
  39. package/dist/cli/{chunk-EUHTZV2E.mjs → chunk-3QSFSHCJ.mjs} +1 -1
  40. package/dist/cli/{chunk-CNCK2D6B.mjs → chunk-3WVA7E7O.mjs} +2 -2
  41. package/dist/cli/{chunk-NTFM7JQW.mjs → chunk-42F6LTBJ.mjs} +3 -3
  42. package/dist/cli/{chunk-V25CXRQ7.mjs → chunk-4QHAP3MR.mjs} +5 -5
  43. package/dist/cli/{chunk-3LFSIUFI.js → chunk-4QHQ3WYW.js} +21 -21
  44. package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
  45. package/dist/cli/{chunk-VS7JKS22.mjs → chunk-6PRYHABU.mjs} +1 -1
  46. package/dist/cli/{chunk-63OOFT6B.js → chunk-7SWRXZ4A.js} +93 -93
  47. package/dist/cli/{chunk-6YOGOXOJ.mjs → chunk-7U3L2S7X.mjs} +10 -10
  48. package/dist/cli/{chunk-D4B3EV55.js → chunk-7XTBEYLS.js} +36 -36
  49. package/dist/cli/{chunk-QD6IW2HP.mjs → chunk-AD7KL6AI.mjs} +4 -4
  50. package/dist/cli/{chunk-YH5SFKHJ.js → chunk-B7NJ5JQ2.js} +4 -4
  51. package/dist/cli/{chunk-F4PUDYBY.js → chunk-BLW2K6YH.js} +3 -3
  52. package/dist/cli/{chunk-N4ZCMQ54.js → chunk-BSK2TGB4.js} +8 -8
  53. package/dist/cli/{chunk-QG3THSTN.mjs → chunk-BVAYLXMH.mjs} +2 -2
  54. package/dist/cli/{chunk-IC6AHOYS.js → chunk-CKSRTD45.js} +1 -1
  55. package/dist/cli/{chunk-RVRG57OB.js → chunk-D3Q4FUFS.js} +8 -8
  56. package/dist/cli/{chunk-ABLEU3QI.mjs → chunk-D6SXN34W.mjs} +4 -4
  57. package/dist/cli/{chunk-GTH7JORC.mjs → chunk-DIMKSDF6.mjs} +2 -2
  58. package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
  59. package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
  60. package/dist/cli/{chunk-6QS7522K.mjs → chunk-EA45HSEC.mjs} +2 -2
  61. package/dist/cli/{chunk-TUFQFTOC.js → chunk-F4FNMXI3.js} +53 -53
  62. package/dist/cli/{chunk-3OPQLFUK.mjs → chunk-FC4C7MZM.mjs} +4 -4
  63. package/dist/cli/{chunk-WGQKOLXH.js → chunk-G4SGYWKV.js} +6 -6
  64. package/dist/cli/{chunk-GISBRE2H.mjs → chunk-HALAYT3Y.mjs} +3 -3
  65. package/dist/cli/{chunk-GQBAJTQU.mjs → chunk-HMHH7JQD.mjs} +2 -2
  66. package/dist/cli/{chunk-PMJAGTSQ.js → chunk-KTWXY73Q.js} +5 -5
  67. package/dist/cli/{chunk-GAWP2YF5.mjs → chunk-M27SSAQ7.mjs} +1 -1
  68. package/dist/cli/{chunk-UON3WCBD.js → chunk-M4QO3GRD.js} +3 -3
  69. package/dist/cli/{chunk-36KEQFWZ.js → chunk-M7K5BCWP.js} +10 -10
  70. package/dist/cli/{chunk-SWAYZST7.mjs → chunk-MUDOASYL.mjs} +2 -2
  71. package/dist/cli/{chunk-D22QIUE3.js → chunk-NBVYS6VG.js} +9 -9
  72. package/dist/cli/{chunk-GE5GPLNM.mjs → chunk-NGOKBSBH.mjs} +1 -1
  73. package/dist/cli/{chunk-VGVSHQN5.mjs → chunk-NHQP4UPJ.mjs} +5 -5
  74. package/dist/cli/{chunk-3J2N7YF5.js → chunk-QKMWQTMI.js} +3 -3
  75. package/dist/cli/{chunk-B3BM3PAI.js → chunk-TLPW2SHS.js} +6 -6
  76. package/dist/cli/{chunk-QI73EL5C.js → chunk-TZRTT7EI.js} +26 -26
  77. package/dist/cli/{chunk-DD7E4ZVH.js → chunk-U3F63UWD.js} +7 -7
  78. package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
  79. package/dist/cli/{chunk-YHB6MASP.js → chunk-VBGPRRJ6.js} +2 -2
  80. package/dist/cli/{chunk-HQCTPAXP.mjs → chunk-VD3E3QMI.mjs} +1 -1
  81. package/dist/cli/{chunk-X6R5UNDZ.mjs → chunk-VFP3MFLD.mjs} +1 -1
  82. package/dist/cli/{chunk-EVLUSXQG.mjs → chunk-VTCXSICG.mjs} +2 -2
  83. package/dist/cli/{chunk-TBLBYIKO.mjs → chunk-YAAQNDP6.mjs} +1 -1
  84. package/dist/cli/{chunk-IFZ76E5H.mjs → chunk-YMS7VYFA.mjs} +1 -1
  85. package/dist/cli/{chunk-OHUGXZ7N.js → chunk-Z5VSBCFV.js} +16 -16
  86. package/dist/cli/{chunk-ZVLYUKJU.js → chunk-ZANUM4XV.js} +5 -5
  87. package/dist/cli/{chunk-MREO5LZD.js → chunk-ZQYBKDPA.js} +2 -2
  88. package/dist/cli/command-docs.js +2 -2
  89. package/dist/cli/command-docs.mjs +1 -1
  90. package/dist/cli/{csv-OVV3HWN4.js → csv-4YHSYV2C.js} +13 -13
  91. package/dist/cli/{csv-NCY5MWS2.mjs → csv-WC7ILC7P.mjs} +4 -4
  92. package/dist/cli/{db-BOELNDS4.js → db-APZNM2GI.js} +27 -27
  93. package/dist/cli/{db-VPH6JHUD.mjs → db-I5PV6NTC.mjs} +6 -6
  94. package/dist/cli/describe-OR7FZBCD.js +48 -0
  95. package/dist/cli/{describe-FFDCPYZH.mjs → describe-XH5F3X5W.mjs} +17 -17
  96. package/dist/cli/describe-core.d.mts +3 -3
  97. package/dist/cli/describe-core.d.ts +3 -3
  98. package/dist/cli/{executions-5GCCDENS.mjs → executions-PIY4XM7T.mjs} +6 -6
  99. package/dist/cli/{executions-RF44ANF5.js → executions-VIXFKZYU.js} +8 -8
  100. package/dist/cli/{feedback-OI2A5L6F.mjs → feedback-IGDHBWGT.mjs} +4 -4
  101. package/dist/cli/{feedback-NJM3V7QV.js → feedback-WCLIFQTR.js} +8 -8
  102. package/dist/cli/git-CKN2F32Y.js +25 -0
  103. package/dist/cli/{git-EOGSZ3T2.mjs → git-FRICPPTA.mjs} +5 -5
  104. package/dist/cli/index.js +139 -139
  105. package/dist/cli/index.mjs +41 -41
  106. package/dist/cli/{legacy-noops-5QM7XGGX.js → legacy-noops-DSFOPYDY.js} +8 -8
  107. package/dist/cli/{legacy-noops-UYKK7AAB.mjs → legacy-noops-ROAXEG6D.mjs} +5 -5
  108. package/dist/cli/{monitors-N3ITC5MP.mjs → monitors-FZ5PRLW6.mjs} +7 -7
  109. package/dist/cli/{monitors-52GW2V4V.js → monitors-KUCYQLU5.js} +91 -91
  110. package/dist/cli/{org-KUZUG33W.mjs → org-DRNND5XU.mjs} +6 -6
  111. package/dist/cli/{org-ADF47NPV.js → org-SRHMWKQR.js} +72 -72
  112. package/dist/cli/{pages-H3H7ODBN.js → pages-TEJQIHTU.js} +17 -17
  113. package/dist/cli/{pages-C3S5WU3S.mjs → pages-XNGA356T.mjs} +6 -6
  114. package/dist/cli/{play-YWZWBG32.js → play-GCGFQSFP.js} +662 -601
  115. package/dist/cli/{play-SZETTQPV.mjs → play-NE45ROIZ.mjs} +110 -49
  116. package/dist/cli/{providers-FSCD35HB.mjs → providers-57TJOSMV.mjs} +6 -6
  117. package/dist/cli/{providers-V3BP7ZB2.js → providers-VHMUR63R.js} +9 -9
  118. package/dist/cli/{quickstart-ICULVGAR.js → quickstart-BPXWO4UD.js} +6 -6
  119. package/dist/cli/{quickstart-SYZCT2WI.mjs → quickstart-K3SH4NXP.mjs} +4 -4
  120. package/dist/cli/{run-WUJSKGUM.js → run-553AAXDU.js} +36 -36
  121. package/dist/cli/{run-HA5B3AYQ.mjs → run-ZRWJUEN2.mjs} +22 -22
  122. package/dist/cli/{search-A27AGYDV.mjs → search-BW6XRS4I.mjs} +7 -7
  123. package/dist/cli/search-WF26AUDJ.js +32 -0
  124. package/dist/cli/{secrets-ODX56QBF.js → secrets-AMYQYUL5.js} +15 -15
  125. package/dist/cli/{secrets-2L4VRJ2F.mjs → secrets-OYYCFGZE.mjs} +6 -6
  126. package/dist/cli/{sessions-PRF36DHO.mjs → sessions-O4SVVOMO.mjs} +5 -5
  127. package/dist/cli/{sessions-DVZ4FECP.js → sessions-RYCJUMJ2.js} +6 -6
  128. package/dist/cli/{settings-RJT5DBWG.js → settings-7R5FQKII.js} +78 -78
  129. package/dist/cli/{settings-LUATIKJE.mjs → settings-QK7DHDU7.mjs} +11 -11
  130. package/dist/cli/{setup-FJSBKCLU.js → setup-OTQDQHDN.js} +44 -44
  131. package/dist/cli/{setup-IQXTYLRH.mjs → setup-VDAAVCKK.mjs} +9 -9
  132. package/dist/cli/{skills-XJH4ZC5Y.mjs → skills-HRK5O5JO.mjs} +7 -7
  133. package/dist/cli/skills-VNLMEOXW.js +31 -0
  134. package/dist/cli/tools-C3MUHL7G.js +55 -0
  135. package/dist/cli/{tools-IGXLZCKZ.mjs → tools-O7BM62QV.mjs} +16 -16
  136. package/dist/cli/update-TCKTU6QJ.js +33 -0
  137. package/dist/cli/{update-AH7G5VSL.mjs → update-UHKHCSTY.mjs} +9 -9
  138. package/dist/cli/{workflow-IQ2J7LWM.js → workflow-7Z5NCTGG.js} +17 -17
  139. package/dist/cli/{workflow-WOYSCWVD.mjs → workflow-T2EDR7L4.mjs} +7 -7
  140. package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
  141. package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
  142. package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
  143. package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
  144. package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
  145. package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
  146. package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
  147. package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
  148. package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
  149. package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
  150. package/dist/index.d.mts +14 -9
  151. package/dist/index.d.ts +14 -9
  152. package/dist/index.js +9 -9
  153. package/dist/index.mjs +6 -6
  154. package/dist/install-integrity.json +111 -110
  155. package/dist/plays/bundle-play-file.d.mts +3 -3
  156. package/dist/plays/bundle-play-file.d.ts +3 -3
  157. package/dist/plays/bundle-play-file.mjs +1 -1
  158. package/dist/plays/play-description.d.mts +2 -2
  159. package/dist/plays/play-description.d.ts +2 -2
  160. package/dist/plays/run-request.d.mts +2 -2
  161. package/dist/plays/run-request.d.ts +2 -2
  162. package/dist/release.d.mts +1 -1
  163. package/dist/release.d.ts +1 -1
  164. package/dist/release.js +2 -2
  165. package/dist/release.mjs +1 -1
  166. package/dist/server.d.mts +4 -4
  167. package/dist/server.d.ts +4 -4
  168. package/dist/server.js +5 -5
  169. package/dist/server.mjs +3 -3
  170. package/package.json +1 -1
  171. package/dist/cli/auth-IJOWKNSB.js +0 -41
  172. package/dist/cli/describe-7SFESEFL.js +0 -48
  173. package/dist/cli/git-4V5ZS5SE.js +0 -25
  174. package/dist/cli/search-XATDPNEM.js +0 -32
  175. package/dist/cli/skills-N6CPBF6T.js +0 -31
  176. package/dist/cli/tools-YMVEVRCE.js +0 -55
  177. package/dist/cli/update-MUCWGTXH.js +0 -33
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-IFZ76E5H.mjs";
5
+ } from "./chunk-YMS7VYFA.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-GISBRE2H.mjs";
9
+ } from "./chunk-HALAYT3Y.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-GTH7JORC.mjs";
51
+ } from "./chunk-DIMKSDF6.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-X6R5UNDZ.mjs";
54
+ } from "./chunk-VFP3MFLD.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-V25CXRQ7.mjs";
64
+ } from "./chunk-4QHAP3MR.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-HQCTPAXP.mjs";
69
+ } from "./chunk-VD3E3QMI.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-3OPQLFUK.mjs";
75
+ } from "./chunk-FC4C7MZM.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-QG3THSTN.mjs";
83
+ } from "./chunk-BVAYLXMH.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-GE5GPLNM.mjs";
88
+ } from "./chunk-NGOKBSBH.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-FFDCPYZH.mjs");
1041
+ const { describeAnything } = await import("./describe-XH5F3X5W.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
14
+ var _chunkF4FNMXI3js = require('./chunk-F4FNMXI3.js');
15
15
 
16
16
 
17
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
17
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
23
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
27
+ var _chunkB7NJ5JQ2js = require('./chunk-B7NJ5JQ2.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunkF4PUDYBYjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunkBLW2K6YHjs.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkYH5SFKHJjs.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkB7NJ5JQ2js.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkF4PUDYBYjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkBLW2K6YHjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkTUFQFTOCjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkF4FNMXI3js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkF4FNMXI3js.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkF4FNMXI3js.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkTUFQFTOCjs.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkF4FNMXI3js.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkF4FNMXI3js.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkF4FNMXI3js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkF4FNMXI3js.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
228
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunkBLW2K6YHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkTUFQFTOCjs.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkYH5SFKHJjs.SDK_VERSION
242
+ skillNames: [..._chunkF4FNMXI3js.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkB7NJ5JQ2js.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
248
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkTUFQFTOCjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkF4FNMXI3js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkTUFQFTOCjs.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkF4FNMXI3js.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunkF4PUDYBYjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunkBLW2K6YHjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkTUFQFTOCjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkF4FNMXI3js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkTUFQFTOCjs.SkillsStateUnavailableError)) throw error;
308
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkF4FNMXI3js.SkillsStateUnavailableError)) throw error;
308
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
324
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkTUFQFTOCjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkF4FNMXI3js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
370
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkYH5SFKHJjs.SDK_VERSION,
409
+ cliVersion: _chunkB7NJ5JQ2js.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkTUFQFTOCjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkF4FNMXI3js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
424
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkF4FNMXI3js.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkTUFQFTOCjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkF4FNMXI3js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
473
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkTUFQFTOCjs.syncSdkSkillsIfNeeded.call(void 0, _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkF4FNMXI3js.syncSdkSkillsIfNeeded.call(void 0, _chunkBLW2K6YHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-3OPQLFUK.mjs";
14
+ } from "./chunk-FC4C7MZM.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-QG3THSTN.mjs";
17
+ } from "./chunk-BVAYLXMH.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-GE5GPLNM.mjs";
23
+ } from "./chunk-NGOKBSBH.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-EUHTZV2E.mjs";
27
+ } from "./chunk-3QSFSHCJ.mjs";
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  import { spawn } from "child_process";
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkIC6AHOYSjs = require('./chunk-IC6AHOYS.js');
19
+ var _chunkCKSRTD45js = require('./chunk-CKSRTD45.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkIC6AHOYSjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkIC6AHOYSjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkIC6AHOYSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkCKSRTD45js.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkCKSRTD45js.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkCKSRTD45js.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');
@@ -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 _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
4
+ var _chunkB7NJ5JQ2js = require('./chunk-B7NJ5JQ2.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 (_chunkYH5SFKHJjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkB7NJ5JQ2js.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 _chunkYH5SFKHJjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkB7NJ5JQ2js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
4
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
5
5
 
6
6
 
7
- var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
7
+ var _chunkB7NJ5JQ2js = require('./chunk-B7NJ5JQ2.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkYH5SFKHJjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkB7NJ5JQ2js.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
487
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
519
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
569
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
677
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-GE5GPLNM.mjs";
5
+ } from "./chunk-NGOKBSBH.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-EUHTZV2E.mjs";
8
+ } from "./chunk-3QSFSHCJ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.473",
52
+ version: "0.3.475",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkPMJAGTSQjs = require('./chunk-PMJAGTSQ.js');
6
+ var _chunkKTWXY73Qjs = require('./chunk-KTWXY73Q.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
10
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
14
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkF4PUDYBYjs.sdkCliStateDirPath.call(void 0, _chunkF4PUDYBYjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkBLW2K6YHjs.sdkCliStateDirPath.call(void 0, _chunkBLW2K6YHjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkDD7E4ZVHjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkU3F63UWDjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkDD7E4ZVHjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkU3F63UWDjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5997
5997
  console.error("--summary-width must be an integer of at least 2.");
5998
5998
  return 1;
5999
5999
  }
6000
- const { search_ref: searchRef, ...result } = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().search({
6000
+ const { search_ref: searchRef, ...result } = await new (0, _chunkKTWXY73Qjs.DeeplineClient)().search({
6001
6001
  query,
6002
6002
  types,
6003
6003
  exclude,
@@ -6011,7 +6011,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6011
6011
  });
6012
6012
  if (searchRef) rememberSearchRef(searchRef);
6013
6013
  pointAtDescribe(result);
6014
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, result, {
6014
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0, result, {
6015
6015
  json: options.json === true,
6016
6016
  text: renderSearchResults(result, summaryWidth)
6017
6017
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-6YOGOXOJ.mjs";
3
+ } from "./chunk-7U3L2S7X.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-IFZ76E5H.mjs";
6
+ } from "./chunk-YMS7VYFA.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-JVHOS3K3.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-GTH7JORC.mjs";
17
+ } from "./chunk-DIMKSDF6.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-QG3THSTN.mjs";
20
+ } from "./chunk-BVAYLXMH.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-X6R5UNDZ.mjs";
3
+ } from "./chunk-VFP3MFLD.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-GE5GPLNM.mjs";
7
+ } from "./chunk-NGOKBSBH.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1389,20 +1389,24 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
1389
1389
  errorMessage: 'rateLimit.every must be a static duration from "10s" to "24h", such as "5m".'
1390
1390
  },
1391
1391
  "runtime.size": {
1392
- schema: _typebox.Type.Literal("standard"),
1392
+ schema: _typebox.Type.Union([
1393
+ _typebox.Type.Literal("standard"),
1394
+ _typebox.Type.Literal("large"),
1395
+ _typebox.Type.Literal("xlarge")
1396
+ ]),
1393
1397
  fixtures: {
1394
- valid: "standard",
1395
- invalid: "large",
1398
+ valid: "large",
1399
+ invalid: "xxlarge",
1396
1400
  absent: void 0,
1397
1401
  unresolved: { expression: "size" },
1398
1402
  edition1: "standard"
1399
1403
  },
1400
- referenceType: "'standard'",
1404
+ referenceType: "'standard' | 'large' | 'xlarge'",
1401
1405
  required: false,
1402
1406
  resolution: "static-required",
1403
1407
  issueCode: "play_authoring_binding_invalid",
1404
- description: "Deepline-managed sandbox size. Only standard is supported.",
1405
- errorMessage: 'runtime.size must be the static literal "standard".'
1408
+ description: "Deepline-managed sandbox size. Standard is 1 GiB memory. Large (4 GiB) and xlarge (8 GiB) are available only on branch Preview deployments. Production supports standard.",
1409
+ errorMessage: 'runtime.size must be the static literal "standard", "large", or "xlarge".'
1406
1410
  },
1407
1411
  "ctx.customerDb.query.statement": {
1408
1412
  schema: _typebox.Type.Union([
@@ -4468,7 +4472,7 @@ function sandboxRuntimeDeclarationFromOptions(node, context) {
4468
4472
  ) : [];
4469
4473
  if (unsupportedProperties.length > 0) {
4470
4474
  throw new Error(
4471
- `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard".`
4475
+ `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard", "large", or "xlarge".`
4472
4476
  );
4473
4477
  }
4474
4478
  const timeout = resolveStaticProperty(runtime.value, "timeout", context);
@@ -818,9 +818,16 @@ Authoring rules:
818
818
  Triggers: export const config = { cron: { schedule, timezone, input } };
819
819
  or { webhook: {} }. A cron run receives {} unless cron.input is written
820
820
  inline; it is pinned with the published revision.
821
- Runtime: The default Play runtime is 30 minutes. For a bounded long batch
822
- set export const config = { runtime: { timeout: '90m', size: 'standard' } };
823
- up to 4h. That is not the CLI wait timeout.
821
+ Runtime: The default Play runtime is 30 minutes. Standard uses 1 GiB / 1 CPU.
822
+ Preview deployments also support runtime.size 'large' (4 GiB / 2 CPU) and
823
+ 'xlarge' (8 GiB / 4 CPU). Production uses standard.
824
+ Compute pricing follows the workspace plan.
825
+ [[cli:Use deepline billing quote for the session ceiling.]]
826
+ Set runtime.timeout to extend a run up to 4h.
827
+ For large datasets, keep working sets bounded and checkpoint progress;
828
+ inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
829
+ independent run. A larger profile does not make a job resumable. This is
830
+ not the CLI wait timeout.
824
831
  Recurring sourcing: .run({ key: 'domain', mode: 'net_new' }) returns only
825
832
  rows the table has not seen before.
826
833
  Results: project each answer into flat columns (the value, its source,