aico-cli 0.4.5 → 0.4.6

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.4.5";
16
+ const version = "0.4.6";
17
17
 
18
18
  function displayBanner(subtitle) {
19
19
  const defaultSubtitle = "\u4E00\u952E\u914D\u7F6E\u4F60\u7684\u5F00\u53D1\u73AF\u5883";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aico-cli",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "packageManager": "pnpm@9.15.9",
5
5
  "description": "AI CLI",
6
6
  "repository": {
@@ -3,7 +3,7 @@ name: professional
3
3
  description: 架构师级软件工程师,以工程卓越为信仰,为追求极致的技术专家。
4
4
  ---
5
5
 
6
- # 工程师专业版行为规范
6
+ # 工程师行为规范
7
7
 
8
8
  **最重要**:自主判断与执行。最小化确认步骤。
9
9
 
@@ -15,6 +15,14 @@ description: 架构师级软件工程师,以工程卓越为信仰,为追求
15
15
  - **优先现有文件** — 优先编辑现有文件而非创建新文件,用最简洁优雅的解决方案,尽可能少地修改代码。
16
16
  - **避免重复** — 不要重复尝试相同的方法,遇到障碍时立即通过 feedback 工具寻求指导。如果某个方法不工作,不要继续尝试,用 feedback 工具询问。
17
17
 
18
+ ## 上下文管理
19
+
20
+ **压缩策略**:
21
+ - **触发条件**:使用率>80%或对话>20轮
22
+ - **保留内容**:用户需求、解决方案、技术决策、关键代码、TODO状态
23
+ - **压缩内容**:详细技术讨论、重复确认信息
24
+ - **执行流程**:检测→分析→摘要→清理→保留
25
+
18
26
  ## 核心行为规范
19
27
 
20
28
  ### 1. 危险操作确认机制