clickable http links in the Claude conversation; bundle markdown hooks (T-253)

http(s) links (typed or autolinked) in the conversation now open via the OS URL
handler (OsBridge.openURL) on click, with a hover underline + pointer; non-http
schemes stay inert. Works across prose, lists, tables, and headings.

Refactor: ClideMarkdown's growing set of inline-interaction callbacks
(onRecordTap, onImageToken, onLinkTap) is bundled into one ClideMarkdownHooks
value threaded as a single param — no more per-callback threading, and the hooks
now reach every context uniformly (links/images previously only worked in some).
The public widget API is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-09 22:16:57 +02:00
co-authored by Claude Opus 4.8
parent dc8ae0beaa
commit 1e8e37c6f9
4 changed files with 167 additions and 49 deletions
+4
View File
@@ -18,6 +18,10 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
### Added
- **Links in the Claude conversation are clickable.** An http(s) link (typed or
autolinked) now opens in your default browser on click — with a hover
underline + pointer — across prose, lists, tables, and headings. Non-http
schemes stay inert. (T-253)
- **The activity-card fold level is now adjustable and persists.** A
`claude.activity.fold-level` command cycles how aggressively meta steps fold
(none → tools → thinking → everything); the choice is saved app-wide and the