@sparkelf/dsh-plugin-subagent-settings 0.1.0-rc.10
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.i18n.yaml +6 -0
- package/README.md +63 -0
- package/README.zh.md +63 -0
- package/lib/client.js +835 -0
- package/lib/index.js +371 -0
- package/lib/invariant.js +23 -0
- package/lib/startup.js +28 -0
- package/lib/types/client/SubagentCard.d.ts +20 -0
- package/lib/types/client/index.d.ts +17 -0
- package/lib/types/client/locales.d.ts +7 -0
- package/lib/types/client/subagent-store.d.ts +74 -0
- package/lib/types/index.d.ts +100 -0
- package/lib/types/invariant.d.ts +16 -0
- package/lib/types/startup.d.ts +20 -0
- package/package.json +94 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Host-lifetime Settings section owner for one Subagent tool configuration. */
|
|
2
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
+
import z from '@deepseek-ai/schemastery';
|
|
4
|
+
import type { SubagentSettings } from './index.ts';
|
|
5
|
+
export declare const name = "tool-subagent-settings";
|
|
6
|
+
export declare const inject: string[];
|
|
7
|
+
/** Host-owned Settings registration configuration. */
|
|
8
|
+
export interface Config extends SubagentSettings {
|
|
9
|
+
/** Unique Settings namespace consumed by Agent-scoped tool instances. */
|
|
10
|
+
settingsNamespace: string;
|
|
11
|
+
/** Subagent provider whose capabilities validate user-owned defaults. */
|
|
12
|
+
provider: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const Config: z<Config>;
|
|
15
|
+
/** Register one Subagent settings namespace at Host lifetime.
|
|
16
|
+
* @param ctx - Host plugin context carrying Settings and Subagent services.
|
|
17
|
+
* @param config - namespace, provider, and composition defaults.
|
|
18
|
+
*/
|
|
19
|
+
export declare function apply(ctx: Context, config: Config): void;
|
|
20
|
+
//# sourceMappingURL=startup.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@deepseek-ai/schemastery": ">=3.18.1"
|
|
4
|
+
},
|
|
5
|
+
"description": "Settings-backed continuous and one-shot subagent delegation with one Web Settings section",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
8
|
+
"@deepseek-ai/dsh-agent": "^0.1.2-alpha.1",
|
|
9
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.1",
|
|
10
|
+
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.1",
|
|
11
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.1",
|
|
12
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.1",
|
|
13
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.1",
|
|
14
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.1",
|
|
15
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.1",
|
|
16
|
+
"@deepseek-ai/dsh-jobs": "^0.1.2-alpha.1",
|
|
17
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.1",
|
|
18
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.1",
|
|
19
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.1",
|
|
20
|
+
"@deepseek-ai/dsh-subagent": "^0.1.2-alpha.1",
|
|
21
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.1",
|
|
22
|
+
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.1",
|
|
23
|
+
"@types/react": "~18.3.1",
|
|
24
|
+
"react": "^18.2.0"
|
|
25
|
+
},
|
|
26
|
+
"dsh": {
|
|
27
|
+
"client": {
|
|
28
|
+
"inject": [
|
|
29
|
+
"@deepseek-ai/dsh-client-locale",
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
31
|
+
"@deepseek-ai/dsh-client-ui-renderer"
|
|
32
|
+
],
|
|
33
|
+
"platform": "web"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"default": "./lib/index.js",
|
|
39
|
+
"types": "./lib/types/index.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./client": {
|
|
42
|
+
"default": "./lib/client.js",
|
|
43
|
+
"types": "./lib/types/client/index.d.ts"
|
|
44
|
+
},
|
|
45
|
+
"./invariant": {
|
|
46
|
+
"default": "./lib/invariant.js",
|
|
47
|
+
"types": "./lib/types/invariant.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"./package.json": "./package.json",
|
|
50
|
+
"./startup": {
|
|
51
|
+
"default": "./lib/startup.js",
|
|
52
|
+
"types": "./lib/types/startup.d.ts"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"lib/index.js",
|
|
57
|
+
"lib/invariant.js",
|
|
58
|
+
"lib/client.js",
|
|
59
|
+
"lib/startup.js",
|
|
60
|
+
"lib/types/**/*.d.ts"
|
|
61
|
+
],
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"main": "lib/index.js",
|
|
64
|
+
"name": "@sparkelf/dsh-plugin-subagent-settings",
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@deepseek-ai/cordis": ">=4.0.1",
|
|
67
|
+
"@deepseek-ai/dsh-agent": ">=0.1.2-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.2-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.2-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-alpha.1",
|
|
71
|
+
"@deepseek-ai/dsh-invariants": ">=0.1.2-alpha.1",
|
|
72
|
+
"@deepseek-ai/dsh-jobs": ">=0.1.2-alpha.1",
|
|
73
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-alpha.1",
|
|
74
|
+
"@deepseek-ai/dsh-settings": ">=0.1.2-alpha.1",
|
|
75
|
+
"@deepseek-ai/dsh-subagent": ">=0.1.2-alpha.1",
|
|
76
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.2-alpha.1",
|
|
77
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-alpha.1"
|
|
78
|
+
},
|
|
79
|
+
"publishConfig": {
|
|
80
|
+
"access": "public"
|
|
81
|
+
},
|
|
82
|
+
"repository": {
|
|
83
|
+
"directory": "packages/plus/subagent-settings",
|
|
84
|
+
"type": "git",
|
|
85
|
+
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"bundle": "tsdown",
|
|
89
|
+
"watch": "tsdown --watch"
|
|
90
|
+
},
|
|
91
|
+
"type": "module",
|
|
92
|
+
"types": "lib/types/index.d.ts",
|
|
93
|
+
"version": "0.1.0-rc.10"
|
|
94
|
+
}
|