aico-cli 2.0.38 → 2.0.75

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.0.70",
3
+ "version": "2.0.75",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
@@ -102,14 +102,6 @@ export interface TaskOutputInput {
102
102
  timeout?: number;
103
103
  }
104
104
  export interface ExitPlanModeInput {
105
- /**
106
- * Whether to launch a swarm to implement the plan
107
- */
108
- launchSwarm?: boolean;
109
- /**
110
- * Number of teammates to spawn in the swarm
111
- */
112
- teammateCount?: number;
113
105
  [k: string]: unknown;
114
106
  }
115
107
  export interface FileEditInput {
@@ -14,7 +14,7 @@ import { join, dirname, basename } from 'pathe';
14
14
  import { fileURLToPath } from 'node:url';
15
15
  import { EventEmitter } from 'node:events';
16
16
 
17
- const version = "2.0.38";
17
+ const version = "2.0.75";
18
18
 
19
19
  function displayBanner(subtitle) {
20
20
  const defaultSubtitle = "\u4E00\u952E\u914D\u7F6E\u4F60\u7684\u5F00\u53D1\u73AF\u5883";
@@ -5139,7 +5139,7 @@ class ConfigInstaller extends AbstractInstaller {
5139
5139
  async applyCompanyConfig(silent = false) {
5140
5140
  try {
5141
5141
  const apiConfig = {
5142
- url: "http://11.0.166.20:13456",
5142
+ url: "http://11.0.166.23:13456",
5143
5143
  key: "sk-4730d06849b5fea00f551bd60a0902e1"
5144
5144
  };
5145
5145
  const configuredApi = configureApi(apiConfig, this.getTarget());
@@ -5356,7 +5356,7 @@ class ConfigCheckerInstaller extends AbstractInstaller {
5356
5356
  if (!baseUrl) {
5357
5357
  return "none";
5358
5358
  }
5359
- if (baseUrl.includes("11.0.166.20")) {
5359
+ if (baseUrl.includes("11.0.166")) {
5360
5360
  return "company";
5361
5361
  }
5362
5362
  return "personal";
@@ -6012,7 +6012,7 @@ class InstallationComposer {
6012
6012
  configData: {
6013
6013
  ...options.configData,
6014
6014
  apiConfig: {
6015
- url: "http://11.0.166.20:13456",
6015
+ url: "http://11.0.166.23:13456",
6016
6016
  key: "sk-4730d06849b5fea00f551bd60a0902e1"
6017
6017
  }
6018
6018
  }
@@ -6026,11 +6026,11 @@ class InstallationComposer {
6026
6026
  const configInstaller = new ConfigInstaller(this.context);
6027
6027
  await configInstaller.applyCompanyConfig();
6028
6028
  updateClaudeConfigEnv({
6029
- ANTHROPIC_BASE_URL: "http://11.0.166.20:13456",
6029
+ ANTHROPIC_BASE_URL: "http://11.0.166.23:13456",
6030
6030
  ANTHROPIC_AUTH_TOKEN: "sk-4730d06849b5fea00f551bd60a0902e1"
6031
6031
  }, "claude");
6032
6032
  await this.installToTarget("codebuddy", companySteps, configOptions, {
6033
- ANTHROPIC_BASE_URL: "http://11.0.166.20:13456",
6033
+ ANTHROPIC_BASE_URL: "http://11.0.166.23:13456",
6034
6034
  ANTHROPIC_AUTH_TOKEN: "sk-4730d06849b5fea00f551bd60a0902e1"
6035
6035
  });
6036
6036
  this.installCodebuddyCodeSilently();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aico-cli",
3
- "version": "2.0.38",
3
+ "version": "2.0.75",
4
4
  "packageManager": "pnpm@9.15.9",
5
5
  "description": "AI CLI",
6
6
  "repository": {
@@ -41,7 +41,7 @@
41
41
  "hooks:clean": "rimraf templates/hooks/dist templates/hooks/*.js templates/hooks/*.d.ts templates/hooks/*.js.map"
42
42
  },
43
43
  "dependencies": {
44
- "@anthropic-ai/claude-code": "^2.0.70",
44
+ "@anthropic-ai/claude-code": "^2.0.75",
45
45
  "ansis": "^3.17.0",
46
46
  "cac": "^6.7.14",
47
47
  "dayjs": "^1.11.13",
@@ -66,7 +66,7 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
66
66
 
67
67
  ### 回答结构模式
68
68
 
69
- **问题诊断(30秒内判断):**
69
+ **问题诊断:**
70
70
  ```
71
71
  核心问题:[一句话概括]
72
72
  根本原因:[技术层面分析]
@@ -89,9 +89,14 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
89
89
 
90
90
  ### 输出要求
91
91
  - After task completion, provide a summary description directly without generating documentation.
92
- - For code comments, output only method-related annotations that comply with documentation standards (e.g., JSDoc); exclude unrelated instructional messages.
92
+ - Achieve the most accurate understanding with the fewest questions.
93
+ - Don't build what I say. Build what I mean.
94
+ - Provide only the single best solution; avoid presenting multiple alternative approaches.
93
95
  - Avoid over-engineering; keep code simple, readable, and practical.
96
+ - Make minimal changes; avoid modifying unrelated modules.
94
97
  - Minimize cyclomatic complexity and maximize code reuse.
95
98
  - Apply appropriate design patterns with modular architecture in mind.
96
- - Make minimal changes; avoid modifying unrelated modules.
97
- - Always respond in 中文
99
+ - Output only method-level annotations that comply with documentation standards (e.g., JSDoc).
100
+ - Comments should focus solely on business logic description; avoid mentioning solution approaches or implementation strategies.
101
+ - Exclude unrelated instructional messages.
102
+ - Always respond in Chinese-simplified.
@@ -139,9 +139,14 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
139
139
 
140
140
  ### 输出要求
141
141
  - After task completion, provide a summary description directly without generating documentation.
142
- - For code comments, output only method-related annotations that comply with documentation standards (e.g., JSDoc); exclude unrelated instructional messages.
142
+ - Achieve the most accurate understanding with the fewest questions.
143
+ - Don't build what I say. Build what I mean.
144
+ - Provide only the single best solution; avoid presenting multiple alternative approaches.
143
145
  - Avoid over-engineering; keep code simple, readable, and practical.
146
+ - Make minimal changes; avoid modifying unrelated modules.
144
147
  - Minimize cyclomatic complexity and maximize code reuse.
145
148
  - Apply appropriate design patterns with modular architecture in mind.
146
- - Make minimal changes; avoid modifying unrelated modules.
147
- - Always respond in 中文。
149
+ - Output only method-level annotations that comply with documentation standards (e.g., JSDoc).
150
+ - Comments should focus solely on business logic description; avoid mentioning solution approaches or implementation strategies.
151
+ - Exclude unrelated instructional messages.
152
+ - Always respond in Chinese-simplified.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 五域科技
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: tech-whitepaper
3
+ description: 生成专业级技术白皮书的能力技能。适用于需要为软件产品、AI平台、技术解决方案创建高质量技术白皮书的场景。输出纯HTML格式,包含:现代简约设计系统、Mermaid架构图、图片灯箱交互、响应式布局。当用户需要生成技术白皮书、产品文档、技术方案说明书时使用此技能。
4
+ license: Complete terms in LICENSE.txt
5
+ ---
6
+
7
+ # 技术白皮书生成技能
8
+
9
+ 为软件产品生成专业级纯HTML技术白皮书,具备现代简约设计风格、可视化架构图和交互式图片查看功能。
10
+
11
+ ## 核心能力
12
+
13
+ 1. **设计系统**:统一视觉语言,CSS变量驱动,单栏大留白布局
14
+ 2. **架构图**:集成Mermaid流程图,自动渲染技术架构
15
+ 3. **图片交互**:悬停放大、点击灯箱查看大图
16
+ 4. **响应式**:适配桌面和移动端阅读
17
+
18
+ ## 使用流程
19
+
20
+ ### Step 1: 项目分析
21
+
22
+ 在生成白皮书前,必须深入分析项目:
23
+
24
+ ```
25
+ 1. 读取项目根目录的 README.md、package.json 等元信息
26
+ 2. 扫描源代码结构,识别核心模块和架构模式
27
+ 3. 查找已有的图片资源(如 docs/image/、assets/)
28
+ 4. 理解技术栈:前端框架、后端服务、数据库、AI能力等
29
+ ```
30
+
31
+ ### Step 2: 内容规划
32
+
33
+ 技术白皮书标准章节结构:
34
+
35
+ 1. **产品概述** - 产品定位、核心价值主张
36
+ 2. **核心价值/亮点** - 差异化竞争优势(3-6个要点)
37
+ 3. **产品组成** - 模块架构、组件说明
38
+ 4. **产品生态展望** - 未来规划、扩展能力
39
+ 5. **技术架构** - 系统架构图、技术栈详解
40
+ 6. **智能体架构**(AI产品)- Agent系统设计
41
+ 7. **智能体编排架构**(AI产品)- 工作流引擎
42
+ 8. **知识库架构**(AI产品)- RAG/向量/图谱
43
+ 9. **智能路由架构**(AI产品)- 模型路由策略
44
+ 10. **主要功能** - 功能特性矩阵
45
+ 11. **部署场景** - 部署架构、环境要求
46
+ 12. **技术支持** - 服务体系、联系方式
47
+
48
+ ### Step 3: 生成白皮书
49
+
50
+ 使用 [HTML模板](assets/whitepaper-template.html) 作为基础,按以下原则定制:
51
+
52
+ **设计原则**:
53
+ - 以读者为中心,每个元素服务于信息传达
54
+ - 单栏布局 + 大留白 + 无衬线字体
55
+ - 鲜明品牌色 + 简约扁平化图表
56
+ - 杜绝无意义装饰,全文统一视觉语言
57
+
58
+ **Mermaid图表**:
59
+ - 使用 `<pre class="mermaid">` 标签(非div)
60
+ - 代码从第一列开始,无缩进
61
+ - 简化节点标签,避免特殊字符
62
+
63
+ **图片处理**:
64
+ - 嵌入项目中所有相关截图
65
+ - 使用 `<figure>` + `<figcaption>` 结构
66
+ - 图片网格用 `.image-grid` 类
67
+
68
+ **品牌定制**:
69
+ - 替换公司名称、产品名称
70
+ - 更新品牌色(修改CSS变量 `--brand-primary` 等)
71
+ - 添加演示地址、联系方式
72
+
73
+ ### Step 4: 输出验证
74
+
75
+ 生成后检查:
76
+ - [ ] Mermaid图表正确渲染(非代码文本)
77
+ - [ ] 图片悬停有放大效果
78
+ - [ ] 图片点击打开灯箱
79
+ - [ ] 响应式布局在移动端正常
80
+ - [ ] 所有链接可点击
81
+
82
+ ## 资源文件
83
+
84
+ - **assets/whitepaper-template.html** - 完整HTML模板,包含设计系统和交互脚本
85
+ - **references/design-system.md** - 设计系统详解与定制指南
86
+ - **references/mermaid-patterns.md** - 常用Mermaid架构图模式