Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gui/tests/client-config-panel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ function rowButton(container: HTMLElement, name: string, label: string): HTMLBut
.find(el => el.textContent?.trim() === label)!;
}

test("the API download surface includes DSH as the eighth client", () => {
expect(CLIENTS).toEqual(["opencode", "pi", "omp", "hermes", "openclaw", "kimi", "gajae", "dsh"]);
test("the API download surface includes DSH and MiniMax Code as clients", () => {
expect(CLIENTS).toEqual(["opencode", "pi", "omp", "hermes", "openclaw", "kimi", "gajae", "dsh", "mcode"]);
expect(CLIENT_LABEL_KEYS.dsh).toBe("api.clientConfig.clientDsh");
expect(CLIENT_LABEL_KEYS.mcode).toBe("api.clientConfig.clientMcode");
});

test("each row fetches its own client and its dialog renders that client's exact bytes", async () => {
Expand Down
2 changes: 1 addition & 1 deletion gui/tests/integrations-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const originalFetch = globalThis.fetch;

test("DSH is a file integration client", () => {
expect(FILE_INTEGRATION_CLIENTS).toEqual([
"opencode", "pi", "omp", "hermes", "openclaw", "kimi", "gajae", "dsh",
"opencode", "pi", "omp", "hermes", "openclaw", "kimi", "gajae", "dsh", "mcode",
]);
});

Expand Down
3 changes: 2 additions & 1 deletion gui/tests/integrations-overview-rows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ test("every client counts toward the summary, not just the file clients", () =>

test("an unsettled file list renders unknown rows instead of dropping them", () => {
const built = buildOverviewRows(sources({ clients: [], clientsSettled: false }));
expect(built.rows).toHaveLength(12);
expect(built.rows).toHaveLength(13);
expect(rowById(built, "omp").state).toBe("unknown");
expect(rowById(built, "mcode").state).toBe("unknown");
expect(rowById(built, "kimi").state).toBe("unknown");
expect(rowById(built, "dsh")).toMatchObject({
hash: "integrations/dsh",
Expand Down
2 changes: 2 additions & 0 deletions gui/tests/locale-parity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ const ZH_TW_KEEP_ENGLISH: ReadonlySet<string> = new Set([
"integrations.tab.kimi",
"integrations.tab.gajae",
"integrations.tab.dsh",
"integrations.tab.mcode",
"api.clientConfig.clientMcode",
"integrations.codex.title",
// Provider proper nouns kept in English
"provider.name.commandCodeAuth",
Expand Down
Loading