@inkeep/agents-core 0.0.0-dev-20260310195924 → 0.0.0-dev-20260310212230

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,14 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ name: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- name: string;
16
- description: string | null;
17
16
  agentId: string;
18
17
  projectId: string;
19
18
  tenantId: string;
19
+ description: string | null;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -40,14 +40,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
+ name: string;
43
44
  id: string;
44
45
  createdAt: string;
45
46
  updatedAt: string;
46
- name: string;
47
- description: string | null;
48
47
  agentId: string;
49
48
  projectId: string;
50
49
  tenantId: string;
50
+ description: string | null;
51
51
  models: {
52
52
  base?: {
53
53
  model?: string | undefined;
@@ -109,14 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
+ name: string;
112
113
  id: string;
113
114
  createdAt: string;
114
115
  updatedAt: string;
115
- name: string;
116
- description: string | null;
117
116
  agentId: string;
118
117
  projectId: string;
119
118
  tenantId: string;
119
+ description: string | null;
120
120
  models: {
121
121
  base?: {
122
122
  model?: string | undefined;
@@ -19,14 +19,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- headers: Record<string, string> | null;
22
+ name: string;
23
23
  id: string;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
- name: string;
27
- description: string | null;
28
26
  projectId: string;
29
27
  tenantId: string;
28
+ description: string | null;
29
+ headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
32
32
  mcp: ToolMcpConfig;
@@ -77,14 +77,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- headers: Record<string, string> | null;
80
+ name: string;
81
81
  id: string;
82
82
  createdAt: string;
83
83
  updatedAt: string;
84
- name: string;
85
- description: string | null;
86
84
  projectId: string;
87
85
  tenantId: string;
86
+ description: string | null;
87
+ headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
90
90
  mcp: ToolMcpConfig;
@@ -134,15 +134,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
- headers: Record<string, string> | null;
138
137
  id: string;
139
138
  createdAt: string;
140
139
  updatedAt: string;
141
140
  agentId: string;
142
141
  projectId: string;
143
142
  tenantId: string;
144
- toolId: string;
145
143
  subAgentId: string;
144
+ headers: Record<string, string> | null;
145
+ toolId: string;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
148
148
  }> | null;
@@ -153,15 +153,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
- headers: Record<string, string> | null;
157
156
  id: string;
158
157
  createdAt: string;
159
158
  updatedAt: string;
160
159
  agentId: string;
161
160
  projectId: string;
162
161
  tenantId: string;
163
- toolId: string;
164
162
  subAgentId: string;
163
+ headers: Record<string, string> | null;
164
+ toolId: string;
165
165
  toolPolicies: Record<string, {
166
166
  needsApproval?: boolean;
167
167
  }> | null;
@@ -181,15 +181,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
- headers: Record<string, string> | null;
185
184
  id: string;
186
185
  createdAt: string;
187
186
  updatedAt: string;
188
187
  agentId: string;
189
188
  projectId: string;
190
189
  tenantId: string;
191
- toolId: string;
192
190
  subAgentId: string;
191
+ headers: Record<string, string> | null;
192
+ toolId: string;
193
193
  toolPolicies: Record<string, {
194
194
  needsApproval?: boolean;
195
195
  }> | null;
@@ -201,14 +201,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- headers: Record<string, string> | null;
204
+ name: string;
205
205
  id: string;
206
206
  createdAt: string;
207
207
  updatedAt: string;
208
- name: string;
209
- description: string | null;
210
208
  projectId: string;
211
209
  tenantId: string;
210
+ description: string | null;
211
+ headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
214
214
  mcp: ToolMcpConfig;
@@ -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: "body" | "query" | "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: "body" | "header" | "literal";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,11 +8,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
+ name: string | null;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- expiresAt: string | null;
15
- name: string | null;
16
15
  agentId: string;
17
16
  projectId: string;
18
17
  tenantId: string;
@@ -20,13 +19,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
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
+ name: string | null;
25
26
  id: string;
26
27
  createdAt: string;
27
28
  updatedAt: string;
28
- expiresAt: string | null;
29
- name: string | null;
30
29
  agentId: string;
31
30
  projectId: string;
32
31
  tenantId: string;
@@ -34,16 +33,16 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
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
+ name: string | null;
42
43
  id: string;
43
44
  createdAt: string;
44
45
  updatedAt: string;
45
- expiresAt: string | null;
46
- name: string | null;
47
46
  agentId: string;
48
47
  projectId: string;
49
48
  tenantId: string;
@@ -51,6 +50,7 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
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,11 +66,10 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
+ name: string | null;
69
70
  id: string;
70
71
  createdAt: string;
71
72
  updatedAt: string;
72
- expiresAt: string | null;
73
- name: string | null;
74
73
  agentId: string;
75
74
  projectId: string;
76
75
  tenantId: string;
@@ -78,6 +77,7 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
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
- metadata: ConversationMetadata | null;
20
19
  id: string;
21
20
  createdAt: string;
22
21
  updatedAt: string;
22
+ agentId: string | null;
23
+ projectId: string;
24
+ tenantId: string;
25
+ title: string | null;
26
+ metadata: ConversationMetadata | null;
23
27
  userId: string | null;
24
28
  ref: {
25
29
  type: "tag" | "commit" | "branch";
26
30
  name: string;
27
31
  hash: string;
28
32
  } | null;
29
- agentId: string | null;
30
- projectId: string;
31
- tenantId: string;
32
- title: 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
- metadata: ConversationMetadata | null;
89
88
  id: string;
90
89
  createdAt: string;
91
90
  updatedAt: string;
91
+ agentId: string | null;
92
+ projectId: string;
93
+ tenantId: string;
94
+ title: string | null;
95
+ metadata: ConversationMetadata | null;
92
96
  userId: string | null;
93
97
  ref: {
94
98
  type: "tag" | "commit" | "branch";
95
99
  name: string;
96
100
  hash: string;
97
101
  } | null;
98
- agentId: string | null;
99
- projectId: string;
100
- tenantId: string;
101
- title: 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
- metadata: ConversationMetadata | null;
125
124
  id: string;
126
125
  createdAt: string;
127
126
  updatedAt: string;
127
+ agentId: string | null;
128
+ projectId: string;
129
+ tenantId: string;
130
+ title: string | null;
131
+ metadata: ConversationMetadata | null;
128
132
  userId: string | null;
129
133
  ref: {
130
134
  type: "tag" | "commit" | "branch";
131
135
  name: string;
132
136
  hash: string;
133
137
  } | null;
134
- agentId: string | null;
135
- projectId: string;
136
- tenantId: string;
137
- title: 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
- metadata: ConversationMetadata | null;
157
156
  id: string;
158
157
  createdAt: string;
159
158
  updatedAt: string;
159
+ agentId: string | null;
160
+ projectId: string;
161
+ tenantId: string;
162
+ title: string | null;
163
+ metadata: ConversationMetadata | null;
160
164
  userId: string | null;
161
165
  ref: {
162
166
  type: "tag" | "commit" | "branch";
163
167
  name: string;
164
168
  hash: string;
165
169
  } | null;
166
- agentId: string | null;
167
- projectId: string;
168
- tenantId: string;
169
- title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,13 +10,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- metadata: MessageMetadata | null;
14
13
  id: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
- role: string;
18
16
  projectId: string;
19
17
  tenantId: string;
18
+ metadata: MessageMetadata | null;
20
19
  content: MessageContent;
21
20
  fromSubAgentId: string | null;
22
21
  toSubAgentId: string | null;
@@ -25,6 +24,7 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
25
24
  taskId: string | null;
26
25
  a2aTaskId: string | null;
27
26
  conversationId: string;
27
+ role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -141,13 +141,12 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- metadata: MessageMetadata | null;
145
144
  id: string;
146
145
  createdAt: string;
147
146
  updatedAt: string;
148
- role: string;
149
147
  projectId: string;
150
148
  tenantId: string;
149
+ metadata: MessageMetadata | null;
151
150
  content: MessageContent;
152
151
  fromSubAgentId: string | null;
153
152
  toSubAgentId: string | null;
@@ -156,6 +155,7 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
156
155
  taskId: string | null;
157
156
  a2aTaskId: string | null;
158
157
  conversationId: string;
158
+ role: string;
159
159
  fromTeamAgentId: string | null;
160
160
  toTeamAgentId: string | null;
161
161
  visibility: string;
@@ -194,13 +194,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- metadata: MessageMetadata | null;
198
197
  id: string;
199
198
  createdAt: string;
200
199
  updatedAt: string;
201
- role: string;
202
200
  projectId: string;
203
201
  tenantId: string;
202
+ metadata: MessageMetadata | null;
204
203
  content: MessageContent;
205
204
  fromSubAgentId: string | null;
206
205
  toSubAgentId: string | null;
@@ -209,6 +208,7 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
209
208
  taskId: string | null;
210
209
  a2aTaskId: string | null;
211
210
  conversationId: string;
211
+ role: string;
212
212
  fromTeamAgentId: string | null;
213
213
  toTeamAgentId: string | null;
214
214
  visibility: string;
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
6
6
 
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
- metadata: TaskMetadataConfig | null;
10
9
  id: string;
11
10
  createdAt: string;
12
11
  updatedAt: string;
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
15
+ metadata: TaskMetadataConfig | null;
13
16
  status: string;
17
+ subAgentId: string;
18
+ contextId: string;
14
19
  ref: {
15
20
  type: "tag" | "commit" | "branch";
16
21
  name: string;
17
22
  hash: string;
18
23
  } | null;
19
- agentId: string;
20
- projectId: string;
21
- tenantId: string;
22
- subAgentId: string;
23
- contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -814,13 +814,13 @@ declare const triggers: drizzle_orm_pg_core1842.PgTableWithColumns<{
814
814
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
815
815
  encoding: "hex" | "base64";
816
816
  signature: {
817
- source: "body" | "query" | "header";
817
+ source: "query" | "header" | "body";
818
818
  key: string;
819
819
  prefix?: string | undefined;
820
820
  regex?: string | undefined;
821
821
  };
822
822
  signedComponents: {
823
- source: "body" | "header" | "literal";
823
+ source: "literal" | "header" | "body";
824
824
  required: boolean;
825
825
  key?: string | undefined;
826
826
  value?: string | undefined;
@@ -851,13 +851,13 @@ declare const triggers: drizzle_orm_pg_core1842.PgTableWithColumns<{
851
851
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
852
852
  encoding: "hex" | "base64";
853
853
  signature: {
854
- source: "body" | "query" | "header";
854
+ source: "query" | "header" | "body";
855
855
  key: string;
856
856
  prefix?: string | undefined;
857
857
  regex?: string | undefined;
858
858
  };
859
859
  signedComponents: {
860
- source: "body" | "header" | "literal";
860
+ source: "literal" | "header" | "body";
861
861
  required: boolean;
862
862
  key?: string | undefined;
863
863
  value?: string | undefined;
@@ -1,6 +1,6 @@
1
- import * as hono3 from "hono";
1
+ import * as hono0 from "hono";
2
2
 
3
3
  //#region src/middleware/no-auth.d.ts
4
- declare const noAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
4
+ declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
5
5
  //#endregion
6
6
  export { noAuth };