@inkeep/agents-core 0.0.0-dev-20260311074352 → 0.0.0-dev-20260311141825

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.
@@ -10,13 +10,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
13
14
  name: string;
14
- description: string | null;
15
- tenantId: string;
16
- projectId: string;
15
+ updatedAt: string;
17
16
  agentId: string;
18
- prompt: string | null;
19
- conversationHistoryConfig: ConversationHistoryConfig | null;
17
+ projectId: string;
18
+ tenantId: string;
19
+ description: string | null;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -31,23 +31,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
31
  providerOptions?: Record<string, any> | undefined;
32
32
  } | undefined;
33
33
  } | null;
34
+ prompt: string | null;
34
35
  stopWhen: {
35
36
  stepCountIs?: number | undefined;
36
37
  } | null;
37
- createdAt: string;
38
- updatedAt: string;
38
+ conversationHistoryConfig: ConversationHistoryConfig | null;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
43
  id: string;
44
+ createdAt: string;
44
45
  name: string;
45
- description: string | null;
46
- tenantId: string;
47
- projectId: string;
46
+ updatedAt: string;
48
47
  agentId: string;
49
- prompt: string | null;
50
- conversationHistoryConfig: ConversationHistoryConfig | null;
48
+ projectId: string;
49
+ tenantId: string;
50
+ description: string | null;
51
51
  models: {
52
52
  base?: {
53
53
  model?: string | undefined;
@@ -62,11 +62,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
62
  providerOptions?: Record<string, any> | undefined;
63
63
  } | undefined;
64
64
  } | null;
65
+ prompt: string | null;
65
66
  stopWhen: {
66
67
  stepCountIs?: number | undefined;
67
68
  } | null;
68
- createdAt: string;
69
- updatedAt: string;
69
+ conversationHistoryConfig: ConversationHistoryConfig | null;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -110,13 +110,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
112
  id: string;
113
+ createdAt: string;
113
114
  name: string;
114
- description: string | null;
115
- tenantId: string;
116
- projectId: string;
115
+ updatedAt: string;
117
116
  agentId: string;
118
- prompt: string | null;
119
- conversationHistoryConfig: ConversationHistoryConfig | null;
117
+ projectId: string;
118
+ tenantId: string;
119
+ description: string | null;
120
120
  models: {
121
121
  base?: {
122
122
  model?: string | undefined;
@@ -131,11 +131,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
131
  providerOptions?: Record<string, any> | undefined;
132
132
  } | undefined;
133
133
  } | null;
134
+ prompt: string | null;
134
135
  stopWhen: {
135
136
  stepCountIs?: number | undefined;
136
137
  } | null;
137
- createdAt: string;
138
- updatedAt: string;
138
+ conversationHistoryConfig: ConversationHistoryConfig | null;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -20,12 +20,12 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  toolId: string;
21
21
  }) => Promise<{
22
22
  id: string;
23
- name: string;
24
- description: string | null;
25
- tenantId: string;
26
- projectId: string;
27
23
  createdAt: string;
24
+ name: string;
28
25
  updatedAt: string;
26
+ projectId: string;
27
+ tenantId: string;
28
+ description: string | null;
29
29
  headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
@@ -78,12 +78,12 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
80
  id: string;
81
- name: string;
82
- description: string | null;
83
- tenantId: string;
84
- projectId: string;
85
81
  createdAt: string;
82
+ name: string;
86
83
  updatedAt: string;
84
+ projectId: string;
85
+ tenantId: string;
86
+ description: string | null;
87
87
  headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
@@ -135,13 +135,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  }> | null;
136
136
  }) => Promise<{
137
137
  id: string;
138
- tenantId: string;
139
- projectId: string;
140
- agentId: string;
141
138
  createdAt: string;
142
139
  updatedAt: string;
143
- toolId: string;
140
+ agentId: string;
141
+ projectId: string;
142
+ tenantId: string;
144
143
  headers: Record<string, string> | null;
144
+ toolId: string;
145
145
  toolPolicies: Record<string, {
146
146
  needsApproval?: boolean;
147
147
  }> | null;
@@ -154,13 +154,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
154
154
  toolId: string;
155
155
  }) => Promise<{
156
156
  id: string;
157
- tenantId: string;
158
- projectId: string;
159
- agentId: string;
160
157
  createdAt: string;
161
158
  updatedAt: string;
162
- toolId: string;
159
+ agentId: string;
160
+ projectId: string;
161
+ tenantId: string;
163
162
  headers: Record<string, string> | null;
163
+ toolId: string;
164
164
  toolPolicies: Record<string, {
165
165
  needsApproval?: boolean;
166
166
  }> | null;
@@ -182,13 +182,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
184
  id: string;
185
- tenantId: string;
186
- projectId: string;
187
- agentId: string;
188
185
  createdAt: string;
189
186
  updatedAt: string;
190
- toolId: string;
187
+ agentId: string;
188
+ projectId: string;
189
+ tenantId: string;
191
190
  headers: Record<string, string> | null;
191
+ toolId: string;
192
192
  toolPolicies: Record<string, {
193
193
  needsApproval?: boolean;
194
194
  }> | null;
@@ -202,12 +202,12 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
204
  id: string;
205
- name: string;
206
- description: string | null;
207
- tenantId: string;
208
- projectId: string;
209
205
  createdAt: string;
206
+ name: string;
210
207
  updatedAt: string;
208
+ projectId: string;
209
+ tenantId: string;
210
+ description: string | null;
211
211
  headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
@@ -9,12 +9,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  id: string;
10
10
  }) => Promise<{
11
11
  id: string;
12
- name: string | null;
13
- tenantId: string;
14
- projectId: string;
15
- agentId: string;
16
12
  createdAt: string;
13
+ name: string | null;
17
14
  updatedAt: string;
15
+ agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -23,12 +23,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  id: string;
26
- name: string | null;
27
- tenantId: string;
28
- projectId: string;
29
- agentId: string;
30
26
  createdAt: string;
27
+ name: string | null;
31
28
  updatedAt: string;
29
+ agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -40,12 +40,12 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
42
  id: string;
43
- name: string | null;
44
- tenantId: string;
45
- projectId: string;
46
- agentId: string;
47
43
  createdAt: string;
44
+ name: string | null;
48
45
  updatedAt: string;
46
+ agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
49
  expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -67,12 +67,12 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
69
  id: string;
70
- name: string | null;
71
- tenantId: string;
72
- projectId: string;
73
- agentId: string;
74
70
  createdAt: string;
71
+ name: string | null;
75
72
  updatedAt: string;
73
+ agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
76
76
  expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -5,14 +5,14 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- id: string;
9
- name: string;
10
- description: string | null;
11
- tenantId: string | null;
12
- projectId: string | null;
13
8
  type: AppType;
9
+ id: string;
14
10
  createdAt: string;
11
+ name: string;
15
12
  updatedAt: string;
13
+ projectId: string | null;
14
+ tenantId: string | null;
15
+ description: string | null;
16
16
  enabled: boolean;
17
17
  config: {
18
18
  type: "web_client";
@@ -48,14 +48,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
48
48
  };
49
49
  }>;
50
50
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
51
- id: string;
52
- name: string;
53
- description: string | null;
54
- tenantId: string | null;
55
- projectId: string | null;
56
51
  type: AppType;
52
+ id: string;
57
53
  createdAt: string;
54
+ name: string;
58
55
  updatedAt: string;
56
+ projectId: string | null;
57
+ tenantId: string | null;
58
+ description: string | null;
59
59
  enabled: boolean;
60
60
  config: {
61
61
  type: "web_client";
@@ -17,19 +17,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
- tenantId: string;
21
- projectId: string;
22
- agentId: string | null;
23
- title: string | null;
24
20
  createdAt: string;
25
21
  updatedAt: string;
22
+ agentId: string | null;
23
+ projectId: string;
24
+ tenantId: string;
25
+ title: string | null;
26
26
  metadata: ConversationMetadata | null;
27
- userId: string | null;
28
27
  ref: {
29
28
  type: "commit" | "tag" | "branch";
30
29
  name: string;
31
30
  hash: string;
32
31
  } | null;
32
+ userId: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -86,19 +86,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
88
  id: string;
89
- tenantId: string;
90
- projectId: string;
91
- agentId: string | null;
92
- title: string | null;
93
89
  createdAt: string;
94
90
  updatedAt: string;
91
+ agentId: string | null;
92
+ projectId: string;
93
+ tenantId: string;
94
+ title: string | null;
95
95
  metadata: ConversationMetadata | null;
96
- userId: string | null;
97
96
  ref: {
98
97
  type: "commit" | "tag" | "branch";
99
98
  name: string;
100
99
  hash: string;
101
100
  } | null;
101
+ userId: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -122,19 +122,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
124
  id: string;
125
- tenantId: string;
126
- projectId: string;
127
- agentId: string | null;
128
- title: string | null;
129
125
  createdAt: string;
130
126
  updatedAt: string;
127
+ agentId: string | null;
128
+ projectId: string;
129
+ tenantId: string;
130
+ title: string | null;
131
131
  metadata: ConversationMetadata | null;
132
- userId: string | null;
133
132
  ref: {
134
133
  type: "commit" | "tag" | "branch";
135
134
  name: string;
136
135
  hash: string;
137
136
  } | null;
137
+ userId: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -154,19 +154,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
156
  id: string;
157
- tenantId: string;
158
- projectId: string;
159
- agentId: string | null;
160
- title: string | null;
161
157
  createdAt: string;
162
158
  updatedAt: string;
159
+ agentId: string | null;
160
+ projectId: string;
161
+ tenantId: string;
162
+ title: string | null;
163
163
  metadata: ConversationMetadata | null;
164
- userId: string | null;
165
164
  ref: {
166
165
  type: "commit" | "tag" | "branch";
167
166
  name: string;
168
167
  hash: string;
169
168
  } | null;
169
+ userId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
- tenantId: string;
15
- projectId: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
20
  role: string;
21
+ conversationId: string;
21
22
  fromSubAgentId: string | null;
22
23
  toSubAgentId: string | null;
23
24
  fromExternalAgentId: string | null;
24
25
  toExternalAgentId: string | null;
25
- taskId: string | null;
26
- a2aTaskId: string | null;
27
- conversationId: string;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  parentMessageId: string | null;
32
+ a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -142,25 +142,25 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
144
  id: string;
145
- tenantId: string;
146
- projectId: string;
147
145
  createdAt: string;
148
146
  updatedAt: string;
147
+ projectId: string;
148
+ tenantId: string;
149
149
  metadata: MessageMetadata | null;
150
150
  content: MessageContent;
151
151
  role: string;
152
+ conversationId: string;
152
153
  fromSubAgentId: string | null;
153
154
  toSubAgentId: string | null;
154
155
  fromExternalAgentId: string | null;
155
156
  toExternalAgentId: string | null;
156
- taskId: string | null;
157
- a2aTaskId: string | null;
158
- conversationId: string;
159
157
  fromTeamAgentId: string | null;
160
158
  toTeamAgentId: string | null;
161
159
  visibility: string;
162
160
  messageType: string;
161
+ taskId: string | null;
163
162
  parentMessageId: string | null;
163
+ a2aTaskId: string | null;
164
164
  a2aSessionId: string | null;
165
165
  }>;
166
166
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -195,25 +195,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  id: string;
198
- tenantId: string;
199
- projectId: string;
200
198
  createdAt: string;
201
199
  updatedAt: string;
200
+ projectId: string;
201
+ tenantId: string;
202
202
  metadata: MessageMetadata | null;
203
203
  content: MessageContent;
204
204
  role: string;
205
+ conversationId: string;
205
206
  fromSubAgentId: string | null;
206
207
  toSubAgentId: string | null;
207
208
  fromExternalAgentId: string | null;
208
209
  toExternalAgentId: string | null;
209
- taskId: string | null;
210
- a2aTaskId: string | null;
211
- conversationId: string;
212
210
  fromTeamAgentId: string | null;
213
211
  toTeamAgentId: string | null;
214
212
  visibility: string;
215
213
  messageType: string;
214
+ taskId: string | null;
216
215
  parentMessageId: string | null;
216
+ a2aTaskId: string | null;
217
217
  a2aSessionId: string | null;
218
218
  }>;
219
219
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,18 +7,18 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  id: string;
10
- tenantId: string;
11
- projectId: string;
12
- agentId: string;
13
10
  createdAt: string;
14
11
  updatedAt: string;
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
15
15
  metadata: TaskMetadataConfig | null;
16
- status: string;
17
16
  ref: {
18
17
  type: "commit" | "tag" | "branch";
19
18
  name: string;
20
19
  hash: string;
21
20
  } | null;
21
+ status: string;
22
22
  subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
@@ -4378,7 +4378,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core573.PgTableWithColu
4378
4378
  tableName: "work_app_github_installations";
4379
4379
  dataType: "string";
4380
4380
  columnType: "PgVarchar";
4381
- data: "User" | "Organization";
4381
+ data: "Organization" | "User";
4382
4382
  driverParam: string;
4383
4383
  notNull: true;
4384
4384
  hasDefault: false;
@@ -4391,7 +4391,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core573.PgTableWithColu
4391
4391
  generated: undefined;
4392
4392
  }, {}, {
4393
4393
  length: 20;
4394
- $type: "User" | "Organization";
4394
+ $type: "Organization" | "User";
4395
4395
  }>;
4396
4396
  status: drizzle_orm_pg_core573.PgColumn<{
4397
4397
  name: "status";
@@ -1,10 +1,10 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_zod0 from "drizzle-zod";
2
+ import * as drizzle_zod15 from "drizzle-zod";
3
3
  import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
4
4
 
5
5
  //#region src/validation/drizzle-schema-helpers.d.ts
6
- declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"select", T["_"]["columns"], drizzle_zod0.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
- declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"insert", T["_"]["columns"], drizzle_zod0.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
6
+ declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
+ declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
8
8
  declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
9
9
  declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
10
10
  /**