diff --git a/src/prompts/designSystem.ts b/src/prompts/designSystem.ts index 2c12eca..8a8a8db 100644 --- a/src/prompts/designSystem.ts +++ b/src/prompts/designSystem.ts @@ -41,6 +41,7 @@ const UNIVERSAL_DEFAULT_AGENT_LIST = [ "Cursor", "Gemini CLI", "GitHub Copilot", + "Grok", "Kimi Code CLI", "OpenCode" ]; diff --git a/src/types.ts b/src/types.ts index 565669f..f5b06ee 100644 --- a/src/types.ts +++ b/src/types.ts @@ -60,6 +60,10 @@ export const PROVIDER_DETAILS = { title: "Goose", relativePath: ".goose/skills/design-system/SKILL.md" }, + grok: { + title: "Grok", + relativePath: ".grok/skills/design-system/SKILL.md" + }, junie: { title: "Junie", relativePath: ".junie/skills/design-system/SKILL.md" diff --git a/test/runPull.test.ts b/test/runPull.test.ts index 56df3c4..1311b83 100644 --- a/test/runPull.test.ts +++ b/test/runPull.test.ts @@ -26,15 +26,17 @@ describe("runPull", () => { const root = await makeTmpDir(); const results = await runPull({ projectRoot: root, - providers: ["openclaw", "open-code"], + providers: ["openclaw", "open-code", "grok"], markdown: "\npulled\n" }); - expect(results).toHaveLength(2); + expect(results).toHaveLength(3); const openclawContent = await fs.readFile(path.join(root, "skills/design-system/SKILL.md"), "utf8"); const opencodeContent = await fs.readFile(path.join(root, ".opencode/skills/design-system/SKILL.md"), "utf8"); + const grokContent = await fs.readFile(path.join(root, ".grok/skills/design-system/SKILL.md"), "utf8"); expect(openclawContent).toContain("pulled"); expect(opencodeContent).toContain("pulled"); + expect(grokContent).toContain("pulled"); }); it("deduplicates writes when providers share same output path", async () => {