dsh-fatfish-suite 0.1.0 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 — 2026-11-02
4
+
5
+ - 依赖锁到 `dsh-fatfish@0.5.1`:0.5.0 在本代 DSH NEXT 宿主上装载失败(配置校验与 `command` 注入两处硬伤),
6
+ 套装挂着它等于三件里最要紧的那件装不上。
7
+ - 修复装载硬伤:`command` 只在 agent 上下文的子作用域提供,写进 `inject` 会让整枚插件永远 `pending`,
8
+ 不写直接读又会被宿主抛 `cannot get property "command" without inject`。改成 try/catch 按需取——
9
+ 取不到只少 `fatfish.suite` 这一条命令,两个只读状态工具照常装载。
10
+ - `fatfish_suite_status` 的套装自身版本回退值同步为 `0.1.1`。
11
+
3
12
  ## 0.1.0 — 2026-10-30
4
13
 
5
14
  首个版本。把这几天的三件能力打成一个市场可安装的套装。
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | 同伴包 | 它负责什么 | 版本 |
6
6
  | --- | --- | --- |
7
- | [`dsh-fatfish`](https://www.npmjs.com/package/dsh-fatfish) | 四档人设、时段与情绪、本地记忆、只读查毒与可更新病毒库、七个小动作 | 0.5.0 |
7
+ | [`dsh-fatfish`](https://www.npmjs.com/package/dsh-fatfish) | 四档人设、时段与情绪、本地记忆、只读查毒与可更新病毒库、七个小动作 | 0.5.1 |
8
8
  | [`dsh-fatfish-hands`](https://www.npmjs.com/package/dsh-fatfish-hands) | 用专用 Edge 真上网:读正文、点链接、搜索、截图;另带只读电脑状态 | 0.1.3 |
9
9
  | [`dsh-quota-guard`](https://www.npmjs.com/package/dsh-quota-guard) | 模型用量账本、每日/每分钟限额、免费账号轮换 | 0.1.3 |
10
10
 
package/lib/index.js CHANGED
@@ -146,7 +146,7 @@ export function suiteStatus() {
146
146
  const self = manifestOf('dsh-fatfish-suite')
147
147
  return {
148
148
  ok: true,
149
- suite: { name: 'dsh-fatfish-suite', version: self?.version || '0.1.0' },
149
+ suite: { name: 'dsh-fatfish-suite', version: self?.version || '0.1.1' },
150
150
  companions,
151
151
  allInstalled: companions.every((c) => c.installed),
152
152
  allMounted: companions.every((c) => c.mounted),
@@ -268,8 +268,15 @@ export function apply(ctx) {
268
268
  }
269
269
  })
270
270
 
271
- if (ctx.command) {
272
- ctx.command('fatfish.suite', '查看大肥鱼套装三件是否装齐、挂载与版本', async () => {
271
+ // command 只在 agent 上下文的子作用域提供:写进 inject 会让整枚插件永远 pending,
272
+ // 根作用域直接读又会被宿主抛 cannot get property,所以按需取、取不到就跳过斜杠命令。
273
+ let command = null
274
+ try {
275
+ command = ctx.command
276
+ } catch {}
277
+
278
+ if (command) {
279
+ command('fatfish.suite', '查看大肥鱼套装三件是否装齐、挂载与版本', async () => {
273
280
  const s = suiteStatus()
274
281
  return statusView(s)
275
282
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-fatfish-suite",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "大肥鱼套装:一次装齐人格与本地记忆、专用 Edge 上网之手、模型额度护栏。三件各自带硬红线,默认免费优先,不上传聊天与文件。",
5
5
  "keywords": [
6
6
  "dsh",
@@ -36,7 +36,7 @@
36
36
  "dsh": ">=0.2.0"
37
37
  },
38
38
  "dependencies": {
39
- "dsh-fatfish": "0.5.0",
39
+ "dsh-fatfish": "0.5.1",
40
40
  "dsh-fatfish-hands": "0.1.3",
41
41
  "dsh-quota-guard": "0.1.3"
42
42
  },