opencode-ghost 1.3.12 → 1.3.13

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.13] - 2026-10-27
9
+
10
+ ### Fixed
11
+
12
+ - **engines:** Require OpenCode >=2.2.0
13
+
8
14
  ## [1.3.12] - 2026-10-22
9
15
 
10
16
  ### Fixed
@@ -319,6 +325,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
319
325
  - Options for `model`, `acceptKeys`, `maxChars`, `idleDelayMs`,
320
326
  `recentMessages` and `system`.
321
327
 
328
+ [1.3.13]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.3.12...v1.3.13
322
329
  [1.3.12]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.3.11...v1.3.12
323
330
  [1.3.11]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.3.10...v1.3.11
324
331
  [1.3.10]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.3.9...v1.3.10
package/README.md CHANGED
@@ -19,6 +19,13 @@ a dimmed inline placeholder in the empty composer with
19
19
  > Why "ghost": it writes the line you were about to type, then waits for you to
20
20
  > take it.
21
21
 
22
+ <p align="center">
23
+ <img src="assets/demo.gif" alt="ghost: a next-prompt suggestion appears in the empty composer and Tab accepts it" width="800">
24
+ </p>
25
+
26
+ **Install:** add `"opencode-ghost"` to `plugins` in `~/.config/opencode/cli.json`
27
+ and restart opencode ([details](#install)).
28
+
22
29
  ## What it does
23
30
 
24
31
  - **Suggests your next message.** After a turn finishes, it debounces, builds a
@@ -35,6 +42,17 @@ a dimmed inline placeholder in the empty composer with
35
42
  - **`/suggest` controls it.** Toggle suggestions, set a runtime model override,
36
43
  or inspect live state and diagnostics; settings persist via the plugin's storage.
37
44
 
45
+ ## Ghost or Quill?
46
+
47
+ | | ghost | [quill](https://github.com/ozandogrultan/opencode-quill) |
48
+ | ----------- | ------------------------------------------ | -------------------------------------------------------- |
49
+ | Suggests | your whole next prompt | the rest of the current word, or the next word |
50
+ | When | the composer is empty, after a turn | while you type a draft |
51
+ | How | a small model reads the recent conversation | a local n-gram model, no network |
52
+ | Model calls | one per turn | none |
53
+
54
+ Install both: each activates only in its own domain, with no key conflicts.
55
+
38
56
  ## Requirements
39
57
 
40
58
  - [opencode](https://opencode.ai) v2 (TUI plugins).
@@ -267,6 +285,12 @@ bash scripts/changelog.sh check
267
285
  No build step: like other opencode TUI plugins, the package ships TSX source and
268
286
  opencode's runtime transpiles it.
269
287
 
288
+ ## More OpenCode plugins
289
+
290
+ - [sesh](https://github.com/ozandogrultan/opencode-sesh) — search, preview, and resume every session across every project.
291
+ - [quill](https://github.com/ozandogrultan/opencode-quill) — local word completion and next-word prediction as you type.
292
+ - [ember](https://github.com/ozandogrultan/opencode-ember) — prices a cold prompt-cache rewrite before you send.
293
+
270
294
  ## Contributing
271
295
 
272
296
  See [CONTRIBUTING.md](CONTRIBUTING.md) for the check suite and commit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-ghost",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "OpenCode ghost text autosuggest: suggests your next message as dimmed inline ghost text in the empty TUI composer, accepted with Tab or Right arrow.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "packageManager": "bun@1.4.2",
40
40
  "engines": {
41
- "opencode": ">=2.1.0"
41
+ "opencode": ">=2.2.0"
42
42
  },
43
43
  "scripts": {
44
44
  "prepare": "husky",
@@ -50,8 +50,8 @@
50
50
  "prepublishOnly": "bun run test && bun run typecheck"
51
51
  },
52
52
  "dependencies": {
53
- "@opentui/core": "^0.6.6",
54
- "@opentui/solid": "^0.6.6"
53
+ "@opentui/core": "^0.7.0",
54
+ "@opentui/solid": "^0.7.0"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@opencode/plugin": "*",
@@ -60,7 +60,7 @@
60
60
  "devDependencies": {
61
61
  "@commitlint/cli": "^21.2.2",
62
62
  "@commitlint/config-conventional": "^21.2.2",
63
- "@opencode/plugin": "2.0.32",
63
+ "@opencode/plugin": "2.2.0",
64
64
  "@types/bun": "^1.4.3",
65
65
  "@types/node": "26.6.5",
66
66
  "husky": "^9.1.7",