Skip to content

feat(share): include tool-call activity in shared conversations - #11

Merged
1bcMax merged 1 commit into
masterfrom
feat/share-tools
Jun 4, 2026
Merged

feat(share): include tool-call activity in shared conversations#11
1bcMax merged 1 commit into
masterfrom
feat/share-tools

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Collaborator

Builds on #10. Makes a shared link / public page reproduce the conversation faithfully — including tool calls, not just the prose.

Changes

  • `SharedMessage` (share-store.ts) — adds `kind: "tools"` + `tools[]` (`label` / `detail`).
  • `POST /api/share` (route.ts) — passes tool steps through (capped at 50, fields clamped).
  • `/s/[id]` (page.tsx) — renders a "Used N tools" block listing each tool + what it was doing (+ CSS).

Notes

  • Desktop side (franklin-desktop): the share dialog now includes tool blocks in the snapshot; exported image shows the collapsed header, the link/page shows the full list.
  • Deploy required (`npm run deploy`) for it to go live on franklin.run.

Carry tool-call blocks through a share so /s/<id> reproduces the
conversation faithfully (not just prose):

- SharedMessage gains kind:"tools" + tools[] (label/detail).
- POST /api/share passes tool steps through (capped 50, fields clamped).
- /s/[id] renders a 'Used N tools' block listing each tool + what it did.
@1bcMax
1bcMax merged commit 4af6007 into master Jun 4, 2026
1 check passed
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.

1 participant