@jayyuen66/dsh-plugin-shared 0.1.6 → 0.1.8
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 +1 -1
- package/README.md +184 -91
- package/README.zh-CN.md +186 -93
- package/config/tsconfig.client.base.json +1 -1
- package/dist/build/build-artifacts.js +1 -0
- package/dist/build/build-client.js +2 -0
- package/dist/build/build-host.js +1 -0
- package/dist/build/build-types.js +2 -0
- package/dist/build/canonicalize-region-paths-BxladpX3.js +1 -0
- package/dist/canonicalize-region-paths.js +1 -1
- package/dist/card-apply.js +1 -1
- package/dist/card-diff.js +1 -1
- package/dist/config/oxlint.base.js +1 -1
- package/dist/config/vitest.base.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/job-outcome.js +1 -1
- package/dist/jsonl.js +2 -3
- package/dist/lesson-bus.js +1 -1
- package/dist/project-key.js +1 -1
- package/dist/record.js +1 -1
- package/dist/text.js +1 -1
- package/dist/tool-events.js +1 -1
- package/dist/types/build-artifacts.d.ts +116 -0
- package/dist/types/build-client.d.ts +79 -0
- package/dist/types/build-host.d.ts +54 -0
- package/dist/types/build-types.d.ts +61 -0
- package/dist/types/canonicalize-region-paths.d.ts +4 -3
- package/dist/types/card-apply.d.ts +8 -1
- package/dist/types/card-diff.d.ts +2 -2
- package/dist/types/config/oxlint.base.d.ts +22 -7
- package/dist/types/config/vitest.base.d.ts +11 -1
- package/dist/types/errors.d.ts +2 -1
- package/dist/types/job-outcome.d.ts +8 -4
- package/dist/types/lesson-bus.d.ts +3 -1
- package/dist/types/locale.d.ts +3 -2
- package/dist/types/record.d.ts +8 -0
- package/dist/types/text.d.ts +2 -1
- package/package.json +40 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jayyuen66/dsh-plugin-shared",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "dsh 自研插件的共享工具库:tool 事件流记账扫描 + 卡片 apply/差异骨架 + 官方作业结局映射 + 项目键派生 + 代理对安全截断。作为库包被 import,不由用户启用",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cordis",
|
|
@@ -81,6 +81,22 @@
|
|
|
81
81
|
"types": "./dist/types/canonicalize-region-paths.d.ts",
|
|
82
82
|
"default": "./dist/canonicalize-region-paths.js"
|
|
83
83
|
},
|
|
84
|
+
"./lib/build-artifacts": {
|
|
85
|
+
"types": "./dist/types/build-artifacts.d.ts",
|
|
86
|
+
"default": "./dist/build/build-artifacts.js"
|
|
87
|
+
},
|
|
88
|
+
"./lib/build-host": {
|
|
89
|
+
"types": "./dist/types/build-host.d.ts",
|
|
90
|
+
"default": "./dist/build/build-host.js"
|
|
91
|
+
},
|
|
92
|
+
"./lib/build-client": {
|
|
93
|
+
"types": "./dist/types/build-client.d.ts",
|
|
94
|
+
"default": "./dist/build/build-client.js"
|
|
95
|
+
},
|
|
96
|
+
"./lib/build-types": {
|
|
97
|
+
"types": "./dist/types/build-types.d.ts",
|
|
98
|
+
"default": "./dist/build/build-types.js"
|
|
99
|
+
},
|
|
84
100
|
"./config/oxlint": {
|
|
85
101
|
"types": "./dist/types/config/oxlint.base.d.ts",
|
|
86
102
|
"default": "./dist/config/oxlint.base.js"
|
|
@@ -99,35 +115,35 @@
|
|
|
99
115
|
},
|
|
100
116
|
"devDependencies": {
|
|
101
117
|
"@deepseek-ai/cordis": "4.0.5",
|
|
102
|
-
"@deepseek-ai/dsh-brand": "0.2.1-rc.
|
|
103
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.
|
|
104
|
-
"@deepseek-ai/dsh-jobs": "0.2.1-rc.
|
|
105
|
-
"@deepseek-ai/dsh-llm": "0.2.1-rc.
|
|
106
|
-
"@deepseek-ai/dsh-output-retention": "0.2.1-rc.
|
|
107
|
-
"@deepseek-ai/dsh-scope": "0.2.1-rc.
|
|
108
|
-
"@deepseek-ai/dsh-session": "0.2.1-rc.
|
|
109
|
-
"@deepseek-ai/dsh-shell": "0.2.1-rc.
|
|
110
|
-
"@deepseek-ai/dsh-tools": "0.2.1-rc.
|
|
118
|
+
"@deepseek-ai/dsh-brand": "0.2.1-rc.3",
|
|
119
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
|
|
120
|
+
"@deepseek-ai/dsh-jobs": "0.2.1-rc.3",
|
|
121
|
+
"@deepseek-ai/dsh-llm": "0.2.1-rc.3",
|
|
122
|
+
"@deepseek-ai/dsh-output-retention": "0.2.1-rc.3",
|
|
123
|
+
"@deepseek-ai/dsh-scope": "0.2.1-rc.3",
|
|
124
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.3",
|
|
125
|
+
"@deepseek-ai/dsh-shell": "0.2.1-rc.3",
|
|
126
|
+
"@deepseek-ai/dsh-tools": "0.2.1-rc.3",
|
|
111
127
|
"@types/node": "26.6.5",
|
|
112
128
|
"@vitest/coverage-v8": "5.0.5",
|
|
113
129
|
"eslint-plugin-sonarjs": "4.2.2",
|
|
114
|
-
"oxfmt": "0.
|
|
115
|
-
"oxlint": "1.
|
|
116
|
-
"oxlint-tsgolint": "7.0.
|
|
117
|
-
"rolldown": "1.2.
|
|
130
|
+
"oxfmt": "0.74.0",
|
|
131
|
+
"oxlint": "1.89.0",
|
|
132
|
+
"oxlint-tsgolint": "7.0.2005",
|
|
133
|
+
"rolldown": "1.2.15",
|
|
118
134
|
"typescript": "7.0.2",
|
|
119
|
-
"vite": "8.3.
|
|
135
|
+
"vite": "8.3.5",
|
|
120
136
|
"vitest": "5.0.5"
|
|
121
137
|
},
|
|
122
138
|
"peerDependencies": {
|
|
123
139
|
"@deepseek-ai/cordis": "4.0.5",
|
|
124
|
-
"@deepseek-ai/dsh": "^0.2.1-rc.
|
|
125
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.
|
|
126
|
-
"@deepseek-ai/dsh-jobs": "0.2.1-rc.
|
|
127
|
-
"@deepseek-ai/dsh-output-retention": "0.2.1-rc.
|
|
128
|
-
"@deepseek-ai/dsh-session": "0.2.1-rc.
|
|
129
|
-
"@deepseek-ai/dsh-shell": "0.2.1-rc.
|
|
130
|
-
"@deepseek-ai/dsh-tools": "0.2.1-rc.
|
|
140
|
+
"@deepseek-ai/dsh": "^0.2.1-rc.3",
|
|
141
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
|
|
142
|
+
"@deepseek-ai/dsh-jobs": "0.2.1-rc.3",
|
|
143
|
+
"@deepseek-ai/dsh-output-retention": "0.2.1-rc.3",
|
|
144
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.3",
|
|
145
|
+
"@deepseek-ai/dsh-shell": "0.2.1-rc.3",
|
|
146
|
+
"@deepseek-ai/dsh-tools": "0.2.1-rc.3"
|
|
131
147
|
},
|
|
132
148
|
"peerDependenciesMeta": {
|
|
133
149
|
"@deepseek-ai/cordis": {
|
|
@@ -157,12 +173,12 @@
|
|
|
157
173
|
},
|
|
158
174
|
"icon": "icon.svg",
|
|
159
175
|
"engines": {
|
|
160
|
-
"dsh": "^0.2.1-rc.
|
|
176
|
+
"dsh": "^0.2.1-rc.3",
|
|
161
177
|
"node": ">=22.12.0"
|
|
162
178
|
},
|
|
163
179
|
"scripts": {
|
|
164
180
|
"prebuild": "node build-clean.mjs",
|
|
165
|
-
"build": "node build-host.mjs && node build-config.mjs && tsc -p tsconfig.build.json && tsc -p tsconfig.build.config.json",
|
|
181
|
+
"build": "node build-host.mjs && node build-config.mjs && tsc -p tsconfig.build.json && tsc -p tsconfig.build.config.json && node build-types-check.mjs",
|
|
166
182
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
167
183
|
"lint": "oxlint .",
|
|
168
184
|
"test": "vitest run --coverage",
|