@beeos-ai/bma-executor-sdk 0.4.8 → 0.4.9
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 +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,23 +6,23 @@ Executor (`ExecutorClient`), harness (`Harness`) and agent ends of the BMA
|
|
|
6
6
|
Executor Protocol `bma.executor.v1.1` (and `v1`), with the same three parts and
|
|
7
7
|
behavior as the [Go `executor` module](../README.md). Protocol types are
|
|
8
8
|
generated from the contract ([`src/generated/executor.ts`](src/generated/executor.ts),
|
|
9
|
-
snapshot and lock in [`contracts/bma/executor`](
|
|
9
|
+
snapshot and lock in [`contracts/bma/executor`](../contracts/bma/executor));
|
|
10
10
|
the runtime is handwritten. Transports: WebSocket, WebSocket over a Unix domain
|
|
11
11
|
socket or Windows named pipe (`unix://`, `npipe://`), in-process.
|
|
12
12
|
|
|
13
13
|
| | |
|
|
14
14
|
| --- | --- |
|
|
15
|
-
| Version | 0.4.
|
|
16
|
-
| Protocol | `bma.executor.v1.1` (contract 1.1.0, [`lock.json`](
|
|
15
|
+
| Version | 0.4.9 (tag `v0.4.9`), see [CHANGELOG](../CHANGELOG.md) |
|
|
16
|
+
| Protocol | `bma.executor.v1.1` (contract 1.1.0, [`lock.json`](../contracts/bma/executor/lock.json)) |
|
|
17
17
|
| Node.js | 20 or newer; ESM, depends on `ws` |
|
|
18
|
-
| Integration guide | [docs/executor](
|
|
18
|
+
| Integration guide | [docs/executor](../docs/executor/README.md) ([中文](../docs/executor/README.zh-CN.md)) |
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
npm install @beeos-ai/bma-executor-sdk@0.4.
|
|
21
|
+
npm install @beeos-ai/bma-executor-sdk@0.4.9
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
The REST / façade client is the separate package
|
|
25
|
-
[`@beeos-ai/bma-sdk`](
|
|
25
|
+
[`@beeos-ai/bma-sdk`](https://github.com/beeos-ai/bma-sdk/tree/main/typescript).
|
|
26
26
|
|
|
27
27
|
### Executor quick start
|
|
28
28
|
|
|
@@ -137,7 +137,7 @@ executor and in-memory platform in one process).
|
|
|
137
137
|
|
|
138
138
|
### Go ↔ TypeScript
|
|
139
139
|
|
|
140
|
-
| Go (`github.com/beeos-ai/bma-
|
|
140
|
+
| Go (`github.com/beeos-ai/bma-executor-sdk`) | TypeScript (`@beeos-ai/bma-executor-sdk`) |
|
|
141
141
|
| --- | --- |
|
|
142
142
|
| `NewClient(Options)` / `Start` / `Stop` | `new ExecutorClient(options)` / `start()` / `stop()` |
|
|
143
143
|
| `Options.TokenSource`, `StaticToken` | `tokenSource`, `staticToken` (or `dialer`) |
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beeos-ai/bma-executor-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "BMA executor protocol (bma.executor.v1.1): executor, harness and agent ends with WebSocket, local socket and in-process transports.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/beeos-ai/bma-
|
|
9
|
-
"directory": "
|
|
8
|
+
"url": "git+https://github.com/beeos-ai/bma-executor-sdk.git",
|
|
9
|
+
"directory": "typescript"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|