From c0d434cdfa1db3373ea0ae9335711d1769bd371b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Milicevic?= Date: Wed, 17 Jun 2026 16:41:20 -0500 Subject: [PATCH] chore: make the four library packages publishable (Codex #12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit asil-cost-controller, asil-thought-multiplier, asil-improvement-loop, and asil-analyzer drop `private: true` and gain the metadata npm needs: description, license (MIT), repository+directory, files: [dist, README.md], and publishConfig.access=public. Each gets a short README so its npm page isn't blank. asil-runners stays private — it's the reference CLI/app, not a library; the quickstart now tells consumers to compose the four libraries and vendor the runner. This is publish-READINESS only. Actual `pnpm publish -r` (which hits the public npm registry and needs npm auth) is left for a human to trigger: pnpm -r --filter './packages/asil-*' publish --access public --no-git-checks Verify the unscoped names are available first. No code changes; 400 tests still pass. --- examples/quickstart.md | 6 ++++-- packages/asil-analyzer/package.json | 11 +++++++++-- packages/asil-cost-controller/README.md | 5 +++++ packages/asil-cost-controller/package.json | 10 +++++++++- packages/asil-improvement-loop/README.md | 5 +++++ packages/asil-improvement-loop/package.json | 10 +++++++++- packages/asil-thought-multiplier/README.md | 5 +++++ packages/asil-thought-multiplier/package.json | 10 +++++++++- 8 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 packages/asil-cost-controller/README.md create mode 100644 packages/asil-improvement-loop/README.md create mode 100644 packages/asil-thought-multiplier/README.md diff --git a/examples/quickstart.md b/examples/quickstart.md index d99be36..4ec6552 100644 --- a/examples/quickstart.md +++ b/examples/quickstart.md @@ -19,12 +19,14 @@ packages: - "asil/packages/*" # add this line ``` -`pnpm install` will link them in. Or, once published, install from npm: +`pnpm install` will link them in. Or, once published, install the library packages from npm: ```bash -pnpm add asil-cost-controller asil-thought-multiplier asil-improvement-loop asil-runners +pnpm add asil-cost-controller asil-thought-multiplier asil-improvement-loop asil-analyzer ``` +(`asil-runners` is the reference CLI/app, not a published library — vendor it or copy its wiring. The four libraries above are what you compose into your own runner.) + ## 2. Set up environment Create `.env` in your repo root: diff --git a/packages/asil-analyzer/package.json b/packages/asil-analyzer/package.json index 97f29ca..82f2f34 100644 --- a/packages/asil-analyzer/package.json +++ b/packages/asil-analyzer/package.json @@ -1,11 +1,18 @@ { "name": "asil-analyzer", "version": "0.0.1", - "private": true, + "description": "Deterministic reasoning-quality analyzer for ASIL transcripts: captures LLM/Codex calls, splits per-task, scans for five failure modes (sycophancy, first-item bias, belief-action gap, drift, multi-hop decay). Zero LLM calls in analysis.", + "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", - "description": "Deterministic reasoning-quality analyzer for ASIL transcripts: captures LLM/Codex calls, splits per-task, scans for five failure modes (sycophancy, first-item bias, belief-action gap, drift, multi-hop decay). Zero LLM calls in analysis.", + "files": ["dist", "README.md"], + "repository": { + "type": "git", + "url": "git+https://github.com/telivity-otaip/asil.git", + "directory": "packages/asil-analyzer" + }, + "publishConfig": { "access": "public" }, "scripts": { "build": "tsup src/index.ts --format esm --dts", "test": "vitest run", diff --git a/packages/asil-cost-controller/README.md b/packages/asil-cost-controller/README.md new file mode 100644 index 0000000..2254886 --- /dev/null +++ b/packages/asil-cost-controller/README.md @@ -0,0 +1,5 @@ +# asil-cost-controller + +Token-budget governor for autonomous LLM agents — per-task budgets, checkpoints, kill switch, daily caps. Part of [ASIL](https://github.com/telivity-otaip/asil). + +See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture. diff --git a/packages/asil-cost-controller/package.json b/packages/asil-cost-controller/package.json index f06872e..623f7bc 100644 --- a/packages/asil-cost-controller/package.json +++ b/packages/asil-cost-controller/package.json @@ -1,10 +1,18 @@ { "name": "asil-cost-controller", "version": "0.0.1", - "private": true, + "description": "Token-budget governor for autonomous LLM agents: per-task budgets, checkpoints, kill switch, daily caps. Part of ASIL.", + "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", + "files": ["dist", "README.md"], + "repository": { + "type": "git", + "url": "git+https://github.com/telivity-otaip/asil.git", + "directory": "packages/asil-cost-controller" + }, + "publishConfig": { "access": "public" }, "scripts": { "build": "tsup src/index.ts --format esm --dts", "test": "vitest run", diff --git a/packages/asil-improvement-loop/README.md b/packages/asil-improvement-loop/README.md new file mode 100644 index 0000000..d1d66b1 --- /dev/null +++ b/packages/asil-improvement-loop/README.md @@ -0,0 +1,5 @@ +# asil-improvement-loop + +The autonomous code-improvement pipeline — scan, isolate, execute, 3-persona self-review, adversarial gate, domain guard, PR. Part of [ASIL](https://github.com/telivity-otaip/asil). + +See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture. diff --git a/packages/asil-improvement-loop/package.json b/packages/asil-improvement-loop/package.json index ba7849e..0c9b330 100644 --- a/packages/asil-improvement-loop/package.json +++ b/packages/asil-improvement-loop/package.json @@ -1,10 +1,18 @@ { "name": "asil-improvement-loop", "version": "0.0.1", - "private": true, + "description": "Autonomous code-improvement pipeline: scan, isolate, execute, self-review, adversarial gate, domain guard, PR. Part of ASIL.", + "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", + "files": ["dist", "README.md"], + "repository": { + "type": "git", + "url": "git+https://github.com/telivity-otaip/asil.git", + "directory": "packages/asil-improvement-loop" + }, + "publishConfig": { "access": "public" }, "scripts": { "build": "tsup src/index.ts --format esm --dts", "test": "vitest run", diff --git a/packages/asil-thought-multiplier/README.md b/packages/asil-thought-multiplier/README.md new file mode 100644 index 0000000..11ebab9 --- /dev/null +++ b/packages/asil-thought-multiplier/README.md @@ -0,0 +1,5 @@ +# asil-thought-multiplier + +Strategic-thinking layer for autonomous agents — router, specialized thinkers, synthesizer, papa agent. Part of [ASIL](https://github.com/telivity-otaip/asil). + +See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture. diff --git a/packages/asil-thought-multiplier/package.json b/packages/asil-thought-multiplier/package.json index 0f7887a..c866be4 100644 --- a/packages/asil-thought-multiplier/package.json +++ b/packages/asil-thought-multiplier/package.json @@ -1,10 +1,18 @@ { "name": "asil-thought-multiplier", "version": "0.0.1", - "private": true, + "description": "Strategic-thinking layer for autonomous agents: router, specialized thinkers, synthesizer, papa agent. Part of ASIL.", + "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", + "files": ["dist", "README.md"], + "repository": { + "type": "git", + "url": "git+https://github.com/telivity-otaip/asil.git", + "directory": "packages/asil-thought-multiplier" + }, + "publishConfig": { "access": "public" }, "scripts": { "build": "tsup src/index.ts --format esm --dts", "test": "vitest run",