MCPcopy Create free account
hub / github.com/chieapp/chie / getMenuItems

Method getMenuItems

src/view/chat-view.ts:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 };
37
38 static getMenuItems() {
39 return [
40 {
41 label: 'Clear Conversation',
42 accelerator: 'Shift+CmdOrCtrl+C',
43 validate: (view: ChatView) => view.service?.history.length > 0,
44 onClick: (view: ChatView) => view.service?.clear(),
45 },
46 ];
47 }
48
49 messagesView: MessagesView;
50

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected