René's URL Explorer Experiment


Title: chore: Replace OnSnapshot callback with Emitter interface by johnstcn · Pull Request #185 · coder/agentapi · GitHub

Open Graph Title: chore: Replace OnSnapshot callback with Emitter interface by johnstcn · Pull Request #185 · coder/agentapi

X Title: chore: Replace OnSnapshot callback with Emitter interface by johnstcn · Pull Request #185 · coder/agentapi

Description: HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex - chore: Replace OnSnapshot callback with Emitter interface by johnstcn · Pull Request #185 · coder/agentapi

Open Graph Description: Add Emitter interface to screentracker package Remove OnSnapshot from PTYConversationConfig, accept Emitter in NewPTY Rename EventEmitter methods: EmitMessages, EmitStatus, EmitScreen Accept agentT...

X Description: Add Emitter interface to screentracker package Remove OnSnapshot from PTYConversationConfig, accept Emitter in NewPTY Rename EventEmitter methods: EmitMessages, EmitStatus, EmitScreen Accept agentT...

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

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:43eeb63c-4a9e-e6be-df76-0199fe84b0da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF0C:3007FC:3421743:4785C37:6A4F132F
html-safe-noncee850ca460b2b60e4b8c54a6e6bec235da28c6a19ed75e4f85edb840f1c3a83c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjBDOjMwMDdGQzozNDIxNzQzOjQ3ODVDMzc6NkE0RjEzMkYiLCJ2aXNpdG9yX2lkIjoiOTAzNDM0NjQ2MDYwNzM1MzY0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac814e3850430b87fb801e22c941b302f7123cc472498ef75dd5b90e350c6886ba
hovercard-subject-tagpull_request:3278344528
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/185/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2f4f2b72585b3f60a4fe77f146881df41c5853469b306752ea7d7158794e896d/coder/agentapi/pull/185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f4f2b72585b3f60a4fe77f146881df41c5853469b306752ea7d7158794e896d/coder/agentapi/pull/185
og:image:altAdd Emitter interface to screentracker package Remove OnSnapshot from PTYConversationConfig, accept Emitter in NewPTY Rename EventEmitter methods: EmitMessages, EmitStatus, EmitScreen Accept agentT...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/agentapi/pull/185#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fagentapi%2Fpull%2F185
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%2F185
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/185
Reloadhttps://github.com/coder/agentapi/pull/185
Reloadhttps://github.com/coder/agentapi/pull/185
Please reload this pagehttps://github.com/coder/agentapi/pull/185
coder https://github.com/coder
agentapihttps://github.com/coder/agentapi
Notifications https://github.com/login?return_to=%2Fcoder%2Fagentapi
Fork 129 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
cj/refactor/event-emitterhttps://github.com/coder/agentapi/tree/cj/refactor/event-emitter
Conversationhttps://github.com/coder/agentapi/pull/185
Commits6 (6)https://github.com/coder/agentapi/pull/185/commits
Checkshttps://github.com/coder/agentapi/pull/185/checks
Files changedhttps://github.com/coder/agentapi/pull/185/files
chore: Replace OnSnapshot callback with Emitter interfacehttps://github.com/coder/agentapi/pull/185#top
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/agentapi/tree/main
cj/refactor/event-emitterhttps://github.com/coder/agentapi/tree/cj/refactor/event-emitter
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 12, 2026https://github.com/coder/agentapi/pull/185#issue-3934212193
Please reload this pagehttps://github.com/coder/agentapi/pull/185
Please reload this pagehttps://github.com/coder/agentapi/pull/185
johnstcnhttps://github.com/johnstcn
February 12, 2026 18:31https://github.com/coder/agentapi/pull/185#commits-pushed-78579bd
https://github.com/johnstcn
Replace OnSnapshot callback with Emitter interfacehttps://github.com/coder/agentapi/pull/185/commits/78579bd52ed5db6358aa7aaa840e99e1112e003d
78579bdhttps://github.com/coder/agentapi/pull/185/commits/78579bd52ed5db6358aa7aaa840e99e1112e003d
https://github.com/johnstcn
refactor: use functional options for NewEventEmitterhttps://github.com/coder/agentapi/pull/185/commits/bc79eda0d227663c174bc9c15e609006e443aaed
bc79edahttps://github.com/coder/agentapi/pull/185/commits/bc79eda0d227663c174bc9c15e609006e443aaed
https://github.com/johnstcn
Replace OnSnapshot callback with Emitter interfacehttps://github.com/coder/agentapi/pull/185/commits/0fa554d044ee1a7e86645726a6c5755b8ba867cb
0fa554dhttps://github.com/coder/agentapi/pull/185/commits/0fa554d044ee1a7e86645726a6c5755b8ba867cb
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 12, 2026https://github.com/coder/agentapi/pull/185#event-22749126576
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 12, 2026https://github.com/coder/agentapi/pull/185#issuecomment-3893605581
https://github.com/coder/agentapi/releases/tag/agentapi_185https://github.com/coder/agentapi/releases/tag/agentapi_185
Please reload this pagehttps://github.com/coder/agentapi/pull/185
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
February 12, 2026 22:19https://github.com/coder/agentapi/pull/185#event-22749653897
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
February 12, 2026 22:19https://github.com/coder/agentapi/pull/185#event-22749654154
started reviewinghttps://github.com/coder/agentapi/sessions/4d433789-e21c-41cf-9ad6-139921a32543
johnstcnhttps://github.com/johnstcn
February 12, 2026 22:19https://github.com/coder/agentapi/pull/185#event-22749662867
View session https://github.com/coder/agentapi/sessions/4d433789-e21c-41cf-9ad6-139921a32543
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/185#pullrequestreview-3794006615
View reviewed changes https://github.com/coder/agentapi/pull/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/coder/agentapi/pull/185#pullrequestreview-3794006615
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/185
lib/httpapi/events.gohttps://github.com/coder/agentapi/pull/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb#diff-20878e2f1d945b09a0c367e47beb27ae388014e1be238a4f4958837fedfe9b49
Please reload this pagehttps://github.com/coder/agentapi/pull/185
lib/screentracker/pty_conversation_test.gohttps://github.com/coder/agentapi/pull/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb#diff-261d6609362adccad2a29112ced956ef430c7e397bcb149ce73d0198b9a1e0a4
Please reload this pagehttps://github.com/coder/agentapi/pull/185
lib/screentracker/pty_conversation.gohttps://github.com/coder/agentapi/pull/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb#diff-bc1e172f313dba472e58e9286c576d93708205ed5319d99a330beff23a1ed670
Please reload this pagehttps://github.com/coder/agentapi/pull/185
lib/httpapi/events.gohttps://github.com/coder/agentapi/pull/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb#diff-20878e2f1d945b09a0c367e47beb27ae388014e1be238a4f4958837fedfe9b49
Please reload this pagehttps://github.com/coder/agentapi/pull/185
johnstcnhttps://github.com/johnstcn
February 12, 2026 22:27https://github.com/coder/agentapi/pull/185#commits-pushed-1cd4dca
https://github.com/johnstcn
address PR review commentshttps://github.com/coder/agentapi/pull/185/commits/1cd4dca3e30ed308af84ebd52e4301c0d0ac31bc
1cd4dcahttps://github.com/coder/agentapi/pull/185/commits/1cd4dca3e30ed308af84ebd52e4301c0d0ac31bc
https://github.com/johnstcn
use uint for subscription buffer sizehttps://github.com/coder/agentapi/pull/185/commits/a116d6311cd8c3c165c3be7fa6416279aa025e8b
a116d63https://github.com/coder/agentapi/pull/185/commits/a116d6311cd8c3c165c3be7fa6416279aa025e8b
https://github.com/johnstcn
Merge branch 'event-emitter-7z1e' into cj/refactor/event-emitterhttps://github.com/coder/agentapi/pull/185/commits/ca5d5d4cfe23e89ac15c21b465c18239889d4525
ca5d5d4https://github.com/coder/agentapi/pull/185/commits/ca5d5d4cfe23e89ac15c21b465c18239889d4525
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
35C4n0rhttps://github.com/35C4n0r
mafredrihttps://github.com/mafredri
February 12, 2026 23:30https://github.com/coder/agentapi/pull/185#event-22750925944
https://github.com/35C4n0r
35C4n0rhttps://github.com/35C4n0r
Feb 13, 2026 https://github.com/coder/agentapi/pull/185#pullrequestreview-3798135159
View reviewed changes https://github.com/coder/agentapi/pull/185/files/ca5d5d4cfe23e89ac15c21b465c18239889d4525
35C4n0rhttps://github.com/35C4n0r
https://github.com/coder/agentapi/pull/185#pullrequestreview-3798135159
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/agentapi/pull/185
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Feb 13, 2026 https://github.com/coder/agentapi/pull/185#ref-pullrequest-3939318974
feat: add experimental ACP mode (--experimental-acp) #186 https://github.com/coder/agentapi/pull/186
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
25cbbcbhttps://github.com/coder/agentapi/commit/25cbbcbe133703d7ebf39c8f55cb868c5af6c20f
Feb 16, 2026https://github.com/coder/agentapi/pull/185#event-22824372513
Please reload this pagehttps://github.com/coder/agentapi/pull/185
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%2F185
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/185/files/0fa554d044ee1a7e86645726a6c5755b8ba867cb
https://github.com/35C4n0r
35C4n0r https://github.com/35C4n0r
https://github.com/coder/agentapi/pull/185/files/ca5d5d4cfe23e89ac15c21b465c18239889d4525
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
Please reload this pagehttps://github.com/coder/agentapi/pull/185
https://github.com/johnstcn
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.