@agents-uni/core 0.1.0 → 0.1.1
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.en.md +20 -1
- package/README.md +20 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
[](https://github.com/agents-uni/core/actions/workflows/ci.yml)
|
|
2
|
+
[](https://www.npmjs.com/package/@agents-uni/core)
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
|
|
1
5
|
<p align="center">
|
|
2
6
|
<h1 align="center">agents-uni-core</h1>
|
|
3
7
|
<p align="center">
|
|
@@ -48,6 +52,16 @@ npx create-uni my-universe
|
|
|
48
52
|
npx create-uni my-universe --template competitive
|
|
49
53
|
```
|
|
50
54
|
|
|
55
|
+
### Install the CLI globally
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm install -g @agents-uni/core
|
|
59
|
+
|
|
60
|
+
# Then use the `uni` command directly
|
|
61
|
+
uni validate universe.yaml
|
|
62
|
+
uni dashboard
|
|
63
|
+
```
|
|
64
|
+
|
|
51
65
|
### Use as a library
|
|
52
66
|
|
|
53
67
|
```bash
|
|
@@ -214,6 +228,8 @@ npx create-uni my-project --template competitive
|
|
|
214
228
|
|
|
215
229
|
## CLI
|
|
216
230
|
|
|
231
|
+
After global install, use the `uni` command directly, or call via `npx @agents-uni/core`:
|
|
232
|
+
|
|
217
233
|
```bash
|
|
218
234
|
# Validate a universe spec
|
|
219
235
|
uni validate universe.yaml
|
|
@@ -265,8 +281,11 @@ uni reset <id>
|
|
|
265
281
|
agents-uni-core integrates with [OpenClaw](https://github.com/anthropics/openclaw) via a **file-based protocol**. Three core capabilities:
|
|
266
282
|
|
|
267
283
|
**1. SOUL.md Deployment** — generate agent persona files from universe specs and create agent runtime directories (`agents/{id}/agent/` + `agents/{id}/sessions/`)
|
|
284
|
+
|
|
268
285
|
**2. One-Click Registration** — auto-register agents in `openclaw.json` (with both `workspace` and `agentDir` fields) during deployment
|
|
286
|
+
|
|
269
287
|
**3. Task Dispatch** — communicate with agents via `TASK.md` / `SUBMISSION.md` file protocol
|
|
288
|
+
|
|
270
289
|
**4. Workspace Management** — check and sync OpenClaw workspace state
|
|
271
290
|
|
|
272
291
|
```
|
|
@@ -582,7 +601,7 @@ npm run dev
|
|
|
582
601
|
|
|
583
602
|
## Related Projects
|
|
584
603
|
|
|
585
|
-
- [**@agents-uni/zhenhuan**](https://github.com/agents-uni/zhenhuan) — Palace drama themed agent competition system built on agents-uni-core
|
|
604
|
+
- [**@agents-uni/zhenhuan**](https://github.com/agents-uni/zhenhuan) — Palace drama themed agent competition system built on agents-uni-core ([npm](https://www.npmjs.com/package/@agents-uni/zhenhuan))
|
|
586
605
|
|
|
587
606
|
## License
|
|
588
607
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
[](https://github.com/agents-uni/core/actions/workflows/ci.yml)
|
|
2
|
+
[](https://www.npmjs.com/package/@agents-uni/core)
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
|
|
1
5
|
<p align="center">
|
|
2
6
|
<h1 align="center">agents-uni-core</h1>
|
|
3
7
|
<p align="center">
|
|
@@ -48,6 +52,16 @@ npx create-uni my-universe
|
|
|
48
52
|
npx create-uni my-universe --template competitive
|
|
49
53
|
```
|
|
50
54
|
|
|
55
|
+
### 全局安装 CLI
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm install -g @agents-uni/core
|
|
59
|
+
|
|
60
|
+
# 之后可以直接使用 uni 命令
|
|
61
|
+
uni validate universe.yaml
|
|
62
|
+
uni dashboard
|
|
63
|
+
```
|
|
64
|
+
|
|
51
65
|
### 作为库使用
|
|
52
66
|
|
|
53
67
|
```bash
|
|
@@ -214,6 +228,8 @@ npx create-uni my-project --template competitive
|
|
|
214
228
|
|
|
215
229
|
## 命令行工具
|
|
216
230
|
|
|
231
|
+
全局安装后可直接使用 `uni` 命令,也可通过 `npx @agents-uni/core` 调用:
|
|
232
|
+
|
|
217
233
|
```bash
|
|
218
234
|
# 验证组织规范
|
|
219
235
|
uni validate universe.yaml
|
|
@@ -265,8 +281,11 @@ uni reset <id>
|
|
|
265
281
|
agents-uni-core 通过**文件协议**与 [OpenClaw](https://github.com/anthropics/openclaw) 无缝集成。包含三个核心能力:
|
|
266
282
|
|
|
267
283
|
**1. SOUL.md 部署** — 从组织规范生成 Agent 人格文件并部署到 OpenClaw 工作区,同时创建 Agent 运行时目录(`agents/{id}/agent/` + `agents/{id}/sessions/`)
|
|
284
|
+
|
|
268
285
|
**2. 一键注册** — 部署时自动将 Agent 注册到 `openclaw.json`(含 `workspace` 和 `agentDir` 字段),无需手动配置
|
|
286
|
+
|
|
269
287
|
**3. 任务调度** — 通过 `TASK.md` / `SUBMISSION.md` 文件协议与 Agent 交互
|
|
288
|
+
|
|
270
289
|
**4. 工作区管理** — 检查和同步 OpenClaw 工作区状态
|
|
271
290
|
|
|
272
291
|
```
|
|
@@ -582,7 +601,7 @@ npm run dev
|
|
|
582
601
|
|
|
583
602
|
## 相关项目
|
|
584
603
|
|
|
585
|
-
- [**@agents-uni/zhenhuan**](https://github.com/agents-uni/zhenhuan) — 基于 agents-uni-core 的甄嬛后宫 Agent 竞技系统
|
|
604
|
+
- [**@agents-uni/zhenhuan**](https://github.com/agents-uni/zhenhuan) — 基于 agents-uni-core 的甄嬛后宫 Agent 竞技系统 ([npm](https://www.npmjs.com/package/@agents-uni/zhenhuan))
|
|
586
605
|
|
|
587
606
|
## License
|
|
588
607
|
|