@ia-ccun/code-agent-cli 0.0.49-beta.8 → 0.0.49-beta.9

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 (30) hide show
  1. package/bin/cli.js +3 -2
  2. package/config/agent/skills/design-md/SKILL.md +1 -0
  3. package/config/agent/skills/executing-plans/SKILL.md +1 -0
  4. package/config/agent/skills/fireworks-tech-graph/SKILL.md +1 -0
  5. package/config/agent/skills/impeccable/adapt/SKILL.md +0 -2
  6. package/config/agent/skills/impeccable/animate/SKILL.md +0 -1
  7. package/config/agent/skills/impeccable/arrange/SKILL.md +0 -1
  8. package/config/agent/skills/impeccable/audit/SKILL.md +0 -2
  9. package/config/agent/skills/impeccable/bolder/SKILL.md +0 -1
  10. package/config/agent/skills/impeccable/clarify/SKILL.md +0 -1
  11. package/config/agent/skills/impeccable/colorize/SKILL.md +0 -1
  12. package/config/agent/skills/impeccable/critique/SKILL.md +0 -1
  13. package/config/agent/skills/impeccable/delight/SKILL.md +0 -1
  14. package/config/agent/skills/impeccable/distill/SKILL.md +0 -1
  15. package/config/agent/skills/impeccable/extract/SKILL.md +0 -2
  16. package/config/agent/skills/impeccable/harden/SKILL.md +0 -2
  17. package/config/agent/skills/impeccable/normalize/SKILL.md +0 -1
  18. package/config/agent/skills/impeccable/onboard/SKILL.md +0 -1
  19. package/config/agent/skills/impeccable/optimize/SKILL.md +0 -1
  20. package/config/agent/skills/impeccable/overdrive/SKILL.md +0 -1
  21. package/config/agent/skills/impeccable/polish/SKILL.md +0 -2
  22. package/config/agent/skills/impeccable/quieter/SKILL.md +0 -1
  23. package/config/agent/skills/impeccable/teach-impeccable/SKILL.md +0 -1
  24. package/config/agent/skills/impeccable/typeset/SKILL.md +0 -1
  25. package/config/agent/skills/receiving-code-review/SKILL.md +1 -0
  26. package/config/agent/skills/requesting-code-review/SKILL.md +1 -0
  27. package/config/agent/skills/ui-ux-pro-max/SKILL.md +1 -1
  28. package/config/agent/skills/unit-test/SKILL.md +1 -0
  29. package/config/agent/skills/writing-skills/SKILL.md +1 -0
  30. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -194,7 +194,8 @@ async function checkForUpdates() {
194
194
  checkForUpdates();
195
195
 
196
196
  // 获取 node_modules 中 pi-coding-agent 的 CLI 路径
197
- const piAgentPath = new URL('../node_modules/@mariozechner/pi-coding-agent/dist/cli.js', import.meta.url);
197
+ const piAgentPathUrl = new URL('../node_modules/@mariozechner/pi-coding-agent/dist/cli.js', import.meta.url);
198
+ const piAgentPath = fileURLToPath(piAgentPathUrl); // 解码中文路径
198
199
 
199
200
  // 获取本地版本号
200
201
  const localVersion = getLocalVersion();
@@ -221,7 +222,7 @@ const agentDir = join(fullPath, 'agent');
221
222
  env.AICODE_CLI_CODING_AGENT_DIR = agentDir;
222
223
 
223
224
  // 启动 pi-coding-agent
224
- const child = spawn('node', [piAgentPath.pathname, ...remainingArgs], {
225
+ const child = spawn('node', [piAgentPath, ...remainingArgs], {
225
226
  stdio: 'inherit',
226
227
  env
227
228
  });
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: design-md
3
3
  description: Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
4
+ disable-model-invocation: true
4
5
  allowed-tools:
5
6
  - "stitch*:*"
6
7
  - "Read"
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: executing-plans
3
3
  description: "Execute written implementation plans with review checkpoints. Use when executing plans, following implementation plans, or completing planned tasks."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
7
  author: "xujianjiang"
@@ -8,6 +8,7 @@ description: >-
8
8
  '做个图' '架构图' '流程图' '可视化' '出图' '选择风格' '换风格'
9
9
  'generate diagram' 'draw diagram' 'visualize' or any system/flow description
10
10
  the user wants illustrated."
11
+ disable-model-invocation: true
11
12
  ---
12
13
 
13
14
  # Fireworks Tech Graph
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  name: adapt
3
3
  description: (impeccable) 使设计适配不同的屏幕尺寸、设备、场景或平台,确保跨环境体验一致。
4
- disable-model-invocation: true
5
- user-invocable: true
6
4
  args:
7
5
  - name: target
8
6
  description: The feature or component to adapt (optional)
@@ -2,7 +2,6 @@
2
2
  name: animate
3
3
  description: (impeccable) 审视功能特性,通过有目的性的动画、微交互和动效来增强可用性与体验愉悦度。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to animate (optional)
@@ -2,7 +2,6 @@
2
2
  name: arrange
3
3
  description: (impeccable) 优化布局、间距和视觉韵律,修正单调的网格、不一致的间距和薄弱的视觉层级,打造有意图的视觉组合。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to improve layout for (optional)
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  name: audit
3
3
  description: (impeccable) 对界面质量进行全面审计,涵盖无障碍性、性能、主题化和响应式设计,生成包含严重等级和改进建议的详细报告。
4
- disable-model-invocation: true
5
- user-invocable: true
6
4
  args:
7
5
  - name: area
8
6
  description: The feature or area to audit (optional)
@@ -2,7 +2,6 @@
2
2
  name: bolder
3
3
  description: (impeccable) 放大安全或乏味的设计,使其更具视觉吸引力和刺激性,在保持可用性的同时提升影响力。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to make bolder (optional)
@@ -2,7 +2,6 @@
2
2
  name: clarify
3
3
  description: (impeccable) 优化不清晰的 UX 文案、错误提示、微文案、标签和说明文字,让界面更易于理解和使用。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component with unclear copy (optional)
@@ -2,7 +2,6 @@
2
2
  name: colorize
3
3
  description: (impeccable) 为过于单调或缺乏视觉趣味的功能添加策略性配色,使界面更具吸引力和表现力。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to colorize (optional)
@@ -2,7 +2,6 @@
2
2
  name: critique
3
3
  description: (impeccable) 从 UX 视角评估设计有效性,包括视觉层级、信息架构、情感共鸣和整体设计质量,并提供可操作的反馈意见。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: area
8
7
  description: The feature or area to critique (optional)
@@ -2,7 +2,6 @@
2
2
  name: delight
3
3
  description: (impeccable) 添加愉悦感、个性和意想不到的细节,让界面令人难忘且乐于使用,将功能性提升为愉悦体验。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or area to add delight to (optional)
@@ -2,7 +2,6 @@
2
2
  name: distill
3
3
  description: (impeccable) 剥离设计中的非必要复杂性,回归本质。伟大的设计是简洁、有力且干净的。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to distill (optional)
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  name: extract
3
3
  description: (impeccable) 提取并整合可复用的组件、设计令牌和模式到设计系统中,识别系统性复用的机会并丰富组件库。
4
- disable-model-invocation: true
5
- user-invocable: true
6
4
  args:
7
5
  - name: target
8
6
  description: The feature, component, or area to extract from (optional)
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  name: harden
3
3
  description: (impeccable) 通过改进错误处理、i18n 支持、文字溢出处理和边界情况管理,提升界面的健壮性,使界面达到可上线标准。
4
- disable-model-invocation: true
5
- user-invocable: true
6
4
  args:
7
5
  - name: target
8
6
  description: The feature or area to harden (optional)
@@ -2,7 +2,6 @@
2
2
  name: normalize
3
3
  description: (impeccable) 将设计规范与设计系统对齐,确保一致性。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: feature
8
7
  description: The page, route, or feature to normalize (optional)
@@ -2,7 +2,6 @@
2
2
  name: onboard
3
3
  description: (impeccable) 设计或优化引导流程、空状态和首次用户体验,帮助用户顺利上手并快速理解产品价值。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or area needing onboarding (optional)
@@ -2,7 +2,6 @@
2
2
  name: optimize
3
3
  description: (impeccable) 优化界面性能,覆盖加载速度、渲染、动画、图片和包体积等维度,打造更快更流畅的体验。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or area to optimize (optional)
@@ -2,7 +2,6 @@
2
2
  name: overdrive
3
3
  description: (impeccable) 将界面推向传统极限,实现技术上前瞻性的实现。无论是着色器、60fps 虚拟表格、对话框的弹簧物理效果,还是滚动驱动的揭示动效——让用户惊叹"这怎么做到的?"
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or area to push into overdrive (optional)
@@ -1,8 +1,6 @@
1
1
  ---
2
2
  name: polish
3
3
  description: (impeccable) 上线前的最终质量检查,修正对齐、间距、一致性和细节问题,让"好"与"优秀"拉开差距。
4
- disable-model-invocation: true
5
- user-invocable: true
6
4
  args:
7
5
  - name: target
8
6
  description: The feature or area to polish (optional)
@@ -2,7 +2,6 @@
2
2
  name: quieter
3
3
  description: (impeccable) 弱化过于大胆或视觉攻击性强的设计,在保持设计品质和影响力的同时降低视觉强度。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to make quieter (optional)
@@ -2,7 +2,6 @@
2
2
  name: teach-impeccable
3
3
  description: (impeccable) 一次性设置,收集项目设计上下文并保存至 AI 配置文件,运行一次即可建立持久的设计指导原则。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  ---
7
6
 
8
7
  Gather design context for this project, then persist it for all future sessions.
@@ -2,7 +2,6 @@
2
2
  name: typeset
3
3
  description: (impeccable) 通过修正字体选择、层级、大小、粗细一致性和可读性来优化排版,让文字呈现得更有意图且精致。
4
4
  disable-model-invocation: true
5
- user-invocable: true
6
5
  args:
7
6
  - name: target
8
7
  description: The feature or component to improve typography for (optional)
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: receiving-code-review
3
3
  description: "Handle code review feedback with technical rigor and verification. Use when receiving code review feedback, implementing review comments, or handling review suggestions."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
7
  author: "xujianjiang"
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: requesting-code-review
3
3
  description: "Request code review to verify work meets requirements before merging. Use when needing review, requesting code review, or before merging PRs."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
7
  author: "xujianjiang"
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: ui-ux-pro-max
3
3
  description: "UI/UX design intelligence with 50 styles, 21 palettes, 50 font pairings, 20 charts, and 8 tech stacks. Use when building frontend, designing UI, creating components, landing pages, dashboards, or analyzing UI/UX code."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
- author: "xujianjiang"
7
7
  ---
8
8
 
9
9
  # UI/UX Pro Max - Design Intelligence
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: unit-test
3
3
  description: "为选定的代码文件生成单元测试。Use when generating unit tests, writing tests, or adding test coverage."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
7
  author: "xujianjiang"
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: writing-skills
3
3
  description: "Create new skills, edit existing skills, or verify skills before deployment. Use when writing skills, creating new skills, or editing existing skills."
4
+ disable-model-invocation: true
4
5
  metadata:
5
6
  version: "1.0.0"
6
7
  author: "xujianjiang"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-ccun/code-agent-cli",
3
- "version": "0.0.49-beta.8",
3
+ "version": "0.0.49-beta.9",
4
4
  "description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent(pi)原理封装的编码智能体(供学习使用)。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",