@aalis/plugin-cli 0.1.2 → 0.2.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.
- package/dist/index.js +1 -1
- package/package.json +7 -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}
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aalis/plugin-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "CLI 终端平台适配器:在终端直接与 AI 对话",
|
|
6
6
|
"type": "module",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^22.0.0",
|
|
22
22
|
"typescript": "^5.7.0",
|
|
23
|
-
"@aalis/core": "0.
|
|
24
|
-
"@aalis/plugin-
|
|
25
|
-
"@aalis/plugin-
|
|
26
|
-
"@aalis/plugin-
|
|
27
|
-
"@aalis/plugin-platform-api": "0.
|
|
23
|
+
"@aalis/core": "0.2.0",
|
|
24
|
+
"@aalis/plugin-authority-api": "0.2.0",
|
|
25
|
+
"@aalis/plugin-message-api": "0.2.0",
|
|
26
|
+
"@aalis/plugin-persona-api": "0.2.0",
|
|
27
|
+
"@aalis/plugin-platform-api": "0.2.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@aalis/core": "^0.
|
|
30
|
+
"@aalis/core": "^0.2.0"
|
|
31
31
|
},
|
|
32
32
|
"aalis": {
|
|
33
33
|
"service": {
|