feat(ui): ralpi-style chat progress and pipeline-overview footer
phases.ts becomes a live chat widget (spinner + tool-call tree) and the check-runner posts per-agent tool-call summaries and an expandable completion tree through a custom message renderer; footer.ts adds the static pipeline-overview status strip for single checks and /pygienium-all.
This commit is contained in:
14
README.md
14
README.md
@@ -147,6 +147,15 @@ registerCheck(def) ← checks/*.ts self-register on load
|
||||
module-level `Map` of `CheckDefinition`s. `index.ts` iterates it and binds
|
||||
one `/pygienium-<name>` command per entry, so adding a check is a file +
|
||||
one `registerCheck()` line.
|
||||
- **The footer** (`src/footer.ts`) is the piolium-style pipeline-overview
|
||||
status strip: a single static line in the TUI footer (via
|
||||
`ui.setStatus(key, text)`) listing the full ordered pipeline with the cursor
|
||||
on the current phase and what's to come. For a single check the items are
|
||||
the phases; for `/pygienium-all` they're the checks (the full todo list),
|
||||
and the per-check footer is suppressed so two overviews never compete over
|
||||
the same status slot. The chat widget (`phases.ts`) remains the animated
|
||||
detail view (spinner + tool-call tree + completion tree); the footer is the
|
||||
overview — the two never overlap. In print/JSON mode the footer is a no-op.
|
||||
|
||||
## Layout
|
||||
|
||||
@@ -162,12 +171,13 @@ pygienium/
|
||||
│ ├─ run-state.ts ← persistent, resumable run-state model
|
||||
│ ├─ status.ts ← /pygienium-status formatter (pure)
|
||||
│ ├─ export.ts ← /pygienium-export gatherer + md/json renderer
|
||||
│ ├─ phases.ts ← footer status-strip UI adapter
|
||||
│ ├─ phases.ts ← live chat progress widget + completion-tree helpers
|
||||
│ ├─ footer.ts ← pipeline-overview status strip (TUI footer)
|
||||
│ ├─ modes/check-runner.ts ← the per-check phase pipeline
|
||||
│ └─ checks/ ← one file per check, self-registering
|
||||
│ ├─ registry.ts ← CheckDefinition + registerCheck
|
||||
│ ├─ comments.ts deep-modules.ts dead-code.ts
|
||||
│ ├─ defensive-guards.ts noop.ts
|
||||
│ ├─ defensive-guards.ts
|
||||
└─ agents/ ← scanner.md fixer.md deep-modules.md defensive-guards.md
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user