summaryrefslogtreecommitdiff
path: root/.agents
diff options
context:
space:
mode:
Diffstat (limited to '.agents')
-rw-r--r--.agents/skills/pardes-9p/SKILL.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md
index 8abd9fc4..302223e5 100644
--- a/.agents/skills/pardes-9p/SKILL.md
+++ b/.agents/skills/pardes-9p/SKILL.md
@@ -16,9 +16,10 @@ relative to that root unless linked.
Check `$NINE_MOUNT` first. `9ns --mntgen` sets it for every process it starts
(an interactive shell on this machine runs inside one), so a set `$NINE_MOUNT`
means the posted-9P registry is mounted there, usually `/mnt/9p`, and each
-running editor is a directory `$NINE_MOUNT/pardes/<pid>/`. Inside a pane,
-`$PARDES_9P` is that session's socket (`/run/user/1000/pardes-9p-<pid>.sock`),
-which names the directory, and `$PARDES_PANE` is the calling pane's serial:
+running editor is a directory `$NINE_MOUNT/pardes/<pid>/` (a `--detach=NAME`
+session's is `pardes/NAME/`). Inside a pane, `$PARDES_9P` is that session's
+socket (`/run/user/1000/pardes-9p-<pid or NAME>.sock`), which names the
+directory either way, and `$PARDES_PANE` is the calling pane's serial:
```sh
[ -n "$NINE_MOUNT" ] || echo 'no 9P mount: use the Python client below'
@@ -186,7 +187,8 @@ search and reads empty until set; truncate it to lift it.
`dirty`, `mark` and `scroll` read `0` or `1` and take `0` or `1`: whether the
buffer differs from its file, whether a write pushes an undo point, and whether
-a write scrolls. Truncating `tag` clears the part of the tag you may edit.
+a write scrolls. `tag` reads the path, then the text you may edit: `> tag`
+replaces that text (default words too), `>> tag` appends to it.
Address state belongs to the pane, not to a client: it keeps the last range
written until someone writes another, so writing an address and reading it back