@zifeng1023/dsh-bot 0.0.0-stage → 0.3.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/LICENSE +21 -0
- package/README.md +108 -2
- package/assets/icon-180.png +0 -0
- package/cordis.patch.yml +37 -0
- package/dsh-plugin.json +126 -0
- package/icon.png +0 -0
- package/lib/client.js +4150 -0
- package/lib/index.js +7343 -0
- package/locale/en.json +15 -0
- package/locale/zh.json +15 -0
- package/package.json +87 -4
- package/screenshots.json +3 -0
package/locale/en.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "DSH Bot",
|
|
3
|
+
"description": "Always-on AI teammates: remembers, watches, and can roll back",
|
|
4
|
+
"commands": {
|
|
5
|
+
"bot_create": {
|
|
6
|
+
"description": "Create an always-on AI teammate"
|
|
7
|
+
},
|
|
8
|
+
"bot_list": {
|
|
9
|
+
"description": "List all bots"
|
|
10
|
+
},
|
|
11
|
+
"bot_run": {
|
|
12
|
+
"description": "Run once (dry-run by default)"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/locale/zh.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "DSH Bot",
|
|
3
|
+
"description": "常驻 AI 队友:记得住、守得住、收得回",
|
|
4
|
+
"commands": {
|
|
5
|
+
"bot_create": {
|
|
6
|
+
"description": "创建一个常驻 AI 队友"
|
|
7
|
+
},
|
|
8
|
+
"bot_list": {
|
|
9
|
+
"description": "列出所有 Bot"
|
|
10
|
+
},
|
|
11
|
+
"bot_run": {
|
|
12
|
+
"description": "执行一次任务(默认 dry-run)"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zifeng1023/dsh-bot",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "常驻 AI 队友:记得住、守得住、收得回。默认 dry-run 演习、执行前自动快照、可一键回滚,并支持错峰调度省钱。",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/HAN102300/dsh-bot.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "lib/index.js",
|
|
11
|
+
"icon": "./icon.png",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"default": "./lib/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./client": {
|
|
17
|
+
"default": "./lib/client.js"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json",
|
|
20
|
+
"./locale/*.json": "./locale/*.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"lib",
|
|
24
|
+
"cordis.patch.yml",
|
|
25
|
+
"dsh-plugin.json",
|
|
26
|
+
"icon.png",
|
|
27
|
+
"locale",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"screenshots.json",
|
|
31
|
+
"assets"
|
|
32
|
+
],
|
|
33
|
+
"engines": {
|
|
34
|
+
"dsh": ">=0.2.0 <0.3.0"
|
|
35
|
+
},
|
|
36
|
+
"dsh": {
|
|
37
|
+
"bundle": {
|
|
38
|
+
"patch": "./cordis.patch.yml"
|
|
39
|
+
},
|
|
40
|
+
"client": {
|
|
41
|
+
"inject": [],
|
|
42
|
+
"platform": "web"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"dsh",
|
|
47
|
+
"dsh-plugin",
|
|
48
|
+
"deepseek-harness",
|
|
49
|
+
"bot",
|
|
50
|
+
"agent",
|
|
51
|
+
"always-on",
|
|
52
|
+
"dry-run",
|
|
53
|
+
"rollback",
|
|
54
|
+
"snapshot",
|
|
55
|
+
"scheduler",
|
|
56
|
+
"cron",
|
|
57
|
+
"deepseek",
|
|
58
|
+
"qwen",
|
|
59
|
+
"kimi"
|
|
60
|
+
],
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
63
|
+
"@deepseek-ai/dsh-tools": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.0 <0.4.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
67
|
+
"@deepseek-ai/dsh-tools": "file:./vendor/dsh-tools",
|
|
68
|
+
"@deepseek-ai/schemastery": "~3.18.5",
|
|
69
|
+
"@types/node": "^26.6.5",
|
|
70
|
+
"tsdown": "^0.15.0",
|
|
71
|
+
"typescript": "^5.7.0",
|
|
72
|
+
"vitest": "^3.0.0"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "tsdown",
|
|
76
|
+
"prepare": "tsdown",
|
|
77
|
+
"dev": "tsdown --watch",
|
|
78
|
+
"test": "vitest run",
|
|
79
|
+
"test:watch": "vitest",
|
|
80
|
+
"typecheck": "tsc --noEmit",
|
|
81
|
+
"verify:client": "node dev/verify-client.mjs",
|
|
82
|
+
"verify:static": "node dev/check-undefined.mjs",
|
|
83
|
+
"verify:e2e": "node dev/demo-goal-cycle.mjs && node dev/demo-goal-cadence.mjs && node dev/demo-model-binding.mjs",
|
|
84
|
+
"verify:all": "npm run verify:static && npm run typecheck && npm run test && npm run build && npm run verify:client && npm run verify:e2e",
|
|
85
|
+
"gen:tools": "node dev/gen-tools-doc.mjs"
|
|
86
|
+
},
|
|
87
|
+
"license": "MIT"
|
|
88
|
+
}
|
|
89
|
+
|
package/screenshots.json
ADDED