chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354)

- 修正 CLAUDE.md/AGENTS.md 六处过时陈述:modifiers-napi、url-handler-napi 已非 stub,
  Magic Docs/LSP Server/Plugins/Marketplace 已恢复
- 删除未使用的 src/native-ts/yoga-layout/ 冗余副本(2715 行),权威版本保留在 packages/@ant/ink
- 删除 src/ 下 621 个 Auto-generated type stub 文件(全部 export type X = any,无活跃引用)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-04-25 08:54:18 +08:00
committed by GitHub
parent e38d45460e
commit c07ad4c738
626 changed files with 260 additions and 4386 deletions

View File

@@ -1,3 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type SetToolJSXFn = any;
export type ToolUseContext = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type setPromptId = any;

View File

@@ -1,9 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type builtInCommandNames = any;
export type Command = any;
export type CommandBase = any;
export type findCommand = any;
export type getCommand = any;
export type getCommandName = any;
export type hasCommand = any;
export type PromptCommand = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type BashModeProgress = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type NO_CONTENT_MESSAGE = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type QuerySource = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type logEvent = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type BashTool = any;

View File

@@ -1,8 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type AttachmentMessage<T = any> = any;
export type SystemMessage = any;
export type UserMessage = any;
export type AssistantMessage = any;
export type Message = any;
export type NormalizedUserMessage = any;
export type ProgressMessage<T = any> = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type ShellProgress = any;

View File

@@ -1,2 +0,0 @@
// Auto-generated type stub — replace with real implementation
export type getContentText = any;