mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-18 13:04:01 +00:00
refactor: finish companion rename migration
Complete the remaining pi-to-companion rename across companion-os, web, vm-orchestrator, docker, and archived fixtures. Verification: - semantic rg sweeps for Pi/piConfig/getPi/.pi runtime references - npm run check in apps/companion-os (fails in this worktree: biome not found) Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
e8fe3d54af
commit
536241053c
303 changed files with 3603 additions and 3602 deletions
|
|
@ -4,7 +4,7 @@ import type {
|
|||
EditorTheme,
|
||||
MarkdownTheme,
|
||||
SelectListTheme,
|
||||
} from "@mariozechner/pi-tui";
|
||||
} from "@mariozechner/companion-tui";
|
||||
import { type Static, Type } from "@sinclair/typebox";
|
||||
import { TypeCompiler } from "@sinclair/typebox/compiler";
|
||||
import chalk from "chalk";
|
||||
|
|
@ -682,7 +682,7 @@ function getDefaultTheme(): string {
|
|||
// ============================================================================
|
||||
|
||||
// Use globalThis to share theme across module loaders (tsx + jiti in dev mode)
|
||||
const THEME_KEY = Symbol.for("@mariozechner/pi-coding-agent:theme");
|
||||
const THEME_KEY = Symbol.for("@mariozechner/companion-coding-agent:theme");
|
||||
|
||||
// Export theme as a getter that reads from globalThis
|
||||
// This ensures all module instances (tsx, jiti) see the same theme
|
||||
|
|
@ -1144,7 +1144,7 @@ export function getEditorTheme(): EditorTheme {
|
|||
};
|
||||
}
|
||||
|
||||
export function getSettingsListTheme(): import("@mariozechner/pi-tui").SettingsListTheme {
|
||||
export function getSettingsListTheme(): import("@mariozechner/companion-tui").SettingsListTheme {
|
||||
return {
|
||||
label: (text: string, selected: boolean) =>
|
||||
selected ? theme.fg("accent", text) : text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue