opencode-ghost 1.3.0 → 1.3.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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/composer.ts +1 -1
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.1] - 2026-10-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **tui:** Accept the host composer's textarea plus metadata row as eligible
|
|
13
|
+
|
|
8
14
|
## [1.3.0] - 2026-10-09
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -246,6 +252,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
246
252
|
- Options for `model`, `acceptKeys`, `maxChars`, `idleDelayMs`,
|
|
247
253
|
`recentMessages` and `system`.
|
|
248
254
|
|
|
255
|
+
[1.3.1]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.3.0...v1.3.1
|
|
249
256
|
[1.3.0]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.2.0...v1.3.0
|
|
250
257
|
[1.2.0]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.1.0...v1.2.0
|
|
251
258
|
[1.1.0]: https://github.com/ozandogrultan/opencode-ghost/compare/v1.0.7...v1.1.0
|
package/package.json
CHANGED
package/src/composer.ts
CHANGED
|
@@ -42,7 +42,7 @@ export function composerBlocker(editor: TextareaRenderable | undefined, mode: st
|
|
|
42
42
|
const siblings = editor.parent.getChildren().filter((node) =>
|
|
43
43
|
!node.id.startsWith("slot-layout-"),
|
|
44
44
|
)
|
|
45
|
-
if (siblings.length !==
|
|
45
|
+
if (siblings.length !== 2 || siblings[0] !== editor) return `composer has ${siblings.length} sibling nodes (${siblings.map((node) => node.id || "?").join(", ")})`
|
|
46
46
|
if (!normal) return "prompt not in normal mode"
|
|
47
47
|
if (mode !== "base") return `keymap mode is ${mode}`
|
|
48
48
|
if (selected) return "renderer has a selection"
|