Clarify Acme UI components
This commit is contained in:
parent
5dfb8a3e97
commit
d5fa7de244
|
|
@ -110,7 +110,20 @@ echo "$prompt" | o "$OLLIE_SESSION/$OLLIE_AGENT" prompt
|
|||
|
||||
`Explain` constructs a read-only prompt containing the filename and selected code. `Fix`, `Refactor`, `Document`, and `AddTests` construct mutating prompts that tell the agent to inspect the repository, make a focused change, and run relevant verification. `SendVerbatim` sends a fenced selection as context without treating it as instructions. `AskFile` sends the current filename without requiring a selection. `OllieHere` selects or creates the project agent.
|
||||
|
||||
The editor does not render the agent response. The user can read it in `ollie-gui`, a terminal, or any other 9P client.
|
||||
`OllieHere` is idempotent. It prints the project agent path, for example:
|
||||
|
||||
```text
|
||||
OllieHere: acme/6c460de7
|
||||
```
|
||||
|
||||
The path can be passed to optional Acme UI components that borrow existing `o` functionality:
|
||||
|
||||
```sh
|
||||
win o acme/6c460de7 read chat
|
||||
win o acme/6c460de7 prompt
|
||||
```
|
||||
|
||||
The first component displays the agent chat stream in an Acme window. The second provides the prompt REPL in Acme. Neither component is required; they are ordinary Acme commands using the session path printed by `OllieHere`.
|
||||
|
||||
### Kate
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue