fix: import path convention + reword persona source comment

- prompts.ts: use 'src/modes/store.js' alias instead of relative '../modes/store.js'
  to match the file's existing import convention
- claude.ts: reword JSDoc to say 'based on publicly available reference document'
  instead of 'leaked', addressing CodeRabbit review concern
This commit is contained in:
James Feng 2026-06-07 19:01:36 +08:00
parent 8b758ee0a2
commit 090cc58895
10 changed files with 808548 additions and 3 deletions

808545
dist-nosplit/cli.js Executable file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist-nosplit/vendor/ripgrep/arm64-linux/rg vendored Executable file

Binary file not shown.

View File

@ -63,7 +63,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 */

View File

@ -1,6 +1,6 @@
/**
* 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