dsh-reference-anything 0.4.2 โ 0.4.4
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 +21 -11
- package/images/logo-icon.png +0 -0
- package/images/logo-mono.png +0 -0
- package/lib/client.js +4185 -1244
- package/lib/contract.d.ts +18 -1
- package/lib/contract.js +12 -1
- package/lib/host.d.ts +57 -2
- package/lib/host.js +8 -2
- package/lib/index.js +0 -2
- package/lib/local-plugins.d.ts +6 -0
- package/lib/local-plugins.js +119 -0
- package/lib/opencli.d.ts +3 -0
- package/lib/opencli.js +61 -8
- package/lib/reference.js +1 -2
- package/lib/sources/web-chat/index.d.ts +1 -0
- package/lib/sources/web-chat/index.js +21 -1
- package/lib/store/spec.d.ts +64 -0
- package/lib/typert.js +1 -0
- package/lib/types.d.ts +5 -1
- package/lib/web.js +6 -5
- package/lib/wire.d.ts +141 -0
- package/lib/wire.js +27 -11
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/opencli-plugin/common.js +22 -6
- package/package.json +71 -51
package/README.md
CHANGED
|
@@ -75,15 +75,15 @@ Type `@`, search across enabled sources, and insert the selected reference into
|
|
|
75
75
|
|
|
76
76
|
## ๐ฐ News
|
|
77
77
|
|
|
78
|
-
- **2026-
|
|
78
|
+
- **2026-10-12 ยท v0.4.4** โ Added local plugin discovery to the `@` menu, configurable source and provider shortcuts, improved picker icons and folder insertion, and added the `model` command entry.
|
|
79
|
+
|
|
80
|
+
- **2026-10-06 ยท v0.4.3** โ Reference Anything now supports DSH Desktop! Enjoy a refreshed and optimized settings page!
|
|
79
81
|
|
|
80
|
-
- **2026-09-
|
|
82
|
+
- **2026-09-28 ยท v0.4.2 โ Important update** โ Fixed a fatal plugin compatibility error with the current DSH interface. During plugin loading, DSH now requires every strict `agentSearch` registration codec to provide a `create()` validator factory; v0.4.1 supplied only validation rules, so DSH rejected the plugin before search could run. This release adds the required factory and fixes command icon sizing plus bilingual command labels in the native picker.
|
|
81
83
|
|
|
82
|
-
- **2026-09-
|
|
84
|
+
- **2026-09-25 ยท v0.4.1** โ We're back!!๐๐ Improved local-agent session titles by reading Codex's own `session_index.jsonl` and added Pi/Codex title support. Restored the native DSH handling for `@` menu group headings to avoid translucent overlap and unnecessary custom blur rendering; bounded index reads to 16 MiB for predictable resource use.
|
|
83
85
|
|
|
84
|
-
- **2026-
|
|
85
|
-
- **2026-08-25 ยท v0.3.2** โ Added local-agent conversation references, with detected session counts and custom-folder support. Web AI sync can be age-limited; cloud drives now support folder browsing and quick download-folder access. Settings include update notes, and local-agent tool details stay concise unless expanded.
|
|
86
|
-
- **2026-08-20 ยท v0.3.0** โ Completed the native DSH `@` integration: five independently configurable sources, official file/session Remotes, native Composer references with source logos, in-place expand/collapse and sync actions, and a one-click switch between Reference Anything and the official DSH `@` list. The legacy `dsh-file:` protocol and custom Composer interaction layer were removed.
|
|
86
|
+
- **2026-09-03 ยท v0.4.0** โ **Compatibility: DSH `>=0.2.0-rc.2`.** Migrated Skills discovery to the DSH RC1 Skills Remote, restored historical reference grants through the RC1 Session snapshot API, and verified the plugin against DSH `0.2.0-rc.2`.
|
|
87
87
|
|
|
88
88
|
## ๐งญ Roadmap
|
|
89
89
|
|
|
@@ -95,6 +95,10 @@ Type `@`, search across enabled sources, and insert the selected reference into
|
|
|
95
95
|
- [ ] Support more AI conversation platforms
|
|
96
96
|
- [ ] Provide a quieter AI conversation synchronization mechanism
|
|
97
97
|
- [ ] Support referencing applications or browser windows currently open on the computer
|
|
98
|
+
- [ ] Add cross-source full-text and semantic search with hit snippets and unified ranking (P0)
|
|
99
|
+
- [ ] Reduce setup cost for cross-platform sources with auto-detection, reconnect, account isolation, and sync status (P1)
|
|
100
|
+
- [ ] Support optionally continuing a referenced local-agent task with goals, key files, and unfinished work (P2)
|
|
101
|
+
- [ ] Add provenance, time and scope visibility, sensitive-content filtering, and local-cache cleanup controls (P2)
|
|
98
102
|
- [ ] More ideas are welcome in Issues
|
|
99
103
|
|
|
100
104
|
## ๐ฆ Installation
|
|
@@ -110,7 +114,7 @@ Install the stable `0.3.x` line for the current stable DSH SDK:
|
|
|
110
114
|
dsh plugin --profile web add dsh-reference-anything@latest
|
|
111
115
|
```
|
|
112
116
|
|
|
113
|
-
Install `v0.4.
|
|
117
|
+
Install `v0.4.4` on DSH `>=0.2.0-rc.2`:
|
|
114
118
|
|
|
115
119
|
```powershell
|
|
116
120
|
dsh plugin --profile web add dsh-reference-anything@alpha
|
|
@@ -127,7 +131,7 @@ npm run check
|
|
|
127
131
|
dsh plugin --profile web add .
|
|
128
132
|
```
|
|
129
133
|
|
|
130
|
-
To install the alpha source locally with DSH `v0.
|
|
134
|
+
To install the alpha source locally with DSH `v0.2.0-rc.2` or newer:
|
|
131
135
|
|
|
132
136
|
```powershell
|
|
133
137
|
git switch alpha
|
|
@@ -153,12 +157,12 @@ Replace `C:/path/to/dsh-reference-anything` with the repository location. Browse
|
|
|
153
157
|
|
|
154
158
|
## ๐ Usage
|
|
155
159
|
|
|
156
|
-
Reference Anything registers
|
|
160
|
+
Reference Anything registers eight sources in the native DSH `@` menu rather than introducing a separate search interface. Settings let you choose which groups appear, their order, their collapsed row count, their hard candidate cap, and whether groups use plugin-owned collapse actions or the native scrolling list. A separate one-click control switches the visible picker back to DSH's official file/session list without stopping the plugin, synchronization service, local data, or model-facing tools; the same control restores the Reference Anything picker at any time.
|
|
157
161
|
|
|
158
162
|
1. Open `Settings โ Reference Anything` in DSH Web.
|
|
159
163
|
2. Under **Availability check**, confirm that OpenCLI, Browser Bridge, the browser extension, and the conversation adapter are ready.
|
|
160
164
|
3. Under **Web AI conversation sync settings**, choose a browser profile, storage mode, sync mode, and history range, then start syncing.
|
|
161
|
-
4. Type `@` in the input box and choose from the `Commands`, `Skills`, `Files and folders`, `DSH sessions`, `Local agent conversations`, `External conversations`,
|
|
165
|
+
4. Type `@` in the input box and choose from the `Commands`, `Skills`, `Files and folders`, `DSH sessions`, `Local agent conversations`, `External conversations`, `Cloud drive files`, or `All local plugins` groups.
|
|
162
166
|
5. Type a keyword to filter candidates, for example `@cache-design`.
|
|
163
167
|
|
|
164
168
|
The default **Read bodies on demand** mode stores only the title index locally and uses the browser when an agent needs the conversation. Choose **Store full bodies locally** for offline reading and full-text search. The plugin checks for new versions when it loads; release notes are available in Settings, and installed updates take effect after restarting DSH.
|
|
@@ -168,7 +172,7 @@ The default **Read bodies on demand** mode stores only the title index locally a
|
|
|
168
172
|
|
|
169
173
|
### ๐งฉ One `@` menu, multiple sources
|
|
170
174
|
|
|
171
|
-
The `@` menu contains
|
|
175
|
+
The `@` menu contains eight groups: `Commands`, `Skills`, `Files and folders`, `DSH sessions`, `Local agent conversations`, `External conversations`, `Cloud drive files`, and `All local plugins`. The cloud-drive group browses folders and supported files from drives connected through OpenList; access is read-only, and connections are managed in Settings. Each group shows six rows before its expand action by default and accepts a separate hard candidate cap from 1 to 50. In collapse mode, each expand action reveals five more rows and updates the mounted menu without jumping back to the top; collapse restores the configured compact count. The external-conversation group keeps its sync action first and updates that row and the visible results in place while synchronization runs and completes. Under `Settings โ Reference Anything โ General`, you can enable or disable groups, reorder them, assign an optional custom shortcut (for example `f` for Files, then use `@f:notes`), and choose **Collapse / expand** or **Native DSH scrolling**.
|
|
172
176
|
|
|
173
177
|
#### โจ๏ธ @Commands โ DSH native commands
|
|
174
178
|
|
|
@@ -217,6 +221,12 @@ Type `@agents:` to search and reference conversations saved by other local agent
|
|
|
217
221
|
- Reads conversation content on demand; tool names are concise by default, with full details available when needed
|
|
218
222
|
- Supports agent-specific prefixes such as `@codex:`, `@claude-code:`, and `@gemini-cli:`
|
|
219
223
|
|
|
224
|
+
#### ๐งฉ @Local plugins โ installed and configured plugins
|
|
225
|
+
|
|
226
|
+
Use `@plugin:`, `@plugins:`, `@ๆไปถ:`, or `@ๆฌๅฐๆไปถ:` to find plugins. Under **Settings โ Reference Anything โ General**, the **All local plugins** switch enables or disables this group immediately; the choice is saved. It is enabled by default, with six collapsed rows and a candidate cap of 50.
|
|
227
|
+
|
|
228
|
+
The list uses the active DSH loader's composed entries and lifecycle state, supplemented by declared profile bundles and installed packages with DSH bundle/client metadata. Ordinary dependencies are excluded. Running, disabled, and not-running states describe host entries; packages without a host entry are shown as not running. Selecting a plugin inserts its name and, when available, a native reference to its real local directory. File access still uses DSH's existing tools and permissions.
|
|
229
|
+
|
|
220
230
|
#### ๐ @External conversations โ external conversation platforms
|
|
221
231
|
|
|
222
232
|
Supports historical conversations from ChatGPT, Claude, Gemini, DeepSeek, Grok, and Kimi.
|
|
Binary file
|
|
Binary file
|