API Reference
Cinder.init
Initialize the runtime with app, semantic, speech, and AI configuration.
Need the shortest path?
Use Quick Start when you want the smallest working route → scan → graph → run flow first.
Something feels off?
Inspect scan output, graph state, active route/context, and dispatch in a practical order.
Need the full surface?
Browse all runtime methods, hooks, extension points, and lifecycle APIs.
Cinder.init() prepares the runtime with its initial configuration.
Typical usage
ts
12 lines
await Cinder.init({
semantic: {
scanOnInit: false,
observeMutations: true,
},
ai: {
enabled: false,
mode: 'local',
endpoint: '',
apiKey: '',
},
});What it controls
Configuration covers:
- semantic scanning and mutation observation behavior
- speech mode and language
- AI mode, endpoint, provider, and timeout
- app-level runtime settings
Recommended first setup
Start local-first
Keep AI disabled at first. Get scanning, graph creation, and local command execution working before adding hybrid fallback.
Typical sequence
- call
Cinder.init() - render or load tagged UI
- call
Cinder.scan() - inspect
Cinder.graph()if needed - use
Cinder.run()
Continue reading