diff --git a/apps/web/src/components/voice/VoiceAwarenessStrip.tsx b/apps/web/src/components/voice/VoiceAwarenessStrip.tsx index 4510bb8..078a453 100644 --- a/apps/web/src/components/voice/VoiceAwarenessStrip.tsx +++ b/apps/web/src/components/voice/VoiceAwarenessStrip.tsx @@ -1,4 +1,3 @@ -import { useLingui } from "@lingui/react/macro"; import { BotAvatar } from "@rakazo/ui-web"; import { ArrowRightLeft, GitBranch, MessageCircle, Users } from "lucide-react"; import type { VoiceAwarenessEvent } from "../../lib/bot-persona"; @@ -14,7 +13,6 @@ export function VoiceAwarenessStrip({ botColor: string; botId: string; }) { - const { t } = useLingui(); const Icon = event.kind === "subagent" ? Users @@ -28,16 +26,16 @@ export function VoiceAwarenessStrip({ const kindLabel = event.kind === "subagent" - ? t`Collaborating` + ? "Collaborating" : event.kind === "handoff" - ? t`Handoff` + ? "Handoff" : event.kind === "delegation" - ? t`Delegated` + ? "Delegated" : event.kind === "peer-reply" - ? t`Peer reply` + ? "Peer reply" : event.kind === "working" - ? t`In progress` - : t`Aware`; + ? "In progress" + : "Aware"; return (
null) }, userModelCredential: { findFirst: vi.fn(async () => null) }, deploymentSettings: { findUnique: vi.fn(async () => null) }, + space: { + findUnique: vi.fn(async () => ({ isDefault: true, gitDefaultBranch: "main" })), + }, taughtSkill: { findMany: vi.fn(async () => []) }, agentSecret: { findMany: vi.fn(async () => []) }, user: { findUnique: vi.fn(async () => null) }, @@ -1341,6 +1344,9 @@ description: Prepare standup notes spaceModelPreference: { findFirst: vi.fn(async () => null) }, userModelCredential: { findFirst: vi.fn(async () => null) }, deploymentSettings: { findUnique: vi.fn(async () => null) }, + space: { + findUnique: vi.fn(async () => ({ isDefault: true, gitDefaultBranch: "main" })), + }, taughtSkill: { findMany: vi.fn(async () => []) }, agentSecret: { findMany: agentSecretFindMany }, user: { findUnique: vi.fn(async () => null) }, diff --git a/packages/testkit/src/computer-image-tools.test.ts b/packages/testkit/src/computer-image-tools.test.ts index 47765ad..8d92a8e 100644 --- a/packages/testkit/src/computer-image-tools.test.ts +++ b/packages/testkit/src/computer-image-tools.test.ts @@ -19,6 +19,9 @@ function dockerImagePresent(image: string): boolean { describe("rakazo/computer image tooling", () => { it("includes git, gh, ssh, curl, and sudo when the image is built locally", () => { + if (process.env.RAKAZO_COMPUTER_IMAGE_TOOLS_TEST !== "1") { + return; + } const image = process.env.RAKAZO_COMPUTER_IMAGE ?? "rakazo/computer:local"; if (!dockerImagePresent(image)) { return;