@botiverse/oar 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/runtimes/cursor/index.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ The package has six public entry points:
|
|
|
68
68
|
|
|
69
69
|
Brand SVG files are exported at `@botiverse/oar/assets/brands/<runtime-id>.svg`. Any other deep import (`@botiverse/oar/dist/...`, source paths) is internal and may break without notice.
|
|
70
70
|
|
|
71
|
-
Antigravity, Grok, Kimi, and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. Pi and Cursor run in the host process through their SDKs. The pi SDK (`@earendil-works/pi-coding-agent`) is a dependency of this package. `@cursor/sdk` is an optional peer dependency, and cursor is not in `defaultRuntimes`: install the SDK (`npm install @cursor/sdk@1.0.
|
|
71
|
+
Antigravity, Grok, Kimi, and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. Pi and Cursor run in the host process through their SDKs. The pi SDK (`@earendil-works/pi-coding-agent`) is a dependency of this package. `@cursor/sdk` is an optional peer dependency, and cursor is not in `defaultRuntimes`: install the SDK (`npm install @cursor/sdk@1.0.36`) and hand it over, `createRuntimeRegistry([...defaultRuntimes.list(), createCursorRuntime({ sdk: () => import("@cursor/sdk") })])`. Written in your code, that import fails your compile if the package is missing. It is Cursor's own package under Cursor's terms, and it signs in with `CURSOR_API_KEY` or its own `Cursor.auth.login()`.
|
|
72
72
|
|
|
73
73
|
Community runtimes are contributed and maintained outside the core team (each maintainer is named on its runtime page). They ship in this package from a separate entry point, `@botiverse/oar/community`, and are not in `defaultRuntimes`: `createRuntimeRegistry([...defaultRuntimes.list(), createMorphRuntime()])` adds [Mister Morph](https://github.com/botiverse/oar/blob/main/docs/runtimes/morph.md), driven through its Console Runtime API. The `oar` CLI includes them.
|
|
74
74
|
|
|
@@ -2,7 +2,7 @@ import { type Runtime } from "../../contracts/runtime.js";
|
|
|
2
2
|
import { type CursorSdk } from "./sdk.js";
|
|
3
3
|
export interface CursorRuntimeOptions {
|
|
4
4
|
/**
|
|
5
|
-
* Loads `@cursor/sdk` 1.0.
|
|
5
|
+
* Loads `@cursor/sdk` 1.0.36, which the host installs (an optional peer
|
|
6
6
|
* dependency of OAR): `() => import("@cursor/sdk")`. Written in the host's
|
|
7
7
|
* own code, the import fails the host's compile when the package is
|
|
8
8
|
* missing, checks the SDK's types against `CursorSdk`, and is visible to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/oar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "A programming interface for all agent harnesses: provider-independent contracts for controlling and observing agent runtimes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"which": "^2.0.2"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@cursor/sdk": "1.0.
|
|
65
|
+
"@cursor/sdk": "1.0.36"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@cursor/sdk": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@cursor/sdk": "1.0.
|
|
73
|
+
"@cursor/sdk": "1.0.36",
|
|
74
74
|
"@types/cross-spawn": "^6.0.6",
|
|
75
75
|
"@types/which": "^2.0.2"
|
|
76
76
|
},
|