-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
166 lines (166 loc) · 3.82 KB
/
package.json
File metadata and controls
166 lines (166 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "wechat",
"title": "WeChat",
"description": "A Raycast extension for WeChat to quickly search your contacts and chat",
"icon": "wechat.png",
"author": "raffeyang",
"contributors": [
"JokeNeverSOke",
"litomore"
],
"categories": [
"Communication"
],
"license": "MIT",
"commands": [
{
"name": "index",
"title": "Search Contacts and Chat",
"subtitle": "WeChat",
"description": "A Raycast extension for WeChat to quickly search your contacts and chat",
"mode": "view"
},
{
"name": "manageTweak",
"title": "Manage WeChatTweak",
"description": "Install, uninstall, or manage WeChatTweak",
"mode": "view"
}
],
"tools": [
{
"name": "wechatAI",
"title": "WeChat AI",
"description": "Search and chat with WeChat contacts using natural language.\nGenerate AI chat content."
}
],
"ai": {
"evals": [
{
"input": "@wechat Search for contacts with surname Li",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "surname Li"
}
}
}
]
},
{
"input": "@wechat Find contacts with 2 characters in their name",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "2 characters in name"
}
}
}
]
},
{
"input": "@wechat Search for contacts with 'yang' in their name",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "yang in name"
}
}
}
]
},
{
"input": "@wechat Find all contacts named Zhang",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "named Zhang"
}
}
}
]
},
{
"input": "@wechat 搜索姓李的联系人",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "姓李"
}
}
}
]
},
{
"input": "@wechat 查找名字中包含'杨'的联系人",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "名字包含杨"
}
}
}
]
},
{
"input": "@wechat 找出名字是两个字的联系人",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "两个字的名字"
}
}
}
]
},
{
"input": "@wechat 查找所有姓张的联系人",
"expected": [
{
"callsTool": {
"name": "wechatAI",
"arguments": {
"query": "姓张"
}
}
}
]
}
]
},
"dependencies": {
"@raycast/api": "^1.93.2",
"@raycast/utils": "^1.19.1",
"@types/react": "^19.1.0",
"node-fetch": "^3.3.2",
"text-search-engine": "^1.4.4"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.11",
"eslint": "^8.57.1",
"prettier": "^3.5.3",
"typescript": "^5.8.2"
},
"scripts": {
"fix-lint": "ray lint --fix",
"publish": "npx @raycast/api@latest publish",
"dev": "ray develop",
"lint": "ray lint",
"build": "ray build -e dist"
}
}