@inkeep/agents-core 0.0.0-dev-20260330224432 → 0.0.0-dev-20260331031331

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.
@@ -22,16 +22,16 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  }) => Promise<{
23
23
  id: string;
24
24
  name: string;
25
+ description: string | null;
25
26
  createdAt: string;
26
27
  updatedAt: string;
27
- description: string | null;
28
- tenantId: string;
29
28
  projectId: string;
30
- credentialReferenceId: string | null;
29
+ tenantId: string;
31
30
  config: {
32
31
  type: "mcp";
33
32
  mcp: ToolMcpConfig;
34
33
  };
34
+ credentialReferenceId: string | null;
35
35
  credentialScope: string;
36
36
  headers: Record<string, string> | null;
37
37
  imageUrl: string | null;
@@ -80,16 +80,16 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
81
  id: string;
82
82
  name: string;
83
+ description: string | null;
83
84
  createdAt: string;
84
85
  updatedAt: string;
85
- description: string | null;
86
- tenantId: string;
87
86
  projectId: string;
88
- credentialReferenceId: string | null;
87
+ tenantId: string;
89
88
  config: {
90
89
  type: "mcp";
91
90
  mcp: ToolMcpConfig;
92
91
  };
92
+ credentialReferenceId: string | null;
93
93
  credentialScope: string;
94
94
  headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
@@ -138,8 +138,8 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
- tenantId: string;
142
141
  projectId: string;
142
+ tenantId: string;
143
143
  agentId: string;
144
144
  subAgentId: string;
145
145
  toolId: string;
@@ -157,8 +157,8 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
- tenantId: string;
161
160
  projectId: string;
161
+ tenantId: string;
162
162
  agentId: string;
163
163
  subAgentId: string;
164
164
  toolId: string;
@@ -185,8 +185,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
- tenantId: string;
189
188
  projectId: string;
189
+ tenantId: string;
190
190
  agentId: string;
191
191
  subAgentId: string;
192
192
  toolId: string;
@@ -204,16 +204,16 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  }) => Promise<{
205
205
  id: string;
206
206
  name: string;
207
+ description: string | null;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- description: string | null;
210
- tenantId: string;
211
210
  projectId: string;
212
- credentialReferenceId: string | null;
211
+ tenantId: string;
213
212
  config: {
214
213
  type: "mcp";
215
214
  mcp: ToolMcpConfig;
216
215
  };
216
+ credentialReferenceId: string | null;
217
217
  credentialScope: string;
218
218
  headers: Record<string, string> | null;
219
219
  imageUrl: string | null;
@@ -12,9 +12,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- expiresAt: string | null;
16
- tenantId: string;
17
15
  projectId: string;
16
+ tenantId: string;
17
+ expiresAt: string | null;
18
18
  agentId: string;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -26,9 +26,9 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- expiresAt: string | null;
30
- tenantId: string;
31
29
  projectId: string;
30
+ tenantId: string;
31
+ expiresAt: string | null;
32
32
  agentId: string;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -43,9 +43,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- expiresAt: string | null;
47
- tenantId: string;
48
46
  projectId: string;
47
+ tenantId: string;
48
+ expiresAt: string | null;
49
49
  agentId: string;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -70,9 +70,9 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- expiresAt: string | null;
74
- tenantId: string;
75
73
  projectId: string;
74
+ tenantId: string;
75
+ expiresAt: string | null;
76
76
  agentId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -7,14 +7,17 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  id: string;
9
9
  name: string;
10
+ description: string | null;
10
11
  createdAt: string;
11
12
  updatedAt: string;
12
- description: string | null;
13
- enabled: boolean;
14
- type: AppType;
15
- tenantId: string | null;
16
13
  projectId: string | null;
14
+ tenantId: string | null;
15
+ type: AppType;
16
+ lastUsedAt: string | null;
17
+ defaultProjectId: string | null;
18
+ defaultAgentId: string | null;
17
19
  prompt: string | null;
20
+ enabled: boolean;
18
21
  config: {
19
22
  type: "web_client";
20
23
  webClient: {
@@ -35,9 +38,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
35
38
  type: "api";
36
39
  api: Record<string, never>;
37
40
  };
38
- lastUsedAt: string | null;
39
- defaultProjectId: string | null;
40
- defaultAgentId: string | null;
41
41
  } | undefined>;
42
42
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
43
43
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -66,14 +66,17 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
67
67
  id: string;
68
68
  name: string;
69
+ description: string | null;
69
70
  createdAt: string;
70
71
  updatedAt: string;
71
- description: string | null;
72
- enabled: boolean;
73
- type: AppType;
74
- tenantId: string | null;
75
72
  projectId: string | null;
73
+ tenantId: string | null;
74
+ type: AppType;
75
+ lastUsedAt: string | null;
76
+ defaultProjectId: string | null;
77
+ defaultAgentId: string | null;
76
78
  prompt: string | null;
79
+ enabled: boolean;
77
80
  config: {
78
81
  type: "web_client";
79
82
  webClient: {
@@ -94,9 +97,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
94
97
  type: "api";
95
98
  api: Record<string, never>;
96
99
  };
97
- lastUsedAt: string | null;
98
- defaultProjectId: string | null;
99
- defaultAgentId: string | null;
100
100
  }>;
101
101
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
102
102
  scopes: TenantScopeConfig;
@@ -16,18 +16,18 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  id: string;
19
+ metadata: ConversationMetadata | null;
19
20
  createdAt: string;
20
21
  updatedAt: string;
22
+ projectId: string;
23
+ tenantId: string;
24
+ title: string | null;
21
25
  ref: {
22
26
  type: "commit" | "tag" | "branch";
23
27
  name: string;
24
28
  hash: string;
25
29
  } | null;
26
30
  userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- title: string | null;
29
- tenantId: string;
30
- projectId: string;
31
31
  agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
@@ -85,18 +85,18 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  id: string;
88
+ metadata: ConversationMetadata | null;
88
89
  createdAt: string;
89
90
  updatedAt: string;
91
+ projectId: string;
92
+ tenantId: string;
93
+ title: string | null;
90
94
  ref: {
91
95
  type: "commit" | "tag" | "branch";
92
96
  name: string;
93
97
  hash: string;
94
98
  } | null;
95
99
  userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- title: string | null;
98
- tenantId: string;
99
- projectId: string;
100
100
  agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
@@ -121,18 +121,18 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  id: string;
124
+ metadata: ConversationMetadata | null;
124
125
  createdAt: string;
125
126
  updatedAt: string;
127
+ projectId: string;
128
+ tenantId: string;
129
+ title: string | null;
126
130
  ref: {
127
131
  type: "commit" | "tag" | "branch";
128
132
  name: string;
129
133
  hash: string;
130
134
  } | null;
131
135
  userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- title: string | null;
134
- tenantId: string;
135
- projectId: string;
136
136
  agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
@@ -153,18 +153,18 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
+ metadata: ConversationMetadata | null;
156
157
  createdAt: string;
157
158
  updatedAt: string;
159
+ projectId: string;
160
+ tenantId: string;
161
+ title: string | null;
158
162
  ref: {
159
163
  type: "commit" | "tag" | "branch";
160
164
  name: string;
161
165
  hash: string;
162
166
  } | null;
163
167
  userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- title: string | null;
166
- tenantId: string;
167
- projectId: string;
168
168
  agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
+ content: MessageContent;
15
+ metadata: MessageMetadata | null;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
- tenantId: string;
19
- content: MessageContent;
20
18
  projectId: string;
19
+ tenantId: string;
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: {
@@ -145,25 +145,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
147
  id: string;
148
+ content: MessageContent;
149
+ metadata: MessageMetadata | null;
148
150
  createdAt: string;
149
151
  updatedAt: string;
150
- metadata: MessageMetadata | null;
151
- role: string;
152
- tenantId: string;
153
- content: MessageContent;
154
152
  projectId: string;
153
+ tenantId: string;
154
+ role: string;
155
+ conversationId: string;
155
156
  fromSubAgentId: string | null;
156
157
  toSubAgentId: string | null;
157
158
  fromExternalAgentId: string | null;
158
159
  toExternalAgentId: string | null;
159
- taskId: string | null;
160
- a2aTaskId: string | null;
161
- conversationId: string;
162
160
  fromTeamAgentId: string | null;
163
161
  toTeamAgentId: string | null;
164
162
  visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  parentMessageId: string | null;
166
+ a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -198,25 +198,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  messageId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
+ content: MessageContent;
202
+ metadata: MessageMetadata | null;
201
203
  createdAt: string;
202
204
  updatedAt: string;
203
- metadata: MessageMetadata | null;
204
- role: string;
205
- tenantId: string;
206
- content: MessageContent;
207
205
  projectId: string;
206
+ tenantId: string;
207
+ role: string;
208
+ conversationId: string;
208
209
  fromSubAgentId: string | null;
209
210
  toSubAgentId: string | null;
210
211
  fromExternalAgentId: string | null;
211
212
  toExternalAgentId: string | null;
212
- taskId: string | null;
213
- a2aTaskId: string | null;
214
- conversationId: string;
215
213
  fromTeamAgentId: string | null;
216
214
  toTeamAgentId: string | null;
217
215
  visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -8,20 +8,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
10
  id: string;
11
+ metadata: TaskMetadataConfig | null;
11
12
  createdAt: string;
12
13
  updatedAt: string;
14
+ projectId: string;
15
+ tenantId: string;
16
+ status: string;
13
17
  ref: {
14
18
  type: "commit" | "tag" | "branch";
15
19
  name: string;
16
20
  hash: string;
17
21
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- tenantId: string;
21
- projectId: string;
22
22
  agentId: string;
23
- subAgentId: string;
24
23
  contextId: string;
24
+ subAgentId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
27
27
  id: string;