@rizom/ops 0.2.0-alpha.40 → 0.2.0-alpha.41
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/README.md +1 -0
- package/dist/brains-ops.js +102 -99
- package/dist/index.d.ts +1 -0
- package/dist/index.js +102 -99
- package/dist/parse-args.d.ts +2 -0
- package/dist/user-add.d.ts +15 -0
- package/package.json +1 -1
- package/templates/rover-pilot/README.md +1 -0
- package/templates/rover-pilot/docs/onboarding-checklist.md +5 -4
package/dist/parse-args.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export interface ParsedArgs {
|
|
|
6
6
|
version?: boolean | undefined;
|
|
7
7
|
dryRun?: boolean | undefined;
|
|
8
8
|
pushTo?: string | undefined;
|
|
9
|
+
cohort?: string | undefined;
|
|
10
|
+
anchorId?: string | undefined;
|
|
9
11
|
};
|
|
10
12
|
}
|
|
11
13
|
export declare function parseArgs(argv: string[]): ParsedArgs;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface AddPilotUserOptions {
|
|
2
|
+
cohort: string;
|
|
3
|
+
anchorId?: string | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface AddPilotUserResult {
|
|
6
|
+
handle: string;
|
|
7
|
+
cohort: string;
|
|
8
|
+
userPath: string;
|
|
9
|
+
secretsTemplatePath: string;
|
|
10
|
+
cohortPath: string;
|
|
11
|
+
createdUser: boolean;
|
|
12
|
+
createdSecretsTemplate: boolean;
|
|
13
|
+
addedToCohort: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function addPilotUser(rootDir: string, handle: string, options: AddPilotUserOptions): Promise<AddPilotUserResult>;
|
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ When a push changes only deploy contract files, CI prints `No affected user conf
|
|
|
37
37
|
|
|
38
38
|
- `brains-ops init <repo>`
|
|
39
39
|
- `brains-ops render <repo>` — regenerates `views/users.md` with live DNS, `/health`, and unauthenticated `/mcp` status checks
|
|
40
|
+
- `brains-ops user:add <repo> <handle> --cohort <cohort>` — scaffolds a user file, per-user secrets template, and cohort membership
|
|
40
41
|
- `brains-ops onboard <repo> <handle>`
|
|
41
42
|
- `brains-ops age-key:bootstrap <repo>`
|
|
42
43
|
- `brains-ops ssh-key:bootstrap <repo>`
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
- keep your pinned `brainVersion`
|
|
7
7
|
- confirm shared selectors for `aiApiKey`, `gitSyncToken`, and `mcpAuthToken`
|
|
8
8
|
- confirm `agePublicKey`
|
|
9
|
-
4.
|
|
10
|
-
- Discord is enabled by default for pilot users
|
|
11
|
-
- if the user should be an anchor there,
|
|
12
|
-
|
|
9
|
+
4. Run `bunx brains-ops user:add <repo> <handle> --cohort <cohort>`.
|
|
10
|
+
- Discord is enabled by default for pilot users.
|
|
11
|
+
- if the user should be an anchor there, add `--anchor-id <discord-user-id>`.
|
|
12
|
+
- the command creates `users/<handle>.yaml`, `users/<handle>.secrets.yaml`, and the cohort membership without duplicating existing entries.
|
|
13
|
+
5. Edit the generated user file if the anchor profile needs richer metadata.
|
|
13
14
|
6. Run `bunx brains-ops render <repo>`.
|
|
14
15
|
7. Run `bunx brains-ops ssh-key:bootstrap <repo> --push-to gh`.
|
|
15
16
|
8. Run `bunx brains-ops cert:bootstrap <repo> --push-to gh`.
|