diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -43,7 +43,7 @@ first answers. JSON lines both ways on `$XDG_RUNTIME_DIR/desktop-assistant.sock` (mode 0600). Every connected client sees every event. -In: `ask {text, files}`, `stop`, `new`, `list`, `open {id}`, `search {q}`, +In: `ask {text, files}`, `write {files, prompt, dir, name}`, `stop`, `new`, `list`, `open {id}`, `search {q}`, `delete {id}`. Out: `hello` on connect (state, model, context use, the current @@ -55,6 +55,11 @@ conversation and any reply in flight), then `user`, `think`, `token`, Ids are integers; a malformed command or argument answers `error` and the connection stays open. +`write` is a one-off request whose reply goes to a file instead of the +conversation (the canvas's To .md): no history, no thinking, no tools; it +streams `progress {chars}` and ends with `written {path}`, the first free +name of `name` in `dir`. A stop leaves no file. + `files` is a list of absolute paths, at most 8. Text and code files and PDFs are read and inlined, sharing half the free context (a PDF page with no text goes as an image, at most 4, rendered at 150 dpi, at most 1600 px); |
