Files
tabs/package.json
zeekay e1c89d39fd @hanzo/tabs 0.2.0: Tabs is one component, drawn by every host
`Tabs` is the fleet read with the host's bearer, nothing drawn before the
registry answers, then the workspace with the plan's stream count. tabs.hanzo.ai
draws it, and so do the app at hanzo.ai/tabs and platform.hanzo.ai/tabs; the
app's copy rendered the workspace before the first read, so a reader with no
saved layout got no pane, and it never passed the stream count.

- `useFleet` takes the bearer or a reader of it, asked on every poll and mint,
  so a session renewed in storage is used without a re-render.
- `Workspace` takes `at`, a machine named by the host's address: a pane on it
  is focused, or a shell on it opens beside the rest.
- `createSandbox` read the running sandboxes from api.hanzo.ai whatever origin
  it was given.
- CI runs on GitHub, where hanzo-inc has runners: the checks, the site, and an
  npm publish when package.json is ahead of the registry.
2026-10-22 19:35:15 -07:00

66 lines
1.8 KiB
JSON

{
"name": "@hanzo/tabs",
"version": "0.2.0",
"license": "MIT",
"description": "Keep tabs on your agents. A browser terminal workspace for the machines you have linked and the ones Hanzo starts: tabs.hanzo.ai, and the component hanzo.ai and platform.hanzo.ai draw.",
"scripts": {
"dev": "next dev",
"build": "next build --webpack",
"start": "next start",
"test": "jest",
"typecheck": "tsc --noEmit",
"test:surface": "next build --webpack && playwright test"
},
"devDependencies": {
"@hanzo/design": "catalog:",
"@hanzo/gui": "catalog:",
"@hanzo/i18n": "catalog:",
"@hanzo/iam": "catalog:",
"@hanzo/ui": "catalog:",
"@playwright/test": "catalog:",
"@types/jest": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"jest": "catalog:",
"lucide-react": "catalog:",
"next": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-native": "catalog:",
"react-native-web": "catalog:",
"typescript": "catalog:"
},
"packageManager": "[email protected]",
"types": "./index.ts",
"exports": {
".": "./index.ts",
"./workspace": "./components/workspace.tsx",
"./panes": "./lib/panes.ts",
"./tiles": "./lib/tiles.ts",
"./api": "./lib/api.ts",
"./fleet": "./lib/fleet.ts",
"./tabs": "./components/tabs.tsx"
},
"files": [
"index.ts",
"components/tabs.tsx",
"components/workspace.tsx",
"lib/api.ts",
"lib/fleet.ts",
"lib/panes.ts",
"lib/plan.ts",
"lib/tiles.ts",
"README.md",
"LICENSE"
],
"sideEffects": false,
"peerDependencies": {
"@hanzo/gui": "^8.3.5",
"@hanzo/i18n": ">=0.4.0",
"@hanzo/ui": "^8.28.0",
"lucide-react": "^1.33.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}