@archastro/sdk 0.16.0 → 0.16.2
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 +47 -0
- package/dist/analytics.d.ts +82 -0
- package/dist/analytics.d.ts.map +1 -0
- package/dist/analytics.js +271 -0
- package/dist/analytics.js.map +1 -0
- 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/runtime/http-client.d.ts +2 -0
- package/dist/runtime/http-client.d.ts.map +1 -1
- package/dist/runtime/http-client.js +3 -1
- package/dist/runtime/http-client.js.map +1 -1
- package/dist/types/ai.d.ts +24 -24
- package/dist/types/artifacts.d.ts +4 -4
- package/dist/types/automations.d.ts +2 -2
- package/dist/types/chat.d.ts +2234 -2234
- package/dist/types/common.d.ts +873 -873
- package/dist/types/config.d.ts +2 -2
- package/dist/types/events.d.ts +32 -32
- package/dist/types/extractions.d.ts +10 -10
- package/dist/types/oauth.d.ts +6 -6
- package/dist/types/scripts.d.ts +6 -6
- package/dist/types/status.d.ts +4 -4
- package/dist/types/system.d.ts +2 -2
- package/dist/types/tasks.d.ts +14 -14
- package/dist/types/teams.d.ts +280 -280
- package/dist/types/threads.d.ts +132 -132
- package/dist/types/users.d.ts +6 -6
- package/package.json +1 -1
package/dist/types/ai.d.ts
CHANGED
|
@@ -67,14 +67,14 @@ export declare const aIToolCallSchema: z.ZodObject<{
|
|
|
67
67
|
/** Opaque signature representing the model's internal reasoning that led to this tool call. `null` when the provider does not expose chain-of-thought data. */
|
|
68
68
|
thought_signature: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
arguments: Record<string, {} | null>;
|
|
70
71
|
name: string;
|
|
71
72
|
id: string;
|
|
72
|
-
arguments: Record<string, {} | null>;
|
|
73
73
|
thought_signature?: string | undefined;
|
|
74
74
|
}, {
|
|
75
|
+
arguments: Record<string, {} | null>;
|
|
75
76
|
name: string;
|
|
76
77
|
id: string;
|
|
77
|
-
arguments: Record<string, {} | null>;
|
|
78
78
|
thought_signature?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
/** The result of executing a tool call, submitted back to the model as a tool-role message. Mirrors the OpenAI tool-result object format. */
|
|
@@ -149,14 +149,14 @@ export declare const aIMessageSchema: z.ZodObject<{
|
|
|
149
149
|
/** Opaque signature representing the model's internal reasoning that led to this tool call. `null` when the provider does not expose chain-of-thought data. */
|
|
150
150
|
thought_signature: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
arguments: Record<string, {} | null>;
|
|
152
153
|
name: string;
|
|
153
154
|
id: string;
|
|
154
|
-
arguments: Record<string, {} | null>;
|
|
155
155
|
thought_signature?: string | undefined;
|
|
156
156
|
}, {
|
|
157
|
+
arguments: Record<string, {} | null>;
|
|
157
158
|
name: string;
|
|
158
159
|
id: string;
|
|
159
|
-
arguments: Record<string, {} | null>;
|
|
160
160
|
thought_signature?: string | undefined;
|
|
161
161
|
}>, "many">>;
|
|
162
162
|
/** Tool execution results provided in a `tool` message. Each entry corresponds to a prior tool call by its `id`. `null` on all other message roles. */
|
|
@@ -187,9 +187,9 @@ export declare const aIMessageSchema: z.ZodObject<{
|
|
|
187
187
|
resume_token?: string | undefined;
|
|
188
188
|
structured_output?: {} | null | undefined;
|
|
189
189
|
tool_calls?: {
|
|
190
|
+
arguments: Record<string, {} | null>;
|
|
190
191
|
name: string;
|
|
191
192
|
id: string;
|
|
192
|
-
arguments: Record<string, {} | null>;
|
|
193
193
|
thought_signature?: string | undefined;
|
|
194
194
|
}[] | undefined;
|
|
195
195
|
tool_results?: {
|
|
@@ -205,9 +205,9 @@ export declare const aIMessageSchema: z.ZodObject<{
|
|
|
205
205
|
resume_token?: string | undefined;
|
|
206
206
|
structured_output?: {} | null | undefined;
|
|
207
207
|
tool_calls?: {
|
|
208
|
+
arguments: Record<string, {} | null>;
|
|
208
209
|
name: string;
|
|
209
210
|
id: string;
|
|
210
|
-
arguments: Record<string, {} | null>;
|
|
211
211
|
thought_signature?: string | undefined;
|
|
212
212
|
}[] | undefined;
|
|
213
213
|
tool_results?: {
|
|
@@ -253,14 +253,14 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
253
253
|
/** Opaque signature representing the model's internal reasoning that led to this tool call. `null` when the provider does not expose chain-of-thought data. */
|
|
254
254
|
thought_signature: z.ZodOptional<z.ZodString>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
arguments: Record<string, {} | null>;
|
|
256
257
|
name: string;
|
|
257
258
|
id: string;
|
|
258
|
-
arguments: Record<string, {} | null>;
|
|
259
259
|
thought_signature?: string | undefined;
|
|
260
260
|
}, {
|
|
261
|
+
arguments: Record<string, {} | null>;
|
|
261
262
|
name: string;
|
|
262
263
|
id: string;
|
|
263
|
-
arguments: Record<string, {} | null>;
|
|
264
264
|
thought_signature?: string | undefined;
|
|
265
265
|
}>, "many">>;
|
|
266
266
|
/** Tool execution results provided in a `tool` message. Each entry corresponds to a prior tool call by its `id`. `null` on all other message roles. */
|
|
@@ -291,9 +291,9 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
291
291
|
resume_token?: string | undefined;
|
|
292
292
|
structured_output?: {} | null | undefined;
|
|
293
293
|
tool_calls?: {
|
|
294
|
+
arguments: Record<string, {} | null>;
|
|
294
295
|
name: string;
|
|
295
296
|
id: string;
|
|
296
|
-
arguments: Record<string, {} | null>;
|
|
297
297
|
thought_signature?: string | undefined;
|
|
298
298
|
}[] | undefined;
|
|
299
299
|
tool_results?: {
|
|
@@ -309,9 +309,9 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
309
309
|
resume_token?: string | undefined;
|
|
310
310
|
structured_output?: {} | null | undefined;
|
|
311
311
|
tool_calls?: {
|
|
312
|
+
arguments: Record<string, {} | null>;
|
|
312
313
|
name: string;
|
|
313
314
|
id: string;
|
|
314
|
-
arguments: Record<string, {} | null>;
|
|
315
315
|
thought_signature?: string | undefined;
|
|
316
316
|
}[] | undefined;
|
|
317
317
|
tool_results?: {
|
|
@@ -331,9 +331,9 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
331
331
|
resume_token?: string | undefined;
|
|
332
332
|
structured_output?: {} | null | undefined;
|
|
333
333
|
tool_calls?: {
|
|
334
|
+
arguments: Record<string, {} | null>;
|
|
334
335
|
name: string;
|
|
335
336
|
id: string;
|
|
336
|
-
arguments: Record<string, {} | null>;
|
|
337
337
|
thought_signature?: string | undefined;
|
|
338
338
|
}[] | undefined;
|
|
339
339
|
tool_results?: {
|
|
@@ -353,9 +353,9 @@ export declare const aIChatStreamMessageCompleteSchema: z.ZodObject<{
|
|
|
353
353
|
resume_token?: string | undefined;
|
|
354
354
|
structured_output?: {} | null | undefined;
|
|
355
355
|
tool_calls?: {
|
|
356
|
+
arguments: Record<string, {} | null>;
|
|
356
357
|
name: string;
|
|
357
358
|
id: string;
|
|
358
|
-
arguments: Record<string, {} | null>;
|
|
359
359
|
thought_signature?: string | undefined;
|
|
360
360
|
}[] | undefined;
|
|
361
361
|
tool_results?: {
|
|
@@ -492,14 +492,14 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
492
492
|
/** Opaque signature representing the model's internal reasoning that led to this tool call. `null` when the provider does not expose chain-of-thought data. */
|
|
493
493
|
thought_signature: z.ZodOptional<z.ZodString>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
arguments: Record<string, {} | null>;
|
|
495
496
|
name: string;
|
|
496
497
|
id: string;
|
|
497
|
-
arguments: Record<string, {} | null>;
|
|
498
498
|
thought_signature?: string | undefined;
|
|
499
499
|
}, {
|
|
500
|
+
arguments: Record<string, {} | null>;
|
|
500
501
|
name: string;
|
|
501
502
|
id: string;
|
|
502
|
-
arguments: Record<string, {} | null>;
|
|
503
503
|
thought_signature?: string | undefined;
|
|
504
504
|
}>, "many">>;
|
|
505
505
|
/** Tool execution results provided in a `tool` message. Each entry corresponds to a prior tool call by its `id`. `null` on all other message roles. */
|
|
@@ -530,9 +530,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
530
530
|
resume_token?: string | undefined;
|
|
531
531
|
structured_output?: {} | null | undefined;
|
|
532
532
|
tool_calls?: {
|
|
533
|
+
arguments: Record<string, {} | null>;
|
|
533
534
|
name: string;
|
|
534
535
|
id: string;
|
|
535
|
-
arguments: Record<string, {} | null>;
|
|
536
536
|
thought_signature?: string | undefined;
|
|
537
537
|
}[] | undefined;
|
|
538
538
|
tool_results?: {
|
|
@@ -548,9 +548,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
548
548
|
resume_token?: string | undefined;
|
|
549
549
|
structured_output?: {} | null | undefined;
|
|
550
550
|
tool_calls?: {
|
|
551
|
+
arguments: Record<string, {} | null>;
|
|
551
552
|
name: string;
|
|
552
553
|
id: string;
|
|
553
|
-
arguments: Record<string, {} | null>;
|
|
554
554
|
thought_signature?: string | undefined;
|
|
555
555
|
}[] | undefined;
|
|
556
556
|
tool_results?: {
|
|
@@ -583,14 +583,14 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
583
583
|
/** Opaque signature representing the model's internal reasoning that led to this tool call. `null` when the provider does not expose chain-of-thought data. */
|
|
584
584
|
thought_signature: z.ZodOptional<z.ZodString>;
|
|
585
585
|
}, "strip", z.ZodTypeAny, {
|
|
586
|
+
arguments: Record<string, {} | null>;
|
|
586
587
|
name: string;
|
|
587
588
|
id: string;
|
|
588
|
-
arguments: Record<string, {} | null>;
|
|
589
589
|
thought_signature?: string | undefined;
|
|
590
590
|
}, {
|
|
591
|
+
arguments: Record<string, {} | null>;
|
|
591
592
|
name: string;
|
|
592
593
|
id: string;
|
|
593
|
-
arguments: Record<string, {} | null>;
|
|
594
594
|
thought_signature?: string | undefined;
|
|
595
595
|
}>, "many">>;
|
|
596
596
|
/** Tool execution results provided in a `tool` message. Each entry corresponds to a prior tool call by its `id`. `null` on all other message roles. */
|
|
@@ -621,9 +621,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
621
621
|
resume_token?: string | undefined;
|
|
622
622
|
structured_output?: {} | null | undefined;
|
|
623
623
|
tool_calls?: {
|
|
624
|
+
arguments: Record<string, {} | null>;
|
|
624
625
|
name: string;
|
|
625
626
|
id: string;
|
|
626
|
-
arguments: Record<string, {} | null>;
|
|
627
627
|
thought_signature?: string | undefined;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
tool_results?: {
|
|
@@ -639,9 +639,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
639
639
|
resume_token?: string | undefined;
|
|
640
640
|
structured_output?: {} | null | undefined;
|
|
641
641
|
tool_calls?: {
|
|
642
|
+
arguments: Record<string, {} | null>;
|
|
642
643
|
name: string;
|
|
643
644
|
id: string;
|
|
644
|
-
arguments: Record<string, {} | null>;
|
|
645
645
|
thought_signature?: string | undefined;
|
|
646
646
|
}[] | undefined;
|
|
647
647
|
tool_results?: {
|
|
@@ -661,9 +661,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
661
661
|
resume_token?: string | undefined;
|
|
662
662
|
structured_output?: {} | null | undefined;
|
|
663
663
|
tool_calls?: {
|
|
664
|
+
arguments: Record<string, {} | null>;
|
|
664
665
|
name: string;
|
|
665
666
|
id: string;
|
|
666
|
-
arguments: Record<string, {} | null>;
|
|
667
667
|
thought_signature?: string | undefined;
|
|
668
668
|
}[] | undefined;
|
|
669
669
|
tool_results?: {
|
|
@@ -680,9 +680,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
680
680
|
resume_token?: string | undefined;
|
|
681
681
|
structured_output?: {} | null | undefined;
|
|
682
682
|
tool_calls?: {
|
|
683
|
+
arguments: Record<string, {} | null>;
|
|
683
684
|
name: string;
|
|
684
685
|
id: string;
|
|
685
|
-
arguments: Record<string, {} | null>;
|
|
686
686
|
thought_signature?: string | undefined;
|
|
687
687
|
}[] | undefined;
|
|
688
688
|
tool_results?: {
|
|
@@ -702,9 +702,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
702
702
|
resume_token?: string | undefined;
|
|
703
703
|
structured_output?: {} | null | undefined;
|
|
704
704
|
tool_calls?: {
|
|
705
|
+
arguments: Record<string, {} | null>;
|
|
705
706
|
name: string;
|
|
706
707
|
id: string;
|
|
707
|
-
arguments: Record<string, {} | null>;
|
|
708
708
|
thought_signature?: string | undefined;
|
|
709
709
|
}[] | undefined;
|
|
710
710
|
tool_results?: {
|
|
@@ -721,9 +721,9 @@ export declare const aICompletionResultSchema: z.ZodObject<{
|
|
|
721
721
|
resume_token?: string | undefined;
|
|
722
722
|
structured_output?: {} | null | undefined;
|
|
723
723
|
tool_calls?: {
|
|
724
|
+
arguments: Record<string, {} | null>;
|
|
724
725
|
name: string;
|
|
725
726
|
id: string;
|
|
726
|
-
arguments: Record<string, {} | null>;
|
|
727
727
|
thought_signature?: string | undefined;
|
|
728
728
|
}[] | undefined;
|
|
729
729
|
tool_results?: {
|
|
@@ -103,15 +103,15 @@ export declare const artifactSchema: z.ZodObject<{
|
|
|
103
103
|
version: z.ZodOptional<z.ZodNumber>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
105
|
id: string;
|
|
106
|
+
user?: string | undefined;
|
|
107
|
+
name?: string | undefined;
|
|
106
108
|
agent?: string | undefined;
|
|
107
109
|
thread?: string | undefined;
|
|
108
110
|
team?: string | undefined;
|
|
109
111
|
org?: string | undefined;
|
|
110
112
|
description?: string | undefined;
|
|
111
|
-
name?: string | undefined;
|
|
112
113
|
created_at?: string | undefined;
|
|
113
114
|
updated_at?: string | undefined;
|
|
114
|
-
user?: string | undefined;
|
|
115
115
|
sandbox?: string | undefined;
|
|
116
116
|
current_version?: string | undefined;
|
|
117
117
|
file?: string | undefined;
|
|
@@ -130,15 +130,15 @@ export declare const artifactSchema: z.ZodObject<{
|
|
|
130
130
|
file_url?: string | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
id: string;
|
|
133
|
+
user?: string | undefined;
|
|
134
|
+
name?: string | undefined;
|
|
133
135
|
agent?: string | undefined;
|
|
134
136
|
thread?: string | undefined;
|
|
135
137
|
team?: string | undefined;
|
|
136
138
|
org?: string | undefined;
|
|
137
139
|
description?: string | undefined;
|
|
138
|
-
name?: string | undefined;
|
|
139
140
|
created_at?: string | undefined;
|
|
140
141
|
updated_at?: string | undefined;
|
|
141
|
-
user?: string | undefined;
|
|
142
142
|
sandbox?: string | undefined;
|
|
143
143
|
current_version?: string | undefined;
|
|
144
144
|
file?: string | undefined;
|
|
@@ -109,6 +109,7 @@ export declare const automationRunSchema: z.ZodObject<{
|
|
|
109
109
|
status: string;
|
|
110
110
|
app: string;
|
|
111
111
|
id: string;
|
|
112
|
+
user?: string | undefined;
|
|
112
113
|
team?: string | undefined;
|
|
113
114
|
participants?: Record<string, {} | null> | undefined;
|
|
114
115
|
payload?: Record<string, {} | null> | undefined;
|
|
@@ -116,12 +117,12 @@ export declare const automationRunSchema: z.ZodObject<{
|
|
|
116
117
|
event_id?: string | undefined;
|
|
117
118
|
result?: Record<string, {} | null> | undefined;
|
|
118
119
|
updated_at?: string | undefined;
|
|
119
|
-
user?: string | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
automation: string;
|
|
122
122
|
status: string;
|
|
123
123
|
app: string;
|
|
124
124
|
id: string;
|
|
125
|
+
user?: string | undefined;
|
|
125
126
|
team?: string | undefined;
|
|
126
127
|
participants?: Record<string, {} | null> | undefined;
|
|
127
128
|
payload?: Record<string, {} | null> | undefined;
|
|
@@ -129,6 +130,5 @@ export declare const automationRunSchema: z.ZodObject<{
|
|
|
129
130
|
event_id?: string | undefined;
|
|
130
131
|
result?: Record<string, {} | null> | undefined;
|
|
131
132
|
updated_at?: string | undefined;
|
|
132
|
-
user?: string | undefined;
|
|
133
133
|
}>;
|
|
134
134
|
//# sourceMappingURL=automations.d.ts.map
|