@beyondwork/wb-cli 0.1.42 → 0.1.44
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 +19 -0
- package/out/cli.js +659 -188
- package/out/extension.js +142 -141
- package/out/headless-host.js +1 -1
- package/package.json +5 -6
- package/wb-cli/skills/bw-workblock/SKILL.md +154 -63
- package/wb-cli/skills/bw-workblock/references/browser-validation.md +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.1.44
|
|
4
|
+
|
|
5
|
+
- Data model change files use YAML: `data_model/changes/NNNN_<name>.yaml`.
|
|
6
|
+
- The generated model is `data_model/model.yaml`. It remains read-only, like deployed change files.
|
|
7
|
+
|
|
8
|
+
## v0.1.43
|
|
9
|
+
|
|
10
|
+
Agents and people can work on separate branches and combine their work without silently replacing concurrent saves.
|
|
11
|
+
|
|
12
|
+
- `checkout -b <name>` creates a version and Studio conversation at the checkout's commit, then moves the checkout onto that conversation. It refuses an existing name and replaces `push --new-version`. Use a separate checkout directory and version for each agent.
|
|
13
|
+
- `push` that saves edits needs a commit message: `-m "<what>" -m "<why>"`, as with `git commit`. Studio and `log [branch]` show the message. `create -m` gives the first commit a message.
|
|
14
|
+
- `merge <branch>` brings `main`, a version, or a Studio conversation into the checkout. A clean merge uses the current source branch; the server refuses to overwrite a concurrent destination save. Conflicts wait under `.bw/merge/files`; `merge --continue` sends the resolved files with both checked branch commits. The server refuses the resolution if either branch changed. `--keep` and `--take` settle a binary, deleted, or renamed file by side. `merge --abort` gives up the pending resolution.
|
|
15
|
+
- `push --to <version>` publishes the checkout's pushed commit only when it contains the target's history. Publication runs server validation on the saved commit and refuses errors. `push --to` refuses data-model changes because this API cannot validate them; `push --update` still validates and publishes them to the checkout's own version. The server changes the target only if its head still matches the one checked. If the target advanced, merge it and retry. Run the relevant checks before publication; publication does not require stored test results.
|
|
16
|
+
- Deployment to `main` and branch deletion stay in Studio. The CLI does not offer these operations until the server can protect them against concurrent changes.
|
|
17
|
+
- `test`, `run` and `ui` refuse unpushed edits, an unfinished merge, or a workspace at a different commit. `test` and `run` name the commit they checked. A single-task `run` refuses `--inputs` that the latest run's tasks produced, because the run would ignore those inputs.
|
|
18
|
+
- New modules, tasks, and tests receive IDs derived from their names, so independent additions with different names do not collide. `manifest.yaml` keeps long lines unfolded.
|
|
19
|
+
- Merge and guarded publication require a server that returns checked branch commits. An older server can still serve other commands; these operations refuse before changing a branch.
|
|
20
|
+
- The `bw-workblock` skill uses git terms: a version is a version branch (`features/<name>`), and a Studio conversation is a conversation branch. It describes merge and publication by their guarantees and leaves the choice of flow to the agent.
|
|
21
|
+
|
|
3
22
|
## v0.1.42
|
|
4
23
|
|
|
5
24
|
- `clone` and `pull` write the query files in `data_model/queries/` and the generated repository files in `data_model/repositories/`. The platform generates a Python and a TypeScript file for each repository from the change files and the query files.
|