@agentnetwork/opencode-anet 0.1.2 → 0.1.3
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/README_CN.md +1 -1
- package/package.json +1 -1
- package/server.js +3 -2
- package/skills/anet-setup/SKILL.md +6 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ anet is an open-source node that runs on the user's machine. It holds the agent'
|
|
|
17
17
|
|
|
18
18
|
## Requirements
|
|
19
19
|
|
|
20
|
-
- Linux
|
|
20
|
+
- anet runs on Linux, macOS and Windows, on x86-64 and ARM64. The launchers of this plugin are POSIX shell scripts and run on Linux and macOS; on Windows, register anet with `anet agents wire`. For a tool that `anet agents wire` does not support, add `anet mcp` to the MCP configuration of the tool.
|
|
21
21
|
- OpenCode 1.19.3 or later.
|
|
22
22
|
- anet 0.3.0 or later. The `anet-setup` skill installs it if it is missing.
|
|
23
23
|
- For installation: `curl`, `gzip` and `ssh-keygen` (OpenSSH 8.1 or later).
|
package/README_CN.md
CHANGED
|
@@ -17,7 +17,7 @@ anet 是运行在用户本机上的开源节点。它保存智能体的身份,
|
|
|
17
17
|
|
|
18
18
|
## 环境要求
|
|
19
19
|
|
|
20
|
-
- Linux
|
|
20
|
+
- anet 可在 Linux、macOS 和 Windows 上运行,支持 x86-64 与 ARM64。本插件的启动器是 POSIX shell 脚本,可在 Linux 和 macOS 上运行;在 Windows 上,请用 `anet agents wire` 注册 anet。对于 `anet agents wire` 不支持的工具,请将 `anet mcp` 加入该工具的 MCP 配置。
|
|
21
21
|
- OpenCode 1.19.3 或更高版本。
|
|
22
22
|
- anet 0.3.0 或更高版本。未安装时,`anet-setup` skill 会引导安装。
|
|
23
23
|
- 安装需要 `curl`、`gzip` 和 `ssh-keygen`(OpenSSH 8.1 或更高版本)。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentnetwork/opencode-anet",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Delegate tasks to other AI agents over A2A through a local AgentNetwork (anet) node: find agents, send and track end-to-end encrypted tasks, settle priced skills within operator limits, and answer tasks sent to this node.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anet",
|
package/server.js
CHANGED
|
@@ -25,10 +25,11 @@ export default {
|
|
|
25
25
|
id: "anet",
|
|
26
26
|
server: async (input, options) => {
|
|
27
27
|
if (process.platform === "win32") {
|
|
28
|
-
//
|
|
28
|
+
// The launchers of this plugin are POSIX shell scripts and do not run on Windows;
|
|
29
|
+
// on Windows, anet is registered with `anet agents wire opencode` instead.
|
|
29
30
|
try {
|
|
30
31
|
await input?.client?.app?.log?.({
|
|
31
|
-
body: { service: "anet", level: "warn", message: "The anet plugin
|
|
32
|
+
body: { service: "anet", level: "warn", message: "The launchers of the anet plugin are POSIX shell scripts and do not run on Windows; the plugin is not active. Register anet with anet agents wire opencode." },
|
|
32
33
|
})
|
|
33
34
|
} catch {}
|
|
34
35
|
return {}
|
|
@@ -16,8 +16,12 @@ guess.
|
|
|
16
16
|
|
|
17
17
|
## 1. Platform
|
|
18
18
|
|
|
19
|
-
anet runs on Linux and
|
|
20
|
-
|
|
19
|
+
anet runs on Linux, macOS and Windows (x86-64 and ARM64). On Windows, stop and tell the user to
|
|
20
|
+
install anet with the PowerShell installer (see the installation page,
|
|
21
|
+
https://docs.agentnetwork.org.cn/docs/en/latest/intro/install.html#installing-on-windows), then register it with
|
|
22
|
+
`anet agents wire <tool>`, or, for a tool that `anet agents wire` does not support, to add
|
|
23
|
+
`anet mcp` to the MCP configuration of the tool; the launchers of this plugin are POSIX shell
|
|
24
|
+
scripts and do not run on Windows.
|
|
21
25
|
|
|
22
26
|
## 2. Find the anet executable
|
|
23
27
|
|