-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 4.82 KB
/
Copy pathpackage.json
File metadata and controls
164 lines (164 loc) · 4.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
{
"name": "tinker-mailbox",
"version": "0.1.1",
"description": "Mailbox Plugin for TINKER",
"files": [
"dist/",
"icon.png"
],
"repository": {
"type": "git",
"url": "git+https://github.com/liriliri/tinker-plugins.git"
},
"scripts": {
"dev": "concurrently \"npm run dev:renderer\" \"npm run dev:preload\"",
"dev:renderer": "vite build --watch",
"dev:preload": "vite build --watch --config vite.preload.ts",
"build": "concurrently \"npm run build:renderer\" \"npm run build:preload\"",
"build:renderer": "vite build",
"build:preload": "vite build --config vite.preload.ts",
"format": "prettier \"src/**/*.{ts,tsx,scss}\" \"*.{html,json,js,ts}\" --write"
},
"keywords": [
"tinker",
"mailbox",
"email"
],
"tinker": {
"name": "Mailbox",
"description": "Email client for reading and sending mail",
"main": "dist/renderer/index.html",
"preload": "dist/preload/index.js",
"icon": "icon.png",
"locales": {
"zh-CN": {
"name": "邮箱",
"description": "用于收发邮件的邮箱客户端"
}
},
"mcp": {
"tools": {
"list_accounts": {
"description": "List configured email accounts (id, name, address). Does not include passwords.",
"inputSchema": {
"type": "object",
"properties": {}
}
},
"select_account": {
"description": "Switch the active account by id or email address, then sync folders.",
"inputSchema": {
"type": "object",
"properties": {
"account": {
"type": "string",
"minLength": 1,
"description": "Account id or email address"
}
},
"required": [
"account"
]
}
},
"list_folders": {
"description": "List folders for the active account. Refreshes folder list from the server.",
"inputSchema": {
"type": "object",
"properties": {}
}
},
"list_messages": {
"description": "Open a folder and return recent message headers (uid, subject, from, date, unseen).",
"inputSchema": {
"type": "object",
"properties": {
"folder": {
"type": "string",
"minLength": 1,
"description": "Folder path, role (inbox/sent/drafts/trash/junk/archive/all), or display name"
}
},
"required": [
"folder"
]
}
},
"read_message": {
"description": "Open a message by uid in the current (or specified) folder and return its content.",
"inputSchema": {
"type": "object",
"properties": {
"uid": {
"type": "integer",
"minimum": 1,
"description": "Message UID from list_messages"
},
"folder": {
"type": "string",
"minLength": 1,
"description": "Optional folder path/role/name if not already selected"
}
},
"required": [
"uid"
]
}
},
"refresh_messages": {
"description": "Force-refresh messages in the current folder and return the updated list.",
"inputSchema": {
"type": "object",
"properties": {}
}
},
"send_mail": {
"description": "Send an email from the active account.",
"inputSchema": {
"type": "object",
"properties": {
"to": {
"type": "string",
"minLength": 1,
"description": "Recipient email address(es)"
},
"subject": {
"type": "string",
"description": "Email subject"
},
"text": {
"type": "string",
"description": "Plain-text body"
},
"cc": {
"type": "string",
"description": "Optional Cc address(es)"
}
},
"required": [
"to",
"text"
]
}
}
}
}
},
"dependencies": {
"imapflow": "1.4.7",
"mailparser": "^3.9.1",
"nodemailer": "^7.0.13"
},
"devDependencies": {
"@tiptap/extension-placeholder": "^3.28.0",
"@tiptap/extension-text-style": "^3.28.0",
"@tiptap/extension-underline": "^3.28.0",
"@tiptap/pm": "^3.28.0",
"@tiptap/react": "^3.28.0",
"@tiptap/starter-kit": "^3.28.0",
"@types/mailparser": "^3.4.6",
"@types/nodemailer": "^8.0.1",
"darkreader": "^4.9.128",
"idb": "^8.0.3"
}
}