feat: add CommandCode provider support

This commit is contained in:
decolua
2026-05-07 23:01:33 +07:00
parent ca84e988c0
commit b72a443bd3
12 changed files with 395 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ import { OpenCodeGoExecutor } from "./opencode-go.js";
import { GrokWebExecutor } from "./grok-web.js";
import { PerplexityWebExecutor } from "./perplexity-web.js";
import { OllamaLocalExecutor } from "./ollama-local.js";
import { CommandCodeExecutor } from "./commandcode.js";
import { DefaultExecutor } from "./default.js";
const executors = {
@@ -35,6 +36,7 @@ const executors = {
"grok-web": new GrokWebExecutor(),
"perplexity-web": new PerplexityWebExecutor(),
"ollama-local": new OllamaLocalExecutor(),
commandcode: new CommandCodeExecutor(),
};
const defaultCache = new Map();
@@ -67,3 +69,4 @@ export { OpenCodeGoExecutor } from "./opencode-go.js";
export { GrokWebExecutor } from "./grok-web.js";
export { PerplexityWebExecutor } from "./perplexity-web.js";
export { OllamaLocalExecutor } from "./ollama-local.js";
export { CommandCodeExecutor } from "./commandcode.js";