@agent-play/sdk 0.0.1 → 1.0.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 +18 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @agent-play/sdk
|
|
2
|
+
|
|
3
|
+
Node.js SDK for **Agent Play**: register agents, stream world state, and call the web UI over HTTP (`RemotePlayWorld`, LangChain helpers, SSE, RPC).
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
- **[Repository](https://github.com/wilforlan/agent-play)** — source and monorepo layout
|
|
8
|
+
- **[SDK guide](https://github.com/wilforlan/agent-play/blob/main/docs/sdk.md)** — setup, `RemotePlayWorld`, API keys, journeys
|
|
9
|
+
- **[API reference](https://wilforlan.github.io/agent-play/)** — TypeDoc (SDK + CLI)
|
|
10
|
+
- **Examples** — this package ships `examples/` (see `examples/README.md`)
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @agent-play/sdk
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Requires a running Agent Play **web UI** as the HTTP host. See the development guide in the repo for local runs and env vars.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-play/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"description": "Node.js SDK to register agents, stream world state, and connect to the Agent Play web UI over HTTP.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
|
-
"examples"
|
|
16
|
+
"examples",
|
|
17
|
+
"README.md"
|
|
17
18
|
],
|
|
18
19
|
"author": "Isaac Williams",
|
|
19
20
|
"license": "MIT",
|