@jayyuen66/dsh-quality-gate 0.1.3 → 0.1.5

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/locale/en.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "meta": {
3
+ "title": "Quality gate",
4
+ "description": "Runs the project's own checks when a turn ends and feeds failures back to the model, so a turn does not close with a red gate.",
5
+ "detail": "docs/DETAIL.md"
6
+ }
7
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "meta": {
3
+ "title": "回合收口质量门禁",
4
+ "description": "回合结束时按项目形态跑它自己的门禁命令,失败证据回灌给模型,不让回合带着红灯收尾。",
5
+ "detail": "docs/DETAIL.zh.md"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayyuen66/dsh-quality-gate",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "dsh 插件:回合收口质量门禁(在 agent/turn-stopping 按项目形态跑 pnpm check / cargo check / ruff check / tsc,未过则注入修复指令开新轮)",
5
5
  "keywords": [
6
6
  "ci",
@@ -11,7 +11,10 @@
11
11
  "gate"
12
12
  ],
13
13
  "license": "MIT",
14
- "author": "JayYuen",
14
+ "author": {
15
+ "name": "JayYuen",
16
+ "url": "https://github.com/JayYuen666"
17
+ },
15
18
  "repository": {
16
19
  "type": "git",
17
20
  "url": "git+https://github.com/JayYuen666/dsh-quality-gate.git"
@@ -21,6 +24,9 @@
21
24
  "host.js",
22
25
  "client.js",
23
26
  "cordis.patch.yml",
27
+ "locale/zh.json",
28
+ "locale/en.json",
29
+ "docs",
24
30
  "README.md",
25
31
  "README.zh-CN.md",
26
32
  "CHANGELOG.md",
@@ -32,6 +38,7 @@
32
38
  ".": "./host.js",
33
39
  "./client": "./client.js",
34
40
  "./cordis.patch.yml": "./cordis.patch.yml",
41
+ "./locale/*.json": "./locale/*.json",
35
42
  "./package.json": "./package.json"
36
43
  },
37
44
  "publishConfig": {
@@ -39,40 +46,51 @@
39
46
  "registry": "https://registry.npmjs.org"
40
47
  },
41
48
  "dependencies": {
42
- "@jayyuen66/dsh-plugin-shared": "0.1.9",
43
- "typescript": "7.0.2"
49
+ "@jayyuen66/dsh-plugin-shared": "0.2.2",
50
+ "typescript": "7.0.2",
51
+ "zod": "4.6.7"
44
52
  },
45
53
  "devDependencies": {
46
- "@deepseek-ai/cordis": "4.0.5",
47
- "@deepseek-ai/dsh-agent": "0.2.1-rc.3",
48
- "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.3",
49
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
50
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.3",
51
- "@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.3",
52
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.3",
53
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.3",
54
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3",
55
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.3",
56
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.3",
57
- "@deepseek-ai/dsh-llm": "0.2.1-rc.3",
58
- "@deepseek-ai/dsh-package-manifest": "0.2.1-rc.3",
59
- "@deepseek-ai/dsh-sandbox": "0.2.1-rc.3",
60
- "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.3",
61
- "@deepseek-ai/dsh-scope": "0.2.1-rc.3",
62
- "@deepseek-ai/dsh-session": "0.2.1-rc.3",
63
- "@deepseek-ai/dsh-session-projection": "0.2.1-rc.3",
64
- "@deepseek-ai/dsh-session-query": "0.2.1-rc.3",
65
- "@deepseek-ai/dsh-session-title": "0.2.1-rc.3",
66
- "@deepseek-ai/dsh-settings": "0.2.1-rc.3",
67
- "@deepseek-ai/dsh-shell": "0.2.1-rc.3",
68
- "@deepseek-ai/dsh-subprocess": "0.2.1-rc.3",
69
- "@deepseek-ai/schemastery": "3.18.5",
70
- "@types/node": "26.6.5",
54
+ "@deepseek-ai/cordis": "4.0.6-alpha.1",
55
+ "@deepseek-ai/cordis-plugin-include": "1.0.11-alpha.1",
56
+ "@deepseek-ai/cordis-plugin-loader": "1.0.7-alpha.1",
57
+ "@deepseek-ai/dsh-agent": "0.2.2-alpha.2",
58
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.2",
59
+ "@deepseek-ai/dsh-bash-local": "0.2.2-alpha.2",
60
+ "@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
61
+ "@deepseek-ai/dsh-client-store": "0.2.2-alpha.2",
62
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-alpha.2",
63
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-alpha.2",
64
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.2",
65
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.2",
66
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
67
+ "@deepseek-ai/dsh-credentials": "0.2.2-alpha.2",
68
+ "@deepseek-ai/dsh-http-proxy": "0.2.2-alpha.2",
69
+ "@deepseek-ai/dsh-llm": "0.2.2-alpha.2",
70
+ "@deepseek-ai/dsh-package-manifest": "0.2.2-alpha.2",
71
+ "@deepseek-ai/dsh-sandbox": "0.2.2-alpha.2",
72
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-alpha.2",
73
+ "@deepseek-ai/dsh-scope": "0.2.2-alpha.2",
74
+ "@deepseek-ai/dsh-session": "0.2.2-alpha.2",
75
+ "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.2",
76
+ "@deepseek-ai/dsh-session-query": "0.2.2-alpha.2",
77
+ "@deepseek-ai/dsh-session-title": "0.2.2-alpha.2",
78
+ "@deepseek-ai/dsh-settings": "0.2.2-alpha.2",
79
+ "@deepseek-ai/dsh-shell": "0.2.2-alpha.2",
80
+ "@deepseek-ai/dsh-subprocess": "0.2.2-alpha.2",
81
+ "@deepseek-ai/dsh-subprocess-local": "0.2.2-alpha.2",
82
+ "@deepseek-ai/dsh-timeout": "0.2.2-alpha.2",
83
+ "@deepseek-ai/schemastery": "3.18.6-alpha.1",
84
+ "@e18e/eslint-plugin": "0.8.1",
85
+ "@types/node": "26.6.6",
71
86
  "@types/react": "19.3.0",
72
87
  "@vitest/coverage-v8": "5.0.5",
88
+ "eslint-plugin-regexp": "3.3.2",
73
89
  "eslint-plugin-sonarjs": "4.2.2",
74
- "oxfmt": "0.74.0",
75
- "oxlint": "1.89.0",
90
+ "eslint-plugin-zod": "5.2.2",
91
+ "fast-check": "4.10.2",
92
+ "oxfmt": "0.75.0",
93
+ "oxlint": "1.90.0",
76
94
  "oxlint-tsgolint": "7.0.2005",
77
95
  "react": "^19.3.0",
78
96
  "rolldown": "1.2.15",
@@ -82,8 +100,8 @@
82
100
  },
83
101
  "peerDependencies": {
84
102
  "@deepseek-ai/dsh": "^0.2.1-rc.3",
85
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.3",
86
- "@deepseek-ai/schemastery": "3.18.5"
103
+ "@deepseek-ai/dsh-credentials": "^0.2.1-rc.3",
104
+ "@deepseek-ai/schemastery": "^3.18.6-alpha.1"
87
105
  },
88
106
  "peerDependenciesMeta": {
89
107
  "@deepseek-ai/dsh": {
@@ -106,7 +124,7 @@
106
124
  }
107
125
  },
108
126
  "scripts": {
109
- "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json && tsc --noEmit -p tsconfig.build-scripts.json",
127
+ "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json && tsc --noEmit -p src/tsconfig.json && tsc --noEmit -p tsconfig.build-scripts.json",
110
128
  "lint": "oxlint .",
111
129
  "test": "vitest run --coverage",
112
130
  "check:pack": "node pack-check.mjs",