dsh-composer-predictions 1.1.0 → 1.1.2

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/CHANGELOG.md +63 -0
  2. package/README.md +6 -2
  3. package/package.json +11 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,63 @@
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.2] - 2026-10-23
10
+
11
+ ### Changed
12
+
13
+ - README screenshots use absolute GitHub URLs so they render on the npm package page.
14
+ - README links to the changelog on GitHub.
15
+ - Package metadata points at the repository, homepage, and issue tracker.
16
+
17
+ ## [1.1.1] - 2026-10-23
18
+
19
+ ### Changed
20
+
21
+ - Ship `CHANGELOG.md` in the published tarball.
22
+
23
+ ## [1.1.0] - 2026-10-23
24
+
25
+ First public release. (`1.0.0` was prepared locally and never published; the
26
+ first registry version is `1.1.0`.)
27
+
28
+ ### Added
29
+
30
+ - **Next-message ghost** — after a turn settles, the empty composer streams a
31
+ suggestion for the likely next message. `Tab` accepts it as an editable draft
32
+ and never sends it.
33
+ - **Inline continuation** — pausing mid-draft with the caret at the end completes
34
+ the sentence at the caret.
35
+ - **Multiple candidates** — up to three per request, cycled with
36
+ `Alt+Down` / `Alt+Up`, dismissed with `Escape`; typing aborts in-flight
37
+ requests and hides the ghost.
38
+ - **Tool-aware context** — the prompt includes a short list of recent tool calls
39
+ and their outcomes (`maxToolNotes`).
40
+ - **Streaming transport** — `POST /composer-prediction/v2` emits
41
+ `meta` / `delta` / `done` over Server-Sent Events; the original JSON
42
+ `POST /composer-prediction` is kept for older clients.
43
+ - **Caching** — results are cached per Session sequence, and per draft for
44
+ continuations, so an unchanged context costs no model call.
45
+ - **Configuration** — `maxOutputTokens`, `timeoutMs`, `maxMessages`,
46
+ `maxChars`, `maxSuggestions`, `maxToolNotes`, plus an optional fixed
47
+ `provider` / `model` / `reasoningEffort` route.
48
+ - **Tests and tooling** — host and client unit tests (`node --test`) and
49
+ `tools/live-probe.mjs` for watching the stream against a running GUI.
50
+
51
+ ### Notes
52
+
53
+ - Uses the Session's own provider/model at the model's lowest reasoning effort
54
+ unless a route is configured.
55
+ - Nothing is written to the Session log, and predictions do not appear in the
56
+ token meter.
57
+ - Requires a Harness build that provides `conversation.input.overlay`,
58
+ `ctx.llm`, and `sessions.deriveMessages()`.
59
+
60
+ [Unreleased]: https://github.com/Stijnus/dsh-composer-predictions/compare/v1.1.2...HEAD
61
+ [1.1.2]: https://github.com/Stijnus/dsh-composer-predictions/compare/v1.1.1...v1.1.2
62
+ [1.1.1]: https://github.com/Stijnus/dsh-composer-predictions/compare/v1.1.0...v1.1.1
63
+ [1.1.0]: https://github.com/Stijnus/dsh-composer-predictions/releases/tag/v1.1.0
package/README.md CHANGED
@@ -41,9 +41,9 @@ source checkout is picked up again when the profile recomposes.
41
41
  **Escape** dismisses, and typing hides the ghost without sending anything.
42
42
  4. Accepting never submits the message; edit it or press Enter yourself.
43
43
 
44
- ![Next-message ghost](docs/next-message-ghost.png)
44
+ ![Next-message ghost](https://raw.githubusercontent.com/Stijnus/dsh-composer-predictions/main/docs/next-message-ghost.png)
45
45
 
46
- ![Inline continuation ghost](docs/continuation-ghost.png)
46
+ ![Inline continuation ghost](https://raw.githubusercontent.com/Stijnus/dsh-composer-predictions/main/docs/continuation-ghost.png)
47
47
 
48
48
  ## How it works
49
49
 
@@ -133,6 +133,10 @@ internal `__testing` export.
133
133
  Disable **Composer predictions** in **Plugins → Installed**, or remove it with
134
134
  `dsh plugin --profile <name> remove dsh-composer-predictions`.
135
135
 
136
+ ## Changelog
137
+
138
+ See [CHANGELOG.md](https://github.com/Stijnus/dsh-composer-predictions/blob/main/CHANGELOG.md).
139
+
136
140
  ## License
137
141
 
138
142
  MIT
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.2",
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": {
@@ -44,5 +45,13 @@
44
45
  "@deepseek-ai/dsh-client-locale"
45
46
  ]
46
47
  }
48
+ },
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/Stijnus/dsh-composer-predictions.git"
52
+ },
53
+ "homepage": "https://github.com/Stijnus/dsh-composer-predictions#readme",
54
+ "bugs": {
55
+ "url": "https://github.com/Stijnus/dsh-composer-predictions/issues"
47
56
  }
48
57
  }