@agentxm/client-core 0.19.2 → 0.20.0

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 (342) hide show
  1. package/dist/src/unstable/agent-capabilities/derive.d.ts +9 -9
  2. package/dist/src/unstable/app-error/builders.js +2 -2
  3. package/dist/src/unstable/app-error/builders.js.map +1 -1
  4. package/dist/src/unstable/commands/index.d.ts +1 -1
  5. package/dist/src/unstable/commands/index.d.ts.map +1 -1
  6. package/dist/src/unstable/commands/index.js.map +1 -1
  7. package/dist/src/unstable/commands/install-artifact.d.ts.map +1 -1
  8. package/dist/src/unstable/commands/install-artifact.js +6 -2
  9. package/dist/src/unstable/commands/install-artifact.js.map +1 -1
  10. package/dist/src/unstable/commands/manager.d.ts.map +1 -1
  11. package/dist/src/unstable/commands/manager.js +33 -5
  12. package/dist/src/unstable/commands/manager.js.map +1 -1
  13. package/dist/src/unstable/commands/operations/disable.js +1 -1
  14. package/dist/src/unstable/commands/operations/disable.js.map +1 -1
  15. package/dist/src/unstable/commands/operations/enable.js +1 -1
  16. package/dist/src/unstable/commands/operations/enable.js.map +1 -1
  17. package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
  18. package/dist/src/unstable/commands/operations/install.js +27 -1
  19. package/dist/src/unstable/commands/operations/install.js.map +1 -1
  20. package/dist/src/unstable/commands/operations/publish.d.ts +2 -2
  21. package/dist/src/unstable/commands/operations/publish.js +3 -3
  22. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  23. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +16 -15
  24. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
  25. package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -1
  26. package/dist/src/unstable/commands/reconciliation-adapter.js +3 -1
  27. package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
  28. package/dist/src/unstable/commands/refs.d.ts +5 -3
  29. package/dist/src/unstable/commands/refs.d.ts.map +1 -1
  30. package/dist/src/unstable/extensions/canonical-path.d.ts +1 -1
  31. package/dist/src/unstable/extensions/canonical-path.d.ts.map +1 -1
  32. package/dist/src/unstable/extensions/canonical-path.js +1 -1
  33. package/dist/src/unstable/extensions/canonical-path.js.map +1 -1
  34. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  35. package/dist/src/unstable/extensions/common.js +4 -2
  36. package/dist/src/unstable/extensions/common.js.map +1 -1
  37. package/dist/src/unstable/extensions/extension-paths.d.ts +1 -1
  38. package/dist/src/unstable/extensions/extension-paths.d.ts.map +1 -1
  39. package/dist/src/unstable/extensions/extension-paths.js +1 -1
  40. package/dist/src/unstable/extensions/extension-paths.js.map +1 -1
  41. package/dist/src/unstable/extensions/index.d.ts +1 -1
  42. package/dist/src/unstable/extensions/index.d.ts.map +1 -1
  43. package/dist/src/unstable/extensions/index.js.map +1 -1
  44. package/dist/src/unstable/extensions/marker-fqn.d.ts +1 -1
  45. package/dist/src/unstable/extensions/marker-fqn.d.ts.map +1 -1
  46. package/dist/src/unstable/extensions/marker-fqn.js +1 -1
  47. package/dist/src/unstable/extensions/marker-fqn.js.map +1 -1
  48. package/dist/src/unstable/extensions/materializable-from-disk.d.ts +4 -2
  49. package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
  50. package/dist/src/unstable/extensions/materializable-from-disk.js +33 -0
  51. package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
  52. package/dist/src/unstable/extensions/operations.d.ts +8 -5
  53. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  54. package/dist/src/unstable/extensions/operations.js +53 -6
  55. package/dist/src/unstable/extensions/operations.js.map +1 -1
  56. package/dist/src/unstable/extensions/ref-base.d.ts +17 -0
  57. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  58. package/dist/src/unstable/files/index.d.ts +1 -1
  59. package/dist/src/unstable/files/index.d.ts.map +1 -1
  60. package/dist/src/unstable/files/index.js.map +1 -1
  61. package/dist/src/unstable/files/manager.d.ts.map +1 -1
  62. package/dist/src/unstable/files/manager.js +38 -5
  63. package/dist/src/unstable/files/manager.js.map +1 -1
  64. package/dist/src/unstable/files/refs.d.ts +5 -3
  65. package/dist/src/unstable/files/refs.d.ts.map +1 -1
  66. package/dist/src/unstable/hooks/index.d.ts +1 -1
  67. package/dist/src/unstable/hooks/index.d.ts.map +1 -1
  68. package/dist/src/unstable/hooks/index.js.map +1 -1
  69. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  70. package/dist/src/unstable/hooks/manager.js +32 -8
  71. package/dist/src/unstable/hooks/manager.js.map +1 -1
  72. package/dist/src/unstable/hooks/refs.d.ts +6 -4
  73. package/dist/src/unstable/hooks/refs.d.ts.map +1 -1
  74. package/dist/src/unstable/install-meta/install-meta.d.ts +4 -4
  75. package/dist/src/unstable/install-meta/install-meta.d.ts.map +1 -1
  76. package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts.map +1 -1
  77. package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js +8 -3
  78. package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js.map +1 -1
  79. package/dist/src/unstable/lint/catalog/workspace/helpers/source-categorize.d.ts +1 -1
  80. package/dist/src/unstable/lint/catalog/workspace/helpers/source-categorize.d.ts.map +1 -1
  81. package/dist/src/unstable/lint/catalog/workspace/helpers/source-categorize.js +14 -0
  82. package/dist/src/unstable/lint/catalog/workspace/helpers/source-categorize.js.map +1 -1
  83. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts.map +1 -1
  84. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js +12 -1
  85. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js.map +1 -1
  86. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts.map +1 -1
  87. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js +4 -2
  88. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js.map +1 -1
  89. package/dist/src/unstable/lint/catalog/workspace/skills-managed.js +1 -1
  90. package/dist/src/unstable/lint/catalog/workspace/skills-managed.js.map +1 -1
  91. package/dist/src/unstable/lint/cli.d.ts +1 -1
  92. package/dist/src/unstable/lint/cli.js +3 -3
  93. package/dist/src/unstable/lint/cli.js.map +1 -1
  94. package/dist/src/unstable/lockfile/index.d.ts +2 -2
  95. package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
  96. package/dist/src/unstable/lockfile/index.js +1 -1
  97. package/dist/src/unstable/lockfile/index.js.map +1 -1
  98. package/dist/src/unstable/lockfile/lockfile.d.ts +1080 -813
  99. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  100. package/dist/src/unstable/lockfile/schema.d.ts +443 -32
  101. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  102. package/dist/src/unstable/lockfile/schema.js +58 -9
  103. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  104. package/dist/src/unstable/mcps/index.d.ts +1 -1
  105. package/dist/src/unstable/mcps/index.d.ts.map +1 -1
  106. package/dist/src/unstable/mcps/index.js.map +1 -1
  107. package/dist/src/unstable/mcps/manager.d.ts.map +1 -1
  108. package/dist/src/unstable/mcps/manager.js +8 -2
  109. package/dist/src/unstable/mcps/manager.js.map +1 -1
  110. package/dist/src/unstable/mcps/metadata.d.ts +2 -2
  111. package/dist/src/unstable/mcps/metadata.d.ts.map +1 -1
  112. package/dist/src/unstable/mcps/metadata.js +4 -0
  113. package/dist/src/unstable/mcps/metadata.js.map +1 -1
  114. package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
  115. package/dist/src/unstable/mcps/operations/install.js +40 -3
  116. package/dist/src/unstable/mcps/operations/install.js.map +1 -1
  117. package/dist/src/unstable/mcps/operations/publish.d.ts +2 -2
  118. package/dist/src/unstable/mcps/operations/publish.js +3 -3
  119. package/dist/src/unstable/mcps/operations/publish.js.map +1 -1
  120. package/dist/src/unstable/mcps/reconciliation-adapter.d.ts.map +1 -1
  121. package/dist/src/unstable/mcps/reconciliation-adapter.js +3 -1
  122. package/dist/src/unstable/mcps/reconciliation-adapter.js.map +1 -1
  123. package/dist/src/unstable/mcps/refs.d.ts +5 -3
  124. package/dist/src/unstable/mcps/refs.d.ts.map +1 -1
  125. package/dist/src/unstable/packaging/reader-io.d.ts +2 -2
  126. package/dist/src/unstable/packs/index.d.ts +1 -1
  127. package/dist/src/unstable/packs/index.d.ts.map +1 -1
  128. package/dist/src/unstable/packs/manager.d.ts +13 -2
  129. package/dist/src/unstable/packs/manager.d.ts.map +1 -1
  130. package/dist/src/unstable/packs/manager.js +153 -7
  131. package/dist/src/unstable/packs/manager.js.map +1 -1
  132. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  133. package/dist/src/unstable/packs/operations/install.js +1 -0
  134. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  135. package/dist/src/unstable/packs/operations/publish.d.ts +2 -2
  136. package/dist/src/unstable/packs/operations/publish.js +3 -3
  137. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  138. package/dist/src/unstable/packs/operations/uninstall.js +1 -1
  139. package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
  140. package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -1
  141. package/dist/src/unstable/packs/reconciliation-adapter.js +3 -1
  142. package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -1
  143. package/dist/src/unstable/packs/refs.d.ts +5 -3
  144. package/dist/src/unstable/packs/refs.d.ts.map +1 -1
  145. package/dist/src/unstable/plan/index.d.ts +1 -2
  146. package/dist/src/unstable/plan/index.d.ts.map +1 -1
  147. package/dist/src/unstable/plan/index.js +1 -2
  148. package/dist/src/unstable/plan/index.js.map +1 -1
  149. package/dist/src/unstable/plan/plan.d.ts +2 -2
  150. package/dist/src/unstable/plan/plan.d.ts.map +1 -1
  151. package/dist/src/unstable/plan/resolve-plan.d.ts +1 -1
  152. package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -1
  153. package/dist/src/unstable/publish/index.d.ts +1 -0
  154. package/dist/src/unstable/publish/index.d.ts.map +1 -1
  155. package/dist/src/unstable/publish/index.js +1 -0
  156. package/dist/src/unstable/publish/index.js.map +1 -1
  157. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  158. package/dist/src/unstable/registry/admin-client.d.ts +42 -42
  159. package/dist/src/unstable/registry/admin-client.d.ts.map +1 -1
  160. package/dist/src/unstable/registry/client.d.ts +8 -0
  161. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  162. package/dist/src/unstable/registry/client.js.map +1 -1
  163. package/dist/src/unstable/registry/index.d.ts +1 -1
  164. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  165. package/dist/src/unstable/registry/index.js.map +1 -1
  166. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  167. package/dist/src/unstable/registry/local-client.js +17 -4
  168. package/dist/src/unstable/registry/local-client.js.map +1 -1
  169. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  170. package/dist/src/unstable/registry/remote-client.js +15 -0
  171. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  172. package/dist/src/unstable/registry/schema.d.ts +1 -0
  173. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  174. package/dist/src/unstable/registry/schema.js +1 -0
  175. package/dist/src/unstable/registry/schema.js.map +1 -1
  176. package/dist/src/unstable/rules/index.d.ts +1 -1
  177. package/dist/src/unstable/rules/index.d.ts.map +1 -1
  178. package/dist/src/unstable/rules/index.js.map +1 -1
  179. package/dist/src/unstable/rules/manager.d.ts.map +1 -1
  180. package/dist/src/unstable/rules/manager.js +34 -4
  181. package/dist/src/unstable/rules/manager.js.map +1 -1
  182. package/dist/src/unstable/rules/refs.d.ts +6 -4
  183. package/dist/src/unstable/rules/refs.d.ts.map +1 -1
  184. package/dist/src/unstable/settings/schema.d.ts +20 -73
  185. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  186. package/dist/src/unstable/settings/schema.js +108 -107
  187. package/dist/src/unstable/settings/schema.js.map +1 -1
  188. package/dist/src/unstable/skills/index.d.ts +1 -1
  189. package/dist/src/unstable/skills/index.d.ts.map +1 -1
  190. package/dist/src/unstable/skills/index.js.map +1 -1
  191. package/dist/src/unstable/skills/manager.d.ts.map +1 -1
  192. package/dist/src/unstable/skills/manager.js +9 -3
  193. package/dist/src/unstable/skills/manager.js.map +1 -1
  194. package/dist/src/unstable/skills/materialization.d.ts.map +1 -1
  195. package/dist/src/unstable/skills/materialization.js +6 -0
  196. package/dist/src/unstable/skills/materialization.js.map +1 -1
  197. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
  198. package/dist/src/unstable/skills/operations/copy.js +5 -4
  199. package/dist/src/unstable/skills/operations/copy.js.map +1 -1
  200. package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
  201. package/dist/src/unstable/skills/operations/disable.js +4 -2
  202. package/dist/src/unstable/skills/operations/disable.js.map +1 -1
  203. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  204. package/dist/src/unstable/skills/operations/install.js +34 -0
  205. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  206. package/dist/src/unstable/skills/operations/publish.d.ts +2 -2
  207. package/dist/src/unstable/skills/operations/publish.js +3 -3
  208. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  209. package/dist/src/unstable/skills/paths.d.ts +1 -1
  210. package/dist/src/unstable/skills/paths.d.ts.map +1 -1
  211. package/dist/src/unstable/skills/reconciliation-adapter.d.ts.map +1 -1
  212. package/dist/src/unstable/skills/reconciliation-adapter.js +3 -1
  213. package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -1
  214. package/dist/src/unstable/skills/refs.d.ts +5 -3
  215. package/dist/src/unstable/skills/refs.d.ts.map +1 -1
  216. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts +9 -8
  217. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -1
  218. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts +9 -9
  219. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -1
  220. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts +8 -7
  221. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -1
  222. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts +8 -8
  223. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -1
  224. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts +8 -7
  225. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -1
  226. package/dist/src/unstable/source-resolution/providers/github/url.d.ts +8 -8
  227. package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -1
  228. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts +8 -7
  229. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -1
  230. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts +8 -8
  231. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -1
  232. package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
  233. package/dist/src/unstable/source-resolution/resolve-source.js +9 -0
  234. package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
  235. package/dist/src/unstable/source-resolution/service.d.ts +1 -1
  236. package/dist/src/unstable/source-resolution/service.d.ts.map +1 -1
  237. package/dist/src/unstable/source-resolution/service.js +15 -0
  238. package/dist/src/unstable/source-resolution/service.js.map +1 -1
  239. package/dist/src/unstable/sources/index.d.ts +2 -1
  240. package/dist/src/unstable/sources/index.d.ts.map +1 -1
  241. package/dist/src/unstable/sources/index.js +1 -0
  242. package/dist/src/unstable/sources/index.js.map +1 -1
  243. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts +3 -1
  244. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  245. package/dist/src/unstable/sources/lock-entry-to-ref.js +106 -14
  246. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  247. package/dist/src/unstable/sources/parser.d.ts +9 -2
  248. package/dist/src/unstable/sources/parser.d.ts.map +1 -1
  249. package/dist/src/unstable/sources/parser.js +22 -7
  250. package/dist/src/unstable/sources/parser.js.map +1 -1
  251. package/dist/src/unstable/sources/printer.d.ts +2 -2
  252. package/dist/src/unstable/sources/printer.d.ts.map +1 -1
  253. package/dist/src/unstable/sources/printer.js +14 -0
  254. package/dist/src/unstable/sources/printer.js.map +1 -1
  255. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
  256. package/dist/src/unstable/sources/source-to-lock-entry.js +10 -0
  257. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
  258. package/dist/src/unstable/sources/types.d.ts +21 -6
  259. package/dist/src/unstable/sources/types.d.ts.map +1 -1
  260. package/dist/src/unstable/sources/types.js +11 -3
  261. package/dist/src/unstable/sources/types.js.map +1 -1
  262. package/dist/src/unstable/sources/workspace.d.ts +13 -0
  263. package/dist/src/unstable/sources/workspace.d.ts.map +1 -0
  264. package/dist/src/unstable/sources/workspace.js +13 -0
  265. package/dist/src/unstable/sources/workspace.js.map +1 -0
  266. package/dist/src/unstable/subagents/index.d.ts +1 -1
  267. package/dist/src/unstable/subagents/index.d.ts.map +1 -1
  268. package/dist/src/unstable/subagents/index.js.map +1 -1
  269. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
  270. package/dist/src/unstable/subagents/lock-entry-builder.js +10 -0
  271. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
  272. package/dist/src/unstable/subagents/manager.d.ts.map +1 -1
  273. package/dist/src/unstable/subagents/manager.js +32 -5
  274. package/dist/src/unstable/subagents/manager.js.map +1 -1
  275. package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
  276. package/dist/src/unstable/subagents/operations/disable.js +2 -1
  277. package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
  278. package/dist/src/unstable/subagents/operations/publish.d.ts +2 -2
  279. package/dist/src/unstable/subagents/operations/publish.js +3 -3
  280. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  281. package/dist/src/unstable/subagents/paths.d.ts +1 -1
  282. package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
  283. package/dist/src/unstable/subagents/reconciliation-adapter.d.ts.map +1 -1
  284. package/dist/src/unstable/subagents/reconciliation-adapter.js +3 -1
  285. package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -1
  286. package/dist/src/unstable/subagents/refs.d.ts +5 -3
  287. package/dist/src/unstable/subagents/refs.d.ts.map +1 -1
  288. package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -1
  289. package/dist/src/unstable/update-check/update-check.d.ts +4 -4
  290. package/dist/src/unstable/update-check/update-check.d.ts.map +1 -1
  291. package/dist/src/unstable/workflows/index.d.ts +1 -1
  292. package/dist/src/unstable/workflows/index.d.ts.map +1 -1
  293. package/dist/src/unstable/workflows/index.js.map +1 -1
  294. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +9 -7
  295. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -1
  296. package/dist/src/unstable/workflows/uninstall-command/workflow.js +1 -1
  297. package/dist/src/unstable/workflows/uninstall-command/workflow.js.map +1 -1
  298. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts +1 -0
  299. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts.map +1 -1
  300. package/dist/src/unstable/workspace/configured-entry-resolution/index.js +1 -0
  301. package/dist/src/unstable/workspace/configured-entry-resolution/index.js.map +1 -1
  302. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +2 -1
  303. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
  304. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +138 -0
  305. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
  306. package/dist/src/unstable/workspace/configured-entry-resolution/workspace-ref.d.ts +24 -0
  307. package/dist/src/unstable/workspace/configured-entry-resolution/workspace-ref.d.ts.map +1 -0
  308. package/dist/src/unstable/workspace/configured-entry-resolution/workspace-ref.js +211 -0
  309. package/dist/src/unstable/workspace/configured-entry-resolution/workspace-ref.js.map +1 -0
  310. package/dist/src/unstable/workspace/index.d.ts +1 -1
  311. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  312. package/dist/src/unstable/workspace/index.js +1 -1
  313. package/dist/src/unstable/workspace/index.js.map +1 -1
  314. package/dist/src/unstable/workspace/initialization.d.ts +354 -398
  315. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  316. package/dist/src/unstable/workspace/initialization.js +1 -1
  317. package/dist/src/unstable/workspace/initialization.js.map +1 -1
  318. package/dist/src/unstable/workspace/read-model/state.d.ts.map +1 -1
  319. package/dist/src/unstable/workspace/read-model/state.js +21 -5
  320. package/dist/src/unstable/workspace/read-model/state.js.map +1 -1
  321. package/dist/src/unstable/workspace/reconciliation-types.d.ts +16 -2
  322. package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -1
  323. package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -1
  324. package/dist/src/unstable/workspace/reconciliation.js +185 -2
  325. package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
  326. package/dist/src/unstable/workspace/service-interface.d.ts +10 -4
  327. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  328. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  329. package/dist/src/unstable/workspace/service.d.ts +916 -653
  330. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  331. package/dist/src/unstable/workspace/service.js +41 -90
  332. package/dist/src/unstable/workspace/service.js.map +1 -1
  333. package/dist/src/unstable/workspace/skill-snapshot.d.ts.map +1 -1
  334. package/dist/src/unstable/workspace/skill-snapshot.js +2 -1
  335. package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -1
  336. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  337. package/dist/src/unstable/workspace/test-stubs.js +1 -0
  338. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  339. package/package.json +6 -6
  340. package/site-content/__generated__/schemas/axm-lock.schema.json +370 -2
  341. package/site-content/__generated__/schemas/pack.schema.json +18 -14
  342. package/site-content/__generated__/schemas/settings.schema.json +102 -103
@@ -20,6 +20,7 @@
20
20
  import * as FileSystem from "effect/FileSystem";
21
21
  import * as Path from "effect/Path";
22
22
  import * as Option from "effect/Option";
23
+ import * as Schema from "effect/Schema";
23
24
  import type { Handle } from "../extensions/handle.js";
24
25
  import { type AppError } from "../app-error/index.js";
25
26
  import { type CommandEntry, type FilesEntry, type HookEntry, type InstructionsConfigValue, type LibraryEntry, type McpServerEntry, type SkillEntry, type SubagentEntry, type PackEntry, type RuleEntry, type SourceHostConfig } from "../settings/index.js";
@@ -37,32 +38,32 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
37
38
  baseDir: string;
38
39
  getLockfileState: () => Effect.Effect<LockfileState, AppError>;
39
40
  getConfiguredSources: () => Effect.Effect<ReadonlyArray<SourceHostConfig>, AppError>;
40
- getConfiguredSourceByName: (name: string) => Effect.Effect<Option.Option<{
41
- readonly name: string;
42
- readonly type: "github";
43
- readonly url: URL;
44
- } | {
45
- readonly name: string;
46
- readonly type: "gitlab";
47
- readonly url: URL;
48
- } | {
49
- readonly name: string;
50
- readonly type: "bitbucket";
51
- readonly url: URL;
52
- } | {
53
- readonly name: string;
54
- readonly type: "azurerepos";
55
- readonly url: URL;
56
- } | {
57
- readonly name: string;
58
- readonly type: "registry";
59
- readonly location: URL;
60
- }>, AppError, never>;
61
- getRegistrySourceHosts: () => Effect.Effect<{
62
- readonly name: string;
63
- readonly type: "registry";
64
- readonly location: URL;
65
- }[], AppError, never>;
41
+ getConfiguredSourceByName: (name: string) => Effect.Effect<Option.Option<Schema.Struct.ReadonlySide<{
42
+ readonly name: Schema.String;
43
+ readonly type: Schema.Literal<"github">;
44
+ readonly url: Schema.URLFromString;
45
+ }, "Type"> | Schema.Struct.ReadonlySide<{
46
+ readonly name: Schema.String;
47
+ readonly type: Schema.Literal<"gitlab">;
48
+ readonly url: Schema.URLFromString;
49
+ }, "Type"> | Schema.Struct.ReadonlySide<{
50
+ readonly name: Schema.String;
51
+ readonly type: Schema.Literal<"bitbucket">;
52
+ readonly url: Schema.URLFromString;
53
+ }, "Type"> | Schema.Struct.ReadonlySide<{
54
+ readonly name: Schema.String;
55
+ readonly type: Schema.Literal<"azurerepos">;
56
+ readonly url: Schema.URLFromString;
57
+ }, "Type"> | Schema.Struct.ReadonlySide<{
58
+ readonly name: Schema.String;
59
+ readonly type: Schema.Literal<"registry">;
60
+ readonly location: Schema.URLFromString;
61
+ }, "Type">>, AppError, never>;
62
+ getRegistrySourceHosts: () => Effect.Effect<Schema.Struct.ReadonlySide<{
63
+ readonly name: Schema.String;
64
+ readonly type: Schema.Literal<"registry">;
65
+ readonly location: Schema.URLFromString;
66
+ }, "Type">[], AppError, never>;
66
67
  records: {
67
68
  getConfiguredSkills: () => Effect.Effect<import("effect/Record").ReadonlyRecord<string, import("./read-model-record-types.ts").ConfiguredSkill>, AppError, never>;
68
69
  getUnmanagedSkills: () => Effect.Effect<import("effect/Record").ReadonlyRecord<string, import("./read-model-record-types.ts").UnmanagedSkill>, AppError, never>;
@@ -84,11 +85,10 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
84
85
  addConfiguredSource: (source: SourceHostConfig) => Effect.Effect<void, AppError, never>;
85
86
  getIgnoredSkillPatterns: () => Effect.Effect<readonly string[], AppError, never>;
86
87
  getConfiguredSkillEntries: () => Effect.Effect<{
87
- readonly [x: string]: {
88
- readonly source: string;
89
- readonly enabled: boolean;
90
- readonly authored: boolean;
91
- };
88
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
89
+ readonly source: Schema.String;
90
+ readonly enabled: Schema.Boolean;
91
+ }, "Type">;
92
92
  }, AppError, never>;
93
93
  getConfiguredAgents: () => Effect.Effect<readonly ("adal" | "aider-desk" | "amp" | "antigravity" | "augment" | "claude-code" | "cline" | "codearts-agent" | "codebuddy" | "codemaker" | "codestudio" | "codex" | "command-code" | "continue" | "cortex" | "crush" | "cursor" | "deepagents" | "devin" | "dexto" | "droid" | "firebender" | "forgecode" | "gemini-cli" | "github-copilot-cli" | "goose" | "grok-cli" | "hermes" | "ibm-bob" | "junie" | "kilo" | "kimi-cli" | "kiro-cli" | "kode" | "mcpjam" | "mistral-vibe" | "mux" | "neovate" | "openclaw" | "opencode" | "openhands" | "pi" | "pochi" | "qoder" | "qwen-code" | "replit" | "roo" | "rovodev" | "tabnine-cli" | "trae-cn" | "trae" | "warp" | "windsurf" | "zencoder")[], AppError, never>;
94
94
  getInstructionsConfig: () => Effect.Effect<Option.Option<false | {
@@ -98,29 +98,25 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
98
98
  setInstructionsConfig: (config: InstructionsConfigValue) => Effect.Effect<void, AppError, never>;
99
99
  getConfiguredMcpServerEntries: () => Effect.Effect<{
100
100
  readonly [x: string]: {
101
- readonly source: string;
102
- readonly enabled: boolean;
103
- readonly authored: boolean;
104
101
  readonly env: {
105
102
  readonly [x: string]: string;
106
103
  };
107
- readonly command?: string | undefined;
108
- readonly args?: readonly string[] | undefined;
104
+ readonly source: string;
105
+ readonly enabled: boolean;
109
106
  readonly url?: string | undefined;
107
+ readonly command?: string | undefined;
110
108
  readonly headers?: {
111
109
  readonly [x: string]: string;
112
110
  } | undefined;
111
+ readonly args?: readonly string[] | undefined;
113
112
  };
114
113
  }, AppError, never>;
115
114
  getConfiguredFilesEntries: () => Effect.Effect<{
116
- readonly [x: string]: {
117
- readonly source: string;
118
- readonly enabled: boolean;
119
- readonly authored: boolean;
120
- readonly inputs: {
121
- readonly [x: string]: string | number | boolean;
122
- };
123
- };
115
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
116
+ readonly source: Schema.String;
117
+ readonly enabled: Schema.Boolean;
118
+ readonly inputs: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>>;
119
+ }, "Type">;
124
120
  }, AppError, never>;
125
121
  getWorkspaceVars: () => Effect.Effect<{
126
122
  readonly [x: string]: string | number | boolean;
@@ -129,11 +125,13 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
129
125
  readonly [x: string]: {
130
126
  readonly type: "github";
131
127
  readonly owner: string;
132
- readonly repo: string;
133
128
  readonly installedAt: Date;
134
129
  readonly updatedAt: Date;
135
- readonly ref?: string | undefined;
130
+ readonly repo: string;
136
131
  readonly path?: string | undefined;
132
+ readonly gitTreeHash?: string | undefined;
133
+ readonly retainedByPack?: boolean | undefined;
134
+ readonly ref?: string | undefined;
137
135
  readonly resolvedInputs?: {
138
136
  readonly [x: string]: string | number | boolean;
139
137
  } | undefined;
@@ -143,16 +141,16 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
143
141
  readonly region?: string | undefined;
144
142
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
145
143
  }[] | undefined;
146
- readonly gitTreeHash?: string | undefined;
147
- readonly retainedByPack?: boolean | undefined;
148
144
  } | {
149
145
  readonly type: "gitlab";
150
146
  readonly owner: string;
151
- readonly repo: string;
152
147
  readonly installedAt: Date;
153
148
  readonly updatedAt: Date;
154
- readonly ref?: string | undefined;
149
+ readonly repo: string;
155
150
  readonly path?: string | undefined;
151
+ readonly gitTreeHash?: string | undefined;
152
+ readonly retainedByPack?: boolean | undefined;
153
+ readonly ref?: string | undefined;
156
154
  readonly resolvedInputs?: {
157
155
  readonly [x: string]: string | number | boolean;
158
156
  } | undefined;
@@ -162,16 +160,16 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
162
160
  readonly region?: string | undefined;
163
161
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
164
162
  }[] | undefined;
165
- readonly gitTreeHash?: string | undefined;
166
- readonly retainedByPack?: boolean | undefined;
167
163
  } | {
168
164
  readonly type: "bitbucket";
169
165
  readonly owner: string;
170
- readonly repo: string;
171
166
  readonly installedAt: Date;
172
167
  readonly updatedAt: Date;
173
- readonly ref?: string | undefined;
168
+ readonly repo: string;
174
169
  readonly path?: string | undefined;
170
+ readonly gitTreeHash?: string | undefined;
171
+ readonly retainedByPack?: boolean | undefined;
172
+ readonly ref?: string | undefined;
175
173
  readonly resolvedInputs?: {
176
174
  readonly [x: string]: string | number | boolean;
177
175
  } | undefined;
@@ -181,17 +179,17 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
181
179
  readonly region?: string | undefined;
182
180
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
183
181
  }[] | undefined;
184
- readonly gitTreeHash?: string | undefined;
185
- readonly retainedByPack?: boolean | undefined;
186
182
  } | {
187
- readonly type: "azurerepos";
188
- readonly organization: string;
189
183
  readonly project: string;
190
- readonly repo: string;
184
+ readonly type: "azurerepos";
191
185
  readonly installedAt: Date;
192
186
  readonly updatedAt: Date;
193
- readonly ref?: string | undefined;
187
+ readonly repo: string;
188
+ readonly organization: string;
194
189
  readonly path?: string | undefined;
190
+ readonly gitTreeHash?: string | undefined;
191
+ readonly retainedByPack?: boolean | undefined;
192
+ readonly ref?: string | undefined;
195
193
  readonly resolvedInputs?: {
196
194
  readonly [x: string]: string | number | boolean;
197
195
  } | undefined;
@@ -201,15 +199,15 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
201
199
  readonly region?: string | undefined;
202
200
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
203
201
  }[] | undefined;
204
- readonly gitTreeHash?: string | undefined;
205
- readonly retainedByPack?: boolean | undefined;
206
202
  } | {
207
- readonly type: "git";
208
203
  readonly url: string;
204
+ readonly type: "git";
209
205
  readonly installedAt: Date;
210
206
  readonly updatedAt: Date;
211
- readonly ref?: string | undefined;
212
207
  readonly path?: string | undefined;
208
+ readonly gitTreeHash?: string | undefined;
209
+ readonly retainedByPack?: boolean | undefined;
210
+ readonly ref?: string | undefined;
213
211
  readonly resolvedInputs?: {
214
212
  readonly [x: string]: string | number | boolean;
215
213
  } | undefined;
@@ -219,13 +217,13 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
219
217
  readonly region?: string | undefined;
220
218
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
221
219
  }[] | undefined;
222
- readonly gitTreeHash?: string | undefined;
223
- readonly retainedByPack?: boolean | undefined;
224
220
  } | {
225
- readonly type: "local";
226
221
  readonly path: string;
222
+ readonly type: "local";
227
223
  readonly installedAt: Date;
228
224
  readonly updatedAt: Date;
225
+ readonly gitTreeHash?: string | undefined;
226
+ readonly retainedByPack?: boolean | undefined;
229
227
  readonly resolvedInputs?: {
230
228
  readonly [x: string]: string | number | boolean;
231
229
  } | undefined;
@@ -235,17 +233,17 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
235
233
  readonly region?: string | undefined;
236
234
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
237
235
  }[] | undefined;
238
- readonly gitTreeHash?: string | undefined;
239
- readonly retainedByPack?: boolean | undefined;
240
236
  } | {
237
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
241
238
  readonly type: "registry";
242
239
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
243
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
240
+ readonly installedAt: Date;
241
+ readonly updatedAt: Date;
244
242
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
245
243
  readonly integrity: string;
246
244
  readonly sourceName: string;
247
- readonly installedAt: Date;
248
- readonly updatedAt: Date;
245
+ readonly gitTreeHash?: string | undefined;
246
+ readonly retainedByPack?: boolean | undefined;
249
247
  readonly resolvedInputs?: {
250
248
  readonly [x: string]: string | number | boolean;
251
249
  } | undefined;
@@ -255,18 +253,38 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
255
253
  readonly region?: string | undefined;
256
254
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
257
255
  }[] | undefined;
256
+ } | {
257
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
258
+ readonly type: "workspace";
259
+ readonly version: string & import("effect/Brand").Brand<"Version">;
260
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
261
+ readonly installedAt: Date;
262
+ readonly updatedAt: Date;
263
+ readonly extensionType: "files";
264
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
258
265
  readonly gitTreeHash?: string | undefined;
259
266
  readonly retainedByPack?: boolean | undefined;
267
+ readonly resolvedInputs?: {
268
+ readonly [x: string]: string | number | boolean;
269
+ } | undefined;
270
+ readonly materializedTargets?: readonly {
271
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
272
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
273
+ readonly region?: string | undefined;
274
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
275
+ }[] | undefined;
260
276
  };
261
277
  }, AppError, never>;
262
278
  getLockedFilesEntry: (name: string) => Effect.Effect<Option.Option<{
263
279
  readonly type: "github";
264
280
  readonly owner: string;
265
- readonly repo: string;
266
281
  readonly installedAt: Date;
267
282
  readonly updatedAt: Date;
268
- readonly ref?: string | undefined;
283
+ readonly repo: string;
269
284
  readonly path?: string | undefined;
285
+ readonly gitTreeHash?: string | undefined;
286
+ readonly retainedByPack?: boolean | undefined;
287
+ readonly ref?: string | undefined;
270
288
  readonly resolvedInputs?: {
271
289
  readonly [x: string]: string | number | boolean;
272
290
  } | undefined;
@@ -276,16 +294,16 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
276
294
  readonly region?: string | undefined;
277
295
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
278
296
  }[] | undefined;
279
- readonly gitTreeHash?: string | undefined;
280
- readonly retainedByPack?: boolean | undefined;
281
297
  } | {
282
298
  readonly type: "gitlab";
283
299
  readonly owner: string;
284
- readonly repo: string;
285
300
  readonly installedAt: Date;
286
301
  readonly updatedAt: Date;
287
- readonly ref?: string | undefined;
302
+ readonly repo: string;
288
303
  readonly path?: string | undefined;
304
+ readonly gitTreeHash?: string | undefined;
305
+ readonly retainedByPack?: boolean | undefined;
306
+ readonly ref?: string | undefined;
289
307
  readonly resolvedInputs?: {
290
308
  readonly [x: string]: string | number | boolean;
291
309
  } | undefined;
@@ -295,16 +313,16 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
295
313
  readonly region?: string | undefined;
296
314
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
297
315
  }[] | undefined;
298
- readonly gitTreeHash?: string | undefined;
299
- readonly retainedByPack?: boolean | undefined;
300
316
  } | {
301
317
  readonly type: "bitbucket";
302
318
  readonly owner: string;
303
- readonly repo: string;
304
319
  readonly installedAt: Date;
305
320
  readonly updatedAt: Date;
306
- readonly ref?: string | undefined;
321
+ readonly repo: string;
307
322
  readonly path?: string | undefined;
323
+ readonly gitTreeHash?: string | undefined;
324
+ readonly retainedByPack?: boolean | undefined;
325
+ readonly ref?: string | undefined;
308
326
  readonly resolvedInputs?: {
309
327
  readonly [x: string]: string | number | boolean;
310
328
  } | undefined;
@@ -314,17 +332,17 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
314
332
  readonly region?: string | undefined;
315
333
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
316
334
  }[] | undefined;
317
- readonly gitTreeHash?: string | undefined;
318
- readonly retainedByPack?: boolean | undefined;
319
335
  } | {
320
- readonly type: "azurerepos";
321
- readonly organization: string;
322
336
  readonly project: string;
323
- readonly repo: string;
337
+ readonly type: "azurerepos";
324
338
  readonly installedAt: Date;
325
339
  readonly updatedAt: Date;
326
- readonly ref?: string | undefined;
340
+ readonly repo: string;
341
+ readonly organization: string;
327
342
  readonly path?: string | undefined;
343
+ readonly gitTreeHash?: string | undefined;
344
+ readonly retainedByPack?: boolean | undefined;
345
+ readonly ref?: string | undefined;
328
346
  readonly resolvedInputs?: {
329
347
  readonly [x: string]: string | number | boolean;
330
348
  } | undefined;
@@ -334,15 +352,15 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
334
352
  readonly region?: string | undefined;
335
353
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
336
354
  }[] | undefined;
337
- readonly gitTreeHash?: string | undefined;
338
- readonly retainedByPack?: boolean | undefined;
339
355
  } | {
340
- readonly type: "git";
341
356
  readonly url: string;
357
+ readonly type: "git";
342
358
  readonly installedAt: Date;
343
359
  readonly updatedAt: Date;
344
- readonly ref?: string | undefined;
345
360
  readonly path?: string | undefined;
361
+ readonly gitTreeHash?: string | undefined;
362
+ readonly retainedByPack?: boolean | undefined;
363
+ readonly ref?: string | undefined;
346
364
  readonly resolvedInputs?: {
347
365
  readonly [x: string]: string | number | boolean;
348
366
  } | undefined;
@@ -352,13 +370,13 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
352
370
  readonly region?: string | undefined;
353
371
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
354
372
  }[] | undefined;
355
- readonly gitTreeHash?: string | undefined;
356
- readonly retainedByPack?: boolean | undefined;
357
373
  } | {
358
- readonly type: "local";
359
374
  readonly path: string;
375
+ readonly type: "local";
360
376
  readonly installedAt: Date;
361
377
  readonly updatedAt: Date;
378
+ readonly gitTreeHash?: string | undefined;
379
+ readonly retainedByPack?: boolean | undefined;
362
380
  readonly resolvedInputs?: {
363
381
  readonly [x: string]: string | number | boolean;
364
382
  } | undefined;
@@ -368,17 +386,17 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
368
386
  readonly region?: string | undefined;
369
387
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
370
388
  }[] | undefined;
371
- readonly gitTreeHash?: string | undefined;
372
- readonly retainedByPack?: boolean | undefined;
373
389
  } | {
390
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
374
391
  readonly type: "registry";
375
392
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
376
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
393
+ readonly installedAt: Date;
394
+ readonly updatedAt: Date;
377
395
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
378
396
  readonly integrity: string;
379
397
  readonly sourceName: string;
380
- readonly installedAt: Date;
381
- readonly updatedAt: Date;
398
+ readonly gitTreeHash?: string | undefined;
399
+ readonly retainedByPack?: boolean | undefined;
382
400
  readonly resolvedInputs?: {
383
401
  readonly [x: string]: string | number | boolean;
384
402
  } | undefined;
@@ -388,8 +406,26 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
388
406
  readonly region?: string | undefined;
389
407
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
390
408
  }[] | undefined;
409
+ } | {
410
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
411
+ readonly type: "workspace";
412
+ readonly version: string & import("effect/Brand").Brand<"Version">;
413
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
414
+ readonly installedAt: Date;
415
+ readonly updatedAt: Date;
416
+ readonly extensionType: "files";
417
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
391
418
  readonly gitTreeHash?: string | undefined;
392
419
  readonly retainedByPack?: boolean | undefined;
420
+ readonly resolvedInputs?: {
421
+ readonly [x: string]: string | number | boolean;
422
+ } | undefined;
423
+ readonly materializedTargets?: readonly {
424
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
425
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
426
+ readonly region?: string | undefined;
427
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
428
+ }[] | undefined;
393
429
  }>, AppError, never>;
394
430
  setFiles: ({ name, lockEntry, versionRange }: SetFilesArgs) => Effect.Effect<void, AppError, never>;
395
431
  setFilesLock: ({ name, lockEntry }: SetFilesArgs) => Effect.Effect<void, AppError, never>;
@@ -399,235 +435,268 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
399
435
  updateFilesEntry: (name: string, updater: (entry: FilesEntry) => FilesEntry) => Effect.Effect<void, AppError, never>;
400
436
  setFilesEntry: (name: string, entry: FilesEntry) => Effect.Effect<void, AppError, never>;
401
437
  getConfiguredRuleEntries: () => Effect.Effect<{
402
- readonly [x: string]: {
403
- readonly source: string;
404
- readonly enabled: boolean;
405
- readonly authored: boolean;
406
- };
438
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
439
+ readonly source: Schema.String;
440
+ readonly enabled: Schema.Boolean;
441
+ }, "Type">;
407
442
  }, AppError, never>;
408
443
  getLockedRules: () => Effect.Effect<{
409
444
  readonly [x: string]: {
410
445
  readonly type: "github";
411
446
  readonly owner: string;
412
- readonly repo: string;
413
447
  readonly installedAt: Date;
414
448
  readonly updatedAt: Date;
415
- readonly ref?: string | undefined;
449
+ readonly repo: string;
416
450
  readonly path?: string | undefined;
451
+ readonly gitTreeHash?: string | undefined;
452
+ readonly retainedByPack?: boolean | undefined;
453
+ readonly ref?: string | undefined;
417
454
  readonly materializedTargets?: readonly {
418
455
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
419
456
  readonly mode: "sync-once" | "sync-always" | "managed-region";
420
457
  readonly region?: string | undefined;
421
458
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
422
459
  }[] | undefined;
423
- readonly gitTreeHash?: string | undefined;
424
- readonly retainedByPack?: boolean | undefined;
425
460
  } | {
426
461
  readonly type: "gitlab";
427
462
  readonly owner: string;
428
- readonly repo: string;
429
463
  readonly installedAt: Date;
430
464
  readonly updatedAt: Date;
431
- readonly ref?: string | undefined;
465
+ readonly repo: string;
432
466
  readonly path?: string | undefined;
467
+ readonly gitTreeHash?: string | undefined;
468
+ readonly retainedByPack?: boolean | undefined;
469
+ readonly ref?: string | undefined;
433
470
  readonly materializedTargets?: readonly {
434
471
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
435
472
  readonly mode: "sync-once" | "sync-always" | "managed-region";
436
473
  readonly region?: string | undefined;
437
474
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
438
475
  }[] | undefined;
439
- readonly gitTreeHash?: string | undefined;
440
- readonly retainedByPack?: boolean | undefined;
441
476
  } | {
442
477
  readonly type: "bitbucket";
443
478
  readonly owner: string;
444
- readonly repo: string;
445
479
  readonly installedAt: Date;
446
480
  readonly updatedAt: Date;
447
- readonly ref?: string | undefined;
481
+ readonly repo: string;
448
482
  readonly path?: string | undefined;
483
+ readonly gitTreeHash?: string | undefined;
484
+ readonly retainedByPack?: boolean | undefined;
485
+ readonly ref?: string | undefined;
449
486
  readonly materializedTargets?: readonly {
450
487
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
451
488
  readonly mode: "sync-once" | "sync-always" | "managed-region";
452
489
  readonly region?: string | undefined;
453
490
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
454
491
  }[] | undefined;
455
- readonly gitTreeHash?: string | undefined;
456
- readonly retainedByPack?: boolean | undefined;
457
492
  } | {
458
- readonly type: "azurerepos";
459
- readonly organization: string;
460
493
  readonly project: string;
461
- readonly repo: string;
494
+ readonly type: "azurerepos";
462
495
  readonly installedAt: Date;
463
496
  readonly updatedAt: Date;
464
- readonly ref?: string | undefined;
497
+ readonly repo: string;
498
+ readonly organization: string;
465
499
  readonly path?: string | undefined;
500
+ readonly gitTreeHash?: string | undefined;
501
+ readonly retainedByPack?: boolean | undefined;
502
+ readonly ref?: string | undefined;
466
503
  readonly materializedTargets?: readonly {
467
504
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
468
505
  readonly mode: "sync-once" | "sync-always" | "managed-region";
469
506
  readonly region?: string | undefined;
470
507
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
471
508
  }[] | undefined;
472
- readonly gitTreeHash?: string | undefined;
473
- readonly retainedByPack?: boolean | undefined;
474
509
  } | {
475
- readonly type: "git";
476
510
  readonly url: string;
511
+ readonly type: "git";
477
512
  readonly installedAt: Date;
478
513
  readonly updatedAt: Date;
479
- readonly ref?: string | undefined;
480
514
  readonly path?: string | undefined;
515
+ readonly gitTreeHash?: string | undefined;
516
+ readonly retainedByPack?: boolean | undefined;
517
+ readonly ref?: string | undefined;
481
518
  readonly materializedTargets?: readonly {
482
519
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
483
520
  readonly mode: "sync-once" | "sync-always" | "managed-region";
484
521
  readonly region?: string | undefined;
485
522
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
486
523
  }[] | undefined;
487
- readonly gitTreeHash?: string | undefined;
488
- readonly retainedByPack?: boolean | undefined;
489
524
  } | {
490
- readonly type: "local";
491
525
  readonly path: string;
526
+ readonly type: "local";
492
527
  readonly installedAt: Date;
493
528
  readonly updatedAt: Date;
529
+ readonly gitTreeHash?: string | undefined;
530
+ readonly retainedByPack?: boolean | undefined;
494
531
  readonly materializedTargets?: readonly {
495
532
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
496
533
  readonly mode: "sync-once" | "sync-always" | "managed-region";
497
534
  readonly region?: string | undefined;
498
535
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
499
536
  }[] | undefined;
500
- readonly gitTreeHash?: string | undefined;
501
- readonly retainedByPack?: boolean | undefined;
502
537
  } | {
538
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
503
539
  readonly type: "registry";
504
540
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
505
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
541
+ readonly installedAt: Date;
542
+ readonly updatedAt: Date;
506
543
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
507
544
  readonly integrity: string;
508
545
  readonly sourceName: string;
509
- readonly installedAt: Date;
510
- readonly updatedAt: Date;
546
+ readonly gitTreeHash?: string | undefined;
547
+ readonly retainedByPack?: boolean | undefined;
511
548
  readonly materializedTargets?: readonly {
512
549
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
513
550
  readonly mode: "sync-once" | "sync-always" | "managed-region";
514
551
  readonly region?: string | undefined;
515
552
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
516
553
  }[] | undefined;
554
+ } | {
555
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
556
+ readonly type: "workspace";
557
+ readonly version: string & import("effect/Brand").Brand<"Version">;
558
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
559
+ readonly installedAt: Date;
560
+ readonly updatedAt: Date;
561
+ readonly extensionType: "rule";
562
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
517
563
  readonly gitTreeHash?: string | undefined;
518
564
  readonly retainedByPack?: boolean | undefined;
565
+ readonly materializedTargets?: readonly {
566
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
567
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
568
+ readonly region?: string | undefined;
569
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
570
+ }[] | undefined;
519
571
  };
520
572
  }, AppError, never>;
521
573
  getLockedRuleEntry: (name: string) => Effect.Effect<Option.Option<{
522
574
  readonly type: "github";
523
575
  readonly owner: string;
524
- readonly repo: string;
525
576
  readonly installedAt: Date;
526
577
  readonly updatedAt: Date;
527
- readonly ref?: string | undefined;
578
+ readonly repo: string;
528
579
  readonly path?: string | undefined;
580
+ readonly gitTreeHash?: string | undefined;
581
+ readonly retainedByPack?: boolean | undefined;
582
+ readonly ref?: string | undefined;
529
583
  readonly materializedTargets?: readonly {
530
584
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
531
585
  readonly mode: "sync-once" | "sync-always" | "managed-region";
532
586
  readonly region?: string | undefined;
533
587
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
534
588
  }[] | undefined;
535
- readonly gitTreeHash?: string | undefined;
536
- readonly retainedByPack?: boolean | undefined;
537
589
  } | {
538
590
  readonly type: "gitlab";
539
591
  readonly owner: string;
540
- readonly repo: string;
541
592
  readonly installedAt: Date;
542
593
  readonly updatedAt: Date;
543
- readonly ref?: string | undefined;
594
+ readonly repo: string;
544
595
  readonly path?: string | undefined;
596
+ readonly gitTreeHash?: string | undefined;
597
+ readonly retainedByPack?: boolean | undefined;
598
+ readonly ref?: string | undefined;
545
599
  readonly materializedTargets?: readonly {
546
600
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
547
601
  readonly mode: "sync-once" | "sync-always" | "managed-region";
548
602
  readonly region?: string | undefined;
549
603
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
550
604
  }[] | undefined;
551
- readonly gitTreeHash?: string | undefined;
552
- readonly retainedByPack?: boolean | undefined;
553
605
  } | {
554
606
  readonly type: "bitbucket";
555
607
  readonly owner: string;
556
- readonly repo: string;
557
608
  readonly installedAt: Date;
558
609
  readonly updatedAt: Date;
559
- readonly ref?: string | undefined;
610
+ readonly repo: string;
560
611
  readonly path?: string | undefined;
612
+ readonly gitTreeHash?: string | undefined;
613
+ readonly retainedByPack?: boolean | undefined;
614
+ readonly ref?: string | undefined;
561
615
  readonly materializedTargets?: readonly {
562
616
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
563
617
  readonly mode: "sync-once" | "sync-always" | "managed-region";
564
618
  readonly region?: string | undefined;
565
619
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
566
620
  }[] | undefined;
567
- readonly gitTreeHash?: string | undefined;
568
- readonly retainedByPack?: boolean | undefined;
569
621
  } | {
570
- readonly type: "azurerepos";
571
- readonly organization: string;
572
622
  readonly project: string;
573
- readonly repo: string;
623
+ readonly type: "azurerepos";
574
624
  readonly installedAt: Date;
575
625
  readonly updatedAt: Date;
576
- readonly ref?: string | undefined;
626
+ readonly repo: string;
627
+ readonly organization: string;
577
628
  readonly path?: string | undefined;
629
+ readonly gitTreeHash?: string | undefined;
630
+ readonly retainedByPack?: boolean | undefined;
631
+ readonly ref?: string | undefined;
578
632
  readonly materializedTargets?: readonly {
579
633
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
580
634
  readonly mode: "sync-once" | "sync-always" | "managed-region";
581
635
  readonly region?: string | undefined;
582
636
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
583
637
  }[] | undefined;
584
- readonly gitTreeHash?: string | undefined;
585
- readonly retainedByPack?: boolean | undefined;
586
638
  } | {
587
- readonly type: "git";
588
639
  readonly url: string;
640
+ readonly type: "git";
589
641
  readonly installedAt: Date;
590
642
  readonly updatedAt: Date;
591
- readonly ref?: string | undefined;
592
643
  readonly path?: string | undefined;
644
+ readonly gitTreeHash?: string | undefined;
645
+ readonly retainedByPack?: boolean | undefined;
646
+ readonly ref?: string | undefined;
593
647
  readonly materializedTargets?: readonly {
594
648
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
595
649
  readonly mode: "sync-once" | "sync-always" | "managed-region";
596
650
  readonly region?: string | undefined;
597
651
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
598
652
  }[] | undefined;
599
- readonly gitTreeHash?: string | undefined;
600
- readonly retainedByPack?: boolean | undefined;
601
653
  } | {
602
- readonly type: "local";
603
654
  readonly path: string;
655
+ readonly type: "local";
604
656
  readonly installedAt: Date;
605
657
  readonly updatedAt: Date;
658
+ readonly gitTreeHash?: string | undefined;
659
+ readonly retainedByPack?: boolean | undefined;
606
660
  readonly materializedTargets?: readonly {
607
661
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
608
662
  readonly mode: "sync-once" | "sync-always" | "managed-region";
609
663
  readonly region?: string | undefined;
610
664
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
611
665
  }[] | undefined;
612
- readonly gitTreeHash?: string | undefined;
613
- readonly retainedByPack?: boolean | undefined;
614
666
  } | {
667
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
615
668
  readonly type: "registry";
616
669
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
617
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
670
+ readonly installedAt: Date;
671
+ readonly updatedAt: Date;
618
672
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
619
673
  readonly integrity: string;
620
674
  readonly sourceName: string;
621
- readonly installedAt: Date;
622
- readonly updatedAt: Date;
675
+ readonly gitTreeHash?: string | undefined;
676
+ readonly retainedByPack?: boolean | undefined;
623
677
  readonly materializedTargets?: readonly {
624
678
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
625
679
  readonly mode: "sync-once" | "sync-always" | "managed-region";
626
680
  readonly region?: string | undefined;
627
681
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
628
682
  }[] | undefined;
683
+ } | {
684
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
685
+ readonly type: "workspace";
686
+ readonly version: string & import("effect/Brand").Brand<"Version">;
687
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
688
+ readonly installedAt: Date;
689
+ readonly updatedAt: Date;
690
+ readonly extensionType: "rule";
691
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
629
692
  readonly gitTreeHash?: string | undefined;
630
693
  readonly retainedByPack?: boolean | undefined;
694
+ readonly materializedTargets?: readonly {
695
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
696
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
697
+ readonly region?: string | undefined;
698
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
699
+ }[] | undefined;
631
700
  }>, AppError, never>;
632
701
  setRule: ({ name, lockEntry, versionRange }: SetRuleArgs) => Effect.Effect<void, AppError, never>;
633
702
  setRuleLock: ({ name, lockEntry }: SetRuleArgs) => Effect.Effect<void, AppError, never>;
@@ -637,235 +706,268 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
637
706
  updateRuleEntry: (name: string, updater: (entry: RuleEntry) => RuleEntry) => Effect.Effect<void, AppError, never>;
638
707
  setRuleEntry: (name: string, entry: RuleEntry) => Effect.Effect<void, AppError, never>;
639
708
  getConfiguredHookEntries: () => Effect.Effect<{
640
- readonly [x: string]: {
641
- readonly source: string;
642
- readonly enabled: boolean;
643
- readonly authored: boolean;
644
- };
709
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
710
+ readonly source: Schema.String;
711
+ readonly enabled: Schema.Boolean;
712
+ }, "Type">;
645
713
  }, AppError, never>;
646
714
  getLockedHooks: () => Effect.Effect<{
647
715
  readonly [x: string]: {
648
716
  readonly type: "github";
649
717
  readonly owner: string;
650
- readonly repo: string;
651
718
  readonly installedAt: Date;
652
719
  readonly updatedAt: Date;
653
- readonly ref?: string | undefined;
720
+ readonly repo: string;
654
721
  readonly path?: string | undefined;
722
+ readonly gitTreeHash?: string | undefined;
723
+ readonly retainedByPack?: boolean | undefined;
724
+ readonly ref?: string | undefined;
655
725
  readonly materializedTargets?: readonly {
656
726
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
657
727
  readonly mode: "sync-once" | "sync-always" | "managed-region";
658
728
  readonly region?: string | undefined;
659
729
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
660
730
  }[] | undefined;
661
- readonly gitTreeHash?: string | undefined;
662
- readonly retainedByPack?: boolean | undefined;
663
731
  } | {
664
732
  readonly type: "gitlab";
665
733
  readonly owner: string;
666
- readonly repo: string;
667
734
  readonly installedAt: Date;
668
735
  readonly updatedAt: Date;
669
- readonly ref?: string | undefined;
736
+ readonly repo: string;
670
737
  readonly path?: string | undefined;
738
+ readonly gitTreeHash?: string | undefined;
739
+ readonly retainedByPack?: boolean | undefined;
740
+ readonly ref?: string | undefined;
671
741
  readonly materializedTargets?: readonly {
672
742
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
673
743
  readonly mode: "sync-once" | "sync-always" | "managed-region";
674
744
  readonly region?: string | undefined;
675
745
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
676
746
  }[] | undefined;
677
- readonly gitTreeHash?: string | undefined;
678
- readonly retainedByPack?: boolean | undefined;
679
747
  } | {
680
748
  readonly type: "bitbucket";
681
749
  readonly owner: string;
682
- readonly repo: string;
683
750
  readonly installedAt: Date;
684
751
  readonly updatedAt: Date;
685
- readonly ref?: string | undefined;
752
+ readonly repo: string;
686
753
  readonly path?: string | undefined;
754
+ readonly gitTreeHash?: string | undefined;
755
+ readonly retainedByPack?: boolean | undefined;
756
+ readonly ref?: string | undefined;
687
757
  readonly materializedTargets?: readonly {
688
758
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
689
759
  readonly mode: "sync-once" | "sync-always" | "managed-region";
690
760
  readonly region?: string | undefined;
691
761
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
692
762
  }[] | undefined;
693
- readonly gitTreeHash?: string | undefined;
694
- readonly retainedByPack?: boolean | undefined;
695
763
  } | {
696
- readonly type: "azurerepos";
697
- readonly organization: string;
698
764
  readonly project: string;
699
- readonly repo: string;
765
+ readonly type: "azurerepos";
700
766
  readonly installedAt: Date;
701
767
  readonly updatedAt: Date;
702
- readonly ref?: string | undefined;
768
+ readonly repo: string;
769
+ readonly organization: string;
703
770
  readonly path?: string | undefined;
771
+ readonly gitTreeHash?: string | undefined;
772
+ readonly retainedByPack?: boolean | undefined;
773
+ readonly ref?: string | undefined;
704
774
  readonly materializedTargets?: readonly {
705
775
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
706
776
  readonly mode: "sync-once" | "sync-always" | "managed-region";
707
777
  readonly region?: string | undefined;
708
778
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
709
779
  }[] | undefined;
710
- readonly gitTreeHash?: string | undefined;
711
- readonly retainedByPack?: boolean | undefined;
712
780
  } | {
713
- readonly type: "git";
714
781
  readonly url: string;
782
+ readonly type: "git";
715
783
  readonly installedAt: Date;
716
784
  readonly updatedAt: Date;
717
- readonly ref?: string | undefined;
718
785
  readonly path?: string | undefined;
786
+ readonly gitTreeHash?: string | undefined;
787
+ readonly retainedByPack?: boolean | undefined;
788
+ readonly ref?: string | undefined;
719
789
  readonly materializedTargets?: readonly {
720
790
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
721
791
  readonly mode: "sync-once" | "sync-always" | "managed-region";
722
792
  readonly region?: string | undefined;
723
793
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
724
794
  }[] | undefined;
725
- readonly gitTreeHash?: string | undefined;
726
- readonly retainedByPack?: boolean | undefined;
727
795
  } | {
728
- readonly type: "local";
729
796
  readonly path: string;
797
+ readonly type: "local";
730
798
  readonly installedAt: Date;
731
799
  readonly updatedAt: Date;
800
+ readonly gitTreeHash?: string | undefined;
801
+ readonly retainedByPack?: boolean | undefined;
732
802
  readonly materializedTargets?: readonly {
733
803
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
734
804
  readonly mode: "sync-once" | "sync-always" | "managed-region";
735
805
  readonly region?: string | undefined;
736
806
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
737
807
  }[] | undefined;
738
- readonly gitTreeHash?: string | undefined;
739
- readonly retainedByPack?: boolean | undefined;
740
808
  } | {
809
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
741
810
  readonly type: "registry";
742
811
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
743
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
812
+ readonly installedAt: Date;
813
+ readonly updatedAt: Date;
744
814
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
745
815
  readonly integrity: string;
746
816
  readonly sourceName: string;
747
- readonly installedAt: Date;
748
- readonly updatedAt: Date;
817
+ readonly gitTreeHash?: string | undefined;
818
+ readonly retainedByPack?: boolean | undefined;
749
819
  readonly materializedTargets?: readonly {
750
820
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
751
821
  readonly mode: "sync-once" | "sync-always" | "managed-region";
752
822
  readonly region?: string | undefined;
753
823
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
754
824
  }[] | undefined;
825
+ } | {
826
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
827
+ readonly type: "workspace";
828
+ readonly version: string & import("effect/Brand").Brand<"Version">;
829
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
830
+ readonly installedAt: Date;
831
+ readonly updatedAt: Date;
832
+ readonly extensionType: "hook";
833
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
755
834
  readonly gitTreeHash?: string | undefined;
756
835
  readonly retainedByPack?: boolean | undefined;
836
+ readonly materializedTargets?: readonly {
837
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
838
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
839
+ readonly region?: string | undefined;
840
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
841
+ }[] | undefined;
757
842
  };
758
843
  }, AppError, never>;
759
844
  getLockedHookEntry: (name: string) => Effect.Effect<Option.Option<{
760
845
  readonly type: "github";
761
846
  readonly owner: string;
762
- readonly repo: string;
763
847
  readonly installedAt: Date;
764
848
  readonly updatedAt: Date;
765
- readonly ref?: string | undefined;
849
+ readonly repo: string;
766
850
  readonly path?: string | undefined;
851
+ readonly gitTreeHash?: string | undefined;
852
+ readonly retainedByPack?: boolean | undefined;
853
+ readonly ref?: string | undefined;
767
854
  readonly materializedTargets?: readonly {
768
855
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
769
856
  readonly mode: "sync-once" | "sync-always" | "managed-region";
770
857
  readonly region?: string | undefined;
771
858
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
772
859
  }[] | undefined;
773
- readonly gitTreeHash?: string | undefined;
774
- readonly retainedByPack?: boolean | undefined;
775
860
  } | {
776
861
  readonly type: "gitlab";
777
862
  readonly owner: string;
778
- readonly repo: string;
779
863
  readonly installedAt: Date;
780
864
  readonly updatedAt: Date;
781
- readonly ref?: string | undefined;
865
+ readonly repo: string;
782
866
  readonly path?: string | undefined;
867
+ readonly gitTreeHash?: string | undefined;
868
+ readonly retainedByPack?: boolean | undefined;
869
+ readonly ref?: string | undefined;
783
870
  readonly materializedTargets?: readonly {
784
871
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
785
872
  readonly mode: "sync-once" | "sync-always" | "managed-region";
786
873
  readonly region?: string | undefined;
787
874
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
788
875
  }[] | undefined;
789
- readonly gitTreeHash?: string | undefined;
790
- readonly retainedByPack?: boolean | undefined;
791
876
  } | {
792
877
  readonly type: "bitbucket";
793
878
  readonly owner: string;
794
- readonly repo: string;
795
879
  readonly installedAt: Date;
796
880
  readonly updatedAt: Date;
797
- readonly ref?: string | undefined;
881
+ readonly repo: string;
798
882
  readonly path?: string | undefined;
883
+ readonly gitTreeHash?: string | undefined;
884
+ readonly retainedByPack?: boolean | undefined;
885
+ readonly ref?: string | undefined;
799
886
  readonly materializedTargets?: readonly {
800
887
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
801
888
  readonly mode: "sync-once" | "sync-always" | "managed-region";
802
889
  readonly region?: string | undefined;
803
890
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
804
891
  }[] | undefined;
805
- readonly gitTreeHash?: string | undefined;
806
- readonly retainedByPack?: boolean | undefined;
807
892
  } | {
808
- readonly type: "azurerepos";
809
- readonly organization: string;
810
893
  readonly project: string;
811
- readonly repo: string;
894
+ readonly type: "azurerepos";
812
895
  readonly installedAt: Date;
813
896
  readonly updatedAt: Date;
814
- readonly ref?: string | undefined;
897
+ readonly repo: string;
898
+ readonly organization: string;
815
899
  readonly path?: string | undefined;
900
+ readonly gitTreeHash?: string | undefined;
901
+ readonly retainedByPack?: boolean | undefined;
902
+ readonly ref?: string | undefined;
816
903
  readonly materializedTargets?: readonly {
817
904
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
818
905
  readonly mode: "sync-once" | "sync-always" | "managed-region";
819
906
  readonly region?: string | undefined;
820
907
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
821
908
  }[] | undefined;
822
- readonly gitTreeHash?: string | undefined;
823
- readonly retainedByPack?: boolean | undefined;
824
909
  } | {
825
- readonly type: "git";
826
910
  readonly url: string;
911
+ readonly type: "git";
827
912
  readonly installedAt: Date;
828
913
  readonly updatedAt: Date;
829
- readonly ref?: string | undefined;
830
914
  readonly path?: string | undefined;
915
+ readonly gitTreeHash?: string | undefined;
916
+ readonly retainedByPack?: boolean | undefined;
917
+ readonly ref?: string | undefined;
831
918
  readonly materializedTargets?: readonly {
832
919
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
833
920
  readonly mode: "sync-once" | "sync-always" | "managed-region";
834
921
  readonly region?: string | undefined;
835
922
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
836
923
  }[] | undefined;
837
- readonly gitTreeHash?: string | undefined;
838
- readonly retainedByPack?: boolean | undefined;
839
924
  } | {
840
- readonly type: "local";
841
925
  readonly path: string;
926
+ readonly type: "local";
842
927
  readonly installedAt: Date;
843
928
  readonly updatedAt: Date;
929
+ readonly gitTreeHash?: string | undefined;
930
+ readonly retainedByPack?: boolean | undefined;
844
931
  readonly materializedTargets?: readonly {
845
932
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
846
933
  readonly mode: "sync-once" | "sync-always" | "managed-region";
847
934
  readonly region?: string | undefined;
848
935
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
849
936
  }[] | undefined;
850
- readonly gitTreeHash?: string | undefined;
851
- readonly retainedByPack?: boolean | undefined;
852
937
  } | {
938
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
853
939
  readonly type: "registry";
854
940
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
855
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
941
+ readonly installedAt: Date;
942
+ readonly updatedAt: Date;
856
943
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
857
944
  readonly integrity: string;
858
945
  readonly sourceName: string;
859
- readonly installedAt: Date;
860
- readonly updatedAt: Date;
946
+ readonly gitTreeHash?: string | undefined;
947
+ readonly retainedByPack?: boolean | undefined;
861
948
  readonly materializedTargets?: readonly {
862
949
  readonly target: string & import("effect/Brand").Brand<"RelativePath">;
863
950
  readonly mode: "sync-once" | "sync-always" | "managed-region";
864
951
  readonly region?: string | undefined;
865
952
  readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
866
953
  }[] | undefined;
954
+ } | {
955
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
956
+ readonly type: "workspace";
957
+ readonly version: string & import("effect/Brand").Brand<"Version">;
958
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
959
+ readonly installedAt: Date;
960
+ readonly updatedAt: Date;
961
+ readonly extensionType: "hook";
962
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
867
963
  readonly gitTreeHash?: string | undefined;
868
964
  readonly retainedByPack?: boolean | undefined;
965
+ readonly materializedTargets?: readonly {
966
+ readonly target: string & import("effect/Brand").Brand<"RelativePath">;
967
+ readonly mode: "sync-once" | "sync-always" | "managed-region";
968
+ readonly region?: string | undefined;
969
+ readonly renderHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
970
+ }[] | undefined;
869
971
  }>, AppError, never>;
870
972
  setHook: ({ name, lockEntry, versionRange }: SetHookArgs) => Effect.Effect<void, AppError, never>;
871
973
  setHookLock: ({ name, lockEntry }: SetHookArgs) => Effect.Effect<void, AppError, never>;
@@ -878,239 +980,273 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
878
980
  readonly [x: string]: {
879
981
  readonly type: "github";
880
982
  readonly owner: string;
881
- readonly repo: string;
882
983
  readonly installedAt: Date;
883
984
  readonly updatedAt: Date;
884
985
  readonly agents: readonly string[];
885
- readonly ref?: string | undefined;
986
+ readonly repo: string;
886
987
  readonly path?: string | undefined;
988
+ readonly gitTreeHash?: string | undefined;
989
+ readonly retainedByPack?: boolean | undefined;
990
+ readonly ref?: string | undefined;
887
991
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
888
992
  readonly renderedFiles?: {
889
- readonly [x: string]: readonly {
890
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
891
- }[];
993
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
994
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
995
+ }, "Type">[];
892
996
  } | undefined;
893
- readonly gitTreeHash?: string | undefined;
894
- readonly retainedByPack?: boolean | undefined;
895
997
  } | {
896
998
  readonly type: "gitlab";
897
999
  readonly owner: string;
898
- readonly repo: string;
899
1000
  readonly installedAt: Date;
900
1001
  readonly updatedAt: Date;
901
1002
  readonly agents: readonly string[];
902
- readonly ref?: string | undefined;
1003
+ readonly repo: string;
903
1004
  readonly path?: string | undefined;
1005
+ readonly gitTreeHash?: string | undefined;
1006
+ readonly retainedByPack?: boolean | undefined;
1007
+ readonly ref?: string | undefined;
904
1008
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
905
1009
  readonly renderedFiles?: {
906
- readonly [x: string]: readonly {
907
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
908
- }[];
1010
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1011
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1012
+ }, "Type">[];
909
1013
  } | undefined;
910
- readonly gitTreeHash?: string | undefined;
911
- readonly retainedByPack?: boolean | undefined;
912
1014
  } | {
913
1015
  readonly type: "bitbucket";
914
1016
  readonly owner: string;
915
- readonly repo: string;
916
1017
  readonly installedAt: Date;
917
1018
  readonly updatedAt: Date;
918
1019
  readonly agents: readonly string[];
919
- readonly ref?: string | undefined;
1020
+ readonly repo: string;
920
1021
  readonly path?: string | undefined;
1022
+ readonly gitTreeHash?: string | undefined;
1023
+ readonly retainedByPack?: boolean | undefined;
1024
+ readonly ref?: string | undefined;
921
1025
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
922
1026
  readonly renderedFiles?: {
923
- readonly [x: string]: readonly {
924
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
925
- }[];
1027
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1028
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1029
+ }, "Type">[];
926
1030
  } | undefined;
927
- readonly gitTreeHash?: string | undefined;
928
- readonly retainedByPack?: boolean | undefined;
929
1031
  } | {
930
- readonly type: "azurerepos";
931
- readonly organization: string;
932
1032
  readonly project: string;
933
- readonly repo: string;
1033
+ readonly type: "azurerepos";
934
1034
  readonly installedAt: Date;
935
1035
  readonly updatedAt: Date;
936
1036
  readonly agents: readonly string[];
937
- readonly ref?: string | undefined;
1037
+ readonly repo: string;
1038
+ readonly organization: string;
938
1039
  readonly path?: string | undefined;
1040
+ readonly gitTreeHash?: string | undefined;
1041
+ readonly retainedByPack?: boolean | undefined;
1042
+ readonly ref?: string | undefined;
939
1043
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
940
1044
  readonly renderedFiles?: {
941
- readonly [x: string]: readonly {
942
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
943
- }[];
1045
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1046
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1047
+ }, "Type">[];
944
1048
  } | undefined;
945
- readonly gitTreeHash?: string | undefined;
946
- readonly retainedByPack?: boolean | undefined;
947
1049
  } | {
948
- readonly type: "git";
949
1050
  readonly url: string;
1051
+ readonly type: "git";
950
1052
  readonly installedAt: Date;
951
1053
  readonly updatedAt: Date;
952
1054
  readonly agents: readonly string[];
953
- readonly ref?: string | undefined;
954
1055
  readonly path?: string | undefined;
1056
+ readonly gitTreeHash?: string | undefined;
1057
+ readonly retainedByPack?: boolean | undefined;
1058
+ readonly ref?: string | undefined;
955
1059
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
956
1060
  readonly renderedFiles?: {
957
- readonly [x: string]: readonly {
958
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
959
- }[];
1061
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1062
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1063
+ }, "Type">[];
960
1064
  } | undefined;
961
- readonly gitTreeHash?: string | undefined;
962
- readonly retainedByPack?: boolean | undefined;
963
1065
  } | {
964
- readonly type: "local";
965
1066
  readonly path: string;
1067
+ readonly type: "local";
966
1068
  readonly installedAt: Date;
967
1069
  readonly updatedAt: Date;
968
1070
  readonly agents: readonly string[];
1071
+ readonly gitTreeHash?: string | undefined;
1072
+ readonly retainedByPack?: boolean | undefined;
969
1073
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
970
1074
  readonly renderedFiles?: {
971
- readonly [x: string]: readonly {
972
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
973
- }[];
1075
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1076
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1077
+ }, "Type">[];
974
1078
  } | undefined;
975
- readonly gitTreeHash?: string | undefined;
976
- readonly retainedByPack?: boolean | undefined;
977
1079
  } | {
1080
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
978
1081
  readonly type: "registry";
979
1082
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
980
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
981
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
982
- readonly integrity: string;
983
- readonly sourceName: string;
984
1083
  readonly installedAt: Date;
985
1084
  readonly updatedAt: Date;
986
1085
  readonly agents: readonly string[];
1086
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1087
+ readonly integrity: string;
1088
+ readonly sourceName: string;
1089
+ readonly gitTreeHash?: string | undefined;
1090
+ readonly retainedByPack?: boolean | undefined;
987
1091
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
988
1092
  readonly renderedFiles?: {
989
- readonly [x: string]: readonly {
990
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
991
- }[];
1093
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1094
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1095
+ }, "Type">[];
992
1096
  } | undefined;
1097
+ } | {
1098
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1099
+ readonly type: "workspace";
1100
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1101
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1102
+ readonly installedAt: Date;
1103
+ readonly updatedAt: Date;
1104
+ readonly extensionType: "skill";
1105
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1106
+ readonly agents: readonly string[];
993
1107
  readonly gitTreeHash?: string | undefined;
994
1108
  readonly retainedByPack?: boolean | undefined;
1109
+ readonly renderedFiles?: {
1110
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1111
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1112
+ }, "Type">[];
1113
+ } | undefined;
995
1114
  };
996
1115
  }, AppError, never>;
997
1116
  getLockedSkill: (name: string) => Effect.Effect<Option.Option<{
998
1117
  readonly type: "github";
999
1118
  readonly owner: string;
1000
- readonly repo: string;
1001
1119
  readonly installedAt: Date;
1002
1120
  readonly updatedAt: Date;
1003
1121
  readonly agents: readonly string[];
1004
- readonly ref?: string | undefined;
1122
+ readonly repo: string;
1005
1123
  readonly path?: string | undefined;
1124
+ readonly gitTreeHash?: string | undefined;
1125
+ readonly retainedByPack?: boolean | undefined;
1126
+ readonly ref?: string | undefined;
1006
1127
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1007
1128
  readonly renderedFiles?: {
1008
- readonly [x: string]: readonly {
1009
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1010
- }[];
1129
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1130
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1131
+ }, "Type">[];
1011
1132
  } | undefined;
1012
- readonly gitTreeHash?: string | undefined;
1013
- readonly retainedByPack?: boolean | undefined;
1014
1133
  } | {
1015
1134
  readonly type: "gitlab";
1016
1135
  readonly owner: string;
1017
- readonly repo: string;
1018
1136
  readonly installedAt: Date;
1019
1137
  readonly updatedAt: Date;
1020
1138
  readonly agents: readonly string[];
1021
- readonly ref?: string | undefined;
1139
+ readonly repo: string;
1022
1140
  readonly path?: string | undefined;
1141
+ readonly gitTreeHash?: string | undefined;
1142
+ readonly retainedByPack?: boolean | undefined;
1143
+ readonly ref?: string | undefined;
1023
1144
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1024
1145
  readonly renderedFiles?: {
1025
- readonly [x: string]: readonly {
1026
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1027
- }[];
1146
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1147
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1148
+ }, "Type">[];
1028
1149
  } | undefined;
1029
- readonly gitTreeHash?: string | undefined;
1030
- readonly retainedByPack?: boolean | undefined;
1031
1150
  } | {
1032
1151
  readonly type: "bitbucket";
1033
1152
  readonly owner: string;
1034
- readonly repo: string;
1035
1153
  readonly installedAt: Date;
1036
1154
  readonly updatedAt: Date;
1037
1155
  readonly agents: readonly string[];
1038
- readonly ref?: string | undefined;
1156
+ readonly repo: string;
1039
1157
  readonly path?: string | undefined;
1158
+ readonly gitTreeHash?: string | undefined;
1159
+ readonly retainedByPack?: boolean | undefined;
1160
+ readonly ref?: string | undefined;
1040
1161
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1041
1162
  readonly renderedFiles?: {
1042
- readonly [x: string]: readonly {
1043
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1044
- }[];
1163
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1164
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1165
+ }, "Type">[];
1045
1166
  } | undefined;
1046
- readonly gitTreeHash?: string | undefined;
1047
- readonly retainedByPack?: boolean | undefined;
1048
1167
  } | {
1049
- readonly type: "azurerepos";
1050
- readonly organization: string;
1051
1168
  readonly project: string;
1052
- readonly repo: string;
1169
+ readonly type: "azurerepos";
1053
1170
  readonly installedAt: Date;
1054
1171
  readonly updatedAt: Date;
1055
1172
  readonly agents: readonly string[];
1056
- readonly ref?: string | undefined;
1173
+ readonly repo: string;
1174
+ readonly organization: string;
1057
1175
  readonly path?: string | undefined;
1176
+ readonly gitTreeHash?: string | undefined;
1177
+ readonly retainedByPack?: boolean | undefined;
1178
+ readonly ref?: string | undefined;
1058
1179
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1059
1180
  readonly renderedFiles?: {
1060
- readonly [x: string]: readonly {
1061
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1062
- }[];
1181
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1182
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1183
+ }, "Type">[];
1063
1184
  } | undefined;
1064
- readonly gitTreeHash?: string | undefined;
1065
- readonly retainedByPack?: boolean | undefined;
1066
1185
  } | {
1067
- readonly type: "git";
1068
1186
  readonly url: string;
1187
+ readonly type: "git";
1069
1188
  readonly installedAt: Date;
1070
1189
  readonly updatedAt: Date;
1071
1190
  readonly agents: readonly string[];
1072
- readonly ref?: string | undefined;
1073
1191
  readonly path?: string | undefined;
1192
+ readonly gitTreeHash?: string | undefined;
1193
+ readonly retainedByPack?: boolean | undefined;
1194
+ readonly ref?: string | undefined;
1074
1195
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1075
1196
  readonly renderedFiles?: {
1076
- readonly [x: string]: readonly {
1077
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1078
- }[];
1197
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1198
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1199
+ }, "Type">[];
1079
1200
  } | undefined;
1080
- readonly gitTreeHash?: string | undefined;
1081
- readonly retainedByPack?: boolean | undefined;
1082
1201
  } | {
1083
- readonly type: "local";
1084
1202
  readonly path: string;
1203
+ readonly type: "local";
1085
1204
  readonly installedAt: Date;
1086
1205
  readonly updatedAt: Date;
1087
1206
  readonly agents: readonly string[];
1207
+ readonly gitTreeHash?: string | undefined;
1208
+ readonly retainedByPack?: boolean | undefined;
1088
1209
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1089
1210
  readonly renderedFiles?: {
1090
- readonly [x: string]: readonly {
1091
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1092
- }[];
1211
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1212
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1213
+ }, "Type">[];
1093
1214
  } | undefined;
1094
- readonly gitTreeHash?: string | undefined;
1095
- readonly retainedByPack?: boolean | undefined;
1096
1215
  } | {
1216
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1097
1217
  readonly type: "registry";
1098
1218
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1099
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1100
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1101
- readonly integrity: string;
1102
- readonly sourceName: string;
1103
1219
  readonly installedAt: Date;
1104
1220
  readonly updatedAt: Date;
1105
1221
  readonly agents: readonly string[];
1222
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1223
+ readonly integrity: string;
1224
+ readonly sourceName: string;
1225
+ readonly gitTreeHash?: string | undefined;
1226
+ readonly retainedByPack?: boolean | undefined;
1106
1227
  readonly sourceHash?: (string & import("effect/Brand").Brand<"SourceHash">) | undefined;
1107
1228
  readonly renderedFiles?: {
1108
- readonly [x: string]: readonly {
1109
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1110
- }[];
1229
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1230
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1231
+ }, "Type">[];
1111
1232
  } | undefined;
1233
+ } | {
1234
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1235
+ readonly type: "workspace";
1236
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1237
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1238
+ readonly installedAt: Date;
1239
+ readonly updatedAt: Date;
1240
+ readonly extensionType: "skill";
1241
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1242
+ readonly agents: readonly string[];
1112
1243
  readonly gitTreeHash?: string | undefined;
1113
1244
  readonly retainedByPack?: boolean | undefined;
1245
+ readonly renderedFiles?: {
1246
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1247
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1248
+ }, "Type">[];
1249
+ } | undefined;
1114
1250
  }>, AppError, never>;
1115
1251
  getSkillDir: (name: string, source?: SkillPathSource) => Effect.Effect<import("../skills/paths.js").SkillDirPaths, AppError, never>;
1116
1252
  setSkill: ({ name, lockEntry, versionRange }: SetSkillArgs) => Effect.Effect<void, AppError, never>;
@@ -1126,21 +1262,50 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1126
1262
  getIgnoredMcpServerPatterns: () => Effect.Effect<readonly string[], AppError, never>;
1127
1263
  getIgnoredPackPatterns: () => Effect.Effect<readonly string[], AppError, never>;
1128
1264
  getConfiguredPackEntries: () => Effect.Effect<{
1129
- readonly [x: string]: {
1130
- readonly source: string;
1131
- readonly authored: boolean;
1132
- };
1265
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
1266
+ readonly source: Schema.String;
1267
+ }, "Type">;
1133
1268
  }, AppError, never>;
1134
1269
  getLockedPacks: () => Effect.Effect<{
1135
1270
  readonly [x: string]: {
1271
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1136
1272
  readonly type: "registry";
1137
1273
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1138
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1274
+ readonly installedAt: Date;
1275
+ readonly updatedAt: Date;
1139
1276
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1140
1277
  readonly integrity: string;
1141
1278
  readonly sourceName: string;
1279
+ readonly resolvedSkills: {
1280
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1281
+ };
1282
+ readonly resolvedCommands: {
1283
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1284
+ };
1285
+ readonly resolvedMcpServers: {
1286
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1287
+ };
1288
+ readonly resolvedSubagents: {
1289
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1290
+ };
1291
+ readonly resolvedFiles?: {
1292
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1293
+ } | undefined;
1294
+ readonly resolvedRules?: {
1295
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1296
+ } | undefined;
1297
+ readonly resolvedHooks?: {
1298
+ readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1299
+ } | undefined;
1300
+ } | {
1301
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1302
+ readonly type: "workspace";
1303
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1304
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1142
1305
  readonly installedAt: Date;
1143
1306
  readonly updatedAt: Date;
1307
+ readonly extensionType: "pack";
1308
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1144
1309
  readonly resolvedSkills: {
1145
1310
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1146
1311
  };
@@ -1165,14 +1330,14 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1165
1330
  };
1166
1331
  }, AppError, never>;
1167
1332
  getLockedPack: (name: string) => Effect.Effect<Option.Option<{
1333
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1168
1334
  readonly type: "registry";
1169
1335
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1170
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1336
+ readonly installedAt: Date;
1337
+ readonly updatedAt: Date;
1171
1338
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1172
1339
  readonly integrity: string;
1173
1340
  readonly sourceName: string;
1174
- readonly installedAt: Date;
1175
- readonly updatedAt: Date;
1176
1341
  readonly resolvedSkills: {
1177
1342
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1178
1343
  };
@@ -1194,59 +1359,15 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1194
1359
  readonly resolvedHooks?: {
1195
1360
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1196
1361
  } | undefined;
1197
- }>, AppError, never>;
1198
- setPack: (args: SetPackArgs) => Effect.Effect<void, AppError, never>;
1199
- setPackEntry: (name: string, entry: PackEntry) => Effect.Effect<void, AppError, never>;
1200
- removePack: (name: string) => Effect.Effect<void, AppError, never>;
1201
- getConfiguredLibraryEntries: () => Effect.Effect<{
1202
- readonly [x: string]: {
1203
- readonly source: string;
1204
- readonly enabled: boolean;
1205
- readonly authored: boolean;
1206
- };
1207
- }, AppError, never>;
1208
- getLockedLibraries: () => Effect.Effect<{
1209
- readonly [x: string]: {
1210
- readonly type: "registry";
1211
- readonly owner: string & import("effect/Brand").Brand<"Handle">;
1212
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1213
- readonly sourceName: string;
1214
- readonly installedAt: Date;
1215
- readonly updatedAt: Date;
1216
- readonly resolvedAt: Date;
1217
- readonly membershipDigest: string;
1218
- readonly resolvedSkills: {
1219
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1220
- };
1221
- readonly resolvedCommands: {
1222
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1223
- };
1224
- readonly resolvedMcpServers: {
1225
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1226
- };
1227
- readonly resolvedSubagents: {
1228
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1229
- };
1230
- readonly resolvedFiles: {
1231
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1232
- };
1233
- readonly resolvedRules: {
1234
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1235
- };
1236
- readonly resolvedHooks: {
1237
- readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1238
- };
1239
- };
1240
- }, AppError, never>;
1241
- getLockedLibrary: (name: string) => Effect.Effect<Option.Option<{
1242
- readonly type: "registry";
1243
- readonly owner: string & import("effect/Brand").Brand<"Handle">;
1362
+ } | {
1244
1363
  readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1245
- readonly sourceName: string;
1364
+ readonly type: "workspace";
1365
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1366
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1246
1367
  readonly installedAt: Date;
1247
1368
  readonly updatedAt: Date;
1248
- readonly resolvedAt: Date;
1249
- readonly membershipDigest: string;
1369
+ readonly extensionType: "pack";
1370
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1250
1371
  readonly resolvedSkills: {
1251
1372
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1252
1373
  };
@@ -1259,16 +1380,61 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1259
1380
  readonly resolvedSubagents: {
1260
1381
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1261
1382
  };
1262
- readonly resolvedFiles: {
1383
+ readonly resolvedFiles?: {
1263
1384
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1264
- };
1265
- readonly resolvedRules: {
1385
+ } | undefined;
1386
+ readonly resolvedRules?: {
1266
1387
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1267
- };
1268
- readonly resolvedHooks: {
1388
+ } | undefined;
1389
+ readonly resolvedHooks?: {
1269
1390
  readonly [x: string]: string & import("effect/Brand").Brand<"Version">;
1270
- };
1391
+ } | undefined;
1271
1392
  }>, AppError, never>;
1393
+ setPack: (args: SetPackArgs) => Effect.Effect<void, AppError, never>;
1394
+ setPackEntry: (name: string, entry: PackEntry) => Effect.Effect<void, AppError, never>;
1395
+ removePack: (name: string) => Effect.Effect<void, AppError, never>;
1396
+ getConfiguredLibraryEntries: () => Effect.Effect<{
1397
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
1398
+ readonly source: Schema.String;
1399
+ readonly enabled: Schema.Boolean;
1400
+ }, "Type">;
1401
+ }, AppError, never>;
1402
+ getLockedLibraries: () => Effect.Effect<{
1403
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
1404
+ readonly type: Schema.Literal<"registry">;
1405
+ readonly owner: Schema.brand<Schema.String, "Handle">;
1406
+ readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
1407
+ readonly sourceName: Schema.String;
1408
+ readonly installedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1409
+ readonly updatedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1410
+ readonly resolvedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1411
+ readonly membershipDigest: Schema.String;
1412
+ readonly resolvedSkills: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1413
+ readonly resolvedCommands: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1414
+ readonly resolvedMcpServers: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1415
+ readonly resolvedSubagents: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1416
+ readonly resolvedFiles: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1417
+ readonly resolvedRules: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1418
+ readonly resolvedHooks: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1419
+ }, "Type">;
1420
+ }, AppError, never>;
1421
+ getLockedLibrary: (name: string) => Effect.Effect<Option.Option<Schema.Struct.ReadonlySide<{
1422
+ readonly type: Schema.Literal<"registry">;
1423
+ readonly owner: Schema.brand<Schema.String, "Handle">;
1424
+ readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
1425
+ readonly sourceName: Schema.String;
1426
+ readonly installedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1427
+ readonly updatedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1428
+ readonly resolvedAt: Schema.decodeTo<Schema.DateValid, Schema.NonEmptyString, never, never>;
1429
+ readonly membershipDigest: Schema.String;
1430
+ readonly resolvedSkills: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1431
+ readonly resolvedCommands: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1432
+ readonly resolvedMcpServers: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1433
+ readonly resolvedSubagents: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1434
+ readonly resolvedFiles: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1435
+ readonly resolvedRules: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1436
+ readonly resolvedHooks: Schema.$Record<Schema.String, Schema.brand<Schema.String, "Version">>;
1437
+ }, "Type">>, AppError, never>;
1272
1438
  setLibrary: (args: SetLibraryArgs) => Effect.Effect<void, AppError, never>;
1273
1439
  setLibraryEntry: (name: string, entry: LibraryEntry) => Effect.Effect<void, AppError, never>;
1274
1440
  removeLibrary: (name: string) => Effect.Effect<void, AppError, never>;
@@ -1277,239 +1443,273 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1277
1443
  readonly [x: string]: {
1278
1444
  readonly type: "github";
1279
1445
  readonly owner: string;
1280
- readonly repo: string;
1281
1446
  readonly installedAt: Date;
1282
1447
  readonly updatedAt: Date;
1283
1448
  readonly agents: readonly string[];
1284
- readonly ref?: string | undefined;
1449
+ readonly repo: string;
1285
1450
  readonly path?: string | undefined;
1451
+ readonly gitTreeHash?: string | undefined;
1452
+ readonly retainedByPack?: boolean | undefined;
1453
+ readonly ref?: string | undefined;
1286
1454
  readonly sourceHash?: string | undefined;
1287
1455
  readonly renderedFiles?: {
1288
- readonly [x: string]: readonly {
1289
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1290
- }[];
1456
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1457
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1458
+ }, "Type">[];
1291
1459
  } | undefined;
1292
- readonly gitTreeHash?: string | undefined;
1293
- readonly retainedByPack?: boolean | undefined;
1294
1460
  } | {
1295
1461
  readonly type: "gitlab";
1296
1462
  readonly owner: string;
1297
- readonly repo: string;
1298
1463
  readonly installedAt: Date;
1299
1464
  readonly updatedAt: Date;
1300
1465
  readonly agents: readonly string[];
1301
- readonly ref?: string | undefined;
1466
+ readonly repo: string;
1302
1467
  readonly path?: string | undefined;
1468
+ readonly gitTreeHash?: string | undefined;
1469
+ readonly retainedByPack?: boolean | undefined;
1470
+ readonly ref?: string | undefined;
1303
1471
  readonly sourceHash?: string | undefined;
1304
1472
  readonly renderedFiles?: {
1305
- readonly [x: string]: readonly {
1306
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1307
- }[];
1473
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1474
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1475
+ }, "Type">[];
1308
1476
  } | undefined;
1309
- readonly gitTreeHash?: string | undefined;
1310
- readonly retainedByPack?: boolean | undefined;
1311
1477
  } | {
1312
1478
  readonly type: "bitbucket";
1313
1479
  readonly owner: string;
1314
- readonly repo: string;
1315
1480
  readonly installedAt: Date;
1316
1481
  readonly updatedAt: Date;
1317
1482
  readonly agents: readonly string[];
1318
- readonly ref?: string | undefined;
1483
+ readonly repo: string;
1319
1484
  readonly path?: string | undefined;
1485
+ readonly gitTreeHash?: string | undefined;
1486
+ readonly retainedByPack?: boolean | undefined;
1487
+ readonly ref?: string | undefined;
1320
1488
  readonly sourceHash?: string | undefined;
1321
1489
  readonly renderedFiles?: {
1322
- readonly [x: string]: readonly {
1323
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1324
- }[];
1490
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1491
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1492
+ }, "Type">[];
1325
1493
  } | undefined;
1326
- readonly gitTreeHash?: string | undefined;
1327
- readonly retainedByPack?: boolean | undefined;
1328
1494
  } | {
1329
- readonly type: "azurerepos";
1330
- readonly organization: string;
1331
1495
  readonly project: string;
1332
- readonly repo: string;
1496
+ readonly type: "azurerepos";
1333
1497
  readonly installedAt: Date;
1334
1498
  readonly updatedAt: Date;
1335
1499
  readonly agents: readonly string[];
1336
- readonly ref?: string | undefined;
1500
+ readonly repo: string;
1501
+ readonly organization: string;
1337
1502
  readonly path?: string | undefined;
1503
+ readonly gitTreeHash?: string | undefined;
1504
+ readonly retainedByPack?: boolean | undefined;
1505
+ readonly ref?: string | undefined;
1338
1506
  readonly sourceHash?: string | undefined;
1339
1507
  readonly renderedFiles?: {
1340
- readonly [x: string]: readonly {
1341
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1342
- }[];
1508
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1509
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1510
+ }, "Type">[];
1343
1511
  } | undefined;
1344
- readonly gitTreeHash?: string | undefined;
1345
- readonly retainedByPack?: boolean | undefined;
1346
1512
  } | {
1347
- readonly type: "git";
1348
1513
  readonly url: string;
1514
+ readonly type: "git";
1349
1515
  readonly installedAt: Date;
1350
1516
  readonly updatedAt: Date;
1351
1517
  readonly agents: readonly string[];
1352
- readonly ref?: string | undefined;
1353
1518
  readonly path?: string | undefined;
1519
+ readonly gitTreeHash?: string | undefined;
1520
+ readonly retainedByPack?: boolean | undefined;
1521
+ readonly ref?: string | undefined;
1354
1522
  readonly sourceHash?: string | undefined;
1355
1523
  readonly renderedFiles?: {
1356
- readonly [x: string]: readonly {
1357
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1358
- }[];
1524
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1525
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1526
+ }, "Type">[];
1359
1527
  } | undefined;
1360
- readonly gitTreeHash?: string | undefined;
1361
- readonly retainedByPack?: boolean | undefined;
1362
1528
  } | {
1363
- readonly type: "local";
1364
1529
  readonly path: string;
1530
+ readonly type: "local";
1365
1531
  readonly installedAt: Date;
1366
1532
  readonly updatedAt: Date;
1367
1533
  readonly agents: readonly string[];
1534
+ readonly gitTreeHash?: string | undefined;
1535
+ readonly retainedByPack?: boolean | undefined;
1368
1536
  readonly sourceHash?: string | undefined;
1369
1537
  readonly renderedFiles?: {
1370
- readonly [x: string]: readonly {
1371
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1372
- }[];
1538
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1539
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1540
+ }, "Type">[];
1373
1541
  } | undefined;
1374
- readonly gitTreeHash?: string | undefined;
1375
- readonly retainedByPack?: boolean | undefined;
1376
1542
  } | {
1543
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1377
1544
  readonly type: "registry";
1378
1545
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1379
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1380
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1381
- readonly integrity: string;
1382
- readonly sourceName: string;
1383
1546
  readonly installedAt: Date;
1384
1547
  readonly updatedAt: Date;
1385
1548
  readonly agents: readonly string[];
1549
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1550
+ readonly integrity: string;
1551
+ readonly sourceName: string;
1552
+ readonly gitTreeHash?: string | undefined;
1553
+ readonly retainedByPack?: boolean | undefined;
1386
1554
  readonly sourceHash?: string | undefined;
1387
1555
  readonly renderedFiles?: {
1388
- readonly [x: string]: readonly {
1389
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1390
- }[];
1556
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1557
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1558
+ }, "Type">[];
1391
1559
  } | undefined;
1560
+ } | {
1561
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1562
+ readonly type: "workspace";
1563
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1564
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1565
+ readonly installedAt: Date;
1566
+ readonly updatedAt: Date;
1567
+ readonly extensionType: "command";
1568
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1569
+ readonly agents: readonly string[];
1392
1570
  readonly gitTreeHash?: string | undefined;
1393
1571
  readonly retainedByPack?: boolean | undefined;
1572
+ readonly renderedFiles?: {
1573
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1574
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1575
+ }, "Type">[];
1576
+ } | undefined;
1394
1577
  };
1395
1578
  }, AppError, never>;
1396
1579
  getLockedCommand: (name: string) => Effect.Effect<Option.Option<{
1397
1580
  readonly type: "github";
1398
1581
  readonly owner: string;
1399
- readonly repo: string;
1400
1582
  readonly installedAt: Date;
1401
1583
  readonly updatedAt: Date;
1402
1584
  readonly agents: readonly string[];
1403
- readonly ref?: string | undefined;
1585
+ readonly repo: string;
1404
1586
  readonly path?: string | undefined;
1587
+ readonly gitTreeHash?: string | undefined;
1588
+ readonly retainedByPack?: boolean | undefined;
1589
+ readonly ref?: string | undefined;
1405
1590
  readonly sourceHash?: string | undefined;
1406
1591
  readonly renderedFiles?: {
1407
- readonly [x: string]: readonly {
1408
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1409
- }[];
1592
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1593
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1594
+ }, "Type">[];
1410
1595
  } | undefined;
1411
- readonly gitTreeHash?: string | undefined;
1412
- readonly retainedByPack?: boolean | undefined;
1413
1596
  } | {
1414
1597
  readonly type: "gitlab";
1415
1598
  readonly owner: string;
1416
- readonly repo: string;
1417
1599
  readonly installedAt: Date;
1418
1600
  readonly updatedAt: Date;
1419
1601
  readonly agents: readonly string[];
1420
- readonly ref?: string | undefined;
1602
+ readonly repo: string;
1421
1603
  readonly path?: string | undefined;
1604
+ readonly gitTreeHash?: string | undefined;
1605
+ readonly retainedByPack?: boolean | undefined;
1606
+ readonly ref?: string | undefined;
1422
1607
  readonly sourceHash?: string | undefined;
1423
1608
  readonly renderedFiles?: {
1424
- readonly [x: string]: readonly {
1425
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1426
- }[];
1609
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1610
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1611
+ }, "Type">[];
1427
1612
  } | undefined;
1428
- readonly gitTreeHash?: string | undefined;
1429
- readonly retainedByPack?: boolean | undefined;
1430
1613
  } | {
1431
1614
  readonly type: "bitbucket";
1432
1615
  readonly owner: string;
1433
- readonly repo: string;
1434
1616
  readonly installedAt: Date;
1435
1617
  readonly updatedAt: Date;
1436
1618
  readonly agents: readonly string[];
1437
- readonly ref?: string | undefined;
1619
+ readonly repo: string;
1438
1620
  readonly path?: string | undefined;
1621
+ readonly gitTreeHash?: string | undefined;
1622
+ readonly retainedByPack?: boolean | undefined;
1623
+ readonly ref?: string | undefined;
1439
1624
  readonly sourceHash?: string | undefined;
1440
1625
  readonly renderedFiles?: {
1441
- readonly [x: string]: readonly {
1442
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1443
- }[];
1626
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1627
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1628
+ }, "Type">[];
1444
1629
  } | undefined;
1445
- readonly gitTreeHash?: string | undefined;
1446
- readonly retainedByPack?: boolean | undefined;
1447
1630
  } | {
1448
- readonly type: "azurerepos";
1449
- readonly organization: string;
1450
1631
  readonly project: string;
1451
- readonly repo: string;
1632
+ readonly type: "azurerepos";
1452
1633
  readonly installedAt: Date;
1453
1634
  readonly updatedAt: Date;
1454
1635
  readonly agents: readonly string[];
1455
- readonly ref?: string | undefined;
1636
+ readonly repo: string;
1637
+ readonly organization: string;
1456
1638
  readonly path?: string | undefined;
1639
+ readonly gitTreeHash?: string | undefined;
1640
+ readonly retainedByPack?: boolean | undefined;
1641
+ readonly ref?: string | undefined;
1457
1642
  readonly sourceHash?: string | undefined;
1458
1643
  readonly renderedFiles?: {
1459
- readonly [x: string]: readonly {
1460
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1461
- }[];
1644
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1645
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1646
+ }, "Type">[];
1462
1647
  } | undefined;
1463
- readonly gitTreeHash?: string | undefined;
1464
- readonly retainedByPack?: boolean | undefined;
1465
1648
  } | {
1466
- readonly type: "git";
1467
1649
  readonly url: string;
1650
+ readonly type: "git";
1468
1651
  readonly installedAt: Date;
1469
1652
  readonly updatedAt: Date;
1470
1653
  readonly agents: readonly string[];
1471
- readonly ref?: string | undefined;
1472
1654
  readonly path?: string | undefined;
1655
+ readonly gitTreeHash?: string | undefined;
1656
+ readonly retainedByPack?: boolean | undefined;
1657
+ readonly ref?: string | undefined;
1473
1658
  readonly sourceHash?: string | undefined;
1474
1659
  readonly renderedFiles?: {
1475
- readonly [x: string]: readonly {
1476
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1477
- }[];
1660
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1661
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1662
+ }, "Type">[];
1478
1663
  } | undefined;
1479
- readonly gitTreeHash?: string | undefined;
1480
- readonly retainedByPack?: boolean | undefined;
1481
1664
  } | {
1482
- readonly type: "local";
1483
1665
  readonly path: string;
1666
+ readonly type: "local";
1484
1667
  readonly installedAt: Date;
1485
1668
  readonly updatedAt: Date;
1486
1669
  readonly agents: readonly string[];
1670
+ readonly gitTreeHash?: string | undefined;
1671
+ readonly retainedByPack?: boolean | undefined;
1487
1672
  readonly sourceHash?: string | undefined;
1488
1673
  readonly renderedFiles?: {
1489
- readonly [x: string]: readonly {
1490
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1491
- }[];
1674
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1675
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1676
+ }, "Type">[];
1492
1677
  } | undefined;
1493
- readonly gitTreeHash?: string | undefined;
1494
- readonly retainedByPack?: boolean | undefined;
1495
1678
  } | {
1679
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1496
1680
  readonly type: "registry";
1497
1681
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1498
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1499
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1500
- readonly integrity: string;
1501
- readonly sourceName: string;
1502
1682
  readonly installedAt: Date;
1503
1683
  readonly updatedAt: Date;
1504
1684
  readonly agents: readonly string[];
1685
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1686
+ readonly integrity: string;
1687
+ readonly sourceName: string;
1688
+ readonly gitTreeHash?: string | undefined;
1689
+ readonly retainedByPack?: boolean | undefined;
1505
1690
  readonly sourceHash?: string | undefined;
1506
1691
  readonly renderedFiles?: {
1507
- readonly [x: string]: readonly {
1508
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1509
- }[];
1692
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1693
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1694
+ }, "Type">[];
1510
1695
  } | undefined;
1696
+ } | {
1697
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1698
+ readonly type: "workspace";
1699
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1700
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1701
+ readonly installedAt: Date;
1702
+ readonly updatedAt: Date;
1703
+ readonly extensionType: "command";
1704
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1705
+ readonly agents: readonly string[];
1511
1706
  readonly gitTreeHash?: string | undefined;
1512
1707
  readonly retainedByPack?: boolean | undefined;
1708
+ readonly renderedFiles?: {
1709
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1710
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1711
+ }, "Type">[];
1712
+ } | undefined;
1513
1713
  }>, AppError, never>;
1514
1714
  setCommand: ({ name, lockEntry }: SetCommandArgs) => Effect.Effect<void, AppError, never>;
1515
1715
  setCommandLock: ({ name, lockEntry }: SetCommandArgs) => Effect.Effect<void, AppError, never>;
@@ -1520,246 +1720,285 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1520
1720
  readonly [x: string]: {
1521
1721
  readonly type: "github";
1522
1722
  readonly owner: string;
1523
- readonly repo: string;
1524
1723
  readonly installedAt: Date;
1525
1724
  readonly updatedAt: Date;
1526
1725
  readonly agents: readonly string[];
1527
- readonly ref?: string | undefined;
1726
+ readonly repo: string;
1528
1727
  readonly path?: string | undefined;
1728
+ readonly gitTreeHash?: string | undefined;
1729
+ readonly retainedByPack?: boolean | undefined;
1730
+ readonly ref?: string | undefined;
1529
1731
  readonly sourceHash?: string | undefined;
1530
1732
  readonly renderedFiles?: {
1531
- readonly [x: string]: readonly {
1532
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1533
- }[];
1733
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1734
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1735
+ }, "Type">[];
1534
1736
  } | undefined;
1535
- readonly gitTreeHash?: string | undefined;
1536
- readonly retainedByPack?: boolean | undefined;
1537
1737
  } | {
1538
1738
  readonly type: "gitlab";
1539
1739
  readonly owner: string;
1540
- readonly repo: string;
1541
1740
  readonly installedAt: Date;
1542
1741
  readonly updatedAt: Date;
1543
1742
  readonly agents: readonly string[];
1544
- readonly ref?: string | undefined;
1743
+ readonly repo: string;
1545
1744
  readonly path?: string | undefined;
1745
+ readonly gitTreeHash?: string | undefined;
1746
+ readonly retainedByPack?: boolean | undefined;
1747
+ readonly ref?: string | undefined;
1546
1748
  readonly sourceHash?: string | undefined;
1547
1749
  readonly renderedFiles?: {
1548
- readonly [x: string]: readonly {
1549
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1550
- }[];
1750
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1751
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1752
+ }, "Type">[];
1551
1753
  } | undefined;
1552
- readonly gitTreeHash?: string | undefined;
1553
- readonly retainedByPack?: boolean | undefined;
1554
1754
  } | {
1555
1755
  readonly type: "bitbucket";
1556
1756
  readonly owner: string;
1557
- readonly repo: string;
1558
1757
  readonly installedAt: Date;
1559
1758
  readonly updatedAt: Date;
1560
1759
  readonly agents: readonly string[];
1561
- readonly ref?: string | undefined;
1760
+ readonly repo: string;
1562
1761
  readonly path?: string | undefined;
1762
+ readonly gitTreeHash?: string | undefined;
1763
+ readonly retainedByPack?: boolean | undefined;
1764
+ readonly ref?: string | undefined;
1563
1765
  readonly sourceHash?: string | undefined;
1564
1766
  readonly renderedFiles?: {
1565
- readonly [x: string]: readonly {
1566
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1567
- }[];
1767
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1768
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1769
+ }, "Type">[];
1568
1770
  } | undefined;
1569
- readonly gitTreeHash?: string | undefined;
1570
- readonly retainedByPack?: boolean | undefined;
1571
1771
  } | {
1572
- readonly type: "azurerepos";
1573
- readonly organization: string;
1574
1772
  readonly project: string;
1575
- readonly repo: string;
1773
+ readonly type: "azurerepos";
1576
1774
  readonly installedAt: Date;
1577
1775
  readonly updatedAt: Date;
1578
1776
  readonly agents: readonly string[];
1579
- readonly ref?: string | undefined;
1777
+ readonly repo: string;
1778
+ readonly organization: string;
1580
1779
  readonly path?: string | undefined;
1780
+ readonly gitTreeHash?: string | undefined;
1781
+ readonly retainedByPack?: boolean | undefined;
1782
+ readonly ref?: string | undefined;
1581
1783
  readonly sourceHash?: string | undefined;
1582
1784
  readonly renderedFiles?: {
1583
- readonly [x: string]: readonly {
1584
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1585
- }[];
1785
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1786
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1787
+ }, "Type">[];
1586
1788
  } | undefined;
1587
- readonly gitTreeHash?: string | undefined;
1588
- readonly retainedByPack?: boolean | undefined;
1589
1789
  } | {
1590
- readonly type: "git";
1591
1790
  readonly url: string;
1791
+ readonly type: "git";
1592
1792
  readonly installedAt: Date;
1593
1793
  readonly updatedAt: Date;
1594
1794
  readonly agents: readonly string[];
1595
- readonly ref?: string | undefined;
1596
1795
  readonly path?: string | undefined;
1796
+ readonly gitTreeHash?: string | undefined;
1797
+ readonly retainedByPack?: boolean | undefined;
1798
+ readonly ref?: string | undefined;
1597
1799
  readonly sourceHash?: string | undefined;
1598
1800
  readonly renderedFiles?: {
1599
- readonly [x: string]: readonly {
1600
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1601
- }[];
1801
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1802
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1803
+ }, "Type">[];
1602
1804
  } | undefined;
1603
- readonly gitTreeHash?: string | undefined;
1604
- readonly retainedByPack?: boolean | undefined;
1605
1805
  } | {
1606
- readonly type: "local";
1607
1806
  readonly path: string;
1807
+ readonly type: "local";
1608
1808
  readonly installedAt: Date;
1609
1809
  readonly updatedAt: Date;
1610
1810
  readonly agents: readonly string[];
1811
+ readonly gitTreeHash?: string | undefined;
1812
+ readonly retainedByPack?: boolean | undefined;
1611
1813
  readonly sourceHash?: string | undefined;
1612
1814
  readonly renderedFiles?: {
1613
- readonly [x: string]: readonly {
1614
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1615
- }[];
1815
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1816
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1817
+ }, "Type">[];
1616
1818
  } | undefined;
1617
- readonly gitTreeHash?: string | undefined;
1618
- readonly retainedByPack?: boolean | undefined;
1619
1819
  } | {
1820
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1620
1821
  readonly type: "registry";
1621
1822
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1622
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1623
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1624
- readonly integrity: string;
1625
- readonly sourceName: string;
1626
1823
  readonly installedAt: Date;
1627
1824
  readonly updatedAt: Date;
1628
1825
  readonly agents: readonly string[];
1826
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1827
+ readonly integrity: string;
1828
+ readonly sourceName: string;
1829
+ readonly gitTreeHash?: string | undefined;
1830
+ readonly retainedByPack?: boolean | undefined;
1629
1831
  readonly sourceHash?: string | undefined;
1630
1832
  readonly renderedFiles?: {
1631
- readonly [x: string]: readonly {
1632
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1633
- }[];
1833
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1834
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1835
+ }, "Type">[];
1634
1836
  } | undefined;
1837
+ } | {
1838
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1839
+ readonly type: "workspace";
1840
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1841
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1842
+ readonly installedAt: Date;
1843
+ readonly updatedAt: Date;
1844
+ readonly extensionType: "subagent";
1845
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1846
+ readonly agents: readonly string[];
1635
1847
  readonly gitTreeHash?: string | undefined;
1636
1848
  readonly retainedByPack?: boolean | undefined;
1849
+ readonly renderedFiles?: {
1850
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1851
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1852
+ }, "Type">[];
1853
+ } | undefined;
1637
1854
  };
1638
1855
  }, AppError, never>;
1639
1856
  getLockedSubagent: (name: string) => Effect.Effect<Option.Option<{
1640
1857
  readonly type: "github";
1641
1858
  readonly owner: string;
1642
- readonly repo: string;
1643
1859
  readonly installedAt: Date;
1644
1860
  readonly updatedAt: Date;
1645
1861
  readonly agents: readonly string[];
1646
- readonly ref?: string | undefined;
1862
+ readonly repo: string;
1647
1863
  readonly path?: string | undefined;
1864
+ readonly gitTreeHash?: string | undefined;
1865
+ readonly retainedByPack?: boolean | undefined;
1866
+ readonly ref?: string | undefined;
1648
1867
  readonly sourceHash?: string | undefined;
1649
1868
  readonly renderedFiles?: {
1650
- readonly [x: string]: readonly {
1651
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1652
- }[];
1869
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1870
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1871
+ }, "Type">[];
1653
1872
  } | undefined;
1654
- readonly gitTreeHash?: string | undefined;
1655
- readonly retainedByPack?: boolean | undefined;
1656
1873
  } | {
1657
1874
  readonly type: "gitlab";
1658
1875
  readonly owner: string;
1659
- readonly repo: string;
1660
1876
  readonly installedAt: Date;
1661
1877
  readonly updatedAt: Date;
1662
1878
  readonly agents: readonly string[];
1663
- readonly ref?: string | undefined;
1879
+ readonly repo: string;
1664
1880
  readonly path?: string | undefined;
1881
+ readonly gitTreeHash?: string | undefined;
1882
+ readonly retainedByPack?: boolean | undefined;
1883
+ readonly ref?: string | undefined;
1665
1884
  readonly sourceHash?: string | undefined;
1666
1885
  readonly renderedFiles?: {
1667
- readonly [x: string]: readonly {
1668
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1669
- }[];
1886
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1887
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1888
+ }, "Type">[];
1670
1889
  } | undefined;
1671
- readonly gitTreeHash?: string | undefined;
1672
- readonly retainedByPack?: boolean | undefined;
1673
1890
  } | {
1674
1891
  readonly type: "bitbucket";
1675
1892
  readonly owner: string;
1676
- readonly repo: string;
1677
1893
  readonly installedAt: Date;
1678
1894
  readonly updatedAt: Date;
1679
1895
  readonly agents: readonly string[];
1680
- readonly ref?: string | undefined;
1896
+ readonly repo: string;
1681
1897
  readonly path?: string | undefined;
1898
+ readonly gitTreeHash?: string | undefined;
1899
+ readonly retainedByPack?: boolean | undefined;
1900
+ readonly ref?: string | undefined;
1682
1901
  readonly sourceHash?: string | undefined;
1683
1902
  readonly renderedFiles?: {
1684
- readonly [x: string]: readonly {
1685
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1686
- }[];
1903
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1904
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1905
+ }, "Type">[];
1687
1906
  } | undefined;
1688
- readonly gitTreeHash?: string | undefined;
1689
- readonly retainedByPack?: boolean | undefined;
1690
1907
  } | {
1691
- readonly type: "azurerepos";
1692
- readonly organization: string;
1693
1908
  readonly project: string;
1694
- readonly repo: string;
1909
+ readonly type: "azurerepos";
1695
1910
  readonly installedAt: Date;
1696
1911
  readonly updatedAt: Date;
1697
1912
  readonly agents: readonly string[];
1698
- readonly ref?: string | undefined;
1913
+ readonly repo: string;
1914
+ readonly organization: string;
1699
1915
  readonly path?: string | undefined;
1916
+ readonly gitTreeHash?: string | undefined;
1917
+ readonly retainedByPack?: boolean | undefined;
1918
+ readonly ref?: string | undefined;
1700
1919
  readonly sourceHash?: string | undefined;
1701
1920
  readonly renderedFiles?: {
1702
- readonly [x: string]: readonly {
1703
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1704
- }[];
1921
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1922
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1923
+ }, "Type">[];
1705
1924
  } | undefined;
1706
- readonly gitTreeHash?: string | undefined;
1707
- readonly retainedByPack?: boolean | undefined;
1708
1925
  } | {
1709
- readonly type: "git";
1710
1926
  readonly url: string;
1927
+ readonly type: "git";
1711
1928
  readonly installedAt: Date;
1712
1929
  readonly updatedAt: Date;
1713
1930
  readonly agents: readonly string[];
1714
- readonly ref?: string | undefined;
1715
1931
  readonly path?: string | undefined;
1932
+ readonly gitTreeHash?: string | undefined;
1933
+ readonly retainedByPack?: boolean | undefined;
1934
+ readonly ref?: string | undefined;
1716
1935
  readonly sourceHash?: string | undefined;
1717
1936
  readonly renderedFiles?: {
1718
- readonly [x: string]: readonly {
1719
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1720
- }[];
1937
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1938
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1939
+ }, "Type">[];
1721
1940
  } | undefined;
1722
- readonly gitTreeHash?: string | undefined;
1723
- readonly retainedByPack?: boolean | undefined;
1724
1941
  } | {
1725
- readonly type: "local";
1726
1942
  readonly path: string;
1943
+ readonly type: "local";
1727
1944
  readonly installedAt: Date;
1728
1945
  readonly updatedAt: Date;
1729
1946
  readonly agents: readonly string[];
1947
+ readonly gitTreeHash?: string | undefined;
1948
+ readonly retainedByPack?: boolean | undefined;
1730
1949
  readonly sourceHash?: string | undefined;
1731
1950
  readonly renderedFiles?: {
1732
- readonly [x: string]: readonly {
1733
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1734
- }[];
1951
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1952
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1953
+ }, "Type">[];
1735
1954
  } | undefined;
1736
- readonly gitTreeHash?: string | undefined;
1737
- readonly retainedByPack?: boolean | undefined;
1738
1955
  } | {
1956
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1739
1957
  readonly type: "registry";
1740
1958
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1741
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1742
- readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1743
- readonly integrity: string;
1744
- readonly sourceName: string;
1745
1959
  readonly installedAt: Date;
1746
1960
  readonly updatedAt: Date;
1747
1961
  readonly agents: readonly string[];
1962
+ readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1963
+ readonly integrity: string;
1964
+ readonly sourceName: string;
1965
+ readonly gitTreeHash?: string | undefined;
1966
+ readonly retainedByPack?: boolean | undefined;
1748
1967
  readonly sourceHash?: string | undefined;
1749
1968
  readonly renderedFiles?: {
1750
- readonly [x: string]: readonly {
1751
- readonly path: string & import("effect/Brand").Brand<"RelativePath"> & import("effect/Brand").Brand<"RenderedFilePath">;
1752
- }[];
1969
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1970
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1971
+ }, "Type">[];
1753
1972
  } | undefined;
1973
+ } | {
1974
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1975
+ readonly type: "workspace";
1976
+ readonly version: string & import("effect/Brand").Brand<"Version">;
1977
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1978
+ readonly installedAt: Date;
1979
+ readonly updatedAt: Date;
1980
+ readonly extensionType: "subagent";
1981
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
1982
+ readonly agents: readonly string[];
1754
1983
  readonly gitTreeHash?: string | undefined;
1755
1984
  readonly retainedByPack?: boolean | undefined;
1985
+ readonly renderedFiles?: {
1986
+ readonly [x: string]: readonly Schema.Struct.ReadonlySide<{
1987
+ readonly path: Schema.brand<Schema.brand<Schema.String, "RelativePath">, "RenderedFilePath">;
1988
+ }, "Type">[];
1989
+ } | undefined;
1756
1990
  }>, AppError, never>;
1757
1991
  getConfiguredSubagentEntries: () => Effect.Effect<{
1758
- readonly [x: string]: {
1759
- readonly source: string;
1760
- readonly enabled: boolean;
1761
- readonly authored: boolean;
1762
- };
1992
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
1993
+ readonly source: Schema.String;
1994
+ readonly enabled: Schema.Boolean;
1995
+ }, "Type">;
1996
+ }, AppError, never>;
1997
+ getConfiguredCommandEntries: () => Effect.Effect<{
1998
+ readonly [x: string]: Schema.Struct.ReadonlySide<{
1999
+ readonly source: Schema.String;
2000
+ readonly enabled: Schema.Boolean;
2001
+ }, "Type">;
1763
2002
  }, AppError, never>;
1764
2003
  setSubagent: ({ name, lockEntry }: SetSubagentArgs) => Effect.Effect<void, AppError, never>;
1765
2004
  setSubagentLock: ({ name, lockEntry }: SetSubagentArgs) => Effect.Effect<void, AppError, never>;
@@ -1770,183 +2009,207 @@ export declare const loadWorkspace: (options: WorkspaceLayerOptions) => Effect.E
1770
2009
  removeSubagentLock: (name: string) => Effect.Effect<void, AppError, never>;
1771
2010
  getLockedMcpServers: () => Effect.Effect<{
1772
2011
  readonly [x: string]: {
2012
+ readonly type: "inline";
2013
+ readonly installedAt: Date;
2014
+ readonly updatedAt: Date;
2015
+ readonly url?: string | undefined;
2016
+ readonly command?: string | undefined;
2017
+ readonly headers?: {
2018
+ readonly [x: string]: string;
2019
+ } | undefined;
2020
+ readonly args?: readonly string[] | undefined;
2021
+ readonly syncedAgents?: readonly string[] | undefined;
2022
+ readonly gitTreeHash?: string | undefined;
2023
+ readonly retainedByPack?: boolean | undefined;
2024
+ } | {
1773
2025
  readonly type: "github";
1774
2026
  readonly owner: string;
1775
- readonly repo: string;
1776
2027
  readonly installedAt: Date;
1777
2028
  readonly updatedAt: Date;
1778
- readonly ref?: string | undefined;
2029
+ readonly repo: string;
1779
2030
  readonly path?: string | undefined;
2031
+ readonly syncedAgents?: readonly string[] | undefined;
1780
2032
  readonly gitTreeHash?: string | undefined;
1781
2033
  readonly retainedByPack?: boolean | undefined;
1782
- readonly syncedAgents?: readonly string[] | undefined;
2034
+ readonly ref?: string | undefined;
1783
2035
  } | {
1784
2036
  readonly type: "gitlab";
1785
2037
  readonly owner: string;
1786
- readonly repo: string;
1787
2038
  readonly installedAt: Date;
1788
2039
  readonly updatedAt: Date;
1789
- readonly ref?: string | undefined;
2040
+ readonly repo: string;
1790
2041
  readonly path?: string | undefined;
2042
+ readonly syncedAgents?: readonly string[] | undefined;
1791
2043
  readonly gitTreeHash?: string | undefined;
1792
2044
  readonly retainedByPack?: boolean | undefined;
1793
- readonly syncedAgents?: readonly string[] | undefined;
2045
+ readonly ref?: string | undefined;
1794
2046
  } | {
1795
2047
  readonly type: "bitbucket";
1796
2048
  readonly owner: string;
1797
- readonly repo: string;
1798
2049
  readonly installedAt: Date;
1799
2050
  readonly updatedAt: Date;
1800
- readonly ref?: string | undefined;
2051
+ readonly repo: string;
1801
2052
  readonly path?: string | undefined;
2053
+ readonly syncedAgents?: readonly string[] | undefined;
1802
2054
  readonly gitTreeHash?: string | undefined;
1803
2055
  readonly retainedByPack?: boolean | undefined;
1804
- readonly syncedAgents?: readonly string[] | undefined;
2056
+ readonly ref?: string | undefined;
1805
2057
  } | {
1806
- readonly type: "azurerepos";
1807
- readonly organization: string;
1808
2058
  readonly project: string;
1809
- readonly repo: string;
2059
+ readonly type: "azurerepos";
1810
2060
  readonly installedAt: Date;
1811
2061
  readonly updatedAt: Date;
1812
- readonly ref?: string | undefined;
2062
+ readonly repo: string;
2063
+ readonly organization: string;
1813
2064
  readonly path?: string | undefined;
2065
+ readonly syncedAgents?: readonly string[] | undefined;
1814
2066
  readonly gitTreeHash?: string | undefined;
1815
2067
  readonly retainedByPack?: boolean | undefined;
1816
- readonly syncedAgents?: readonly string[] | undefined;
2068
+ readonly ref?: string | undefined;
1817
2069
  } | {
1818
- readonly type: "git";
1819
2070
  readonly url: string;
2071
+ readonly type: "git";
1820
2072
  readonly installedAt: Date;
1821
2073
  readonly updatedAt: Date;
1822
- readonly ref?: string | undefined;
1823
2074
  readonly path?: string | undefined;
2075
+ readonly syncedAgents?: readonly string[] | undefined;
1824
2076
  readonly gitTreeHash?: string | undefined;
1825
2077
  readonly retainedByPack?: boolean | undefined;
1826
- readonly syncedAgents?: readonly string[] | undefined;
2078
+ readonly ref?: string | undefined;
1827
2079
  } | {
1828
- readonly type: "local";
1829
2080
  readonly path: string;
2081
+ readonly type: "local";
1830
2082
  readonly installedAt: Date;
1831
2083
  readonly updatedAt: Date;
2084
+ readonly syncedAgents?: readonly string[] | undefined;
1832
2085
  readonly gitTreeHash?: string | undefined;
1833
2086
  readonly retainedByPack?: boolean | undefined;
1834
- readonly syncedAgents?: readonly string[] | undefined;
1835
2087
  } | {
2088
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1836
2089
  readonly type: "registry";
1837
2090
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1838
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
2091
+ readonly installedAt: Date;
2092
+ readonly updatedAt: Date;
1839
2093
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1840
2094
  readonly integrity: string;
1841
2095
  readonly sourceName: string;
1842
- readonly installedAt: Date;
1843
- readonly updatedAt: Date;
2096
+ readonly syncedAgents?: readonly string[] | undefined;
1844
2097
  readonly gitTreeHash?: string | undefined;
1845
2098
  readonly retainedByPack?: boolean | undefined;
1846
- readonly syncedAgents?: readonly string[] | undefined;
1847
2099
  } | {
2100
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
2101
+ readonly type: "workspace";
2102
+ readonly version: string & import("effect/Brand").Brand<"Version">;
2103
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1848
2104
  readonly installedAt: Date;
1849
2105
  readonly updatedAt: Date;
1850
- readonly type: "inline";
2106
+ readonly extensionType: "mcp-server";
2107
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
2108
+ readonly syncedAgents?: readonly string[] | undefined;
1851
2109
  readonly gitTreeHash?: string | undefined;
1852
2110
  readonly retainedByPack?: boolean | undefined;
1853
- readonly command?: string | undefined;
1854
- readonly args?: readonly string[] | undefined;
1855
- readonly url?: string | undefined;
1856
- readonly headers?: {
1857
- readonly [x: string]: string;
1858
- } | undefined;
1859
- readonly syncedAgents?: readonly string[] | undefined;
1860
2111
  };
1861
2112
  }, AppError, never>;
1862
2113
  getLockedMcpServer: (name: string) => Effect.Effect<Option.Option<{
2114
+ readonly type: "inline";
2115
+ readonly installedAt: Date;
2116
+ readonly updatedAt: Date;
2117
+ readonly url?: string | undefined;
2118
+ readonly command?: string | undefined;
2119
+ readonly headers?: {
2120
+ readonly [x: string]: string;
2121
+ } | undefined;
2122
+ readonly args?: readonly string[] | undefined;
2123
+ readonly syncedAgents?: readonly string[] | undefined;
2124
+ readonly gitTreeHash?: string | undefined;
2125
+ readonly retainedByPack?: boolean | undefined;
2126
+ } | {
1863
2127
  readonly type: "github";
1864
2128
  readonly owner: string;
1865
- readonly repo: string;
1866
2129
  readonly installedAt: Date;
1867
2130
  readonly updatedAt: Date;
1868
- readonly ref?: string | undefined;
2131
+ readonly repo: string;
1869
2132
  readonly path?: string | undefined;
2133
+ readonly syncedAgents?: readonly string[] | undefined;
1870
2134
  readonly gitTreeHash?: string | undefined;
1871
2135
  readonly retainedByPack?: boolean | undefined;
1872
- readonly syncedAgents?: readonly string[] | undefined;
2136
+ readonly ref?: string | undefined;
1873
2137
  } | {
1874
2138
  readonly type: "gitlab";
1875
2139
  readonly owner: string;
1876
- readonly repo: string;
1877
2140
  readonly installedAt: Date;
1878
2141
  readonly updatedAt: Date;
1879
- readonly ref?: string | undefined;
2142
+ readonly repo: string;
1880
2143
  readonly path?: string | undefined;
2144
+ readonly syncedAgents?: readonly string[] | undefined;
1881
2145
  readonly gitTreeHash?: string | undefined;
1882
2146
  readonly retainedByPack?: boolean | undefined;
1883
- readonly syncedAgents?: readonly string[] | undefined;
2147
+ readonly ref?: string | undefined;
1884
2148
  } | {
1885
2149
  readonly type: "bitbucket";
1886
2150
  readonly owner: string;
1887
- readonly repo: string;
1888
2151
  readonly installedAt: Date;
1889
2152
  readonly updatedAt: Date;
1890
- readonly ref?: string | undefined;
2153
+ readonly repo: string;
1891
2154
  readonly path?: string | undefined;
2155
+ readonly syncedAgents?: readonly string[] | undefined;
1892
2156
  readonly gitTreeHash?: string | undefined;
1893
2157
  readonly retainedByPack?: boolean | undefined;
1894
- readonly syncedAgents?: readonly string[] | undefined;
2158
+ readonly ref?: string | undefined;
1895
2159
  } | {
1896
- readonly type: "azurerepos";
1897
- readonly organization: string;
1898
2160
  readonly project: string;
1899
- readonly repo: string;
2161
+ readonly type: "azurerepos";
1900
2162
  readonly installedAt: Date;
1901
2163
  readonly updatedAt: Date;
1902
- readonly ref?: string | undefined;
2164
+ readonly repo: string;
2165
+ readonly organization: string;
1903
2166
  readonly path?: string | undefined;
2167
+ readonly syncedAgents?: readonly string[] | undefined;
1904
2168
  readonly gitTreeHash?: string | undefined;
1905
2169
  readonly retainedByPack?: boolean | undefined;
1906
- readonly syncedAgents?: readonly string[] | undefined;
2170
+ readonly ref?: string | undefined;
1907
2171
  } | {
1908
- readonly type: "git";
1909
2172
  readonly url: string;
2173
+ readonly type: "git";
1910
2174
  readonly installedAt: Date;
1911
2175
  readonly updatedAt: Date;
1912
- readonly ref?: string | undefined;
1913
2176
  readonly path?: string | undefined;
2177
+ readonly syncedAgents?: readonly string[] | undefined;
1914
2178
  readonly gitTreeHash?: string | undefined;
1915
2179
  readonly retainedByPack?: boolean | undefined;
1916
- readonly syncedAgents?: readonly string[] | undefined;
2180
+ readonly ref?: string | undefined;
1917
2181
  } | {
1918
- readonly type: "local";
1919
2182
  readonly path: string;
2183
+ readonly type: "local";
1920
2184
  readonly installedAt: Date;
1921
2185
  readonly updatedAt: Date;
2186
+ readonly syncedAgents?: readonly string[] | undefined;
1922
2187
  readonly gitTreeHash?: string | undefined;
1923
2188
  readonly retainedByPack?: boolean | undefined;
1924
- readonly syncedAgents?: readonly string[] | undefined;
1925
2189
  } | {
2190
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
1926
2191
  readonly type: "registry";
1927
2192
  readonly owner: string & import("effect/Brand").Brand<"Handle">;
1928
- readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
2193
+ readonly installedAt: Date;
2194
+ readonly updatedAt: Date;
1929
2195
  readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">;
1930
2196
  readonly integrity: string;
1931
2197
  readonly sourceName: string;
1932
- readonly installedAt: Date;
1933
- readonly updatedAt: Date;
2198
+ readonly syncedAgents?: readonly string[] | undefined;
1934
2199
  readonly gitTreeHash?: string | undefined;
1935
2200
  readonly retainedByPack?: boolean | undefined;
1936
- readonly syncedAgents?: readonly string[] | undefined;
1937
2201
  } | {
2202
+ readonly name: string & import("effect/Brand").Brand<"ExtensionName">;
2203
+ readonly type: "workspace";
2204
+ readonly version: string & import("effect/Brand").Brand<"Version">;
2205
+ readonly owner: string & import("effect/Brand").Brand<"Handle">;
1938
2206
  readonly installedAt: Date;
1939
2207
  readonly updatedAt: Date;
1940
- readonly type: "inline";
2208
+ readonly extensionType: "mcp-server";
2209
+ readonly sourceHash: string & import("effect/Brand").Brand<"SourceHash">;
2210
+ readonly syncedAgents?: readonly string[] | undefined;
1941
2211
  readonly gitTreeHash?: string | undefined;
1942
2212
  readonly retainedByPack?: boolean | undefined;
1943
- readonly command?: string | undefined;
1944
- readonly args?: readonly string[] | undefined;
1945
- readonly url?: string | undefined;
1946
- readonly headers?: {
1947
- readonly [x: string]: string;
1948
- } | undefined;
1949
- readonly syncedAgents?: readonly string[] | undefined;
1950
2213
  }>, AppError, never>;
1951
2214
  setMcpServer: ({ name, lockEntry, env, enabled }: SetMcpServerArgs) => Effect.Effect<void, AppError, never>;
1952
2215
  setMcpServerLock: ({ name, lockEntry }: SetMcpServerArgs) => Effect.Effect<void, AppError, never>;