rimuru-ai 1.19.4 → 1.19.6
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,9 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @opentui/solid */
|
|
2
2
|
import type { ScrollBoxRenderable } from "@opentui/core"
|
|
3
3
|
import { useKeyboard } from "@opentui/solid"
|
|
4
|
-
import "opentui-spinner/solid"
|
|
5
4
|
import { Show, createMemo, indexArray } from "solid-js"
|
|
6
|
-
import { SPINNER_FRAMES } from "@rimurucode-ai/tui/component/spinner"
|
|
5
|
+
import { AnimatedSpinner, SPINNER_FRAMES } from "@rimurucode-ai/tui/component/spinner"
|
|
7
6
|
import { RunEntryContent, separatorRows } from "./scrollback.writer"
|
|
8
7
|
import type { FooterSubagentDetail, FooterSubagentTab, RunDiffStyle } from "./types"
|
|
9
8
|
import type { RunFooterTheme, RunTheme } from "./theme"
|
|
@@ -126,7 +125,7 @@ export function RunFooterSubagentBody(props: {
|
|
|
126
125
|
<box width="100%" flexDirection="row" gap={1} paddingBottom={1} flexShrink={0}>
|
|
127
126
|
{current().status === "running" ? (
|
|
128
127
|
<box flexShrink={0}>
|
|
129
|
-
<
|
|
128
|
+
<AnimatedSpinner frames={SPINNER_FRAMES} interval={80} color={statusColor(footer(), current().status)} />
|
|
130
129
|
</box>
|
|
131
130
|
) : (
|
|
132
131
|
<text fg={statusColor(footer(), current().status)} wrapMode="none" truncate flexShrink={0}>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/** @jsxImportSource @opentui/solid */
|
|
11
11
|
import { useTerminalDimensions } from "@opentui/solid"
|
|
12
12
|
import { For, Match, Show, Switch, createEffect, createMemo, createSignal, onCleanup } from "solid-js"
|
|
13
|
-
import "
|
|
13
|
+
import { AnimatedSpinner } from "@rimurucode-ai/tui/component/spinner"
|
|
14
14
|
import { createColors, createFrames } from "@rimurucode-ai/tui/ui/spinner"
|
|
15
15
|
import {
|
|
16
16
|
RUN_SUBAGENT_PANEL_ROWS,
|
|
@@ -839,7 +839,7 @@ export function RunFooterView(props: RunFooterViewProps) {
|
|
|
839
839
|
>
|
|
840
840
|
<Show when={busy() && !exiting()}>
|
|
841
841
|
<box flexShrink={0}>
|
|
842
|
-
<
|
|
842
|
+
<AnimatedSpinner color={spin().color} frames={spin().frames} interval={40} />
|
|
843
843
|
</box>
|
|
844
844
|
</Show>
|
|
845
845
|
|
|
@@ -10,8 +10,7 @@
|
|
|
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
|
-
|
|
14
|
-
import { SpinnerRenderable } from "opentui-spinner"
|
|
13
|
+
|
|
15
14
|
import { createDefaultOpenTuiKeymap } from "@opentui/keymap/opentui"
|
|
16
15
|
import { Global } from "@rimurucode-ai/core/global"
|
|
17
16
|
import { openEditor } from "@rimurucode-ai/tui/editor"
|
|
@@ -33,14 +32,7 @@ import type {
|
|
|
33
32
|
RunTuiConfig,
|
|
34
33
|
} from "./types"
|
|
35
34
|
import { formatModelLabel } from "./variant.shared"
|
|
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
|
|
35
|
+
import { RunFooter } from "./footer"
|
|
44
36
|
|
|
45
37
|
const FOOTER_HEIGHT = 4
|
|
46
38
|
|
|
@@ -221,7 +213,6 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
|
|
|
221
213
|
model: input.model,
|
|
222
214
|
variant: input.variant,
|
|
223
215
|
})
|
|
224
|
-
const footerTask = import("./footer")
|
|
225
216
|
const wrote = queueSplash(
|
|
226
217
|
renderer,
|
|
227
218
|
state,
|
|
@@ -235,7 +226,6 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
|
|
|
235
226
|
)
|
|
236
227
|
await renderer.idle().catch(() => {})
|
|
237
228
|
|
|
238
|
-
const { RunFooter } = await footerTask
|
|
239
229
|
let closed = false
|
|
240
230
|
let sigintRegistered = false
|
|
241
231
|
|