You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Daemon: extract request-scoped render orchestration with output parity #15
Part of #14 (delivery step 1). Blocks every other sub-issue: nothing shared-process can land before renders are request-scoped.
Что сделать
Extract the orchestration inside renderMultipleLines() into a function that accepts validated input + explicit invocation context (cwd, config path, env snapshot, terminal width, styling state) and returns text. Stdout/exit stays in the entry point.
Make per-request what are process globals today:
src/utils/config.ts: mutable settingsPath / lastLoadError → resolved per call, module state not mutated;
src/utils/terminal.ts: memoized width → passed in per request;
src/utils/usage-fetch.ts: single in-memory usage result → scoped to request context;
src/ccstatusline.ts: global Chalk/color state → request-local styling, or serialize only the final synchronous formatting section.
Activity
refactor(render): request-scoped render orchestration with byte parity (
refactor(render): request-scoped render orchestration with byte parity (
feat(daemon): --serve request loop for the shared-process runner (#35)
Merge upstream v2.2.32 into fork main
Merge upstream/main (v2.2.34, 0c94df7) into fork main