@beyondwork/wb-cli 0.1.39 → 0.1.40

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.40
4
+
5
+ - `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.
6
+ - `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.
7
+ - `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`.
8
+ - 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.
9
+
3
10
  ## v0.1.39
4
11
 
5
12
  - `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.