Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Release v2.30.0
Released: 2026-07-13
Highlights
- Interactive MIDI piano-roll for MuScriptor transcriptions. Rounds references and Music Video projects now render a DAW-style time × pitch roll under the audio controls — note bars with pitch names, a chord lane (Cmaj7, Am, slash inversions), hover/tap tooltips, zoom/pan/fit-to-width, and a QA footer — so you can judge transcription quality without an external DAW.
- Hear your transcription with a built-in synth preview. The piano-roll gained a play button (and Space to toggle): a soft synth renders the notes while a moving playhead tracks the audio, the view auto-pages to keep it visible, and click/arrow-key seeking jumps mid-note into held chords.
- Music track pages surface the newest linked MIDI roll. A selected track on Music → Tracks now shows the latest MIDI transcription from any linked Music Video project, with a link back to the source.
- Faster, theme-aware MIDI rendering. The roll composites a cached offscreen bitmap instead of redrawing every note on hover/scrub, follows the active accent color instead of a hardcoded blue, and uses pitch-indexed hit-testing and binary-search tempo mapping for large (10k-note) files.
- Thinking-effort pins across tasks, pipeline stages, and autonomous jobs. Wherever you can pin a provider/model (new-task form, each pipeline stage, each autonomous job) you can now pin a thinking-effort level for Claude Code / Codex; the spawned agents get
--effort/-c model_reasoning_effort=across CLI, runner, and TUI modes, with sensible clamping and user-args precedence. - The Cyber Muse (3D) avatar ships a default animated model that reacts to agent state. A bundled RobotExpressive model renders out of the box and crossfades skeletal clips to the CoS runtime state (sleeping→sit, thinking→idle, coding→punch, reviewing→nod, …), with a one-shot wave on
speakingand a procedural fallback for clipless GLBs. - CoS self-improvement tasks stop stalling on a phantom Copilot review. App-improve / self-improvement tasks now resolve the review-loop reviewer from your configured Code Review Defaults instead of a hardcoded
copilot, so installs without Copilot review enabled no longer idle out waiting for a review that never arrives. - Codex agents no longer idle out on a startup update prompt. Every codex spawn path now sets
check_for_update_on_startup=false, so a headless agent's submit-Enter can't land on codex's "Update now" modal and wedge the run on an unattended brew upgrade. - Layered Intelligence is more robust. Provider/model resolution is unified into one pure resolver; an api-only per-app provider now self-heals to a CLI/TUI schedule pin instead of wedging; and a local model's slightly-malformed
.agent-doneJSON is recovered via the robust LLM-JSON extractor instead of silently dropping the proposal. - Local image gen: fixed a black band on Z-Image-Turbo outputs. VAE tiling (whose overlap-blend left a seam near the bottom, worst at tall aspect ratios) is now applied only above a ~6.5 MP floor, so ordinary renders decode in one clean pass while huge custom sizes still get tiling as an OOM safety valve.
- Grok Build CLI/TUI warns before it uploads your repo. Enabling the Grok harness now shows a callout (on the provider card and the edit form) that it uploads your whole working repo to xAI, with the config toggle to keep code local; the plain Grok API provider is excluded.
- Command palette shows recent destinations, and Elements Song study results drop a redundant duplicate field.
MIDI transcription
- [issue-2477] Visualize transcribed MIDI with an interactive piano-roll. Rounds references and Music Video projects with a MuScriptor transcription now show a DAW-style time × pitch roll right below the audio controls — note bars with musical note names, a chord lane labeling simultaneous notes (Cmaj7, Am, slash inversions), hover/tap tooltips, zoom + pan + fit-to-width, click-to-scrub playhead, and a QA footer (note count, density, pitch range, duration, tempo, per-track legend). Collapsible and mobile-friendly; no external DAW needed to judge transcription quality.
- [issue-2490] Hear a transcribed MIDI with a synth preview. The MIDI piano-roll now has a play button (Space works too, with the roll focused): a soft synth renders the transcribed notes while a moving playhead tracks the audio across the roll, the view pages along to keep it visible, and the sounding pitches light up in the left gutter. Click anywhere in the grid (or use the arrow keys) to seek — playback jumps with the playhead, even mid-note into held chords. Works in both the Rounds reference analysis and Music Video surfaces; collapsing the panel stops playback.
- Music track pages show the MIDI piano-roll too. A selected track on the Music → Tracks page now surfaces the newest MIDI transcription from any Music Video project linked to it, with the same interactive piano-roll and a link back to the source project.
- [issue-2491] MIDI piano-roll: cached-scene rendering, theme-aware colors, and cleanup. The DAW-style roll now paints its grid + notes + gutter to a cached offscreen bitmap and just composites that (plus the playhead/hover overlay) on hover and scrub repaints — so a hover over a dense (10k-note) file no longer redraws every note bar. Both rolls follow the active theme's accent instead of a hardcoded blue (resolved via a shared
rollPalettehelper +useCanvasRollPalettehook, repainting on theme switch). Hit-testing indexes notes by pitch (one row scanned instead of every note), tick→seconds uses a binary search over tempo segments, and the ruler's M:SS tick labels useformatDurationSec(now correctly rendering a genuine zero as0:00).
Added
- Scheduled tasks and the new-task form can pin a thinking-effort level. Alongside the existing provider/model overrides, a "Thinking Effort" select appears when the pinned provider is Claude Code or Codex (Claude: low→max; Codex: minimal→ultra). The spawned agent gets
--effort <level>(claude) or-c model_reasoning_effort=<level>(codex) across all three execution modes — direct CLI, runner, and TUI. Codex-only values clamp to the nearest Claude equivalent if the task later runs on a Claude provider, a user-baked--effortin provider args wins over the injected one, and task templates save/re-apply the effort choice. - [issue-2502] Thinking-effort pins now extend to pipeline stages and autonomous jobs. The two remaining surfaces that carried provider/model overrides gain the same "Thinking Effort" select: each pipeline stage (code-reviewer's Review/Implement, pr-reviewer's Security/Review, etc.) can pin its own effort in its stage card, and each autonomous job can pin one in the job form. The select only renders for effort-capable providers (Claude Code / Codex) and resets when the stage/job provider changes. Stage 0's effort rides into the first agent and each subsequent stage re-applies its own on hand-off; a job's effort flows into every task it generates — spawning with
--effort/-c model_reasoning_effort=and a no-op for non-effort providers. - The Cyber Muse (3D) CoS avatar ships a default animated model and reacts to agent state. A bundled RobotExpressive model (three.js example, CC0) is now seeded at
data/avatar/model.glb, so the Muse avatar renders out of the box instead of showing a "drop a GLB" hint. Its skeletal clips are now driven by anAnimationMixer(via dreiuseAnimations) keyed off the CoS runtime: each agent state crossfades to its own in-place clip — sleeping→sit, thinking→idle, coding→punch, investigating→scan, reviewing→nod, planning→thumbs-up, ideating→dance — and thespeakingflag fires a one-shot wave that returns to the base loop. Root-motion clips (walk/run) are intentionally left unmapped so the fixed-frame avatar can't drift out of view, the holographic emissive treatment is preserved, and a GLB with no clips falls back to the original procedural rotation/glow so other variants and static models still render.
Changed
- [issue-2497] Layered Intelligence provider resolution unified into one resolver. The reasoning-agent's provider/model walk (per-app override → schedule pin → default, with the api-only self-heal) is now a single
resolveLiAgentProviderhelper that is the sole source of truth — it reads the global schedule pin at most once, mutates nothing, and returns the fully-resolved{ providerId, model }the spawn path pins the agent to. No behavior change: the six provider cases resolve exactly as before. - Elements Song study mode drops a redundant result field. The Flash Cards study results tracked both
elementandsymbolon each record even though they hold identical values; the review UI now reads the singleelementfield, removing the duplicate.
Fixed
- [issue-2507] CoS app-improve / self-improvement tasks no longer stall waiting on a Copilot review that never arrives. These scheduled tasks pin no
reviewers, so the agent-prompt builder resolved the review-loop reviewer straight to the hardcodedcopilotdefault — and on installs without GitHub Copilot code review enabled the agent requested a review that never came and idled out in the merge/review-loop phase. The two reviewer-resolution sites inagentPromptBuilder.jsnow thread the install's configured Code Review Defaults (settings.codeReview.reviewers) as the fallback — the same source the scheduler and review-loop follow-up already honor — so a user who setsclaude,codex,ollamathere has their app-improve tasks use it. With nothing configured, behavior is unchanged (copilot); a settings read error degrades to the hardcoded default. - Codex agents no longer idle out when a new codex release is available. On every interactive startup codex checks for a newer release and, if one exists, renders a blocking "✨ Update available!" modal whose highlighted default is "1. Update now (runs
brew upgrade --cask codex)". A headless CoS/TUI agent has no human to steer it: the paste handshake's submit-Enter landed on "Update now", codex shelled out to a ~100 MB brew upgrade, and the session ended at "🎉 Update ran successfully! Please restart Codex." — a dead box that never processed the prompt, so the agent idled out reporting "prompt likely never submitted" (observed repeatedly on gpt-5.6-sol codex-tui runs). PortOS now spawns codex with-c check_for_update_on_startup=falseacross every codex spawn path — interactive TUI, the twocodex execCLI builders, and the vision-caption path — via a sharedbuildCodexStartupArgshelper (alongside the existingbuildEffortArgs), so the input box comes up live and no run wastes startup time on an unattended upgrade it can't complete. The override is skipped when a provider already pins the key. - Local image gen: fixed a black band at the bottom of Z-Image-Turbo (and other diffusers-runner) outputs. The shared runner helper unconditionally enabled VAE tiling, whose overlap-blend leaves a seam / dark strip at a content-dependent point near the bottom of the image — most visible at tall aspect ratios like 576×1024 (9:16). Tiling only saves memory on very large decodes and the small-to-mid resolutions PortOS renders never need it (the same reason both runners already disable tiling for image-to-image). VAE tiling is now applied only above a ~6.5 MP area floor that no standard or experimental preset reaches, so ordinary renders decode in one clean pass; pathologically large custom dimensions still get tiling as an out-of-memory safety valve. VAE slicing and attention slicing (which never affect spatial layout) stay on for every render.
- AI Providers warns before enabling the Grok Build CLI/TUI. The Grok harness uploads your entire working repo to xAI (GCP) as it works. A callout now appears both on the
grok-cli/grok-tuiprovider cards and in the create/edit form (when the command isgrok) — before you enable it — telling you to add[harness]/disable_codebase_upload = trueto~/.grok/config.tomlto keep your code local. The plaingrokAPI provider — which doesn't run the harness — is intentionally excluded. - Layered Intelligence no longer wedges on a stale API-only provider. Any install that ran the Layered Intelligence loop on an api provider (ollama/lmstudio/kimi) before it became agent-backed (#2322) had that provider carried into the per-app override by migration 184 — where it now outranks the global Schedule pin at spawn. The agent-backed loop needs a file-writing CLI/TUI harness, so those runs skipped with "the selected provider is an API-only model with no coding harness," and picking a CLI/TUI provider on the global Schedule page silently missed (it only sets the fallback pin). The loop now self-heals: an api-only per-app provider falls back to a CLI/TUI schedule pin (adopting its matched model), so the Schedule-page selection finally takes effect. It still skips with the actionable message only when no CLI/TUI provider is configured anywhere.
- Layered Intelligence no longer silently drops a proposal when a local model's JSON is slightly malformed. A reasoning run pinned to a smaller/local model (e.g. Ollama qwen) would find a real gap, then write an almost-valid
.agent-doneenvelope — wrapped in ```json fences, trailed by prose, or with literal newlines/tabs pasted into the long markdown body — that the strict sentinel parser rejected, recording "unparseable-response" and filing nothing. The completion chokepoint now falls back to the shared robust LLM-JSON extractor (strips fences, walks balanced blocks, escapes raw control chars) to recover the envelope's payload before giving up, so the proposal still gets filed as a tracker issue. The sharedjsonExtractrepair also gained a raw-control-char pass that benefits every LLM-JSON caller, and the reasoner's finish instructions now spell out "raw JSON only, no fences, escape newlines."
Full Changelog
- [issue-2477] Interactive piano-roll MIDI visualization for MuScriptor transcriptions
- [issue-2490] Synth playback with moving playhead for the MIDI piano-roll
- [issue-2491] MIDI piano-roll performance: cached-scene rendering, theme-aware colors
- [issue-2497] Unified Layered Intelligence agent-provider resolution
- [issue-2502] Thinking-effort override extended to pipeline stages and autonomous jobs
- [issue-2507] CoS review-loop reviewer resolved from Code Review Defaults, not hardcoded copilot
- Command palette recent destinations; Grok Build upload warning; codex startup update-check disabled; Z-Image-Turbo VAE-tiling black-band fix; Layered Intelligence api-only self-heal and malformed-JSON recovery; Elements Song study-result field cleanup; Muse RobotExpressive default avatar with CoS-state animations
Full Diff: https://github.com/atomantic/PortOS/compare/v2.29.0...v2.30.0