@visa/cli 5.0.0-rc.411 → 5.0.0-rc.413
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/README.md +9 -4
- package/dist/cli.js +73 -73
- package/dist/enrollment-finisher.js +3 -3
- package/dist/mcp-server/index.js +162 -162
- package/dist/tool-call.js +20 -20
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -92,16 +92,21 @@ for one) uses the same tools through `visa-tool`, which starts this package's
|
|
|
92
92
|
MCP server and makes one call:
|
|
93
93
|
|
|
94
94
|
```sh
|
|
95
|
-
VISA_RUNTIME_CUSTODY_PROFILE=headless visa connect --no-open --wait 0 # once; the owner approves
|
|
96
|
-
visa-tool --skill #
|
|
95
|
+
VISA_CLI_RUNTIME=muse VISA_RUNTIME_CUSTODY_PROFILE=headless visa connect --no-open --wait 0 # once; the owner approves
|
|
96
|
+
visa-tool --skill # the Visa skill: recovery after a rebuilt VM, and the rules below
|
|
97
97
|
visa-tool --list # the server's rules and the tools with their inputs (JSON)
|
|
98
98
|
visa-tool status # one call: the tool's answer as JSON, exit 1 on a refusal
|
|
99
99
|
visa-tool pay '{"target":"https://…","request_id":"order-1"}' # no max: a price preview, nothing is paid
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
On a computer with no keyring, every command needs
|
|
103
|
-
`VISA_RUNTIME_CUSTODY_PROFILE=headless`.
|
|
104
|
-
|
|
103
|
+
`VISA_RUNTIME_CUSTODY_PROFILE=headless`. `VISA_CLI_RUNTIME` names the app, so
|
|
104
|
+
the agent is called by its name (Muse) rather than the app `visa connect` falls
|
|
105
|
+
back to mounting. The skill reads `visa-tool --list` on
|
|
106
|
+
each use rather than copying it, and carries a version: when `--list` reports a
|
|
107
|
+
higher `skill_version`, the app asks its owner for the new text. Muse will not
|
|
108
|
+
save a program's output as a skill, so its owner pastes the same text from the
|
|
109
|
+
Console's Muse message.
|
|
105
110
|
|
|
106
111
|
## MCP tools
|
|
107
112
|
|