@dsh-enhanced/assistant-web-owner 0.1.30
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 +226 -0
- package/bin/dsh-autonomy-doctor.js +7 -0
- package/bin/dsh-web-owner-setup.js +7 -0
- package/cordis.patch.yml +6 -0
- package/lib/THIRD_PARTY_LICENSES +23 -0
- package/lib/autonomy.d.ts +22 -0
- package/lib/autonomy.d.ts.map +1 -0
- package/lib/autonomy.js +267 -0
- package/lib/autonomy.js.map +1 -0
- package/lib/client.d.ts +1 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +17418 -0
- package/lib/client.js.map +1 -0
- package/lib/doctor.d.ts +22 -0
- package/lib/doctor.d.ts.map +1 -0
- package/lib/doctor.js +159 -0
- package/lib/doctor.js.map +1 -0
- package/lib/goal-admission.d.ts +94 -0
- package/lib/goal-admission.d.ts.map +1 -0
- package/lib/goal-admission.js +553 -0
- package/lib/goal-admission.js.map +1 -0
- package/lib/goal-setup.d.ts +15 -0
- package/lib/goal-setup.d.ts.map +1 -0
- package/lib/goal-setup.js +145 -0
- package/lib/goal-setup.js.map +1 -0
- package/lib/index.d.ts +42 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +200 -0
- package/lib/index.js.map +1 -0
- package/lib/notices.d.ts +11 -0
- package/lib/notices.d.ts.map +1 -0
- package/lib/notices.js +13 -0
- package/lib/notices.js.map +1 -0
- package/lib/repair-setup.d.ts +50 -0
- package/lib/repair-setup.d.ts.map +1 -0
- package/lib/repair-setup.js +165 -0
- package/lib/repair-setup.js.map +1 -0
- package/lib/setup.d.ts +24 -0
- package/lib/setup.d.ts.map +1 -0
- package/lib/setup.js +302 -0
- package/lib/setup.js.map +1 -0
- package/lib/typert.d.ts +83 -0
- package/lib/typert.d.ts.map +1 -0
- package/lib/typert.js +37 -0
- package/lib/typert.js.map +1 -0
- package/lib/version.d.ts +2 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +2 -0
- package/lib/version.js.map +1 -0
- package/package.json +181 -0
package/lib/typert.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Strict Host and client descriptor for owner-scoped accepted reminders. */
|
|
3
|
+
export declare const TYPERT: {
|
|
4
|
+
package: string;
|
|
5
|
+
face: "host";
|
|
6
|
+
schemas: never[];
|
|
7
|
+
invocations: {
|
|
8
|
+
id: string;
|
|
9
|
+
service: string;
|
|
10
|
+
namespace: string;
|
|
11
|
+
method: string;
|
|
12
|
+
invocation: {
|
|
13
|
+
kind: "direct";
|
|
14
|
+
};
|
|
15
|
+
parameters: {
|
|
16
|
+
name: string;
|
|
17
|
+
wire: string;
|
|
18
|
+
source: "json";
|
|
19
|
+
codec: {
|
|
20
|
+
mode: "strict";
|
|
21
|
+
typeSymbol: string;
|
|
22
|
+
schema: z.ZodString;
|
|
23
|
+
};
|
|
24
|
+
}[];
|
|
25
|
+
result: {
|
|
26
|
+
mode: "strict";
|
|
27
|
+
typeSymbol: string;
|
|
28
|
+
schema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
text: z.ZodString;
|
|
31
|
+
createdAt: z.ZodNumber;
|
|
32
|
+
}, z.core.$strip>>>>;
|
|
33
|
+
};
|
|
34
|
+
sourceLocation: {
|
|
35
|
+
file: string;
|
|
36
|
+
line: number;
|
|
37
|
+
column: number;
|
|
38
|
+
};
|
|
39
|
+
}[];
|
|
40
|
+
model: {
|
|
41
|
+
services: never[];
|
|
42
|
+
events: never[];
|
|
43
|
+
objects: never[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
/** The generated client shape is bundled into the Web module by build-client. */
|
|
47
|
+
export declare const TYPERT_REMOTE: {
|
|
48
|
+
package: string;
|
|
49
|
+
descriptors: {
|
|
50
|
+
id: string;
|
|
51
|
+
service: string;
|
|
52
|
+
namespace: string;
|
|
53
|
+
method: string;
|
|
54
|
+
invocation: {
|
|
55
|
+
kind: "direct";
|
|
56
|
+
};
|
|
57
|
+
parameters: {
|
|
58
|
+
name: string;
|
|
59
|
+
wire: string;
|
|
60
|
+
source: "json";
|
|
61
|
+
codec: {
|
|
62
|
+
mode: "strict";
|
|
63
|
+
typeSymbol: string;
|
|
64
|
+
schema: z.ZodString;
|
|
65
|
+
};
|
|
66
|
+
}[];
|
|
67
|
+
result: {
|
|
68
|
+
mode: "strict";
|
|
69
|
+
typeSymbol: string;
|
|
70
|
+
schema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
text: z.ZodString;
|
|
73
|
+
createdAt: z.ZodNumber;
|
|
74
|
+
}, z.core.$strip>>>>;
|
|
75
|
+
};
|
|
76
|
+
sourceLocation: {
|
|
77
|
+
file: string;
|
|
78
|
+
line: number;
|
|
79
|
+
column: number;
|
|
80
|
+
};
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=typert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typert.d.ts","sourceRoot":"","sources":["../src/typert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,6EAA6E;AAC7E,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBW,CAAA;AAE9B,iFAAiF;AACjF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGzB,CAAA"}
|
package/lib/typert.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const sessionId = z.string().min(1);
|
|
3
|
+
const notice = z.object({
|
|
4
|
+
id: z.string().min(1),
|
|
5
|
+
text: z.string(),
|
|
6
|
+
createdAt: z.number().finite(),
|
|
7
|
+
}).readonly();
|
|
8
|
+
/** Strict Host and client descriptor for owner-scoped accepted reminders. */
|
|
9
|
+
export const TYPERT = {
|
|
10
|
+
package: '@dsh-enhanced/assistant-web-owner',
|
|
11
|
+
face: 'host',
|
|
12
|
+
schemas: [],
|
|
13
|
+
invocations: [{
|
|
14
|
+
id: '@dsh-enhanced/assistant-web-owner#deliveryNotices/list',
|
|
15
|
+
service: 'deliveryNotices',
|
|
16
|
+
namespace: 'deliveryNotices',
|
|
17
|
+
method: 'list',
|
|
18
|
+
invocation: { kind: 'direct' },
|
|
19
|
+
parameters: [{
|
|
20
|
+
name: 'sessionId', wire: 'sessionId', source: 'json',
|
|
21
|
+
codec: { mode: 'strict', typeSymbol: '@deepseek-ai/dsh-session/types#SessionId', schema: sessionId },
|
|
22
|
+
}],
|
|
23
|
+
result: {
|
|
24
|
+
mode: 'strict',
|
|
25
|
+
typeSymbol: '@dsh-enhanced/assistant-web-owner#DeliveryNotice[]',
|
|
26
|
+
schema: z.array(notice).readonly(),
|
|
27
|
+
},
|
|
28
|
+
sourceLocation: { file: 'plugins/assistant-web-owner/src/typert.ts', line: 15, column: 3 },
|
|
29
|
+
}],
|
|
30
|
+
model: { services: [], events: [], objects: [] },
|
|
31
|
+
};
|
|
32
|
+
/** The generated client shape is bundled into the Web module by build-client. */
|
|
33
|
+
export const TYPERT_REMOTE = {
|
|
34
|
+
package: TYPERT.package,
|
|
35
|
+
descriptors: TYPERT.invocations,
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=typert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typert.js","sourceRoot":"","sources":["../src/typert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AACnC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAA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CAAA"}
|
package/lib/version.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAA"}
|
package/lib/version.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-enhanced/assistant-web-owner",
|
|
3
|
+
"version": "0.1.30",
|
|
4
|
+
"description": "A DeepSeek Harness plugin for Assistant Web Owner.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./lib/index.js",
|
|
8
|
+
"types": "./lib/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"dsh-autonomy-doctor": "./bin/dsh-autonomy-doctor.js",
|
|
11
|
+
"dsh-web-owner-setup": "./bin/dsh-web-owner-setup.js"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./lib/index.d.ts",
|
|
16
|
+
"default": "./lib/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./client": {
|
|
19
|
+
"types": "./lib/client.d.ts",
|
|
20
|
+
"default": "./lib/client.js"
|
|
21
|
+
},
|
|
22
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin",
|
|
27
|
+
"lib",
|
|
28
|
+
"cordis.patch.yml",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/22-ai-00/dsh-enhanced.git",
|
|
41
|
+
"directory": "plugins/assistant-web-owner"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"deepseek",
|
|
45
|
+
"deepseek-harness",
|
|
46
|
+
"dsh-plugin"
|
|
47
|
+
],
|
|
48
|
+
"dsh": {
|
|
49
|
+
"client": {
|
|
50
|
+
"platform": "web",
|
|
51
|
+
"external": [
|
|
52
|
+
"@deepseek-ai/dsh-api-gateway/client"
|
|
53
|
+
],
|
|
54
|
+
"inject": [
|
|
55
|
+
"@deepseek-ai/dsh-api-gateway",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"bundle": {
|
|
61
|
+
"patch": "./cordis.patch.yml"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"peerDependencies": {
|
|
65
|
+
"@dsh-enhanced/event-triggers": ">=0.1.24 <0.2.0",
|
|
66
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
67
|
+
"@deepseek-ai/dsh-agent": ">=0.1.2-rc.1 <0.2.0",
|
|
68
|
+
"@deepseek-ai/dsh-api-gateway": ">=0.1.2-rc.1 <0.2.0",
|
|
69
|
+
"@deepseek-ai/dsh-typert-registry": ">=0.1.2-rc.1 <0.2.0",
|
|
70
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0",
|
|
71
|
+
"@deepseek-ai/dsh-api-session-controller": ">=0.1.2-rc.1 <0.2.0",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.2-rc.1 <0.2.0",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.2-rc.1 <0.2.0",
|
|
74
|
+
"@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.2.0",
|
|
75
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0",
|
|
76
|
+
"@deepseek-ai/dsh-workspace": ">=0.1.2-rc.1 <0.2.0",
|
|
77
|
+
"@dsh-enhanced/assistant-delivery": ">0.1.24 <0.2.0",
|
|
78
|
+
"@dsh-enhanced/assistant-isolation": ">=0.1.0 <0.2.0",
|
|
79
|
+
"@dsh-enhanced/assistant-goals": ">=0.1.0 <0.2.0",
|
|
80
|
+
"@dsh-enhanced/assistant-verifier": ">=0.1.0 <0.2.0",
|
|
81
|
+
"@dsh-enhanced/assistant-deepseek-budget": ">=0.1.0 <0.2.0",
|
|
82
|
+
"@dsh-enhanced/assistant-actions": ">=0.1.24 <0.2.0",
|
|
83
|
+
"@dsh-enhanced/assistant-skills": ">=0.1.0 <0.2.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"@dsh-enhanced/event-triggers": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@deepseek-ai/cordis": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@deepseek-ai/dsh-agent": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@deepseek-ai/dsh-api-gateway": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@deepseek-ai/dsh-typert-registry": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@deepseek-ai/dsh-typert-protocol": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@deepseek-ai/dsh-api-session-controller": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@deepseek-ai/dsh-client-ui-renderer": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@deepseek-ai/dsh-attachment": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@deepseek-ai/dsh-session": {
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"@deepseek-ai/dsh-workspace": {
|
|
120
|
+
"optional": true
|
|
121
|
+
},
|
|
122
|
+
"@dsh-enhanced/assistant-delivery": {
|
|
123
|
+
"optional": true
|
|
124
|
+
},
|
|
125
|
+
"@dsh-enhanced/assistant-isolation": {
|
|
126
|
+
"optional": true
|
|
127
|
+
},
|
|
128
|
+
"@dsh-enhanced/assistant-goals": {
|
|
129
|
+
"optional": true
|
|
130
|
+
},
|
|
131
|
+
"@dsh-enhanced/assistant-verifier": {
|
|
132
|
+
"optional": true
|
|
133
|
+
},
|
|
134
|
+
"@dsh-enhanced/assistant-deepseek-budget": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
137
|
+
"@dsh-enhanced/assistant-actions": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"@dsh-enhanced/assistant-skills": {
|
|
141
|
+
"optional": true
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"devDependencies": {
|
|
145
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
146
|
+
"@deepseek-ai/dsh-agent": "0.1.2-rc.1",
|
|
147
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.2-rc.1",
|
|
148
|
+
"@deepseek-ai/dsh-typert-registry": "0.1.2-rc.1",
|
|
149
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1",
|
|
150
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.2-rc.1",
|
|
151
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1",
|
|
152
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
|
|
153
|
+
"@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
|
|
154
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1",
|
|
155
|
+
"@deepseek-ai/dsh-workspace": "0.1.2-rc.1",
|
|
156
|
+
"@types/node": "22.20.0",
|
|
157
|
+
"@types/react": "~18.3.1",
|
|
158
|
+
"esbuild": "^0.27.0",
|
|
159
|
+
"react": "^18.2.0",
|
|
160
|
+
"typescript": "6.0.3",
|
|
161
|
+
"vitest": "4.1.8",
|
|
162
|
+
"@dsh-enhanced/event-triggers": "0.1.30",
|
|
163
|
+
"@dsh-enhanced/assistant-isolation": "0.1.30",
|
|
164
|
+
"@dsh-enhanced/assistant-delivery": "0.1.30",
|
|
165
|
+
"@dsh-enhanced/assistant-goals": "0.1.30",
|
|
166
|
+
"@dsh-enhanced/assistant-verifier": "0.1.30",
|
|
167
|
+
"@dsh-enhanced/assistant-deepseek-budget": "0.1.30",
|
|
168
|
+
"@dsh-enhanced/assistant-actions": "0.1.30",
|
|
169
|
+
"@dsh-enhanced/assistant-skills": "0.1.30"
|
|
170
|
+
},
|
|
171
|
+
"dependencies": {
|
|
172
|
+
"@deepseek-ai/schemastery": "3.18.2",
|
|
173
|
+
"zod": "4.4.3",
|
|
174
|
+
"yaml": "2.9.0"
|
|
175
|
+
},
|
|
176
|
+
"scripts": {
|
|
177
|
+
"build": "tsc -p tsconfig.build.json && node ./scripts/build-client.mjs",
|
|
178
|
+
"test": "vitest run",
|
|
179
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
180
|
+
}
|
|
181
|
+
}
|