Skip to content

feat(app): improve agent workflows and settings - #66

Merged
simota merged 4 commits into
mainfrom
feat/agent-workflow
Sep 5, 2026
Merged

feat(app): improve agent workflows and settings#66
simota merged 4 commits into
mainfrom
feat/agent-workflow

Conversation

@simota

@simota simota commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Unread notifications from sibling panes now remain visible until their own pane is selected. This also adds native tools for composing long prompts, reading output, and navigating source files during concurrent agent sessions.

  • Scope unread acknowledgement to panes and add Cmd+Shift+J navigation, including destinations hidden behind a zoomed pane.
  • Display explicit running, approval-needed, reply-needed, response-ended, and error states through an optional lifecycle hook adapter. Reading a notification does not resolve an outstanding request.
  • Add per-pane prompt drafts and read-only output snapshots with native Find, selection, and fenced-code copying. Prompt paste uses existing protection and never sends Enter.
  • Preserve file-link line/column information, add configured editor navigation and local UTF-8 previews, and expose File Link Editor plus a bundled Agent Workflows guide in Settings. Editor changes support save, cancel, reset, and Undo.

Setup is documented in Agent workflows. Editor CLIs must be on Noa's PATH; agent hooks are opt-in and existing agent settings are not modified automatically.

Validation completed:

  • cargo test --workspace --quiet — passed on the final implementation, including local IPC tests.
  • cargo test -p noa-app --lib --quiet — 1,182 passed, 6 ignored.
  • cargo build --workspace and cargo fmt --all -- --check — passed.
  • python3 -B -m unittest discover -s scripts -p test_noa_agent_hook.py — 4 passed.
  • bash scripts/test-native-text-panels.sh — Japanese draft preservation, reader/guide modes, Find/selection routing, and clean closure passed on macOS.
  • git diff --check — passed.

Interactive Japanese IME candidate selection, actual editor CLI launches, and a live agent-hook session remain unverified. Structured agent status currently applies to local session cards.

Native text-view captures below use synthetic content from the GUI smoke check; window chrome and Find controls are outside the captured area.

Prompt composer text view

Output reader text view

Make concurrent agent sessions easier to follow with pane-scoped unread notifications and explicit lifecycle state.

Add native prompt drafts and output readers, plus editor line navigation and local previews. Document the opt-in hook and editor setup.
Let users choose the file-link editor and open the bundled workflow guide from Settings. Apply editor changes on save and preserve cancel, reset, and undo behavior.
Include synthetic native text-view captures so reviewers can inspect prompt composition and output readability.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T02:55:27.096388Z 8bcc3b0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8bcc3b0b50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/noa-app/src/text_panel.rs Outdated
Comment on lines +413 to +416
AppCommand::Quit | AppCommand::About => return false,
_ => {}
}
true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Let unhandled commands reach the app

When a native text panel is the key window, the wildcard arm does nothing but the method still returns true, causing App::handle_app_command to stop dispatching. Consequently unrelated app-level commands such as Preferences, New Window, Next Notification, and quick-terminal toggles silently stop working whenever the supposedly modeless composer or reader has focus. Return false for commands the panel does not intentionally consume.

Useful? React with 👍 / 👎.

Pass unhandled commands through to app dispatch so modeless panels do not suppress settings, new windows, or notification navigation. Cover passthrough in the native panel smoke check.
@simota
simota merged commit 55ff1a1 into main Sep 5, 2026
1 check passed
@simota
simota deleted the feat/agent-workflow branch September 5, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant