@twinsearth/agent-universe 2.8.7 → 2.8.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 CHANGED
@@ -273,7 +273,7 @@ npm config set @twinsearth:registry https://npm.pkg.github.com
273
273
  npm install @twinsearth/agent-universe
274
274
  ```
275
275
 
276
- 已发布版本:1.0.0 / 2.0.0 / 2.2.0 / 2.3.0 / 2.3.1 / 2.3.4 / 2.3.5 / 2.3.6 / 2.4.0 ~ 2.6.6,详见 [Releases](https://github.com/TwinsEarth/agent-universe/releases)。
276
+ 已发布版本:1.0.0 / 2.0.0 / 2.2.0 / 2.3.0 / 2.3.1 / 2.3.4 / 2.3.5 / 2.3.6 / 2.4.0 ~ 2.8.9(v2.8.8 跳过),详见 [Releases](https://github.com/TwinsEarth/agent-universe/releases)。
277
277
 
278
278
  ## 版本谱系
279
279
 
@@ -338,6 +338,7 @@ npm install @twinsearth/agent-universe
338
338
  | v2.8.5 | **REST Auth** | **REST 变更接口 fail-closed 认证(未配 token 默认 401)、CORS 白名单消除通配、请求体上限/读超时、状态转换表(Open/终态不能争议)、罚没金额服务端定、reject_task 经 REST/MCP 可达(GAP §3.5/§3.7/§3.8/§2.2.6)** |
339
339
  | v2.8.6 | **MCP Validate** | **MCP 参数校验接入两个生产传输(sse/stdio),非法金额/类型返 -32602 不再静默存 0;金额入口只接受整数(get_money/REST/CLI 去浮点);ACA Receipt 计量整数化,规范签名载荷无浮点、三端一致(GAP §3.5/§4.1)** |
340
340
  | v2.8.7 | **Sandbox Auth** | **沙箱变更接口统一认证(401)+ 所有权绑定(非所有者 403);随机 id(sb- + 16 hex)不可猜、重启不复用;输出截断 1 MiB;请求体 env/初始文件/超时/域名/资源真正生效;Windows Job Object 强制资源/进程树;启动清扫孤儿沙箱(GAP §3.3)** |
341
+ | v2.8.9 | **Claim Verification** | **弱公钥拒绝接入 register_peer/委员/贡献验证;贡献验证 DID↔公钥绑定(一把密钥不能伪造 DID 绕去重);审计点名生产 panic 全部类型化;NAT 守卫锁值 Unknown、纠删码测试真丢数据片靠校验片重建;锁毒化 into_inner 恢复全部告警(GAP §2.2)。v2.8.8 按指示跳过** |
341
342
 
342
343
  详见 [RELEASES.md](RELEASES.md) 和 [releases/](releases/) 目录。
343
344
 
package/js/index.js CHANGED
@@ -9,7 +9,7 @@ const { AgentMarket, Bid, Reputation, MIN_STAKE } = require('./lib/market');
9
9
  const { McpHttpClient, McpError, MCP_PROTOCOL_VERSION } = require('./lib/mcp');
10
10
  const aca = require('./lib/aca');
11
11
 
12
- const version = '2.8.7';
12
+ const version = '2.8.9';
13
13
 
14
14
  /**
15
15
  * AgentUniverse 门面:聚合身份、网络、市场能力
package/js/lib/aca.js CHANGED
@@ -158,7 +158,7 @@ function buildManifest(identity, name, capabilities, opts = {}) {
158
158
  const manifest = {
159
159
  did: identity.did,
160
160
  name,
161
- version: opts.version || '2.8.7',
161
+ version: opts.version || '2.8.9',
162
162
  capabilities: [...capabilities],
163
163
  endpoints: opts.endpoints || [],
164
164
  hardware: {
package/js/lib/mcp.js CHANGED
@@ -60,7 +60,7 @@ class McpHttpClient {
60
60
  method: 'initialize',
61
61
  params: {
62
62
  protocolVersion: MCP_PROTOCOL_VERSION,
63
- clientInfo: { name: 'agent-universe-js', version: '2.8.7' },
63
+ clientInfo: { name: 'agent-universe-js', version: '2.8.9' },
64
64
  capabilities: {},
65
65
  },
66
66
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@twinsearth/agent-universe",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@twinsearth/agent-universe",
9
- "version": "2.8.7",
9
+ "version": "2.8.9",
10
10
  "license": "MIT",
11
11
  "engines": {
12
12
  "node": ">=18"
package/js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twinsearth/agent-universe",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "description": "Agent Universe - 群众化的 AGI 路线,去中心化的智能体共享 & 开源网络。使命:让科技造福全人类!",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/js/test/test.js CHANGED
@@ -43,8 +43,8 @@ function test(name, fn) {
43
43
  console.log('Agent Universe JS SDK 测试\n');
44
44
 
45
45
  // 1. 版本号
46
- test('版本号为 2.8.7', () => {
47
- assert.strictEqual(version, '2.8.7');
46
+ test('版本号为 2.8.9', () => {
47
+ assert.strictEqual(version, '2.8.9');
48
48
  });
49
49
 
50
50
  // 2. 密钥对 + DID + 签名验证
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twinsearth/agent-universe",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
4
4
  "description": "Agent Universe - 群众化的 AGI 路线,去中心化的智能体共享 & 开源网络。使命:让科技造福全人类!",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",