dsh-ui-controller 0.0.0-stage → 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 MeruSu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,20 @@
1
- # Temporary Holding Version
1
+ # UI Controller · 界面控制器
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **This is a placeholder release (0.0.1).** The package name is reserved and the
4
+ plugin is a no-op: installing it changes nothing in the UI.
5
+
6
+ Planned scope:
7
+
8
+ - List every slot entry registered by every plugin, with its owner, priority and order.
9
+ - Hide or reorder those entries from one page, without editing the other plugins.
10
+ - Mirror a plugin entry into a different slot and forward clicks to the original.
11
+
12
+ Until then, nothing is registered and nothing is styled.
13
+
14
+ ## Install
15
+
16
+ dsh plugin --profile <profile> add dsh-ui-controller
17
+
18
+ ## License
19
+
20
+ MIT
package/client.js ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Browser half of `dsh-ui-controller` — placeholder.
3
+ *
4
+ * Loaded by the harness module loader. It registers no slot entry and injects no
5
+ * stylesheet, so installing this version is a no-op. Keep the module id equal to
6
+ * the package name: the loader rejects a mismatch.
7
+ */
8
+ window.__ModuleLoader__.load({
9
+ id: 'dsh-ui-controller',
10
+ factory() {
11
+ return {
12
+ apply(ctx) {
13
+ void ctx
14
+ },
15
+ }
16
+ },
17
+ })
@@ -0,0 +1,4 @@
1
+ # Placeholder bundle patch: activating the bundle loads the two halves above.
2
+ - insert:
3
+ - id: ui-controller
4
+ name: 'dsh-ui-controller'
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Host half of `dsh-ui-controller` — placeholder.
3
+ *
4
+ * A DSH plugin bundle is activated through its Cordis patch; this file exists so
5
+ * the package resolves and so the real host-side code has a home. It injects
6
+ * nothing and registers no service.
7
+ */
8
+ export const name = 'dsh-ui-controller'
9
+ export const inject = []
10
+ export function apply(ctx) {
11
+ void ctx
12
+ }
package/package.json CHANGED
@@ -1,6 +1,20 @@
1
1
  {
2
2
  "name": "dsh-ui-controller",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.1",
4
+ "description": "Placeholder release: inspect and control the UI that other plugins register into DeepSeek Harness slots (visibility, order, mirrored entries). The real implementation ships in a later version.",
5
+ "license": "MIT",
6
+ "author": { "name": "MeruSu" },
7
+ "repository": { "type": "git", "url": "git+https://github.com/MeruSu/dsh-ui-controller.git" },
8
+ "keywords": ["dsh", "deepseek-harness", "dsh-plugin", "ui"],
9
+ "type": "module",
10
+ "exports": {
11
+ ".": "./index.js",
12
+ "./client": "./client.js",
13
+ "./package.json": "./package.json"
14
+ },
15
+ "files": ["index.js", "client.js", "cordis.patch.yml", "README.md", "LICENSE"],
16
+ "dsh": {
17
+ "bundle": { "patch": "./cordis.patch.yml" },
18
+ "client": { "platform": "web" }
19
+ }
6
20
  }