deepline 0.3.539 → 0.3.541

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 (162) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +10 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +8 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-execution-queries.ts +2 -2
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +20 -7
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +30 -11
  7. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
  8. package/dist/cli/auth-V76O674K.js +43 -0
  9. package/dist/cli/{auth-QD7QGD3B.mjs → auth-WJXA7XGM.mjs} +5 -5
  10. package/dist/cli/{billing-KOQAF6WS.js → billing-34IV5DSV.js} +105 -94
  11. package/dist/cli/{billing-FIZXMHBW.mjs → billing-SHS4HMWT.mjs} +21 -10
  12. package/dist/cli/{chunk-FSQCB5SJ.js → chunk-2TAGAPLL.js} +2 -2
  13. package/dist/cli/{chunk-Q4HNK7JX.js → chunk-323I5KQ5.js} +8 -8
  14. package/dist/cli/{chunk-GLEGINSP.mjs → chunk-53QZ24DP.mjs} +2 -2
  15. package/dist/cli/chunk-5LNWLEO3.mjs +54 -0
  16. package/dist/cli/{chunk-TZBCJHV6.js → chunk-5N4ENMYE.js} +1 -1
  17. package/dist/cli/{chunk-JHEZQMOM.mjs → chunk-6PJAC3P5.mjs} +1 -1
  18. package/dist/cli/{chunk-K5MZHTK7.js → chunk-6TZEDCN7.js} +3 -3
  19. package/dist/cli/{chunk-G3UFDUYU.mjs → chunk-7AUQSK24.mjs} +1 -1
  20. package/dist/cli/{chunk-6KG4KVTH.mjs → chunk-ABDXKELH.mjs} +5 -5
  21. package/dist/cli/{chunk-FIRV7BXJ.mjs → chunk-AU7ZKXW5.mjs} +1 -1
  22. package/dist/cli/{chunk-APKZGUTU.mjs → chunk-BMNLD63A.mjs} +4 -4
  23. package/dist/cli/{chunk-FH3P3E4S.js → chunk-BUCTWJBM.js} +2 -2
  24. package/dist/cli/{chunk-KQTX545E.js → chunk-C2LYJ3EX.js} +13 -13
  25. package/dist/cli/{chunk-W32KT6LM.js → chunk-CNBPATLI.js} +5 -5
  26. package/dist/cli/{chunk-5QL4GJB2.js → chunk-CY5LW6DW.js} +2 -2
  27. package/dist/cli/{chunk-SDAP5MCO.mjs → chunk-DF7ARQRB.mjs} +2 -2
  28. package/dist/cli/{chunk-ADV2IB2C.mjs → chunk-DHC7EGI7.mjs} +5 -5
  29. package/dist/cli/{chunk-6NZBLFL4.mjs → chunk-ECPCZVDM.mjs} +1 -1
  30. package/dist/cli/{chunk-K22EKW6L.js → chunk-F3TLGM2U.js} +5 -5
  31. package/dist/cli/chunk-FANIRW74.mjs +9 -0
  32. package/dist/cli/{chunk-ISXX5DUD.js → chunk-FOCNY4GV.js} +3 -3
  33. package/dist/cli/{chunk-GLKUC5PO.mjs → chunk-FRPJSFNL.mjs} +2 -2
  34. package/dist/cli/{chunk-RULRGMMM.mjs → chunk-FTKX7OGB.mjs} +5 -5
  35. package/dist/cli/{chunk-EAZS52DL.js → chunk-FVZ5Y5L6.js} +15 -15
  36. package/dist/cli/{chunk-MI53W4DN.js → chunk-FYQWTENQ.js} +53 -53
  37. package/dist/cli/{chunk-Y66ZMOJI.mjs → chunk-GLINYHY7.mjs} +1 -1
  38. package/dist/cli/chunk-GWHA4DAC.js +9 -0
  39. package/dist/cli/{chunk-JBCQFG7G.mjs → chunk-H74CLEMB.mjs} +3 -3
  40. package/dist/cli/{chunk-E7D37PLM.mjs → chunk-IDDKNMFX.mjs} +36 -0
  41. package/dist/cli/{chunk-NR5PLMNG.js → chunk-IZXMX65M.js} +107 -107
  42. package/dist/cli/{chunk-6V3LNYK5.mjs → chunk-JZNKEHXQ.mjs} +2 -2
  43. package/dist/cli/{chunk-5RUB53KG.js → chunk-KIYETQ6K.js} +26 -26
  44. package/dist/cli/{chunk-GEO2EMM7.mjs → chunk-LRPFCB2P.mjs} +1 -1
  45. package/dist/cli/{chunk-V7DEGIYO.js → chunk-M6XIKHBS.js} +4 -4
  46. package/dist/cli/{chunk-KAEVL62Q.js → chunk-MPYM6TUO.js} +44 -44
  47. package/dist/cli/{chunk-LE5KN7CZ.mjs → chunk-NB4AIXEA.mjs} +3 -3
  48. package/dist/cli/{chunk-FTBWFDF3.js → chunk-OK4JMVTM.js} +7 -7
  49. package/dist/cli/chunk-POZPEDW7.js +54 -0
  50. package/dist/cli/{chunk-CQJCLHBE.js → chunk-Q66ADD4O.js} +41 -41
  51. package/dist/cli/{chunk-GNCIMHO2.mjs → chunk-QI76LGE3.mjs} +10 -10
  52. package/dist/cli/{chunk-F43MXIN3.mjs → chunk-RYYGNUNO.mjs} +2 -2
  53. package/dist/cli/{chunk-3YDI2PTN.js → chunk-S6FF7Q5P.js} +10 -10
  54. package/dist/cli/{chunk-YMQFQO3K.js → chunk-S7NKIEHL.js} +16 -16
  55. package/dist/cli/{chunk-DZFVVP3S.mjs → chunk-UC5QFQGC.mjs} +5 -5
  56. package/dist/cli/{chunk-VK5UTS5B.js → chunk-UKO6POLZ.js} +9 -9
  57. package/dist/cli/{chunk-5YF35HAV.js → chunk-UXXFCOE3.js} +6 -6
  58. package/dist/cli/{chunk-XTYHZEJ2.js → chunk-V4EYJKGJ.js} +36 -0
  59. package/dist/cli/{chunk-N3LPGGWD.mjs → chunk-VMIIUMAN.mjs} +1 -1
  60. package/dist/cli/{chunk-XZBXQCRJ.js → chunk-WIV3E6Y7.js} +22 -22
  61. package/dist/cli/{chunk-MKESK3SW.mjs → chunk-WZMG2M65.mjs} +4 -4
  62. package/dist/cli/{chunk-55ITVU2V.mjs → chunk-XO2SGONT.mjs} +2 -2
  63. package/dist/cli/{chunk-2XMFT44N.mjs → chunk-XTR32PMA.mjs} +1 -1
  64. package/dist/cli/{chunk-LEREPTAE.js → chunk-ZD673XAL.js} +19 -19
  65. package/dist/cli/{chunk-E4QHTDPF.mjs → chunk-ZL2DER5D.mjs} +1 -1
  66. package/dist/cli/command-docs.js +3 -2
  67. package/dist/cli/command-docs.mjs +2 -1
  68. package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +21 -0
  69. package/dist/cli/concurrent-runs-help-ZJ77SAEU.mjs +21 -0
  70. package/dist/cli/{csv-BWWJYV2C.js → csv-MJLIZZOR.js} +13 -13
  71. package/dist/cli/{csv-G5RQQ74W.mjs → csv-PX7F5YJN.mjs} +4 -4
  72. package/dist/cli/{db-5KNDLADE.js → db-BNCNAY4G.js} +27 -27
  73. package/dist/cli/{db-AJZHWB3V.mjs → db-KPKGTHPA.mjs} +6 -6
  74. package/dist/cli/{describe-QY5TKWVD.mjs → describe-5OUJA5TH.mjs} +17 -17
  75. package/dist/cli/describe-7MF5AHIU.js +49 -0
  76. package/dist/cli/describe-core.d.mts +3 -3
  77. package/dist/cli/describe-core.d.ts +3 -3
  78. package/dist/cli/{executions-SJPH3MZT.mjs → executions-NMQY4GEY.mjs} +6 -6
  79. package/dist/cli/{executions-BCCW76BI.js → executions-YNOFR7T2.js} +8 -8
  80. package/dist/cli/{feedback-S6SZOFGK.mjs → feedback-LWYEO5LL.mjs} +6 -6
  81. package/dist/cli/{feedback-GF65JKK6.js → feedback-RCP5DPO6.js} +14 -14
  82. package/dist/cli/{git-F5FT5YVB.mjs → git-3O4PFP3Q.mjs} +5 -5
  83. package/dist/cli/git-WLQ3BS6K.js +25 -0
  84. package/dist/cli/index.js +157 -143
  85. package/dist/cli/index.mjs +57 -43
  86. package/dist/cli/{legacy-noops-NOA4P5NE.mjs → legacy-noops-KFP674JT.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-ECR6FS6U.js → legacy-noops-ZPZRG366.js} +9 -9
  88. package/dist/cli/mcp-HCXDW6PL.js +352 -0
  89. package/dist/cli/mcp-OCYUXQ6L.mjs +352 -0
  90. package/dist/cli/{monitors-DEWBSURN.js → monitors-7Q7YT22Y.js} +100 -100
  91. package/dist/cli/{monitors-CTYSAGP4.mjs → monitors-V5KJIJJE.mjs} +7 -7
  92. package/dist/cli/{org-EKSKKT7H.mjs → org-C3QLHX7U.mjs} +6 -6
  93. package/dist/cli/{org-ZM2UUMZZ.js → org-S37K6QYH.js} +86 -86
  94. package/dist/cli/{play-6JQOM6DE.js → play-MLREAYHJ.js} +473 -455
  95. package/dist/cli/{play-R2BH374J.mjs → play-MXQ2DKML.mjs} +35 -17
  96. package/dist/cli/{providers-X7WMIWO4.mjs → providers-FDJ4ZOST.mjs} +6 -6
  97. package/dist/cli/{providers-CMIYHEMN.js → providers-PPDWY7DH.js} +9 -9
  98. package/dist/cli/{quickstart-ZZ7L6VZJ.mjs → quickstart-2Z57AMB7.mjs} +4 -4
  99. package/dist/cli/{quickstart-6HVPAMSW.js → quickstart-BOWQM7S7.js} +6 -6
  100. package/dist/cli/{run-FP32RKBU.mjs → run-5RNJGPQ2.mjs} +22 -22
  101. package/dist/cli/{run-OOHYH3GI.js → run-66HXNJNV.js} +42 -42
  102. package/dist/cli/{search-BDDNC23Z.mjs → search-7G4FYQYO.mjs} +7 -7
  103. package/dist/cli/search-LTUIIV6W.js +32 -0
  104. package/dist/cli/{search-output-QXJ6CV5G.mjs → search-output-6K4FHCVI.mjs} +4 -4
  105. package/dist/cli/{search-output-5VZIQQAM.js → search-output-L6ICQDBL.js} +6 -6
  106. package/dist/cli/{secrets-Z7CQSQGC.mjs → secrets-FTQPCU7O.mjs} +6 -6
  107. package/dist/cli/{secrets-EN2HQCO3.js → secrets-PWFJKF7G.js} +15 -15
  108. package/dist/cli/sessions-2IVFGTPA.js +22 -0
  109. package/dist/cli/{sessions-I2H37OTJ.mjs → sessions-YSSAAQVJ.mjs} +6 -6
  110. package/dist/cli/{settings-CTRAPFNZ.js → settings-CZEMF2WD.js} +85 -85
  111. package/dist/cli/{settings-IYSC5PPQ.mjs → settings-KN7GNZ5J.mjs} +12 -12
  112. package/dist/cli/{setup-PU3HOVI3.mjs → setup-5WLHGH57.mjs} +9 -9
  113. package/dist/cli/{setup-XIN53GEW.js → setup-RW4X6DX4.js} +49 -49
  114. package/dist/cli/{skills-TYBML2ZO.mjs → skills-DLVI7IZK.mjs} +7 -7
  115. package/dist/cli/skills-WT42AZVH.js +36 -0
  116. package/dist/cli/tools-D6STYBQG.js +56 -0
  117. package/dist/cli/{tools-ZVNE6M6J.mjs → tools-JVYQF7P3.mjs} +16 -16
  118. package/dist/cli/{update-54WENBNT.mjs → update-XKLXU7YS.mjs} +9 -9
  119. package/dist/cli/update-XTUKBC3J.js +34 -0
  120. package/dist/cli/{views-EUBB4ONT.mjs → views-QRRCWP6B.mjs} +6 -6
  121. package/dist/cli/{views-7L75EZOJ.js → views-YNUYFS3S.js} +21 -21
  122. package/dist/cli/{workflow-GUKGFJ72.mjs → workflow-KYFMA4LM.mjs} +7 -7
  123. package/dist/cli/{workflow-EZVYCR6Y.js → workflow-YUKADKCJ.js} +17 -17
  124. package/dist/{client-DZTnAv4B.d.ts → client-B1fixtK1.d.ts} +1 -1
  125. package/dist/{client-D0uDBybG.d.mts → client-CE4QBVbp.d.mts} +1 -1
  126. package/dist/{client-core-BhWf8Y1b.d.mts → client-core-2BkNBgrx.d.mts} +3 -1
  127. package/dist/{client-core-og3AP1LL.d.ts → client-core-C-3FVlVq.d.ts} +3 -1
  128. package/dist/{compiler-manifest-Bes3OVA3.d.ts → compiler-manifest-Cys06iYg.d.mts} +14 -0
  129. package/dist/{compiler-manifest-Bes3OVA3.d.mts → compiler-manifest-Cys06iYg.d.ts} +14 -0
  130. package/dist/{errors-Dc5r42ks.d.mts → errors-B6eMjKcr.d.mts} +1 -1
  131. package/dist/{errors-BJm4lLWc.d.ts → errors-rdOUqcU2.d.ts} +1 -1
  132. package/dist/{index-DTkiz_Ur.d.mts → index-CZdYO81A.d.mts} +1 -1
  133. package/dist/{index-BfV7mRPF.d.ts → index-ejWadAL5.d.ts} +1 -1
  134. package/dist/index.d.mts +7 -7
  135. package/dist/index.d.ts +7 -7
  136. package/dist/index.js +9 -9
  137. package/dist/index.mjs +6 -6
  138. package/dist/install-integrity.json +120 -112
  139. package/dist/plays/bundle-play-file.d.mts +3 -3
  140. package/dist/plays/bundle-play-file.d.ts +3 -3
  141. package/dist/plays/bundle-play-file.mjs +1 -1
  142. package/dist/plays/play-description.d.mts +2 -2
  143. package/dist/plays/play-description.d.ts +2 -2
  144. package/dist/plays/run-request.d.mts +2 -2
  145. package/dist/plays/run-request.d.ts +2 -2
  146. package/dist/release.d.mts +1 -1
  147. package/dist/release.d.ts +1 -1
  148. package/dist/release.js +2 -2
  149. package/dist/release.mjs +1 -1
  150. package/dist/server.d.mts +4 -4
  151. package/dist/server.d.ts +4 -4
  152. package/dist/server.js +5 -5
  153. package/dist/server.mjs +3 -3
  154. package/package.json +1 -1
  155. package/dist/cli/auth-O5Y2VYXK.js +0 -43
  156. package/dist/cli/describe-B6CN6CFJ.js +0 -49
  157. package/dist/cli/git-DX6NB7VF.js +0 -25
  158. package/dist/cli/search-34C6LFOJ.js +0 -32
  159. package/dist/cli/sessions-RYQX3NDD.js +0 -22
  160. package/dist/cli/skills-576CX7DK.js +0 -36
  161. package/dist/cli/tools-EXMUWA3Z.js +0 -56
  162. package/dist/cli/update-RAHETNL2.js +0 -34
@@ -1,17 +1,24 @@
1
+ import {
2
+ concurrentRunsLine
3
+ } from "./chunk-5LNWLEO3.mjs";
4
+ import "./chunk-NB4AIXEA.mjs";
1
5
  import {
2
6
  DeeplineClient
3
- } from "./chunk-55ITVU2V.mjs";
7
+ } from "./chunk-XO2SGONT.mjs";
4
8
  import {
5
9
  iterateCursorPages,
6
10
  requireBillingIdempotencyKey
7
- } from "./chunk-GEO2EMM7.mjs";
11
+ } from "./chunk-LRPFCB2P.mjs";
8
12
  import "./chunk-L2VKAASU.mjs";
9
13
  import "./chunk-Z2XA6YU4.mjs";
10
14
  import "./chunk-PSX3WHIH.mjs";
11
15
  import "./chunk-UBKA33KY.mjs";
12
16
  import {
13
17
  PLAY_RUNTIME_PRICING_NOTE
14
- } from "./chunk-E7D37PLM.mjs";
18
+ } from "./chunk-IDDKNMFX.mjs";
19
+ import {
20
+ PRICING_PAGE_NOTE
21
+ } from "./chunk-FANIRW74.mjs";
15
22
  import "./chunk-5LUF4LAR.mjs";
16
23
  import {
17
24
  PLAY_SANDBOX_SIZE_INPUTS
@@ -22,9 +29,9 @@ import {
22
29
  openInBrowser,
23
30
  printCommandEnvelope,
24
31
  shouldEmitJson
25
- } from "./chunk-GLKUC5PO.mjs";
26
- import "./chunk-FIRV7BXJ.mjs";
27
- import "./chunk-G3UFDUYU.mjs";
32
+ } from "./chunk-FRPJSFNL.mjs";
33
+ import "./chunk-AU7ZKXW5.mjs";
34
+ import "./chunk-7AUQSK24.mjs";
28
35
  import {
29
36
  AuthError,
30
37
  ConfigError
@@ -33,7 +40,7 @@ import "./chunk-DLIRSHV6.mjs";
33
40
  import {
34
41
  DeeplineError
35
42
  } from "./chunk-JL2OTMSG.mjs";
36
- import "./chunk-E4QHTDPF.mjs";
43
+ import "./chunk-ZL2DER5D.mjs";
37
44
  import "./chunk-WZYKRD7T.mjs";
38
45
  import "./chunk-KRD6H754.mjs";
39
46
 
@@ -1281,13 +1288,15 @@ async function handleIncludedCompute(options) {
1281
1288
  ] : [],
1282
1289
  `Standard sandbox price: ${formatComputeAmount(60, Math.round(rate * 60))}`,
1283
1290
  `Allowance resets: ${payload.period_end_at.slice(0, 10)} (UTC)`,
1284
- PLAY_RUNTIME_PRICING_NOTE
1291
+ PLAY_RUNTIME_PRICING_NOTE,
1292
+ PRICING_PAGE_NOTE
1285
1293
  ] : payload.status === "off" ? [
1286
1294
  "Included compute: off; Play compute is billed at provider cost.",
1287
1295
  `Allowance if enabled: ${formatComputeAmount(payload.plan.included_minutes, payload.plan.included_minutes * payload.plan.credits_per_minute)} per month`,
1288
1296
  `Standard sandbox price if enabled: ${formatComputeAmount(60, Math.round(payload.plan.credits_per_minute * 60))}`,
1289
1297
  PLAY_RUNTIME_PRICING_NOTE,
1290
- "Run deepline billing compute --enable to turn on included compute. It cannot be turned off again."
1298
+ "Run deepline billing compute --enable to turn on included compute. It cannot be turned off again.",
1299
+ PRICING_PAGE_NOTE
1291
1300
  ] : [
1292
1301
  "Included compute is not available for this workspace yet."
1293
1302
  ]
@@ -1310,6 +1319,7 @@ async function handleEntitlements(options) {
1310
1319
  title: "billing entitlements",
1311
1320
  lines: [
1312
1321
  `Plan: ${payload.plan?.name ?? "Legacy billing"}`,
1322
+ ...concurrentRunsLine(payload) ? [`Concurrent runs: ${concurrentRunsLine(payload)}`] : [],
1313
1323
  ...Object.entries(payload.benefits).flatMap(
1314
1324
  ([key, grant]) => "value" in grant ? [
1315
1325
  `${key}: ${grant.status}, ${JSON.stringify(grant.value)}${grant.expiresAt === void 0 ? "" : `, expires ${new Date(grant.expiresAt).toISOString()}`}`
@@ -1323,7 +1333,8 @@ async function handleEntitlements(options) {
1323
1333
  ] : [],
1324
1334
  ...Object.entries(payload.effective_limits).map(
1325
1335
  ([key, limit]) => `${key} rate: ${limit.effective}/minute (${limit.source}; plan baseline ${limit.baseline})`
1326
- )
1336
+ ),
1337
+ PRICING_PAGE_NOTE
1327
1338
  ]
1328
1339
  }
1329
1340
  ]
@@ -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 _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
3
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.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
- _chunkLEREPTAEjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkZD673XALjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -32,7 +32,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
32
32
 
33
33
 
34
34
 
35
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
35
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
36
36
 
37
37
 
38
38
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -675,7 +675,7 @@ var ToolCalls = class {
675
675
  idempotencyKey,
676
676
  onResponse: (response2) => {
677
677
  lastResponse = null;
678
- atomicToolsSupported = response2.headers.get(_chunkV7DEGIYOjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
678
+ atomicToolsSupported = response2.headers.get(_chunkM6XIKHBSjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
679
679
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
680
680
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
681
681
  try {
@@ -1061,15 +1061,15 @@ function runtimeSelectionHeaders(runtime, env) {
1061
1061
  }
1062
1062
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1063
1063
  return {
1064
- [_chunkV7DEGIYOjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1065
- ...receivers ? { [_chunkV7DEGIYOjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1064
+ [_chunkM6XIKHBSjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1065
+ ...receivers ? { [_chunkM6XIKHBSjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1066
1066
  };
1067
1067
  }
1068
1068
  function playRunStartHeaders(runtime, env) {
1069
1069
  const headers = runtimeSelectionHeaders(runtime, env);
1070
1070
  const experimentSwitches = _optionalChain([env, 'access', _58 => _58.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1071
1071
  if (!experimentSwitches) return headers;
1072
- return { ...headers, [_chunkV7DEGIYOjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1072
+ return { ...headers, [_chunkM6XIKHBSjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1073
1073
  }
1074
1074
  function normalizeTestPolicyOverrides(value, source) {
1075
1075
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1139,7 +1139,7 @@ var PlayClient = class {
1139
1139
  return _chunkCQDQNZGHjs.startPlayRun.call(void 0,
1140
1140
  this.http,
1141
1141
  resolved.request,
1142
- _optionalChain([options, 'optionalAccess', _68 => _68.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkV7DEGIYOjs.SDK_API_MAJOR) } : headers,
1142
+ _optionalChain([options, 'optionalAccess', _68 => _68.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkM6XIKHBSjs.SDK_API_MAJOR) } : headers,
1143
1143
  options
1144
1144
  );
1145
1145
  }
@@ -3243,7 +3243,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3243
3243
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3244
3244
  );
3245
3245
  }
3246
- return { [_chunkV7DEGIYOjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3246
+ return { [_chunkM6XIKHBSjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3247
3247
  }
3248
3248
  function sleep(ms) {
3249
3249
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4155,7 +4155,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4155
4155
  );
4156
4156
  const headers = _optionalChain([options, 'optionalAccess', _192 => _192.cliAdmission]) ? {
4157
4157
  ...runtimeHeaders,
4158
- "X-Deepline-API-Major": String(_chunkV7DEGIYOjs.SDK_API_MAJOR)
4158
+ "X-Deepline-API-Major": String(_chunkM6XIKHBSjs.SDK_API_MAJOR)
4159
4159
  } : runtimeHeaders;
4160
4160
  const http = this.http;
4161
4161
  let submitted = false;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-2XMFT44N.mjs";
3
+ } from "./chunk-XTR32PMA.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-ADV2IB2C.mjs";
8
+ } from "./chunk-DHC7EGI7.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -0,0 +1,54 @@
1
+ import {
2
+ httpJson
3
+ } from "./chunk-NB4AIXEA.mjs";
4
+ import {
5
+ PRICING_PAGE_NOTE
6
+ } from "./chunk-FANIRW74.mjs";
7
+ import {
8
+ autoDetectBaseUrl,
9
+ resolveApiKeyForBaseUrl
10
+ } from "./chunk-AU7ZKXW5.mjs";
11
+
12
+ // src/cli/concurrent-runs-help.ts
13
+ var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
14
+ "plays run",
15
+ "runs get"
16
+ ]);
17
+ function concurrentRunsLine(payload) {
18
+ const runs = payload.concurrent_runs;
19
+ if (!runs) return null;
20
+ const plan = payload.plan?.name ? ` (${payload.plan.name})` : "";
21
+ const override = runs.source === "override" ? ", a workspace override" : "";
22
+ const here = `This workspace${plan} runs up to ${runs.limit.toLocaleString("en-US")} ${runs.limit === 1 ? "Play" : "Plays"} at once${override}.`;
23
+ const plans = runs.plans.map((entry) => `${entry.name} ${entry.limit.toLocaleString("en-US")}`).join(", ");
24
+ return plans ? `${here} Plan limits: ${plans}.` : here;
25
+ }
26
+ async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
+ const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
28
+ const apiKey = resolveApiKeyForBaseUrl(baseUrl);
29
+ if (!apiKey) return "";
30
+ try {
31
+ const { status, data } = await httpJson(
32
+ "GET",
33
+ `${baseUrl}/api/v2/billing/entitlements`,
34
+ apiKey,
35
+ void 0,
36
+ timeoutMs
37
+ );
38
+ if (status !== 200) return "";
39
+ const line = concurrentRunsLine(data);
40
+ return line ? `
41
+ Your workspace:
42
+ ${line}
43
+ ${PRICING_PAGE_NOTE}
44
+ ` : "";
45
+ } catch {
46
+ return "";
47
+ }
48
+ }
49
+
50
+ export {
51
+ CONCURRENT_RUNS_HELP_COMMANDS,
52
+ concurrentRunsLine,
53
+ concurrentRunsHelpStatus
54
+ };
@@ -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.539",
52
+ version: "0.3.541",
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."
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-GLKUC5PO.mjs";
3
+ } from "./chunk-FRPJSFNL.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
3
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkZD673XALjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkZD673XALjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-JL2OTMSG.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-E4QHTDPF.mjs";
20
+ } from "./chunk-ZL2DER5D.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-GNCIMHO2.mjs";
3
+ } from "./chunk-QI76LGE3.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-N3LPGGWD.mjs";
6
+ } from "./chunk-VMIIUMAN.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-7AOFSZJM.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-55ITVU2V.mjs";
17
+ } from "./chunk-XO2SGONT.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-GLKUC5PO.mjs";
22
+ } from "./chunk-FRPJSFNL.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-FIRV7BXJ.mjs";
26
+ } from "./chunk-AU7ZKXW5.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-G3UFDUYU.mjs";
4
+ } from "./chunk-7AUQSK24.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-CQBIO6HW.mjs";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-55ITVU2V.mjs";
6
+ } from "./chunk-XO2SGONT.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-GLKUC5PO.mjs";
11
+ } from "./chunk-FRPJSFNL.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-FIRV7BXJ.mjs";
15
+ } from "./chunk-AU7ZKXW5.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-QXJ6CV5G.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-6K4FHCVI.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -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(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
3
+ var _chunkMPYM6TUOjs = require('./chunk-MPYM6TUO.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkKAEVL62Qjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkMPYM6TUOjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk5QL4GJB2js = require('./chunk-5QL4GJB2.js');
3
+ var _chunkCY5LW6DWjs = require('./chunk-CY5LW6DW.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
7
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
12
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkV7DEGIYOjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkM6XIKHBSjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkV7DEGIYOjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkM6XIKHBSjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkV7DEGIYOjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkM6XIKHBSjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkV7DEGIYOjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkV7DEGIYOjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkM6XIKHBSjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkM6XIKHBSjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkV7DEGIYOjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkM6XIKHBSjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkZD673XALjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunk5QL4GJB2js.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkCY5LW6DWjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
565
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
597
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
705
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkQ4HNK7JXjs = require('./chunk-Q4HNK7JX.js');
3
+ var _chunk323I5KQ5js = require('./chunk-323I5KQ5.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
7
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkQ4HNK7JXjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk323I5KQ5js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkISXX5DUDjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkISXX5DUDjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkFOCNY4GVjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkFOCNY4GVjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
3
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
60
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-GEO2EMM7.mjs";
3
+ } from "./chunk-LRPFCB2P.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-FIRV7BXJ.mjs";
7
+ } from "./chunk-AU7ZKXW5.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-JHEZQMOM.mjs";
3
+ } from "./chunk-6PJAC3P5.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-GLKUC5PO.mjs";
6
+ } from "./chunk-FRPJSFNL.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-FIRV7BXJ.mjs";
17
+ } from "./chunk-AU7ZKXW5.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-G3UFDUYU.mjs";
24
+ } from "./chunk-7AUQSK24.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-E4QHTDPF.mjs";
27
+ } from "./chunk-ZL2DER5D.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-GLKUC5PO.mjs";
3
+ } from "./chunk-FRPJSFNL.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -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(); } }
2
2
 
3
- var _chunkQ4HNK7JXjs = require('./chunk-Q4HNK7JX.js');
3
+ var _chunk323I5KQ5js = require('./chunk-323I5KQ5.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
7
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkISXX5DUDjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkQ4HNK7JXjs.PlayClient)(
142
- new (0, _chunkISXX5DUDjs.HttpClient)(config),
140
+ const config = _chunkFOCNY4GVjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk323I5KQ5js.PlayClient)(
142
+ new (0, _chunkFOCNY4GVjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -0,0 +1,9 @@
1
+ // ../billing/plan-links.ts
2
+ var PRICING_PAGE_URL = "https://deepline.com/pricing";
3
+ var PLAN_PICKER_URL = "https://code.deepline.com/dashboard/billing?plan";
4
+ var PRICING_PAGE_NOTE = `See the pricing page for full details: ${PRICING_PAGE_URL}`;
5
+ var PLAN_UPGRADE_NOTE = `Agents: give the user ${PLAN_PICKER_URL} to upgrade the plan.`;
6
+
7
+ export {
8
+ PRICING_PAGE_NOTE
9
+ };