@inkeep/agents-core 0.0.0-dev-20260407230245 → 0.0.0-dev-20260408022324

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 (41) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/constants/index.d.ts +14 -0
  5. package/dist/constants/index.js +15 -0
  6. package/dist/constants/relation-types.d.ts +5 -0
  7. package/dist/constants/relation-types.js +6 -0
  8. package/dist/constants/session-events.d.ts +13 -0
  9. package/dist/constants/session-events.js +14 -0
  10. package/dist/constants/tool-names.d.ts +7 -0
  11. package/dist/constants/tool-names.js +8 -0
  12. package/dist/constants/workflow.d.ts +7 -0
  13. package/dist/constants/workflow.js +8 -0
  14. package/dist/data-access/manage/agents.d.ts +29 -29
  15. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  16. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  17. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  18. package/dist/data-access/manage/functionTools.d.ts +18 -18
  19. package/dist/data-access/manage/skills.d.ts +14 -14
  20. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  21. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  22. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  23. package/dist/data-access/manage/subAgents.d.ts +15 -15
  24. package/dist/data-access/manage/tools.d.ts +33 -33
  25. package/dist/data-access/manage/triggers.d.ts +4 -4
  26. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  27. package/dist/data-access/runtime/apps.d.ts +8 -8
  28. package/dist/data-access/runtime/conversations.d.ts +24 -24
  29. package/dist/data-access/runtime/feedback.d.ts +6 -6
  30. package/dist/data-access/runtime/messages.d.ts +21 -21
  31. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +2 -2
  32. package/dist/data-access/runtime/tasks.d.ts +5 -5
  33. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  34. package/dist/db/manage/manage-schema.d.ts +453 -453
  35. package/dist/db/runtime/runtime-schema.d.ts +403 -403
  36. package/dist/index.d.ts +5 -1
  37. package/dist/index.js +5 -1
  38. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  39. package/dist/validation/schemas/skills.d.ts +50 -50
  40. package/dist/validation/schemas.d.ts +2355 -2355
  41. package/package.json +1 -1
@@ -6,14 +6,14 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- name: string;
9
+ tenantId: string | null;
10
+ projectId: string | null;
10
11
  id: string;
12
+ name: string;
13
+ description: string | null;
11
14
  createdAt: string;
12
15
  updatedAt: string;
13
16
  enabled: boolean;
14
- description: string | null;
15
- tenantId: string | null;
16
- projectId: string | null;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
@@ -62,14 +62,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
- name: string;
65
+ tenantId: string | null;
66
+ projectId: string | null;
66
67
  id: string;
68
+ name: string;
69
+ description: string | null;
67
70
  createdAt: string;
68
71
  updatedAt: string;
69
72
  enabled: boolean;
70
- description: string | null;
71
- tenantId: string | null;
72
- projectId: string | null;
73
73
  prompt: string | null;
74
74
  config: {
75
75
  type: "web_client";
@@ -15,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- metadata: ConversationMetadata | null;
19
- userId: string | null;
20
- id: string;
21
- createdAt: string;
22
- updatedAt: string;
23
- title: string | null;
24
18
  tenantId: string;
25
19
  projectId: string;
26
20
  agentId: string | null;
21
+ id: string;
27
22
  ref: {
28
23
  type: "commit" | "tag" | "branch";
29
24
  name: string;
30
25
  hash: string;
31
26
  } | null;
27
+ title: string | null;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ userId: string | null;
31
+ metadata: ConversationMetadata | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- metadata: ConversationMetadata | null;
88
- userId: string | null;
89
- id: string;
90
- createdAt: string;
91
- updatedAt: string;
92
- title: string | null;
93
87
  tenantId: string;
94
88
  projectId: string;
95
89
  agentId: string | null;
90
+ id: string;
96
91
  ref: {
97
92
  type: "commit" | "tag" | "branch";
98
93
  name: string;
99
94
  hash: string;
100
95
  } | null;
96
+ title: string | null;
97
+ createdAt: string;
98
+ updatedAt: string;
99
+ userId: string | null;
100
+ metadata: ConversationMetadata | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- metadata: ConversationMetadata | null;
124
- userId: string | null;
125
- id: string;
126
- createdAt: string;
127
- updatedAt: string;
128
- title: string | null;
129
123
  tenantId: string;
130
124
  projectId: string;
131
125
  agentId: string | null;
126
+ id: string;
132
127
  ref: {
133
128
  type: "commit" | "tag" | "branch";
134
129
  name: string;
135
130
  hash: string;
136
131
  } | null;
132
+ title: string | null;
133
+ createdAt: string;
134
+ updatedAt: string;
135
+ userId: string | null;
136
+ metadata: ConversationMetadata | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- metadata: ConversationMetadata | null;
156
- userId: string | null;
157
- id: string;
158
- createdAt: string;
159
- updatedAt: string;
160
- title: string | null;
161
155
  tenantId: string;
162
156
  projectId: string;
163
157
  agentId: string | null;
158
+ id: string;
164
159
  ref: {
165
160
  type: "commit" | "tag" | "branch";
166
161
  name: string;
167
162
  hash: string;
168
163
  } | null;
164
+ title: string | null;
165
+ createdAt: string;
166
+ updatedAt: string;
167
+ userId: string | null;
168
+ metadata: ConversationMetadata | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -59,14 +59,14 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
61
  type: "positive" | "negative";
62
+ tenantId: string;
63
+ projectId: string;
62
64
  id: string;
63
65
  createdAt: string;
64
66
  updatedAt: string;
65
- tenantId: string;
66
- projectId: string;
67
- details: string | null;
68
67
  conversationId: string;
69
68
  messageId: string | null;
69
+ details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -88,14 +88,14 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
90
  type: "positive" | "negative";
91
+ tenantId: string;
92
+ projectId: string;
91
93
  id: string;
92
94
  createdAt: string;
93
95
  updatedAt: string;
94
- tenantId: string;
95
- projectId: string;
96
- details: string | null;
97
96
  conversationId: string;
98
97
  messageId: string | null;
98
+ details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- metadata: MessageMetadata | null;
14
- role: string;
13
+ tenantId: string;
14
+ projectId: string;
15
15
  id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
- tenantId: string;
19
- projectId: string;
20
18
  content: MessageContent;
19
+ metadata: MessageMetadata | null;
20
+ conversationId: string;
21
+ role: 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: {
@@ -144,26 +144,26 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
- metadata: MessageMetadata | null;
148
- role: string;
147
+ tenantId: string;
148
+ projectId: string;
149
149
  id: string;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
- tenantId: string;
153
- projectId: string;
154
152
  content: MessageContent;
153
+ metadata: MessageMetadata | null;
154
+ conversationId: string;
155
+ role: 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: {
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- metadata: MessageMetadata | null;
201
- role: string;
200
+ tenantId: string;
201
+ projectId: string;
202
202
  id: string;
203
203
  createdAt: string;
204
204
  updatedAt: string;
205
- tenantId: string;
206
- projectId: string;
207
205
  content: MessageContent;
206
+ metadata: MessageMetadata | null;
207
+ conversationId: string;
208
+ role: 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: {
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
- userId: string;
19
- createdAt: string;
20
18
  tenantId: string;
19
+ createdAt: string;
20
+ userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
- metadata: TaskMetadataConfig | null;
11
- id: string;
12
- createdAt: string;
13
- status: string;
14
- updatedAt: string;
15
10
  tenantId: string;
16
11
  projectId: string;
17
12
  agentId: string;
18
13
  subAgentId: string;
14
+ id: string;
19
15
  ref: {
20
16
  type: "commit" | "tag" | "branch";
21
17
  name: string;
22
18
  hash: string;
23
19
  } | null;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ metadata: TaskMetadataConfig | null;
23
+ status: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core1478 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core2211 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1478.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core2211.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };