@inkeep/agents-core 0.0.0-dev-20260306200324 → 0.0.0-dev-20260306211010
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-schema.d.ts +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/constants/models.d.ts +32 -2
- package/dist/constants/models.js +35 -5
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/messages.d.ts +3 -3
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +310 -310
- package/dist/validation/schemas.d.ts +25 -25
- package/package.json +1 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -1273,25 +1273,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1273
1273
|
ac: better_auth_plugins0.AccessControl;
|
|
1274
1274
|
roles: {
|
|
1275
1275
|
member: {
|
|
1276
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
1277
|
-
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1276
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1277
|
+
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
|
|
1278
1278
|
connector: "OR" | "AND";
|
|
1279
1279
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1280
|
-
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1280
|
+
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
|
|
1281
1281
|
};
|
|
1282
1282
|
admin: {
|
|
1283
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
1284
|
-
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1283
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1284
|
+
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
|
|
1285
1285
|
connector: "OR" | "AND";
|
|
1286
1286
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1287
|
-
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1287
|
+
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
|
|
1288
1288
|
};
|
|
1289
1289
|
owner: {
|
|
1290
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
1291
|
-
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1290
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
|
|
1291
|
+
actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
|
|
1292
1292
|
connector: "OR" | "AND";
|
|
1293
1293
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1294
|
-
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "
|
|
1294
|
+
statements: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
|
|
1295
1295
|
};
|
|
1296
1296
|
};
|
|
1297
1297
|
creatorRole: "admin";
|
|
@@ -5,25 +5,25 @@ import { organizationClient } from "better-auth/client/plugins";
|
|
|
5
5
|
//#region src/auth/permissions.d.ts
|
|
6
6
|
declare const ac: AccessControl;
|
|
7
7
|
declare const memberRole: {
|
|
8
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
9
|
-
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
8
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key] | {
|
|
9
|
+
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key];
|
|
10
10
|
connector: "OR" | "AND";
|
|
11
11
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
|
|
12
|
-
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
12
|
+
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>;
|
|
13
13
|
};
|
|
14
14
|
declare const adminRole: {
|
|
15
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
16
|
-
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
15
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key] | {
|
|
16
|
+
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key];
|
|
17
17
|
connector: "OR" | "AND";
|
|
18
18
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
|
|
19
|
-
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
19
|
+
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>;
|
|
20
20
|
};
|
|
21
21
|
declare const ownerRole: {
|
|
22
|
-
authorize<K_1 extends "project" | "organization" | "member" | "
|
|
23
|
-
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
22
|
+
authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key] | {
|
|
23
|
+
actions: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>[key];
|
|
24
24
|
connector: "OR" | "AND";
|
|
25
25
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
|
|
26
|
-
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "
|
|
26
|
+
statements: better_auth_plugins35.Subset<"project" | "organization" | "member" | "invitation" | "ac" | "team", better_auth_plugins35.Statements>;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ac, adminRole, memberRole, organizationClient, ownerRole };
|
|
@@ -9,43 +9,73 @@ declare const ANTHROPIC_MODELS: {
|
|
|
9
9
|
readonly CLAUDE_OPUS_4_5_20251101: "anthropic/claude-opus-4-5-20251101";
|
|
10
10
|
readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1";
|
|
11
11
|
readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
|
|
12
|
+
readonly CLAUDE_OPUS_4: "anthropic/claude-opus-4";
|
|
12
13
|
readonly CLAUDE_SONNET_4_6: "anthropic/claude-sonnet-4-6";
|
|
13
14
|
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5";
|
|
14
15
|
readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
|
|
15
|
-
readonly
|
|
16
|
+
readonly CLAUDE_SONNET_4_0: "anthropic/claude-sonnet-4-0";
|
|
17
|
+
readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4";
|
|
16
18
|
readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
|
|
17
19
|
readonly CLAUDE_HAIKU_4_5: "anthropic/claude-haiku-4-5";
|
|
18
20
|
readonly CLAUDE_HAIKU_4_5_20251001: "anthropic/claude-haiku-4-5-20251001";
|
|
19
|
-
readonly
|
|
21
|
+
readonly CLAUDE_3_7_SONNET: "anthropic/claude-3-7-sonnet";
|
|
22
|
+
readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet";
|
|
23
|
+
readonly CLAUDE_3_5_SONNET_20240620: "anthropic/claude-3-5-sonnet-20240620";
|
|
24
|
+
readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku";
|
|
20
25
|
readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
|
|
26
|
+
readonly CLAUDE_3_OPUS: "anthropic/claude-3-opus";
|
|
27
|
+
readonly CLAUDE_3_HAIKU: "anthropic/claude-3-haiku";
|
|
21
28
|
};
|
|
22
29
|
declare const OPENAI_MODELS: {
|
|
23
30
|
readonly GPT_5_4_PRO: "openai/gpt-5.4-pro";
|
|
24
31
|
readonly GPT_5_4: "openai/gpt-5.4";
|
|
32
|
+
readonly GPT_5_2_CODEX: "openai/gpt-5.2-codex";
|
|
25
33
|
readonly GPT_5_2: "openai/gpt-5.2";
|
|
26
34
|
readonly GPT_5_2_20251211: "openai/gpt-5.2-2025-12-11";
|
|
35
|
+
readonly GPT_5_1_THINKING: "openai/gpt-5.1-thinking";
|
|
36
|
+
readonly GPT_5_1_CODEX_MAX: "openai/gpt-5.1-codex-max";
|
|
37
|
+
readonly GPT_5_1_CODEX_MINI: "openai/gpt-5.1-codex-mini";
|
|
38
|
+
readonly GPT_5_1_CODEX: "openai/gpt-5.1-codex";
|
|
27
39
|
readonly GPT_5_1: "openai/gpt-5.1";
|
|
28
40
|
readonly GPT_5_1_20251113: "openai/gpt-5.1-2025-11-13";
|
|
41
|
+
readonly GPT_5_PRO: "openai/gpt-5-pro";
|
|
42
|
+
readonly GPT_5_CODEX: "openai/gpt-5-codex";
|
|
29
43
|
readonly GPT_5: "openai/gpt-5";
|
|
30
44
|
readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
|
|
31
45
|
readonly GPT_5_MINI: "openai/gpt-5-mini";
|
|
32
46
|
readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
|
|
33
47
|
readonly GPT_5_NANO: "openai/gpt-5-nano";
|
|
34
48
|
readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
|
|
49
|
+
readonly O3_PRO: "openai/o3-pro";
|
|
50
|
+
readonly O3: "openai/o3";
|
|
51
|
+
readonly O3_MINI: "openai/o3-mini";
|
|
52
|
+
readonly O4_MINI: "openai/o4-mini";
|
|
53
|
+
readonly O1: "openai/o1";
|
|
54
|
+
readonly GPT_4O: "openai/gpt-4o";
|
|
55
|
+
readonly GPT_4O_MINI: "openai/gpt-4o-mini";
|
|
56
|
+
readonly GPT_4_TURBO: "openai/gpt-4-turbo";
|
|
35
57
|
readonly GPT_4_1: "openai/gpt-4.1";
|
|
36
58
|
readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
|
|
37
59
|
readonly GPT_4_1_MINI: "openai/gpt-4.1-mini";
|
|
38
60
|
readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
|
|
39
61
|
readonly GPT_4_1_NANO: "openai/gpt-4.1-nano";
|
|
40
62
|
readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
|
|
63
|
+
readonly GPT_3_5_TURBO: "openai/gpt-3.5-turbo";
|
|
64
|
+
readonly CODEX_MINI: "openai/codex-mini";
|
|
41
65
|
};
|
|
42
66
|
declare const GOOGLE_MODELS: {
|
|
67
|
+
readonly GEMINI_3_1_FLASH_LITE_PREVIEW: "google/gemini-3.1-flash-lite-preview";
|
|
43
68
|
readonly GEMINI_3_1_PRO_PREVIEW: "google/gemini-3.1-pro-preview";
|
|
69
|
+
readonly GEMINI_3_FLASH: "google/gemini-3-flash";
|
|
44
70
|
readonly GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview";
|
|
45
71
|
readonly GEMINI_3_FLASH_PREVIEW: "google/gemini-3-flash-preview";
|
|
72
|
+
readonly GEMINI_2_5_FLASH_PREVIEW_09_2025: "google/gemini-2.5-flash-preview-09-2025";
|
|
73
|
+
readonly GEMINI_2_5_FLASH_LITE_PREVIEW_09_2025: "google/gemini-2.5-flash-lite-preview-09-2025";
|
|
46
74
|
readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
|
|
47
75
|
readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
|
|
48
76
|
readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
|
|
77
|
+
readonly GEMINI_2_0_FLASH: "google/gemini-2.0-flash";
|
|
78
|
+
readonly GEMINI_2_0_FLASH_LITE: "google/gemini-2.0-flash-lite";
|
|
49
79
|
};
|
|
50
80
|
type AnthropicModel = (typeof ANTHROPIC_MODELS)[keyof typeof ANTHROPIC_MODELS];
|
|
51
81
|
type OpenAIModel = (typeof OPENAI_MODELS)[keyof typeof OPENAI_MODELS];
|
package/dist/constants/models.js
CHANGED
|
@@ -9,43 +9,73 @@ const ANTHROPIC_MODELS = {
|
|
|
9
9
|
CLAUDE_OPUS_4_5_20251101: "anthropic/claude-opus-4-5-20251101",
|
|
10
10
|
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
|
|
11
11
|
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
12
|
+
CLAUDE_OPUS_4: "anthropic/claude-opus-4",
|
|
12
13
|
CLAUDE_SONNET_4_6: "anthropic/claude-sonnet-4-6",
|
|
13
14
|
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
|
|
14
15
|
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
15
|
-
|
|
16
|
+
CLAUDE_SONNET_4_0: "anthropic/claude-sonnet-4-0",
|
|
17
|
+
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4",
|
|
16
18
|
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
17
19
|
CLAUDE_HAIKU_4_5: "anthropic/claude-haiku-4-5",
|
|
18
20
|
CLAUDE_HAIKU_4_5_20251001: "anthropic/claude-haiku-4-5-20251001",
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
CLAUDE_3_7_SONNET: "anthropic/claude-3-7-sonnet",
|
|
22
|
+
CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet",
|
|
23
|
+
CLAUDE_3_5_SONNET_20240620: "anthropic/claude-3-5-sonnet-20240620",
|
|
24
|
+
CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku",
|
|
25
|
+
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022",
|
|
26
|
+
CLAUDE_3_OPUS: "anthropic/claude-3-opus",
|
|
27
|
+
CLAUDE_3_HAIKU: "anthropic/claude-3-haiku"
|
|
21
28
|
};
|
|
22
29
|
const OPENAI_MODELS = {
|
|
23
30
|
GPT_5_4_PRO: "openai/gpt-5.4-pro",
|
|
24
31
|
GPT_5_4: "openai/gpt-5.4",
|
|
32
|
+
GPT_5_2_CODEX: "openai/gpt-5.2-codex",
|
|
25
33
|
GPT_5_2: "openai/gpt-5.2",
|
|
26
34
|
GPT_5_2_20251211: "openai/gpt-5.2-2025-12-11",
|
|
35
|
+
GPT_5_1_THINKING: "openai/gpt-5.1-thinking",
|
|
36
|
+
GPT_5_1_CODEX_MAX: "openai/gpt-5.1-codex-max",
|
|
37
|
+
GPT_5_1_CODEX_MINI: "openai/gpt-5.1-codex-mini",
|
|
38
|
+
GPT_5_1_CODEX: "openai/gpt-5.1-codex",
|
|
27
39
|
GPT_5_1: "openai/gpt-5.1",
|
|
28
40
|
GPT_5_1_20251113: "openai/gpt-5.1-2025-11-13",
|
|
41
|
+
GPT_5_PRO: "openai/gpt-5-pro",
|
|
42
|
+
GPT_5_CODEX: "openai/gpt-5-codex",
|
|
29
43
|
GPT_5: "openai/gpt-5",
|
|
30
44
|
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
31
45
|
GPT_5_MINI: "openai/gpt-5-mini",
|
|
32
46
|
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
33
47
|
GPT_5_NANO: "openai/gpt-5-nano",
|
|
34
48
|
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
49
|
+
O3_PRO: "openai/o3-pro",
|
|
50
|
+
O3: "openai/o3",
|
|
51
|
+
O3_MINI: "openai/o3-mini",
|
|
52
|
+
O4_MINI: "openai/o4-mini",
|
|
53
|
+
O1: "openai/o1",
|
|
54
|
+
GPT_4O: "openai/gpt-4o",
|
|
55
|
+
GPT_4O_MINI: "openai/gpt-4o-mini",
|
|
56
|
+
GPT_4_TURBO: "openai/gpt-4-turbo",
|
|
35
57
|
GPT_4_1: "openai/gpt-4.1",
|
|
36
58
|
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
37
59
|
GPT_4_1_MINI: "openai/gpt-4.1-mini",
|
|
38
60
|
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
39
61
|
GPT_4_1_NANO: "openai/gpt-4.1-nano",
|
|
40
|
-
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
62
|
+
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14",
|
|
63
|
+
GPT_3_5_TURBO: "openai/gpt-3.5-turbo",
|
|
64
|
+
CODEX_MINI: "openai/codex-mini"
|
|
41
65
|
};
|
|
42
66
|
const GOOGLE_MODELS = {
|
|
67
|
+
GEMINI_3_1_FLASH_LITE_PREVIEW: "google/gemini-3.1-flash-lite-preview",
|
|
43
68
|
GEMINI_3_1_PRO_PREVIEW: "google/gemini-3.1-pro-preview",
|
|
69
|
+
GEMINI_3_FLASH: "google/gemini-3-flash",
|
|
44
70
|
GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview",
|
|
45
71
|
GEMINI_3_FLASH_PREVIEW: "google/gemini-3-flash-preview",
|
|
72
|
+
GEMINI_2_5_FLASH_PREVIEW_09_2025: "google/gemini-2.5-flash-preview-09-2025",
|
|
73
|
+
GEMINI_2_5_FLASH_LITE_PREVIEW_09_2025: "google/gemini-2.5-flash-lite-preview-09-2025",
|
|
46
74
|
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
47
75
|
GEMINI_2_5_FLASH: "google/gemini-2.5-flash",
|
|
48
|
-
GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite"
|
|
76
|
+
GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite",
|
|
77
|
+
GEMINI_2_0_FLASH: "google/gemini-2.0-flash",
|
|
78
|
+
GEMINI_2_0_FLASH_LITE: "google/gemini-2.0-flash-lite"
|
|
49
79
|
};
|
|
50
80
|
|
|
51
81
|
//#endregion
|
|
@@ -15,11 +15,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
agentId: string;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
updatedAt: string;
|
|
18
|
-
expiresAt: string | null;
|
|
19
18
|
publicId: string;
|
|
20
19
|
keyHash: string;
|
|
21
20
|
keyPrefix: string;
|
|
22
21
|
lastUsedAt: string | null;
|
|
22
|
+
expiresAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
25
|
id: string;
|
|
@@ -29,11 +29,11 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
|
|
|
29
29
|
agentId: string;
|
|
30
30
|
createdAt: string;
|
|
31
31
|
updatedAt: string;
|
|
32
|
-
expiresAt: string | null;
|
|
33
32
|
publicId: string;
|
|
34
33
|
keyHash: string;
|
|
35
34
|
keyPrefix: string;
|
|
36
35
|
lastUsedAt: string | null;
|
|
36
|
+
expiresAt: string | null;
|
|
37
37
|
} | undefined>;
|
|
38
38
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
@@ -46,11 +46,11 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
46
46
|
agentId: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
expiresAt: string | null;
|
|
50
49
|
publicId: string;
|
|
51
50
|
keyHash: string;
|
|
52
51
|
keyPrefix: string;
|
|
53
52
|
lastUsedAt: string | null;
|
|
53
|
+
expiresAt: string | null;
|
|
54
54
|
}[]>;
|
|
55
55
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
56
56
|
scopes: ProjectScopeConfig;
|
|
@@ -73,11 +73,11 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
|
|
|
73
73
|
agentId: string;
|
|
74
74
|
createdAt: string;
|
|
75
75
|
updatedAt: string;
|
|
76
|
-
expiresAt: string | null;
|
|
77
76
|
publicId: string;
|
|
78
77
|
keyHash: string;
|
|
79
78
|
keyPrefix: string;
|
|
80
79
|
lastUsedAt: string | null;
|
|
80
|
+
expiresAt: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|
|
@@ -23,8 +23,8 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
23
23
|
toExternalAgentId: string | null;
|
|
24
24
|
taskId: string | null;
|
|
25
25
|
a2aTaskId: string | null;
|
|
26
|
-
role: string;
|
|
27
26
|
conversationId: string;
|
|
27
|
+
role: string;
|
|
28
28
|
fromTeamAgentId: string | null;
|
|
29
29
|
toTeamAgentId: string | null;
|
|
30
30
|
visibility: string;
|
|
@@ -154,8 +154,8 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
|
|
|
154
154
|
toExternalAgentId: string | null;
|
|
155
155
|
taskId: string | null;
|
|
156
156
|
a2aTaskId: string | null;
|
|
157
|
-
role: string;
|
|
158
157
|
conversationId: string;
|
|
158
|
+
role: string;
|
|
159
159
|
fromTeamAgentId: string | null;
|
|
160
160
|
toTeamAgentId: string | null;
|
|
161
161
|
visibility: string;
|
|
@@ -207,8 +207,8 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
207
207
|
toExternalAgentId: string | null;
|
|
208
208
|
taskId: string | null;
|
|
209
209
|
a2aTaskId: string | null;
|
|
210
|
-
role: string;
|
|
211
210
|
conversationId: string;
|
|
211
|
+
role: string;
|
|
212
212
|
fromTeamAgentId: string | null;
|
|
213
213
|
toTeamAgentId: string | null;
|
|
214
214
|
visibility: string;
|