deepline 0.3.539 → 0.3.540

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 (160) 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-QD7QGD3B.mjs → auth-32TURPHH.mjs} +5 -5
  9. package/dist/cli/auth-XA3K5LH2.js +43 -0
  10. package/dist/cli/{billing-KOQAF6WS.js → billing-6433M4BX.js} +105 -94
  11. package/dist/cli/{billing-FIZXMHBW.mjs → billing-NSH3NOHV.mjs} +21 -10
  12. package/dist/cli/{chunk-FH3P3E4S.js → chunk-2U4VACUA.js} +2 -2
  13. package/dist/cli/{chunk-GLKUC5PO.mjs → chunk-37VFUQMU.mjs} +2 -2
  14. package/dist/cli/chunk-3GVIVIER.js +54 -0
  15. package/dist/cli/{chunk-55ITVU2V.mjs → chunk-AB6DFHGL.mjs} +2 -2
  16. package/dist/cli/{chunk-V7DEGIYO.js → chunk-AJVK4XC5.js} +4 -4
  17. package/dist/cli/{chunk-K5MZHTK7.js → chunk-AOYW62XO.js} +3 -3
  18. package/dist/cli/{chunk-GEO2EMM7.mjs → chunk-B6UZUQ2O.mjs} +1 -1
  19. package/dist/cli/{chunk-JHEZQMOM.mjs → chunk-BD3VAPB4.mjs} +1 -1
  20. package/dist/cli/{chunk-XZBXQCRJ.js → chunk-BGBRA2S6.js} +22 -22
  21. package/dist/cli/{chunk-EAZS52DL.js → chunk-BNNGM2E5.js} +15 -15
  22. package/dist/cli/{chunk-6NZBLFL4.mjs → chunk-BZVVSUE2.mjs} +1 -1
  23. package/dist/cli/{chunk-TZBCJHV6.js → chunk-DV3ESQ4X.js} +1 -1
  24. package/dist/cli/{chunk-FIRV7BXJ.mjs → chunk-DWE2VE5I.mjs} +1 -1
  25. package/dist/cli/{chunk-KQTX545E.js → chunk-EXAXDEIF.js} +13 -13
  26. package/dist/cli/chunk-FANIRW74.mjs +9 -0
  27. package/dist/cli/{chunk-F43MXIN3.mjs → chunk-FR3AII3W.mjs} +2 -2
  28. package/dist/cli/chunk-GWHA4DAC.js +9 -0
  29. package/dist/cli/{chunk-FSQCB5SJ.js → chunk-H6IA6XRE.js} +2 -2
  30. package/dist/cli/{chunk-K22EKW6L.js → chunk-HKWJD45V.js} +5 -5
  31. package/dist/cli/{chunk-APKZGUTU.mjs → chunk-HLHDCFKL.mjs} +4 -4
  32. package/dist/cli/{chunk-E7D37PLM.mjs → chunk-IDDKNMFX.mjs} +36 -0
  33. package/dist/cli/{chunk-RULRGMMM.mjs → chunk-IYQZVEV4.mjs} +5 -5
  34. package/dist/cli/{chunk-5RUB53KG.js → chunk-J3TAEPFA.js} +26 -26
  35. package/dist/cli/{chunk-GNCIMHO2.mjs → chunk-JGFGWWOF.mjs} +10 -10
  36. package/dist/cli/{chunk-Y66ZMOJI.mjs → chunk-JPU5YLQG.mjs} +1 -1
  37. package/dist/cli/{chunk-JBCQFG7G.mjs → chunk-KFAJYK2N.mjs} +3 -3
  38. package/dist/cli/chunk-KN6ELDPL.mjs +54 -0
  39. package/dist/cli/{chunk-NR5PLMNG.js → chunk-LPMI4CYW.js} +107 -107
  40. package/dist/cli/{chunk-YMQFQO3K.js → chunk-LXLCQP4A.js} +16 -16
  41. package/dist/cli/{chunk-KAEVL62Q.js → chunk-M4DB6BBP.js} +44 -44
  42. package/dist/cli/{chunk-GLEGINSP.mjs → chunk-MH22LQKZ.mjs} +2 -2
  43. package/dist/cli/{chunk-MI53W4DN.js → chunk-MLDLN6WG.js} +53 -53
  44. package/dist/cli/{chunk-ISXX5DUD.js → chunk-MVIVF4BW.js} +3 -3
  45. package/dist/cli/{chunk-3YDI2PTN.js → chunk-N6DMKVKO.js} +10 -10
  46. package/dist/cli/{chunk-ADV2IB2C.mjs → chunk-PJOMRUFP.mjs} +5 -5
  47. package/dist/cli/{chunk-6V3LNYK5.mjs → chunk-S3ULSGFH.mjs} +2 -2
  48. package/dist/cli/{chunk-2XMFT44N.mjs → chunk-SGMDRYAD.mjs} +1 -1
  49. package/dist/cli/{chunk-MKESK3SW.mjs → chunk-SINNEITW.mjs} +4 -4
  50. package/dist/cli/{chunk-LE5KN7CZ.mjs → chunk-SXVYFOBG.mjs} +3 -3
  51. package/dist/cli/{chunk-FTBWFDF3.js → chunk-TNUM4DFA.js} +7 -7
  52. package/dist/cli/{chunk-E4QHTDPF.mjs → chunk-TZVW5JH3.mjs} +1 -1
  53. package/dist/cli/{chunk-W32KT6LM.js → chunk-UJYX4VLX.js} +5 -5
  54. package/dist/cli/{chunk-XTYHZEJ2.js → chunk-V4EYJKGJ.js} +36 -0
  55. package/dist/cli/{chunk-LEREPTAE.js → chunk-VAOGM5VS.js} +19 -19
  56. package/dist/cli/{chunk-6KG4KVTH.mjs → chunk-WCM64BRH.mjs} +5 -5
  57. package/dist/cli/{chunk-CQJCLHBE.js → chunk-WDHHQEWQ.js} +41 -41
  58. package/dist/cli/{chunk-5YF35HAV.js → chunk-WHYNYL3M.js} +6 -6
  59. package/dist/cli/{chunk-Q4HNK7JX.js → chunk-XIIQNSWA.js} +8 -8
  60. package/dist/cli/{chunk-VK5UTS5B.js → chunk-XL3CEPZA.js} +9 -9
  61. package/dist/cli/{chunk-G3UFDUYU.mjs → chunk-XYM3SQZN.mjs} +1 -1
  62. package/dist/cli/{chunk-SDAP5MCO.mjs → chunk-Y6647AIY.mjs} +2 -2
  63. package/dist/cli/{chunk-N3LPGGWD.mjs → chunk-Z2OYTXLK.mjs} +1 -1
  64. package/dist/cli/{chunk-DZFVVP3S.mjs → chunk-ZJFU2COM.mjs} +5 -5
  65. package/dist/cli/{chunk-5QL4GJB2.js → chunk-ZTJQKHLM.js} +2 -2
  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-DU5STFGB.mjs +21 -0
  69. package/dist/cli/concurrent-runs-help-HIPM5BBV.js +21 -0
  70. package/dist/cli/{csv-BWWJYV2C.js → csv-FBNS6SM3.js} +13 -13
  71. package/dist/cli/{csv-G5RQQ74W.mjs → csv-OJCMBODT.mjs} +4 -4
  72. package/dist/cli/{db-AJZHWB3V.mjs → db-43RQRF64.mjs} +6 -6
  73. package/dist/cli/{db-5KNDLADE.js → db-XRGJJ2KA.js} +27 -27
  74. package/dist/cli/{describe-QY5TKWVD.mjs → describe-I42Y3PWR.mjs} +17 -17
  75. package/dist/cli/describe-LWZCGAXU.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-BCCW76BI.js → executions-LH46O4PG.js} +8 -8
  79. package/dist/cli/{executions-SJPH3MZT.mjs → executions-QXGVQHQF.mjs} +6 -6
  80. package/dist/cli/{feedback-S6SZOFGK.mjs → feedback-ELFINGTM.mjs} +6 -6
  81. package/dist/cli/{feedback-GF65JKK6.js → feedback-ERYIV6MT.js} +14 -14
  82. package/dist/cli/git-OV2TGYVE.js +25 -0
  83. package/dist/cli/{git-F5FT5YVB.mjs → git-V2XWB6LN.mjs} +5 -5
  84. package/dist/cli/index.js +153 -143
  85. package/dist/cli/index.mjs +53 -43
  86. package/dist/cli/{legacy-noops-NOA4P5NE.mjs → legacy-noops-ULL2EA37.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-ECR6FS6U.js → legacy-noops-Y3OKNVWH.js} +9 -9
  88. package/dist/cli/{monitors-DEWBSURN.js → monitors-DNQXCRJZ.js} +100 -100
  89. package/dist/cli/{monitors-CTYSAGP4.mjs → monitors-L34NROM3.mjs} +7 -7
  90. package/dist/cli/{org-ZM2UUMZZ.js → org-JETA62CO.js} +86 -86
  91. package/dist/cli/{org-EKSKKT7H.mjs → org-L3HTEEXL.mjs} +6 -6
  92. package/dist/cli/{play-6JQOM6DE.js → play-GTGJRNWI.js} +473 -455
  93. package/dist/cli/{play-R2BH374J.mjs → play-JHGLSSJP.mjs} +35 -17
  94. package/dist/cli/{providers-CMIYHEMN.js → providers-7VH7PH2Q.js} +9 -9
  95. package/dist/cli/{providers-X7WMIWO4.mjs → providers-IQVHZJ27.mjs} +6 -6
  96. package/dist/cli/{quickstart-6HVPAMSW.js → quickstart-M25JNU3O.js} +6 -6
  97. package/dist/cli/{quickstart-ZZ7L6VZJ.mjs → quickstart-ZDBC45PM.mjs} +4 -4
  98. package/dist/cli/{run-OOHYH3GI.js → run-MPZGX3YD.js} +42 -42
  99. package/dist/cli/{run-FP32RKBU.mjs → run-NEEWZBTX.mjs} +22 -22
  100. package/dist/cli/search-HUN2YRQE.js +32 -0
  101. package/dist/cli/{search-BDDNC23Z.mjs → search-YXAFB4QQ.mjs} +7 -7
  102. package/dist/cli/{search-output-5VZIQQAM.js → search-output-4PH5HSJC.js} +6 -6
  103. package/dist/cli/{search-output-QXJ6CV5G.mjs → search-output-67BBIXIZ.mjs} +4 -4
  104. package/dist/cli/{secrets-Z7CQSQGC.mjs → secrets-445FER3C.mjs} +6 -6
  105. package/dist/cli/{secrets-EN2HQCO3.js → secrets-HLUBDN3H.js} +15 -15
  106. package/dist/cli/{sessions-I2H37OTJ.mjs → sessions-CCKXJNWT.mjs} +6 -6
  107. package/dist/cli/sessions-T2RNWC6B.js +22 -0
  108. package/dist/cli/{settings-IYSC5PPQ.mjs → settings-3XCZGGVF.mjs} +12 -12
  109. package/dist/cli/{settings-CTRAPFNZ.js → settings-WXJIQS5J.js} +85 -85
  110. package/dist/cli/{setup-XIN53GEW.js → setup-CKETRFFN.js} +49 -49
  111. package/dist/cli/{setup-PU3HOVI3.mjs → setup-TOSX6NER.mjs} +9 -9
  112. package/dist/cli/skills-FXM2RHHO.js +36 -0
  113. package/dist/cli/{skills-TYBML2ZO.mjs → skills-Q7NLCIJJ.mjs} +7 -7
  114. package/dist/cli/{tools-ZVNE6M6J.mjs → tools-GY6QMYTZ.mjs} +16 -16
  115. package/dist/cli/tools-XLVDZTWQ.js +56 -0
  116. package/dist/cli/{update-54WENBNT.mjs → update-A7JRUN4S.mjs} +9 -9
  117. package/dist/cli/update-AZINHILP.js +34 -0
  118. package/dist/cli/{views-7L75EZOJ.js → views-GUWC4SNI.js} +21 -21
  119. package/dist/cli/{views-EUBB4ONT.mjs → views-JG7FDEJR.mjs} +6 -6
  120. package/dist/cli/{workflow-EZVYCR6Y.js → workflow-CXNW7ICH.js} +17 -17
  121. package/dist/cli/{workflow-GUKGFJ72.mjs → workflow-QZCYSQ5G.mjs} +7 -7
  122. package/dist/{client-DZTnAv4B.d.ts → client-B1fixtK1.d.ts} +1 -1
  123. package/dist/{client-D0uDBybG.d.mts → client-CE4QBVbp.d.mts} +1 -1
  124. package/dist/{client-core-BhWf8Y1b.d.mts → client-core-2BkNBgrx.d.mts} +3 -1
  125. package/dist/{client-core-og3AP1LL.d.ts → client-core-C-3FVlVq.d.ts} +3 -1
  126. package/dist/{compiler-manifest-Bes3OVA3.d.ts → compiler-manifest-Cys06iYg.d.mts} +14 -0
  127. package/dist/{compiler-manifest-Bes3OVA3.d.mts → compiler-manifest-Cys06iYg.d.ts} +14 -0
  128. package/dist/{errors-Dc5r42ks.d.mts → errors-B6eMjKcr.d.mts} +1 -1
  129. package/dist/{errors-BJm4lLWc.d.ts → errors-rdOUqcU2.d.ts} +1 -1
  130. package/dist/{index-DTkiz_Ur.d.mts → index-CZdYO81A.d.mts} +1 -1
  131. package/dist/{index-BfV7mRPF.d.ts → index-ejWadAL5.d.ts} +1 -1
  132. package/dist/index.d.mts +7 -7
  133. package/dist/index.d.ts +7 -7
  134. package/dist/index.js +9 -9
  135. package/dist/index.mjs +6 -6
  136. package/dist/install-integrity.json +118 -112
  137. package/dist/plays/bundle-play-file.d.mts +3 -3
  138. package/dist/plays/bundle-play-file.d.ts +3 -3
  139. package/dist/plays/bundle-play-file.mjs +1 -1
  140. package/dist/plays/play-description.d.mts +2 -2
  141. package/dist/plays/play-description.d.ts +2 -2
  142. package/dist/plays/run-request.d.mts +2 -2
  143. package/dist/plays/run-request.d.ts +2 -2
  144. package/dist/release.d.mts +1 -1
  145. package/dist/release.d.ts +1 -1
  146. package/dist/release.js +2 -2
  147. package/dist/release.mjs +1 -1
  148. package/dist/server.d.mts +4 -4
  149. package/dist/server.d.ts +4 -4
  150. package/dist/server.js +5 -5
  151. package/dist/server.mjs +3 -3
  152. package/package.json +1 -1
  153. package/dist/cli/auth-O5Y2VYXK.js +0 -43
  154. package/dist/cli/describe-B6CN6CFJ.js +0 -49
  155. package/dist/cli/git-DX6NB7VF.js +0 -25
  156. package/dist/cli/search-34C6LFOJ.js +0 -32
  157. package/dist/cli/sessions-RYQX3NDD.js +0 -22
  158. package/dist/cli/skills-576CX7DK.js +0 -36
  159. package/dist/cli/tools-EXMUWA3Z.js +0 -56
  160. package/dist/cli/update-RAHETNL2.js +0 -34
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkGWHA4DACjs = require('./chunk-GWHA4DAC.js');
4
+
5
+
3
6
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
4
7
 
5
8
  // src/cli/command-docs.ts
@@ -381,6 +384,7 @@ Output:
381
384
  Your runtime price, allowance used, paid overage, and reset date.
382
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
383
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
384
388
  Cost:
385
389
  Free to check.
386
390
  [[cli:
@@ -1353,6 +1357,17 @@ Output:
1353
1357
  held rateLimit window starts no run and returns the latest run with
1354
1358
  rateLimited {latestRunId, nextAllowedAt, message}.
1355
1359
  ]]
1360
+ Concurrency:
1361
+ A workspace runs as many Plays at once as its plan allows; each run holds
1362
+ one slot while it executes. A run over the limit is not rejected: it waits
1363
+ and starts when another finishes. While it waits, run.activity.summary
1364
+ starts with "Queued:", run.activity.observation.activityId is
1365
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1366
+ [[cli:
1367
+ deepline billing entitlements shows this workspace's plan and limit and
1368
+ every plan's limit; this help prints them too when you are signed in.
1369
+ ]]
1370
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1356
1371
  Cost:
1357
1372
  Spends Deepline credits through the play's tool calls. Validation errors
1358
1373
  (missing column, bad input) fail before any spend.
@@ -1593,6 +1608,17 @@ Output:
1593
1608
  sqlQualifiedTableName, actions}, and next.*.command, each naming the MCP call for a follow-up.
1594
1609
  With full: true the package is under package, beside the diagnostics.
1595
1610
  ]]
1611
+ Concurrency:
1612
+ A workspace runs as many Plays at once as its plan allows; each run holds
1613
+ one slot while it executes. A run over the limit is not rejected: it waits
1614
+ and starts when another finishes. While it waits, run.activity.summary
1615
+ starts with "Queued:", run.activity.observation.activityId is
1616
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1617
+ [[cli:
1618
+ deepline billing entitlements shows this workspace's plan and limit and
1619
+ every plan's limit; this help prints them too when you are signed in.
1620
+ ]]
1621
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1596
1622
  Cost:
1597
1623
  Free.
1598
1624
  Avoid:
@@ -1612,6 +1638,16 @@ Output fields:
1612
1638
  run.status queued, running, completed, failed, or stopped. Only
1613
1639
  the last three are terminal.
1614
1640
  run.activity the current step while running, null when finished.
1641
+ A queued capacity activity means it is waiting for a
1642
+ workspace concurrency slot, even if run.status says
1643
+ running. target.limit is the observed limit;
1644
+ target.limitSource=admission means it was pinned at
1645
+ launch. Plan changes apply to new launches, not that
1646
+ recorded limit. Scheduling retries automatically:
1647
+ watch the same run instead of resubmitting it.
1648
+ Read billing entitlements and billing plans for
1649
+ current limits and available plans. No queue ETA is
1650
+ guaranteed.
1615
1651
  run.retries failure-driven retries since the last resume:
1616
1652
  platformRecoveries {preCode, postCode} and
1617
1653
  recoveryOutcome (none, recovering, recovered,
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
7
+ var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
13
+ var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
14
14
 
15
15
 
16
16
 
@@ -330,7 +330,7 @@ function buildEnvironmentContext() {
330
330
  node_version: process.version,
331
331
  runtime: "Node.js",
332
332
  hostname: _os.hostname.call(void 0, ),
333
- agent_runtime: _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )
333
+ agent_runtime: _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )
334
334
  };
335
335
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
336
336
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -351,18 +351,18 @@ function buildEnvironmentContext() {
351
351
  return context;
352
352
  }
353
353
  function failureReportHeaders(apiKey) {
354
- const agentSessionId = _chunkV7DEGIYOjs.agentSessionIdFromEnvironment.call(void 0, );
354
+ const agentSessionId = _chunkAJVK4XC5js.agentSessionIdFromEnvironment.call(void 0, );
355
355
  return {
356
- ..._chunkV7DEGIYOjs.deploymentProtectionHeaders.call(void 0, ),
356
+ ..._chunkAJVK4XC5js.deploymentProtectionHeaders.call(void 0, ),
357
357
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
358
358
  Authorization: `Bearer ${apiKey}`,
359
359
  "Content-Type": "application/json",
360
- "User-Agent": `deepline-ts-sdk/${_chunkV7DEGIYOjs.SDK_VERSION}`,
360
+ "User-Agent": `deepline-ts-sdk/${_chunkAJVK4XC5js.SDK_VERSION}`,
361
361
  "X-Deepline-Client-Family": "sdk",
362
362
  "X-Deepline-CLI-Family": "sdk",
363
- "X-Deepline-Agent-Runtime": _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ),
364
- "X-Deepline-CLI-Version": _chunkV7DEGIYOjs.SDK_VERSION,
365
- "X-Deepline-SDK-Version": _chunkV7DEGIYOjs.SDK_VERSION
363
+ "X-Deepline-Agent-Runtime": _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, ),
364
+ "X-Deepline-CLI-Version": _chunkAJVK4XC5js.SDK_VERSION,
365
+ "X-Deepline-SDK-Version": _chunkAJVK4XC5js.SDK_VERSION
366
366
  };
367
367
  }
368
368
  async function postFailureReport(input) {
@@ -390,7 +390,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
390
390
  if (isFailureReportingDisabled()) return false;
391
391
  let apiKey = "";
392
392
  try {
393
- apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
393
+ apiKey = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
394
  } catch (e2) {
395
395
  return false;
396
396
  }
@@ -417,7 +417,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
417
417
  failure_code: failureCode2,
418
418
  failure_stage: failureStage,
419
419
  error_body: "Automatic Deepline skills installation failed.",
420
- cli_version: _chunkV7DEGIYOjs.SDK_VERSION,
420
+ cli_version: _chunkAJVK4XC5js.SDK_VERSION,
421
421
  context: {
422
422
  environment: buildEnvironmentContext(),
423
423
  skills_sync: {
@@ -537,7 +537,7 @@ function buildFailureReport(input) {
537
537
  failure_kind: failureKind,
538
538
  failure_code: code,
539
539
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
540
- cli_version: _chunkV7DEGIYOjs.SDK_VERSION,
540
+ cli_version: _chunkAJVK4XC5js.SDK_VERSION,
541
541
  context: {
542
542
  base_url: redactFailureText(input.baseUrl, 400),
543
543
  command_summary: sanitizeCommand(input.argv),
@@ -557,8 +557,8 @@ async function maybeReportSdkCliFailure(input) {
557
557
  if (isServerLoggedPlayRunStartFailure(input)) return false;
558
558
  const exitCode = resolvedExitCode(input);
559
559
  if (!shouldReport({ exitCode, error: input.error })) return false;
560
- const baseUrl = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
- const apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
560
+ const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
+ const apiKey = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
562
562
  if (!apiKey) return false;
563
563
  return postFailureReport({
564
564
  baseUrl,
@@ -682,8 +682,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
682
682
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
683
683
  var defaultBrowserCommandRunner = childProcess;
684
684
  function getAuthedHttpClient() {
685
- const config = _chunkISXX5DUDjs.resolveConfig.call(void 0, );
686
- return { config, http: new (0, _chunkISXX5DUDjs.HttpClient)(config) };
685
+ const config = _chunkMVIVF4BWjs.resolveConfig.call(void 0, );
686
+ return { config, http: new (0, _chunkMVIVF4BWjs.HttpClient)(config) };
687
687
  }
688
688
  function stableOsUserId() {
689
689
  try {
@@ -1023,7 +1023,7 @@ function collectLocalEnvInfo() {
1023
1023
  os: `${process.platform} ${process.arch}`,
1024
1024
  node_version: process.version,
1025
1025
  home_dir: homeDir,
1026
- agent_runtime: _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )
1026
+ agent_runtime: _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )
1027
1027
  };
1028
1028
  const env = process.env;
1029
1029
  const optional = {
@@ -1270,9 +1270,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1270
1270
  }
1271
1271
  function withAgentCommandContext(value) {
1272
1272
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1273
- return _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1273
+ return _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1274
1274
  ...valueRecord,
1275
- command_context: _chunkISXX5DUDjs.resolveCliCommandContext.call(void 0, )
1275
+ command_context: _chunkMVIVF4BWjs.resolveCliCommandContext.call(void 0, )
1276
1276
  } : value;
1277
1277
  }
1278
1278
  function printJson(value, fields) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-GNCIMHO2.mjs";
3
+ } from "./chunk-JGFGWWOF.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-N3LPGGWD.mjs";
6
+ } from "./chunk-Z2OYTXLK.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-AB6DFHGL.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-GLKUC5PO.mjs";
22
+ } from "./chunk-37VFUQMU.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-FIRV7BXJ.mjs";
26
+ } from "./chunk-DWE2VE5I.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
14
+ var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
15
15
 
16
16
 
17
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
17
+ var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
23
+ var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
27
+ var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkISXX5DUDjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkMVIVF4BWjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkISXX5DUDjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkMVIVF4BWjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkKAEVL62Qjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkKAEVL62Qjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkKAEVL62Qjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkKAEVL62Qjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkM4DB6BBPjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkKAEVL62Qjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkKAEVL62Qjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkKAEVL62Qjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
303
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
313
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
330
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
353
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkKAEVL62Qjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkV7DEGIYOjs.SDK_VERSION
367
+ skillNames: [..._chunkM4DB6BBPjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkAJVK4XC5js.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
373
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkKAEVL62Qjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkM4DB6BBPjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkKAEVL62Qjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkISXX5DUDjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkMVIVF4BWjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkKAEVL62Qjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkM4DB6BBPjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkKAEVL62Qjs.SkillsStateUnavailableError)) throw error;
433
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkM4DB6BBPjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
449
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkKAEVL62Qjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkM4DB6BBPjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
507
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
523
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkV7DEGIYOjs.SDK_VERSION,
563
+ cliVersion: _chunkAJVK4XC5js.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkKAEVL62Qjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkM4DB6BBPjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
578
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkKAEVL62Qjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkKAEVL62Qjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkM4DB6BBPjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
645
+ _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkKAEVL62Qjs.syncSdkSkillsIfNeeded.call(void 0, _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkM4DB6BBPjs.syncSdkSkillsIfNeeded.call(void 0, _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkFSQCB5SJjs = require('./chunk-FSQCB5SJ.js');
3
+ var _chunkH6IA6XREjs = require('./chunk-H6IA6XRE.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
8
+ var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkKAEVL62Qjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkFSQCB5SJjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkM4DB6BBPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkH6IA6XREjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkKAEVL62Qjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkM4DB6BBPjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkKAEVL62Qjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkM4DB6BBPjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -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 _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.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(_chunkAJVK4XC5js.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
+ [_chunkAJVK4XC5js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1065
+ ...receivers ? { [_chunkAJVK4XC5js.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, [_chunkAJVK4XC5js.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(_chunkAJVK4XC5js.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 { [_chunkAJVK4XC5js.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(_chunkAJVK4XC5js.SDK_API_MAJOR)
4159
4159
  } : runtimeHeaders;
4160
4160
  const http = this.http;
4161
4161
  let submitted = false;