niushuanan/xiaozhuang-dsh--plugins-plugin-manager2

@deepseek-ai/dsh-client-ui-plugin-catalog

Native Xiaozhuang plugin catalog, live controls, and selective AI-installable export

包名
@deepseek-ai/dsh-client-ui-plugin-catalog
版本
0.1.1-rc.2
许可证
MIT
最近更新
2026年9月5日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:niushuanan/xiaozhuang-dsh#bb949c3d291ea55d378cc5fdb1b237b4f63127b6&path:plugins/plugin-manager

Xiaozhuang plugin catalog UI

English | 中文

The plugin owns its original sparkle icon in Settings; its icon contribution is removed with the plugin.

@deepseek-ai/dsh-client-ui-plugin-catalog owns the native 小庄的插件 Settings page. Its Host half projects the selected Loader rows, atomically persists live enablement in the Web Profile's bounded switch block, retains the collaborator configuration API used by Teamwork, and serves selective plugin export. Its Client half owns the grouped search catalog, capsule switches, inline export selection, browser download, and user feedback.

The Hero spells out the repository URL in the brand-blue link color and appends a visible click hint. The link opens https://github.com/niushuanan/xiaozhuang-dsh in a separate tab with noopener noreferrer, so the Star destination is discoverable without guessing which sentence is interactive.

Selective export

导出插件 enters selection in the current catalog. Users can choose rows individually or select all 17 cataloged capabilities. The selection strip is deliberately plain text; only the final export action is visually primary. Select all is independent of search and runtime enablement: an installed but disabled capability remains exportable. The catalog package is infrastructure for the list and is not included in its own export choices. 持续适配 is cataloged and exportable as an independent capability. The composer add menu stays mounted as baseline product interaction and is intentionally absent as a separate switchable/exportable row. 聊天模式 owns the workspace-free chat entry, attachment menu, and internal no-Tool preset. 导入对话 owns DeepSeek history preview, selection, and native Session migration. They are independently switchable and exportable, with each archive carrying its direct dependencies; legacy plain-chat and chat-migration toggle requests from already-open pages remain mapped to the new rows. Skill 管理 exports its native package source so another DSH can restore the Skill library as ordinary Cordis rows.

POST /plugins/xiaozhuang-plugins/api/export accepts only catalog ids from a loopback, same-origin page. The Host maps those ids to a closed set of repository or Web Profile package roots. It includes source, package manifests, built JavaScript, and package-declared runtime assets; it excludes node_modules, Git metadata, tests, caches, credentials, local settings, sessions, and conversation history. The ZIP is built in memory and no retained staging archive is written.

Every archive includes README.md, AGENTS.md, INSTALL.md, manifest.json, and payload/ /.... The manifest records the source commit, package sources, Cordis rows, file sizes, and SHA-256 hashes. The installation instructions tell an AI to merge narrowly into the target DSH version, preserve user data and existing changes, adapt only conflicting plugin integration when direct installation fails, record adaptations, and stop cleanly rather than leave an enabled half-installation.

Repository packages include only assets named by their package files manifest. This keeps the current Whale Girl runtime frames while excluding superseded source and animation generations, so selecting all plugins does not copy hundreds of megabytes of development material.

Composition

The Web bundle mounts xiaozhuang-plugins before other Settings contributors. The package requires Loader and WebServer on the Host, and locale, Settings slots, sidebar slots, and shared primitives on the Client. Live switches continue to use the fixed # xiaozhuang-plugin-switches:start / :end block, so existing user choices survive the native-package migration.

The Client contributes Xiaozhuang DSH through the upstream sidebar.brand.name and shell.documentTitle slots. Browser tabs include the selected Session title and follow title changes. The existing sidebar mark and controls stay owned by the sidebar. The product name does not include upstream build metadata. Unloading this plugin removes its brand contributions and restores the upstream fallbacks; the upstream core has no dependency on this plugin.

Model Experience

Catalog and archive generation

What the model sees

Nothing in the current DSH Session. The exported AGENTS.md and INSTALL.md are archive instructions for an installation AI on the receiving machine, not prompt content for this product instance.

Token effect

Catalog browsing, switches, and ZIP generation make no model request and consume no model tokens.

KV Cache effect

These local Settings and archive operations do not change conversation prompts, so they have no cache effect.

Known Limitations and Deferred Work

  • Export is synchronous and browser-local; the page does not keep a server-side export history.
  • The closed export catalog deliberately excludes unknown third-party Loader rows until their source and private-data boundaries are reviewed.