Skip to content

feat(agent): follow a dashboard run in the terminal; no billing notice - #1383

Merged
codyde merged 1 commit into
masterfrom
cody/agent-follow-mode
Nov 28, 2026
Merged

codyde merged 1 commit into
masterfrom
cody/agent-follow-mode

Conversation

@codyde

@codyde codyde commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #1378. This was pushed to #1378's branch after it merged, so it never shipped.

When railway agent hands a prompt to the agent dashboard, the CLI printed a link and exited. It also showed a billing notice and waited 5 seconds before first creating the shared agent.

Changes

  • Follow the run when someone is at a terminal:
    • A header with the project, the environment and the run's link.
    • A spinner that shows each tool the agent uses.
    • Approvals and the agent's own questions answered inline. Forms stay on the dashboard.
    • When the run ends: the agent's summary, the preview URL, and railway agent --thread-id <id> -p "…" to keep going.
  • Ctrl-C stops following; the run keeps going on the dashboard.
  • Scripts (--json or no terminal) still get the link straight away.
  • The billing notice and 5-second wait are removed. --accept is still accepted but hidden and does nothing, so existing scripts keep working.

Testing

  • cargo test: 1977 passed, plus the integration suites.
  • cargo fmt --check passes.
  • cargo clippy --all-targets --all-features reports no warnings in the changed files.

🤖 Generated with Claude Code

When a prompt is handed to the agent dashboard and someone is at a
terminal, `railway agent` stays on the run: a header with the project,
environment and a link to the run, a spinner with each tool the agent uses,
approvals and the agent's own questions answered inline (forms stay on the
dashboard), and on completion the agent's summary, the preview URL and the
next steps. Ctrl-C stops following; the run keeps going. Scripts (--json, no
terminal) still get the link at once.

The notice and five-second wait before the shared agent is first created
are gone; --accept stays as a hidden no-op so scripts that pass it work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codyde codyde added the release/minor Author minor release label Nov 28, 2026
@codyde
codyde merged commit c9740c4 into master Nov 28, 2026
9 checks passed
@codyde
codyde deleted the cody/agent-follow-mode branch November 28, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/minor Author minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant