@aigne/platform-helpers 0.1.1 → 0.1.2
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 +7 -0
- package/lib/cjs/nodejs/index.browser.d.ts +1 -0
- package/lib/cjs/nodejs/index.browser.js +3 -0
- package/lib/cjs/nodejs/index.node.d.ts +1 -0
- package/lib/cjs/nodejs/index.node.js +4 -0
- package/lib/esm/nodejs/index.browser.d.ts +1 -0
- package/lib/esm/nodejs/index.browser.js +3 -0
- package/lib/esm/nodejs/index.node.d.ts +1 -0
- package/lib/esm/nodejs/index.node.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.2](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.1.1...platform-helpers-v0.1.2) (2025-06-19)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* use `inputKey` instead of implicit $message for AIAgent ([#165](https://github.com/AIGNE-io/aigne-framework/issues/165)) ([8b6e589](https://github.com/AIGNE-io/aigne-framework/commit/8b6e5896bba8209fd2eecb0f5b9263618bffdaf8))
|
9
|
+
|
3
10
|
## [0.1.1](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.1.0...platform-helpers-v0.1.1) (2025-05-30)
|
4
11
|
|
5
12
|
|
@@ -11,6 +11,9 @@ exports.nodejs = {
|
|
11
11
|
get fs() {
|
12
12
|
throw new Error("This code must run in a Node.js environment.");
|
13
13
|
},
|
14
|
+
get fsSync() {
|
15
|
+
throw new Error("This code must run in a Node.js environment.");
|
16
|
+
},
|
14
17
|
get path() {
|
15
18
|
throw new Error("This code must run in a Node.js environment.");
|
16
19
|
},
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.nodejs = void 0;
|
7
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
7
8
|
const promises_1 = __importDefault(require("node:fs/promises"));
|
8
9
|
const node_path_1 = __importDefault(require("node:path"));
|
9
10
|
const node_util_1 = require("node:util");
|
@@ -21,6 +22,9 @@ exports.nodejs = {
|
|
21
22
|
get fs() {
|
22
23
|
return promises_1.default;
|
23
24
|
},
|
25
|
+
get fsSync() {
|
26
|
+
return node_fs_1.default;
|
27
|
+
},
|
24
28
|
get path() {
|
25
29
|
return node_path_1.default;
|
26
30
|
},
|
@@ -8,6 +8,9 @@ export const nodejs = {
|
|
8
8
|
get fs() {
|
9
9
|
throw new Error("This code must run in a Node.js environment.");
|
10
10
|
},
|
11
|
+
get fsSync() {
|
12
|
+
throw new Error("This code must run in a Node.js environment.");
|
13
|
+
},
|
11
14
|
get path() {
|
12
15
|
throw new Error("This code must run in a Node.js environment.");
|
13
16
|
},
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import fsSync from "node:fs";
|
1
2
|
import fs from "node:fs/promises";
|
2
3
|
import path from "node:path";
|
3
4
|
import { inspect } from "node:util";
|
@@ -15,6 +16,9 @@ export const nodejs = {
|
|
15
16
|
get fs() {
|
16
17
|
return fs;
|
17
18
|
},
|
19
|
+
get fsSync() {
|
20
|
+
return fsSync;
|
21
|
+
},
|
18
22
|
get path() {
|
19
23
|
return path;
|
20
24
|
},
|