opencode-ntfs-glob-pluginWindows-only OpenCode glob plugin accelerated by an NTFS native broker
0
11
2 in 7 days
21.9
Multi-signal model
3 months ago
2026-05-21
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-ntfs-glob-plugin@0.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-ntfs-glob-plugin@0.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-ntfs-glob-pluginopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Windows-only OpenCode plugin that replaces the glob tool with an NTFS-accelerated implementation and an rg --files fallback.
Platform Support
This plugin is Windows-only. The package declares os: ["win32"] and cpu: ["x64", "arm64"], so npm blocks installation on unsupported platforms.
The accelerated globbing backend is designed for local NTFS volumes and uses NTFS-native USN/MFT/file-ID APIs. On unsupported filesystems, network shares, insufficient-permission paths, USN journal rebuild or rollback cases, or when native volume APIs are unavailable, the plugin falls back to a slower best-effort traversal path.
This package does not provide macOS/Linux native acceleration, content grep acceleration, or a cross-platform filesystem index.
Install
opencode plugin opencode-ntfs-glob-plugin@latest --global
Alternatively, add it to OpenCode config:
{
"plugin": ["opencode-ntfs-glob-plugin@latest"]
}
Tool Surface
The plugin registers only glob.
Arguments:
pattern: glob pattern to match files.path: optional directory to search.
It does not register grep and does not accelerate content search.
Development Verification
bun run typecheck
bun test --max-concurrency=1 --timeout=120000
bun run build:ntfs-broker
bun run check:package
rtk cargo fmt --check --all
rtk cargo check -p opencode-ntfs-broker
rtk cargo test -p opencode-ntfs-broker
Packaged broker benchmarks must run serially, not concurrently with other benchmarks.
License
UNLICENSED. No open-source license is granted by this package metadata.