ToolDesc gains Hidden (json omitempty): registries can mark reserved-capability tools (the fs family) that stay invisible to models and tool listings until a runtime gate opens them.
Verification
go test ./... green; no golden samples carry the field. Rebased onto cardflow core (6bdc4f2).
Refs: task feature/file-preview-caps.
## What
ToolDesc gains `Hidden` (json omitempty): registries can mark reserved-capability tools (the fs family) that stay invisible to models and tool listings until a runtime gate opens them.
## Verification
go test ./... green; no golden samples carry the field. Rebased onto cardflow core (6bdc4f2).
Refs: task feature/file-preview-caps.
Why: the fs tool family (proposal 2026-09-30-file-preview-and-reserved-
capabilities) is implemented but must stay invisible to models and tool
listings until a runtime gate opens it.
Evidence: new bool field with json omitempty; no golden samples carry it;
go test ./... green.
Impact: registries can mark gated tools; servers and runners filter on
it (backend PR in the same task).
Refs: task feature/file-preview-caps.
weichen
merged commit 90b57477bb into main2026-09-30 17:20:20 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
ToolDesc gains
Hidden(json omitempty): registries can mark reserved-capability tools (the fs family) that stay invisible to models and tool listings until a runtime gate opens them.Verification
go test ./... green; no golden samples carry the field. Rebased onto cardflow core (
6bdc4f2).Refs: task feature/file-preview-caps.