@agentxm/workspace-sync 0.28.4-bootstrap.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +110 -0
- package/dist/src/errors.d.ts +29 -0
- package/dist/src/errors.js +25 -0
- package/dist/src/failure-adapter.d.ts +18 -0
- package/dist/src/failure-adapter.js +11 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.js +14 -0
- package/dist/src/materialize.d.ts +125 -0
- package/dist/src/materialize.js +547 -0
- package/dist/src/plan.d.ts +100 -0
- package/dist/src/plan.js +456 -0
- package/dist/src/rendered-file-cleanup.d.ts +45 -0
- package/dist/src/rendered-file-cleanup.js +381 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, MIT Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-MIT
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2025-2026 AgentXM, Inc.
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the MIT license that is effective on the second anniversary of the date we make
|
|
91
|
+
the Software available. On or after that date, you may use the Software under
|
|
92
|
+
the MIT license, in which case the following will apply:
|
|
93
|
+
|
|
94
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
95
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
96
|
+
the Software without restriction, including without limitation the rights to
|
|
97
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
98
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
99
|
+
so, subject to the following conditions:
|
|
100
|
+
|
|
101
|
+
The above copyright notice and this permission notice shall be included in all
|
|
102
|
+
copies or substantial portions of the Software.
|
|
103
|
+
|
|
104
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
105
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
106
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
107
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
108
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
109
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
110
|
+
SOFTWARE.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed failures for workspace-sync reconciliation. The producer owns the
|
|
3
|
+
* category choice and user-facing wording; the application boundary converts
|
|
4
|
+
* the carried fields into its error envelope verbatim.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This API is unstable and may change without notice.
|
|
7
|
+
*/
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
import type { ExtensionManagerFailure, McpConfigSyncFailure } from "@agentxm/extension-workspace";
|
|
10
|
+
declare const WorkspaceSyncFailed_base: Schema.Class<WorkspaceSyncFailed, Schema.TaggedStruct<"WorkspaceSyncFailed", {
|
|
11
|
+
readonly category: Schema.Literals<readonly ["conflict", "internal", "not_found", "validation"]>;
|
|
12
|
+
readonly detail: Schema.String;
|
|
13
|
+
readonly suggestions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
14
|
+
readonly description: Schema.String;
|
|
15
|
+
readonly cmd: Schema.optional<Schema.String>;
|
|
16
|
+
readonly url: Schema.optional<Schema.String>;
|
|
17
|
+
}>>>;
|
|
18
|
+
readonly cause: Schema.optional<Schema.Unknown>;
|
|
19
|
+
}>, import("effect/Cause").YieldableError>;
|
|
20
|
+
/**
|
|
21
|
+
* A workspace-sync policy step could not proceed. `category` and `detail`
|
|
22
|
+
* carry the boundary rendering 1:1.
|
|
23
|
+
*/
|
|
24
|
+
export declare class WorkspaceSyncFailed extends WorkspaceSyncFailed_base {
|
|
25
|
+
}
|
|
26
|
+
/** Every failure the rendered-file cleanup sweep surfaces. */
|
|
27
|
+
export type WorkspaceSyncCleanupFailure = WorkspaceSyncFailed | ExtensionManagerFailure | McpConfigSyncFailure;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed failures for workspace-sync reconciliation. The producer owns the
|
|
3
|
+
* category choice and user-facing wording; the application boundary converts
|
|
4
|
+
* the carried fields into its error envelope verbatim.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This API is unstable and may change without notice.
|
|
7
|
+
*/
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
const CarriedSuggestedActionSchema = Schema.Struct({
|
|
10
|
+
description: Schema.String,
|
|
11
|
+
cmd: Schema.optional(Schema.String),
|
|
12
|
+
url: Schema.optional(Schema.String),
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* A workspace-sync policy step could not proceed. `category` and `detail`
|
|
16
|
+
* carry the boundary rendering 1:1.
|
|
17
|
+
*/
|
|
18
|
+
export class WorkspaceSyncFailed extends Schema.TaggedError()("WorkspaceSyncFailed", {
|
|
19
|
+
category: Schema.Literals(["conflict", "internal", "not_found", "validation"]),
|
|
20
|
+
detail: Schema.String,
|
|
21
|
+
suggestions: Schema.optional(Schema.Array(CarriedSuggestedActionSchema)),
|
|
22
|
+
cause: Schema.optional(Schema.Unknown),
|
|
23
|
+
}) {
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The application-supplied conversion from typed failures to the kernel's
|
|
3
|
+
* `StepFailure`. Error rendering is application-owned: the CLI implements this
|
|
4
|
+
* with the same dispatcher it uses at its output boundary, so step categories
|
|
5
|
+
* and details inside sync plans stay byte-identical with rendered errors. The
|
|
6
|
+
* feature keeps only the requirement, never the mapping.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import type { ExtensionManagerFailure, InstructionMaintenanceFailure, McpConfigSyncFailure } from "@agentxm/extension-workspace";
|
|
11
|
+
import type { StepFailure } from "@agentxm/workspace-operations";
|
|
12
|
+
import type { WorkspaceSyncCleanupFailure } from "./errors.js";
|
|
13
|
+
/** Every typed failure the sync policy hands to the application's converter. */
|
|
14
|
+
export type SyncPolicyFailure = ExtensionManagerFailure | InstructionMaintenanceFailure | McpConfigSyncFailure | WorkspaceSyncCleanupFailure;
|
|
15
|
+
export interface SyncFailureAdapter {
|
|
16
|
+
readonly toStepFailure: (failure: SyncPolicyFailure) => StepFailure;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=failure-adapter.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The application-supplied conversion from typed failures to the kernel's
|
|
3
|
+
* `StepFailure`. Error rendering is application-owned: the CLI implements this
|
|
4
|
+
* with the same dispatcher it uses at its output boundary, so step categories
|
|
5
|
+
* and details inside sync plans stay byte-identical with rendered errors. The
|
|
6
|
+
* feature keeps only the requirement, never the mapping.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=failure-adapter.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace-sync feature: desired-state reconciliation planning, projection
|
|
3
|
+
* realization, and destructive reconciliation of AXM-managed artifacts on
|
|
4
|
+
* agent surfaces with the desired workspace state.
|
|
5
|
+
*
|
|
6
|
+
* @experimental All exports from this module are unstable and may change without notice.
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
export { WorkspaceSyncFailed, type WorkspaceSyncCleanupFailure } from "./errors.js";
|
|
10
|
+
export { type SyncFailureAdapter, type SyncPolicyFailure } from "./failure-adapter.js";
|
|
11
|
+
export { cleanupManagedArtifactsForRemovedAgents, cleanupStaleManagedSkillDirectories, cleanupStaleManagedSubagentFiles, inspectWorkspaceOwnership, type RemovedAgentArtifactCleanupResult, type RenderedFileCleanupResult, } from "./rendered-file-cleanup.js";
|
|
12
|
+
export { buildInlineMcpServerSyncOperation, buildMcpServerPruneOperation, collectCleanupStep, collectHooksStep, collectInstructionStep, collectKnowledgeStep, isInlineMcpServerEntry, makeSyncPlan, projectionDivergenceLabel, projectionFactsNeedReconciliation, SYNC_PLAN_DESCRIPTION, SYNC_PLAN_NAME, SYNC_PRESENTATION, SYNC_RECOVERY_IDS, syncRecoveryIdentifiers, type SyncStepRequirements, } from "./plan.js";
|
|
13
|
+
export { collectMaterializeSteps, normalizedIdentity, recoverableExternalPackName, scopedProblems, type ConfiguredPackRecovery, type ResolvedDesiredRef, type RunMcpServerInstall, type SyncSelection, } from "./materialize.js";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace-sync feature: desired-state reconciliation planning, projection
|
|
3
|
+
* realization, and destructive reconciliation of AXM-managed artifacts on
|
|
4
|
+
* agent surfaces with the desired workspace state.
|
|
5
|
+
*
|
|
6
|
+
* @experimental All exports from this module are unstable and may change without notice.
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
export { WorkspaceSyncFailed } from "./errors.js";
|
|
10
|
+
export {} from "./failure-adapter.js";
|
|
11
|
+
export { cleanupManagedArtifactsForRemovedAgents, cleanupStaleManagedSkillDirectories, cleanupStaleManagedSubagentFiles, inspectWorkspaceOwnership, } from "./rendered-file-cleanup.js";
|
|
12
|
+
export { buildInlineMcpServerSyncOperation, buildMcpServerPruneOperation, collectCleanupStep, collectHooksStep, collectInstructionStep, collectKnowledgeStep, isInlineMcpServerEntry, makeSyncPlan, projectionDivergenceLabel, projectionFactsNeedReconciliation, SYNC_PLAN_DESCRIPTION, SYNC_PLAN_NAME, SYNC_PRESENTATION, SYNC_RECOVERY_IDS, syncRecoveryIdentifiers, } from "./plan.js";
|
|
13
|
+
export { collectMaterializeSteps, normalizedIdentity, recoverableExternalPackName, scopedProblems, } from "./materialize.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desired-state materialization planning: select desired nodes, judge
|
|
3
|
+
* observed-materialization currency, and assemble the per-extension
|
|
4
|
+
* materialize steps of a sync plan. Lifecycle-owned decisions — configured
|
|
5
|
+
* entry resolution and the MCP server install operation — enter as
|
|
6
|
+
* application-supplied capabilities, so this feature never executes another
|
|
7
|
+
* feature's policy.
|
|
8
|
+
*
|
|
9
|
+
* @experimental All exports from this module are unstable and may change without notice.
|
|
10
|
+
*/
|
|
11
|
+
import * as Effect from "effect/Effect";
|
|
12
|
+
import * as FileSystem from "effect/FileSystem";
|
|
13
|
+
import * as Option from "effect/Option";
|
|
14
|
+
import * as Path from "effect/Path";
|
|
15
|
+
import { CodingAgentRepository, HookManager, KnowledgeManager, RuleManager, SkillManager, SubagentManager } from "@agentxm/extension-workspace";
|
|
16
|
+
import { type ReleaseAgeEvaluation } from "@agentxm/extension-model/unstable/extensions/release-age";
|
|
17
|
+
import { WorkspaceMutations, type CanonicalObservationStatus, type DesiredExtensionNode, type DesiredStateGraph, type ResolvedConfiguredEntry } from "@agentxm/workspace-state";
|
|
18
|
+
import { type ExtensionRef } from "@agentxm/extension-model/unstable/extensions/refs/extension-ref";
|
|
19
|
+
import { type McpServerExtensionRef } from "@agentxm/extension-model/unstable/extensions/refs/mcp-server";
|
|
20
|
+
import { type ExtensionType } from "@agentxm/extension-model/unstable/extensions";
|
|
21
|
+
import { StepFailure, type JobStepResult, type Plan, type PlannedJobStep } from "@agentxm/workspace-operations";
|
|
22
|
+
import { WorkspaceSyncFailed } from "./errors.js";
|
|
23
|
+
import { type SyncStepRequirements } from "./plan.js";
|
|
24
|
+
import type { SyncFailureAdapter } from "./failure-adapter.js";
|
|
25
|
+
export interface SyncSelection {
|
|
26
|
+
readonly target: Option.Option<string>;
|
|
27
|
+
readonly type: Option.Option<Exclude<ExtensionType, "pack">>;
|
|
28
|
+
}
|
|
29
|
+
export declare const normalizedIdentity: (identity: string) => string;
|
|
30
|
+
export declare const scopedProblems: (graph: DesiredStateGraph, selection: SyncSelection) => DesiredStateGraph["problems"];
|
|
31
|
+
export declare const recoverableExternalPackName: (graph: DesiredStateGraph, problem: DesiredStateGraph["problems"][number]) => string | undefined;
|
|
32
|
+
export interface ConfiguredPackRecovery<R = SyncStepRequirements> {
|
|
33
|
+
readonly packNames: ReadonlySet<string>;
|
|
34
|
+
readonly releaseAge: Plan["releaseAge"];
|
|
35
|
+
readonly steps: ReadonlyArray<PlannedJobStep<R>>;
|
|
36
|
+
}
|
|
37
|
+
/** Application-supplied MCP server install operation for one sync transition. */
|
|
38
|
+
export type RunMcpServerInstall<R> = (args: {
|
|
39
|
+
readonly ref: McpServerExtensionRef;
|
|
40
|
+
readonly force: boolean;
|
|
41
|
+
}) => Effect.Effect<JobStepResult, StepFailure, R>;
|
|
42
|
+
/** The resolved configured entry the desired-ref capability yields per node. */
|
|
43
|
+
export type ResolvedDesiredRef = ResolvedConfiguredEntry<ExtensionRef> | {
|
|
44
|
+
readonly ref: ExtensionRef;
|
|
45
|
+
readonly versionRange: Option.Option<never>;
|
|
46
|
+
};
|
|
47
|
+
export declare const collectMaterializeSteps: <E = never, R = SyncStepRequirements, RResolve = never>(args: {
|
|
48
|
+
readonly selection?: SyncSelection;
|
|
49
|
+
readonly retainedOnly?: boolean;
|
|
50
|
+
/** Desired agent set for membership preflight before settings are committed. */
|
|
51
|
+
readonly configuredAgents?: ReadonlyArray<string>;
|
|
52
|
+
readonly packRecovery?: ConfiguredPackRecovery<R>;
|
|
53
|
+
/** Release-age policy evaluated by the application from lifecycle policy. */
|
|
54
|
+
readonly releaseAgeEvaluation: ReleaseAgeEvaluation;
|
|
55
|
+
/** Application-supplied configured-entry resolution for one desired node. */
|
|
56
|
+
readonly resolveDesiredRef: (node: DesiredExtensionNode & {
|
|
57
|
+
readonly source: string;
|
|
58
|
+
}, canonicalStatus: CanonicalObservationStatus, constraintDetail: string | undefined) => Effect.Effect<ResolvedDesiredRef, E, RResolve>;
|
|
59
|
+
readonly runMcpServerInstall: RunMcpServerInstall<R>;
|
|
60
|
+
readonly adapter: SyncFailureAdapter;
|
|
61
|
+
}) => Effect.Effect<{
|
|
62
|
+
cleanupSafe: boolean;
|
|
63
|
+
knowledgeMayChange: boolean;
|
|
64
|
+
serialMaterialization: boolean;
|
|
65
|
+
expectedSkillNames: Set<string & import("effect/Brand").Brand<"ExtensionName">>;
|
|
66
|
+
expectedSubagentNames: Set<string & import("effect/Brand").Brand<"ExtensionName">>;
|
|
67
|
+
releaseAge: {
|
|
68
|
+
evaluatedAt: string;
|
|
69
|
+
holdbacks: readonly import("@agentxm/registry-protocol/unstable/registry/release-age-policy").ReleaseAgeRecordBase[];
|
|
70
|
+
bypasses: readonly import("@agentxm/registry-protocol/unstable/registry/release-age-policy").ReleaseAgeBypassRecord[];
|
|
71
|
+
};
|
|
72
|
+
steps: (import("@agentxm/workspace-operations").ErrorJobStep | import("@agentxm/workspace-operations").ReadyJobStep<SyncStepRequirements | R, never> | import("@agentxm/workspace-operations").WarnJobStep<SyncStepRequirements | R, never> | {
|
|
73
|
+
artifact: {
|
|
74
|
+
version?: string;
|
|
75
|
+
targets?: import("@agentxm/workspace-operations").JobStepArtifactTarget[];
|
|
76
|
+
path: string;
|
|
77
|
+
scope: "project" | "user";
|
|
78
|
+
agents: readonly string[];
|
|
79
|
+
change: "created" | "updated" | "unchanged" | "removed";
|
|
80
|
+
};
|
|
81
|
+
key?: string;
|
|
82
|
+
dependsOn?: ReadonlyArray<string>;
|
|
83
|
+
readiness: "error";
|
|
84
|
+
errorMessage: string;
|
|
85
|
+
label: string;
|
|
86
|
+
agentOutcomes?: ReadonlyArray<import("@agentxm/workspace-state").ConfiguredAgentOutcome>;
|
|
87
|
+
registryLifecycle?: import("@agentxm/workspace-operations").RegistryLifecycleEvidence;
|
|
88
|
+
blockingConditionIds?: ReadonlyArray<string>;
|
|
89
|
+
} | {
|
|
90
|
+
artifact: {
|
|
91
|
+
version?: string;
|
|
92
|
+
targets?: import("@agentxm/workspace-operations").JobStepArtifactTarget[];
|
|
93
|
+
path: string;
|
|
94
|
+
scope: "project" | "user";
|
|
95
|
+
agents: readonly string[];
|
|
96
|
+
change: "created" | "updated" | "unchanged" | "removed";
|
|
97
|
+
};
|
|
98
|
+
key?: string;
|
|
99
|
+
dependsOn?: ReadonlyArray<string>;
|
|
100
|
+
readiness: "ready";
|
|
101
|
+
label: string;
|
|
102
|
+
message?: string;
|
|
103
|
+
agentOutcomes?: ReadonlyArray<import("@agentxm/workspace-state").ConfiguredAgentOutcome>;
|
|
104
|
+
registryLifecycle?: import("@agentxm/workspace-operations").RegistryLifecycleEvidence;
|
|
105
|
+
run: Effect.Effect<JobStepResult<never>, StepFailure, never>;
|
|
106
|
+
} | {
|
|
107
|
+
artifact: {
|
|
108
|
+
version?: string;
|
|
109
|
+
targets?: import("@agentxm/workspace-operations").JobStepArtifactTarget[];
|
|
110
|
+
path: string;
|
|
111
|
+
scope: "project" | "user";
|
|
112
|
+
agents: readonly string[];
|
|
113
|
+
change: "created" | "updated" | "unchanged" | "removed";
|
|
114
|
+
};
|
|
115
|
+
key?: string;
|
|
116
|
+
dependsOn?: ReadonlyArray<string>;
|
|
117
|
+
readiness: "warn";
|
|
118
|
+
warnMessage: string;
|
|
119
|
+
label: string;
|
|
120
|
+
agentOutcomes?: ReadonlyArray<import("@agentxm/workspace-state").ConfiguredAgentOutcome>;
|
|
121
|
+
registryLifecycle?: import("@agentxm/workspace-operations").RegistryLifecycleEvidence;
|
|
122
|
+
run: Effect.Effect<JobStepResult<never>, StepFailure, never>;
|
|
123
|
+
})[];
|
|
124
|
+
}, WorkspaceSyncFailed | import("@agentxm/extension-workspace").CoupledDependencyFailure | import("@agentxm/extension-workspace").PackageMaterializationFailed | import("@agentxm/extension-workspace").StagedPackageInvalid | import("@agentxm/extension-workspace").CanonicalPackageProbeFailed | import("@agentxm/extension-workspace").PackageCopyFailed | import("@agentxm/extension-workspace").ArchiveIntegrityMismatch | import("@agentxm/extension-workspace").CreateDestinationExists | import("@agentxm/extension-workspace").CreateNameConfigured | import("@agentxm/extension-workspace").CreateDestinationInspectionFailed | import("@agentxm/workspace-state").PathTraversalDetected | import("@agentxm/extension-workspace").ForkPackageInvalid | import("@agentxm/extension-workspace").ForkPackageConflict | import("@agentxm/extension-workspace").ForkPackageFailed | import("@agentxm/extension-workspace").NativeImportUnsupported | import("@agentxm/extension-workspace").NativeImportInvalid | import("@agentxm/extension-workspace").NativeImportConflict | import("@agentxm/extension-workspace").NativeImportFailed | import("@agentxm/extension-workspace").SourceAuthorityBlocked | import("@agentxm/extension-workspace").LifecyclePostconditionViolated | import("@agentxm/extension-workspace").ScaffoldedExtensionUnresolved | import("@agentxm/extension-workspace").DesiredStateIncomplete | import("@agentxm/extension-workspace").AuthoredContributorUnsupported | import("@agentxm/extension-workspace").ContributorIdentityInvalid | import("@agentxm/extension-workspace").ContributorUnresolved | import("@agentxm/extension-workspace").ContributorTreeMismatch | import("@agentxm/extension-workspace").ProjectionTargetUnsupported | import("@agentxm/extension-workspace").ManagedRegionViolation | import("@agentxm/extension-workspace").ProjectionIoFailed | import("@agentxm/extension-workspace").InstructionMaintenanceFailed | import("@agentxm/extension-workspace").RuleDefinitionInvalid | import("@agentxm/extension-workspace").RuleInstallStateMissing | import("@agentxm/extension-workspace").HookDefinitionInvalid | import("@agentxm/extension-workspace").HookConfigInvalid | import("@agentxm/extension-workspace").HookIoFailed | import("@agentxm/extension-workspace").HookInstallStateMissing | import("@agentxm/extension-workspace").SubagentDefinitionInvalid | import("@agentxm/extension-workspace").SubagentContentUnreadable | import("@agentxm/extension-workspace").SubagentIoFailed | import("@agentxm/extension-workspace").SubagentInstallStateMissing | import("@agentxm/extension-workspace").McpConfigInvalid | import("@agentxm/extension-workspace").McpConfigIoFailed | import("@agentxm/extension-workspace").McpEntryUnmanaged | import("@agentxm/extension-workspace").McpOwnershipMarkerInvalid | import("@agentxm/extension-workspace").McpDefinitionInvalid | import("@agentxm/extension-workspace").McpRegistryOnlyInstall | import("@agentxm/extension-workspace").McpInstallStateMissing | import("@agentxm/extension-workspace").McpSharedTargetConflict | import("@agentxm/extension-workspace").SkillDefinitionInvalid | import("@agentxm/extension-workspace").SkillMaterializationFailed | import("@agentxm/extension-workspace").SkillInstallStateMissing | import("@agentxm/extension-workspace").AxmSkillCompatibilityUnavailable | import("@agentxm/extension-workspace").AxmSkillIncompatible | import("@agentxm/extension-workspace").PackDefinitionInvalid | import("@agentxm/extension-workspace").PackInstallStateMissing | import("@agentxm/extension-workspace").PackArchiveFetchFailed | import("@agentxm/extension-workspace").PackStagingFailed | import("@agentxm/extension-workspace").PackDependencyInvalid | import("@agentxm/extension-workspace").PackDependencyConflict | import("@agentxm/extension-workspace").PackConstraintShadowed | import("@agentxm/extension-workspace").PackDependencyMissing | import("@agentxm/extension-workspace").PackDependencyUnsatisfied | import("@agentxm/extension-workspace").KnowledgeDefinitionInvalid | import("@agentxm/extension-workspace").KnowledgeIoFailed | import("@agentxm/extension-workspace").KnowledgeInstallStateMissing | import("@agentxm/extension-workspace").KnowledgeResolutionMissing | import("@agentxm/extension-workspace").KnowledgeDesiredStateUnreconcilable | import("@agentxm/extension-workspace").KnowledgeUnavailable | import("@agentxm/extension-workspace").KnowledgeObservableContractViolated | import("@agentxm/workspace-state").MaterializedTreeInvalid | import("@agentxm/extension-workspace").TransientBackupFailed | import("@agentxm/extension-workspace").WriteBackupRetained | import("@agentxm/workspace-state").SettingsIoError | import("@agentxm/workspace-state").SettingsParseError | import("@agentxm/workspace-state").SettingsDecodeError | import("@agentxm/workspace-state").LockfileIoError | import("@agentxm/workspace-state").LockfileParseError | import("@agentxm/workspace-state").LockfileDecodeError | import("@agentxm/workspace-state").WorkspaceRootEscape | import("@agentxm/workspace-state").SettingsWriteError | import("@agentxm/workspace-state").WorkspaceSnapshotError | import("@agentxm/workspace-state").LockfileValidationError | import("@agentxm/workspace-state").LockfileWriteError | import("@agentxm/workspace-state").WorkspaceDirectoryError | import("@agentxm/workspace-state").TransitionLockError | import("@agentxm/workspace-state").TransitionLockUnavailable | import("@agentxm/workspace-state").WorkspaceTransitionCompromised | import("@agentxm/workspace-state").WorkspaceRestorationIncomplete | import("@agentxm/workspace-state").WorkspaceLayoutError | import("@agentxm/workspace-state").WorkspaceNotInitialized | import("@agentxm/workspace-state").LockedSkillMissing | import("@agentxm/workspace-state").SettingsEntryMissing | import("@agentxm/workspace-state").InvalidAgentId | import("@agentxm/workspace-state").DesiredPackGraphIncomplete | import("@agentxm/workspace-state").CanonicalPathRemovalError | import("@agentxm/workspace-state").SymlinkCreationError | import("@agentxm/workspace-state").LockEntrySourceMissing | import("@agentxm/workspace-state").LockEntryUrlInvalid | import("@agentxm/workspace-state").LockEntryNameInvalid | import("@agentxm/workspace-state").LockEntryEndpointConflict | import("@agentxm/workspace-state").LockEntrySourceTypeConflict | import("@agentxm/workspace-state").AcceptedResolutionMissing | import("@agentxm/workspace-state").InlineExtensionSourceMissing | import("@agentxm/workspace-state").SupersededCanonicalRemovalFailed | import("@agentxm/workspace-state").PackageContentHashFailed | import("@agentxm/workspace-state").WorkspaceSourceInvalid | import("@agentxm/workspace-state").SkillDiscoveryRootInvalid | import("@agentxm/workspace-state").SubagentScanFailed | import("@agentxm/workspace-state").LockfileResolvedVersionInvalid | import("@agentxm/extension-model/unstable/extensions").FqnInvalidError | import("@agentxm/registry-protocol/unstable/content/frontmatter").FrontmatterParseFailure | import("@agentxm/registry-protocol/unstable/content/subagent-content").SubagentContentError | E, Path.Path | FileSystem.FileSystem | CodingAgentRepository | WorkspaceMutations | KnowledgeManager | HookManager | RuleManager | SubagentManager | RResolve | SkillManager>;
|
|
125
|
+
//# sourceMappingURL=materialize.d.ts.map
|