cybertron-agents 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/LICENSE +21 -0
- package/README.md +24 -5
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 zhiwenC125
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -42,13 +42,32 @@ python3 -m cybertron.opencode_run "请澄清 STM32F4 电机控制任务还缺少
|
|
|
42
42
|
|
|
43
43
|
## 安装到 OpenCode
|
|
44
44
|
|
|
45
|
-
三条安装路径共享同一份 payload
|
|
45
|
+
三条安装路径共享同一份 payload(13 个角色 + `/cybertron` 命令),默认 dry-run,`--apply` 才写入。当前已发布版本为 **0.1.0**:
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
47
|
+
```bash
|
|
48
|
+
# 1) npm(在你自己的项目目录运行,不要在 Cybertron-Agent 仓库内运行)
|
|
49
|
+
npx -y cybertron-agents@0.1.0 init --dry-run
|
|
50
|
+
npx -y cybertron-agents@0.1.0 init --apply --project .
|
|
51
|
+
|
|
52
|
+
# 2) pipx(Python 生态,与 npm 无关)
|
|
53
|
+
pipx install cybertron-agents==0.1.0
|
|
54
|
+
cybertron init --dry-run
|
|
55
|
+
cybertron init --apply --project .
|
|
56
|
+
|
|
57
|
+
# 3) GitHub Shell
|
|
58
|
+
curl -fsSL https://raw.githubusercontent.com/zhiwenC125/Cybertron-agents/main/install.sh -o install.sh
|
|
59
|
+
sh install.sh --dry-run
|
|
60
|
+
sh install.sh --apply --project .
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
安装目标:
|
|
64
|
+
|
|
65
|
+
- `--project DIR`:写入 `DIR/.opencode/agents` 与 `DIR/.opencode/commands`
|
|
66
|
+
- `--global`:写入 `${XDG_CONFIG_HOME:-~/.config}/opencode/agents|commands`
|
|
67
|
+
|
|
68
|
+
装完在 OpenCode 里:`opencode2 debug agents` 确认 13 个角色;`opencode` 默认 `prima`,`Tab` / `Shift+Tab` 切换;`/cybertron <需求>` 启动编排。`cybertron doctor` 只做本地检查,不会联网下载。
|
|
50
69
|
|
|
51
|
-
详见[安装与发布方案](docs/packaging-and-installation.md)。
|
|
70
|
+
详见[安装与发布方案](docs/packaging-and-installation.md)。`v0.1.0` 的 tag 与 Release 见 [GitHub Release v0.1.0](https://github.com/zhiwenC125/Cybertron-agents/releases/tag/v0.1.0)。
|
|
52
71
|
|
|
53
72
|
## 模块
|
|
54
73
|
|