@aigne/platform-helpers 0.6.0 → 0.6.1

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.6.0...platform-helpers-v0.6.1) (2025-08-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **core:** examples cases that failed when using aigne-hub ([#337](https://github.com/AIGNE-io/aigne-framework/issues/337)) ([0d4a31c](https://github.com/AIGNE-io/aigne-framework/commit/0d4a31c24d9e7d26f00d1accb80719d9ad79a4c6))
9
+
3
10
  ## [0.6.0](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.5.1...platform-helpers-v0.6.0) (2025-08-06)
4
11
 
5
12
 
@@ -6,4 +6,5 @@ export declare const nodejs: {
6
6
  readonly fs: typeof import("node:fs/promises");
7
7
  readonly fsSync: typeof import("node:fs");
8
8
  readonly path: typeof import("node:path");
9
+ readonly os: typeof import("node:os");
9
10
  };
@@ -17,4 +17,7 @@ exports.nodejs = {
17
17
  get path() {
18
18
  throw new Error("This code must run in a Node.js environment.");
19
19
  },
20
+ get os() {
21
+ throw new Error("This code must run in a Node.js environment.");
22
+ },
20
23
  };
@@ -6,4 +6,5 @@ export declare const nodejs: {
6
6
  readonly fs: typeof import("node:fs/promises");
7
7
  readonly fsSync: typeof import("node:fs");
8
8
  readonly path: typeof import("node:path");
9
+ readonly os: typeof import("node:os");
9
10
  };
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.nodejs = void 0;
7
7
  const node_fs_1 = __importDefault(require("node:fs"));
8
8
  const promises_1 = __importDefault(require("node:fs/promises"));
9
+ const node_os_1 = __importDefault(require("node:os"));
9
10
  const node_path_1 = __importDefault(require("node:path"));
10
11
  const node_util_1 = require("node:util");
11
12
  exports.nodejs = {
@@ -28,4 +29,7 @@ exports.nodejs = {
28
29
  get path() {
29
30
  return node_path_1.default;
30
31
  },
32
+ get os() {
33
+ return node_os_1.default;
34
+ },
31
35
  };
@@ -6,4 +6,5 @@ export declare const nodejs: {
6
6
  readonly fs: typeof import("node:fs/promises");
7
7
  readonly fsSync: typeof import("node:fs");
8
8
  readonly path: typeof import("node:path");
9
+ readonly os: typeof import("node:os");
9
10
  };
@@ -14,4 +14,7 @@ export const nodejs = {
14
14
  get path() {
15
15
  throw new Error("This code must run in a Node.js environment.");
16
16
  },
17
+ get os() {
18
+ throw new Error("This code must run in a Node.js environment.");
19
+ },
17
20
  };
@@ -6,4 +6,5 @@ export declare const nodejs: {
6
6
  readonly fs: typeof import("node:fs/promises");
7
7
  readonly fsSync: typeof import("node:fs");
8
8
  readonly path: typeof import("node:path");
9
+ readonly os: typeof import("node:os");
9
10
  };
@@ -1,5 +1,6 @@
1
1
  import fsSync from "node:fs";
2
2
  import fs from "node:fs/promises";
3
+ import os from "node:os";
3
4
  import path from "node:path";
4
5
  import { inspect } from "node:util";
5
6
  export const nodejs = {
@@ -22,4 +23,7 @@ export const nodejs = {
22
23
  get path() {
23
24
  return path;
24
25
  },
26
+ get os() {
27
+ return os;
28
+ },
25
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/platform-helpers",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "AIGNE core library for building AI-powered applications",
5
5
  "publishConfig": {
6
6
  "access": "public"