From 958f8c18692b142bda0148bf49ffc2e58895ea05 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 1 Apr 2026 10:52:59 +0800 Subject: [PATCH] chore: publish @gitlawb/openclaude package --- README.md | 4 +++- package.json | 15 ++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28171555..5d17d276 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ All of Claude Code's tools work — bash, file read/write/edit, grep, glob, agen ### Option A: npm (recommended) ```bash -npm install -g openclaude +npm install -g @gitlawb/openclaude ``` ### Option B: From source (requires Bun) @@ -68,6 +68,8 @@ node dist/cli.mjs That's it. The tool system, streaming, file editing, multi-step reasoning — everything works through the model you picked. +The npm package name is `@gitlawb/openclaude`, but the installed CLI command is still `openclaude`. + --- ## Provider Examples diff --git a/package.json b/package.json index a823c8d0..b9266bf2 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,16 @@ { - "name": "openclaude", + "name": "@gitlawb/openclaude", "version": "0.1.0", "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models", "type": "module", "bin": { "openclaude": "./bin/openclaude" }, + "files": [ + "bin/", + "dist/cli.mjs", + "README.md" + ], "scripts": { "build": "bun run scripts/build.ts", "dev": "bun run build && node dist/cli.mjs", @@ -26,7 +31,8 @@ "doctor:runtime:json": "bun run scripts/system-check.ts --json", "doctor:report": "bun run scripts/system-check.ts --out reports/doctor-runtime.json", "hardening:check": "bun run smoke && bun run doctor:runtime", - "hardening:strict": "bun run typecheck && bun run hardening:check" + "hardening:strict": "bun run typecheck && bun run hardening:check", + "prepack": "npm run build" }, "dependencies": { "@alcalzone/ansi-tokenize": "^0.3.0", @@ -123,5 +129,8 @@ "ollama", "gemini" ], - "license": "MIT" + "license": "MIT", + "publishConfig": { + "access": "public" + } }