Repository navigation
Replies: 2 comments
|
More detail on the receiving end, since it is the part Paseo would most The design constraint we started from: the thing being shared should outlive The protocol is the productThe repo's actual deliverable is {
"format": "threadshare-history@v1",
"schemaVersion": 1,
"exportedAt": "...",
"conversation": { "id": "...", "title": "...", "provider": "codex", "source": "codex" },
"entries": []
}Entries are messages, tool calls, thoughts, todos, activity records, or CLI: a second producer, to prove the protocol was not just Paseo's shapeWritten mainly as a check on ourselves. If the format could only be emitted by It reads Codex sessions from Three decisions worth naming:
It ships an agent Skill ( API: deliberately two routesSame origin for viewer and API, so the browser never learns an object-store
The storage half is one adapter behind those routes, which is why the same code How Paseo integratesPaseo is a producer only. One config key on the daemon: { "daemon": { "chatShare": { "baseUrl": "https://your-threadshare-host" } } }
Why this is in the discussionNot to propose Threadshare. The reusable part is the split: the Paseo-side We have no attachment to our document shape beyond it being versioned and |
|
Before publishing a share URL, I also need a smaller local handoff: copy the complete conversation as Markdown. Today selecting rendered text is incomplete and fragile—long timelines are paginated/virtualized, tool structure is lost, and mobile selection is awkward. I often only need to paste the transcript into a private issue, document, or another local tool, so hosting and access control would be unnecessary. A better flow is a Copy conversation action on the agent tab/menu. It should fetch the complete authoritative projected timeline on demand, format a readable Markdown transcript with message/tool boundaries, then show progress and a clear clipboard success or failure. It must not silently copy only the loaded window. This should work for every provider and on desktop, web, iOS, and Android subject to each platform's clipboard API. A plugin could implement it once the client API exposes authoritative timeline paging and clipboard-safe actions; with today's boundaries it is a small core conversation action. The original sharing workflow and my local-copy case show related demand, but I do not have evidence beyond that. PR #2957 is prior exploration of the local action. |
Uh oh!
There was an error while loading. Please reload this page.
What I'm trying to do
A Codex run produces a long chain of reasoning, tool calls, and edits. Regularly
someone else needs to read that chain: a reviewer asking why the agent chose an
approach, a teammate hitting the same bug next week, or me filing an upstream
report where the evidence is the transcript. I want to hand them a URL.
How I do it today
Screenshots, or copy-paste into a doc. Both lose the thing that matters. A
screenshot of a 40-turn session is unreadable and drops the tool calls. Copying
the rendered text flattens tables and code blocks, and tool arguments and results
do not come along at all. Reconstructing the session in the doc by hand takes
longer than the run did.
The other option is giving them access to my Paseo host, which is not an option
for anyone outside the team, and is a heavy ask inside it.
Where Paseo gets in the way
Paseo already holds the full authoritative timeline, and it is the only thing
that does. But it is reachable only through a live connection to my machine.
There is no read-only projection of a session that exists independently of my
daemon.
Two smaller things compound it:
and "what happened" are not the same set. Anything built on the visible
messages silently truncates.
Authorizationheader in a toolargument, a token in a URL, a password in a connection string. Sharing without
removing those is not something a person can be trusted to do by hand.
What the flow would look like
From a completed turn: Share → pick which user message to start from →
link on the clipboard. The recipient opens a read-only viewer with the messages,
tool calls, thoughts, todos, and activity, and nothing about my machine.
The start-point picker matters more than it sounds. Long sessions wander; the
part worth sharing is usually the last third, and being able to say "from here"
is what makes the link readable instead of a dump.
What we built
Share sits next to Copy and Fork on a completed turn.
timeline API, not the currently loaded window, then offers every user message
as a start point.
entry, and recursively through tool input, output, and errors. Stringified
JSON is walked as a syntax tree and edited structurally, so nested secrets go
without corrupting the JSON or rewriting big-integer and high-precision
numeric literals. Token counts, auth status, and explanatory auth prose stay —
redacting those makes shared debugging sessions useless.
intact and projects tool calls down to name, first call time, request
parameters, and final status. If that still does not fit, it stops before
the network call and asks for a later start message rather than silently
dropping messages.
server_info.features.chatShare. No fallback path.Code:
packages/app/src/chat-share/On the service side
We deliberately kept the daemon out of the storage business. Paseo is only a
producer of a versioned, standalone JSON contract; the host resolves a base
URL from config and the client sends one
POST. It holds no bucket, nocredential, no vendor URL.
We wrote the receiving end as a separate project,
team-harness/threadshare, so it is
not a Paseo concern and so other agent clients can target the same contract — it
also ships a CLI that shares local Codex, Codex Cloud, and Claude Code sessions
that never went through Paseo. Any service exposing the same two routes works;
ours is one implementation, not a dependency.
Its design rationale — the protocol, the CLI, the API surface, and exactly how
Paseo plugs into it — is in a comment below, so this post stays about the
workflow.
Known limits
less QA.
a floor, not a proof.
Context for all four of our fork workflows: #2914
All reactions