@burnishdev/app
v0.4.1
Published
Headless SDK for Burnish — navigation, sessions, streaming, and output transformation
Maintainers
Readme
Install
npm install @burnishdev/appUsage
Persist sessions and walk the drill-down navigation tree:
import {
SessionStore,
StreamOrchestrator,
transformOutput,
getActivePath,
} from '@burnishdev/app';
const sessions = new SessionStore();
const session = sessions.create({ title: 'Incident triage' });
const orchestrator = new StreamOrchestrator();
await orchestrator.run({
sessionId: session.id,
prompt: 'Show open incidents',
onChunk: (chunk) => console.log(chunk),
});
const path = getActivePath(session.tree);Also exports generateSummary, assessToolRisk, PerfStore, TemplateStore, PromptLibrary, and generateFallbackForm — the building blocks behind the Burnish demo UI.
What this is
The headless application layer of Burnish. It owns the drill-down tree, session persistence, stream orchestration, output transformation, risk assessment, and learned-template storage — everything between the raw MCP / LLM stream and the rendered components. Framework-agnostic; the demo SPA and any future Burnish frontend consume this package.
