Skip to content

chore(deps): refresh remaining workspace package versions#1329

Merged
Dani Akash (DaniAkash) merged 4 commits into
mainfrom
chore/deps-breaking-batch-2026-06-23
Jun 23, 2026
Merged

chore(deps): refresh remaining workspace package versions#1329
Dani Akash (DaniAkash) merged 4 commits into
mainfrom
chore/deps-breaking-batch-2026-06-23

Conversation

@DaniAkash

Copy link
Copy Markdown
Contributor

Brings a handful of remaining packages up to their current lines.

Touched files: server + agent package.json for dep bumps; apps/agent/codegen.ts gets a scalars map (codegen v7 narrows unmapped scalars to unknown, our app uses them as strings); reasoning.tsx stops forwarding Collapsible's HTMLAttributes into Streamdown (v2 narrowed dir); global.css adds a Tailwind @source line so streamdown's runtime classes don't get purged.

Local checks: bun run typecheck, bun fallow, scoped mcp-manager + build-script tests all clean.

Brings puppeteer, @lobehub/icons, @mdxeditor/editor, streamdown,
and the @graphql-codegen/* family up to their current lines.

- streamdown: pin Tailwind @source so emitted classes survive the
  purge step; stop forwarding Collapsible's HTMLAttributes into
  Streamdown in reasoning.tsx since v2 narrowed the `dir` prop type.
- graphql-codegen: pin Cursor/Datetime to `string` and JSON to `any`
  in the client-preset scalars map; codegen v7 narrowed unmapped
  scalars to `unknown` and our app code uses them positionally as
  strings.
@github-actions github-actions Bot added the chore label Jun 23, 2026
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

✅ Tests passed — 1393/1397

Suite Passed Failed Skipped
agent 271/271 0 0
build 26/26 0 0
eval 91/91 0 0
server-agent 301/301 0 0
server-api 138/138 0 0
server-browser 10/10 0 0
server-integration 10/10 0 0
server-lib 251/252 0 1
server-root 47/50 0 3
server-tools 248/248 0 0

View workflow run

@greptile-apps

greptile-apps Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR refreshes several major dependency versions in the browseros-agent workspace and adds the minimal compatibility shims each upgrade required. All code changes are tightly scoped adapter fixes rather than new functionality.

  • streamdown v1 → v2: removes the stray {...props} spread from <Streamdown> (its dir prop type narrowed to a literal union, conflicting with Collapsible's HTMLAttributes), and adds a Tailwind @source directive so the purger retains runtime-emitted classes from streamdown's dist bundle.
  • @graphql-codegen v6 → v7 (client-preset v5 → v6): adds an explicit scalars map in codegen.ts to keep Cursor and Datetime typed as string (v7 narrows unmapped scalars from any to unknown) and JSON typed as any to match pre-upgrade behaviour.
  • @mdxeditor/editor v3 → v4 and puppeteer 24 → 25: straightforward major-version bumps with no additional adapter code, matching the lockfile update.

Confidence Score: 5/5

Safe to merge — all code changes are minimal, well-commented compatibility shims with no logic shifts.

Every code change is a direct mechanical response to a documented breaking change in an upgraded package: removing a prop spread for streamdown's narrowed type, adding a Tailwind source glob for purge safety, and pinning scalar types for graphql-codegen v7. No business logic is touched, and the PR description confirms typecheck + scoped tests are clean.

No files require special attention.

Important Files Changed

Filename Overview
packages/browseros-agent/apps/agent/codegen.ts Adds a scalars map to preserve pre-v7 type behaviour for custom scalars; well-commented and correct.
packages/browseros-agent/apps/agent/components/ai-elements/reasoning.tsx Removes {...props} spread from <Streamdown> to fix streamdown v2 type narrowing; children still flow correctly.
packages/browseros-agent/apps/agent/package.json Major bumps for streamdown (v1→v2), @mdxeditor/editor (v3→v4), and @graphql-codegen suite (v6→v7); all adapter shims are present.
packages/browseros-agent/apps/agent/styles/global.css Adds @source for streamdown's dist bundle so Tailwind v4 doesn't purge runtime-emitted classes.
packages/browseros-agent/apps/server/package.json Upgrades puppeteer from exact-pinned 24.23.0 to semver-ranged ^25.1.0 (major bump); no additional adapter code needed.
packages/browseros-agent/bun.lock Lockfile regenerated to reflect all version bumps; configVersion bumped from 0 to 1.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    subgraph AgentPackage["apps/agent — dep bumps"]
        A1["streamdown v1 → v2"] -->|"narrowed 'dir' type"| F1["reasoning.tsx\nremove spread from Streamdown"]
        A1 -->|"runtime classes purged"| F2["global.css\nadd @source for streamdown/dist"]
        A2["@graphql-codegen cli v6→v7\nclient-preset v5→v6"] -->|"unknown scalars → unknown"| F3["codegen.ts\nadd scalars map"]
        A3["@mdxeditor/editor v3 → v4"] -->|"no adapter needed"| F4["types & runtime\ncovered by typecheck"]
    end
    subgraph ServerPackage["apps/server — dep bumps"]
        B1["puppeteer 24.23.0 (exact)\n→ ^25.1.0 (range)"] -->|"no breaking usage change"| F5["no adapter code\nrequired"]
    end
    style F1 fill:#d4edda,stroke:#28a745
    style F2 fill:#d4edda,stroke:#28a745
    style F3 fill:#d4edda,stroke:#28a745
    style F4 fill:#e2e3e5,stroke:#6c757d
    style F5 fill:#e2e3e5,stroke:#6c757d
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    subgraph AgentPackage["apps/agent — dep bumps"]
        A1["streamdown v1 → v2"] -->|"narrowed 'dir' type"| F1["reasoning.tsx\nremove spread from Streamdown"]
        A1 -->|"runtime classes purged"| F2["global.css\nadd @source for streamdown/dist"]
        A2["@graphql-codegen cli v6→v7\nclient-preset v5→v6"] -->|"unknown scalars → unknown"| F3["codegen.ts\nadd scalars map"]
        A3["@mdxeditor/editor v3 → v4"] -->|"no adapter needed"| F4["types & runtime\ncovered by typecheck"]
    end
    subgraph ServerPackage["apps/server — dep bumps"]
        B1["puppeteer 24.23.0 (exact)\n→ ^25.1.0 (range)"] -->|"no breaking usage change"| F5["no adapter code\nrequired"]
    end
    style F1 fill:#d4edda,stroke:#28a745
    style F2 fill:#d4edda,stroke:#28a745
    style F3 fill:#d4edda,stroke:#28a745
    style F4 fill:#e2e3e5,stroke:#6c757d
    style F5 fill:#e2e3e5,stroke:#6c757d
Loading

Reviews (2): Last reviewed commit: "chore: merge main" | Re-trigger Greptile

@DaniAkash Dani Akash (DaniAkash) deleted the chore/deps-breaking-batch-2026-06-23 branch June 23, 2026 11:34
@DaniAkash Dani Akash (DaniAkash) merged commit 35b8766 into main Jun 23, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant