multica/packages/core/src
Jiayuan Zhang 27c3ba5682 feat(web): add Accept: text/markdown header for Cloudflare Markdown for Agents
Prefer markdown responses from servers that support Cloudflare's Markdown
for Agents feature, reducing token usage by ~80% when available. Non-supporting
servers fall back to HTML as before.

- Update Accept header to prefer text/markdown in web_fetch requests
- Add text/markdown content-type handling to skip HTML parsing pipeline
- Capture x-markdown-tokens response header in WebFetchResult
- Add extractMarkdownTitle() helper for native markdown title extraction

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 19:47:17 +08:00
..
agent feat(web): add Accept: text/markdown header for Cloudflare Markdown for Agents 2026-02-13 19:47:17 +08:00
channels feat(channels): add message source prefix, sendFile, and channel info 2026-02-13 01:37:22 +08:00
client refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
cron refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
heartbeat fix(heartbeat): use internal run to hide heartbeat from chat history 2026-02-11 19:41:57 +08:00
hub fix(core): preserve context-specific auth error messages 2026-02-13 18:58:27 +08:00
media refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
app-state.ts feat(desktop): persist onboarding state to file system 2026-02-12 10:53:04 +08:00
index.ts feat(desktop): persist onboarding state to file system 2026-02-12 10:53:04 +08:00