Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(termexec): handle agent animations#145

Open
35C4n0r wants to merge 7 commits into
coder:maincoder/agentapi:mainfrom
35C4n0r:feat-handle-agent-animation35C4n0r/agentapi:feat-handle-agent-animationCopy head branch name to clipboard
Open

feat(termexec): handle agent animations#145
35C4n0r wants to merge 7 commits into
coder:maincoder/agentapi:mainfrom
35C4n0r:feat-handle-agent-animation35C4n0r/agentapi:feat-handle-agent-animationCopy head branch name to clipboard

Conversation

@35C4n0r
Copy link
Copy Markdown
Collaborator

@35C4n0r 35C4n0r commented Nov 17, 2025

feat(termexec): enhance dynamic header (animation) handling for different agent types

@35C4n0r 35C4n0r self-assigned this Nov 17, 2025
@github-actions
Copy link
Copy Markdown

✅ Preview binaries are ready!

To test with modules: agentapi_version = "agentapi_145" or download from: https://github.com/coder/agentapi/releases/tag/agentapi_145

@35C4n0r
Copy link
Copy Markdown
Collaborator Author

35C4n0r commented Nov 18, 2025

formatting for the amp is ready and will be pushed in the next PR.

Comment thread lib/termexec/utils.go Outdated
Comment thread lib/termexec/utils.go Outdated
Comment thread lib/termexec/utils.go Outdated
}
}
}
return animatedContentEnd, continueRemoving
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you add some tests for this?

Comment thread lib/termexec/utils.go
if len(lines) >= 2 {
return 2, true
}
return -1, true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This code is largely the same, but the continue removing variable seems new, perhaps we should ensure we've covered the new behavior with tests?

Comment thread lib/termexec/utils.go Outdated
Comment thread lib/termexec/utils.go Outdated
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.