deepline 0.3.470 → 0.3.471

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 (157) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +22 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +3 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/play-admission-outcome.ts +34 -8
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +131 -22
  9. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +36 -1
  10. package/dist/cli/auth-2MMOFS3O.js +41 -0
  11. package/dist/cli/{auth-7J52UEWO.mjs → auth-MUCIXHJF.mjs} +5 -5
  12. package/dist/cli/{billing-ASNWVDQG.js → billing-BQQNTCTV.js} +82 -81
  13. package/dist/cli/{billing-ORB3UZ73.mjs → billing-QGCTDE2N.mjs} +9 -8
  14. package/dist/cli/{chunk-BWLXHUKH.mjs → chunk-2KBRY5CA.mjs} +3 -3
  15. package/dist/cli/{chunk-DSOTGAXS.mjs → chunk-3PT2HJKC.mjs} +1 -1
  16. package/dist/cli/{chunk-262PYO4I.mjs → chunk-4OAA43RX.mjs} +3 -3
  17. package/dist/cli/{chunk-NNCDHMCT.js → chunk-4PT2WZD2.js} +26 -26
  18. package/dist/cli/{chunk-VBKN6ISP.js → chunk-5QWGL2QO.js} +93 -93
  19. package/dist/cli/{chunk-HNP5V5BN.js → chunk-6DTW6JND.js} +6 -2
  20. package/dist/cli/{chunk-5ADROBCY.mjs → chunk-AMUSZHCE.mjs} +2 -2
  21. package/dist/cli/{chunk-3P4WOCRB.mjs → chunk-ATKFOOVD.mjs} +5 -5
  22. package/dist/cli/{chunk-A7THVTRN.js → chunk-CR2F3JZN.js} +51 -51
  23. package/dist/cli/{chunk-PWXHZPHK.js → chunk-DFMFYOML.js} +10 -10
  24. package/dist/cli/{chunk-AGIEKE3L.js → chunk-DK5Y5BD3.js} +4 -4
  25. package/dist/cli/{chunk-SV3B6KW4.mjs → chunk-DV4V5IWI.mjs} +5 -5
  26. package/dist/cli/{chunk-F4L7WMLK.mjs → chunk-E2SHDT7T.mjs} +2 -2
  27. package/dist/cli/{chunk-44UR3BU2.js → chunk-E3WTQ3JI.js} +14 -14
  28. package/dist/cli/{chunk-3XLJPLXZ.mjs → chunk-EHVVDHNU.mjs} +1 -1
  29. package/dist/cli/{chunk-YFKOA4HW.mjs → chunk-EYKMITTY.mjs} +4 -4
  30. package/dist/cli/{chunk-7WILY2XM.mjs → chunk-FJBGBPYY.mjs} +2 -2
  31. package/dist/cli/{chunk-VL7OL7YR.mjs → chunk-FVGT5EBA.mjs} +1 -1
  32. package/dist/cli/{chunk-F2XK4UN6.js → chunk-FX3QM6WN.js} +3 -3
  33. package/dist/cli/{chunk-NSAKJQLX.js → chunk-G6RQXAJ2.js} +1 -1
  34. package/dist/cli/{chunk-MXAB4W6E.js → chunk-GPSVXVDZ.js} +8 -8
  35. package/dist/cli/{chunk-SHB7BUNQ.mjs → chunk-IE5KAVTI.mjs} +3 -3
  36. package/dist/cli/{chunk-SOME764Z.mjs → chunk-IPFUDUSY.mjs} +4 -4
  37. package/dist/cli/{chunk-Y4OE46HH.js → chunk-J2NYCUTK.js} +24 -24
  38. package/dist/cli/{chunk-JKVRBCZL.js → chunk-JDMR33HS.js} +1 -0
  39. package/dist/cli/{chunk-YBDQUVDE.mjs → chunk-K5USD25Z.mjs} +10 -10
  40. package/dist/cli/{chunk-F6OB5L74.js → chunk-KSUGLTX3.js} +6 -6
  41. package/dist/cli/{chunk-CNQBCLQP.js → chunk-MLQJVAVS.js} +3 -3
  42. package/dist/cli/{chunk-QW6HNDS7.mjs → chunk-MV6HL67R.mjs} +2 -2
  43. package/dist/cli/{chunk-6R5UKWRW.js → chunk-NBPNYD54.js} +16 -16
  44. package/dist/cli/{chunk-FAG4DFUC.mjs → chunk-NELMCOWK.mjs} +1 -0
  45. package/dist/cli/{chunk-N72VIY7R.js → chunk-NLT3CFVJ.js} +2 -2
  46. package/dist/cli/{chunk-EM2E7YIS.js → chunk-NPJY5QRC.js} +53 -53
  47. package/dist/cli/{chunk-QG7UPPOK.mjs → chunk-OYHCMKZM.mjs} +3 -3
  48. package/dist/cli/{chunk-SXQZYTUW.mjs → chunk-PVEEGJFN.mjs} +1 -1
  49. package/dist/cli/{chunk-4BQQ3Q3J.js → chunk-RUWBAU6V.js} +8 -8
  50. package/dist/cli/{chunk-YTFCKCII.js → chunk-RWCTGSD7.js} +3 -3
  51. package/dist/cli/{chunk-GLSFZYZB.mjs → chunk-RYGJWMWL.mjs} +1 -1
  52. package/dist/cli/{chunk-D464JW3N.mjs → chunk-RZHUHL53.mjs} +19 -1
  53. package/dist/cli/{chunk-6B7XLHIE.mjs → chunk-SIQV6UYG.mjs} +4 -4
  54. package/dist/cli/{chunk-ETTUFFBS.js → chunk-TWRK4NOU.js} +36 -36
  55. package/dist/cli/{chunk-CTDWQYBW.mjs → chunk-U5RGCQWJ.mjs} +2 -2
  56. package/dist/cli/{chunk-FVYAEBGO.mjs → chunk-V2WMJXU6.mjs} +6 -2
  57. package/dist/cli/{chunk-ORO2GFH4.js → chunk-VDRGX2XL.js} +5 -5
  58. package/dist/cli/{chunk-C7EA2VNR.js → chunk-VGIAOWCD.js} +5 -5
  59. package/dist/cli/{chunk-PJX7BA7T.mjs → chunk-VVY3HGFM.mjs} +2 -2
  60. package/dist/cli/{chunk-GDFO3ERN.js → chunk-WDXJUZCY.js} +2 -2
  61. package/dist/cli/{chunk-57F5VKHV.js → chunk-YRM5TPXL.js} +8 -8
  62. package/dist/cli/{chunk-WG3KGAII.js → chunk-Z52WEIBR.js} +19 -1
  63. package/dist/cli/{chunk-RVQ333NB.mjs → chunk-ZAF54BQK.mjs} +1 -1
  64. package/dist/cli/{chunk-KBNAI5BY.js → chunk-ZHM7VCKH.js} +21 -21
  65. package/dist/cli/{chunk-SETIOXN4.mjs → chunk-ZMJOSD7R.mjs} +1 -1
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-D3JPZVUN.mjs → csv-Q6BSRCBJ.mjs} +4 -4
  69. package/dist/cli/{csv-FSXDIWBP.js → csv-UE7RZDUV.js} +13 -13
  70. package/dist/cli/{db-3UWDQXLF.mjs → db-FI6XXB2H.mjs} +7 -7
  71. package/dist/cli/{db-DZQUPWI3.js → db-T7A7EE3D.js} +28 -28
  72. package/dist/cli/{describe-APG2GVFG.mjs → describe-4GGU6NU3.mjs} +18 -18
  73. package/dist/cli/describe-UM2VGRY7.js +48 -0
  74. package/dist/cli/describe-core.d.mts +3 -3
  75. package/dist/cli/describe-core.d.ts +3 -3
  76. package/dist/cli/{executions-BFAPMPG2.js → executions-4I6F5RMS.js} +9 -9
  77. package/dist/cli/{executions-TDUX3575.mjs → executions-S46XI7NX.mjs} +7 -7
  78. package/dist/cli/{feedback-BMV7PUDL.mjs → feedback-3LJ7NZE7.mjs} +4 -4
  79. package/dist/cli/{feedback-2KNPCYTH.js → feedback-VEGUNKSP.js} +8 -8
  80. package/dist/cli/git-EVWKNIUA.js +25 -0
  81. package/dist/cli/{git-KBVONNE5.mjs → git-W7SFD7AA.mjs} +5 -5
  82. package/dist/cli/index.js +139 -139
  83. package/dist/cli/index.mjs +41 -41
  84. package/dist/cli/{legacy-noops-LE6LJO7F.js → legacy-noops-3EMB5SJH.js} +8 -8
  85. package/dist/cli/{legacy-noops-GZDRRUFE.mjs → legacy-noops-FIR5PSHG.mjs} +5 -5
  86. package/dist/cli/{monitors-CW22L3VL.mjs → monitors-4DKW25PV.mjs} +8 -8
  87. package/dist/cli/{monitors-PGBHMKOU.js → monitors-53LPJH6R.js} +92 -92
  88. package/dist/cli/{org-K5C23LAV.mjs → org-6ZV2DBGI.mjs} +7 -7
  89. package/dist/cli/{org-3V2VAH5D.js → org-CYLJFX4Q.js} +73 -73
  90. package/dist/cli/{pages-2F73VVWC.js → pages-42E3WIMH.js} +18 -18
  91. package/dist/cli/{pages-7V2C7GWU.mjs → pages-V3LEXCRL.mjs} +7 -7
  92. package/dist/cli/{play-62KSZGJQ.js → play-O3OY556F.js} +556 -516
  93. package/dist/cli/{play-VT7TPJUH.mjs → play-X7REMNNG.mjs} +63 -23
  94. package/dist/cli/{providers-LX562YG7.mjs → providers-L2DJVAXN.mjs} +7 -7
  95. package/dist/cli/{providers-3SI3QBT3.js → providers-NZ7TISS3.js} +10 -10
  96. package/dist/cli/{quickstart-5HA5IFTB.js → quickstart-IKNGAQRO.js} +6 -6
  97. package/dist/cli/{quickstart-ADE7FV26.mjs → quickstart-ROWMAUXQ.mjs} +4 -4
  98. package/dist/cli/{run-4ZV4UDKP.js → run-JG6DLOYR.js} +37 -37
  99. package/dist/cli/{run-OITZJ6QZ.mjs → run-PJI577J2.mjs} +23 -23
  100. package/dist/cli/{search-BI5VZQMD.mjs → search-DOVJ745X.mjs} +8 -8
  101. package/dist/cli/search-RHKW5GSR.js +32 -0
  102. package/dist/cli/{secrets-A2R36AZ6.mjs → secrets-OKDFNCRJ.mjs} +7 -7
  103. package/dist/cli/{secrets-UAKNTMYB.js → secrets-R5LWXIG6.js} +16 -16
  104. package/dist/cli/{sessions-PPOFUFBW.mjs → sessions-KX4C2CKS.mjs} +5 -5
  105. package/dist/cli/{sessions-3JM3OXME.js → sessions-L3DSAY2T.js} +6 -6
  106. package/dist/cli/{settings-C4M5HOD4.js → settings-NKTNNTAP.js} +79 -79
  107. package/dist/cli/{settings-PZA6TBOL.mjs → settings-W3SMDBYS.mjs} +12 -12
  108. package/dist/cli/{setup-TY2OSI6D.js → setup-5WZEXWQR.js} +44 -44
  109. package/dist/cli/{setup-245XVTBR.mjs → setup-7KFKKW2W.mjs} +9 -9
  110. package/dist/cli/skills-UFAABPCQ.js +31 -0
  111. package/dist/cli/{skills-ZAN23KLR.mjs → skills-X5TLATOL.mjs} +7 -7
  112. package/dist/cli/{tools-GG4KDQBM.mjs → tools-27J5EOKO.mjs} +17 -17
  113. package/dist/cli/tools-IVU3BCIY.js +55 -0
  114. package/dist/cli/{update-XKXIL6DU.mjs → update-EWL477FJ.mjs} +9 -9
  115. package/dist/cli/update-G7HFHKPG.js +33 -0
  116. package/dist/cli/{workflow-VN7M3D2U.js → workflow-GFNGGHJE.js} +18 -18
  117. package/dist/cli/{workflow-LVQVTFUJ.mjs → workflow-YXR6YMT2.mjs} +8 -8
  118. package/dist/{client-B3tlWsw7.d.ts → client-DIpVmXcj.d.ts} +1 -1
  119. package/dist/{client-CdJR18SJ.d.mts → client-DitOgp8N.d.mts} +1 -1
  120. package/dist/{client-core-ByJD7QXj.d.mts → client-core-COZteOww.d.mts} +28 -2
  121. package/dist/{client-core-CxHBKfE5.d.ts → client-core-k543Fg6D.d.ts} +28 -2
  122. package/dist/{compiler-manifest-D5dARg3M.d.ts → compiler-manifest-Zwm9yqOA.d.mts} +39 -0
  123. package/dist/{compiler-manifest-D5dARg3M.d.mts → compiler-manifest-Zwm9yqOA.d.ts} +39 -0
  124. package/dist/{errors-BtHHzWL8.d.ts → errors-CsYwlpn4.d.ts} +1 -1
  125. package/dist/{errors-BveMVPwA.d.mts → errors-nEsqNLL8.d.mts} +1 -1
  126. package/dist/{index-C6sovoYP.d.ts → index-9pUZqkPH.d.ts} +1 -1
  127. package/dist/{index-BboApDGD.d.mts → index-CXF2jtza.d.mts} +1 -1
  128. package/dist/index.d.mts +7 -7
  129. package/dist/index.d.ts +7 -7
  130. package/dist/index.js +10 -10
  131. package/dist/index.mjs +7 -7
  132. package/dist/install-integrity.json +112 -112
  133. package/dist/plays/bundle-play-file.d.mts +3 -3
  134. package/dist/plays/bundle-play-file.d.ts +3 -3
  135. package/dist/plays/bundle-play-file.mjs +1 -1
  136. package/dist/plays/play-description.d.mts +2 -2
  137. package/dist/plays/play-description.d.ts +2 -2
  138. package/dist/plays/run-request.d.mts +2 -2
  139. package/dist/plays/run-request.d.ts +2 -2
  140. package/dist/plays/run-request.js +2 -2
  141. package/dist/plays/run-request.mjs +1 -1
  142. package/dist/release.d.mts +1 -1
  143. package/dist/release.d.ts +1 -1
  144. package/dist/release.js +2 -2
  145. package/dist/release.mjs +1 -1
  146. package/dist/server.d.mts +4 -4
  147. package/dist/server.d.ts +4 -4
  148. package/dist/server.js +6 -6
  149. package/dist/server.mjs +4 -4
  150. package/package.json +1 -1
  151. package/dist/cli/auth-4DBOZZDX.js +0 -41
  152. package/dist/cli/describe-2ENX4O3U.js +0 -48
  153. package/dist/cli/git-LUW3GBSD.js +0 -25
  154. package/dist/cli/search-PXFM3MGW.js +0 -32
  155. package/dist/cli/skills-UYNRYDDI.js +0 -31
  156. package/dist/cli/tools-OBESOBG7.js +0 -55
  157. package/dist/cli/update-2VMXTKBN.js +0 -33
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
9
+ var _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunk57F5VKHVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkYRM5TPXLjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunk57F5VKHVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkYRM5TPXLjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -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.470",
52
+ version: "0.3.471",
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,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 _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
4
+ var _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
5
5
 
6
6
 
7
- var _chunkAGIEKE3Ljs = require('./chunk-AGIEKE3L.js');
7
+ var _chunkDK5Y5BD3js = require('./chunk-DK5Y5BD3.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 = _chunkAGIEKE3Ljs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkDK5Y5BD3js.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 } = _chunk57F5VKHVjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkYRM5TPXLjs.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
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
487
+ _chunkYRM5TPXLjs.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
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
519
+ _chunkYRM5TPXLjs.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
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
569
+ _chunkYRM5TPXLjs.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
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
677
+ _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-CTDWQYBW.mjs";
6
+ } from "./chunk-U5RGCQWJ.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-QG7UPPOK.mjs";
10
+ } from "./chunk-OYHCMKZM.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-VL7OL7YR.mjs";
14
+ } from "./chunk-FVGT5EBA.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-YFKOA4HW.mjs";
14
+ } from "./chunk-EYKMITTY.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-QG7UPPOK.mjs";
17
+ } from "./chunk-OYHCMKZM.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-VL7OL7YR.mjs";
23
+ } from "./chunk-FVGT5EBA.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-SETIOXN4.mjs";
27
+ } from "./chunk-ZMJOSD7R.mjs";
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  import { spawn } from "child_process";
@@ -15,7 +15,7 @@ var _chunkE4CABWXLjs = require('./chunk-E4CABWXL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkJKVRBCZLjs = require('./chunk-JKVRBCZL.js');
18
+ var _chunkJDMR33HSjs = require('./chunk-JDMR33HS.js');
19
19
 
20
20
 
21
21
 
@@ -26,7 +26,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
26
26
 
27
27
 
28
28
 
29
- var _chunkAGIEKE3Ljs = require('./chunk-AGIEKE3L.js');
29
+ var _chunkDK5Y5BD3js = require('./chunk-DK5Y5BD3.js');
30
30
 
31
31
 
32
32
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkAGIEKE3Ljs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkDK5Y5BD3js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
653
653
  try {
@@ -1026,8 +1026,8 @@ function runtimeSelectionHeaders(runtime, env) {
1026
1026
  }
1027
1027
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1028
1028
  return {
1029
- [_chunkAGIEKE3Ljs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1030
- ...receivers ? { [_chunkAGIEKE3Ljs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1029
+ [_chunkDK5Y5BD3js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1030
+ ...receivers ? { [_chunkDK5Y5BD3js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1031
1031
  };
1032
1032
  }
1033
1033
  function normalizeTestPolicyOverrides(value, source) {
@@ -1061,10 +1061,10 @@ function isRecord2(value) {
1061
1061
  return Boolean(value && typeof value === "object" && !Array.isArray(value));
1062
1062
  }
1063
1063
  function normalizePlayStatus(raw) {
1064
- const runPackage = _chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, raw) ? raw : _chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, raw.package) ? raw.package : null;
1064
+ const runPackage = _chunkJDMR33HSjs.isPlayRunPackage.call(void 0, raw) ? raw : _chunkJDMR33HSjs.isPlayRunPackage.call(void 0, raw.package) ? raw.package : null;
1065
1065
  const packageRun = _optionalChain([runPackage, 'optionalAccess', _57 => _57.run]);
1066
1066
  const rawStatus = typeof raw.status === "string" ? raw.status : typeof _optionalChain([packageRun, 'optionalAccess', _58 => _58.status]) === "string" ? packageRun.status : null;
1067
- const status = _chunkJKVRBCZLjs.decodePlayRunPublicStatus.call(void 0, rawStatus);
1067
+ const status = _chunkJDMR33HSjs.decodePlayRunPublicStatus.call(void 0, rawStatus);
1068
1068
  if (!status) {
1069
1069
  throw new Error(
1070
1070
  `Invalid play run lifecycle status in API response: ${JSON.stringify(rawStatus)}.`
@@ -1095,10 +1095,10 @@ var PlayClient = class {
1095
1095
  async startPlayRun(request, options) {
1096
1096
  const resolved = resolveStartPlayRunRequest(request, this.environment);
1097
1097
  const headers = runtimeSelectionHeaders(resolved.runtime, this.environment);
1098
- return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1098
+ return _chunkJDMR33HSjs.startPlayRun.call(void 0,
1099
1099
  this.http,
1100
1100
  resolved.request,
1101
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkAGIEKE3Ljs.SDK_API_MAJOR) } : headers,
1101
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkDK5Y5BD3js.SDK_API_MAJOR) } : headers,
1102
1102
  options
1103
1103
  );
1104
1104
  }
@@ -2663,7 +2663,7 @@ var TERMINAL_STATUS_BY_EVENT_TYPE = {
2663
2663
 
2664
2664
  // ../play-runtime/run-snapshot-stream.ts
2665
2665
  function isTerminalPlayRunLiveStatus(status) {
2666
- return _chunkJKVRBCZLjs.isTerminalPlayRunLifecycleStatus.call(void 0, status);
2666
+ return _chunkJDMR33HSjs.isTerminalPlayRunLifecycleStatus.call(void 0, status);
2667
2667
  }
2668
2668
  function makeRunStreamEvent(input) {
2669
2669
  return {
@@ -3175,7 +3175,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3175
3175
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3176
3176
  );
3177
3177
  }
3178
- return { [_chunkAGIEKE3Ljs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3178
+ return { [_chunkDK5Y5BD3js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3179
3179
  }
3180
3180
  function sleep(ms) {
3181
3181
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3306,7 +3306,7 @@ function playLiveRunStatus(event) {
3306
3306
  return null;
3307
3307
  }
3308
3308
  const payload = getPlayLiveEventPayload(event);
3309
- return _nullishCoalesce(_chunkJKVRBCZLjs.decodePlayRunPublicStatus.call(void 0, payload.status), () => ( (_chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, payload) ? _chunkJKVRBCZLjs.decodePlayRunPublicStatus.call(void 0, payload.run.status) : null)));
3309
+ return _nullishCoalesce(_chunkJDMR33HSjs.decodePlayRunPublicStatus.call(void 0, payload.status), () => ( (_chunkJDMR33HSjs.isPlayRunPackage.call(void 0, payload) ? _chunkJDMR33HSjs.decodePlayRunPublicStatus.call(void 0, payload.run.status) : null)));
3310
3310
  }
3311
3311
  function appendPlayLiveLogLines(state, payload) {
3312
3312
  const lines = readStringArray(payload.lines);
@@ -3338,7 +3338,7 @@ function updatePlayLiveStatusState(state, event) {
3338
3338
  if (event.type !== "play.run.snapshot" && event.type !== "play.run.status" && event.type !== "play.run.final_status") {
3339
3339
  return null;
3340
3340
  }
3341
- const runId = typeof payload.runId === "string" && payload.runId ? payload.runId : _chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, payload) ? payload.run.id : state.runId;
3341
+ const runId = typeof payload.runId === "string" && payload.runId ? payload.runId : _chunkJDMR33HSjs.isPlayRunPackage.call(void 0, payload) ? payload.run.id : state.runId;
3342
3342
  const status = _nullishCoalesce(playLiveRunStatus(event), () => ( state.status));
3343
3343
  const progressPayload = isRecord3(payload.progress) ? payload.progress : {};
3344
3344
  if (event.type === "play.run.final_status" && state.logs.length === 0 && state.lastLogSeq === 0) {
@@ -3351,7 +3351,7 @@ function updatePlayLiveStatusState(state, event) {
3351
3351
  }
3352
3352
  if ("result" in payload) {
3353
3353
  state.result = payload.result;
3354
- } else if (_chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, payload)) {
3354
+ } else if (_chunkJDMR33HSjs.isPlayRunPackage.call(void 0, payload)) {
3355
3355
  state.result = payload;
3356
3356
  }
3357
3357
  if (typeof payload.error === "string" && payload.error.trim()) {
@@ -3364,7 +3364,7 @@ function updatePlayLiveStatusState(state, event) {
3364
3364
  ...payload,
3365
3365
  runId,
3366
3366
  status,
3367
- ..._chunkJKVRBCZLjs.isPlayRunPackage.call(void 0, payload) ? { package: payload, outputs: payload.outputs } : {},
3367
+ ..._chunkJDMR33HSjs.isPlayRunPackage.call(void 0, payload) ? { package: payload, outputs: payload.outputs } : {},
3368
3368
  progress: {
3369
3369
  ...progressRecord,
3370
3370
  status: typeof progressRecord.status === "string" ? progressRecord.status : status,
@@ -3963,7 +3963,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
3963
3963
  */
3964
3964
  async preparePlayRunAdmission(request, options) {
3965
3965
  const resolved = resolveStartPlayRunRequest(request, this.environment);
3966
- const prepared = await _chunkJKVRBCZLjs.preparePlayRunAdmission.call(void 0,
3966
+ const prepared = await _chunkJDMR33HSjs.preparePlayRunAdmission.call(void 0,
3967
3967
  this.http,
3968
3968
  resolved.request,
3969
3969
  _optionalChain([options, 'optionalAccess', _177 => _177.onSubmission])
@@ -3983,13 +3983,13 @@ var DeeplineClient = (_class = class _DeeplineClient {
3983
3983
  );
3984
3984
  }
3985
3985
  if (submitted) {
3986
- await _chunkJKVRBCZLjs.preparePlayRunAdmission.call(void 0,
3986
+ await _chunkJDMR33HSjs.preparePlayRunAdmission.call(void 0,
3987
3987
  http,
3988
3988
  JSON.parse(bodyJson)
3989
3989
  );
3990
3990
  }
3991
3991
  submitted = true;
3992
- const streamPath = _optionalChain([options, 'optionalAccess', _178 => _178.cliAdmission]) ? _chunkJKVRBCZLjs.CLI_PLAY_RUN_START_STREAM_PATH : _chunkJKVRBCZLjs.PLAY_RUN_START_STREAM_PATH;
3992
+ const streamPath = _optionalChain([options, 'optionalAccess', _178 => _178.cliAdmission]) ? _chunkJDMR33HSjs.CLI_PLAY_RUN_START_STREAM_PATH : _chunkJDMR33HSjs.PLAY_RUN_START_STREAM_PATH;
3993
3993
  try {
3994
3994
  for await (const event of http.streamSse(streamPath, {
3995
3995
  method: "POST",
@@ -4002,7 +4002,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4002
4002
  }
4003
4003
  } catch (error) {
4004
4004
  if (_optionalChain([options, 'optionalAccess', _180 => _180.cliAdmission]) && error instanceof _chunkDIAWYWT5js.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
4005
- throw new (0, _chunkJKVRBCZLjs.CliPlayAdmissionUnsupportedError)(error.statusCode);
4005
+ throw new (0, _chunkJDMR33HSjs.CliPlayAdmissionUnsupportedError)(error.statusCode);
4006
4006
  }
4007
4007
  throw error;
4008
4008
  }
@@ -4281,7 +4281,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4281
4281
  * ```
4282
4282
  */
4283
4283
  async stagePlayFiles(files) {
4284
- return _chunkJKVRBCZLjs.stagePlayFiles.call(void 0, this.http, files);
4284
+ return _chunkJDMR33HSjs.stagePlayFiles.call(void 0, this.http, files);
4285
4285
  }
4286
4286
  /**
4287
4287
  * Mint short-lived presigned upload targets for staged play files.
@@ -4290,7 +4290,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4290
4290
  * For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
4291
4291
  */
4292
4292
  async mintStagedPlayFileUploads(files) {
4293
- return _chunkJKVRBCZLjs.mintStagedPlayFileUploads.call(void 0, this.http, files);
4293
+ return _chunkJDMR33HSjs.mintStagedPlayFileUploads.call(void 0, this.http, files);
4294
4294
  }
4295
4295
  /**
4296
4296
  * Resolve staged play files by content hash without uploading bytes.
@@ -4401,7 +4401,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4401
4401
  }
4402
4402
  })) {
4403
4403
  _optionalChain([options, 'optionalAccess', _218 => _218.onEvent, 'optionalCall', _219 => _219(event)]);
4404
- if (_chunkJKVRBCZLjs.isTerminalPlayRunLifecycleStatus.call(void 0, playLiveRunStatus(event))) {
4404
+ if (_chunkJDMR33HSjs.isTerminalPlayRunLifecycleStatus.call(void 0, playLiveRunStatus(event))) {
4405
4405
  terminalObserved = true;
4406
4406
  }
4407
4407
  }
@@ -4409,7 +4409,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4409
4409
  throw new (0, _chunkDIAWYWT5js.DeeplineError)("Run watch aborted.", void 0, "ABORTED");
4410
4410
  }
4411
4411
  const refreshed = await _asyncNullishCoalesce(terminalStatus, async () => ( await this.getRunStatus(runId)));
4412
- if (terminalObserved || _chunkJKVRBCZLjs.isTerminalPlayRunLifecycleStatus.call(void 0, refreshed.status)) {
4412
+ if (terminalObserved || _chunkJDMR33HSjs.isTerminalPlayRunLifecycleStatus.call(void 0, refreshed.status)) {
4413
4413
  return refreshed;
4414
4414
  }
4415
4415
  throw new (0, _chunkDIAWYWT5js.DeeplineError)(
@@ -5882,7 +5882,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
5882
5882
  if (event.type !== "play.run.status" || status.status !== previousStatus) {
5883
5883
  _optionalChain([options, 'optionalAccess', _318 => _318.onProgress, 'optionalCall', _319 => _319(status)]);
5884
5884
  }
5885
- if (_chunkJKVRBCZLjs.isTerminalPlayRunLifecycleStatus.call(void 0, status.status)) {
5885
+ if (_chunkJDMR33HSjs.isTerminalPlayRunLifecycleStatus.call(void 0, status.status)) {
5886
5886
  terminalObserved = status;
5887
5887
  }
5888
5888
  }
@@ -299,6 +299,7 @@ function normalizePlayRunStart(raw) {
299
299
  name: runPackage.run.playName,
300
300
  status,
301
301
  ...runPackage.run.dashboardUrl ? { dashboardUrl: runPackage.run.dashboardUrl } : {},
302
+ ...runPackage.rateLimited ? { rateLimited: runPackage.rateLimited } : {},
302
303
  ...isTerminalPlayRunLifecycleStatus(status) ? raw.finalStatusView === "full" && raw.runId === runPackage.run.id ? { finalStatus: raw, finalStatusView: "full" } : { finalStatus: runPackage } : {},
303
304
  package: runPackage
304
305
  };
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-SXQZYTUW.mjs";
5
+ } from "./chunk-PVEEGJFN.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-SHB7BUNQ.mjs";
9
+ } from "./chunk-IE5KAVTI.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-CTDWQYBW.mjs";
51
+ } from "./chunk-U5RGCQWJ.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-QW6HNDS7.mjs";
54
+ } from "./chunk-MV6HL67R.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-3P4WOCRB.mjs";
64
+ } from "./chunk-ATKFOOVD.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-RVQ333NB.mjs";
69
+ } from "./chunk-ZAF54BQK.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-YFKOA4HW.mjs";
75
+ } from "./chunk-EYKMITTY.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-QG7UPPOK.mjs";
83
+ } from "./chunk-OYHCMKZM.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-VL7OL7YR.mjs";
88
+ } from "./chunk-FVGT5EBA.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-APG2GVFG.mjs");
1041
+ const { describeAnything } = await import("./describe-4GGU6NU3.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGDFO3ERNjs = require('./chunk-GDFO3ERN.js');
3
+ var _chunkWDXJUZCYjs = require('./chunk-WDXJUZCY.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkEM2E7YISjs = require('./chunk-EM2E7YIS.js');
8
+ var _chunkNPJY5QRCjs = require('./chunk-NPJY5QRC.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkEM2E7YISjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkGDFO3ERNjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkNPJY5QRCjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkWDXJUZCYjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkEM2E7YISjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkNPJY5QRCjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkEM2E7YISjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkNPJY5QRCjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -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 _chunkAGIEKE3Ljs = require('./chunk-AGIEKE3L.js');
4
+ var _chunkDK5Y5BD3js = require('./chunk-DK5Y5BD3.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 (_chunkAGIEKE3Ljs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkDK5Y5BD3js.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 _chunkAGIEKE3Ljs.HttpClient {
784
+ var HttpClient2 = class extends _chunkDK5Y5BD3js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -15,7 +15,7 @@ import {
15
15
  preparePlayRunAdmission,
16
16
  stagePlayFiles,
17
17
  startPlayRun
18
- } from "./chunk-FAG4DFUC.mjs";
18
+ } from "./chunk-NELMCOWK.mjs";
19
19
  import {
20
20
  describePlayDetail,
21
21
  describePlayListItem
@@ -26,7 +26,7 @@ import {
26
26
  RETAINED_PIPELINE_RECEIVERS_HEADER,
27
27
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
28
28
  SDK_API_MAJOR
29
- } from "./chunk-SETIOXN4.mjs";
29
+ } from "./chunk-ZMJOSD7R.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,19 +1,19 @@
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 _chunkN72VIY7Rjs = require('./chunk-N72VIY7R.js');
4
+ var _chunkNLT3CFVJjs = require('./chunk-NLT3CFVJ.js');
5
5
 
6
6
 
7
- var _chunkETTUFFBSjs = require('./chunk-ETTUFFBS.js');
7
+ var _chunkTWRK4NOUjs = require('./chunk-TWRK4NOU.js');
8
8
 
9
9
 
10
- var _chunkEM2E7YISjs = require('./chunk-EM2E7YIS.js');
10
+ var _chunkNPJY5QRCjs = require('./chunk-NPJY5QRC.js');
11
11
 
12
12
 
13
- var _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
13
+ var _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
14
14
 
15
15
 
16
- var _chunkCNQBCLQPjs = require('./chunk-CNQBCLQP.js');
16
+ var _chunkMLQJVAVSjs = require('./chunk-MLQJVAVS.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkEM2E7YISjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkNPJY5QRCjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkN72VIY7Rjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkN72VIY7Rjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkNLT3CFVJjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkNLT3CFVJjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkCNQBCLQPjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkMLQJVAVSjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkEM2E7YISjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkNPJY5QRCjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkCNQBCLQPjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkMLQJVAVSjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkETTUFFBSjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkTWRK4NOUjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
1284
+ _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
1327
+ _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -299,6 +299,7 @@ function normalizePlayRunStart(raw) {
299
299
  name: runPackage.run.playName,
300
300
  status,
301
301
  ...runPackage.run.dashboardUrl ? { dashboardUrl: runPackage.run.dashboardUrl } : {},
302
+ ...runPackage.rateLimited ? { rateLimited: runPackage.rateLimited } : {},
302
303
  ...isTerminalPlayRunLifecycleStatus(status) ? raw.finalStatusView === "full" && raw.runId === runPackage.run.id ? { finalStatus: raw, finalStatusView: "full" } : { finalStatus: runPackage } : {},
303
304
  package: runPackage
304
305
  };
@@ -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 _chunkEM2E7YISjs = require('./chunk-EM2E7YIS.js');
3
+ var _chunkNPJY5QRCjs = require('./chunk-NPJY5QRC.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 = _chunkEM2E7YISjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkNPJY5QRCjs.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,