diff --git a/src/cli/program/build-program.test.ts b/src/cli/program/build-program.test.ts index 69e4a05d855..9cbdb730ebb 100644 --- a/src/cli/program/build-program.test.ts +++ b/src/cli/program/build-program.test.ts @@ -53,9 +53,9 @@ describe("buildProgram", () => { mockProcessOutput(); createProgramContextMock.mockReturnValue({ programVersion: "9.9.9-test", - channelOptions: ["telegram"], - messageChannelOptions: "telegram", - agentChannelOptions: "last|telegram", + channelOptions: ["quietchat"], + messageChannelOptions: "quietchat", + agentChannelOptions: "last|quietchat", } satisfies ProgramContext); }); diff --git a/src/cli/program/config-guard.test.ts b/src/cli/program/config-guard.test.ts index b017c51426a..3838381ad1e 100644 --- a/src/cli/program/config-guard.test.ts +++ b/src/cli/program/config-guard.test.ts @@ -57,7 +57,7 @@ describe("ensureConfigReady", () => { ...makeSnapshot(), exists: true, valid: false, - issues: [{ path: "channels.whatsapp", message: "invalid" }], + issues: [{ path: "channels.quietchat", message: "invalid" }], ...overrides, }; readConfigFileSnapshotMock.mockResolvedValue(snapshot); diff --git a/src/cli/program/help.test.ts b/src/cli/program/help.test.ts index d0c1a55a7a5..38a24080153 100644 --- a/src/cli/program/help.test.ts +++ b/src/cli/program/help.test.ts @@ -49,9 +49,9 @@ vi.mock("./register.subclis.js", () => ({ const testProgramContext: ProgramContext = { programVersion: "9.9.9-test", - channelOptions: ["telegram"], - messageChannelOptions: "telegram", - agentChannelOptions: "last|telegram", + channelOptions: ["quietchat"], + messageChannelOptions: "quietchat", + agentChannelOptions: "last|quietchat", }; describe("configureProgramHelp", () => { diff --git a/src/cli/program/program-context.test.ts b/src/cli/program/program-context.test.ts index 004c0bb7e95..72128be90bd 100644 --- a/src/cli/program/program-context.test.ts +++ b/src/cli/program/program-context.test.ts @@ -6,9 +6,9 @@ import { getProgramContext, setProgramContext } from "./program-context.js"; function makeCtx(version: string): ProgramContext { return { programVersion: version, - channelOptions: ["telegram"], - messageChannelOptions: "telegram", - agentChannelOptions: "last|telegram", + channelOptions: ["quietchat"], + messageChannelOptions: "quietchat", + agentChannelOptions: "last|quietchat", }; } diff --git a/src/commands/agent.session.test.ts b/src/commands/agent.session.test.ts index b8dfdad6ca1..c916d9c1229 100644 --- a/src/commands/agent.session.test.ts +++ b/src/commands/agent.session.test.ts @@ -126,7 +126,7 @@ describe("agent session resolution", () => { main: { sessionId: "origin-provider-reset", updatedAt: Date.now() - 30 * 60_000, - origin: { provider: "discord" }, + origin: { provider: "quietchat" }, }, }); const cfg = mockConfig(home, store); @@ -134,7 +134,7 @@ describe("agent session resolution", () => { ...cfg.session, reset: { mode: "idle", idleMinutes: 10 }, resetByChannel: { - discord: { mode: "idle", idleMinutes: 120 }, + quietchat: { mode: "idle", idleMinutes: 120 }, }, }; diff --git a/src/commands/sandbox-explain.test.ts b/src/commands/sandbox-explain.test.ts index b0c141c7c47..08816c699cb 100644 --- a/src/commands/sandbox-explain.test.ts +++ b/src/commands/sandbox-explain.test.ts @@ -23,7 +23,7 @@ describe("sandbox explain command", () => { }, tools: { sandbox: { tools: { deny: ["browser"] } }, - elevated: { enabled: true, allowFrom: { whatsapp: ["*"] } }, + elevated: { enabled: true, allowFrom: { quietchat: ["*"] } }, }, session: { store: "/tmp/openclaw-test-sessions-{agentId}.json" }, }; diff --git a/src/commands/status-all/report-tables.test.ts b/src/commands/status-all/report-tables.test.ts index df8ae1bdcf8..4956d654ec6 100644 --- a/src/commands/status-all/report-tables.test.ts +++ b/src/commands/status-all/report-tables.test.ts @@ -56,7 +56,7 @@ describe("status-all report tables", () => { { title: "Channel detail", columns: ["Channel", "Status", "Notes"], - rows: [{ Channel: "telegram", Status: "WARN", Notes: "setup" }], + rows: [{ Channel: "quietchat", Status: "WARN", Notes: "setup" }], }, ], width: 120, @@ -75,7 +75,7 @@ describe("status-all report tables", () => { { key: "Status", header: "Status", flex: false, minWidth: 10 }, { key: "Notes", header: "Notes", flex: true, minWidth: 28 }, ], - rows: [{ Channel: "telegram", Status: "warn(WARN)", Notes: "setup" }], + rows: [{ Channel: "quietchat", Status: "warn(WARN)", Notes: "setup" }], }); }); diff --git a/src/commands/status.link-channel.test.ts b/src/commands/status.link-channel.test.ts index 38a72daf057..1671a63f89e 100644 --- a/src/commands/status.link-channel.test.ts +++ b/src/commands/status.link-channel.test.ts @@ -18,8 +18,8 @@ describe("resolveLinkChannelContext", () => { const account = { configured: true, enabled: true }; pluginRegistry.list = [ { - id: "discord", - meta: { label: "Discord" }, + id: "quietchat", + meta: { label: "QuietChat" }, config: { listAccountIds: () => ["default"], inspectAccount: () => account, @@ -42,8 +42,8 @@ describe("resolveLinkChannelContext", () => { it("degrades safely when account resolution throws", async () => { pluginRegistry.list = [ { - id: "discord", - meta: { label: "Discord" }, + id: "quietchat", + meta: { label: "QuietChat" }, config: { listAccountIds: () => ["default"], resolveAccount: () => { diff --git a/src/commands/status.scan-result.test.ts b/src/commands/status.scan-result.test.ts index b25bd860aaf..2a9225ece2c 100644 --- a/src/commands/status.scan-result.test.ts +++ b/src/commands/status.scan-result.test.ts @@ -57,7 +57,7 @@ describe("buildStatusScanResult", () => { }; const channelIssues = [ { - channel: "discord", + channel: "quietchat", accountId: "default", kind: "runtime" as const, message: "warn",