@inkeep/agents-core 0.80.5 → 0.80.7

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 (34) hide show
  1. package/dist/auth/auth.d.ts +1 -0
  2. package/dist/auth/auth.js +1 -0
  3. package/dist/auth/permissions.d.ts +24 -21
  4. package/dist/data-access/manage/agents.d.ts +5 -5
  5. package/dist/data-access/manage/artifactComponents.d.ts +4 -4
  6. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  7. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  8. package/dist/data-access/manage/functionTools.d.ts +4 -4
  9. package/dist/data-access/manage/skills.d.ts +5 -5
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  11. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  13. package/dist/data-access/manage/subAgents.d.ts +3 -3
  14. package/dist/data-access/manage/tools.d.ts +12 -12
  15. package/dist/data-access/manage/triggers.d.ts +1 -1
  16. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  17. package/dist/data-access/runtime/apps.d.ts +4 -4
  18. package/dist/data-access/runtime/conversations.d.ts +8 -8
  19. package/dist/data-access/runtime/events.d.ts +3 -3
  20. package/dist/data-access/runtime/feedback.d.ts +4 -4
  21. package/dist/data-access/runtime/messages.d.ts +6 -6
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
  23. package/dist/data-access/runtime/tasks.d.ts +1 -1
  24. package/dist/db/manage/manage-schema.d.ts +397 -397
  25. package/dist/db/runtime/runtime-schema.d.ts +418 -418
  26. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +1 -1
  27. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +1 -1
  28. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
  29. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
  30. package/dist/test-utils/mocks/logger.js +1 -1
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas/skills.d.ts +26 -26
  33. package/dist/validation/schemas.d.ts +473 -473
  34. package/package.json +3 -3
@@ -13,8 +13,8 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  expiresAt: string | null;
16
- tenantId: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  agentId: string;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -27,8 +27,8 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  expiresAt: string | null;
30
- tenantId: string;
31
30
  projectId: string;
31
+ tenantId: string;
32
32
  agentId: string;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -44,8 +44,8 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  expiresAt: string | null;
47
- tenantId: string;
48
47
  projectId: string;
48
+ tenantId: string;
49
49
  agentId: string;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -71,8 +71,8 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
73
  expiresAt: string | null;
74
- tenantId: string;
75
74
  projectId: string;
75
+ tenantId: string;
76
76
  agentId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -5,16 +5,16 @@ 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
+ type: AppType;
8
9
  id: string;
9
10
  name: string;
10
11
  createdAt: string;
11
12
  updatedAt: string;
12
- type: AppType;
13
13
  description: string | null;
14
14
  enabled: boolean;
15
15
  prompt: string | null;
16
- tenantId: string | null;
17
16
  projectId: string | null;
17
+ tenantId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -74,16 +74,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
74
74
  };
75
75
  }>;
76
76
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
77
+ type: AppType;
77
78
  id: string;
78
79
  name: string;
79
80
  createdAt: string;
80
81
  updatedAt: string;
81
- type: AppType;
82
82
  description: string | null;
83
83
  enabled: boolean;
84
84
  prompt: string | null;
85
- tenantId: string | null;
86
85
  projectId: string | null;
86
+ tenantId: string | null;
87
87
  config: {
88
88
  type: "web_client";
89
89
  webClient: {
@@ -28,12 +28,12 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
28
28
  metadata: ConversationMetadata | null;
29
29
  properties: Record<string, unknown> | null;
30
30
  title: string | null;
31
- tenantId: string;
32
31
  projectId: string;
32
+ tenantId: string;
33
33
  agentId: string | null;
34
+ userProperties: Record<string, unknown> | null;
34
35
  activeSubAgentId: string;
35
36
  lastContextResolution: string | null;
36
- userProperties: Record<string, unknown> | null;
37
37
  }>;
38
38
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -103,12 +103,12 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
103
103
  metadata: ConversationMetadata | null;
104
104
  properties: Record<string, unknown> | null;
105
105
  title: string | null;
106
- tenantId: string;
107
106
  projectId: string;
107
+ tenantId: string;
108
108
  agentId: string | null;
109
+ userProperties: Record<string, unknown> | null;
109
110
  activeSubAgentId: string;
110
111
  lastContextResolution: string | null;
111
- userProperties: Record<string, unknown> | null;
112
112
  } | undefined>;
113
113
  /**
114
114
  * Batch-fetch conversations by id within a project scope.
@@ -158,12 +158,12 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
158
158
  metadata: ConversationMetadata | null;
159
159
  properties: Record<string, unknown> | null;
160
160
  title: string | null;
161
- tenantId: string;
162
161
  projectId: string;
162
+ tenantId: string;
163
163
  agentId: string | null;
164
+ userProperties: Record<string, unknown> | null;
164
165
  activeSubAgentId: string;
165
166
  lastContextResolution: string | null;
166
- userProperties: Record<string, unknown> | null;
167
167
  }>;
168
168
  /**
169
169
  * Extract text content from message content object
@@ -196,12 +196,12 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
196
196
  metadata: ConversationMetadata | null;
197
197
  properties: Record<string, unknown> | null;
198
198
  title: string | null;
199
- tenantId: string;
200
199
  projectId: string;
200
+ tenantId: string;
201
201
  agentId: string | null;
202
+ userProperties: Record<string, unknown> | null;
202
203
  activeSubAgentId: string;
203
204
  lastContextResolution: string | null;
204
- userProperties: Record<string, unknown> | null;
205
205
  } | undefined>;
206
206
  /**
207
207
  * Set active agent for a conversation (upsert operation)
@@ -7,17 +7,17 @@ import { EventInsert } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/events.d.ts
8
8
  declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
9
9
  row: {
10
+ type: string;
10
11
  id: string;
11
12
  createdAt: string;
12
13
  updatedAt: string;
13
- type: string;
14
14
  metadata: Record<string, unknown> | null;
15
15
  properties: Record<string, unknown> | null;
16
- tenantId: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  agentId: string | null;
19
- userProperties: Record<string, unknown> | null;
20
19
  conversationId: string | null;
20
+ userProperties: Record<string, unknown> | null;
21
21
  messageId: string | null;
22
22
  serverMetadata: {
23
23
  [k: string]: unknown;
@@ -70,12 +70,12 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
70
70
  agentId: string | null;
71
71
  }[]>;
72
72
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
73
+ type: "positive" | "negative";
73
74
  id: string;
74
75
  createdAt: string;
75
76
  updatedAt: string;
76
- type: "positive" | "negative";
77
- tenantId: string;
78
77
  projectId: string;
78
+ tenantId: string;
79
79
  conversationId: string;
80
80
  messageId: string | null;
81
81
  details: string | null;
@@ -100,12 +100,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
100
100
  scopes: ProjectScopeConfig;
101
101
  feedbackId: string;
102
102
  }) => Promise<{
103
+ type: "positive" | "negative";
103
104
  id: string;
104
105
  createdAt: string;
105
106
  updatedAt: string;
106
- type: "positive" | "negative";
107
- tenantId: string;
108
107
  projectId: string;
108
+ tenantId: string;
109
109
  conversationId: string;
110
110
  messageId: string | null;
111
111
  details: string | null;
@@ -16,11 +16,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
16
16
  metadata: MessageMetadata | null;
17
17
  role: string;
18
18
  properties: Record<string, unknown> | null;
19
- tenantId: string;
20
19
  content: MessageContent;
21
20
  projectId: string;
22
- userProperties: Record<string, unknown> | null;
21
+ tenantId: string;
23
22
  conversationId: string;
23
+ userProperties: Record<string, unknown> | null;
24
24
  fromSubAgentId: string | null;
25
25
  toSubAgentId: string | null;
26
26
  fromExternalAgentId: string | null;
@@ -189,11 +189,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
189
189
  metadata: MessageMetadata | null;
190
190
  role: string;
191
191
  properties: Record<string, unknown> | null;
192
- tenantId: string;
193
192
  content: MessageContent;
194
193
  projectId: string;
195
- userProperties: Record<string, unknown> | null;
194
+ tenantId: string;
196
195
  conversationId: string;
196
+ userProperties: Record<string, unknown> | null;
197
197
  fromSubAgentId: string | null;
198
198
  toSubAgentId: string | null;
199
199
  fromExternalAgentId: string | null;
@@ -246,11 +246,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
246
246
  metadata: MessageMetadata | null;
247
247
  role: string;
248
248
  properties: Record<string, unknown> | null;
249
- tenantId: string;
250
249
  content: MessageContent;
251
250
  projectId: string;
252
- userProperties: Record<string, unknown> | null;
251
+ tenantId: string;
253
252
  conversationId: string;
253
+ userProperties: Record<string, unknown> | null;
254
254
  fromSubAgentId: string | null;
255
255
  toSubAgentId: string | null;
256
256
  fromExternalAgentId: string | null;
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
202
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
242
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
295
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -320,7 +320,7 @@ declare const listScheduledTriggerInvocationsByDatasetRunId: (db: AgentsRunDatab
320
320
  name: string;
321
321
  hash: string;
322
322
  } | null;
323
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
323
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
324
324
  scheduledFor: string;
325
325
  startedAt: string | null;
326
326
  completedAt: string | null;
@@ -17,8 +17,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
17
17
  } | null;
18
18
  metadata: TaskMetadataConfig | null;
19
19
  status: string;
20
- tenantId: string;
21
20
  projectId: string;
21
+ tenantId: string;
22
22
  agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;