dshmarket 1.66.37 → 1.66.38
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 +1 -0
- package/README.zh.md +1 -0
- package/client/client.js +5 -1
- package/package.json +1 -1
- package/src/client/SettingsCard.tsx +4 -0
- package/src/client/locales.ts +4 -0
package/README.md
CHANGED
|
@@ -42,6 +42,7 @@ its own dsh: it may be older than the one `npm` would give you (#139).
|
|
|
42
42
|
## What you get
|
|
43
43
|
|
|
44
44
|
- **Browse & search** the full community catalog (4200+ plugins, growing daily) — category filters, star counts, top/new sorting, bilingual descriptions that follow your UI language
|
|
45
|
+
- **The same catalog in the official Discover tab** — the list is also published as a plugin market index. On dsh 0.2.1+ add `https://awesome-dsh-plugin.com/index.json` under **Plugins → Discover → Index sources**, and the host's own Discover tab and its `plugin_market` agent tool search the same entries (the feature ships behind dsh's optional plugin-market bundle)
|
|
45
46
|
- **Host-aware discovery** — cards show the DSH requirement declared by `engines.dsh` or lockstep `@deepseek-ai/dsh-*` peers; an opt-in filter hides only confirmed mismatches with the running host. Undeclared, malformed, unavailable, and GitHub-only entries remain visible rather than being guessed incompatible
|
|
46
47
|
- **Screenshots** — AppStore-style screenshots, auto-carousel when there's more than one, click to preview full-size: author-curated shots show right on the card (zero extra requests); plugins without curated shots fall back to automatic README extraction once you open the install dialog. Images load from GitHub hosting only
|
|
47
48
|
- **Comments** — every card opens the plugin's discussion thread in place. It is the same thread its pages on [dshmarket.com](https://dshmarket.com) and the [catalog](https://awesome-dsh-plugin.com) show, so a plugin has one conversation rather than three. Backed by GitHub Discussions through giscus: it loads when you open it, needs a GitHub account only to post, and the note above it says plainly that opening it contacts giscus.app and GitHub. On local dsh web, reading stays embedded while a dedicated GitHub action opens the exact discussion in a new tab for sign-in and posting, so the cross-site return never carries or depends on the host session
|
package/README.zh.md
CHANGED
|
@@ -37,6 +37,7 @@ dsh plugin --profile web add dshmarket
|
|
|
37
37
|
## 你会得到
|
|
38
38
|
|
|
39
39
|
- **逛与搜**——完整社区目录(4200+ 插件,每天在涨),分类筛选、star 数、最热/最新排序,中英描述跟随界面语言
|
|
40
|
+
- **同一份目录也能进官方 Discover**——这份列表同时发布为插件市场索引:dsh 0.2.1 起,在 **插件 → 发现 → 索引源** 里添加 `https://awesome-dsh-plugin.com/index.json`,宿主自己的发现页和它的 `plugin_market` 智能体工具就能搜索同一批条目(该能力挂在 dsh 可选的 plugin-market bundle 上)
|
|
40
41
|
- **按宿主发现**——卡片展示插件通过 `engines.dsh` 或同版本线 `@deepseek-ai/dsh-*` peer 声明的 DSH 要求;可选筛选只隐藏与当前宿主明确不匹配的插件。未声明、格式异常、暂时取不到清单及仅 GitHub 发布的条目仍保持可见,不猜成不兼容
|
|
41
42
|
- **截图展示**——App Store 式截图,多图自动轮播,点开还能看大图;作者在 registry 里策展的截图列表卡片就直接显示(零额外请求),没有策展的插件则在打开安装弹窗时自动从 README 抽取;图片仅从 GitHub 图床加载
|
|
42
43
|
- **评论**——每张卡片都能就地打开该插件的讨论。它和插件在 [dshmarket.com](https://dshmarket.com) 与[目录站](https://awesome-dsh-plugin.com)上的页面共用同一条讨论,一个插件只有一处对话,而不是三处。底层是 GitHub Discussions(经由 giscus):打开即加载,只有发表评论才需要 GitHub 账号;说明里也直说打开会连接 giscus.app 与 GitHub。本地 dsh web 继续内嵌评论供阅读,登录和发表则通过专用 GitHub 入口在新标签页打开当前插件的精确讨论,不让跨站回跳携带或依赖宿主会话
|
package/client/client.js
CHANGED
|
@@ -210,6 +210,8 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
210
210
|
setSidebar: "侧栏入口",
|
|
211
211
|
setSidebarHint: "在侧栏「插件」下方显示市场。设置里的入口不变。",
|
|
212
212
|
setSidebarOnlyDoorHint: "这个宿主没有市场设置页,这一行就是进入市场的入口。",
|
|
213
|
+
setIndexSource: "官方 Discover 索引",
|
|
214
|
+
setIndexSourceHint: "dsh 0.2.1 起,官方的「插件 → 发现 → 索引源」可以添加 https://awesome-dsh-plugin.com/index.json —— 官方发现页和 plugin_market 智能体工具会搜索同一份目录。",
|
|
213
215
|
setSidebarOn: "显示",
|
|
214
216
|
setSidebarOff: "不显示",
|
|
215
217
|
sidebarTip: "想更快打开?可在侧栏显示。",
|
|
@@ -948,6 +950,8 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
948
950
|
setSidebar: "Sidebar shortcut",
|
|
949
951
|
setSidebarHint: "Shows the market below Plugins in the sidebar. The Settings entry stays.",
|
|
950
952
|
setSidebarOnlyDoorHint: "This host keeps the market out of Settings, so this row is the way in.",
|
|
953
|
+
setIndexSource: "Discover index",
|
|
954
|
+
setIndexSourceHint: "On dsh 0.2.1 and newer, add https://awesome-dsh-plugin.com/index.json under Plugins → Discover → Index sources — the official Discover tab and the plugin_market agent tool then search the same catalog.",
|
|
951
955
|
setSidebarOn: "Show",
|
|
952
956
|
setSidebarOff: "Hide",
|
|
953
957
|
sidebarTip: "Want a quicker open? Show it in the sidebar.",
|
|
@@ -15458,7 +15462,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
15458
15462
|
onClick: () => {
|
|
15459
15463
|
if (sidebarState.enabled !== on) onSidebar(on);
|
|
15460
15464
|
}
|
|
15461
|
-
}, t(on ? "setSidebarOn" : "setSidebarOff"))))) : null, status?.selfManaged === true ? row((update?.updateAvailable === true || update?.hostManaged === true) && update.latest !== null ? `${t("setSelfUpdateReady")} ${update.latest}` : update?.channelSwitch != null ? `${t("setChannelSwitch")} ${update.channelSwitch}` : t("setSelfUpToDate"), phase === "updated" ? t("setSelfUpdatedHint") : update?.channelSwitch != null ? t("setChannelSwitchHint") : update?.updateAvailable === true ? t("setSelfUpdateHint") : update?.hostManaged === true && update.latest !== null ? t("setSelfHostManagedHint") : t("setSelfUpToDateHint"), phase === "updated" ? null : update?.updateAvailable === true ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
15465
|
+
}, t(on ? "setSidebarOn" : "setSidebarOff"))))) : null, row(t("setIndexSource"), t("setIndexSourceHint"), null), status?.selfManaged === true ? row((update?.updateAvailable === true || update?.hostManaged === true) && update.latest !== null ? `${t("setSelfUpdateReady")} ${update.latest}` : update?.channelSwitch != null ? `${t("setChannelSwitch")} ${update.channelSwitch}` : t("setSelfUpToDate"), phase === "updated" ? t("setSelfUpdatedHint") : update?.channelSwitch != null ? t("setChannelSwitchHint") : update?.updateAvailable === true ? t("setSelfUpdateHint") : update?.hostManaged === true && update.latest !== null ? t("setSelfHostManagedHint") : t("setSelfUpToDateHint"), phase === "updated" ? null : update?.updateAvailable === true ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
15462
15466
|
variant: "primary",
|
|
15463
15467
|
size: "sm",
|
|
15464
15468
|
disabled: busy,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dshmarket",
|
|
3
3
|
"description": "Visual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。",
|
|
4
|
-
"version": "1.66.
|
|
4
|
+
"version": "1.66.38",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -514,6 +514,10 @@ export function SettingsCard({ t, onRemoved, sidebar }: SettingsCardProps): Reac
|
|
|
514
514
|
onClick: () => { if (sidebarState.enabled !== on) onSidebar(on) },
|
|
515
515
|
}, t(on ? 'setSidebarOn' : 'setSidebarOff'))),
|
|
516
516
|
)) : null,
|
|
517
|
+
// Where the same catalog is reachable on a host that reads market
|
|
518
|
+
// indexes (dsh 0.2.1+): a statement, not an action — the address is
|
|
519
|
+
// the whole thing the user needs, and it stays selectable here.
|
|
520
|
+
row(t('setIndexSource'), t('setIndexSourceHint'), null),
|
|
517
521
|
status?.selfManaged === true ? row(
|
|
518
522
|
// An older offer is not an update, and calling it one would have
|
|
519
523
|
// the user click "更新" to go backwards. It IS what picking an
|
package/src/client/locales.ts
CHANGED
|
@@ -13,6 +13,8 @@ export const zh = {
|
|
|
13
13
|
setSidebar: '侧栏入口',
|
|
14
14
|
setSidebarHint: '在侧栏「插件」下方显示市场。设置里的入口不变。',
|
|
15
15
|
setSidebarOnlyDoorHint: '这个宿主没有市场设置页,这一行就是进入市场的入口。',
|
|
16
|
+
setIndexSource: '官方 Discover 索引',
|
|
17
|
+
setIndexSourceHint: 'dsh 0.2.1 起,官方的「插件 → 发现 → 索引源」可以添加 https://awesome-dsh-plugin.com/index.json —— 官方发现页和 plugin_market 智能体工具会搜索同一份目录。',
|
|
16
18
|
setSidebarOn: '显示',
|
|
17
19
|
setSidebarOff: '不显示',
|
|
18
20
|
sidebarTip: '想更快打开?可在侧栏显示。',
|
|
@@ -775,6 +777,8 @@ export const en: Record<MarketKey, string> = {
|
|
|
775
777
|
setSidebar: 'Sidebar shortcut',
|
|
776
778
|
setSidebarHint: 'Shows the market below Plugins in the sidebar. The Settings entry stays.',
|
|
777
779
|
setSidebarOnlyDoorHint: 'This host keeps the market out of Settings, so this row is the way in.',
|
|
780
|
+
setIndexSource: 'Discover index',
|
|
781
|
+
setIndexSourceHint: 'On dsh 0.2.1 and newer, add https://awesome-dsh-plugin.com/index.json under Plugins → Discover → Index sources — the official Discover tab and the plugin_market agent tool then search the same catalog.',
|
|
778
782
|
setSidebarOn: 'Show',
|
|
779
783
|
setSidebarOff: 'Hide',
|
|
780
784
|
sidebarTip: 'Want a quicker open? Show it in the sidebar.',
|