UNPKG

trellis

Version:

Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications

28 lines (26 loc) 676 B
import { createComboboxCore } from "../../chunk-DXA4VBSV.js"; import "../../chunk-EEQNVCWD.js"; import { toSvelteStore } from "../../chunk-TSOAW5E2.js"; import "../../chunk-2ESYSVXG.js"; // src/combobox/svelte/index.ts function asComboboxCore(input) { return "actions" in input ? input : createComboboxCore(input); } function createComboboxStore(input) { const core = asComboboxCore(input); return { state: toSvelteStore(core), query: toSvelteStore(core, (s) => s.query), results: toSvelteStore(core, (s) => s.results), highlight: toSvelteStore(core, (s) => s.highlight), actions: core.actions, core }; } export { createComboboxStore };