Massive refactor of API
- Switch to function based API - Anthropic SDK style async generator - Fully typed with escape hatches for custom models
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env npx tsx
|
||||
import { TUI, Container, TextComponent, TextEditor, MarkdownComponent } from "../src/index.js";
|
||||
import { Container, MarkdownComponent, TextComponent, TextEditor, TUI } from "../src/index.js";
|
||||
|
||||
/**
|
||||
* Multi-Component Layout Demo
|
||||
@@ -75,4 +75,4 @@ ui.onGlobalKeyPress = (data: string) => {
|
||||
return true;
|
||||
};
|
||||
|
||||
ui.start();
|
||||
ui.start();
|
||||
|
||||
Reference in New Issue
Block a user