chatccc 0.2.69 → 0.2.70

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatccc",
3
- "version": "0.2.69",
3
+ "version": "0.2.70",
4
4
  "description": "Feishu bot bridge for Claude Code",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -151,7 +151,7 @@ describe("buildHelpCard", () => {
151
151
  const parsed = JSON.parse(card);
152
152
  const action = parsed.elements[2];
153
153
  expect(action.tag).toBe("action");
154
- expect(action.actions).toHaveLength(5);
154
+ expect(action.actions).toHaveLength(6);
155
155
  });
156
156
  });
157
157
 
package/src/cards.ts CHANGED
@@ -129,6 +129,7 @@ export function buildHelpCard(
129
129
  { tag: "div", text: { tag: "lark_md", content: lines } },
130
130
  buildButtons([
131
131
  { text: `新建默认会话(/new,${defaultToolLabel})`, value: JSON.stringify({ cmd: "new" }), type: "primary" },
132
+ { text: "新建 Claude 会话(/new claude)", value: JSON.stringify({ cmd: "new claude" }), type: "primary" },
132
133
  { text: "新建 Cursor 会话(/new cursor)", value: JSON.stringify({ cmd: "new cursor" }), type: "primary" },
133
134
  { text: "新建 Codex 会话(/new codex)", value: JSON.stringify({ cmd: "new codex" }), type: "primary" },
134
135
  { text: "重启 ChatCCC(/restart)", value: JSON.stringify({ cmd: "restart" }), type: "danger" },