@applivity/plato 0.2.2 → 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.
Files changed (3) hide show
  1. package/README.md +64 -1
  2. package/dist/cli.js +414 -362
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,9 +10,29 @@ 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.2.2`. The core of the agent is the same code the
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
+
26
+ **0.2.4** tells Plato that a path, host or share it cannot find is not proof
27
+ that it is absent: it checks the connections, mounts, known hosts, drives and
28
+ shares the machine already has, and says what it checked.
29
+
30
+ **0.2.3** adds a `read_image` tool, so Plato can look at a screenshot or a
31
+ diagram you point it at. A search can be limited to one folder. An edit that
32
+ would change nothing says so instead of reporting success. Project instructions
33
+ are read from every `AGENTS.md` and `CLAUDE.md` in the project, each labelled
34
+ with where it came from.
35
+
16
36
  **0.2.2** updates this README to the current version; no code changed.
17
37
 
18
38
  **0.2.1** adds the author and keywords the npm page shows; no code changed.
@@ -117,6 +137,49 @@ When the mode blocks the task, the model can ask to switch. The request arrives
117
137
  as a card with its reason and what the other mode means. Nothing changes unless
118
138
  you agree, and the same run continues.
119
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
+
120
183
  ### Teams
121
184
 
122
185
  Plato is always the one doing the work. The team decides who is watching.