dsh-better-setting-page 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 +21 -0
- package/README.md +19 -2
- package/client.js +17 -0
- package/cordis.patch.yml +4 -0
- package/index.js +12 -0
- package/package.json +17 -3
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
|
-
#
|
|
1
|
+
# Better Setting Page · 全屏设置页
|
|
2
2
|
|
|
3
|
-
This
|
|
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
|
+
- Open the settings dialog as a full page instead of a small modal.
|
|
9
|
+
- Let the settings navigation rail collapse to icons only.
|
|
10
|
+
- Remember both choices per machine.
|
|
11
|
+
|
|
12
|
+
Until then, nothing is registered and nothing is styled.
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
dsh plugin --profile <profile> add dsh-better-setting-page
|
|
17
|
+
|
|
18
|
+
## License
|
|
19
|
+
|
|
20
|
+
MIT
|
package/client.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser half of `dsh-better-setting-page` — 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-better-setting-page',
|
|
10
|
+
factory() {
|
|
11
|
+
return {
|
|
12
|
+
apply(ctx) {
|
|
13
|
+
void ctx
|
|
14
|
+
},
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
})
|
package/cordis.patch.yml
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host half of `dsh-better-setting-page` — 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-better-setting-page'
|
|
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-better-setting-page",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Placeholder release: a full-screen settings page with a collapsible navigation rail for DeepSeek Harness. 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-better-setting-page.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
|
}
|