@inkeep/agents-core 0.0.0-dev-20260408074257 → 0.0.0-dev-20260408175446

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-validation-schemas.d.ts +17 -17
  2. package/dist/auth/auth.d.ts +6 -6
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/data-access/index.d.ts +3 -3
  5. package/dist/data-access/manage/agentFull.d.ts +7 -12
  6. package/dist/data-access/manage/agentFull.js +14 -16
  7. package/dist/data-access/manage/agents.d.ts +42 -42
  8. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  11. package/dist/data-access/manage/functionTools.d.ts +18 -18
  12. package/dist/data-access/manage/projectFull.d.ts +6 -8
  13. package/dist/data-access/manage/projectFull.js +18 -18
  14. package/dist/data-access/manage/skills.d.ts +16 -16
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  18. package/dist/data-access/manage/subAgents.d.ts +18 -18
  19. package/dist/data-access/manage/tools.d.ts +30 -30
  20. package/dist/data-access/manage/triggers.d.ts +4 -4
  21. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  22. package/dist/data-access/runtime/apps.d.ts +12 -12
  23. package/dist/data-access/runtime/conversations.d.ts +28 -28
  24. package/dist/data-access/runtime/feedback.d.ts +8 -8
  25. package/dist/data-access/runtime/messages.d.ts +24 -24
  26. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  27. package/dist/data-access/runtime/tasks.d.ts +8 -8
  28. package/dist/db/manage/manage-schema.d.ts +8 -8
  29. package/dist/db/runtime/runtime-schema.d.ts +371 -371
  30. package/dist/index.d.ts +3 -3
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas/skills.d.ts +49 -49
  33. package/dist/validation/schemas.d.ts +1116 -1116
  34. package/package.json +1 -1
@@ -5,15 +5,15 @@ 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;
9
- name: string;
10
- tenantId: string | null;
11
- projectId: string | null;
12
8
  id: string;
13
- description: string | null;
14
- enabled: boolean;
9
+ name: string;
15
10
  createdAt: string;
16
11
  updatedAt: string;
12
+ description: string | null;
13
+ enabled: boolean;
14
+ type: AppType;
15
+ projectId: string | null;
16
+ tenantId: string | null;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
@@ -61,15 +61,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- type: AppType;
65
- name: string;
66
- tenantId: string | null;
67
- projectId: string | null;
68
64
  id: string;
69
- description: string | null;
70
- enabled: boolean;
65
+ name: string;
71
66
  createdAt: string;
72
67
  updatedAt: string;
68
+ description: string | null;
69
+ enabled: boolean;
70
+ type: AppType;
71
+ projectId: string | null;
72
+ tenantId: 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
- tenantId: string;
19
- projectId: string;
20
18
  id: string;
21
- metadata: ConversationMetadata | null;
22
- title: string | null;
23
- agentId: string | null;
19
+ createdAt: string;
20
+ updatedAt: string;
24
21
  ref: {
25
22
  type: "commit" | "tag" | "branch";
26
23
  name: string;
27
24
  hash: string;
28
25
  } | null;
29
- createdAt: string;
30
- updatedAt: string;
31
26
  userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ agentId: string | null;
29
+ projectId: string;
30
+ tenantId: string;
31
+ title: string | 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
- tenantId: string;
88
- projectId: string;
89
87
  id: string;
90
- metadata: ConversationMetadata | null;
91
- title: string | null;
92
- agentId: string | null;
88
+ createdAt: string;
89
+ updatedAt: string;
93
90
  ref: {
94
91
  type: "commit" | "tag" | "branch";
95
92
  name: string;
96
93
  hash: string;
97
94
  } | null;
98
- createdAt: string;
99
- updatedAt: string;
100
95
  userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ agentId: string | null;
98
+ projectId: string;
99
+ tenantId: string;
100
+ title: string | 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
- tenantId: string;
124
- projectId: string;
125
123
  id: string;
126
- metadata: ConversationMetadata | null;
127
- title: string | null;
128
- agentId: string | null;
124
+ createdAt: string;
125
+ updatedAt: string;
129
126
  ref: {
130
127
  type: "commit" | "tag" | "branch";
131
128
  name: string;
132
129
  hash: string;
133
130
  } | null;
134
- createdAt: string;
135
- updatedAt: string;
136
131
  userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ agentId: string | null;
134
+ projectId: string;
135
+ tenantId: string;
136
+ title: string | 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
- tenantId: string;
156
- projectId: string;
157
155
  id: string;
158
- metadata: ConversationMetadata | null;
159
- title: string | null;
160
- agentId: string | null;
156
+ createdAt: string;
157
+ updatedAt: string;
161
158
  ref: {
162
159
  type: "commit" | "tag" | "branch";
163
160
  name: string;
164
161
  hash: string;
165
162
  } | null;
166
- createdAt: string;
167
- updatedAt: string;
168
163
  userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ agentId: string | null;
166
+ projectId: string;
167
+ tenantId: string;
168
+ title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -58,15 +58,15 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
- type: "positive" | "negative";
62
- tenantId: string;
63
- projectId: string;
64
61
  id: string;
65
- details: string | null;
66
62
  createdAt: string;
67
63
  updatedAt: string;
64
+ type: "positive" | "negative";
65
+ projectId: string;
66
+ tenantId: string;
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;
@@ -87,15 +87,15 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
- type: "positive" | "negative";
91
- tenantId: string;
92
- projectId: string;
93
90
  id: string;
94
- details: string | null;
95
91
  createdAt: string;
96
92
  updatedAt: string;
93
+ type: "positive" | "negative";
94
+ projectId: string;
95
+ tenantId: string;
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
- tenantId: string;
14
- projectId: string;
15
13
  id: string;
14
+ createdAt: string;
15
+ updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
+ role: string;
18
+ projectId: string;
19
+ tenantId: string;
17
20
  content: MessageContent;
21
+ conversationId: string;
18
22
  fromSubAgentId: string | null;
19
23
  toSubAgentId: string | null;
20
24
  fromExternalAgentId: string | null;
21
25
  toExternalAgentId: string | null;
22
- taskId: string | null;
23
- a2aTaskId: string | null;
24
- createdAt: string;
25
- updatedAt: string;
26
- role: string;
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
- tenantId: string;
148
- projectId: string;
149
147
  id: string;
148
+ createdAt: string;
149
+ updatedAt: string;
150
150
  metadata: MessageMetadata | null;
151
+ role: string;
152
+ projectId: string;
153
+ tenantId: string;
151
154
  content: MessageContent;
155
+ conversationId: string;
152
156
  fromSubAgentId: string | null;
153
157
  toSubAgentId: string | null;
154
158
  fromExternalAgentId: string | null;
155
159
  toExternalAgentId: string | null;
156
- taskId: string | null;
157
- a2aTaskId: string | null;
158
- createdAt: string;
159
- updatedAt: string;
160
- role: string;
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
- tenantId: string;
201
- projectId: string;
202
200
  id: string;
201
+ createdAt: string;
202
+ updatedAt: string;
203
203
  metadata: MessageMetadata | null;
204
+ role: string;
205
+ projectId: string;
206
+ tenantId: string;
204
207
  content: MessageContent;
208
+ conversationId: string;
205
209
  fromSubAgentId: string | null;
206
210
  toSubAgentId: string | null;
207
211
  fromExternalAgentId: string | null;
208
212
  toExternalAgentId: string | null;
209
- taskId: string | null;
210
- a2aTaskId: string | null;
211
- createdAt: string;
212
- updatedAt: string;
213
- role: string;
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
- tenantId: string;
19
18
  createdAt: string;
20
19
  userId: string;
20
+ tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,21 +7,21 @@ 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
- tenantId: string;
11
- projectId: string;
12
10
  id: string;
13
- metadata: TaskMetadataConfig | null;
14
- agentId: string;
15
- subAgentId: string;
16
- status: string;
11
+ createdAt: string;
12
+ updatedAt: string;
17
13
  ref: {
18
14
  type: "commit" | "tag" | "branch";
19
15
  name: string;
20
16
  hash: string;
21
17
  } | null;
22
- createdAt: string;
23
- updatedAt: string;
18
+ metadata: TaskMetadataConfig | null;
19
+ status: string;
20
+ agentId: string;
21
+ projectId: string;
22
+ tenantId: string;
24
23
  contextId: string;
24
+ subAgentId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
27
27
  id: string;
@@ -855,16 +855,16 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
855
855
  dataType: "json";
856
856
  columnType: "PgJsonb";
857
857
  data: {
858
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
859
- encoding: "base64" | "hex";
858
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
859
+ encoding: "hex" | "base64";
860
860
  signature: {
861
- source: "query" | "header" | "body";
861
+ source: "query" | "body" | "header";
862
862
  key: string;
863
863
  prefix?: string | undefined;
864
864
  regex?: string | undefined;
865
865
  };
866
866
  signedComponents: {
867
- source: "literal" | "header" | "body";
867
+ source: "literal" | "body" | "header";
868
868
  required: boolean;
869
869
  key?: string | undefined;
870
870
  value?: string | undefined;
@@ -892,16 +892,16 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
892
892
  generated: undefined;
893
893
  }, {}, {
894
894
  $type: {
895
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
896
- encoding: "base64" | "hex";
895
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
896
+ encoding: "hex" | "base64";
897
897
  signature: {
898
- source: "query" | "header" | "body";
898
+ source: "query" | "body" | "header";
899
899
  key: string;
900
900
  prefix?: string | undefined;
901
901
  regex?: string | undefined;
902
902
  };
903
903
  signedComponents: {
904
- source: "literal" | "header" | "body";
904
+ source: "literal" | "body" | "header";
905
905
  required: boolean;
906
906
  key?: string | undefined;
907
907
  value?: string | undefined;