Powerful AI Client
This report presents the forensic synthetic code analysis of chatboxai/chatbox, a TypeScript project with 41,599 GitHub stars. SynthScan v2.0 examined 244,060 lines of code across 1231 source files, recording 1754 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 6.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1754 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/cases/file-conversation/sample.md | 113 | "street": "123 Main St", | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 5 | Line 1: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 5 | Line 1: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 6 | Line 2: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 6 | Line 2: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 7 | Line 3: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 7 | Line 3: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 8 | Line 4: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 8 | Line 4: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 9 | Line 5: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 9 | Line 5: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 10 | Line 6: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 10 | Line 6: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 11 | Line 7: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 11 | Line 7: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 12 | Line 8: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 12 | Line 8: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 13 | Line 9: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 13 | Line 9: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do e | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 14 | Line 10: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 14 | Line 10: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 15 | Line 11: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 15 | Line 11: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 16 | Line 12: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 16 | Line 12: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 17 | Line 13: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 17 | Line 13: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 18 | Line 14: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 18 | Line 14: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 19 | Line 15: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 19 | Line 15: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 20 | Line 16: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 20 | Line 16: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 21 | Line 17: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 21 | Line 17: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 22 | Line 18: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 22 | Line 18: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 23 | Line 19: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 23 | Line 19: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 24 | Line 20: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 24 | Line 20: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 25 | Line 21: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 25 | Line 21: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 26 | Line 22: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 26 | Line 22: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 27 | Line 23: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 27 | Line 23: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 28 | Line 24: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 28 | Line 24: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 29 | Line 25: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 29 | Line 25: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 30 | Line 26: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 30 | Line 26: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 31 | Line 27: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 31 | Line 27: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 32 | Line 28: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 32 | Line 28: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 33 | Line 29: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 33 | Line 29: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| LOW⚡ | test/cases/file-conversation/sample-large.txt | 34 | Line 30: This is sample content for testing pagination. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do | CODE |
| 1145 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/file-conversation/test-harness.ts | 90 | export function createUserMessageWithFiles(content: string, files: TestFile[]): Message { | CODE |
| LOW | docs/technical/code-execution.md | 104 | export function computeEffectiveAgentMode(agentModeValue, agentModeSupported) { | CODE |
| LOW | src/renderer/Sidebar.tsx | 47 | function setIosTextInteractionEnabled(enabled: boolean) { | CODE |
| LOW | src/renderer/native/stream-http.ts | 6 | export function createNativeReadableStream(options: StartStreamOptions): ReadableStream<Uint8Array> { | CODE |
| LOW | src/renderer/platform/filter_writer.ts | 115 | export function isDocumentsParentDirectoryError(error: unknown): boolean { | CODE |
| LOW | src/renderer/platform/web_platform_utils.ts | 16 | export async function parseFileLocallyInBrowser( | CODE |
| LOW | …c/renderer/setup/session_attachment_rag_maintenance.ts | 101 | export async function runSessionAttachmentRagMaintenancePass() { | CODE |
| LOW | …c/renderer/setup/session_attachment_rag_maintenance.ts | 112 | export function initSessionAttachmentRagMaintenance() { | CODE |
| LOW | src/renderer/stores/imageGenerationStore.ts | 60 | export function useImageGenerationHistory(pageSize: number = 20) { | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagErrors.ts | 19 | export function isSessionAttachmentRagAuthError(errorCode: string | undefined): boolean { | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagErrors.ts | 30 | export function isSessionAttachmentRagIndexingError(errorCode: string | undefined): boolean { | CODE |
| LOW | src/renderer/stores/premiumActions.ts | 16 | export function reconcileLoginLicenseState() { | CODE |
| LOW | src/renderer/stores/premiumActions.ts | 46 | export function initLoginLicenseStateReconciliation() { | CODE |
| LOW | src/renderer/stores/sessionActivityStore.ts | 24 | export function markSessionReplyCompleted(sessionId: string, message: Message): void { | CODE |
| LOW | src/renderer/stores/sessionActivityStore.ts | 62 | export function resetSessionActivityStore(): void { | CODE |
| LOW | src/renderer/stores/scrollActions.ts | 93 | export function getMessageListViewportHeight() { | CODE |
| LOW | src/renderer/stores/settingsStore.ts | 24 | export function getPlatformDefaultDocumentParser(): DocumentParserConfig { | CODE |
| LOW | src/renderer/stores/imageGenerationActions.ts | 58 | function getFailedImageGenerationError( | CODE |
| LOW | src/renderer/stores/defaultChatModel.ts | 23 | function isChatboxLicenseDefaultModelId(value: string | undefined): value is ChatboxLicenseDefaultModelId { | CODE |
| LOW | src/renderer/stores/defaultChatModel.ts | 27 | export function resolveChatboxLicenseDefaultModel( | CODE |
| LOW | src/renderer/stores/firstSuccessfulChat.ts | 48 | export function markFirstSuccessfulChatCompleted(): void { | CODE |
| LOW | src/renderer/stores/firstSuccessfulChat.ts | 52 | export function resetFirstSuccessfulChatForDebug(): void { | CODE |
| LOW | src/renderer/stores/firstSuccessfulChat.ts | 68 | export function hasSuccessfulConversation(session: Session): boolean { | CODE |
| LOW | src/renderer/stores/firstSuccessfulChat.ts | 72 | async function inferFirstSuccessfulChatCompletedFromSessions(): Promise<boolean> { | CODE |
| LOW | src/renderer/stores/firstSuccessfulChat.ts | 89 | export async function getHasCompletedFirstSuccessfulChat(): Promise<boolean> { | CODE |
| LOW | src/renderer/stores/chatStore-cache.ts | 7 | export function getSessionMetadataSnapshot(session: Session): SessionMetadataUpdate { | CODE |
| LOW | src/renderer/stores/chatStore-cache.ts | 18 | export function assertNoMessageDataUpdate(update: object): void { | CODE |
| LOW | src/renderer/stores/chatStore-cache.ts | 26 | export function mergeCachedGeneratingMessages(updated: Session, cached: Session | null | undefined): Session { | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagIndexing.ts | 11 | function shouldIndexPreparedAttachment( | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagIndexing.ts | 33 | function mapPreparedAttachmentState( | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagIndexing.ts | 53 | function mapMessageFileAttachmentState(file: MessageFile, attachment: SessionAttachment): MessageFile { | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagIndexing.ts | 67 | export async function startPreparedSessionAttachmentIndexing(params: { | CODE |
| LOW | src/renderer/stores/sessionAttachmentRagIndexing.ts | 107 | export async function ensureMessageFileSessionAttachment(params: { | CODE |
| LOW | src/renderer/stores/approvalAttentionStore.ts | 33 | export function setApprovalActionsVisible(toolCallId: string, instanceId: string, visible: boolean) { | CODE |
| LOW | src/renderer/stores/approvalAttentionStore.ts | 61 | export function flashApprovalCardHighlight(toolCallId: string) { | CODE |
| LOW | src/renderer/stores/approvalAttentionStore.ts | 72 | export function useApprovalCardHighlighted(toolCallId: string): boolean { | CODE |
| LOW⚡ | src/renderer/stores/approvalAttentionStore.ts | 93 | export function registerApprovalActionsElement(toolCallId: string, instanceId: string, element: HTMLElement) { | CODE |
| LOW⚡ | src/renderer/stores/approvalAttentionStore.ts | 102 | export function unregisterApprovalActionsElement(toolCallId: string, instanceId: string) { | CODE |
| LOW⚡ | src/renderer/stores/approvalAttentionStore.ts | 109 | function getApprovalActionsElement(toolCallId: string): HTMLElement | undefined { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 149 | function reportFilePreprocessFailure(file: File, failure: FilePreprocessFailure): void { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 165 | function normalizeFilePreprocessFailure(error: unknown, stage: FilePreprocessStage): FilePreprocessFailure | undefined { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 214 | function buildParsedContentTooLargeAttachmentResult( | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 274 | function getEffectiveDocumentParserConfig(): DocumentParserConfig { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 287 | function hasUsableSessionAttachmentRagLicense(): boolean { | CODE |
| LOW⚡ | src/renderer/stores/sessionHelpers.ts | 298 | function hasDefaultSessionAttachmentEmbeddingModel(): boolean { | CODE |
| LOW⚡ | src/renderer/stores/sessionHelpers.ts | 303 | function getDefaultSessionAttachmentEmbeddingModelLabel(): string { | CODE |
| LOW⚡ | src/renderer/stores/sessionHelpers.ts | 310 | async function canUseSessionAttachmentRag(): Promise<boolean> { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 375 | async function fallbackToChatboxAIParser( | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 404 | function shouldFallbackToChatboxAI(options: LocalParserFallbackOptions): boolean { | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 410 | async function parseFileWithLocalFallback( | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 487 | async function parseFileWithMineruService( | CODE |
| LOW | src/renderer/stores/sessionHelpers.ts | 1106 | export function getCurrentThreadHistoryHash(s: Session) { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 130 | export async function listArchivedSessionsMetaPage(cursor: number, limit?: number): Promise<SessionMetaPage> { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 140 | export async function countArchivedSessionsMeta(): Promise<number> { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 223 | async function refreshArchivedSessionListCache() { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 231 | function updateArchivedSessionListData(updater: (items: SessionMetaRecord[]) => SessionMetaRecord[]) { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 351 | export async function updateSessionWithMessages( | CODE |
| LOW | src/renderer/stores/chatStore.ts | 459 | async function cleanupSessionAttachmentRagEntries(ids: string[], operation: string) { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 472 | function cleanupDeletedSessionRuntimeState(id: string) { | CODE |
| LOW | src/renderer/stores/chatStore.ts | 563 | function mergeDefaultSessionSettings(session: Session): SessionSettings { | CODE |
| 388 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …enderer/stores/session/__tests__/tools-builder.test.ts | 3 | // ── Hoisted mocks (environment + modules) ────────────────────────────────── | COMMENT |
| MEDIUM | …enderer/stores/session/__tests__/tools-builder.test.ts | 168 | // ── Helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …enderer/stores/session/__tests__/tools-builder.test.ts | 251 | // ── Tests ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …res/session/__tests__/agent-mode-orchestration.test.ts | 19 | // ── sandboxMode computation ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …res/session/__tests__/agent-mode-orchestration.test.ts | 48 | // ── stream persistence policy ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/components/stories/HeaderReal.stories.tsx | 40 | // ─── Mock Data Factory ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/components/stories/HeaderReal.stories.tsx | 56 | // ─── Stories ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …er/components/stories/ReasoningContentReal.stories.tsx | 31 | // ─── Mock Data Factories ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …er/components/stories/ReasoningContentReal.stories.tsx | 53 | // ─── Stories ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nderer/components/stories/ToolCallPartReal.stories.tsx | 7 | // ─── ToolCallPartUI Stories ───────────────────────────────────────── | COMMENT |
| MEDIUM | …nderer/components/stories/ToolCallPartReal.stories.tsx | 32 | // ─── Mock Data Factories ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …nderer/components/stories/ToolCallPartReal.stories.tsx | 45 | // ─── Stories ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …erer/components/stories/MessageErrTipsReal.stories.tsx | 31 | // ─── Mock Data Factory ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …erer/components/stories/MessageErrTipsReal.stories.tsx | 44 | // ─── Stories ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 88 | // ─── Tool Error Result ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 233 | // ─── Tool Icon Mapping ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 288 | // ─── Pill Header (shared) ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 356 | // ─── Web Search ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 537 | // ─── Parse Link ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 653 | // ─── General Tool Call ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 717 | // ─── Create Download ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 958 | // ─── User Exec ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 1106 | // ─── Entry Point ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 1136 | // ─── Tool Call Timeline (consecutive tool calls) ───────────────── | COMMENT |
| MEDIUM | …c/renderer/components/message-parts/ToolCallPartUI.tsx | 2091 | // ─── Reasoning / Thinking (Minimal Inline) ────────────────────────── | COMMENT |
| MEDIUM | src/renderer/packages/user-exec-whitelist.ts | 17 | // ── Simple read-only commands (no subcommand check needed) ────────── | COMMENT |
| MEDIUM | src/renderer/packages/user-exec-whitelist.ts | 129 | // ── Subcommand-aware rules ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/packages/user-exec-whitelist.ts | 170 | // ── Dangerous flags that make otherwise-safe commands unsafe ──────── | COMMENT |
| MEDIUM | src/renderer/packages/user-exec-whitelist.ts | 182 | // ── Shell metacharacter detection ─────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/packages/user-exec-whitelist.ts | 204 | // ── Core logic ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 55 | // ─── Per-session sandbox instances ─────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 141 | // ─── Helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 571 | // ─── Sandbox lifecycle ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 904 | // ─── File operations ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 1142 | // ─── Sandbox lifecycle (continued) ─────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 1223 | // ─── Temp directory management ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/sandbox/manager.ts | 1590 | // ─── Temp directory cleanup ────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/adding-new-provider.md | 18 | ### Step 1: Add Provider to Enum | COMMENT |
| LOW | docs/adding-new-provider.md | 31 | ### Step 2: Create the Model Class | COMMENT |
| LOW | docs/adding-new-provider.md | 78 | ### Step 3: Create the Provider Definition | COMMENT |
| LOW | docs/adding-new-provider.md | 148 | ### Step 4: Register the Provider | COMMENT |
| LOW | docs/adding-new-provider.md | 160 | ### Step 5: Add Provider Icon (Optional but Recommended) | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 10 | // Step 1: Protect code blocks | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 17 | // Step 2: Protect existing LaTeX expressions | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 24 | // Step 3: Escape dollar signs that are likely currency indicators | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 27 | // Step 4: Restore LaTeX expressions | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 30 | // Step 5: Restore code blocks | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 33 | // Step 6: Apply additional escaping functions | COMMENT |
| LOW⚡ | …renderer/packages/context-management/context-tokens.ts | 90 | // Step 1: Call buildContextForSession to get base context messages | COMMENT |
| LOW⚡ | …renderer/packages/context-management/context-tokens.ts | 93 | // Step 2: Apply selectMessagesForSendContext filtering | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 155 | // Step 1: Generate upload URL | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 159 | // Step 2: Upload file to COS | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 163 | // Step 3: Create file record and get parsed content | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 30 | ### Step 1: Understand the Data | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 37 | ### Step 2: Data Quality Assessment | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 49 | ### Step 3: Exploratory Analysis | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 59 | ### Step 4: Deep Analysis | COMMENT |
| LOW | src/main/skills/builtin/data-analysis.ts | 70 | ### Step 5: Generate Insights and Recommendations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/renderer/packages/latex.ts | 10 | // Step 1: Protect code blocks | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 17 | // Step 2: Protect existing LaTeX expressions | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 24 | // Step 3: Escape dollar signs that are likely currency indicators | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 27 | // Step 4: Restore LaTeX expressions | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 30 | // Step 5: Restore code blocks | COMMENT |
| LOW⚡ | src/renderer/packages/latex.ts | 33 | // Step 6: Apply additional escaping functions | COMMENT |
| LOW⚡ | …renderer/packages/context-management/context-tokens.ts | 90 | // Step 1: Call buildContextForSession to get base context messages | COMMENT |
| LOW⚡ | …renderer/packages/context-management/context-tokens.ts | 93 | // Step 2: Apply selectMessagesForSendContext filtering | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 155 | // Step 1: Generate upload URL | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 159 | // Step 2: Upload file to COS | COMMENT |
| LOW⚡ | src/main/knowledge-base/remote-file-parser.ts | 163 | // Step 3: Create file record and get parsed content | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 30 | ### Step 1: Understand the Data | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 37 | ### Step 2: Data Quality Assessment | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 49 | ### Step 3: Exploratory Analysis | COMMENT |
| LOW⚡ | src/main/skills/builtin/data-analysis.ts | 59 | ### Step 4: Deep Analysis | COMMENT |
| LOW | src/main/skills/builtin/data-analysis.ts | 70 | ### Step 5: Generate Insights and Recommendations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/technical/session-attachment-rag-eval.md | 49 | CHATBOX_EVAL_API_KEY="your-api-key" \ | CODE |
| HIGH | scripts/session-rag-eval/README.md | 20 | CHATBOX_EVAL_API_KEY="your-api-key" \ | CODE |
| HIGH | src/renderer/components/settings/mcp/registries.ts | 110 | GITHUB_PERSONAL_ACCESS_TOKEN: '<YOUR_TOKEN>', | CODE |
| HIGH | src/renderer/components/settings/mcp/registries.ts | 124 | GITLAB_PERSONAL_ACCESS_TOKEN: '<YOUR_TOKEN>', | CODE |
| HIGH | src/renderer/components/settings/mcp/registries.ts | 402 | args: ['logfire-mcp', '--read-token=YOUR_TOKEN_HERE'], | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .erb/scripts/check-native-dep.js | 61 | COMMENT | |
| LOW | src/renderer/setupTests.ts | 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. | COMMENT |
| LOW | src/renderer/stores/migration.test.ts | 821 | // | COMMENT |
| LOW | src/renderer/components/common/PopoverConfirm.tsx | 61 | // return ( | COMMENT |
| LOW | src/renderer/packages/token_config.ts | 1 | // import { ModelProvider, SessionSettings } from '../../shared/types' | COMMENT |
| LOW | src/renderer/packages/token_config.ts | 21 | // settings.openaiMaxTokens = defaults.settings().openaiMaxTokens | COMMENT |
| LOW | src/renderer/packages/token_config.ts | 41 | // return settings | COMMENT |
| LOW | src/renderer/packages/remote.ts | 161 | // } | COMMENT |
| LOW | …enderer/packages/model-calls/toolsets/sandbox-paths.ts | 1 | import type { SandboxProvider } from '@shared/sandbox-provider' | COMMENT |
| LOW | src/shared/defaults.ts | 1 | import { v4 as uuidv4 } from 'uuid' | COMMENT |
| LOW | src/shared/defaults.ts | 21 | COMMENT | |
| LOW | src/shared/defaults.ts | 41 | // claudeModel: 'claude-3-5-sonnet-20241022', | COMMENT |
| LOW | src/shared/types/settings.ts | 201 | // clients' data still parses. | COMMENT |
| LOW | src/main/menu.ts | 141 | }, | COMMENT |
| LOW | src/main/pdfjs-globals.ts | 1 | // pdfjs-dist (used by file-parser.ts for local PDF text extraction) references | COMMENT |
| LOW | src/main/readability.ts | 1 | // import { Readability } from '@mozilla/readability' | COMMENT |
| LOW | src/main/readability.ts | 21 | // title, | COMMENT |
| LOW | src/main/deeplinks.ts | 21 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/technical/session-attachment-rag-eval.md | 1 | # Session Attachment RAG Evaluation | COMMENT |
| MEDIUM | scripts/session-rag-eval/README.md | 1 | # Session Attachment RAG Model Eval PoC | COMMENT |
| MEDIUM | scripts/session-rag-eval/SKILL.md | 6 | # Session Attachment RAG Eval | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/main/sandbox/preview-server.ts | 128 | async function handleRequest(req: IncomingMessage, res: ServerResponse): Promise<void> { | CODE |