@beyondwork/wb-cli 0.1.39 → 0.1.42

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.42
4
+
5
+ - `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.
6
+ - `push` sends the query files as they are on disk. A query file is an author file: you can edit it, add it and delete it.
7
+ - `push` refuses an edited or added file in `data_model/repositories/` with `model_file_edited`, as it refuses an edited `model.json`. Nothing is saved, and your files stay as they are. Put the change in a change file or a query file.
8
+ - When the platform no longer generates a repository file, for example because you removed its entity, `pull` and `push` remove the file from the checkout.
9
+
10
+ ## v0.1.41
11
+
12
+ - Carry the generated `data_model/types.ts` like `model.json`. `clone` and `pull` write the TypeScript row types and table/query descriptors. The platform generates the file from the change files, next to `model.json`.
13
+ - `push` sends `types.ts` back as it is on disk. `push` refuses an edited `types.ts` with `model_file_edited`, as it refuses an edited `model.json`. Nothing is saved, and your files stay as they are. `push` no longer reports `types.ts` as an `unexpected_file`.
14
+ - When you delete `types.ts`, `push` does not refuse it. The platform writes the file again, and `push` writes it back into the checkout.
15
+ - Carry the generated `data_model/types.py` the same way: the Python row types and table/query descriptors.
16
+
17
+ ## v0.1.40
18
+
19
+ - `ui <module|task>` shows a task UI in a headless browser on this machine, so a coding agent can see and use it without the user's browser. A task shows a preview of its UI with the data of `--data <file>`, or with the data that the task showed in the workspace's latest run. Submit in a preview records the data and sends nothing. A UI-only module shows its UI as a Space does. The tenant builds the UI from the workspace's last commit. A preview takes the runtime and the CSP of the task's UI from the latest run; `--runtime`, `--csp` and `--asset` set them. The UI's task calls and collaborative documents go to the tenant on the workspace; `ui` refuses every other request of the page.
20
+ - `ui` serves the page on 127.0.0.1 under a random secret path until Ctrl-C, for Playwright MCP or the agent's own browser tool. `--exec <script>` instead runs a Playwright script against the page and prints what it returns, and `--screenshot <file>` writes a PNG. Both load Playwright from your environment and name the install command when it is missing. `ui` prints JSON lines: the URL when the page is ready, then the submits and errors that the page reports.
21
+ - `ui <module|task> --in-run` opens the task UI that waits in the workspace's run, with the run's data. The UI's task calls run in the run, and Submit and the actions `continue` and `continue_next` continue the run, as in Studio. The `ready` line names the run and the task run, and a `submit` event in a run reports `sent`.
22
+ - The `bw-workblock` skill checks task UIs with `wb-cli ui`, and finishes a run that waits at a UI with `wb-cli ui --in-run`, or with `wb-cli api continue_ui`. The skill no longer ships `browser-run.sh` and `validate-ui.mjs`. The agent's browser tool in the user's signed-in browser stays the route for the full Studio flow from Start to the result.
23
+
3
24
  ## v0.1.39
4
25
 
5
26
  - `clone` and `pull` write the data model folder of a Workblock as files: the change files in `data_model/changes/` and the generated `data_model/model.json`. Before, the folder landed inside `manifest.yaml`. `push` sends the folder as it is on disk. When you delete the whole folder while data models are on for the tenant, `push` removes it, and the platform puts back the deployed change files.