Skip to content

Commit 8763628

Browse files
chore: make the four library packages publishable (Codex #12) (#13)
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.
1 parent a5a7681 commit 8763628

8 files changed

Lines changed: 55 additions & 7 deletions

File tree

examples/quickstart.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ packages:
1919
- "asil/packages/*" # add this line
2020
```
2121
22-
`pnpm install` will link them in. Or, once published, install from npm:
22+
`pnpm install` will link them in. Or, once published, install the library packages from npm:
2323

2424
```bash
25-
pnpm add asil-cost-controller asil-thought-multiplier asil-improvement-loop asil-runners
25+
pnpm add asil-cost-controller asil-thought-multiplier asil-improvement-loop asil-analyzer
2626
```
2727

28+
(`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.)
29+
2830
## 2. Set up environment
2931

3032
Create `.env` in your repo root:

packages/asil-analyzer/package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
{
22
"name": "asil-analyzer",
33
"version": "0.0.1",
4-
"private": true,
4+
"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.",
5+
"license": "MIT",
56
"type": "module",
67
"main": "./dist/index.js",
78
"types": "./dist/index.d.ts",
8-
"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.",
9+
"files": ["dist", "README.md"],
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/telivity-otaip/asil.git",
13+
"directory": "packages/asil-analyzer"
14+
},
15+
"publishConfig": { "access": "public" },
916
"scripts": {
1017
"build": "tsup src/index.ts --format esm --dts",
1118
"test": "vitest run",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# asil-cost-controller
2+
3+
Token-budget governor for autonomous LLM agents — per-task budgets, checkpoints, kill switch, daily caps. Part of [ASIL](https://github.com/telivity-otaip/asil).
4+
5+
See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture.

packages/asil-cost-controller/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "asil-cost-controller",
33
"version": "0.0.1",
4-
"private": true,
4+
"description": "Token-budget governor for autonomous LLM agents: per-task budgets, checkpoints, kill switch, daily caps. Part of ASIL.",
5+
"license": "MIT",
56
"type": "module",
67
"main": "./dist/index.js",
78
"types": "./dist/index.d.ts",
9+
"files": ["dist", "README.md"],
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/telivity-otaip/asil.git",
13+
"directory": "packages/asil-cost-controller"
14+
},
15+
"publishConfig": { "access": "public" },
816
"scripts": {
917
"build": "tsup src/index.ts --format esm --dts",
1018
"test": "vitest run",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# asil-improvement-loop
2+
3+
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).
4+
5+
See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture.

packages/asil-improvement-loop/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "asil-improvement-loop",
33
"version": "0.0.1",
4-
"private": true,
4+
"description": "Autonomous code-improvement pipeline: scan, isolate, execute, self-review, adversarial gate, domain guard, PR. Part of ASIL.",
5+
"license": "MIT",
56
"type": "module",
67
"main": "./dist/index.js",
78
"types": "./dist/index.d.ts",
9+
"files": ["dist", "README.md"],
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/telivity-otaip/asil.git",
13+
"directory": "packages/asil-improvement-loop"
14+
},
15+
"publishConfig": { "access": "public" },
816
"scripts": {
917
"build": "tsup src/index.ts --format esm --dts",
1018
"test": "vitest run",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# asil-thought-multiplier
2+
3+
Strategic-thinking layer for autonomous agents — router, specialized thinkers, synthesizer, papa agent. Part of [ASIL](https://github.com/telivity-otaip/asil).
4+
5+
See the [ASIL README](https://github.com/telivity-otaip/asil#readme) for the full architecture.

packages/asil-thought-multiplier/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "asil-thought-multiplier",
33
"version": "0.0.1",
4-
"private": true,
4+
"description": "Strategic-thinking layer for autonomous agents: router, specialized thinkers, synthesizer, papa agent. Part of ASIL.",
5+
"license": "MIT",
56
"type": "module",
67
"main": "./dist/index.js",
78
"types": "./dist/index.d.ts",
9+
"files": ["dist", "README.md"],
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/telivity-otaip/asil.git",
13+
"directory": "packages/asil-thought-multiplier"
14+
},
15+
"publishConfig": { "access": "public" },
816
"scripts": {
917
"build": "tsup src/index.ts --format esm --dts",
1018
"test": "vitest run",

0 commit comments

Comments
 (0)