mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
feat: remoe codex references after merging of main branch
This commit is contained in:
@@ -38,13 +38,6 @@ DATA_DIR=./data
|
||||
# OPTIONAL - Additional AI Providers
|
||||
# ============================================
|
||||
|
||||
# OpenAI API key for GPT/Codex models (gpt-5.2, gpt-5.1-codex, etc.)
|
||||
# Codex CLI must be installed: npm install -g @openai/codex@latest
|
||||
OPENAI_API_KEY=
|
||||
|
||||
# Optional: Override Codex CLI path (auto-detected by default)
|
||||
# CODEX_CLI_PATH=/usr/local/bin/codex
|
||||
|
||||
# Google API key (for future Gemini support)
|
||||
GOOGLE_API_KEY=
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export abstract class BaseProvider {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the provider name (e.g., "claude", "codex", "cursor")
|
||||
* Get the provider name (e.g., "claude", "cursor")
|
||||
*/
|
||||
abstract getName(): string;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ export class ProviderFactory {
|
||||
/**
|
||||
* Get provider by name (for direct access if needed)
|
||||
*
|
||||
* @param name Provider name (e.g., "claude", "codex", "cursor")
|
||||
* @param name Provider name (e.g., "claude", "cursor")
|
||||
* @returns Provider instance or null if not found
|
||||
*/
|
||||
static getProviderByName(name: string): BaseProvider | null {
|
||||
|
||||
10
apps/server/tests/fixtures/configs.ts
vendored
10
apps/server/tests/fixtures/configs.ts
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Configuration fixtures for testing Codex config manager
|
||||
* Configuration fixtures for testing
|
||||
*/
|
||||
|
||||
export const tomlConfigFixture = `
|
||||
@@ -15,11 +15,3 @@ enabled_tools = ["UpdateFeatureStatus"]
|
||||
[mcp_servers.automaker-tools.env]
|
||||
AUTOMAKER_PROJECT_PATH = "/path/to/project"
|
||||
`;
|
||||
|
||||
export const codexAuthJsonFixture = {
|
||||
token: {
|
||||
access_token: "test-access-token",
|
||||
refresh_token: "test-refresh-token",
|
||||
id_token: "test-id-token",
|
||||
},
|
||||
};
|
||||
|
||||
23
apps/server/tests/fixtures/messages.ts
vendored
23
apps/server/tests/fixtures/messages.ts
vendored
@@ -37,26 +37,3 @@ export const claudeProviderMessageFixture: ProviderMessage = {
|
||||
},
|
||||
};
|
||||
|
||||
export const codexThinkingMessageFixture = {
|
||||
type: "item.completed",
|
||||
item: {
|
||||
type: "reasoning",
|
||||
text: "I need to analyze the problem first...",
|
||||
},
|
||||
};
|
||||
|
||||
export const codexCommandExecutionFixture = {
|
||||
type: "item.completed",
|
||||
item: {
|
||||
type: "command_execution",
|
||||
command: "ls -la",
|
||||
aggregated_output: "total 12\ndrwxr-xr-x 3 user user 4096 Dec 13",
|
||||
},
|
||||
};
|
||||
|
||||
export const codexErrorFixture = {
|
||||
type: "error",
|
||||
data: {
|
||||
message: "Authentication failed",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user