You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2b04fac
Browse filesBrowse the repository at this point in the historyBrowse files
fix: run the TUI on the host's runtime, so an npm install renders and reacts
Installed from an npm spec the plugin lives under node_modules, where the
host's JSX transform does not run and bare `solid-js`/`@opentui/*` imports
resolve to the plugin's own copies: a second reactive graph whose signals
never reach the host renderer, so the settings page and the footer painted
their first frame and never updated (upstream anomalyco/opencode#33884).
The views are now JSX-free and take every runtime singleton from
`tui/host-runtime.ts`, which imports them by virtual module id; `solid-js`,
`@opentui/core` and `@opentui/solid` stop being installable dependencies
(dev dependencies plus optional peers) so npm cannot nest shadow copies, and
`test/package-deps.test.ts` enforces both rules.
Alongside: the settings page and the dialog menu name the plugin version, a
load that hangs degrades with a timeout and renders its error instead of an
endless "Loading…", and escape returns to the session the page was opened
from — the host hands back a live route object, so the origin is snapshotted.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,35 @@ 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
+
## [0.3.5] - 2026-10-20
9
+
10
+
### Changed
11
+
-**The TUI consumes the host's runtime instead of installing its own.** The
12
+
terminal code imports the host singletons by virtual module id
13
+
(`opentui:runtime-module:…`) and uses no JSX, and `solid-js`, `@opentui/core`
14
+
and `@opentui/solid` are no longer installable dependencies (they remain dev
15
+
dependencies and optional peers). A plugin installed from an npm spec used to
16
+
load its own copies from `node_modules`, and the host never bridged the Solid
17
+
runtime: the settings page and the footer indicator painted once and never
Copy file name to clipboardExpand all lines: README.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ Opens a full settings page: current configuration, detected Kilo sources, and th
208
208
|`enter`| Run the selected action |
209
209
|`e`| Edit settings (opens the dialog editor) |
210
210
|`r`| Reload status |
211
-
|`esc`| Close the page |
211
+
|`esc`| Close the page, returning to the session it was opened from|
212
212
213
213
### Prompt-footer indicator
214
214
@@ -241,7 +241,8 @@ Settings are edited in a dialog-based flow, reachable three ways:
241
241
242
242
- Press `e` from the `/indexing` page.
243
243
- The command **Indexing: settings (dialogs)** in the command palette (a manual escape hatch if the page ever fails to render).
244
-
- Automatically: if the host has no JSX runtime, `/indexing` opens this flow instead of the page.
244
+
- Automatically: if the host cannot resolve the TUI runtime modules the page
245
+
needs, `/indexing` opens this flow instead of the page.
245
246
246
247
`indexing_config` (the tool) reports the same configuration as `/indexing-config` and works in every client, because tools run server-side, and `indexing_config_set` changes a value the same way. Together they are the whole configuration surface for clients that do not dispatch slash commands.
247
248
@@ -419,14 +420,20 @@ Word about data safety: Kilo's indexes (`ws-*` collections and its LanceDB direc
This plugin interoperates with the open-source [Kilo Code](https://github.com/Kilo-Org/kilocode) indexing format (MIT License, Copyright (c) 2026 Kilo Code). The line-based chunker and the tree-sitter queries are ports of Kilo Code's implementation. It also builds on [opencode](https://github.com/anomalyco/opencode) (MIT), [LanceDB](https://github.com/lancedb/lancedb) (Apache-2.0), [Apache Arrow](https://github.com/apache/arrow) (Apache-2.0), [web-tree-sitter](https://github.com/tree-sitter/tree-sitter) (MIT), [tree-sitter-wasms](https://github.com/Gregoor/tree-sitter-wasms) (Unlicense), [ignore](https://github.com/kaelzhang/node-ignore) (MIT), and — for the terminal UI — [SolidJS](https://github.com/solidjs/solid) (MIT) and [OpenTUI](https://github.com/sst/opentui) (MIT).
583
+
This plugin interoperates with the open-source [Kilo Code](https://github.com/Kilo-Org/kilocode) indexing format (MIT License, Copyright (c) 2026 Kilo Code). The line-based chunker and the tree-sitter queries are ports of Kilo Code's implementation. It also builds on [opencode](https://github.com/anomalyco/opencode) (MIT), [LanceDB](https://github.com/lancedb/lancedb) (Apache-2.0), [Apache Arrow](https://github.com/apache/arrow) (Apache-2.0), [web-tree-sitter](https://github.com/tree-sitter/tree-sitter) (MIT), [tree-sitter-wasms](https://github.com/Gregoor/tree-sitter-wasms) (Unlicense), [ignore](https://github.com/kaelzhang/node-ignore) (MIT), and — for the terminal UI, whose runtime the host provides — [SolidJS](https://github.com/solidjs/solid) (MIT) and [OpenTUI](https://github.com/sst/opentui) (MIT).
577
584
578
585
The companion code graph is [CodeGraph](https://github.com/colbymchenry/codegraph) (MIT), a separate project this one installs and drives rather than bundles. Its npm package is `@colbymchenry/codegraph`; the unscoped `codegraph` on npm is a different, unrelated project.
Copy file name to clipboardExpand all lines: THIRD_PARTY_NOTICES.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,18 +60,25 @@ SOFTWARE.
60
60
|[`web-tree-sitter`](https://github.com/tree-sitter/tree-sitter)| MIT | Tree-sitter contributors |
61
61
|[`tree-sitter-wasms`](https://github.com/Gregoor/tree-sitter-wasms)| Unlicense | Gregor (packaging); grammars by their respective authors |
62
62
|[`ignore`](https://github.com/kaelzhang/node-ignore)| MIT | Kael Zhang and contributors |
63
-
|[`solid-js`](https://github.com/solidjs/solid)| MIT | Ryan Carniato and contributors |
64
-
|[`@opentui/core`](https://github.com/sst/opentui)| MIT | SST and OpenTUI contributors |
65
-
|[`@opentui/solid`](https://github.com/sst/opentui)| MIT | SST and OpenTUI contributors |
66
-
67
-
`solid-js`, `@opentui/core` and `@opentui/solid` are what the terminal UI is
68
-
rendered with. They are optional dependencies: without them the prompt-footer
69
-
indicator and the settings page are absent, and everything else works.
70
63
71
64
Tree-sitter grammar `.wasm` files bundled by `tree-sitter-wasms` are distributed
72
65
under their upstream licenses (mostly MIT or Apache-2.0); see the
73
66
`tree-sitter-wasms` package for details.
74
67
68
+
## Provided by the host
69
+
70
+
| Package | License | Copyright |
71
+
| --- | --- | --- |
72
+
|[`solid-js`](https://github.com/solidjs/solid)| MIT | Ryan Carniato and contributors |
73
+
|[`@opentui/core`](https://github.com/sst/opentui)| MIT | SST and OpenTUI contributors |
74
+
|[`@opentui/solid`](https://github.com/sst/opentui)| MIT | SST and OpenTUI contributors |
75
+
76
+
These are what the terminal UI is rendered with. They are **not distributed**
77
+
with this package: the host provides them at runtime and the TUI imports the
78
+
host's own instances by virtual module id (`opentui:runtime-module:…`) instead
79
+
of installing copies. Without them the prompt-footer indicator and the settings
80
+
page are absent, and everything else works.
81
+
75
82
## CodeGraph (github.com/colbymchenry/codegraph)
76
83
77
84
Not bundled and not required. CodeGraph is a separate program that this plugin
0 commit comments