mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
5b4b42be8b
The Reactor is an evented reconciliation harness for AI-maintained
world state. Cost scales with surprise, not time.
This adds:
- @openprose/reactor — the runtime: content-addressed receipt
kernel, memoization, dual-clock forecast scheduling, model-authored
policy compile/recompile/rollback, composition with cycle
detection, two adapter seams.
- @openprose/reactor-cradle — the deterministic evaluation harness.
- The prose CLI wired to the Reactor (prose compile / serve / status).
- Bundled examples that run end-to-end from a clean checkout.
- The OIDC trusted-publishing CI workflow.
Measured cost thesis (deterministic Cradle scenarios):
static 24h world — Reactor 46 fresh : 46 reused / 2 model calls
no-memo control 92 : 0
naive loop 256 : 0
event-changing — Reactor 74 : 74 / 2 model calls
no-memo control 148 : 0
naive loop 148 : 0
Spec: index/spec/02-ReactorHarness.md (openprose/index).
86 lines
2.0 KiB
JSON
86 lines
2.0 KiB
JSON
{
|
|
"name": "@openprose/prose-cli",
|
|
"version": "0.14.0",
|
|
"description": "Run OpenProse commands through first-party Codex and Claude agent SDKs.",
|
|
"type": "module",
|
|
"packageManager": "pnpm@9.15.0",
|
|
"oclif": {
|
|
"bin": "prose",
|
|
"commands": {
|
|
"strategy": "explicit",
|
|
"target": "./dist/commands/index.js"
|
|
},
|
|
"additionalHelpFlags": [
|
|
"-h"
|
|
],
|
|
"additionalVersionFlags": [
|
|
"-V"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openprose/prose.git",
|
|
"directory": "tools/cli"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/openprose/prose/issues"
|
|
},
|
|
"homepage": "https://github.com/openprose/prose/tree/main/tools/cli#readme",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"prose": "dist/index.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && tsc -p tsconfig.build.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest --run",
|
|
"audit:policy": "node scripts/audit-policy.mjs",
|
|
"smoke:harness": "node scripts/smoke-harness.mjs",
|
|
"dev": "tsx src/index.ts",
|
|
"clean": "rm -rf dist",
|
|
"release:tarball": "node scripts/build-release-tarball.mjs",
|
|
"prepack": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"cli",
|
|
"codex",
|
|
"openprose",
|
|
"prose"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/claude-agent-sdk": "^0.2.90",
|
|
"@hono/node-server": "^1.19.14",
|
|
"@oclif/core": "^4.10.6",
|
|
"@openai/codex-sdk": "^0.125.0",
|
|
"@openprose/reactor": "workspace:*",
|
|
"hono": "^4.12.16"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.39",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|