Tool assignment panel
Per-agent tool enablement. Each tool carries a risk label and the scopes it grants; tools whose state is inherited from the team default are marked so the operator knows when they are overriding versus following policy.
Included in the single kansho full pack. Components are not offered as separate installs.
Sandbox runner — tools
Tools — Sandbox runner
2/4 enabled- web.searchLow riskTeam default
Query the public web and return ranked results.
net:read - shell.execHigh risk
Run shell commands inside the sandbox.
fs:readfs:writeproc:spawn - deploy.publishHigh risk
Promote a build to the staging environment.
deploy:staging - vault.readMedium riskTeam default
Read secrets from the scoped vault path.
vault:sandbox/*
Component documentation
Tool Assignment Panel
components/agent-setup/tool-assignment-panel.tsxPurpose
Lists an agent's tools with risk, scopes, enabled state, and inheritance marker.
Appropriate use
Use for reviewing or changing per-agent tool availability when the host owns policy updates.
Example
components/agent-setup/tool-assignment-panel.tsx has a representative live example in the "Sandbox runner — tools" section on /components/tool-assignment-panel.
States
Risk is low, medium, or high; tools can be enabled or disabled, inherited or explicit, and carry zero or more scopes.
API and props
ToolAssignmentPanel accepts agentName, tools, onToggle, and className; each tool contains id, name, description, risk, scopes, enabled, and inherited.
Dependencies
Direct imports are React, Badge, ScopeChip, Toggle, and cn.
Accessibility
Each toggle has an action-specific accessible label; visible risk and scope labels supplement colour.
Limitations
It does not enforce inheritance or risk policy, persist changes, or provide pending/error feedback for rejected updates.
Source
Source: components/agent-setup/tool-assignment-panel.tsx.
Full pack
components/agent-setup/tool-assignment-panel.tsx is documented at /components/tool-assignment-panel and installs only through the single Kansho full pack; no individual component install is offered.