@zhin.js/agent 0.0.9 → 0.0.11
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/CHANGELOG.md +17 -0
- package/package.json +3 -3
- package/tests/ai/user-profile.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @zhin.js/agent
|
|
2
2
|
|
|
3
|
+
## 0.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7d09e5e]
|
|
8
|
+
- @zhin.js/core@1.0.48
|
|
9
|
+
- @zhin.js/ai@1.0.9
|
|
10
|
+
|
|
11
|
+
## 0.0.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- de3e352: fix: 新增 request 和 notice 抽象,新增消息过滤支持
|
|
16
|
+
- Updated dependencies [de3e352]
|
|
17
|
+
- @zhin.js/core@1.0.47
|
|
18
|
+
- @zhin.js/ai@1.0.8
|
|
19
|
+
|
|
3
20
|
## 0.0.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Zhin AI Agent — session, ZhinAgent, init; composes @zhin.js/core providers and tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"js-yaml": "^4.1.0",
|
|
17
|
-
"@zhin.js/ai": "1.0.
|
|
18
|
-
"@zhin.js/core": "1.0.
|
|
17
|
+
"@zhin.js/ai": "1.0.9",
|
|
18
|
+
"@zhin.js/core": "1.0.48"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -58,7 +58,7 @@ describe('UserProfileStore(内存模式)', () => {
|
|
|
58
58
|
await store.set('u1', 'name', '小明');
|
|
59
59
|
await store.set('u1', 'interests', '编程');
|
|
60
60
|
const summary = await store.buildProfileSummary('u1');
|
|
61
|
-
expect(summary).toContain('[
|
|
61
|
+
expect(summary).toContain('[User profile]');
|
|
62
62
|
expect(summary).toContain('name: 小明');
|
|
63
63
|
expect(summary).toContain('interests: 编程');
|
|
64
64
|
});
|