[codex] Add macOS Podman runtime setup - #8
Open
TerminallyLazy wants to merge 27 commits into
Open
Conversation
Adds a bottom-dock Logs panel beside the CLI panel, with a container selector that resolves the "which container's logs?" question by defaulting to the running, launcher-active instance first. Replaces the previous separate-window approach for opening Agent Zero instances with an in-window tab strip: each A0 instance is now a WebContentsView embedded inside the launcher window, surfaced as a tab alongside a fixed Home tab in the top-left. The strip only appears once at least one A0 instance is open, so users can always "turn back" to the launcher without hunting for its window. - shell/docker_manager: expose readContainerLogs (snapshot, capped). - shell/main: A0 tab manager owning WebContentsViews + bounds, resize reflow, and a0tabs IPC (list/activate/close/changed). openUi, openContainerUi, and openRemoteInstance route through openA0Tab instead of spawning new BrowserWindows. - shell/preload: a0TabsAPI + readContainerLogs bridges. - app/instance-tabs.js: renders the tab strip (Home + per-instance tabs with close buttons), shown only when tabs exist. - app/docker_manager.js: bottom dock gains a Logs tab with container selector, refresh, and stderr-styled log lines. - app/index.html + docker_manager.css: tab strip mount, body padding-top when active, and polished tab/log styling. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Tab strip now scrolls horizontally when many A0 instances are open; tabs no longer flex-shrink (keep min width) and the strip's scrollbar is visually hidden via scrollbar-width: none and the webkit-scrollbar selector. - Logs panel auto-scroll no longer hijacks the user's reading position. The pre-render scroll state is captured before the dock rebuild; we only snap to the bottom when the container changed (fresh load) or the user was already near the bottom. Otherwise the previous scrollTop is restored across rebuilds. - Bumped the log snapshot from 500 to 1000 lines so users get more context (backend cap is 2000). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace deprecated `word-break: break-word` on .dm-terminal-logs with the modern equivalent (overflow-wrap: anywhere + word-break: normal). - Guard loadContainerLogs with a request sequence so stale responses from a previous container selection cannot overwrite the Logs panel after the user has switched selection. - readContainerLogs now requires the requested container to be managed by this launcher (i.e. present in docker.listContainers(imageRepo)). Without this, the IPC boundary would expose logs of any container whose id happened to be guessable. Returns INSTANCE_NOT_FOUND otherwise. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
TerminallyLazy
marked this pull request as ready for review
June 6, 2026 14:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent0ai/a0-launcher:mainincluded; this branch was rebased ontoupstream/mainat4c27589before push.Validation
node --test shell/docker_manager/runtime_setup.test.jsnode --test shell/instance_tabs.test.jsnode --check shell/main.jsnode --check shell/preload.jsnode --check shell/docker_manager/index.jsnode --check shell/docker_manager/runtime_setup.jsnode --check app/docker_manager.jsnode --check app/components/docker-manager/onboarding/onboarding.jsnode --check app/components/docker-manager/status-header/status-header.jsnode --check app/components/docker-manager/retained-instances/retained-instances.jsnode -e "import('./shell/docker_adapter/DockerInterface.mjs')"git diff --checkdocker version --format '{{.Client.Context}} {{.Server.Version}} {{.Server.Os}}/{{.Server.Arch}}'Notes
v0.1tag conflict, so branch fetching used--no-tags;upstream/mainwas updated and integrated successfully.