@ia-ccun/code-agent-cli 0.0.42 → 0.0.44

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.
@@ -35,9 +35,9 @@ export default function (pi: ExtensionAPI) {
35
35
  timeStr = `${mins}m ${secs}s`;
36
36
  }
37
37
 
38
- // 格式化时间
38
+ // 格式化完整时间
39
39
  const now = new Date();
40
- const timeStr2 = `${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}:${String(now.getSeconds()).padStart(2, '0')}`;
40
+ const timeStr2 = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')} ${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}:${String(now.getSeconds()).padStart(2, '0')}`;
41
41
 
42
42
  // agent_end 表示一轮对话结束,显示完成提示
43
43
  ctx.ui.notify(`${timeStr2} | ✨ 消息处理完成 (${timeStr})`, "info");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-ccun/code-agent-cli",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent原理实现的的编码智能体(供学习使用)。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -169,6 +169,7 @@ const packageConfigDir = join(__dirname, '..', 'config', 'agent');
169
169
  const FORCE_OVERWRITE_LIST = [
170
170
  'extensions/working-msg.ts',
171
171
  'extensions/custom-footer.ts',
172
+ 'extensions/custom.ts',
172
173
  // Force overwrite all skills SKILL.md files
173
174
  'skills/*/SKILL.md',
174
175
  ];