@inkeep/agents-core 0.0.0-dev-20260225150948 → 0.0.0-dev-20260225180851

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.
@@ -9,11 +9,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
13
+ projectId: string;
12
14
  id: string;
13
15
  createdAt: string;
14
16
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
17
  agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
@@ -44,11 +44,11 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ tenantId: string;
48
+ projectId: string;
47
49
  id: string;
48
50
  createdAt: string;
49
51
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
52
  agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
@@ -57,11 +57,11 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ tenantId: string;
61
+ projectId: string;
60
62
  id: string;
61
63
  createdAt: string;
62
64
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
65
  agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
@@ -126,11 +126,11 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
+ tenantId: string;
130
+ projectId: string;
129
131
  id: string;
130
132
  createdAt: string;
131
133
  updatedAt: string;
132
- tenantId: string;
133
- projectId: string;
134
134
  agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
@@ -145,11 +145,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
+ tenantId: string;
149
+ projectId: string;
148
150
  id: string;
149
151
  createdAt: string;
150
152
  updatedAt: string;
151
- tenantId: string;
152
- projectId: string;
153
153
  agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
@@ -159,11 +159,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
+ tenantId: string;
163
+ projectId: string;
162
164
  id: string;
163
165
  createdAt: string;
164
166
  updatedAt: string;
165
- tenantId: string;
166
- projectId: string;
167
167
  agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
@@ -204,13 +204,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
+ tenantId: string;
208
+ projectId: string;
209
+ subAgentId: string;
207
210
  id: string;
208
211
  createdAt: string;
209
212
  updatedAt: string;
210
- tenantId: string;
211
- projectId: string;
212
213
  agentId: string;
213
- subAgentId: string;
214
214
  headers: Record<string, string> | null;
215
215
  toolId: string;
216
216
  toolPolicies: Record<string, {
@@ -248,13 +248,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
+ tenantId: string;
252
+ projectId: string;
253
+ subAgentId: string;
251
254
  id: string;
252
255
  createdAt: string;
253
256
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
257
  agentId: string;
257
- subAgentId: string;
258
258
  headers: Record<string, string> | null;
259
259
  toolId: string;
260
260
  toolPolicies: Record<string, {
@@ -9,13 +9,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
13
+ projectId: string;
14
+ subAgentId: string;
12
15
  id: string;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
18
  agentId: string;
18
- subAgentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
@@ -44,26 +44,26 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ tenantId: string;
48
+ projectId: string;
49
+ subAgentId: string;
47
50
  id: string;
48
51
  createdAt: string;
49
52
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
53
  agentId: string;
53
- subAgentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ tenantId: string;
61
+ projectId: string;
62
+ subAgentId: string;
60
63
  id: string;
61
64
  createdAt: string;
62
65
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
66
  agentId: string;
66
- subAgentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
@@ -210,13 +210,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
210
210
  headers?: Record<string, string> | null;
211
211
  };
212
212
  }) => Promise<{
213
+ tenantId: string;
214
+ projectId: string;
215
+ subAgentId: string;
213
216
  id: string;
214
217
  createdAt: string;
215
218
  updatedAt: string;
216
- tenantId: string;
217
- projectId: string;
218
219
  agentId: string;
219
- subAgentId: string;
220
220
  headers: Record<string, string> | null;
221
221
  targetAgentId: string;
222
222
  }>;
@@ -227,13 +227,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
227
227
  scopes: SubAgentScopeConfig;
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
+ tenantId: string;
231
+ projectId: string;
232
+ subAgentId: string;
230
233
  id: string;
231
234
  createdAt: string;
232
235
  updatedAt: string;
233
- tenantId: string;
234
- projectId: string;
235
236
  agentId: string;
236
- subAgentId: string;
237
237
  headers: Record<string, string> | null;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
@@ -248,13 +248,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
248
248
  headers?: Record<string, string> | null;
249
249
  };
250
250
  }) => Promise<{
251
+ tenantId: string;
252
+ projectId: string;
253
+ subAgentId: string;
251
254
  id: string;
252
255
  createdAt: string;
253
256
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
257
  agentId: string;
257
- subAgentId: string;
258
258
  headers: Record<string, string> | null;
259
259
  targetAgentId: string;
260
260
  }>;
@@ -9,16 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- id: string;
13
- name: string;
14
- createdAt: string;
15
- updatedAt: string;
16
12
  description: string | null;
13
+ name: string;
17
14
  tenantId: string;
18
15
  projectId: string;
19
- agentId: string;
20
- prompt: string | null;
21
- conversationHistoryConfig: ConversationHistoryConfig | null;
16
+ id: string;
17
+ createdAt: string;
18
+ updatedAt: string;
22
19
  models: {
23
20
  base?: {
24
21
  model?: string | undefined;
@@ -36,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
36
33
  stopWhen: {
37
34
  stepCountIs?: number | undefined;
38
35
  } | null;
36
+ prompt: string | null;
37
+ conversationHistoryConfig: ConversationHistoryConfig | null;
38
+ agentId: string;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- id: string;
44
- name: string;
45
- createdAt: string;
46
- updatedAt: string;
47
43
  description: string | null;
44
+ name: string;
48
45
  tenantId: string;
49
46
  projectId: string;
50
- agentId: string;
51
- prompt: string | null;
52
- conversationHistoryConfig: ConversationHistoryConfig | null;
47
+ id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
53
50
  models: {
54
51
  base?: {
55
52
  model?: string | undefined;
@@ -67,6 +64,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
67
64
  stopWhen: {
68
65
  stepCountIs?: number | undefined;
69
66
  } | null;
67
+ prompt: string | null;
68
+ conversationHistoryConfig: ConversationHistoryConfig | null;
69
+ agentId: string;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -109,16 +109,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- id: string;
113
- name: string;
114
- createdAt: string;
115
- updatedAt: string;
116
112
  description: string | null;
113
+ name: string;
117
114
  tenantId: string;
118
115
  projectId: string;
119
- agentId: string;
120
- prompt: string | null;
121
- conversationHistoryConfig: ConversationHistoryConfig | null;
116
+ id: string;
117
+ createdAt: string;
118
+ updatedAt: string;
122
119
  models: {
123
120
  base?: {
124
121
  model?: string | undefined;
@@ -136,6 +133,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
136
133
  stopWhen: {
137
134
  stepCountIs?: number | undefined;
138
135
  } | null;
136
+ prompt: string | null;
137
+ conversationHistoryConfig: ConversationHistoryConfig | null;
138
+ agentId: string;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -19,13 +19,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- id: string;
23
- name: string;
24
- createdAt: string;
25
- updatedAt: string;
26
22
  description: string | null;
23
+ name: string;
27
24
  tenantId: string;
28
25
  projectId: string;
26
+ id: string;
27
+ createdAt: string;
28
+ updatedAt: string;
29
29
  headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
@@ -77,13 +77,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- id: string;
81
- name: string;
82
- createdAt: string;
83
- updatedAt: string;
84
80
  description: string | null;
81
+ name: string;
85
82
  tenantId: string;
86
83
  projectId: string;
84
+ id: string;
85
+ createdAt: string;
86
+ updatedAt: string;
87
87
  headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
@@ -134,13 +134,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
+ tenantId: string;
138
+ projectId: string;
139
+ subAgentId: string;
137
140
  id: string;
138
141
  createdAt: string;
139
142
  updatedAt: string;
140
- tenantId: string;
141
- projectId: string;
142
143
  agentId: string;
143
- subAgentId: string;
144
144
  headers: Record<string, string> | null;
145
145
  toolId: string;
146
146
  toolPolicies: Record<string, {
@@ -153,13 +153,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
+ tenantId: string;
157
+ projectId: string;
158
+ subAgentId: string;
156
159
  id: string;
157
160
  createdAt: string;
158
161
  updatedAt: string;
159
- tenantId: string;
160
- projectId: string;
161
162
  agentId: string;
162
- subAgentId: string;
163
163
  headers: Record<string, string> | null;
164
164
  toolId: string;
165
165
  toolPolicies: Record<string, {
@@ -181,13 +181,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
+ tenantId: string;
185
+ projectId: string;
186
+ subAgentId: string;
184
187
  id: string;
185
188
  createdAt: string;
186
189
  updatedAt: string;
187
- tenantId: string;
188
- projectId: string;
189
190
  agentId: string;
190
- subAgentId: string;
191
191
  headers: Record<string, string> | null;
192
192
  toolId: string;
193
193
  toolPolicies: Record<string, {
@@ -201,13 +201,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- id: string;
205
- name: string;
206
- createdAt: string;
207
- updatedAt: string;
208
204
  description: string | null;
205
+ name: string;
209
206
  tenantId: string;
210
207
  projectId: string;
208
+ id: string;
209
+ createdAt: string;
210
+ updatedAt: string;
211
211
  headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
@@ -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" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- id: string;
12
11
  name: string | null;
13
- createdAt: string;
14
- updatedAt: string;
15
- expiresAt: string | null;
16
12
  tenantId: string;
17
13
  projectId: string;
14
+ id: string;
15
+ createdAt: string;
16
+ updatedAt: string;
18
17
  agentId: string;
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
- id: string;
26
25
  name: string | null;
27
- createdAt: string;
28
- updatedAt: string;
29
- expiresAt: string | null;
30
26
  tenantId: string;
31
27
  projectId: string;
28
+ id: string;
29
+ createdAt: string;
30
+ updatedAt: string;
32
31
  agentId: string;
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;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- id: string;
43
42
  name: string | null;
44
- createdAt: string;
45
- updatedAt: string;
46
- expiresAt: string | null;
47
43
  tenantId: string;
48
44
  projectId: string;
45
+ id: string;
46
+ createdAt: string;
47
+ updatedAt: string;
49
48
  agentId: string;
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;
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- id: string;
70
69
  name: string | null;
71
- createdAt: string;
72
- updatedAt: string;
73
- expiresAt: string | null;
74
70
  tenantId: string;
75
71
  projectId: string;
72
+ id: string;
73
+ createdAt: string;
74
+ updatedAt: string;
76
75
  agentId: string;
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;
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
+ title: string | null;
20
+ tenantId: string;
21
+ projectId: string;
19
22
  id: string;
20
23
  createdAt: string;
21
24
  updatedAt: string;
25
+ metadata: ConversationMetadata | null;
26
+ agentId: string | null;
27
+ userId: string | null;
22
28
  ref: {
23
29
  type: "commit" | "tag" | "branch";
24
30
  name: string;
25
31
  hash: string;
26
32
  } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
- title: string | null;
30
- tenantId: string;
31
- projectId: string;
32
- agentId: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
+ title: string | null;
89
+ tenantId: string;
90
+ projectId: string;
88
91
  id: string;
89
92
  createdAt: string;
90
93
  updatedAt: string;
94
+ metadata: ConversationMetadata | null;
95
+ agentId: string | null;
96
+ userId: string | null;
91
97
  ref: {
92
98
  type: "commit" | "tag" | "branch";
93
99
  name: string;
94
100
  hash: string;
95
101
  } | null;
96
- userId: string | null;
97
- metadata: ConversationMetadata | null;
98
- title: string | null;
99
- tenantId: string;
100
- projectId: string;
101
- agentId: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
+ title: string | null;
125
+ tenantId: string;
126
+ projectId: string;
124
127
  id: string;
125
128
  createdAt: string;
126
129
  updatedAt: string;
130
+ metadata: ConversationMetadata | null;
131
+ agentId: string | null;
132
+ userId: string | null;
127
133
  ref: {
128
134
  type: "commit" | "tag" | "branch";
129
135
  name: string;
130
136
  hash: string;
131
137
  } | null;
132
- userId: string | null;
133
- metadata: ConversationMetadata | null;
134
- title: string | null;
135
- tenantId: string;
136
- projectId: string;
137
- agentId: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
+ title: string | null;
157
+ tenantId: string;
158
+ projectId: string;
156
159
  id: string;
157
160
  createdAt: string;
158
161
  updatedAt: string;
162
+ metadata: ConversationMetadata | null;
163
+ agentId: string | null;
164
+ userId: string | null;
159
165
  ref: {
160
166
  type: "commit" | "tag" | "branch";
161
167
  name: string;
162
168
  hash: string;
163
169
  } | null;
164
- userId: string | null;
165
- metadata: ConversationMetadata | null;
166
- title: string | null;
167
- tenantId: string;
168
- projectId: string;
169
- agentId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;