chore: publish @gitlawb/openclaude package
This commit is contained in:
@@ -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
|
||||
|
||||
15
package.json
15
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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user