mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
Throwaway prototype, not for merge. Adds a shared reducer for message.upserted / part.delta / message.removed, a 2,048-frame replay ring that resumes from Last-Event-ID, and rewires the Solid data store and TUI rows onto the reducer. The server does not emit the new events yet.
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@opencode/client",
|
|
"version": "2.1.4",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/anomalyco/opencode.git",
|
|
"directory": "packages/client"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": "./src/promise/index.ts",
|
|
"./promise": "./src/promise/index.ts",
|
|
"./promise/api": "./src/promise/api.ts",
|
|
"./service": "./src/promise/service.ts",
|
|
"./solid": "./src/solid/index.ts",
|
|
"./effect": "./src/effect/index.ts",
|
|
"./effect/api": "./src/effect/api.ts",
|
|
"./effect/service": "./src/effect/service.ts",
|
|
"./mcp": "./src/mcp.ts",
|
|
"./transcript-prototype": "./src/transcript.prototype.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "bun run script/build-package.ts",
|
|
"generate": "bun run script/build.ts",
|
|
"check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
|
|
"test": "bun test --timeout 5000",
|
|
"typecheck": "bun check --no-script",
|
|
"typecheck:tsc": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@opencode/schema": "workspace:*",
|
|
"@opencode/protocol": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"effect": "catalog:",
|
|
"solid-js": ">=1.9.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"effect": {
|
|
"optional": true
|
|
},
|
|
"solid-js": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@effect/platform-node": "catalog:",
|
|
"@modelcontextprotocol/client": "2.3.1",
|
|
"@opencode/httpapi-codegen": "workspace:*",
|
|
"@tsconfig/bun": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@typescript/native": "catalog:",
|
|
"effect": "catalog:",
|
|
"solid-js": "catalog:"
|
|
}
|
|
}
|