@taui-standard/core
v1.0.4
Published
Core runtime logic for Terminal Agent UI (TAUI)
Readme
TAUI Core
The core runtime logic for the Terminal Agent UI (TAUI) standard.
Author: Tariq Shams
Features
- Stateless Architecture: Each document update completely replaces the UI state.
- Event Normalization: Standardizes raw terminal inputs into TAUI action/change events.
- Spec Gatekeeping: Ensures all messages adhere to version 1.0 of the standard.
Installation
npm install @taui-standard/coreUsage
import { TAUIRuntime } from '@taui-standard/core';
const runtime = new TAUIRuntime();
runtime.setDocument(mySpecDoc);
runtime.onEvent((event) => {
console.log('Agent received event:', event);
});