@rizom/ops 0.2.0-alpha.548 → 0.2.0-alpha.549
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/dist/brains-ops.js +106 -106
- package/dist/deploy.js +31 -31
- package/dist/index.js +111 -111
- package/dist/load-registry.d.ts +2 -1
- package/dist/schema.d.ts +14 -0
- package/package.json +2 -1
package/dist/load-registry.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PilotConfig, type CanonicalBundleId, type UserConfig } from "./schema";
|
|
1
|
+
import { type AnchorKind, 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 {
|
|
@@ -84,6 +84,7 @@ export interface ResolvedUserIdentity {
|
|
|
84
84
|
cloudflareZoneId?: string | undefined;
|
|
85
85
|
contentRepo: string;
|
|
86
86
|
profileKind?: string | undefined;
|
|
87
|
+
anchorKind?: AnchorKind | undefined;
|
|
87
88
|
embeddingEnabled?: boolean | undefined;
|
|
88
89
|
plugins?: UserConfig["plugins"];
|
|
89
90
|
topicExtractionEnabled?: boolean | undefined;
|
package/dist/schema.d.ts
CHANGED
|
@@ -28,6 +28,19 @@ export declare const profileKindSchema: z.ZodEnum<{
|
|
|
28
28
|
team: "team";
|
|
29
29
|
organization: "organization";
|
|
30
30
|
}>;
|
|
31
|
+
/**
|
|
32
|
+
* Who owns the brain in its auth service. "person" (the runtime default) makes
|
|
33
|
+
* the first passkey holder a permanent owner; "team" and "organization" make
|
|
34
|
+
* the brain collectively owned, so admins can be replaced. Kept in lockstep
|
|
35
|
+
* with @brains/auth-service AUTH_BRAIN_ANCHOR_CONFIG_KINDS by a test.
|
|
36
|
+
*/
|
|
37
|
+
export declare const ANCHOR_KINDS: readonly ["person", "team", "organization"];
|
|
38
|
+
export declare const anchorKindSchema: z.ZodEnum<{
|
|
39
|
+
person: "person";
|
|
40
|
+
team: "team";
|
|
41
|
+
organization: "organization";
|
|
42
|
+
}>;
|
|
43
|
+
export type AnchorKind = z.output<typeof anchorKindSchema>;
|
|
31
44
|
declare const canonicalBundlesSchema: z.ZodArray<typeof canonicalBundleIdSchema>;
|
|
32
45
|
declare const memberIdsSchema: z.ZodArray<z.ZodString>;
|
|
33
46
|
/** Sole active desired-state contract for the canonical brain. */
|
|
@@ -129,6 +142,7 @@ export declare const userSchema: z.ZodObject<{
|
|
|
129
142
|
cloudflareZoneId: z.ZodOptional<z.ZodString>;
|
|
130
143
|
contentRepoOverride: z.ZodOptional<z.ZodString>;
|
|
131
144
|
profileKind: z.ZodOptional<typeof profileKindSchema>;
|
|
145
|
+
anchorKind: z.ZodOptional<typeof anchorKindSchema>;
|
|
132
146
|
plugins: z.ZodOptional<typeof userPluginsSchema>;
|
|
133
147
|
embeddingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
134
148
|
topicExtractionEnabled: z.ZodOptional<z.ZodBoolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rizom/ops",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.549",
|
|
4
4
|
"description": "Operator CLI for managing private brain fleet registry repos",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"brains",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"yaml": "^2.9.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
+
"@brains/auth-service": "workspace:*",
|
|
25
26
|
"@brains/deploy-support": "workspace:*",
|
|
26
27
|
"@brains/eslint-config": "workspace:*",
|
|
27
28
|
"@brains/job-queue": "workspace:*",
|