aico-cli 0.3.2 → 0.3.4

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.
@@ -13,7 +13,7 @@ import { join as join$1 } from 'node:path';
13
13
  import { join, dirname, basename } from 'pathe';
14
14
  import { fileURLToPath } from 'node:url';
15
15
 
16
- const version = "0.3.2";
16
+ const version = "0.3.4";
17
17
 
18
18
  function displayBanner(subtitle) {
19
19
  const defaultSubtitle = "\u4E00\u952E\u914D\u7F6E\u4F60\u7684\u5F00\u53D1\u73AF\u5883";
@@ -3289,6 +3289,18 @@ const MCP_SERVICES = [
3289
3289
  args: ["-y", "@playwright/mcp@latest"],
3290
3290
  env: {}
3291
3291
  }
3292
+ },
3293
+ {
3294
+ id: "chrome-devtools",
3295
+ name: "Chrome DevTools",
3296
+ description: "Chrome \u5F00\u53D1\u8005\u5DE5\u5177 MCP \u670D\u52A1",
3297
+ requiresApiKey: false,
3298
+ config: {
3299
+ type: "stdio",
3300
+ command: "npx",
3301
+ args: ["chrome-devtools-mcp@latest"],
3302
+ env: {}
3303
+ }
3292
3304
  }
3293
3305
  ];
3294
3306
 
@@ -5348,28 +5360,6 @@ class InstallationComposer {
5348
5360
  this.updateGlobalConfig();
5349
5361
  this.printResults(results, "\u81EA\u5B9A\u4E49\u914D\u7F6E");
5350
5362
  }
5351
- /**
5352
- * 交互式安装
5353
- * 让用户选择要安装的组件
5354
- */
5355
- async installInteractive() {
5356
- const availableInstallers = this.executor.getAvailableInstallers();
5357
- const { selectedInstallers } = await inquirer.prompt({
5358
- type: "checkbox",
5359
- name: "selectedInstallers",
5360
- message: "\u8BF7\u9009\u62E9\u8981\u5B89\u88C5\u7684\u7EC4\u4EF6:",
5361
- choices: availableInstallers.map((name) => ({
5362
- name: this.getInstallerDisplayName(name),
5363
- value: name,
5364
- checked: true
5365
- }))
5366
- });
5367
- if (selectedInstallers.length === 0) {
5368
- console.log(ansis.yellow("\u672A\u9009\u62E9\u4EFB\u4F55\u7EC4\u4EF6"));
5369
- return;
5370
- }
5371
- await this.installCustom(selectedInstallers);
5372
- }
5373
5363
  /**
5374
5364
  * 配置 CCR 用于个人设置
5375
5365
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aico-cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "packageManager": "pnpm@9.15.9",
5
5
  "description": "AI CLI",
6
6
  "repository": {
@@ -10,8 +10,8 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
10
10
  ## 核心原则
11
11
 
12
12
  - **立即执行** — 禁止只回答不写入文件的情况,重要一定要写入到文件中
13
- - **工具优先** — 优先通过命令行工具进行处理,尽可能的通过并行方式进行处理
14
- - **事实确认** — 自行确认信息来源,不将猜测作为事实陈述
13
+ - **工具优先** — 优先通过命令行工具进行处理,尽可能的通过多任务并行执行方式进行处理
14
+ - **事实确认** — 自行搜集并确认信息来源,不将猜测作为事实陈述
15
15
  - **优先现有文件** — 优先编辑现有文件而非创建新文件
16
16
 
17
17
  ## 上下文管理
@@ -60,6 +60,11 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
60
60
  3. 批量工具调用提高效率
61
61
  4. 如果以上条件均不能满足,请使用系统命令,确保完成执行
62
62
 
63
+ **Chrome DevTools 使用:**
64
+ - 优先使用 `mcp__chrome-devtools` 进行浏览器调试和自动化操作
65
+ - 支持页面截图、元素交互、网络请求监控等开发调试功能
66
+ - 适用于网页内容分析、自动化测试和前端调试场景
67
+
63
68
  **图片处理**
64
69
  - 图片处理规范禁止使用你的 read 工具进行读取图片,因为你的读取图片工具失效了。所以请使用mcp server提供的 read_image 工具读取。
65
70
 
@@ -77,7 +82,7 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
77
82
 
78
83
  3. **方案设计**
79
84
  - 检查并确认完成需求的必要条件是否充分
80
- - 优先基于已有解决方案和相似功能模块进行设计
85
+ - 优先基于已有解决方案和相似功能模块进行设计,能复用的尽可能复用
81
86
  - 输出具体技术实现路径(注明参考来源和复用组件)
82
87
  - 提供可直接运行的验证脚本/测试用例
83
88
 
@@ -28,7 +28,8 @@
28
28
  "mcp__context7",
29
29
  "mcp__mcp-deepwiki",
30
30
  "mcp__Playwright",
31
- "mcp__open-websearch"
31
+ "mcp__open-websearch",
32
+ "mcp__chrome-devtools"
32
33
  ],
33
34
  "deny": []
34
35
  },