@deepwatch/dsh-tools 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 +21 -0
- package/README.md +106 -0
- package/lib/browser.d.ts +38 -0
- package/lib/browser.js +299 -0
- package/lib/index.d.ts +129 -0
- package/lib/index.js +710 -0
- package/lib/library-generations.d.ts +107 -0
- package/lib/library-generations.js +227 -0
- package/lib/library-search.d.ts +143 -0
- package/lib/library-search.js +407 -0
- package/lib/memory.d.ts +23 -0
- package/lib/memory.js +96 -0
- package/lib/read-plane.d.ts +237 -0
- package/lib/read-plane.js +688 -0
- package/lib/receipt-journal.d.ts +101 -0
- package/lib/receipt-journal.js +246 -0
- package/lib/sensory.d.ts +48 -0
- package/lib/sensory.js +277 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +649 -0
- package/lib/typert.remote-client.d.ts +32 -0
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +405 -0
- package/package.json +83 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import type {
|
|
3
|
+
RemoteResult,
|
|
4
|
+
TypertRemoteContribution,
|
|
5
|
+
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
|
+
import type { CoreHealthRequest, CoreHealthResponse, LibraryGetRequest, LibraryGetResponse, LibraryRefreshRequest, LibraryRefreshResponse, LibrarySearchRequest, LibrarySearchResponse, ProviderTestRequest, ProviderTestResponse, RouteReadinessRequest, RouteReadinessResponse } from '@deepwatch/dsh-contracts/query/wire'
|
|
7
|
+
|
|
8
|
+
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
9
|
+
interface TypertRemoteNamespace$77617463685175657279 {
|
|
10
|
+
coreHealth: (request: CoreHealthRequest, signal?: AbortSignal) => Promise<RemoteResult<CoreHealthResponse>>
|
|
11
|
+
libraryGet: (request: LibraryGetRequest, signal?: AbortSignal) => Promise<RemoteResult<LibraryGetResponse>>
|
|
12
|
+
libraryRefresh: (request: LibraryRefreshRequest, signal?: AbortSignal) => Promise<RemoteResult<LibraryRefreshResponse>>
|
|
13
|
+
librarySearch: (request: LibrarySearchRequest, signal?: AbortSignal) => Promise<RemoteResult<LibrarySearchResponse>>
|
|
14
|
+
providerTest: (request: ProviderTestRequest, signal?: AbortSignal) => Promise<RemoteResult<ProviderTestResponse>>
|
|
15
|
+
routeReadiness: (request: RouteReadinessRequest, signal?: AbortSignal) => Promise<RemoteResult<RouteReadinessResponse>>
|
|
16
|
+
}
|
|
17
|
+
interface TypertRemoteMap {
|
|
18
|
+
'watchQuery/coreHealth': (request: CoreHealthRequest, signal?: AbortSignal) => Promise<RemoteResult<CoreHealthResponse>>
|
|
19
|
+
'watchQuery/libraryGet': (request: LibraryGetRequest, signal?: AbortSignal) => Promise<RemoteResult<LibraryGetResponse>>
|
|
20
|
+
'watchQuery/libraryRefresh': (request: LibraryRefreshRequest, signal?: AbortSignal) => Promise<RemoteResult<LibraryRefreshResponse>>
|
|
21
|
+
'watchQuery/librarySearch': (request: LibrarySearchRequest, signal?: AbortSignal) => Promise<RemoteResult<LibrarySearchResponse>>
|
|
22
|
+
'watchQuery/providerTest': (request: ProviderTestRequest, signal?: AbortSignal) => Promise<RemoteResult<ProviderTestResponse>>
|
|
23
|
+
'watchQuery/routeReadiness': (request: RouteReadinessRequest, signal?: AbortSignal) => Promise<RemoteResult<RouteReadinessResponse>>
|
|
24
|
+
}
|
|
25
|
+
interface TypertRemoteNamespaceMap {
|
|
26
|
+
'watchQuery': TypertRemoteNamespace$77617463685175657279
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare const TYPERT_REMOTE: TypertRemoteContribution
|
|
31
|
+
export default TYPERT_REMOTE
|
|
32
|
+
//# sourceMappingURL=typert.remote-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["coreHealth","libraryGet","libraryRefresh","librarySearch","providerTest","routeReadiness"],"sources":["../src/read-plane.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IAuOEA,U;IAtCAC,U;IAmBAC,c;IA/BAC,a;IA0DAC,Y;IAkBAC,c;;;IA1BAL,uB;IAtCAC,uB;IAmBAC,2B;IA/BAC,0B;IA0DAC,yB;IAkBAC,2B","ignoreList":[]}
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
const _deepwatch_dsh_tools_watchQuery_coreHealth_parameter_0$schema = z.object({
|
|
5
|
+
'protocol': z.number().readonly(),
|
|
6
|
+
'requestId': z.string().readonly(),
|
|
7
|
+
'deadlineMs': z.number().readonly(),
|
|
8
|
+
})
|
|
9
|
+
const _deepwatch_dsh_tools_watchQuery_coreHealth_result$schema = z.union([z.object({
|
|
10
|
+
'outcome': z.literal("rejected").readonly(),
|
|
11
|
+
'protocol': z.number().readonly(),
|
|
12
|
+
'requestId': z.string().readonly(),
|
|
13
|
+
'reason': z.union([z.literal("protocol_mismatch"), z.literal("malformed_request"), z.literal("request_too_large"), z.literal("identifier_invalid")]).readonly(),
|
|
14
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
15
|
+
}), z.object({
|
|
16
|
+
'outcome': z.literal("deadline_exceeded").readonly(),
|
|
17
|
+
'protocol': z.number().readonly(),
|
|
18
|
+
'requestId': z.string().readonly(),
|
|
19
|
+
'deadlineMs': z.number().readonly(),
|
|
20
|
+
}), z.object({
|
|
21
|
+
'outcome': z.literal("core_health").readonly(),
|
|
22
|
+
'protocol': z.number().readonly(),
|
|
23
|
+
'requestId': z.string().readonly(),
|
|
24
|
+
'phase': z.string().readonly(),
|
|
25
|
+
'blocker': z.union([z.literal("protocol_mismatch"), z.literal("connected"), z.literal("core_missing"), z.literal("bridge_surface_missing"), z.literal("handshake_failed"), z.literal("contract_mismatch"), z.literal("core_crashed"), z.literal("core_timeout"), z.literal("circuit_open"), z.literal("test_only_mock")]).readonly(),
|
|
26
|
+
'coreVersion': z.union([z.literal(null), z.string()]).readonly(),
|
|
27
|
+
'coreBuild': z.union([z.literal(null), z.string()]).readonly(),
|
|
28
|
+
'protocolVersion': z.union([z.literal(null), z.number()]).readonly(),
|
|
29
|
+
'protocolMin': z.union([z.literal(null), z.number()]).readonly(),
|
|
30
|
+
'transport': z.union([z.literal(null), z.string()]).readonly(),
|
|
31
|
+
'isTestOnlyMock': z.boolean().readonly(),
|
|
32
|
+
'contractsMatch': z.boolean().readonly(),
|
|
33
|
+
'contractDrift': z.array(z.string()).readonly(),
|
|
34
|
+
'lastHandshakeAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
35
|
+
'restartCount': z.number().readonly(),
|
|
36
|
+
'capabilities': z.object({
|
|
37
|
+
'ready': z.number().readonly(),
|
|
38
|
+
'unavailable': z.number().readonly(),
|
|
39
|
+
'degraded': z.number().readonly(),
|
|
40
|
+
'unknown': z.number().readonly(),
|
|
41
|
+
}).readonly(),
|
|
42
|
+
'capabilityDetails': z.array(z.object({
|
|
43
|
+
'capabilityId': z.string().readonly(),
|
|
44
|
+
'status': z.union([z.literal("implemented"), z.literal("machine_tested"), z.literal("probed"), z.literal("unavailable"), z.literal("not_tested")]).readonly(),
|
|
45
|
+
'usable': z.boolean().readonly(),
|
|
46
|
+
'missing': z.array(z.string()).readonly(),
|
|
47
|
+
'fixes': z.array(z.string()).readonly(),
|
|
48
|
+
'lastCheckedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
49
|
+
})).readonly(),
|
|
50
|
+
'fix': z.string().readonly(),
|
|
51
|
+
})])
|
|
52
|
+
const _deepwatch_dsh_tools_watchQuery_libraryGet_parameter_0$schema = z.object({
|
|
53
|
+
'protocol': z.number().readonly(),
|
|
54
|
+
'requestId': z.string().readonly(),
|
|
55
|
+
'recordId': z.string().readonly(),
|
|
56
|
+
'deadlineMs': z.number().readonly(),
|
|
57
|
+
})
|
|
58
|
+
const _deepwatch_dsh_tools_watchQuery_libraryGet_result$schema = z.union([z.object({
|
|
59
|
+
'outcome': z.literal("rejected").readonly(),
|
|
60
|
+
'protocol': z.number().readonly(),
|
|
61
|
+
'requestId': z.string().readonly(),
|
|
62
|
+
'reason': z.union([z.literal("protocol_mismatch"), z.literal("malformed_request"), z.literal("request_too_large"), z.literal("identifier_invalid")]).readonly(),
|
|
63
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
64
|
+
}), z.object({
|
|
65
|
+
'outcome': z.literal("deadline_exceeded").readonly(),
|
|
66
|
+
'protocol': z.number().readonly(),
|
|
67
|
+
'requestId': z.string().readonly(),
|
|
68
|
+
'deadlineMs': z.number().readonly(),
|
|
69
|
+
}), z.object({
|
|
70
|
+
'outcome': z.literal("record").readonly(),
|
|
71
|
+
'protocol': z.number().readonly(),
|
|
72
|
+
'requestId': z.string().readonly(),
|
|
73
|
+
'revision': z.number().readonly(),
|
|
74
|
+
'record': z.object({
|
|
75
|
+
'recordId': z.string().readonly(),
|
|
76
|
+
'revisionId': z.string().readonly(),
|
|
77
|
+
'title': z.string().readonly(),
|
|
78
|
+
'modality': z.string().readonly(),
|
|
79
|
+
'observedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
80
|
+
'source': z.string().readonly(),
|
|
81
|
+
'runId': z.union([z.literal(null), z.string()]).readonly(),
|
|
82
|
+
'verdict': z.union([z.literal(null), z.string()]).readonly(),
|
|
83
|
+
'tags': z.array(z.string()).readonly(),
|
|
84
|
+
'evidenceIds': z.array(z.string()).readonly(),
|
|
85
|
+
'current': z.boolean().readonly(),
|
|
86
|
+
}).readonly(),
|
|
87
|
+
}), z.object({
|
|
88
|
+
'outcome': z.literal("absent").readonly(),
|
|
89
|
+
'protocol': z.number().readonly(),
|
|
90
|
+
'requestId': z.string().readonly(),
|
|
91
|
+
'revision': z.number().readonly(),
|
|
92
|
+
'recordId': z.string().readonly(),
|
|
93
|
+
})])
|
|
94
|
+
const _deepwatch_dsh_tools_watchQuery_libraryRefresh_parameter_0$schema = z.object({
|
|
95
|
+
'protocol': z.number().readonly(),
|
|
96
|
+
'requestId': z.string().readonly(),
|
|
97
|
+
'deadlineMs': z.number().readonly(),
|
|
98
|
+
})
|
|
99
|
+
const _deepwatch_dsh_tools_watchQuery_libraryRefresh_result$schema = z.union([z.object({
|
|
100
|
+
'outcome': z.literal("rejected").readonly(),
|
|
101
|
+
'protocol': z.number().readonly(),
|
|
102
|
+
'requestId': z.string().readonly(),
|
|
103
|
+
'reason': z.union([z.literal("protocol_mismatch"), z.literal("malformed_request"), z.literal("request_too_large"), z.literal("identifier_invalid")]).readonly(),
|
|
104
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
105
|
+
}), z.object({
|
|
106
|
+
'outcome': z.literal("deadline_exceeded").readonly(),
|
|
107
|
+
'protocol': z.number().readonly(),
|
|
108
|
+
'requestId': z.string().readonly(),
|
|
109
|
+
'deadlineMs': z.number().readonly(),
|
|
110
|
+
}), z.object({
|
|
111
|
+
'outcome': z.literal("refreshed").readonly(),
|
|
112
|
+
'protocol': z.number().readonly(),
|
|
113
|
+
'requestId': z.string().readonly(),
|
|
114
|
+
'index': z.object({
|
|
115
|
+
'generation': z.number().readonly(),
|
|
116
|
+
'startedAt': z.string().readonly(),
|
|
117
|
+
'completedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
118
|
+
'sourceCount': z.number().readonly(),
|
|
119
|
+
'recordCount': z.number().readonly(),
|
|
120
|
+
'indexState': z.union([z.literal("ready"), z.literal("rebuilding"), z.literal("stale"), z.literal("empty")]).readonly(),
|
|
121
|
+
}).readonly(),
|
|
122
|
+
'skipped': z.array(z.string()).readonly(),
|
|
123
|
+
}), z.object({
|
|
124
|
+
'outcome': z.literal("refresh_cancelled").readonly(),
|
|
125
|
+
'protocol': z.number().readonly(),
|
|
126
|
+
'requestId': z.string().readonly(),
|
|
127
|
+
'index': z.object({
|
|
128
|
+
'generation': z.number().readonly(),
|
|
129
|
+
'startedAt': z.string().readonly(),
|
|
130
|
+
'completedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
131
|
+
'sourceCount': z.number().readonly(),
|
|
132
|
+
'recordCount': z.number().readonly(),
|
|
133
|
+
'indexState': z.union([z.literal("ready"), z.literal("rebuilding"), z.literal("stale"), z.literal("empty")]).readonly(),
|
|
134
|
+
}).readonly(),
|
|
135
|
+
}), z.object({
|
|
136
|
+
'outcome': z.literal("refresh_failed").readonly(),
|
|
137
|
+
'protocol': z.number().readonly(),
|
|
138
|
+
'requestId': z.string().readonly(),
|
|
139
|
+
'reason': z.string().readonly(),
|
|
140
|
+
'index': z.object({
|
|
141
|
+
'generation': z.number().readonly(),
|
|
142
|
+
'startedAt': z.string().readonly(),
|
|
143
|
+
'completedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
144
|
+
'sourceCount': z.number().readonly(),
|
|
145
|
+
'recordCount': z.number().readonly(),
|
|
146
|
+
'indexState': z.union([z.literal("ready"), z.literal("rebuilding"), z.literal("stale"), z.literal("empty")]).readonly(),
|
|
147
|
+
}).readonly(),
|
|
148
|
+
})])
|
|
149
|
+
const _deepwatch_dsh_tools_watchQuery_librarySearch_parameter_0$schema = z.object({
|
|
150
|
+
'protocol': z.number().readonly(),
|
|
151
|
+
'requestId': z.string().readonly(),
|
|
152
|
+
'query': z.string().readonly(),
|
|
153
|
+
'modalities': z.array(z.string()).readonly(),
|
|
154
|
+
'limit': z.number().readonly(),
|
|
155
|
+
'cursor': z.union([z.literal(null), z.string()]).readonly(),
|
|
156
|
+
'deadlineMs': z.number().readonly(),
|
|
157
|
+
})
|
|
158
|
+
const _deepwatch_dsh_tools_watchQuery_librarySearch_result$schema = z.union([z.object({
|
|
159
|
+
'outcome': z.literal("page").readonly(),
|
|
160
|
+
'protocol': z.number().readonly(),
|
|
161
|
+
'requestId': z.string().readonly(),
|
|
162
|
+
'revision': z.number().readonly(),
|
|
163
|
+
'generation': z.number().readonly(),
|
|
164
|
+
'records': z.array(z.object({
|
|
165
|
+
'recordId': z.string().readonly(),
|
|
166
|
+
'revisionId': z.string().readonly(),
|
|
167
|
+
'title': z.string().readonly(),
|
|
168
|
+
'modality': z.string().readonly(),
|
|
169
|
+
'observedAt': z.union([z.literal(null), z.string()]).readonly(),
|
|
170
|
+
'source': z.string().readonly(),
|
|
171
|
+
'runId': z.union([z.literal(null), z.string()]).readonly(),
|
|
172
|
+
'verdict': z.union([z.literal(null), z.string()]).readonly(),
|
|
173
|
+
'tags': z.array(z.string()).readonly(),
|
|
174
|
+
'evidenceIds': z.array(z.string()).readonly(),
|
|
175
|
+
'current': z.boolean().readonly(),
|
|
176
|
+
})).readonly(),
|
|
177
|
+
'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
|
|
178
|
+
'total': z.number().readonly(),
|
|
179
|
+
'indexState': z.union([z.literal("ready"), z.literal("rebuilding"), z.literal("stale"), z.literal("empty")]).readonly(),
|
|
180
|
+
}), z.object({
|
|
181
|
+
'outcome': z.literal("cursor_expired").readonly(),
|
|
182
|
+
'protocol': z.number().readonly(),
|
|
183
|
+
'requestId': z.string().readonly(),
|
|
184
|
+
'revision': z.number().readonly(),
|
|
185
|
+
}), z.object({
|
|
186
|
+
'outcome': z.literal("rejected").readonly(),
|
|
187
|
+
'protocol': z.number().readonly(),
|
|
188
|
+
'requestId': z.string().readonly(),
|
|
189
|
+
'reason': z.union([z.literal("protocol_mismatch"), z.literal("malformed_request"), z.literal("request_too_large"), z.literal("identifier_invalid")]).readonly(),
|
|
190
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
191
|
+
}), z.object({
|
|
192
|
+
'outcome': z.literal("deadline_exceeded").readonly(),
|
|
193
|
+
'protocol': z.number().readonly(),
|
|
194
|
+
'requestId': z.string().readonly(),
|
|
195
|
+
'deadlineMs': z.number().readonly(),
|
|
196
|
+
})])
|
|
197
|
+
const _deepwatch_dsh_tools_watchQuery_providerTest_parameter_0$schema = z.object({
|
|
198
|
+
'protocol': z.number().readonly(),
|
|
199
|
+
'requestId': z.string().readonly(),
|
|
200
|
+
'deadlineMs': z.number().readonly(),
|
|
201
|
+
'provider': z.string().readonly(),
|
|
202
|
+
'model': z.string().readonly(),
|
|
203
|
+
})
|
|
204
|
+
const _deepwatch_dsh_tools_watchQuery_providerTest_result$schema = z.object({
|
|
205
|
+
'outcome': z.literal("provider_test").readonly(),
|
|
206
|
+
'protocol': z.number().readonly(),
|
|
207
|
+
'requestId': z.string().readonly(),
|
|
208
|
+
'provider': z.string().readonly(),
|
|
209
|
+
'model': z.string().readonly(),
|
|
210
|
+
'ok': z.boolean().readonly(),
|
|
211
|
+
'credential': z.union([z.literal("rejected"), z.literal("configured_unverified"), z.literal("verified")]).readonly(),
|
|
212
|
+
'reachability': z.union([z.literal("reachable"), z.literal("unreachable"), z.literal("rate_limited"), z.literal("unauthorized")]).readonly(),
|
|
213
|
+
'message': z.string().readonly(),
|
|
214
|
+
})
|
|
215
|
+
const _deepwatch_dsh_tools_watchQuery_routeReadiness_parameter_0$schema = z.object({
|
|
216
|
+
'protocol': z.number().readonly(),
|
|
217
|
+
'requestId': z.string().readonly(),
|
|
218
|
+
'deadlineMs': z.number().readonly(),
|
|
219
|
+
'provider': z.string().readonly(),
|
|
220
|
+
'model': z.string().readonly(),
|
|
221
|
+
})
|
|
222
|
+
const _deepwatch_dsh_tools_watchQuery_routeReadiness_result$schema = z.union([z.object({
|
|
223
|
+
'outcome': z.literal("rejected").readonly(),
|
|
224
|
+
'protocol': z.number().readonly(),
|
|
225
|
+
'requestId': z.string().readonly(),
|
|
226
|
+
'reason': z.union([z.literal("protocol_mismatch"), z.literal("malformed_request"), z.literal("request_too_large"), z.literal("identifier_invalid")]).readonly(),
|
|
227
|
+
'field': z.union([z.literal(null), z.string()]).readonly(),
|
|
228
|
+
}), z.object({
|
|
229
|
+
'outcome': z.literal("deadline_exceeded").readonly(),
|
|
230
|
+
'protocol': z.number().readonly(),
|
|
231
|
+
'requestId': z.string().readonly(),
|
|
232
|
+
'deadlineMs': z.number().readonly(),
|
|
233
|
+
}), z.object({
|
|
234
|
+
'outcome': z.literal("route_readiness").readonly(),
|
|
235
|
+
'protocol': z.number().readonly(),
|
|
236
|
+
'requestId': z.string().readonly(),
|
|
237
|
+
'provider': z.string().readonly(),
|
|
238
|
+
'model': z.string().readonly(),
|
|
239
|
+
'proved': z.boolean().readonly(),
|
|
240
|
+
'reason': z.union([z.literal("proved"), z.literal("never_tested"), z.literal("configuration_changed"), z.literal("unreadable")]).readonly(),
|
|
241
|
+
})])
|
|
242
|
+
|
|
243
|
+
export const TYPERT_REMOTE = {
|
|
244
|
+
package: '@deepwatch/dsh-tools',
|
|
245
|
+
descriptors: [
|
|
246
|
+
{
|
|
247
|
+
id: '@deepwatch/dsh-tools#watchQuery/coreHealth',
|
|
248
|
+
service: 'watchQuery',
|
|
249
|
+
namespace: 'watchQuery',
|
|
250
|
+
method: 'coreHealth',
|
|
251
|
+
invocation: { kind: 'direct' },
|
|
252
|
+
parameters: [
|
|
253
|
+
{
|
|
254
|
+
name: 'request',
|
|
255
|
+
wire: 'request',
|
|
256
|
+
source: 'json',
|
|
257
|
+
codec: {
|
|
258
|
+
mode: 'strict',
|
|
259
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#CoreHealthRequest',
|
|
260
|
+
schema: _deepwatch_dsh_tools_watchQuery_coreHealth_parameter_0$schema,
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
cancellation: { parameter: 'signal' },
|
|
265
|
+
result: {
|
|
266
|
+
mode: 'strict',
|
|
267
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#CoreHealthResponse',
|
|
268
|
+
schema: _deepwatch_dsh_tools_watchQuery_coreHealth_result$schema,
|
|
269
|
+
},
|
|
270
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":232,"column":3},
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
id: '@deepwatch/dsh-tools#watchQuery/libraryGet',
|
|
274
|
+
service: 'watchQuery',
|
|
275
|
+
namespace: 'watchQuery',
|
|
276
|
+
method: 'libraryGet',
|
|
277
|
+
invocation: { kind: 'direct' },
|
|
278
|
+
parameters: [
|
|
279
|
+
{
|
|
280
|
+
name: 'request',
|
|
281
|
+
wire: 'request',
|
|
282
|
+
source: 'json',
|
|
283
|
+
codec: {
|
|
284
|
+
mode: 'strict',
|
|
285
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibraryGetRequest',
|
|
286
|
+
schema: _deepwatch_dsh_tools_watchQuery_libraryGet_parameter_0$schema,
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
cancellation: { parameter: 'signal' },
|
|
291
|
+
result: {
|
|
292
|
+
mode: 'strict',
|
|
293
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibraryGetResponse',
|
|
294
|
+
schema: _deepwatch_dsh_tools_watchQuery_libraryGet_result$schema,
|
|
295
|
+
},
|
|
296
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":194,"column":3},
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: '@deepwatch/dsh-tools#watchQuery/libraryRefresh',
|
|
300
|
+
service: 'watchQuery',
|
|
301
|
+
namespace: 'watchQuery',
|
|
302
|
+
method: 'libraryRefresh',
|
|
303
|
+
invocation: { kind: 'direct' },
|
|
304
|
+
parameters: [
|
|
305
|
+
{
|
|
306
|
+
name: 'request',
|
|
307
|
+
wire: 'request',
|
|
308
|
+
source: 'json',
|
|
309
|
+
codec: {
|
|
310
|
+
mode: 'strict',
|
|
311
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibraryRefreshRequest',
|
|
312
|
+
schema: _deepwatch_dsh_tools_watchQuery_libraryRefresh_parameter_0$schema,
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
cancellation: { parameter: 'signal' },
|
|
317
|
+
result: {
|
|
318
|
+
mode: 'strict',
|
|
319
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibraryRefreshResponse',
|
|
320
|
+
schema: _deepwatch_dsh_tools_watchQuery_libraryRefresh_result$schema,
|
|
321
|
+
},
|
|
322
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":213,"column":3},
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
id: '@deepwatch/dsh-tools#watchQuery/librarySearch',
|
|
326
|
+
service: 'watchQuery',
|
|
327
|
+
namespace: 'watchQuery',
|
|
328
|
+
method: 'librarySearch',
|
|
329
|
+
invocation: { kind: 'direct' },
|
|
330
|
+
parameters: [
|
|
331
|
+
{
|
|
332
|
+
name: 'request',
|
|
333
|
+
wire: 'request',
|
|
334
|
+
source: 'json',
|
|
335
|
+
codec: {
|
|
336
|
+
mode: 'strict',
|
|
337
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibrarySearchRequest',
|
|
338
|
+
schema: _deepwatch_dsh_tools_watchQuery_librarySearch_parameter_0$schema,
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
cancellation: { parameter: 'signal' },
|
|
343
|
+
result: {
|
|
344
|
+
mode: 'strict',
|
|
345
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#LibrarySearchResponse',
|
|
346
|
+
schema: _deepwatch_dsh_tools_watchQuery_librarySearch_result$schema,
|
|
347
|
+
},
|
|
348
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":182,"column":3},
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: '@deepwatch/dsh-tools#watchQuery/providerTest',
|
|
352
|
+
service: 'watchQuery',
|
|
353
|
+
namespace: 'watchQuery',
|
|
354
|
+
method: 'providerTest',
|
|
355
|
+
invocation: { kind: 'direct' },
|
|
356
|
+
parameters: [
|
|
357
|
+
{
|
|
358
|
+
name: 'request',
|
|
359
|
+
wire: 'request',
|
|
360
|
+
source: 'json',
|
|
361
|
+
codec: {
|
|
362
|
+
mode: 'strict',
|
|
363
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#ProviderTestRequest',
|
|
364
|
+
schema: _deepwatch_dsh_tools_watchQuery_providerTest_parameter_0$schema,
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
cancellation: { parameter: 'signal' },
|
|
369
|
+
result: {
|
|
370
|
+
mode: 'strict',
|
|
371
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#ProviderTestResponse',
|
|
372
|
+
schema: _deepwatch_dsh_tools_watchQuery_providerTest_result$schema,
|
|
373
|
+
},
|
|
374
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":240,"column":3},
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
id: '@deepwatch/dsh-tools#watchQuery/routeReadiness',
|
|
378
|
+
service: 'watchQuery',
|
|
379
|
+
namespace: 'watchQuery',
|
|
380
|
+
method: 'routeReadiness',
|
|
381
|
+
invocation: { kind: 'direct' },
|
|
382
|
+
parameters: [
|
|
383
|
+
{
|
|
384
|
+
name: 'request',
|
|
385
|
+
wire: 'request',
|
|
386
|
+
source: 'json',
|
|
387
|
+
codec: {
|
|
388
|
+
mode: 'strict',
|
|
389
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#RouteReadinessRequest',
|
|
390
|
+
schema: _deepwatch_dsh_tools_watchQuery_routeReadiness_parameter_0$schema,
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
cancellation: { parameter: 'signal' },
|
|
395
|
+
result: {
|
|
396
|
+
mode: 'strict',
|
|
397
|
+
typeSymbol: '@deepwatch/dsh-contracts/query/wire#RouteReadinessResponse',
|
|
398
|
+
schema: _deepwatch_dsh_tools_watchQuery_routeReadiness_result$schema,
|
|
399
|
+
},
|
|
400
|
+
sourceLocation: {"file":"packages/watch/tools/src/read-plane.ts","line":258,"column":3},
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export default TYPERT_REMOTE
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deepwatch/dsh-tools",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Host plugin: Watch capabilities registered as DeepSeek Harness agent tools",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Sayed Allam",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/oxbshw/watch-skill.git",
|
|
11
|
+
"directory": "workspace/packages/watch/tools"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/oxbshw/watch-skill/tree/main/workspace#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/oxbshw/watch-skill/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"deepwatch",
|
|
19
|
+
"deepseek-harness",
|
|
20
|
+
"watch-skill",
|
|
21
|
+
"tools",
|
|
22
|
+
"agent"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./lib/index.d.ts",
|
|
29
|
+
"default": "./lib/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./typert": {
|
|
32
|
+
"types": "./lib/typert.host.d.ts",
|
|
33
|
+
"default": "./lib/typert.host.js"
|
|
34
|
+
},
|
|
35
|
+
"./remote": {
|
|
36
|
+
"types": "./lib/typert.remote-client.d.ts",
|
|
37
|
+
"default": "./lib/typert.remote-client.js"
|
|
38
|
+
},
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"lib/**/*.js",
|
|
43
|
+
"lib/**/*.d.ts",
|
|
44
|
+
"lib/typert.host.js",
|
|
45
|
+
"lib/typert.host.d.ts",
|
|
46
|
+
"lib/typert.remote-client.js",
|
|
47
|
+
"lib/typert.remote-client.d.ts",
|
|
48
|
+
"lib/typert.remote-client.d.ts.map"
|
|
49
|
+
],
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@deepwatch/dsh-contracts": "^0.1.0",
|
|
59
|
+
"@deepwatch/dsh-core-bridge": "^0.1.0",
|
|
60
|
+
"@deepwatch/dsh-library": "^0.1.0",
|
|
61
|
+
"@deepwatch/dsh-memory": "^0.1.0"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
65
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.1-rc.2",
|
|
70
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
71
|
+
"zod": "^4.5.2"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@deepseek-ai/cordis": "4.0.2",
|
|
75
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.1-rc.2",
|
|
80
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
81
|
+
"zod": "^4.5.2"
|
|
82
|
+
}
|
|
83
|
+
}
|