ignore: rm spoof and bump plugin version

This commit is contained in:
Aiden Cline 2026-01-25 17:27:15 -05:00
commit 94dd0a8dbe
3 changed files with 12 additions and 13 deletions

View file

@ -66,7 +66,7 @@ export namespace LLM {
])
const isCodex = provider.id === "openai" && auth?.type === "oauth"
const system = SystemPrompt.header(input.model.providerID)
const system = []
system.push(
[
// use agent prompt otherwise provider prompt
@ -83,7 +83,11 @@ export namespace LLM {
const header = system[0]
const original = clone(system)
await Plugin.trigger("experimental.chat.system.transform", { sessionID: input.sessionID }, { system })
await Plugin.trigger(
"experimental.chat.system.transform",
{ sessionID: input.sessionID, model: input.model },
{ system },
)
if (system.length === 0) {
system.push(...original)
}

View file

@ -1 +0,0 @@
You are Claude Code, Anthropic's official CLI for Claude.

View file

@ -34,11 +34,6 @@ async function resolveRelativeInstruction(instruction: string): Promise<string[]
}
export namespace SystemPrompt {
export function header(providerID: string) {
if (providerID.includes("anthropic")) return [PROMPT_ANTHROPIC_SPOOF.trim()]
return []
}
export function instructions() {
return PROMPT_CODEX.trim()
}