@to11ai/sdk 3.0.0-rc.12 → 3.0.0-rc.14

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.
@@ -12786,6 +12786,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
12786
12786
  model: string;
12787
12787
  name: string;
12788
12788
  provider: string;
12789
+ sessionId?: string | null;
12789
12790
  timestamp: string;
12790
12791
  traceId: string;
12791
12792
  }>;
@@ -12973,6 +12974,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
12973
12974
  totalOutputTokens: number;
12974
12975
  totalTokens: number;
12975
12976
  totalTraces: number;
12977
+ tracesReadable: boolean;
12976
12978
  } | null;
12977
12979
  error: {
12978
12980
  code: string;
@@ -22924,6 +22926,9 @@ export type TracesListTracesData = {
22924
22926
  model?: string | Array<string> | null;
22925
22927
  promptRef?: string | Array<string> | null;
22926
22928
  sessionId?: string | null;
22929
+ vcsRepositoryUrl?: string | null;
22930
+ vcsHeadName?: string | null;
22931
+ vcsHeadRevision?: string | null;
22927
22932
  minTokens?: string | null;
22928
22933
  maxTokens?: string | null;
22929
22934
  minCost?: string | null;
@@ -23137,6 +23142,9 @@ export type TracesListTracePromptFacetsData = {
23137
23142
  model?: string | Array<string> | null;
23138
23143
  promptRef?: string | Array<string> | null;
23139
23144
  sessionId?: string | null;
23145
+ vcsRepositoryUrl?: string | null;
23146
+ vcsHeadName?: string | null;
23147
+ vcsHeadRevision?: string | null;
23140
23148
  minTokens?: string | null;
23141
23149
  maxTokens?: string | null;
23142
23150
  minCost?: string | null;
@@ -7045,6 +7045,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
7045
7045
  model: z.ZodString;
7046
7046
  name: z.ZodString;
7047
7047
  provider: z.ZodString;
7048
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7048
7049
  timestamp: z.ZodString;
7049
7050
  traceId: z.ZodString;
7050
7051
  }, z.core.$strip>>;
@@ -7252,6 +7253,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
7252
7253
  totalOutputTokens: z.ZodNumber;
7253
7254
  totalTokens: z.ZodNumber;
7254
7255
  totalTraces: z.ZodNumber;
7256
+ tracesReadable: z.ZodBoolean;
7255
7257
  }, z.core.$strip>>;
7256
7258
  error: z.ZodNullable<z.ZodObject<{
7257
7259
  code: z.ZodString;
@@ -13108,6 +13110,9 @@ export declare const zTracesListTracesQuery: z.ZodObject<{
13108
13110
  model: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
13109
13111
  promptRef: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
13110
13112
  sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13113
+ vcsRepositoryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13114
+ vcsHeadName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13115
+ vcsHeadRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13111
13116
  minTokens: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13112
13117
  maxTokens: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13113
13118
  minCost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13310,6 +13315,9 @@ export declare const zTracesListTracePromptFacetsQuery: z.ZodObject<{
13310
13315
  model: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
13311
13316
  promptRef: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
13312
13317
  sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13318
+ vcsRepositoryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13319
+ vcsHeadName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13320
+ vcsHeadRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13313
13321
  minTokens: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13314
13322
  maxTokens: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13315
13323
  minCost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@to11ai/sdk",
3
- "version": "3.0.0-rc.12",
3
+ "version": "3.0.0-rc.14",
4
4
  "license": "MPL-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13412,6 +13412,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
13412
13412
  model: string;
13413
13413
  name: string;
13414
13414
  provider: string;
13415
+ sessionId?: string | null;
13415
13416
  timestamp: string;
13416
13417
  traceId: string;
13417
13418
  }>;
@@ -13599,6 +13600,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
13599
13600
  totalOutputTokens: number;
13600
13601
  totalTokens: number;
13601
13602
  totalTraces: number;
13603
+ tracesReadable: boolean;
13602
13604
  } | null;
13603
13605
  error: {
13604
13606
  code: string;
@@ -23997,6 +23999,9 @@ export type TracesListTracesData = {
23997
23999
  model?: string | Array<string> | null;
23998
24000
  promptRef?: string | Array<string> | null;
23999
24001
  sessionId?: string | null;
24002
+ vcsRepositoryUrl?: string | null;
24003
+ vcsHeadName?: string | null;
24004
+ vcsHeadRevision?: string | null;
24000
24005
  minTokens?: string | null;
24001
24006
  maxTokens?: string | null;
24002
24007
  minCost?: string | null;
@@ -24215,6 +24220,9 @@ export type TracesListTracePromptFacetsData = {
24215
24220
  model?: string | Array<string> | null;
24216
24221
  promptRef?: string | Array<string> | null;
24217
24222
  sessionId?: string | null;
24223
+ vcsRepositoryUrl?: string | null;
24224
+ vcsHeadName?: string | null;
24225
+ vcsHeadRevision?: string | null;
24218
24226
  minTokens?: string | null;
24219
24227
  maxTokens?: string | null;
24220
24228
  minCost?: string | null;
@@ -6638,6 +6638,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
6638
6638
  model: z.string(),
6639
6639
  name: z.string(),
6640
6640
  provider: z.string(),
6641
+ sessionId: z.string().nullish(),
6641
6642
  timestamp: z.string(),
6642
6643
  traceId: z.string()
6643
6644
  })),
@@ -6840,7 +6841,8 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
6840
6841
  totalInputTokens: z.number(),
6841
6842
  totalOutputTokens: z.number(),
6842
6843
  totalTokens: z.number(),
6843
- totalTraces: z.number()
6844
+ totalTraces: z.number(),
6845
+ tracesReadable: z.boolean()
6844
6846
  }).nullable(),
6845
6847
  error: z.object({
6846
6848
  code: z.string(),
@@ -12089,6 +12091,9 @@ export const zTracesListTracesQuery = z.object({
12089
12091
  z.array(z.string())
12090
12092
  ]).nullish(),
12091
12093
  sessionId: z.string().min(1).max(256).nullish(),
12094
+ vcsRepositoryUrl: z.string().min(1).max(256).nullish(),
12095
+ vcsHeadName: z.string().min(1).max(256).nullish(),
12096
+ vcsHeadRevision: z.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/).nullish(),
12092
12097
  minTokens: z.string().nullish(),
12093
12098
  maxTokens: z.string().nullish(),
12094
12099
  minCost: z.string().nullish(),
@@ -12295,6 +12300,9 @@ export const zTracesListTracePromptFacetsQuery = z.object({
12295
12300
  z.array(z.string())
12296
12301
  ]).nullish(),
12297
12302
  sessionId: z.string().min(1).max(256).nullish(),
12303
+ vcsRepositoryUrl: z.string().min(1).max(256).nullish(),
12304
+ vcsHeadName: z.string().min(1).max(256).nullish(),
12305
+ vcsHeadRevision: z.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/).nullish(),
12298
12306
  minTokens: z.string().nullish(),
12299
12307
  maxTokens: z.string().nullish(),
12300
12308
  minCost: z.string().nullish(),