Repository navigation
feat(agent): show compact progress and create workspace directories - #280
Merged
Merged
Conversation
Surface bounded tool activity with expandable details, preserve separate streamed messages, and keep completed activity above the final answer. Retain cleared conversation context and render loose Markdown lists with consistent spacing.
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
Long Agent turns could appear stalled, and recoverable tool errors could overwhelm the answer once work finished. Creating a sample such as
go/main.goalso failed when its parent directory did not exist.Worked for …below it.create_directorytool and create missing parents during revision-checked file writes. Existing directories are accepted without changing the active buffer.Directory creation uses the existing pinned, no-follow filesystem boundary on Unix. Unsupported platforms fail closed when new directories are needed. Shell access remains disabled; directory deletion and renaming are not added. Activity details are retained for the current conversation view, while restored conversations may have only saved summaries.
How to Test
go/main.go, starting without ago/directory. Expect streamed progress, a compact activity row, a blank row above the spinner, and a saved file at the requested path.[l/]land Enter. Open View all details. Expect bounded inline entries and complete retained diagnostics in the inspector. After completion, the summary stays above the answer and the elapsed-time footer stays below it.agent_directories_reject_unsafe_paths_before_creating_parentsandagent_file_writes_create_parents_only_after_revision_validation. They cover protected paths, symlinks, conflicts, nested writes, and stale revisions.Validated locally: Agent runtime, panel, Markdown, Codex, editor-tool, and secure workspace-edit tests; strict Clippy; binary build; and
red --self-check. The pane flow and nested-file creation were also manually confirmed. End-to-end tests were intentionally skipped for this iteration.