rimuru-ai 1.19.3 → 1.19.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "1.19.3",
3
+ "version": "1.19.5",
4
4
  "name": "rimuru-ai",
5
5
  "description": "The open source AI coding agent — powered by Veldora",
6
6
  "keywords": [
@@ -10,8 +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 { registerSpinner } from "opentui-spinner/solid"
14
- registerSpinner()
13
+ import { componentCatalogue } from "@opentui/solid"
14
+ import { SpinnerRenderable } from "opentui-spinner"
15
15
  import { createDefaultOpenTuiKeymap } from "@opentui/keymap/opentui"
16
16
  import { Global } from "@rimurucode-ai/core/global"
17
17
  import { openEditor } from "@rimurucode-ai/tui/editor"
@@ -33,6 +33,15 @@ import type {
33
33
  RunTuiConfig,
34
34
  } from "./types"
35
35
  import { formatModelLabel } from "./variant.shared"
36
+ import { RunFooter } from "./footer"
37
+
38
+ // Register the spinner component on @opentui/solid's shared componentCatalogue.
39
+ // The side-effect import "opentui-spinner/solid" calls extend() from
40
+ // @opentui/solid/components, but in compile:true mode that might resolve to a
41
+ // different module instance of the shared chunk. Importing componentCatalogue
42
+ // from @opentui/solid (same export createElement uses via getComponentCatalogue())
43
+ // and assigning directly guarantees the spinner is findable at render time.
44
+ componentCatalogue.spinner = SpinnerRenderable
36
45
 
37
46
  const FOOTER_HEIGHT = 4
38
47
 
@@ -213,7 +222,6 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
213
222
  model: input.model,
214
223
  variant: input.variant,
215
224
  })
216
- const footerTask = import("./footer")
217
225
  const wrote = queueSplash(
218
226
  renderer,
219
227
  state,
@@ -227,7 +235,6 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
227
235
  )
228
236
  await renderer.idle().catch(() => {})
229
237
 
230
- const { RunFooter } = await footerTask
231
238
  let closed = false
232
239
  let sigintRegistered = false
233
240