Bump dependencies and adapt to breaking changes#33
Merged
Conversation
added 3 commits
April 19, 2026 14:05
The previously committed Project Home, Graph View, and Settings screenshots were scaled-down exports and rendered pixelated. Replace them with the original full-resolution captures so the README and docs landing page gallery look consistent with the other tiles. Made-with: Cursor
Applies the open Dependabot updates and surrounding fixes so everything
type-checks, builds, and tests clean:
- Node Docker base 24-slim -> 25-slim; install pnpm via npm since Node 25
dropped bundled corepack.
- GitHub Actions: checkout v5->v6, github-script v8->v9,
upload-pages-artifact v4->v5.
- @types/node 20 -> 25 across all workspaces.
- vite 6 -> 8 with @vitejs/plugin-react 4 -> 6.
- lucide-react 0.562 -> 1.8.0; brand icons were removed, so add a local
GithubIcon SVG and switch the two call sites to it.
- deepagents 1.8.8 -> 1.9.0; @langchain/anthropic is now a required
runtime import, so add it to @archmax/core. Adapt agent-filesystem's
readRaw usage to the new ReadRawResult shape (data.content can now be
string | string[] | Uint8Array).
- Minor/patch bumps for @langchain/core, @langchain/openai, better-auth,
dotenv, astro, hono, vitest, @vitest/coverage-v8, esbuild.
Also fix pre-existing frontend tsc errors that were invisible to CI
(frontend Docker build only runs vite build, not tsc):
- Add zValidator("query", ...) to mcp-logs, conversations, test-cases,
and test-runs so the Hono RPC client exposes `query` at the type
level.
- Drop unused `json: {}` / `query: {}` client args and switch the
Mongoose-backed response casts to `as unknown as Promise<X>` (what
tsc itself suggests) since lean() results surface only { _id, __v }
through the RPC client.
- Tighten NavChild paths in the sidebar so the template-literal `to`
prop matches the router's known path list.
- Make the ModelsChat `prefill` search param truly optional and add the
missing `<Uint8Array>` generic on ReadableStreamReadDoneResult in the
sse test.
Made-with: Cursor
- Extract each chat bubble into a memoized `ChatMessageItem` so unrelated parent re-renders (input typing, `isStreaming` flipping at stream end) no longer force `react-markdown` to re-parse the full conversation. Also wrap `MessageSegments` in `React.memo` for the same reason. This removes the main-thread stalls observed on long conversations. - In `bridgeRedisToSSE`, exit as soon as a `done` event is observed on the Redis subscription instead of waiting for the next ping tick. Adds a regression test. Made-with: Cursor
|
🚅 Deployed to the archmax-pr-33 environment in archmax SemLayer
|
Docker image readydocker pull ghcr.io/archmaxai/archmax:pr-33 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applies the open Dependabot updates, adapts code to the breaking changes they introduce, and fixes pre-existing frontend TypeScript errors that were invisible to CI (the frontend Docker build only runs
vite build, nottsc).Dependency bumps
24-slim→25-slim. Node 25 dropped bundled corepack, so pnpm is installed vianpm install -g pnpm@10.30.3.actions/checkoutv5→v6,actions/github-scriptv8→v9,actions/upload-pages-artifactv4→v5.@types/node20 → 25 across all workspaces.vite6 → 8 with@vitejs/plugin-react4 → 6.lucide-react0.562 → 1.8.0. Brand icons were removed upstream, so a localGithubIconSVG replaces the twoGithubcall sites.deepagents1.8.8 → 1.9.0.@langchain/anthropicis now a required runtime import of deepagents, so it was added to@archmax/core.agent-filesystemwas adapted to the newReadRawResultshape (data.contentis nowstring | string[] | Uint8Array).@langchain/core,@langchain/openai,better-auth,dotenv,astro,hono,vitest,@vitest/coverage-v8,esbuild.Pre-existing frontend tsc errors fixed
zValidator("query", ...)tomcp-logs,conversations,test-cases, andtest-runsso the Hono RPC client exposesqueryat the type level.json: {}/query: {}client args and switched the Mongoose-backed response casts toas unknown as Promise<X>(whattscitself suggests) sincelean()results surface only{ _id, __v }through the RPC client.NavChildpath types in the sidebar so the template-literaltoprop matches the router's known path list.ModelsChatprefillsearch param truly optional and added the missing<Uint8Array>generic onReadableStreamReadDoneResultin the SSE test.Unrelated performance improvement (separate commit)
ChatMessageItem,MessageSegments) so unrelated parent re-renders (input typing,isStreamingflipping at stream end) no longer forcereact-markdownto re-parse the full conversation.bridgeRedisToSSEexit as soon as adoneevent arrives instead of waiting for the next ping. Includes a regression test.Test plan
pnpm typecheck— 7/7 packages passpnpm build— 6/6 tasks pass (frontend vite + all tsc targets)pnpm test:coverage— 719/719 tests passSupersedes
Closes the Dependabot PRs covered by this change (24, 27–31, plus the Actions PRs).
Made with Cursor