René's URL Explorer Experiment


Title: refactor: move snapshot loop and initial prompt logic into PTYConversation by johnstcn · Pull Request #179 · coder/agentapi · GitHub

Open Graph Title: refactor: move snapshot loop and initial prompt logic into PTYConversation by johnstcn · Pull Request #179 · coder/agentapi

X Title: refactor: move snapshot loop and initial prompt logic into PTYConversation by johnstcn · Pull Request #179 · coder/agentapi

Description: HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex - refactor: move snapshot loop and initial prompt logic into PTYConversation by johnstcn · Pull Request #179 · coder/agentapi

Open Graph Description: This PR refactors the snapshot loop and initial prompt handling to be fully encapsulated within PTYConversation, removing direct field manipulation from the HTTP server layer. Moved StartSnapshotL...

X Description: This PR refactors the snapshot loop and initial prompt handling to be fully encapsulated within PTYConversation, removing direct field manipulation from the HTTP server layer. Moved StartSnapshotL...

Opengraph URL: https://github.com/coder/agentapi/pull/179

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:03e3a87c-19ac-aaad-cd95-6630bb76bfca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD12:344A5F:B81B4:EFFA8:6A4ECDE8
html-safe-nonce04b59729a08365655ba1ae0a7713f540925f4fa8e91ef2e4197daa27e8cd6e62
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDEyOjM0NEE1RjpCODFCNDpFRkZBODo2QTRFQ0RFOCIsInZpc2l0b3JfaWQiOiI2NTUwNDA4NTczNzIwOTA3MjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf075235b59a58630aabdca039b1185566c2a05ba300741f7639dd8ce64ca5374
hovercard-subject-tagpull_request:3245726348
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/agentapi/179/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3b8d3a07c25b3633616443b8f33ea71d3a888161d9fb1161860f30bd86c9d763/coder/agentapi/pull/179
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3b8d3a07c25b3633616443b8f33ea71d3a888161d9fb1161860f30bd86c9d763/coder/agentapi/pull/179
og:image:altThis PR refactors the snapshot loop and initial prompt handling to be fully encapsulated within PTYConversation, removing direct field manipulation from the HTTP server layer. Moved StartSnapshotL...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/coder/agentapi git https://github.com/coder/agentapi.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id961832048
octolytics-dimension-repository_nwocoder/agentapi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id961832048
octolytics-dimension-repository_network_root_nwocoder/agentapi
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/agentapi/pull/179#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fagentapi%2Fpull%2F179
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fagentapi%2Fpull%2F179
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fagentapi
Reloadhttps://github.com/coder/agentapi/pull/179
Reloadhttps://github.com/coder/agentapi/pull/179
Reloadhttps://github.com/coder/agentapi/pull/179
Please reload this pagehttps://github.com/coder/agentapi/pull/179
coder https://github.com/coder
agentapihttps://github.com/coder/agentapi
Notifications https://github.com/login?return_to=%2Fcoder%2Fagentapi
Fork 130 https://github.com/login?return_to=%2Fcoder%2Fagentapi
Star 1.4k https://github.com/login?return_to=%2Fcoder%2Fagentapi
Code https://github.com/coder/agentapi
Issues 36 https://github.com/coder/agentapi/issues
Pull requests 4 https://github.com/coder/agentapi/pulls
Actions https://github.com/coder/agentapi/actions
Projects https://github.com/coder/agentapi/projects
Security and quality 1 https://github.com/coder/agentapi/security
Insights https://github.com/coder/agentapi/pulse
Code https://github.com/coder/agentapi
Issues https://github.com/coder/agentapi/issues
Pull requests https://github.com/coder/agentapi/pulls
Actions https://github.com/coder/agentapi/actions
Projects https://github.com/coder/agentapi/projects
Security and quality https://github.com/coder/agentapi/security
Insights https://github.com/coder/agentapi/pulse
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/agentapi/tree/main
conversation-ew5mhttps://github.com/coder/agentapi/tree/conversation-ew5m
Conversationhttps://github.com/coder/agentapi/pull/179
Commits48 (48)https://github.com/coder/agentapi/pull/179/commits
Checkshttps://github.com/coder/agentapi/pull/179/checks
Files changedhttps://github.com/coder/agentapi/pull/179/files
refactor: move snapshot loop and initial prompt logic into PTYConversationhttps://github.com/coder/agentapi/pull/179#top
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/agentapi/tree/main
conversation-ew5mhttps://github.com/coder/agentapi/tree/conversation-ew5m
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 4, 2026https://github.com/coder/agentapi/pull/179#issue-3896422568
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Please reload this pagehttps://github.com/coder/agentapi/pull/179
johnstcnhttps://github.com/johnstcn
February 4, 2026 11:29https://github.com/coder/agentapi/pull/179#commits-pushed-d51e4c2
https://github.com/johnstcn
refactor(screentracker): internalize initial prompt handling in PTYCo…https://github.com/coder/agentapi/pull/179/commits/d51e4c21348b6d6a949256e57b6c482593fad561
d51e4c2https://github.com/coder/agentapi/pull/179/commits/d51e4c21348b6d6a949256e57b6c482593fad561
https://github.com/johnstcn
refactor(server): use PTYConversation's internal snapshot loop and In…https://github.com/coder/agentapi/pull/179/commits/241671a0c0f2cf9636d6ad7dfbf57b81c5cd272f
241671ahttps://github.com/coder/agentapi/pull/179/commits/241671a0c0f2cf9636d6ad7dfbf57b81c5cd272f
https://github.com/johnstcn
Update pty_conversation tests for new NewPTY API and status behaviorhttps://github.com/coder/agentapi/pull/179/commits/c80b288db33ae256830116158f9baf726082ab55
c80b288https://github.com/coder/agentapi/pull/179/commits/c80b288db33ae256830116158f9baf726082ab55
https://github.com/johnstcn
fix: race condition in initial prompt sendinghttps://github.com/coder/agentapi/pull/179/commits/35fed243bd77f5c2e17f8e92201ea0697e1c2f9b
35fed24https://github.com/coder/agentapi/pull/179/commits/35fed243bd77f5c2e17f8e92201ea0697e1c2f9b
https://github.com/johnstcn
httpapi: replace StartSnapshotLoop with Conversation accessorhttps://github.com/coder/agentapi/pull/179/commits/2c907a53fcf3fb898abd5199aad6c05d3e11c65b
2c907a5https://github.com/coder/agentapi/pull/179/commits/2c907a53fcf3fb898abd5199aad6c05d3e11c65b
https://github.com/johnstcn
refactor(screentracker): remove redundant exported fields from PTYCon…https://github.com/coder/agentapi/pull/179/commits/ccec2330da9e3fa4d186db45ccfef5a0fec43063
ccec233https://github.com/coder/agentapi/pull/179/commits/ccec2330da9e3fa4d186db45ccfef5a0fec43063
https://github.com/johnstcn
refactor: use srv.Conversation().Start(ctx) instead of removed StartS…https://github.com/coder/agentapi/pull/179/commits/d16c552ee5558ae5052ab7bb23ef25af1e33c155
d16c552https://github.com/coder/agentapi/pull/179/commits/d16c552ee5558ae5052ab7bb23ef25af1e33c155
https://github.com/johnstcn
refactor(tests): remove direct field access to InitialPromptSenthttps://github.com/coder/agentapi/pull/179/commits/1fa447e964578c5080a278bed982626ceaac9a24
1fa447ehttps://github.com/coder/agentapi/pull/179/commits/1fa447e964578c5080a278bed982626ceaac9a24
https://github.com/johnstcn
refactor: move conversation.Start() into NewServer() and remove Conve…https://github.com/coder/agentapi/pull/179/commits/24ff1061cfa95185c3a095199851adf0c616e154
24ff106https://github.com/coder/agentapi/pull/179/commits/24ff1061cfa95185c3a095199851adf0c616e154
https://github.com/johnstcn
refactor(screentracker): move status check from sendLocked to Send()https://github.com/coder/agentapi/pull/179/commits/9a197fc3a92496666cc8c850a94e5373c4c0d210
9a197fchttps://github.com/coder/agentapi/pull/179/commits/9a197fc3a92496666cc8c850a94e5373c4c0d210
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 4, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3847301328
https://github.com/coder/agentapi/releases/tag/agentapi_179https://github.com/coder/agentapi/releases/tag/agentapi_179
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
docs: add clarifying comments addressing review feedbackhttps://github.com/coder/agentapi/pull/179/commits/3dd8c56ec7a9d9535d8230d21627fd9255e0a5af
3dd8c56https://github.com/coder/agentapi/pull/179/commits/3dd8c56ec7a9d9535d8230d21627fd9255e0a5af
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 4, 2026https://github.com/coder/agentapi/pull/179#event-22529041829
johnstcnhttps://github.com/johnstcn
February 4, 2026 15:48https://github.com/coder/agentapi/pull/179#commits-pushed-f5bd08d
https://github.com/johnstcn
refactor: use Conversation interface in Server structhttps://github.com/coder/agentapi/pull/179/commits/f5bd08d091ff89b57b4e6bed9f2ddad1c04dbd89
f5bd08dhttps://github.com/coder/agentapi/pull/179/commits/f5bd08d091ff89b57b4e6bed9f2ddad1c04dbd89
https://github.com/johnstcn
refactor: remove unnecessary agentType local variablehttps://github.com/coder/agentapi/pull/179/commits/86c9d91fd40ec4ff64ce2b594391cc070fc96f8c
86c9d91https://github.com/coder/agentapi/pull/179/commits/86c9d91fd40ec4ff64ce2b594391cc070fc96f8c
https://github.com/johnstcn
refactor: simplify nil channel handling in Start()https://github.com/coder/agentapi/pull/179/commits/b5437f748623084e595a169f061ff8970a51e9fb
b5437f7https://github.com/coder/agentapi/pull/179/commits/b5437f748623084e595a169f061ff8970a51e9fb
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 4, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3751827588
View reviewed changes https://github.com/coder/agentapi/pull/179/files/b5437f748623084e595a169f061ff8970a51e9fb
lib/httpapi/server.gohttps://github.com/coder/agentapi/pull/179/files/3dd8c56ec7a9d9535d8230d21627fd9255e0a5af#diff-6d2a636a098211bc0b7f12e7da300ca14ad7b79f9e81693adb165e947737d805
johnstcnhttps://github.com/johnstcn
Feb 4, 2026https://github.com/coder/agentapi/pull/179#discussion_r2764685801
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/httpapi/server.gohttps://github.com/coder/agentapi/pull/179/files/f5bd08d091ff89b57b4e6bed9f2ddad1c04dbd89#diff-6d2a636a098211bc0b7f12e7da300ca14ad7b79f9e81693adb165e947737d805
johnstcnhttps://github.com/johnstcn
Feb 4, 2026https://github.com/coder/agentapi/pull/179#discussion_r2764695369
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
35C4n0rhttps://github.com/35C4n0r
mafredrihttps://github.com/mafredri
February 4, 2026 16:14https://github.com/coder/agentapi/pull/179#event-22533376537
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
February 4, 2026 16:14https://github.com/coder/agentapi/pull/179#event-22533380316
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
February 4, 2026 16:14https://github.com/coder/agentapi/pull/179#event-22533380752
started reviewinghttps://github.com/coder/agentapi/sessions/cd34e1c2-728d-4b63-8315-46df760e4cc6
johnstcnhttps://github.com/johnstcn
February 4, 2026 16:14https://github.com/coder/agentapi/pull/179#event-22533390154
View session https://github.com/coder/agentapi/sessions/cd34e1c2-728d-4b63-8315-46df760e4cc6
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 4, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3751990296
View reviewed changes https://github.com/coder/agentapi/pull/179/files/b5437f748623084e595a169f061ff8970a51e9fb
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/coder/agentapi/pull/179#pullrequestreview-3751990296
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/coder/agentapi/new/main/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/b5437f748623084e595a169f061ff8970a51e9fb#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
refactor: remove unused InitialPrompt field from PTYConversationhttps://github.com/coder/agentapi/pull/179/commits/593b65f91202dcb4de798bfb84b6099ba8df8e88
593b65fhttps://github.com/coder/agentapi/pull/179/commits/593b65f91202dcb4de798bfb84b6099ba8df8e88
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Feb 5, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3755688357
View reviewed changes https://github.com/coder/agentapi/pull/179/files/593b65f91202dcb4de798bfb84b6099ba8df8e88
mafredrihttps://github.com/mafredri
https://github.com/coder/agentapi/pull/179#pullrequestreview-3755688357
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/593b65f91202dcb4de798bfb84b6099ba8df8e88#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/593b65f91202dcb4de798bfb84b6099ba8df8e88#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Feb 5, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3852461109
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 5, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3852481939
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/35C4n0r
35C4n0rhttps://github.com/35C4n0r
Feb 5, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3852679256
#21https://github.com/coder/agentapi/issues/21
Please reload this pagehttps://github.com/coder/agentapi/pull/179
johnstcnhttps://github.com/johnstcn
February 5, 2026 11:40https://github.com/coder/agentapi/pull/179#commits-pushed-6079777
https://github.com/johnstcn
refactor: replace initialPromptReady/Sent with outbound message queuehttps://github.com/coder/agentapi/pull/179/commits/6079777c4860a4eed4433caf825e054e6149e2df
6079777https://github.com/coder/agentapi/pull/179/commits/6079777c4860a4eed4433caf825e054e6149e2df
https://github.com/johnstcn
screentracker: use no-op defaults for optional callbackshttps://github.com/coder/agentapi/pull/179/commits/002fd67f650396d43334e981b83541571be398ca
002fd67https://github.com/coder/agentapi/pull/179/commits/002fd67f650396d43334e981b83541571be398ca
johnstcnhttps://github.com/johnstcn
February 10, 2026 13:21https://github.com/coder/agentapi/pull/179#commits-pushed-a5edc13
https://github.com/johnstcn
Remove msgNoTime/stripTimes, assert full ConversationMessage valueshttps://github.com/coder/agentapi/pull/179/commits/a5edc13bf437dd7baa8cb93351535a5396cdcdad
a5edc13https://github.com/coder/agentapi/pull/179/commits/a5edc13bf437dd7baa8cb93351535a5396cdcdad
https://github.com/johnstcn
Simplify assertMessages to use require.Equal instead of per-field loophttps://github.com/coder/agentapi/pull/179/commits/38f119df50a6b295d857f2b897de82e9cb2aaadc
38f119dhttps://github.com/coder/agentapi/pull/179/commits/38f119df50a6b295d857f2b897de82e9cb2aaadc
https://github.com/johnstcn
screentracker test: add ctx.Done select and onWrite commenthttps://github.com/coder/agentapi/pull/179/commits/9a1b2387173c42918a7caaad6677de41a9ba6621
9a1b238https://github.com/coder/agentapi/pull/179/commits/9a1b2387173c42918a7caaad6677de41a9ba6621
https://github.com/johnstcn
screentracker test: extract driveClockUntil helperhttps://github.com/coder/agentapi/pull/179/commits/8ca7856b4bea7a28cf7bcafaeb32075e56270bc0
8ca7856https://github.com/coder/agentapi/pull/179/commits/8ca7856b4bea7a28cf7bcafaeb32075e56270bc0
https://github.com/johnstcn
fix: rewrite util.WaitFor to use a single timerhttps://github.com/coder/agentapi/pull/179/commits/a134116a4d44bd69110f545dd7955c205a087b74
a134116https://github.com/coder/agentapi/pull/179/commits/a134116a4d44bd69110f545dd7955c205a087b74
https://github.com/johnstcn
e2e: improve debug outputhttps://github.com/coder/agentapi/pull/179/commits/131e4a5dc719013ee9d41908ce1d1540903b4a2a
131e4a5https://github.com/coder/agentapi/pull/179/commits/131e4a5dc719013ee9d41908ce1d1540903b4a2a
https://github.com/johnstcn
refactor: inline fillToStablehttps://github.com/coder/agentapi/pull/179/commits/8debc4ed42d53ba2d8b03593dd57fe016914be87
8debc4ehttps://github.com/coder/agentapi/pull/179/commits/8debc4ed42d53ba2d8b03593dd57fe016914be87
https://github.com/johnstcn
refactor: simplify advance test helpershttps://github.com/coder/agentapi/pull/179/commits/87d36abe1564279752340ee1b77a0591ce341770
87d36abhttps://github.com/coder/agentapi/pull/179/commits/87d36abe1564279752340ee1b77a0591ce341770
https://github.com/johnstcn
chore: fix e2e race conditionhttps://github.com/coder/agentapi/pull/179/commits/0e37003ecb6ad52763472192c87d9b2aa5ebd395
0e37003https://github.com/coder/agentapi/pull/179/commits/0e37003ecb6ad52763472192c87d9b2aa5ebd395
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 10, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3780750089
View reviewed changes https://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395
e2e/echo.gohttps://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395#diff-e487f36bb0814353dacff680c2a665225e6358adda16002b0da6fc533b7132dd
johnstcnhttps://github.com/johnstcn
Feb 10, 2026https://github.com/coder/agentapi/pull/179#discussion_r2789538799
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 10, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3780751473
View reviewed changes https://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395
e2e/echo_test.gohttps://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395#diff-d55ca1b63ee5dd24c6f34042d6d5870c3c0ddfb309009dc0d4339dc3865101dc
johnstcnhttps://github.com/johnstcn
Feb 10, 2026https://github.com/coder/agentapi/pull/179#discussion_r2789540126
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 10, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3780757678
View reviewed changes https://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
johnstcnhttps://github.com/johnstcn
Feb 10, 2026https://github.com/coder/agentapi/pull/179#discussion_r2789546189
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 10, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3780759309
View reviewed changes https://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
johnstcnhttps://github.com/johnstcn
Feb 10, 2026https://github.com/coder/agentapi/pull/179#discussion_r2789547831
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 10, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3780764031
View reviewed changes https://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395
lib/screentracker/pty_conversation_test.gohttps://github.com/coder/agentapi/pull/179/files/0e37003ecb6ad52763472192c87d9b2aa5ebd395#diff-261d6609362adccad2a29112ced956ef430c7e397bcb149ce73d0198b9a1e0a4
johnstcnhttps://github.com/johnstcn
Feb 10, 2026https://github.com/coder/agentapi/pull/179#discussion_r2789552351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/35C4n0r
35C4n0rhttps://github.com/35C4n0r
February 10, 2026 18:52https://github.com/coder/agentapi/pull/179#event-22683336485
https://github.com/johnstcn
Merge branch 'main' into conversation-ew5mhttps://github.com/coder/agentapi/pull/179/commits/5df1ec37208e8c8b8ab358a39124bba540db94f8
5df1ec3https://github.com/coder/agentapi/pull/179/commits/5df1ec37208e8c8b8ab358a39124bba540db94f8
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Copilothttps://github.com/apps/copilot-pull-request-reviewer
February 12, 2026 10:05https://github.com/coder/agentapi/pull/179#event-22729964195
started reviewinghttps://github.com/coder/agentapi/sessions/aefae1f1-2b7a-4bae-8368-f396243e475e
johnstcnhttps://github.com/johnstcn
February 12, 2026 10:06https://github.com/coder/agentapi/pull/179#event-22729978897
View session https://github.com/coder/agentapi/sessions/aefae1f1-2b7a-4bae-8368-f396243e475e
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3789992344
View reviewed changes https://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/coder/agentapi/pull/179#pullrequestreview-3789992344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/coder/agentapi/new/main/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/util/util.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-63878585fb312fe0d84476db54cdd9e67eaee08a7d658e399f430cb62569073f
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026https://github.com/coder/agentapi/pull/179#discussion_r2797960504
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026https://github.com/coder/agentapi/pull/179#discussion_r2797960547
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026https://github.com/coder/agentapi/pull/179#discussion_r2797960563
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026https://github.com/coder/agentapi/pull/179#discussion_r2797960581
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Feb 12, 2026https://github.com/coder/agentapi/pull/179#discussion_r2797960603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Feb 12, 2026 https://github.com/coder/agentapi/pull/179#pullrequestreview-3790350593
View reviewed changes https://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8
mafredrihttps://github.com/mafredri
https://github.com/coder/agentapi/pull/179#pullrequestreview-3790350593
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/179
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Feb 12, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3890331762
Please reload this pagehttps://github.com/coder/agentapi/pull/179
johnstcnhttps://github.com/johnstcn
February 12, 2026 13:07https://github.com/coder/agentapi/pull/179#commits-pushed-ede4348
https://github.com/johnstcn
fix: stop and drain timer before Reset in WaitForhttps://github.com/coder/agentapi/pull/179/commits/ede4348e1402eca8bbde638f0731ee6366da42c8
ede4348https://github.com/coder/agentapi/pull/179/commits/ede4348e1402eca8bbde638f0731ee6366da42c8
https://github.com/johnstcn
refactor: inline readiness check, close errCh, drain queue on cancelhttps://github.com/coder/agentapi/pull/179/commits/7f72f23a01fa66f8a4710463437f91a8a1131193
7f72f23https://github.com/coder/agentapi/pull/179/commits/7f72f23a01fa66f8a4710463437f91a8a1131193
https://github.com/johnstcn
simplify initialPromptReady: channel -> boolhttps://github.com/coder/agentapi/pull/179/commits/2b64027a8aabeb3e6d08f4af8f659ff3a7a5fd39
2b64027https://github.com/coder/agentapi/pull/179/commits/2b64027a8aabeb3e6d08f4af8f659ff3a7a5fd39
https://github.com/johnstcn
fixup! refactor: inline readiness check, close errCh, drain queue on …https://github.com/coder/agentapi/pull/179/commits/2c5b286fb1768721adf4595eabbbb795f61209b2
2c5b286https://github.com/coder/agentapi/pull/179/commits/2c5b286fb1768721adf4595eabbbb795f61209b2
https://github.com/johnstcn
fix: add close(errCh) comments and sendingMessage race fixhttps://github.com/coder/agentapi/pull/179/commits/52f0a2326f9a5ca3434b83fad18dc0e2192e2cce
52f0a23https://github.com/coder/agentapi/pull/179/commits/52f0a2326f9a5ca3434b83fad18dc0e2192e2cce
https://github.com/johnstcn
Merge branch 'conversation-9p4b' into conversation-ew5mhttps://github.com/coder/agentapi/pull/179/commits/de317f8d9d607d289eb19341b1d63e1801bbf938
de317f8https://github.com/coder/agentapi/pull/179/commits/de317f8d9d607d289eb19341b1d63e1801bbf938
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 12, 2026https://github.com/coder/agentapi/pull/179#issuecomment-3891893783
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
c171c14https://github.com/coder/agentapi/commit/c171c14310d5cb904b92dcea72fe1c17609da690
Feb 12, 2026https://github.com/coder/agentapi/pull/179#event-22741121988
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
February 12, 2026 16:38https://github.com/coder/agentapi/pull/179#event-22741125782
https://github.co/hiddenchars
https://github.com/coder/agentapi/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fagentapi%2Fpull%2F179
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/coder/agentapi/pull/179/files/5df1ec37208e8c8b8ab358a39124bba540db94f8
https://github.com/35C4n0r
35C4n0r https://github.com/35C4n0r
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
Please reload this pagehttps://github.com/coder/agentapi/pull/179
https://github.com/johnstcn
https://github.com/mafredri
https://github.com/35C4n0r
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.