@aalis/plugin-cli 0.1.2 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +8 -7
package/dist/index.js CHANGED
@@ -206,7 +206,7 @@ class CliTui {
206
206
  const assistantName = persona?.getPersonaName() ?? 'Aalis';
207
207
  this.chatLines.push(chalk.gray(this.formatCont()) + chalk.gray(`欢迎使用 ${assistantName}。按 ${chalk.cyan('Ctrl+G')} 查看快捷键。`));
208
208
  this.ctx.getService('authority')?.setConfirmHandler('cli', async (request) => {
209
- return this.askConfirm(`/${request.name} 是高危指令,按 y 确认,其他键取消`);
209
+ return this.askConfirm(`/${request.name} 是受限指令,按 y 确认,其他键取消`);
210
210
  });
211
211
  input.on('keypress', this.handleKeypress);
212
212
  output.on('resize', this.queueRender);
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@aalis/plugin-cli",
3
- "version": "0.1.2",
3
+ "version": "0.4.0",
4
4
  "license": "MIT",
5
5
  "description": "CLI 终端平台适配器:在终端直接与 AI 对话",
6
6
  "type": "module",
7
7
  "keywords": [
8
+ "aalis",
8
9
  "aalis-plugin"
9
10
  ],
10
11
  "main": "dist/index.js",
@@ -20,14 +21,14 @@
20
21
  "devDependencies": {
21
22
  "@types/node": "^22.0.0",
22
23
  "typescript": "^5.7.0",
23
- "@aalis/core": "0.1.3",
24
- "@aalis/plugin-message-api": "0.1.1",
25
- "@aalis/plugin-persona-api": "0.1.1",
26
- "@aalis/plugin-authority-api": "0.1.1",
27
- "@aalis/plugin-platform-api": "0.1.1"
24
+ "@aalis/core": "0.4.0",
25
+ "@aalis/plugin-authority-api": "0.4.0",
26
+ "@aalis/plugin-message-api": "0.4.0",
27
+ "@aalis/plugin-persona-api": "0.4.0",
28
+ "@aalis/plugin-platform-api": "0.4.0"
28
29
  },
29
30
  "peerDependencies": {
30
- "@aalis/core": "^0.1.0"
31
+ "@aalis/core": ">=0.2.0 <1.0.0"
31
32
  },
32
33
  "aalis": {
33
34
  "service": {