docs: document peer/ operations in help.md and session-9p.md
This commit is contained in:
parent
cca4410b25
commit
ec5de866d2
2
9p
2
9p
|
|
@ -1 +1 @@
|
|||
Subproject commit 4a87d25f227025601cc9ddfda994acd6c9cd239e
|
||||
Subproject commit 88a41197078cfd602fc172ba5fdb9fcc85673595
|
||||
|
|
@ -47,7 +47,7 @@ ollie/
|
|||
fifo.out pop queued prompt (ro)
|
||||
models available models (ro)
|
||||
offset byte offset after last user prompt (ro)
|
||||
peer/ peer session references ls
|
||||
peer/ peer links (r/w) touch to add, rm to remove, write to send prompt
|
||||
plan plan scratchpad (r/w)
|
||||
proc/ detached processes ls
|
||||
prompt submit prompt (w)
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ Sessions live at `${OLLIE}/s/`. Each session is a directory; all operations are
|
|||
| `fifo.out` | read | Pop queued prompt (FIFO output) |
|
||||
| `models` | read | Available models for current backend |
|
||||
| `offset` | read | Byte offset after last user prompt |
|
||||
| `peer/` | dir | Peer session references |
|
||||
| `peer/` | dir | Peer links. `touch` to add, `rm` to remove (both sides updated). Write to send prompt to peer. |
|
||||
| `plan` | r/w | Session-scoped markdown checklist; survives compaction; visible to peers |
|
||||
| `proc/` | dir | Detached background processes |
|
||||
| `prompt` | write | Submit a prompt to the agent |
|
||||
|
|
@ -143,4 +143,13 @@ cat $OLLIE/s/{id}/state
|
|||
|
||||
# Discover available models
|
||||
cat $OLLIE/s/{id}/models
|
||||
|
||||
# Add a peer link (bidirectional)
|
||||
touch $OLLIE/s/{id}/peer/{peerid}
|
||||
|
||||
# Send a prompt to a peer
|
||||
echo "your message" > $OLLIE/s/{id}/peer/{peerid}
|
||||
|
||||
# Remove a peer link (bidirectional)
|
||||
rm $OLLIE/s/{id}/peer/{peerid}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ All session operations go through the D-Bus interface.
|
|||
|
||||
| Method | Args | Returns | Purpose |
|
||||
|---|---|---|---|
|
||||
| `PeerAdd` | session_id, peer_id | bool | Add peer relationship |
|
||||
| `PeerRemove` | session_id, peer_id | bool | Remove peer relationship |
|
||||
| `PeerAdd` | session_id, peer_id | bool | Add bidirectional peer link (both sides updated) |
|
||||
| `PeerRemove` | session_id, peer_id | bool | Remove bidirectional peer link (both sides updated) |
|
||||
| `PeerList` | session_id | array of peer_ids | List peers |
|
||||
| `PeerSubmit` | session_id, peer_id, prompt | bool | Send prompt to peer |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue