@deepseek-ai/dsh-cordis-host-runner 0.0.1-rc.3
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 +28 -0
- package/README.i18n.yaml +6 -0
- package/README.md +72 -0
- package/README.zh.md +72 -0
- package/lib/index.js +2573 -0
- package/lib/invariant.js +25 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1897 -0
- package/lib/typert.remote-client.d.ts +55 -0
- package/lib/typert.remote-client.js +769 -0
- package/lib/types/guard.d.ts +71 -0
- package/lib/types/guard.js +766 -0
- package/lib/types/index.d.ts +270 -0
- package/lib/types/index.js +1151 -0
- package/lib/types/inspect-registry.d.ts +72 -0
- package/lib/types/inspect-registry.js +192 -0
- package/lib/types/invariant.d.ts +16 -0
- package/lib/types/invariant.js +24 -0
- package/lib/types/lifecycle.d.ts +29 -0
- package/lib/types/lifecycle.js +49 -0
- package/lib/types/registry.d.ts +225 -0
- package/lib/types/registry.js +131 -0
- package/lib/types/sandbox.d.ts +93 -0
- package/lib/types/sandbox.js +223 -0
- package/lib/types/types.d.ts +359 -0
- package/lib/types/types.js +6 -0
- package/package.json +78 -0
|
@@ -0,0 +1,1897 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
const JsonValueRemoteCodec$schema = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema))])
|
|
5
|
+
const JsonValueRemoteCodec$schema2 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema2)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema2))])
|
|
6
|
+
const JsonValueRemoteCodec$schema3 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema3))])
|
|
7
|
+
const JsonValueRemoteCodec$schema4 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema4)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema4))])
|
|
8
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
9
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
10
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_2$schema = z.intersection(z.string(), z.unknown())
|
|
11
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_result$schema = z.object({
|
|
12
|
+
'code': z.string(),
|
|
13
|
+
'name': z.string(),
|
|
14
|
+
'pluginId': z.intersection(z.string(), z.unknown()),
|
|
15
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
16
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
17
|
+
})
|
|
18
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_inventory_result$schema = z.array(z.object({
|
|
19
|
+
'pluginId': z.intersection(z.string(), z.unknown()),
|
|
20
|
+
'agentId': z.intersection(z.string(), z.unknown()),
|
|
21
|
+
'packages': z.array(z.object({
|
|
22
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
23
|
+
'name': z.string(),
|
|
24
|
+
'purpose': z.string(),
|
|
25
|
+
'hasHostHalf': z.boolean(),
|
|
26
|
+
'hasClientHalf': z.boolean(),
|
|
27
|
+
})),
|
|
28
|
+
'currentPackageId': z.intersection(z.string(), z.unknown()).optional(),
|
|
29
|
+
'nextPackageId': z.intersection(z.string(), z.unknown()).optional(),
|
|
30
|
+
'activeRun': z.object({
|
|
31
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
32
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
33
|
+
}).optional(),
|
|
34
|
+
'latestRun': z.object({
|
|
35
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
36
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
37
|
+
'mode': z.union([z.literal("run"), z.literal("update")]),
|
|
38
|
+
'status': z.union([z.literal("rejected"), z.literal("awaiting-approval"), z.literal("running"), z.literal("cancelled"), z.literal("starting-host"), z.literal("client-pending"), z.literal("waiting"), z.literal("failed"), z.literal("stopped")]),
|
|
39
|
+
'approvalRequestId': z.intersection(z.string(), z.unknown()).optional(),
|
|
40
|
+
'requiresApproval': z.boolean().optional(),
|
|
41
|
+
'host': z.object({
|
|
42
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("stopped"), z.literal("absent"), z.literal("pending")]),
|
|
43
|
+
'waitingFor': z.array(z.string()),
|
|
44
|
+
'error': z.string().optional(),
|
|
45
|
+
}),
|
|
46
|
+
'client': z.object({
|
|
47
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("stopped"), z.literal("absent"), z.literal("pending")]),
|
|
48
|
+
'waitingFor': z.array(z.string()),
|
|
49
|
+
'error': z.string().optional(),
|
|
50
|
+
}),
|
|
51
|
+
'error': z.object({
|
|
52
|
+
'phase': z.union([z.literal("approval"), z.literal("host-load"), z.literal("host-apply"), z.literal("client-load"), z.literal("client-apply"), z.literal("client-render")]),
|
|
53
|
+
'message': z.string(),
|
|
54
|
+
'stack': z.string().optional(),
|
|
55
|
+
'pluginId': z.intersection(z.string(), z.unknown()),
|
|
56
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
57
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
58
|
+
}).optional(),
|
|
59
|
+
}).optional(),
|
|
60
|
+
}))
|
|
61
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
62
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
63
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_2$schema = z.string()
|
|
64
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_3$schema = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema3))])
|
|
65
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_result$schema = z.union([z.object({
|
|
66
|
+
'ok': z.literal(true),
|
|
67
|
+
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema4)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema4))]),
|
|
68
|
+
}), z.intersection(z.object({
|
|
69
|
+
'ok': z.literal(false),
|
|
70
|
+
'code': z.union([z.literal("plugin-not-running"), z.literal("stale-run"), z.literal("method-not-found"), z.literal("handler-error")]),
|
|
71
|
+
}), z.object({
|
|
72
|
+
'message': z.string(),
|
|
73
|
+
'stack': z.string().optional(),
|
|
74
|
+
}))])
|
|
75
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
76
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
77
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_2$schema = z.intersection(z.string(), z.unknown())
|
|
78
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_3$schema = z.object({
|
|
79
|
+
'message': z.string(),
|
|
80
|
+
'stack': z.string().optional(),
|
|
81
|
+
})
|
|
82
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_result$schema = z.literal(null)
|
|
83
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
84
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
85
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_2$schema = z.intersection(z.string(), z.unknown())
|
|
86
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_3$schema = z.object({
|
|
87
|
+
'slot': z.string(),
|
|
88
|
+
'message': z.string(),
|
|
89
|
+
'stack': z.string().optional(),
|
|
90
|
+
'abdicated': z.boolean(),
|
|
91
|
+
})
|
|
92
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_result$schema = z.literal(null)
|
|
93
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
94
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
95
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_2$schema = z.union([z.object({
|
|
96
|
+
'ok': z.literal(true),
|
|
97
|
+
'data': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema2)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema2))]),
|
|
98
|
+
}), z.object({
|
|
99
|
+
'ok': z.literal(false),
|
|
100
|
+
'reason': z.union([z.literal("cancelled"), z.literal("provider-missing"), z.literal("method-missing"), z.literal("invalid-input"), z.literal("provider-error")]),
|
|
101
|
+
'message': z.string(),
|
|
102
|
+
})])
|
|
103
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_result$schema = z.object({
|
|
104
|
+
'accepted': z.boolean(),
|
|
105
|
+
})
|
|
106
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
107
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_1$schema = z.union([z.object({
|
|
108
|
+
'ok': z.literal(true),
|
|
109
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
110
|
+
'waitingFor': z.array(z.string()).optional(),
|
|
111
|
+
}), z.object({
|
|
112
|
+
'ok': z.literal(false),
|
|
113
|
+
'reason': z.union([z.literal("rejected"), z.literal("host-half-failed"), z.literal("client-half-failed")]),
|
|
114
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()).optional(),
|
|
115
|
+
'startedHere': z.boolean().optional(),
|
|
116
|
+
'message': z.string().optional(),
|
|
117
|
+
'stack': z.string().optional(),
|
|
118
|
+
})])
|
|
119
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_result$schema = z.object({
|
|
120
|
+
'accepted': z.boolean(),
|
|
121
|
+
})
|
|
122
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
123
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
124
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema = z.intersection(z.string(), z.unknown())
|
|
125
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema = z.union([z.literal("run"), z.literal("update")])
|
|
126
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema = z.union([z.literal(null), z.intersection(z.string(), z.unknown())])
|
|
127
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema = z.boolean()
|
|
128
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_result$schema = z.union([z.object({
|
|
129
|
+
'ok': z.literal(true),
|
|
130
|
+
'pluginId': z.intersection(z.string(), z.unknown()),
|
|
131
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
132
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
133
|
+
'waitingFor': z.array(z.string()),
|
|
134
|
+
'startedHere': z.boolean(),
|
|
135
|
+
}), z.intersection(z.object({
|
|
136
|
+
'ok': z.literal(false),
|
|
137
|
+
}), z.object({
|
|
138
|
+
'message': z.string(),
|
|
139
|
+
'stack': z.string().optional(),
|
|
140
|
+
}))])
|
|
141
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
142
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
143
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema = z.union([z.object({
|
|
144
|
+
'ok': z.literal(true),
|
|
145
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
146
|
+
'waitingFor': z.array(z.string()).optional(),
|
|
147
|
+
}), z.object({
|
|
148
|
+
'ok': z.literal(false),
|
|
149
|
+
'reason': z.union([z.literal("rejected"), z.literal("host-half-failed"), z.literal("client-half-failed")]),
|
|
150
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()).optional(),
|
|
151
|
+
'startedHere': z.boolean().optional(),
|
|
152
|
+
'message': z.string().optional(),
|
|
153
|
+
'stack': z.string().optional(),
|
|
154
|
+
})])
|
|
155
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema = z.union([z.object({
|
|
156
|
+
'ok': z.literal(true),
|
|
157
|
+
'status': z.union([z.literal("awaiting-approval"), z.literal("starting"), z.literal("running")]),
|
|
158
|
+
'pluginId': z.intersection(z.string(), z.unknown()),
|
|
159
|
+
'packageId': z.intersection(z.string(), z.unknown()),
|
|
160
|
+
'pluginRunId': z.intersection(z.string(), z.unknown()),
|
|
161
|
+
'waitingFor': z.array(z.string()),
|
|
162
|
+
'clientWaitingFor': z.array(z.string()).optional(),
|
|
163
|
+
'currentPackageId': z.intersection(z.string(), z.unknown()).optional(),
|
|
164
|
+
'nextPackageId': z.intersection(z.string(), z.unknown()).optional(),
|
|
165
|
+
'mode': z.union([z.literal("run"), z.literal("update")]),
|
|
166
|
+
}), z.object({
|
|
167
|
+
'ok': z.literal(false),
|
|
168
|
+
'reason': z.union([z.literal("plugin-missing"), z.literal("rejected"), z.literal("host-half-failed"), z.literal("client-half-failed"), z.literal("package-missing"), z.literal("invalid-mode"), z.literal("transition-in-flight"), z.literal("cancelled"), z.literal("not-running")]),
|
|
169
|
+
'message': z.string(),
|
|
170
|
+
'stack': z.string().optional(),
|
|
171
|
+
})])
|
|
172
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
173
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
174
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_result$schema = z.union([z.object({
|
|
175
|
+
'ok': z.literal(true),
|
|
176
|
+
}), z.object({
|
|
177
|
+
'ok': z.literal(false),
|
|
178
|
+
'reason': z.union([z.literal("plugin-missing"), z.literal("not-running")]),
|
|
179
|
+
'message': z.string(),
|
|
180
|
+
})])
|
|
181
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_parameter_0$schema = z.array(z.object({
|
|
182
|
+
'id': z.string(),
|
|
183
|
+
'description': z.string(),
|
|
184
|
+
'methods': z.array(z.object({
|
|
185
|
+
'name': z.string(),
|
|
186
|
+
'description': z.string(),
|
|
187
|
+
'inputSchema': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema))]),
|
|
188
|
+
'outputSchema': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => JsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => JsonValueRemoteCodec$schema))]),
|
|
189
|
+
})),
|
|
190
|
+
}))
|
|
191
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_result$schema = z.literal(null)
|
|
192
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
193
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1$schema = z.intersection(z.string(), z.unknown())
|
|
194
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_result$schema = z.union([z.object({
|
|
195
|
+
'ok': z.literal(true),
|
|
196
|
+
'wasRunning': z.boolean(),
|
|
197
|
+
}), z.object({
|
|
198
|
+
'ok': z.literal(false),
|
|
199
|
+
'reason': z.literal("plugin-missing"),
|
|
200
|
+
'message': z.string(),
|
|
201
|
+
})])
|
|
202
|
+
|
|
203
|
+
export const TYPERT = {
|
|
204
|
+
package: '@deepseek-ai/dsh-cordis-host-runner',
|
|
205
|
+
face: 'host',
|
|
206
|
+
schemas: [
|
|
207
|
+
],
|
|
208
|
+
invocations: [
|
|
209
|
+
{
|
|
210
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/getClientCode',
|
|
211
|
+
service: 'dynamicCordisRunner',
|
|
212
|
+
namespace: 'dynamicCordisRunner',
|
|
213
|
+
method: 'getClientCode',
|
|
214
|
+
invocation: { kind: 'direct' },
|
|
215
|
+
scope: {
|
|
216
|
+
context: 'agent',
|
|
217
|
+
wire: 'agentId',
|
|
218
|
+
},
|
|
219
|
+
parameters: [
|
|
220
|
+
{
|
|
221
|
+
name: 'agent',
|
|
222
|
+
wire: 'agentId',
|
|
223
|
+
source: 'lookup',
|
|
224
|
+
lookup: 'agent',
|
|
225
|
+
codec: {
|
|
226
|
+
mode: 'strict',
|
|
227
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
228
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_0$schema,
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'pluginId',
|
|
233
|
+
wire: 'pluginId',
|
|
234
|
+
source: 'json',
|
|
235
|
+
codec: {
|
|
236
|
+
mode: 'strict',
|
|
237
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
238
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_1$schema,
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: 'pluginRunId',
|
|
243
|
+
wire: 'pluginRunId',
|
|
244
|
+
source: 'json',
|
|
245
|
+
codec: {
|
|
246
|
+
mode: 'strict',
|
|
247
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId',
|
|
248
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_2$schema,
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
result: {
|
|
253
|
+
mode: 'strict',
|
|
254
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisClientSource',
|
|
255
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_result$schema,
|
|
256
|
+
},
|
|
257
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":384,"column":3},
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/inventory',
|
|
261
|
+
service: 'dynamicCordisRunner',
|
|
262
|
+
namespace: 'dynamicCordisRunner',
|
|
263
|
+
method: 'inventory',
|
|
264
|
+
invocation: { kind: 'direct' },
|
|
265
|
+
parameters: [
|
|
266
|
+
],
|
|
267
|
+
result: {
|
|
268
|
+
mode: 'strict',
|
|
269
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/inventory:result',
|
|
270
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_inventory_result$schema,
|
|
271
|
+
},
|
|
272
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":525,"column":3},
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/invoke',
|
|
276
|
+
service: 'dynamicCordisRunner',
|
|
277
|
+
namespace: 'dynamicCordisRunner',
|
|
278
|
+
method: 'invoke',
|
|
279
|
+
invocation: { kind: 'direct' },
|
|
280
|
+
parameters: [
|
|
281
|
+
{
|
|
282
|
+
name: 'pluginId',
|
|
283
|
+
wire: 'pluginId',
|
|
284
|
+
source: 'json',
|
|
285
|
+
codec: {
|
|
286
|
+
mode: 'strict',
|
|
287
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
288
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_0$schema,
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: 'pluginRunId',
|
|
293
|
+
wire: 'pluginRunId',
|
|
294
|
+
source: 'json',
|
|
295
|
+
codec: {
|
|
296
|
+
mode: 'strict',
|
|
297
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId',
|
|
298
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_1$schema,
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'method',
|
|
303
|
+
wire: 'method',
|
|
304
|
+
source: 'json',
|
|
305
|
+
codec: {
|
|
306
|
+
mode: 'strict',
|
|
307
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/invoke:method',
|
|
308
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_2$schema,
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'args',
|
|
313
|
+
wire: 'args',
|
|
314
|
+
source: 'json',
|
|
315
|
+
codec: {
|
|
316
|
+
mode: 'strict',
|
|
317
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#JsonValue',
|
|
318
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_3$schema,
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
],
|
|
322
|
+
result: {
|
|
323
|
+
mode: 'strict',
|
|
324
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisInvokeResult',
|
|
325
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_result$schema,
|
|
326
|
+
},
|
|
327
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":741,"column":9},
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportClientGuardFailure',
|
|
331
|
+
service: 'dynamicCordisRunner',
|
|
332
|
+
namespace: 'dynamicCordisRunner',
|
|
333
|
+
method: 'reportClientGuardFailure',
|
|
334
|
+
invocation: { kind: 'direct' },
|
|
335
|
+
scope: {
|
|
336
|
+
context: 'agent',
|
|
337
|
+
wire: 'agentId',
|
|
338
|
+
},
|
|
339
|
+
parameters: [
|
|
340
|
+
{
|
|
341
|
+
name: 'agent',
|
|
342
|
+
wire: 'agentId',
|
|
343
|
+
source: 'lookup',
|
|
344
|
+
lookup: 'agent',
|
|
345
|
+
codec: {
|
|
346
|
+
mode: 'strict',
|
|
347
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
348
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_0$schema,
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
name: 'pluginId',
|
|
353
|
+
wire: 'pluginId',
|
|
354
|
+
source: 'json',
|
|
355
|
+
codec: {
|
|
356
|
+
mode: 'strict',
|
|
357
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
358
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_1$schema,
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: 'pluginRunId',
|
|
363
|
+
wire: 'pluginRunId',
|
|
364
|
+
source: 'json',
|
|
365
|
+
codec: {
|
|
366
|
+
mode: 'strict',
|
|
367
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId',
|
|
368
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_2$schema,
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
name: 'failure',
|
|
373
|
+
wire: 'failure',
|
|
374
|
+
source: 'json',
|
|
375
|
+
codec: {
|
|
376
|
+
mode: 'strict',
|
|
377
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisErrorDetails',
|
|
378
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_3$schema,
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
result: {
|
|
383
|
+
mode: 'strict',
|
|
384
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportClientGuardFailure:result',
|
|
385
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_result$schema,
|
|
386
|
+
},
|
|
387
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":718,"column":9},
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportRenderFailure',
|
|
391
|
+
service: 'dynamicCordisRunner',
|
|
392
|
+
namespace: 'dynamicCordisRunner',
|
|
393
|
+
method: 'reportRenderFailure',
|
|
394
|
+
invocation: { kind: 'direct' },
|
|
395
|
+
scope: {
|
|
396
|
+
context: 'agent',
|
|
397
|
+
wire: 'agentId',
|
|
398
|
+
},
|
|
399
|
+
parameters: [
|
|
400
|
+
{
|
|
401
|
+
name: 'agent',
|
|
402
|
+
wire: 'agentId',
|
|
403
|
+
source: 'lookup',
|
|
404
|
+
lookup: 'agent',
|
|
405
|
+
codec: {
|
|
406
|
+
mode: 'strict',
|
|
407
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
408
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_0$schema,
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'pluginId',
|
|
413
|
+
wire: 'pluginId',
|
|
414
|
+
source: 'json',
|
|
415
|
+
codec: {
|
|
416
|
+
mode: 'strict',
|
|
417
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
418
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_1$schema,
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'pluginRunId',
|
|
423
|
+
wire: 'pluginRunId',
|
|
424
|
+
source: 'json',
|
|
425
|
+
codec: {
|
|
426
|
+
mode: 'strict',
|
|
427
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId',
|
|
428
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_2$schema,
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: 'failure',
|
|
433
|
+
wire: 'failure',
|
|
434
|
+
source: 'json',
|
|
435
|
+
codec: {
|
|
436
|
+
mode: 'strict',
|
|
437
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRenderFailure',
|
|
438
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_3$schema,
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
result: {
|
|
443
|
+
mode: 'strict',
|
|
444
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportRenderFailure:result',
|
|
445
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_result$schema,
|
|
446
|
+
},
|
|
447
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":684,"column":9},
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/resolveInspectQuery',
|
|
451
|
+
service: 'dynamicCordisRunner',
|
|
452
|
+
namespace: 'dynamicCordisRunner',
|
|
453
|
+
method: 'resolveInspectQuery',
|
|
454
|
+
invocation: { kind: 'direct' },
|
|
455
|
+
scope: {
|
|
456
|
+
context: 'agent',
|
|
457
|
+
wire: 'agentId',
|
|
458
|
+
},
|
|
459
|
+
parameters: [
|
|
460
|
+
{
|
|
461
|
+
name: 'agent',
|
|
462
|
+
wire: 'agentId',
|
|
463
|
+
source: 'lookup',
|
|
464
|
+
lookup: 'agent',
|
|
465
|
+
codec: {
|
|
466
|
+
mode: 'strict',
|
|
467
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
468
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_0$schema,
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
name: 'requestId',
|
|
473
|
+
wire: 'requestId',
|
|
474
|
+
source: 'json',
|
|
475
|
+
codec: {
|
|
476
|
+
mode: 'strict',
|
|
477
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectRequestId',
|
|
478
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_1$schema,
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
name: 'resolution',
|
|
483
|
+
wire: 'resolution',
|
|
484
|
+
source: 'json',
|
|
485
|
+
codec: {
|
|
486
|
+
mode: 'strict',
|
|
487
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectQueryResolution',
|
|
488
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_2$schema,
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
result: {
|
|
493
|
+
mode: 'strict',
|
|
494
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectResolveAck',
|
|
495
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_result$schema,
|
|
496
|
+
},
|
|
497
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":511,"column":3},
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/resolveRequestRun',
|
|
501
|
+
service: 'dynamicCordisRunner',
|
|
502
|
+
namespace: 'dynamicCordisRunner',
|
|
503
|
+
method: 'resolveRequestRun',
|
|
504
|
+
invocation: { kind: 'direct' },
|
|
505
|
+
parameters: [
|
|
506
|
+
{
|
|
507
|
+
name: 'requestId',
|
|
508
|
+
wire: 'requestId',
|
|
509
|
+
source: 'json',
|
|
510
|
+
codec: {
|
|
511
|
+
mode: 'strict',
|
|
512
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#ApprovalRequestId',
|
|
513
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_0$schema,
|
|
514
|
+
},
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
name: 'resolution',
|
|
518
|
+
wire: 'resolution',
|
|
519
|
+
source: 'json',
|
|
520
|
+
codec: {
|
|
521
|
+
mode: 'strict',
|
|
522
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution',
|
|
523
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_1$schema,
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
result: {
|
|
528
|
+
mode: 'strict',
|
|
529
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisResolveAck',
|
|
530
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_result$schema,
|
|
531
|
+
},
|
|
532
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":413,"column":9},
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf',
|
|
536
|
+
service: 'dynamicCordisRunner',
|
|
537
|
+
namespace: 'dynamicCordisRunner',
|
|
538
|
+
method: 'runHostHalf',
|
|
539
|
+
invocation: { kind: 'direct' },
|
|
540
|
+
scope: {
|
|
541
|
+
context: 'agent',
|
|
542
|
+
wire: 'agentId',
|
|
543
|
+
},
|
|
544
|
+
parameters: [
|
|
545
|
+
{
|
|
546
|
+
name: 'agent',
|
|
547
|
+
wire: 'agentId',
|
|
548
|
+
source: 'lookup',
|
|
549
|
+
lookup: 'agent',
|
|
550
|
+
codec: {
|
|
551
|
+
mode: 'strict',
|
|
552
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
553
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema,
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: 'pluginId',
|
|
558
|
+
wire: 'pluginId',
|
|
559
|
+
source: 'json',
|
|
560
|
+
codec: {
|
|
561
|
+
mode: 'strict',
|
|
562
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
563
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema,
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
name: 'packageId',
|
|
568
|
+
wire: 'packageId',
|
|
569
|
+
source: 'json',
|
|
570
|
+
codec: {
|
|
571
|
+
mode: 'strict',
|
|
572
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPackageId',
|
|
573
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema,
|
|
574
|
+
},
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'mode',
|
|
578
|
+
wire: 'mode',
|
|
579
|
+
source: 'json',
|
|
580
|
+
codec: {
|
|
581
|
+
mode: 'strict',
|
|
582
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicRunMode',
|
|
583
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema,
|
|
584
|
+
},
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'requestId',
|
|
588
|
+
wire: 'requestId',
|
|
589
|
+
source: 'json',
|
|
590
|
+
codec: {
|
|
591
|
+
mode: 'strict',
|
|
592
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:requestId',
|
|
593
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema,
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: 'approveFutureVersions',
|
|
598
|
+
wire: 'approveFutureVersions',
|
|
599
|
+
source: 'json',
|
|
600
|
+
codec: {
|
|
601
|
+
mode: 'strict',
|
|
602
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:approveFutureVersions',
|
|
603
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema,
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
result: {
|
|
608
|
+
mode: 'strict',
|
|
609
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisHostHalfResult',
|
|
610
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_result$schema,
|
|
611
|
+
},
|
|
612
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":325,"column":9},
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/settleUserRun',
|
|
616
|
+
service: 'dynamicCordisRunner',
|
|
617
|
+
namespace: 'dynamicCordisRunner',
|
|
618
|
+
method: 'settleUserRun',
|
|
619
|
+
invocation: { kind: 'direct' },
|
|
620
|
+
scope: {
|
|
621
|
+
context: 'agent',
|
|
622
|
+
wire: 'agentId',
|
|
623
|
+
},
|
|
624
|
+
parameters: [
|
|
625
|
+
{
|
|
626
|
+
name: 'agent',
|
|
627
|
+
wire: 'agentId',
|
|
628
|
+
source: 'lookup',
|
|
629
|
+
lookup: 'agent',
|
|
630
|
+
codec: {
|
|
631
|
+
mode: 'strict',
|
|
632
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
633
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema,
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
name: 'pluginId',
|
|
638
|
+
wire: 'pluginId',
|
|
639
|
+
source: 'json',
|
|
640
|
+
codec: {
|
|
641
|
+
mode: 'strict',
|
|
642
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
643
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema,
|
|
644
|
+
},
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
name: 'resolution',
|
|
648
|
+
wire: 'resolution',
|
|
649
|
+
source: 'json',
|
|
650
|
+
codec: {
|
|
651
|
+
mode: 'strict',
|
|
652
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution',
|
|
653
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema,
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
],
|
|
657
|
+
result: {
|
|
658
|
+
mode: 'strict',
|
|
659
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResponse',
|
|
660
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema,
|
|
661
|
+
},
|
|
662
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":438,"column":9},
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/stopFromPanel',
|
|
666
|
+
service: 'dynamicCordisRunner',
|
|
667
|
+
namespace: 'dynamicCordisRunner',
|
|
668
|
+
method: 'stopFromPanel',
|
|
669
|
+
invocation: { kind: 'direct' },
|
|
670
|
+
scope: {
|
|
671
|
+
context: 'agent',
|
|
672
|
+
wire: 'agentId',
|
|
673
|
+
},
|
|
674
|
+
parameters: [
|
|
675
|
+
{
|
|
676
|
+
name: 'agent',
|
|
677
|
+
wire: 'agentId',
|
|
678
|
+
source: 'lookup',
|
|
679
|
+
lookup: 'agent',
|
|
680
|
+
codec: {
|
|
681
|
+
mode: 'strict',
|
|
682
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
683
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema,
|
|
684
|
+
},
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: 'pluginId',
|
|
688
|
+
wire: 'pluginId',
|
|
689
|
+
source: 'json',
|
|
690
|
+
codec: {
|
|
691
|
+
mode: 'strict',
|
|
692
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
693
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_1$schema,
|
|
694
|
+
},
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
result: {
|
|
698
|
+
mode: 'strict',
|
|
699
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisStopResponse',
|
|
700
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_result$schema,
|
|
701
|
+
},
|
|
702
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":480,"column":9},
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest',
|
|
706
|
+
service: 'dynamicCordisRunner',
|
|
707
|
+
namespace: 'dynamicCordisRunner',
|
|
708
|
+
method: 'syncInspectManifest',
|
|
709
|
+
invocation: { kind: 'direct' },
|
|
710
|
+
parameters: [
|
|
711
|
+
{
|
|
712
|
+
name: 'providers',
|
|
713
|
+
wire: 'providers',
|
|
714
|
+
source: 'json',
|
|
715
|
+
codec: {
|
|
716
|
+
mode: 'strict',
|
|
717
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:providers',
|
|
718
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_parameter_0$schema,
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
],
|
|
722
|
+
result: {
|
|
723
|
+
mode: 'strict',
|
|
724
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:result',
|
|
725
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_result$schema,
|
|
726
|
+
},
|
|
727
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":498,"column":3},
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
id: '@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/undefineFromPanel',
|
|
731
|
+
service: 'dynamicCordisRunner',
|
|
732
|
+
namespace: 'dynamicCordisRunner',
|
|
733
|
+
method: 'undefineFromPanel',
|
|
734
|
+
invocation: { kind: 'direct' },
|
|
735
|
+
scope: {
|
|
736
|
+
context: 'agent',
|
|
737
|
+
wire: 'agentId',
|
|
738
|
+
},
|
|
739
|
+
parameters: [
|
|
740
|
+
{
|
|
741
|
+
name: 'agent',
|
|
742
|
+
wire: 'agentId',
|
|
743
|
+
source: 'lookup',
|
|
744
|
+
lookup: 'agent',
|
|
745
|
+
codec: {
|
|
746
|
+
mode: 'strict',
|
|
747
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
748
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema,
|
|
749
|
+
},
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
name: 'pluginId',
|
|
753
|
+
wire: 'pluginId',
|
|
754
|
+
source: 'json',
|
|
755
|
+
codec: {
|
|
756
|
+
mode: 'strict',
|
|
757
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId',
|
|
758
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1$schema,
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
result: {
|
|
763
|
+
mode: 'strict',
|
|
764
|
+
typeSymbol: '@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisUndefineReceipt',
|
|
765
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_result$schema,
|
|
766
|
+
},
|
|
767
|
+
sourceLocation: {"file":"packages/extensions/cordis-host-runner/src/index.ts","line":227,"column":9},
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
model: {
|
|
771
|
+
"services": [
|
|
772
|
+
{
|
|
773
|
+
"description": "Registry and cross-page router behind the two model-facing inspect tools.",
|
|
774
|
+
"summary": "Registry and cross-page router behind the two model-facing inspect tools.",
|
|
775
|
+
"tags": [],
|
|
776
|
+
"jsDoc": "/** Registry and cross-page router behind the two model-facing inspect tools. */",
|
|
777
|
+
"key": "cordisInspect",
|
|
778
|
+
"exportName": "CordisInspectRegistryService",
|
|
779
|
+
"members": [
|
|
780
|
+
{
|
|
781
|
+
"kind": "method",
|
|
782
|
+
"name": "register",
|
|
783
|
+
"signature": "register(registration: HostCordisInspectProviderRegistration): () => void",
|
|
784
|
+
"summary": "Register one Host provider.",
|
|
785
|
+
"jsDoc": "/**\n * Register one Host provider.\n * @param registration - manifest and local query handler.\n * @returns idempotent disposer.\n */"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"kind": "method",
|
|
789
|
+
"name": "syncClientManifest",
|
|
790
|
+
"signature": "syncClientManifest(providers: readonly CordisInspectProviderManifest[]): void",
|
|
791
|
+
"summary": "Replace the mirrored Client provider directory.",
|
|
792
|
+
"jsDoc": "/**\n * Replace the mirrored Client provider directory.\n * @param providers - complete Client manifest snapshot.\n */"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"kind": "method",
|
|
796
|
+
"name": "list",
|
|
797
|
+
"signature": "list(): CordisInspectProviderView[]",
|
|
798
|
+
"summary": "Return the complete known Host and Client provider directory.",
|
|
799
|
+
"jsDoc": "/**\n * Return the complete known Host and Client provider directory.\n * @returns Host providers followed by the Client providers.\n */"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "method",
|
|
803
|
+
"name": "query",
|
|
804
|
+
"signature": "async query( platform: CordisInspectPlatform, providerId: string, methodName: string, input: JsonValue | undefined, agent: Agent, signal: AbortSignal, ): Promise<JsonValue>",
|
|
805
|
+
"summary": "Execute one provider query on its owning platform.",
|
|
806
|
+
"jsDoc": "/**\n * Execute one provider query on its owning platform.\n * @param platform - Host or Client runtime.\n * @param providerId - provider selected from {@link list}.\n * @param methodName - declared method name.\n * @param input - optional lossless JSON input.\n * @param agent - requesting Agent and scope.\n * @param signal - tool-call cancellation.\n * @returns provider JSON data.\n */"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "method",
|
|
810
|
+
"name": "resolveClientQuery",
|
|
811
|
+
"signature": "resolveClientQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck",
|
|
812
|
+
"summary": "Accept the first valid Client response for a pending query.",
|
|
813
|
+
"jsDoc": "/**\n * Accept the first valid Client response for a pending query.\n * @param agent - Agent whose Session owns the query.\n * @param requestId - Pending Client query identity.\n * @param resolution - Client provider result or failure.\n * @returns whether this response settled the still-pending query.\n */"
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"types": [
|
|
817
|
+
{
|
|
818
|
+
"name": "Agent",
|
|
819
|
+
"declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "AgentCancelCause",
|
|
823
|
+
"declaration": "export type AgentCancelCause = { readonly kind: 'user'; } | { readonly kind: 'parent'; } | { readonly kind: 'hook'; readonly reason: string; } | { readonly kind: 'disposed'; };"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "AgentOptions",
|
|
827
|
+
"declaration": "export interface AgentOptions {\n provider?: string;\n model?: string;\n maxTokens?: number;\n}"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "AgentStatus",
|
|
831
|
+
"declaration": "export type AgentStatus = 'idle' | 'running';"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "ApprovalOutcome",
|
|
835
|
+
"declaration": "export type ApprovalOutcome = 'allowed-once' | 'rejected' | 'cancelled' | 'unavailable';"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "ApprovalPolicy",
|
|
839
|
+
"declaration": "export type ApprovalPolicy = 'ask' | 'never';"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "ApprovalRequestId",
|
|
843
|
+
"declaration": "export type ApprovalRequestId = Branded<'ApprovalRequestId'>;"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "AssistantMessage",
|
|
847
|
+
"declaration": "export interface AssistantMessage extends Message {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "AssistantProvenance",
|
|
851
|
+
"declaration": "export interface AssistantProvenance {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "AttachmentId",
|
|
855
|
+
"declaration": "export type AttachmentId = Branded<'AttachmentId'>;"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "Branded",
|
|
859
|
+
"declaration": "export type Branded<B extends string> = string & { readonly [BRAND]: B; };"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "CallId",
|
|
863
|
+
"declaration": "export type CallId = Branded<'CallId'>;"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "CancelOptions",
|
|
867
|
+
"declaration": "export interface CancelOptions {\n keepInbox?: boolean | undefined;\n}"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "CodeDispatchEventData",
|
|
871
|
+
"declaration": "export interface CodeDispatchEventData extends CodeDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n}"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "CodeDispatchStartEventData",
|
|
875
|
+
"declaration": "export interface CodeDispatchStartEventData {\n rootCallId: CallId;\n parentCallId: CallId;\n subCallId: CallId;\n name: string;\n arguments: unknown;\n}"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "CommandId",
|
|
879
|
+
"declaration": "export type CommandId = Branded<'CommandId'>;"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "CommandSource",
|
|
883
|
+
"declaration": "export type CommandSource = CommandSourceMap[keyof CommandSourceMap];"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "CommandSourceMap",
|
|
887
|
+
"declaration": "export interface CommandSourceMap {\n user: { kind: 'user'; };\n}"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "ContentBlock",
|
|
891
|
+
"declaration": "export type ContentBlock = ContentBlockMap[ContentBlockType];"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "ContentBlockMap",
|
|
895
|
+
"declaration": "export interface ContentBlockMap {\n text: TextBlock;\n reasoning: ReasoningBlock;\n image: ImageBlock;\n 'tool-call': ToolCallBlock;\n 'tool-result': ToolResultBlock;\n}"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "ContentBlockType",
|
|
899
|
+
"declaration": "export type ContentBlockType = keyof ContentBlockMap;"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "ContextFormed",
|
|
903
|
+
"declaration": "export type ContextFormed = { readonly form?: never; } | { readonly form: 'instructions'; } | { readonly form: 'catalog'; } | { readonly form: 'snapshot'; readonly sections: readonly ContextSnapshotSection[]; } | { readonly form: 'notice'; readonly summary: string; } | { readonly form: 'relay'; } | { readonly form: 'recall'; };"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "ContextSnapshotSection",
|
|
907
|
+
"declaration": "export interface ContextSnapshotSection {\n readonly name: string;\n readonly text: string;\n}"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "CordisInspectMethodManifest",
|
|
911
|
+
"declaration": "export interface CordisInspectMethodManifest {\n name: string;\n description: string;\n inputSchema: JsonValue;\n outputSchema: JsonValue;\n}"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "CordisInspectPlatform",
|
|
915
|
+
"declaration": "export type CordisInspectPlatform = 'host' | 'client';"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"name": "CordisInspectProviderManifest",
|
|
919
|
+
"declaration": "export interface CordisInspectProviderManifest {\n id: string;\n description: string;\n methods: readonly CordisInspectMethodManifest[];\n}"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "CordisInspectProviderView",
|
|
923
|
+
"declaration": "export interface CordisInspectProviderView extends CordisInspectProviderManifest {\n platform: CordisInspectPlatform;\n}"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "CordisInspectQueryResolution",
|
|
927
|
+
"declaration": "export type CordisInspectQueryResolution = { ok: true; data: JsonValue; } | { ok: false; reason: 'provider-missing' | 'method-missing' | 'invalid-input' | 'provider-error' | 'cancelled'; message: string; };"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "CordisInspectRequestId",
|
|
931
|
+
"declaration": "export type CordisInspectRequestId = Branded<'CordisInspectRequestId'>;"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"name": "CordisInspectResolveAck",
|
|
935
|
+
"declaration": "export interface CordisInspectResolveAck {\n accepted: boolean;\n}"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "EpochHeader",
|
|
939
|
+
"declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n system?: string;\n tools?: ToolSchema[];\n}"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "FinishReason",
|
|
943
|
+
"declaration": "export type FinishReason = FinishReasonMap[keyof FinishReasonMap];"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "FinishReasonMap",
|
|
947
|
+
"declaration": "export interface FinishReasonMap {\n stop: { kind: 'stop'; };\n 'tool-calls': { kind: 'tool-calls'; };\n 'max-tokens': { kind: 'max-tokens'; };\n aborted: { kind: 'aborted'; failure: LlmFailure; };\n error: { kind: 'error'; failure: LlmFailure; };\n}"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "GoalBlockReason",
|
|
951
|
+
"declaration": "export interface GoalBlockReason {\n readonly code: string;\n readonly message: string;\n}"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "GoalChangeMeta",
|
|
955
|
+
"declaration": "export type GoalChangeMeta = GoalSnapshotChangeMeta | GoalClearChangeMeta;"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "GoalClearChangeMeta",
|
|
959
|
+
"declaration": "export interface GoalClearChangeMeta {\n readonly kind: 'goal/change';\n readonly version: 1;\n readonly operation: 'clear';\n readonly cleared: GoalRef;\n readonly clearedAt: number;\n}"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "GoalId",
|
|
963
|
+
"declaration": "export type GoalId = Branded<'GoalId'>;"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "GoalMessageSource",
|
|
967
|
+
"declaration": "export interface GoalMessageSource {\n readonly kind: 'goal';\n readonly goalId: GoalId;\n readonly revision: number;\n readonly round: number;\n}"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "GoalOperation",
|
|
971
|
+
"declaration": "export type GoalOperation = 'create' | 'edit' | 'pause' | 'resume' | 'complete' | 'block' | 'clear';"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "GoalPhase",
|
|
975
|
+
"declaration": "export type GoalPhase = 'active' | 'paused' | 'blocked' | 'complete';"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "GoalRef",
|
|
979
|
+
"declaration": "export interface GoalRef {\n readonly id: GoalId;\n readonly revision: number;\n}"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "GoalSnapshot",
|
|
983
|
+
"declaration": "export interface GoalSnapshot extends GoalRef {\n readonly objective: string;\n readonly phase: GoalPhase;\n readonly blockedReason?: GoalBlockReason;\n readonly maxGoalRounds: number;\n}"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "GoalSnapshotChangeMeta",
|
|
987
|
+
"declaration": "export interface GoalSnapshotChangeMeta {\n readonly kind: 'goal/change';\n readonly version: 1;\n readonly operation: Exclude<GoalOperation, 'clear'>;\n readonly goal: GoalSnapshot;\n readonly roundsStarted: number;\n readonly createdAt: number;\n readonly updatedAt: number;\n}"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "HostCordisInspectProviderRegistration",
|
|
991
|
+
"declaration": "export interface HostCordisInspectProviderRegistration {\n manifest: CordisInspectProviderManifest;\n query(method: string, input: JsonValue | undefined, context: HostCordisInspectQueryContext): Promise<JsonValue>;\n}"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "HostCordisInspectQueryContext",
|
|
995
|
+
"declaration": "export interface HostCordisInspectQueryContext {\n signal: AbortSignal;\n agent: Agent;\n}"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "ImageAttachmentRef",
|
|
999
|
+
"declaration": "export interface ImageAttachmentRef {\n attachmentId: AttachmentId;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n name?: string;\n}"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "ImageBlock",
|
|
1003
|
+
"declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n}"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"name": "ImageMediaType",
|
|
1007
|
+
"declaration": "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "Inbox",
|
|
1011
|
+
"declaration": "export class Inbox {\n get nextTurn(): readonly UserMessage[];\n get nextStep(): readonly UserMessage[];\n get hasPending(): boolean;\n clear(): void;\n claim(target: InboxTarget, turn: number): UserMessage[];\n append(target: InboxTarget, message: UserMessage): void;\n prepend(target: InboxTarget, message: UserMessage): void;\n replace(messageId: MessageId, newMessage: UserMessage): boolean;\n remove(messageId: MessageId): boolean;\n splice(target: InboxTarget, start: number, deleteCount: number, inserted: UserMessage[]): UserMessage[];\n}"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "InboxTarget",
|
|
1015
|
+
"declaration": "export type InboxTarget = 'next-turn' | 'next-step';"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "JsonValue",
|
|
1019
|
+
"declaration": "export type JsonValue = null | boolean | number | string | JsonValue[] | { [key: string]: JsonValue; };"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "LlmCallConfig",
|
|
1023
|
+
"declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n}"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "LlmCallConfigAdapterDefaults",
|
|
1027
|
+
"declaration": "export interface LlmCallConfigAdapterDefaults {\n reasoningEffort?: true;\n maxTokens?: true;\n}"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "LlmFailure",
|
|
1031
|
+
"declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n}"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "Message",
|
|
1035
|
+
"declaration": "export interface Message {\n readonly id: MessageId;\n readonly role: 'system' | 'user' | 'assistant';\n readonly content: ContentBlock[];\n readonly source: MessageSource;\n}"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "MessageId",
|
|
1039
|
+
"declaration": "export type MessageId = Branded<'MessageId'>;"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "MessageSource",
|
|
1043
|
+
"declaration": "export type MessageSource = MessageSourceMap[keyof MessageSourceMap];"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "MessageSourceMap",
|
|
1047
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n plugin: { kind: 'plugin'; plugin: string; } & ContextFormed;\n model: ModelMessageSource;\n tool: ToolMessageSource;\n goal: GoalMessageSource;\n}"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "ModelMessageSource",
|
|
1051
|
+
"declaration": "export interface ModelMessageSource extends AssistantProvenance {\n kind: 'model';\n}"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "ProviderRequestId",
|
|
1055
|
+
"declaration": "export type ProviderRequestId = Branded<'ProviderRequestId'>;"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "ReasoningBlock",
|
|
1059
|
+
"declaration": "export interface ReasoningBlock {\n type: 'reasoning';\n text: string;\n}"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"name": "ReasoningEffortId",
|
|
1063
|
+
"declaration": "export type ReasoningEffortId = Branded<'ReasoningEffortId'>;"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"name": "RequestContext",
|
|
1067
|
+
"declaration": "export interface RequestContext {\n provider: string;\n model: string;\n contextWindow?: number;\n}"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "RequestHeaderReason",
|
|
1071
|
+
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change';"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "Session",
|
|
1075
|
+
"declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n get id(): SessionId;\n readonly firstLiveSeq: number;\n get events(): readonly SessionEvent[];\n get seq(): number;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "SessionEvent",
|
|
1079
|
+
"declaration": "export type SessionEvent<T extends SessionEventType = SessionEventType> = { [K in SessionEventType]: { type: K; seq: number; time: number; data: SessionEventMap[K]; ignorable?: true; } & (K extends SurfaceEventType ? { sourceEventSeqs?: number[]; surfaceOp?: SurfaceOp; } : object) }[T];"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "SessionEventMap",
|
|
1083
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'assistant/chunk': { turn: number; step: number; chunk: StreamChunk; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; usage?: TokenUsage; };\n 'tool/call': { turn: number; step: number; callId: CallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; }; meta?: JsonValue; };\n 'todo/write': { todos: TodoItem[]; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: number; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: CallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/code-dispatch-start': CodeDispatchStartEventData;\n 'tool/code-dispatch': CodeDispatchEventData;\n 'goal/change': GoalChangeMeta;\n}"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"name": "SessionEventType",
|
|
1087
|
+
"declaration": "export type SessionEventType = keyof SessionEventMap;"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "SessionHeader",
|
|
1091
|
+
"declaration": "export interface SessionHeader {\n readonly version: number;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly seedLength?: number;\n readonly origin?: 'subagent';\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "SessionId",
|
|
1095
|
+
"declaration": "export type SessionId = Branded<'SessionId'>;"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "SessionSurface",
|
|
1099
|
+
"declaration": "export interface SessionSurface {\n readonly nodes: readonly number[];\n readonly replaceGeneration: number;\n}"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "StreamChunk",
|
|
1103
|
+
"declaration": "export type StreamChunk = { type: 'block-start'; index: number; blockType: ContentBlockType; } | { type: 'text-delta'; index: number; text: string; } | { type: 'reasoning-delta'; index: number; text: string; } | { type: 'tool-call-delta'; index: number; id: CallId; name?: string; argumentsDelta: string; } | { type: 'block-end'; index: number; block: ContentBlock; } | { type: 'usage'; usage: TokenUsage; } | { type: 'finish'; reason: FinishReason; replayState?: unknown; };"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "SurfaceEventType",
|
|
1107
|
+
"declaration": "export type SurfaceEventType = 'user/message' | 'assistant/message' | 'tool/result';"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "SurfaceIntent",
|
|
1111
|
+
"declaration": "export interface SurfaceIntent {\n surfaceOp: SurfaceOp;\n sourceEventSeqs?: number[];\n}"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "SurfaceOp",
|
|
1115
|
+
"declaration": "export type SurfaceOp = 'append' | { op: 'replace'; start: number; end: number; };"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "TextBlock",
|
|
1119
|
+
"declaration": "export interface TextBlock {\n type: 'text';\n text: string;\n}"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "TodoItem",
|
|
1123
|
+
"declaration": "export interface TodoItem {\n content: string;\n status: 'pending' | 'in_progress' | 'completed';\n}"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "TokenUsage",
|
|
1127
|
+
"declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "ToolCallBlock",
|
|
1131
|
+
"declaration": "export interface ToolCallBlock {\n type: 'tool-call';\n id: CallId;\n name: string;\n arguments: string;\n}"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "ToolMessageSource",
|
|
1135
|
+
"declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: CallId;\n}"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "ToolResultBlock",
|
|
1139
|
+
"declaration": "export interface ToolResultBlock {\n type: 'tool-result';\n toolCallId: CallId;\n content: ContentBlock[];\n isError?: boolean;\n}"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "ToolResultMessage",
|
|
1143
|
+
"declaration": "export interface ToolResultMessage extends Message {\n readonly role: 'user';\n readonly content: [ToolResultBlock];\n readonly source: ToolMessageSource;\n}"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "ToolSchema",
|
|
1147
|
+
"declaration": "export interface ToolSchema {\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "TurnEndCancelCause",
|
|
1151
|
+
"declaration": "export type TurnEndCancelCause = AgentCancelCause | { readonly kind: 'legacy'; };"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"name": "TurnEndReason",
|
|
1155
|
+
"declaration": "export type TurnEndReason = TurnEndReasonMap[keyof TurnEndReasonMap];"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "TurnEndReasonMap",
|
|
1159
|
+
"declaration": "export interface TurnEndReasonMap {\n completed: { kind: 'completed'; };\n aborted: { kind: 'aborted'; reason: TurnEndCancelCause; };\n blocked: { kind: 'blocked'; };\n error: { kind: 'error'; error: LlmFailure; };\n 'max-tokens': { kind: 'max-tokens'; };\n interrupted: { kind: 'interrupted'; };\n}"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "UserMessage",
|
|
1163
|
+
"declaration": "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"description": "Dynamic Plugin registry and Host-half lifecycle.",
|
|
1169
|
+
"summary": "Dynamic Plugin registry and Host-half lifecycle.",
|
|
1170
|
+
"tags": [],
|
|
1171
|
+
"jsDoc": "/** Dynamic Plugin registry and Host-half lifecycle. */",
|
|
1172
|
+
"key": "dynamicCordisRunner",
|
|
1173
|
+
"exportName": "DynamicCordisRunnerService",
|
|
1174
|
+
"members": [
|
|
1175
|
+
{
|
|
1176
|
+
"kind": "method",
|
|
1177
|
+
"name": "define",
|
|
1178
|
+
"signature": "define(request: DynamicCordisDefineRequest): DynamicCordisDefineReceipt",
|
|
1179
|
+
"summary": "Define a new Plugin's first Package or append a Package to an existing Plugin.",
|
|
1180
|
+
"jsDoc": "/**\n * Define a new Plugin's first Package or append a Package to an existing Plugin.\n * @param request - Session ownership, Plugin selection, metadata, and source code.\n * @returns Host-minted Plugin and Package identities with declared-half metadata.\n */"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "method",
|
|
1184
|
+
"name": "undefine",
|
|
1185
|
+
"signature": "async undefine(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordisUndefineReceipt>",
|
|
1186
|
+
"summary": "Remove a Plugin, its active run, and all immutable Packages.",
|
|
1187
|
+
"jsDoc": "/**\n * Remove a Plugin, its active run, and all immutable Packages.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity to remove.\n * @returns Whether removal succeeded and whether it stopped an active run.\n */"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"kind": "method",
|
|
1191
|
+
"name": "undefineFromPanel",
|
|
1192
|
+
"signature": "@Remote('undefineFromPanel') async undefineFromPanel(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordisUndefineReceipt>",
|
|
1193
|
+
"summary": "Remove a Plugin from the user panel and queue the resulting state change for the model's next step.",
|
|
1194
|
+
"jsDoc": "/**\n * Remove a Plugin from the user panel and queue the resulting state change for the model's next step.\n * @param agent - Agent whose Session owns the Plugin and receives the context.\n * @param pluginId - Stable Plugin identity to remove.\n * @returns Whether removal succeeded and whether it stopped an active run.\n */"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"kind": "method",
|
|
1198
|
+
"name": "run",
|
|
1199
|
+
"signature": "async run( agent: Agent, pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, mode: CordisDynamicRunMode, signal?: AbortSignal, ): Promise<DynamicCordisRunResponse>",
|
|
1200
|
+
"summary": "Start or update one Package for a model tool call.",
|
|
1201
|
+
"jsDoc": "/**\n * Start or update one Package for a model tool call. An unauthorized Client\n * Package waits for approval; Plugin-wide authorization covers later versions.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity to activate.\n * @param packageId - Immutable Package version to activate.\n * @param mode - Whether to run the current version or switch versions.\n * @param signal - Tool-call cancellation signal while the activation request is being created.\n * @returns The successful activation identity or an actionable refusal.\n */"
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"kind": "method",
|
|
1205
|
+
"name": "runHostHalf",
|
|
1206
|
+
"signature": "@Remote('runHostHalf') async runHostHalf( agent: Agent, pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, mode: CordisDynamicRunMode, requestId: ApprovalRequestId | null, approveFutureVersions: boolean, ): Promise<DynamicCordisHostHalfResult>",
|
|
1207
|
+
"summary": "Start Host code for an approved request or a direct panel gesture.",
|
|
1208
|
+
"jsDoc": "/**\n * Start Host code for an approved request or a direct panel gesture.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity to activate.\n * @param packageId - Immutable Package version to activate.\n * @param mode - Whether to run the current version or switch versions.\n * @param requestId - Model-driven request identity, or null for a direct user gesture.\n * @param approveFutureVersions - Whether this approval covers later Packages of the same Plugin.\n * @returns The exact Host activation or a failure message.\n */"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"kind": "method",
|
|
1212
|
+
"name": "getClientCode",
|
|
1213
|
+
"signature": "@Remote('getClientCode') getClientCode( agent: Agent, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, ): DynamicCordisClientSource",
|
|
1214
|
+
"summary": "Fetch Client code for the exact active run.",
|
|
1215
|
+
"jsDoc": "/**\n * Fetch Client code for the exact active run.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity to read.\n * @param pluginRunId - Exact active run authorized to receive source.\n * @returns Client source and its Plugin, Package, and run identities.\n */"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"kind": "method",
|
|
1219
|
+
"name": "resolveRequestRun",
|
|
1220
|
+
"signature": "@Remote('resolveRequestRun') async resolveRequestRun( requestId: ApprovalRequestId, resolution: DynamicCordisRunResolution, ): Promise<DynamicCordisResolveAck>",
|
|
1221
|
+
"summary": "Resolve one model-driven Client activation request.",
|
|
1222
|
+
"jsDoc": "/**\n * Resolve one model-driven Client activation request.\n * @param requestId - Request identity to settle once.\n * @param resolution - Browser refusal or exact Client activation result.\n * @returns Whether the still-pending request accepted this resolution.\n */"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "method",
|
|
1226
|
+
"name": "settleUserRun",
|
|
1227
|
+
"signature": "@Remote('settleUserRun') async settleUserRun( agent: Agent, pluginId: CordisDynamicPluginId, resolution: DynamicCordisRunResolution, ): Promise<DynamicCordisRunResponse>",
|
|
1228
|
+
"summary": "Settle a direct panel run after this page loaded or failed its Client half.",
|
|
1229
|
+
"jsDoc": "/**\n * Settle a direct panel run after this page loaded or failed its Client half.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity being settled.\n * @param resolution - Exact Client activation result from the acting page.\n * @returns The committed activation or its failure.\n */"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"kind": "method",
|
|
1233
|
+
"name": "stop",
|
|
1234
|
+
"signature": "async stop(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordisStopResponse>",
|
|
1235
|
+
"summary": "Stop the active run while retaining every Package version.",
|
|
1236
|
+
"jsDoc": "/**\n * Stop the active run while retaining every Package version.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity to stop.\n * @returns Success or the reason no run was stopped.\n */"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"kind": "method",
|
|
1240
|
+
"name": "stopFromPanel",
|
|
1241
|
+
"signature": "@Remote('stopFromPanel') async stopFromPanel(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordisStopResponse>",
|
|
1242
|
+
"summary": "Stop a Plugin from the user panel and queue the resulting state change for the model's next step.",
|
|
1243
|
+
"jsDoc": "/**\n * Stop a Plugin from the user panel and queue the resulting state change for the model's next step.\n * @param agent - Agent whose Session owns the Plugin and receives the context.\n * @param pluginId - Stable Plugin identity to stop.\n * @returns Success or the reason no run was stopped.\n */"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "method",
|
|
1247
|
+
"name": "syncInspectManifest",
|
|
1248
|
+
"signature": "@Remote('syncInspectManifest') syncInspectManifest(providers: readonly CordisInspectProviderManifest[]): null",
|
|
1249
|
+
"summary": "Replace the Host mirror of the Client inspect provider directory.",
|
|
1250
|
+
"jsDoc": "/**\n * Replace the Host mirror of the Client inspect provider directory.\n * @param providers - complete Client provider manifest.\n * @returns null after accepting the manifest.\n */"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"kind": "method",
|
|
1254
|
+
"name": "resolveInspectQuery",
|
|
1255
|
+
"signature": "@Remote('resolveInspectQuery') resolveInspectQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck",
|
|
1256
|
+
"summary": "Claim one pending Client inspect query with its live result.",
|
|
1257
|
+
"jsDoc": "/**\n * Claim one pending Client inspect query with its live result.\n * @param agent - Session that owns the query.\n * @param requestId - exact pending query identity.\n * @param resolution - provider result or structured refusal.\n * @returns whether this answer won the query.\n */"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "method",
|
|
1261
|
+
"name": "inventory",
|
|
1262
|
+
"signature": "@Remote('inventory') inventory(): DynamicCordisInventoryRow[]",
|
|
1263
|
+
"summary": "Frame-wide inventory, grouped as one row per stable Plugin.",
|
|
1264
|
+
"jsDoc": "/**\n * Frame-wide inventory, grouped as one row per stable Plugin.\n * @returns Source-free metadata for every process-local Plugin.\n */"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"kind": "method",
|
|
1268
|
+
"name": "snapshot",
|
|
1269
|
+
"signature": "snapshot(agent: Agent): DynamicCordisSnapshotRow[]",
|
|
1270
|
+
"summary": "Read one Session's Host-rich state for inspection and result rendering.",
|
|
1271
|
+
"jsDoc": "/**\n * Read one Session's Host-rich state for inspection and result rendering.\n * @param agent - Agent whose Session selects visible Plugins.\n * @returns Plugin versions, active runs, Host fibers, and render failures.\n */"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "method",
|
|
1275
|
+
"name": "reference",
|
|
1276
|
+
"signature": "reference(agent: Agent, pluginId: CordisDynamicPluginId): DynamicCordisReference | undefined",
|
|
1277
|
+
"summary": "Read source-free context for an explicit `@pluginId` user gesture.",
|
|
1278
|
+
"jsDoc": "/**\n * Read source-free context for an explicit `@pluginId` user gesture.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity referenced by the user.\n * @returns The preferred modification base, or undefined when unavailable.\n */"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "method",
|
|
1282
|
+
"name": "listPlugins",
|
|
1283
|
+
"signature": "listPlugins(agent: Agent): DynamicCordisPluginInspection[]",
|
|
1284
|
+
"summary": "List source-free Plugin summaries owned by one Session.",
|
|
1285
|
+
"jsDoc": "/**\n * List source-free Plugin summaries owned by one Session.\n * @param agent - Agent whose Session selects visible Plugins.\n * @returns one summary per Plugin in creation order.\n */"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "method",
|
|
1289
|
+
"name": "inspectPlugin",
|
|
1290
|
+
"signature": "inspectPlugin(agent: Agent, pluginId: CordisDynamicPluginId): DynamicCordisPluginInspection",
|
|
1291
|
+
"summary": "Inspect one Plugin without returning Package source.",
|
|
1292
|
+
"jsDoc": "/**\n * Inspect one Plugin without returning Package source.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - stable Plugin identity.\n * @returns version pointers, latest run, and all Package summaries.\n */"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"kind": "method",
|
|
1296
|
+
"name": "inspectPackage",
|
|
1297
|
+
"signature": "inspectPackage( agent: Agent, pluginId: CordisDynamicPluginId, packageId: CordisDynamicPackageId, ): DynamicCordisPackageInspection",
|
|
1298
|
+
"summary": "Read one exact immutable Package and its Host and Client source.",
|
|
1299
|
+
"jsDoc": "/**\n * Read one exact immutable Package and its Host and Client source.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity that owns the Package.\n * @param packageId - Exact immutable Package identity to inspect.\n * @returns Package metadata, source, and the Plugin's lifecycle pointers.\n */"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "method",
|
|
1303
|
+
"name": "reportRenderFailure",
|
|
1304
|
+
"signature": "@Remote('reportRenderFailure') async reportRenderFailure( agent: Agent, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: DynamicCordisRenderFailure, ): Promise<null>",
|
|
1305
|
+
"summary": "Record a post-load render failure for the exact active run.",
|
|
1306
|
+
"jsDoc": "/**\n * Record a post-load render failure for the exact active run.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity that rendered.\n * @param pluginRunId - Exact active run that produced the failure.\n * @param failure - Slot, message, and entry-retirement result.\n * @returns Null after recording or ignoring a stale report.\n */"
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"kind": "method",
|
|
1310
|
+
"name": "reportClientGuardFailure",
|
|
1311
|
+
"signature": "@Remote('reportClientGuardFailure') async reportClientGuardFailure( agent: Agent, pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, failure: CordisErrorDetails, ): Promise<null>",
|
|
1312
|
+
"summary": "Report a Client guard rejection that happened after the Package completed activation.",
|
|
1313
|
+
"jsDoc": "/**\n * Report a Client guard rejection that happened after the Package completed activation.\n * @param agent - Agent whose Session must own the Plugin.\n * @param pluginId - Stable Plugin identity whose Client code was rejected.\n * @param pluginRunId - Exact active run that produced the rejection.\n * @param failure - Original guard message and stack.\n * @returns Null after reporting or ignoring a stale/startup failure.\n */"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"kind": "method",
|
|
1317
|
+
"name": "invoke",
|
|
1318
|
+
"signature": "@Remote('invoke') async invoke( pluginId: CordisDynamicPluginId, pluginRunId: CordisDynamicPluginRunId, method: string, args: JsonValue, ): Promise<DynamicCordisInvokeResult>",
|
|
1319
|
+
"summary": "Invoke an active Host method while rejecting stale Client runs.",
|
|
1320
|
+
"jsDoc": "/**\n * Invoke an active Host method while rejecting stale Client runs.\n * @param pluginId - Stable Plugin identity that owns the method.\n * @param pluginRunId - Exact active run authorizing the call.\n * @param method - Registered Host handler name.\n * @param args - JSON argument delivered to the handler.\n * @returns The JSON result or a typed invocation failure.\n */"
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"types": [
|
|
1324
|
+
{
|
|
1325
|
+
"name": "Agent",
|
|
1326
|
+
"declaration": "export interface Agent {\n readonly id: SessionId;\n readonly options: AgentOptions;\n readonly session: Session;\n readonly inbox: Inbox;\n readonly status: AgentStatus;\n readonly ctx: Context;\n cancel(cause: AgentCancelCause, options?: CancelOptions): void;\n whenIdle(): Promise<void>;\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n send(message: UserMessage, target: InboxTarget, wakeup: boolean): void;\n followup(message: UserMessage): void;\n steer(message: UserMessage): void;\n inject(message: UserMessage): void;\n}"
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "AgentCancelCause",
|
|
1330
|
+
"declaration": "export type AgentCancelCause = { readonly kind: 'user'; } | { readonly kind: 'parent'; } | { readonly kind: 'hook'; readonly reason: string; } | { readonly kind: 'disposed'; };"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "AgentOptions",
|
|
1334
|
+
"declaration": "export interface AgentOptions {\n provider?: string;\n model?: string;\n maxTokens?: number;\n}"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"name": "AgentStatus",
|
|
1338
|
+
"declaration": "export type AgentStatus = 'idle' | 'running';"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "ApprovalOutcome",
|
|
1342
|
+
"declaration": "export type ApprovalOutcome = 'allowed-once' | 'rejected' | 'cancelled' | 'unavailable';"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "ApprovalPolicy",
|
|
1346
|
+
"declaration": "export type ApprovalPolicy = 'ask' | 'never';"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "ApprovalRequestId",
|
|
1350
|
+
"declaration": "export type ApprovalRequestId = Branded<'ApprovalRequestId'>;"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "ApprovalRequestId",
|
|
1354
|
+
"declaration": "export type ApprovalRequestId = Branded<'ApprovalRequestId'>;"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "AssistantMessage",
|
|
1358
|
+
"declaration": "export interface AssistantMessage extends Message {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "AssistantProvenance",
|
|
1362
|
+
"declaration": "export interface AssistantProvenance {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "AttachmentId",
|
|
1366
|
+
"declaration": "export type AttachmentId = Branded<'AttachmentId'>;"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "Branded",
|
|
1370
|
+
"declaration": "export type Branded<B extends string> = string & { readonly [BRAND]: B; };"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "CallId",
|
|
1374
|
+
"declaration": "export type CallId = Branded<'CallId'>;"
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"name": "CancelOptions",
|
|
1378
|
+
"declaration": "export interface CancelOptions {\n keepInbox?: boolean | undefined;\n}"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "CodeDispatchEventData",
|
|
1382
|
+
"declaration": "export interface CodeDispatchEventData extends CodeDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n}"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "CodeDispatchStartEventData",
|
|
1386
|
+
"declaration": "export interface CodeDispatchStartEventData {\n rootCallId: CallId;\n parentCallId: CallId;\n subCallId: CallId;\n name: string;\n arguments: unknown;\n}"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "CommandId",
|
|
1390
|
+
"declaration": "export type CommandId = Branded<'CommandId'>;"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "CommandSource",
|
|
1394
|
+
"declaration": "export type CommandSource = CommandSourceMap[keyof CommandSourceMap];"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "CommandSourceMap",
|
|
1398
|
+
"declaration": "export interface CommandSourceMap {\n user: { kind: 'user'; };\n}"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "ContentBlock",
|
|
1402
|
+
"declaration": "export type ContentBlock = ContentBlockMap[ContentBlockType];"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "ContentBlockMap",
|
|
1406
|
+
"declaration": "export interface ContentBlockMap {\n text: TextBlock;\n reasoning: ReasoningBlock;\n image: ImageBlock;\n 'tool-call': ToolCallBlock;\n 'tool-result': ToolResultBlock;\n}"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "ContentBlockType",
|
|
1410
|
+
"declaration": "export type ContentBlockType = keyof ContentBlockMap;"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"name": "ContextFormed",
|
|
1414
|
+
"declaration": "export type ContextFormed = { readonly form?: never; } | { readonly form: 'instructions'; } | { readonly form: 'catalog'; } | { readonly form: 'snapshot'; readonly sections: readonly ContextSnapshotSection[]; } | { readonly form: 'notice'; readonly summary: string; } | { readonly form: 'relay'; } | { readonly form: 'recall'; };"
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "ContextSnapshotSection",
|
|
1418
|
+
"declaration": "export interface ContextSnapshotSection {\n readonly name: string;\n readonly text: string;\n}"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "CordisDynamicPackageId",
|
|
1422
|
+
"declaration": "export type CordisDynamicPackageId = Branded<'CordisDynamicPackageId'>;"
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"name": "CordisDynamicPluginId",
|
|
1426
|
+
"declaration": "export type CordisDynamicPluginId = Branded<'CordisDynamicPluginId'>;"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"name": "CordisDynamicPluginRunId",
|
|
1430
|
+
"declaration": "export type CordisDynamicPluginRunId = Branded<'CordisDynamicPluginRunId'>;"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "CordisDynamicRunMode",
|
|
1434
|
+
"declaration": "export type CordisDynamicRunMode = 'run' | 'update';"
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"name": "CordisErrorDetails",
|
|
1438
|
+
"declaration": "export interface CordisErrorDetails {\n message: string;\n stack?: string;\n}"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "CordisHalfState",
|
|
1442
|
+
"declaration": "export interface CordisHalfState {\n status: 'absent' | 'pending' | 'stopped' | 'running' | 'waiting' | 'failed';\n waitingFor: readonly string[];\n error?: string;\n}"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "CordisInspectMethodManifest",
|
|
1446
|
+
"declaration": "export interface CordisInspectMethodManifest {\n name: string;\n description: string;\n inputSchema: JsonValue;\n outputSchema: JsonValue;\n}"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"name": "CordisInspectProviderManifest",
|
|
1450
|
+
"declaration": "export interface CordisInspectProviderManifest {\n id: string;\n description: string;\n methods: readonly CordisInspectMethodManifest[];\n}"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"name": "CordisInspectQueryResolution",
|
|
1454
|
+
"declaration": "export type CordisInspectQueryResolution = { ok: true; data: JsonValue; } | { ok: false; reason: 'provider-missing' | 'method-missing' | 'invalid-input' | 'provider-error' | 'cancelled'; message: string; };"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "CordisInspectRequestId",
|
|
1458
|
+
"declaration": "export type CordisInspectRequestId = Branded<'CordisInspectRequestId'>;"
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"name": "CordisInspectResolveAck",
|
|
1462
|
+
"declaration": "export interface CordisInspectResolveAck {\n accepted: boolean;\n}"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "CordisRunDiagnostic",
|
|
1466
|
+
"declaration": "export interface CordisRunDiagnostic {\n phase: 'approval' | 'host-load' | 'host-apply' | 'client-load' | 'client-apply' | 'client-render';\n message: string;\n stack?: string;\n pluginId: CordisDynamicPluginId;\n packageId: CordisDynamicPackageId;\n pluginRunId: CordisDynamicPluginRunId;\n}"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "CordisRunStatus",
|
|
1470
|
+
"declaration": "export type CordisRunStatus = 'awaiting-approval' | 'starting-host' | 'client-pending' | 'running' | 'waiting' | 'rejected' | 'failed' | 'cancelled' | 'stopped';"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "DynamicCordisClientSource",
|
|
1474
|
+
"declaration": "export interface DynamicCordisClientSource {\n code: string;\n name: string;\n pluginId: CordisDynamicPluginId;\n packageId: CordisDynamicPackageId;\n pluginRunId: CordisDynamicPluginRunId;\n}"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "DynamicCordisDefineReceipt",
|
|
1478
|
+
"declaration": "export interface DynamicCordisDefineReceipt {\n pluginId: CordisDynamicPluginId;\n packageId: CordisDynamicPackageId;\n name: string;\n purpose: string;\n hasHostHalf: boolean;\n hasClientHalf: boolean;\n}"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"name": "DynamicCordisDefineRequest",
|
|
1482
|
+
"declaration": "export interface DynamicCordisDefineRequest {\n sessionId: SessionId;\n plugin: { kind: 'new'; idPrefix: string; } | { kind: 'existing'; pluginId: CordisDynamicPluginId; };\n name: string;\n purpose: string;\n code: { host?: string; client?: string; };\n}"
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "DynamicCordisHostHalfResult",
|
|
1486
|
+
"declaration": "export type DynamicCordisHostHalfResult = { ok: true; pluginId: CordisDynamicPluginId; packageId: CordisDynamicPackageId; pluginRunId: CordisDynamicPluginRunId; waitingFor: readonly string[]; startedHere: boolean; } | ({ ok: false; } & CordisErrorDetails);"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "DynamicCordisInventoryPackage",
|
|
1490
|
+
"declaration": "export interface DynamicCordisInventoryPackage {\n packageId: CordisDynamicPackageId;\n name: string;\n purpose: string;\n hasHostHalf: boolean;\n hasClientHalf: boolean;\n}"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "DynamicCordisInventoryRow",
|
|
1494
|
+
"declaration": "export interface DynamicCordisInventoryRow {\n pluginId: CordisDynamicPluginId;\n agentId: SessionId;\n packages: readonly DynamicCordisInventoryPackage[];\n currentPackageId?: CordisDynamicPackageId;\n nextPackageId?: CordisDynamicPackageId;\n activeRun?: { pluginRunId: CordisDynamicPluginRunId; packageId: CordisDynamicPackageId; };\n latestRun?: DynamicCordisRunAttempt;\n}"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "DynamicCordisInvokeResult",
|
|
1498
|
+
"declaration": "export type DynamicCordisInvokeResult = { ok: true; value: JsonValue; } | ({ ok: false; code: 'plugin-not-running' | 'stale-run' | 'method-not-found' | 'handler-error'; } & CordisErrorDetails);"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "DynamicCordisPackageInspection",
|
|
1502
|
+
"declaration": "export interface DynamicCordisPackageInspection extends DynamicCordisReference {\n code: { host?: string; client?: string; };\n}"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "DynamicCordisPluginInspection",
|
|
1506
|
+
"declaration": "export interface DynamicCordisPluginInspection extends DynamicCordisReference {\n packages: Array<{ packageId: CordisDynamicPackageId; name: string; purpose: string; hasHostHalf: boolean; hasClientHalf: boolean; }>;\n}"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"name": "DynamicCordisReference",
|
|
1510
|
+
"declaration": "export interface DynamicCordisReference {\n pluginId: CordisDynamicPluginId;\n packageId: CordisDynamicPackageId;\n name: string;\n purpose: string;\n currentPackageId?: CordisDynamicPackageId;\n nextPackageId?: CordisDynamicPackageId;\n activeRun?: { pluginRunId: CordisDynamicPluginRunId; packageId: CordisDynamicPackageId; };\n latestRun?: DynamicCordisRunAttempt;\n}"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "DynamicCordisRenderFailure",
|
|
1514
|
+
"declaration": "export interface DynamicCordisRenderFailure {\n slot: string;\n message: string;\n stack?: string;\n abdicated: boolean;\n}"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"name": "DynamicCordisResolveAck",
|
|
1518
|
+
"declaration": "export interface DynamicCordisResolveAck {\n accepted: boolean;\n}"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "DynamicCordisRunAttempt",
|
|
1522
|
+
"declaration": "export interface DynamicCordisRunAttempt {\n pluginRunId: CordisDynamicPluginRunId;\n packageId: CordisDynamicPackageId;\n mode: CordisDynamicRunMode;\n status: CordisRunStatus;\n approvalRequestId?: ApprovalRequestId;\n requiresApproval?: boolean;\n host: CordisHalfState;\n client: CordisHalfState;\n error?: CordisRunDiagnostic;\n}"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "DynamicCordisRunResolution",
|
|
1526
|
+
"declaration": "export type DynamicCordisRunResolution = { ok: true; pluginRunId: CordisDynamicPluginRunId; waitingFor?: readonly string[]; } | { ok: false; reason: 'rejected' | 'host-half-failed' | 'client-half-failed'; pluginRunId?: CordisDynamicPluginRunId; startedHere?: boolean; message?: string; stack?: string; };"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "DynamicCordisRunResponse",
|
|
1530
|
+
"declaration": "export type DynamicCordisRunResponse = { ok: true; status: 'awaiting-approval' | 'starting' | 'running'; pluginId: CordisDynamicPluginId; packageId: CordisDynamicPackageId; pluginRunId: CordisDynamicPluginRunId; waitingFor: readonly string[]; clientWaitingFor?: readonly string[]; currentPackageId?: CordisDynamicPackageId; nextPackageId?: CordisDynamicPackageId; mode: CordisDynamicRunMode; } | { ok: false; reason: 'plugin-missing' | 'package-missing' | 'invalid-mode' | 'transition-in-flight' | 'host-half-failed' | 'client-half-failed' | 'rejected' | 'cancelled' | 'not-running'; message: string; stack?: string; };"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "DynamicCordisSnapshotRow",
|
|
1534
|
+
"declaration": "export interface DynamicCordisSnapshotRow {\n pluginId: CordisDynamicPluginId;\n currentPackageId?: CordisDynamicPackageId;\n nextPackageId?: CordisDynamicPackageId;\n packages: Array<{ packageId: CordisDynamicPackageId; name: string; purpose: string; hasHostHalf: boolean; hasClientHalf: boolean; }>;\n activeRun?: { pluginRunId: CordisDynamicPluginRunId; packageId: CordisDynamicPackageId; fiber?: Fiber; handlers: string[]; renderFailure?: DynamicCordisRenderFailure; };\n latestRun?: DynamicCordisRunAttempt;\n}"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "DynamicCordisStopResponse",
|
|
1538
|
+
"declaration": "export type DynamicCordisStopResponse = { ok: true; } | { ok: false; reason: 'plugin-missing' | 'not-running'; message: string; };"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "DynamicCordisUndefineReceipt",
|
|
1542
|
+
"declaration": "export type DynamicCordisUndefineReceipt = { ok: true; wasRunning: boolean; } | { ok: false; reason: 'plugin-missing'; message: string; };"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "EpochHeader",
|
|
1546
|
+
"declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n system?: string;\n tools?: ToolSchema[];\n}"
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "FinishReason",
|
|
1550
|
+
"declaration": "export type FinishReason = FinishReasonMap[keyof FinishReasonMap];"
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"name": "FinishReasonMap",
|
|
1554
|
+
"declaration": "export interface FinishReasonMap {\n stop: { kind: 'stop'; };\n 'tool-calls': { kind: 'tool-calls'; };\n 'max-tokens': { kind: 'max-tokens'; };\n aborted: { kind: 'aborted'; failure: LlmFailure; };\n error: { kind: 'error'; failure: LlmFailure; };\n}"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "GoalBlockReason",
|
|
1558
|
+
"declaration": "export interface GoalBlockReason {\n readonly code: string;\n readonly message: string;\n}"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "GoalChangeMeta",
|
|
1562
|
+
"declaration": "export type GoalChangeMeta = GoalSnapshotChangeMeta | GoalClearChangeMeta;"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "GoalClearChangeMeta",
|
|
1566
|
+
"declaration": "export interface GoalClearChangeMeta {\n readonly kind: 'goal/change';\n readonly version: 1;\n readonly operation: 'clear';\n readonly cleared: GoalRef;\n readonly clearedAt: number;\n}"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "GoalId",
|
|
1570
|
+
"declaration": "export type GoalId = Branded<'GoalId'>;"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "GoalMessageSource",
|
|
1574
|
+
"declaration": "export interface GoalMessageSource {\n readonly kind: 'goal';\n readonly goalId: GoalId;\n readonly revision: number;\n readonly round: number;\n}"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "GoalOperation",
|
|
1578
|
+
"declaration": "export type GoalOperation = 'create' | 'edit' | 'pause' | 'resume' | 'complete' | 'block' | 'clear';"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "GoalPhase",
|
|
1582
|
+
"declaration": "export type GoalPhase = 'active' | 'paused' | 'blocked' | 'complete';"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"name": "GoalRef",
|
|
1586
|
+
"declaration": "export interface GoalRef {\n readonly id: GoalId;\n readonly revision: number;\n}"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "GoalSnapshot",
|
|
1590
|
+
"declaration": "export interface GoalSnapshot extends GoalRef {\n readonly objective: string;\n readonly phase: GoalPhase;\n readonly blockedReason?: GoalBlockReason;\n readonly maxGoalRounds: number;\n}"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"name": "GoalSnapshotChangeMeta",
|
|
1594
|
+
"declaration": "export interface GoalSnapshotChangeMeta {\n readonly kind: 'goal/change';\n readonly version: 1;\n readonly operation: Exclude<GoalOperation, 'clear'>;\n readonly goal: GoalSnapshot;\n readonly roundsStarted: number;\n readonly createdAt: number;\n readonly updatedAt: number;\n}"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "ImageAttachmentRef",
|
|
1598
|
+
"declaration": "export interface ImageAttachmentRef {\n attachmentId: AttachmentId;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n name?: string;\n}"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "ImageBlock",
|
|
1602
|
+
"declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n}"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "ImageMediaType",
|
|
1606
|
+
"declaration": "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "Inbox",
|
|
1610
|
+
"declaration": "export class Inbox {\n get nextTurn(): readonly UserMessage[];\n get nextStep(): readonly UserMessage[];\n get hasPending(): boolean;\n clear(): void;\n claim(target: InboxTarget, turn: number): UserMessage[];\n append(target: InboxTarget, message: UserMessage): void;\n prepend(target: InboxTarget, message: UserMessage): void;\n replace(messageId: MessageId, newMessage: UserMessage): boolean;\n remove(messageId: MessageId): boolean;\n splice(target: InboxTarget, start: number, deleteCount: number, inserted: UserMessage[]): UserMessage[];\n}"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "InboxTarget",
|
|
1614
|
+
"declaration": "export type InboxTarget = 'next-turn' | 'next-step';"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"name": "JsonValue",
|
|
1618
|
+
"declaration": "export type JsonValue = null | boolean | number | string | JsonValue[] | { [key: string]: JsonValue; };"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "LlmCallConfig",
|
|
1622
|
+
"declaration": "export interface LlmCallConfig {\n provider: string;\n model: string;\n reasoningEffort?: ReasoningEffortId;\n temperature?: number;\n maxTokens?: number;\n stop?: string[];\n}"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "LlmCallConfigAdapterDefaults",
|
|
1626
|
+
"declaration": "export interface LlmCallConfigAdapterDefaults {\n reasoningEffort?: true;\n maxTokens?: true;\n}"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "LlmFailure",
|
|
1630
|
+
"declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n}"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "Message",
|
|
1634
|
+
"declaration": "export interface Message {\n readonly id: MessageId;\n readonly role: 'system' | 'user' | 'assistant';\n readonly content: ContentBlock[];\n readonly source: MessageSource;\n}"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "MessageId",
|
|
1638
|
+
"declaration": "export type MessageId = Branded<'MessageId'>;"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "MessageSource",
|
|
1642
|
+
"declaration": "export type MessageSource = MessageSourceMap[keyof MessageSourceMap];"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"name": "MessageSourceMap",
|
|
1646
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n plugin: { kind: 'plugin'; plugin: string; } & ContextFormed;\n model: ModelMessageSource;\n tool: ToolMessageSource;\n goal: GoalMessageSource;\n}"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"name": "ModelMessageSource",
|
|
1650
|
+
"declaration": "export interface ModelMessageSource extends AssistantProvenance {\n kind: 'model';\n}"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "ProviderRequestId",
|
|
1654
|
+
"declaration": "export type ProviderRequestId = Branded<'ProviderRequestId'>;"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "ReasoningBlock",
|
|
1658
|
+
"declaration": "export interface ReasoningBlock {\n type: 'reasoning';\n text: string;\n}"
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "ReasoningEffortId",
|
|
1662
|
+
"declaration": "export type ReasoningEffortId = Branded<'ReasoningEffortId'>;"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"name": "RequestContext",
|
|
1666
|
+
"declaration": "export interface RequestContext {\n provider: string;\n model: string;\n contextWindow?: number;\n}"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "RequestHeaderReason",
|
|
1670
|
+
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change';"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "Session",
|
|
1674
|
+
"declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n get id(): SessionId;\n readonly firstLiveSeq: number;\n get events(): readonly SessionEvent[];\n get seq(): number;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "SessionEvent",
|
|
1678
|
+
"declaration": "export type SessionEvent<T extends SessionEventType = SessionEventType> = { [K in SessionEventType]: { type: K; seq: number; time: number; data: SessionEventMap[K]; ignorable?: true; } & (K extends SurfaceEventType ? { sourceEventSeqs?: number[]; surfaceOp?: SurfaceOp; } : object) }[T];"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "SessionEventMap",
|
|
1682
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'assistant/chunk': { turn: number; step: number; chunk: StreamChunk; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; usage?: TokenUsage; };\n 'tool/call': { turn: number; step: number; callId: CallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; }; meta?: JsonValue; };\n 'todo/write': { todos: TodoItem[]; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: number; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: CallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/code-dispatch-start': CodeDispatchStartEventData;\n 'tool/code-dispatch': CodeDispatchEventData;\n 'goal/change': GoalChangeMeta;\n}"
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "SessionEventType",
|
|
1686
|
+
"declaration": "export type SessionEventType = keyof SessionEventMap;"
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "SessionHeader",
|
|
1690
|
+
"declaration": "export interface SessionHeader {\n readonly version: number;\n readonly id: SessionId;\n readonly createdAt: number;\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly seedLength?: number;\n readonly origin?: 'subagent';\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n}"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "SessionId",
|
|
1694
|
+
"declaration": "export type SessionId = Branded<'SessionId'>;"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "SessionSurface",
|
|
1698
|
+
"declaration": "export interface SessionSurface {\n readonly nodes: readonly number[];\n readonly replaceGeneration: number;\n}"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "StreamChunk",
|
|
1702
|
+
"declaration": "export type StreamChunk = { type: 'block-start'; index: number; blockType: ContentBlockType; } | { type: 'text-delta'; index: number; text: string; } | { type: 'reasoning-delta'; index: number; text: string; } | { type: 'tool-call-delta'; index: number; id: CallId; name?: string; argumentsDelta: string; } | { type: 'block-end'; index: number; block: ContentBlock; } | { type: 'usage'; usage: TokenUsage; } | { type: 'finish'; reason: FinishReason; replayState?: unknown; };"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "SurfaceEventType",
|
|
1706
|
+
"declaration": "export type SurfaceEventType = 'user/message' | 'assistant/message' | 'tool/result';"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "SurfaceIntent",
|
|
1710
|
+
"declaration": "export interface SurfaceIntent {\n surfaceOp: SurfaceOp;\n sourceEventSeqs?: number[];\n}"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "SurfaceOp",
|
|
1714
|
+
"declaration": "export type SurfaceOp = 'append' | { op: 'replace'; start: number; end: number; };"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "TextBlock",
|
|
1718
|
+
"declaration": "export interface TextBlock {\n type: 'text';\n text: string;\n}"
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "TodoItem",
|
|
1722
|
+
"declaration": "export interface TodoItem {\n content: string;\n status: 'pending' | 'in_progress' | 'completed';\n}"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "TokenUsage",
|
|
1726
|
+
"declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"name": "ToolCallBlock",
|
|
1730
|
+
"declaration": "export interface ToolCallBlock {\n type: 'tool-call';\n id: CallId;\n name: string;\n arguments: string;\n}"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "ToolMessageSource",
|
|
1734
|
+
"declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: CallId;\n}"
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "ToolResultBlock",
|
|
1738
|
+
"declaration": "export interface ToolResultBlock {\n type: 'tool-result';\n toolCallId: CallId;\n content: ContentBlock[];\n isError?: boolean;\n}"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"name": "ToolResultMessage",
|
|
1742
|
+
"declaration": "export interface ToolResultMessage extends Message {\n readonly role: 'user';\n readonly content: [ToolResultBlock];\n readonly source: ToolMessageSource;\n}"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "ToolSchema",
|
|
1746
|
+
"declaration": "export interface ToolSchema {\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "TurnEndCancelCause",
|
|
1750
|
+
"declaration": "export type TurnEndCancelCause = AgentCancelCause | { readonly kind: 'legacy'; };"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "TurnEndReason",
|
|
1754
|
+
"declaration": "export type TurnEndReason = TurnEndReasonMap[keyof TurnEndReasonMap];"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"name": "TurnEndReasonMap",
|
|
1758
|
+
"declaration": "export interface TurnEndReasonMap {\n completed: { kind: 'completed'; };\n aborted: { kind: 'aborted'; reason: TurnEndCancelCause; };\n blocked: { kind: 'blocked'; };\n error: { kind: 'error'; error: LlmFailure; };\n 'max-tokens': { kind: 'max-tokens'; };\n interrupted: { kind: 'interrupted'; };\n}"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"name": "UserMessage",
|
|
1762
|
+
"declaration": "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
|
|
1763
|
+
}
|
|
1764
|
+
]
|
|
1765
|
+
}
|
|
1766
|
+
],
|
|
1767
|
+
"events": [
|
|
1768
|
+
{
|
|
1769
|
+
"description": "One exact Plugin/Package activation is now live in the Host.",
|
|
1770
|
+
"summary": "One exact Plugin/Package activation is now live in the Host.",
|
|
1771
|
+
"tags": [
|
|
1772
|
+
{
|
|
1773
|
+
"name": "param",
|
|
1774
|
+
"argument": "pkg",
|
|
1775
|
+
"comment": "- stable plugin, immutable package, run identity, and label.",
|
|
1776
|
+
"text": "@param pkg - stable plugin, immutable package, run identity, and label.\n *"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"name": "mode",
|
|
1780
|
+
"comment": "emit",
|
|
1781
|
+
"text": "@mode emit"
|
|
1782
|
+
}
|
|
1783
|
+
],
|
|
1784
|
+
"jsDoc": "/**\n * One exact Plugin/Package activation is now live in the Host.\n * @param pkg - stable plugin, immutable package, run identity, and label.\n * @mode emit\n */",
|
|
1785
|
+
"name": "cordis/dynamic-package",
|
|
1786
|
+
"mode": "emit",
|
|
1787
|
+
"signature": "'cordis/dynamic-package'(pkg: DynamicCordisPackage): void"
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"description": "One exact activation was withdrawn.",
|
|
1791
|
+
"summary": "One exact activation was withdrawn.",
|
|
1792
|
+
"tags": [
|
|
1793
|
+
{
|
|
1794
|
+
"name": "param",
|
|
1795
|
+
"argument": "retracted",
|
|
1796
|
+
"comment": "- plugin, package, and run identity.",
|
|
1797
|
+
"text": "@param retracted - plugin, package, and run identity.\n *"
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"name": "mode",
|
|
1801
|
+
"comment": "emit",
|
|
1802
|
+
"text": "@mode emit"
|
|
1803
|
+
}
|
|
1804
|
+
],
|
|
1805
|
+
"jsDoc": "/**\n * One exact activation was withdrawn.\n * @param retracted - plugin, package, and run identity.\n * @mode emit\n */",
|
|
1806
|
+
"name": "cordis/dynamic-retract",
|
|
1807
|
+
"mode": "emit",
|
|
1808
|
+
"signature": "'cordis/dynamic-retract'(retracted: DynamicCordisRetracted): void"
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"description": "Request a live read-only query from the Client inspect registry.",
|
|
1812
|
+
"summary": "Request a live read-only query from the Client inspect registry.",
|
|
1813
|
+
"tags": [
|
|
1814
|
+
{
|
|
1815
|
+
"name": "param",
|
|
1816
|
+
"argument": "request",
|
|
1817
|
+
"comment": "- correlation, Session, provider, method, and JSON input.",
|
|
1818
|
+
"text": "@param request - correlation, Session, provider, method, and JSON input.\n *"
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "mode",
|
|
1822
|
+
"comment": "emit",
|
|
1823
|
+
"text": "@mode emit"
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
"jsDoc": "/**\n * Request a live read-only query from the Client inspect registry.\n * @param request - correlation, Session, provider, method, and JSON input.\n * @mode emit\n */",
|
|
1827
|
+
"name": "cordis/inspect-query",
|
|
1828
|
+
"mode": "emit",
|
|
1829
|
+
"signature": "'cordis/inspect-query'(request: CordisInspectQueryRequest): void"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"description": "Notify every Client that an inspect query has settled or been cancelled.",
|
|
1833
|
+
"summary": "Notify every Client that an inspect query has settled or been cancelled.",
|
|
1834
|
+
"tags": [
|
|
1835
|
+
{
|
|
1836
|
+
"name": "param",
|
|
1837
|
+
"argument": "resolved",
|
|
1838
|
+
"comment": "- exact query identity that is no longer answerable.",
|
|
1839
|
+
"text": "@param resolved - exact query identity that is no longer answerable.\n *"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "mode",
|
|
1843
|
+
"comment": "emit",
|
|
1844
|
+
"text": "@mode emit"
|
|
1845
|
+
}
|
|
1846
|
+
],
|
|
1847
|
+
"jsDoc": "/**\n * Notify every Client that an inspect query has settled or been cancelled.\n * @param resolved - exact query identity that is no longer answerable.\n * @mode emit\n */",
|
|
1848
|
+
"name": "cordis/inspect-query-resolved",
|
|
1849
|
+
"mode": "emit",
|
|
1850
|
+
"signature": "'cordis/inspect-query-resolved'(resolved: CordisInspectQueryResolved): void"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"description": "A Client-bearing activation needs a browser page, and may require a user decision.",
|
|
1854
|
+
"summary": "A Client-bearing activation needs a browser page, and may require a user decision.",
|
|
1855
|
+
"tags": [
|
|
1856
|
+
{
|
|
1857
|
+
"name": "param",
|
|
1858
|
+
"argument": "request",
|
|
1859
|
+
"comment": "- correlation identity, owner, target version, mode, and approval requirement.",
|
|
1860
|
+
"text": "@param request - correlation identity, owner, target version, mode, and approval requirement.\n *"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "mode",
|
|
1864
|
+
"comment": "emit",
|
|
1865
|
+
"text": "@mode emit"
|
|
1866
|
+
}
|
|
1867
|
+
],
|
|
1868
|
+
"jsDoc": "/**\n * A Client-bearing activation needs a browser page, and may require a user decision.\n * @param request - correlation identity, owner, target version, mode, and approval requirement.\n * @mode emit\n */",
|
|
1869
|
+
"name": "cordis/request-run",
|
|
1870
|
+
"mode": "emit",
|
|
1871
|
+
"signature": "'cordis/request-run'(request: DynamicCordisRunRequest): void"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"description": "A pending Client activation request left the answerable state.",
|
|
1875
|
+
"summary": "A pending Client activation request left the answerable state.",
|
|
1876
|
+
"tags": [
|
|
1877
|
+
{
|
|
1878
|
+
"name": "param",
|
|
1879
|
+
"argument": "resolved",
|
|
1880
|
+
"comment": "- request identity and outcome.",
|
|
1881
|
+
"text": "@param resolved - request identity and outcome.\n *"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "mode",
|
|
1885
|
+
"comment": "emit",
|
|
1886
|
+
"text": "@mode emit"
|
|
1887
|
+
}
|
|
1888
|
+
],
|
|
1889
|
+
"jsDoc": "/**\n * A pending Client activation request left the answerable state.\n * @param resolved - request identity and outcome.\n * @mode emit\n */",
|
|
1890
|
+
"name": "cordis/request-run-resolved",
|
|
1891
|
+
"mode": "emit",
|
|
1892
|
+
"signature": "'cordis/request-run-resolved'(resolved: DynamicCordisRequestResolved): void"
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"objects": []
|
|
1896
|
+
},
|
|
1897
|
+
}
|