@to11ai/sdk 3.0.0-rc.19 → 3.0.0-rc.20
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.
|
@@ -4995,6 +4995,10 @@ export type AssistantRunsRecordAssistantRunData = {
|
|
|
4995
4995
|
finishedAt: string;
|
|
4996
4996
|
model: string;
|
|
4997
4997
|
outcome: 'answered' | 'limit_tool_rounds' | 'limit_wall_clock' | 'limit_output_tokens' | 'refused' | 'credential_expired' | 'model_error' | 'disabled' | 'superseded';
|
|
4998
|
+
reportedAsker?: {
|
|
4999
|
+
slackTeamId: string;
|
|
5000
|
+
slackUserId: string;
|
|
5001
|
+
} | null;
|
|
4998
5002
|
runId: string;
|
|
4999
5003
|
runType: 'data_question' | 'skill_run';
|
|
5000
5004
|
startedAt: string;
|
|
@@ -25405,6 +25409,11 @@ export type SessionsListSessionsResponses = {
|
|
|
25405
25409
|
id: string;
|
|
25406
25410
|
} | null;
|
|
25407
25411
|
providerSlug: string | null;
|
|
25412
|
+
pullRequests: Array<{
|
|
25413
|
+
number: number;
|
|
25414
|
+
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
25415
|
+
url: string;
|
|
25416
|
+
}>;
|
|
25408
25417
|
requestCount: number;
|
|
25409
25418
|
sessionId: string;
|
|
25410
25419
|
startedAt: string;
|
|
@@ -25619,6 +25628,11 @@ export type SessionsGetSessionResponses = {
|
|
|
25619
25628
|
id: string;
|
|
25620
25629
|
} | null;
|
|
25621
25630
|
providerSlug: string | null;
|
|
25631
|
+
pullRequests: Array<{
|
|
25632
|
+
number: number;
|
|
25633
|
+
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
25634
|
+
url: string;
|
|
25635
|
+
}>;
|
|
25622
25636
|
requestCount: number;
|
|
25623
25637
|
sessionId: string;
|
|
25624
25638
|
startedAt: string;
|
|
@@ -3189,6 +3189,10 @@ export declare const zAssistantRunsRecordAssistantRunBody: z.ZodObject<{
|
|
|
3189
3189
|
disabled: "disabled";
|
|
3190
3190
|
superseded: "superseded";
|
|
3191
3191
|
}>;
|
|
3192
|
+
reportedAsker: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3193
|
+
slackTeamId: z.ZodString;
|
|
3194
|
+
slackUserId: z.ZodString;
|
|
3195
|
+
}, z.core.$strip>>>;
|
|
3192
3196
|
runId: z.ZodString;
|
|
3193
3197
|
runType: z.ZodEnum<{
|
|
3194
3198
|
data_question: "data_question";
|
|
@@ -14899,6 +14903,16 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14899
14903
|
id: z.ZodString;
|
|
14900
14904
|
}, z.core.$strip>>;
|
|
14901
14905
|
providerSlug: z.ZodNullable<z.ZodString>;
|
|
14906
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
14907
|
+
number: z.ZodInt;
|
|
14908
|
+
state: z.ZodEnum<{
|
|
14909
|
+
open: "open";
|
|
14910
|
+
draft: "draft";
|
|
14911
|
+
merged: "merged";
|
|
14912
|
+
closed: "closed";
|
|
14913
|
+
}>;
|
|
14914
|
+
url: z.ZodString;
|
|
14915
|
+
}, z.core.$strip>>;
|
|
14902
14916
|
requestCount: z.ZodInt;
|
|
14903
14917
|
sessionId: z.ZodString;
|
|
14904
14918
|
startedAt: z.ZodString;
|
|
@@ -15067,6 +15081,16 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15067
15081
|
id: z.ZodString;
|
|
15068
15082
|
}, z.core.$strip>>;
|
|
15069
15083
|
providerSlug: z.ZodNullable<z.ZodString>;
|
|
15084
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
15085
|
+
number: z.ZodInt;
|
|
15086
|
+
state: z.ZodEnum<{
|
|
15087
|
+
open: "open";
|
|
15088
|
+
draft: "draft";
|
|
15089
|
+
merged: "merged";
|
|
15090
|
+
closed: "closed";
|
|
15091
|
+
}>;
|
|
15092
|
+
url: z.ZodString;
|
|
15093
|
+
}, z.core.$strip>>;
|
|
15070
15094
|
requestCount: z.ZodInt;
|
|
15071
15095
|
sessionId: z.ZodString;
|
|
15072
15096
|
startedAt: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@to11ai/sdk",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.20",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"format": "biome format --write ."
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@anthropic-ai/sdk": "^0.
|
|
93
|
+
"@anthropic-ai/sdk": "^0.137.0",
|
|
94
94
|
"@biomejs/biome": "2.6.2",
|
|
95
95
|
"@hey-api/openapi-ts": "0.99.0",
|
|
96
96
|
"@opentelemetry/api": "^1.9.1",
|
|
@@ -5254,6 +5254,10 @@ export type AssistantRunsRecordAssistantRunData = {
|
|
|
5254
5254
|
finishedAt: string;
|
|
5255
5255
|
model: string;
|
|
5256
5256
|
outcome: 'answered' | 'limit_tool_rounds' | 'limit_wall_clock' | 'limit_output_tokens' | 'refused' | 'credential_expired' | 'model_error' | 'disabled' | 'superseded';
|
|
5257
|
+
reportedAsker?: {
|
|
5258
|
+
slackTeamId: string;
|
|
5259
|
+
slackUserId: string;
|
|
5260
|
+
} | null;
|
|
5257
5261
|
runId: string;
|
|
5258
5262
|
runType: 'data_question' | 'skill_run';
|
|
5259
5263
|
startedAt: string;
|
|
@@ -26582,6 +26586,11 @@ export type SessionsListSessionsResponses = {
|
|
|
26582
26586
|
id: string;
|
|
26583
26587
|
} | null;
|
|
26584
26588
|
providerSlug: string | null;
|
|
26589
|
+
pullRequests: Array<{
|
|
26590
|
+
number: number;
|
|
26591
|
+
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
26592
|
+
url: string;
|
|
26593
|
+
}>;
|
|
26585
26594
|
requestCount: number;
|
|
26586
26595
|
sessionId: string;
|
|
26587
26596
|
startedAt: string;
|
|
@@ -26801,6 +26810,11 @@ export type SessionsGetSessionResponses = {
|
|
|
26801
26810
|
id: string;
|
|
26802
26811
|
} | null;
|
|
26803
26812
|
providerSlug: string | null;
|
|
26813
|
+
pullRequests: Array<{
|
|
26814
|
+
number: number;
|
|
26815
|
+
state: 'open' | 'draft' | 'merged' | 'closed';
|
|
26816
|
+
url: string;
|
|
26817
|
+
}>;
|
|
26804
26818
|
requestCount: number;
|
|
26805
26819
|
sessionId: string;
|
|
26806
26820
|
startedAt: string;
|
package/src/generated/zod.gen.ts
CHANGED
|
@@ -2837,6 +2837,10 @@ export const zAssistantRunsRecordAssistantRunBody = z.object({
|
|
|
2837
2837
|
'disabled',
|
|
2838
2838
|
'superseded'
|
|
2839
2839
|
]),
|
|
2840
|
+
reportedAsker: z.object({
|
|
2841
|
+
slackTeamId: z.string().min(1).max(32).regex(/^[A-Z0-9]+$/),
|
|
2842
|
+
slackUserId: z.string().min(1).max(32).regex(/^[A-Z0-9]+$/)
|
|
2843
|
+
}).nullish(),
|
|
2840
2844
|
runId: z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/),
|
|
2841
2845
|
runType: z.enum(['data_question', 'skill_run']),
|
|
2842
2846
|
startedAt: z.string().min(1).max(64),
|
|
@@ -13508,6 +13512,16 @@ export const zSessionsListSessionsResponse = z.object({
|
|
|
13508
13512
|
id: z.string()
|
|
13509
13513
|
}).nullable(),
|
|
13510
13514
|
providerSlug: z.string().nullable(),
|
|
13515
|
+
pullRequests: z.array(z.object({
|
|
13516
|
+
number: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
13517
|
+
state: z.enum([
|
|
13518
|
+
'open',
|
|
13519
|
+
'draft',
|
|
13520
|
+
'merged',
|
|
13521
|
+
'closed'
|
|
13522
|
+
]),
|
|
13523
|
+
url: z.string()
|
|
13524
|
+
})),
|
|
13511
13525
|
requestCount: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
13512
13526
|
sessionId: z.string(),
|
|
13513
13527
|
startedAt: z.string(),
|
|
@@ -13676,6 +13690,16 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
13676
13690
|
id: z.string()
|
|
13677
13691
|
}).nullable(),
|
|
13678
13692
|
providerSlug: z.string().nullable(),
|
|
13693
|
+
pullRequests: z.array(z.object({
|
|
13694
|
+
number: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
13695
|
+
state: z.enum([
|
|
13696
|
+
'open',
|
|
13697
|
+
'draft',
|
|
13698
|
+
'merged',
|
|
13699
|
+
'closed'
|
|
13700
|
+
]),
|
|
13701
|
+
url: z.string()
|
|
13702
|
+
})),
|
|
13679
13703
|
requestCount: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
13680
13704
|
sessionId: z.string(),
|
|
13681
13705
|
startedAt: z.string(),
|