Commit Graph
35 Commits
Author SHA1 Message Date
ziven 9915a8e89b build(release): automate CLI releases with Changesets (#2001) 2026-10-30 14:04:39 +08:00
Libin YANG 0bbfe56b67 chore(deps): upgrade project dependencies (#1996)
Bump compatible releases, including wrangler 4.151.2, CodeMirror view 6.43.15, and typescript-eslint 8.72.0. Retarget the CodeMirror view patch and raise undici to 8.12.3 now that the HTTP/2 content-encoding regression is fixed.
2026-10-21 22:37:41 +08:00
Libin YANG f8d9126823 chore(deps): upgrade project dependencies (#1995)
Bump compatible releases, including pnpm 12.14.0 and wrangler 4.151.1, and retarget the Mermaid flowchart label patch to 12.2.0.
2026-10-17 10:12:56 +08:00
Libin YANG 1bdad48d20 fix(mermaid): stop flowchart labels from clipping (#1991)
Raise flowchart wrappingWidth to 300 so a typical bilingual line fits, and patch Mermaid so wider html labels wrap on fractional device pixel ratios instead of being clipped.

Closes #1989
2026-10-12 11:27:37 +08:00
Libin YANG d9132ab5a1 chore(deps): upgrade project dependencies (#1985) 2026-10-09 09:50:23 +08:00
Libin YANG 9bae922611 chore(deps): bump dependencies to latest compatible versions (#1978)
Upgrade pnpm to 12.6.0 and refresh direct packages, including VueUse 15,
Mermaid 12, and juice 12.2.0. Keep Prettier 2.8.8, TypeScript 6.0.3, and
the wrangler 4.134.0 preview-deploy pin.
2026-09-29 17:37:06 +08:00
Libin YANG 2cd2b354e6 chore(deps): bump pnpm, wrangler, CodeMirror, and related packages (#1972) 2026-09-22 19:54:26 +08:00
Libin YANG 8770fde1d2 chore(deps): bump wrangler, CodeMirror, vsce, and related packages (#1964) 2026-09-16 19:27:09 +08:00
Libin YANG 617ef14ee5 docs: correct leftover contributor and agent skill guidance (#1958)
Fix locale/API descriptions, drop Stylelint, clarify Related Issue, and stop telling agents to run interactive git commands.
2026-09-10 19:53:56 +08:00
Libin YANG 078abcb020 docs: sync AGENTS.md and drop unused Related Issue from PR template (#1957)
Keep the i18n module list and API description current, and only add a Related Issue section when a PR actually closes an issue.
2026-09-10 19:44:24 +08:00
Libin YANG 0fdec07364 docs: align contributing guides and agent PR workflow (#1956)
Add a GitHub PR template, sync CONTRIBUTING/Copilot/AGENTS, make
commit and PR skills shell-neutral, and add share/marketplace
route tests.
2026-09-10 19:35:56 +08:00
Libin YANG 2404ebcaa8 chore(skills): track Claude Code skills via git symlinks (#1955)
Replace the post-clone junction linker with per-skill git
symlinks so clones no longer need a setup script.
2026-09-10 19:22:37 +08:00
Libin YANG e14b55645c chore(deps): bump wrangler, vitest, isomorphic-dompurify, and related packages (#1951) 2026-09-10 10:22:35 +08:00
Libin YANG a9d3da04cc chore(deps): bump wrangler, CodeMirror, AWS SDK, and related packages (#1945) 2026-09-05 08:57:08 +08:00
Libin YANG 62cd665b16 chore(deps): bump pnpm, CodeMirror, AWS SDK, and related packages (#1943)
Refresh catalog, security overrides, and CI pnpm pins. Rebase the @codemirror/view patch onto 6.43.10.
2026-09-01 11:42:55 +08:00
Libin YANG 7622b816db chore(deps): bump wrangler, zod, and related packages (#1941)
Refresh catalog entries (@cloudflare/workers-types, wrangler, zod), the
tinyexec override, and direct deps across web, vscode, and md-cli, then
refresh transitive deps via `pnpm update -r` and `pnpm dedupe`.

Keep typescript at ~6.0.3 because @typescript-eslint 8.68.0 declares a
`typescript >=4.8.4 <6.1.0` peer range, so TS 7 would break lint.

Also drop the stale front-matter patch entry from AGENTS.md; that patch
was removed when front-matter was replaced.
2026-08-29 15:42:26 +08:00
Libin YANG 83bf5583f5 feat(core): support GitHub-style emoji shortcodes (#1937)
Adds an inline extension turning 🚀 into an emoji character, so documents written on GitHub, Obsidian or Typora keep rendering the same glyphs instead of leaking raw shortcodes into the article.

The shortcode table is bundled in-repo rather than pulled from a dependency. The established emoji packages either carry several transitive dependencies or have negligible download counts, neither of which suits a widely used editor. The table is curated (515 entries) instead of the full ~1900-entry Unicode set, which would otherwise land in the deferred renderer chunk for a feature most articles use a handful of times.

Only names present in the table are consumed, so incidental colon pairs like 'ratio 3:4:5' and unknown names stay literal rather than disappearing. Emoji are emitted as bare characters with no wrapper element, leaving nothing for WeChat's sanitizer to strip and no theme CSS to keep in sync.
2026-08-29 08:27:51 +08:00
Libin YANG 435c7d132b chore(deps): bump CodeMirror, vue-tsc, and workers-types (#1915) 2026-08-16 21:17:57 +08:00
Libin YANG 54562cf4d7 build(deps): bump pinia to 4.0.2 and refresh workspace deps (#1832)
Drop the pinia exports types patch after verifying vue-tsc works without it, and bump wrangler, Cloudflare Vite plugin, AWS SDK, and CodeMirror markdown.
2026-07-16 08:07:21 +08:00
Libin YANG 03a481717f build(deps): bump pinia to 4 and refresh workspace deps (#1828)
Upgrade pinia to 4.0.1 with a types exports patch for vue-tsc, bump AWS SDK, workers-types, and the ws override. Document the new patch in AGENTS.md.
2026-07-15 14:25:14 +08:00
Libin YANG 58f09a8897 build: centralize shared deps with pnpm catalog and dedupe (#1791)
Move cross-package toolchain versions into a workspace catalog, declare
CodeMirror where it is imported, unify typescript-eslint via overrides,
and run pnpm dedupe to shrink the lockfile.
2026-07-11 13:38:58 +08:00
Libin YANG 22ca9fea7f chore: unify code comments to English (#1789)
Translate valuable Chinese comments and remove noise that only restates the next line. Document the English-comment convention in AGENTS.md and CONTRIBUTING.md. Leave i18n and user-facing strings unchanged.
2026-07-11 11:01:28 +08:00
Libin YANG 1161620eac feat(i18n): add Traditional Chinese and Japanese locales (#1784) 2026-07-11 08:56:51 +08:00
Libin YANG 79f8ce27f0 build(deps): upgrade project dependencies (#1738)
Bump direct dependencies including @codemirror/view, eslint, es-toolkit, reka-ui, @lucide/vue, @cloudflare/workers-types, vite-plugin-vue-devtools, webpack, and webpack-cli.

Migrate @codemirror/view patch from 6.43.3 to 6.43.4 and refresh transitive dependencies in the lockfile.
2026-06-29 08:29:02 +08:00
Libin YANG 7185e76f10 fix(export): WeChat Mermaid paste compatibility and wechat-svg skill (#1724)
Expand marker defs into inline arrow graphics and set explicit pixel dimensions capped at the article column width so diagrams no longer render oversized in the WeChat editor.

Document SVG AttributeName whitelist, bubbling-group interaction rules, and static diagram paste compatibility guidance as a reusable agent skill.
2026-06-24 19:17:29 +08:00
Libin YANG d89b6683c9 feat(web): add internationalization with preferences dialog (#1707)
Add vue-i18n for zh-CN and en-US across the web app UI including editor, AI tools, dialogs, and stores. Introduce preferences dialog with locale cloud sync, localized built-in components and style options, boot screen language detection, and remove deprecated isEditOnLeft setting.
2026-06-21 22:04:25 +08:00
Libin YANG 0460f5204b fix(web): persist editor content on reload and tidy monorepo layout (#1687)
- Flush editor content to post store before IndexedDB save on pagehide
- Await document persistence after cloud sync before updating lastSyncAt
- Sync editor when remote posts update without changing post index
- Consolidate static assets under apps/web/public; remove duplicate root public/
- Move wechat-openapi-worker example to docs/examples
- Silence Pinia devtools logs in dev; gate vite vue-devtools behind env var
- Update AGENTS.md and docs/architecture.md
2026-06-15 17:58:02 +08:00
Libin YANG 98fce7cc6c refactor(web): extract useEditorRefresh and improve editor UX (#1683)
- Debounce style panel and VSCode preview re-renders
- Replace fake upload progress with indeterminate indicator
- Route theme migration and image cache through localStorageSafe
- Add lint CI workflow and cloud sync documentation
2026-06-15 10:01:16 +08:00
Libin YANG b6ead11dd8 feat(web): add global account login and refactor cloud sync UI (#1657)
Introduce shared md-api account layer decoupled from sync, split account and sync dialogs in the footer, restrict free tier to manual sync, and enable account/sync UI in production builds.
2026-06-11 21:40:16 +08:00
Libin YANG a7dcfd11e8 feat(sync): add cloud sync with worker backend and status UI (#1654)
Introduce Cloudflare Workers sync service and web client for cross-device document and settings sync. Footer icon reflects synced, pending, syncing, and error states. Image hosting and AI keys remain local.
2026-06-11 11:52:09 +08:00
Libin YANG 9fe46ab1f6 feat(mcp-server): expand render options and add Cursor MCP config (#1651)
Add font, legend, heading styles, code block theme, and custom CSS parameters to render_markdown for parity with the web editor. Extract config-options and render-article modules, add style discovery tools, fix double container wrapping, and ship .cursor/mcp.json for Cursor IDE integration.
2026-06-10 12:53:21 +08:00
Libin YANGandCursor 60d9df8dd8 refactor(core): replace any types in marked extensions (#1647)
Add typed custom tokens and renderer adapters compatible with marked's
Tokens.Generic API. Introduce FrontMatterData and sync AGENTS.md plus
mcp-server README with current implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 14:46:36 +08:00
Libin YANG 330ebe7d95 docs: add cross-agent skills infrastructure (#1644) 2026-06-09 12:45:28 +08:00
Libin YANG 8aaa523f8a docs: update AGENTS.md and CLAUDE.md for multi-agent compatibility (#1574)
- CLAUDE.md: target all AI agents instead of Claude Code only
- AGENTS.md: simplify to just reference @CLAUDE.md
2026-05-26 08:40:15 +08:00
Libin YANG c32fbd6899 fix: add allow builds (#1548) 2026-05-17 21:19:31 +08:00