@beyondwork/wb-cli 0.1.61 → 0.1.62

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publisher": "beyondwork",
4
4
  "displayName": "Beyond Work",
5
5
  "description": "Tool for interacting with Beyond Work workblocks from VS Code and CLI.",
6
- "version": "0.1.61",
6
+ "version": "0.1.62",
7
7
  "vsce": {
8
8
  "baseContentUrl": "https://github.com/bwllaming/code/blob/HEAD/src/vscode/beyondwork",
9
9
  "baseImagesUrl": "https://github.com/bwllaming/code/raw/HEAD/src/vscode/beyondwork"
@@ -94,8 +94,9 @@ follow the confirmation warning above before sending the API request.
94
94
  sends one request for each module, with a limit of 180 seconds. When a module's tests need longer,
95
95
  or a request fails, use `wb-cli test --by-file`: it sends one request for each test file, and
96
96
  when a request fails, it stops and prints the commands that run the rest. `wb-cli run
97
- <task-id>` calls an invokable task without a run. It returns no run id and no logs, and
98
- the active run stays unchanged. A single task takes the outputs of the module's latest run, and
97
+ <task-id>` calls an invokable task without a run. It returns no run id, and the active run
98
+ stays unchanged. When the call fails, it prints the output of the task and the traceback, except
99
+ for a task with `views: read`. A single task takes the outputs of the module's latest run, and
99
100
  `--inputs` gives only what no task of that run produced.
100
101
  A run stops at a task UI. Check the whole run in Studio on the tenant, as a person uses it, to
101
102
  the result: with `wb-cli ui playwright exec <script>` when Playwright and the browser session of wb-cli
@@ -106,8 +107,10 @@ follow the confirmation warning above before sending the API request.
106
107
  the check is needed and how to choose, and describes both ways, both pages, and the sign-in.
107
108
  An agent module acts only when someone chats with it. Prove it with `wb-cli chat <module-id> "<what
108
109
  a user would write>"` (`--persona <id>` picks one of its `agent_configs`): the agent loads your pushed branch, and the command prints its reply, each
109
- tool it called with the arguments and result, and the conversation id. Follow up with `wb-cli chat
110
- -c <conversation> "<message>"`. A conversation's agent keeps the definition that it loaded for
110
+ tool it called with the arguments and result, and the conversation id. For a tool that raised, it
111
+ also prints the stack, with the file and the line. A chat keeps no output of a tool, and no stack
112
+ when the instructions task raised. To get those, call the task again, alone, with `wb-cli run
113
+ <task-id> --inputs '{...}'`: the task executes once more. Follow up with `wb-cli chat -c <conversation> "<message>"`. A conversation's agent keeps the definition that it loaded for
111
114
  the conversation's first message, so after a push, start a new conversation. `wb-cli chat -c
112
115
  <conversation>` shows the whole conversation. What you did not see run, report as not checked.
113
116
  8. **Publish** with `wb-cli push --to <target>`. It moves the target to your pushed commit. When the