Skip to content

chore(deps): update Comark to 0.9 and comark-content to 0.5.1 - #3718

Merged
vite-hub[bot] merged 10 commits into
mainfrom
chore/comark-0.9
Nov 10, 2026
Merged

vite-hub[bot] merged 10 commits into
mainfrom
chore/comark-0.9

Conversation

@onmax

@onmax onmax commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

ViteHub pins comark 0.8.1, comark-content 0.4.3 and comark-ui 0.9.1, and @vite-hub/ui installs a pkg.pr.new build of comark-ui next to them. comark-ui 0.10 needs comark 0.9 as a peer, so these packages have to move together.

This moves comark, @comark/html and @comark/vue to 0.9.0, comark-content to 0.5.1 and comark-ui to 0.10.0. comark-ui 0.10 includes onmax/comark-ui#359, so @vite-hub/ui uses the catalog again instead of the pkg.pr.new build.

Two Comark 0.9 changes needed code:

  • linkify is now a default plugin, so registerDefaultPlugins: false turns it off, and fuzzy links are off. Markdown in @vite-hub/ui parses with registerDefaultPlugins: false, so Agent messages would stop linking URLs. It now registers linkify() itself, with a new test. The GitHub mention parser in @vite-hub/agent registers linkify({ fuzzyLink: true, urlAuth: true }), the 0.8 behavior, because GitHub links www.example.com. Three of its tests failed without it.
  • The html parser option is gone, so Markdown no longer deletes it.
  • comark 0.9 declares katex ^0.19.1 as a peer. With KaTeX 0.18 in @vite-hub/agent, published-chat-adapter-types.test.ts failed on a --strict-peer-dependencies install, so KaTeX moves to 0.19.1 in agent, ui, markdown-template, email and vite-hub.

comark-chat moves to 0.10.1. Its 0.10.0 stylesheet had @supports (interpolate-size:allow-keywords) and selector(::details-content), which made autoprefixer 10.6.2 throw "Unknown node type in node creation" and broke Nuxt builds importing @vite-hub/ui/styles.css. Version 0.10.1 ships selector(::details-content) and (interpolate-size:allow-keywords), which passes the same processor and accepts @comark/vue 0.9.

nuxt-agent-discovery moves to 0.8.2, whose optional Comark peer includes 0.9. Its existing Cloudflare worker-first patch still applies unchanged and is retargeted to 0.8.2. The docs app also moves comark-chips to 0.10.1 so its Comark and HTML renderer peers accept 0.9. These releases fulfill the upstream prerequisites noted in the original PR and review threads.

The table below records the original author's validation before the repair updates:

Check main this PR
@vite-hub/markdown-template tests 117 passed 117 passed
@vite-hub/content tests 440 passed 440 passed
@vite-hub/email tests 437 passed 437 passed
@vite-hub/ui tests 577 passed 578 passed (1 new)
@vite-hub/docs tests 271 passed 271 passed
@vite-hub/agent GitHub mention and instruction tests 226 passed 226 passed
Typecheck of content, ui, markdown-template pass pass
Typecheck of agent, docs not run pass
@vite-hub/agent published-chat-adapter-types.test.ts (strict peers) pass pass

node test/run-package-task.mjs test --packages ... and pnpm --dir packages/<pkg> run typecheck, Node 24, Linux.

I also rendered 2,773 Markdown files (docs/content, content and ui test fixtures) with the Content preset on both stacks. Without the inline <style> blocks, 29 files differ. Text like defineAgent({ capabilities }) in table cells keeps its { … } part now, and words like database.name or GitHub.com no longer turn into favicon links. The inline CSS of comark-ui blocks changed in most files, and I didn't check that in a browser.

node test/run-package-task.mjs test --affected origin/main selects every package because the lockfile changes. Locally, @vite-hub/internal fails config-edit.test.ts on the two nuxt-cron fixtures that #3590 added on main, and @vite-hub/sandbox fails 4 cloudflare-durable-object.test.ts cases ("Descendants kept output open"). Neither package uses Comark and their dependencies don't change here. 25 other packages passed, including workspace (2,134 tests), and content, ui and docs passed in the runs above. I stopped the rest after the KaTeX change, so CI has the final word on agent, auth, cms, comments, presets, realtime and vite-hub.

Not checked:

  • Chat and comark-ui blocks in a browser.
  • @vite-hub/markdown-template and Agent instructions still pass linkify: false. Comark 0.9 accepts it but logs a deprecation warning once per process.
  • KaTeX 0.19 math output in a browser. 0.19.0 only changes how missing glyph metrics are reported under strict.

The initial lockfile diff was +472/-1680, mostly the pkg.pr.new comark-ui packages and the 0.9.1 ones collapsing into one 0.10.0 set.

Repair validation: fresh pnpm 10.34.6 installs with --ignore-scripts --strict-peer-dependencies --config.auto-install-peers=false fail with the old chat, discovery and chips versions, and pass with comark-chat 0.10.1, nuxt-agent-discovery 0.8.2 and comark-chips 0.10.1. Processing the published chat stylesheet with autoprefixer 10.6.2 and PostCSS 8.5.32 fails on 0.10.0 and passes on 0.10.1. corepack pnpm install --frozen-lockfile --ignore-scripts passes after resolving the prepared base merge and preserving its tarball integrity. Focused package tests and lint remain for hosted CI because the dependency-refresh guard exhausted its two attempts before the integrity repair.

Related: #3617 also changes the comark peer ranges in packages/docs.

Prepared with Claude Opus 5.5 in T3 Code.

Move comark, @comark/html and @comark/vue to 0.9.0, comark-content to
0.5.1 and comark-ui to 0.10.0 together, since comark-ui 0.10 needs
comark 0.9 as a peer. comark-ui 0.10 includes onmax/comark-ui#359, so
@vite-hub/ui drops its pkg.pr.new pin and uses the catalog again.

comark-chat stays at 0.7.1. Its 0.10.0 stylesheet has
`@supports (interpolate-size:allow-keywords) and selector(::details-content)`,
which autoprefixer 10.6 cannot parse, so Nuxt builds that import
@vite-hub/ui/styles.css fail. Its Vue renderer is the same in both
versions and only imports `Markdown` from @comark/vue.

Comark 0.9 only registers linkify as a default plugin and turns fuzzy
links off. The Markdown component parses with registerDefaultPlugins
false, so it registers linkify() itself to keep linking URLs. The GitHub
mention parser registers linkify with fuzzyLink and urlAuth, the old
behavior, because GitHub autolinks www.example.com. The removed `html`
parser option goes away from the Markdown component and its test.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T19:54:47.607415Z
We couldn’t complete this review. Comment @codex review to try again.
7d14c66 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The upgraded UI dependency graph cannot be installed by consumers that enforce peer dependencies.

Reviewed changes — Reviewed the Comark 0.9 parser migration, the Comark UI and Content dependency updates, the explicit linkification behavior in UI Markdown and GitHub mention parsing, and the resulting package peer graph.

  • Parser compatibility — Markdown and GitHub mention parsing now register the Comark 0.9 linkify plugin explicitly while keeping raw HTML disabled.
  • Renderer stack — @comark/vue, comark-content, and comark-ui move to their matching new versions, and the preview build is replaced by the catalog release.
  • Validation — Focused UI tests passed 61 tests, and the Agent GitHub auto-merge suite passed 154 tests.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

Comment thread packages/ui/package.json Resolved
comark 0.9 declares `katex ^0.19.1` as a peer. With KaTeX 0.18 in
@vite-hub/agent, a consumer install with --strict-peer-dependencies
fails with ERR_PNPM_PEER_DEP_ISSUES, which
published-chat-adapter-types.test.ts caught in CI.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

No new P0 or P1 findings were introduced by the latest commit. The previously reported strict peer installation defect remains open and still blocks approval.

Reviewed changes — Reviewed the KaTeX alignment added since the prior Pullfrog review.

  • Aligned Comark peers — Updated KaTeX to 0.19.1 in Agent, Email, Markdown Template, UI, and ViteHub so the Comark 0.9 and @comark/vue 0.9 optional peer ranges resolve consistently.
  • Regenerated dependency graph — Re-resolved the Comark 0.9 renderer and Content graph against KaTeX 0.19.1 in the workspace lockfile.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

@pkg-pr-new

pkg-pr-new Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vite-hub/agent

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/agent@3718

@vite-hub/auth

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/auth@3718

@vite-hub/blob

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/blob@3718

@vite-hub/browser

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/browser@3718

@vite-hub/bundle

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/bundle@3718

@vite-hub/channels

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/channels@3718

@vite-hub/cli

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/cli@3718

@vite-hub/cms

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/cms@3718

@vite-hub/codemods

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/codemods@3718

@vite-hub/comments

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/comments@3718

@vite-hub/connections

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/connections@3718

@vite-hub/console-client

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/console-client@3718

@vite-hub/content

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/content@3718

@vite-hub/database

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/database@3718

@vite-hub/decisions

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/decisions@3718

@vite-hub/docs

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/docs@3718

@vite-hub/email

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/email@3718

@vite-hub/env

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/env@3718

@vite-hub/forge

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/forge@3718

@vite-hub/forms

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/forms@3718

@vite-hub/gateways

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/gateways@3718

@vite-hub/i18n

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/i18n@3718

@vite-hub/kv

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/kv@3718

@vite-hub/markdown-template

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/markdown-template@3718

@vite-hub/presets

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/presets@3718

@vite-hub/queue

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/queue@3718

@vite-hub/rate-limit

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/rate-limit@3718

@vite-hub/realtime

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/realtime@3718

@vite-hub/runtime

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/runtime@3718

@vite-hub/sandbox

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/sandbox@3718

@vite-hub/schedule

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/schedule@3718

@vite-hub/shell

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/shell@3718

@vite-hub/source

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/source@3718

@vite-hub/ui

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/ui@3718

vite-hub

pnpm add https://pkg.pr.new/vite-hub/vitehub/vite-hub@3718

@vite-hub/web-container

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/web-container@3718

@vite-hub/workflow

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/workflow@3718

@vite-hub/workspace

pnpm add https://pkg.pr.new/vite-hub/vitehub/@vite-hub/workspace@3718

commit: 7d14c66

@vite-hub

vite-hub Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —
View session Completed 2026-11-10T19:40:48.218Z 14m 13s
View session Completed 2026-11-10T11:28:21.337Z 13m 24s
View session Completed 2026-11-10T00:52:04.116Z 16m 48s
View session Cancelled 2026-11-09T07:07:19.686Z 49m 39s
View session Waiting 2026-11-09T03:37:17.759Z 10m 48s
View session Waiting 2026-11-09T00:20:54.486Z 15m 40s

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

View session

Pushed 7d14c66: resolved merge conflicts, aligned Docs’ Comark 0.9 pins, and repaired tarball integrity. Frozen install, prerequisite builds, 184 focused tests, and lint passed. CI’s database timing failure did not reproduce locally; base CI evidence was unavailable after main advanced. Prior P1 strict-peer findings remain fixed and resolved. Waiting for new-head checks.

View session

Pushed 557e44d: resolved dependency conflicts, preserved tarball integrity, and updated the stale discovery patch assertion. The focused docs suite reproduced CI (12 passed, 1 failed). Package build, Nuxt prepare, and frozen install passed. The host refresh limit blocked final retest and lint; awaiting hosted CI. Pullfrog/Codex: prior P1 strict-peer incompatibility remains fixed; no valid current findings.

View session

Pushed 7b540ae, fixing Codex/Pullfrog P1 strict-peer incompatibilities and the lockfile conflict. Both review threads are resolved. Fresh strict installs, the autoprefixer regression, and frozen-lockfile installation pass. Package tests and lint await hosted CI after the dependency-refresh guard reached its limit. The previous Pullfrog run failed on provider usage limits.

Session

CI reconciliation completed; the same-head repair budget is exhausted.

Session

CI reconciliation completed; the same-head repair budget is exhausted.

View session

Pullfrog/Codex: P1 strict-peer incompatibilities remain in UI and Docs. Fresh strict installs fail; Comark 0.8 controls pass. comark-chat 0.10.0 still fails autoprefixer 10.6.2. The focused config-edit test reports 53 passed/1 failed on both HEAD and exact base. Deno jobs failed during setup with HTTP 504. No changes pushed; the maintainer’s upstream prerequisite remains unmet.

Session

CI reconciliation completed; the same-head repair budget is exhausted.

View session

No push. Pullfrog and Codex P1 strict peer failures reproduce for UI and Docs. Published comark-chat 0.10.0 also reproduces the autoprefixer error. The focused config test fails identically on HEAD and exact base: 53 passed, one failed. Two CI jobs failed during Deno setup with HTTP 504. Evidence is posted; valid review threads remain open.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 184a27aaf0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/ui/package.json Resolved
@vite-hub

vite-hub Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Both strict-peer failures reproduce on fresh pnpm 10.34.6 installs with --ignore-scripts --strict-peer-dependencies --config.auto-install-peers=false: comark-chat@0.7.1 rejects @comark/vue@0.9.0, and nuxt-agent-discovery@0.8.1 rejects comark@0.9.0 (ERR_PNPM_PEER_DEP_ISSUES). A repeat install can skip peer validation after writing its lockfile, so the docs case was verified again after removing the reproduction's lockfile and node_modules.

npm still reports comark-chat 0.10.0 and nuxt-agent-discovery 0.8.1 as latest. Processing the published comark-chat 0.10.0 stylesheet with the installed autoprefixer 10.6.2 fails with Unknown node type in node creation; reversing (interpolate-size:allow-keywords) and selector(::details-content) makes the same stylesheet pass. The maintainer's upstream prerequisite remains unmet. Please publish a comark-chat release with that CSS fix and its Comark 0.9 peers, and a nuxt-agent-discovery release whose optional Comark peer accepts 0.9, then comment here when they are available. The valid P1 review threads remain open pending those releases.

The CI failures do not justify an unrelated repair commit: after corepack pnpm exec vp run --cache -t @vite-hub/internal#build, corepack pnpm --dir packages/internal exec vitest run test/config-edit.test.ts reports 53 passed / 1 failed on both this HEAD and an exact tracked-file snapshot of base 69deb9535d1ad045dba797892771217827845efa from the existing Git history. Both show the same missing nuxt-cron fixture expectations. Contract tests and content/workflow tests failed in Deno setup with HTTP 504, before tests ran. Base CI was cancelled; the host log tools also failed because their installed gh does not support --allow-escape-sequences, so the base conclusion above comes from the local reproduction.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@pullfrog

pullfrog Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Your Custom account has hit its usage limit. Raise the limit with the provider, or re-trigger once it resets.

Custom's response
provider error: All credentials for model gpt-5.6-sol are cooling down (last error: usage_limit_reached: The usage limit has been reached) (429)

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using gpt-5.6-sol

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. No P0 or P1 finding remains.

Reviewed changes — Reviewed the dependency repair added since the prior Pullfrog review.

  • Aligned the UI renderer peer graph — Upgraded comark-chat to 0.10.1, which accepts @comark/vue 0.9 and includes the disclosure stylesheet fix needed by the repository's Autoprefixer version.
  • Aligned docs Comark dependents — Upgraded comark-chips to 0.10.1 and nuxt-agent-discovery to 0.8.2 so their Comark peer ranges accept 0.9, while retargeting the existing discovery patch unchanged.
  • Regenerated and validated the dependency graph — Re-resolved the lockfile, completed a frozen workspace install, confirmed the installed peer declarations, and passed all 61 focused UI package and SSR tests.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. No P0 or P1 finding remains.

Reviewed changes — Reviewed the merge resolution and discovery test update since 7b540ae.

  • Preserved mention parsing after the move — Carried the explicit Comark 0.9 linkify plugin into packages/presets/src/github/auto-merge.ts; all 154 focused tests passed.
  • Updated the discovery patch assertion — Aligned the docs readiness test with nuxt-agent-discovery@0.8.2; all 13 tests in that file passed.
  • Validated the merged dependency graph — Completed a frozen workspace install, including docs postinstall and Nuxt preparation, and confirmed package-local Comark 0.9 plugin resolution. Presets and Docs builds passed; full CI was still running.

Pullfrog  | View workflow run | Using gpt-6.1-sol(xhigh) | 𝕏

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. No P0 or P1 finding remains.

Reviewed changes — Reviewed the Docs dependency reconciliation and lockfile changes since the prior review, with the incremental delta scoped to 115c91a..7d14c66.

  • Aligned Docs renderer pins — Updated @comark/vue to 0.9.0 in the docs app, Docs package development dependencies, and docs playground to match their Comark 0.9 stack.
  • Reconciled the dependency graph — Verified a frozen install, matching lockfile importers, compatible Comark peer ranges, and package-local parser-to-Vue SSR in all three workspaces.
  • Verified Docs compatibility — Passed the Docs build, package typecheck, and all 60 focused parser and renderer tests; hosted CI had no failures but was still running, and full verification was not run because Deno 2.9.3 was unavailable.

Pullfrog  | View workflow run | Using gpt-6.1-sol(xhigh) | 𝕏

@vite-hub
vite-hub Bot merged commit 6137f7f into main Nov 10, 2026
28 checks 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