Skip to content

chore(deps): autoupdate (needs claude fix) - #15

Merged
github-actions[bot] merged 3 commits into
mainfrom
chore/autoupdate-35411339889
Sep 19, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
chore/autoupdate-35411339889

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The dependency autoupdater failed during builds-and-checks.

Run log: https://github.com/dudko-dev/agent-web/actions/runs/35411339889

A Claude session has been dispatched to push fixes onto this branch
so the following commands all exit 0:

  npm run typecheck
  npm run format:check
  npm run build
  npm test

Claude will leave a status comment on this PR when it finishes.
The Claude workflow re-dispatches PR-checks once it is done, so the
checks below reflect its pushed fixes.

@github-actions github-actions Bot added autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix labels Sep 19, 2026
TypeScript 7.0.2 (the native/Go-based rewrite now published as
`latest`) changes the shape of `ts.sys`, which crashes tsup's
vendored rollup-plugin-dts (`Cannot read properties of undefined
(reading 'useCaseSensitiveFileNames')`) during `npm run build`.
Pin back to the last compatible 5.x release.

Also bump the `@ai-sdk/xai` peerDependency to ^5.0.0 to match the
devDependency major bump the autoupdater already made; it had been
left declaring ^4.0.0 support.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@claude

claude Bot commented Sep 19, 2026

Copy link
Copy Markdown

Autoupdate fix status: pushed 1 commit (3a8e786)

What failed initially: npm run build (exit 1). npm run typecheck, npm run format:check, and npm test were all green as-is.

Root cause: the autoupdate bumped typescript devDependency to ^7.0.2, which npm now resolves to the real TypeScript 7 (the native/Go-based rewrite, published as latest). Its ts.sys shape differs from what tsup's vendored rollup-plugin-dts@6.1.1 expects, so the DTS bundling step crashed with TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames'). There's no newer tsup (already on latest 8.5.1) to pick up a TS7-compatible rollup-plugin-dts, so I pinned typescript back to ^5.9.3 (the same version the repo was already on before this autoupdate — confirmed it's still the latest 5.x on npm).

I also noticed the autoupdate had bumped the @ai-sdk/xai devDependency across a major version (^4.0.58 → ^5.0.4) but left the peerDependencies entry at ^4.0.0, so the package would advertise support it isn't actually built/tested against. Bumped that peer range to ^5.0.0 to match (@ai-sdk/xai v5's own peer surface — just zod— is unaffected, and typecheck/build/test all stayed green with it).

Also trimmed the now-inaccurate typescript mention from the 0.0.18 CHANGELOG entry, since that dependency is back at its pre-autoupdate version. Package version was left unchanged at 0.0.18.

Changes: package.json (typescript devDependency pin, @ai-sdk/xai peer range), package-lock.json (regenerated), CHANGELOG.md (dependency list correction). No product logic touched.

Verified locally after the fix, each run with its own exit code checked:

  • npm ci --no-audit --no-fund → 0
  • npm run typecheck → 0
  • npm run format:check → 0
  • npm run build → 0
  • npm test → 0 (96/96 passing)

@github-actions
github-actions Bot merged commit 1ed033b into main Sep 19, 2026
1 check passed
@github-actions
github-actions Bot deleted the chore/autoupdate-35411339889 branch September 19, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant