Important
This repository is part of a Codex-assisted rewrite experiment. All changes are manually reviewed, a human remains in the loop, and missing behavior is tracked explicitly rather than hidden. The project exists for fun, research, language learning, AI agent workflow/planning, interop experiments, and code review testing.
JavaScript implementation of the stakeholder runtime with a shared deterministic engine, a local tmux-like web terminal, and the current JavaScript live-provider/runtime lane. It is not the deterministic follower template, but it is part of the eventual full live-provider program for every language.
- ESM only.
- Shared engine for CLI and web.
- Deterministic seeded scheduler and normalized event output.
- Local web terminal app under
/src/webwith ANSI DOM rendering and live SSE session streaming. - Workspace live-provider lane for browser-driven consumer capture, provider-side runtime behavior, and web-terminal evidence.
- Experimental provider runtime for:
local-demoopenai-compatibleanthropicopenai-consumerclaude-consumer
- Hybrid local state:
- encrypted files for provider profiles, prompt assets, personalization profiles, and consumer session material
- SQLite-backed runtime state for cache entries and saved sessions
npm run formatnpm run lintnpm run buildnpm testnpm run webnpm run docker-buildnpm run docker-testbun run buildbun run webdocker build -t javascript-stakeholder .docker run --rm javascript-stakeholder --list-values
- Deterministic baseline:
- CLI and web share the same scheduler, renderer selection, and normalized event model.
--list-valuesexposes the current value catalog.
- Experimental provider mode:
- opt-in only
- current JavaScript implementation of the eventual full live-provider requirement across the program
- provenance and cache metadata stay attached to experimental events
- consumer profiles remain provider-specific and local-only
- Entry point: src/web.js
- Browser UI: src/web/index.html
- Start locally with
npm run weborbun run web. - The UI provides:
- terminal pane
- control pane
- inspector pane
- shell-like commands such as
run,rerun,clear,focus, andexport session - live SSE output rather than replay-only session playback