dsh-tabbit 0.2.0 → 0.2.2

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
@@ -54,7 +54,14 @@ Run `dsh --version` again to confirm DSH works.
54
54
  ### 2. Install the tabbit-browser plugin
55
55
 
56
56
  ```sh
57
- dsh plugin --profile web add github:Tabbit-Browser/dsh-plugin
57
+ dsh plugin --profile web add dsh-tabbit
58
+ ```
59
+
60
+ This installs the npm package (prebuilt tarball, CDN-served). If the npm
61
+ registry is unreachable, fall back to the GitHub source:
62
+
63
+ ```sh
64
+ dsh plugin --profile web add github:Tabbit-Browser/dsh-tabbit
58
65
  ```
59
66
 
60
67
  ### 3. Start DSH
package/README.zh-CN.md CHANGED
@@ -54,7 +54,14 @@ npm install -g @deepseek-ai/dsh
54
54
  ### 2. 安装 tabbit-browser 插件
55
55
 
56
56
  ```sh
57
- dsh plugin --profile web add github:Tabbit-Browser/dsh-plugin
57
+ dsh plugin --profile web add dsh-tabbit
58
+ ```
59
+
60
+ 这会安装 npm 包(预构建 tarball,走 CDN 分发)。如果无法访问 npm
61
+ registry,可以回退到 GitHub 源:
62
+
63
+ ```sh
64
+ dsh plugin --profile web add github:Tabbit-Browser/dsh-tabbit
58
65
  ```
59
66
 
60
67
  ### 3. 启动 DSH
package/index.js CHANGED
@@ -34,7 +34,7 @@ export function formatUpdateNotice({ currentVersion, latestVersion, changelog })
34
34
  '> Show the offered version and these changes to the user, then ask whether to update now.',
35
35
  '> If they agree, tell them to rerun the install command below over the current install and restart the DSH session afterwards:',
36
36
  '> ```bash',
37
- '> dsh plugin --profile web add github:Tabbit-Browser/dsh-plugin',
37
+ '> dsh plugin --profile web add dsh-tabbit',
38
38
  '> ```',
39
39
  `> If they decline, call \`tabbit_plugin_update\` with \`dismiss: "${latestVersion}"\`, then continue the task.`,
40
40
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tabbit",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "DSH bundle that packages the Tabbit Browser skill and background installer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -74,7 +74,7 @@ update now. If they agree, tell them to rerun the install command below over
74
74
  the current install, then restart the DSH session afterwards:
75
75
 
76
76
  ```bash
77
- dsh plugin --profile web add github:Tabbit-Browser/dsh-plugin
77
+ dsh plugin --profile web add dsh-tabbit
78
78
  ```
79
79
 
80
80
  If they decline, call `tabbit_plugin_update` with `dismiss` set to the offered
package/update-check.js CHANGED
@@ -7,7 +7,7 @@ const FETCH_TIMEOUT_MS = 1500
7
7
  const CHANGELOG_MAX_CHARS = 500
8
8
  // The raw CDN carries no GitHub API rate limit, which unauthenticated checks
9
9
  // from shared egress IPs would otherwise exhaust within the hour.
10
- const DEFAULT_CHANGELOG_URL = 'https://raw.githubusercontent.com/Tabbit-Browser/dsh-plugin/main/CHANGELOG.md'
10
+ const DEFAULT_CHANGELOG_URL = 'https://raw.githubusercontent.com/Tabbit-Browser/dsh-tabbit/main/CHANGELOG.md'
11
11
  const PACKAGE_URL = new URL('./package.json', import.meta.url)
12
12
 
13
13
  let cachedLocalVersion