@aigne/cli 1.13.0 → 1.13.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 CHANGED
@@ -1,5 +1,47 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.2](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.13.1...cli-v1.13.2) (2025-06-25)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/agent-library bumped to 1.16.1
11
+ * @aigne/anthropic bumped to 0.3.6
12
+ * @aigne/bedrock bumped to 0.3.6
13
+ * @aigne/core bumped to 1.23.1
14
+ * @aigne/deepseek bumped to 0.3.6
15
+ * @aigne/gemini bumped to 0.3.6
16
+ * @aigne/ollama bumped to 0.3.6
17
+ * @aigne/open-router bumped to 0.3.6
18
+ * @aigne/openai bumped to 0.3.6
19
+ * @aigne/xai bumped to 0.3.6
20
+
21
+ ## [1.13.1](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.13.0...cli-v1.13.1) (2025-06-25)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **blocklet:** ensure only admins can access traces ([#173](https://github.com/AIGNE-io/aigne-framework/issues/173)) ([9c5cc06](https://github.com/AIGNE-io/aigne-framework/commit/9c5cc06c5841b9684d16c5c60af764d8c98c9c3e))
27
+
28
+
29
+ ### Dependencies
30
+
31
+ * The following workspace dependencies were updated
32
+ * dependencies
33
+ * @aigne/agent-library bumped to 1.16.0
34
+ * @aigne/anthropic bumped to 0.3.5
35
+ * @aigne/bedrock bumped to 0.3.5
36
+ * @aigne/core bumped to 1.23.0
37
+ * @aigne/deepseek bumped to 0.3.5
38
+ * @aigne/gemini bumped to 0.3.5
39
+ * @aigne/observability bumped to 0.1.1
40
+ * @aigne/ollama bumped to 0.3.5
41
+ * @aigne/open-router bumped to 0.3.5
42
+ * @aigne/openai bumped to 0.3.5
43
+ * @aigne/xai bumped to 0.3.5
44
+
3
45
  ## [1.13.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.12.0...cli-v1.13.0) (2025-06-24)
4
46
 
5
47
 
@@ -2,6 +2,7 @@ import { Command } from "commander";
2
2
  import { AIGNE_CLI_VERSION } from "../constants.js";
3
3
  import { asciiLogo } from "../utils/ascii-logo.js";
4
4
  import { createCreateCommand } from "./create.js";
5
+ import { createObservabilityCommand } from "./observability.js";
5
6
  import { createRunCommand } from "./run.js";
6
7
  import { createServeCommand } from "./serve.js";
7
8
  import { createTestCommand } from "./test.js";
@@ -15,6 +16,7 @@ export function createAIGNECommand() {
15
16
  .addCommand(createTestCommand())
16
17
  .addCommand(createCreateCommand())
17
18
  .addCommand(createServeCommand())
19
+ .addCommand(createObservabilityCommand())
18
20
  .showHelpAfterError(true)
19
21
  .showSuggestionAfterError(true);
20
22
  }
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export declare function createObservabilityCommand(): Command;
@@ -0,0 +1,27 @@
1
+ import { tryOrThrow } from "@aigne/core/utils/type-utils.js";
2
+ import { getObservabilityDbPath } from "@aigne/observability/db-path";
3
+ import { startServer as startObservabilityServer } from "@aigne/observability/server";
4
+ import { Command } from "commander";
5
+ const DEFAULT_PORT = () => tryOrThrow(() => {
6
+ const { PORT } = process.env;
7
+ if (!PORT)
8
+ return 7890;
9
+ const port = Number.parseInt(PORT);
10
+ if (!port || !Number.isInteger(port))
11
+ throw new Error(`Invalid PORT: ${PORT}`);
12
+ return port;
13
+ }, (error) => new Error(`parse PORT error ${error.message}`));
14
+ export function createObservabilityCommand() {
15
+ return new Command("observability")
16
+ .description("Start the observability server")
17
+ .option("--host <host>", "Host to run the MCP server on, use 0.0.0.0 to publicly expose the server", "localhost")
18
+ .option("--port <port>", "Port to run the MCP server on", (s) => Number.parseInt(s))
19
+ .action(async (options) => {
20
+ const port = options.port || DEFAULT_PORT();
21
+ const dbUrl = getObservabilityDbPath();
22
+ console.log("DB PATH:", dbUrl);
23
+ await startObservabilityServer({ port: Number(port) || 3000, dbUrl: dbUrl });
24
+ })
25
+ .showHelpAfterError(true)
26
+ .showSuggestionAfterError(true);
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.13.0",
3
+ "version": "1.13.2",
4
4
  "description": "cli for AIGNE framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -51,16 +51,17 @@
51
51
  "wrap-ansi": "^9.0.0",
52
52
  "yaml": "^2.7.1",
53
53
  "zod": "^3.24.4",
54
- "@aigne/agent-library": "^1.15.0",
55
- "@aigne/anthropic": "^0.3.4",
56
- "@aigne/bedrock": "^0.3.4",
57
- "@aigne/core": "^1.22.0",
58
- "@aigne/deepseek": "^0.3.4",
59
- "@aigne/gemini": "^0.3.4",
60
- "@aigne/ollama": "^0.3.4",
61
- "@aigne/open-router": "^0.3.4",
62
- "@aigne/openai": "^0.3.4",
63
- "@aigne/xai": "^0.3.4"
54
+ "@aigne/anthropic": "^0.3.6",
55
+ "@aigne/agent-library": "^1.16.1",
56
+ "@aigne/core": "^1.23.1",
57
+ "@aigne/bedrock": "^0.3.6",
58
+ "@aigne/deepseek": "^0.3.6",
59
+ "@aigne/observability": "^0.1.1",
60
+ "@aigne/gemini": "^0.3.6",
61
+ "@aigne/open-router": "^0.3.6",
62
+ "@aigne/openai": "^0.3.6",
63
+ "@aigne/ollama": "^0.3.6",
64
+ "@aigne/xai": "^0.3.6"
64
65
  },
65
66
  "devDependencies": {
66
67
  "@types/archiver": "^6.0.3",