@samuelchung2010/dshift 0.0.0-stage → 0.3.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/CHANGELOG.md +97 -0
- package/LICENSE +21 -0
- package/README.en.md +116 -0
- package/README.md +116 -3
- package/assets/dshift-readme.gif +0 -0
- package/client.js +18831 -0
- package/cordis.patch.yml +58 -0
- package/docs/architecture.md +203 -0
- package/docs/configuration.md +103 -0
- package/docs/development.md +125 -0
- package/docs/limitations.md +74 -0
- package/docs/math-boxed-qquad.png +0 -0
- package/docs/math-boxed-single.png +0 -0
- package/docs/memory-integration.md +111 -0
- package/docs/perf/baseline-before.json +4872 -0
- package/docs/perf/baseline-before.summary.json +659 -0
- package/docs/perf/fixed-after.json +2927 -0
- package/docs/perf/fixed-after.summary.json +583 -0
- package/docs/perf/long-chat-performance.md +340 -0
- package/docs/perf/merged-after.json +1953 -0
- package/docs/perf/merged-after.summary.json +382 -0
- package/docs/perf/mount-after.json +82 -0
- package/docs/perf/mount-baseline.json +82 -0
- package/docs/user-guide.md +202 -0
- package/icon.svg +13 -0
- package/index.js +16 -0
- package/lib/api.js +336 -0
- package/lib/artifact/approval-bus.js +94 -0
- package/lib/artifact/prompt.js +99 -0
- package/lib/artifact/service.js +602 -0
- package/lib/artifact/workspace.js +260 -0
- package/lib/import/convert.js +343 -0
- package/lib/import/format.js +262 -0
- package/lib/import/index.js +585 -0
- package/lib/import/media.js +101 -0
- package/lib/import/zip.js +296 -0
- package/lib/memory-store.js +629 -0
- package/lib/memory-text.js +162 -0
- package/lib/memory.js +871 -0
- package/lib/model-config.js +280 -0
- package/lib/protocol.js +593 -0
- package/lib/service.js +2102 -0
- package/lib/store.js +1011 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +49 -6
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "DeepSeek Chat",
|
|
4
|
+
"description": "Adds a native DeepSeek Chat mode beside Agent mode, with a shared Chat | Agent switch. It supports official DeepSeek chat-export ZIP import, long-term memory (automatic extraction, cross-chat retrieval, memory summary, Ask or Update, and importing memories from other AI tools), deep thinking with effort levels, web search with citations, URL reading, file and image upload, model selection, persistent history, folders, pin/archive, history search, message editing, answer versions, and Chat to Agent handoff. Imported chats can optionally be analyzed for long-term memory; memories stay on this machine. Chat uses the signed-in DeepSeek account or a DeepSeek API key stored in the DSH credential store; the key never reaches the browser. Web search, document parsing, and memory extraction use DeepSeek services and may incur usage charges. Agent mode and existing DSH capabilities are unchanged."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "DeepSeek Chat",
|
|
4
|
+
"description": "在 Agent 模式旁增加一个原生 DeepSeek Chat 模式,通过共享的 Chat | Agent 分段控件切换。支持 DeepSeek 官方聊天记录 ZIP 导入、长期记忆(自动提取、跨会话检索、记忆概述、Ask or Update、从其他 AI 导入)、深度思考与推理等级、联网搜索与引用、链接阅读、文件与图片上传、模型选择、本地持久化历史、文件夹、置顶与归档、历史搜索、消息编辑与回答版本,以及 Chat 到 Agent 的交接。导入后可选择性地从导入会话提取长期记忆;记忆保存在本机。Chat 使用已登录的 DeepSeek 账号,或在 DSH 凭证库中保存的 DeepSeek API Key;Key 不会进入浏览器。联网搜索、文件解析与记忆提取会使用 DeepSeek 服务,可能产生用量费用。原有 Agent 模式与全部 DSH 功能保持不变。"
|
|
5
|
+
}
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@samuelchung2010/dshift",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@samuelchung2010/dshift",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"description": "DSHift: a native DeepSeek Chat mode for DeepSeek Harness, with chat-export import, long-term memory, deep thinking, web search, file upload, and persistent history.",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/SamuelChung2010/DSHift.git"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"dsh": ">=0.2.2-rc.5"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": "./index.js",
|
|
20
|
+
"./client": "./client.js",
|
|
21
|
+
"./locale/*.json": "./locale/*.json",
|
|
22
|
+
"./icon": "./icon.svg"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"index.js",
|
|
26
|
+
"client.js",
|
|
27
|
+
"lib",
|
|
28
|
+
"docs",
|
|
29
|
+
"cordis.patch.yml",
|
|
30
|
+
"locale/*.json",
|
|
31
|
+
"icon.svg",
|
|
32
|
+
"README.md",
|
|
33
|
+
"README.en.md",
|
|
34
|
+
"CHANGELOG.md",
|
|
35
|
+
"assets/dshift-readme.gif"
|
|
36
|
+
],
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"platform": "web",
|
|
43
|
+
"immediately": true,
|
|
44
|
+
"inject": [
|
|
45
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|