@polderlabs/bizar 10.30.0 → 10.31.0
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
CHANGED
|
@@ -67,11 +67,16 @@ Install Bizar, then configure the repository with a running AO daemon.
|
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
69
|
npm install -g @polderlabs/bizar
|
|
70
|
-
bizar ao
|
|
70
|
+
bizar ao check
|
|
71
|
+
bizar ao install
|
|
72
|
+
bizar ao update
|
|
71
73
|
bizar ao setup
|
|
72
74
|
```
|
|
73
75
|
|
|
74
|
-
`bizar ao
|
|
76
|
+
`bizar ao check` runs AO health checks. `bizar ao install` and `bizar ao update`
|
|
77
|
+
open AO through its supported lifecycle command; the AO desktop app owns
|
|
78
|
+
installation and updates. `bizar ao setup` remains the separate, explicit
|
|
79
|
+
repository configuration step: it preserves AO's existing project configuration while selecting
|
|
75
80
|
Codex for both AO roles and materializing Bizar's managed repository-local
|
|
76
81
|
worker rules at `.ao/bizar-worker-rules.md`.
|
|
77
82
|
AO remains responsible for spawning workers, messaging, PR claims, review/CI
|
package/cli/commands/ao.mjs
CHANGED
|
@@ -21,7 +21,7 @@ function optionValue(args, flag) {
|
|
|
21
21
|
|
|
22
22
|
export function parseAoArgs(args = []) {
|
|
23
23
|
const [first, ...rest] = args;
|
|
24
|
-
const subcommand = ['setup', 'doctor', 'status', 'sessions', 'help'].includes(first) ? first : 'forward';
|
|
24
|
+
const subcommand = ['check', 'install', 'update', 'setup', 'doctor', 'status', 'sessions', 'help'].includes(first) ? first : 'forward';
|
|
25
25
|
return {
|
|
26
26
|
subcommand,
|
|
27
27
|
forward: subcommand === 'forward' ? args : rest,
|
|
@@ -116,6 +116,9 @@ function help(output = process.stdout) {
|
|
|
116
116
|
bizar ao — Agent Orchestrator bridge (AO-primary)
|
|
117
117
|
|
|
118
118
|
Usage:
|
|
119
|
+
bizar ao check
|
|
120
|
+
bizar ao install
|
|
121
|
+
bizar ao update
|
|
119
122
|
bizar ao doctor
|
|
120
123
|
bizar ao setup [--project <id>] [--model <id>] [--permissions <mode>]
|
|
121
124
|
bizar ao status
|
|
@@ -123,7 +126,9 @@ Usage:
|
|
|
123
126
|
bizar ao <any supported ao command> [args...]
|
|
124
127
|
|
|
125
128
|
AO remains the sole owner of sessions, worktrees, PRs, review feedback,
|
|
126
|
-
previews, and browser state.
|
|
129
|
+
previews, and browser state. Check runs AO's health checks. Install and update
|
|
130
|
+
open AO through its supported lifecycle command; the AO desktop app owns updates.
|
|
131
|
+
The setup command registers this repository with AO,
|
|
127
132
|
selects Codex for both AO roles, and preserves existing AO project settings.
|
|
128
133
|
It creates and configures the repository-local ${AO_RULES_FILE} as AO worker
|
|
129
134
|
rules, preserving a file that is already present.
|
|
@@ -188,6 +193,16 @@ export function doctorAo(options = {}) {
|
|
|
188
193
|
};
|
|
189
194
|
}
|
|
190
195
|
|
|
196
|
+
export function checkAo(options = {}) {
|
|
197
|
+
return runAo(['doctor', '--json'], options);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export function installAo(options = {}) {
|
|
201
|
+
return runAo(['start', '--json'], options);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export const updateAo = installAo;
|
|
205
|
+
|
|
191
206
|
export function run(args = [], options = {}) {
|
|
192
207
|
const parsed = parseAoArgs(args);
|
|
193
208
|
const output = options.output || process;
|
|
@@ -198,7 +213,10 @@ export function run(args = [], options = {}) {
|
|
|
198
213
|
try {
|
|
199
214
|
let result;
|
|
200
215
|
if (parsed.subcommand === 'setup') result = setupAo({ ...options, ...parsed });
|
|
216
|
+
else if (parsed.subcommand === 'check') result = checkAo(options);
|
|
201
217
|
else if (parsed.subcommand === 'doctor') result = doctorAo(options);
|
|
218
|
+
else if (parsed.subcommand === 'install') result = installAo(options);
|
|
219
|
+
else if (parsed.subcommand === 'update') result = updateAo(options);
|
|
202
220
|
else if (parsed.subcommand === 'status') result = runAo(['status', '--json'], options);
|
|
203
221
|
else if (parsed.subcommand === 'sessions') result = runAo(['session', 'ls', ...parsed.forward], options);
|
|
204
222
|
else result = runAo(parsed.forward, options);
|
package/package.json
CHANGED