rimuru-ai 1.19.2 → 1.19.4
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/package.json
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
// back to the usual two-press exit sequence through RunFooter.requestExit().
|
|
11
11
|
import path from "path"
|
|
12
12
|
import { CliRenderEvents, createCliRenderer, type CliRenderer, type ScrollbackWriter } from "@opentui/core"
|
|
13
|
+
import { componentCatalogue } from "@opentui/solid"
|
|
14
|
+
import { SpinnerRenderable } from "opentui-spinner"
|
|
13
15
|
import { createDefaultOpenTuiKeymap } from "@opentui/keymap/opentui"
|
|
14
16
|
import { Global } from "@rimurucode-ai/core/global"
|
|
15
17
|
import { openEditor } from "@rimurucode-ai/tui/editor"
|
|
@@ -32,6 +34,14 @@ import type {
|
|
|
32
34
|
} from "./types"
|
|
33
35
|
import { formatModelLabel } from "./variant.shared"
|
|
34
36
|
|
|
37
|
+
// Register the spinner component on @opentui/solid's shared componentCatalogue.
|
|
38
|
+
// The side-effect import "opentui-spinner/solid" calls extend() from
|
|
39
|
+
// @opentui/solid/components, but in compile:true mode that might resolve to a
|
|
40
|
+
// different module instance of the shared chunk. Importing componentCatalogue
|
|
41
|
+
// from @opentui/solid (same export createElement uses via getComponentCatalogue())
|
|
42
|
+
// and assigning directly guarantees the spinner is findable at render time.
|
|
43
|
+
componentCatalogue.spinner = SpinnerRenderable
|
|
44
|
+
|
|
35
45
|
const FOOTER_HEIGHT = 4
|
|
36
46
|
|
|
37
47
|
type SplashState = {
|