Skip to content

antigravity ignores rtk popular commands to filter #2803

Open

Description

@mturnaviotov

tried to add rtk v 0.43.0 to my antigravity, restarted, but see that
grep, docker, cat, npm, vue build, npm build, etc, ignored. it is possible to add more standart commands to filter, and allow additional custom filter file, as example i have company owned scripts/utils which not available public, but rtk save ~50-60% tokens on run them?

Activity

  1. pszymkowiak commented on Jul 3, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    ✨ Category feature
    🟡 Priority medium
    🎯 Confidence 82%

    Summary

    User requests expanding the standard command filter list (grep, docker, cat, npm, vue/npm build, etc.) plus support for a custom/private filter config file for company-internal scripts, to increase token savings; needs design work on extensible filtering, not a trivial fix.


    Triaged automatically by wshm · This is an automated analysis, not a human review.

  2. KuSh commented on Oct 3, 2026

    @KuSh
    Collaborator

    Antigravity now gets a native hook plugin (rtk init --agent antigravity, or -g for all projects), added in #3711 and shipped in v0.51.0, so grep, docker, cat and npm commands are rewritten without the model typing rtk itself. Company-internal tools can get their own filters in a project .rtk/filters.toml, enabled with rtk trust. This was not checked inside Antigravity itself, and some commands (vue build) are still not rewritten, so marking it resolved-pending-close. If you still see commands go unfiltered on v0.51.0 or later, please comment with the command.

  3. KuSh commented on Oct 23, 2026

    @KuSh
    Collaborator

    Removing resolved-pending-close: vue build and vue-cli-service build from this report are still not rewritten on the current code. There is no rule for them, so rtk rewrite exits 1 and the Antigravity hook passes them through unchanged. grep, docker, cat and npm run build are rewritten through the Antigravity hook since v0.51.0, and company-internal tools can get their own filters in a trusted project .rtk/filters.toml. Keeping this open for the vue commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions