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 +1 -1
- package/src/__tests__/cards.test.ts +1 -1
- package/src/cards.ts +1 -0
package/package.json
CHANGED
|
@@ -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(
|
|
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" },
|