@aigne/cli 1.59.0-beta.9 → 1.59.0

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.
@@ -11,10 +11,15 @@ import { parse } from "yaml";
11
11
  import z, { ZodAny, ZodArray, ZodBoolean, ZodError, ZodNumber, ZodObject, ZodString, ZodType, ZodUnknown, } from "zod";
12
12
  const MODEL_OPTIONS_GROUP_NAME = "Model Options";
13
13
  export const withRunAgentCommonOptions = (yargs) => yargs
14
- .option("chat", {
15
- describe: "Run chat loop in terminal",
14
+ .option("interactive", {
15
+ describe: "Run in interactive chat mode",
16
16
  type: "boolean",
17
17
  default: false,
18
+ alias: ["chat"],
19
+ })
20
+ .option("session-id", {
21
+ describe: "Session ID for chat-based agents to maintain context across interactions",
22
+ type: "string",
18
23
  })
19
24
  .option("model", {
20
25
  group: MODEL_OPTIONS_GROUP_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.59.0-beta.9",
3
+ "version": "1.59.0",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -56,13 +56,13 @@
56
56
  "@inquirer/type": "^3.0.8",
57
57
  "@listr2/prompt-adapter-inquirer": "^3.0.4",
58
58
  "@modelcontextprotocol/sdk": "^1.18.0",
59
- "@ocap/mcrypto": "^1.27.14",
60
59
  "@smithy/node-http-handler": "^4.2.1",
61
60
  "ansi-escapes": "^7.1.0",
62
61
  "ansi-regex": "^6.2.2",
63
62
  "boxen": "^8.0.1",
64
63
  "chalk": "^5.6.2",
65
64
  "cli-table3": "^0.6.5",
65
+ "crypto-js": "^4.2.0",
66
66
  "detect-port": "^2.1.0",
67
67
  "dotenv-flow": "^4.1.0",
68
68
  "express": "^5.1.0",
@@ -90,22 +90,24 @@
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": "^1.4.0-beta.4",
94
- "@aigne/afs-local-fs": "^1.4.0-beta.7",
95
- "@aigne/afs-history": "^1.2.0-beta.4",
96
- "@aigne/agent-library": "^1.24.0-beta.8",
97
- "@aigne/agentic-memory": "^1.1.6-beta.7",
98
- "@aigne/default-memory": "^1.4.0-beta.6",
99
- "@aigne/aigne-hub": "^0.10.16-beta.10",
100
- "@aigne/core": "^1.72.0-beta.7",
101
- "@aigne/observability-api": "^0.11.14-beta.1",
102
- "@aigne/openai": "^0.16.16-beta.7",
103
- "@aigne/secrets": "^0.1.6-beta.7"
93
+ "@aigne/afs": "^1.4.0",
94
+ "@aigne/afs-explorer": "^1.1.0",
95
+ "@aigne/afs-history": "^1.2.0",
96
+ "@aigne/agent-library": "^1.24.0",
97
+ "@aigne/afs-local-fs": "^1.4.0",
98
+ "@aigne/agentic-memory": "^1.1.6",
99
+ "@aigne/default-memory": "^1.4.0",
100
+ "@aigne/core": "^1.72.0",
101
+ "@aigne/aigne-hub": "^0.10.16",
102
+ "@aigne/observability-api": "^0.11.14",
103
+ "@aigne/secrets": "^0.1.6",
104
+ "@aigne/openai": "^0.16.16"
104
105
  },
105
106
  "devDependencies": {
106
107
  "@inquirer/testing": "^2.1.50",
107
108
  "@types/archiver": "^6.0.3",
108
109
  "@types/bun": "^1.2.22",
110
+ "@types/crypto-js": "^4.2.2",
109
111
  "@types/express": "^5.0.3",
110
112
  "@types/gradient-string": "^1.1.6",
111
113
  "@types/node": "^24.5.1",
@@ -117,14 +119,14 @@
117
119
  "rimraf": "^6.0.1",
118
120
  "typescript": "^5.9.2",
119
121
  "ufo": "^1.6.1",
120
- "@aigne/test-utils": "^0.5.69-beta.7"
122
+ "@aigne/test-utils": "^0.5.69"
121
123
  },
122
124
  "scripts": {
123
125
  "lint": "tsc --noEmit",
124
126
  "build": "tsc --build tsconfig.build.json",
125
127
  "clean": "rimraf dist test/coverage templates/coverage",
126
- "test": "run-s test:src test:templates",
127
- "test:coverage": "run-s test:src:coverage test:templates:coverage",
128
+ "test": "npm run test:src && npm run test:templates",
129
+ "test:coverage": "npm run test:src:coverage && npm run test:templates:coverage",
128
130
  "test:src": "bun --cwd test test",
129
131
  "test:src:coverage": "bun --cwd test test --coverage --coverage-reporter=lcov --coverage-reporter=text",
130
132
  "test:templates": "cd templates && node --test",
@@ -42,7 +42,7 @@ echo "Hello, what can you help me with?" | aigne run
42
42
  use the following command to start an interactive chat session:
43
43
 
44
44
  ```bash
45
- aigne run --chat
45
+ aigne run --interactive
46
46
  ```
47
47
 
48
48
  help: