Craft AI-driven interface effortlessly🤖
This report summarizes scanner evidence for ant-design/x, a TypeScript project with 4,808 GitHub stars. SynthScan examined 160,397 lines of code across 1283 source files, recording 264 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 46 finding(s).
Are imports declared and package/API names verified? 43 finding(s).
Are wrappers, guards, and repeated structures necessary? 181 finding(s).
Which changes need focused human review? 264 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 264 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 10 | // ─── 内部解析辅助 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 85 | // ─── 工厂函数 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x-card/src/A2UI/format/components.ts | 140 | // ─── 向后兼容的默认导出 ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 32 | // ─── Product Data ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 137 | // ─── Type Definitions ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 145 | // ─── Role Configuration ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 166 | // ─── FilterPanel Component ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 293 | // ─── ProductList Component ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 421 | // ─── FilterContainer Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 451 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 501 | // ─── Agent Commands ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/filter-search.tsx | 563 | // ─── App ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 15 | // ─── Type Definitions ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 23 | // ─── Mock Data: Product List (Batch Loading) ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 66 | // ─── Role Configuration ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 87 | // ─── ProductCard Component ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 177 | // ─── ProductContainer Component ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 207 | // ─── LoadingIndicator Component ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 256 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 309 | // ─── Agent Commands ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/progressive.tsx | 376 | // ─── App ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 24 | // ─── Type Definitions ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 48 | // ─── Product Data ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 107 | // ─── Role Definition ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 128 | // ─── ColWrapper Component (for column layout within Row) ──────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 139 | // ─── ProductListCard Component ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 281 | // ─── CartCard Component ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 411 | // ─── OrderSummaryCard Component ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 581 | // ─── MultiCardContainer Component (three-column horizontal layout container) ────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 604 | // ─── CheckoutSuccessCard Component ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 689 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 735 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 738 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …kages/x/docs/x-card/demo/A2UI_v0.9/multi-card-sync.tsx | 869 | // ─── App Component ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 24 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 26 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 49 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 51 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 204 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 206 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 238 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 240 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 546 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 548 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 599 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 601 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 665 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/x/docs/x-card/demo/A2UI_v0.9/nested-interaction.tsx | 667 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 15 | // ─── Type Definitions ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 43 | // ─── Restaurant Data ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 103 | // ─── Text Component ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 136 | // ─── LoadingProgress Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 181 | // ─── RestaurantCard Component ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 304 | // ─── RestaurantList Component ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 362 | // ─── Container Component ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 386 | // ─── Streaming Text Hook ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 432 | // ─── Progress Hook ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 470 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 472 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | packages/x/docs/x-card/demo/A2UI_v0.9/streaming.tsx | 486 | // ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| 115 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 18 | elif n == 1: | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 29 | print(f"The {num}th Fibonacci number is: {fibonacci(num)}") | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 32 | print("First 15 Fibonacci numbers:") | CODE |
| HIGH⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 34 | print(fibonacci(i), end=" ") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 18 | elif n == 1: | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 29 | print(f"The {num}th Fibonacci number is: {fibonacci(num)}") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 32 | print("First 15 Fibonacci numbers:") | CODE |
| HIGH⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 34 | print(fibonacci(i), end=" ") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/x-skill/skills/x-chat-provider/reference/EXAMPLES.md | 13 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …s/x-skill/skills/x-chat-provider/reference/EXAMPLES.md | 24 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ckages/x-skill/skills/use-x-chat/reference/EXAMPLES.md | 20 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ckages/x-skill/skills/use-x-chat/reference/EXAMPLES.md | 100 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …-skill/skills-zh/x-chat-provider/reference/EXAMPLES.md | 13 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …-skill/skills-zh/x-chat-provider/reference/EXAMPLES.md | 24 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ges/x-skill/skills-zh/use-x-chat/reference/EXAMPLES.md | 20 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | …ges/x-skill/skills-zh/use-x-chat/reference/EXAMPLES.md | 100 | headers: { Authorization: 'Bearer your-api-key' }, | CODE |
| HIGH | packages/x/docs/playground/agent-tbox.tsx | 343 | authorization: 'your-api-key', // Replace with your API key | CODE |
| HIGH | packages/x/docs/playground/agent-tbox.tsx | 362 | authorization: 'your-api-key', // Replace with your API key | CODE |
| HIGH | packages/x/docs/react/demo/tbox.tsx | 43 | authorization: 'your-api-key', // Replace with your API key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1181 | // Step 1: Start thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1191 | // Step 2: Continue thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1201 | // Step 3: Complete thinking and provide answer | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 108 | ## Step 1: Analyze Interface Format ⏱️ 2 minutes | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 117 | ## Step 2: Create Provider Class ⏱️ 5 minutes | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 185 | ## Step 3: Verify ⏱️ 1 minute | COMMENT |
| LOW | packages/x-skill/skills/x-chat-provider/SKILL.md | 195 | ## Step 4: Use Provider ⏱️ 1 minute | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 37 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 51 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x-skill/skills/use-x-chat/SKILL.md | 84 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 142 | // Step 1: Create surface immediately | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 170 | // Step 2: Stream data in progressively | COMMENT |
| LOW | packages/x-skill/skills/x-card/reference/USAGE.md | 186 | // Step 3: Done | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 88 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 124 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 145 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 87 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 123 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 144 | ### Step 3: UI Integration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/x-markdown/src/XMarkdown/interface.ts | 149 | * @default 'placeholder' | COMMENT |
| LOW | packages/x-markdown/src/XMarkdown/interface.ts | 151 | incompleteMarkdown?: 'placeholder' | 'complete'; | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 60 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 60 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 64 | Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui | CODE |
| LOW⚡ | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 64 | Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 353 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 353 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 369 | Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius | CODE |
| LOW | …s/x-markdown/src/XMarkdown/__benchmark__/tests/test.md | 369 | Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius | CODE |
| LOW | …ges/x-markdown/src/XMarkdown/__tests__/preset.test.tsx | 27 | `## Section ${i}\n\n${'Lorem ipsum dolor sit amet. '.repeat(8)}\n\n\`\`\`js\nconst s${i} = ${i};\n\`\`\`\n\n`; | CODE |
| LOW | …ges/x-markdown/src/XMarkdown/__tests__/preset.test.tsx | 27 | `## Section ${i}\n\n${'Lorem ipsum dolor sit amet. '.repeat(8)}\n\n\`\`\`js\nconst s${i} = ${i};\n\`\`\`\n\n`; | CODE |
| LOW | …ages/x-markdown/src/XMarkdown/__tests__/hooks.test.tsx | 1355 | expect(streamWith('see **bold', { incompleteMarkdown: 'placeholder' }).at('see **bold')).toBe( | CODE |
| LOW | packages/x-markdown/src/XMarkdown/hooks/useStreaming.ts | 644 | incompleteMarkdown = 'placeholder', | CODE |
| LOW | packages/x/docs/x-markdown/streaming.zh-CN.md | 22 | | incompleteMarkdown | 未写完的语法如何显示:`placeholder` 扣住或显示占位组件;`complete` 把写到一半的强调、行内代码、链接文字、列表项当作完整文本立刻显示 | `'placeholder' \ | CODE |
| LOW | packages/x/docs/x-markdown/streaming.en-US.md | 22 | | incompleteMarkdown | How unfinished syntax is shown: `placeholder` holds it back or shows the placeholder component; ` | CODE |
| LOW | packages/x/components/sender/interface.ts | 125 | extends Partial<Pick<TextareaProps, 'placeholder' | 'onKeyUp' | 'onFocus' | 'onBlur'>> { | CODE |
| LOW | packages/x/components/attachments/index.tsx | 20 | export type SemanticType = 'list' | 'placeholder' | 'upload'; | CODE |
| LOW | packages/x/components/attachments/demo/_semantic.tsx | 61 | { name: 'placeholder', desc: placeholderLocale.placeholder }, | CODE |
| LOW | packages/x/components/attachments/demo/placeholder.tsx | 58 | inlinePlaceholder: ReturnType<ExtractFunc<AttachmentsProps['placeholder']>>, | CODE |
| LOW | …ages/x/components/attachments/__tests__/index.test.tsx | 66 | placeholder: 'placeholder', | CODE |
| LOW | packages/x/components/attachments/FileList/index.tsx | 16 | type SemanticType = 'list' | 'placeholder' | 'upload'; | CODE |
| LOW | …ges/index/components/SceneIntroduction/Independent.tsx | 159 | key: 'placeholder', | CODE |
| LOW | …pages/index/components/SceneIntroduction/Assistant.tsx | 149 | key: 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1181 | // Step 1: Start thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1191 | // Step 2: Continue thinking | COMMENT |
| LOW⚡ | …es/x-sdk/src/chat-providers/__test__/providers.test.ts | 1201 | // Step 3: Complete thinking and provide answer | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 88 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 124 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/fully-controlled.tsx | 145 | ### Step 3: UI Integration | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 87 | ### Step 1: Prepare Provider | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 123 | ### Step 2: Basic Usage | COMMENT |
| LOW | packages/x/components/folder/demo/basic.tsx | 144 | ### Step 3: UI Integration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/x-sdk/src/x-request/__test__/index.test.ts | 58 | function mockSSEReadableStreamTimeout() { | CODE |
| LOW | …down/src/XMarkdown/core/detectUnclosedComponentTags.ts | 130 | export function detectUnclosedComponentTags( | CODE |
| LOW | packages/x-card/src/A2UI/utils.ts | 46 | export function validateComponentAgainstCatalog( | CODE |
| LOW | packages/x-card/src/A2UI/format/components.ts | 104 | export function createComponentTransformer(): ComponentTransformer { | CODE |
| LOW | packages/x/.dumirc.ts | 154 | function isLocalStorageNameSupported() { | CODE |
| LOW | packages/x/.dumi/theme/utils.ts | 175 | export function isLocalStorageNameSupported() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kdown/src/XMarkdown/__benchmark__/playwright/index.tsx | 1 | // Import styles, initialize component theme here. | COMMENT |
| LOW | packages/x-markdown/src/XMarkdown/hooks/useStreaming.ts | 321 | // one to three spaces; those are rare in generated text and simply not split on. | COMMENT |
| LOW | packages/x/components/folder/__tests__/index.test.tsx | 1541 | expect(added).toBeTruthy(); | COMMENT |
| LOW | packages/x/components/folder/__tests__/index.test.tsx | 1581 | // selectedFile=['src/components/Button.tsx'] triggers findNodeAndValidate with array | COMMENT |
| LOW | …s/x/.dumi/theme/builtins/Previewer/CodeBlockButton.tsx | 1 | import { Tooltip } from 'antd'; | COMMENT |
| LOW | …s/x/.dumi/theme/builtins/Previewer/CodeBlockButton.tsx | 21 | // if (status !== 'timeout' && status !== 'error') { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/x/docs/x-markdown/demo/components/codeHighlighter.tsx | 26 | # Example usage | COMMENT |
| LOW⚡ | …/x/components/code-highlighter/demo/with-xmarkdown.tsx | 26 | # Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x/docs/react/use-with-umi.en-US.md | 21 | It is recommended to use [pnpm](https://pnpm.io/zh/) to create the Umi scaffold. Execute the following command: | CODE |
| MEDIUM | packages/x/.dumi/theme/slots/Footer/index.tsx | 145 | url: 'https://scaffold.ant.design', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/x/scripts/ci-mock-project-build.sh | 1 | # Create a umi project | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/x/.dumi/theme/builtins/APITable/index.tsx | 4 | // TODO: implement api table, depend on the new markdown data structure passed | COMMENT |