deepline 0.3.392 → 0.3.393

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 (145) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +156 -24
  2. package/dist/bundling-sources/sdk/src/compat.ts +9 -0
  3. package/dist/bundling-sources/sdk/src/http.ts +5 -1
  4. package/dist/bundling-sources/sdk/src/index.ts +5 -0
  5. package/dist/bundling-sources/sdk/src/plays/run-request.ts +182 -6
  6. package/dist/bundling-sources/sdk/src/release.ts +4 -1
  7. package/dist/bundling-sources/sdk/src/types.ts +13 -0
  8. package/dist/bundling-sources/shared_libs/integration-contracts/request-warnings.ts +64 -0
  9. package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +315 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +41 -8
  11. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +418 -44
  12. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +36 -3
  13. package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +36 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +11 -3
  15. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +1 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +19 -1
  17. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +26 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +158 -10
  19. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +235 -2
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +92 -58
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +7 -1
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +30 -7
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1161 -316
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +28 -15
  25. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +24 -3
  26. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +31 -0
  27. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -4
  28. package/dist/bundling-sources/shared_libs/plays/dataset.ts +172 -79
  29. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -1
  30. package/dist/cli/{auth-6JSA2ZCW.mjs → auth-5PXHA232.mjs} +4 -4
  31. package/dist/cli/auth-P3MVDTXM.js +39 -0
  32. package/dist/cli/{billing-Q5BLQHIU.js → billing-JFB2XLSO.js} +101 -74
  33. package/dist/cli/{billing-MRRO643H.mjs → billing-Z2N7ZAGM.mjs} +32 -5
  34. package/dist/cli/{chunk-CVLM3WMJ.js → chunk-2HAD745V.js} +242 -183
  35. package/dist/cli/{chunk-HGYBEAQP.mjs → chunk-2LGC4EFT.mjs} +3 -3
  36. package/dist/cli/{chunk-A3APGZFP.mjs → chunk-4PT2VA3A.mjs} +2 -2
  37. package/dist/cli/{chunk-6DBOU7UH.js → chunk-4XX6443T.js} +176 -87
  38. package/dist/cli/{chunk-2QLML6G4.mjs → chunk-5KWKZIQR.mjs} +4 -4
  39. package/dist/cli/{chunk-2G7DXFHI.mjs → chunk-5PRVMXKB.mjs} +27 -2
  40. package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-6I73X254.mjs} +1 -1
  41. package/dist/cli/{chunk-ZTACINO5.mjs → chunk-7HR7BGZL.mjs} +13 -3
  42. package/dist/cli/{chunk-BB3FNYFY.js → chunk-AARX5L4B.js} +2 -2
  43. package/dist/cli/{chunk-WMS5U6YB.js → chunk-CDFH2DYL.js} +20 -19
  44. package/dist/cli/{chunk-R3O2CZ4H.mjs → chunk-FQ6VHPW4.mjs} +2 -2
  45. package/dist/cli/{chunk-MU6M3URX.mjs → chunk-HLEESTCH.mjs} +1 -1
  46. package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
  47. package/dist/cli/{chunk-2Q3GEFL4.mjs → chunk-KIYU2TGL.mjs} +2 -2
  48. package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
  49. package/dist/cli/{chunk-UCKJQG25.js → chunk-L2SYLGRP.js} +8 -8
  50. package/dist/cli/{chunk-2GAHHSLB.mjs → chunk-LMMEAMA7.mjs} +3 -2
  51. package/dist/cli/{chunk-YAZCDBXX.mjs → chunk-LZPCDB7U.mjs} +3 -2
  52. package/dist/cli/{chunk-RV6ALZIX.js → chunk-M7Y7JYZX.js} +32 -7
  53. package/dist/cli/{chunk-QGKPTBRR.js → chunk-MS6GUPBB.js} +3 -3
  54. package/dist/cli/{chunk-4SFPVW7A.js → chunk-OXNOAD6Y.js} +26 -26
  55. package/dist/cli/{chunk-JOFPQGXW.js → chunk-PTDECJGP.js} +50 -50
  56. package/dist/cli/{chunk-5O4B6AUN.js → chunk-PWSWAN7Q.js} +25 -2
  57. package/dist/cli/{chunk-YN6YA7ZZ.mjs → chunk-Q26LUSQ2.mjs} +79 -20
  58. package/dist/cli/{chunk-3VN4FTE3.js → chunk-RDXFGPJU.js} +1 -182
  59. package/dist/cli/{chunk-7E66A24V.mjs → chunk-RKMB3N7K.mjs} +25 -2
  60. package/dist/cli/{chunk-JSLPHFP7.js → chunk-RWHWF5ZJ.js} +3 -2
  61. package/dist/cli/{chunk-3FV4GBRK.mjs → chunk-STNYIMIV.mjs} +97 -8
  62. package/dist/cli/chunk-UBKA33KY.mjs +310 -0
  63. package/dist/cli/{chunk-PAIMOGCM.js → chunk-UHNDVD3P.js} +125 -12
  64. package/dist/cli/{chunk-24VEN5PQ.mjs → chunk-UOGZUA24.mjs} +179 -17
  65. package/dist/cli/{chunk-T7OKJ2T6.js → chunk-VIQJIX2P.js} +73 -63
  66. package/dist/cli/{chunk-RIV2GS5E.js → chunk-VIWE6WRK.js} +627 -465
  67. package/dist/cli/{chunk-EY7RFC6A.js → chunk-W4WOMXR3.js} +15 -15
  68. package/dist/cli/chunk-XDVT3GOM.js +310 -0
  69. package/dist/cli/{chunk-2FQG2HU4.js → chunk-Z3OOZM5L.js} +8 -8
  70. package/dist/cli/{csv-E4QGUIGI.mjs → csv-KJWZHKCH.mjs} +3 -3
  71. package/dist/cli/{csv-26U5T24Z.js → csv-P3Z3YE7H.js} +12 -12
  72. package/dist/cli/{db-JTRJIAQW.mjs → db-NCM4CQIS.mjs} +6 -5
  73. package/dist/cli/{db-QHBFLMVL.js → db-NUZGJNQC.js} +31 -30
  74. package/dist/cli/{describe-E3DE3ZK3.mjs → describe-WT6MM2GO.mjs} +17 -16
  75. package/dist/cli/{describe-FDV2V74F.js → describe-YGSEN5WC.js} +24 -23
  76. package/dist/cli/{executions-VZYOGVQY.js → executions-PCOLHN7Q.js} +8 -7
  77. package/dist/cli/{executions-B3GTNPRE.mjs → executions-XS2IPJ4W.mjs} +6 -5
  78. package/dist/cli/{feedback-CR55FJA2.js → feedback-4MSH7TFU.js} +7 -7
  79. package/dist/cli/{feedback-4CEBR3OV.mjs → feedback-CCLTS5SV.mjs} +3 -3
  80. package/dist/cli/{git-NM2PHHZ4.mjs → git-K2DHPMPC.mjs} +4 -4
  81. package/dist/cli/git-RNM45FX4.js +23 -0
  82. package/dist/cli/index.js +96 -92
  83. package/dist/cli/index.mjs +46 -42
  84. package/dist/cli/{legacy-noops-A7MSW5ND.mjs → legacy-noops-B5S4AR3P.mjs} +4 -4
  85. package/dist/cli/{legacy-noops-ZUA4YFIH.js → legacy-noops-GPNOPFXV.js} +7 -7
  86. package/dist/cli/{monitors-NVPRQYP3.mjs → monitors-JLMAIPRG.mjs} +6 -5
  87. package/dist/cli/{monitors-ZE3TLZ4H.js → monitors-ZAWD7NSN.js} +87 -86
  88. package/dist/cli/{org-U7A6DV5D.js → org-P2KN4CES.js} +66 -65
  89. package/dist/cli/{org-KUBILNQV.mjs → org-T3JTHP4G.mjs} +6 -5
  90. package/dist/cli/{play-HRDXQ4QE.mjs → play-NK6BLRGL.mjs} +11 -10
  91. package/dist/cli/play-PDXR6JFB.js +158 -0
  92. package/dist/cli/{providers-OHIWI453.mjs → providers-3NQRA7IT.mjs} +6 -5
  93. package/dist/cli/{providers-VD6YTVQZ.js → providers-5QRZN3DT.js} +9 -8
  94. package/dist/cli/{quickstart-UBV2FONF.mjs → quickstart-PIA2JGPV.mjs} +3 -3
  95. package/dist/cli/{quickstart-ETTCWPA4.js → quickstart-R7NUZGNW.js} +5 -5
  96. package/dist/cli/run-identity-G257GQED.js +25 -0
  97. package/dist/cli/run-identity-MRNCEGV2.mjs +25 -0
  98. package/dist/cli/{search-F44IZRT7.mjs → search-AIDIIGLY.mjs} +7 -6
  99. package/dist/cli/search-QRWL7MFM.js +27 -0
  100. package/dist/cli/{secrets-CAEMRORF.js → secrets-BT3PGMWN.js} +15 -14
  101. package/dist/cli/{secrets-R6XOJZKU.mjs → secrets-OQNHL45O.mjs} +6 -5
  102. package/dist/cli/{sessions-6GC7OFTT.js → sessions-EYXWOSWK.js} +5 -5
  103. package/dist/cli/{sessions-RLN6UQS3.mjs → sessions-SF7WJPJP.mjs} +4 -4
  104. package/dist/cli/{settings-DPNVUAV2.js → settings-BA3GHBOD.js} +76 -75
  105. package/dist/cli/{settings-KIPAMRPP.mjs → settings-Y57JTFDD.mjs} +9 -8
  106. package/dist/cli/{setup-TU2F7PU5.mjs → setup-7GR5GBHA.mjs} +6 -6
  107. package/dist/cli/{setup-DTL3L5SG.js → setup-RERXYC66.js} +41 -41
  108. package/dist/cli/{skills-UV5MYJ46.mjs → skills-SJWIQAV5.mjs} +4 -4
  109. package/dist/cli/skills-V7EY75HB.js +28 -0
  110. package/dist/cli/tools-H5HLBCHH.js +41 -0
  111. package/dist/cli/{tools-QRRNDCQ7.mjs → tools-ZF3JXPNL.mjs} +10 -9
  112. package/dist/cli/update-472HA3LT.js +28 -0
  113. package/dist/cli/{update-4426TF35.mjs → update-FFFYQAOJ.mjs} +6 -6
  114. package/dist/cli/{workflow-HNLOVISB.js → workflow-SZJVQH4T.js} +17 -16
  115. package/dist/cli/{workflow-N4U5VLZ3.mjs → workflow-XVFEEGAS.mjs} +7 -6
  116. package/dist/{client-e6Qh5ZIg.d.mts → client-DU5dtHDy.d.mts} +153 -4
  117. package/dist/{client-Uxuy-xQ2.d.ts → client-mCE88hC4.d.ts} +153 -4
  118. package/dist/{compiler-manifest-CY2v8ab0.d.ts → compiler-manifest-DE4RdAiY.d.mts} +61 -1
  119. package/dist/{compiler-manifest-CY2v8ab0.d.mts → compiler-manifest-DE4RdAiY.d.ts} +61 -1
  120. package/dist/{index-B9fBZH1g.d.mts → index-BI6nWgaV.d.mts} +1 -1
  121. package/dist/{index-BZ6uzZJl.d.ts → index-Bi-f7HFT.d.ts} +1 -1
  122. package/dist/index.d.mts +5 -5
  123. package/dist/index.d.ts +5 -5
  124. package/dist/index.js +120 -29
  125. package/dist/index.mjs +111 -20
  126. package/dist/install-integrity.json +91 -86
  127. package/dist/plays/bundle-play-file.d.mts +3 -3
  128. package/dist/plays/bundle-play-file.d.ts +3 -3
  129. package/dist/plays/bundle-play-file.mjs +2 -2
  130. package/dist/plays/run-request.d.mts +2 -2
  131. package/dist/plays/run-request.d.ts +2 -2
  132. package/dist/plays/run-request.js +5 -2
  133. package/dist/plays/run-request.mjs +4 -1
  134. package/dist/release.d.mts +4 -1
  135. package/dist/release.d.ts +4 -1
  136. package/dist/release.js +2 -2
  137. package/dist/release.mjs +1 -1
  138. package/package.json +1 -1
  139. package/dist/cli/auth-67TAELQL.js +0 -39
  140. package/dist/cli/git-I5JTK6YU.js +0 -23
  141. package/dist/cli/play-A2V7YDU7.js +0 -157
  142. package/dist/cli/search-WWXMBVPH.js +0 -26
  143. package/dist/cli/skills-SWOSEZLB.js +0 -28
  144. package/dist/cli/tools-IL2YCDQ6.js +0 -40
  145. package/dist/cli/update-BERDPEYR.js +0 -28
@@ -3,7 +3,7 @@
3
3
  var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
4
4
 
5
5
 
6
- var _chunkRV6ALZIXjs = require('./chunk-RV6ALZIX.js');
6
+ var _chunkM7Y7JYZXjs = require('./chunk-M7Y7JYZX.js');
7
7
 
8
8
 
9
9
 
@@ -22,11 +22,14 @@ var _chunkRV6ALZIXjs = require('./chunk-RV6ALZIX.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkWMS5U6YBjs = require('./chunk-WMS5U6YB.js');
25
+ var _chunkCDFH2DYLjs = require('./chunk-CDFH2DYL.js');
26
26
 
27
27
 
28
28
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
29
29
 
30
+
31
+ var _chunkRWHWF5ZJjs = require('./chunk-RWHWF5ZJ.js');
32
+
30
33
  // src/cli/commands/skills.ts
31
34
  var _child_process = require('child_process');
32
35
  var _fs = require('fs');
@@ -123,7 +126,7 @@ function skillsSourceUrl(baseUrl) {
123
126
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
124
127
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
125
128
  const [firstSkillName, ...extraSkillNames] = skillNames;
126
- const agents = _nullishCoalesce(options.agents, () => ( _chunkWMS5U6YBjs.DEFAULT_SKILL_AGENTS));
129
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkCDFH2DYLjs.DEFAULT_SKILL_AGENTS));
127
130
  const values = {
128
131
  skills_index_url: skillsIndexUrl(baseUrl),
129
132
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -199,7 +202,7 @@ function shouldSkipCompatibilityCheck() {
199
202
  return value === "1" || value === "true" || value === "yes";
200
203
  }
201
204
  function sdkCompatibilityCachePath(baseUrl, homeDir = _os.homedir.call(void 0, )) {
202
- return _path.join.call(void 0, _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
205
+ return _path.join.call(void 0, _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
203
206
  }
204
207
  function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
205
208
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -207,9 +210,9 @@ function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
207
210
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
208
211
  return JSON.stringify({
209
212
  baseUrl: baseUrl.replace(/\/$/, ""),
210
- version: _chunkWMS5U6YBjs.SDK_VERSION,
211
- apiContract: _chunkWMS5U6YBjs.SDK_API_CONTRACT,
212
- apiMajor: _chunkWMS5U6YBjs.SDK_API_MAJOR,
213
+ version: _chunkCDFH2DYLjs.SDK_VERSION,
214
+ apiContract: _chunkCDFH2DYLjs.SDK_API_CONTRACT,
215
+ apiMajor: _chunkCDFH2DYLjs.SDK_API_MAJOR,
213
216
  command: _optionalChain([command, 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]) || null,
214
217
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
215
218
  });
@@ -217,8 +220,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
217
220
  function legacyCompatibilityCacheKey(baseUrl, command) {
218
221
  return JSON.stringify({
219
222
  baseUrl: baseUrl.replace(/\/$/, ""),
220
- version: _chunkWMS5U6YBjs.SDK_VERSION,
221
- apiContract: _chunkWMS5U6YBjs.SDK_API_CONTRACT,
223
+ version: _chunkCDFH2DYLjs.SDK_VERSION,
224
+ apiContract: _chunkCDFH2DYLjs.SDK_API_CONTRACT,
222
225
  command: _optionalChain([command, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || null
223
226
  });
224
227
  }
@@ -311,12 +314,16 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
311
314
  );
312
315
  try {
313
316
  const url = new URL("/api/v2/sdk/compat", baseUrl);
314
- url.searchParams.set("version", _chunkWMS5U6YBjs.SDK_VERSION);
317
+ url.searchParams.set("version", _chunkCDFH2DYLjs.SDK_VERSION);
315
318
  if (_optionalChain([options, 'access', _19 => _19.command, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()])) {
316
319
  url.searchParams.set("command", options.command.trim());
317
320
  }
318
321
  if (options.skillsVersion !== void 0) {
319
322
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
323
+ url.searchParams.set(
324
+ "skills_cli_capability",
325
+ String(_chunkRWHWF5ZJjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
326
+ );
320
327
  }
321
328
  if (options.catalog) {
322
329
  url.searchParams.set("catalog_tool_id", options.catalog.toolId);
@@ -324,13 +331,13 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
324
331
  const response = await fetch(url, {
325
332
  method: "GET",
326
333
  headers: {
327
- ..._chunkWMS5U6YBjs.deploymentProtectionHeaders.call(void 0, ),
328
- "User-Agent": `deepline-ts-sdk/${_chunkWMS5U6YBjs.SDK_VERSION}`,
329
- "X-Deepline-SDK-Version": _chunkWMS5U6YBjs.SDK_VERSION,
330
- "X-Deepline-API-Major": String(_chunkWMS5U6YBjs.SDK_API_MAJOR),
331
- "X-Deepline-API-Contract": _chunkWMS5U6YBjs.SDK_API_CONTRACT,
334
+ ..._chunkCDFH2DYLjs.deploymentProtectionHeaders.call(void 0, ),
335
+ "User-Agent": `deepline-ts-sdk/${_chunkCDFH2DYLjs.SDK_VERSION}`,
336
+ "X-Deepline-SDK-Version": _chunkCDFH2DYLjs.SDK_VERSION,
337
+ "X-Deepline-API-Major": String(_chunkCDFH2DYLjs.SDK_API_MAJOR),
338
+ "X-Deepline-API-Contract": _chunkCDFH2DYLjs.SDK_API_CONTRACT,
332
339
  "X-Deepline-CLI-Update-Preferences": "1",
333
- ...options.catalog ? { Authorization: `Bearer ${_chunkWMS5U6YBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
340
+ ...options.catalog ? { Authorization: `Bearer ${_chunkCDFH2DYLjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
334
341
  },
335
342
  signal: controller.signal
336
343
  });
@@ -583,7 +590,7 @@ function buildEnvironmentContext() {
583
590
  node_version: process.version,
584
591
  runtime: "Node.js",
585
592
  hostname: _os.hostname.call(void 0, ),
586
- agent_runtime: _chunkWMS5U6YBjs.detectAgentRuntime.call(void 0, )
593
+ agent_runtime: _chunkCDFH2DYLjs.detectAgentRuntime.call(void 0, )
587
594
  };
588
595
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
589
596
  const normalized = _optionalChain([process, 'access', _32 => _32.env, 'access', _33 => _33[key], 'optionalAccess', _34 => _34.trim, 'call', _35 => _35()]);
@@ -605,15 +612,15 @@ function buildEnvironmentContext() {
605
612
  }
606
613
  function failureReportHeaders(apiKey) {
607
614
  return {
608
- ..._chunkWMS5U6YBjs.deploymentProtectionHeaders.call(void 0, ),
615
+ ..._chunkCDFH2DYLjs.deploymentProtectionHeaders.call(void 0, ),
609
616
  Authorization: `Bearer ${apiKey}`,
610
617
  "Content-Type": "application/json",
611
- "User-Agent": `deepline-ts-sdk/${_chunkWMS5U6YBjs.SDK_VERSION}`,
618
+ "User-Agent": `deepline-ts-sdk/${_chunkCDFH2DYLjs.SDK_VERSION}`,
612
619
  "X-Deepline-Client-Family": "sdk",
613
620
  "X-Deepline-CLI-Family": "sdk",
614
- "X-Deepline-Agent-Runtime": _chunkWMS5U6YBjs.detectAgentRuntime.call(void 0, ),
615
- "X-Deepline-CLI-Version": _chunkWMS5U6YBjs.SDK_VERSION,
616
- "X-Deepline-SDK-Version": _chunkWMS5U6YBjs.SDK_VERSION
621
+ "X-Deepline-Agent-Runtime": _chunkCDFH2DYLjs.detectAgentRuntime.call(void 0, ),
622
+ "X-Deepline-CLI-Version": _chunkCDFH2DYLjs.SDK_VERSION,
623
+ "X-Deepline-SDK-Version": _chunkCDFH2DYLjs.SDK_VERSION
617
624
  };
618
625
  }
619
626
  async function postFailureReport(input) {
@@ -641,7 +648,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
641
648
  if (isFailureReportingDisabled()) return false;
642
649
  let apiKey = "";
643
650
  try {
644
- apiKey = _chunkWMS5U6YBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
651
+ apiKey = _chunkCDFH2DYLjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
645
652
  } catch (e7) {
646
653
  return false;
647
654
  }
@@ -668,7 +675,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
668
675
  failure_code: failureCode2,
669
676
  failure_stage: failureStage,
670
677
  error_body: "Automatic Deepline skills installation failed.",
671
- cli_version: _chunkWMS5U6YBjs.SDK_VERSION,
678
+ cli_version: _chunkCDFH2DYLjs.SDK_VERSION,
672
679
  context: {
673
680
  environment: buildEnvironmentContext(),
674
681
  skills_sync: {
@@ -788,7 +795,7 @@ function buildFailureReport(input) {
788
795
  failure_kind: failureKind,
789
796
  failure_code: code,
790
797
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
791
- cli_version: _chunkWMS5U6YBjs.SDK_VERSION,
798
+ cli_version: _chunkCDFH2DYLjs.SDK_VERSION,
792
799
  context: {
793
800
  base_url: redactFailureText(input.baseUrl, 400),
794
801
  command_summary: sanitizeCommand(input.argv),
@@ -808,8 +815,8 @@ async function maybeReportSdkCliFailure(input) {
808
815
  if (isServerLoggedPlayRunStartFailure(input)) return false;
809
816
  const exitCode = resolvedExitCode(input);
810
817
  if (!shouldReport({ exitCode, error: input.error })) return false;
811
- const baseUrl = _chunkWMS5U6YBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
812
- const apiKey = _chunkWMS5U6YBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
818
+ const baseUrl = _chunkCDFH2DYLjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
819
+ const apiKey = _chunkCDFH2DYLjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
813
820
  if (!apiKey) return false;
814
821
  return postFailureReport({
815
822
  baseUrl,
@@ -830,25 +837,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
830
837
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
831
838
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
832
839
  function shouldSkipSkillsSync() {
833
- if (_chunkWMS5U6YBjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
840
+ if (_chunkCDFH2DYLjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
834
841
  return true;
835
842
  }
836
843
  const value = _optionalChain([process, 'access', _56 => _56.env, 'access', _57 => _57.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _58 => _58.trim, 'call', _59 => _59(), 'access', _60 => _60.toLowerCase, 'call', _61 => _61()]);
837
844
  return value === "1" || value === "true" || value === "yes" || value === "on";
838
845
  }
839
846
  function unavailableSkillsNoticePath(baseUrl) {
840
- return _path.join.call(void 0, _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
847
+ return _path.join.call(void 0, _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
841
848
  }
842
849
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
843
850
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
844
- var agentLeaseSegment = _chunkWMS5U6YBjs.skillsAgentPathSegment;
851
+ var agentLeaseSegment = _chunkCDFH2DYLjs.skillsAgentPathSegment;
845
852
  function sortedLeaseAgents(agents) {
846
- const expanded = agents.includes("*") ? [...agents, ..._chunkWMS5U6YBjs.KNOWN_SKILL_AGENTS] : agents;
853
+ const expanded = agents.includes("*") ? [...agents, ..._chunkCDFH2DYLjs.KNOWN_SKILL_AGENTS] : agents;
847
854
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
848
855
  }
849
856
  function inProgressSkillsSyncPath(baseUrl, agent) {
850
857
  return _path.join.call(void 0,
851
- _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl),
858
+ _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl),
852
859
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
853
860
  );
854
861
  }
@@ -1007,7 +1014,7 @@ var SkillsStateUnavailableError = class extends Error {
1007
1014
  constructor(baseUrl, error) {
1008
1015
  const detail = error instanceof Error ? error.message : String(error);
1009
1016
  super(
1010
- `Could not save skills state in ${_chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1017
+ `Could not save skills state in ${_chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1011
1018
  );
1012
1019
  this.name = "SkillsStateUnavailableError";
1013
1020
  }
@@ -1092,7 +1099,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1092
1099
  }
1093
1100
  function deferredSkillsNoticePath(baseUrl, agents) {
1094
1101
  return _path.join.call(void 0,
1095
- _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl),
1102
+ _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl),
1096
1103
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1097
1104
  );
1098
1105
  }
@@ -1126,8 +1133,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1126
1133
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1127
1134
  }
1128
1135
  function flushDeferredSkillsSyncNotices(baseUrl) {
1129
- if (shouldSkipSkillsSync() || _chunkWMS5U6YBjs.hasActivePluginSkills.call(void 0, )) return;
1130
- const agents = _chunkWMS5U6YBjs.resolveAutoSyncSkillAgents.call(void 0, );
1136
+ if (shouldSkipSkillsSync() || _chunkCDFH2DYLjs.hasActivePluginSkills.call(void 0, )) return;
1137
+ const agents = _chunkCDFH2DYLjs.resolveAutoSyncSkillAgents.call(void 0, );
1131
1138
  if (agents.length === 0) return;
1132
1139
  flushDeferredSkillsNotices(baseUrl, agents);
1133
1140
  }
@@ -1143,7 +1150,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1143
1150
  }
1144
1151
  function failedSkillsSyncPath(baseUrl, agents) {
1145
1152
  return _path.join.call(void 0,
1146
- _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl),
1153
+ _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl),
1147
1154
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1148
1155
  );
1149
1156
  }
@@ -1172,7 +1179,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1172
1179
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1173
1180
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1174
1181
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1175
- const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkWMS5U6YBjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1182
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkCDFH2DYLjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1176
1183
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _66 => _66.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.`;
1177
1184
  notice(
1178
1185
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1260,7 +1267,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1260
1267
  return sortedUniqueSkillNames(v1SkillNames2);
1261
1268
  }
1262
1269
  function isDefaultAgentSet(agents) {
1263
- return agents.length === _chunkWMS5U6YBjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkWMS5U6YBjs.DEFAULT_SKILL_AGENTS[index]);
1270
+ return agents.length === _chunkCDFH2DYLjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkCDFH2DYLjs.DEFAULT_SKILL_AGENTS[index]);
1264
1271
  }
1265
1272
  function safeSkillFilePath(value) {
1266
1273
  if (typeof value !== "string" || !value) return false;
@@ -1417,8 +1424,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1417
1424
  method: "POST",
1418
1425
  headers: { "Content-Type": "application/json" },
1419
1426
  body: JSON.stringify({
1427
+ sdk_cli: { version: _chunkCDFH2DYLjs.SDK_VERSION },
1420
1428
  skills: {
1421
- version: localVersion
1429
+ version: localVersion,
1430
+ capability: _chunkRWHWF5ZJjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1422
1431
  }
1423
1432
  }),
1424
1433
  signal: controller.signal
@@ -1457,7 +1466,7 @@ function probeInstallers(timeoutMs) {
1457
1466
  }
1458
1467
  function noInstallerProbePath(baseUrl) {
1459
1468
  return _path.join.call(void 0,
1460
- _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl),
1469
+ _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl),
1461
1470
  "skills-sync-no-installer-unknown.json"
1462
1471
  );
1463
1472
  }
@@ -1536,7 +1545,7 @@ function temporarySkillsSyncSkipCommand() {
1536
1545
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1537
1546
  return resolveShellSpawn(install.command, install.args, platform2);
1538
1547
  }
1539
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkWMS5U6YBjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1548
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkCDFH2DYLjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1540
1549
  const commands = [];
1541
1550
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1542
1551
  if (probes.bunx === "available") {
@@ -1688,11 +1697,11 @@ function writeSdkSkillsStatusLine(line) {
1688
1697
  }
1689
1698
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1690
1699
  if (shouldSkipSkillsSync()) return;
1691
- const usingPluginSkills = _chunkWMS5U6YBjs.hasActivePluginSkills.call(void 0, );
1700
+ const usingPluginSkills = _chunkCDFH2DYLjs.hasActivePluginSkills.call(void 0, );
1692
1701
  if (usingPluginSkills) {
1693
1702
  return;
1694
1703
  }
1695
- const agents = _chunkWMS5U6YBjs.resolveAutoSyncSkillAgents.call(void 0, );
1704
+ const agents = _chunkCDFH2DYLjs.resolveAutoSyncSkillAgents.call(void 0, );
1696
1705
  if (options.mode === "detached" && agents.length > 0) {
1697
1706
  flushDeferredSkillsNotices(baseUrl, agents);
1698
1707
  }
@@ -1720,7 +1729,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1720
1729
  return;
1721
1730
  }
1722
1731
  try {
1723
- const localVersion = _chunkWMS5U6YBjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1732
+ const localVersion = _chunkCDFH2DYLjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1724
1733
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1725
1734
  needsUpdate: options.update.needs_update,
1726
1735
  remoteVersion: options.update.remote.version
@@ -1886,7 +1895,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1886
1895
  }
1887
1896
  }
1888
1897
  runLegacySkillsCleanup(agents);
1889
- if (!_chunkWMS5U6YBjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1898
+ if (!_chunkCDFH2DYLjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1890
1899
  notice(
1891
1900
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1892
1901
  );
@@ -1945,7 +1954,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
1945
1954
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
1946
1955
  }
1947
1956
  function resolveLocalRoot() {
1948
- const target = _chunkWMS5U6YBjs.resolveProjectPinTarget.call(void 0, );
1957
+ const target = _chunkCDFH2DYLjs.resolveProjectPinTarget.call(void 0, );
1949
1958
  if (!target.ok) {
1950
1959
  throw new Error(
1951
1960
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -1956,7 +1965,7 @@ function resolveLocalRoot() {
1956
1965
  return target.dir;
1957
1966
  }
1958
1967
  function detectSkillsAgents(input) {
1959
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkWMS5U6YBjs.detectAgentRuntime.call(void 0, )));
1968
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkCDFH2DYLjs.detectAgentRuntime.call(void 0, )));
1960
1969
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
1961
1970
  if (knownAgent) return [knownAgent];
1962
1971
  const roots = [
@@ -1971,7 +1980,7 @@ function detectSkillsAgents(input) {
1971
1980
  return detected.length > 0 ? detected : ["*"];
1972
1981
  }
1973
1982
  function skillsStatePathForScope(baseUrl, scope, root) {
1974
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkWMS5U6YBjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1983
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkCDFH2DYLjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1975
1984
  }
1976
1985
  function buildSkillsPlan(input) {
1977
1986
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
@@ -2093,7 +2102,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2093
2102
  scope = normalizeScope(options.scope);
2094
2103
  root = scope === "local" ? resolveLocalRoot() : null;
2095
2104
  } catch (error) {
2096
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2105
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2097
2106
  {
2098
2107
  ok: false,
2099
2108
  status: "failed",
@@ -2105,22 +2114,22 @@ async function runSkillsCommand(options, dependencies = {}) {
2105
2114
  );
2106
2115
  return 2;
2107
2116
  }
2108
- const baseUrl = _chunkWMS5U6YBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2117
+ const baseUrl = _chunkCDFH2DYLjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2109
2118
  const catalog = {
2110
2119
  skillNames: [...DEFAULT_SDK_SKILL_NAMES],
2111
- version: _chunkWMS5U6YBjs.SDK_VERSION
2120
+ version: _chunkCDFH2DYLjs.SDK_VERSION
2112
2121
  };
2113
2122
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
2114
2123
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
2115
2124
  if (options.dryRun) {
2116
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2125
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2117
2126
  { ok: true, status: "planned", dryRun: true, ...plan },
2118
2127
  { json: options.json }
2119
2128
  );
2120
2129
  return 0;
2121
2130
  }
2122
2131
  if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !hasFailedAutomaticSkillsSync(baseUrl, agents)) {
2123
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2132
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2124
2133
  {
2125
2134
  ok: true,
2126
2135
  status: "current",
@@ -2155,7 +2164,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2155
2164
  .../* @__PURE__ */ new Set([...plan.skillNames, ...LEGACY_SKILL_NAMES_TO_REMOVE])
2156
2165
  ];
2157
2166
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
2158
- _chunkWMS5U6YBjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2167
+ _chunkCDFH2DYLjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2159
2168
  ".deepline/",
2160
2169
  ...agentRoots.flatMap(
2161
2170
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -2173,7 +2182,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2173
2182
  } };
2174
2183
  } catch (error) {
2175
2184
  if (!(error instanceof SkillsStateUnavailableError)) throw error;
2176
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2185
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2177
2186
  {
2178
2187
  ok: false,
2179
2188
  status: "failed",
@@ -2189,7 +2198,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2189
2198
  return 5;
2190
2199
  }
2191
2200
  if (!lease) {
2192
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2201
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2193
2202
  {
2194
2203
  ok: false,
2195
2204
  status: "failed",
@@ -2235,7 +2244,7 @@ async function runSkillsInstallWithLease(input) {
2235
2244
  throw new Error("Could not install the current Deepline skills.");
2236
2245
  }
2237
2246
  } catch (error) {
2238
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2247
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2239
2248
  {
2240
2249
  ok: false,
2241
2250
  status: "failed",
@@ -2274,7 +2283,7 @@ async function runSkillsInstallWithLease(input) {
2274
2283
  {
2275
2284
  schemaVersion: 1,
2276
2285
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
2277
- cliVersion: _chunkWMS5U6YBjs.SDK_VERSION,
2286
+ cliVersion: _chunkCDFH2DYLjs.SDK_VERSION,
2278
2287
  scope,
2279
2288
  agents,
2280
2289
  skillsVersion: plan.version,
@@ -2289,7 +2298,7 @@ async function runSkillsInstallWithLease(input) {
2289
2298
  if (scope === "global") {
2290
2299
  clearFailedAutomaticSkillsSync(baseUrl, agents);
2291
2300
  }
2292
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2301
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2293
2302
  {
2294
2303
  ok: true,
2295
2304
  status: "complete",
@@ -2338,7 +2347,7 @@ Examples:
2338
2347
  ).action(async (options) => {
2339
2348
  const claim = _optionalChain([options, 'access', _88 => _88.claim, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
2340
2349
  if (!claim) {
2341
- _chunkRV6ALZIXjs.printCommandEnvelope.call(void 0,
2350
+ _chunkM7Y7JYZXjs.printCommandEnvelope.call(void 0,
2342
2351
  {
2343
2352
  ok: false,
2344
2353
  status: "failed",
@@ -2351,7 +2360,7 @@ Examples:
2351
2360
  process.exitCode = 2;
2352
2361
  return;
2353
2362
  }
2354
- await syncSdkSkillsIfNeeded(_chunkWMS5U6YBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2363
+ await syncSdkSkillsIfNeeded(_chunkCDFH2DYLjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2355
2364
  mode: "inline",
2356
2365
  notices: "defer",
2357
2366
  claim
@@ -2383,4 +2392,5 @@ Examples:
2383
2392
 
2384
2393
 
2385
2394
 
2386
- exports.SDK_COMPATIBILITY_FAST_DEADLINE_MS = SDK_COMPATIBILITY_FAST_DEADLINE_MS; exports.readFreshCleanCompatibility = readFreshCleanCompatibility; exports.readTrustedCleanCompatibility = readTrustedCleanCompatibility; exports.checkSdkCompatibility = checkSdkCompatibility; exports.isCiEnvironment = isCiEnvironment; exports.enforceSdkCompatibilityResponse = enforceSdkCompatibilityResponse; exports.resolveShellSpawn = resolveShellSpawn; exports.isFailureReportingDisabled = isFailureReportingDisabled; exports.sanitizeCommand = sanitizeCommand; exports.failureReportHeaders = failureReportHeaders; exports.resolveSdkCliFailureExitCode = resolveSdkCliFailureExitCode; exports.maybeReportSdkCliFailure = maybeReportSdkCliFailure; exports.flushDeferredSkillsSyncNotices = flushDeferredSkillsSyncNotices; exports.SKILLS_AUTO_SYNC_COMMAND = SKILLS_AUTO_SYNC_COMMAND; exports.syncSdkSkillsIfNeeded = syncSdkSkillsIfNeeded; exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;
2395
+
2396
+ exports.SDK_COMPATIBILITY_FAST_DEADLINE_MS = SDK_COMPATIBILITY_FAST_DEADLINE_MS; exports.readFreshCleanCompatibility = readFreshCleanCompatibility; exports.readTrustedCleanCompatibility = readTrustedCleanCompatibility; exports.checkSdkCompatibility = checkSdkCompatibility; exports.isCiEnvironment = isCiEnvironment; exports.enforceSdkCompatibilityResponse = enforceSdkCompatibilityResponse; exports.resolveShellSpawn = resolveShellSpawn; exports.isFailureReportingDisabled = isFailureReportingDisabled; exports.redactFailureText = redactFailureText; exports.sanitizeCommand = sanitizeCommand; exports.failureReportHeaders = failureReportHeaders; exports.resolveSdkCliFailureExitCode = resolveSdkCliFailureExitCode; exports.maybeReportSdkCliFailure = maybeReportSdkCliFailure; exports.flushDeferredSkillsSyncNotices = flushDeferredSkillsSyncNotices; exports.SKILLS_AUTO_SYNC_COMMAND = SKILLS_AUTO_SYNC_COMMAND; exports.syncSdkSkillsIfNeeded = syncSdkSkillsIfNeeded; exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;