feature: add grok supplier

This commit is contained in:
Zoltán Szőgyényi
2026-05-17 14:33:34 +03:00
parent 9f5d4ba7e5
commit de5559f83c
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -41,6 +41,7 @@ const UNIVERSAL_DEFAULT_AGENT_LIST = [
"Cursor",
"Gemini CLI",
"GitHub Copilot",
"Grok",
"Kimi Code CLI",
"OpenCode"
];
+4
View File
@@ -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"
+4 -2
View File
@@ -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: "<!-- TYPEUI_SH_MANAGED_START -->\npulled\n<!-- TYPEUI_SH_MANAGED_END -->"
});
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 () => {