@beyondwork/wb-cli 0.1.30 → 0.1.32

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.32
4
+
5
+ - `import --name <version>` imports the definition into the `features/<version>` version of the workblock. Importing again with the same name updates that version. Without `--name`, a new workblock gets `features/initial-version` and an existing one gets a new `features/imported-<unix>`, as before.
6
+ - `import` uses the token that `login` stored for the tenant. `-t` is optional and overrides it.
7
+
8
+ ## v0.1.31
9
+
10
+ - `validate` and `push` name the file of each finding and the manifest entry it concerns, such as `main/fetch_orders/fetch_orders.py (task "Main/Fetch Orders")`, instead of `task[0/3]` or raw JSON. `--json` adds `paths` and `label` to each finding.
11
+ - `validate` and `push` warn when UI code calls `invokeTask` with a task name or id that no task in the workblock has (`local` in `--json`).
12
+ - `push` refuses when a task directory holds task code that no task in `manifest.yaml` claims (any `.py` in a module the manifest has, or `<module>/<task>/<task>.py` elsewhere), because the save would remove that task from the workblock or never add it.
13
+ - `run` shows outputs as a UI's `invokeTask` receives them: an output that the platform moved to a blob (its JSON over 4096 bytes) is fetched and shown instead of its `::bw:data:` key. A task you ran comes first (also as `target` in `--json`). Tasks carried over from the previous run are listed on one line without their outputs. The report adds the run's own error, the error stack of a failed task, and the last log lines of every task that ran, not only of failed ones, or why they could not be read. The text report shows the first 100 items of a long list; `--json` keeps every item.
14
+ - `api <verb> [json]` sends one request of the platform's WebSocket API and prints the result: schedules, triggers, permissions, spaces, run data, LLM calls and the other requests that have no verb. `api --list [filter]` lists the verbs and `api <verb> --describe` prints a verb's request and response schema. It refuses the verbs that change a branch, deploy, publish or apply destructive changes.
15
+ - The `bw-workblock` skill's browser check works outside the monorepo: the agent drives Studio's Start and each task UI with its own browser tool, such as Claude in Chrome or the ChatGPT browser extension, in a browser where the user is signed in to the tenant, and reads the run's outputs with `run --wait-for latest`. The skill limits the agent to the workspace, Start, the task UIs and Submit, and says to keep the browser window visible, because a hidden tab loses the input sent into a task UI. The Playwright script stays the route from the monorepo on dev-eu1. The docs page "Claude Code and Codex" has a setup step for the browser.
16
+
3
17
  ## v0.1.30
4
18
 
5
19
  - The `bw-workblock` skill calls the CLI `wb-cli`, as npm installs it, instead of the monorepo's `bin/wb-cli`, so Claude Code and Codex can follow it outside the monorepo. The product docs page "Claude Code and Codex" shows how to install the CLI and the skill.