/** * Lockfile module for managing project-root `axm-lock.yaml` or the user-scope * `axm-lock.yaml` (YAML format). * * Provides functions to read, write, and update accepted external resolutions. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import * as FileSystem from "effect/FileSystem"; import * as Path from "effect/Path"; import * as Effect from "effect/Effect"; import { type AppError } from "../app-error/index.js"; import { type Lockfile } from "./schema.js"; /** * Filename for the lockfile. * * @experimental This API is unstable and may change without notice. */ export declare const LOCKFILE_NAME = "axm-lock.yaml"; /** * Pure lockfile transformation used to batch multiple lockfile updates before * one atomic write. * * @experimental This API is unstable and may change without notice. */ export type LockfileUpdate = (lockfile: Lockfile) => Lockfile; /** * Writes the lockfile to the selected scope's `axm-lock.yaml` in YAML format. * * Creates the containing directory if it does not exist. Writes are serialized by * an in-process keyed semaphore plus a best-effort local advisory lock file. * Temporary files are removed by scoped finalizer on interruption, and stale * temp files from older crashed writers are swept before each write. When the * encoded bytes already match, the existing lockfile is left untouched. * * `writeLockfile` remains a full replacement operation. Call * `commitLockfileUpdates` when applying deltas that must reread the latest * lockfile state under the advisory lock. * * @param axmDir - Directory containing the selected scope's lockfile * @param lockfile - The lockfile object to write * @returns Effect yielding void on success * * @experimental This API is unstable and may change without notice. */ export declare const writeLockfileAtPath: (lockfilePath: string, lockfile: Lockfile) => Effect.Effect; export declare const writeLockfile: (axmDir: string, lockfile: Lockfile) => Effect.Effect; /** * Applies lockfile updates in order without writing to disk. * * @experimental This API is unstable and may change without notice. */ export declare const applyLockfileUpdates: (lockfile: Lockfile, updates: ReadonlyArray) => Lockfile; /** * Applies a batch of lockfile updates and writes the result once. * * This is intended for sync flows that discover multiple render-hash changes * while reconciling managed package targets. * * @experimental This API is unstable and may change without notice. */ export declare const commitLockfileUpdates: (axmDir: string, lockfile: Lockfile, updates: ReadonlyArray) => Effect.Effect<{ readonly skills: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "github"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "skill"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "skill"; readonly sourceType: "git"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly path: string; readonly type: "local"; readonly sourceName: "local"; readonly extensionType: "skill"; readonly sourceType: "local"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; }; readonly lockfileVersion: 6; readonly subagents?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "subagent"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "subagent"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly rules?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "rule"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "rule"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly hooks?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "hook"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "hook"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly knowledge?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "knowledge"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "knowledge"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly packs?: { readonly [x: string]: { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "pack"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly manifestContentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly mcpServers?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "mcp-server"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "mcp-server"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; }, AppError, Path.Path | FileSystem.FileSystem>; /** * Commits a caller-computed lockfile snapshot as an entry-level patch. * * The caller supplies the base snapshot it read and the next snapshot it * computed. The helper rereads the current on-disk lockfile under the advisory * lock, applies only the base→next entry changes, then writes once. This keeps * independent concurrent updates from dropping each other while preserving * explicit entry deletions. * * @experimental This API is unstable and may change without notice. */ export declare const commitLockfileSnapshotUpdateAtPath: (lockfilePath: string, base: Lockfile, next: Lockfile) => Effect.Effect<{ readonly skills: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "github"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "skill"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "skill"; readonly sourceType: "git"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly path: string; readonly type: "local"; readonly sourceName: "local"; readonly extensionType: "skill"; readonly sourceType: "local"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; }; readonly lockfileVersion: 6; readonly subagents?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "subagent"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "subagent"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly rules?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "rule"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "rule"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly hooks?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "hook"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "hook"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly knowledge?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "knowledge"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "knowledge"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly packs?: { readonly [x: string]: { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "pack"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly manifestContentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly mcpServers?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "mcp-server"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "mcp-server"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; }, AppError, Path.Path | FileSystem.FileSystem>; export declare const commitLockfileSnapshotUpdate: (axmDir: string, base: Lockfile, next: Lockfile) => Effect.Effect<{ readonly skills: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "github"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "skill"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "skill"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm" | "agent-skill"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "skill"; readonly sourceType: "git"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly path: string; readonly type: "local"; readonly sourceName: "local"; readonly extensionType: "skill"; readonly sourceType: "local"; readonly packageFormat: "agentxm" | "agent-skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly packageOwner?: (string & import("effect/Brand").Brand<"Handle">) | undefined; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "skill"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; }; readonly lockfileVersion: 6; readonly subagents?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "subagent"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "subagent"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "subagent"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "subagent"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly rules?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "rule"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "rule"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "rule"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "rule"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly hooks?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "hook"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "hook"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "hook"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "hook"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly knowledge?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "knowledge"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "knowledge"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "knowledge"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "knowledge"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly packs?: { readonly [x: string]: { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "pack"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly manifestContentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; readonly mcpServers?: { readonly [x: string]: { readonly type: "github"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "github"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "gitlab"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "gitlab"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "bitbucket"; readonly owner: string; readonly sourceName: string; readonly repo: string; readonly extensionType: "mcp-server"; readonly sourceType: "bitbucket"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly project: string; readonly type: "azurerepos"; readonly sourceName: string; readonly repo: string; readonly organization: string; readonly extensionType: "mcp-server"; readonly sourceType: "azurerepos"; readonly packageFormat: "agentxm"; readonly endpoint: URL; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly url: string; readonly type: "git"; readonly sourceName: "git"; readonly extensionType: "mcp-server"; readonly sourceType: "git"; readonly packageFormat: "agentxm"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedCommit: string; readonly resolvedTree: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; readonly path?: string | undefined; readonly ref?: string | undefined; } | { readonly type: "local"; readonly sourceType: "local"; readonly sourceName: "local"; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly packageOwner: string & import("effect/Brand").Brand<"Handle">; readonly packageName: string & import("effect/Brand").Brand<"ExtensionName">; readonly path: string; readonly contentIdentity: string & import("effect/Brand").Brand<"SourceHash">; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; } | { readonly type: "registry"; readonly sourceType: "registry"; readonly endpoint: URL; readonly extensionType: "mcp-server"; readonly workspaceName: string & import("effect/Brand").Brand<"ExtensionName">; readonly packageFormat: "agentxm"; readonly owner: string & import("effect/Brand").Brand<"Handle">; readonly name: string & import("effect/Brand").Brand<"ExtensionName">; readonly resolvedVersion: string & import("effect/Brand").Brand<"Version">; readonly integrity: string; readonly sourceName: string; readonly publisherBindingId: string; readonly treeIntegrity: string & import("effect/Brand").Brand<"TreeIntegrity">; }; } | undefined; }, AppError, Path.Path | FileSystem.FileSystem>; //# sourceMappingURL=lockfile.d.ts.map