dshmarket 1.66.37 → 1.66.39

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
@@ -11,6 +11,8 @@ English | [中文](README.zh.md)
11
11
 
12
12
  The plugin market inside DeepSeek Harness. Open Settings → **Plugin Market** → browse, search, one-click install. Settings sits in the sidebar up to dsh 0.2.0 and in the account menu from 0.2.1.
13
13
 
14
+ > 📡 **The same catalog is also a plugin market index.** On dsh 0.2.1+, open **Plugins → Discover → Index sources** and add `https://awesome-dsh-plugin.com/index.json` — or `https://dshmarket.com/index.json`, the same document. The host's Discover tab and the `plugin_market` agent tool then search it.
15
+
14
16
  ![dsh-market](assets/demo-en.png)
15
17
 
16
18
  One-click themes: install, switch live, no restart.
package/README.zh.md CHANGED
@@ -11,6 +11,8 @@
11
11
 
12
12
  装在 DeepSeek Harness 里的插件市场。打开设置 → **插件市场** → 逛一逛,点一下,装好。设置入口在 dsh 0.2.0 及以前位于侧边栏,0.2.1 起移到了账号菜单里。
13
13
 
14
+ > 📡 **同一份目录也是一份插件市场索引。** dsh 0.2.1 起,打开 **插件 → 发现(Discover)→ 索引源(Index sources)**,添加 `https://awesome-dsh-plugin.com/index.json`——或 `https://dshmarket.com/index.json`,同一份文档。宿主自己的发现页和 `plugin_market` 智能体工具就能搜索它。
15
+
14
16
  ![dsh-market](assets/demo-zh.png)
15
17
 
16
18
  主题一键换:装完即生效,点一下切换,不用重启。
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.37",
4
+ "version": "1.66.39",
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
@@ -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.',