@rizom/ops 0.2.0-alpha.207 → 0.2.0-alpha.209
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 +3 -3
- package/dist/deploy.js +16 -16
- package/dist/index.js +29 -29
- package/dist/load-registry.d.ts +2 -0
- package/dist/schema.d.ts +1 -0
- package/package.json +1 -1
- package/templates/rover-pilot/docs/operator-playbook.md +6 -2
package/dist/load-registry.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export interface ResolvedAtprotoConfig {
|
|
|
36
36
|
identifier: string;
|
|
37
37
|
/** Owner account DID served at /.well-known/atproto-did for handle verification. */
|
|
38
38
|
accountDid?: string | undefined;
|
|
39
|
+
/** Whether this account publishes the canonical ai.rizom.brain.* schemas. */
|
|
40
|
+
lexiconAuthority?: boolean | undefined;
|
|
39
41
|
}
|
|
40
42
|
export interface ResolvedPlaybooksConfig {
|
|
41
43
|
onboarding?: boolean | undefined;
|
package/dist/schema.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const setupDeliverySchema: z.ZodObject<{
|
|
|
47
47
|
declare const atprotoSchema: z.ZodObject<{
|
|
48
48
|
identifier: z.ZodString;
|
|
49
49
|
accountDid: z.ZodOptional<z.ZodString>;
|
|
50
|
+
lexiconAuthority: z.ZodOptional<z.ZodBoolean>;
|
|
50
51
|
}>;
|
|
51
52
|
declare const siteOverrideSchema: z.ZodObject<{
|
|
52
53
|
package: z.ZodString;
|
package/package.json
CHANGED
|
@@ -180,6 +180,10 @@ Use this when enabling AT Protocol publishing for a single pilot user.
|
|
|
180
180
|
accountDid: did:plc:example123
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
+
Only for the PDS account designated by the protocol authority's `_lexicon`
|
|
184
|
+
DNS TXT record, also set `lexiconAuthority: true`. Every other fleet user
|
|
185
|
+
must omit it.
|
|
186
|
+
|
|
183
187
|
2. Put the app password in `users/<handle>.secrets.yaml`:
|
|
184
188
|
|
|
185
189
|
```yaml
|
|
@@ -191,11 +195,11 @@ Use this when enabling AT Protocol publishing for a single pilot user.
|
|
|
191
195
|
4. Reconcile/deploy the user or cohort:
|
|
192
196
|
- `bunx brains-ops onboard . <handle>`
|
|
193
197
|
- or `bunx brains-ops reconcile-cohort . <cohort>`
|
|
194
|
-
5. Verify the generated `users/<handle>/brain.yaml` contains `plugins.atproto.identifier` (plus `accountDid` when configured) and `appPassword: ${ATPROTO_APP_PASSWORD}`.
|
|
198
|
+
5. Verify the generated `users/<handle>/brain.yaml` contains `plugins.atproto.identifier` (plus `accountDid` and `lexiconAuthority` when configured) and `appPassword: ${ATPROTO_APP_PASSWORD}`.
|
|
195
199
|
|
|
196
200
|
Notes:
|
|
197
201
|
|
|
198
|
-
- The ATProto identifier
|
|
202
|
+
- The ATProto identifier and authority flag are public instance config and belong in `users/<handle>.yaml`. Only the DNS-designated authority account may set `lexiconAuthority: true`.
|
|
199
203
|
- The ATProto app password is secret and belongs only in the encrypted per-user secret payload.
|
|
200
204
|
- For smoke deployments, pin only the smoke cohort/user to the released brain version that contains ATProto support.
|
|
201
205
|
|