@agentxm/client-core 0.18.0 → 0.19.1

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 (502) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +2 -2
  2. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +1 -1
  3. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +1 -1
  4. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js.map +1 -1
  5. package/dist/src/unstable/agents/augment/service.d.ts +2 -2
  6. package/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
  7. package/dist/src/unstable/agents/augment/service.js +4 -3
  8. package/dist/src/unstable/agents/augment/service.js.map +1 -1
  9. package/dist/src/unstable/agents/claude-code/service.d.ts +2 -2
  10. package/dist/src/unstable/agents/claude-code/service.d.ts.map +1 -1
  11. package/dist/src/unstable/agents/claude-code/service.js +4 -3
  12. package/dist/src/unstable/agents/claude-code/service.js.map +1 -1
  13. package/dist/src/unstable/agents/codex/service.d.ts +1 -1
  14. package/dist/src/unstable/agents/codex/service.d.ts.map +1 -1
  15. package/dist/src/unstable/agents/codex/service.js +3 -2
  16. package/dist/src/unstable/agents/codex/service.js.map +1 -1
  17. package/dist/src/unstable/agents/coding-agent.d.ts +2 -1
  18. package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -1
  19. package/dist/src/unstable/agents/coding-agent.js.map +1 -1
  20. package/dist/src/unstable/agents/cursor/service.d.ts +2 -2
  21. package/dist/src/unstable/agents/cursor/service.d.ts.map +1 -1
  22. package/dist/src/unstable/agents/cursor/service.js +4 -3
  23. package/dist/src/unstable/agents/cursor/service.js.map +1 -1
  24. package/dist/src/unstable/agents/descriptor-paths.d.ts +18 -0
  25. package/dist/src/unstable/agents/descriptor-paths.d.ts.map +1 -0
  26. package/dist/src/unstable/agents/descriptor-paths.js +33 -0
  27. package/dist/src/unstable/agents/descriptor-paths.js.map +1 -0
  28. package/dist/src/unstable/agents/gemini-cli/service.d.ts +2 -2
  29. package/dist/src/unstable/agents/gemini-cli/service.d.ts.map +1 -1
  30. package/dist/src/unstable/agents/gemini-cli/service.js +4 -3
  31. package/dist/src/unstable/agents/gemini-cli/service.js.map +1 -1
  32. package/dist/src/unstable/agents/github-copilot-cli/service.d.ts +1 -1
  33. package/dist/src/unstable/agents/github-copilot-cli/service.d.ts.map +1 -1
  34. package/dist/src/unstable/agents/github-copilot-cli/service.js +3 -2
  35. package/dist/src/unstable/agents/github-copilot-cli/service.js.map +1 -1
  36. package/dist/src/unstable/agents/instructions.d.ts.map +1 -1
  37. package/dist/src/unstable/agents/instructions.js +2 -1
  38. package/dist/src/unstable/agents/instructions.js.map +1 -1
  39. package/dist/src/unstable/agents/junie/service.d.ts +2 -2
  40. package/dist/src/unstable/agents/junie/service.d.ts.map +1 -1
  41. package/dist/src/unstable/agents/junie/service.js +4 -3
  42. package/dist/src/unstable/agents/junie/service.js.map +1 -1
  43. package/dist/src/unstable/agents/kilo/service.d.ts +1 -1
  44. package/dist/src/unstable/agents/kilo/service.d.ts.map +1 -1
  45. package/dist/src/unstable/agents/kilo/service.js +3 -2
  46. package/dist/src/unstable/agents/kilo/service.js.map +1 -1
  47. package/dist/src/unstable/agents/kiro-cli/service.d.ts +2 -2
  48. package/dist/src/unstable/agents/kiro-cli/service.d.ts.map +1 -1
  49. package/dist/src/unstable/agents/kiro-cli/service.js +4 -3
  50. package/dist/src/unstable/agents/kiro-cli/service.js.map +1 -1
  51. package/dist/src/unstable/agents/opencode/service.d.ts +2 -2
  52. package/dist/src/unstable/agents/opencode/service.d.ts.map +1 -1
  53. package/dist/src/unstable/agents/opencode/service.js +4 -3
  54. package/dist/src/unstable/agents/opencode/service.js.map +1 -1
  55. package/dist/src/unstable/agents/project-only-agent.d.ts +5 -4
  56. package/dist/src/unstable/agents/project-only-agent.d.ts.map +1 -1
  57. package/dist/src/unstable/agents/project-only-agent.js +10 -3
  58. package/dist/src/unstable/agents/project-only-agent.js.map +1 -1
  59. package/dist/src/unstable/agents/repository.js +1 -1
  60. package/dist/src/unstable/agents/repository.js.map +1 -1
  61. package/dist/src/unstable/agents/roo/service.d.ts +2 -2
  62. package/dist/src/unstable/agents/roo/service.d.ts.map +1 -1
  63. package/dist/src/unstable/agents/roo/service.js +4 -3
  64. package/dist/src/unstable/agents/roo/service.js.map +1 -1
  65. package/dist/src/unstable/agents/windsurf/service.d.ts +1 -3
  66. package/dist/src/unstable/agents/windsurf/service.d.ts.map +1 -1
  67. package/dist/src/unstable/agents/windsurf/service.js +7 -5
  68. package/dist/src/unstable/agents/windsurf/service.js.map +1 -1
  69. package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
  70. package/dist/src/unstable/auth/credential-store.js +51 -26
  71. package/dist/src/unstable/auth/credential-store.js.map +1 -1
  72. package/dist/src/unstable/auth/device-login.d.ts +1 -1
  73. package/dist/src/unstable/auth/loopback-login.d.ts +1 -1
  74. package/dist/src/unstable/cli-flags/index.d.ts.map +1 -1
  75. package/dist/src/unstable/cli-flags/index.js +1 -1
  76. package/dist/src/unstable/cli-flags/index.js.map +1 -1
  77. package/dist/src/unstable/cli-flags/resolve-verbosity.js +1 -1
  78. package/dist/src/unstable/cli-flags/resolve-verbosity.js.map +1 -1
  79. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -1
  80. package/dist/src/unstable/cli-renderer/ansi-chrome.js +1 -7
  81. package/dist/src/unstable/cli-renderer/ansi-chrome.js.map +1 -1
  82. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  83. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +1 -25
  84. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  85. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  86. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +1 -21
  87. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  88. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
  89. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +1 -9
  90. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
  91. package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts.map +1 -1
  92. package/dist/src/unstable/cli-renderer/markdown-formatter.js +2 -3
  93. package/dist/src/unstable/cli-renderer/markdown-formatter.js.map +1 -1
  94. package/dist/src/unstable/cli-renderer/renderer-helpers.d.ts +12 -0
  95. package/dist/src/unstable/cli-renderer/renderer-helpers.d.ts.map +1 -0
  96. package/dist/src/unstable/cli-renderer/renderer-helpers.js +27 -0
  97. package/dist/src/unstable/cli-renderer/renderer-helpers.js.map +1 -0
  98. package/dist/src/unstable/cli-runtime/command-argv.d.ts +1 -1
  99. package/dist/src/unstable/cli-runtime/command-argv.d.ts.map +1 -1
  100. package/dist/src/unstable/cli-runtime/command-argv.js +2 -2
  101. package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -1
  102. package/dist/src/unstable/cli-runtime/index.d.ts +1 -0
  103. package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
  104. package/dist/src/unstable/cli-runtime/index.js +1 -0
  105. package/dist/src/unstable/cli-runtime/index.js.map +1 -1
  106. package/dist/src/unstable/cli-runtime/json-help-doc.d.ts +126 -0
  107. package/dist/src/unstable/cli-runtime/json-help-doc.d.ts.map +1 -0
  108. package/dist/src/unstable/cli-runtime/json-help-doc.js +89 -0
  109. package/dist/src/unstable/cli-runtime/json-help-doc.js.map +1 -0
  110. package/dist/src/unstable/cli-runtime/operation-plan.d.ts.map +1 -1
  111. package/dist/src/unstable/cli-runtime/operation-plan.js +2 -1
  112. package/dist/src/unstable/cli-runtime/operation-plan.js.map +1 -1
  113. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +2 -2
  114. package/dist/src/unstable/commands/manager.d.ts.map +1 -1
  115. package/dist/src/unstable/commands/manager.js +37 -166
  116. package/dist/src/unstable/commands/manager.js.map +1 -1
  117. package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
  118. package/dist/src/unstable/commands/operations/enable.js +2 -9
  119. package/dist/src/unstable/commands/operations/enable.js.map +1 -1
  120. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  121. package/dist/src/unstable/commands/operations/publish.js +1 -1
  122. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  123. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +9 -9
  124. package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -1
  125. package/dist/src/unstable/commands/operations/uninstall.js +2 -2
  126. package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
  127. package/dist/src/unstable/commands/paths.d.ts +1 -1
  128. package/dist/src/unstable/commands/paths.d.ts.map +1 -1
  129. package/dist/src/unstable/commands/paths.js +6 -14
  130. package/dist/src/unstable/commands/paths.js.map +1 -1
  131. package/dist/src/unstable/extensions/canonical-path.d.ts +21 -0
  132. package/dist/src/unstable/extensions/canonical-path.d.ts.map +1 -0
  133. package/dist/src/unstable/extensions/canonical-path.js +12 -0
  134. package/dist/src/unstable/extensions/canonical-path.js.map +1 -0
  135. package/dist/src/unstable/extensions/discovery-walk.d.ts +8 -0
  136. package/dist/src/unstable/extensions/discovery-walk.d.ts.map +1 -0
  137. package/dist/src/unstable/extensions/discovery-walk.js +15 -0
  138. package/dist/src/unstable/extensions/discovery-walk.js.map +1 -0
  139. package/dist/src/unstable/extensions/extension-paths.d.ts +63 -0
  140. package/dist/src/unstable/extensions/extension-paths.d.ts.map +1 -0
  141. package/dist/src/unstable/extensions/extension-paths.js +45 -0
  142. package/dist/src/unstable/extensions/extension-paths.js.map +1 -0
  143. package/dist/src/unstable/extensions/index.d.ts +4 -1
  144. package/dist/src/unstable/extensions/index.d.ts.map +1 -1
  145. package/dist/src/unstable/extensions/index.js +4 -1
  146. package/dist/src/unstable/extensions/index.js.map +1 -1
  147. package/dist/src/unstable/extensions/installable-types.d.ts +1 -2
  148. package/dist/src/unstable/extensions/installable-types.d.ts.map +1 -1
  149. package/dist/src/unstable/extensions/installable-types.js +7 -44
  150. package/dist/src/unstable/extensions/installable-types.js.map +1 -1
  151. package/dist/src/unstable/extensions/manifest-package-discovery.d.ts +28 -0
  152. package/dist/src/unstable/extensions/manifest-package-discovery.d.ts.map +1 -0
  153. package/dist/src/unstable/extensions/manifest-package-discovery.js +96 -0
  154. package/dist/src/unstable/extensions/manifest-package-discovery.js.map +1 -0
  155. package/dist/src/unstable/extensions/marker-fqn.d.ts +23 -0
  156. package/dist/src/unstable/extensions/marker-fqn.d.ts.map +1 -0
  157. package/dist/src/unstable/extensions/marker-fqn.js +10 -0
  158. package/dist/src/unstable/extensions/marker-fqn.js.map +1 -0
  159. package/dist/src/unstable/extensions/package-materialization.d.ts +44 -0
  160. package/dist/src/unstable/extensions/package-materialization.d.ts.map +1 -0
  161. package/dist/src/unstable/extensions/package-materialization.js +85 -0
  162. package/dist/src/unstable/extensions/package-materialization.js.map +1 -0
  163. package/dist/src/unstable/extensions/ref-base.d.ts +2 -0
  164. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  165. package/dist/src/unstable/extensions/utils.d.ts +12 -0
  166. package/dist/src/unstable/extensions/utils.d.ts.map +1 -1
  167. package/dist/src/unstable/extensions/utils.js +19 -0
  168. package/dist/src/unstable/extensions/utils.js.map +1 -1
  169. package/dist/src/unstable/files/discovery.d.ts +4 -4
  170. package/dist/src/unstable/files/discovery.d.ts.map +1 -1
  171. package/dist/src/unstable/files/discovery.js +7 -94
  172. package/dist/src/unstable/files/discovery.js.map +1 -1
  173. package/dist/src/unstable/files/manager.d.ts.map +1 -1
  174. package/dist/src/unstable/files/manager.js +33 -133
  175. package/dist/src/unstable/files/manager.js.map +1 -1
  176. package/dist/src/unstable/git/operations.d.ts.map +1 -1
  177. package/dist/src/unstable/git/operations.js +1 -6
  178. package/dist/src/unstable/git/operations.js.map +1 -1
  179. package/dist/src/unstable/hooks/discovery.d.ts +3 -3
  180. package/dist/src/unstable/hooks/discovery.d.ts.map +1 -1
  181. package/dist/src/unstable/hooks/discovery.js +6 -93
  182. package/dist/src/unstable/hooks/discovery.js.map +1 -1
  183. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  184. package/dist/src/unstable/hooks/manager.js +34 -135
  185. package/dist/src/unstable/hooks/manager.js.map +1 -1
  186. package/dist/src/unstable/hooks/operations/publish.d.ts.map +1 -1
  187. package/dist/src/unstable/hooks/operations/publish.js +1 -1
  188. package/dist/src/unstable/hooks/operations/publish.js.map +1 -1
  189. package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
  190. package/dist/src/unstable/install-meta/install-meta.js +4 -4
  191. package/dist/src/unstable/install-meta/install-meta.js.map +1 -1
  192. package/dist/src/unstable/install-method/install-method.d.ts.map +1 -1
  193. package/dist/src/unstable/install-method/install-method.js +3 -2
  194. package/dist/src/unstable/install-method/install-method.js.map +1 -1
  195. package/dist/src/unstable/lint/catalog/command/manifest-present.d.ts +1 -2
  196. package/dist/src/unstable/lint/catalog/command/manifest-present.d.ts.map +1 -1
  197. package/dist/src/unstable/lint/catalog/command/manifest-present.js +6 -20
  198. package/dist/src/unstable/lint/catalog/command/manifest-present.js.map +1 -1
  199. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts +1 -2
  200. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts.map +1 -1
  201. package/dist/src/unstable/lint/catalog/files/manifest-present.js +6 -20
  202. package/dist/src/unstable/lint/catalog/files/manifest-present.js.map +1 -1
  203. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts +1 -2
  204. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts.map +1 -1
  205. package/dist/src/unstable/lint/catalog/hook/manifest-present.js +6 -20
  206. package/dist/src/unstable/lint/catalog/hook/manifest-present.js.map +1 -1
  207. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.d.ts +1 -2
  208. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.d.ts.map +1 -1
  209. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js +6 -20
  210. package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js.map +1 -1
  211. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +1 -2
  212. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -1
  213. package/dist/src/unstable/lint/catalog/pack/manifest-present.js +6 -20
  214. package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -1
  215. package/dist/src/unstable/lint/catalog/shared/manifest-present.d.ts +25 -0
  216. package/dist/src/unstable/lint/catalog/shared/manifest-present.d.ts.map +1 -0
  217. package/dist/src/unstable/lint/catalog/shared/manifest-present.js +37 -0
  218. package/dist/src/unstable/lint/catalog/shared/manifest-present.js.map +1 -0
  219. package/dist/src/unstable/lint/catalog/shared/schema-rule.js +1 -1
  220. package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
  221. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +1 -2
  222. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts.map +1 -1
  223. package/dist/src/unstable/lint/catalog/skill/manifest-present.js +8 -25
  224. package/dist/src/unstable/lint/catalog/skill/manifest-present.js.map +1 -1
  225. package/dist/src/unstable/lint/catalog/subagent/manifest-present.d.ts +1 -2
  226. package/dist/src/unstable/lint/catalog/subagent/manifest-present.d.ts.map +1 -1
  227. package/dist/src/unstable/lint/catalog/subagent/manifest-present.js +6 -20
  228. package/dist/src/unstable/lint/catalog/subagent/manifest-present.js.map +1 -1
  229. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts.map +1 -1
  230. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +3 -2
  231. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js.map +1 -1
  232. package/dist/src/unstable/lockfile/entry-fields.d.ts +34 -0
  233. package/dist/src/unstable/lockfile/entry-fields.d.ts.map +1 -0
  234. package/dist/src/unstable/lockfile/entry-fields.js +51 -0
  235. package/dist/src/unstable/lockfile/entry-fields.js.map +1 -0
  236. package/dist/src/unstable/lockfile/lockfile.d.ts +649 -649
  237. package/dist/src/unstable/mcps/config-writer.d.ts +2 -1
  238. package/dist/src/unstable/mcps/config-writer.d.ts.map +1 -1
  239. package/dist/src/unstable/mcps/config-writer.js.map +1 -1
  240. package/dist/src/unstable/mcps/operations/disable.d.ts.map +1 -1
  241. package/dist/src/unstable/mcps/operations/disable.js +2 -2
  242. package/dist/src/unstable/mcps/operations/disable.js.map +1 -1
  243. package/dist/src/unstable/mcps/operations/enable.d.ts.map +1 -1
  244. package/dist/src/unstable/mcps/operations/enable.js +5 -8
  245. package/dist/src/unstable/mcps/operations/enable.js.map +1 -1
  246. package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
  247. package/dist/src/unstable/mcps/operations/install.js +34 -13
  248. package/dist/src/unstable/mcps/operations/install.js.map +1 -1
  249. package/dist/src/unstable/mcps/operations/publish.d.ts.map +1 -1
  250. package/dist/src/unstable/mcps/operations/publish.js +1 -1
  251. package/dist/src/unstable/mcps/operations/publish.js.map +1 -1
  252. package/dist/src/unstable/mcps/operations/uninstall.d.ts.map +1 -1
  253. package/dist/src/unstable/mcps/operations/uninstall.js +4 -4
  254. package/dist/src/unstable/mcps/operations/uninstall.js.map +1 -1
  255. package/dist/src/unstable/packaging/bazel.d.ts.map +1 -1
  256. package/dist/src/unstable/packaging/bazel.js +2 -29
  257. package/dist/src/unstable/packaging/bazel.js.map +1 -1
  258. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
  259. package/dist/src/unstable/packaging/cargo.js +1 -12
  260. package/dist/src/unstable/packaging/cargo.js.map +1 -1
  261. package/dist/src/unstable/packaging/cocoapods.d.ts.map +1 -1
  262. package/dist/src/unstable/packaging/cocoapods.js +1 -26
  263. package/dist/src/unstable/packaging/cocoapods.js.map +1 -1
  264. package/dist/src/unstable/packaging/composer.d.ts.map +1 -1
  265. package/dist/src/unstable/packaging/composer.js +1 -27
  266. package/dist/src/unstable/packaging/composer.js.map +1 -1
  267. package/dist/src/unstable/packaging/conan.d.ts.map +1 -1
  268. package/dist/src/unstable/packaging/conan.js +2 -13
  269. package/dist/src/unstable/packaging/conan.js.map +1 -1
  270. package/dist/src/unstable/packaging/conda.d.ts.map +1 -1
  271. package/dist/src/unstable/packaging/conda.js +1 -26
  272. package/dist/src/unstable/packaging/conda.js.map +1 -1
  273. package/dist/src/unstable/packaging/cpan.d.ts.map +1 -1
  274. package/dist/src/unstable/packaging/cpan.js +2 -27
  275. package/dist/src/unstable/packaging/cpan.js.map +1 -1
  276. package/dist/src/unstable/packaging/cran.d.ts.map +1 -1
  277. package/dist/src/unstable/packaging/cran.js +2 -13
  278. package/dist/src/unstable/packaging/cran.js.map +1 -1
  279. package/dist/src/unstable/packaging/docker.d.ts.map +1 -1
  280. package/dist/src/unstable/packaging/docker.js +1 -27
  281. package/dist/src/unstable/packaging/docker.js.map +1 -1
  282. package/dist/src/unstable/packaging/gem.d.ts.map +1 -1
  283. package/dist/src/unstable/packaging/gem.js +1 -12
  284. package/dist/src/unstable/packaging/gem.js.map +1 -1
  285. package/dist/src/unstable/packaging/golang.d.ts.map +1 -1
  286. package/dist/src/unstable/packaging/golang.js +2 -29
  287. package/dist/src/unstable/packaging/golang.js.map +1 -1
  288. package/dist/src/unstable/packaging/hackage.d.ts.map +1 -1
  289. package/dist/src/unstable/packaging/hackage.js +1 -12
  290. package/dist/src/unstable/packaging/hackage.js.map +1 -1
  291. package/dist/src/unstable/packaging/hex.d.ts.map +1 -1
  292. package/dist/src/unstable/packaging/hex.js +1 -27
  293. package/dist/src/unstable/packaging/hex.js.map +1 -1
  294. package/dist/src/unstable/packaging/huggingface.d.ts.map +1 -1
  295. package/dist/src/unstable/packaging/huggingface.js +2 -13
  296. package/dist/src/unstable/packaging/huggingface.js.map +1 -1
  297. package/dist/src/unstable/packaging/jsr.d.ts.map +1 -1
  298. package/dist/src/unstable/packaging/jsr.js +2 -28
  299. package/dist/src/unstable/packaging/jsr.js.map +1 -1
  300. package/dist/src/unstable/packaging/julia.d.ts.map +1 -1
  301. package/dist/src/unstable/packaging/julia.js +1 -12
  302. package/dist/src/unstable/packaging/julia.js.map +1 -1
  303. package/dist/src/unstable/packaging/luarocks.d.ts.map +1 -1
  304. package/dist/src/unstable/packaging/luarocks.js +1 -26
  305. package/dist/src/unstable/packaging/luarocks.js.map +1 -1
  306. package/dist/src/unstable/packaging/maven.d.ts.map +1 -1
  307. package/dist/src/unstable/packaging/maven.js +1 -26
  308. package/dist/src/unstable/packaging/maven.js.map +1 -1
  309. package/dist/src/unstable/packaging/mojo.d.ts.map +1 -1
  310. package/dist/src/unstable/packaging/mojo.js +1 -26
  311. package/dist/src/unstable/packaging/mojo.js.map +1 -1
  312. package/dist/src/unstable/packaging/npm.d.ts.map +1 -1
  313. package/dist/src/unstable/packaging/npm.js +1 -28
  314. package/dist/src/unstable/packaging/npm.js.map +1 -1
  315. package/dist/src/unstable/packaging/nuget.d.ts.map +1 -1
  316. package/dist/src/unstable/packaging/nuget.js +2 -28
  317. package/dist/src/unstable/packaging/nuget.js.map +1 -1
  318. package/dist/src/unstable/packaging/opam.d.ts.map +1 -1
  319. package/dist/src/unstable/packaging/opam.js +1 -12
  320. package/dist/src/unstable/packaging/opam.js.map +1 -1
  321. package/dist/src/unstable/packaging/pub.d.ts.map +1 -1
  322. package/dist/src/unstable/packaging/pub.js +1 -27
  323. package/dist/src/unstable/packaging/pub.js.map +1 -1
  324. package/dist/src/unstable/packaging/pypi.d.ts.map +1 -1
  325. package/dist/src/unstable/packaging/pypi.js +2 -26
  326. package/dist/src/unstable/packaging/pypi.js.map +1 -1
  327. package/dist/src/unstable/packaging/reader-io.d.ts +29 -0
  328. package/dist/src/unstable/packaging/reader-io.d.ts.map +1 -0
  329. package/dist/src/unstable/packaging/reader-io.js +29 -0
  330. package/dist/src/unstable/packaging/reader-io.js.map +1 -0
  331. package/dist/src/unstable/packaging/swift.d.ts.map +1 -1
  332. package/dist/src/unstable/packaging/swift.js +1 -25
  333. package/dist/src/unstable/packaging/swift.js.map +1 -1
  334. package/dist/src/unstable/packaging/zig.d.ts.map +1 -1
  335. package/dist/src/unstable/packaging/zig.js +1 -26
  336. package/dist/src/unstable/packaging/zig.js.map +1 -1
  337. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  338. package/dist/src/unstable/packs/operations/publish.js +1 -1
  339. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  340. package/dist/src/unstable/plan/index.d.ts +2 -1
  341. package/dist/src/unstable/plan/index.d.ts.map +1 -1
  342. package/dist/src/unstable/plan/index.js +2 -0
  343. package/dist/src/unstable/plan/index.js.map +1 -1
  344. package/dist/src/unstable/plan/job-step-message.d.ts +7 -0
  345. package/dist/src/unstable/plan/job-step-message.d.ts.map +1 -0
  346. package/dist/src/unstable/plan/job-step-message.js +7 -0
  347. package/dist/src/unstable/plan/job-step-message.js.map +1 -0
  348. package/dist/src/unstable/plan/plan.d.ts +13 -2
  349. package/dist/src/unstable/plan/plan.d.ts.map +1 -1
  350. package/dist/src/unstable/plan/plan.js +10 -1
  351. package/dist/src/unstable/plan/plan.js.map +1 -1
  352. package/dist/src/unstable/plan/resolve-plan.d.ts +1 -1
  353. package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -1
  354. package/dist/src/unstable/publish/input-normalization.js +3 -3
  355. package/dist/src/unstable/publish/input-normalization.js.map +1 -1
  356. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  357. package/dist/src/unstable/publish/manifest-policy.js +2 -2
  358. package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
  359. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +11 -11
  360. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  361. package/dist/src/unstable/registry/__generated__/registry-client.js +3 -3
  362. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  363. package/dist/src/unstable/registry/admin-client.d.ts +4 -4
  364. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  365. package/dist/src/unstable/registry/client.js +3 -2
  366. package/dist/src/unstable/registry/client.js.map +1 -1
  367. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  368. package/dist/src/unstable/registry/schema.js +1 -2
  369. package/dist/src/unstable/registry/schema.js.map +1 -1
  370. package/dist/src/unstable/rules/discovery.d.ts +3 -3
  371. package/dist/src/unstable/rules/discovery.d.ts.map +1 -1
  372. package/dist/src/unstable/rules/discovery.js +6 -93
  373. package/dist/src/unstable/rules/discovery.js.map +1 -1
  374. package/dist/src/unstable/rules/manager.d.ts.map +1 -1
  375. package/dist/src/unstable/rules/manager.js +33 -135
  376. package/dist/src/unstable/rules/manager.js.map +1 -1
  377. package/dist/src/unstable/settings/schema.d.ts +22 -75
  378. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  379. package/dist/src/unstable/settings/schema.js +34 -125
  380. package/dist/src/unstable/settings/schema.js.map +1 -1
  381. package/dist/src/unstable/skills/index.d.ts +1 -1
  382. package/dist/src/unstable/skills/index.d.ts.map +1 -1
  383. package/dist/src/unstable/skills/index.js +1 -1
  384. package/dist/src/unstable/skills/index.js.map +1 -1
  385. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
  386. package/dist/src/unstable/skills/operations/copy.js +24 -4
  387. package/dist/src/unstable/skills/operations/copy.js.map +1 -1
  388. package/dist/src/unstable/skills/operations/install.d.ts +2 -1
  389. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  390. package/dist/src/unstable/skills/operations/install.js +50 -3
  391. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  392. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  393. package/dist/src/unstable/skills/operations/publish.js +1 -1
  394. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  395. package/dist/src/unstable/skills/paths.d.ts +1 -1
  396. package/dist/src/unstable/skills/paths.d.ts.map +1 -1
  397. package/dist/src/unstable/skills/paths.js +4 -12
  398. package/dist/src/unstable/skills/paths.js.map +1 -1
  399. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts +2 -2
  400. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts +5 -4
  401. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -1
  402. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +4 -0
  403. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -1
  404. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts +1 -1
  405. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts +4 -3
  406. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -1
  407. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +8 -1
  408. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -1
  409. package/dist/src/unstable/source-resolution/providers/convention-discovery.d.ts.map +1 -1
  410. package/dist/src/unstable/source-resolution/providers/convention-discovery.js +10 -14
  411. package/dist/src/unstable/source-resolution/providers/convention-discovery.js.map +1 -1
  412. package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -1
  413. package/dist/src/unstable/source-resolution/providers/git-hosting.js +4 -0
  414. package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
  415. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts +1 -1
  416. package/dist/src/unstable/source-resolution/providers/github/url.d.ts +4 -3
  417. package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -1
  418. package/dist/src/unstable/source-resolution/providers/github/url.js +8 -1
  419. package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -1
  420. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts +1 -1
  421. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts +4 -3
  422. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -1
  423. package/dist/src/unstable/source-resolution/providers/gitlab/url.js +8 -1
  424. package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -1
  425. package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
  426. package/dist/src/unstable/source-resolution/resolve-source.js +64 -9
  427. package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
  428. package/dist/src/unstable/source-resolution/url-fragment.d.ts +5 -0
  429. package/dist/src/unstable/source-resolution/url-fragment.d.ts.map +1 -0
  430. package/dist/src/unstable/source-resolution/url-fragment.js +19 -0
  431. package/dist/src/unstable/source-resolution/url-fragment.js.map +1 -0
  432. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  433. package/dist/src/unstable/sources/lock-entry-to-ref.js +2 -1
  434. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  435. package/dist/src/unstable/sources/parser.d.ts +1 -1
  436. package/dist/src/unstable/sources/parser.d.ts.map +1 -1
  437. package/dist/src/unstable/sources/parser.js +11 -10
  438. package/dist/src/unstable/sources/parser.js.map +1 -1
  439. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
  440. package/dist/src/unstable/sources/source-to-lock-entry.js +6 -61
  441. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
  442. package/dist/src/unstable/sources/types.d.ts +4 -0
  443. package/dist/src/unstable/sources/types.d.ts.map +1 -1
  444. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
  445. package/dist/src/unstable/subagents/lock-entry-builder.js +7 -63
  446. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
  447. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  448. package/dist/src/unstable/subagents/operations/publish.js +1 -1
  449. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  450. package/dist/src/unstable/subagents/paths.d.ts +1 -1
  451. package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
  452. package/dist/src/unstable/subagents/paths.js +6 -14
  453. package/dist/src/unstable/subagents/paths.js.map +1 -1
  454. package/dist/src/unstable/subagents/rendering/types.d.ts +2 -7
  455. package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -1
  456. package/dist/src/unstable/subagents/rendering/types.js.map +1 -1
  457. package/dist/src/unstable/update-check/update-check.d.ts +1 -1
  458. package/dist/src/unstable/update-check/update-check.js +3 -3
  459. package/dist/src/unstable/update-check/update-check.js.map +1 -1
  460. package/dist/src/unstable/utils/environment.d.ts +1 -13
  461. package/dist/src/unstable/utils/environment.d.ts.map +1 -1
  462. package/dist/src/unstable/utils/environment.js +1 -22
  463. package/dist/src/unstable/utils/environment.js.map +1 -1
  464. package/dist/src/unstable/utils/index.d.ts +1 -1
  465. package/dist/src/unstable/utils/index.d.ts.map +1 -1
  466. package/dist/src/unstable/utils/index.js +1 -1
  467. package/dist/src/unstable/utils/index.js.map +1 -1
  468. package/dist/src/unstable/workflows/install-command/workflow.d.ts +4 -3
  469. package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -1
  470. package/dist/src/unstable/workflows/install-command/workflow.js +1 -1
  471. package/dist/src/unstable/workflows/install-command/workflow.js.map +1 -1
  472. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +1 -1
  473. package/dist/src/unstable/workspace/display-plan.d.ts +1 -1
  474. package/dist/src/unstable/workspace/index.d.ts +2 -1
  475. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  476. package/dist/src/unstable/workspace/index.js +2 -1
  477. package/dist/src/unstable/workspace/index.js.map +1 -1
  478. package/dist/src/unstable/workspace/initialization.d.ts +223 -223
  479. package/dist/src/unstable/workspace/paths.d.ts +3 -0
  480. package/dist/src/unstable/workspace/paths.d.ts.map +1 -1
  481. package/dist/src/unstable/workspace/paths.js +7 -4
  482. package/dist/src/unstable/workspace/paths.js.map +1 -1
  483. package/dist/src/unstable/workspace/read-model/discovery/skills.d.ts +1 -1
  484. package/dist/src/unstable/workspace/read-model/discovery/skills.d.ts.map +1 -1
  485. package/dist/src/unstable/workspace/read-model/discovery/skills.js +69 -32
  486. package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
  487. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.d.ts.map +1 -1
  488. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +2 -1
  489. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -1
  490. package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
  491. package/dist/src/unstable/workspace/read-model/service.js +2 -1
  492. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  493. package/dist/src/unstable/workspace/service.d.ts +309 -309
  494. package/dist/src/unstable/workspace/version-currency/collectors.d.ts +23 -0
  495. package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
  496. package/dist/src/unstable/workspace/version-currency/collectors.js +95 -0
  497. package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
  498. package/dist/src/unstable/workspace/version-currency/index.d.ts +1 -1
  499. package/dist/src/unstable/workspace/version-currency/index.d.ts.map +1 -1
  500. package/dist/src/unstable/workspace/version-currency/index.js +1 -1
  501. package/dist/src/unstable/workspace/version-currency/index.js.map +1 -1
  502. package/package.json +6 -6
@@ -8,10 +8,14 @@
8
8
  * @experimental This API is unstable and may change without notice.
9
9
  */
10
10
  import * as Effect from "effect/Effect";
11
+ import type * as FileSystem from "effect/FileSystem";
11
12
  import * as Option from "effect/Option";
13
+ import type * as Path from "effect/Path";
14
+ import type * as Scope from "effect/Scope";
12
15
  import type { AppError } from "../../app-error/index.js";
13
16
  import type { ExtensionType } from "../../extensions/index.js";
14
17
  import type { RegistryClient } from "../../registry/client.js";
18
+ import { SourceHostProviders } from "../../source-resolution/index.js";
15
19
  import type { Version, VersionRange } from "../../version-constraints/version-constraints.js";
16
20
  import { WorkspaceMutations } from "../service-interface.js";
17
21
  import { type CurrencyResult } from "./check-currency.js";
@@ -21,6 +25,7 @@ import { type CurrencyResult } from "./check-currency.js";
21
25
  * @experimental This API is unstable and may change without notice.
22
26
  */
23
27
  export interface ExtensionCurrencyEntry {
28
+ readonly kind: "registry-version";
24
29
  /** Fully-qualified name: `@owner/type/name`. */
25
30
  readonly ref: string;
26
31
  readonly type: ExtensionType;
@@ -28,6 +33,23 @@ export interface ExtensionCurrencyEntry {
28
33
  readonly constraint: Option.Option<VersionRange>;
29
34
  readonly currency: CurrencyResult;
30
35
  }
36
+ /**
37
+ * Source freshness assessment for a Git-hosted extension.
38
+ *
39
+ * @experimental This API is unstable and may change without notice.
40
+ */
41
+ export interface ExtensionSourceFreshnessEntry {
42
+ readonly kind: "source-freshness";
43
+ readonly ref: string;
44
+ readonly type: ExtensionType;
45
+ readonly source: string;
46
+ readonly installedTreeHash: Option.Option<string>;
47
+ readonly currentTreeHash: Option.Option<string>;
48
+ readonly status: "current" | "changed" | "unknown";
49
+ readonly reason: Option.Option<string>;
50
+ }
51
+ export type ExtensionUpdateEntry = ExtensionCurrencyEntry | ExtensionSourceFreshnessEntry;
52
+ export declare const collectSkillSourceFreshness: () => Effect.Effect<ReadonlyArray<ExtensionSourceFreshnessEntry>, AppError, FileSystem.FileSystem | Path.Path | WorkspaceMutations | SourceHostProviders | Scope.Scope>;
31
53
  /**
32
54
  * Collect currency entries for all enabled, registry-sourced skills.
33
55
  */
@@ -52,4 +74,5 @@ export declare const collectPackCurrency: (client: RegistryClient) => Effect.Eff
52
74
  * Collect currency entries for all extension types and merge into a single array.
53
75
  */
54
76
  export declare const collectAllCurrencyEntries: (client: RegistryClient) => Effect.Effect<ReadonlyArray<ExtensionCurrencyEntry>, AppError, WorkspaceMutations>;
77
+ export declare const collectAllUpdateEntries: (client: RegistryClient) => Effect.Effect<ReadonlyArray<ExtensionUpdateEntry>, AppError, FileSystem.FileSystem | Path.Path | WorkspaceMutations | SourceHostProviders | Scope.Scope>;
55
78
  //# sourceMappingURL=collectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collectors.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/collectors.ts"],"names":[],"mappings":"AAAA;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,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAShF,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,sBAAsB,GACjC,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAShF,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAShF,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAClC,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAShF,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAIhF,CAAC;AAML;;GAEG;AACH,eAAO,MAAM,yBAAyB,GACpC,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAchF,CAAC;AAEL,eAAO,MAAM,uBAAuB,GAClC,QAAQ,cAAc,KACrB,MAAM,CAAC,MAAM,CACd,aAAa,CAAC,oBAAoB,CAAC,EACnC,QAAQ,EACR,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,KAAK,CAAC,KAAK,CASxF,CAAC"}
@@ -13,6 +13,7 @@ import * as Option from "effect/Option";
13
13
  import * as Record from "effect/Record";
14
14
  import { parseRegistrySourcePatternParts } from "../../extensions/registry-source.js";
15
15
  import { isConfiguredEntryEnabled, toExtensionTypePlural } from "../../extensions/index.js";
16
+ import { resolveSource, SourceHostProviders } from "../../source-resolution/index.js";
16
17
  import { WorkspaceMutations } from "../service-interface.js";
17
18
  import { checkCurrency } from "./check-currency.js";
18
19
  // ---------------------------------------------------------------------------
@@ -61,6 +62,7 @@ const collectCurrency = (extensionType, getConfigured, getLocked, client) => Eff
61
62
  return Option.none();
62
63
  const currency = checkCurrency(lockEntry.resolvedVersion, constraint, indexOption.value);
63
64
  return Option.some({
65
+ kind: "registry-version",
64
66
  ref: buildFqn(lockEntry.owner, extensionType, lockEntry.name),
65
67
  type: extensionType,
66
68
  installedVersion: lockEntry.resolvedVersion,
@@ -69,6 +71,95 @@ const collectCurrency = (extensionType, getConfigured, getLocked, client) => Eff
69
71
  });
70
72
  }), { concurrency: "unbounded" }).pipe(Effect.map(Array.getSomes));
71
73
  });
74
+ const isGitHostedLock = (lock) => lock.type === "github" ||
75
+ lock.type === "gitlab" ||
76
+ lock.type === "bitbucket" ||
77
+ lock.type === "azurerepos" ||
78
+ lock.type === "git";
79
+ const sourceFreshnessStatus = (installedTreeHash, currentTreeHash) => {
80
+ if (Option.isNone(installedTreeHash) || Option.isNone(currentTreeHash))
81
+ return "unknown";
82
+ return installedTreeHash.value === currentTreeHash.value ? "current" : "changed";
83
+ };
84
+ const freshnessEntry = ({ localName, extensionType, source, installedTreeHash, currentTreeHash, reason, }) => ({
85
+ kind: "source-freshness",
86
+ ref: `${toExtensionTypePlural(extensionType)}/${localName}`,
87
+ type: extensionType,
88
+ source,
89
+ installedTreeHash,
90
+ currentTreeHash,
91
+ status: Option.isSome(reason)
92
+ ? "unknown"
93
+ : sourceFreshnessStatus(installedTreeHash, currentTreeHash),
94
+ reason,
95
+ });
96
+ const findMatchingSkillRef = (refs, localName) => Option.fromUndefinedOr(refs.find((ref) => typeof ref === "object" &&
97
+ ref !== null &&
98
+ "type" in ref &&
99
+ ref.type === "skill" &&
100
+ "refType" in ref &&
101
+ ref.refType === "git-hosted" &&
102
+ "skill" in ref &&
103
+ typeof ref.skill === "object" &&
104
+ ref.skill !== null &&
105
+ "name" in ref.skill &&
106
+ ref.skill.name === localName));
107
+ export const collectSkillSourceFreshness = () => Effect.gen(function* () {
108
+ const ws = yield* WorkspaceMutations;
109
+ const providers = yield* SourceHostProviders;
110
+ const configured = yield* ws.records.getConfiguredSkills();
111
+ const locked = yield* ws.getLockedSkills();
112
+ const eligible = Object.entries(configured).flatMap(([localName, configEntry]) => {
113
+ if ("enabled" in configEntry && !isConfiguredEntryEnabled(configEntry))
114
+ return [];
115
+ const lockEntry = locked[localName];
116
+ if (lockEntry === undefined || !isGitHostedLock(lockEntry))
117
+ return [];
118
+ return [{ localName, configEntry, lockEntry }];
119
+ });
120
+ return yield* Effect.forEach(eligible, ({ localName, configEntry, lockEntry }) => Effect.gen(function* () {
121
+ const installedTreeHash = Option.fromUndefinedOr(lockEntry.gitTreeHash);
122
+ const sourceResult = yield* resolveSource(configEntry.source).pipe(Effect.result);
123
+ if (sourceResult._tag === "Failure") {
124
+ return freshnessEntry({
125
+ localName,
126
+ extensionType: "skill",
127
+ source: configEntry.source,
128
+ installedTreeHash,
129
+ currentTreeHash: Option.none(),
130
+ reason: Option.some(sourceResult.failure.detail),
131
+ });
132
+ }
133
+ const refsResult = yield* providers
134
+ .find(sourceResult.success, {
135
+ names: [localName],
136
+ type: "skill",
137
+ owner: Option.none(),
138
+ versionRange: Option.none(),
139
+ })
140
+ .pipe(Effect.result);
141
+ if (refsResult._tag === "Failure") {
142
+ return freshnessEntry({
143
+ localName,
144
+ extensionType: "skill",
145
+ source: configEntry.source,
146
+ installedTreeHash,
147
+ currentTreeHash: Option.none(),
148
+ reason: Option.some(refsResult.failure.detail),
149
+ });
150
+ }
151
+ const matchingRef = findMatchingSkillRef(refsResult.success, localName);
152
+ const currentTreeHash = Option.flatMap(matchingRef, (ref) => ref.gitTreeSha);
153
+ return freshnessEntry({
154
+ localName,
155
+ extensionType: "skill",
156
+ source: configEntry.source,
157
+ installedTreeHash,
158
+ currentTreeHash,
159
+ reason: Option.none(),
160
+ });
161
+ }), { concurrency: "unbounded" });
162
+ });
72
163
  // ---------------------------------------------------------------------------
73
164
  // Per-type collectors
74
165
  // ---------------------------------------------------------------------------
@@ -123,4 +214,8 @@ export const collectAllCurrencyEntries = (client) => Effect.gen(function* () {
123
214
  ], { concurrency: "unbounded" });
124
215
  return [...skills, ...commands, ...mcpServers, ...subagents, ...packs];
125
216
  });
217
+ export const collectAllUpdateEntries = (client) => Effect.gen(function* () {
218
+ const [currencyEntries, sourceFreshnessEntries] = yield* Effect.all([collectAllCurrencyEntries(client), collectSkillSourceFreshness()], { concurrency: "unbounded" });
219
+ return [...currencyEntries, ...sourceFreshnessEntries];
220
+ });
126
221
  //# sourceMappingURL=collectors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collectors.js","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/collectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAI5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAuB,MAAM,qBAAqB,CAAC;AAoBzE,8EAA8E;AAC9E,UAAU;AACV,8EAA8E;AAE9E;;GAEG;AACH,MAAM,yBAAyB,GAAG,CAAC,MAAc,EAA+B,EAAE;IAChF,MAAM,KAAK,GAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC;IACtD,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IAC9C,OAAO,MAAM,CAAC,eAAe,C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AAM,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CACxE;QACE,oBAAoB,CAAC,MAAM,CAAC;QAC5B,sBAAsB,CAAC,MAAM,CAAC;QAC9B,wBAAwB,CAAC,MAAM,CAAC;QAChC,uBAAuB,CAAC,MAAM,CAAC;QAC/B,mBAAmB,CAAC,MAAM,CAAC;KAC5B,EACD,EAAE,WAAW,EAAE,WAAW,EAAE,CAC7B,CAAC;IAEF,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,EAAE,GAAG,UAAU,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,MAAsB,EAKtB,EAAE,CACF,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,CAAC,eAAe,EAAE,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CACjE,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,2BAA2B,EAAE,CAAC,EAClE,EAAE,WAAW,EAAE,WAAW,EAAE,CAC7B,CAAC;IAEF,OAAO,CAAC,GAAG,eAAe,EAAE,GAAG,sBAAsB,CAAC,CAAC;AACzD,CAAC,CAAC,CAAC"}
@@ -7,5 +7,5 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  export { checkCurrency, type CurrencyResult, type CurrencyStatus } from "./check-currency.js";
10
- export { collectAllCurrencyEntries, collectCommandCurrency, collectMcpServerCurrency, collectPackCurrency, collectSkillCurrency, collectSubagentCurrency, type ExtensionCurrencyEntry, } from "./collectors.js";
10
+ export { collectAllCurrencyEntries, collectAllUpdateEntries, collectCommandCurrency, collectMcpServerCurrency, collectPackCurrency, collectSkillSourceFreshness, collectSkillCurrency, collectSubagentCurrency, type ExtensionCurrencyEntry, type ExtensionSourceFreshnessEntry, type ExtensionUpdateEntry, } from "./collectors.js";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,KAAK,sBAAsB,GAC5B,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,2BAA2B,EAC3B,oBAAoB,EACpB,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,GAC1B,MAAM,iBAAiB,CAAC"}
@@ -7,5 +7,5 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  export { checkCurrency } from "./check-currency.js";
10
- export { collectAllCurrencyEntries, collectCommandCurrency, collectMcpServerCurrency, collectPackCurrency, collectSkillCurrency, collectSubagentCurrency, } from "./collectors.js";
10
+ export { collectAllCurrencyEntries, collectAllUpdateEntries, collectCommandCurrency, collectMcpServerCurrency, collectPackCurrency, collectSkillSourceFreshness, collectSkillCurrency, collectSubagentCurrency, } from "./collectors.js";
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAA4C,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GAExB,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/unstable/workspace/version-currency/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAA4C,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,2BAA2B,EAC3B,oBAAoB,EACpB,uBAAuB,GAIxB,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentxm/client-core",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "description": "Core library for the axm agent extension manager. Unstable and unsupported — use the axm.sh CLI.",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-MIT",
@@ -245,9 +245,9 @@
245
245
  "includedScripts": []
246
246
  },
247
247
  "dependencies": {
248
- "@effect/platform-node": "4.0.0-beta.64",
248
+ "@effect/platform-node": "4.0.0-beta.84",
249
249
  "@napi-rs/keyring": "^1.3.0",
250
- "effect": "4.0.0-beta.64",
250
+ "effect": "4.0.0-beta.84",
251
251
  "fflate": "^0.8.2",
252
252
  "gray-matter": "^4.0.3",
253
253
  "jsonc-parser": "^3.3.1",
@@ -260,8 +260,8 @@
260
260
  "yaml": "^2.8.4"
261
261
  },
262
262
  "devDependencies": {
263
- "@effect/openapi-generator": "4.0.0-beta.64",
264
- "@effect/vitest": "4.0.0-beta.64",
263
+ "@effect/openapi-generator": "4.0.0-beta.84",
264
+ "@effect/vitest": "4.0.0-beta.84",
265
265
  "@types/bun": "^1.3.13",
266
266
  "@types/proper-lockfile": "^4.1.4",
267
267
  "@types/semver": "^7.5.8",
@@ -269,6 +269,6 @@
269
269
  "swagger2openapi": "^7.0.8",
270
270
  "typescript": "^5.9.3",
271
271
  "vitest": "^4.1.5",
272
- "@agentxm/client-utils": "^0.18.0"
272
+ "@agentxm/client-utils": "^0.19.1"
273
273
  }
274
274
  }