Files
zeekay 8a4a6bfe6d make build lands every target in dist/
make build builds the workspace, or one target with target=chrome
(firefox, safari, or any packages/<name>). browser writes dist/chrome,
firefox and safari itself; every other package builds in place, where
its package.json points, and dist/<name> links to it. make test runs
every suite, and all of them pass.

The Makefile, README and root src/, scripts/, test/, docs/, examples/,
benchmark/ and tsconfigs belonged to the hanzo-dev CLI this repo used
to be; none of it built or described anything here. CLAUDE.md, AGENTS.md
and GEMINI.md are symlinks to LLM.md and stay out of git.

jupyter ran a jupyter binary nobody installs; it runs under uvx pinned
to jupyterlab 4.5, since 4.6 fetches core metadata from GitHub at build
time. pdf's tests load pdf.js's legacy build, the one made for Node.
vscode's test is its vitest suite; the Electron harness is test:electron.

Claude-Session: https://claude.ai/code/session_01Dc8DXc3fEQCRHUa6XWK4Ku
2026-09-29 11:45:42 -07:00

86 lines
2.8 KiB
JSON

{
"name": "@hanzo/jupyter",
"version": "1.0.0",
"description": "Hanzo AI for JupyterLab — an in-notebook AI assistant. A side-panel assistant with a model picker and streaming output, plus cell actions (explain, fix/debug from a traceback, document, optimize, generate a cell from a prompt). Model calls route through the api.hanzo.ai gateway via @hanzo/ai; the Hanzo `sk-` key is set in JupyterLab settings.",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension",
"ai",
"hanzo",
"llm",
"notebook"
],
"homepage": "https://github.com/hanzoai/extension",
"bugs": {
"url": "https://github.com/hanzoai/extension/issues"
},
"license": "MIT",
"author": "Hanzo AI",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/extension.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"styleModule": "style/index.js",
"sideEffects": [
"style/*.css",
"style/index.js"
],
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"schema/*.json"
],
"scripts": {
"build": "pnpm build:lib && pnpm build:labextension:dev",
"build:prod": "pnpm clean && pnpm build:lib:prod && pnpm build:labextension",
"build:lib": "tsc --sourceMap",
"build:lib:prod": "tsc",
"build:labextension": "uvx --from 'jupyterlab>=4.5,<4.6' jupyter labextension build .",
"build:labextension:dev": "uvx --from 'jupyterlab>=4.5,<4.6' jupyter labextension build --development True .",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"clean:all": "pnpm clean && rimraf hanzo_jupyter/labextension",
"install:extension": "pnpm build",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w --sourceMap",
"watch:labextension": "uvx --from 'jupyterlab>=4.5,<4.6' jupyter labextension watch .",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "../../node_modules/tsgo/bin/tsc --noEmit"
},
"dependencies": {
"@hanzo/ai": "catalog:",
"@hanzo/iam": "catalog:",
"@jupyterlab/application": "^4.0.0",
"@jupyterlab/apputils": "^4.0.0",
"@jupyterlab/cells": "^4.0.0",
"@jupyterlab/notebook": "^4.0.0",
"@jupyterlab/settingregistry": "^4.0.0",
"@jupyterlab/ui-components": "^4.0.0",
"@lumino/widgets": "^2.0.0",
"react": "^18.2.0 || ^19.0.0"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0",
"@types/react": "catalog:",
"npm-run-all": "catalog:",
"rimraf": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"jupyterlab": {
"extension": true,
"schemaDir": "schema",
"outputDir": "hanzo_jupyter/labextension"
}
}