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