Commit c07ad4c
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>1 parent e38d454 commit c07ad4c
626 files changed
Lines changed: 260 additions & 4386 deletions
File tree
- src
- bootstrap/src
- entrypoints
- tools/AgentTool
- types
- utils
- model
- settings
- bridge/src/entrypoints/sdk
- cli
- src
- cli
- handlers
- commands/context
- entrypoints
- sdk
- hooks
- services
- PromptSuggestion
- analytics
- api
- mcp
- oauth
- policyLimits
- remoteManagedSettings
- settingsSync
- state
- utils
- filePersistence
- hooks
- messages
- model
- nativeInstaller
- permissions
- plugins
- sandbox
- transports/src/entrypoints/sdk
- commands
- compact/src/bootstrap
- ide/src/services/analytics
- install-github-app/src
- components/CustomSelect
- services/analytics
- utils
- plugin/src/services/analytics
- src
- services/analytics
- terminalSetup/src/utils
- components
- FeedbackSurvey/src
- hooks
- services/analytics
- HelpV2/src
- hooks
- keybindings
- LogoV2/src
- services
- analytics
- api
- utils
- sandbox
- settings
- PromptInput/src
- context
- hooks
- services/analytics
- state
- tools/AgentTool
- types
- utils
- Settings/src
- commands/extra-usage
- constants
- services/analytics
- utils
- StructuredDiff/src/utils
- TrustDialog/src
- services/analytics
- utils
- permissions
- settings
- agents
- new-agent-creation/wizard-steps/src
- services/analytics
- state
- src
- services
- api
- mcp
- state
- tools
- AgentTool
- BashTool
- ExitPlanModeTool
- FileEditTool
- FileReadTool
- FileWriteTool
- GlobTool
- GrepTool
- ListMcpResourcesTool
- NotebookEditTool
- ReadMcpResourceTool
- TaskOutputTool
- TaskStopTool
- TodoWriteTool
- TungstenTool
- WebFetchTool
- WebSearchTool
- utils
- model
- settings
- grove/src/services/analytics
- hooks/src
- entrypoints
- state
- utils/hooks
- mcp/src
- services
- analytics
- mcp
- utils/settings
- messages
- UserToolResultMessage/src/components
- src
- commands/extra-usage
- entrypoints
- hooks
- services
- api
- compact
- types
- utils
- permissions
- ExitPlanModePermissionRequest/src
- context
- services/analytics
- state
- FileEditPermissionRequest/src
- components
- utils
- FilePermissionDialog/src/state
- SedEditPermissionRequest/src
- components
- utils
- SkillPermissionRequest/src/utils
- rules/src
- state
- utils/permissions
- src
- services/analytics
- tools
- BashTool
- EnterPlanModeTool
- ExitPlanModeTool
- utils
- bash
- permissions
- sandbox
- src
- bootstrap
- components/shell
- hooks
- services/analytics
- state
- tools
- FileEditTool
- FileWriteTool
- utils
- background/remote
- permissions
- sandbox
- teleport
- tasks/src
- coordinator
- entrypoints
- hooks
- ink
- state
- tasks
- InProcessTeammateTask
- LocalAgentTask
- LocalShellTask
- MonitorMcpTask
- RemoteAgentTask
- utils
- swarm
- constants/src
- services/analytics
- tools
- AgentTool
- built-in
- GlobTool
- GrepTool
- utils
- context/src/state
- entrypoints/src
- bootstrap
- state
- hooks
- notifs/src
- context
- services
- mcp
- oauth
- state
- utils
- model
- nativeInstaller
- src
- bootstrap
- components/PromptInput
- context
- hooks
- ink/components
- services
- analytics
- mcp
- state
- tools/AgentTool
- utils
- teleport
- toolPermission
- handlers/src/utils
- src/services/analytics
- keybindings/src/utils
- migrations/src/services/analytics
- native-ts/yoga-layout
- schemas/src/entrypoints
- screens/src
- cli
- components
- ClaudeCodeHint
- DesktopUpsell
- FeedbackSurvey
- LspRecommendation
- mcp
- messages
- permissions
- hooks
- notifs
- services
- analytics
- mcp
- tips
- utils
- permissions
- plugins
- sandbox
- settings
- services
- analytics/src/utils
- api/src
- bootstrap
- constants
- context
- entrypoints
- services/analytics
- types
- utils
- claudeInChrome
- model
- permissions
- telemetry
- compact/src
- bootstrap
- tools
- FileEditTool
- FileReadTool
- FileWriteTool
- GlobTool
- GrepTool
- NotebookEditTool
- WebFetchTool
- WebSearchTool
- utils/shell
- mcp/src
- constants
- services
- analytics
- mcp
- state
- types
- utils
- oauth/src
- constants
- services
- analytics
- oauth
- utils
- src
- utils
- model
- tips/src/utils
- settings
- tools/src
- services/analytics
- utils
- skills/bundled/src
- tools/AgentTool/built-in
- utils
- claudeInChrome
- settings
- state/src
- context
- utils/todo
- types/src
- entrypoints
- types
- utils
- permissions
- utils
- background/remote/src
- constants
- entrypoints
- services/oauth
- bash/src
- components/PromptInput
- services/analytics
- deepLink/src/services/analytics
- hooks/src
- entrypoints
- sdk
- state
- types
- messages/src
- bootstrap
- constants
- entrypoints
- services
- tools
- AgentTool
- ExitPlanModeTool
- types
- model/src
- bootstrap
- services
- analytics
- nativeInstaller/src/services/analytics
- permissions/src
- memdir
- services/analytics
- state
- tools
- AgentTool
- FileEditTool
- plugins/src/entrypoints
- processUserInput/src
- bootstrap
- components
- constants
- services/analytics
- tools/BashTool
- types
- utils
- sandbox/src/tools
- BashTool
- FileEditTool
- FileReadTool
- WebFetchTool
- secureStorage/src/constants
- settings/src
- services/mcp
- src
- bootstrap
- constants
- entrypoints
- sdk
- services
- analytics
- compact
- mcp
- policyLimits
- tools
- AgentTool
- built-in
- AskUserQuestionTool
- BashTool
- ExitPlanModeTool
- FileEditTool
- FileReadTool
- FileWriteTool
- GlobTool
- GrepTool
- LSPTool
- ListMcpResourcesTool
- NotebookEditTool
- TaskStopTool
- WebSearchTool
- types
- utils
- model
- secureStorage
- shell
- suggestions/src
- components/PromptInput
- utils
- telemetry/src
- bootstrap
- services/api
- utils
- teleport/src
- constants
- services
- analytics
- oauth
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments