@inkeep/agents-core 0.0.0-dev-20260209221416 → 0.0.0-dev-20260209225959
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/auth/auth.d.ts +57 -57
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +1 -0
- package/dist/constants/otel-attributes.d.ts +1 -0
- package/dist/constants/otel-attributes.js +1 -0
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/conversations.d.ts +7 -7
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +4 -4
- package/dist/db/runtime/runtime-schema.d.ts +8 -8
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +79 -79
- package/package.json +1 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AgentsRunDatabaseClient } from "../db/runtime/runtime-client.js";
|
|
|
2
2
|
import * as _better_auth_sso0 from "@better-auth/sso";
|
|
3
3
|
import * as better_auth0 from "better-auth";
|
|
4
4
|
import { BetterAuthAdvancedOptions } from "better-auth";
|
|
5
|
-
import * as
|
|
5
|
+
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
6
6
|
import * as zod0 from "zod";
|
|
7
7
|
import { GoogleOptions } from "better-auth/social-providers";
|
|
8
8
|
|
|
@@ -247,7 +247,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
247
247
|
handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
|
|
248
248
|
}[];
|
|
249
249
|
};
|
|
250
|
-
options:
|
|
250
|
+
options: better_auth_plugins0.BearerOptions | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
id: "sso";
|
|
253
253
|
endpoints: {
|
|
@@ -875,30 +875,30 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
875
875
|
};
|
|
876
876
|
}, {
|
|
877
877
|
id: "organization";
|
|
878
|
-
endpoints:
|
|
878
|
+
endpoints: better_auth_plugins0.OrganizationEndpoints<{
|
|
879
879
|
allowUserToCreateOrganization: true;
|
|
880
|
-
ac:
|
|
880
|
+
ac: better_auth_plugins0.AccessControl;
|
|
881
881
|
roles: {
|
|
882
882
|
member: {
|
|
883
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
884
|
-
actions:
|
|
883
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
884
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
885
885
|
connector: "OR" | "AND";
|
|
886
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
887
|
-
statements:
|
|
886
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
887
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
888
888
|
};
|
|
889
889
|
admin: {
|
|
890
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
891
|
-
actions:
|
|
890
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
891
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
892
892
|
connector: "OR" | "AND";
|
|
893
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
894
|
-
statements:
|
|
893
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
894
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
895
895
|
};
|
|
896
896
|
owner: {
|
|
897
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
898
|
-
actions:
|
|
897
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
898
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
899
899
|
connector: "OR" | "AND";
|
|
900
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
901
|
-
statements:
|
|
900
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
901
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
902
902
|
};
|
|
903
903
|
};
|
|
904
904
|
creatorRole: "admin";
|
|
@@ -909,9 +909,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
909
909
|
id: string;
|
|
910
910
|
role: string;
|
|
911
911
|
email: string;
|
|
912
|
-
organization:
|
|
913
|
-
invitation:
|
|
914
|
-
inviter:
|
|
912
|
+
organization: better_auth_plugins0.Organization;
|
|
913
|
+
invitation: better_auth_plugins0.Invitation;
|
|
914
|
+
inviter: better_auth_plugins0.Member & {
|
|
915
915
|
user: better_auth0.User;
|
|
916
916
|
};
|
|
917
917
|
}): Promise<void>;
|
|
@@ -932,28 +932,28 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
932
932
|
user,
|
|
933
933
|
organization: org
|
|
934
934
|
}: {
|
|
935
|
-
invitation:
|
|
936
|
-
member:
|
|
935
|
+
invitation: better_auth_plugins0.Invitation & Record<string, any>;
|
|
936
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
937
937
|
user: better_auth0.User & Record<string, any>;
|
|
938
|
-
organization:
|
|
938
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
939
939
|
}) => Promise<void>;
|
|
940
940
|
beforeUpdateMemberRole: ({
|
|
941
941
|
member,
|
|
942
942
|
organization: org,
|
|
943
943
|
newRole
|
|
944
944
|
}: {
|
|
945
|
-
member:
|
|
945
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
946
946
|
newRole: string;
|
|
947
947
|
user: better_auth0.User & Record<string, any>;
|
|
948
|
-
organization:
|
|
948
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
949
949
|
}) => Promise<void>;
|
|
950
950
|
afterRemoveMember: ({
|
|
951
951
|
member,
|
|
952
952
|
organization: org
|
|
953
953
|
}: {
|
|
954
|
-
member:
|
|
954
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
955
955
|
user: better_auth0.User & Record<string, any>;
|
|
956
|
-
organization:
|
|
956
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
957
957
|
}) => Promise<void>;
|
|
958
958
|
};
|
|
959
959
|
}>;
|
|
@@ -1084,8 +1084,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1084
1084
|
id: string;
|
|
1085
1085
|
organizationId: string;
|
|
1086
1086
|
email: string;
|
|
1087
|
-
role: "member" | "
|
|
1088
|
-
status:
|
|
1087
|
+
role: "member" | "admin" | "owner";
|
|
1088
|
+
status: better_auth_plugins0.InvitationStatus;
|
|
1089
1089
|
inviterId: string;
|
|
1090
1090
|
expiresAt: Date;
|
|
1091
1091
|
createdAt: Date;
|
|
@@ -1094,7 +1094,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1094
1094
|
Member: {
|
|
1095
1095
|
id: string;
|
|
1096
1096
|
organizationId: string;
|
|
1097
|
-
role: "member" | "
|
|
1097
|
+
role: "member" | "admin" | "owner";
|
|
1098
1098
|
createdAt: Date;
|
|
1099
1099
|
userId: string;
|
|
1100
1100
|
user: {
|
|
@@ -1110,7 +1110,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1110
1110
|
members: {
|
|
1111
1111
|
id: string;
|
|
1112
1112
|
organizationId: string;
|
|
1113
|
-
role: "member" | "
|
|
1113
|
+
role: "member" | "admin" | "owner";
|
|
1114
1114
|
createdAt: Date;
|
|
1115
1115
|
userId: string;
|
|
1116
1116
|
user: {
|
|
@@ -1124,8 +1124,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1124
1124
|
id: string;
|
|
1125
1125
|
organizationId: string;
|
|
1126
1126
|
email: string;
|
|
1127
|
-
role: "member" | "
|
|
1128
|
-
status:
|
|
1127
|
+
role: "member" | "admin" | "owner";
|
|
1128
|
+
status: better_auth_plugins0.InvitationStatus;
|
|
1129
1129
|
inviterId: string;
|
|
1130
1130
|
expiresAt: Date;
|
|
1131
1131
|
createdAt: Date;
|
|
@@ -1200,28 +1200,28 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1200
1200
|
};
|
|
1201
1201
|
options: NoInfer<{
|
|
1202
1202
|
allowUserToCreateOrganization: true;
|
|
1203
|
-
ac:
|
|
1203
|
+
ac: better_auth_plugins0.AccessControl;
|
|
1204
1204
|
roles: {
|
|
1205
1205
|
member: {
|
|
1206
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
1207
|
-
actions:
|
|
1206
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1207
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1208
1208
|
connector: "OR" | "AND";
|
|
1209
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
1210
|
-
statements:
|
|
1209
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1210
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1211
1211
|
};
|
|
1212
1212
|
admin: {
|
|
1213
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
1214
|
-
actions:
|
|
1213
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1214
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1215
1215
|
connector: "OR" | "AND";
|
|
1216
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
1217
|
-
statements:
|
|
1216
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1217
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1218
1218
|
};
|
|
1219
1219
|
owner: {
|
|
1220
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
1221
|
-
actions:
|
|
1220
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1221
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1222
1222
|
connector: "OR" | "AND";
|
|
1223
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
1224
|
-
statements:
|
|
1223
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1224
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1225
1225
|
};
|
|
1226
1226
|
};
|
|
1227
1227
|
creatorRole: "admin";
|
|
@@ -1232,9 +1232,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1232
1232
|
id: string;
|
|
1233
1233
|
role: string;
|
|
1234
1234
|
email: string;
|
|
1235
|
-
organization:
|
|
1236
|
-
invitation:
|
|
1237
|
-
inviter:
|
|
1235
|
+
organization: better_auth_plugins0.Organization;
|
|
1236
|
+
invitation: better_auth_plugins0.Invitation;
|
|
1237
|
+
inviter: better_auth_plugins0.Member & {
|
|
1238
1238
|
user: better_auth0.User;
|
|
1239
1239
|
};
|
|
1240
1240
|
}): Promise<void>;
|
|
@@ -1255,28 +1255,28 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1255
1255
|
user,
|
|
1256
1256
|
organization: org
|
|
1257
1257
|
}: {
|
|
1258
|
-
invitation:
|
|
1259
|
-
member:
|
|
1258
|
+
invitation: better_auth_plugins0.Invitation & Record<string, any>;
|
|
1259
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
1260
1260
|
user: better_auth0.User & Record<string, any>;
|
|
1261
|
-
organization:
|
|
1261
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
1262
1262
|
}) => Promise<void>;
|
|
1263
1263
|
beforeUpdateMemberRole: ({
|
|
1264
1264
|
member,
|
|
1265
1265
|
organization: org,
|
|
1266
1266
|
newRole
|
|
1267
1267
|
}: {
|
|
1268
|
-
member:
|
|
1268
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
1269
1269
|
newRole: string;
|
|
1270
1270
|
user: better_auth0.User & Record<string, any>;
|
|
1271
|
-
organization:
|
|
1271
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
1272
1272
|
}) => Promise<void>;
|
|
1273
1273
|
afterRemoveMember: ({
|
|
1274
1274
|
member,
|
|
1275
1275
|
organization: org
|
|
1276
1276
|
}: {
|
|
1277
|
-
member:
|
|
1277
|
+
member: better_auth_plugins0.Member & Record<string, any>;
|
|
1278
1278
|
user: better_auth0.User & Record<string, any>;
|
|
1279
|
-
organization:
|
|
1279
|
+
organization: better_auth_plugins0.Organization & Record<string, any>;
|
|
1280
1280
|
}) => Promise<void>;
|
|
1281
1281
|
};
|
|
1282
1282
|
}>;
|
|
@@ -1613,8 +1613,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1613
1613
|
readonly AUTHENTICATION_REQUIRED: "Authentication required";
|
|
1614
1614
|
};
|
|
1615
1615
|
options: Partial<{
|
|
1616
|
-
expiresIn:
|
|
1617
|
-
interval:
|
|
1616
|
+
expiresIn: better_auth_plugins0.TimeString;
|
|
1617
|
+
interval: better_auth_plugins0.TimeString;
|
|
1618
1618
|
deviceCodeLength: number;
|
|
1619
1619
|
userCodeLength: number;
|
|
1620
1620
|
schema: {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as better_auth_plugins69 from "better-auth/plugins";
|
|
2
2
|
import { AccessControl } from "better-auth/plugins/access";
|
|
3
3
|
import { organizationClient } from "better-auth/client/plugins";
|
|
4
4
|
|
|
5
5
|
//#region src/auth/permissions.d.ts
|
|
6
6
|
declare const ac: AccessControl;
|
|
7
7
|
declare const memberRole: {
|
|
8
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
9
|
-
actions:
|
|
8
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
|
|
9
|
+
actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
|
|
10
10
|
connector: "OR" | "AND";
|
|
11
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
12
|
-
statements:
|
|
11
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
12
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
13
13
|
};
|
|
14
14
|
declare const adminRole: {
|
|
15
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
16
|
-
actions:
|
|
15
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
|
|
16
|
+
actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
|
|
17
17
|
connector: "OR" | "AND";
|
|
18
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
19
|
-
statements:
|
|
18
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
19
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
20
20
|
};
|
|
21
21
|
declare const ownerRole: {
|
|
22
|
-
authorize<K_1 extends "organization" | "member" | "invitation" | "
|
|
23
|
-
actions:
|
|
22
|
+
authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
|
|
23
|
+
actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
|
|
24
24
|
connector: "OR" | "AND";
|
|
25
|
-
} | undefined } : never, connector?: "OR" | "AND"):
|
|
26
|
-
statements:
|
|
25
|
+
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
26
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ac, adminRole, memberRole, organizationClient, ownerRole };
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { ConversationHistoryConfig, CredentialStoreType, MCPTransportType } from
|
|
|
6
6
|
import "./types/index.js";
|
|
7
7
|
import { DEFAULT_NANGO_STORE_ID } from "./credential-stores/default-constants.js";
|
|
8
8
|
import { detectAuthenticationRequired } from "./utils/auth-detection.js";
|
|
9
|
+
import "./index.js";
|
|
9
10
|
import { AgentApiInsertSchema, AgentStopWhen, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiSelectSchema, CredentialReferenceApiInsertSchema, ExternalAgentApiInsertSchema, FullAgentAgentInsertSchema, FunctionApiInsertSchema, HeadersSchema, ModelSettings, StopWhen, ToolApiInsertSchema, TriggerApiSelectSchema, TriggerInvocationApiSelectSchema } from "./validation/schemas.js";
|
|
10
11
|
import { z } from "@hono/zod-openapi";
|
|
11
12
|
|
|
@@ -61,6 +61,7 @@ declare const SPAN_KEYS: {
|
|
|
61
61
|
readonly TOOL_PURPOSE: "tool.purpose";
|
|
62
62
|
readonly TOOL_NAME: "tool.name";
|
|
63
63
|
readonly TOOL_CALL_ID: "tool.callId";
|
|
64
|
+
readonly TOOL_APPROVAL_REASON: "tool.approval.reason";
|
|
64
65
|
readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
|
|
65
66
|
readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
|
|
66
67
|
readonly CONTEXT_URL: "context.url";
|
|
@@ -61,6 +61,7 @@ const SPAN_KEYS = {
|
|
|
61
61
|
TOOL_PURPOSE: "tool.purpose",
|
|
62
62
|
TOOL_NAME: "tool.name",
|
|
63
63
|
TOOL_CALL_ID: "tool.callId",
|
|
64
|
+
TOOL_APPROVAL_REASON: "tool.approval.reason",
|
|
64
65
|
GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens",
|
|
65
66
|
GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens",
|
|
66
67
|
CONTEXT_URL: "context.url",
|
|
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
40
40
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
41
41
|
encoding: "hex" | "base64";
|
|
42
42
|
signature: {
|
|
43
|
-
source: "query" | "
|
|
43
|
+
source: "query" | "body" | "header";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "literal" | "
|
|
49
|
+
source: "literal" | "body" | "header";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -24,7 +24,7 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
24
24
|
updatedAt: string;
|
|
25
25
|
metadata: ConversationMetadata | null;
|
|
26
26
|
ref: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "tag" | "commit" | "branch";
|
|
28
28
|
name: string;
|
|
29
29
|
hash: string;
|
|
30
30
|
} | null;
|
|
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
43
43
|
agentId: string | null;
|
|
44
44
|
activeSubAgentId: string;
|
|
45
45
|
ref: {
|
|
46
|
-
type: "
|
|
46
|
+
type: "tag" | "commit" | "branch";
|
|
47
47
|
name: string;
|
|
48
48
|
hash: string;
|
|
49
49
|
} | null;
|
|
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
69
69
|
agentId: string | null;
|
|
70
70
|
activeSubAgentId: string;
|
|
71
71
|
ref: {
|
|
72
|
-
type: "
|
|
72
|
+
type: "tag" | "commit" | "branch";
|
|
73
73
|
name: string;
|
|
74
74
|
hash: string;
|
|
75
75
|
} | null;
|
|
@@ -93,7 +93,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
93
93
|
updatedAt: string;
|
|
94
94
|
metadata: ConversationMetadata | null;
|
|
95
95
|
ref: {
|
|
96
|
-
type: "
|
|
96
|
+
type: "tag" | "commit" | "branch";
|
|
97
97
|
name: string;
|
|
98
98
|
hash: string;
|
|
99
99
|
} | null;
|
|
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
107
107
|
tenantId: string;
|
|
108
108
|
id: string;
|
|
109
109
|
ref: {
|
|
110
|
-
type: "
|
|
110
|
+
type: "tag" | "commit" | "branch";
|
|
111
111
|
name: string;
|
|
112
112
|
hash: string;
|
|
113
113
|
};
|
|
@@ -129,7 +129,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
129
129
|
updatedAt: string;
|
|
130
130
|
metadata: ConversationMetadata | null;
|
|
131
131
|
ref: {
|
|
132
|
-
type: "
|
|
132
|
+
type: "tag" | "commit" | "branch";
|
|
133
133
|
name: string;
|
|
134
134
|
hash: string;
|
|
135
135
|
} | null;
|
|
@@ -161,7 +161,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
161
161
|
updatedAt: string;
|
|
162
162
|
metadata: ConversationMetadata | null;
|
|
163
163
|
ref: {
|
|
164
|
-
type: "
|
|
164
|
+
type: "tag" | "commit" | "branch";
|
|
165
165
|
name: string;
|
|
166
166
|
hash: string;
|
|
167
167
|
} | null;
|
|
@@ -14,7 +14,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
metadata: TaskMetadataConfig | null;
|
|
16
16
|
ref: {
|
|
17
|
-
type: "
|
|
17
|
+
type: "tag" | "commit" | "branch";
|
|
18
18
|
name: string;
|
|
19
19
|
hash: string;
|
|
20
20
|
} | null;
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
@@ -813,13 +813,13 @@ declare const triggers: drizzle_orm_pg_core1373.PgTableWithColumns<{
|
|
|
813
813
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
814
814
|
encoding: "hex" | "base64";
|
|
815
815
|
signature: {
|
|
816
|
-
source: "query" | "
|
|
816
|
+
source: "query" | "body" | "header";
|
|
817
817
|
key: string;
|
|
818
818
|
prefix?: string | undefined;
|
|
819
819
|
regex?: string | undefined;
|
|
820
820
|
};
|
|
821
821
|
signedComponents: {
|
|
822
|
-
source: "literal" | "
|
|
822
|
+
source: "literal" | "body" | "header";
|
|
823
823
|
required: boolean;
|
|
824
824
|
key?: string | undefined;
|
|
825
825
|
value?: string | undefined;
|
|
@@ -850,13 +850,13 @@ declare const triggers: drizzle_orm_pg_core1373.PgTableWithColumns<{
|
|
|
850
850
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
851
851
|
encoding: "hex" | "base64";
|
|
852
852
|
signature: {
|
|
853
|
-
source: "query" | "
|
|
853
|
+
source: "query" | "body" | "header";
|
|
854
854
|
key: string;
|
|
855
855
|
prefix?: string | undefined;
|
|
856
856
|
regex?: string | undefined;
|
|
857
857
|
};
|
|
858
858
|
signedComponents: {
|
|
859
|
-
source: "literal" | "
|
|
859
|
+
source: "literal" | "body" | "header";
|
|
860
860
|
required: boolean;
|
|
861
861
|
key?: string | undefined;
|
|
862
862
|
value?: string | undefined;
|
|
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "tag" | "commit" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "tag" | "commit" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "tag" | "commit" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "tag" | "commit" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
@@ -2011,7 +2011,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2011
2011
|
dataType: "json";
|
|
2012
2012
|
columnType: "PgJsonb";
|
|
2013
2013
|
data: {
|
|
2014
|
-
type: "
|
|
2014
|
+
type: "tag" | "commit" | "branch";
|
|
2015
2015
|
name: string;
|
|
2016
2016
|
hash: string;
|
|
2017
2017
|
};
|
|
@@ -2027,7 +2027,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2027
2027
|
generated: undefined;
|
|
2028
2028
|
}, {}, {
|
|
2029
2029
|
$type: {
|
|
2030
|
-
type: "
|
|
2030
|
+
type: "tag" | "commit" | "branch";
|
|
2031
2031
|
name: string;
|
|
2032
2032
|
hash: string;
|
|
2033
2033
|
};
|
|
@@ -2931,7 +2931,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2931
2931
|
tableName: "work_app_github_installations";
|
|
2932
2932
|
dataType: "string";
|
|
2933
2933
|
columnType: "PgVarchar";
|
|
2934
|
-
data: "
|
|
2934
|
+
data: "User" | "Organization";
|
|
2935
2935
|
driverParam: string;
|
|
2936
2936
|
notNull: true;
|
|
2937
2937
|
hasDefault: false;
|
|
@@ -2944,7 +2944,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2944
2944
|
generated: undefined;
|
|
2945
2945
|
}, {}, {
|
|
2946
2946
|
length: 20;
|
|
2947
|
-
$type: "
|
|
2947
|
+
$type: "User" | "Organization";
|
|
2948
2948
|
}>;
|
|
2949
2949
|
status: drizzle_orm_pg_core1674.PgColumn<{
|
|
2950
2950
|
name: "status";
|
|
@@ -3024,8 +3024,8 @@ declare const TriggerOutputTransformSchema: z.ZodObject<{
|
|
|
3024
3024
|
declare const SignatureSourceSchema: z.ZodObject<{
|
|
3025
3025
|
source: z.ZodEnum<{
|
|
3026
3026
|
query: "query";
|
|
3027
|
-
header: "header";
|
|
3028
3027
|
body: "body";
|
|
3028
|
+
header: "header";
|
|
3029
3029
|
}>;
|
|
3030
3030
|
key: z.ZodString;
|
|
3031
3031
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -3054,8 +3054,8 @@ declare const SignatureSourceSchema: z.ZodObject<{
|
|
|
3054
3054
|
declare const SignedComponentSchema: z.ZodObject<{
|
|
3055
3055
|
source: z.ZodEnum<{
|
|
3056
3056
|
literal: "literal";
|
|
3057
|
-
header: "header";
|
|
3058
3057
|
body: "body";
|
|
3058
|
+
header: "header";
|
|
3059
3059
|
}>;
|
|
3060
3060
|
key: z.ZodOptional<z.ZodString>;
|
|
3061
3061
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -3164,8 +3164,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
|
|
|
3164
3164
|
signature: z.ZodObject<{
|
|
3165
3165
|
source: z.ZodEnum<{
|
|
3166
3166
|
query: "query";
|
|
3167
|
-
header: "header";
|
|
3168
3167
|
body: "body";
|
|
3168
|
+
header: "header";
|
|
3169
3169
|
}>;
|
|
3170
3170
|
key: z.ZodString;
|
|
3171
3171
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -3174,8 +3174,8 @@ declare const SignatureVerificationConfigSchema: z.ZodObject<{
|
|
|
3174
3174
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
3175
3175
|
source: z.ZodEnum<{
|
|
3176
3176
|
literal: "literal";
|
|
3177
|
-
header: "header";
|
|
3178
3177
|
body: "body";
|
|
3178
|
+
header: "header";
|
|
3179
3179
|
}>;
|
|
3180
3180
|
key: z.ZodOptional<z.ZodString>;
|
|
3181
3181
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -3260,8 +3260,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
|
|
|
3260
3260
|
signature: z.ZodObject<{
|
|
3261
3261
|
source: z.ZodEnum<{
|
|
3262
3262
|
query: "query";
|
|
3263
|
-
header: "header";
|
|
3264
3263
|
body: "body";
|
|
3264
|
+
header: "header";
|
|
3265
3265
|
}>;
|
|
3266
3266
|
key: z.ZodString;
|
|
3267
3267
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -3270,8 +3270,8 @@ declare const TriggerSelectSchema: z.ZodObject<{
|
|
|
3270
3270
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
3271
3271
|
source: z.ZodEnum<{
|
|
3272
3272
|
literal: "literal";
|
|
3273
|
-
header: "header";
|
|
3274
3273
|
body: "body";
|
|
3274
|
+
header: "header";
|
|
3275
3275
|
}>;
|
|
3276
3276
|
key: z.ZodOptional<z.ZodString>;
|
|
3277
3277
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -3454,13 +3454,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
|
|
|
3454
3454
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
3455
3455
|
encoding: "hex" | "base64";
|
|
3456
3456
|
signature: {
|
|
3457
|
-
source: "query" | "
|
|
3457
|
+
source: "query" | "body" | "header";
|
|
3458
3458
|
key: string;
|
|
3459
3459
|
prefix?: string | undefined;
|
|
3460
3460
|
regex?: string | undefined;
|
|
3461
3461
|
};
|
|
3462
3462
|
signedComponents: {
|
|
3463
|
-
source: "literal" | "
|
|
3463
|
+
source: "literal" | "body" | "header";
|
|
3464
3464
|
required: boolean;
|
|
3465
3465
|
key?: string | undefined;
|
|
3466
3466
|
value?: string | undefined;
|
|
@@ -3491,13 +3491,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
|
|
|
3491
3491
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
3492
3492
|
encoding: "hex" | "base64";
|
|
3493
3493
|
signature: {
|
|
3494
|
-
source: "query" | "
|
|
3494
|
+
source: "query" | "body" | "header";
|
|
3495
3495
|
key: string;
|
|
3496
3496
|
prefix?: string | undefined;
|
|
3497
3497
|
regex?: string | undefined;
|
|
3498
3498
|
};
|
|
3499
3499
|
signedComponents: {
|
|
3500
|
-
source: "literal" | "
|
|
3500
|
+
source: "literal" | "body" | "header";
|
|
3501
3501
|
required: boolean;
|
|
3502
3502
|
key?: string | undefined;
|
|
3503
3503
|
value?: string | undefined;
|
|
@@ -3786,13 +3786,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
|
|
|
3786
3786
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
3787
3787
|
encoding: "hex" | "base64";
|
|
3788
3788
|
signature: {
|
|
3789
|
-
source: "query" | "
|
|
3789
|
+
source: "query" | "body" | "header";
|
|
3790
3790
|
key: string;
|
|
3791
3791
|
prefix?: string | undefined;
|
|
3792
3792
|
regex?: string | undefined;
|
|
3793
3793
|
};
|
|
3794
3794
|
signedComponents: {
|
|
3795
|
-
source: "literal" | "
|
|
3795
|
+
source: "literal" | "body" | "header";
|
|
3796
3796
|
required: boolean;
|
|
3797
3797
|
key?: string | undefined;
|
|
3798
3798
|
value?: string | undefined;
|
|
@@ -3823,13 +3823,13 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
|
|
|
3823
3823
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
3824
3824
|
encoding: "hex" | "base64";
|
|
3825
3825
|
signature: {
|
|
3826
|
-
source: "query" | "
|
|
3826
|
+
source: "query" | "body" | "header";
|
|
3827
3827
|
key: string;
|
|
3828
3828
|
prefix?: string | undefined;
|
|
3829
3829
|
regex?: string | undefined;
|
|
3830
3830
|
};
|
|
3831
3831
|
signedComponents: {
|
|
3832
|
-
source: "literal" | "
|
|
3832
|
+
source: "literal" | "body" | "header";
|
|
3833
3833
|
required: boolean;
|
|
3834
3834
|
key?: string | undefined;
|
|
3835
3835
|
value?: string | undefined;
|
|
@@ -4009,8 +4009,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
|
|
|
4009
4009
|
signature: z.ZodObject<{
|
|
4010
4010
|
source: z.ZodEnum<{
|
|
4011
4011
|
query: "query";
|
|
4012
|
-
header: "header";
|
|
4013
4012
|
body: "body";
|
|
4013
|
+
header: "header";
|
|
4014
4014
|
}>;
|
|
4015
4015
|
key: z.ZodString;
|
|
4016
4016
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -4019,8 +4019,8 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
|
|
|
4019
4019
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
4020
4020
|
source: z.ZodEnum<{
|
|
4021
4021
|
literal: "literal";
|
|
4022
|
-
header: "header";
|
|
4023
4022
|
body: "body";
|
|
4023
|
+
header: "header";
|
|
4024
4024
|
}>;
|
|
4025
4025
|
key: z.ZodOptional<z.ZodString>;
|
|
4026
4026
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -4101,8 +4101,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
|
|
|
4101
4101
|
signature: z.ZodObject<{
|
|
4102
4102
|
source: z.ZodEnum<{
|
|
4103
4103
|
query: "query";
|
|
4104
|
-
header: "header";
|
|
4105
4104
|
body: "body";
|
|
4105
|
+
header: "header";
|
|
4106
4106
|
}>;
|
|
4107
4107
|
key: z.ZodString;
|
|
4108
4108
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -4111,8 +4111,8 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
|
|
|
4111
4111
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
4112
4112
|
source: z.ZodEnum<{
|
|
4113
4113
|
literal: "literal";
|
|
4114
|
-
header: "header";
|
|
4115
4114
|
body: "body";
|
|
4115
|
+
header: "header";
|
|
4116
4116
|
}>;
|
|
4117
4117
|
key: z.ZodOptional<z.ZodString>;
|
|
4118
4118
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -5052,7 +5052,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
5052
5052
|
dataType: "json";
|
|
5053
5053
|
columnType: "PgJsonb";
|
|
5054
5054
|
data: {
|
|
5055
|
-
type: "
|
|
5055
|
+
type: "tag" | "commit" | "branch";
|
|
5056
5056
|
name: string;
|
|
5057
5057
|
hash: string;
|
|
5058
5058
|
};
|
|
@@ -5068,7 +5068,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
5068
5068
|
generated: undefined;
|
|
5069
5069
|
}, {}, {
|
|
5070
5070
|
$type: {
|
|
5071
|
-
type: "
|
|
5071
|
+
type: "tag" | "commit" | "branch";
|
|
5072
5072
|
name: string;
|
|
5073
5073
|
hash: string;
|
|
5074
5074
|
};
|
|
@@ -5266,7 +5266,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
5266
5266
|
dataType: "json";
|
|
5267
5267
|
columnType: "PgJsonb";
|
|
5268
5268
|
data: {
|
|
5269
|
-
type: "
|
|
5269
|
+
type: "tag" | "commit" | "branch";
|
|
5270
5270
|
name: string;
|
|
5271
5271
|
hash: string;
|
|
5272
5272
|
};
|
|
@@ -5282,7 +5282,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
5282
5282
|
generated: undefined;
|
|
5283
5283
|
}, {}, {
|
|
5284
5284
|
$type: {
|
|
5285
|
-
type: "
|
|
5285
|
+
type: "tag" | "commit" | "branch";
|
|
5286
5286
|
name: string;
|
|
5287
5287
|
hash: string;
|
|
5288
5288
|
};
|
|
@@ -5435,8 +5435,8 @@ declare const TaskInsertSchema: z.ZodObject<{
|
|
|
5435
5435
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
5436
5436
|
ref: z.ZodObject<{
|
|
5437
5437
|
type: z.ZodEnum<{
|
|
5438
|
-
commit: "commit";
|
|
5439
5438
|
tag: "tag";
|
|
5439
|
+
commit: "commit";
|
|
5440
5440
|
branch: "branch";
|
|
5441
5441
|
}>;
|
|
5442
5442
|
name: z.ZodString;
|
|
@@ -5460,8 +5460,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
|
|
|
5460
5460
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5461
5461
|
ref: z.ZodOptional<z.ZodObject<{
|
|
5462
5462
|
type: z.ZodEnum<{
|
|
5463
|
-
commit: "commit";
|
|
5464
5463
|
tag: "tag";
|
|
5464
|
+
commit: "commit";
|
|
5465
5465
|
branch: "branch";
|
|
5466
5466
|
}>;
|
|
5467
5467
|
name: z.ZodString;
|
|
@@ -5476,19 +5476,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
|
|
|
5476
5476
|
updatedAt: z.ZodString;
|
|
5477
5477
|
contextId: z.ZodString;
|
|
5478
5478
|
ref: z.ZodNullable<z.ZodType<{
|
|
5479
|
-
type: "
|
|
5479
|
+
type: "tag" | "commit" | "branch";
|
|
5480
5480
|
name: string;
|
|
5481
5481
|
hash: string;
|
|
5482
5482
|
}, {
|
|
5483
|
-
type: "
|
|
5483
|
+
type: "tag" | "commit" | "branch";
|
|
5484
5484
|
name: string;
|
|
5485
5485
|
hash: string;
|
|
5486
5486
|
}, z.core.$ZodTypeInternals<{
|
|
5487
|
-
type: "
|
|
5487
|
+
type: "tag" | "commit" | "branch";
|
|
5488
5488
|
name: string;
|
|
5489
5489
|
hash: string;
|
|
5490
5490
|
}, {
|
|
5491
|
-
type: "
|
|
5491
|
+
type: "tag" | "commit" | "branch";
|
|
5492
5492
|
name: string;
|
|
5493
5493
|
hash: string;
|
|
5494
5494
|
}>>>;
|
|
@@ -5514,8 +5514,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
|
|
|
5514
5514
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
5515
5515
|
ref: z.ZodObject<{
|
|
5516
5516
|
type: z.ZodEnum<{
|
|
5517
|
-
commit: "commit";
|
|
5518
5517
|
tag: "tag";
|
|
5518
|
+
commit: "commit";
|
|
5519
5519
|
branch: "branch";
|
|
5520
5520
|
}>;
|
|
5521
5521
|
name: z.ZodString;
|
|
@@ -5530,8 +5530,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
|
5530
5530
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
5531
5531
|
ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5532
5532
|
type: z.ZodEnum<{
|
|
5533
|
-
commit: "commit";
|
|
5534
5533
|
tag: "tag";
|
|
5534
|
+
commit: "commit";
|
|
5535
5535
|
branch: "branch";
|
|
5536
5536
|
}>;
|
|
5537
5537
|
name: z.ZodString;
|
|
@@ -6621,7 +6621,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
6621
6621
|
dataType: "json";
|
|
6622
6622
|
columnType: "PgJsonb";
|
|
6623
6623
|
data: {
|
|
6624
|
-
type: "
|
|
6624
|
+
type: "tag" | "commit" | "branch";
|
|
6625
6625
|
name: string;
|
|
6626
6626
|
hash: string;
|
|
6627
6627
|
};
|
|
@@ -6637,7 +6637,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
6637
6637
|
generated: undefined;
|
|
6638
6638
|
}, {}, {
|
|
6639
6639
|
$type: {
|
|
6640
|
-
type: "
|
|
6640
|
+
type: "tag" | "commit" | "branch";
|
|
6641
6641
|
name: string;
|
|
6642
6642
|
hash: string;
|
|
6643
6643
|
};
|
|
@@ -6850,7 +6850,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
6850
6850
|
dataType: "json";
|
|
6851
6851
|
columnType: "PgJsonb";
|
|
6852
6852
|
data: {
|
|
6853
|
-
type: "
|
|
6853
|
+
type: "tag" | "commit" | "branch";
|
|
6854
6854
|
name: string;
|
|
6855
6855
|
hash: string;
|
|
6856
6856
|
};
|
|
@@ -6866,7 +6866,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
6866
6866
|
generated: undefined;
|
|
6867
6867
|
}, {}, {
|
|
6868
6868
|
$type: {
|
|
6869
|
-
type: "
|
|
6869
|
+
type: "tag" | "commit" | "branch";
|
|
6870
6870
|
name: string;
|
|
6871
6871
|
hash: string;
|
|
6872
6872
|
};
|
|
@@ -6997,8 +6997,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
|
|
|
6997
6997
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
6998
6998
|
ref: z.ZodObject<{
|
|
6999
6999
|
type: z.ZodEnum<{
|
|
7000
|
-
commit: "commit";
|
|
7001
7000
|
tag: "tag";
|
|
7001
|
+
commit: "commit";
|
|
7002
7002
|
branch: "branch";
|
|
7003
7003
|
}>;
|
|
7004
7004
|
name: z.ZodString;
|
|
@@ -7023,8 +7023,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
7023
7023
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7024
7024
|
ref: z.ZodOptional<z.ZodObject<{
|
|
7025
7025
|
type: z.ZodEnum<{
|
|
7026
|
-
commit: "commit";
|
|
7027
7026
|
tag: "tag";
|
|
7027
|
+
commit: "commit";
|
|
7028
7028
|
branch: "branch";
|
|
7029
7029
|
}>;
|
|
7030
7030
|
name: z.ZodString;
|
|
@@ -7041,19 +7041,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
|
|
|
7041
7041
|
agentId: z.ZodNullable<z.ZodString>;
|
|
7042
7042
|
activeSubAgentId: z.ZodString;
|
|
7043
7043
|
ref: z.ZodNullable<z.ZodType<{
|
|
7044
|
-
type: "
|
|
7044
|
+
type: "tag" | "commit" | "branch";
|
|
7045
7045
|
name: string;
|
|
7046
7046
|
hash: string;
|
|
7047
7047
|
}, {
|
|
7048
|
-
type: "
|
|
7048
|
+
type: "tag" | "commit" | "branch";
|
|
7049
7049
|
name: string;
|
|
7050
7050
|
hash: string;
|
|
7051
7051
|
}, z.core.$ZodTypeInternals<{
|
|
7052
|
-
type: "
|
|
7052
|
+
type: "tag" | "commit" | "branch";
|
|
7053
7053
|
name: string;
|
|
7054
7054
|
hash: string;
|
|
7055
7055
|
}, {
|
|
7056
|
-
type: "
|
|
7056
|
+
type: "tag" | "commit" | "branch";
|
|
7057
7057
|
name: string;
|
|
7058
7058
|
hash: string;
|
|
7059
7059
|
}>>>;
|
|
@@ -7079,8 +7079,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
|
|
|
7079
7079
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
7080
7080
|
ref: z.ZodObject<{
|
|
7081
7081
|
type: z.ZodEnum<{
|
|
7082
|
-
commit: "commit";
|
|
7083
7082
|
tag: "tag";
|
|
7083
|
+
commit: "commit";
|
|
7084
7084
|
branch: "branch";
|
|
7085
7085
|
}>;
|
|
7086
7086
|
name: z.ZodString;
|
|
@@ -7097,8 +7097,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
|
7097
7097
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
7098
7098
|
ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
7099
7099
|
type: z.ZodEnum<{
|
|
7100
|
-
commit: "commit";
|
|
7101
7100
|
tag: "tag";
|
|
7101
|
+
commit: "commit";
|
|
7102
7102
|
branch: "branch";
|
|
7103
7103
|
}>;
|
|
7104
7104
|
name: z.ZodString;
|
|
@@ -8118,7 +8118,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
8118
8118
|
dataType: "json";
|
|
8119
8119
|
columnType: "PgJsonb";
|
|
8120
8120
|
data: {
|
|
8121
|
-
type: "
|
|
8121
|
+
type: "tag" | "commit" | "branch";
|
|
8122
8122
|
name: string;
|
|
8123
8123
|
hash: string;
|
|
8124
8124
|
};
|
|
@@ -8134,7 +8134,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
8134
8134
|
generated: undefined;
|
|
8135
8135
|
}, {}, {
|
|
8136
8136
|
$type: {
|
|
8137
|
-
type: "
|
|
8137
|
+
type: "tag" | "commit" | "branch";
|
|
8138
8138
|
name: string;
|
|
8139
8139
|
hash: string;
|
|
8140
8140
|
};
|
|
@@ -8368,7 +8368,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
8368
8368
|
dataType: "json";
|
|
8369
8369
|
columnType: "PgJsonb";
|
|
8370
8370
|
data: {
|
|
8371
|
-
type: "
|
|
8371
|
+
type: "tag" | "commit" | "branch";
|
|
8372
8372
|
name: string;
|
|
8373
8373
|
hash: string;
|
|
8374
8374
|
};
|
|
@@ -8384,7 +8384,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
|
8384
8384
|
generated: undefined;
|
|
8385
8385
|
}, {}, {
|
|
8386
8386
|
$type: {
|
|
8387
|
-
type: "
|
|
8387
|
+
type: "tag" | "commit" | "branch";
|
|
8388
8388
|
name: string;
|
|
8389
8389
|
hash: string;
|
|
8390
8390
|
};
|
|
@@ -8536,8 +8536,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
|
|
|
8536
8536
|
id: z.ZodString;
|
|
8537
8537
|
ref: z.ZodObject<{
|
|
8538
8538
|
type: z.ZodEnum<{
|
|
8539
|
-
commit: "commit";
|
|
8540
8539
|
tag: "tag";
|
|
8540
|
+
commit: "commit";
|
|
8541
8541
|
branch: "branch";
|
|
8542
8542
|
}>;
|
|
8543
8543
|
name: z.ZodString;
|
|
@@ -8562,8 +8562,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
|
8562
8562
|
id: z.ZodOptional<z.ZodString>;
|
|
8563
8563
|
ref: z.ZodOptional<z.ZodObject<{
|
|
8564
8564
|
type: z.ZodEnum<{
|
|
8565
|
-
commit: "commit";
|
|
8566
8565
|
tag: "tag";
|
|
8566
|
+
commit: "commit";
|
|
8567
8567
|
branch: "branch";
|
|
8568
8568
|
}>;
|
|
8569
8569
|
name: z.ZodString;
|
|
@@ -8580,19 +8580,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
|
|
|
8580
8580
|
contextConfigId: z.ZodString;
|
|
8581
8581
|
contextVariableKey: z.ZodString;
|
|
8582
8582
|
ref: z.ZodNullable<z.ZodType<{
|
|
8583
|
-
type: "
|
|
8583
|
+
type: "tag" | "commit" | "branch";
|
|
8584
8584
|
name: string;
|
|
8585
8585
|
hash: string;
|
|
8586
8586
|
}, {
|
|
8587
|
-
type: "
|
|
8587
|
+
type: "tag" | "commit" | "branch";
|
|
8588
8588
|
name: string;
|
|
8589
8589
|
hash: string;
|
|
8590
8590
|
}, z.core.$ZodTypeInternals<{
|
|
8591
|
-
type: "
|
|
8591
|
+
type: "tag" | "commit" | "branch";
|
|
8592
8592
|
name: string;
|
|
8593
8593
|
hash: string;
|
|
8594
8594
|
}, {
|
|
8595
|
-
type: "
|
|
8595
|
+
type: "tag" | "commit" | "branch";
|
|
8596
8596
|
name: string;
|
|
8597
8597
|
hash: string;
|
|
8598
8598
|
}>>>;
|
|
@@ -8619,8 +8619,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
|
|
|
8619
8619
|
id: z.ZodString;
|
|
8620
8620
|
ref: z.ZodObject<{
|
|
8621
8621
|
type: z.ZodEnum<{
|
|
8622
|
-
commit: "commit";
|
|
8623
8622
|
tag: "tag";
|
|
8623
|
+
commit: "commit";
|
|
8624
8624
|
branch: "branch";
|
|
8625
8625
|
}>;
|
|
8626
8626
|
name: z.ZodString;
|
|
@@ -8635,8 +8635,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
|
8635
8635
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8636
8636
|
ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
8637
8637
|
type: z.ZodEnum<{
|
|
8638
|
-
commit: "commit";
|
|
8639
8638
|
tag: "tag";
|
|
8639
|
+
commit: "commit";
|
|
8640
8640
|
branch: "branch";
|
|
8641
8641
|
}>;
|
|
8642
8642
|
name: z.ZodString;
|
|
@@ -22011,7 +22011,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
|
|
|
22011
22011
|
}, {}, {
|
|
22012
22012
|
length: 256;
|
|
22013
22013
|
}>;
|
|
22014
|
-
}, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "
|
|
22014
|
+
}, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
|
|
22015
22015
|
declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
22016
22016
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22017
22017
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -22084,9 +22084,9 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
|
22084
22084
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
22085
22085
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
|
|
22086
22086
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22087
|
+
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
22087
22088
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22088
22089
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
22089
|
-
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
22090
22090
|
parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
|
|
22091
22091
|
summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
22092
22092
|
mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
|
|
@@ -26495,19 +26495,19 @@ declare const ConversationResponse: z.ZodObject<{
|
|
|
26495
26495
|
agentId: z.ZodNullable<z.ZodString>;
|
|
26496
26496
|
activeSubAgentId: z.ZodString;
|
|
26497
26497
|
ref: z.ZodNullable<z.ZodType<{
|
|
26498
|
-
type: "
|
|
26498
|
+
type: "tag" | "commit" | "branch";
|
|
26499
26499
|
name: string;
|
|
26500
26500
|
hash: string;
|
|
26501
26501
|
}, {
|
|
26502
|
-
type: "
|
|
26502
|
+
type: "tag" | "commit" | "branch";
|
|
26503
26503
|
name: string;
|
|
26504
26504
|
hash: string;
|
|
26505
26505
|
}, z.core.$ZodTypeInternals<{
|
|
26506
|
-
type: "
|
|
26506
|
+
type: "tag" | "commit" | "branch";
|
|
26507
26507
|
name: string;
|
|
26508
26508
|
hash: string;
|
|
26509
26509
|
}, {
|
|
26510
|
-
type: "
|
|
26510
|
+
type: "tag" | "commit" | "branch";
|
|
26511
26511
|
name: string;
|
|
26512
26512
|
hash: string;
|
|
26513
26513
|
}>>>;
|
|
@@ -26575,8 +26575,8 @@ declare const TriggerResponse: z.ZodObject<{
|
|
|
26575
26575
|
signature: z.ZodObject<{
|
|
26576
26576
|
source: z.ZodEnum<{
|
|
26577
26577
|
query: "query";
|
|
26578
|
-
header: "header";
|
|
26579
26578
|
body: "body";
|
|
26579
|
+
header: "header";
|
|
26580
26580
|
}>;
|
|
26581
26581
|
key: z.ZodString;
|
|
26582
26582
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -26585,8 +26585,8 @@ declare const TriggerResponse: z.ZodObject<{
|
|
|
26585
26585
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
26586
26586
|
source: z.ZodEnum<{
|
|
26587
26587
|
literal: "literal";
|
|
26588
|
-
header: "header";
|
|
26589
26588
|
body: "body";
|
|
26589
|
+
header: "header";
|
|
26590
26590
|
}>;
|
|
26591
26591
|
key: z.ZodOptional<z.ZodString>;
|
|
26592
26592
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -27736,19 +27736,19 @@ declare const ConversationListResponse: z.ZodObject<{
|
|
|
27736
27736
|
agentId: z.ZodNullable<z.ZodString>;
|
|
27737
27737
|
activeSubAgentId: z.ZodString;
|
|
27738
27738
|
ref: z.ZodNullable<z.ZodType<{
|
|
27739
|
-
type: "
|
|
27739
|
+
type: "tag" | "commit" | "branch";
|
|
27740
27740
|
name: string;
|
|
27741
27741
|
hash: string;
|
|
27742
27742
|
}, {
|
|
27743
|
-
type: "
|
|
27743
|
+
type: "tag" | "commit" | "branch";
|
|
27744
27744
|
name: string;
|
|
27745
27745
|
hash: string;
|
|
27746
27746
|
}, z.core.$ZodTypeInternals<{
|
|
27747
|
-
type: "
|
|
27747
|
+
type: "tag" | "commit" | "branch";
|
|
27748
27748
|
name: string;
|
|
27749
27749
|
hash: string;
|
|
27750
27750
|
}, {
|
|
27751
|
-
type: "
|
|
27751
|
+
type: "tag" | "commit" | "branch";
|
|
27752
27752
|
name: string;
|
|
27753
27753
|
hash: string;
|
|
27754
27754
|
}>>>;
|
|
@@ -27828,8 +27828,8 @@ declare const TriggerListResponse: z.ZodObject<{
|
|
|
27828
27828
|
signature: z.ZodObject<{
|
|
27829
27829
|
source: z.ZodEnum<{
|
|
27830
27830
|
query: "query";
|
|
27831
|
-
header: "header";
|
|
27832
27831
|
body: "body";
|
|
27832
|
+
header: "header";
|
|
27833
27833
|
}>;
|
|
27834
27834
|
key: z.ZodString;
|
|
27835
27835
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -27838,8 +27838,8 @@ declare const TriggerListResponse: z.ZodObject<{
|
|
|
27838
27838
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
27839
27839
|
source: z.ZodEnum<{
|
|
27840
27840
|
literal: "literal";
|
|
27841
|
-
header: "header";
|
|
27842
27841
|
body: "body";
|
|
27842
|
+
header: "header";
|
|
27843
27843
|
}>;
|
|
27844
27844
|
key: z.ZodOptional<z.ZodString>;
|
|
27845
27845
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -27915,8 +27915,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
|
|
|
27915
27915
|
signature: z.ZodObject<{
|
|
27916
27916
|
source: z.ZodEnum<{
|
|
27917
27917
|
query: "query";
|
|
27918
|
-
header: "header";
|
|
27919
27918
|
body: "body";
|
|
27919
|
+
header: "header";
|
|
27920
27920
|
}>;
|
|
27921
27921
|
key: z.ZodString;
|
|
27922
27922
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -27925,8 +27925,8 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
|
|
|
27925
27925
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
27926
27926
|
source: z.ZodEnum<{
|
|
27927
27927
|
literal: "literal";
|
|
27928
|
-
header: "header";
|
|
27929
27928
|
body: "body";
|
|
27929
|
+
header: "header";
|
|
27930
27930
|
}>;
|
|
27931
27931
|
key: z.ZodOptional<z.ZodString>;
|
|
27932
27932
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -27976,8 +27976,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
|
|
|
27976
27976
|
signature: z.ZodObject<{
|
|
27977
27977
|
source: z.ZodEnum<{
|
|
27978
27978
|
query: "query";
|
|
27979
|
-
header: "header";
|
|
27980
27979
|
body: "body";
|
|
27980
|
+
header: "header";
|
|
27981
27981
|
}>;
|
|
27982
27982
|
key: z.ZodString;
|
|
27983
27983
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -27986,8 +27986,8 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
|
|
|
27986
27986
|
signedComponents: z.ZodArray<z.ZodObject<{
|
|
27987
27987
|
source: z.ZodEnum<{
|
|
27988
27988
|
literal: "literal";
|
|
27989
|
-
header: "header";
|
|
27990
27989
|
body: "body";
|
|
27990
|
+
header: "header";
|
|
27991
27991
|
}>;
|
|
27992
27992
|
key: z.ZodOptional<z.ZodString>;
|
|
27993
27993
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -31321,8 +31321,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
|
|
|
31321
31321
|
disconnected: "disconnected";
|
|
31322
31322
|
}>;
|
|
31323
31323
|
declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
|
|
31324
|
-
Organization: "Organization";
|
|
31325
31324
|
User: "User";
|
|
31325
|
+
Organization: "Organization";
|
|
31326
31326
|
}>;
|
|
31327
31327
|
declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
|
|
31328
31328
|
createdAt: drizzle_orm_pg_core211.PgColumn<{
|
|
@@ -31417,7 +31417,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
|
|
|
31417
31417
|
tableName: "work_app_github_installations";
|
|
31418
31418
|
dataType: "string";
|
|
31419
31419
|
columnType: "PgVarchar";
|
|
31420
|
-
data: "
|
|
31420
|
+
data: "User" | "Organization";
|
|
31421
31421
|
driverParam: string;
|
|
31422
31422
|
notNull: true;
|
|
31423
31423
|
hasDefault: false;
|
|
@@ -31430,7 +31430,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
|
|
|
31430
31430
|
generated: undefined;
|
|
31431
31431
|
}, {}, {
|
|
31432
31432
|
length: 20;
|
|
31433
|
-
$type: "
|
|
31433
|
+
$type: "User" | "Organization";
|
|
31434
31434
|
}>;
|
|
31435
31435
|
status: drizzle_orm_pg_core211.PgColumn<{
|
|
31436
31436
|
name: "status";
|
|
@@ -31583,7 +31583,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
|
|
|
31583
31583
|
tableName: "work_app_github_installations";
|
|
31584
31584
|
dataType: "string";
|
|
31585
31585
|
columnType: "PgVarchar";
|
|
31586
|
-
data: "
|
|
31586
|
+
data: "User" | "Organization";
|
|
31587
31587
|
driverParam: string;
|
|
31588
31588
|
notNull: true;
|
|
31589
31589
|
hasDefault: false;
|
|
@@ -31596,7 +31596,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
|
|
|
31596
31596
|
generated: undefined;
|
|
31597
31597
|
}, {}, {
|
|
31598
31598
|
length: 20;
|
|
31599
|
-
$type: "
|
|
31599
|
+
$type: "User" | "Organization";
|
|
31600
31600
|
}>;
|
|
31601
31601
|
status: drizzle_orm_pg_core211.PgColumn<{
|
|
31602
31602
|
name: "status";
|
|
@@ -31664,8 +31664,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
|
|
|
31664
31664
|
installationId: z.ZodString;
|
|
31665
31665
|
accountLogin: z.ZodString;
|
|
31666
31666
|
accountType: z.ZodEnum<{
|
|
31667
|
-
Organization: "Organization";
|
|
31668
31667
|
User: "User";
|
|
31668
|
+
Organization: "Organization";
|
|
31669
31669
|
}>;
|
|
31670
31670
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
31671
31671
|
pending: "pending";
|
|
@@ -31695,8 +31695,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
|
|
|
31695
31695
|
installationId: z.ZodString;
|
|
31696
31696
|
accountLogin: z.ZodString;
|
|
31697
31697
|
accountType: z.ZodEnum<{
|
|
31698
|
-
Organization: "Organization";
|
|
31699
31698
|
User: "User";
|
|
31699
|
+
Organization: "Organization";
|
|
31700
31700
|
}>;
|
|
31701
31701
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
31702
31702
|
pending: "pending";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260209225959",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|