dsh-prompttab 0.0.0-stage → 5.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 +213 -2
- package/README.zh.md +214 -0
- package/assets/flow-loading.svg +20 -0
- package/assets/flow-static.svg +1 -0
- package/cordis.patch.yml +3 -0
- package/docs/USAGE.md +77 -0
- package/docs/USAGE.zh.md +77 -0
- package/icon.svg +1 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +69 -4
- package/src/client.js +3103 -0
- package/src/index.js +468 -0
- package/src/suggestion-prompts.js +418 -0
- package/src/suggestion-strategy.js +486 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 qifenglun1
|
|
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,214 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PromptTab for DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Think it. Tab it.
|
|
4
|
+
>
|
|
5
|
+
> The Intelligent Interaction Layer for AI.
|
|
6
|
+
|
|
7
|
+
English | [中文](README.zh.md)
|
|
8
|
+
|
|
9
|
+
PromptTab is an **intelligent interaction layer** for DeepSeek Harness. It has no sidebar, no panel, no settings page, and no stored data: everything happens inside the composer, on demand.
|
|
10
|
+
|
|
11
|
+
- **Tab suggestions** — hold **Tab** in the composer text editor to get an inline next-step prompt, an optimization preview, a continuation, a cursor completion, or a selection action. Nothing is sent automatically.
|
|
12
|
+
- **Tab + /** — while Tab is held, press `/` to open a read-only, searchable list of every Tab action and related key. It never runs, inserts, or sends anything.
|
|
13
|
+
- **Explain** — select text in the conversation and use the right-click menu to explain it in context. The same menu offers Copy; neither action changes the conversation or the composer.
|
|
14
|
+
- **Composer history** — `↑` / `↓` browse unsent input history without leaving the composer.
|
|
15
|
+
|
|
16
|
+
Complete usage guide: [English](docs/USAGE.md) | [中文](docs/USAGE.zh.md). That guide is the source of truth for user behavior.
|
|
17
|
+
|
|
18
|
+
Repository: <https://github.com/qifenglun1/dsh-prompttab>
|
|
19
|
+
npm: <https://www.npmjs.com/package/dsh-prompttab>
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
1. Install and enable the bundle (below).
|
|
24
|
+
2. Open a conversation and hold **Tab** in the composer text editor.
|
|
25
|
+
3. Keep holding Tab and press **Space** to accept the preview, or `Esc` to cancel. Release Tab without accepting to dismiss after a short grace period.
|
|
26
|
+
4. Hold Tab and press `/` to browse all Tab actions at any time.
|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
- **Tab suggestions** — context-aware inline suggestions built on the current Session model.
|
|
31
|
+
- Empty composer: a starter or next-step suggestion.
|
|
32
|
+
- Plain text, no selection: an optimization preview (Space replaces the text).
|
|
33
|
+
- **Tab + →**: continuation at the end of the text, or a cursor completion in the middle.
|
|
34
|
+
- **Tab + ←**: full-text polish.
|
|
35
|
+
- With a selection: **Tab** enhances, **Tab + →** expands, **Tab + ←** polishes only the selection.
|
|
36
|
+
- The preview lists the other Tab actions for the current context, supports **Regenerate**, and never sends automatically.
|
|
37
|
+
- **Tab + / reference list** — a read-only, searchable list of the eight Tab actions plus Space, Esc, Shift+Tab, and Tab + /. Search by name, key, scenario, or description; browse with `↑`/`↓`; the header shows the product name and the footer the running plugin version. Esc closes and returns to the composer.
|
|
38
|
+
- **Explain selection** — a lightweight explanation of the selected term or sentence, using the current Session model and a short excerpt from the matching assistant reply. It does not change the conversation or the composer.
|
|
39
|
+
- **Composer history** — `↑` at the start of the composer recalls earlier prompts; `↓` walks toward newer ones and then restores the unsent text.
|
|
40
|
+
|
|
41
|
+
## Shortcut reference
|
|
42
|
+
|
|
43
|
+
| Action | Keys |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| Suggest / optimize / enhance in the composer | `Tab` |
|
|
46
|
+
| Continue at the end / complete at the caret / expand a selection | `Tab` + `→` |
|
|
47
|
+
| Polish the full prompt / polish a selection | `Tab` + `←` |
|
|
48
|
+
| Open the read-only Tab action list | `Tab` + `/` |
|
|
49
|
+
| Accept the preview | `Space` (while Tab is held) |
|
|
50
|
+
| Cancel the suggestion | `Esc` |
|
|
51
|
+
| Leave the composer text editor | `Shift+Tab` |
|
|
52
|
+
| Browse unsent input history | `↑` / `↓` |
|
|
53
|
+
| Explain selected text | Right-click the selection |
|
|
54
|
+
|
|
55
|
+
The plugin registers no DSH shortcut of its own; these bindings live inside the composer text editor and keep native behavior everywhere else.
|
|
56
|
+
|
|
57
|
+
## Requirements
|
|
58
|
+
|
|
59
|
+
- DeepSeek Harness **0.2.1-rc.2** or newer, with the Web or Desktop UI.
|
|
60
|
+
- A DSH profile in which bundles can be installed.
|
|
61
|
+
- Network access to GitHub when installing from this repository.
|
|
62
|
+
|
|
63
|
+
The plugin is a **bundle**, not a standalone web page. Install it through DSH's plugin manager; do not try to open `src/client.js` directly.
|
|
64
|
+
|
|
65
|
+
The repository root is the installable package root. There is no monorepo subdirectory and no build step.
|
|
66
|
+
|
|
67
|
+
## Install from npm
|
|
68
|
+
|
|
69
|
+
The package is published on npm as `dsh-prompttab`.
|
|
70
|
+
|
|
71
|
+
1. In DSH, open **Plugins**.
|
|
72
|
+
2. Choose **Add plugin** → **Install a third-party plugin**.
|
|
73
|
+
3. Paste the package name:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
dsh-prompttab
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
4. Review the trust notice and confirm the installation.
|
|
80
|
+
|
|
81
|
+
With the CLI:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
dsh plugin --profile web add dsh-prompttab
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
To pin this release:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
dsh plugin --profile web add dsh-prompttab@5.0.0
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Install from GitHub
|
|
94
|
+
|
|
95
|
+
### Desktop / Web (recommended)
|
|
96
|
+
|
|
97
|
+
1. In DSH, open **Plugins**.
|
|
98
|
+
2. Choose **Add plugin** → **Install a third-party plugin**.
|
|
99
|
+
3. Paste the repository address:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
https://github.com/qifenglun1/dsh-prompttab
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
4. Review the trust notice and confirm the installation.
|
|
106
|
+
5. If the `prompttab` row remains off, enable it in **Plugins**.
|
|
107
|
+
|
|
108
|
+
### CLI
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
dsh plugin --profile web add github:qifenglun1/dsh-prompttab
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
A git install fetches sources, not a prebuilt artifact. This package is plain JavaScript with no `prepare`/`build` script.
|
|
115
|
+
|
|
116
|
+
### Local checkout (development)
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
dsh plugin --profile dev add /absolute/path/to/dsh-prompttab
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The plugin manager links the checkout into the profile, so edits to `src/client.js` are picked up after a page refresh.
|
|
123
|
+
|
|
124
|
+
## Update and uninstall
|
|
125
|
+
|
|
126
|
+
DSH upgrades non-official plugins by uninstalling and reinstalling them:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
dsh plugin --profile web remove dsh-prompttab
|
|
130
|
+
dsh plugin --profile web add dsh-prompttab
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Upgrading from 4.x: Prompt Library was removed
|
|
134
|
+
|
|
135
|
+
5.0 focuses the plugin on the interaction layer. **Prompt Library** — the sidebar panel, prompt picker, `#` prompt command, scene entry, Prompt Capture, presets, and backup/restore — is no longer part of this package.
|
|
136
|
+
|
|
137
|
+
- The plugin no longer reads or writes any `localStorage` key. Prompt Library data that is already in the browser is **not deleted**; it is simply no longer used.
|
|
138
|
+
- There is **no built-in export** in 5.0. If you want to keep your Prompt Library data, install **4.1.x** first, export a backup from its Settings, and keep the JSON file before upgrading.
|
|
139
|
+
- Scene System Prompts are removed with the library; Tab suggestions now rely only on the current conversation.
|
|
140
|
+
- Selection Explain and composer history are unchanged.
|
|
141
|
+
|
|
142
|
+
## Configuration
|
|
143
|
+
|
|
144
|
+
The plugin has **no Config schema** and no required settings. There is no API key, token, password, endpoint, or model selection to configure.
|
|
145
|
+
|
|
146
|
+
## Compatibility
|
|
147
|
+
|
|
148
|
+
- Built and verified with **DeepSeek Harness 0.2.1-rc.2**.
|
|
149
|
+
- The package declares `engines.dsh: ">=0.2.1-rc.2 <0.3.0"`.
|
|
150
|
+
- The client half uses the public slots `conversation.input.overlay`, `conversation.input.dock`, `conversation.chat.text-interaction`, `conversation.chat.commandview`, and `shell.overlay`, plus the composer's `InputActions.captureInsertion()` / `insertText()` / `setDraft()`.
|
|
151
|
+
- If a future DSH release changes those slots, the plugin may need an update. Please include the DSH version in bug reports.
|
|
152
|
+
|
|
153
|
+
## Privacy and security
|
|
154
|
+
|
|
155
|
+
- No analytics, telemetry, or network calls of its own. Inline suggestions, explanations, and Flow loading use the Session's configured model; the context needed for a suggestion or explanation is sent to that model and consumes tokens. A failed stream may retry once and consume tokens again.
|
|
156
|
+
- No credential, API key, token, cookie, or account access.
|
|
157
|
+
- No host filesystem access.
|
|
158
|
+
- **No plugin storage**: no `localStorage`, no backup file, no exported data. Explain travels through the Session command log and is not written to this browser's storage.
|
|
159
|
+
- Installing any third-party bundle executes its code inside DSH. Read the source before installing, and pin a commit with `github:qifenglun1/dsh-prompttab#<sha>` if you need a fixed revision.
|
|
160
|
+
|
|
161
|
+
## Development
|
|
162
|
+
|
|
163
|
+
Read:
|
|
164
|
+
|
|
165
|
+
- `AGENTS.md` — canonical agent and contributor rules.
|
|
166
|
+
- `REVIEW.md` — review passes, severity, and the PR checklist.
|
|
167
|
+
- `docs/architecture/plugin.md` — slots, Host commands, and UI conventions.
|
|
168
|
+
- `docs/development/verification.md` — install/verify/release steps and limitations.
|
|
169
|
+
- `docs/features/` — change-level intent/spec/plan/test-report/review.
|
|
170
|
+
- `CHANGELOG.md` — release history.
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
npm run verify
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
`npm run verify` runs syntax checks, the Node test suite, the npm package-inventory check, and the sensitive-path/credential scan.
|
|
177
|
+
|
|
178
|
+
## Project layout
|
|
179
|
+
|
|
180
|
+
| File | Purpose |
|
|
181
|
+
| --- | --- |
|
|
182
|
+
| `package.json` | Package metadata, bundle declaration, client entry, `dsh.client` inject list. |
|
|
183
|
+
| `src/index.js` | Host half: the internal suggestion and explanation commands. |
|
|
184
|
+
| `src/client.js` | Browser half: composer interaction (Tab, Tab + /), selection menu, Explain page, history, and locale dictionaries. |
|
|
185
|
+
| `src/suggestion-strategy.js` | Pure suggestion context, request, cleanup, and budget logic. |
|
|
186
|
+
| `src/suggestion-prompts.js` | Versioned TabAction system prompts and the active-version resolver. |
|
|
187
|
+
| `cordis.patch.yml` | Bundle patch inserting the `prompttab` row. |
|
|
188
|
+
| `locale/en.json`, `locale/zh.json` | Plugin Manager title and description. |
|
|
189
|
+
| `icon.svg` | PromptTab app icon (VI 1.0: black tile, white mark). |
|
|
190
|
+
| `assets/flow-loading.svg`, `assets/flow-static.svg` | Waiting animation source and its static fallback, same VI geometry. |
|
|
191
|
+
| `docs/brand/` | VI 1.0 masters: logo, app and feature icons, tokens, original guidelines. |
|
|
192
|
+
| `docs/BRAND_GUIDELINES.md` | Brand and visual rules for new UI work. |
|
|
193
|
+
| `README.md`, `README.zh.md` | Documentation. |
|
|
194
|
+
| `LICENSE` | MIT license. |
|
|
195
|
+
| `docs/USAGE.md`, `docs/USAGE.zh.md` | Packaged quick-start guides. |
|
|
196
|
+
| `docs/architecture/plugin.md` | Deep architecture, slots, and DSH rules. |
|
|
197
|
+
| `docs/development/verification.md` | Install/verify/release checklist and limitations. |
|
|
198
|
+
| `docs/features/` | Feature folders with intent/spec/plan/test-report/review. |
|
|
199
|
+
| `evals/` | Future agent regression cases; no executable runner yet. |
|
|
200
|
+
| `scripts/` | `check-package.mjs`, `check-policy.mjs`, and `scripts/tests/` Node tests. |
|
|
201
|
+
| `.github/` | CI workflow and PR prompt. |
|
|
202
|
+
|
|
203
|
+
## Troubleshooting
|
|
204
|
+
|
|
205
|
+
- **Nothing happens when I press Tab** — focus must be inside the composer text editor. Toolbar controls, dialogs, and other fields keep native Tab.
|
|
206
|
+
- **Tab + / does not open** — Tab must still be held when you press `/`; Shift/Ctrl/Alt/Meta combinations and IME composition keep native behavior.
|
|
207
|
+
- **Installation fails** — make sure the repository root contains `package.json` with `dsh.bundle.patch`; check that the running DSH version satisfies `engines.dsh`.
|
|
208
|
+
- **The old prompt library data** — 5.0 does not read it. Install 4.1.x to export it; the data remains in the browser until you clear site data.
|
|
209
|
+
|
|
210
|
+
## License
|
|
211
|
+
|
|
212
|
+
MIT. See [LICENSE](LICENSE). Copyright (c) 2026 qifenglun1.
|
|
213
|
+
|
|
214
|
+
The plugin icon is original to this project.
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# PromptTab for DeepSeek Harness
|
|
2
|
+
|
|
3
|
+
> 所思,一键成形。
|
|
4
|
+
>
|
|
5
|
+
> AI 的智能交互层。
|
|
6
|
+
|
|
7
|
+
[English](README.md) | 中文
|
|
8
|
+
|
|
9
|
+
PromptTab 是 DeepSeek Harness 的**智能交互层**。它没有侧边栏、没有面板、没有设置页,也不保存数据:一切都在输入框内按需发生。
|
|
10
|
+
|
|
11
|
+
- **Tab 建议**:在输入框文本编辑区内按住 **Tab**,获得行内下一步建议、提示词优化预览、续写、光标位置补全或选区操作。不会自动发送。
|
|
12
|
+
- **Tab + /**:按住 Tab 时按 `/`,打开只读、可搜索的 Tab 键操作列表。浏览或点击都不会执行、插入或发送。
|
|
13
|
+
- **解释**:在对话中选中文本后使用右键菜单,按当前语境解释;同一菜单还提供复制。两者都不改变对话与输入框。
|
|
14
|
+
- **输入历史**:`↑` / `↓` 浏览未发送的输入历史,不离开输入框。
|
|
15
|
+
|
|
16
|
+
完整使用说明:[中文](docs/USAGE.zh.md) | [English](docs/USAGE.md)。该说明是用户行为的权威来源。
|
|
17
|
+
|
|
18
|
+
仓库地址:<https://github.com/qifenglun1/dsh-prompttab>
|
|
19
|
+
npm:<https://www.npmjs.com/package/dsh-prompttab>
|
|
20
|
+
|
|
21
|
+
## 快速开始
|
|
22
|
+
|
|
23
|
+
1. 安装并启用插件(见下文)。
|
|
24
|
+
2. 打开一个对话,在输入框文本编辑区内按住 **Tab**。
|
|
25
|
+
3. 继续按住 Tab 按 **空格** 采用预览,`Esc` 取消;松开 Tab 未采用时,预览短暂保留后隐藏。
|
|
26
|
+
4. 随时按住 Tab 按 `/` 浏览全部 Tab 操作。
|
|
27
|
+
|
|
28
|
+
## 功能
|
|
29
|
+
|
|
30
|
+
- **Tab 建议**:基于当前会话模型的上下文感知行内建议。
|
|
31
|
+
- 输入框为空:起步或下一步建议。
|
|
32
|
+
- 有文本、无选区:提示词优化预览(Space 替换全文)。
|
|
33
|
+
- **Tab + →**:光标在末尾时续写,在中间时光标位置补全。
|
|
34
|
+
- **Tab + ←**:全文润色。
|
|
35
|
+
- 有选区时:**Tab** 选区增强、**Tab + →** 选区扩写、**Tab + ←** 选区润色。
|
|
36
|
+
- 预览会列出当前上下文的其它 Tab 用法,支持 **重新生成**,不会自动发送。
|
|
37
|
+
- **Tab + / 参考列表**:只读、可搜索,覆盖 8 个 Tab 操作与 Space、Esc、Shift+Tab、Tab + /。可按名称、键位、场景或说明搜索,`↑`/`↓` 浏览,顶部显示产品名,底部显示当前插件版本;Esc 关闭并回到输入框。
|
|
38
|
+
- **解释选中内容**:使用当前会话模型和一小段匹配的助手回复,轻量解释所选名词或句子;不改对话,也不改输入框。
|
|
39
|
+
- **输入历史**:光标在开头时按 `↑` 回顾更早的提示词,`↓` 向更新方向切换,越过最新一条后恢复未发送的原文。
|
|
40
|
+
|
|
41
|
+
## 快捷键速查
|
|
42
|
+
|
|
43
|
+
| 操作 | 键位 |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| 在输入框内生成/优化/增强建议 | `Tab` |
|
|
46
|
+
| 末尾续写 / 光标补全 / 选区扩写 | `Tab` + `→` |
|
|
47
|
+
| 全文润色 / 选区润色 | `Tab` + `←` |
|
|
48
|
+
| 打开只读的 Tab 操作列表 | `Tab` + `/` |
|
|
49
|
+
| 采用当前预览 | `Space`(按住 Tab 时) |
|
|
50
|
+
| 取消当前建议 | `Esc` |
|
|
51
|
+
| 离开输入框文本编辑区 | `Shift+Tab` |
|
|
52
|
+
| 浏览未发送的输入历史 | `↑` / `↓` |
|
|
53
|
+
| 解释选中内容 | 右键选中文本 |
|
|
54
|
+
|
|
55
|
+
插件不注册任何 DSH 快捷键;以上键位只在输入框文本编辑区内生效,其它位置保持原生行为。
|
|
56
|
+
|
|
57
|
+
## 环境要求
|
|
58
|
+
|
|
59
|
+
- DeepSeek Harness **0.2.1-rc.2** 或更新版本,Web 或 Desktop UI。
|
|
60
|
+
- 可安装 bundle 的 DSH profile。
|
|
61
|
+
- 从本仓库安装时需要访问 GitHub。
|
|
62
|
+
|
|
63
|
+
插件是 **bundle**,不是独立网页;请通过 DSH 插件管理器安装,不要直接打开 `src/client.js`。
|
|
64
|
+
|
|
65
|
+
仓库根目录就是可安装的包根,没有 monorepo 子目录,也没有构建步骤。
|
|
66
|
+
|
|
67
|
+
## 从 npm 安装
|
|
68
|
+
|
|
69
|
+
包名为 `dsh-prompttab`。
|
|
70
|
+
|
|
71
|
+
1. 打开 DSH 的 **Plugins**。
|
|
72
|
+
2. 选择 **Add plugin** → **Install a third-party plugin**。
|
|
73
|
+
3. 粘贴包名:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
dsh-prompttab
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
4. 阅读信任提示并确认安装。
|
|
80
|
+
|
|
81
|
+
使用 CLI:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
dsh plugin --profile web add dsh-prompttab
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
固定版本:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
dsh plugin --profile web add dsh-prompttab@5.0.0
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## 从 GitHub 安装
|
|
94
|
+
|
|
95
|
+
### Desktop / Web(推荐)
|
|
96
|
+
|
|
97
|
+
1. 打开 DSH 的 **Plugins**。
|
|
98
|
+
2. 选择 **Add plugin** → **Install a third-party plugin**。
|
|
99
|
+
3. 粘贴仓库地址:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
https://github.com/qifenglun1/dsh-prompttab
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
4. 阅读信任提示并确认安装。
|
|
106
|
+
5. 如果 `prompttab` 行仍处于关闭状态,在 **Plugins** 中启用它。
|
|
107
|
+
|
|
108
|
+
### CLI
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
dsh plugin --profile web add github:qifenglun1/dsh-prompttab
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
git 安装获取的是源码,不是预构建产物;本包是纯 JavaScript,没有 `prepare`/`build` 脚本。
|
|
115
|
+
|
|
116
|
+
### 本地开发
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
dsh plugin --profile dev add /absolute/path/to/dsh-prompttab
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
插件管理器会把 checkout 链接进 profile,修改 `src/client.js` 后刷新页面即可生效。
|
|
123
|
+
|
|
124
|
+
## 更新与卸载
|
|
125
|
+
|
|
126
|
+
DSH 通过卸载再安装来升级第三方插件:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
dsh plugin --profile web remove dsh-prompttab
|
|
130
|
+
dsh plugin --profile web add dsh-prompttab
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### 从 4.x 升级:Prompt Library 已移除
|
|
134
|
+
|
|
135
|
+
5.0 把插件聚焦到交互层。**Prompt Library**(侧边栏面板、提示词选择器、`#` 提示词指令、场景入口、Prompt Capture、预置、备份/恢复)不再包含在本包中。
|
|
136
|
+
|
|
137
|
+
- 插件不再读写任何 `localStorage` 键。浏览器中已有的 Prompt Library 数据**不会被删除**,只是不再被使用。
|
|
138
|
+
- 5.0 **不提供内建导出**。如需保留数据,请先安装 **4.1.x**,在其设置中导出备份并保存 JSON,再升级。
|
|
139
|
+
- 场景 System Prompt 随提示词库一并移除;Tab 建议只依赖当前对话。
|
|
140
|
+
- 选区的解释与输入历史保持不变。
|
|
141
|
+
|
|
142
|
+
## 配置
|
|
143
|
+
|
|
144
|
+
插件**没有 Config schema**,也没有必填设置;不需要 API Key、Token、密码、端点或模型选择。
|
|
145
|
+
|
|
146
|
+
## 兼容性
|
|
147
|
+
|
|
148
|
+
- 使用 **DeepSeek Harness 0.2.1-rc.2** 构建与验证。
|
|
149
|
+
- 包声明 `engines.dsh: ">=0.2.1-rc.2 <0.3.0"`。
|
|
150
|
+
- 浏览器半部分使用公开插槽 `conversation.input.overlay`、`conversation.input.dock`、`conversation.chat.text-interaction`、`conversation.chat.commandview`、`shell.overlay`,以及输入框的 `InputActions.captureInsertion()` / `insertText()` / `setDraft()`。
|
|
151
|
+
- 如果未来 DSH 版本变更这些插槽,插件可能需要更新。提交问题时请附上 DSH 版本。
|
|
152
|
+
|
|
153
|
+
## 隐私与安全
|
|
154
|
+
|
|
155
|
+
- 没有自建分析、遥测或网络请求。行内建议、解释和加载动画使用当前会话配置的模型;所需上下文会发送给该模型并消耗 token。流式失败可能重试一次,再次消耗 token。
|
|
156
|
+
- 不访问凭据、API Key、Token、Cookie 或账号信息。
|
|
157
|
+
- 不访问宿主机文件系统。
|
|
158
|
+
- **零插件存储**:没有 `localStorage`、没有备份文件、不导出数据。解释只通过会话命令日志流转,不写入本浏览器存储。
|
|
159
|
+
- 安装任何第三方 bundle 都会在 DSH 内执行其代码;安装前请阅读源码,需要固定版本时使用 `github:qifenglun1/dsh-prompttab#<sha>`。
|
|
160
|
+
|
|
161
|
+
## 开发
|
|
162
|
+
|
|
163
|
+
先阅读:
|
|
164
|
+
|
|
165
|
+
- `AGENTS.md`:Agent 与贡献者规则。
|
|
166
|
+
- `REVIEW.md`:审查分级与 PR 清单。
|
|
167
|
+
- `docs/architecture/plugin.md`:插槽、Host 命令与 UI 约定。
|
|
168
|
+
- `docs/development/verification.md`:安装/验证/发布步骤与限制。
|
|
169
|
+
- `docs/features/`:变更级 intent/spec/plan/test-report/review。
|
|
170
|
+
- `CHANGELOG.md`:发布历史。
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
npm run verify
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
`npm run verify` 运行语法检查、Node 测试、npm 打包清单检查与敏感路径/凭据扫描。
|
|
177
|
+
|
|
178
|
+
## 项目结构
|
|
179
|
+
|
|
180
|
+
| 文件 | 用途 |
|
|
181
|
+
| --- | --- |
|
|
182
|
+
| `package.json` | 包元数据、bundle 声明、客户端入口与 `dsh.client` 注入列表。 |
|
|
183
|
+
| `src/index.js` | Host 半部分:内部建议与解释命令。 |
|
|
184
|
+
| `src/client.js` | 浏览器半部分:输入框交互(Tab、Tab + /)、选中文本菜单、解释页、历史与 locale 字典。 |
|
|
185
|
+
| `src/suggestion-strategy.js` | 纯建议上下文、请求、清理与预算逻辑。 |
|
|
186
|
+
| `src/suggestion-prompts.js` | 版本化 TabAction 系统提示词与 active 解析。 |
|
|
187
|
+
| `cordis.patch.yml` | 插入 `prompttab` 行的 bundle patch。 |
|
|
188
|
+
| `locale/en.json`、`locale/zh.json` | 插件管理器标题与描述。 |
|
|
189
|
+
| `icon.svg` | PromptTab 应用图标(VI 1.0:黑底白标)。 |
|
|
190
|
+
| `assets/flow-loading.svg`、`assets/flow-static.svg` | 等待动画源与静态回退(同一 VI 几何)。 |
|
|
191
|
+
| `docs/brand/` | VI 1.0 母版:标志、应用与功能图标、令牌、原始规范。 |
|
|
192
|
+
| `docs/BRAND_GUIDELINES.md` | 品牌与视觉规范,新增 UI 必须遵循。 |
|
|
193
|
+
| `README.md`、`README.zh.md` | 文档。 |
|
|
194
|
+
| `LICENSE` | MIT 许可证。 |
|
|
195
|
+
| `docs/USAGE.md`、`docs/USAGE.zh.md` | 随包提供的快速指南。 |
|
|
196
|
+
| `docs/architecture/plugin.md` | 深入架构、插槽与 DSH 规则。 |
|
|
197
|
+
| `docs/development/verification.md` | 安装/验证/发布清单与限制。 |
|
|
198
|
+
| `docs/features/` | 变更文档目录。 |
|
|
199
|
+
| `evals/` | 未来的 Agent 回归用例;当前没有可执行 runner。 |
|
|
200
|
+
| `scripts/` | `check-package.mjs`、`check-policy.mjs` 与 `scripts/tests/`。 |
|
|
201
|
+
| `.github/` | CI 工作流与 PR 模板。 |
|
|
202
|
+
|
|
203
|
+
## 排错
|
|
204
|
+
|
|
205
|
+
- **按 Tab 没有反应**:焦点必须在输入框文本编辑区内;工具栏、对话框和其它输入框保持原生 Tab。
|
|
206
|
+
- **Tab + / 没有打开**:按 `/` 时必须仍按住 Tab;Shift/Ctrl/Alt/Meta 组合与 IME 组合保持原生行为。
|
|
207
|
+
- **安装失败**:确认仓库根目录的 `package.json` 包含 `dsh.bundle.patch`,并确认 DSH 版本满足 `engines.dsh`。
|
|
208
|
+
- **旧的提示词库数据**:5.0 不再读取。需要时安装 4.1.x 导出;在清除站点数据前,数据仍保留在浏览器中。
|
|
209
|
+
|
|
210
|
+
## 许可证
|
|
211
|
+
|
|
212
|
+
MIT,见 [LICENSE](LICENSE)。Copyright (c) 2026 qifenglun1。
|
|
213
|
+
|
|
214
|
+
插件图标为本项目原创。
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" width="90" height="90" role="img" aria-label="PromptTab 正在处理">
|
|
2
|
+
<style>
|
|
3
|
+
.pf-arrow { animation: pf-flow 1600ms cubic-bezier(.4,0,.2,1) infinite; }
|
|
4
|
+
.pf-cursor { animation: pf-cursor 1600ms ease-in-out infinite; }
|
|
5
|
+
@keyframes pf-flow {
|
|
6
|
+
0%, 100% { transform: translateX(-8px); opacity: 0; }
|
|
7
|
+
20% { opacity: 1; }
|
|
8
|
+
65% { transform: translateX(2px); opacity: 1; }
|
|
9
|
+
85% { transform: translateX(3px); opacity: 0; }
|
|
10
|
+
}
|
|
11
|
+
@keyframes pf-cursor { 0%, 100% { opacity: .55; } 65%, 80% { opacity: 1; } }
|
|
12
|
+
@media (prefers-reduced-motion: reduce) { .pf-arrow, .pf-cursor { animation: none; } }
|
|
13
|
+
</style>
|
|
14
|
+
<rect width="90" height="90" rx="20" fill="#111113"/>
|
|
15
|
+
<g transform="translate(12 12)" fill="none" stroke="#FFFFFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round">
|
|
16
|
+
<rect x="0" y="0" width="66" height="66" rx="15"/>
|
|
17
|
+
<path class="pf-arrow" d="M14 33 H46 M33 20 L46 33 L33 46"/>
|
|
18
|
+
<path class="pf-cursor" d="M52 20 V46"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" width="90" height="90"><rect width="90" height="90" rx="20" fill="#111113"/><g transform="translate(12 12)" fill="none" stroke="#FFFFFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><rect x="0" y="0" width="66" height="66" rx="15"/><path d="M14 33 H46 M33 20 L46 33 L33 46 M52 20 V46"/></g></svg>
|
package/cordis.patch.yml
ADDED
package/docs/USAGE.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# PromptTab
|
|
2
|
+
|
|
3
|
+
> Think it. Tab it.
|
|
4
|
+
>
|
|
5
|
+
> The Intelligent Interaction Layer for AI.
|
|
6
|
+
|
|
7
|
+
PromptTab is an intelligent interaction layer for DeepSeek Harness. It stays out of the way until you ask for it: there is no sidebar entry, no panel, no settings page, and no stored data.
|
|
8
|
+
|
|
9
|
+
## Shortcut quick reference
|
|
10
|
+
|
|
11
|
+
| Action | Keys |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| Suggest / optimize / enhance in the composer | `Tab` (text editor focused) |
|
|
14
|
+
| Continue at the end / complete at the caret / expand a selection | `Tab` + `→` |
|
|
15
|
+
| Full prompt / selection polish | `Tab` + `←` |
|
|
16
|
+
| Open the read-only Tab action list | `Tab` + `/` |
|
|
17
|
+
| Accept the preview | `Space` (while Tab is held) |
|
|
18
|
+
| Cancel the current suggestion | `Esc` |
|
|
19
|
+
| Leave the composer text editor | `Shift+Tab` |
|
|
20
|
+
| Browse older prompt history | `↑` (caret at the start of the composer) |
|
|
21
|
+
| Browse newer prompt history | `↓` |
|
|
22
|
+
| Explain selected text | Right-click the selection |
|
|
23
|
+
|
|
24
|
+
These bindings live inside the composer text editor. Toolbar controls, dialogs, menus, and other fields keep native behavior.
|
|
25
|
+
|
|
26
|
+
## Tab suggestions
|
|
27
|
+
|
|
28
|
+
- Hold **Tab** in the composer text editor: an empty composer gets a next-step suggestion; existing text gets an optimization preview.
|
|
29
|
+
- With existing text, no selection, and a collapsed caret, hold **Tab + →**: at the end it appends a continuation; in the middle it inserts a cursor completion and shows the before text, the suggestion, and the after text.
|
|
30
|
+
- With existing text and no selection, hold **Tab + ←**: polish the full composer text.
|
|
31
|
+
- With a selection, hold **Tab** for selection enhancement, **Tab + →** for expansion, or **Tab + ←** for polish. The suggestion replaces the selection and leaves text outside it unchanged.
|
|
32
|
+
- Keep holding Tab and press **Space** to use the preview. Releasing Tab never sends automatically; the preview stays for about 1.5 seconds after release. `Esc` cancels.
|
|
33
|
+
- **Press Space to confirm** is the preview's primary action. **Regenerate** is a secondary text entry that keeps the preview open, is hidden while loading, and validates the text, selection, and caret before requesting.
|
|
34
|
+
- Suggestions in an empty conversation (no messages yet) default to Simplified Chinese; suggestions with conversation history follow the current context.
|
|
35
|
+
- A failed stream is retried once; a repeated failure shows a short status and a cooldown.
|
|
36
|
+
- Forward Tab stays in the editor. When no suggestion is available, a short notice explains why.
|
|
37
|
+
- **Shift+Tab** always leaves the editor. Everything outside the editor keeps native Tab.
|
|
38
|
+
- `/` and `@` menus and IME composition keep their own key handling.
|
|
39
|
+
|
|
40
|
+
## Tab + / reference list
|
|
41
|
+
|
|
42
|
+
- While Tab is held, press `/` to open a non-modal, read-only list of all eight Tab actions plus Space, Esc, Shift+Tab, and Tab + /.
|
|
43
|
+
- Search by action name, key, scenario, or description; browse with `↑`/`↓`; the count, a "reference only" note, and the running plugin version are shown at the bottom.
|
|
44
|
+
- The list never executes, inserts, or sends anything, and clicking a row only moves the highlight.
|
|
45
|
+
- `Esc` or the close button closes it and returns to the composer; clicking outside closes it without stealing focus.
|
|
46
|
+
- Opening the list cancels the current Tab preview or in-flight request.
|
|
47
|
+
|
|
48
|
+
## Explain selected text
|
|
49
|
+
|
|
50
|
+
- Select text in the conversation, right-click it, and choose **Explain**.
|
|
51
|
+
- A lightweight page explains the term or sentence in context, using the current Session model and a short excerpt from the matching assistant reply.
|
|
52
|
+
- It does not change the conversation, insert a message, or alter the composer; the selection is limited to 1,000 characters, and the explanation is a reference, not a verified fact.
|
|
53
|
+
- The selected text is not recorded in the command log; the explanation text is written to the internal command result and its command row is hidden.
|
|
54
|
+
|
|
55
|
+
## Composer history
|
|
56
|
+
|
|
57
|
+
- With the caret at the start of the composer, `↑` recalls earlier prompts from this Session; `↓` moves toward newer ones.
|
|
58
|
+
- Continuing past the newest item restores the unsent composer text.
|
|
59
|
+
- Typing any content leaves history browsing.
|
|
60
|
+
|
|
61
|
+
## Privacy
|
|
62
|
+
|
|
63
|
+
- No analytics, telemetry, or plugin-owned network requests.
|
|
64
|
+
- Inline suggestions, explanations, and the waiting animation use the current Session model; the needed context is sent to that model and consumes tokens. A failed stream may retry once.
|
|
65
|
+
- No credential, API key, token, cookie, account, or host filesystem access.
|
|
66
|
+
- No plugin storage: no `localStorage`, no backup file, no exported data.
|
|
67
|
+
|
|
68
|
+
## Upgrading from 4.x
|
|
69
|
+
|
|
70
|
+
5.0 removes Prompt Library. The old prompt-library data in this browser is not deleted, but 5.0 does not read it and provides no export. To keep it, install 4.1.x and export a backup before upgrading. Scene System Prompts are removed with the library; Tab suggestions rely only on the current conversation.
|
|
71
|
+
|
|
72
|
+
## Troubleshooting
|
|
73
|
+
|
|
74
|
+
- **Tab does nothing** — focus must be inside the composer text editor.
|
|
75
|
+
- **Tab + / does not open** — keep Tab held while pressing `/`; modifier combinations and IME composition are ignored.
|
|
76
|
+
- **Nothing is inserted** — a suggestion is only applied with Space; releasing Tab never sends.
|
|
77
|
+
- **The preview does not update** — regenerate from the preview button, or change the composer text and hold Tab again.
|
package/docs/USAGE.zh.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# PromptTab
|
|
2
|
+
|
|
3
|
+
> 所思,一键成形。
|
|
4
|
+
>
|
|
5
|
+
> AI 的智能交互层。
|
|
6
|
+
|
|
7
|
+
PromptTab 是 DeepSeek Harness 的智能交互层。它平时不出现:没有侧边栏入口、没有面板、没有设置页,也不保存数据。
|
|
8
|
+
|
|
9
|
+
## 快捷键速查
|
|
10
|
+
|
|
11
|
+
| 操作 | 键位 |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| 在输入框内生成/优化/增强建议 | `Tab`(需在文本编辑区) |
|
|
14
|
+
| 光标在末尾时续写 / 在中间时补全 / 选区扩写 | `Tab` + `→` |
|
|
15
|
+
| 全文润色 / 选区润色 | `Tab` + `←` |
|
|
16
|
+
| 打开只读的 Tab 操作列表 | `Tab` + `/` |
|
|
17
|
+
| 采用当前预览 | `Space`(按住 Tab 时) |
|
|
18
|
+
| 取消当前建议 | `Esc` |
|
|
19
|
+
| 离开输入框文本编辑区 | `Shift+Tab` |
|
|
20
|
+
| 浏览更早的历史提示词 | `↑`(光标在输入框开头) |
|
|
21
|
+
| 浏览更新的历史提示词 | `↓` |
|
|
22
|
+
| 解释选中内容 | 右键选中文本 |
|
|
23
|
+
|
|
24
|
+
以上键位只在输入框文本编辑区内生效;工具栏、对话框、菜单和其它输入框保持原生行为。
|
|
25
|
+
|
|
26
|
+
## Tab 建议
|
|
27
|
+
|
|
28
|
+
- 在输入框文本编辑区内按住 **Tab**:空输入框生成下一步建议,已有文字生成提示词优化预览。
|
|
29
|
+
- 输入框已有内容、无选区且光标折叠时,按住 **Tab + →**:光标在末尾追加续写;光标在中间在光标处补全,并展示前文、建议和后文。
|
|
30
|
+
- 输入框已有内容且无选区时,按住 **Tab + ←**:对完整输入内容做全文润色。
|
|
31
|
+
- 选中部分文字后按住 **Tab** 进入选区增强,**Tab + →** 为选区扩写,**Tab + ←** 为选区润色。建议会替换选区,选区外内容保持不变。
|
|
32
|
+
- 继续按住 Tab 按 **空格** 采用预览;松开 Tab 不会自动发送,预览保留约 1.5 秒;`Esc` 取消。
|
|
33
|
+
- 预览区以 **按空格确认** 为主提示;**重新生成** 是次要文字入口,不会关闭预览,加载中隐藏,重新生成前会校验全文、选区和光标位置。
|
|
34
|
+
- 空对话(还没有任何消息)中生成的建议默认使用简体中文;已有对话时按当前上下文生成。
|
|
35
|
+
- 流式失败会自动重试一次;仍失败时显示状态并短暂冷却。
|
|
36
|
+
- 普通 Tab 会保留在编辑区内;建议不可用时显示短暂说明。
|
|
37
|
+
- **Shift+Tab** 始终可以离开编辑区;编辑区外保持原生 Tab。
|
|
38
|
+
- `/`、`@` 菜单和 IME 组合保持自己的按键处理。
|
|
39
|
+
|
|
40
|
+
## Tab + / 参考列表
|
|
41
|
+
|
|
42
|
+
- 按住 Tab 时按 `/`,打开非模态、只读的列表,覆盖 8 个 Tab 操作与 Space、Esc、Shift+Tab、Tab + /。
|
|
43
|
+
- 可按操作名称、键位、适用场景或说明搜索;`↑`/`↓` 浏览;底部显示过滤计数、“仅供查看”说明和当前插件版本。
|
|
44
|
+
- 列表不会执行、插入或发送任何内容;点击条目只移动高亮。
|
|
45
|
+
- 按 `Esc` 或关闭按钮关闭并回到输入框;点击外部关闭且不抢占焦点。
|
|
46
|
+
- 打开列表会取消当前 Tab 预览或在途请求。
|
|
47
|
+
|
|
48
|
+
## 解释选中内容
|
|
49
|
+
|
|
50
|
+
- 在对话中选中文本,右键选择 **解释**。
|
|
51
|
+
- 轻量解释页使用当前会话模型和一小段匹配的助手回复,解释该名词或句子在当前语境中的含义。
|
|
52
|
+
- 不修改对话、不插入消息、不改变输入框;所选内容最多 1,000 个字符;解释仅供参考。
|
|
53
|
+
- 所选文本不写入命令日志;解释文本写入内部命令结果,命令行本身被隐藏。
|
|
54
|
+
|
|
55
|
+
## 输入历史
|
|
56
|
+
|
|
57
|
+
- 光标位于输入框开头时,`↑` 回顾当前会话更早的提示词,`↓` 向更新方向切换。
|
|
58
|
+
- 越过最新一条后,恢复未发送的输入内容。
|
|
59
|
+
- 输入任意内容会退出历史浏览。
|
|
60
|
+
|
|
61
|
+
## 隐私
|
|
62
|
+
|
|
63
|
+
- 没有分析、遥测或插件自建网络请求。
|
|
64
|
+
- 行内建议、解释与等待动画使用当前会话模型;所需上下文会发送给该模型并消耗 token,流式失败可能重试一次。
|
|
65
|
+
- 不访问凭据、API Key、Token、Cookie、账号或宿主机文件系统。
|
|
66
|
+
- 零插件存储:没有 `localStorage`、没有备份文件、不导出数据。
|
|
67
|
+
|
|
68
|
+
## 从 4.x 升级
|
|
69
|
+
|
|
70
|
+
5.0 移除了 Prompt Library。浏览器中旧的提示词库数据不会被删除,但 5.0 不再读取,也不提供导出。如需保留,请在升级前安装 4.1.x 导出备份。场景 System Prompt 随提示词库一并移除;Tab 建议只依赖当前对话。
|
|
71
|
+
|
|
72
|
+
## 排错
|
|
73
|
+
|
|
74
|
+
- **按 Tab 没有反应**:焦点必须在输入框文本编辑区内。
|
|
75
|
+
- **Tab + / 没有打开**:按 `/` 时需继续按住 Tab;修饰键组合与 IME 组合会被忽略。
|
|
76
|
+
- **没有插入内容**:建议只在按空格时应用;松开 Tab 不会发送。
|
|
77
|
+
- **预览没有更新**:使用预览区的“重新生成”,或修改输入内容后重新按住 Tab。
|
package/icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90" width="90" height="90"><rect width="90" height="90" rx="20" fill="#111113"/><g transform="translate(12 12)" fill="none" stroke="#FFFFFF" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><rect x="0" y="0" width="66" height="66" rx="15"/><path d="M14 33 H46 M33 20 L46 33 L33 46 M52 20 V46"/></g></svg>
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "PromptTab",
|
|
4
|
+
"description": "PromptTab — Think it. Tab it. The Intelligent Interaction Layer for AI. Hold Tab in the composer for an in-place Tab suggestion, Tab + / opens a read-only reference list of every Tab action, and selected text can be explained on demand. No persistent panels, no plugin storage, no background requests.",
|
|
5
|
+
"detail": "docs/USAGE.md"
|
|
6
|
+
}
|
|
7
|
+
}
|