Merge pull request #7 from GhostDragon124/acp
两个问题都修改了: 问题 修复 导入路径不规范 '../modes/store.js'→'src/modes/store.js' “泄露”措辞 →"publicly available reference document"
This commit is contained in:
commit
c5b1db2b07
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -46,3 +46,4 @@ ccp-*.tgz
|
|||
.codex/skills/.system/**
|
||||
!.codex/prompts/
|
||||
!.codex/prompts/**
|
||||
AGENTS.md
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ import { loadMemoryPrompt } from '../memdir/memdir.js'
|
|||
import { isUndercover } from '../utils/undercover.js'
|
||||
import { getAntModelOverrideConfig } from '../utils/model/antModels.js'
|
||||
import { isMcpInstructionsDeltaEnabled } from '../utils/mcpInstructionsDelta.js'
|
||||
import { getCurrentMode } from '../modes/store.js'
|
||||
import { getCurrentMode } from 'src/modes/store.js'
|
||||
|
||||
// Dead code elimination: conditional imports for feature-gated modules
|
||||
/* eslint-disable @typescript-eslint/no-require-imports */
|
||||
|
|
|
|||
|
|
@ -1,10 +1,15 @@
|
|||
/**
|
||||
* Claude persona — distilled from Anthropic's internal "Soul Document"
|
||||
* (Claude 4.5 Opus Soul Document, leaked May 2026).
|
||||
* Claude persona — based on the "Claude 4.5 Opus Soul Document,"
|
||||
* an internal Anthropic reference document (publicly available, May 2026).
|
||||
*
|
||||
* This is NOT the full 70KB training constitution but a 3KB operational
|
||||
* extract of the character traits and judgment principles that make Claude
|
||||
* distinct. Designed to be injected as a mode's systemPrompt.
|
||||
*
|
||||
* Usage: This is a reference constant. To activate this persona, create
|
||||
* ~/.claude/modes/claude.yaml with this text as the system_prompt
|
||||
* field, then run /mode claude. The mode system (src/modes/store.ts)
|
||||
* auto-loads YAML files from that directory — no code import needed.
|
||||
*/
|
||||
export const CLAUDE_PERSONA = `# Character
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user