yan-istart_IStart-Note-AI-P.../tsconfig.json
Yan 25eb0bc04c fix(rc): address all P0/P1 review items for 2.0 RC
P0: tsconfig lib upgraded from ES6 to ES2018 (matches esbuild target,
    eliminates Object.entries type risk)

P1: sourceLinks format safety
  - Prompt explicitly forbids [[]] in sourceLinks
  - ArtifactRenderer.wikiLink() strips accidental double-wrapping
  - All sourceLinks rendering uses wikiLink() helper

P1: High-risk content disclaimer
  - ArtifactRenderer.needsSafetyDisclaimer() detects sensitive keywords
    (health/baby/medical/legal/investment) and high-risk items
  - Automatically prepends warning callout to template/run output

P1: Preview shows concrete file paths
  - ArtifactPreviewModal shows exact Knowledge/Artifacts/xxx.md and
    Knowledge/Artifact Runs/yyyy xxx.md paths instead of '1-2 files'

P1: README Architecture tree updated with core/artifact + features/artifact
P1: README Configuration table corrected to match actual settings page

P2: YAML frontmatter escaping
  - ArtifactRenderer.yamlStr() uses JSON.stringify for safe YAML scalars
  - title and target fields no longer break on quotes/special chars

P2: Prompt clarifies 'do not fabricate sourceLinks'
2026-05-20 18:33:51 +08:00

23 lines
578 B
JSON

{
"compilerOptions": {
"baseUrl": ".",
"inlineSourceMap": true,
"inlineSources": true,
"module": "ESNext",
"target": "ES6",
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"importHelpers": true,
"isolatedModules": true,
"strict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"alwaysStrict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"lib": ["ES2018", "DOM"]
},
"include": ["src/**/*.ts"]
}