Skip to content

0.2.2: MCP Registry metadata, guard answers before the hook timeout

Choose a tag to compare

@Katta041 Katta041 released this 14 Oct 07:20
· 68 commits to main since this release

Install or update:

claude plugin marketplace add Katta041/asitis-agent-tools
claude plugin install asitis@asitis
# already installed: refresh the marketplace, update the plugin, then restart Claude Code
claude plugin marketplace update asitis
claude plugin update asitis@asitis

Other MCP clients: npx -y @asitis/mcp@0.2.2 --root /absolute/path/to/project

Fixed

  • The guard hook's own time budget is 6 s instead of 7 s and now counts from the moment the hook process starts. Node start-up and the work the budget cannot interrupt (reading and decoding a file of up to 16 MB) used to fall outside it, so on a slow machine the check could run into Claude Code's 10 s hook timeout, which lets the change through. The guard now always answers first: it asks, or blocks in deny mode.
  • The guard's fail-closed test is deterministic: it lowers the budget through ASITIS_GUARD_BUDGET_MS (which can only lower it) instead of measuring wall-clock time.

Changed

  • The bundled server is @asitis/mcp 0.2.2, which adds MCP Registry metadata and no behaviour changes.