Skip to content

feat(omp): route broad tool calls and cap direct results - #1066

Open
danzaio wants to merge 1 commit into
mksglu:mainfrom
danzaio:feat/omp-routing-guard
Open

feat(omp): route broad tool calls and cap direct results#1066
danzaio wants to merge 1 commit into
mksglu:mainfrom
danzaio:feat/omp-routing-guard

Conversation

@danzaio

@danzaio danzaio commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • route broad shell, search, glob, URL, and oversized local-read calls to the existing context-mode MCP tools
  • bound non-context-mode tool results to 16 KiB while preserving a UTF-8-safe head/tail and isError
  • keep the original full result for OMP session extraction and add focused OMP adapter coverage

Verification

  • bun run typecheck
  • bun run build
  • bunx vitest run tests/adapters/omp-plugin.test.ts tests/adapters/omp.test.ts tests/adapters/omp-usage.test.ts --reporter=dot (69 passed)

The standalone local OMP guard remains compatible with this upstream integration; no context-mode node_modules or user prompt rules are changed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant