@rizom/ops 0.2.0-alpha.598 → 0.2.0-alpha.599

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.
@@ -1,4 +1,4 @@
1
- import { type AnchorKind, type PilotConfig, type CanonicalBundleId, type UserConfig } from "./schema";
1
+ import { type AnchorKind, type CohortConfig, type PilotConfig, type CanonicalBundleId, type UserConfig } from "./schema";
2
2
  export type ExternalStatus = "unknown" | "ready" | "failed";
3
3
  export type SnapshotStatus = "present" | "missing";
4
4
  export interface ObservedUserStatus {
@@ -116,4 +116,13 @@ export interface PilotRegistry {
116
116
  cohorts: ResolvedCohort[];
117
117
  users: ResolvedUser[];
118
118
  }
119
+ export interface LoadedCohortFile {
120
+ id: string;
121
+ data: CohortConfig;
122
+ }
119
123
  export declare function loadPilotRegistry(rootDir: string, options?: LoadPilotRegistryOptions): Promise<PilotRegistry>;
124
+ /**
125
+ * Resolve a user's desired state from the user → cohort → pilot cascade.
126
+ * Pure: the snapshot status is filesystem state and is added by the loader.
127
+ */
128
+ export declare function resolveUserIdentity(user: UserConfig, cohort: LoadedCohortFile, pilot: PilotConfig): Omit<ResolvedUserIdentity, "snapshotStatus">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.598",
3
+ "version": "0.2.0-alpha.599",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",