Files
ui/pkgs/agent-ui/package.json
zeekayandGitHub 806fc0f0df decouple @hanzogui, standardize on 'pkgs/', etc (#228)
* refactor: decouple @hanzo/ui from hanzogui

  Make @hanzo/ui shadcn-only — no hanzogui/Tamagui coupling.

  - remove primitives/bases (gui/admin/svelte/vue) re-exports
  - drop @hanzogui peerDependencies + peerDependenciesMeta entries
  - add check-no-hanzogui guard, wired into build
  - fix latent NodeJS.Timeout types to keep the build green

* refactor: remove duplicate @hanzo/brand from the monorepo

  @hanzo/brand is owned by the standalone hanzoai/brand (the npm-canonical
  source); this monorepo's copy was unused and had drifted.

  - delete pkg/brand
  - add check-no-brand-pkg guard (wired into `check`) so it can't reappear

* refactor(ui): stop importing from the app; use own cn util

  pkg/ui pulled `cn` from @/lib/utils (../../app) — an inverted dependency on
  the consuming app. Point the animation components at pkg/ui's own cn and
  drop the @/app, @/registry, @/lib tsconfig path aliases.

* fix(ui): type errors; stop tracking the root lockfile

  - ModelCard: lucide-react dropped the Github icon → use Code
  - drawer: annotate DrawerTrigger/DrawerClose (radix type portability)
  - untrack root pnpm-lock.yaml; CI → --no-frozen-lockfile

* release: bump @hanzo/ui to 5.7.0

* refactor: rename pkg/ → pkgs/, merge packages/ into it

  standardize on 'pkgs/': move pkg/* and packages/* into pkgs/.
  Update workspace globs, CI, scripts, and config references accordingly.
2026-06-19 15:30:30 -10:00

132 lines
3.4 KiB
JSON

{
"name": "@hanzo/agent-ui",
"version": "0.1.0",
"description": "Hanzo Agent Cloud UI components — dashboard, nodes, workflows, executions, identity, compute",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"scope": "@hanzo"
},
"author": "Hanzo AI, Inc.",
"license": "BSD-3-Clause",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"style",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/react-sdk.git",
"directory": "pkgs/agent-ui"
},
"keywords": [
"agents",
"ai",
"hanzo",
"control-plane",
"workflows",
"dashboard",
"did",
"verifiable-credentials",
"compute",
"vm"
],
"scripts": {
"build": "npm run clean && tsup --config tsup.config.ts && tsc --emitDeclarationOnly --declaration --outDir dist",
"build:watch": "tsup --watch",
"clean": "rm -rf dist",
"tc": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dashboard": {
"types": "./dist/dashboard/index.d.ts",
"import": "./dist/dashboard/index.mjs",
"require": "./dist/dashboard/index.js"
},
"./nodes": {
"types": "./dist/nodes/index.d.ts",
"import": "./dist/nodes/index.mjs",
"require": "./dist/nodes/index.js"
},
"./workflows": {
"types": "./dist/workflows/index.d.ts",
"import": "./dist/workflows/index.mjs",
"require": "./dist/workflows/index.js"
},
"./executions": {
"types": "./dist/executions/index.d.ts",
"import": "./dist/executions/index.mjs",
"require": "./dist/executions/index.js"
},
"./identity": {
"types": "./dist/identity/index.d.ts",
"import": "./dist/identity/index.mjs",
"require": "./dist/identity/index.js"
},
"./compute": {
"types": "./dist/compute/index.d.ts",
"import": "./dist/compute/index.mjs",
"require": "./dist/compute/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.mjs",
"require": "./dist/hooks/index.js"
},
"./services": {
"types": "./dist/services/index.d.ts",
"import": "./dist/services/index.mjs",
"require": "./dist/services/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.mjs",
"require": "./dist/types/index.js"
},
"./lib": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.mjs",
"require": "./dist/lib/index.js"
},
"./style/*": "./style/*"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"tailwind-merge": "^3.5.0"
},
"peerDependencies": {
"@hanzo/ui": "^5.0.0",
"@xyflow/react": "^12.0.0",
"lucide-react": ">=0.400.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"recharts": "^2.0.0 || ^3.0.0"
},
"peerDependenciesMeta": {
"@xyflow/react": {
"optional": true
},
"recharts": {
"optional": true
}
},
"devDependencies": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"tsup": "^8.5.1",
"typescript": "5.9.3"
}
}