dsh-reference-anything 0.5.1 → 0.5.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.
Files changed (73) hide show
  1. package/LICENSE +22 -22
  2. package/NOTICE.md +110 -110
  3. package/README.md +472 -459
  4. package/cordis.patch.yml +136 -136
  5. package/docs/release/0.4.4/README.md +75 -0
  6. package/{release-notes → docs/release}/0.4.4/features.json +36 -36
  7. package/docs/release/0.5.0/README.md +148 -0
  8. package/{release-notes → docs/release}/0.5.0/features.json +65 -65
  9. package/docs/release/0.5.1/README.md +33 -0
  10. package/docs/release/0.5.2/README.md +51 -0
  11. package/docs/release/0.5.2/features.json +29 -0
  12. package/{release-notes → docs/release}/README.md +42 -38
  13. package/images/agents/LICENSE +22 -22
  14. package/images/agents/README.md +7 -3
  15. package/images/agents/antigravity.svg +1 -1
  16. package/images/agents/cline.svg +1 -1
  17. package/images/agents/continue.svg +1 -1
  18. package/images/agents/copilot.svg +27 -0
  19. package/images/agents/crush.svg +1 -1
  20. package/images/agents/doubao.svg +1 -0
  21. package/images/agents/goose.svg +1 -1
  22. package/images/agents/omp.svg +1 -0
  23. package/images/agents/reasonix.svg +5 -5
  24. package/images/agents/teleagent.svg +1 -1
  25. package/images/agents/trae.svg +1 -1
  26. package/images/agents/vibe.svg +1 -1
  27. package/images/agents/workbuddy.svg +37 -37
  28. package/images/agents/zed.svg +1 -1
  29. package/lib/chat-import-compatibility.js +8 -5
  30. package/lib/client.js +36526 -4
  31. package/lib/contract.d.ts +4 -0
  32. package/lib/host.d.ts +2 -2
  33. package/lib/local-conversation-reader.js +16 -11
  34. package/lib/render.js +21 -21
  35. package/lib/store/spec.d.ts +9 -1
  36. package/lib/tool.js +3 -2
  37. package/lib/wire.d.ts +13 -1
  38. package/lib/wire.js +5 -4
  39. package/locale/en.json +6 -6
  40. package/locale/zh.json +6 -6
  41. package/opencli-plugin/chatgpt.js +128 -128
  42. package/opencli-plugin/claude.js +138 -138
  43. package/opencli-plugin/common.js +452 -452
  44. package/opencli-plugin/deepseek.js +155 -155
  45. package/opencli-plugin/gemini.js +169 -169
  46. package/opencli-plugin/grok.js +124 -124
  47. package/opencli-plugin/kimi.js +126 -126
  48. package/opencli-plugin/opencli-plugin.json +6 -6
  49. package/opencli-plugin/package.json +8 -8
  50. package/opencli-plugin/since-guard.js +45 -45
  51. package/package.json +263 -262
  52. package/vendor/chat-import-reader/LICENSE +22 -22
  53. package/vendor/chat-import-reader/LICENSE.fzstd +20 -20
  54. package/vendor/chat-import-reader/README.md +54 -48
  55. package/vendor/chat-import-reader/availability-worker.mjs +119 -114
  56. package/vendor/chat-import-reader/parsers.d.mts +6 -6
  57. package/vendor/chat-import-reader/parsers.mjs +13069 -11168
  58. package/vendor/chat-import-reader/scan-worker.mjs +7 -7
  59. package/vendor/chat-import-reader/scanners.mjs +5523 -4286
  60. package/vendor/chat-import-reader/upstream-sha256.json +114 -101
  61. package/release-notes/0.4.4/commands.png +0 -0
  62. package/release-notes/0.4.4/demos/agent-import.gif +0 -0
  63. package/release-notes/0.4.4/demos/chat-import-upgrade.gif +0 -0
  64. package/release-notes/0.4.4/demos/folders.gif +0 -0
  65. package/release-notes/0.4.4/demos/local-plugins.gif +0 -0
  66. package/release-notes/0.4.4/demos/shortcuts.gif +0 -0
  67. package/release-notes/0.4.4/files.png +0 -0
  68. package/release-notes/0.5.0/demos/agent-import.gif +0 -0
  69. package/release-notes/0.5.0/demos/chat-import-upgrade.gif +0 -0
  70. package/release-notes/0.5.0/demos/folders.gif +0 -0
  71. package/release-notes/0.5.0/demos/local-plugins.gif +0 -0
  72. package/release-notes/0.5.0/demos/local-references.gif +0 -0
  73. package/release-notes/0.5.0/demos/shortcuts.gif +0 -0
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,110 +1,110 @@
1
- # Third-party notices
2
-
3
- ## Lucide action icons
4
-
5
- The Import, Summary, and Undo 2 SVG paths in `src/client/provider-icons.tsx`
6
- are from https://github.com/lucide-icons/lucide and are licensed under ISC:
7
-
8
- Copyright (c) 2026 Lucide Icons and Contributors
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted, provided that the above
12
- copyright notice and this permission notice appear in all copies.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
-
22
- The OpenCLI provider adapters in `opencli-plugin/` are derived in part from
23
- `pinguarmy/ai-chat-exporter` at commit
24
- `9f0f9e21d818316d45c0a13c98d288a80bb8174e`.
25
-
26
- AI Chat Exporter is Copyright (c) pinguarmy contributors and is licensed under
27
- the MIT License. The adapted source paths are:
28
-
29
- - `src/contents/chatgpt-parser.ts`
30
- - `src/contents/claude-parser.ts`
31
- - `src/contents/gemini-parser.ts`
32
- - `src/contents/deepseek-parser.ts`
33
- - `src/contents/grok-parser.ts`
34
- - `src/lib/grok-api.ts`
35
-
36
- OpenCLI is not redistributed by this package. It is an external runtime
37
- dependency licensed under Apache-2.0.
38
-
39
- ## Local agent transcript formats
40
-
41
- The transcript formats read by `src/sources/local-agent/adapters/` were
42
- determined from `Nwflower/dsh-chat-import` at commit
43
- `0fb7d9c479dd7f56edc61c8c633b883abdae3dfd`, whose `lib/convert/*.mjs` converters
44
- and default root layouts are the documentation of record for the twelve formats
45
- this package could not validate against a local corpus.
46
-
47
- dsh-chat-import is licensed under the MIT License. Nothing is copied from it:
48
- that project imports transcripts into DSH's session store, while this one only
49
- reads them in place, so the adapters here are separate implementations against
50
- the same record shapes. The attribution is for the format knowledge, which is the
51
- part that was genuinely reused.
52
-
53
- Claude Code and Codex were additionally validated against real transcripts on the
54
- developer's own machine and do not rest on that source.
55
-
56
- ## Cloud drives
57
-
58
- The managed OpenList binary is pinned to v4.2.2 and is licensed under the
59
- GNU Affero General Public License v3.0 (AGPL-3.0). Corresponding source is
60
- available at https://github.com/OpenListTeam/OpenList/tree/v4.2.2.
61
-
62
- The optional API Pages connection is the official hosted service and source at
63
- https://github.com/OpenListTeam/OpenList-APIPages. API Pages is not copied or
64
- redistributed by this package.
65
-
66
- ## DeepSeek Harness reference services
67
-
68
- `src/client/native-reference-text.tsx` adapts `user-text-rules.ts` and
69
- `FileReference.tsx` from `packages/client/ui-reference/src/client/` at
70
- https://github.com/deepseek-ai/deepseek-harness/tree/687f282e8625c6b8d11ff58211a90524be2e4317.
71
-
72
- Copyright (c) 2026 DeepSeek
73
-
74
- Permission is hereby granted, free of charge, to any person obtaining a copy
75
- of this software and associated documentation files (the "Software"), to deal
76
- in the Software without restriction, including without limitation the rights
77
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78
- copies of the Software, and to permit persons to whom the Software is
79
- furnished to do so, subject to the following conditions:
80
-
81
- The above copyright notice and this permission notice shall be included in all
82
- copies or substantial portions of the Software.
83
-
84
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
90
- SOFTWARE.
91
-
92
- File candidate formatting and cross-session candidate types use the official
93
- DeepSeek Harness packages `@deepseek-ai/dsh-file-reference` and
94
- `@deepseek-ai/dsh-session-reference`. Those packages remain external package
95
- dependencies and are used under the DeepSeek Harness project's MIT license.
96
-
97
- ## dsh-chat-import agent icons
98
-
99
- Settings icons in images/agents are copied from Nwflower/dsh-chat-import (dbd03e1dfeaffea980458df1afc4ef899af9a2a4).
100
- Copyright (c) 2026 Nwflower; Copyright (c) 2026 Scarlett.
101
- Distributed under the MIT License; the full license is included in images/agents/LICENSE.
102
-
103
- ## Bundled conversation scanners and readers
104
-
105
- `vendor/chat-import-reader/parsers.mjs` and `scanners.mjs` contain adapted
106
- read-only discovery, database summary, parser and preview code from Nwflower/dsh-chat-import npm 0.26.1, plus its fzstd decoder.
107
- Copyright (c) 2026 Nwflower and Scarlett; fzstd copyright (c) 2020 Arjun Barrett.
108
- Both are MIT licensed. Full licenses are shipped in
109
- `vendor/chat-import-reader/LICENSE` and `LICENSE.fzstd`; source hashes and
110
- regeneration instructions accompany the snapshot in the repository.
1
+ # Third-party notices
2
+
3
+ ## Lucide action icons
4
+
5
+ The Import, Summary, and Undo 2 SVG paths in `src/client/provider-icons.tsx`
6
+ are from https://github.com/lucide-icons/lucide and are licensed under ISC:
7
+
8
+ Copyright (c) 2026 Lucide Icons and Contributors
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted, provided that the above
12
+ copyright notice and this permission notice appear in all copies.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
15
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
16
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
17
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
18
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
19
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
+
22
+ The OpenCLI provider adapters in `opencli-plugin/` are derived in part from
23
+ `pinguarmy/ai-chat-exporter` at commit
24
+ `9f0f9e21d818316d45c0a13c98d288a80bb8174e`.
25
+
26
+ AI Chat Exporter is Copyright (c) pinguarmy contributors and is licensed under
27
+ the MIT License. The adapted source paths are:
28
+
29
+ - `src/contents/chatgpt-parser.ts`
30
+ - `src/contents/claude-parser.ts`
31
+ - `src/contents/gemini-parser.ts`
32
+ - `src/contents/deepseek-parser.ts`
33
+ - `src/contents/grok-parser.ts`
34
+ - `src/lib/grok-api.ts`
35
+
36
+ OpenCLI is not redistributed by this package. It is an external runtime
37
+ dependency licensed under Apache-2.0.
38
+
39
+ ## Local agent transcript formats
40
+
41
+ The transcript formats read by `src/sources/local-agent/adapters/` were
42
+ determined from `Nwflower/dsh-chat-import` at commit
43
+ `0fb7d9c479dd7f56edc61c8c633b883abdae3dfd`, whose `lib/convert/*.mjs` converters
44
+ and default root layouts are the documentation of record for the twelve formats
45
+ this package could not validate against a local corpus.
46
+
47
+ dsh-chat-import is licensed under the MIT License. Nothing is copied from it:
48
+ that project imports transcripts into DSH's session store, while this one only
49
+ reads them in place, so the adapters here are separate implementations against
50
+ the same record shapes. The attribution is for the format knowledge, which is the
51
+ part that was genuinely reused.
52
+
53
+ Claude Code and Codex were additionally validated against real transcripts on the
54
+ developer's own machine and do not rest on that source.
55
+
56
+ ## Cloud drives
57
+
58
+ The managed OpenList binary is pinned to v4.2.2 and is licensed under the
59
+ GNU Affero General Public License v3.0 (AGPL-3.0). Corresponding source is
60
+ available at https://github.com/OpenListTeam/OpenList/tree/v4.2.2.
61
+
62
+ The optional API Pages connection is the official hosted service and source at
63
+ https://github.com/OpenListTeam/OpenList-APIPages. API Pages is not copied or
64
+ redistributed by this package.
65
+
66
+ ## DeepSeek Harness reference services
67
+
68
+ `src/client/native-reference-text.tsx` adapts `user-text-rules.ts` and
69
+ `FileReference.tsx` from `packages/client/ui-reference/src/client/` at
70
+ https://github.com/deepseek-ai/deepseek-harness/tree/687f282e8625c6b8d11ff58211a90524be2e4317.
71
+
72
+ Copyright (c) 2026 DeepSeek
73
+
74
+ Permission is hereby granted, free of charge, to any person obtaining a copy
75
+ of this software and associated documentation files (the "Software"), to deal
76
+ in the Software without restriction, including without limitation the rights
77
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78
+ copies of the Software, and to permit persons to whom the Software is
79
+ furnished to do so, subject to the following conditions:
80
+
81
+ The above copyright notice and this permission notice shall be included in all
82
+ copies or substantial portions of the Software.
83
+
84
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
90
+ SOFTWARE.
91
+
92
+ File candidate formatting and cross-session candidate types use the official
93
+ DeepSeek Harness packages `@deepseek-ai/dsh-file-reference` and
94
+ `@deepseek-ai/dsh-session-reference`. Those packages remain external package
95
+ dependencies and are used under the DeepSeek Harness project's MIT license.
96
+
97
+ ## dsh-chat-import agent icons
98
+
99
+ Settings icons in images/agents are copied from Nwflower/dsh-chat-import (dbd03e1dfeaffea980458df1afc4ef899af9a2a4).
100
+ Copyright (c) 2026 Nwflower; Copyright (c) 2026 Scarlett.
101
+ Distributed under the MIT License; the full license is included in images/agents/LICENSE.
102
+
103
+ ## Bundled conversation scanners and readers
104
+
105
+ `vendor/chat-import-reader/parsers.mjs` and `scanners.mjs` contain adapted
106
+ read-only discovery, database summary, parser and preview code from Nwflower/dsh-chat-import npm 0.26.1, plus its fzstd decoder.
107
+ Copyright (c) 2026 Nwflower and Scarlett; fzstd copyright (c) 2020 Arjun Barrett.
108
+ Both are MIT licensed. Full licenses are shipped in
109
+ `vendor/chat-import-reader/LICENSE` and `LICENSE.fzstd`; source hashes and
110
+ regeneration instructions accompany the snapshot in the repository.