@konitif/tools
v0.284.6
Published
Portable tool contracts, capability declarations and implementation bindings for KONITIF.
Readme
@konitif/tools
Portable tool definitions, capability declarations and explicit implementation bindings for KONITIF hosts.
Installation
npm install @konitif/toolsWhat it provides
- Portable tool module identity and capability contracts.
- Explicit bindings between a definition and its implementation.
- An instance-scoped module registry.
- Pure input-binding resolvers for keyboard, controller and soundboard signals.
Authority boundary
This package owns tool definitions and their explicit bindings. It does not own domain profiles, UI components, host state, device listeners or the effects of resolved actions. Hosts admit modules and route emitted intents to the relevant domain authority.
Quick start
import {
KonitifToolModuleRegistry,
bindKonitifToolModule,
defineKonitifToolModule,
} from '@konitif/tools';
const module = defineKonitifToolModule({
id: 'example.inspector',
name: 'Inspector',
capability: 'inspection',
definition: { kind: 'inspector' },
});
const binding = bindKonitifToolModule({
module,
loadComponent: async () => ({ mount: () => undefined }),
});
const registry = new KonitifToolModuleRegistry();
registry.register(module);Public entry points
| Entry | Purpose |
| --- | --- |
| @konitif/tools | Tool definitions, bindings and registry. |
| @konitif/tools/input | Pure input contracts and action-resolution helpers. |
Reference
See reference/ for the machine-readable capability catalog and
authority diagrams.
License
Source-available under PolyForm Noncommercial 1.0.0, not OSI open source. Commercial use requires separate written authorization.
