@agentrq/agentrq-ws 0.9.0 → 0.9.2

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 CHANGED
@@ -20,7 +20,7 @@ npx -y @agentrq/agentrq-ws@latest workspace
20
20
 
21
21
  An agent talks to its workspace over MCP, which is the right shape for an agent
22
22
  and the wrong shape for a person: every call is a JSON envelope, and every
23
- answer is tokens the agent pays for. The same seventeen tools are underneath this
23
+ answer is tokens the agent pays for. The same eighteen tools are underneath this
24
24
  CLI, but a command is a line of shell and the answer is plain text.
25
25
 
26
26
  It is also the difference between reading an attachment and *handling* one — see
@@ -58,7 +58,8 @@ Node 20.6 or newer.
58
58
  | `skill delete <uri>` | Delete a skill (`skill://<name>`) or one of its files |
59
59
  | `event publish <name>` | Publish a named event |
60
60
  | `ask <taskId> <message>` | Ask the human a question and wait |
61
- | `site-tools` | List the websites shared with this workspace from the Chrome extension, and their tools |
61
+ | `site-tools` | List the websites shared with this workspace from the Chrome extension, and their tools' names and descriptions |
62
+ | `site-tool <site> <tool>` | Show one shared website's tool in full, with its input schema |
62
63
  | `call-site-tool <site> <tool> --task <taskId>` | Run a shared website's tool in the human's Chrome, with `--args '{…}'` |
63
64
  | `tools` | List the tools this workspace server offers |
64
65
  | `call <tool> --args '{…}'` | Call any tool directly |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentrq/agentrq-ws",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "AgentRQ workspace client \u2014 drive an AgentRQ workspace from the command line, using the workspace's own .mcp.json",
5
5
  "keywords": [
6
6
  "agentrq",
package/src/commands.js CHANGED
@@ -393,6 +393,16 @@ export const COMMANDS = [
393
393
  return ctx.client.callTool('listSiteTools', {})
394
394
  },
395
395
  },
396
+ {
397
+ path: ['site-tool'],
398
+ summary: "Show a shared website's tool, with its input schema",
399
+ usage: 'agentrq-ws site-tool <site> <tool>',
400
+ async run(ctx) {
401
+ const site = requirePositional(ctx.positionals, 0, 'site')
402
+ const tool = requirePositional(ctx.positionals, 1, 'tool')
403
+ return ctx.client.callTool('getSiteToolDefinition', { site, tool })
404
+ },
405
+ },
396
406
  {
397
407
  path: ['call-site-tool'],
398
408
  summary: "Run a shared website's tool in the human's Chrome",