@applivity/plato 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -9
- package/dist/cli.js +360 -358
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,8 +10,27 @@ mid-run, and stops at a safe point. The same engine powers the
|
|
|
10
10
|
[Authenticate](#authenticate) · [Teams](#teams) · [Commands](#commands) ·
|
|
11
11
|
[Source](https://github.com/Applivity/plato)
|
|
12
12
|
|
|
13
|
-
**
|
|
14
|
-
|
|
13
|
+
**0.5.1** updates this README to the current release; no code changed.
|
|
14
|
+
|
|
15
|
+
**0.5.0** adds pause and steering to the terminal. Esc pauses a run at a safe
|
|
16
|
+
point: a tool that is already running finishes, an approval card still opens,
|
|
17
|
+
and the text holds where you stopped it. Typing during a run steers it: Enter
|
|
18
|
+
sends the line, and the run receives it at its next safe point. `/continue`
|
|
19
|
+
resumes a paused run; `/continue <text>` sends the text and then resumes. Enter
|
|
20
|
+
alone never resumes. `/queue <text>` keeps a line for the next run instead.
|
|
21
|
+
Alt+Enter starts a new line in the composer. During a run only `/help`,
|
|
22
|
+
`/queue`, `/sessions`, `/compact` and `/continue` (while paused) act; every
|
|
23
|
+
other command is refused with one line, "Finish or stop the run first.", and
|
|
24
|
+
stays in the composer, so you can send it after the run. Two Esc presses within
|
|
25
|
+
about 1.5 s stop a paused run; a later press does nothing. Ctrl+C stops in one
|
|
26
|
+
press. A paused run does not survive Plato exiting.
|
|
27
|
+
|
|
28
|
+
**0.4.0** makes setup one screen, with the key checked before anything is saved,
|
|
29
|
+
and reads the context window the provider publishes, so a 1M model no longer
|
|
30
|
+
shows as 131k. A command's arguments come from one table, and the status line
|
|
31
|
+
is denser. It also adds `/resume`, the full tool row behind Ctrl+O, `@`
|
|
32
|
+
completion, the cold-start line, prompt history with Ctrl+R, and Ctrl+G to
|
|
33
|
+
bring a line back from an editor.
|
|
15
34
|
|
|
16
35
|
**0.3.0** brings long conversations to the terminal. `/compact` folds the older
|
|
17
36
|
messages into a summary, and so does the history when it reaches your compaction
|
|
@@ -127,13 +146,16 @@ In the interactive terminal:
|
|
|
127
146
|
| Key | Action |
|
|
128
147
|
|---|---|
|
|
129
148
|
| `Shift+Tab` | switch `plan`, `edit`, `auto` |
|
|
130
|
-
| `Enter` | send |
|
|
131
|
-
| `
|
|
132
|
-
| `
|
|
149
|
+
| `Enter` | send; during a run, steer it |
|
|
150
|
+
| `Alt+Enter` | start a new line in the composer |
|
|
151
|
+
| `Esc` | pause the run |
|
|
152
|
+
| `Esc` `Esc` | stop a paused run |
|
|
153
|
+
| `Ctrl+C` | stop the run; at the prompt, press twice to exit |
|
|
133
154
|
| `↑` / `↓` | prompt history |
|
|
134
155
|
|
|
135
|
-
Slash commands: `/mode`, `/model`, `/team`, `/gitignore`, `/compact`,
|
|
136
|
-
`/new`, `/sessions`, `/help`,
|
|
156
|
+
Slash commands: `/mode`, `/model`, `/team`, `/gitignore`, `/compact`,
|
|
157
|
+
`/continue`, `/queue`, `/resume`, `/undo`, `/new`, `/sessions`, `/help`,
|
|
158
|
+
`/exit`.
|
|
137
159
|
|
|
138
160
|
Type `/` to list them. Typing after the slash filters the list, `↑`/`↓` move,
|
|
139
161
|
`Tab` fills the command in, and `Enter` runs a command that takes no
|
|
@@ -143,6 +165,26 @@ A command that takes a word lists its words: after `/mode `, `/model `,
|
|
|
143
165
|
`/team ` or `/gitignore `, each choice appears with one line on what it does.
|
|
144
166
|
`Tab` completes and `Enter` accepts only a word from the list.
|
|
145
167
|
|
|
168
|
+
### While a run is live
|
|
169
|
+
|
|
170
|
+
A line typed during a run steers it: Enter sends the line, and the run receives
|
|
171
|
+
it at its next safe point. No second run starts. `/queue <text>` keeps the line
|
|
172
|
+
for the next run instead; a queued line survives a stop.
|
|
173
|
+
|
|
174
|
+
Esc pauses. A tool that is already running finishes, an approval card still
|
|
175
|
+
opens, and the text holds where you stopped it. At the prompt, `/continue`
|
|
176
|
+
resumes, and `/continue <text>` sends the text and then resumes. Enter alone
|
|
177
|
+
never resumes. Two Esc presses within about 1.5 s stop a paused run; a later
|
|
178
|
+
press does nothing. Ctrl+C stops in one press. An approval card takes Esc first:
|
|
179
|
+
there it denies the action and stops the run.
|
|
180
|
+
|
|
181
|
+
While a run is live, only `/help`, `/queue`, `/sessions`, `/compact` and
|
|
182
|
+
`/continue` (when a pause is in effect) act. Any other command is refused with
|
|
183
|
+
one line — "Finish or stop the run first." — and stays in the composer, so you
|
|
184
|
+
can send it after the run. It is not queued.
|
|
185
|
+
|
|
186
|
+
A paused run does not survive Plato exiting.
|
|
187
|
+
|
|
146
188
|
### The header and the status line
|
|
147
189
|
|
|
148
190
|
The top line names Plato, how it is running and the conversation. The
|
|
@@ -297,7 +339,7 @@ Plan-mode session asks before it sends.
|
|
|
297
339
|
|---|---|
|
|
298
340
|
| `plato auth login\|status\|list\|logout` | Manage connections and keys |
|
|
299
341
|
| `plato models [connection] [--refresh]` | List the models a connection offers |
|
|
300
|
-
| `plato model [
|
|
342
|
+
| `plato model [connection:model]` | Show the model in use, or switch to another |
|
|
301
343
|
| `plato sessions list\|export\|delete` | Manage saved conversations |
|
|
302
344
|
| `plato config [get\|set] [key] [value]` | Show or change a setting |
|
|
303
345
|
| `plato doctor` | Check the config, keys, keychain, model limits, writes, and the last run |
|
|
@@ -318,7 +360,8 @@ Plan-mode session asks before it sends.
|
|
|
318
360
|
| `~/.plato/DUO.yaml`, `ACADEMY.yaml` | Teams |
|
|
319
361
|
|
|
320
362
|
`PLATO_CONFIG_DIR`, `PLATO_DATA_DIR`, and `PLATO_HOME` override the first three
|
|
321
|
-
roots.
|
|
363
|
+
roots. On Windows, the config and data roots above are `%APPDATA%\Plato` and
|
|
364
|
+
`%LOCALAPPDATA%\Plato`.
|
|
322
365
|
|
|
323
366
|
## Privacy and safety
|
|
324
367
|
|