@bugb-technologies/bravos 1.7.0 → 1.9.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 +11 -7
- package/dist/ci.js +1 -1
- package/dist/cli.js +271 -111
- package/dist/codegraph.js +21 -0
- package/dist/context.js +1 -1
- package/dist/doctor.js +20 -11
- package/dist/global.js +3 -3
- package/dist/graphbin.js +2 -0
- package/dist/guardlink.js +1 -1
- package/dist/guide.js +12 -10
- package/dist/help.js +45 -19
- package/dist/hooks.js +44 -21
- package/dist/install.js +2 -1
- package/dist/lock.js +1 -0
- package/dist/mcp.js +21 -5
- package/dist/palette.js +2 -2
- package/dist/plugin-release.js +2 -2
- package/dist/plugin.js +3 -3
- package/dist/prefs.js +66 -0
- package/dist/review-wait.js +76 -0
- package/dist/setup-route.js +37 -0
- package/dist/setup.js +3 -2
- package/dist/skills.js +1 -1
- package/dist/start/answers.js +36 -7
- package/dist/start/index.js +190 -69
- package/dist/start/repos.js +1 -1
- package/dist/start/ui.js +2 -2
- package/dist/upkeep.js +89 -0
- package/dist/watch-frame.js +1 -1
- package/dist/watch.js +1 -1
- package/docs/GUIDE.md +23 -11
- package/docs/UPGRADING.md +43 -1
- package/hooks/lib/autopilot.mjs +3 -18
- package/hooks/lib/briefing.mjs +93 -14
- package/hooks/lib/graph-autobuild.mjs +131 -0
- package/hooks/lib/legacy-skills.mjs +68 -0
- package/hooks/lib/palette.mjs +4 -4
- package/hooks/lib/prefs.mjs +108 -0
- package/hooks/lib/refresh.mjs +45 -1
- package/hooks/lib/setup.mjs +8 -8
- package/hooks/lib/snapshot.mjs +19 -1
- package/hooks/session-start.mjs +7 -2
- package/package.json +1 -1
- package/skills/bravos/SKILL.md +5 -4
- package/skills/bravos-annotate/SKILL.md +4 -4
- package/skills/bravos-cicd/SKILL.md +1 -1
- package/skills/bravos-codegraph/SKILL.md +1 -1
- package/skills/bravos-context/SKILL.md +6 -6
- package/skills/bravos-env/SKILL.md +2 -2
- package/skills/bravos-env/scope.example.yaml +2 -1
- package/skills/bravos-prove/SKILL.md +2 -2
- package/skills/bravos-recheck/SKILL.md +1 -1
- package/skills/bravos-resync/SKILL.md +1 -1
- package/skills/bravos-schedule/SKILL.md +1 -1
- package/skills/bravos-ship/SKILL.md +3 -3
- package/skills/bravos-templatize/SKILL.md +1 -1
- package/templates/review/review.html +1 -1
package/README.md
CHANGED
|
@@ -16,21 +16,25 @@ Requires **Node.js 20 or newer**.
|
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
npm install -g @bugb-technologies/bravos
|
|
19
|
-
bravos
|
|
19
|
+
bravos setup
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`bravos
|
|
22
|
+
`bravos setup` is the one command for setting Bravos up. Run it in a repository, in a terminal:
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
- **The first time on a machine** it signs you in, installs the tools, then asks about the repository: which agents, PR checks, scheduled upkeep and testing. It shows the changes before you choose Apply.
|
|
25
|
+
- **In another repository** it skips what the machine already has and asks only that repository's questions.
|
|
26
|
+
- **In a repository that already has Bravos** it brings this machine and the repository up to date; `bravos setup --change` asks the repository's questions again.
|
|
27
|
+
|
|
28
|
+
Then open your agent and say anything: Bravos begins with what the app is for. Bravos never starts an agent itself.
|
|
29
|
+
|
|
30
|
+
For scripts, flags do one part without questions: `bravos setup --tools -y` installs GuardLink and cxg, `bravos setup --agent claude --autopilot --ci` sets up a repository, and `bravos setup --yes` does a first setup with the defaults.
|
|
25
31
|
|
|
26
32
|
## Core commands
|
|
27
33
|
|
|
28
34
|
| Command | Purpose |
|
|
29
35
|
|---|---|
|
|
30
|
-
| `bravos
|
|
31
|
-
| `bravos
|
|
32
|
-
| `bravos sync` | Refresh installed skills and wiring after an upgrade. |
|
|
33
|
-
| `bravos setup` | Install the tools Bravos drives. |
|
|
36
|
+
| `bravos setup` | Set up this machine and this repository, or bring them up to date. |
|
|
37
|
+
| `bravos setup --check` | Say what is installed and what setup would do; changes nothing. |
|
|
34
38
|
| `bravos graph build .` | Index the repository for code graph questions. |
|
|
35
39
|
| `bravos sast run` | Run static analysis against the repository. |
|
|
36
40
|
| `bravos doctor` | Check installed tools and configuration. |
|
package/dist/ci.js
CHANGED
|
@@ -7,7 +7,7 @@ export const WORKFLOW_MARKER = 'bravos:generated';
|
|
|
7
7
|
export const CADENCES = ['weekday', 'daily', 'weekly'];
|
|
8
8
|
// 03:17 UTC, off the hour so it does not land with everyone else's cron.
|
|
9
9
|
export const CRON = { weekday: '17 3 * * 1-5', daily: '17 3 * * *', weekly: '17 3 * * 0' };
|
|
10
|
-
/** The workflow files, by the name bravos
|
|
10
|
+
/** The workflow files, by the name bravos setup --workflows takes. */
|
|
11
11
|
export const WORKFLOW_NAMES = ['pr-gate', 'nightly-claude', 'nightly-codex', 'nightly-copilot'];
|
|
12
12
|
// @comment -- "The files each workflow name writes. The Copilot nightly also writes copilot-setup-steps.yml, the fixed file GitHub reads to prepare Copilot's session."
|
|
13
13
|
export const WORKFLOW_FILES = {
|