@beyondwork/wb-cli 0.1.51 → 0.1.55
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 +23 -0
- package/out/cli.js +342 -176
- package/out/extension.js +85 -85
- package/out/headless-host.js +4 -4
- package/package.json +1 -1
- package/wb-cli/skills/bw-workblock/SKILL.md +17 -8
- package/wb-cli/skills/bw-workblock/references/browser-validation.md +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.1.55
|
|
4
|
+
|
|
5
|
+
- `test --by-file` sends one request for each test file instead of one for each module, and each request has the limit of 180 seconds. A module whose tests take longer than 180 seconds together can run this way, and a lost request costs one file. Without the option, `test` sends one request for each module, as before.
|
|
6
|
+
- When a request fails, for example because the connection to the tenant closes or the request reaches its limit, `test` stops and exits with code 1. It prints the results that it has, the tests of the failed request, and the tests after it that did not run, with their ids. For each module, it prints one command that runs the tests that did not run. It prints one more command that runs the tests of the failed request with `--by-file`. When more than one module of the checkout has tests, each command names its module. Then a command runs only the tests of its module, also when a test of another module has the same id. When the connection closed, the report says that it could not check the workspace's commit after the failure.
|
|
7
|
+
- `test --test <test-id>` runs only the test with that id in `manifest.yaml`. Repeat it for each test. An id that matches no test is refused with the list of test ids.
|
|
8
|
+
- `api wb_run_test` takes `test_ids`, the ids of the tests of the module to run.
|
|
9
|
+
- A test that an answer does not hold is reported as without results. The hint names both causes: the workspace may not hold the test, or the test does not import or define test functions.
|
|
10
|
+
- When a tenant answers a request that names tests with results of other tests of the module, `test` keeps the results of the tests of the run and sends no more requests for the tests that have a result.
|
|
11
|
+
|
|
12
|
+
## v0.1.53
|
|
13
|
+
|
|
14
|
+
- `chat <module-id> "<message>"` starts a conversation with an agent module on the checkout's workspace, as a person does in Studio, and waits for the agent's reply. It takes the module's id, and `--persona` takes a persona's id, never a name. The agent loads the branch as pushed, after the checks that `run` makes. The report shows the reply, each tool that the agent called with its arguments and result, the conversation id, and the commit that the turn ran on.
|
|
15
|
+
- `chat -c <conversation> "<message>"` sends a follow-up, and refuses while the agent still answers the previous message. The agent of a conversation keeps the definition that it loaded for the conversation's first message, so the report of a follow-up names no commit. When the conversation's run has ended, a follow-up starts a fresh run without the earlier turns.
|
|
16
|
+
- `chat -c <conversation>` shows a conversation: its newest 200 entries, the state of its run, and the tools that the agent called, with the error of each tool that raised. While the agent answers a message, it waits for the answer first.
|
|
17
|
+
- `chat --list [module-id]` lists the workspace's conversations with agent modules, newest first. `chat -c <conversation> --cancel` stops the agent's turn.
|
|
18
|
+
- A reply counts only when the agent's messages relate to the message that `chat` sent, so an answer to an earlier message is never reported as the reply.
|
|
19
|
+
- `run`, `test`, `ui` and `chat` take the id of a module or task from `manifest.yaml`, and a target that matches nothing is refused with the list of ids. Help, messages and the skill name ids only.
|
|
20
|
+
- `run` on an agent module names `chat`.
|
|
21
|
+
|
|
22
|
+
## v0.1.52
|
|
23
|
+
|
|
24
|
+
- `validate`, `push`, `push --to` and `merge` name the file of a TypeScript lint finding, with its line and column: a task asset such as `main/review/assets/main.tsx:1:52`, a shared component or helper in `react_components/`, or a Bun test in `<module>/tests/`. Before, a finding on a task asset named the task folder or its Python file, plus any shared component whose name the message contains. `--json` keeps `line` and `column` only when the one path in `paths` is that file.
|
|
25
|
+
|
|
3
26
|
## v0.1.51
|
|
4
27
|
|
|
5
28
|
- `push --to` reports validation warnings from the saved commit in terminal and JSON output.
|