@tryvira/sdk 0.1.74 → 0.1.93
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/README.md +13 -1
- package/dist/contracts/external-host-commercial-v1.d.ts +23 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1282 -34
- package/dist/sdks/host-completion-adapters.d.ts +42 -0
- package/dist/sdks/host-completion-postgres.d.ts +14 -0
- package/dist/sdks/host-completion.d.ts +196 -0
- package/dist/sdks/js-client.d.ts +2016 -0
- package/package.json +40 -9
- package/dist/js-client.d.ts +0 -778
- /package/dist/{framework-adapters.d.ts → sdks/framework-adapters.d.ts} +0 -0
- /package/dist/{host-lifecycle.d.ts → sdks/host-lifecycle.d.ts} +0 -0
package/dist/js-client.d.ts
DELETED
|
@@ -1,778 +0,0 @@
|
|
|
1
|
-
export interface RuntimeRequest {
|
|
2
|
-
organizationId: string;
|
|
3
|
-
projectId: string;
|
|
4
|
-
environmentId: string;
|
|
5
|
-
revisionId: string;
|
|
6
|
-
idempotencyKey: string;
|
|
7
|
-
nonce: string;
|
|
8
|
-
expiresAt: number;
|
|
9
|
-
}
|
|
10
|
-
export interface SdkRequest {
|
|
11
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
12
|
-
path: string;
|
|
13
|
-
query?: Readonly<Record<string, string>>;
|
|
14
|
-
body?: Readonly<Record<string, unknown>>;
|
|
15
|
-
}
|
|
16
|
-
export type SdkFailureMode = "throw" | "open";
|
|
17
|
-
export interface ViraClientOptions {
|
|
18
|
-
baseUrl: string;
|
|
19
|
-
/** Explicit opt-in for plain HTTP on loopback during local development only. */
|
|
20
|
-
allowInsecureLocalhost?: boolean;
|
|
21
|
-
apiKey?: string;
|
|
22
|
-
fetcher?: typeof fetch;
|
|
23
|
-
timeoutMs?: number;
|
|
24
|
-
retries?: number;
|
|
25
|
-
failureMode?: SdkFailureMode;
|
|
26
|
-
defaultHeaders?: Readonly<Record<string, string>>;
|
|
27
|
-
/** Connection selected by connectOnce or supplied by the host integration. */
|
|
28
|
-
connectionId?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ViraResponse<T = unknown> {
|
|
31
|
-
status: number;
|
|
32
|
-
body: T;
|
|
33
|
-
requestId: string;
|
|
34
|
-
}
|
|
35
|
-
export interface BehaviorProjection {
|
|
36
|
-
rendered: string;
|
|
37
|
-
projectionDigest: string;
|
|
38
|
-
programDigest: string;
|
|
39
|
-
[key: string]: unknown;
|
|
40
|
-
}
|
|
41
|
-
export interface ProjectionReceipt {
|
|
42
|
-
projectionDigest: string;
|
|
43
|
-
programDigest: string;
|
|
44
|
-
artifactDigest: string;
|
|
45
|
-
receiptDigest: string;
|
|
46
|
-
[key: string]: unknown;
|
|
47
|
-
}
|
|
48
|
-
export interface RuntimeResolution {
|
|
49
|
-
behaviorPoint: string;
|
|
50
|
-
strategySelection?: ClientBody | null;
|
|
51
|
-
behaviorProjection?: BehaviorProjection;
|
|
52
|
-
projectionReceipt?: ProjectionReceipt;
|
|
53
|
-
projectionMode?: "active" | "unavailable" | "not-applicable";
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
}
|
|
56
|
-
export type TaskRunMode = "SINGLE" | "STRATEGY" | "COMPOUND" | "HYBRID";
|
|
57
|
-
export interface ScopedListOptions {
|
|
58
|
-
limit?: number;
|
|
59
|
-
cursor?: string;
|
|
60
|
-
status?: string;
|
|
61
|
-
search?: string;
|
|
62
|
-
}
|
|
63
|
-
export type TaskRunRequestedMode = TaskRunMode | "AUTO";
|
|
64
|
-
export interface TaskRunChildMode {
|
|
65
|
-
semanticTaskKey: string;
|
|
66
|
-
mode: "SINGLE" | "STRATEGY";
|
|
67
|
-
}
|
|
68
|
-
export type SemanticAbstainReason = "EXACT_NEGATIVE_MATCH" | "NO_EXACT_MATCH" | "PROVIDER_TASK_NOT_FOUND" | "PROVIDER_EXCLUDED_TASK" | "PROVIDER_CONFIDENCE_BELOW_THRESHOLD" | "PROVIDER_WINNER_MARGIN" | "SEMANTIC_PROVIDER_TIMEOUT";
|
|
69
|
-
export interface SemanticActivationReceipt extends Record<string, unknown> {
|
|
70
|
-
outcome: "select" | "continue" | "switch" | "clarify" | "abstain" | "unknown";
|
|
71
|
-
taskKey?: string;
|
|
72
|
-
confidence: number;
|
|
73
|
-
runnerUpConfidence: number;
|
|
74
|
-
abstainReason?: SemanticAbstainReason;
|
|
75
|
-
clarifyReason?: "AMBIGUOUS_MATCH" | "PROVIDER_LOW_CONFIDENCE";
|
|
76
|
-
}
|
|
77
|
-
export interface SemanticResolveBody extends Record<string, unknown> {
|
|
78
|
-
receipt?: SemanticActivationReceipt;
|
|
79
|
-
}
|
|
80
|
-
export interface TaskRunRouteRequest {
|
|
81
|
-
input: string;
|
|
82
|
-
requestedMode?: TaskRunRequestedMode;
|
|
83
|
-
intentCount?: number;
|
|
84
|
-
hostCapabilities?: readonly string[];
|
|
85
|
-
hybridPlan?: readonly TaskRunChildMode[];
|
|
86
|
-
connectionId?: string;
|
|
87
|
-
}
|
|
88
|
-
export interface TaskRunBudget {
|
|
89
|
-
maxChildren?: number;
|
|
90
|
-
maxCalls?: number;
|
|
91
|
-
maxLatencyMs?: number;
|
|
92
|
-
maxCostMicros?: number;
|
|
93
|
-
}
|
|
94
|
-
export interface TaskRunAdmissionRequest {
|
|
95
|
-
taskRunId: string;
|
|
96
|
-
requestId: string;
|
|
97
|
-
input: unknown;
|
|
98
|
-
ownerActorRef?: string;
|
|
99
|
-
requestedMode?: TaskRunRequestedMode;
|
|
100
|
-
hostCapabilities?: readonly string[];
|
|
101
|
-
hybridPlan?: readonly TaskRunChildMode[];
|
|
102
|
-
compoundPlanId?: string;
|
|
103
|
-
conversationId?: string;
|
|
104
|
-
episodeId?: string;
|
|
105
|
-
traceRootRef?: string;
|
|
106
|
-
budget?: TaskRunBudget;
|
|
107
|
-
connectionId?: string;
|
|
108
|
-
}
|
|
109
|
-
export interface TaskRunPromptRequest {
|
|
110
|
-
input: unknown;
|
|
111
|
-
taskRunId?: string;
|
|
112
|
-
requestId?: string;
|
|
113
|
-
conversationId?: string;
|
|
114
|
-
episodeId?: string;
|
|
115
|
-
traceRootRef?: string;
|
|
116
|
-
budget?: TaskRunBudget;
|
|
117
|
-
connectionId?: string;
|
|
118
|
-
hostCapabilities?: readonly string[];
|
|
119
|
-
}
|
|
120
|
-
export interface ConnectOnceResult {
|
|
121
|
-
system: ClientBody;
|
|
122
|
-
connection: ClientBody;
|
|
123
|
-
handshake: ClientBody;
|
|
124
|
-
}
|
|
125
|
-
export interface StrategyContinuationInput {
|
|
126
|
-
authorityDigest?: string;
|
|
127
|
-
state?: Readonly<Record<string, unknown>>;
|
|
128
|
-
references?: Readonly<Record<string, unknown>>;
|
|
129
|
-
}
|
|
130
|
-
export type ViraLearningNamespaces = {
|
|
131
|
-
evaluations: {
|
|
132
|
-
createPlan: (input: ClientBody, options?: {
|
|
133
|
-
idempotencyKey?: string;
|
|
134
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
135
|
-
get: (id: string) => Promise<ViraResponse<ClientBody> | null>;
|
|
136
|
-
compare: (id: string) => Promise<ViraResponse<ClientBody> | null>;
|
|
137
|
-
reviewFinding: (evaluationId: string, findingId: string, input: {
|
|
138
|
-
decision: 'ACCEPT' | 'REJECT' | 'EDIT' | 'MORE_EVIDENCE';
|
|
139
|
-
reason?: string;
|
|
140
|
-
}, options?: {
|
|
141
|
-
idempotencyKey?: string;
|
|
142
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
143
|
-
proposeImprovement: (id: string, input: ClientBody, options?: {
|
|
144
|
-
idempotencyKey?: string;
|
|
145
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
146
|
-
};
|
|
147
|
-
teach: {
|
|
148
|
-
review: (id: string, action?: 'request-review' | 'approve' | 'reject', options?: {
|
|
149
|
-
idempotencyKey?: string;
|
|
150
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
151
|
-
createCandidate: (input: ClientBody, options?: {
|
|
152
|
-
idempotencyKey?: string;
|
|
153
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
154
|
-
evaluateCandidate: (id: string, input: ClientBody, options?: {
|
|
155
|
-
idempotencyKey?: string;
|
|
156
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
157
|
-
};
|
|
158
|
-
packs: {
|
|
159
|
-
createRevision: (input: ClientBody, options?: {
|
|
160
|
-
idempotencyKey?: string;
|
|
161
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
162
|
-
getRevision: (id: string) => Promise<ViraResponse<ClientBody> | null>;
|
|
163
|
-
diffRevision: (id: string) => Promise<ViraResponse<ClientBody> | null>;
|
|
164
|
-
transitionRevision: (id: string, transition: 'validate' | 'request-approval' | 'approve' | 'release' | 'reject', options?: {
|
|
165
|
-
idempotencyKey?: string;
|
|
166
|
-
}) => Promise<ViraResponse<ClientBody> | null>;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export declare class ViraApiError extends Error {
|
|
170
|
-
readonly status: number;
|
|
171
|
-
readonly body: unknown;
|
|
172
|
-
readonly requestId: string;
|
|
173
|
-
constructor(message: string, status: number, body: unknown, requestId: string);
|
|
174
|
-
}
|
|
175
|
-
type ClientBody = Record<string, unknown>;
|
|
176
|
-
type ClientObservationScope = {
|
|
177
|
-
organizationId: string;
|
|
178
|
-
projectId: string;
|
|
179
|
-
environmentId: string;
|
|
180
|
-
};
|
|
181
|
-
type ClientObservation = ClientObservationScope & {
|
|
182
|
-
eventId: string;
|
|
183
|
-
eventType: string;
|
|
184
|
-
aiSystemId: string;
|
|
185
|
-
connectionId: string;
|
|
186
|
-
/** Optional composed-scope members. They are carried as server-readable
|
|
187
|
-
* identity, never as model/client authority. */
|
|
188
|
-
workspaceId?: string;
|
|
189
|
-
userId?: string;
|
|
190
|
-
sessionId?: string;
|
|
191
|
-
[key: string]: unknown;
|
|
192
|
-
};
|
|
193
|
-
export interface ViraHttpRequestOptions {
|
|
194
|
-
apiKey?: string;
|
|
195
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
196
|
-
body?: unknown;
|
|
197
|
-
idempotencyKey?: string;
|
|
198
|
-
fetcher?: typeof fetch;
|
|
199
|
-
timeoutMs?: number;
|
|
200
|
-
retries?: number;
|
|
201
|
-
defaultHeaders?: Readonly<Record<string, string>>;
|
|
202
|
-
}
|
|
203
|
-
/** Shared transport policy for SDK-adjacent integrations such as MCP. */
|
|
204
|
-
export declare function viraHttpRequest<T = unknown>(url: string | URL, options: ViraHttpRequestOptions): Promise<ViraResponse<T>>;
|
|
205
|
-
/** Small, authority-aware client over the existing versioned control API. */
|
|
206
|
-
export declare class ViraClient {
|
|
207
|
-
readonly evaluations: ViraLearningNamespaces['evaluations'];
|
|
208
|
-
readonly teach: ViraLearningNamespaces['teach'];
|
|
209
|
-
readonly packs: ViraLearningNamespaces['packs'];
|
|
210
|
-
private readonly baseUrl;
|
|
211
|
-
private readonly apiKey?;
|
|
212
|
-
private readonly fetcher;
|
|
213
|
-
private readonly timeoutMs;
|
|
214
|
-
private readonly retries;
|
|
215
|
-
private readonly failureMode;
|
|
216
|
-
private readonly defaultHeaders;
|
|
217
|
-
private boundConnectionId?;
|
|
218
|
-
constructor(options: ViraClientOptions);
|
|
219
|
-
private request;
|
|
220
|
-
connectSystem(input: {
|
|
221
|
-
name: string;
|
|
222
|
-
systemType: string;
|
|
223
|
-
organizationId: string;
|
|
224
|
-
projectId: string;
|
|
225
|
-
environmentId: string;
|
|
226
|
-
idempotencyKey?: string;
|
|
227
|
-
}): Promise<ViraResponse<{
|
|
228
|
-
system: ClientBody;
|
|
229
|
-
}> | null>;
|
|
230
|
-
listAISystems(options?: ScopedListOptions): Promise<ViraResponse<ClientBody> | null>;
|
|
231
|
-
deleteAISystem(systemId: string, options?: {
|
|
232
|
-
confirm?: boolean;
|
|
233
|
-
idempotencyKey?: string;
|
|
234
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
235
|
-
deleteAISystemCascade(systemId: string, options?: {
|
|
236
|
-
confirm?: boolean;
|
|
237
|
-
deleteObservations?: boolean;
|
|
238
|
-
idempotencyKey?: string;
|
|
239
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
240
|
-
getAISystem(systemId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
241
|
-
connectAdapter(systemId: string, input: {
|
|
242
|
-
id?: string;
|
|
243
|
-
adapterType: string;
|
|
244
|
-
adapterVersion: string;
|
|
245
|
-
capabilities?: readonly string[];
|
|
246
|
-
config?: unknown;
|
|
247
|
-
idempotencyKey?: string;
|
|
248
|
-
}): Promise<ViraResponse<{
|
|
249
|
-
connection: ClientBody;
|
|
250
|
-
handshake: ClientBody;
|
|
251
|
-
}> | null>;
|
|
252
|
-
connectOnce(input: {
|
|
253
|
-
id?: string;
|
|
254
|
-
name: string;
|
|
255
|
-
systemType: string;
|
|
256
|
-
organizationId: string;
|
|
257
|
-
projectId: string;
|
|
258
|
-
environmentId: string;
|
|
259
|
-
adapterType: string;
|
|
260
|
-
adapterVersion: string;
|
|
261
|
-
capabilities?: readonly string[];
|
|
262
|
-
config?: unknown;
|
|
263
|
-
idempotencyKey?: string;
|
|
264
|
-
reuseExistingConnectionOnConflict?: boolean;
|
|
265
|
-
}): Promise<ViraResponse<ConnectOnceResult> | null>;
|
|
266
|
-
/** Canonical verb-noun name; connectOnce remains for source compatibility. */
|
|
267
|
-
connectAiSystem(input: Parameters<ViraClient['connectOnce']>[0]): Promise<ViraResponse<ConnectOnceResult> | null>;
|
|
268
|
-
observe(event: ClientObservation, options?: {
|
|
269
|
-
idempotencyKey?: string;
|
|
270
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
271
|
-
listObservations(input?: {
|
|
272
|
-
limit?: number;
|
|
273
|
-
cursor?: string;
|
|
274
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
275
|
-
getObservation(eventId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
276
|
-
trace(event: ClientObservationScope & {
|
|
277
|
-
eventId: string;
|
|
278
|
-
aiSystemId: string;
|
|
279
|
-
connectionId: string;
|
|
280
|
-
traceId?: string;
|
|
281
|
-
spanId?: string;
|
|
282
|
-
[key: string]: unknown;
|
|
283
|
-
}, options?: {
|
|
284
|
-
idempotencyKey?: string;
|
|
285
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
286
|
-
searchRuntimeTraces(query?: {
|
|
287
|
-
limit?: number;
|
|
288
|
-
cursor?: string;
|
|
289
|
-
query?: string;
|
|
290
|
-
event?: string;
|
|
291
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
292
|
-
outcome(event: ClientObservationScope & {
|
|
293
|
-
eventId: string;
|
|
294
|
-
aiSystemId: string;
|
|
295
|
-
connectionId: string;
|
|
296
|
-
[key: string]: unknown;
|
|
297
|
-
}, options?: {
|
|
298
|
-
idempotencyKey?: string;
|
|
299
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
300
|
-
feedback(event: ClientObservationScope & {
|
|
301
|
-
eventId: string;
|
|
302
|
-
aiSystemId: string;
|
|
303
|
-
connectionId: string;
|
|
304
|
-
[key: string]: unknown;
|
|
305
|
-
}, options?: {
|
|
306
|
-
idempotencyKey?: string;
|
|
307
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
308
|
-
recordBusinessOutcome(event: Parameters<ViraClient['outcome']>[0], options?: {
|
|
309
|
-
idempotencyKey?: string;
|
|
310
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
311
|
-
recordUserFeedback(event: Parameters<ViraClient['feedback']>[0], options?: {
|
|
312
|
-
idempotencyKey?: string;
|
|
313
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
314
|
-
observeBatch(events: readonly (ClientObservationScope & {
|
|
315
|
-
eventId: string;
|
|
316
|
-
eventType: string;
|
|
317
|
-
aiSystemId: string;
|
|
318
|
-
connectionId: string;
|
|
319
|
-
[key: string]: unknown;
|
|
320
|
-
})[], options?: {
|
|
321
|
-
idempotencyKey?: string;
|
|
322
|
-
}): Promise<ViraResponse<SemanticResolveBody> | null>;
|
|
323
|
-
observeSdk(delivery: ClientBody, options?: {
|
|
324
|
-
idempotencyKey?: string;
|
|
325
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
326
|
-
discover(options?: {
|
|
327
|
-
reviewState?: string;
|
|
328
|
-
limit?: number;
|
|
329
|
-
cursor?: string;
|
|
330
|
-
search?: string;
|
|
331
|
-
}): Promise<ViraResponse<{
|
|
332
|
-
candidates: readonly ClientBody[];
|
|
333
|
-
}> | null>;
|
|
334
|
-
createSignalDiscoveryProposal(input: ClientBody, options?: {
|
|
335
|
-
idempotencyKey?: string;
|
|
336
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
337
|
-
reviewSignalDiscoveryProposal(proposalId: string, decision: "APPROVE" | "REJECT", options?: {
|
|
338
|
-
idempotencyKey?: string;
|
|
339
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
340
|
-
materializeSignalDiscovery(proposalId: string, input?: ClientBody, options?: {
|
|
341
|
-
idempotencyKey?: string;
|
|
342
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
343
|
-
createSignalMapping(input: ClientBody, options?: {
|
|
344
|
-
idempotencyKey?: string;
|
|
345
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
346
|
-
getSignalMapping(mappingId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
347
|
-
reviewSignalMapping(mappingId: string, input?: ClientBody, options?: {
|
|
348
|
-
idempotencyKey?: string;
|
|
349
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
350
|
-
connectionHealth(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
351
|
-
getConnection(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
352
|
-
listSystemConnections(systemId: string, options?: ScopedListOptions): Promise<ViraResponse<ClientBody> | null>;
|
|
353
|
-
inventory(systemId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
354
|
-
listPacks(options?: ScopedListOptions): Promise<ViraResponse<{
|
|
355
|
-
packs: readonly ClientBody[];
|
|
356
|
-
}> | null>;
|
|
357
|
-
getPack(packId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
358
|
-
deletePack(packId: string, options?: {
|
|
359
|
-
confirm?: boolean;
|
|
360
|
-
idempotencyKey?: string;
|
|
361
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
362
|
-
importPack(input: {
|
|
363
|
-
manifest?: unknown;
|
|
364
|
-
objects?: Record<string, unknown>;
|
|
365
|
-
archiveBase64?: string;
|
|
366
|
-
fileName?: string;
|
|
367
|
-
idempotencyKey?: string;
|
|
368
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
369
|
-
installPack(packId: string, variables?: Record<string, unknown>): Promise<ViraResponse<ClientBody> | null>;
|
|
370
|
-
diagnosePack(packId: string, input?: {
|
|
371
|
-
runtimeBindings?: readonly string[];
|
|
372
|
-
knownVerifiers?: readonly string[];
|
|
373
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
374
|
-
evaluatePack(packId: string, input: {
|
|
375
|
-
evaluationId: string;
|
|
376
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
377
|
-
approvePack(packId: string, options?: {
|
|
378
|
-
manualApproval?: boolean;
|
|
379
|
-
reason?: string;
|
|
380
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
381
|
-
releasePack(packId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
382
|
-
previewPackUpgrade(packId: string, incoming: ClientBody): Promise<ViraResponse<ClientBody> | null>;
|
|
383
|
-
executeRuntime(input: RuntimeRequest & Record<string, unknown>): Promise<ViraResponse<ClientBody> | null>;
|
|
384
|
-
resolveRuntime(input: {
|
|
385
|
-
behaviorPoint?: string;
|
|
386
|
-
executionBoundary?: Record<string, unknown>;
|
|
387
|
-
semanticContext?: Record<string, unknown>;
|
|
388
|
-
signalAttestationRefs?: readonly {
|
|
389
|
-
stableKey: string;
|
|
390
|
-
mappingId: string;
|
|
391
|
-
eventId: string;
|
|
392
|
-
}[];
|
|
393
|
-
idempotencyKey?: string;
|
|
394
|
-
}): Promise<ViraResponse<RuntimeResolution> | null>;
|
|
395
|
-
/** Resolve a runtime route from a governed execution boundary and semantic context. */
|
|
396
|
-
resolveBoundary(input: {
|
|
397
|
-
executionBoundary: Record<string, unknown>;
|
|
398
|
-
semanticContext?: Record<string, unknown>;
|
|
399
|
-
idempotencyKey?: string;
|
|
400
|
-
}): Promise<ViraResponse<RuntimeResolution> | null>;
|
|
401
|
-
/** Classify input only; use resolveRuntime for one BehaviorPoint or resolveTaskRun/startTaskRun for TaskRun routing and execution. */
|
|
402
|
-
resolveSemantic(input: {
|
|
403
|
-
input: string;
|
|
404
|
-
profile?: Record<string, unknown>;
|
|
405
|
-
sessionId?: string;
|
|
406
|
-
selection?: Record<string, unknown>;
|
|
407
|
-
candidates?: readonly string[];
|
|
408
|
-
timeoutMs?: number;
|
|
409
|
-
requestId?: string;
|
|
410
|
-
executionBoundary?: Record<string, unknown>;
|
|
411
|
-
idempotencyKey?: string;
|
|
412
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
413
|
-
resolveSemanticRuntime(input: {
|
|
414
|
-
input: string;
|
|
415
|
-
profile?: Record<string, unknown>;
|
|
416
|
-
sessionId?: string;
|
|
417
|
-
timeoutMs?: number;
|
|
418
|
-
requestId?: string;
|
|
419
|
-
revisionId?: string;
|
|
420
|
-
executionBoundary?: Record<string, unknown>;
|
|
421
|
-
signalAttestationRefs?: readonly {
|
|
422
|
-
stableKey: string;
|
|
423
|
-
mappingId: string;
|
|
424
|
-
eventId: string;
|
|
425
|
-
}[];
|
|
426
|
-
idempotencyKey?: string;
|
|
427
|
-
}): Promise<{
|
|
428
|
-
semantic: ViraResponse<ClientBody>;
|
|
429
|
-
runtime: ViraResponse<RuntimeResolution> | null;
|
|
430
|
-
taskKeys: string[];
|
|
431
|
-
capsules: ClientBody[];
|
|
432
|
-
multiTask: boolean;
|
|
433
|
-
} | null>;
|
|
434
|
-
authorizeHostAction(input: {
|
|
435
|
-
executionId: string;
|
|
436
|
-
sessionId: string;
|
|
437
|
-
dataVersion: string;
|
|
438
|
-
scope: {
|
|
439
|
-
organizationId: string;
|
|
440
|
-
projectId: string;
|
|
441
|
-
environmentId: string;
|
|
442
|
-
};
|
|
443
|
-
context: Record<string, unknown>;
|
|
444
|
-
proposal: Record<string, unknown>;
|
|
445
|
-
approval?: Record<string, unknown>;
|
|
446
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
447
|
-
createHostActionApproval(input: {
|
|
448
|
-
sessionId: string;
|
|
449
|
-
dataVersion: string;
|
|
450
|
-
proposal: Record<string, unknown>;
|
|
451
|
-
confirmation: {
|
|
452
|
-
proposalId: string;
|
|
453
|
-
toolName: string;
|
|
454
|
-
argumentsDigest: string;
|
|
455
|
-
requestContextDigest: string;
|
|
456
|
-
acknowledgedAt: string;
|
|
457
|
-
};
|
|
458
|
-
ttlSeconds?: number;
|
|
459
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
460
|
-
listBehaviorStrategies(options?: ScopedListOptions): Promise<ViraResponse<ClientBody> | null>;
|
|
461
|
-
deleteBehaviorStrategy(strategyId: string, options?: {
|
|
462
|
-
confirm?: boolean;
|
|
463
|
-
idempotencyKey?: string;
|
|
464
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
465
|
-
getBehaviorStrategy(strategyId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
466
|
-
createBehaviorStrategy(definition: Record<string, unknown>, id?: string): Promise<ViraResponse<ClientBody> | null>;
|
|
467
|
-
listSemanticTasks(options?: ScopedListOptions): Promise<ViraResponse<ClientBody> | null>;
|
|
468
|
-
deleteSemanticTask(taskId: string, options?: {
|
|
469
|
-
confirm?: boolean;
|
|
470
|
-
idempotencyKey?: string;
|
|
471
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
472
|
-
createSemanticTask(task: {
|
|
473
|
-
taskKey: string;
|
|
474
|
-
description?: string;
|
|
475
|
-
version?: number;
|
|
476
|
-
aliases?: readonly string[];
|
|
477
|
-
examples?: readonly string[];
|
|
478
|
-
negativeExamples?: readonly string[];
|
|
479
|
-
}, options?: {
|
|
480
|
-
id?: string;
|
|
481
|
-
idempotencyKey?: string;
|
|
482
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
483
|
-
listBehaviorPoints(options?: ScopedListOptions): Promise<ViraResponse<ClientBody> | null>;
|
|
484
|
-
deleteBehaviorPoint(pointId: string, options?: {
|
|
485
|
-
confirm?: boolean;
|
|
486
|
-
idempotencyKey?: string;
|
|
487
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
488
|
-
createBehaviorPoint(point: {
|
|
489
|
-
key: string;
|
|
490
|
-
taskId?: string;
|
|
491
|
-
taskIds?: readonly string[];
|
|
492
|
-
constraints?: unknown;
|
|
493
|
-
}, options?: {
|
|
494
|
-
id?: string;
|
|
495
|
-
idempotencyKey?: string;
|
|
496
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
497
|
-
createBehaviorStrategyVariant(strategyId: string, variant: Record<string, unknown>, options?: {
|
|
498
|
-
idempotencyKey?: string;
|
|
499
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
500
|
-
validateBehaviorStrategy(strategyId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
501
|
-
activateBehaviorStrategy(strategyId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
502
|
-
simulateBehaviorStrategy(strategyId: string, initialState?: Record<string, unknown>): Promise<ViraResponse<ClientBody> | null>;
|
|
503
|
-
startStrategyExecution(input: {
|
|
504
|
-
artifactDigest: string;
|
|
505
|
-
organizationId: string;
|
|
506
|
-
projectId: string;
|
|
507
|
-
environmentId: string;
|
|
508
|
-
revisionId: string;
|
|
509
|
-
idempotencyKey: string;
|
|
510
|
-
nonce: string;
|
|
511
|
-
expiresAt: number;
|
|
512
|
-
decisionPlanId: string;
|
|
513
|
-
candidates: readonly Record<string, unknown>[];
|
|
514
|
-
policy: string;
|
|
515
|
-
behaviorPoint?: string;
|
|
516
|
-
executionBoundary?: Record<string, unknown>;
|
|
517
|
-
allowedIds?: readonly string[];
|
|
518
|
-
calibrationId?: string;
|
|
519
|
-
postModelJudge?: unknown;
|
|
520
|
-
shadow?: unknown;
|
|
521
|
-
traceId?: string;
|
|
522
|
-
executionId?: string;
|
|
523
|
-
state?: Record<string, unknown>;
|
|
524
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
525
|
-
getStrategyExecution(executionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
526
|
-
getStrategyExecutionTrace(executionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
527
|
-
continueStrategyExecution(executionId: string, continuation?: string | StrategyContinuationInput): Promise<ViraResponse<ClientBody> | null>;
|
|
528
|
-
cancelStrategyExecution(executionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
529
|
-
resolveTaskRun(input: TaskRunRouteRequest): Promise<ViraResponse<ClientBody> | null>;
|
|
530
|
-
startTaskRun(input: TaskRunAdmissionRequest, options?: {
|
|
531
|
-
idempotencyKey?: string;
|
|
532
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
533
|
-
startTaskRunFromPrompt(input: TaskRunPromptRequest, options?: {
|
|
534
|
-
idempotencyKey?: string;
|
|
535
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
536
|
-
getTaskRun(taskRunId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
537
|
-
listTaskRunEvents(taskRunId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
538
|
-
continueTaskRun(taskRunId: string, expectedVersion: number, options?: {
|
|
539
|
-
cursor?: string;
|
|
540
|
-
idempotencyKey?: string;
|
|
541
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
542
|
-
cancelTaskRun(taskRunId: string, expectedVersion?: number | undefined, options?: {
|
|
543
|
-
idempotencyKey?: string;
|
|
544
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
545
|
-
retryTaskRun(taskRunId: string, expectedVersion: number, options?: {
|
|
546
|
-
idempotencyKey?: string;
|
|
547
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
548
|
-
listBehaviorPrograms(options?: ScopedListOptions): Promise<ViraResponse<{
|
|
549
|
-
programs: readonly ClientBody[];
|
|
550
|
-
}> | null>;
|
|
551
|
-
listCapabilities(options?: {
|
|
552
|
-
surface?: 'studio' | 'sdk' | 'python' | 'mcp' | 'api';
|
|
553
|
-
}): Promise<ViraResponse<{
|
|
554
|
-
capabilities: readonly ClientBody[];
|
|
555
|
-
scope: ClientBody;
|
|
556
|
-
}> | null>;
|
|
557
|
-
getBehaviorProgram(programId: string): Promise<ViraResponse<{
|
|
558
|
-
program: ClientBody;
|
|
559
|
-
}> | null>;
|
|
560
|
-
deleteBehaviorProgram(programId: string, options?: {
|
|
561
|
-
confirm?: boolean;
|
|
562
|
-
idempotencyKey?: string;
|
|
563
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
564
|
-
deleteBehaviorProgramCascade(programId: string, options?: {
|
|
565
|
-
confirm?: boolean;
|
|
566
|
-
purgeRuntime?: boolean;
|
|
567
|
-
idempotencyKey?: string;
|
|
568
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
569
|
-
createBehaviorProgram(program: ClientBody, options?: {
|
|
570
|
-
idempotencyKey?: string;
|
|
571
|
-
}): Promise<ViraResponse<{
|
|
572
|
-
program: ClientBody;
|
|
573
|
-
}> | null>;
|
|
574
|
-
attestCapabilities(attestation: ClientBody, options?: {
|
|
575
|
-
idempotencyKey?: string;
|
|
576
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
577
|
-
resolveCapabilities(attestationId: string, request: ClientBody, options?: {
|
|
578
|
-
idempotencyKey?: string;
|
|
579
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
580
|
-
recordCapabilityTrace(decisionDigest: string, trace: ClientBody, options?: {
|
|
581
|
-
idempotencyKey?: string;
|
|
582
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
583
|
-
resolveModelServing(request: ClientBody, options?: {
|
|
584
|
-
idempotencyKey?: string;
|
|
585
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
586
|
-
recordModelServingTrace(trace: ClientBody, selection: ClientBody, options?: {
|
|
587
|
-
idempotencyKey?: string;
|
|
588
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
589
|
-
submitTeachEvidence(evidence: ClientBody, options?: {
|
|
590
|
-
idempotencyKey?: string;
|
|
591
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
592
|
-
submitTeachConversationEvidence(evidence: ClientBody, options?: {
|
|
593
|
-
idempotencyKey?: string;
|
|
594
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
595
|
-
listConversationArchive(input?: {
|
|
596
|
-
limit?: number;
|
|
597
|
-
cursor?: string;
|
|
598
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
599
|
-
importConversationArchive(conversations: readonly ClientBody[], options?: {
|
|
600
|
-
idempotencyKey?: string;
|
|
601
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
602
|
-
revokeConversation(evidenceId: string, reason: string, options?: {
|
|
603
|
-
idempotencyKey?: string;
|
|
604
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
605
|
-
createTeachAnalysis(evidenceIds: readonly string[], options?: {
|
|
606
|
-
idempotencyKey?: string;
|
|
607
|
-
analysisId?: string;
|
|
608
|
-
controlPointId?: string;
|
|
609
|
-
summary?: string;
|
|
610
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
611
|
-
getTeachAnalysis(analysisId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
612
|
-
createCrossConversationTeachAnalysis(input: {
|
|
613
|
-
conversationRefs: readonly ClientBody[];
|
|
614
|
-
analysisId?: string;
|
|
615
|
-
controlPointId?: string;
|
|
616
|
-
objective?: string;
|
|
617
|
-
}, options?: {
|
|
618
|
-
idempotencyKey?: string;
|
|
619
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
620
|
-
createTeachProposal(input: ClientBody, options?: {
|
|
621
|
-
idempotencyKey?: string;
|
|
622
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
623
|
-
getTeachRunBehaviorSet(teachRunId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
624
|
-
listTeachRuns(input?: {
|
|
625
|
-
limit?: number;
|
|
626
|
-
cursor?: string;
|
|
627
|
-
status?: string;
|
|
628
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
629
|
-
getTeachRunRecommendation(teachRunId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
630
|
-
acceptTeachRecommendation(teachRunId: string, actorId: string, options?: {
|
|
631
|
-
idempotencyKey?: string;
|
|
632
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
633
|
-
rejectTeachRecommendation(teachRunId: string, reason: string, options?: {
|
|
634
|
-
idempotencyKey?: string;
|
|
635
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
636
|
-
editTeachRecommendation(teachRunId: string, input: {
|
|
637
|
-
revisionId: string;
|
|
638
|
-
reason: string;
|
|
639
|
-
behaviorSet: ClientBody;
|
|
640
|
-
}, options?: {
|
|
641
|
-
idempotencyKey?: string;
|
|
642
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
643
|
-
transitionTeachProposal(proposalId: string, transition: 'review' | 'evaluate' | 'promote', input?: ClientBody, options?: {
|
|
644
|
-
idempotencyKey?: string;
|
|
645
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
646
|
-
requestTeachProposalChanges(proposalId: string, feedback: string, options?: {
|
|
647
|
-
idempotencyKey?: string;
|
|
648
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
649
|
-
/** Start a standalone or comparative evaluation; use evaluatePack for Pack lifecycle evaluation. */
|
|
650
|
-
startEvaluation(input: ClientBody, options?: {
|
|
651
|
-
idempotencyKey?: string;
|
|
652
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
653
|
-
/** Request a server-executed OFF/current-ON/candidate-ON comparison.
|
|
654
|
-
* The server owns arm execution and receipts; callers cannot submit outputs.
|
|
655
|
-
*/
|
|
656
|
-
startComparativeEvaluation(input: ClientBody & {
|
|
657
|
-
comparisonPlan: ClientBody;
|
|
658
|
-
}, options?: {
|
|
659
|
-
idempotencyKey?: string;
|
|
660
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
661
|
-
evaluateQuality(input: ClientBody, options?: {
|
|
662
|
-
idempotencyKey?: string;
|
|
663
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
664
|
-
getEvaluation(evaluationId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
665
|
-
listEvaluations(input?: {
|
|
666
|
-
limit?: number;
|
|
667
|
-
cursor?: string;
|
|
668
|
-
status?: string;
|
|
669
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
670
|
-
getEvaluationComparison(evaluationId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
671
|
-
reviewComparativeFinding(evaluationId: string, findingId: string, input: {
|
|
672
|
-
decision: 'ACCEPT' | 'REJECT' | 'EDIT' | 'MORE_EVIDENCE';
|
|
673
|
-
reason?: string;
|
|
674
|
-
}, options?: {
|
|
675
|
-
idempotencyKey?: string;
|
|
676
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
677
|
-
createEvaluationPlan(input: ClientBody, options?: {
|
|
678
|
-
idempotencyKey?: string;
|
|
679
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
680
|
-
getEvaluationPlan(planId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
681
|
-
sealEvaluationPlan(planId: string, options?: {
|
|
682
|
-
idempotencyKey?: string;
|
|
683
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
684
|
-
createImprovementProposal(evaluationId: string, input: ClientBody, options?: {
|
|
685
|
-
idempotencyKey?: string;
|
|
686
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
687
|
-
getImprovementProposal(proposalId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
688
|
-
reviewImprovementProposal(proposalId: string, action?: 'request-review' | 'approve' | 'reject', options?: {
|
|
689
|
-
idempotencyKey?: string;
|
|
690
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
691
|
-
editImprovementProposalAsNew(proposalId: string, input: {
|
|
692
|
-
id: string;
|
|
693
|
-
behaviorSet: ClientBody;
|
|
694
|
-
reason: string;
|
|
695
|
-
}, options?: {
|
|
696
|
-
idempotencyKey?: string;
|
|
697
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
698
|
-
createBehaviorRevisionCandidate(input: ClientBody, options?: {
|
|
699
|
-
idempotencyKey?: string;
|
|
700
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
701
|
-
evaluateBehaviorRevisionCandidate(candidateId: string, input: ClientBody, options?: {
|
|
702
|
-
idempotencyKey?: string;
|
|
703
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
704
|
-
transitionBehaviorRevisionCandidate(candidateId: string, transition: 'evaluate' | 'accept' | 'reject' | 'pack', input?: ClientBody, options?: {
|
|
705
|
-
idempotencyKey?: string;
|
|
706
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
707
|
-
createPackRevision(input: ClientBody, options?: {
|
|
708
|
-
idempotencyKey?: string;
|
|
709
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
710
|
-
getPackRevision(revisionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
711
|
-
getPackRevisionDiff(revisionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
712
|
-
transitionPackRevision(revisionId: string, transition: 'validate' | 'request-approval' | 'approve' | 'release' | 'reject', options?: {
|
|
713
|
-
idempotencyKey?: string;
|
|
714
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
715
|
-
materializePackRevision(revisionId: string, input: ClientBody, options?: {
|
|
716
|
-
idempotencyKey?: string;
|
|
717
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
718
|
-
createRelease(input: ClientBody, options?: {
|
|
719
|
-
idempotencyKey?: string;
|
|
720
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
721
|
-
createManualRelease(input: ClientBody, options?: {
|
|
722
|
-
idempotencyKey?: string;
|
|
723
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
724
|
-
releaseProgramManually(input: {
|
|
725
|
-
programId: string;
|
|
726
|
-
reason: string;
|
|
727
|
-
}, options?: {
|
|
728
|
-
idempotencyKey?: string;
|
|
729
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
730
|
-
recordDeploymentComparison(deploymentId: string, comparison: ClientBody, options?: {
|
|
731
|
-
idempotencyKey?: string;
|
|
732
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
733
|
-
recordDeploymentHealth(deploymentId: string, health: ClientBody, options?: {
|
|
734
|
-
idempotencyKey?: string;
|
|
735
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
736
|
-
compileBehaviorCapsule(input: {
|
|
737
|
-
programId: string;
|
|
738
|
-
input: string;
|
|
739
|
-
selection?: Record<string, unknown>;
|
|
740
|
-
candidates?: readonly string[];
|
|
741
|
-
idempotencyKey?: string;
|
|
742
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
743
|
-
serveBehaviorProjection(input: {
|
|
744
|
-
programId?: string;
|
|
745
|
-
input: string;
|
|
746
|
-
provider: string;
|
|
747
|
-
protocol?: string;
|
|
748
|
-
idempotencyKey?: string;
|
|
749
|
-
}): Promise<ViraResponse<ClientBody> | null>;
|
|
750
|
-
testConnection(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
751
|
-
}
|
|
752
|
-
export declare function buildRuntimeRequest(input: RuntimeRequest & Record<string, unknown>): RuntimeRequest & Record<string, unknown>;
|
|
753
|
-
export declare function buildPublicContentRequest(input: {
|
|
754
|
-
slug: string;
|
|
755
|
-
version?: string;
|
|
756
|
-
}): SdkRequest;
|
|
757
|
-
export declare function buildDocsQueryRequest(input: {
|
|
758
|
-
query: string;
|
|
759
|
-
operation?: "search" | "ask";
|
|
760
|
-
}): SdkRequest;
|
|
761
|
-
export declare function buildAISystemRequest(input: {
|
|
762
|
-
name: string;
|
|
763
|
-
systemType: string;
|
|
764
|
-
organizationId: string;
|
|
765
|
-
projectId: string;
|
|
766
|
-
environmentId: string;
|
|
767
|
-
}): SdkRequest;
|
|
768
|
-
export declare function buildObservationRequest(event: {
|
|
769
|
-
organizationId: string;
|
|
770
|
-
projectId: string;
|
|
771
|
-
environmentId: string;
|
|
772
|
-
eventId: string;
|
|
773
|
-
eventType: string;
|
|
774
|
-
aiSystemId: string;
|
|
775
|
-
connectionId: string;
|
|
776
|
-
[key: string]: unknown;
|
|
777
|
-
}): SdkRequest;
|
|
778
|
-
export {};
|