@inkeep/agents-core 0.0.0-dev-20260225221013 → 0.0.0-dev-20260225231647

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.
Files changed (29) hide show
  1. package/dist/auth/auth-schema.d.ts +107 -107
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/otel-attributes.d.ts +1 -0
  6. package/dist/constants/otel-attributes.js +1 -0
  7. package/dist/data-access/manage/agents.d.ts +41 -41
  8. package/dist/data-access/manage/artifactComponents.d.ts +20 -20
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  11. package/dist/data-access/manage/functionTools.d.ts +20 -20
  12. package/dist/data-access/manage/skills.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgents.d.ts +27 -27
  17. package/dist/data-access/manage/tools.d.ts +27 -27
  18. package/dist/data-access/manage/triggers.d.ts +2 -2
  19. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  20. package/dist/data-access/runtime/conversations.d.ts +16 -16
  21. package/dist/data-access/runtime/messages.d.ts +27 -27
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  23. package/dist/data-access/runtime/tasks.d.ts +5 -5
  24. package/dist/db/manage/manage-schema.d.ts +449 -449
  25. package/dist/db/runtime/runtime-schema.d.ts +292 -292
  26. package/dist/middleware/no-auth.d.ts +2 -2
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +1955 -1955
  29. package/package.json +1 -1
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- agentId: string;
12
- projectId: string;
13
- tenantId: string;
14
- name: string | null;
15
11
  id: string;
12
+ name: string | null;
13
+ tenantId: string;
14
+ projectId: string;
15
+ agentId: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
+ expiresAt: string | null;
18
19
  publicId: string;
19
20
  keyHash: string;
20
21
  keyPrefix: string;
21
22
  lastUsedAt: string | null;
22
- expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- agentId: string;
26
- projectId: string;
27
- tenantId: string;
28
- name: string | null;
29
25
  id: string;
26
+ name: string | null;
27
+ tenantId: string;
28
+ projectId: string;
29
+ agentId: string;
30
30
  createdAt: string;
31
31
  updatedAt: string;
32
+ expiresAt: string | null;
32
33
  publicId: string;
33
34
  keyHash: string;
34
35
  keyPrefix: string;
35
36
  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
- agentId: string;
43
- projectId: string;
44
- tenantId: string;
45
- name: string | null;
46
42
  id: string;
43
+ name: string | null;
44
+ tenantId: string;
45
+ projectId: string;
46
+ agentId: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
+ expiresAt: string | null;
49
50
  publicId: string;
50
51
  keyHash: string;
51
52
  keyPrefix: string;
52
53
  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
- agentId: string;
70
- projectId: string;
71
- tenantId: string;
72
- name: string | null;
73
69
  id: string;
70
+ name: string | null;
71
+ tenantId: string;
72
+ projectId: string;
73
+ agentId: string;
74
74
  createdAt: string;
75
75
  updatedAt: string;
76
+ expiresAt: string | null;
76
77
  publicId: string;
77
78
  keyHash: string;
78
79
  keyPrefix: string;
79
80
  lastUsedAt: string | null;
80
- expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -16,15 +16,15 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- agentId: string | null;
20
- projectId: string;
19
+ id: string;
21
20
  tenantId: string;
22
- userId: string | null;
21
+ projectId: string;
22
+ agentId: string | null;
23
23
  title: string | null;
24
- id: string;
25
24
  createdAt: string;
26
25
  updatedAt: string;
27
26
  metadata: ConversationMetadata | null;
27
+ userId: string | null;
28
28
  ref: {
29
29
  type: "commit" | "tag" | "branch";
30
30
  name: string;
@@ -85,15 +85,15 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- agentId: string | null;
89
- projectId: string;
88
+ id: string;
90
89
  tenantId: string;
91
- userId: string | null;
90
+ projectId: string;
91
+ agentId: string | null;
92
92
  title: string | null;
93
- id: string;
94
93
  createdAt: string;
95
94
  updatedAt: string;
96
95
  metadata: ConversationMetadata | null;
96
+ userId: string | null;
97
97
  ref: {
98
98
  type: "commit" | "tag" | "branch";
99
99
  name: string;
@@ -121,15 +121,15 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- agentId: string | null;
125
- projectId: string;
124
+ id: string;
126
125
  tenantId: string;
127
- userId: string | null;
126
+ projectId: string;
127
+ agentId: string | null;
128
128
  title: string | null;
129
- id: string;
130
129
  createdAt: string;
131
130
  updatedAt: string;
132
131
  metadata: ConversationMetadata | null;
132
+ userId: string | null;
133
133
  ref: {
134
134
  type: "commit" | "tag" | "branch";
135
135
  name: string;
@@ -153,15 +153,15 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- agentId: string | null;
157
- projectId: string;
156
+ id: string;
158
157
  tenantId: string;
159
- userId: string | null;
158
+ projectId: string;
159
+ agentId: string | null;
160
160
  title: string | null;
161
- id: string;
162
161
  createdAt: string;
163
162
  updatedAt: string;
164
163
  metadata: ConversationMetadata | null;
164
+ userId: string | null;
165
165
  ref: {
166
166
  type: "commit" | "tag" | "branch";
167
167
  name: string;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- projectId: string;
13
+ id: string;
14
14
  tenantId: string;
15
+ projectId: string;
16
+ createdAt: string;
17
+ updatedAt: string;
18
+ metadata: MessageMetadata | null;
15
19
  content: MessageContent;
20
+ role: string;
21
+ conversationId: string;
16
22
  fromSubAgentId: string | null;
17
23
  toSubAgentId: string | null;
18
24
  fromExternalAgentId: string | null;
19
25
  toExternalAgentId: string | null;
20
- taskId: string | null;
21
- a2aTaskId: string | null;
22
- id: string;
23
- createdAt: string;
24
- updatedAt: string;
25
- metadata: MessageMetadata | null;
26
- conversationId: string;
27
- role: 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: {
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- projectId: string;
144
+ id: string;
145
145
  tenantId: string;
146
+ projectId: string;
147
+ createdAt: string;
148
+ updatedAt: string;
149
+ metadata: MessageMetadata | null;
146
150
  content: MessageContent;
151
+ role: string;
152
+ conversationId: string;
147
153
  fromSubAgentId: string | null;
148
154
  toSubAgentId: string | null;
149
155
  fromExternalAgentId: string | null;
150
156
  toExternalAgentId: string | null;
151
- taskId: string | null;
152
- a2aTaskId: string | null;
153
- id: string;
154
- createdAt: string;
155
- updatedAt: string;
156
- metadata: MessageMetadata | null;
157
- conversationId: string;
158
- role: 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: {
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- projectId: string;
197
+ id: string;
198
198
  tenantId: string;
199
+ projectId: string;
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ metadata: MessageMetadata | null;
199
203
  content: MessageContent;
204
+ role: string;
205
+ conversationId: string;
200
206
  fromSubAgentId: string | null;
201
207
  toSubAgentId: string | null;
202
208
  fromExternalAgentId: string | null;
203
209
  toExternalAgentId: string | null;
204
- taskId: string | null;
205
- a2aTaskId: string | null;
206
- id: string;
207
- createdAt: string;
208
- updatedAt: string;
209
- metadata: MessageMetadata | null;
210
- conversationId: string;
211
- role: 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: {
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
37
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
38
38
  scheduledFor: string;
39
39
  startedAt: string | null;
40
40
  completedAt: string | null;
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
174
  }) => Promise<{
175
175
  data: {
176
176
  scheduledTriggerId: string;
177
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
177
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
178
178
  scheduledFor: string;
179
179
  startedAt: string | null;
180
180
  completedAt: string | null;
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
208
  }) => Promise<{
209
209
  data: {
210
210
  scheduledTriggerId: string;
211
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
211
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -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
- agentId: string;
10
- projectId: string;
11
- tenantId: string;
12
- subAgentId: string;
13
9
  id: string;
10
+ tenantId: string;
11
+ projectId: string;
12
+ agentId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
15
  metadata: TaskMetadataConfig | null;
17
16
  status: string;
18
- contextId: string;
19
17
  ref: {
20
18
  type: "commit" | "tag" | "branch";
21
19
  name: string;
22
20
  hash: string;
23
21
  } | null;
22
+ subAgentId: string;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;