dsh-shortcut-extensions 1.0.0
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 +67 -0
- package/README.zh.md +67 -0
- package/client.js +2332 -0
- package/cordis.patch.yml +4 -0
- package/icon.svg +6 -0
- package/index.js +14 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +54 -0
package/cordis.patch.yml
ADDED
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<rect x="4" y="4" width="56" height="56" rx="14" fill="#3559e0"/>
|
|
3
|
+
<rect x="16" y="19" width="32" height="5" rx="2.5" fill="#ffffff"/>
|
|
4
|
+
<rect x="16" y="29.5" width="21" height="5" rx="2.5" fill="#ffffff" opacity="0.85"/>
|
|
5
|
+
<rect x="16" y="40" width="27" height="5" rx="2.5" fill="#ffffff" opacity="0.7"/>
|
|
6
|
+
</svg>
|
package/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host half of the Shortcut Extensions bundle.
|
|
3
|
+
*
|
|
4
|
+
* Every capability this plugin uses is already served by the running Host:
|
|
5
|
+
* - permission switching goes through the shipped `/permission <preset>`
|
|
6
|
+
* session command (dsh-permission-presets), submitted from the Client;
|
|
7
|
+
* - model catalog and selection go through the shared Client
|
|
8
|
+
* `modelDirectories` service over the `remote.session` namespace;
|
|
9
|
+
* - session open/archive/restore go through the `uiWorkspace` client face.
|
|
10
|
+
*
|
|
11
|
+
* Permission changes are user-only authority actions, so this bundle
|
|
12
|
+
* deliberately exposes no agent tool for them.
|
|
13
|
+
*/
|
|
14
|
+
export function apply() {}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Shortcut Extensions",
|
|
4
|
+
"description": "A manageable deck of quick-switch shortcut commands: model palette with pins (Cmd+Shift+P), session list including archived with restore (Cmd+G), next/previous session (Ctrl+Tab / Ctrl+Shift+Tab), jump to a session that just answered (Cmd+J), focus the chat input (Cmd+I), and one-key permission toggling (Cmd+L). The sidebar panel lists every command with its live keys and an individual on/off switch."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-shortcut-extensions",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Shortcut Extensions: a toggleable registry of quick-switch shortcut commands (model palette with pins, session palette with prompt preview and archived restore, recency-ordered session cycling, find-next-answered jump, focus composer, configurable permission cycling) with a sidebar control panel and a custom command editor.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"shortcuts",
|
|
10
|
+
"hotkeys",
|
|
11
|
+
"quick-switch",
|
|
12
|
+
"productivity"
|
|
13
|
+
],
|
|
14
|
+
"author": "BenHanks303",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/BenHanks303/dsh-shortcut-extensions.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/BenHanks303/dsh-shortcut-extensions#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/BenHanks303/dsh-shortcut-extensions/issues"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./index.js",
|
|
26
|
+
"./client": "./client.js",
|
|
27
|
+
"./locale/*.json": "./locale/*.json",
|
|
28
|
+
"./icon": "./icon.svg"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"index.js",
|
|
32
|
+
"client.js",
|
|
33
|
+
"cordis.patch.yml",
|
|
34
|
+
"locale/*.json",
|
|
35
|
+
"icon.svg"
|
|
36
|
+
],
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"platform": "web",
|
|
43
|
+
"immediately": true,
|
|
44
|
+
"inject": [
|
|
45
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
47
|
+
"@deepseek-ai/dsh-client-shortcuts",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-model-selection",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-workspace",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|