@aigne/cli 1.59.0-beta.27 → 1.59.0-beta.29
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 +42 -0
- package/dist/utils/aigne-hub/crypto.js +13 -8
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.59.0-beta.29](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.28...cli-v1.59.0-beta.29) (2026-01-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/afs-local-fs bumped to 1.4.0-beta.24
|
|
11
|
+
* @aigne/agent-library bumped to 1.24.0-beta.25
|
|
12
|
+
* @aigne/agentic-memory bumped to 1.1.6-beta.23
|
|
13
|
+
* @aigne/aigne-hub bumped to 0.10.16-beta.29
|
|
14
|
+
* @aigne/core bumped to 1.72.0-beta.23
|
|
15
|
+
* @aigne/default-memory bumped to 1.4.0-beta.22
|
|
16
|
+
* @aigne/openai bumped to 0.16.16-beta.23
|
|
17
|
+
* @aigne/secrets bumped to 0.1.6-beta.23
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @aigne/test-utils bumped to 0.5.69-beta.23
|
|
20
|
+
|
|
21
|
+
## [1.59.0-beta.28](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.27...cli-v1.59.0-beta.28) (2026-01-15)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* fix data corruption when using AIGNE multiple ([#914](https://github.com/AIGNE-io/aigne-framework/issues/914)) ([c713736](https://github.com/AIGNE-io/aigne-framework/commit/c713736b17502ffac6b1fdf67e453aba2f37aab3))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @aigne/afs-local-fs bumped to 1.4.0-beta.23
|
|
34
|
+
* @aigne/agent-library bumped to 1.24.0-beta.24
|
|
35
|
+
* @aigne/agentic-memory bumped to 1.1.6-beta.22
|
|
36
|
+
* @aigne/aigne-hub bumped to 0.10.16-beta.28
|
|
37
|
+
* @aigne/core bumped to 1.72.0-beta.22
|
|
38
|
+
* @aigne/default-memory bumped to 1.4.0-beta.21
|
|
39
|
+
* @aigne/observability-api bumped to 0.11.14-beta.6
|
|
40
|
+
* @aigne/openai bumped to 0.16.16-beta.22
|
|
41
|
+
* @aigne/secrets bumped to 0.1.6-beta.22
|
|
42
|
+
* devDependencies
|
|
43
|
+
* @aigne/test-utils bumped to 0.5.69-beta.22
|
|
44
|
+
|
|
3
45
|
## [1.59.0-beta.27](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.59.0-beta.26...cli-v1.59.0-beta.27) (2026-01-15)
|
|
4
46
|
|
|
5
47
|
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import crypto from "node:crypto";
|
|
2
|
-
import
|
|
2
|
+
import AES from "crypto-js/aes.js";
|
|
3
|
+
import encBase64 from "crypto-js/enc-base64.js";
|
|
4
|
+
import encHex from "crypto-js/enc-hex.js";
|
|
5
|
+
import encLatin1 from "crypto-js/enc-latin1.js";
|
|
6
|
+
import encUtf8 from "crypto-js/enc-utf8.js";
|
|
7
|
+
import encUtf16 from "crypto-js/enc-utf16.js";
|
|
3
8
|
const encoders = {
|
|
4
|
-
latin1:
|
|
5
|
-
utf8:
|
|
6
|
-
hex:
|
|
7
|
-
utf16:
|
|
8
|
-
base64:
|
|
9
|
+
latin1: encLatin1,
|
|
10
|
+
utf8: encUtf8,
|
|
11
|
+
hex: encHex,
|
|
12
|
+
utf16: encUtf16,
|
|
13
|
+
base64: encBase64,
|
|
9
14
|
};
|
|
10
15
|
class AesCrypter {
|
|
11
16
|
encrypt(message, secret) {
|
|
12
17
|
const text = typeof message === "string" ? message : JSON.stringify(message);
|
|
13
|
-
return
|
|
18
|
+
return AES.encrypt(text, secret).toString();
|
|
14
19
|
}
|
|
15
20
|
decrypt(cipher, secret, outputEncoding = "utf8") {
|
|
16
|
-
return
|
|
21
|
+
return AES.decrypt(cipher, secret).toString(encoders[outputEncoding]);
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
const aes = new AesCrypter();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.59.0-beta.
|
|
3
|
+
"version": "1.59.0-beta.29",
|
|
4
4
|
"description": "Your command center for agent development",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
"yoctocolors-cjs": "^2.1.3",
|
|
91
91
|
"zod": "^3.25.67",
|
|
92
92
|
"zod-to-json-schema": "^3.24.6",
|
|
93
|
-
"@aigne/afs-history": "^1.2.0-beta.10",
|
|
94
93
|
"@aigne/afs": "^1.4.0-beta.9",
|
|
95
|
-
"@aigne/afs-
|
|
96
|
-
"@aigne/agent-library": "^1.24.0-beta.
|
|
97
|
-
"@aigne/
|
|
98
|
-
"@aigne/
|
|
99
|
-
"@aigne/core": "^1.72.0-beta.
|
|
100
|
-
"@aigne/
|
|
101
|
-
"@aigne/
|
|
102
|
-
"@aigne/openai": "^0.16.16-beta.
|
|
103
|
-
"@aigne/secrets": "^0.1.6-beta.
|
|
94
|
+
"@aigne/afs-history": "^1.2.0-beta.10",
|
|
95
|
+
"@aigne/agent-library": "^1.24.0-beta.25",
|
|
96
|
+
"@aigne/afs-local-fs": "^1.4.0-beta.24",
|
|
97
|
+
"@aigne/agentic-memory": "^1.1.6-beta.23",
|
|
98
|
+
"@aigne/core": "^1.72.0-beta.23",
|
|
99
|
+
"@aigne/aigne-hub": "^0.10.16-beta.29",
|
|
100
|
+
"@aigne/default-memory": "^1.4.0-beta.22",
|
|
101
|
+
"@aigne/openai": "^0.16.16-beta.23",
|
|
102
|
+
"@aigne/secrets": "^0.1.6-beta.23",
|
|
103
|
+
"@aigne/observability-api": "^0.11.14-beta.6"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@inquirer/testing": "^2.1.50",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"rimraf": "^6.0.1",
|
|
119
119
|
"typescript": "^5.9.2",
|
|
120
120
|
"ufo": "^1.6.1",
|
|
121
|
-
"@aigne/test-utils": "^0.5.69-beta.
|
|
121
|
+
"@aigne/test-utils": "^0.5.69-beta.23"
|
|
122
122
|
},
|
|
123
123
|
"scripts": {
|
|
124
124
|
"lint": "tsc --noEmit",
|