Skip to content

fix(web): align DS package version with primitive imports#30749

Open
joechaotic wants to merge 2 commits into
NousResearch:mainfrom
joechaotic:wade/fix-30698-ds-nix
Open

fix(web): align DS package version with primitive imports#30749
joechaotic wants to merge 2 commits into
NousResearch:mainfrom
joechaotic:wade/fix-30698-ds-nix

Conversation

@joechaotic

Copy link
Copy Markdown

Summary\n- Supersedes/repairs #30698 by updating @nous-research/ui to a version that exports the DS primitive subpaths used by the web refactor.\n- Updates package-lock so Nix/npm builds resolve the same DS package locally and in CI.\n- Keeps useModalBehavior local because @nous-research/ui does not export that hook.\n\n## Test Plan\n- npm run build (from web/)\n- git diff --check\n\nNotes: I could not push directly to the original branch (#30698) because this checkout has read-only permission on NousResearch/hermes-agent.

@joechaotic joechaotic requested a review from a team May 23, 2026 04:27
austinpickett and others added 2 commits May 23, 2026 04:28
Replace locally-forked UI components and hooks with their newly
promoted counterparts from @nous-research/ui:

Deleted local components (now in DS):
- components/ui/input.tsx, label.tsx, separator.tsx, card.tsx,
  confirm-dialog.tsx
- components/Toast.tsx, BottomPickSheet.tsx, NouiTypography.tsx
- hooks/useToast.ts, useModalBehavior.ts, useBelowBreakpoint.ts,
  useConfirmDelete.ts

Import updates across 25 files to use DS deep imports:
- @nous-research/ui/ui/components/{input,label,separator,card,
  confirm-dialog,toast,bottom-sheet}
- @nous-research/ui/ui/components/typography (replaces NouiTypography)
- @nous-research/ui/hooks/{use-toast,use-modal-behavior,
  use-below-breakpoint,use-confirm-delete}

Requires design-language >= feat/promote-hermes-web-primitives.

Co-authored-by: Cursor <cursoragent@cursor.com>
@joechaotic joechaotic force-pushed the wade/fix-30698-ds-nix branch from 04ad5d9 to b0fe829 Compare May 23, 2026 04:30
@alt-glitch alt-glitch added type/refactor Code restructuring, no behavior change P3 Low — cosmetic, nice to have comp/tui Terminal UI (ui-tui/ + tui_gateway/) javascript Pull requests that update javascript code labels May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) javascript Pull requests that update javascript code P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants