@dsh-enhanced/hello 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dsh-enhanced contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @dsh-enhanced/hello
2
+
3
+ 最小 DSH bundle 示例:加载时写入一条日志,用来验证安装、patch 和构建链路。
4
+
5
+ ## 在 dsh 中使用
6
+
7
+ 本仓库本地开发:
8
+
9
+ ```sh
10
+ pnpm build
11
+ dsh plugin --profile web add ./plugins/hello
12
+ dsh --profile web --dump-config
13
+ dsh web
14
+ ```
15
+
16
+ 发布后可把本地路径换成 `@dsh-enhanced/hello`。
17
+
18
+ 权限与数据:不访问文件、网络、子进程、凭据或浏览器数据。
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: dsh-enhanced-hello
3
+ name: '@dsh-enhanced/hello'
package/lib/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import type { Context } from '@deepseek-ai/cordis';
2
+ export declare const name = "dsh-enhanced-hello";
3
+ export declare const helloMessage = "dsh-enhanced hello plugin loaded";
4
+ export declare function apply(ctx: Context): void;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,IAAI,uBAAuB,CAAA;AACxC,eAAO,MAAM,YAAY,qCAAqC,CAAA;AAE9D,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAExC"}
package/lib/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export const name = 'dsh-enhanced-hello';
2
+ export const helloMessage = 'dsh-enhanced hello plugin loaded';
3
+ export function apply(ctx) {
4
+ ctx.logger.info(helloMessage);
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAG,oBAAoB,CAAA;AACxC,MAAM,CAAC,MAAM,YAAY,GAAG,kCAAkC,CAAA;AAE9D,MAAM,UAAU,KAAK,CAAC,GAAY;IAChC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;AAC/B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@dsh-enhanced/hello",
3
+ "version": "0.1.0",
4
+ "description": "A minimal installable DeepSeek Harness plugin bundle.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./lib/index.js",
8
+ "types": "./lib/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./lib/index.d.ts",
12
+ "default": "./lib/index.js"
13
+ },
14
+ "./cordis.patch.yml": "./cordis.patch.yml",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "lib",
19
+ "cordis.patch.yml",
20
+ "README.md",
21
+ "LICENSE"
22
+ ],
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.build.json",
25
+ "prepack": "pnpm run build",
26
+ "test": "vitest run",
27
+ "typecheck": "tsc -p tsconfig.json --noEmit"
28
+ },
29
+ "engines": {
30
+ "node": "^22.19.0 || >=24.0.0"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/22-ai-00/dsh-enhanced.git",
38
+ "directory": "plugins/hello"
39
+ },
40
+ "keywords": [
41
+ "deepseek",
42
+ "deepseek-harness",
43
+ "dsh-plugin"
44
+ ],
45
+ "dsh": {
46
+ "bundle": {
47
+ "patch": "./cordis.patch.yml"
48
+ }
49
+ },
50
+ "peerDependencies": {
51
+ "@deepseek-ai/cordis": "^4.0.1"
52
+ },
53
+ "devDependencies": {
54
+ "@deepseek-ai/cordis": "catalog:",
55
+ "@types/node": "catalog:",
56
+ "typescript": "catalog:",
57
+ "vitest": "catalog:"
58
+ }
59
+ }