@twinsearth/agent-universe 2.6.0 → 2.6.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.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.0,详见 [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.6.1,详见 [Releases](https://github.com/TwinsEarth/agent-universe/releases)。
277
277
 
278
278
  ## 版本谱系
279
279
 
@@ -311,6 +311,7 @@ npm install @twinsearth/agent-universe
311
311
  | v2.5.8 | **Ledger** | **精确整数账本 Money(i64):守恒精确相等无容差 + 发布即托管 __escrow__ 防铸币 + 三端共享金额向量逐值一致** |
312
312
  | v2.5.9 | **Auth QA** | **认证式 BFT(固定委员集 Ed25519 签名票,替代调用方合成)+ 可失败独立审计(只信任流水独立重放)+ nonce/时间窗重放保护 + 只追加结算流水** |
313
313
  | v2.6.0 | **State Machine** | **状态机恢复边(no_quorum→open、rework→running,消除 NoQuorum 吸收态)+ 证据分级作为结算强制闸门(is_trustworthy 此前零调用点)+ policy=None 提交即验收** |
314
+ | v2.6.1 | **Ledger Persistence** | **账本落盘 + 重启从只追加流水重放恢复(ledger_entries,根治只写不读/重启丢账)+ MCP 单一来源参数校验(缺必填/类型错误返回 -32602,杜绝静默降级)** |
314
315
 
315
316
  详见 [RELEASES.md](RELEASES.md) 和 [releases/](releases/) 目录。
316
317
 
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.6.0';
12
+ const version = '2.6.1';
13
13
 
14
14
  /**
15
15
  * AgentUniverse 门面:聚合身份、网络、市场能力
package/js/lib/aca.js CHANGED
@@ -129,7 +129,7 @@ function buildManifest(identity, name, capabilities, opts = {}) {
129
129
  const manifest = {
130
130
  did: identity.did,
131
131
  name,
132
- version: opts.version || '2.6.0',
132
+ version: opts.version || '2.6.1',
133
133
  capabilities: [...capabilities],
134
134
  endpoints: opts.endpoints || [],
135
135
  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.6.0' },
63
+ clientInfo: { name: 'agent-universe-js', version: '2.6.1' },
64
64
  capabilities: {},
65
65
  },
66
66
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@twinsearth/agent-universe",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@twinsearth/agent-universe",
9
- "version": "2.6.0",
9
+ "version": "2.6.1",
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.6.0",
3
+ "version": "2.6.1",
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.6.0', () => {
47
- assert.strictEqual(version, '2.6.0');
46
+ test('版本号为 2.6.1', () => {
47
+ assert.strictEqual(version, '2.6.1');
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.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "Agent Universe - 群众化的 AGI 路线,去中心化的智能体共享 & 开源网络。使命:让科技造福全人类!",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",