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.
@@ -0,0 +1,4 @@
1
+ - insert:
2
+ - id: shortcut-ext
3
+ name: 'dsh-shortcut-extensions'
4
+ config: {}
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
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "快捷键拓展",
4
+ "description": "把快速切换类快捷键做成可管理的快捷键拓展:模型下拉(⌘⇧P,支持置顶)、会话列表(⌘G,含已归档可恢复)、上/下一个会话(⌃Tab/⌃⇧Tab)、跳到刚回答完的会话(⌘J)、聚焦输入框(⌘I)、权限一键切换(⌘L)。侧栏面板列出全部指令与实际键位,每条都可独立开关。"
5
+ }
6
+ }
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
+ }