Role and instruction editor
The role and instruction sheet for one agent: role, goal, system instruction, model, temperature, and toolset. Shown read-only here — wire the fields to inputs in product.
Included in the single kansho full pack. Components are not offered as separate installs.
Researcher
Reviewer — higher temperature
Component documentation
Role Instruction Editor
components/agent-setup/role-instruction-editor.tsxPurpose
Displays an agent role, goal, system instruction, model, temperature, and toolset in a read-only form layout.
Appropriate use
Use for reviewing a role configuration; despite its name, the current component is not an editor.
Example
components/agent-setup/role-instruction-editor.tsx has a representative live example in the "Researcher" section on /components/role-instruction-editor.
States
The value contains role, goal, instruction, model, numeric temperature, and a toolset list; there is no interactive state.
API and props
RoleInstructionEditor accepts value and className; value follows the exported RoleInstruction contract.
Dependencies
Direct imports are React, Tag, and cn.
Accessibility
Values have adjacent visible labels and selectable text, but the presentational rows are not native read-only form controls.
Limitations
It does not edit, validate, save, clamp temperature, mask instructions, or explain model/tool availability; its form wrapper contains no submit behavior.
Source
Source: components/agent-setup/role-instruction-editor.tsx.
Full pack
components/agent-setup/role-instruction-editor.tsx is documented at /components/role-instruction-editor and installs only through the single Kansho full pack; no individual component install is offered.