dsh-reference-anything 0.2.0 → 0.2.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/README.md +23 -18
- package/lib/client.js +124 -2
- package/lib/contract.d.ts +11 -0
- package/lib/contract.js +10 -0
- package/lib/host.d.ts +3 -0
- package/lib/host.js +3 -0
- package/lib/opencli.d.ts +1 -1
- package/lib/opencli.js +40 -14
- package/lib/sources/web-chat/index.d.ts +5 -0
- package/lib/sources/web-chat/index.js +16 -0
- package/lib/typert.js +3 -0
- package/lib/update.d.ts +43 -0
- package/lib/update.js +203 -0
- package/opencli-plugin/common.js +31 -43
- package/opencli-plugin/opencli-plugin.json +1 -1
- package/opencli-plugin/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ One `@` to reference them all.
|
|
|
24
24
|
|
|
25
25
|
Within the unified `@` menu of DeepSeek Harness (DSH), reference commands, Skills, workspace files/folders, DSH sessions, and historical conversations from ChatGPT, Claude, Gemini, DeepSeek, Grok, and Kimi.
|
|
26
26
|
|
|
27
|
-
This plugin
|
|
27
|
+
This plugin uses OpenCLI to access historical conversations through AI chat sessions that are already logged in. Only conversation titles are stored locally; when the full content is needed, the agent fetches it from the remote platform on demand.
|
|
28
28
|
|
|
29
29
|
## News
|
|
30
30
|
|
|
@@ -35,24 +35,12 @@ This plugin reuses already-logged-in AI conversation windows via OpenCLI and onl
|
|
|
35
35
|
## Roadmap
|
|
36
36
|
|
|
37
37
|
- [ ] Support referencing historical conversations from other local agents
|
|
38
|
-
- [ ] Support more
|
|
38
|
+
- [ ] Support more keyword matching rules, including blacklists and whitelists, especially for file search
|
|
39
|
+
- [ ] Support more AI conversation platforms
|
|
40
|
+
- [ ] Provide a quieter AI conversation synchronization mechanism
|
|
39
41
|
- [ ] Support referencing applications or browser windows currently open on the computer
|
|
40
42
|
- [ ] More ideas are welcome in Issues
|
|
41
43
|
|
|
42
|
-
## Architecture
|
|
43
|
-
|
|
44
|
-
```text
|
|
45
|
-
DSH Web @Conversations
|
|
46
|
-
↕ Host Remote
|
|
47
|
-
DSH Host + reference_anything local mirror
|
|
48
|
-
↕ execFile(opencli, argv)
|
|
49
|
-
opencli-plugin-dsh-chat-history
|
|
50
|
-
↕ OpenCLI daemon + official Browser Bridge
|
|
51
|
-
ChatGPT / Claude / Gemini / DeepSeek / Grok / Kimi
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
This does not include the legacy standalone DeepSeek CDP / `--remote-debugging-port` collector. All six platforms use the OpenCLI Provider adapter path, avoiding duplicate browser-reading implementations.
|
|
55
|
-
|
|
56
44
|
## Installation
|
|
57
45
|
|
|
58
46
|
Prerequisites:
|
|
@@ -90,6 +78,9 @@ Browser extensions cannot be silently installed from a webpage; confirm the inst
|
|
|
90
78
|
4. Type `@` in the input box and choose from the `Files and folders`, `DSH sessions`, or `External conversations` groups.
|
|
91
79
|
5. Type a keyword to filter candidates, for example `@cache-design`.
|
|
92
80
|
|
|
81
|
+
> [!WARNING]
|
|
82
|
+
> To protect your account and conversation data, external conversations are imported and synchronized through OpenCLI using your existing logged-in browser session. A browser window may temporarily open during use or synchronization, and it may display OpenCLI debugging information. This is expected—please do not be alarmed or close the window manually; wait for the operation to finish.
|
|
83
|
+
|
|
93
84
|
### Search
|
|
94
85
|
|
|
95
86
|
The `@` menu contains five groups: `Commands`, `Skills`, `Files and folders`, `DSH sessions`, and `External conversations`. The first two appear only when `@` is at the beginning of the draft. Each group shows up to five results when the query is empty, and up to eight after a query is entered.
|
|
@@ -151,7 +142,21 @@ Opening the source URL happens only in the UI; the URL is never injected into mo
|
|
|
151
142
|
- Without a type prefix, all groups are searched at once.
|
|
152
143
|
- For full browsing across groups: sessions are listed on the settings page, while commands and skills use the native `/` panel.
|
|
153
144
|
|
|
154
|
-
##
|
|
145
|
+
## How External Conversation References Work
|
|
146
|
+
|
|
147
|
+
```text
|
|
148
|
+
DSH Web @Conversations
|
|
149
|
+
↕ Host Remote
|
|
150
|
+
DSH Host + reference_anything local mirror
|
|
151
|
+
↕ execFile(opencli, argv)
|
|
152
|
+
opencli-plugin-dsh-chat-history
|
|
153
|
+
↕ OpenCLI daemon + official Browser Bridge
|
|
154
|
+
ChatGPT / Claude / Gemini / DeepSeek / Grok / Kimi
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
This does not include the legacy standalone DeepSeek CDP / `--remote-debugging-port` collector. All six platforms use the OpenCLI Provider adapter path, avoiding duplicate browser-reading implementations.
|
|
158
|
+
|
|
159
|
+
### Model-facing Protocol
|
|
155
160
|
|
|
156
161
|
A reference produces an untrusted-data envelope alongside the current user request. The initial envelope contains only pointers and never the conversation body:
|
|
157
162
|
|
|
@@ -187,7 +192,7 @@ A reference produces an untrusted-data envelope alongside the current user reque
|
|
|
187
192
|
- Sync stores attachment metadata and same-origin locators, not temporary signed URLs. Attachments are classified as `image` or `file`; empty URLs and site-root paths are not marked as available.
|
|
188
193
|
- Unreadable attachments add a model-facing notice such as `[User attached 1 image; image contents were not included]` without altering the original conversation text.
|
|
189
194
|
|
|
190
|
-
|
|
195
|
+
### Sync and Storage
|
|
191
196
|
|
|
192
197
|
The `reference_anything` storage domain contains:
|
|
193
198
|
|