@twinsearth/agent-universe 2.6.1 → 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
@@ -121,7 +121,7 @@
121
121
  | `GovernorToken.sol` | 治理代币 |
122
122
  | `AgentCardAnchor.sol` | AgentCard 链上锚定 |
123
123
  | `PoCVSettlement.sol` | PoCV 结算 |
124
- | `ReputationBridge.sol` | 跨链信誉桥接 |
124
+ | `ReputationRegistry.sol` | 链下信誉的链上锚定 |
125
125
 
126
126
  ## 快速开始
127
127
 
@@ -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.1,详见 [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
 
@@ -312,6 +312,8 @@ npm install @twinsearth/agent-universe
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
314
  | v2.6.1 | **Ledger Persistence** | **账本落盘 + 重启从只追加流水重放恢复(ledger_entries,根治只写不读/重启丢账)+ MCP 单一来源参数校验(缺必填/类型错误返回 -32602,杜绝静默降级)** |
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%质押)** |
315
317
 
316
318
  详见 [RELEASES.md](RELEASES.md) 和 [releases/](releases/) 目录。
317
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.1';
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.1',
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.1' },
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.1",
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.1",
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.1",
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.1', () => {
47
- assert.strictEqual(version, '2.6.1');
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.1",
3
+ "version": "2.6.3",
4
4
  "description": "Agent Universe - 群众化的 AGI 路线,去中心化的智能体共享 & 开源网络。使命:让科技造福全人类!",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",