deepline 0.3.465 → 0.3.467

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 (156) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +43 -3
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +17 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +325 -44
  5. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +15 -0
  6. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +51 -6
  7. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +37 -1
  8. package/dist/cli/{auth-WZCX4MTH.mjs → auth-7H62VDZD.mjs} +5 -5
  9. package/dist/cli/auth-EXW5E3DI.js +41 -0
  10. package/dist/cli/{billing-ATR3CLIW.mjs → billing-6TM3ZXDR.mjs} +44 -6
  11. package/dist/cli/{billing-DQUD3DBY.js → billing-N5BNGGYN.js} +115 -77
  12. package/dist/cli/{chunk-7YDN6AEK.mjs → chunk-3RGWTKK3.mjs} +10 -0
  13. package/dist/cli/{chunk-4URRABMM.js → chunk-3ZGSR6X7.js} +1 -1
  14. package/dist/cli/{chunk-PIGMBDBZ.js → chunk-42AW4SQR.js} +21 -21
  15. package/dist/cli/{chunk-E3EYQ2FQ.mjs → chunk-4LTQYDZG.mjs} +4 -4
  16. package/dist/cli/{chunk-NIJYJI67.mjs → chunk-5RXKAXFD.mjs} +2 -2
  17. package/dist/cli/{chunk-UMQT7QMB.mjs → chunk-6UZ4MRWN.mjs} +2 -2
  18. package/dist/cli/{chunk-7R76B3WE.js → chunk-7Y53LJLE.js} +5 -5
  19. package/dist/cli/{chunk-6WKYRHGT.js → chunk-7ZZWOJTM.js} +3 -3
  20. package/dist/cli/{chunk-QPJ2BDFD.js → chunk-AD5BZUAP.js} +5 -5
  21. package/dist/cli/{chunk-FFTLJGZQ.mjs → chunk-AU4BWQTT.mjs} +5 -5
  22. package/dist/cli/{chunk-YZZGFUQ4.mjs → chunk-AUVEQ3JX.mjs} +1 -1
  23. package/dist/cli/{chunk-6Y34LU6P.mjs → chunk-C4GBOGTW.mjs} +2 -2
  24. package/dist/cli/{chunk-RREWUPC3.js → chunk-C6EGT3LO.js} +184 -174
  25. package/dist/cli/{chunk-HXWZ52CW.mjs → chunk-CER3XHT3.mjs} +3 -3
  26. package/dist/cli/{chunk-X6BQ4JAD.mjs → chunk-DCDTCG2D.mjs} +2 -2
  27. package/dist/cli/{chunk-TJXGEK7P.js → chunk-FFOAOQ77.js} +6 -6
  28. package/dist/cli/{chunk-B6GAIXVD.mjs → chunk-FP3DH46P.mjs} +4 -4
  29. package/dist/cli/{chunk-7Y2MLWTM.mjs → chunk-FQIGRZ52.mjs} +1 -1
  30. package/dist/cli/{chunk-3XFNF6RR.js → chunk-FRY76AFK.js} +8 -8
  31. package/dist/cli/{chunk-W4J2EK5K.js → chunk-FS55YDCW.js} +3 -3
  32. package/dist/cli/{chunk-GBQSEOXE.js → chunk-FVA6XLRA.js} +7 -7
  33. package/dist/cli/{chunk-OGCAGZXO.mjs → chunk-FVYAEBGO.mjs} +23 -2
  34. package/dist/cli/{chunk-XFAO5A5R.mjs → chunk-G35HNL6P.mjs} +1 -1
  35. package/dist/cli/{chunk-E3PLLFE2.js → chunk-H3QDLCRT.js} +53 -53
  36. package/dist/cli/{chunk-HIMV32ZX.js → chunk-HNP5V5BN.js} +23 -2
  37. package/dist/cli/{chunk-GW7RUNLW.mjs → chunk-HTXQUA3V.mjs} +12 -2
  38. package/dist/cli/{chunk-OEU3ZNBZ.mjs → chunk-I3LWDZRN.mjs} +1 -1
  39. package/dist/cli/{chunk-BQNUJK53.js → chunk-KMYCHMZF.js} +26 -26
  40. package/dist/cli/{chunk-GNLCGR7R.mjs → chunk-KUCUHRLC.mjs} +2 -2
  41. package/dist/cli/{chunk-OQDN6JK6.js → chunk-LAMHSZ74.js} +13 -13
  42. package/dist/cli/{chunk-DJD4KLIX.js → chunk-LKVOV7PX.js} +258 -258
  43. package/dist/cli/{chunk-OKI3HWFF.js → chunk-MGUQGKHE.js} +8 -8
  44. package/dist/cli/{chunk-EA2F4YVX.mjs → chunk-MRBDFPJ7.mjs} +2 -2
  45. package/dist/cli/{chunk-JLZKF7EY.js → chunk-NPZBE64X.js} +11 -1
  46. package/dist/cli/{chunk-HS6CM7TF.mjs → chunk-NU64F53H.mjs} +11 -11
  47. package/dist/cli/{chunk-EISIAWBD.mjs → chunk-OSKGEBE7.mjs} +1 -1
  48. package/dist/cli/{chunk-3K3EHT6E.mjs → chunk-R5ZJICJA.mjs} +1 -1
  49. package/dist/cli/{chunk-SSQXSMAT.mjs → chunk-RH6DVPGW.mjs} +2 -2
  50. package/dist/cli/{chunk-5VGMRONE.js → chunk-SHGBHP6J.js} +3 -3
  51. package/dist/cli/{chunk-EVQBOVOJ.mjs → chunk-SYLR33PS.mjs} +3 -3
  52. package/dist/cli/{chunk-L3U44YVO.js → chunk-T5GRG37B.js} +5 -5
  53. package/dist/cli/{chunk-JQSPKPHT.mjs → chunk-TNAXVJEG.mjs} +5 -5
  54. package/dist/cli/{chunk-6P4OYABU.js → chunk-V6OMS7E2.js} +6 -6
  55. package/dist/cli/{chunk-SBM5JVTK.mjs → chunk-VGWH3BFC.mjs} +1 -1
  56. package/dist/cli/{chunk-DDF74332.js → chunk-VOPKDTJT.js} +2 -2
  57. package/dist/cli/{chunk-JN7AOVD4.js → chunk-WBYC7AYC.js} +16 -16
  58. package/dist/cli/{chunk-LFTLH5BK.js → chunk-WGMNXDRZ.js} +2 -2
  59. package/dist/cli/{chunk-N27BUJU3.mjs → chunk-WISHPL5Q.mjs} +5 -5
  60. package/dist/cli/{chunk-N57JYG7J.js → chunk-WS2BY2ST.js} +36 -36
  61. package/dist/cli/{chunk-XJ5W64AC.js → chunk-WTVTCSPY.js} +4 -4
  62. package/dist/cli/{chunk-MUQAKLBP.mjs → chunk-X3RAGNNZ.mjs} +1 -1
  63. package/dist/cli/{chunk-I2TCWIW2.mjs → chunk-XSX6TJUA.mjs} +1 -1
  64. package/dist/cli/{chunk-SOIXDMZK.js → chunk-YIJS7ET7.js} +51 -51
  65. package/dist/cli/{chunk-A3GML7WW.js → chunk-ZTA4JIAB.js} +9 -9
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-AE7OLXCV.mjs → csv-435JAJ45.mjs} +4 -4
  69. package/dist/cli/{csv-ZVFGYRB7.js → csv-BPZ4VLR6.js} +13 -13
  70. package/dist/cli/{db-JOD2MQ2T.js → db-EBR2UQK3.js} +27 -27
  71. package/dist/cli/{db-KTXMCLB5.mjs → db-IEUTNOOC.mjs} +6 -6
  72. package/dist/cli/describe-EPT52IUE.js +48 -0
  73. package/dist/cli/{describe-FENTKQFK.mjs → describe-GM233O75.mjs} +20 -20
  74. package/dist/cli/describe-core.d.mts +3 -3
  75. package/dist/cli/describe-core.d.ts +3 -3
  76. package/dist/cli/describe-core.js +4 -4
  77. package/dist/cli/describe-core.mjs +3 -3
  78. package/dist/cli/{executions-IT6TQ65Q.js → executions-5SWPQTLB.js} +8 -8
  79. package/dist/cli/{executions-FJCV5L37.mjs → executions-LDPBVSKZ.mjs} +6 -6
  80. package/dist/cli/{feedback-LTTO73YD.mjs → feedback-JB7BBF64.mjs} +4 -4
  81. package/dist/cli/{feedback-WGURC3BG.js → feedback-YFW5KT36.js} +8 -8
  82. package/dist/cli/git-7L7LKOKW.js +25 -0
  83. package/dist/cli/{git-ZYEDB2UG.mjs → git-MCGUPO2W.mjs} +5 -5
  84. package/dist/cli/index.js +139 -139
  85. package/dist/cli/index.mjs +41 -41
  86. package/dist/cli/{legacy-noops-EGQ4G4BT.mjs → legacy-noops-EHNXHQL7.mjs} +5 -5
  87. package/dist/cli/{legacy-noops-JFXWEOZF.js → legacy-noops-LMGSIBWM.js} +8 -8
  88. package/dist/cli/{monitors-IK6GWLCA.mjs → monitors-355EWLGN.mjs} +7 -7
  89. package/dist/cli/{monitors-WKN2K6ZH.js → monitors-VRQ32EAA.js} +91 -91
  90. package/dist/cli/{org-PD5YBUHR.mjs → org-MJ6XMAI4.mjs} +51 -10
  91. package/dist/cli/{org-FE5VMAKF.js → org-W3YZN65W.js} +113 -72
  92. package/dist/cli/{pages-ZVKSOSZJ.mjs → pages-62QNUXV2.mjs} +6 -6
  93. package/dist/cli/{pages-H3DKEVVI.js → pages-JPK6UVMV.js} +17 -17
  94. package/dist/cli/{play-RLIQY22H.mjs → play-CKBPES6Q.mjs} +18 -18
  95. package/dist/cli/{play-2UL5OPGH.js → play-WPPJQBBS.js} +305 -305
  96. package/dist/cli/{providers-2IMHQDBC.js → providers-DH5JJ5HN.js} +9 -9
  97. package/dist/cli/{providers-M4AFFJF2.mjs → providers-LLPKHVXL.mjs} +6 -6
  98. package/dist/cli/{quickstart-PS4QKNG2.mjs → quickstart-K5HVPO2L.mjs} +4 -4
  99. package/dist/cli/{quickstart-OE64DBKK.js → quickstart-NNEF37EG.js} +6 -6
  100. package/dist/cli/{run-SWLGV2VS.js → run-N2KY2VNQ.js} +40 -40
  101. package/dist/cli/{run-3TKR5CZU.mjs → run-SKIZFJ5O.mjs} +25 -25
  102. package/dist/cli/{search-AMZ67RKO.mjs → search-2WXJ3GID.mjs} +7 -7
  103. package/dist/cli/search-HO7ARG3H.js +32 -0
  104. package/dist/cli/{secrets-ZTLJY7L2.js → secrets-5YVX7LK7.js} +15 -15
  105. package/dist/cli/{secrets-INBXKNFM.mjs → secrets-6GEQ75OU.mjs} +6 -6
  106. package/dist/cli/{sessions-ZVBTKQ7J.mjs → sessions-GOPZ3YRN.mjs} +5 -5
  107. package/dist/cli/{sessions-3GKS45NP.js → sessions-H3QES7C2.js} +6 -6
  108. package/dist/cli/{settings-7YG3UWJH.js → settings-62SU5ROV.js} +78 -78
  109. package/dist/cli/{settings-AUPDZZ2U.mjs → settings-IP47HYC6.mjs} +11 -11
  110. package/dist/cli/{setup-44QB72NU.mjs → setup-LCKXUSW5.mjs} +9 -9
  111. package/dist/cli/{setup-YGESCFTH.js → setup-YCCU7TU4.js} +44 -44
  112. package/dist/cli/{skills-N3AWWCWO.mjs → skills-3QAQI6X7.mjs} +7 -7
  113. package/dist/cli/skills-UVAIKQNC.js +31 -0
  114. package/dist/cli/{tools-3SHNTJPU.mjs → tools-HKD4G6HA.mjs} +18 -18
  115. package/dist/cli/tools-KAIUUBTD.js +55 -0
  116. package/dist/cli/{update-3TWB5EEV.mjs → update-2VYSBSDD.mjs} +9 -9
  117. package/dist/cli/update-Q3AMECAG.js +33 -0
  118. package/dist/cli/{workflow-SYP62XNN.mjs → workflow-EFRGY6JD.mjs} +7 -7
  119. package/dist/cli/{workflow-ULIZU7KI.js → workflow-MMWGUSGY.js} +17 -17
  120. package/dist/{client-BClp2yrq.d.ts → client-BOEAXwJj.d.ts} +1 -1
  121. package/dist/{client-ADFHNtFM.d.mts → client-DL0koOaP.d.mts} +1 -1
  122. package/dist/{client-core-BFU73Ttw.d.ts → client-core-BX_8khUY.d.ts} +23 -1
  123. package/dist/{client-core-DWLmmJWo.d.mts → client-core-CowyuxKu.d.mts} +23 -1
  124. package/dist/{compiler-manifest-Cs17yO-H.d.ts → compiler-manifest-D5dARg3M.d.mts} +64 -10
  125. package/dist/{compiler-manifest-Cs17yO-H.d.mts → compiler-manifest-D5dARg3M.d.ts} +64 -10
  126. package/dist/{errors-Dee-QpVS.d.ts → errors-BtHHzWL8.d.ts} +1 -1
  127. package/dist/{errors-qNfvQuRB.d.mts → errors-BveMVPwA.d.mts} +1 -1
  128. package/dist/{index-BTqNNXmC.d.mts → index-BboApDGD.d.mts} +1 -1
  129. package/dist/{index-DXTh1Lxe.d.ts → index-C6sovoYP.d.ts} +1 -1
  130. package/dist/index.d.mts +7 -7
  131. package/dist/index.d.ts +7 -7
  132. package/dist/index.js +277 -76
  133. package/dist/index.mjs +239 -38
  134. package/dist/install-integrity.json +114 -114
  135. package/dist/plays/bundle-play-file.d.mts +3 -3
  136. package/dist/plays/bundle-play-file.d.ts +3 -3
  137. package/dist/plays/play-description.d.mts +2 -2
  138. package/dist/plays/play-description.d.ts +2 -2
  139. package/dist/plays/run-request.d.mts +2 -2
  140. package/dist/plays/run-request.d.ts +2 -2
  141. package/dist/release.d.mts +1 -1
  142. package/dist/release.d.ts +1 -1
  143. package/dist/release.js +2 -2
  144. package/dist/release.mjs +1 -1
  145. package/dist/server.d.mts +4 -4
  146. package/dist/server.d.ts +4 -4
  147. package/dist/server.js +5 -5
  148. package/dist/server.mjs +3 -3
  149. package/package.json +1 -1
  150. package/dist/cli/auth-W62UTNJZ.js +0 -41
  151. package/dist/cli/describe-2IKB4KIX.js +0 -48
  152. package/dist/cli/git-UOIC2DJL.js +0 -25
  153. package/dist/cli/search-LXG7T6YZ.js +0 -32
  154. package/dist/cli/skills-QALGBUFY.js +0 -31
  155. package/dist/cli/tools-PUQ3JBZ7.js +0 -55
  156. package/dist/cli/update-O7XSJMLX.js +0 -33
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-SSQXSMAT.mjs";
5
+ } from "./chunk-RH6DVPGW.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,12 +22,12 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-XFAO5A5R.mjs";
25
+ } from "./chunk-G35HNL6P.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  detectAgentRuntime
30
- } from "./chunk-YZZGFUQ4.mjs";
30
+ } from "./chunk-AUVEQ3JX.mjs";
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
  import {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-GW7RUNLW.mjs";
6
+ } from "./chunk-HTXQUA3V.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-FAG4DFUC.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-SSQXSMAT.mjs";
14
+ } from "./chunk-RH6DVPGW.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDDF74332js = require('./chunk-DDF74332.js');
3
+ var _chunkVOPKDTJTjs = require('./chunk-VOPKDTJT.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
8
+ var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.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") _chunkE3PLLFE2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkDDF74332js.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkH3QDLCRTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkVOPKDTJTjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkE3PLLFE2js.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkH3QDLCRTjs.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
- _chunkE3PLLFE2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkH3QDLCRTjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-OEU3ZNBZ.mjs";
3
+ } from "./chunk-I3LWDZRN.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-XFAO5A5R.mjs";
15
+ } from "./chunk-G35HNL6P.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-YZZGFUQ4.mjs";
23
+ } from "./chunk-AUVEQ3JX.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-EISIAWBD.mjs";
29
+ } from "./chunk-OSKGEBE7.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-SSQXSMAT.mjs";
3
+ } from "./chunk-RH6DVPGW.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkQPJ2BDFDjs = require('./chunk-QPJ2BDFD.js');
6
+ var _chunkAD5BZUAPjs = require('./chunk-AD5BZUAP.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
10
+ var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
14
+ var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, _chunkSHGBHP6Jjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkGBQSEOXEjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkFVA6XLRAjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkGBQSEOXEjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkFVA6XLRAjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5997
5997
  console.error("--summary-width must be an integer of at least 2.");
5998
5998
  return 1;
5999
5999
  }
6000
- const { search_ref: searchRef, ...result } = await new (0, _chunkQPJ2BDFDjs.DeeplineClient)().search({
6000
+ const { search_ref: searchRef, ...result } = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().search({
6001
6001
  query,
6002
6002
  types,
6003
6003
  exclude,
@@ -6011,7 +6011,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6011
6011
  });
6012
6012
  if (searchRef) rememberSearchRef(searchRef);
6013
6013
  pointAtDescribe(result);
6014
- _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, result, {
6014
+ _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, result, {
6015
6015
  json: options.json === true,
6016
6016
  text: renderSearchResults(result, summaryWidth)
6017
6017
  });
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
9
+ var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.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 _chunkGBQSEOXEjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkFVA6XLRAjs.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 _chunkGBQSEOXEjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkFVA6XLRAjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
5
+ var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
6
6
 
7
7
 
8
- var _chunkXJ5W64ACjs = require('./chunk-XJ5W64AC.js');
8
+ var _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunk5VGMRONEjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunk5VGMRONEjs.HttpClient)(config) };
293
+ const config = _chunkSHGBHP6Jjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkSHGBHP6Jjs.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunk5VGMRONEjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkSHGBHP6Jjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -39,6 +39,23 @@ Conventions (apply to every tool):
39
39
  ]]
40
40
  `;
41
41
  var COMMAND_DOCS = {
42
+ "org members list": {
43
+ core: `Purpose: List one page of members in the authenticated workspace.
44
+ Input: Optional --cursor from the previous page.
45
+ Output: members (id, userId, role, effective grants) and cursor (null at the end).
46
+ Cost: Does not spend credits.`
47
+ },
48
+ "org members set-grants": {
49
+ core: `Purpose: Replace a workspace member's grants. Requires an admin grant.
50
+ Input: a member id from org members list, followed by one or more grants:
51
+ read (explicitly read-only tools), run (any tool and existing Plays; cannot create or edit Plays), admin (tools and workspace management), member (existing access, including Play authoring).
52
+ Example: deepline org members set-grants <member-id> read
53
+ Multiple grants are additive. Run includes read; admin includes both and can create, edit, and publish Plays.
54
+ Existing member roles retain their permissions, including Play authoring. Only owners may change ownership,
55
+ and the last owner cannot be removed. Read-only tools may still spend credits.
56
+ Output: ok, memberId, and the stored role.
57
+ Cost: This command does not spend credits.`
58
+ },
42
59
  "": {
43
60
  core: `
44
61
  [[cli:
@@ -776,10 +793,14 @@ Authoring rules:
776
793
  completed operation receipt can still recover that operation after resume.
777
794
  Read
778
795
  results the way [[cli:describe]][[mcp:deepline_describe_tool]] lists them:
779
- result.fields.<name>.value for a declared list or a value whose meaning
780
- is known, also by field id (result.fields.person.email.value);
796
+ result.fields.<name>.value for a value whose meaning is known, also by
797
+ field id (result.fields.person.email.value). .value throws when there are
798
+ several; .values is always an array;
781
799
  result.extractedValues.<name>.get() for other declared values. Anything
782
800
  else is in result.response, the provider's response with its nesting kept.
801
+ For a list, result.rows() gives one record per item, in the same format
802
+ for every tool: row.fields.email.value, and row.response for the rest.
803
+ Name the list when the tool declares several: result.rows('people').
783
804
  Reuse before rebuilding: deepline.runPlay(key, 'prebuilt/<name>', input,
784
805
  { description }) runs a
785
806
  prebuilt as one stage. Independent calls run together with Promise.all;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-YZZGFUQ4.mjs";
4
+ } from "./chunk-AUVEQ3JX.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -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 _chunk6WKYRHGTjs = require('./chunk-6WKYRHGT.js');
3
+ var _chunk7ZZWOJTMjs = require('./chunk-7ZZWOJTM.js');
4
4
 
5
5
 
6
6
 
@@ -12,7 +12,7 @@ var _chunk6WKYRHGTjs = require('./chunk-6WKYRHGT.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
15
+ var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
16
16
 
17
17
 
18
18
 
@@ -20,13 +20,13 @@ var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkXJ5W64ACjs = require('./chunk-XJ5W64AC.js');
23
+ var _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
24
24
 
25
25
 
26
26
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
27
27
 
28
28
 
29
- var _chunk4URRABMMjs = require('./chunk-4URRABMM.js');
29
+ var _chunk3ZGSR6X7js = require('./chunk-3ZGSR6X7.js');
30
30
 
31
31
  // src/compat.ts
32
32
  var _crypto = require('crypto');
@@ -61,7 +61,7 @@ function shouldSkipCompatibilityCheck() {
61
61
  return value === "1" || value === "true" || value === "yes";
62
62
  }
63
63
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
64
- return _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
64
+ return _path.join.call(void 0, _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
65
65
  }
66
66
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
67
67
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -69,9 +69,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
69
69
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
70
70
  return JSON.stringify({
71
71
  baseUrl: baseUrl.replace(/\/$/, ""),
72
- version: _chunkXJ5W64ACjs.SDK_VERSION,
73
- apiContract: _chunkXJ5W64ACjs.SDK_API_CONTRACT,
74
- apiMajor: _chunkXJ5W64ACjs.SDK_API_MAJOR,
72
+ version: _chunkWTVTCSPYjs.SDK_VERSION,
73
+ apiContract: _chunkWTVTCSPYjs.SDK_API_CONTRACT,
74
+ apiMajor: _chunkWTVTCSPYjs.SDK_API_MAJOR,
75
75
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
76
76
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
77
77
  });
@@ -79,8 +79,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
79
79
  function legacyCompatibilityCacheKey(baseUrl, command) {
80
80
  return JSON.stringify({
81
81
  baseUrl: baseUrl.replace(/\/$/, ""),
82
- version: _chunkXJ5W64ACjs.SDK_VERSION,
83
- apiContract: _chunkXJ5W64ACjs.SDK_API_CONTRACT,
82
+ version: _chunkWTVTCSPYjs.SDK_VERSION,
83
+ apiContract: _chunkWTVTCSPYjs.SDK_API_CONTRACT,
84
84
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
85
85
  });
86
86
  }
@@ -105,7 +105,7 @@ function isSavedWithin(savedAt, windowMs, now) {
105
105
  }
106
106
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
107
107
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
108
- const path = _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
108
+ const path = _path.join.call(void 0, _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
109
109
  try {
110
110
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
111
111
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -189,7 +189,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
189
189
  );
190
190
  try {
191
191
  const url = new URL("/api/v2/sdk/compat", baseUrl);
192
- url.searchParams.set("version", _chunkXJ5W64ACjs.SDK_VERSION);
192
+ url.searchParams.set("version", _chunkWTVTCSPYjs.SDK_VERSION);
193
193
  if (_optionalChain([options, 'access', _27 => _27.command, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()])) {
194
194
  url.searchParams.set("command", options.command.trim());
195
195
  }
@@ -197,7 +197,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
197
197
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
198
198
  url.searchParams.set(
199
199
  "skills_cli_capability",
200
- String(_chunk4URRABMMjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
200
+ String(_chunk3ZGSR6X7js.SDK_RELEASE.packageCapabilities.skillsGuidance)
201
201
  );
202
202
  }
203
203
  if (options.catalog) {
@@ -209,14 +209,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
209
209
  const response = await fetch(url, {
210
210
  method: "GET",
211
211
  headers: {
212
- ..._chunkXJ5W64ACjs.deploymentProtectionHeaders.call(void 0, ),
213
- "User-Agent": `deepline-ts-sdk/${_chunkXJ5W64ACjs.SDK_VERSION}`,
214
- "X-Deepline-SDK-Version": _chunkXJ5W64ACjs.SDK_VERSION,
215
- "X-Deepline-API-Major": String(_chunkXJ5W64ACjs.SDK_API_MAJOR),
216
- "X-Deepline-API-Contract": _chunkXJ5W64ACjs.SDK_API_CONTRACT,
212
+ ..._chunkWTVTCSPYjs.deploymentProtectionHeaders.call(void 0, ),
213
+ "User-Agent": `deepline-ts-sdk/${_chunkWTVTCSPYjs.SDK_VERSION}`,
214
+ "X-Deepline-SDK-Version": _chunkWTVTCSPYjs.SDK_VERSION,
215
+ "X-Deepline-API-Major": String(_chunkWTVTCSPYjs.SDK_API_MAJOR),
216
+ "X-Deepline-API-Contract": _chunkWTVTCSPYjs.SDK_API_CONTRACT,
217
217
  "X-Deepline-CLI-Update-Preferences": "1",
218
218
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
219
- ...options.catalog ? { Authorization: `Bearer ${_chunk5VGMRONEjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
219
+ ...options.catalog ? { Authorization: `Bearer ${_chunkSHGBHP6Jjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
220
220
  ..._optionalChain([options, 'access', _30 => _30.catalog, 'optionalAccess', _31 => _31.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
221
221
  },
222
222
  signal: controller.signal
@@ -377,7 +377,7 @@ function skillsSourceUrl(baseUrl) {
377
377
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
378
378
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
379
379
  const [firstSkillName, ...extraSkillNames] = skillNames;
380
- const agents = _nullishCoalesce(options.agents, () => ( _chunk5VGMRONEjs.DEFAULT_SKILL_AGENTS));
380
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkSHGBHP6Jjs.DEFAULT_SKILL_AGENTS));
381
381
  const values = {
382
382
  skills_index_url: skillsIndexUrl(baseUrl),
383
383
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -596,7 +596,7 @@ function buildEnvironmentContext() {
596
596
  node_version: process.version,
597
597
  runtime: "Node.js",
598
598
  hostname: _os.hostname.call(void 0, ),
599
- agent_runtime: _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, )
599
+ agent_runtime: _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, )
600
600
  };
601
601
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
602
602
  const normalized = _optionalChain([process, 'access', _42 => _42.env, 'access', _43 => _43[key], 'optionalAccess', _44 => _44.trim, 'call', _45 => _45()]);
@@ -617,18 +617,18 @@ function buildEnvironmentContext() {
617
617
  return context;
618
618
  }
619
619
  function failureReportHeaders(apiKey) {
620
- const agentSessionId = _chunkXJ5W64ACjs.agentSessionIdFromEnvironment.call(void 0, );
620
+ const agentSessionId = _chunkWTVTCSPYjs.agentSessionIdFromEnvironment.call(void 0, );
621
621
  return {
622
- ..._chunkXJ5W64ACjs.deploymentProtectionHeaders.call(void 0, ),
622
+ ..._chunkWTVTCSPYjs.deploymentProtectionHeaders.call(void 0, ),
623
623
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
624
624
  Authorization: `Bearer ${apiKey}`,
625
625
  "Content-Type": "application/json",
626
- "User-Agent": `deepline-ts-sdk/${_chunkXJ5W64ACjs.SDK_VERSION}`,
626
+ "User-Agent": `deepline-ts-sdk/${_chunkWTVTCSPYjs.SDK_VERSION}`,
627
627
  "X-Deepline-Client-Family": "sdk",
628
628
  "X-Deepline-CLI-Family": "sdk",
629
- "X-Deepline-Agent-Runtime": _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, ),
630
- "X-Deepline-CLI-Version": _chunkXJ5W64ACjs.SDK_VERSION,
631
- "X-Deepline-SDK-Version": _chunkXJ5W64ACjs.SDK_VERSION
629
+ "X-Deepline-Agent-Runtime": _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, ),
630
+ "X-Deepline-CLI-Version": _chunkWTVTCSPYjs.SDK_VERSION,
631
+ "X-Deepline-SDK-Version": _chunkWTVTCSPYjs.SDK_VERSION
632
632
  };
633
633
  }
634
634
  async function postFailureReport(input) {
@@ -656,7 +656,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
656
656
  if (isFailureReportingDisabled()) return false;
657
657
  let apiKey = "";
658
658
  try {
659
- apiKey = _chunk5VGMRONEjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
659
+ apiKey = _chunkSHGBHP6Jjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
660
660
  } catch (e9) {
661
661
  return false;
662
662
  }
@@ -683,7 +683,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
683
683
  failure_code: failureCode2,
684
684
  failure_stage: failureStage,
685
685
  error_body: "Automatic Deepline skills installation failed.",
686
- cli_version: _chunkXJ5W64ACjs.SDK_VERSION,
686
+ cli_version: _chunkWTVTCSPYjs.SDK_VERSION,
687
687
  context: {
688
688
  environment: buildEnvironmentContext(),
689
689
  skills_sync: {
@@ -803,7 +803,7 @@ function buildFailureReport(input) {
803
803
  failure_kind: failureKind,
804
804
  failure_code: code,
805
805
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
806
- cli_version: _chunkXJ5W64ACjs.SDK_VERSION,
806
+ cli_version: _chunkWTVTCSPYjs.SDK_VERSION,
807
807
  context: {
808
808
  base_url: redactFailureText(input.baseUrl, 400),
809
809
  command_summary: sanitizeCommand(input.argv),
@@ -823,8 +823,8 @@ async function maybeReportSdkCliFailure(input) {
823
823
  if (isServerLoggedPlayRunStartFailure(input)) return false;
824
824
  const exitCode = resolvedExitCode(input);
825
825
  if (!shouldReport({ exitCode, error: input.error })) return false;
826
- const baseUrl = _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
827
- const apiKey = _chunk5VGMRONEjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
826
+ const baseUrl = _chunkSHGBHP6Jjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
827
+ const apiKey = _chunkSHGBHP6Jjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
828
828
  if (!apiKey) return false;
829
829
  return postFailureReport({
830
830
  baseUrl,
@@ -861,25 +861,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
861
861
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
862
862
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
863
863
  function shouldSkipSkillsSync() {
864
- if (_chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
864
+ if (_chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
865
865
  return true;
866
866
  }
867
867
  const value = _optionalChain([process, 'access', _66 => _66.env, 'access', _67 => _67.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _68 => _68.trim, 'call', _69 => _69(), 'access', _70 => _70.toLowerCase, 'call', _71 => _71()]);
868
868
  return value === "1" || value === "true" || value === "yes" || value === "on";
869
869
  }
870
870
  function unavailableSkillsNoticePath(baseUrl) {
871
- return _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
871
+ return _path.join.call(void 0, _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
872
872
  }
873
873
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
874
874
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
875
- var agentLeaseSegment = _chunk5VGMRONEjs.skillsAgentPathSegment;
875
+ var agentLeaseSegment = _chunkSHGBHP6Jjs.skillsAgentPathSegment;
876
876
  function sortedLeaseAgents(agents) {
877
- const expanded = agents.includes("*") ? [...agents, ..._chunk5VGMRONEjs.KNOWN_SKILL_AGENTS] : agents;
877
+ const expanded = agents.includes("*") ? [...agents, ..._chunkSHGBHP6Jjs.KNOWN_SKILL_AGENTS] : agents;
878
878
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
879
879
  }
880
880
  function inProgressSkillsSyncPath(baseUrl, agent) {
881
881
  return _path.join.call(void 0,
882
- _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl),
882
+ _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl),
883
883
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
884
884
  );
885
885
  }
@@ -1038,7 +1038,7 @@ var SkillsStateUnavailableError = class extends Error {
1038
1038
  constructor(baseUrl, error) {
1039
1039
  const detail = error instanceof Error ? error.message : String(error);
1040
1040
  super(
1041
- `Could not save skills state in ${_chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1041
+ `Could not save skills state in ${_chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1042
1042
  );
1043
1043
  this.name = "SkillsStateUnavailableError";
1044
1044
  }
@@ -1123,7 +1123,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1123
1123
  }
1124
1124
  function deferredSkillsNoticePath(baseUrl, agents) {
1125
1125
  return _path.join.call(void 0,
1126
- _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl),
1126
+ _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl),
1127
1127
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1128
1128
  );
1129
1129
  }
@@ -1157,8 +1157,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1157
1157
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1158
1158
  }
1159
1159
  function flushDeferredSkillsSyncNotices(baseUrl) {
1160
- if (shouldSkipSkillsSync() || _chunk5VGMRONEjs.hasActivePluginSkills.call(void 0, )) return;
1161
- const agents = _chunk5VGMRONEjs.resolveAutoSyncSkillAgents.call(void 0, );
1160
+ if (shouldSkipSkillsSync() || _chunkSHGBHP6Jjs.hasActivePluginSkills.call(void 0, )) return;
1161
+ const agents = _chunkSHGBHP6Jjs.resolveAutoSyncSkillAgents.call(void 0, );
1162
1162
  if (agents.length === 0) return;
1163
1163
  flushDeferredSkillsNotices(baseUrl, agents);
1164
1164
  }
@@ -1174,7 +1174,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1174
1174
  }
1175
1175
  function failedSkillsSyncPath(baseUrl, agents) {
1176
1176
  return _path.join.call(void 0,
1177
- _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl),
1177
+ _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl),
1178
1178
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1179
1179
  );
1180
1180
  }
@@ -1203,7 +1203,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1203
1203
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1204
1204
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1205
1205
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1206
- const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunk5VGMRONEjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1206
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkSHGBHP6Jjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1207
1207
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _76 => _76.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
1208
1208
  notice(
1209
1209
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1291,7 +1291,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1291
1291
  return sortedUniqueSkillNames(v1SkillNames2);
1292
1292
  }
1293
1293
  function isDefaultAgentSet(agents) {
1294
- return agents.length === _chunk5VGMRONEjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunk5VGMRONEjs.DEFAULT_SKILL_AGENTS[index]);
1294
+ return agents.length === _chunkSHGBHP6Jjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkSHGBHP6Jjs.DEFAULT_SKILL_AGENTS[index]);
1295
1295
  }
1296
1296
  function safeSkillFilePath(value) {
1297
1297
  if (typeof value !== "string" || !value) return false;
@@ -1448,10 +1448,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1448
1448
  method: "POST",
1449
1449
  headers: { "Content-Type": "application/json" },
1450
1450
  body: JSON.stringify({
1451
- sdk_cli: { version: _chunkXJ5W64ACjs.SDK_VERSION },
1451
+ sdk_cli: { version: _chunkWTVTCSPYjs.SDK_VERSION },
1452
1452
  skills: {
1453
1453
  version: localVersion,
1454
- capability: _chunk4URRABMMjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1454
+ capability: _chunk3ZGSR6X7js.SDK_RELEASE.packageCapabilities.skillsGuidance
1455
1455
  }
1456
1456
  }),
1457
1457
  signal: controller.signal
@@ -1490,7 +1490,7 @@ function probeInstallers(timeoutMs) {
1490
1490
  }
1491
1491
  function noInstallerProbePath(baseUrl) {
1492
1492
  return _path.join.call(void 0,
1493
- _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl),
1493
+ _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl),
1494
1494
  "skills-sync-no-installer-unknown.json"
1495
1495
  );
1496
1496
  }
@@ -1569,7 +1569,7 @@ function temporarySkillsSyncSkipCommand() {
1569
1569
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1570
1570
  return resolveShellSpawn(install.command, install.args, platform2);
1571
1571
  }
1572
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunk5VGMRONEjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1572
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkSHGBHP6Jjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1573
1573
  const commands = [];
1574
1574
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1575
1575
  if (probes.bunx === "available") {
@@ -1711,7 +1711,7 @@ function runLegacySkillsCleanup(agents) {
1711
1711
  }
1712
1712
  }
1713
1713
  function writeSdkSkillsStatusLine(line) {
1714
- const progress = _chunk6WKYRHGTjs.getActiveCliProgress.call(void 0, );
1714
+ const progress = _chunk7ZZWOJTMjs.getActiveCliProgress.call(void 0, );
1715
1715
  if (progress) {
1716
1716
  progress.writeLine(line);
1717
1717
  return;
@@ -1721,11 +1721,11 @@ function writeSdkSkillsStatusLine(line) {
1721
1721
  }
1722
1722
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1723
1723
  if (shouldSkipSkillsSync()) return;
1724
- const usingPluginSkills = _chunk5VGMRONEjs.hasActivePluginSkills.call(void 0, );
1724
+ const usingPluginSkills = _chunkSHGBHP6Jjs.hasActivePluginSkills.call(void 0, );
1725
1725
  if (usingPluginSkills) {
1726
1726
  return;
1727
1727
  }
1728
- const agents = _chunk5VGMRONEjs.resolveAutoSyncSkillAgents.call(void 0, );
1728
+ const agents = _chunkSHGBHP6Jjs.resolveAutoSyncSkillAgents.call(void 0, );
1729
1729
  if (options.mode === "detached" && agents.length > 0) {
1730
1730
  flushDeferredSkillsNotices(baseUrl, agents);
1731
1731
  }
@@ -1753,7 +1753,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1753
1753
  return;
1754
1754
  }
1755
1755
  try {
1756
- const localVersion = _chunk5VGMRONEjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1756
+ const localVersion = _chunkSHGBHP6Jjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1757
1757
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1758
1758
  needsUpdate: options.update.needs_update,
1759
1759
  remoteVersion: options.update.remote.version
@@ -1919,7 +1919,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1919
1919
  }
1920
1920
  }
1921
1921
  runLegacySkillsCleanup(agents);
1922
- if (!_chunk5VGMRONEjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1922
+ if (!_chunkSHGBHP6Jjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1923
1923
  notice(
1924
1924
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1925
1925
  );