@inkeep/agents-core 0.0.0-dev-20260105203532 → 0.0.0-dev-20260106150708

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.
@@ -1,9 +1,9 @@
1
1
  import { z } from "@hono/zod-openapi";
2
2
  import * as drizzle_orm_pg_core80 from "drizzle-orm/pg-core";
3
- import * as drizzle_zod0 from "drizzle-zod";
3
+ import * as drizzle_zod3 from "drizzle-zod";
4
4
 
5
5
  //#region src/auth/auth-validation-schemas.d.ts
6
- declare const UserSelectSchema: drizzle_zod0.BuildSchema<"select", {
6
+ declare const UserSelectSchema: drizzle_zod3.BuildSchema<"select", {
7
7
  id: drizzle_orm_pg_core80.PgColumn<{
8
8
  name: "id";
9
9
  tableName: "user";
@@ -124,7 +124,7 @@ declare const UserSelectSchema: drizzle_zod0.BuildSchema<"select", {
124
124
  generated: undefined;
125
125
  }, {}, {}>;
126
126
  }, undefined, undefined>;
127
- declare const UserInsertSchema: drizzle_zod0.BuildSchema<"insert", {
127
+ declare const UserInsertSchema: drizzle_zod3.BuildSchema<"insert", {
128
128
  id: drizzle_orm_pg_core80.PgColumn<{
129
129
  name: "id";
130
130
  tableName: "user";
@@ -245,7 +245,7 @@ declare const UserInsertSchema: drizzle_zod0.BuildSchema<"insert", {
245
245
  generated: undefined;
246
246
  }, {}, {}>;
247
247
  }, undefined, undefined>;
248
- declare const SessionSelectSchema: drizzle_zod0.BuildSchema<"select", {
248
+ declare const SessionSelectSchema: drizzle_zod3.BuildSchema<"select", {
249
249
  id: drizzle_orm_pg_core80.PgColumn<{
250
250
  name: "id";
251
251
  tableName: "session";
@@ -400,7 +400,7 @@ declare const SessionSelectSchema: drizzle_zod0.BuildSchema<"select", {
400
400
  generated: undefined;
401
401
  }, {}, {}>;
402
402
  }, undefined, undefined>;
403
- declare const SessionInsertSchema: drizzle_zod0.BuildSchema<"insert", {
403
+ declare const SessionInsertSchema: drizzle_zod3.BuildSchema<"insert", {
404
404
  id: drizzle_orm_pg_core80.PgColumn<{
405
405
  name: "id";
406
406
  tableName: "session";
@@ -555,7 +555,7 @@ declare const SessionInsertSchema: drizzle_zod0.BuildSchema<"insert", {
555
555
  generated: undefined;
556
556
  }, {}, {}>;
557
557
  }, undefined, undefined>;
558
- declare const AccountSelectSchema: drizzle_zod0.BuildSchema<"select", {
558
+ declare const AccountSelectSchema: drizzle_zod3.BuildSchema<"select", {
559
559
  id: drizzle_orm_pg_core80.PgColumn<{
560
560
  name: "id";
561
561
  tableName: "account";
@@ -778,7 +778,7 @@ declare const AccountSelectSchema: drizzle_zod0.BuildSchema<"select", {
778
778
  generated: undefined;
779
779
  }, {}, {}>;
780
780
  }, undefined, undefined>;
781
- declare const AccountInsertSchema: drizzle_zod0.BuildSchema<"insert", {
781
+ declare const AccountInsertSchema: drizzle_zod3.BuildSchema<"insert", {
782
782
  id: drizzle_orm_pg_core80.PgColumn<{
783
783
  name: "id";
784
784
  tableName: "account";
@@ -1001,7 +1001,7 @@ declare const AccountInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1001
1001
  generated: undefined;
1002
1002
  }, {}, {}>;
1003
1003
  }, undefined, undefined>;
1004
- declare const OrganizationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1004
+ declare const OrganizationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1005
1005
  id: drizzle_orm_pg_core80.PgColumn<{
1006
1006
  name: "id";
1007
1007
  tableName: "organization";
@@ -1105,7 +1105,7 @@ declare const OrganizationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1105
1105
  generated: undefined;
1106
1106
  }, {}, {}>;
1107
1107
  }, undefined, undefined>;
1108
- declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1108
+ declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1109
1109
  id: drizzle_orm_pg_core80.PgColumn<{
1110
1110
  name: "id";
1111
1111
  tableName: "organization";
@@ -1209,7 +1209,7 @@ declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1209
1209
  generated: undefined;
1210
1210
  }, {}, {}>;
1211
1211
  }, undefined, undefined>;
1212
- declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1212
+ declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1213
1213
  id: drizzle_orm_pg_core80.PgColumn<{
1214
1214
  name: "id";
1215
1215
  tableName: "member";
@@ -1296,7 +1296,7 @@ declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1296
1296
  generated: undefined;
1297
1297
  }, {}, {}>;
1298
1298
  }, undefined, undefined>;
1299
- declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1299
+ declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1300
1300
  id: drizzle_orm_pg_core80.PgColumn<{
1301
1301
  name: "id";
1302
1302
  tableName: "member";
@@ -1383,7 +1383,7 @@ declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1383
1383
  generated: undefined;
1384
1384
  }, {}, {}>;
1385
1385
  }, undefined, undefined>;
1386
- declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1386
+ declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1387
1387
  id: drizzle_orm_pg_core80.PgColumn<{
1388
1388
  name: "id";
1389
1389
  tableName: "invitation";
@@ -1521,7 +1521,7 @@ declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1521
1521
  generated: undefined;
1522
1522
  }, {}, {}>;
1523
1523
  }, undefined, undefined>;
1524
- declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1524
+ declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1525
1525
  id: drizzle_orm_pg_core80.PgColumn<{
1526
1526
  name: "id";
1527
1527
  tableName: "invitation";
@@ -1659,7 +1659,7 @@ declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1659
1659
  generated: undefined;
1660
1660
  }, {}, {}>;
1661
1661
  }, undefined, undefined>;
1662
- declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1662
+ declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1663
1663
  id: drizzle_orm_pg_core80.PgColumn<{
1664
1664
  name: "id";
1665
1665
  tableName: "device_code";
@@ -1831,7 +1831,7 @@ declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1831
1831
  generated: undefined;
1832
1832
  }, {}, {}>;
1833
1833
  }, undefined, undefined>;
1834
- declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1834
+ declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1835
1835
  id: drizzle_orm_pg_core80.PgColumn<{
1836
1836
  name: "id";
1837
1837
  tableName: "device_code";
@@ -2003,7 +2003,7 @@ declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2003
2003
  generated: undefined;
2004
2004
  }, {}, {}>;
2005
2005
  }, undefined, undefined>;
2006
- declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2006
+ declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2007
2007
  id: drizzle_orm_pg_core80.PgColumn<{
2008
2008
  name: "id";
2009
2009
  tableName: "verification";
@@ -2107,7 +2107,7 @@ declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2107
2107
  generated: undefined;
2108
2108
  }, {}, {}>;
2109
2109
  }, undefined, undefined>;
2110
- declare const VerificationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2110
+ declare const VerificationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2111
2111
  id: drizzle_orm_pg_core80.PgColumn<{
2112
2112
  name: "id";
2113
2113
  tableName: "verification";
@@ -8,12 +8,11 @@ import { PgTable } from "drizzle-orm/pg-core";
8
8
  declare const getAgentById: (db: DatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  }) => Promise<{
11
- id: string;
11
+ description: string | null;
12
12
  name: string;
13
+ id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- description: string | null;
16
- prompt: string | null;
17
16
  models: {
18
17
  base?: {
19
18
  model?: string | undefined;
@@ -31,10 +30,10 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
31
30
  stopWhen: {
32
31
  transferCountIs?: number | undefined;
33
32
  } | null;
34
- projectId: string;
35
33
  tenantId: string;
36
34
  defaultSubAgentId: string | null;
37
35
  contextConfigId: string | null;
36
+ prompt: string | null;
38
37
  statusUpdates: {
39
38
  enabled?: boolean | undefined;
40
39
  numEvents?: number | undefined;
@@ -50,16 +49,16 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
50
49
  } | undefined;
51
50
  }[] | undefined;
52
51
  } | null;
52
+ projectId: string;
53
53
  } | null>;
54
54
  declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
56
56
  }) => Promise<{
57
- id: string;
57
+ description: string | null;
58
58
  name: string;
59
+ id: string;
59
60
  createdAt: string;
60
61
  updatedAt: string;
61
- description: string | null;
62
- prompt: string | null;
63
62
  models: {
64
63
  base?: {
65
64
  model?: string | undefined;
@@ -77,10 +76,10 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
77
76
  stopWhen: {
78
77
  transferCountIs?: number | undefined;
79
78
  } | null;
80
- projectId: string;
81
79
  tenantId: string;
82
80
  defaultSubAgentId: string | null;
83
81
  contextConfigId: string | null;
82
+ prompt: string | null;
84
83
  statusUpdates: {
85
84
  enabled?: boolean | undefined;
86
85
  numEvents?: number | undefined;
@@ -96,14 +95,13 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
96
95
  } | undefined;
97
96
  }[] | undefined;
98
97
  } | null;
98
+ projectId: string;
99
99
  defaultSubAgent: {
100
- id: string;
100
+ description: string | null;
101
101
  name: string;
102
+ id: string;
102
103
  createdAt: string;
103
104
  updatedAt: string;
104
- description: string | null;
105
- prompt: string | null;
106
- conversationHistoryConfig: ConversationHistoryConfig | null;
107
105
  models: {
108
106
  base?: {
109
107
  model?: string | undefined;
@@ -121,20 +119,21 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
121
119
  stopWhen: {
122
120
  stepCountIs?: number | undefined;
123
121
  } | null;
124
- agentId: string;
125
- projectId: string;
126
122
  tenantId: string;
123
+ prompt: string | null;
124
+ projectId: string;
125
+ agentId: string;
126
+ conversationHistoryConfig: ConversationHistoryConfig | null;
127
127
  } | null;
128
128
  } | null>;
129
129
  declare const listAgents: (db: DatabaseClient) => (params: {
130
130
  scopes: ProjectScopeConfig;
131
131
  }) => Promise<{
132
- id: string;
132
+ description: string | null;
133
133
  name: string;
134
+ id: string;
134
135
  createdAt: string;
135
136
  updatedAt: string;
136
- description: string | null;
137
- prompt: string | null;
138
137
  models: {
139
138
  base?: {
140
139
  model?: string | undefined;
@@ -152,10 +151,10 @@ declare const listAgents: (db: DatabaseClient) => (params: {
152
151
  stopWhen: {
153
152
  transferCountIs?: number | undefined;
154
153
  } | null;
155
- projectId: string;
156
154
  tenantId: string;
157
155
  defaultSubAgentId: string | null;
158
156
  contextConfigId: string | null;
157
+ prompt: string | null;
159
158
  statusUpdates: {
160
159
  enabled?: boolean | undefined;
161
160
  numEvents?: number | undefined;
@@ -171,6 +170,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
171
170
  } | undefined;
172
171
  }[] | undefined;
173
172
  } | null;
173
+ projectId: string;
174
174
  }[]>;
175
175
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
176
176
  scopes: ProjectScopeConfig;
@@ -228,12 +228,11 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
228
228
  };
229
229
  }>;
230
230
  declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
231
- id: string;
231
+ description: string | null;
232
232
  name: string;
233
+ id: string;
233
234
  createdAt: string;
234
235
  updatedAt: string;
235
- description: string | null;
236
- prompt: string | null;
237
236
  models: {
238
237
  base?: {
239
238
  model?: string | undefined;
@@ -251,10 +250,10 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
251
250
  stopWhen: {
252
251
  transferCountIs?: number | undefined;
253
252
  } | null;
254
- projectId: string;
255
253
  tenantId: string;
256
254
  defaultSubAgentId: string | null;
257
255
  contextConfigId: string | null;
256
+ prompt: string | null;
258
257
  statusUpdates: {
259
258
  enabled?: boolean | undefined;
260
259
  numEvents?: number | undefined;
@@ -270,6 +269,7 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
270
269
  } | undefined;
271
270
  }[] | undefined;
272
271
  } | null;
272
+ projectId: string;
273
273
  }>;
274
274
  declare const updateAgent: (db: DatabaseClient) => (params: {
275
275
  scopes: AgentScopeConfig;
@@ -7,28 +7,28 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- id: string;
11
10
  name: string | null;
11
+ id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  expiresAt: string | null;
15
- agentId: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
21
21
  lastUsedAt: string | null;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
24
- id: string;
25
24
  name: string | null;
25
+ id: string;
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  expiresAt: string | null;
29
- agentId: string;
30
- projectId: string;
31
29
  tenantId: string;
30
+ projectId: string;
31
+ agentId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: string;
@@ -38,14 +38,14 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- id: string;
42
41
  name: string | null;
42
+ id: string;
43
43
  createdAt: string;
44
44
  updatedAt: string;
45
45
  expiresAt: string | null;
46
- agentId: string;
47
- projectId: string;
48
46
  tenantId: string;
47
+ projectId: string;
48
+ agentId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: string;
@@ -65,14 +65,14 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- id: string;
69
68
  name: string | null;
69
+ id: string;
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
72
  expiresAt: string | null;
73
- agentId: string;
74
- projectId: string;
75
73
  tenantId: string;
74
+ projectId: string;
75
+ agentId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -7,13 +7,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- id: string;
10
+ description: string | null;
11
11
  name: string;
12
+ id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- description: string | null;
15
- projectId: string;
16
15
  tenantId: string;
16
+ projectId: string;
17
17
  props: Record<string, unknown> | null;
18
18
  } | undefined>;
19
19
  declare const listArtifactComponents: (db: DatabaseClient) => (params: {
@@ -41,13 +41,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
41
41
  };
42
42
  }>;
43
43
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
44
- id: string;
44
+ description: string | null;
45
45
  name: string;
46
+ id: string;
46
47
  createdAt: string;
47
48
  updatedAt: string;
48
- description: string | null;
49
- projectId: string;
50
49
  tenantId: string;
50
+ projectId: string;
51
51
  props: Record<string, unknown> | null;
52
52
  }>;
53
53
  declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
@@ -84,12 +84,12 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
84
84
  scopes: SubAgentScopeConfig;
85
85
  artifactComponentId: string;
86
86
  }) => Promise<{
87
+ subAgentId: string;
87
88
  id: string;
88
89
  createdAt: string;
89
- subAgentId: string;
90
- agentId: string;
91
- projectId: string;
92
90
  tenantId: string;
91
+ projectId: string;
92
+ agentId: string;
93
93
  artifactComponentId: string;
94
94
  }>;
95
95
  declare const removeArtifactComponentFromAgent: (db: DatabaseClient) => (params: {
@@ -127,12 +127,12 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
127
127
  scopes: SubAgentScopeConfig;
128
128
  artifactComponentId: string;
129
129
  }) => Promise<{
130
+ subAgentId: string;
130
131
  id: string;
131
132
  createdAt: string;
132
- subAgentId: string;
133
- agentId: string;
134
- projectId: string;
135
133
  tenantId: string;
134
+ projectId: string;
135
+ agentId: string;
136
136
  artifactComponentId: string;
137
137
  } | null>;
138
138
  /**
@@ -11,11 +11,11 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- agentId: string;
15
- projectId: string;
16
14
  tenantId: string;
15
+ projectId: string;
17
16
  headersSchema: unknown;
18
17
  contextVariables: Record<string, ContextFetchDefinition> | null;
18
+ agentId: string;
19
19
  } | undefined>;
20
20
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
21
21
  scopes: AgentScopeConfig;
@@ -23,11 +23,11 @@ declare const listContextConfigs: (db: DatabaseClient) => (params: {
23
23
  id: string;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
- agentId: string;
27
- projectId: string;
28
26
  tenantId: string;
27
+ projectId: string;
29
28
  headersSchema: unknown;
30
29
  contextVariables: Record<string, ContextFetchDefinition> | null;
30
+ agentId: string;
31
31
  }[]>;
32
32
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
33
33
  scopes: AgentScopeConfig;
@@ -45,11 +45,11 @@ declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfi
45
45
  id: string;
46
46
  createdAt: string;
47
47
  updatedAt: string;
48
- agentId: string;
49
- projectId: string;
50
48
  tenantId: string;
49
+ projectId: string;
51
50
  headersSchema: unknown;
52
51
  contextVariables: Record<string, ContextFetchDefinition> | null;
52
+ agentId: string;
53
53
  }>;
54
54
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
@@ -85,11 +85,11 @@ declare const upsertContextConfig: (db: DatabaseClient) => (params: {
85
85
  id: string;
86
86
  createdAt: string;
87
87
  updatedAt: string;
88
- agentId: string;
89
- projectId: string;
90
88
  tenantId: string;
89
+ projectId: string;
91
90
  headersSchema: unknown;
92
91
  contextVariables: Record<string, ContextFetchDefinition> | null;
92
+ agentId: string;
93
93
  }>;
94
94
  //#endregion
95
95
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -14,14 +14,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
14
14
  total: number;
15
15
  }>;
16
16
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
17
+ title: string | null;
17
18
  id: string;
18
19
  createdAt: string;
19
20
  updatedAt: string;
20
21
  userId: string | null;
21
22
  metadata: ConversationMetadata | null;
22
- title: string | null;
23
- projectId: string;
24
23
  tenantId: string;
24
+ projectId: string;
25
25
  activeSubAgentId: string;
26
26
  lastContextResolution: string | null;
27
27
  }>;
@@ -65,14 +65,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
65
65
  scopes: ProjectScopeConfig;
66
66
  conversationId: string;
67
67
  }) => Promise<{
68
+ title: string | null;
68
69
  id: string;
69
70
  createdAt: string;
70
71
  updatedAt: string;
71
72
  userId: string | null;
72
73
  metadata: ConversationMetadata | null;
73
- title: string | null;
74
- projectId: string;
75
74
  tenantId: string;
75
+ projectId: string;
76
76
  activeSubAgentId: string;
77
77
  lastContextResolution: string | null;
78
78
  } | undefined>;
@@ -89,14 +89,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
89
89
  metadata?: ConversationMetadata | null | undefined;
90
90
  contextConfigId?: string | undefined;
91
91
  } | {
92
+ title: string | null;
92
93
  id: string;
93
94
  createdAt: string;
94
95
  updatedAt: string;
95
96
  userId: string | null;
96
97
  metadata: ConversationMetadata | null;
97
- title: string | null;
98
- projectId: string;
99
98
  tenantId: string;
99
+ projectId: string;
100
100
  activeSubAgentId: string;
101
101
  lastContextResolution: string | null;
102
102
  }>;
@@ -115,14 +115,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
115
115
  scopes: ProjectScopeConfig;
116
116
  conversationId: string;
117
117
  }) => Promise<{
118
+ title: string | null;
118
119
  id: string;
119
120
  createdAt: string;
120
121
  updatedAt: string;
121
122
  userId: string | null;
122
123
  metadata: ConversationMetadata | null;
123
- title: string | null;
124
- projectId: string;
125
124
  tenantId: string;
125
+ projectId: string;
126
126
  activeSubAgentId: string;
127
127
  lastContextResolution: string | null;
128
128
  } | undefined>;
@@ -64,12 +64,12 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
64
64
  scopes: SubAgentScopeConfig;
65
65
  dataComponentId: string;
66
66
  }) => Promise<{
67
+ subAgentId: string;
67
68
  id: string;
68
69
  createdAt: string;
69
- subAgentId: string;
70
- agentId: string;
71
- projectId: string;
72
70
  tenantId: string;
71
+ projectId: string;
72
+ agentId: string;
73
73
  dataComponentId: string;
74
74
  }>;
75
75
  /**
@@ -106,12 +106,12 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
106
106
  scopes: SubAgentScopeConfig;
107
107
  dataComponentId: string;
108
108
  }) => Promise<{
109
+ subAgentId: string;
109
110
  id: string;
110
111
  createdAt: string;
111
- subAgentId: string;
112
- agentId: string;
113
- projectId: string;
114
112
  tenantId: string;
113
+ projectId: string;
114
+ agentId: string;
115
115
  dataComponentId: string;
116
116
  } | null>;
117
117
  /**
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- id: string;
56
+ description: string | null;
57
57
  name: string;
58
+ id: string;
58
59
  createdAt: string;
59
60
  updatedAt: string;
60
- description: string | null;
61
- agentId: string;
62
- projectId: string;
63
61
  tenantId: string;
62
+ projectId: string;
63
+ agentId: string;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- id: string;
98
+ description: string | null;
99
99
  name: string;
100
+ id: string;
100
101
  createdAt: string;
101
102
  updatedAt: string;
102
- description: string | null;
103
- agentId: string;
104
- projectId: string;
105
103
  tenantId: string;
104
+ projectId: string;
105
+ agentId: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {