google-gemini/gemini-cli
Fix unsafe type assertions (Refactoring Plan)
Fechada
#19.708 aberto em 20 de fev. de 2026
area/coreeffort/largehelp wantedkind/bugpriority/p2status/bot-triaged
Métricas do repositório
- Stars
- (103.992 estrelas)
- Métricas de merge de PR
- (Mesclagem média 4d 2h) (55 fundiu PRs em 30d)
Description
Tracking issue for removing no-unsafe-type-assertion suppressions introduced in PR #18688.
The goal is to replace as Type casts with runtime validation (Zod, instanceof, type guards).
This is a meta-issue to track the progress of the following sub-tasks.
- #19709 - Phase 1.1: Error Handling (Core Utilities)
- #19710 - Phase 1.2: JSON & Config (Core Utilities)
- #19711 - Phase 2.1: Tool Execution (Core Tools)
- #19712 - Phase 2.2: File System (Core File System)
- #19713 - Phase 3.1: CLI Config
- #19714 - Phase 3.2: CLI Activity Logger
- #19715 - Phase 4.1: A2A Server
- #19717 - Phase 4.2: VS Code Companion (Likely empty/already done)
- #19733 - Phase 5: CLI Commands
- #19734 - Phase 6: CLI UI
- #19735 - Phase 7: Core MCP & Code Assist