@twinsearth/agent-universe 2.6.2 → 2.6.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 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.2,详见 [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.3,详见 [Releases](https://github.com/TwinsEarth/agent-universe/releases)。
277
277
 
278
278
  ## 版本谱系
279
279
 
@@ -313,6 +313,7 @@ npm install @twinsearth/agent-universe
313
313
  | v2.6.0 | **State Machine** | **状态机恢复边(no_quorum→open、rework→running,消除 NoQuorum 吸收态)+ 证据分级作为结算强制闸门(is_trustworthy 此前零调用点)+ policy=None 提交即验收** |
314
314
  | v2.6.1 | **Ledger Persistence** | **账本落盘 + 重启从只追加流水重放恢复(ledger_entries,根治只写不读/重启丢账)+ MCP 单一来源参数校验(缺必填/类型错误返回 -32602,杜绝静默降级)** |
315
315
  | v2.6.2 | **Version Source** | **VERSION 唯一来源 + check-version 全仓一致性断言(CI 强制,漂移即红)+ 合约重写可部署(Hardhat 18 逐缺陷测试)+ 真实 Reed-Solomon 纠删码 + 网络替身 InMemory* 诚实化** |
316
+ | v2.6.3 | **Settlement Closeout** | **重复注册拒绝 + 投标报价与预算强校验(0/负/超预算/已关闭拒绝)+ Rejected / DuplicateWork 终局可达(返工重提相同结果自动拒绝,付0、退预算、罚没10%质押)** |
316
317
 
317
318
  详见 [RELEASES.md](RELEASES.md) 和 [releases/](releases/) 目录。
318
319
 
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.2';
12
+ const version = '2.6.3';
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.2',
132
+ version: opts.version || '2.6.3',
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.2' },
63
+ clientInfo: { name: 'agent-universe-js', version: '2.6.3' },
64
64
  capabilities: {},
65
65
  },
66
66
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@twinsearth/agent-universe",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@twinsearth/agent-universe",
9
- "version": "2.6.2",
9
+ "version": "2.6.3",
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.2",
3
+ "version": "2.6.3",
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.2', () => {
47
- assert.strictEqual(version, '2.6.2');
46
+ test('版本号为 2.6.3', () => {
47
+ assert.strictEqual(version, '2.6.3');
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.2",
3
+ "version": "2.6.3",
4
4
  "description": "Agent Universe - 群众化的 AGI 路线,去中心化的智能体共享 & 开源网络。使命:让科技造福全人类!",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",