@agentxm/workspace-operations 0.29.2 → 0.29.4

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.
@@ -11,8 +11,8 @@
11
11
  * @experimental This API is unstable and may change without notice.
12
12
  * @packageDocumentation
13
13
  */
14
- export { BlockingClassSchema, defaultOperationPresentation, operationPresentation, presentationOf, ArtifactMechanismSchema, ConfirmableConsentSchema, OperationPreconditionSchema, PlanPolicyIdSchema, PlanPolicyIds, PlanRiskConditionSchema, } from "./plan/plan.js";
15
- export type { ArtifactMechanism, BlockingClass, CompletedJobStep, ConfirmableConsent, ErrorJobStep, ExecutedJob, ExecutedPlan, Job, JobStepArtifact, JobStepArtifactSource, JobStepArtifactTarget, JobStepResult, Operation, OperationPrecondition, OperationPresentation, Plan, PlanExecutionCapabilities, PlanPolicyId, PlanRiskCondition, PlannedJobStep, ReadyJobStep, RegistryLifecycleEvidence, UnitBlocking, WarnJobStep, } from "./plan/plan.js";
14
+ export { BlockingClassSchema, defaultOperationPresentation, operationPresentation, presentationOf, ArtifactMechanismSchema, PackMembershipDeltaSchema, ConfirmableConsentSchema, OperationPreconditionSchema, PlanPolicyIdSchema, PlanPolicyIds, PlanRiskConditionSchema, } from "./plan/plan.js";
15
+ export type { ArtifactMechanism, BlockingClass, CompletedJobStep, ConfirmableConsent, ErrorJobStep, ExecutedJob, ExecutedPlan, Job, JobStepArtifact, PackMembershipDelta, JobStepArtifactSource, JobStepArtifactTarget, JobStepResult, Operation, OperationPrecondition, OperationPresentation, Plan, PlanExecutionCapabilities, PlanPolicyId, PlanRiskCondition, PlannedJobStep, ReadyJobStep, RegistryLifecycleEvidence, UnitBlocking, WarnJobStep, } from "./plan/plan.js";
16
16
  export { AtomicityClassSchema, OperationOutcomeSchema, OperationPhaseSchema, UnitDispositionSchema, UnitStateSchema, countUnitStates, declaredAtomicity, deriveOperationOutcome, executedUnits, makeOperationResolution, plannedUnits, unitIdOf, unitsByStableIdentity, } from "./plan/operation-resolution.js";
17
17
  export type { AtomicityClass, MakeOperationResolutionArgs, OperationAtomicity, OperationBlock, OperationFootprintEntry, OperationInterruption, OperationOutcome, OperationPhase, OperationRecovery, OperationResolution, ResolvedUnit, UnitDisposition, UnitState, UnitStateCounts, } from "./plan/operation-resolution.js";
18
18
  export { OperationJournal, appendResolvedUnit, appendStartedUnit, recordJournalPhase, getOperationJournal, makeOperationJournal, recordOperationJournal, updateOperationJournal, type OperationJournalService, type OperationJournalState, } from "./plan/operation-journal.js";
package/dist/src/index.js CHANGED
@@ -12,7 +12,7 @@
12
12
  * @packageDocumentation
13
13
  */
14
14
  // Plan types
15
- export { BlockingClassSchema, defaultOperationPresentation, operationPresentation, presentationOf, ArtifactMechanismSchema, ConfirmableConsentSchema, OperationPreconditionSchema, PlanPolicyIdSchema, PlanPolicyIds, PlanRiskConditionSchema, } from "./plan/plan.js";
15
+ export { BlockingClassSchema, defaultOperationPresentation, operationPresentation, presentationOf, ArtifactMechanismSchema, PackMembershipDeltaSchema, ConfirmableConsentSchema, OperationPreconditionSchema, PlanPolicyIdSchema, PlanPolicyIds, PlanRiskConditionSchema, } from "./plan/plan.js";
16
16
  // Operation resolution — the single value every plan-family command
17
17
  // terminates with, with its pure outcome derivations.
18
18
  export { AtomicityClassSchema, OperationOutcomeSchema, OperationPhaseSchema, UnitDispositionSchema, UnitStateSchema, countUnitStates, declaredAtomicity, deriveOperationOutcome, executedUnits, makeOperationResolution, plannedUnits, unitIdOf, unitsByStableIdentity, } from "./plan/operation-resolution.js";
@@ -76,6 +76,24 @@ export interface Operation<TName extends string, TArgs> {
76
76
  }
77
77
  export declare const ArtifactMechanismSchema: Schema.Literals<readonly ["symlink", "copy"]>;
78
78
  export type ArtifactMechanism = typeof ArtifactMechanismSchema.Type;
79
+ /** Resolved manifest changes; null denotes an absent dependency. */
80
+ export declare const PackMembershipDeltaSchema: Schema.Struct<{
81
+ readonly pack: Schema.String;
82
+ readonly members: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
83
+ readonly member: Schema.String;
84
+ readonly before: Schema.Null;
85
+ readonly after: Schema.String;
86
+ }>, Schema.Struct<{
87
+ readonly member: Schema.String;
88
+ readonly before: Schema.String;
89
+ readonly after: Schema.Null;
90
+ }>, Schema.Struct<{
91
+ readonly member: Schema.String;
92
+ readonly before: Schema.String;
93
+ readonly after: Schema.String;
94
+ }>]>>;
95
+ }>;
96
+ export type PackMembershipDelta = typeof PackMembershipDeltaSchema.Type;
79
97
  export interface JobStepArtifact {
80
98
  readonly path: string;
81
99
  readonly scope: "project" | "user";
@@ -89,6 +107,7 @@ export interface JobStepArtifact {
89
107
  readonly agentOutcomes?: ReadonlyArray<ConfiguredAgentOutcome>;
90
108
  readonly source?: JobStepArtifactSource;
91
109
  readonly managedRegions?: ReadonlyArray<JobStepManagedRegion>;
110
+ readonly packMembership?: PackMembershipDelta;
92
111
  /** Registry lifecycle evidence captured when the candidate was resolved. */
93
112
  readonly registryLifecycle?: {
94
113
  readonly deprecation: DeprecationView;
@@ -72,6 +72,15 @@ export const PlanRiskConditionSchema = Schema.Union([
72
72
  // Step result types
73
73
  // -----------------------------------------------------------------------------
74
74
  export const ArtifactMechanismSchema = Schema.Literals(["symlink", "copy"]);
75
+ /** Resolved manifest changes; null denotes an absent dependency. */
76
+ export const PackMembershipDeltaSchema = Schema.Struct({
77
+ pack: Schema.String,
78
+ members: Schema.Array(Schema.Union([
79
+ Schema.Struct({ member: Schema.String, before: Schema.Null, after: Schema.String }),
80
+ Schema.Struct({ member: Schema.String, before: Schema.String, after: Schema.Null }),
81
+ Schema.Struct({ member: Schema.String, before: Schema.String, after: Schema.String }),
82
+ ])),
83
+ });
75
84
  /** Presentation for an operation on one extension type (or extensions generally). */
76
85
  export const operationPresentation = (verb, type) => ({
77
86
  verb,
package/package.json CHANGED
@@ -4,16 +4,16 @@
4
4
  "url": "https://github.com/agentxm/axm/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@agentxm/extension-model": "^0.29.2",
8
- "@agentxm/extension-resolution": "^0.29.2",
9
- "@agentxm/registry-protocol": "^0.29.2",
10
- "@agentxm/workspace-state": "^0.29.2",
11
- "@agentxm/workspace-transactions": "^0.29.2",
7
+ "@agentxm/extension-model": "^0.29.4",
8
+ "@agentxm/extension-resolution": "^0.29.4",
9
+ "@agentxm/registry-protocol": "^0.29.4",
10
+ "@agentxm/workspace-state": "^0.29.4",
11
+ "@agentxm/workspace-transactions": "^0.29.4",
12
12
  "effect": "4.0.0-rc.115"
13
13
  },
14
14
  "description": "AXM workspace operations: plans, execution candidates, closure execution, and operation resolutions for the axm CLI. Unstable and unsupported — use the axm.sh CLI.",
15
15
  "devDependencies": {
16
- "@agentxm/specification-metadata": "^0.29.2",
16
+ "@agentxm/specification-metadata": "^0.29.4",
17
17
  "@effect/platform-node": "4.0.0-rc.115",
18
18
  "@effect/vitest": "4.0.0-rc.115",
19
19
  "@typescript/native": "npm:typescript@^7.0.2",
@@ -56,5 +56,5 @@
56
56
  },
57
57
  "sideEffects": false,
58
58
  "type": "module",
59
- "version": "0.29.2"
59
+ "version": "0.29.4"
60
60
  }