@aibyzero/byz 0.1.1 → 0.1.2
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/CHANGELOG.md +10 -0
- package/README.md +13 -25
- package/dist/cli.js +3 -12
- package/dist/core/export-html/template.css +1066 -0
- package/dist/core/export-html/template.html +55 -0
- package/dist/core/export-html/template.js +1864 -0
- package/dist/core/export-html/vendor/highlight.min.js +1213 -0
- package/dist/core/export-html/vendor/marked.min.js +78 -0
- package/dist/modes/interactive/assets/clankolas.png +0 -0
- package/dist/modes/interactive/theme/dark.json +90 -0
- package/dist/modes/interactive/theme/light.json +89 -0
- package/dist/modes/interactive/theme/theme-schema.json +352 -0
- package/dist/runtime/bundle/chunks/{chunk-CCRJHU72.js → chunk-Q4KIHSRR.js} +1 -1
- package/dist/runtime/bundle/chunks/github-copilot.js +1 -1
- package/dist/runtime/bundle/cli.js +1 -1
- package/dist/runtime/bundle/index.js +1 -1
- package/dist/runtime/bundle/rpc-entry.js +1 -1
- package/dist/workflows.js +4 -131
- package/package.json +2 -1
- package/workflows/cm-plugin/LICENSE +21 -0
- package/workflows/cm-plugin/README.md +195 -0
- package/workflows/cm-plugin/VERSION +1 -0
- package/workflows/cm-plugin/agents/cm-plugin-backend-agent.md +34 -0
- package/workflows/cm-plugin/agents/cm-plugin-extension-agent.md +35 -0
- package/workflows/cm-plugin/agents/cm-plugin-ui-agent.md +34 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N1-init.md +60 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N2-enter-feature.md +51 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N3-execute-task.md +32 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N4-review.md +58 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N5-mark-done.md +80 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N6-qa-eval.md +69 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N7-context.md +23 -0
- package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N8-finish.md +61 -0
- package/workflows/cm-plugin/commands/cm-plugin-prd-modes/brownfield.md +13 -0
- package/workflows/cm-plugin/commands/cm-plugin-prd-modes/change-mode.md +130 -0
- package/workflows/cm-plugin/commands/cm-plugin-prd-modes/greenfield.md +82 -0
- package/workflows/cm-plugin/commands/cm-plugin:ai.md +75 -0
- package/workflows/cm-plugin/commands/cm-plugin:check.md +66 -0
- package/workflows/cm-plugin/commands/cm-plugin:fix.md +100 -0
- package/workflows/cm-plugin/commands/cm-plugin:idea.md +29 -0
- package/workflows/cm-plugin/commands/cm-plugin:init.md +145 -0
- package/workflows/cm-plugin/commands/cm-plugin:prd.md +403 -0
- package/workflows/cm-plugin/commands/cm-plugin:refactor.md +147 -0
- package/workflows/cm-plugin/commands/cm-plugin:rewrite.md +90 -0
- package/workflows/cm-plugin/commands/cm-plugin:scout.md +202 -0
- package/workflows/cm-plugin/docs//346/265/213/350/257/225/346/214/207/345/274/225-/345/277/253/351/200/237/344/270/212/346/211/213.md +189 -0
- package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/README.md +17 -0
- package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.excalidraw +3650 -0
- package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.mp4 +0 -0
- package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.png +0 -0
- package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.spec.json +223 -0
- package/workflows/cm-plugin/package.json +33 -0
- package/workflows/cm-plugin/skills/cm-plugin-backend-engineer/SKILL.md +100 -0
- package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/NOTICE.md +14 -0
- package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/SKILL.md +120 -0
- package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/references/cws-ci-cd.md +139 -0
- package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/references/cws-submission-checklist.md +87 -0
- package/workflows/cm-plugin/skills/cm-plugin-doc-syncer/SKILL.md +149 -0
- package/workflows/cm-plugin/skills/cm-plugin-extension-engineer/SKILL.md +105 -0
- package/workflows/cm-plugin/skills/cm-plugin-product-manager/SKILL.md +83 -0
- package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/NOTICE.md +14 -0
- package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/SKILL.md +134 -0
- package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/references/cws-scan-checklist.md +136 -0
- package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/references/cws-violation-codes.md +68 -0
- package/workflows/cm-plugin/skills/cm-plugin-ui-engineer/SKILL.md +94 -0
- package/workflows/cm-plugin/skills/codebase-context/SKILL.md +489 -0
- package/workflows/cm-plugin/skills/darwin-skill/NOTICE.md +24 -0
- package/workflows/cm-plugin/skills/darwin-skill/README.md +272 -0
- package/workflows/cm-plugin/skills/darwin-skill/SKILL.md +492 -0
- package/workflows/cm-plugin/skills/darwin-skill/references/runtime-neutrality.md +68 -0
- package/workflows/cm-plugin/skills/darwin-skill/references/skilllens-evidence.md +142 -0
- package/workflows/cm-plugin/skills/darwin-skill/scripts/screenshot.mjs +71 -0
- package/workflows/cm-plugin/skills/darwin-skill/templates/result-card-dark.html +698 -0
- package/workflows/cm-plugin/skills/darwin-skill/templates/result-card-white.html +444 -0
- package/workflows/cm-plugin/skills/darwin-skill/templates/result-card.html +616 -0
- package/workflows/cm-plugin/skills/idea-to-prd/SKILL.md +289 -0
- package/workflows/cm-plugin/skills/idea-to-prd/references/domains/trading.md +97 -0
- package/workflows/cm-plugin/skills/idea-to-prd/references/example-prd.md +92 -0
- package/workflows/cm-plugin/templates/arch-reference.md +55 -0
- package/workflows/cm-plugin/templates/auto-update/cm-announce.sh +19 -0
- package/workflows/cm-plugin/templates/auto-update/cm-update.sh +251 -0
- package/workflows/cm-plugin/templates/dashboard/dashboard.html +153 -0
- package/workflows/cm-plugin/templates/dashboard/serve.sh +10 -0
- package/workflows/cm-plugin/templates/e2e/extension-harness.ts +110 -0
- package/workflows/cm-plugin/templates/e2e/smoke.spec.example.ts +51 -0
- package/workflows/cm-plugin/templates/hooks/pre-commit-cm-task-check +33 -0
- package/workflows/cm-plugin/templates/pixel/cm-pixel.html +388 -0
- package/workflows/cm-plugin/templates/pixel/cm-pixel.sh +212 -0
- package/workflows/cm-plugin/templates/pixel/dev/README.md +20 -0
- package/workflows/cm-plugin/templates/pixel/dev/atlas-preview.png +0 -0
- package/workflows/cm-plugin/templates/pixel/dev/build.py +55 -0
- package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeChar_transparent.png +0 -0
- package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeCity_tilemap.png +0 -0
- package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeIndoor_transparent.png +0 -0
- package/workflows/cm-plugin/templates/pixel/dev/template.html +388 -0
- package/workflows/cm-plugin/templates/pixel/serve.sh +12 -0
- package/workflows/cm-plugin/templates/refactor/cm-refactor-denies.json +14 -0
- package/workflows/cm-plugin/templates/rules/backend-api.md +36 -0
- package/workflows/cm-plugin/templates/rules/chrome-extension.md +53 -0
- package/workflows/cm-plugin/templates/rules/coding-style.md +44 -0
- package/workflows/cm-plugin/templates/rules/frontend.md +32 -0
- package/workflows/cm-plugin/templates/rules/git-workflow.md +25 -0
- package/workflows/cm-plugin/templates/rules/security.md +31 -0
- package/workflows/cm-plugin/templates/rules/testing.md +36 -0
- package/workflows/cm-plugin/templates/scripts/cm-plugin-codex.sh +52 -0
- package/workflows/cm-plugin/templates/scripts/cm-plugin-log.sh +41 -0
- package/workflows/cm-plugin/templates/scripts/cm-plugin-preflight.sh +60 -0
- package/workflows/cm-plugin/templates/statusline/cm-plugin-statusline.sh +73 -0
- package/workflows.lock.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.2 - 2026-08-27
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Bundled the pinned public CM Plugin Workflow with BYZ, keeping CM and CM Plugin independently selectable while preventing separate end-user installation or updates ([#12](https://github.com/kingxiaozhe/byz/pull/12)).
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Restored the package-root runtime assets required by the installed TUI and HTML exporter.
|
|
14
|
+
|
|
5
15
|
## 0.1.1 - 2026-08-27
|
|
6
16
|
|
|
7
17
|
### Added
|
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ BYZ is a business-first coding agent by Zero, built on the Pi coding-agent
|
|
|
4
4
|
runtime. The command is `byz`; user configuration is stored under `.byz` rather
|
|
5
5
|
than `.pi`.
|
|
6
6
|
|
|
7
|
-
Status: initial public release.
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Status: initial public release. `cm-workflow` and `cm-plugin-workflow` are
|
|
8
|
+
locked to full Git commits and bundled as independent workflow roots. CM loads
|
|
9
|
+
by default; CM Plugin loads only when explicitly selected.
|
|
10
10
|
|
|
11
11
|
## Install and update
|
|
12
12
|
|
|
@@ -27,7 +27,7 @@ byz update
|
|
|
27
27
|
|
|
28
28
|
This command updates only `@aibyzero/byz`. It never calls Pi's release channel,
|
|
29
29
|
promotes the Pi source baseline, or updates workflow packages independently.
|
|
30
|
-
When a new
|
|
30
|
+
When a new CM or CM Plugin version is accepted into BYZ, it ships in a new BYZ
|
|
31
31
|
version. Users receive it through the same `byz update` command.
|
|
32
32
|
|
|
33
33
|
Workflows do not have an end-user update or rollback command. Every BYZ release
|
|
@@ -39,25 +39,15 @@ versions selected by their installed BYZ release.
|
|
|
39
39
|
```bash
|
|
40
40
|
byz workflow list
|
|
41
41
|
byz workflow check cm
|
|
42
|
-
byz --workflow cm
|
|
43
|
-
byz --workflow none
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
CM Plugin stays private and is not included in the public BYZ package:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
export BYZ_CM_PLUGIN_WORKFLOW_SOURCE='git:git@github.com:OWNER/PRIVATE_REPO@<40-character-commit-sha>'
|
|
50
|
-
byz workflow install cm-plugin
|
|
51
42
|
byz workflow check cm-plugin
|
|
43
|
+
byz --workflow cm
|
|
52
44
|
byz --workflow cm-plugin
|
|
45
|
+
byz --workflow none
|
|
53
46
|
```
|
|
54
47
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
`--workflow cm-plugin` is selected. BYZ therefore loads at most one managed
|
|
59
|
-
workflow per session. Local development can override package roots with
|
|
60
|
-
`BYZ_CM_WORKFLOW_ROOT` or
|
|
48
|
+
BYZ loads at most one workflow per session. Users do not install, update, or
|
|
49
|
+
roll back either workflow separately. Local development can override package
|
|
50
|
+
roots with `BYZ_CM_WORKFLOW_ROOT` or
|
|
61
51
|
`BYZ_CM_PLUGIN_WORKFLOW_ROOT`; the two roots must remain distinct.
|
|
62
52
|
|
|
63
53
|
## Development
|
|
@@ -70,9 +60,8 @@ node packages/byz/dist/cli.js --help
|
|
|
70
60
|
```
|
|
71
61
|
|
|
72
62
|
BYZ preserves Pi's MIT-licensed runtime and records the exact upstream baseline
|
|
73
|
-
in `upstream.json`.
|
|
74
|
-
|
|
75
|
-
stays in the authorized user's `.byz` package configuration.
|
|
63
|
+
in `upstream.json`. Workflow versions, source commits, licenses, and bundle
|
|
64
|
+
boundaries are recorded in `workflows.lock.json`.
|
|
76
65
|
|
|
77
66
|
Repository maintainers inspect a clean workflow checkout, then explicitly apply
|
|
78
67
|
its version and Pi resource manifest to the next BYZ release branch:
|
|
@@ -86,9 +75,8 @@ npm run byz:sync-cm-plugin -- --root /path/to/cm-plugin-workflow --apply
|
|
|
86
75
|
```
|
|
87
76
|
|
|
88
77
|
These repository commands never commit, push, open a pull request, tag, or
|
|
89
|
-
publish.
|
|
90
|
-
disabled
|
|
91
|
-
resource contract; it never persists the private checkout path or source.
|
|
78
|
+
publish. Both commands refresh the root lockfile with lifecycle scripts
|
|
79
|
+
disabled and pin the selected workflow to its full Git commit.
|
|
92
80
|
|
|
93
81
|
## Releasing BYZ
|
|
94
82
|
|
package/dist/cli.js
CHANGED
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { main } from "./runtime/bundle/index.js";
|
|
4
4
|
import { handleByzUpdate } from "./update.js";
|
|
5
|
-
import {
|
|
6
|
-
getWorkflowInstallRequest,
|
|
7
|
-
handleWorkflowCommand,
|
|
8
|
-
installWorkflowPackage,
|
|
9
|
-
parseWorkflowOption,
|
|
10
|
-
prepareWorkflowRuntimeArgs,
|
|
11
|
-
} from "./workflows.js";
|
|
5
|
+
import { handleWorkflowCommand, parseWorkflowOption, prepareWorkflowRuntimeArgs } from "./workflows.js";
|
|
12
6
|
|
|
13
7
|
process.title = "byz";
|
|
14
8
|
process.env.BYZ_CODING_AGENT = "true";
|
|
@@ -35,13 +29,10 @@ try {
|
|
|
35
29
|
if (isRootHelp) {
|
|
36
30
|
console.error("BYZ updates: byz update (npm-managed global installations only)");
|
|
37
31
|
console.error("BYZ workflows: --workflow <cm|cm-plugin|none> (default: BYZ_WORKFLOW or cm)");
|
|
38
|
-
console.error("Commands: byz workflow <list|status|check
|
|
32
|
+
console.error("Commands: byz workflow <list|status|check> [cm|cm-plugin]");
|
|
39
33
|
}
|
|
40
34
|
|
|
41
|
-
|
|
42
|
-
if (installRequest) {
|
|
43
|
-
await installWorkflowPackage(installRequest);
|
|
44
|
-
} else if (await handleWorkflowCommand(commandArgs)) {
|
|
35
|
+
if (await handleWorkflowCommand(commandArgs)) {
|
|
45
36
|
// BYZ-owned command handled without starting the Pi runtime.
|
|
46
37
|
} else if (await handleByzUpdate(commandArgs)) {
|
|
47
38
|
// BYZ release metadata and package target stay independent from Pi.
|