@applivity/plato 0.2.4 → 0.3.0
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 +54 -1
- package/dist/cli.js +424 -381
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,9 +10,19 @@ 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
|
-
**Pre-release.** This is `0.
|
|
13
|
+
**Pre-release.** This is `0.3.0`. The core of the agent is the same code the
|
|
14
14
|
extension has shipped, but the terminal host is new.
|
|
15
15
|
|
|
16
|
+
**0.3.0** brings long conversations to the terminal. `/compact` folds the older
|
|
17
|
+
messages into a summary, and so does the history when it reaches your compaction
|
|
18
|
+
threshold; `plato config set compactionIdle true` also summarises after an hour
|
|
19
|
+
with no activity. Later runs receive the summary and the recent tail, together
|
|
20
|
+
with the current content of the files the conversation worked on. A path outside
|
|
21
|
+
the project, for a read or a write, asks first: allow once, allow for this
|
|
22
|
+
session, or deny. Plato now starts knowing the operating system, the shell and
|
|
23
|
+
the project root, and a very large folder listing says when it stopped. An `@`
|
|
24
|
+
mention of an absolute or UNC path attaches an image or a text file.
|
|
25
|
+
|
|
16
26
|
**0.2.4** tells Plato that a path, host or share it cannot find is not proof
|
|
17
27
|
that it is absent: it checks the connections, mounts, known hosts, drives and
|
|
18
28
|
shares the machine already has, and says what it checked.
|
|
@@ -127,6 +137,49 @@ When the mode blocks the task, the model can ask to switch. The request arrives
|
|
|
127
137
|
as a card with its reason and what the other mode means. Nothing changes unless
|
|
128
138
|
you agree, and the same run continues.
|
|
129
139
|
|
|
140
|
+
### Long conversations
|
|
141
|
+
|
|
142
|
+
The conversation is kept as a transcript, and what the model reads is derived
|
|
143
|
+
from it. When the history reaches the `compactionThreshold` share of the
|
|
144
|
+
model's context window, the older messages are folded into a summary. `/compact`
|
|
145
|
+
does the same when you ask, and takes an instruction about what to keep:
|
|
146
|
+
`/compact keep the failing test names`. The notice names the cause and says that
|
|
147
|
+
nothing was removed from the transcript, because nothing is: a fold changes what
|
|
148
|
+
is sent, not what you can scroll.
|
|
149
|
+
|
|
150
|
+
Every later run sends the summary and the recent tail. After a summary exists,
|
|
151
|
+
Plato also receives the current content of up to five files the conversation
|
|
152
|
+
read or edited, and the current git state, so it does not reason from a stale
|
|
153
|
+
note. Before a fold there is no summary and no such block.
|
|
154
|
+
|
|
155
|
+
To summarise while the terminal is idle, turn the setting on:
|
|
156
|
+
|
|
157
|
+
```sh
|
|
158
|
+
plato config set compactionIdle true
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
After an hour with no activity and at least 200,000 estimated tokens of
|
|
162
|
+
history, Plato folds the older messages. Your next input cancels the wait. The
|
|
163
|
+
setting is off by default because it summarises below your threshold.
|
|
164
|
+
|
|
165
|
+
### Files from anywhere
|
|
166
|
+
|
|
167
|
+
Type `@` before a path to attach it. A path inside the project works as before.
|
|
168
|
+
An absolute or UNC path also works, which is how you point at a screenshot on
|
|
169
|
+
the Desktop or a file on a share: an image is sent as bytes, and a text file is
|
|
170
|
+
sent as text. The limits are the same as the desktop chat — 3 MB for one image,
|
|
171
|
+
200 KB for one text file — and a protected file is refused by name.
|
|
172
|
+
|
|
173
|
+
A read that a TOOL asks for, outside the project, asks you first: allow once,
|
|
174
|
+
allow this folder for this session, or deny. A denial is a result the model
|
|
175
|
+
reads, and the run continues. The folder answer lasts until this session ends
|
|
176
|
+
and is never written to your settings. Writes never ask; they stay inside the
|
|
177
|
+
project.
|
|
178
|
+
|
|
179
|
+
A terminal shows no image thumbnails, and an image pasted into a terminal does
|
|
180
|
+
not arrive as bytes. Plato does not pretend otherwise. A pasted PATH is text,
|
|
181
|
+
and works as an `@` mention.
|
|
182
|
+
|
|
130
183
|
### Teams
|
|
131
184
|
|
|
132
185
|
Plato is always the one doing the work. The team decides who is watching.
|