@twinsearth/agent-universe 3.8.6 → 3.8.7
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/js/index.js +1 -1
- package/js/lib/aca.js +1 -1
- package/js/lib/mcp.js +1 -1
- package/js/package-lock.json +2 -2
- package/js/package.json +1 -1
- package/js/test/test.js +2 -2
- package/package.json +1 -1
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 = '3.8.
|
|
12
|
+
const version = '3.8.7';
|
|
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 || '3.8.
|
|
161
|
+
version: opts.version || '3.8.7',
|
|
162
162
|
capabilities: [...capabilities],
|
|
163
163
|
endpoints: opts.endpoints || [],
|
|
164
164
|
hardware: {
|
package/js/lib/mcp.js
CHANGED
|
@@ -70,7 +70,7 @@ class McpHttpClient {
|
|
|
70
70
|
method: 'initialize',
|
|
71
71
|
params: {
|
|
72
72
|
protocolVersion: MCP_PROTOCOL_VERSION,
|
|
73
|
-
clientInfo: { name: 'agent-universe-js', version: '3.8.
|
|
73
|
+
clientInfo: { name: 'agent-universe-js', version: '3.8.7' },
|
|
74
74
|
capabilities: {},
|
|
75
75
|
},
|
|
76
76
|
});
|
package/js/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twinsearth/agent-universe",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@twinsearth/agent-universe",
|
|
9
|
-
"version": "3.8.
|
|
9
|
+
"version": "3.8.7",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=18"
|
package/js/package.json
CHANGED
package/js/test/test.js
CHANGED
|
@@ -44,8 +44,8 @@ function test(name, fn) {
|
|
|
44
44
|
console.log('Agent Universe JS SDK 测试\n');
|
|
45
45
|
|
|
46
46
|
// 1. 版本号
|
|
47
|
-
test('版本号为 3.8.
|
|
48
|
-
assert.strictEqual(version, '3.8.
|
|
47
|
+
test('版本号为 3.8.7', () => {
|
|
48
|
+
assert.strictEqual(version, '3.8.7');
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
// 2. 密钥对 + DID + 签名验证
|