Files
tabs/package.json
James ce12991c35 fix(workspace): a pane that cannot connect offers Stop; a registry that never answers errors (0.1.18)
Cause
- Tabs showed grey placeholder cards for as long as a read of the registry
  (targets, sessions) or the plan hung: the reads had no deadline, and the
  skeleton shows until one read lands or fails.
- Starting a cloud terminal leases a sandbox before its pane connects. When the
  pane then failed ("The terminal did not come up") the sandbox kept running,
  and counting against the lease, with nothing on screen saying so; closing the
  pane was the only control.

Change
- Each read carries a 15s AbortSignal.timeout, so a hang fails into the
  existing error banner and its Try again.
- The failed pane names the machine, says it is still running, and has a Stop
  machine button. Stopping parks the sandbox with POST /v1/sandbox/:id/pause,
  the call @hanzo/app already makes for desktops; useFleet exposes it as `stop`
  and Workspace takes it as the optional `onStop`.
- package.json 0.1.17 -> 0.1.18.

Testing
- tsc --noEmit: clean.
- jest (whole suite): 6 suites, 107 tests passed, including tests/timeout.test.ts.
- Not run: Playwright e2e, and the change in a browser.
2026-11-21 21:31:27 +00:00

64 lines
1.7 KiB
JSON

{
"name": "@hanzo/tabs",
"version": "0.1.18",
"license": "MIT",
"description": "Keep tabs on your agents. A browser terminal workspace for machines you have linked — the app at tabs.hanzo.ai, and the component its other hosts mount.",
"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/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"
},
"files": [
"LICENSE",
"README.md",
"components/agent.tsx",
"components/workspace.tsx",
"index.ts",
"lib/api.ts",
"lib/fleet.ts",
"lib/panes.ts",
"lib/plan.ts",
"lib/scheme.ts",
"lib/tiles.ts"
],
"sideEffects": false,
"peerDependencies": {
"@hanzo/gui": "^8.3.5",
"@hanzo/ui": "^8.28.0",
"lucide-react": "^1.33.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}