@archastro/sdk 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/channels/api_artifact_channel.d.ts +48 -0
- package/dist/channels/api_artifact_channel.d.ts.map +1 -0
- package/dist/channels/api_artifact_channel.js +85 -0
- package/dist/channels/api_artifact_channel.js.map +1 -0
- package/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai.d.ts +124 -10
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +27 -7
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +351 -0
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +65 -1
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +22 -22
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +7 -7
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +388 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +1132 -287
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +146 -28
- package/dist/types/common.js.map +1 -1
- package/dist/types/computers.d.ts +22 -0
- package/dist/types/computers.d.ts.map +1 -0
- package/dist/types/computers.js +12 -0
- package/dist/types/computers.js.map +1 -0
- package/dist/types/events.d.ts +34 -16
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/events.js +3 -1
- package/dist/types/events.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/relays.d.ts +22 -0
- package/dist/types/relays.d.ts.map +1 -0
- package/dist/types/relays.js +12 -0
- package/dist/types/relays.js.map +1 -0
- package/dist/types/tasks.d.ts +598 -14
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +43 -11
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/threads.d.ts +64 -0
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.d.ts +33 -1
- package/dist/v1/resources/agent_computers.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.js +17 -1
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_requests.d.ts +54 -0
- package/dist/v1/resources/agent_requests.d.ts.map +1 -0
- package/dist/v1/resources/agent_requests.js +71 -0
- package/dist/v1/resources/agent_requests.js.map +1 -0
- package/dist/v1/resources/agent_sessions.d.ts +23 -1
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +26 -1
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +31 -1
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +12 -2
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +55 -4
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +44 -4
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +34 -2
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +3 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/custom_objects.d.ts +94 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +60 -1
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +12 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -1
- package/dist/v1/resources/event_subscriptions.js +7 -1
- package/dist/v1/resources/event_subscriptions.js.map +1 -1
- package/dist/v1/resources/files.d.ts +32 -10
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +32 -11
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +3 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +4 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/knowledge_sources.d.ts +4 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +1 -1
- package/dist/v1/resources/kv.d.ts +75 -31
- package/dist/v1/resources/kv.d.ts.map +1 -1
- package/dist/v1/resources/kv.js +79 -32
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notifications.d.ts +14 -0
- package/dist/v1/resources/notifications.d.ts.map +1 -1
- package/dist/v1/resources/notifications.js +13 -1
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +2 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -1
- package/dist/v1/resources/oauth.js +2 -1
- package/dist/v1/resources/oauth.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +630 -1
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +351 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/private_service_enrollments.d.ts +7 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -1
- package/dist/v1/resources/private_service_enrollments.js +10 -1
- package/dist/v1/resources/private_service_enrollments.js.map +1 -1
- package/dist/v1/resources/relays.d.ts +38 -0
- package/dist/v1/resources/relays.d.ts.map +1 -0
- package/dist/v1/resources/relays.js +44 -0
- package/dist/v1/resources/relays.js.map +1 -0
- package/dist/v1/resources/scripts.d.ts +20 -9
- package/dist/v1/resources/scripts.d.ts.map +1 -1
- package/dist/v1/resources/scripts.js +18 -10
- package/dist/v1/resources/scripts.js.map +1 -1
- package/dist/v1/resources/task_ownership_conversions.d.ts +14 -0
- package/dist/v1/resources/task_ownership_conversions.d.ts.map +1 -0
- package/dist/v1/resources/task_ownership_conversions.js +19 -0
- package/dist/v1/resources/task_ownership_conversions.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +62 -1
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +35 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +129 -1
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +71 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +76 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +42 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +129 -3
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +73 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/workflows.d.ts +5 -1
- package/dist/v1/resources/workflows.d.ts.map +1 -1
- package/dist/v1/resources/workflows.js +6 -2
- package/dist/v1/resources/workflows.js.map +1 -1
- package/dist/v1.d.ts +6 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +10 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
package/dist/types/ai.d.ts
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/** One accepted provider completion. An empty record preserves an unknown identity. */
|
|
3
|
+
export interface AICompletionProvenance {
|
|
4
|
+
/** Model identity reported by the provider response, not the requested model or usage key. */
|
|
5
|
+
response_model?: string | undefined;
|
|
6
|
+
/** Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero. */
|
|
7
|
+
timing?: Record<string, unknown> | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** Runtime validator for {@link AICompletionProvenance}. */
|
|
10
|
+
export declare const aICompletionProvenanceSchema: z.ZodObject<{
|
|
11
|
+
/** Model identity reported by the provider response, not the requested model or usage key. */
|
|
12
|
+
response_model: z.ZodOptional<z.ZodString>;
|
|
13
|
+
/** Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero. */
|
|
14
|
+
timing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
response_model?: string | undefined;
|
|
17
|
+
timing?: Record<string, {} | null> | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
response_model?: string | undefined;
|
|
20
|
+
timing?: Record<string, {} | null> | undefined;
|
|
21
|
+
}>;
|
|
2
22
|
/** Terminal event marking the end of a streaming chat completion (SSE `done` event). */
|
|
3
23
|
export interface AIChatStreamDone {
|
|
24
|
+
/** Ordered accepted completions; empty records retain unknown identities. */
|
|
25
|
+
completions?: AICompletionProvenance[] | undefined;
|
|
4
26
|
/** The overall finish reason for the completion. */
|
|
5
27
|
finish_reason?: string | undefined;
|
|
6
28
|
/** Number of model runs executed, including continuations triggered by tool calls. */
|
|
@@ -12,6 +34,19 @@ export interface AIChatStreamDone {
|
|
|
12
34
|
}
|
|
13
35
|
/** Runtime validator for {@link AIChatStreamDone}. */
|
|
14
36
|
export declare const aIChatStreamDoneSchema: z.ZodObject<{
|
|
37
|
+
/** Ordered accepted completions; empty records retain unknown identities. */
|
|
38
|
+
completions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
/** Model identity reported by the provider response, not the requested model or usage key. */
|
|
40
|
+
response_model: z.ZodOptional<z.ZodString>;
|
|
41
|
+
/** Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero. */
|
|
42
|
+
timing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
response_model?: string | undefined;
|
|
45
|
+
timing?: Record<string, {} | null> | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
response_model?: string | undefined;
|
|
48
|
+
timing?: Record<string, {} | null> | undefined;
|
|
49
|
+
}>, "many">>;
|
|
15
50
|
/** The overall finish reason for the completion. */
|
|
16
51
|
finish_reason: z.ZodOptional<z.ZodString>;
|
|
17
52
|
/** Number of model runs executed, including continuations triggered by tool calls. */
|
|
@@ -22,11 +57,19 @@ export declare const aIChatStreamDoneSchema: z.ZodObject<{
|
|
|
22
57
|
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
23
58
|
}, "strip", z.ZodTypeAny, {
|
|
24
59
|
run_count?: number | undefined;
|
|
60
|
+
completions?: {
|
|
61
|
+
response_model?: string | undefined;
|
|
62
|
+
timing?: Record<string, {} | null> | undefined;
|
|
63
|
+
}[] | undefined;
|
|
25
64
|
finish_reason?: string | undefined;
|
|
26
65
|
total_usage?: Record<string, {} | null> | undefined;
|
|
27
66
|
usage?: Record<string, {} | null> | undefined;
|
|
28
67
|
}, {
|
|
29
68
|
run_count?: number | undefined;
|
|
69
|
+
completions?: {
|
|
70
|
+
response_model?: string | undefined;
|
|
71
|
+
timing?: Record<string, {} | null> | undefined;
|
|
72
|
+
}[] | undefined;
|
|
30
73
|
finish_reason?: string | undefined;
|
|
31
74
|
total_usage?: Record<string, {} | null> | undefined;
|
|
32
75
|
usage?: Record<string, {} | null> | undefined;
|
|
@@ -35,15 +78,27 @@ export declare const aIChatStreamDoneSchema: z.ZodObject<{
|
|
|
35
78
|
export interface AIChatStreamError {
|
|
36
79
|
/** Human-readable description of the error that terminated the stream. */
|
|
37
80
|
message: string;
|
|
81
|
+
/** Whether the provider failure can be retried. */
|
|
82
|
+
retryable?: boolean | null | undefined;
|
|
83
|
+
/** Upstream HTTP status, when reported. */
|
|
84
|
+
status?: number | null | undefined;
|
|
38
85
|
}
|
|
39
86
|
/** Runtime validator for {@link AIChatStreamError}. */
|
|
40
87
|
export declare const aIChatStreamErrorSchema: z.ZodObject<{
|
|
41
88
|
/** Human-readable description of the error that terminated the stream. */
|
|
42
89
|
message: z.ZodString;
|
|
90
|
+
/** Whether the provider failure can be retried. */
|
|
91
|
+
retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
92
|
+
/** Upstream HTTP status, when reported. */
|
|
93
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
94
|
}, "strip", z.ZodTypeAny, {
|
|
44
95
|
message: string;
|
|
96
|
+
status?: number | null | undefined;
|
|
97
|
+
retryable?: boolean | null | undefined;
|
|
45
98
|
}, {
|
|
46
99
|
message: string;
|
|
100
|
+
status?: number | null | undefined;
|
|
101
|
+
retryable?: boolean | null | undefined;
|
|
47
102
|
}>;
|
|
48
103
|
/** A tool (function) call emitted by the assistant within an AI message. Mirrors the OpenAI tool-call object format. */
|
|
49
104
|
export interface AIToolCall {
|
|
@@ -223,6 +278,8 @@ export interface AIChatStreamMessageComplete {
|
|
|
223
278
|
finish_reason?: string | undefined;
|
|
224
279
|
/** The complete assistant message for this run, assembled from the preceding deltas. */
|
|
225
280
|
message: AIMessage;
|
|
281
|
+
/** Provider-reported model identity for this accepted completion. */
|
|
282
|
+
response_model?: string | undefined;
|
|
226
283
|
/** Token consumption for this run, keyed by model ID. `null` when usage data is unavailable. */
|
|
227
284
|
usage?: Record<string, unknown> | undefined;
|
|
228
285
|
}
|
|
@@ -321,6 +378,8 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
321
378
|
resolution?: {} | null | undefined;
|
|
322
379
|
}[] | undefined;
|
|
323
380
|
}>;
|
|
381
|
+
/** Provider-reported model identity for this accepted completion. */
|
|
382
|
+
response_model: z.ZodOptional<z.ZodString>;
|
|
324
383
|
/** Token consumption for this run, keyed by model ID. `null` when usage data is unavailable. */
|
|
325
384
|
usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
326
385
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -343,6 +402,7 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
343
402
|
resolution?: {} | null | undefined;
|
|
344
403
|
}[] | undefined;
|
|
345
404
|
};
|
|
405
|
+
response_model?: string | undefined;
|
|
346
406
|
finish_reason?: string | undefined;
|
|
347
407
|
usage?: Record<string, {} | null> | undefined;
|
|
348
408
|
}, {
|
|
@@ -365,6 +425,7 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
365
425
|
resolution?: {} | null | undefined;
|
|
366
426
|
}[] | undefined;
|
|
367
427
|
};
|
|
428
|
+
response_model?: string | undefined;
|
|
368
429
|
finish_reason?: string | undefined;
|
|
369
430
|
usage?: Record<string, {} | null> | undefined;
|
|
370
431
|
}>;
|
|
@@ -456,17 +517,34 @@ export declare const aIChatStreamToolResultSchema: z.ZodObject<{
|
|
|
456
517
|
}>;
|
|
457
518
|
/** The result of an AI chat completion request. Returned by chat completion endpoints after the model finishes generating. */
|
|
458
519
|
export interface AICompletionResult {
|
|
520
|
+
/** Ordered accepted provider completions, including empty records for unknown identities. */
|
|
521
|
+
completions?: AICompletionProvenance[] | undefined;
|
|
459
522
|
/** The reason the model stopped generating. Common values include `"stop"` (natural end), `"length"` (token limit reached), and `"tool_calls"` (the model invoked a tool). */
|
|
460
523
|
finish_reason: string;
|
|
461
524
|
/** The final assistant message produced by the completion. */
|
|
462
525
|
message: AIMessage;
|
|
463
526
|
/** The complete message history for the conversation, including all user, assistant, and tool messages in order. */
|
|
464
527
|
messages: AIMessage[];
|
|
465
|
-
/**
|
|
528
|
+
/** Final accepted completion provider-reported identity; absent when unknown. */
|
|
529
|
+
response_model?: string | undefined;
|
|
530
|
+
/** Token consumption keyed by model ID. Each value has `input` (all prompt tokens, including cache reads and writes) and `output` counts. When reported, `fresh_input`, `cache_read`, and `cache_creation` are disjoint input buckets; missing cache counts remain unknown. `null` when usage data is unavailable. */
|
|
466
531
|
token_usage?: Record<string, unknown> | undefined;
|
|
467
532
|
}
|
|
468
533
|
/** Runtime validator for {@link AICompletionResult}. */
|
|
469
534
|
export declare const aICompletionResultSchema: z.ZodObject<{
|
|
535
|
+
/** Ordered accepted provider completions, including empty records for unknown identities. */
|
|
536
|
+
completions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
537
|
+
/** Model identity reported by the provider response, not the requested model or usage key. */
|
|
538
|
+
response_model: z.ZodOptional<z.ZodString>;
|
|
539
|
+
/** Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero. */
|
|
540
|
+
timing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
541
|
+
}, "strip", z.ZodTypeAny, {
|
|
542
|
+
response_model?: string | undefined;
|
|
543
|
+
timing?: Record<string, {} | null> | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
response_model?: string | undefined;
|
|
546
|
+
timing?: Record<string, {} | null> | undefined;
|
|
547
|
+
}>, "many">>;
|
|
470
548
|
/** The reason the model stopped generating. Common values include `"stop"` (natural end), `"length"` (token limit reached), and `"tool_calls"` (the model invoked a tool). */
|
|
471
549
|
finish_reason: z.ZodString;
|
|
472
550
|
/** The final assistant message produced by the completion. */
|
|
@@ -651,7 +729,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
651
729
|
resolution?: {} | null | undefined;
|
|
652
730
|
}[] | undefined;
|
|
653
731
|
}>, "many">;
|
|
654
|
-
/**
|
|
732
|
+
/** Final accepted completion provider-reported identity; absent when unknown. */
|
|
733
|
+
response_model: z.ZodOptional<z.ZodString>;
|
|
734
|
+
/** Token consumption keyed by model ID. Each value has `input` (all prompt tokens, including cache reads and writes) and `output` counts. When reported, `fresh_input`, `cache_read`, and `cache_creation` are disjoint input buckets; missing cache counts remain unknown. `null` when usage data is unavailable. */
|
|
655
735
|
token_usage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
656
736
|
}, "strip", z.ZodTypeAny, {
|
|
657
737
|
message: {
|
|
@@ -693,6 +773,11 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
693
773
|
}[] | undefined;
|
|
694
774
|
}[];
|
|
695
775
|
finish_reason: string;
|
|
776
|
+
response_model?: string | undefined;
|
|
777
|
+
completions?: {
|
|
778
|
+
response_model?: string | undefined;
|
|
779
|
+
timing?: Record<string, {} | null> | undefined;
|
|
780
|
+
}[] | undefined;
|
|
696
781
|
token_usage?: Record<string, {} | null> | undefined;
|
|
697
782
|
}, {
|
|
698
783
|
message: {
|
|
@@ -734,6 +819,11 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
734
819
|
}[] | undefined;
|
|
735
820
|
}[];
|
|
736
821
|
finish_reason: string;
|
|
822
|
+
response_model?: string | undefined;
|
|
823
|
+
completions?: {
|
|
824
|
+
response_model?: string | undefined;
|
|
825
|
+
timing?: Record<string, {} | null> | undefined;
|
|
826
|
+
}[] | undefined;
|
|
737
827
|
token_usage?: Record<string, {} | null> | undefined;
|
|
738
828
|
}>;
|
|
739
829
|
/** Probability that the statement is true, in `[0, 1]`. */
|
|
@@ -817,7 +907,7 @@ export declare const aIEvaluationAnswerScoreSchema: z.ZodObject<{
|
|
|
817
907
|
confidence?: number | undefined;
|
|
818
908
|
}>;
|
|
819
909
|
/**
|
|
820
|
-
* One typed evaluation answer. `type` selects boolean, choice, or
|
|
910
|
+
* One typed evaluation answer. `type` selects boolean, choice, score, or refusal.
|
|
821
911
|
* `id` matches the question id.
|
|
822
912
|
*/
|
|
823
913
|
export declare const aIEvaluationAnswerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -871,9 +961,18 @@ export declare const aIEvaluationAnswerSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
871
961
|
probabilities: Record<string, {} | null>;
|
|
872
962
|
legend: Record<string, {} | null>;
|
|
873
963
|
confidence?: number | undefined;
|
|
964
|
+
}>, z.ZodObject<{
|
|
965
|
+
id: z.ZodString;
|
|
966
|
+
type: z.ZodLiteral<"refusal">;
|
|
967
|
+
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
type: "refusal";
|
|
969
|
+
id: string;
|
|
970
|
+
}, {
|
|
971
|
+
type: "refusal";
|
|
972
|
+
id: string;
|
|
874
973
|
}>]>;
|
|
875
974
|
/**
|
|
876
|
-
* One typed evaluation answer. `type` selects boolean, choice, or
|
|
975
|
+
* One typed evaluation answer. `type` selects boolean, choice, score, or refusal.
|
|
877
976
|
* `id` matches the question id.
|
|
878
977
|
*/
|
|
879
978
|
export type AIEvaluationAnswer = z.infer<typeof aIEvaluationAnswerSchema>;
|
|
@@ -902,7 +1001,7 @@ export declare const aIEvaluationUsageSchema: z.ZodObject<{
|
|
|
902
1001
|
* token usage.
|
|
903
1002
|
*/
|
|
904
1003
|
export interface AIEvaluationResult {
|
|
905
|
-
/** Typed
|
|
1004
|
+
/** Typed boolean, choice, score, or refusal answers with the question `id`. */
|
|
906
1005
|
answers: AIEvaluationAnswer[];
|
|
907
1006
|
/** Model identifier that produced the answers. */
|
|
908
1007
|
model: string;
|
|
@@ -913,7 +1012,7 @@ export interface AIEvaluationResult {
|
|
|
913
1012
|
}
|
|
914
1013
|
/** Runtime validator for {@link AIEvaluationResult}. */
|
|
915
1014
|
export declare const aIEvaluationResultSchema: z.ZodObject<{
|
|
916
|
-
/** Typed
|
|
1015
|
+
/** Typed boolean, choice, score, or refusal answers with the question `id`. */
|
|
917
1016
|
answers: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
918
1017
|
id: z.ZodString;
|
|
919
1018
|
probability: z.ZodNumber;
|
|
@@ -965,6 +1064,15 @@ export declare const aIEvaluationResultSchema: z.ZodObject<{
|
|
|
965
1064
|
probabilities: Record<string, {} | null>;
|
|
966
1065
|
legend: Record<string, {} | null>;
|
|
967
1066
|
confidence?: number | undefined;
|
|
1067
|
+
}>, z.ZodObject<{
|
|
1068
|
+
id: z.ZodString;
|
|
1069
|
+
type: z.ZodLiteral<"refusal">;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
|
1071
|
+
type: "refusal";
|
|
1072
|
+
id: string;
|
|
1073
|
+
}, {
|
|
1074
|
+
type: "refusal";
|
|
1075
|
+
id: string;
|
|
968
1076
|
}>]>, "many">;
|
|
969
1077
|
/** Model identifier that produced the answers. */
|
|
970
1078
|
model: z.ZodString;
|
|
@@ -986,6 +1094,9 @@ export declare const aIEvaluationResultSchema: z.ZodObject<{
|
|
|
986
1094
|
}, "strip", z.ZodTypeAny, {
|
|
987
1095
|
model: string;
|
|
988
1096
|
answers: ({
|
|
1097
|
+
type: "refusal";
|
|
1098
|
+
id: string;
|
|
1099
|
+
} | {
|
|
989
1100
|
type: "boolean";
|
|
990
1101
|
id: string;
|
|
991
1102
|
probability: number;
|
|
@@ -1003,14 +1114,17 @@ export declare const aIEvaluationResultSchema: z.ZodObject<{
|
|
|
1003
1114
|
legend: Record<string, {} | null>;
|
|
1004
1115
|
confidence?: number | undefined;
|
|
1005
1116
|
})[];
|
|
1117
|
+
session_id?: string | undefined;
|
|
1006
1118
|
usage?: {
|
|
1007
1119
|
input_tokens?: number | undefined;
|
|
1008
1120
|
output_tokens?: number | undefined;
|
|
1009
1121
|
} | undefined;
|
|
1010
|
-
session_id?: string | undefined;
|
|
1011
1122
|
}, {
|
|
1012
1123
|
model: string;
|
|
1013
1124
|
answers: ({
|
|
1125
|
+
type: "refusal";
|
|
1126
|
+
id: string;
|
|
1127
|
+
} | {
|
|
1014
1128
|
type: "boolean";
|
|
1015
1129
|
id: string;
|
|
1016
1130
|
probability: number;
|
|
@@ -1028,11 +1142,11 @@ export declare const aIEvaluationResultSchema: z.ZodObject<{
|
|
|
1028
1142
|
legend: Record<string, {} | null>;
|
|
1029
1143
|
confidence?: number | undefined;
|
|
1030
1144
|
})[];
|
|
1145
|
+
session_id?: string | undefined;
|
|
1031
1146
|
usage?: {
|
|
1032
1147
|
input_tokens?: number | undefined;
|
|
1033
1148
|
output_tokens?: number | undefined;
|
|
1034
1149
|
} | undefined;
|
|
1035
|
-
session_id?: string | undefined;
|
|
1036
1150
|
}>;
|
|
1037
1151
|
/** The result returned by an AI image generation or editing operation. Contains the generated image (as inline data or a URL) along with dimension, size, and usage metadata. */
|
|
1038
1152
|
export interface AIImageResult {
|
|
@@ -1096,9 +1210,9 @@ export declare const aIImageResultSchema: z.ZodObject<{
|
|
|
1096
1210
|
height?: number | undefined;
|
|
1097
1211
|
width?: number | undefined;
|
|
1098
1212
|
image_url?: string | undefined;
|
|
1213
|
+
session_id?: string | undefined;
|
|
1099
1214
|
size?: string | undefined;
|
|
1100
1215
|
usage?: Record<string, {} | null> | undefined;
|
|
1101
|
-
session_id?: string | undefined;
|
|
1102
1216
|
aspect_ratio?: string | undefined;
|
|
1103
1217
|
image_data?: string | undefined;
|
|
1104
1218
|
image_size?: string | undefined;
|
|
@@ -1110,9 +1224,9 @@ export declare const aIImageResultSchema: z.ZodObject<{
|
|
|
1110
1224
|
height?: number | undefined;
|
|
1111
1225
|
width?: number | undefined;
|
|
1112
1226
|
image_url?: string | undefined;
|
|
1227
|
+
session_id?: string | undefined;
|
|
1113
1228
|
size?: string | undefined;
|
|
1114
1229
|
usage?: Record<string, {} | null> | undefined;
|
|
1115
|
-
session_id?: string | undefined;
|
|
1116
1230
|
aspect_ratio?: string | undefined;
|
|
1117
1231
|
image_data?: string | undefined;
|
|
1118
1232
|
image_size?: string | undefined;
|
package/dist/types/ai.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/types/ai.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../src/types/ai.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,uFAAuF;AACvF,MAAM,WAAW,sBAAsB;IACrC,8FAA8F;IAC9F,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,ydAAyd;IACzd,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CAC9C;AAED,4DAA4D;AAC5D,eAAO,MAAM,4BAA4B;IACvC,8FAA8F;;IAE9F,ydAAyd;;;;;;;;EAEhV,CAAC;AAE5I,wFAAwF;AACxF,MAAM,WAAW,gBAAgB;IAC/B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC;IACnD,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,uHAAuH;IACvH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAA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F;;IAE1F,4MAA4M;;IAE5M,kFAAkF;;IAElF,uGAAuG;;IAEvG,sIAAsI;;IAEtI,mHAAmH;;IAEnH,mGAAmG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEuH,CAAC"}
|
package/dist/types/ai.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 063420a5fcf7
|
|
4
4
|
import { z } from "zod";
|
|
5
|
+
import { refusalSchema } from "./common.js";
|
|
6
|
+
/** Runtime validator for {@link AICompletionProvenance}. */
|
|
7
|
+
export const aICompletionProvenanceSchema = z.object({
|
|
8
|
+
/** Model identity reported by the provider response, not the requested model or usage key. */
|
|
9
|
+
response_model: z.string().optional().describe("Model identity reported by the provider response, not the requested model or usage key."),
|
|
10
|
+
/** Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero. */
|
|
11
|
+
timing: z.record(z.custom((value) => value !== undefined)).optional().describe("Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero."),
|
|
12
|
+
}).describe("One accepted provider completion. An empty record preserves an unknown identity.");
|
|
5
13
|
/** Runtime validator for {@link AIChatStreamDone}. */
|
|
6
14
|
export const aIChatStreamDoneSchema = z.object({
|
|
15
|
+
/** Ordered accepted completions; empty records retain unknown identities. */
|
|
16
|
+
completions: z.array(aICompletionProvenanceSchema).optional().describe("Ordered accepted completions; empty records retain unknown identities."),
|
|
7
17
|
/** The overall finish reason for the completion. */
|
|
8
18
|
finish_reason: z.string().optional().describe("The overall finish reason for the completion."),
|
|
9
19
|
/** Number of model runs executed, including continuations triggered by tool calls. */
|
|
@@ -17,6 +27,10 @@ export const aIChatStreamDoneSchema = z.object({
|
|
|
17
27
|
export const aIChatStreamErrorSchema = z.object({
|
|
18
28
|
/** Human-readable description of the error that terminated the stream. */
|
|
19
29
|
message: z.string().describe("Human-readable description of the error that terminated the stream."),
|
|
30
|
+
/** Whether the provider failure can be retried. */
|
|
31
|
+
retryable: z.boolean().nullable().optional().describe("Whether the provider failure can be retried."),
|
|
32
|
+
/** Upstream HTTP status, when reported. */
|
|
33
|
+
status: z.number().int().nullable().optional().describe("Upstream HTTP status, when reported."),
|
|
20
34
|
}).describe("Terminal error event for a streaming chat completion (SSE `error` event).");
|
|
21
35
|
/** Runtime validator for {@link AIToolCall}. */
|
|
22
36
|
export const aIToolCallSchema = z.object({
|
|
@@ -63,6 +77,8 @@ export const aIChatStreamMessageCompleteSchema = z.object({
|
|
|
63
77
|
finish_reason: z.string().optional().describe("Why the model stopped generating this message, e.g. `\"stop\"`, `\"length\"`, or `\"tool_calls\"`."),
|
|
64
78
|
/** The complete assistant message for this run, assembled from the preceding deltas. */
|
|
65
79
|
message: aIMessageSchema.describe("The complete assistant message for this run, assembled from the preceding deltas."),
|
|
80
|
+
/** Provider-reported model identity for this accepted completion. */
|
|
81
|
+
response_model: z.string().optional().describe("Provider-reported model identity for this accepted completion."),
|
|
66
82
|
/** Token consumption for this run, keyed by model ID. `null` when usage data is unavailable. */
|
|
67
83
|
usage: z.record(z.custom((value) => value !== undefined)).optional().describe("Token consumption for this run, keyed by model ID. `null` when usage data is unavailable."),
|
|
68
84
|
}).describe("The fully assembled assistant message for one run of a streaming chat completion (SSE `message_complete` event).");
|
|
@@ -98,14 +114,18 @@ export const aIChatStreamToolResultSchema = z.object({
|
|
|
98
114
|
}).describe("The result of a server-executed tool, streamed back into the run (SSE `tool_result` event).");
|
|
99
115
|
/** Runtime validator for {@link AICompletionResult}. */
|
|
100
116
|
export const aICompletionResultSchema = z.object({
|
|
117
|
+
/** Ordered accepted provider completions, including empty records for unknown identities. */
|
|
118
|
+
completions: z.array(aICompletionProvenanceSchema).optional().describe("Ordered accepted provider completions, including empty records for unknown identities."),
|
|
101
119
|
/** The reason the model stopped generating. Common values include `"stop"` (natural end), `"length"` (token limit reached), and `"tool_calls"` (the model invoked a tool). */
|
|
102
120
|
finish_reason: z.string().describe("The reason the model stopped generating. Common values include `\"stop\"` (natural end), `\"length\"` (token limit reached), and `\"tool_calls\"` (the model invoked a tool)."),
|
|
103
121
|
/** The final assistant message produced by the completion. */
|
|
104
122
|
message: aIMessageSchema.describe("The final assistant message produced by the completion."),
|
|
105
123
|
/** The complete message history for the conversation, including all user, assistant, and tool messages in order. */
|
|
106
124
|
messages: z.array(aIMessageSchema).describe("The complete message history for the conversation, including all user, assistant, and tool messages in order."),
|
|
107
|
-
/**
|
|
108
|
-
|
|
125
|
+
/** Final accepted completion provider-reported identity; absent when unknown. */
|
|
126
|
+
response_model: z.string().optional().describe("Final accepted completion provider-reported identity; absent when unknown."),
|
|
127
|
+
/** Token consumption keyed by model ID. Each value has `input` (all prompt tokens, including cache reads and writes) and `output` counts. When reported, `fresh_input`, `cache_read`, and `cache_creation` are disjoint input buckets; missing cache counts remain unknown. `null` when usage data is unavailable. */
|
|
128
|
+
token_usage: z.record(z.custom((value) => value !== undefined)).optional().describe("Token consumption keyed by model ID. Each value has `input` (all prompt tokens, including cache reads and writes) and `output` counts. When reported, `fresh_input`, `cache_read`, and `cache_creation` are disjoint input buckets; missing cache counts remain unknown. `null` when usage data is unavailable."),
|
|
109
129
|
}).describe("The result of an AI chat completion request. Returned by chat completion endpoints after the model finishes generating.");
|
|
110
130
|
/** Runtime validator for {@link AIEvaluationAnswerBoolean}. */
|
|
111
131
|
export const aIEvaluationAnswerBooleanSchema = z.object({
|
|
@@ -131,10 +151,10 @@ export const aIEvaluationAnswerScoreSchema = z.object({
|
|
|
131
151
|
type: z.literal("score"),
|
|
132
152
|
}).describe("Probability-weighted position along the caller-defined levels.");
|
|
133
153
|
/**
|
|
134
|
-
* One typed evaluation answer. `type` selects boolean, choice, or
|
|
154
|
+
* One typed evaluation answer. `type` selects boolean, choice, score, or refusal.
|
|
135
155
|
* `id` matches the question id.
|
|
136
156
|
*/
|
|
137
|
-
export const aIEvaluationAnswerSchema = z.discriminatedUnion("type", [aIEvaluationAnswerBooleanSchema, aIEvaluationAnswerChoiceSchema, aIEvaluationAnswerScoreSchema]);
|
|
157
|
+
export const aIEvaluationAnswerSchema = z.discriminatedUnion("type", [aIEvaluationAnswerBooleanSchema, aIEvaluationAnswerChoiceSchema, aIEvaluationAnswerScoreSchema, refusalSchema]);
|
|
138
158
|
/** Runtime validator for {@link AIEvaluationUsage}. */
|
|
139
159
|
export const aIEvaluationUsageSchema = z.object({
|
|
140
160
|
/** Provider-reported input tokens. `null` when the provider omitted the count. */
|
|
@@ -144,8 +164,8 @@ export const aIEvaluationUsageSchema = z.object({
|
|
|
144
164
|
}).describe("Token counts for one evaluation request.");
|
|
145
165
|
/** Runtime validator for {@link AIEvaluationResult}. */
|
|
146
166
|
export const aIEvaluationResultSchema = z.object({
|
|
147
|
-
/** Typed
|
|
148
|
-
answers: z.array(aIEvaluationAnswerSchema).describe("Typed
|
|
167
|
+
/** Typed boolean, choice, score, or refusal answers with the question `id`. */
|
|
168
|
+
answers: z.array(aIEvaluationAnswerSchema).describe("Typed boolean, choice, score, or refusal answers with the question `id`."),
|
|
149
169
|
/** Model identifier that produced the answers. */
|
|
150
170
|
model: z.string().describe("Model identifier that produced the answers."),
|
|
151
171
|
/** UUID grouping this evaluation's usage record. Generated when omitted on the request. */
|
package/dist/types/ai.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.js","sourceRoot":"","sources":["../../src/types/ai.ts"],"names":[],"mappings":"AAAA,oEAAo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