summaryrefslogtreecommitdiff
path: root/.agents
diff options
context:
space:
mode:
Diffstat (limited to '.agents')
-rw-r--r--.agents/skills/pardes-9p/SKILL.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md
index 9b751a26..6b955eb4 100644
--- a/.agents/skills/pardes-9p/SKILL.md
+++ b/.agents/skills/pardes-9p/SKILL.md
@@ -62,9 +62,11 @@ $m/ctl the settings, one a line as a write takes them; write a setting or
(Newcol, Dump, Theme x; Exit QUITS the editor, Kill [word...] stops the
commands pardes typed into terminals; Exit and Restore refuse once per
unsaved pane, `<name>: Modified (Exit again to discard)`, and the same
- word again DISCARDS that text -- not a retry, unlike lock's `file in use`); a pane's builtins (Del, Save f,
- and the column words Delcol, Collapse, which act on that pane's column) go to
- $m/pane/<n>/ctl
+ word again DISCARDS that text -- not a retry, unlike lock's `file in use`;
+ Kill signals only the foreground job, so of `sleep 30; echo done` the
+ echo still runs; Joincol needs a column to the right of the keyboard's);
+ a pane's builtins (Del, Save f, Collapse, which folds that pane, and the
+ column word Delcol, which closes that pane's column) go to $m/pane/<n>/ctl
$m/commands every builtin: `Word`, `Word arg`, then `root` or `pane` (which ctl takes it)
$m/pane/new open it to make a pane (a scratch named <dir>/+New), read names it;
rmdir $m/pane/<n> closes it; closing a column's last pane leaves a +New there
@@ -220,7 +222,14 @@ terminal's body, also at `0 0` -- so it is not a
passive logger. To have a record done, write it back: the short form
`<origin><action><q0> <q1>\n` acts on that range's text, and the whole record
as read acts on its text when the range is empty (the only way for a record
-at `0 0`). Chord reports need explicit handling.
+at `0 0`). Chord reports need explicit handling. A record is
+`<origin><action><q0> <q1> <flag> <n> <text>\n` and its text may hold
+newlines: read `n` bytes of text, never up to the next newline.
+A Restore puts a new editor under every client: the Restore write is
+answered, then every connection is hung up (their fids name the old
+editor's panes); dial again, and the new log names the restored panes then
+`restore <path>`. `Dump` writes `pardes-<date>-<time>.zon` under `DumpDir`
+(`~/.local/share/pardes` by default) and logs `dump <path>`.
Read the event implementation before building an interceptor. Close handles in
`finally`, and disconnect after a socket timeout. The service shares four
connection slots and 32 screen/terminal-history snapshot handles.