dsh-composer-predictions 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,54 @@
1
+ # Changelog
2
+
3
+ All notable changes to this package are documented here. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
5
+ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [1.1.1] - 2026-10-23
10
+
11
+ ### Changed
12
+
13
+ - Ship `CHANGELOG.md` in the published tarball.
14
+
15
+ ## [1.1.0] - 2026-10-23
16
+
17
+ First public release. (`1.0.0` was prepared locally and never published; the
18
+ first registry version is `1.1.0`.)
19
+
20
+ ### Added
21
+
22
+ - **Next-message ghost** — after a turn settles, the empty composer streams a
23
+ suggestion for the likely next message. `Tab` accepts it as an editable draft
24
+ and never sends it.
25
+ - **Inline continuation** — pausing mid-draft with the caret at the end completes
26
+ the sentence at the caret.
27
+ - **Multiple candidates** — up to three per request, cycled with
28
+ `Alt+Down` / `Alt+Up`, dismissed with `Escape`; typing aborts in-flight
29
+ requests and hides the ghost.
30
+ - **Tool-aware context** — the prompt includes a short list of recent tool calls
31
+ and their outcomes (`maxToolNotes`).
32
+ - **Streaming transport** — `POST /composer-prediction/v2` emits
33
+ `meta` / `delta` / `done` over Server-Sent Events; the original JSON
34
+ `POST /composer-prediction` is kept for older clients.
35
+ - **Caching** — results are cached per Session sequence, and per draft for
36
+ continuations, so an unchanged context costs no model call.
37
+ - **Configuration** — `maxOutputTokens`, `timeoutMs`, `maxMessages`,
38
+ `maxChars`, `maxSuggestions`, `maxToolNotes`, plus an optional fixed
39
+ `provider` / `model` / `reasoningEffort` route.
40
+ - **Tests and tooling** — host and client unit tests (`node --test`) and
41
+ `tools/live-probe.mjs` for watching the stream against a running GUI.
42
+
43
+ ### Notes
44
+
45
+ - Uses the Session's own provider/model at the model's lowest reasoning effort
46
+ unless a route is configured.
47
+ - Nothing is written to the Session log, and predictions do not appear in the
48
+ token meter.
49
+ - Requires a Harness build that provides `conversation.input.overlay`,
50
+ `ctx.llm`, and `sessions.deriveMessages()`.
51
+
52
+ [Unreleased]: https://github.com/OWNER/dsh-composer-predictions/compare/v1.1.1...HEAD
53
+ [1.1.1]: https://github.com/OWNER/dsh-composer-predictions/compare/v1.1.0...v1.1.1
54
+ [1.1.0]: https://github.com/OWNER/dsh-composer-predictions/releases/tag/v1.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-composer-predictions",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "AI follow-up and inline continuation ghost text for the DeepSeek Harness composer: streamed candidates, Tab to accept, Alt+Down to cycle",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,8 @@
30
30
  "client.js",
31
31
  "cordis.patch.yml",
32
32
  "locale/*.json",
33
- "icon.svg"
33
+ "icon.svg",
34
+ "CHANGELOG.md"
34
35
  ],
35
36
  "dsh": {
36
37
  "bundle": {