Implement command categorization, telemetry, and modularize distillation#76
Merged
Implement command categorization, telemetry, and modularize distillation#76
Conversation
… telemetry for passthrough and retrieval events.
…just compression thresholds for higher retrieval rates
…n efficiency analysis
…rch distiller logic
… for file dependencies and mutating commands
…llback logic for file distillation
…, and ensure legacy filter compatibility
…management functions
…prioritize directory paths and handle basename fallback
…ovements, and fixes
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.
PR Auto Describe
Summary
This release introduces lightweight anti‑hallucination guards, a fast local dependency graph, and richer context warnings for file reads and mutating commands. New distillers for
ReadFileandgrepoutput provide structured summaries and factual guards. The cursor integration is refactored into idempotent helper functions. Doctor, stats, and hooks are enhanced to report new telemetry, adaptive compression thresholds, and hot‑file warnings. Three new agent tools (omni_context,omni_explain_savings,omni_find_noise) expose graph and compression insights. The store now records passthrough events, unhandled tools, and runs a one‑time migration. Utilitycommand_familynormalizes commands for adaptive compression and stats.Key Changes
graph/indexer.rs).omni_contexttool to show import/imported‑by stats and hot‑file hit count.omni_explain_savingsandomni_find_noisetools for compression insight.initialize_mcp_config,install_mcp_server, etc.).omni init.OMNI_AGENT_ID/OMNI_CMD, records retrieve events, and emits hot‑file context.post_toolnow uses graph context for many‑dependent files and adds compression‑recovery warnings.pre_tooldetects mutating commands, warns on hot files, and hints at context availability.command_familyhelper normalizes common command families.Detailed Breakdown
importsandimported_bymaps with dedupe.has_valid_omni_server. Added tests.omni_contexttool.resolve_pipe_agent_idsimplified to respectOMNI_AGENT_ID/OMNI_CMD, default toterminal.ReadFile, invokesdistill_readfile_with_context;Grepusesdistill_grep; added compression‑recovery and noise warnings.graphmodule.omni_context,omni_explain_savings,omni_find_noisetools; record retrieve events; telemetry; backfill migration.match_command = "^$"to avoid skip warnings.match_commandwhen none provided.infer_domainto prefer directory prefixes, fallback to basename without extension.passthrough_events,unhandled_tools,schema_migrations; migration to renamevscodeagent tocursor.Notes
Breaking Changes
None. All APIs remain backward compatible; new environment variables (
OMNI_AGENT_ID,OMNI_CMD) are optional.Last updated: 2026-05-05 17:15:38