dsh-book-deconstruct 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +10 -2
package/index.js CHANGED
@@ -307,9 +307,11 @@ export function apply(ctx, rawConfig) {
307
307
 
308
308
  disposers.push(
309
309
  ctx.commands.register({
310
- // 不要挂 input.hint:桌面端会变成「选命令再填参数」两步,整行 `/book …` 点发送常无反应。
310
+ // 挂 input.hint:从 / 菜单选 book 时保留输入框,继续填「书名 | 作者」。
311
+ // 也可整行输入 /book 书名 | 作者 后直接发送。
311
312
  name: 'book',
312
313
  description: '深度解读一本书。用法:/book 书名 | 作者',
314
+ input: { hint: '书名 | 作者' },
313
315
  handler: async (invocation) => {
314
316
  const raw = String(invocation.rawInput ?? '').trim();
315
317
  if (raw === '') return { kind: 'error', text: USAGE };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-book-deconstruct",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "DSH Host plugin: /book slash command + book_deconstruct tool for full book walkthroughs.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -35,5 +35,13 @@
35
35
  "bundle": {
36
36
  "patch": "./cordis.patch.yml"
37
37
  }
38
- }
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/zmz123612/dsh-book-deconstruct.git"
42
+ },
43
+ "bugs": {
44
+ "url": "https://github.com/zmz123612/dsh-book-deconstruct/issues"
45
+ },
46
+ "homepage": "https://github.com/zmz123612/dsh-book-deconstruct#readme"
39
47
  }