René's URL Explorer Experiment


Title: Add a "Copy" (copy-as-Markdown) action to assistant/agent responses · Issue #70 · modelstudioai/openwork · GitHub

Open Graph Title: Add a "Copy" (copy-as-Markdown) action to assistant/agent responses · Issue #70 · modelstudioai/openwork

X Title: Add a "Copy" (copy-as-Markdown) action to assistant/agent responses · Issue #70 · modelstudioai/openwork

Description: Problem or Motivation OpenWork already lets you copy user messages (hover → copy) and code blocks (each CodeBlock has a copy button), but a full assistant/agent response cannot be copied. The only hover action on an assistant bubble is "...

Open Graph Description: Problem or Motivation OpenWork already lets you copy user messages (hover → copy) and code blocks (each CodeBlock has a copy button), but a full assistant/agent response cannot be copied. The only ...

X Description: Problem or Motivation OpenWork already lets you copy user messages (hover → copy) and code blocks (each CodeBlock has a copy button), but a full assistant/agent response cannot be copied. The only ...

Opengraph URL: https://github.com/modelstudioai/openwork/issues/70

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a \"Copy\" (copy-as-Markdown) action to assistant/agent responses","articleBody":"## Problem or Motivation\n\nOpenWork already lets you copy **user** messages (hover → copy) and **code blocks** (each `CodeBlock` has a copy button), but a full **assistant/agent response** cannot be copied. The only hover action on an assistant bubble is \"open in new window\" (pop-out). To grab a response today you have to manually select the rendered text, which loses the Markdown and is awkward for long, multi-block answers.\n\nEvery comparable AI desktop surface offers a per-message copy:\n- **Codex desktop** — \"Copy as Markdown\" is one of its most-requested features (openai/codex [#2880](https://github.com/openai/codex/issues/2880), [#17241](https://github.com/openai/codex/issues/17241)).\n- **Claude desktop / ChatGPT desktop** — every assistant message has a copy button.\n\nThis is a clear, frontend-only parity gap.\n\n## Proposed Solution\n\nAdd a **Copy** button to the assistant message bubble's hover actions (next to the existing pop-out control) that copies the response's raw Markdown (`message.content`) to the clipboard.\n\n- Renderer-only: `navigator.clipboard.writeText(message.content)`, a 2-second \"copied\" check state, and a `toast.copyFailed` on error — mirroring the existing user-message copy and `CodeBlock` copy patterns.\n- Extract an `AssistantMessage` component in `ChatDisplay.tsx` so it can own the `copied` state (the same reason `ErrorMessage` was already extracted — a hook can't live in `MessageBubble`'s role switch).\n- Only shown on a settled (non-streaming) response.\n- **Zero new i18n keys** — reuses `common.copy`, `common.copied`, `toast.copyFailed`.\n\n**Feasibility: frontend-only.** No qwen-code backend change — it reads text already in the rendered message and calls the Web Clipboard API.\n\n## Alternatives Considered\n\n- A \"Copy as Markdown\" entry in a per-message context menu — heavier and less discoverable than a hover button; OpenWork's assistant bubble already has an inline hover-action slot (pop-out), so a sibling button fits the existing pattern.\n- Copying the *entire* conversation — larger surface; per-message copy is the atomic, most-requested unit and can be composed later.\n\n## Additional Context\n\n**Acceptance / CDP assertion (`e2e/assertions/copy-message.assert.ts`):** seed a user+assistant session on disk (via a new backend-independent `seed` hook on the e2e harness — the embedded `SessionManager` loads it on boot), open it, and drive the copy button. Assert that clicking it (a) writes the **exact** response Markdown to the clipboard and (b) flips the button into its `data-copied=\"true\"` state — proving it copies the right content and is a real wired action, not just an icon.\n\nPart of the autonomous desktop-feature loop (`loop-bot`).","author":{"url":"https://github.com/DragonnZhang","@type":"Person","name":"DragonnZhang"},"datePublished":"2026-07-08T13:43:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/70/openwork/issues/70"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:95cef98c-f7f7-40c2-862a-7584dac797aa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA98:5FC26:847B91:BFDF65:6A54AAEE
html-safe-nonced8652b051bf706e77d3ff0837648fa5d743c14a884f3a9a7fbefff10e1ab47a6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTk4OjVGQzI2Ojg0N0I5MTpCRkRGNjU6NkE1NEFBRUUiLCJ2aXNpdG9yX2lkIjoiNzM2Mjk0NjY3NDUxMDMxMDEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac53dee689c5e04835f3569591482e7b329d7f3dc11e032791e60df30ddb1f7d50
hovercard-subject-tagissue:4838018010
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelstudioai/openwork/70/issue_layout
twitter:imagehttps://opengraph.githubassets.com/78edc887f0202acb2c51c7f6ab1e4ca306198307a9b979ced1ec41a95534ecf8/modelstudioai/openwork/issues/70
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78edc887f0202acb2c51c7f6ab1e4ca306198307a9b979ced1ec41a95534ecf8/modelstudioai/openwork/issues/70
og:image:altProblem or Motivation OpenWork already lets you copy user messages (hover → copy) and code blocks (each CodeBlock has a copy button), but a full assistant/agent response cannot be copied. The only ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDragonnZhang
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/modelstudioai/openwork git https://github.com/modelstudioai/openwork.git
octolytics-dimension-user_id283556804
octolytics-dimension-user_loginmodelstudioai
octolytics-dimension-repository_id1256697754
octolytics-dimension-repository_nwomodelstudioai/openwork
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1256697754
octolytics-dimension-repository_network_root_nwomodelstudioai/openwork
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
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelstudioai/openwork/issues/70#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fopenwork%2Fissues%2F70
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%2Fmodelstudioai%2Fopenwork%2Fissues%2F70
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelstudioai%2Fopenwork
Reloadhttps://github.com/modelstudioai/openwork/issues/70
Reloadhttps://github.com/modelstudioai/openwork/issues/70
Reloadhttps://github.com/modelstudioai/openwork/issues/70
Please reload this pagehttps://github.com/modelstudioai/openwork/issues/70
modelstudioai https://github.com/modelstudioai
openworkhttps://github.com/modelstudioai/openwork
Notifications https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Fork 3 https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Star 11 https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Code https://github.com/modelstudioai/openwork
Issues 14 https://github.com/modelstudioai/openwork/issues
Pull requests 12 https://github.com/modelstudioai/openwork/pulls
Actions https://github.com/modelstudioai/openwork/actions
Projects https://github.com/modelstudioai/openwork/projects
Security and quality 0 https://github.com/modelstudioai/openwork/security
Insights https://github.com/modelstudioai/openwork/pulse
Code https://github.com/modelstudioai/openwork
Issues https://github.com/modelstudioai/openwork/issues
Pull requests https://github.com/modelstudioai/openwork/pulls
Actions https://github.com/modelstudioai/openwork/actions
Projects https://github.com/modelstudioai/openwork/projects
Security and quality https://github.com/modelstudioai/openwork/security
Insights https://github.com/modelstudioai/openwork/pulse
#71https://github.com/modelstudioai/openwork/pull/71
Add a "Copy" (copy-as-Markdown) action to assistant/agent responseshttps://github.com/modelstudioai/openwork/issues/70#top
#71https://github.com/modelstudioai/openwork/pull/71
loop-bothttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22loop-bot%22
https://github.com/DragonnZhang
DragonnZhanghttps://github.com/DragonnZhang
on Jul 8, 2026https://github.com/modelstudioai/openwork/issues/70#issue-4838018010
#2880https://github.com/openai/codex/issues/2880
#17241https://github.com/openai/codex/issues/17241
loop-bothttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22loop-bot%22
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.