dsh-reference-anything 0.3.1 → 0.3.2
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 +22 -22
- package/NOTICE.md +52 -25
- package/README.md +334 -285
- package/cordis.patch.yml +89 -18
- package/lib/client.js +13530 -517
- package/lib/contract.d.ts +155 -3
- package/lib/contract.js +68 -4
- package/lib/download-directory.d.ts +18 -0
- package/lib/download-directory.js +55 -0
- package/lib/errors.d.ts +4 -0
- package/lib/host.d.ts +96 -3
- package/lib/host.js +88 -5
- package/lib/index.d.ts +22 -2
- package/lib/index.js +57 -7
- package/lib/opencli.d.ts +5 -3
- package/lib/opencli.js +13 -6
- package/lib/openlist/host.d.ts +157 -0
- package/lib/openlist/host.js +873 -0
- package/lib/openlist/index.d.ts +84 -0
- package/lib/openlist/index.js +507 -0
- package/lib/render.d.ts +12 -7
- package/lib/render.js +27 -21
- package/lib/sources/cloud-drive/cache.d.ts +60 -0
- package/lib/sources/cloud-drive/cache.js +107 -0
- package/lib/sources/cloud-drive/index.d.ts +190 -0
- package/lib/sources/cloud-drive/index.js +526 -0
- package/lib/sources/cloud-drive/providers/http.d.ts +27 -0
- package/lib/sources/cloud-drive/providers/http.js +73 -0
- package/lib/sources/cloud-drive/providers/openlist.d.ts +59 -0
- package/lib/sources/cloud-drive/providers/openlist.js +535 -0
- package/lib/sources/cloud-drive/registry.d.ts +53 -0
- package/lib/sources/cloud-drive/registry.js +101 -0
- package/lib/sources/cloud-drive/types.d.ts +169 -0
- package/lib/sources/cloud-drive/types.js +17 -0
- package/lib/sources/file.d.ts +2 -0
- package/lib/sources/file.js +2 -0
- package/lib/sources/local-agent/adapters/claude-code.d.ts +16 -0
- package/lib/sources/local-agent/adapters/claude-code.js +171 -0
- package/lib/sources/local-agent/adapters/codex.d.ts +20 -0
- package/lib/sources/local-agent/adapters/codex.js +204 -0
- package/lib/sources/local-agent/adapters/cursor.d.ts +23 -0
- package/lib/sources/local-agent/adapters/cursor.js +121 -0
- package/lib/sources/local-agent/adapters/gemini-cli.d.ts +20 -0
- package/lib/sources/local-agent/adapters/gemini-cli.js +141 -0
- package/lib/sources/local-agent/adapters/grokbuild.d.ts +22 -0
- package/lib/sources/local-agent/adapters/grokbuild.js +76 -0
- package/lib/sources/local-agent/adapters/hermes.d.ts +19 -0
- package/lib/sources/local-agent/adapters/hermes.js +85 -0
- package/lib/sources/local-agent/adapters/kimi.d.ts +28 -0
- package/lib/sources/local-agent/adapters/kimi.js +261 -0
- package/lib/sources/local-agent/adapters/openclaw.d.ts +21 -0
- package/lib/sources/local-agent/adapters/openclaw.js +120 -0
- package/lib/sources/local-agent/adapters/opencode.d.ts +44 -0
- package/lib/sources/local-agent/adapters/opencode.js +236 -0
- package/lib/sources/local-agent/adapters/pi.d.ts +26 -0
- package/lib/sources/local-agent/adapters/pi.js +242 -0
- package/lib/sources/local-agent/adapters/qoder.d.ts +19 -0
- package/lib/sources/local-agent/adapters/qoder.js +93 -0
- package/lib/sources/local-agent/adapters/reasonix.d.ts +23 -0
- package/lib/sources/local-agent/adapters/reasonix.js +90 -0
- package/lib/sources/local-agent/adapters/shared.d.ts +163 -0
- package/lib/sources/local-agent/adapters/shared.js +415 -0
- package/lib/sources/local-agent/adapters/sqlite-shared.d.ts +92 -0
- package/lib/sources/local-agent/adapters/sqlite-shared.js +215 -0
- package/lib/sources/local-agent/adapters/zcode.d.ts +41 -0
- package/lib/sources/local-agent/adapters/zcode.js +159 -0
- package/lib/sources/local-agent/index.d.ts +222 -0
- package/lib/sources/local-agent/index.js +656 -0
- package/lib/sources/local-agent/page.d.ts +55 -0
- package/lib/sources/local-agent/page.js +83 -0
- package/lib/sources/local-agent/path.d.ts +8 -0
- package/lib/sources/local-agent/path.js +43 -0
- package/lib/sources/local-agent/registry.d.ts +68 -0
- package/lib/sources/local-agent/registry.js +116 -0
- package/lib/sources/local-agent/scan.d.ts +175 -0
- package/lib/sources/local-agent/scan.js +472 -0
- package/lib/sources/local-agent/sqlite.d.ts +45 -0
- package/lib/sources/local-agent/sqlite.js +113 -0
- package/lib/sources/local-agent/store.d.ts +93 -0
- package/lib/sources/local-agent/store.js +113 -0
- package/lib/sources/local-agent/types.d.ts +338 -0
- package/lib/sources/local-agent/types.js +20 -0
- package/lib/sources/web-chat/index.d.ts +5 -1
- package/lib/sources/web-chat/index.js +47 -8
- package/lib/store/spec.d.ts +50 -0
- package/lib/store/spec.js +2 -2
- package/lib/sync/index.d.ts +1 -0
- package/lib/sync/index.js +28 -8
- package/lib/tool.d.ts +5 -0
- package/lib/tool.js +418 -45
- package/lib/typert.js +13 -1
- package/lib/types.d.ts +28 -2
- package/lib/update.d.ts +6 -0
- package/lib/update.js +29 -1
- package/lib/web.js +5 -1
- package/lib/wire.d.ts +80 -0
- package/lib/wire.js +30 -1
- package/opencli-plugin/chatgpt.js +30 -27
- package/opencli-plugin/claude.js +12 -8
- package/opencli-plugin/common.js +266 -187
- package/opencli-plugin/deepseek.js +8 -5
- package/opencli-plugin/gemini.js +42 -38
- package/opencli-plugin/grok.js +22 -21
- package/opencli-plugin/kimi.js +34 -31
- package/opencli-plugin/opencli-plugin.json +6 -6
- package/opencli-plugin/package.json +8 -8
- package/package.json +200 -185
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Chael-Chael
|
|
4
|
-
Copyright (c) 2026 tuxyw123
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Chael-Chael
|
|
4
|
+
Copyright (c) 2026 tuxyw123
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/NOTICE.md
CHANGED
|
@@ -1,25 +1,52 @@
|
|
|
1
|
-
# Third-party notices
|
|
2
|
-
|
|
3
|
-
The OpenCLI provider adapters in `opencli-plugin/` are derived in part from
|
|
4
|
-
`pinguarmy/ai-chat-exporter` at commit
|
|
5
|
-
`9f0f9e21d818316d45c0a13c98d288a80bb8174e`.
|
|
6
|
-
|
|
7
|
-
AI Chat Exporter is Copyright (c) pinguarmy contributors and is licensed under
|
|
8
|
-
the MIT License. The adapted source paths are:
|
|
9
|
-
|
|
10
|
-
- `src/contents/chatgpt-parser.ts`
|
|
11
|
-
- `src/contents/claude-parser.ts`
|
|
12
|
-
- `src/contents/gemini-parser.ts`
|
|
13
|
-
- `src/contents/deepseek-parser.ts`
|
|
14
|
-
- `src/contents/grok-parser.ts`
|
|
15
|
-
- `src/lib/grok-api.ts`
|
|
16
|
-
|
|
17
|
-
OpenCLI is not redistributed by this package. It is an external runtime
|
|
18
|
-
dependency licensed under Apache-2.0.
|
|
19
|
-
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
The OpenCLI provider adapters in `opencli-plugin/` are derived in part from
|
|
4
|
+
`pinguarmy/ai-chat-exporter` at commit
|
|
5
|
+
`9f0f9e21d818316d45c0a13c98d288a80bb8174e`.
|
|
6
|
+
|
|
7
|
+
AI Chat Exporter is Copyright (c) pinguarmy contributors and is licensed under
|
|
8
|
+
the MIT License. The adapted source paths are:
|
|
9
|
+
|
|
10
|
+
- `src/contents/chatgpt-parser.ts`
|
|
11
|
+
- `src/contents/claude-parser.ts`
|
|
12
|
+
- `src/contents/gemini-parser.ts`
|
|
13
|
+
- `src/contents/deepseek-parser.ts`
|
|
14
|
+
- `src/contents/grok-parser.ts`
|
|
15
|
+
- `src/lib/grok-api.ts`
|
|
16
|
+
|
|
17
|
+
OpenCLI is not redistributed by this package. It is an external runtime
|
|
18
|
+
dependency licensed under Apache-2.0.
|
|
19
|
+
|
|
20
|
+
## Local agent transcript formats
|
|
21
|
+
|
|
22
|
+
The transcript formats read by `src/sources/local-agent/adapters/` were
|
|
23
|
+
determined from `Nwflower/dsh-chat-import` at commit
|
|
24
|
+
`0fb7d9c479dd7f56edc61c8c633b883abdae3dfd`, whose `lib/convert/*.mjs` converters
|
|
25
|
+
and default root layouts are the documentation of record for the twelve formats
|
|
26
|
+
this package could not validate against a local corpus.
|
|
27
|
+
|
|
28
|
+
dsh-chat-import is licensed under the MIT License. Nothing is copied from it:
|
|
29
|
+
that project imports transcripts into DSH's session store, while this one only
|
|
30
|
+
reads them in place, so the adapters here are separate implementations against
|
|
31
|
+
the same record shapes. The attribution is for the format knowledge, which is the
|
|
32
|
+
part that was genuinely reused.
|
|
33
|
+
|
|
34
|
+
Claude Code and Codex were additionally validated against real transcripts on the
|
|
35
|
+
developer's own machine and do not rest on that source.
|
|
36
|
+
|
|
37
|
+
## Cloud drives
|
|
38
|
+
|
|
39
|
+
The managed OpenList binary is pinned to v4.2.2 and is licensed under the
|
|
40
|
+
GNU Affero General Public License v3.0 (AGPL-3.0). Corresponding source is
|
|
41
|
+
available at https://github.com/OpenListTeam/OpenList/tree/v4.2.2.
|
|
42
|
+
|
|
43
|
+
The optional API Pages connection is the official hosted service and source at
|
|
44
|
+
https://github.com/OpenListTeam/OpenList-APIPages. API Pages is not copied or
|
|
45
|
+
redistributed by this package.
|
|
46
|
+
|
|
47
|
+
## DeepSeek Harness reference services
|
|
48
|
+
|
|
49
|
+
File candidate formatting and cross-session candidate types use the official
|
|
50
|
+
DeepSeek Harness packages `@deepseek-ai/dsh-file-reference` and
|
|
51
|
+
`@deepseek-ai/dsh-session-reference`. Those packages remain external package
|
|
52
|
+
dependencies and are used under the DeepSeek Harness project's MIT license.
|