chore: remove deprecated features (baseDirs, features object form, antigravity alias, geminicli)#2052
Merged
Merged
Conversation
Remove four deprecated surfaces ahead of a major release: - baseDirs alias: drop the --base-dir CLI flag, the baseDirs programmatic option and config field, and Config.getBaseDirs(); use outputRoots / --output-roots exclusively. - features object form: drop the deprecated per-target object form of features; the array form and the targets object form remain. - antigravity alias target: remove the legacy bare 'antigravity' target (use antigravity-ide / antigravity-cli); keep the shared frontmatter/strategy modules they depend on. - geminicli target: remove the geminicli target entirely (impl, processors, tuples, hooks events, e2e/matrix tests, docs, migration guide). Also delete the now-unused deprecation-warnings module and regenerate gitignore, supported-tools tables, JSON schema, and synced skill docs.
The bare 'antigravity' alias target was removed from the tool tuples, but the e2e rules/commands/skills specs still asserted on it, causing the E2E workflow to fail on all platforms. Drop those test rows; the antigravity-ide / antigravity-cli cases remain.
Owner
Author
|
@dyoshikawa Thank you! |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes four deprecated surfaces in a single major-release cleanup. Each was previously documented as "will be removed in a future major release"; this PR is that removal.
1.
baseDirsalias (→outputRoots)--base-dirCLI flag, the programmaticbaseDirsoption, thebaseDirsconfig-file field, andConfig.getBaseDirs().outputRoots/--output-rootsis now the only spelling.2.
featuresobject form (→targetsobject form)features(e.g.features: { claudecode: { rules: true } }).featuresarray form and thetargetsobject form are unchanged.RulesyncFeaturesis narrowed to the array form and the dead per-target branches inConfig/ gitignore filtering are removed.3.
antigravityalias target (→antigravity-ide/antigravity-cli)antigravitytarget (a deprecated alias forantigravity-idethat kept the singular.agent/paths) from the tool tuples,LEGACY_TARGETS, processors, and display metadata.antigravity-rule.ts,antigravity-command.ts,antigravity-skill.ts) are kept — trimmed down to just the exports thatantigravity-ide/antigravity-clidepend on — and the alias-only classes/paths are deleted.4.
geminiclitarget (full removal)geminicli-*feature implementations + tests,geminicli-paths.ts, the Gemini-CLI hook-event constants, and thegeminiclientries across all 8 processor tuples and convention maps.geminiclifrom the e2e Tool×Feature matrices and processor tests (other tools' happy-path coverage preserved).geminiclidocumentation.Housekeeping
deprecation-warningsmodule..gitignore, the supported-tools tables (README + docs), the JSON schemas, and the synced skill docs.Test plan
pnpm cicheckpasses (fmt, oxlint, typecheck, 6546 tests, sync-skill-docs, gitignore, supported-tools tables, cspell, secretlint).src/,docs/,README.md, orskills/.🤖 Generated with Claude Code