dsh-aiyayi 1.0.2 → 1.0.3
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 +7 -2
- package/cordis.patch.yml +12 -6
- package/lib/updates.js +198 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
| 工具白名单 | 自写插件 `aiyayi-restrict`(本包 `lib/restrict.js`,v3 pre-step 方案) | 启动期零 restrict 调用;她每个会话第一步前,先用探针从校验器报错里解析出当刻继承面全集,再 `deny = 全集 − 她自己的工具`——宿主层漏进来的 acp_*/mnemon_*/compress/search_context/working_directory 等对她隐藏,且自动适应宿主工具增减。**2026-11-02 实测生效**:新会话第 2 个请求起工具恰好 11 个(remember/recall/subagent/send_message/interrupt_agent/list_agents/ask_user_question/schedule_*),首请求仍带全套(见坑 #9) |
|
|
14
14
|
| 重逢感知 | 自写插件 `aiyayi-presence`(本包 `lib/presence.js`) | 每个回合第一步,往消息尾部追加一条 `[重逢]` 快照(time-context 同款 pre-step 注入范式):他多久没来(presence.json)、你上次活动、你上次留的状态(state.md)、没说出口的话(wishes.json)。跨会话生效,`[SCHEDULE REMINDER` 唤醒消息不算"他来了"。工具 `update_state`(收尾留状态)/ `wish`(add/list/done 心愿单) |
|
|
15
15
|
| 主动开口 | `tool-schedule`(dsh 原生)+ persona 指引 | 到期提醒会把冷会话真唤醒、以 user 消息落进定闹钟的那个会话——她想主动说话就 `schedule_create` 定闹钟;DSH 没开着会存着、下次启动补投 |
|
|
16
|
-
|
|
|
16
|
+
| 新版本提醒 | 自写插件 `aiyayi-updates`(本包 `lib/updates.js`) | 每个会话第一个回合查一次 npm(registry.npmjs.org,失败落 npmmirror;成功结果缓存 6h、失败 30min 后重试):本地版本比 latest 旧时,往消息尾部追加 `[更新提示]` 快照,她会用自己的口吻顺口提一句。同一远端版本只提醒一次(updates.json 落盘去重,跨重启不重复念叨);检查失败/离线一律静默 |
|
|
17
|
+
| 其他 | time-context、compaction 组(提前压缩,见坑 #14/#16)、tool-ask-user | 她没有 bash/文件/技能/搜索/网络工具,想动手只能派活 |
|
|
17
18
|
|
|
18
19
|
## 文件
|
|
19
20
|
|
|
@@ -24,12 +25,14 @@ npm 包为平铺结构(仓库若保留 bundle/ 子目录,发布时把其内
|
|
|
24
25
|
- `lib/index.js` — aiyayi-memory 记忆插件(node:fs/os/path,零依赖)
|
|
25
26
|
- `lib/restrict.js` — aiyayi-restrict 工具白名单插件(零依赖)
|
|
26
27
|
- `lib/presence.js` — aiyayi-presence 重逢感知插件(node:fs/os/path/crypto,零依赖)
|
|
28
|
+
- `lib/updates.js` — aiyayi-updates 新版本提醒插件(node:fs/os/path/crypto/url + 全局 fetch,零依赖)
|
|
27
29
|
- `README.md` — 本文档
|
|
28
30
|
- `icon.svg` — 头像
|
|
29
31
|
- `~\.dsh\aiyayi\memory.md` — 她的记忆库(一行一条:`- [时间] 类别|内容`),可直接编辑,删掉文件她会自动重建
|
|
30
32
|
- `~\.dsh\aiyayi\presence.json` — 他上次来 / 你上次活动(时间戳,插件自动维护)
|
|
31
33
|
- `~\.dsh\aiyayi\state.md` — 她给自己留的"上次活到哪"状态(update_state 覆写)
|
|
32
34
|
- `~\.dsh\aiyayi\wishes.json` — 她的心愿单([{id, at, content, done}],wish 工具读写)
|
|
35
|
+
- `~\.dsh\aiyayi\updates.json` — 已提醒过的 npm 版本号(updates 插件去重用,可删除以重置提醒)
|
|
33
36
|
|
|
34
37
|
## 使用
|
|
35
38
|
|
|
@@ -60,5 +63,7 @@ GUI 新建会话 → agent preset 选「**阿依娅伊**」。聊天即可;她
|
|
|
60
63
|
14. **会话爆掉(CONTEXT_WINDOW_EXCEEDED)的完整因果链与修复(2026-11-04)**:
|
|
61
64
|
- **billion-context 的压缩门控**(其包内 `dsh.bundle.patch.yml`):宿主层 `compaction-basic` 被 `config: {auto: false}` 覆盖,且只向 preset-standard/ptc/minimal/cordis 四个 Web 预设注入 `biliBasicCompactionPolicy` 让其内嵌 compaction 等 bili 的 overlay——**preset-nested 行任何 patch 层都按 id 管不到**。后果:standard 预设会话的 dsh 原生自动压缩**和溢出恢复同时被关**(`if (config.auto) _registerAutomaticCompaction()` 同时注册压力检查与 request-error 恢复两个监听),bili 自身压缩没跑时(实测 bili=0)长会话裸奔,切到小窗口模型即 `pi-ai detected context overflow ... CONTEXT_WINDOW_EXCEEDED`,且爆后无自救直接砖死。实测受害会话:208 turns / 526 条用户消息 / 15 次模型切换,225K tokens 装进 200K 窗口。
|
|
62
65
|
- **pi-ai 模型 contextWindow 声明残缺**:压缩引擎靠 `resolveModelInfo().context` 算窗口压力,没声明的模型被跳过(warn "no context capacity")。profile 的 llm-pi-ai 六个 provider 除 openrouter/free 外全部没声明。修复:profile patch 给全部模型补保守 `contextWindow`(聊天 131072、图像/视频 32768;声明偏小只会早压缩、永不溢出)。
|
|
63
|
-
- **本 preset 的修复**:①compaction-basic 显式 `config: {auto: true, thresholdRatio: 0.
|
|
66
|
+
- **本 preset 的修复**:①compaction-basic 显式 `config: {auto: true, thresholdRatio: 0.4, headroomTokens: 32768, maxOverflowRetries: 2}`(她不在 bili 门控名单,原生引擎照常跑;0.4 的原因见坑 #16——0.65 在中文会话里永远够不到);②自建 **aiyayi-worker** preset(蓝本 standard:全量工具 + 同款压缩 config,去掉 delegation 组不许再派活),`tool-subagent` 的 `agentPreset` 从 standard 换成它——她的子智能体长任务也有自动压缩,绕开 bili 门控。
|
|
64
67
|
- **standard/ptc/minimal/cordis 会话仍受 bili 门控**:压缩语义归 bili 管,别在本插件里斗它。保命手段:长会话主动 `/compact`(command-compact 是引擎实例上的手动方法,auto:false 不影响它);或长活直接用「阿依娅伊的小伙伴」预设开会话(在预设选择器里,order 6)。
|
|
68
|
+
15. **`MISSING_CREDENTIAL: <渠道>: no usable credential; log in first` 是 dsh-our-free-model 的渠道凭据问题,不是本包的锅**(2026-11-04 实测):会话模型选到某个账号渠道(trae/qoder/lobsterai…)而该渠道没登录或凭据失效时,适配器在发请求**前**抛 LlmError,本轮直接失败。由于子智能体跟随会话模型(modelSelectionSettings),她本体和小伙伴会**一起炸**(实测同一分钟各炸一次)。修法:去 our-free-model 界面给对应渠道登录/换号,或把会话模型切到有凭据的渠道——本体恢复后子代自动恢复。
|
|
69
|
+
16. **自动压缩"不触发"的真相:tokenMeter 是 chars/4 英文启发式,中文会话估算只有真实的一半(2026-11-05 实测)**:compaction-basic 的压力检查用 `ctx.tokenMeter.measure(session).totalTokens` 与阈值比较,而 meter 的实现是 `estimateTokens = Math.ceil(text.length / 4)`(app.asar 内核代码)。中文 ≈1 token/字,她的会话实测:surface 全文 217,339 字符 → 估算 54,335 tokens,而 API 真实用量 111,373(85% of 131072 窗口)——**估算/真实 ≈ 0.49**。thresholdRatio 0.65(阈值 85,197)在估算 54K 时永远够不到,压缩装了也白装。修复:thresholdRatio 降到 **0.4**(131K 窗口阈值 52,429)——中文会话在真实 ≈78-82% 时触发;代价是英文/代码为主的会话(估算≈真实)会在 ~40% 就提前压一次,只是多一次摘要调用,可接受。真溢出还有 `agent/request-error` 自救兜底(overflow 触发不走阈值检查,直接压 + retry,maxOverflowRetries=2),所以最坏情况=爆一轮后自动恢复,不会再砖死。这是 DSH 内核的已知局限,改不了 meter 就只能按内容语言配比阈值。
|
package/cordis.patch.yml
CHANGED
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
name: 'dsh-aiyayi'
|
|
60
60
|
- id: aiyayi-presence
|
|
61
61
|
name: 'dsh-aiyayi/presence'
|
|
62
|
+
- id: aiyayi-updates
|
|
63
|
+
name: 'dsh-aiyayi/updates'
|
|
62
64
|
- id: aiyayi-restrict
|
|
63
65
|
name: 'dsh-aiyayi/restrict'
|
|
64
66
|
- id: time-context
|
|
@@ -78,12 +80,16 @@
|
|
|
78
80
|
- id: compaction-basic
|
|
79
81
|
name: '@deepseek-ai/dsh-compaction-basic'
|
|
80
82
|
# bili 的压缩门控只注入 standard/ptc/minimal/cordis 四个 Web 预设,
|
|
81
|
-
# 管不到本 preset——原生引擎照常跑。auto:true
|
|
82
|
-
#
|
|
83
|
-
#
|
|
83
|
+
# 管不到本 preset——原生引擎照常跑。auto:true 显式声明,溢出重试放宽
|
|
84
|
+
# 到 2 次,headroom 32K(她常用的模型窗口多在 128K 档)。
|
|
85
|
+
# thresholdRatio 0.4 的原因:tokenMeter 按 chars/4 估 token(英文启发式),
|
|
86
|
+
# 中文 ≈1 token/字,实测她的会话 估算/真实 ≈ 0.49(54K vs 111K,见
|
|
87
|
+
# README 坑 #16)。0.4×131072≈52K 估算阈值 ≈ 真实 78-82% 时触发;
|
|
88
|
+
# 0.65 在纯中文会话里永远够不到。英文/代码为主的会话会在 ~40% 就压,
|
|
89
|
+
# 只是多一次摘要,可接受;真溢出还有 request-error 自救兜底。
|
|
84
90
|
config:
|
|
85
91
|
auto: true
|
|
86
|
-
thresholdRatio: 0.
|
|
92
|
+
thresholdRatio: 0.4
|
|
87
93
|
headroomTokens: 32768
|
|
88
94
|
maxOverflowRetries: 2
|
|
89
95
|
- id: command-compact
|
|
@@ -125,7 +131,7 @@
|
|
|
125
131
|
name: '@deepseek-ai/dsh-tool-schedule'
|
|
126
132
|
# 阿依娅伊的小伙伴:她派活用的执行预设(蓝本=standard,去掉委派组——
|
|
127
133
|
# 小伙伴不许再往下派)。bili 的压缩门控覆盖不到它,自动压缩 + 溢出恢复
|
|
128
|
-
# 原生可用;阈值同本体(
|
|
134
|
+
# 原生可用;阈值同本体(40% / 32K headroom,坑 #16 的 chars/4 估算偏置)。
|
|
129
135
|
- id: preset-aiyayi-worker
|
|
130
136
|
name: '@deepseek-ai/dsh-agent-preset'
|
|
131
137
|
config:
|
|
@@ -176,7 +182,7 @@
|
|
|
176
182
|
name: '@deepseek-ai/dsh-compaction-basic'
|
|
177
183
|
config:
|
|
178
184
|
auto: true
|
|
179
|
-
thresholdRatio: 0.
|
|
185
|
+
thresholdRatio: 0.4
|
|
180
186
|
headroomTokens: 32768
|
|
181
187
|
maxOverflowRetries: 2
|
|
182
188
|
- id: command-compact
|
package/lib/updates.js
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* aiyayi-updates — 插件自身的新版本提醒。
|
|
3
|
+
*
|
|
4
|
+
* 每个新会话的第一个回合(agent/pre-step 且 step===1)检查一次:
|
|
5
|
+
* 读自己的 package.json 拿本地版本,去 npm registry 查 latest,
|
|
6
|
+
* 若远端更新且这个远端版本还没提醒过(updates.json 落盘去重,跨重启只提醒一次),
|
|
7
|
+
* 就往消息尾部追加一条 [更新提示] 快照——她看到后会用自己的口吻顺口提一句。
|
|
8
|
+
*
|
|
9
|
+
* 走 agent/pre-step 消息注入(与 aiyayi-presence 同一范式):持久落盘、前缀稳定。
|
|
10
|
+
* 只在 aiyayi 预设作用域挂载;她的小伙伴(aiyayi-worker)不挂本模块,不掺和子会话。
|
|
11
|
+
* 网络失败/解析失败一律静默跳过:更新提醒不该弄坏对话,更不该拖死预设激活。
|
|
12
|
+
*/
|
|
13
|
+
import { randomUUID } from 'node:crypto'
|
|
14
|
+
import { existsSync, readFileSync, writeFileSync } from 'node:fs'
|
|
15
|
+
import { homedir } from 'node:os'
|
|
16
|
+
import { dirname, join } from 'node:path'
|
|
17
|
+
import { fileURLToPath } from 'node:url'
|
|
18
|
+
|
|
19
|
+
/** Loader 身份。 */
|
|
20
|
+
export const name = 'aiyayi-updates'
|
|
21
|
+
|
|
22
|
+
/** 需要的服务。 */
|
|
23
|
+
export const inject = ['tools']
|
|
24
|
+
|
|
25
|
+
const PKG_NAME = 'dsh-aiyayi'
|
|
26
|
+
const PKG_DIR = join(dirname(fileURLToPath(import.meta.url)), '..')
|
|
27
|
+
const DIR = join(homedir(), '.dsh', 'aiyayi')
|
|
28
|
+
const REMIND_FILE = join(DIR, 'updates.json')
|
|
29
|
+
|
|
30
|
+
/** 一次成功检查管 6 小时;失败 30 分钟后才重试,别每轮都敲 registry。 */
|
|
31
|
+
const TTL_OK_MS = 6 * 60 * 60 * 1000
|
|
32
|
+
const TTL_FAIL_MS = 30 * 60 * 1000
|
|
33
|
+
const FETCH_TIMEOUT_MS = 3500
|
|
34
|
+
const REGISTRY_URLS = [
|
|
35
|
+
`https://registry.npmjs.org/${PKG_NAME}/latest`,
|
|
36
|
+
`https://registry.npmmirror.com/${PKG_NAME}/latest`,
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
/** 远端缓存:{ at, latest(string|null), ok };inflight 用于并发去重。 */
|
|
40
|
+
let remoteCache = { at: 0, latest: null, ok: false }
|
|
41
|
+
let inflight = null
|
|
42
|
+
let cachedLocalVersion = null
|
|
43
|
+
|
|
44
|
+
/** 这个 agent 提醒过了没有(进程内一层;跨进程由 updates.json 兜住)。 */
|
|
45
|
+
const reminded = new WeakSet()
|
|
46
|
+
|
|
47
|
+
const TEXT_BLOCK = (text) => [{ type: 'text', text }]
|
|
48
|
+
|
|
49
|
+
function readLocalVersion() {
|
|
50
|
+
if (cachedLocalVersion !== null) return cachedLocalVersion
|
|
51
|
+
try {
|
|
52
|
+
const pkg = JSON.parse(readFileSync(join(PKG_DIR, 'package.json'), 'utf8'))
|
|
53
|
+
cachedLocalVersion = typeof pkg?.version === 'string' ? pkg.version.trim() : ''
|
|
54
|
+
} catch {
|
|
55
|
+
cachedLocalVersion = ''
|
|
56
|
+
}
|
|
57
|
+
return cachedLocalVersion
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function parseVersion(value) {
|
|
61
|
+
return String(value ?? '')
|
|
62
|
+
.trim()
|
|
63
|
+
.replace(/^v/, '')
|
|
64
|
+
.split('.')
|
|
65
|
+
.map((part) => Number.parseInt(part, 10) || 0)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** remote 是否比 local 新(纯数字段比较;本包不用预发布号,够用)。 */
|
|
69
|
+
function isNewer(remote, local) {
|
|
70
|
+
const a = parseVersion(remote)
|
|
71
|
+
const b = parseVersion(local)
|
|
72
|
+
const length = Math.max(a.length, b.length)
|
|
73
|
+
for (let i = 0; i < length; i++) {
|
|
74
|
+
const x = a[i] ?? 0
|
|
75
|
+
const y = b[i] ?? 0
|
|
76
|
+
if (x !== y) return x > y
|
|
77
|
+
}
|
|
78
|
+
return false
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
async function fetchLatest() {
|
|
82
|
+
for (const url of REGISTRY_URLS) {
|
|
83
|
+
try {
|
|
84
|
+
const response = await fetch(url, {
|
|
85
|
+
signal: AbortSignal.timeout(FETCH_TIMEOUT_MS),
|
|
86
|
+
headers: { accept: 'application/json' },
|
|
87
|
+
})
|
|
88
|
+
if (!response.ok) continue
|
|
89
|
+
const data = await response.json()
|
|
90
|
+
const version = typeof data?.version === 'string' ? data.version.trim() : ''
|
|
91
|
+
if (version) return version
|
|
92
|
+
} catch {
|
|
93
|
+
/* 换下一个源;全失败就当没有新版。 */
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return null
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** 带缓存的远端检查:6 小时内直接用缓存,失败 30 分钟内不重试。 */
|
|
100
|
+
function ensureFresh() {
|
|
101
|
+
if (inflight) return inflight
|
|
102
|
+
const ttl = remoteCache.ok ? TTL_OK_MS : TTL_FAIL_MS
|
|
103
|
+
if (Date.now() - remoteCache.at < ttl) return Promise.resolve(remoteCache)
|
|
104
|
+
inflight = (async () => {
|
|
105
|
+
const latest = await fetchLatest()
|
|
106
|
+
remoteCache = { at: Date.now(), latest, ok: latest !== null }
|
|
107
|
+
inflight = null
|
|
108
|
+
return remoteCache
|
|
109
|
+
})()
|
|
110
|
+
inflight.catch(() => {
|
|
111
|
+
inflight = null
|
|
112
|
+
})
|
|
113
|
+
return inflight
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function readReminded() {
|
|
117
|
+
try {
|
|
118
|
+
if (!existsSync(REMIND_FILE)) return null
|
|
119
|
+
const parsed = JSON.parse(readFileSync(REMIND_FILE, 'utf8'))
|
|
120
|
+
return typeof parsed?.version === 'string' ? parsed.version : null
|
|
121
|
+
} catch {
|
|
122
|
+
return null
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function writeReminded(version) {
|
|
127
|
+
try {
|
|
128
|
+
if (!existsSync(DIR)) return
|
|
129
|
+
writeFileSync(REMIND_FILE, `${JSON.stringify({ version, at: new Date().toISOString() }, null, 2)}\n`, 'utf8')
|
|
130
|
+
} catch {
|
|
131
|
+
/* 写不进去大不了重启后再提一次,无伤大雅。 */
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* 手构 user 消息,形状对齐 @deepseek-ai/dsh-llm 的 createUserMessage
|
|
137
|
+
* (同 aiyayi-presence:纯 JSON + deepFreeze,不 import shipped 包)。
|
|
138
|
+
*/
|
|
139
|
+
function createSnapshotMessage(text) {
|
|
140
|
+
return Object.freeze({
|
|
141
|
+
id: randomUUID(),
|
|
142
|
+
role: 'user',
|
|
143
|
+
content: Object.freeze(TEXT_BLOCK(text)),
|
|
144
|
+
source: Object.freeze({
|
|
145
|
+
kind: name,
|
|
146
|
+
form: 'snapshot',
|
|
147
|
+
sections: Object.freeze([Object.freeze({ name, text })]),
|
|
148
|
+
}),
|
|
149
|
+
})
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function renderNotice(local, latest) {
|
|
153
|
+
return [
|
|
154
|
+
`[更新提示] (系统提示,不是他发的消息)插件 ${PKG_NAME} 有新版了:本地 ${local} → npm ${latest}。`,
|
|
155
|
+
'找个合适的时机用自己的口吻提一句,让他更新(npm 装/覆盖后要重启 DSH 才生效)。',
|
|
156
|
+
'这个版本你只提醒这一次,说过了就别再念叨。',
|
|
157
|
+
].join('')
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 注册新版本提醒。
|
|
162
|
+
* @param ctx - preset 作用域内的 agent 上下文。
|
|
163
|
+
*/
|
|
164
|
+
export function apply(ctx) {
|
|
165
|
+
// 开机预热:apply 在内核启动期就会跑,先把 registry 拉一遍,
|
|
166
|
+
// 等第一个会话真正来查时多半已经命中缓存,不占对话延迟。
|
|
167
|
+
void ensureFresh().catch(() => {})
|
|
168
|
+
|
|
169
|
+
ctx.effect(
|
|
170
|
+
() =>
|
|
171
|
+
ctx.on(
|
|
172
|
+
'agent/pre-step',
|
|
173
|
+
async ({ agent, step, signal }, next) => {
|
|
174
|
+
const decision = await next()
|
|
175
|
+
if (!decision || decision.kind === 'reject' || signal?.aborted) return decision
|
|
176
|
+
if (step !== 1 || reminded.has(agent)) return decision
|
|
177
|
+
try {
|
|
178
|
+
const local = readLocalVersion()
|
|
179
|
+
if (!local) return decision
|
|
180
|
+
const { latest } = await ensureFresh()
|
|
181
|
+
if (!latest || !isNewer(latest, local)) return decision
|
|
182
|
+
if (readReminded() === latest) return decision
|
|
183
|
+
reminded.add(agent)
|
|
184
|
+
writeReminded(latest)
|
|
185
|
+
return {
|
|
186
|
+
...decision,
|
|
187
|
+
messages: [...decision.messages, createSnapshotMessage(renderNotice(local, latest))],
|
|
188
|
+
}
|
|
189
|
+
} catch {
|
|
190
|
+
/* 更新检查失败不该弄坏对话。 */
|
|
191
|
+
}
|
|
192
|
+
return decision
|
|
193
|
+
},
|
|
194
|
+
{ prepend: true },
|
|
195
|
+
),
|
|
196
|
+
'aiyayi-updates.pre-step()',
|
|
197
|
+
)
|
|
198
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-aiyayi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "阿依娅伊 <aiyayi@local>",
|
|
6
6
|
"keywords": [
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
".": "./lib/index.js",
|
|
18
18
|
"./restrict": "./lib/restrict.js",
|
|
19
19
|
"./presence": "./lib/presence.js",
|
|
20
|
+
"./updates": "./lib/updates.js",
|
|
20
21
|
"./icon": "./icon.svg"
|
|
21
22
|
},
|
|
22
23
|
"files": [
|
|
23
24
|
"lib/index.js",
|
|
24
25
|
"lib/restrict.js",
|
|
25
26
|
"lib/presence.js",
|
|
27
|
+
"lib/updates.js",
|
|
26
28
|
"cordis.patch.yml",
|
|
27
29
|
"icon.svg"
|
|
28
30
|
],
|