diff --git a/src/agents/atlas/agent.ts b/src/agents/atlas/agent.ts index 89ce89893..6dc354d6c 100644 --- a/src/agents/atlas/agent.ts +++ b/src/agents/atlas/agent.ts @@ -101,7 +101,7 @@ function buildDynamicOrchestratorPrompt(ctx?: OrchestratorContext): string { export function createAtlasAgent(ctx: OrchestratorContext): AgentConfig { const baseConfig = { description: - "Orchestrates work via task() to complete ALL tasks in a todo list until fully done. (Atlas - OhMyOpenCode)", + "Orchestrates work via task() to complete ALL tasks in a todo list until fully done. (Atlas - OhMyOpenAgent)", mode: MODE, ...(ctx.model ? { model: ctx.model } : {}), temperature: 0.1, diff --git a/src/agents/atlas/default.ts b/src/agents/atlas/default.ts index 0470c771d..0adeb62d3 100644 --- a/src/agents/atlas/default.ts +++ b/src/agents/atlas/default.ts @@ -12,7 +12,7 @@ import { buildAntiDuplicationSection } from "../dynamic-agent-prompt-builder" export const ATLAS_SYSTEM_PROMPT = ` -You are Atlas - the Master Orchestrator from OhMyOpenCode. +You are Atlas - the Master Orchestrator from OhMyOpenAgent. In Greek mythology, Atlas holds up the celestial heavens. You hold up the entire workflow - coordinating every agent, every task, every verification until completion. diff --git a/src/agents/atlas/gemini.ts b/src/agents/atlas/gemini.ts index 26f64d876..04d408009 100644 --- a/src/agents/atlas/gemini.ts +++ b/src/agents/atlas/gemini.ts @@ -12,7 +12,7 @@ import { buildAntiDuplicationSection } from "../dynamic-agent-prompt-builder" export const ATLAS_GEMINI_SYSTEM_PROMPT = ` -You are Atlas - Master Orchestrator from OhMyOpenCode. +You are Atlas - Master Orchestrator from OhMyOpenAgent. Role: Conductor, not musician. General, not soldier. You DELEGATE, COORDINATE, and VERIFY. You NEVER write code yourself. diff --git a/src/agents/atlas/gpt.ts b/src/agents/atlas/gpt.ts index a747a12a3..2140c0bc3 100644 --- a/src/agents/atlas/gpt.ts +++ b/src/agents/atlas/gpt.ts @@ -12,7 +12,7 @@ import { buildAntiDuplicationSection } from "../dynamic-agent-prompt-builder" export const ATLAS_GPT_SYSTEM_PROMPT = ` -You are Atlas - Master Orchestrator from OhMyOpenCode. +You are Atlas - Master Orchestrator from OhMyOpenAgent. Role: Conductor, not musician. General, not soldier. You DELEGATE, COORDINATE, and VERIFY. You NEVER write code yourself. diff --git a/src/agents/explore.ts b/src/agents/explore.ts index 387f878a3..b500835ba 100644 --- a/src/agents/explore.ts +++ b/src/agents/explore.ts @@ -35,7 +35,7 @@ export function createExploreAgent(model: string): AgentConfig { return { description: - 'Contextual grep for codebases. Answers "Where is X?", "Which file has Y?", "Find the code that does Z". Fire multiple in parallel for broad searches. Specify thoroughness: "quick" for basic, "medium" for moderate, "very thorough" for comprehensive analysis. (Explore - OhMyOpenCode)', + 'Contextual grep for codebases. Answers "Where is X?", "Which file has Y?", "Find the code that does Z". Fire multiple in parallel for broad searches. Specify thoroughness: "quick" for basic, "medium" for moderate, "very thorough" for comprehensive analysis. (Explore - OhMyOpenAgent)', mode: MODE, model, temperature: 0.1, diff --git a/src/agents/hephaestus/agent.ts b/src/agents/hephaestus/agent.ts index c92fa94ed..cabb4bf19 100644 --- a/src/agents/hephaestus/agent.ts +++ b/src/agents/hephaestus/agent.ts @@ -111,7 +111,7 @@ export function createHephaestusAgent( return { description: - "Autonomous Deep Worker - goal-oriented execution with GPT Codex. Explores thoroughly before acting, uses explore/librarian agents for comprehensive context, completes tasks end-to-end. Inspired by AmpCode deep mode. (Hephaestus - OhMyOpenCode)", + "Autonomous Deep Worker - goal-oriented execution with GPT Codex. Explores thoroughly before acting, uses explore/librarian agents for comprehensive context, completes tasks end-to-end. Inspired by AmpCode deep mode. (Hephaestus - OhMyOpenAgent)", mode: MODE, model, maxTokens: 32000, diff --git a/src/agents/hephaestus/gpt-5-3-codex.ts b/src/agents/hephaestus/gpt-5-3-codex.ts index 9a5e43b18..58b6e5ca0 100644 --- a/src/agents/hephaestus/gpt-5-3-codex.ts +++ b/src/agents/hephaestus/gpt-5-3-codex.ts @@ -527,7 +527,7 @@ export function createHephaestusAgent( return { description: - "Autonomous Deep Worker - goal-oriented execution with GPT 5.4 Codex. Explores thoroughly before acting, uses explore/librarian agents for comprehensive context, completes tasks end-to-end. Inspired by AmpCode deep mode. (Hephaestus - OhMyOpenCode)", + "Autonomous Deep Worker - goal-oriented execution with GPT 5.4 Codex. Explores thoroughly before acting, uses explore/librarian agents for comprehensive context, completes tasks end-to-end. Inspired by AmpCode deep mode. (Hephaestus - OhMyOpenAgent)", mode: MODE, model, maxTokens: 32000, diff --git a/src/agents/librarian.ts b/src/agents/librarian.ts index 8f26907d8..fcd0ff5be 100644 --- a/src/agents/librarian.ts +++ b/src/agents/librarian.ts @@ -32,7 +32,7 @@ export function createLibrarianAgent(model: string): AgentConfig { return { description: - "Specialized codebase understanding agent for multi-repository analysis, searching remote codebases, retrieving official documentation, and finding implementation examples using GitHub CLI, Context7, and Web Search. MUST BE USED when users ask to look up code in remote repositories, explain library internals, or find usage examples in open source. (Librarian - OhMyOpenCode)", + "Specialized codebase understanding agent for multi-repository analysis, searching remote codebases, retrieving official documentation, and finding implementation examples using GitHub CLI, Context7, and Web Search. MUST BE USED when users ask to look up code in remote repositories, explain library internals, or find usage examples in open source. (Librarian - OhMyOpenAgent)", mode: MODE, model, temperature: 0.1, diff --git a/src/agents/metis.ts b/src/agents/metis.ts index ced0e3eaa..70e9d0a98 100644 --- a/src/agents/metis.ts +++ b/src/agents/metis.ts @@ -302,7 +302,7 @@ const metisRestrictions = createAgentToolRestrictions([ export function createMetisAgent(model: string): AgentConfig { return { description: - "Pre-planning consultant that analyzes requests to identify hidden intentions, ambiguities, and AI failure points. (Metis - OhMyOpenCode)", + "Pre-planning consultant that analyzes requests to identify hidden intentions, ambiguities, and AI failure points. (Metis - OhMyOpenAgent)", mode: MODE, model, temperature: 0.3, diff --git a/src/agents/momus.ts b/src/agents/momus.ts index ca03dd4f5..a2e844e10 100644 --- a/src/agents/momus.ts +++ b/src/agents/momus.ts @@ -291,7 +291,7 @@ export function createMomusAgent(model: string): AgentConfig { const base = { description: - "Expert reviewer for evaluating work plans against rigorous clarity, verifiability, and completeness standards. (Momus - OhMyOpenCode)", + "Expert reviewer for evaluating work plans against rigorous clarity, verifiability, and completeness standards. (Momus - OhMyOpenAgent)", mode: MODE, model, temperature: 0.1, diff --git a/src/agents/multimodal-looker.ts b/src/agents/multimodal-looker.ts index b6fe79fe4..23774d762 100644 --- a/src/agents/multimodal-looker.ts +++ b/src/agents/multimodal-looker.ts @@ -16,7 +16,7 @@ export function createMultimodalLookerAgent(model: string): AgentConfig { return { description: - "Analyze media files (PDFs, images, diagrams) that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content. Use when you need analyzed/extracted data rather than literal file contents. (Multimodal-Looker - OhMyOpenCode)", + "Analyze media files (PDFs, images, diagrams) that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content. Use when you need analyzed/extracted data rather than literal file contents. (Multimodal-Looker - OhMyOpenAgent)", mode: MODE, model, temperature: 0.1, diff --git a/src/agents/oracle.ts b/src/agents/oracle.ts index 227d096f3..36d477d4d 100644 --- a/src/agents/oracle.ts +++ b/src/agents/oracle.ts @@ -252,7 +252,7 @@ export function createOracleAgent(model: string): AgentConfig { const base = { description: - "Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design. (Oracle - OhMyOpenCode)", + "Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design. (Oracle - OhMyOpenAgent)", mode: MODE, model, temperature: 0.1, diff --git a/src/agents/prometheus/gemini.ts b/src/agents/prometheus/gemini.ts index 906507c3a..8b1c3cada 100644 --- a/src/agents/prometheus/gemini.ts +++ b/src/agents/prometheus/gemini.ts @@ -13,7 +13,7 @@ import { buildAntiDuplicationSection } from "../dynamic-agent-prompt-builder" export const PROMETHEUS_GEMINI_SYSTEM_PROMPT = ` -You are Prometheus - Strategic Planning Consultant from OhMyOpenCode. +You are Prometheus - Strategic Planning Consultant from OhMyOpenAgent. Named after the Titan who brought fire to humanity, you bring foresight and structure. **YOU ARE A PLANNER. NOT AN IMPLEMENTER. NOT A CODE WRITER. NOT AN EXECUTOR.** diff --git a/src/agents/prometheus/gpt.ts b/src/agents/prometheus/gpt.ts index 578ddb149..885a84686 100644 --- a/src/agents/prometheus/gpt.ts +++ b/src/agents/prometheus/gpt.ts @@ -12,7 +12,7 @@ import { buildAntiDuplicationSection } from "../dynamic-agent-prompt-builder"; export const PROMETHEUS_GPT_SYSTEM_PROMPT = ` -You are Prometheus - Strategic Planning Consultant from OhMyOpenCode. +You are Prometheus - Strategic Planning Consultant from OhMyOpenAgent. Named after the Titan who brought fire to humanity, you bring foresight and structure. **YOU ARE A PLANNER. NOT AN IMPLEMENTER. NOT A CODE WRITER.** diff --git a/src/agents/sisyphus-junior/agent.ts b/src/agents/sisyphus-junior/agent.ts index 8637315fa..556965839 100644 --- a/src/agents/sisyphus-junior/agent.ts +++ b/src/agents/sisyphus-junior/agent.ts @@ -105,7 +105,7 @@ export function createSisyphusJuniorAgentWithOverrides( const base: AgentConfig = { description: override?.description ?? - "Focused task executor. Same discipline, no delegation. (Sisyphus-Junior - OhMyOpenCode)", + "Focused task executor. Same discipline, no delegation. (Sisyphus-Junior - OhMyOpenAgent)", mode: MODE, model, temperature, diff --git a/src/agents/sisyphus-junior/default.ts b/src/agents/sisyphus-junior/default.ts index bdd5467e7..fa29aadd1 100644 --- a/src/agents/sisyphus-junior/default.ts +++ b/src/agents/sisyphus-junior/default.ts @@ -20,7 +20,7 @@ export function buildDefaultSisyphusJuniorPrompt( : "All todos marked completed" const prompt = ` -Sisyphus-Junior - Focused executor from OhMyOpenCode. +Sisyphus-Junior - Focused executor from OhMyOpenAgent. Execute tasks directly. diff --git a/src/agents/sisyphus-junior/gemini.ts b/src/agents/sisyphus-junior/gemini.ts index b4b10980b..296bd1f70 100644 --- a/src/agents/sisyphus-junior/gemini.ts +++ b/src/agents/sisyphus-junior/gemini.ts @@ -19,8 +19,8 @@ export function buildGeminiSisyphusJuniorPrompt( const verificationText = useTaskSystem ? "All tasks marked completed" : "All todos marked completed" - - const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenCode. +const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. + You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. ## Identity diff --git a/src/agents/sisyphus-junior/gpt-5-3-codex.ts b/src/agents/sisyphus-junior/gpt-5-3-codex.ts index e1dc8fff8..9fce62b42 100644 --- a/src/agents/sisyphus-junior/gpt-5-3-codex.ts +++ b/src/agents/sisyphus-junior/gpt-5-3-codex.ts @@ -17,8 +17,8 @@ export function buildGpt53CodexSisyphusJuniorPrompt( const verificationText = useTaskSystem ? "All tasks marked completed" : "All todos marked completed" - - const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenCode. +const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. + You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. ## Identity diff --git a/src/agents/sisyphus-junior/gpt-5-4.ts b/src/agents/sisyphus-junior/gpt-5-4.ts index 199942c94..34291c0e9 100644 --- a/src/agents/sisyphus-junior/gpt-5-4.ts +++ b/src/agents/sisyphus-junior/gpt-5-4.ts @@ -20,8 +20,8 @@ export function buildGpt54SisyphusJuniorPrompt( const verificationText = useTaskSystem ? "All tasks marked completed" : "All todos marked completed"; - - const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenCode. +const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. + You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. ## Identity diff --git a/src/agents/sisyphus-junior/gpt.ts b/src/agents/sisyphus-junior/gpt.ts index 0b0ac3ea3..25029133a 100644 --- a/src/agents/sisyphus-junior/gpt.ts +++ b/src/agents/sisyphus-junior/gpt.ts @@ -18,8 +18,8 @@ export function buildGptSisyphusJuniorPrompt( const verificationText = useTaskSystem ? "All tasks marked completed" : "All todos marked completed" - - const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenCode. +const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. + You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent. ## Identity diff --git a/src/agents/sisyphus.ts b/src/agents/sisyphus.ts index dcb6bd260..8562a878b 100644 --- a/src/agents/sisyphus.ts +++ b/src/agents/sisyphus.ts @@ -73,7 +73,7 @@ function buildDynamicSisyphusPrompt( : "YOUR TODO CREATION WOULD BE TRACKED BY HOOK([SYSTEM REMINDER - TODO CONTINUATION])"; return ` -You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenCode. +You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenAgent. **Why Sisyphus?**: Humans roll their boulder every day. So do you. We're not so different—your code should be indistinguishable from a senior engineer's. @@ -467,7 +467,7 @@ export function createSisyphusAgent( ); return { description: - "Powerful AI orchestrator. Plans obsessively with todos, assesses search complexity before exploration, delegates strategically via category+skills combinations. Uses explore for internal code (parallel-friendly), librarian for external docs. (Sisyphus - OhMyOpenCode)", + "Powerful AI orchestrator. Plans obsessively with todos, assesses search complexity before exploration, delegates strategically via category+skills combinations. Uses explore for internal code (parallel-friendly), librarian for external docs. (Sisyphus - OhMyOpenAgent)", mode: MODE, model, maxTokens: 64000, @@ -518,7 +518,7 @@ export function createSisyphusAgent( } as AgentConfig["permission"]; const base = { description: - "Powerful AI orchestrator. Plans obsessively with todos, assesses search complexity before exploration, delegates strategically via category+skills combinations. Uses explore for internal code (parallel-friendly), librarian for external docs. (Sisyphus - OhMyOpenCode)", + "Powerful AI orchestrator. Plans obsessively with todos, assesses search complexity before exploration, delegates strategically via category+skills combinations. Uses explore for internal code (parallel-friendly), librarian for external docs. (Sisyphus - OhMyOpenAgent)", mode: MODE, model, maxTokens: 64000, diff --git a/src/agents/sisyphus/default.ts b/src/agents/sisyphus/default.ts index 5293225c2..537e47591 100644 --- a/src/agents/sisyphus/default.ts +++ b/src/agents/sisyphus/default.ts @@ -167,7 +167,7 @@ export function buildDefaultSisyphusPrompt( : "YOUR TODO CREATION WOULD BE TRACKED BY HOOK([SYSTEM REMINDER - TODO CONTINUATION])"; return ` -You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenCode. +You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenAgent. **Why Sisyphus?**: Humans roll their boulder every day. So do you. We're not so different—your code should be indistinguishable from a senior engineer's. diff --git a/src/agents/sisyphus/gpt-5-4.ts b/src/agents/sisyphus/gpt-5-4.ts index 0a1299dbd..3c9a055c9 100644 --- a/src/agents/sisyphus/gpt-5-4.ts +++ b/src/agents/sisyphus/gpt-5-4.ts @@ -107,7 +107,7 @@ export function buildGpt54SisyphusPrompt( : "YOUR TODO CREATION WOULD BE TRACKED BY HOOK([SYSTEM REMINDER - TODO CONTINUATION])"; const identityBlock = ` -You are Sisyphus — an AI orchestrator from OhMyOpenCode. +You are Sisyphus — an AI orchestrator from OhMyOpenAgent. You are a senior SF Bay Area engineer. You delegate, verify, and ship. Your code is indistinguishable from a senior engineer's work. diff --git a/src/config/schema.test.ts b/src/config/schema.test.ts index 904be3476..ee6db311a 100644 --- a/src/config/schema.test.ts +++ b/src/config/schema.test.ts @@ -629,7 +629,7 @@ describe("BrowserAutomationConfigSchema", () => { }) }) -describe("OhMyOpenCodeConfigSchema - browser_automation_engine", () => { +describe("OhMyOpenAgentConfigSchema - browser_automation_engine", () => { test("accepts browser_automation_engine config", () => { // given const input = { @@ -671,7 +671,7 @@ describe("OhMyOpenCodeConfigSchema - browser_automation_engine", () => { }) }) -describe("OhMyOpenCodeConfigSchema - hashline_edit", () => { +describe("OhMyOpenAgentConfigSchema - hashline_edit", () => { test("accepts hashline_edit as true", () => { //#given const input = { hashline_edit: true } diff --git a/src/index.ts b/src/index.ts index 0c91be075..74fb4f7d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ let activePluginDispose: PluginDispose | null = null const OhMyOpenAgentPlugin: Plugin = async (ctx) => { // Initialize config context for plugin runtime (prevents warnings from hooks) initConfigContext("opencode", null) - log("[OhMyOpenCodePlugin] ENTRY - plugin loading", { + log("[OhMyOpenAgentPlugin] ENTRY - plugin loading", { directory: ctx.directory, }) diff --git a/src/plugin-handlers/prometheus-agent-config-builder.ts b/src/plugin-handlers/prometheus-agent-config-builder.ts index 3c080ed10..44f0edfa8 100644 --- a/src/plugin-handlers/prometheus-agent-config-builder.ts +++ b/src/plugin-handlers/prometheus-agent-config-builder.ts @@ -71,7 +71,7 @@ export async function buildPrometheusAgentConfig(params: { mode: "all", prompt: getPrometheusPrompt(resolvedModel), permission: PROMETHEUS_PERMISSION, - description: `${(params.configAgentPlan?.description as string) ?? "Plan agent"} (Prometheus - OhMyOpenCode)`, + description: `${(params.configAgentPlan?.description as string) ?? "Plan agent"} (Prometheus - OhMyOpenAgent)`, color: (params.configAgentPlan?.color as string) ?? "#FF5722", ...(temperatureToUse !== undefined ? { temperature: temperatureToUse } : {}), ...(topPToUse !== undefined ? { top_p: topPToUse } : {}),