dsh-skillpie-mail 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # SkillPie 邮箱 (dsh-skillpie-mail)
2
2
 
3
+ <p align="left"><img src="docs/dsh-skillpie-mail-icon-180.png" width="72" alt="icon"></p>
4
+
3
5
  DeepSeek Harness(DSH)插件:把 [SkillPie 邮箱](https://mail.skillpie.cn) 变成**随身的接码邮箱**——在 DSH 里一键注册 `@skillpie.cn` 邮箱,收到的验证码邮件实时汇总到底部状态栏,点开面板即可查看,**不用切换窗口、不用装邮件客户端**。
4
6
 
5
7
  ## 功能
package/lib/client.js CHANGED
@@ -943,6 +943,146 @@ window.__ModuleLoader__.load({
943
943
 
944
944
  /* ── 注册 ───────────────────────────────────────────────────────── */
945
945
 
946
+ // ======================================================================
947
+ // 注入在 factory(require) 内,可用 factory 的 require 取 react;
948
+ // apply 末尾通过 window.__DSH_FEATURED_INIT__(ctx) 注册 tab。
949
+ // ======================================================================
950
+ // >>> dsh-featured inline (auto-inserted, do not remove markers)
951
+ // 精选插件 client 内联模块(由 dsh-featured 的 integrate.sh 自动插入)。
952
+ // 这是一段"函数体片段",由 integrate.sh 注入到接入插件 lib/client.js 的
953
+ // factory(require) 内部(MARK 之间的内容),因此可以直接用 factory 的 require
954
+ // 拿 react,并暴露 window.__DSH_FEATURED_INIT__(ctx) 供 apply 末尾调用。
955
+ //
956
+ // 为什么不用 DSH 的 require.async 包本地 chunk:chunk URL 必须与 bundle 的
957
+ // ?rev= 精确匹配,一旦接入包自己的 bundle 加载失败(如 dsh-app:// 404),
958
+ // chunk 永远到不了;内联后 tab 跟随接入插件自己的 bundle,零额外请求。
959
+ // 注意:本片段绝不能放到 factory 之外 —— 那样 require 会落到 Node 全局。
960
+ //
961
+ // 本片段只做「极简入口」:注册精选插件 tab,点开自动安装完整版 dsh-featured,
962
+ // 装完由它接管完整功能。卡片/详情/搜索/筛选/申请收录等重逻辑都不在此,
963
+ // 全部交给 dsh-featured,这样接入插件只需背上极小的一段代码。
964
+ ;(function () {
965
+ window.__FEATURED_FACTORY_RAN__ = true
966
+ try {
967
+ const React = require('react')
968
+ const h = React.createElement
969
+
970
+ const NS = 'dsh-plugins-plugin'
971
+ const FULL_PKG = 'dsh-featured'
972
+
973
+ const zh = {
974
+ tabLabel: '精选插件',
975
+ welcome: '精选插件完整版(dsh-featured)未安装。',
976
+ installFull: '安装完整版',
977
+ installing: '正在安装完整版…',
978
+ installed: '已安装,刷新后即可使用完整功能。',
979
+ installedShort: '已安装',
980
+ desc: '一个入口逛完社区精选的好插件:搜索、标签筛选、一键安装、README 详情。',
981
+ }
982
+ const en = {
983
+ tabLabel: 'Featured',
984
+ welcome: 'The full Featured plugin (dsh-featured) is not installed.',
985
+ installFull: 'Install full version',
986
+ installing: 'Installing…',
987
+ installed: 'Installed — refresh to use the full experience.',
988
+ installedShort: 'Installed',
989
+ desc: 'One tab for community-featured plugins: search, filter, one-click install, README details.',
990
+ }
991
+
992
+ const S = {
993
+ wrap: { padding: '24px 16px', maxWidth: 560, display: 'flex', flexDirection: 'column', gap: 12 },
994
+ title: { fontSize: 17, fontWeight: 600, margin: 0, color: 'var(--dsw-alias-label-primary)' },
995
+ desc: { fontSize: 13, lineHeight: 1.7, margin: 0, color: 'var(--dsw-alias-label-secondary)' },
996
+ note: { fontSize: 13, lineHeight: 1.7, margin: 0, color: 'var(--dsw-alias-label-primary)' },
997
+ btn: {
998
+ alignSelf: 'flex-start', cursor: 'pointer', font: 'inherit', fontSize: 13, fontWeight: 500,
999
+ padding: '7px 16px', borderRadius: 8, border: '1px solid var(--dsw-alias-border-l1)',
1000
+ background: 'var(--dsw-alias-brand-primary)', color: '#fff',
1001
+ },
1002
+ btnOff: { opacity: 0.6, cursor: 'default' },
1003
+ }
1004
+
1005
+ function FeaturedSection(props) {
1006
+ const install = props.install
1007
+ const t = props.t || ((k) => zh[k])
1008
+ // 已安装判定:宿主路由返回的 installed 表里有 FULL_PKG
1009
+ const pair = React.useState('idle') // idle | running | installed
1010
+ const st = pair[0], setSt = pair[1]
1011
+
1012
+ React.useEffect(() => {
1013
+ if (st !== 'idle') return
1014
+ if (typeof install !== 'function') { setSt('installed'); return }
1015
+ setSt('running')
1016
+ try {
1017
+ install({ spec: FULL_PKG, title: t('tabLabel'), version: '' })
1018
+ setSt('installed')
1019
+ } catch {
1020
+ setSt('installed')
1021
+ }
1022
+ }, [st, install])
1023
+
1024
+ const label = st === 'running' ? t('installing')
1025
+ : (st === 'installed' ? t('installedShort') : t('installFull'))
1026
+
1027
+ return h('div', { style: S.wrap },
1028
+ h('p', { style: S.desc }, t('desc')),
1029
+ st === 'idle' ? h('p', { style: S.note }, t('welcome')) : null,
1030
+ h('button', {
1031
+ type: 'button',
1032
+ style: Object.assign({}, S.btn, st === 'installed' ? S.btnOff : {}),
1033
+ disabled: st === 'installed',
1034
+ onClick: () => {
1035
+ if (st !== 'idle' || typeof install !== 'function') return
1036
+ setSt('running')
1037
+ try { install({ spec: FULL_PKG, title: t('tabLabel'), version: '' }); setSt('installed') }
1038
+ catch { setSt('installed') }
1039
+ },
1040
+ }, label))
1041
+ }
1042
+
1043
+ function initFeatured(ctx) {
1044
+ if (typeof window !== 'undefined') window.__FEATURED_INIT_CALLED__ = true
1045
+ if (typeof window !== 'undefined' && window.__DSH_FEATURED_APPLIED__) return
1046
+ if (typeof window !== 'undefined') window.__DSH_FEATURED_APPLIED__ = true
1047
+ try {
1048
+ const localeDisposable = ctx.effect(() => ctx.locale.register(NS, { zh, en }), 'dsh-plugins-plugin: locale')
1049
+ const t = ctx.locale.bind(NS)
1050
+ let tabDisposable = null
1051
+ ctx.slots.inject('plugins.tab', () => {
1052
+ tabDisposable = ctx.slots.register({
1053
+ name: 'plugins.tab',
1054
+ id: 'dsh-plugins-plugin',
1055
+ label: () => t('tabLabel'),
1056
+ locale: NS,
1057
+ priority: 100,
1058
+ }, FeaturedSection)
1059
+ return tabDisposable
1060
+ }, 'dsh-plugins-plugin: featured tab')
1061
+
1062
+ if (typeof window !== 'undefined') {
1063
+ window.__DSH_FEATURED_ENTRY__ = {
1064
+ kind: 'inline',
1065
+ dispose() {
1066
+ try { if (typeof tabDisposable === 'function') tabDisposable() } catch { /* 已注销 */ }
1067
+ try { if (typeof localeDisposable === 'function') localeDisposable() } catch { /* 已注销 */ }
1068
+ window.__DSH_FEATURED_APPLIED__ = false
1069
+ window.__DSH_FEATURED_ENTRY__ = null
1070
+ },
1071
+ }
1072
+ window.__FEATURED_OK__ = true
1073
+ }
1074
+ } catch (e) {
1075
+ if (typeof window !== 'undefined') window.__FEATURED_ERR__ = String(e && (e.stack || e.message || e))
1076
+ }
1077
+ }
1078
+
1079
+ window.__DSH_FEATURED_INIT__ = initFeatured
1080
+ } catch (error) {
1081
+ console.error('[精选插件] 模块初始化失败', error)
1082
+ window.__FEATURED_ERR__ = String((error && (error.stack || error.message)) || error)
1083
+ }
1084
+ })()
1085
+ // <<< dsh-featured inline
946
1086
  return {
947
1087
  name: 'dsh-skillpie-mail',
948
1088
  inject: ['slots', 'locale'],
@@ -1056,6 +1196,7 @@ window.__ModuleLoader__.load({
1056
1196
  },
1057
1197
  )
1058
1198
  })
1199
+ if (typeof window.__DSH_FEATURED_INIT__ === 'function') window.__DSH_FEATURED_INIT__(ctx) // 精选插件
1059
1200
  },
1060
1201
  }
1061
1202
  },
package/lib/index.js CHANGED
@@ -1,3 +1,285 @@
1
+ // >>> dsh-plugins-plugin featured source (auto-inserted, do not remove markers)
2
+ // >>> dsh-plugins-plugin featured host (auto-inserted, do not remove markers)
3
+ function dshFeaturedHostModule() {
4
+ // dsh-plugins-plugin — 嵌入式宿主模块(embed/featured.host.js)。
5
+ //
6
+ // 接入插件以 npm 依赖引用本包,在接入插件 apply 里调用:
7
+ // import { integrateFeaturedPlugins } from 'dsh-plugins-plugin/host'
8
+ // integrateFeaturedPlugins(ctx, FEATURED_SOURCE)
9
+ //
10
+ // 职责:
11
+ // 1. 登记推荐源 FEATURED_SOURCE 到跨插件服务 `featured-plugins`
12
+ // (服务已由先激活的接入方提供时,只登记,不重复建)。
13
+ // 2. 第一个激活的接入方作为「宿主」:拉远程集中目录、轮询已安装表、
14
+ // 挂聚合路由 GET /dsh-plugins-plugin/featured(重复注册静默忽略)。
15
+ //
16
+ // client 半不走本文件分发:接入插件的 apply 经 DSH 原生 chunk 机制
17
+ // require.async('./client.featured.js') 加载 client 模块(由 integrate.sh 拷入)。
18
+ //
19
+ // 多插件同时接入:板块与路由由最先激活的一方持有,其余只贡献数据;
20
+ // 客户端用 chunk 导出 initFeatured(ctx) + window.__DSH_FEATURED_APPLIED__ 判重
21
+ // (owner 的 apply 调用),保证「精选推荐」只渲染一块。
22
+
23
+ const ROUTE = '/dsh-plugins-plugin/featured'
24
+ const SERVICE = 'featured-plugins'
25
+
26
+ /* ── 推荐源/条目规范化 ──────────────────────────────────────────────── */
27
+
28
+ // 单条推荐:package 必填(npm 包名),title 必填;其余可选。
29
+ // 富字段(author/stars/downloads/screenshots 等)由仓库 plugins.json 集中维护。
30
+ function normalizeEntry(raw, sourceId) {
31
+ if (!raw || typeof raw !== 'object') return null
32
+ const pkg = String(raw.package || raw.name || '').trim()
33
+ const title = String(raw.title || '').trim()
34
+ if (!pkg || !title) return null
35
+ const entry = { package: pkg, title, source: sourceId }
36
+ for (const key of ['description', 'version', 'icon', 'homepage', 'author', 'category']) {
37
+ const v = String(raw[key] || '').trim()
38
+ if (v) entry[key] = v
39
+ }
40
+ if (Array.isArray(raw.screenshots)) {
41
+ const shots = raw.screenshots.map((s) => String(s).trim()).filter(Boolean).slice(0, 4)
42
+ if (shots.length) entry.screenshots = shots
43
+ }
44
+ if (typeof raw.stars === 'number' && raw.stars >= 0) entry.stars = raw.stars
45
+ if (typeof raw.downloads === 'number' && raw.downloads >= 0) entry.downloads = raw.downloads
46
+ if (Array.isArray(raw.tags)) {
47
+ const tags = raw.tags.map((t) => String(t).trim()).filter(Boolean).slice(0, 8)
48
+ if (tags.length) entry.tags = tags
49
+ }
50
+ return entry
51
+ }
52
+
53
+ // 一个推荐源:接入插件登记的单位。
54
+ function normalizeSource(raw) {
55
+ if (!raw || typeof raw !== 'object') throw new Error('featured source must be an object')
56
+ const id = String(raw.id || '').trim()
57
+ if (!id) throw new Error('featured source needs an id (the integrating package name)')
58
+ const title = String(raw.title || id).trim()
59
+ const rawEntries = Array.isArray(raw.entries) ? raw.entries : []
60
+ const entries = []
61
+ for (const item of rawEntries) {
62
+ const entry = normalizeEntry(item, id)
63
+ if (entry) entries.push(entry)
64
+ }
65
+ return { id, title, entries }
66
+ }
67
+
68
+ /* ── HTTP helpers ───────────────────────────────────────────────────── */
69
+
70
+ function json(res, code, obj) {
71
+ const body = JSON.stringify(obj)
72
+ res.writeHead(code, { 'content-type': 'application/json; charset=utf-8', 'cache-control': 'no-store' })
73
+ res.end(body)
74
+ }
75
+
76
+ // 同源校验:浏览器必带 Origin;curl 无 Origin 放行(宿主属主角色已限定)
77
+ function sameOrigin(req) {
78
+ const origin = req.headers.origin
79
+ if (!origin) return true
80
+ try { return new URL(origin).host === req.headers.host } catch { return false }
81
+ }
82
+
83
+ /* ── 嵌入入口 ───────────────────────────────────────────────────────── */
84
+
85
+ // ctx:接入插件自己的 cordis 上下文(apply 的第一参)。
86
+ // source:推荐源 { id, title?, entries: [{ package, title, ... }] }。
87
+ function integrateFeaturedPlugins(ctx, source) {
88
+ // ── 推荐源注册表(跨插件服务,先激活者提供) ──
89
+ let owner = false
90
+ let registry = null
91
+ try {
92
+ registry = ctx.get(SERVICE)
93
+ } catch { /* get 不可用时按未提供处理 */ }
94
+ if (!registry) {
95
+ const sources = new Map()
96
+ registry = {
97
+ register(rawSource) {
98
+ const normalized = normalizeSource(rawSource)
99
+ sources.set(normalized.id, normalized)
100
+ return () => {
101
+ if (sources.get(normalized.id) === normalized) sources.delete(normalized.id)
102
+ }
103
+ },
104
+ list() {
105
+ return [...sources.values()]
106
+ },
107
+ }
108
+ try {
109
+ ctx.effect(() => ctx.provide(SERVICE, registry), 'dsh-plugins-plugin: registry service')
110
+ owner = true
111
+ } catch { /* 已被并行提供 → 退化为纯登记方 */ }
112
+ }
113
+
114
+ // 登记本插件推荐源(effect 挂子上下文,插件停用即注销)
115
+ ctx.inject([], (child) => {
116
+ child.effect(() => registry.register(source), 'featured-plugins source: ' + String(source && source.id))
117
+ })
118
+
119
+ if (!owner) return // 非宿主:只贡献数据
120
+
121
+ // ── 宿主职责:远程集中目录(5 分钟内存缓存,node fetch,无浏览器缓存/CORS) ──
122
+ const REMOTE_CATALOG_URLS = [
123
+ 'https://cdn.jsdelivr.net/gh/skillpie/dsh-plugins@main/dsh-plugins-plugin/plugins.json',
124
+ 'https://raw.githubusercontent.com/skillpie/dsh-plugins/main/dsh-plugins-plugin/plugins.json',
125
+ ]
126
+ const REMOTE_TTL_MS = 5 * 60_000
127
+ let remoteCache = { at: 0, doc: null }
128
+
129
+ // 多源并发拉取,取「最新」的那份。单源「先到先用」会被 CDN 缓存坑:
130
+ // jsdelivr 的 @main 有数分钟到数小时的延迟,raw.githubusercontent 通常更快,
131
+ // 谁先返回就用谁会让旧数据长期遮住新数据。
132
+ //
133
+ // 判新三要素(优先级从高到低):
134
+ // 1. updated 日期(仓库写入时的时间戳)
135
+ // 2. 条目数 —— plugins.json 只会增不会减,多的一定更新
136
+ // 3. 版本号总和 —— 同一条目升级时条目数不变,靠这个比出来
137
+ // 只比 updated 不够:enrich 脚本按天写 updated(如 "2026-11-22"),
138
+ // 同一天内的多次提交无法区分,会退化成「谁先返回用谁」。
139
+ const catalogScore = (doc) => {
140
+ const t = Date.parse(String(doc?.updated || ''))
141
+ const entries = Array.isArray(doc?.entries) ? doc.entries : []
142
+ let versions = 0
143
+ for (const e of entries) {
144
+ const parts = String(e?.version || '0.0.0').split('.').map((n) => Number.parseInt(n, 10) || 0)
145
+ versions += (parts[0] || 0) * 1_000_000 + (parts[1] || 0) * 1_000 + (parts[2] || 0)
146
+ }
147
+ return { at: Number.isFinite(t) ? t : 0, count: entries.length, versions }
148
+ }
149
+
150
+ const newerCatalog = (a, b) => {
151
+ // a 是否比 b 新
152
+ if (a.at !== b.at) return a.at > b.at
153
+ if (a.count !== b.count) return a.count > b.count
154
+ return a.versions > b.versions
155
+ }
156
+
157
+ async function fetchRemoteCatalog() {
158
+ const now = Date.now()
159
+ if (remoteCache.doc && now - remoteCache.at < REMOTE_TTL_MS) return remoteCache.doc
160
+ const results = await Promise.all(
161
+ REMOTE_CATALOG_URLS.map(async (url) => {
162
+ try {
163
+ const res = await fetch(url, {
164
+ headers: { accept: 'application/json' },
165
+ signal: AbortSignal.timeout(8000),
166
+ cache: 'no-store',
167
+ })
168
+ if (!res.ok) return null
169
+ const doc = await res.json()
170
+ return Array.isArray(doc?.entries) ? doc : null
171
+ } catch { return null }
172
+ }),
173
+ )
174
+ const docs = results.filter(Boolean)
175
+ if (docs.length === 0) return null
176
+ // 三要素比较;完全相同时保留并发顺序靠前者(jsdelivr 在前)。
177
+ const best = docs.reduce((a, b) => (newerCatalog(catalogScore(b), catalogScore(a)) ? b : a))
178
+ remoteCache = { at: now, doc: best }
179
+ return best
180
+ }
181
+
182
+ // ── 已安装列表(host 侧轮询 pluginManager,独立 inject 作用域防回滚) ──
183
+ let installedMap = {}
184
+ try {
185
+ ctx.inject(['pluginManager'], (child) => {
186
+ child.effect(() => {
187
+ let timer = null
188
+ const refresh = async () => {
189
+ try {
190
+ const bundles = await child.pluginManager.listBundles()
191
+ const map = {}
192
+ for (const b of bundles) {
193
+ if (b && b.name && b.installed) map[b.name] = b.version || ''
194
+ }
195
+ installedMap = map
196
+ } catch { /* 保留上一次结果 */ }
197
+ }
198
+ refresh()
199
+ timer = setInterval(refresh, 30_000)
200
+ if (timer && typeof timer.unref === 'function') timer.unref() // 不阻塞宿主退出
201
+ return () => clearInterval(timer)
202
+ }, 'dsh-plugins-plugin: installed bundles watcher')
203
+ })
204
+ } catch { /* pluginManager 不可用 → 无已安装徽标,不影响板块 */ }
205
+
206
+ // ── 聚合:远程目录(主)+ 登记源(补充),按包名去重,先到者优先;富字段回填 ──
207
+ const RICH_KEYS = ['author', 'homepage', 'category', 'icon', 'screenshots', 'stars', 'downloads']
208
+ const aggregate = async () => {
209
+ const remoteRaw = Array.isArray(remoteCache.doc?.entries) ? remoteCache.doc.entries : []
210
+ const remoteIndex = new Map()
211
+ for (const raw of remoteRaw) {
212
+ const pkg = String(raw?.package || raw?.name || '').trim()
213
+ if (pkg && !remoteIndex.has(pkg)) remoteIndex.set(pkg, raw)
214
+ }
215
+ const seen = new Set()
216
+ const entries = []
217
+ const push = (normalized) => {
218
+ if (!normalized || seen.has(normalized.package)) return
219
+ seen.add(normalized.package)
220
+ const rich = remoteIndex.get(normalized.package)
221
+ if (rich && normalized.source !== 'plugins.json') {
222
+ for (const key of RICH_KEYS) {
223
+ if (normalized[key] === undefined && rich[key] !== undefined) normalized[key] = rich[key]
224
+ }
225
+ }
226
+ entries.push(normalized)
227
+ }
228
+ for (const raw of remoteRaw) push(normalizeEntry(raw, 'plugins.json'))
229
+ for (const src of registry.list()) {
230
+ for (const entry of src.entries) push(entry)
231
+ }
232
+ return {
233
+ entries,
234
+ sources: registry.list().map((s) => ({ id: s.id, title: s.title, count: s.entries.length })),
235
+ installed: installedMap,
236
+ remote: remoteCache.doc ? { fetchedAt: new Date(remoteCache.at).toISOString(), count: entries.length } : null,
237
+ }
238
+ }
239
+
240
+ // ── 聚合路由(重复注册会抛错 → try/catch 静默,已有宿主持有) ──
241
+ ctx.inject(['webServer'], (child) => {
242
+ child.effect(() => {
243
+ let dispose = null
244
+ try {
245
+ dispose = child.webServer.register({
246
+ kind: 'exact',
247
+ path: ROUTE,
248
+ handler: async (req, res) => {
249
+ try {
250
+ if (!sameOrigin(req)) { json(res, 403, { ok: false, error: 'cross-origin request rejected' }); return }
251
+ if (req.method !== 'GET' && req.method !== 'HEAD') { json(res, 405, { ok: false, error: 'method not allowed' }); return }
252
+ await fetchRemoteCatalog().catch(() => null)
253
+ json(res, 200, { ok: true, data: await aggregate() })
254
+ } catch (err) {
255
+ json(res, 200, { ok: false, error: String(err?.message || err) })
256
+ }
257
+ },
258
+ })
259
+ } catch { /* 路由已存在(另一接入方先注册)→ 本方只作数据方 */ }
260
+ return () => {
261
+ if (typeof dispose === 'function') dispose()
262
+ }
263
+ }, 'dsh-plugins-plugin: featured route')
264
+ })
265
+ }
266
+ return { integrateFeaturedPlugins }
267
+ }
268
+ const { integrateFeaturedPlugins } = dshFeaturedHostModule()
269
+ // <<< dsh-plugins-plugin featured host
270
+
271
+ // 精选插件推荐源(dsh-plugins-plugin):
272
+ const FEATURED_SOURCE = {
273
+ id: "dsh-skillpie-mail", // 推荐源标识,重复登记以此覆盖
274
+ title: "dsh-skillpie-mail", // 「推荐来源」显示名
275
+ entries: [
276
+ // 集中列表在仓库 plugins.json 维护;这里的 entries 只是本插件的补充推荐(可为空):
277
+ // { package: "dsh-xxx", title: "xxx", description: "一句话亮点",
278
+ // version: "1.2.3", icon: "https://…/icon.svg", tags: ["效率"] },
279
+ ],
280
+ }
281
+ // <<< dsh-plugins-plugin featured source
282
+
1
283
  /**
2
284
  * dsh-skillpie-mail — Cordis 入口(宿主半)。
3
285
  *
@@ -189,6 +471,8 @@ export default {
189
471
  Config,
190
472
  inject: [],
191
473
  async apply(ctx, config = null) {
474
+ integrateFeaturedPlugins(ctx, FEATURED_SOURCE) // dsh-plugins-plugin: 推荐源登记 + 嵌入宿主
475
+
192
476
  const cfg = {
193
477
  registerUrl: config?.registerUrl ?? REGISTER_URL,
194
478
  imapHost: config?.imapHost ?? 'mail.skillpie.cn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-skillpie-mail",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "SkillPie邮箱:管理 @skillpie.cn 邮箱(快速注册/手动添加/移除),后台 IMAP 轮询,收到新邮件全局弹窗展示并注明收件邮箱。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,5 +51,6 @@
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
54
- }
54
+ },
55
+ "dependencies": {}
55
56
  }