@inkeep/agents-core 0.58.8 → 0.58.9

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 (31) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/data-access/manage/agents.d.ts +40 -40
  7. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  8. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  9. package/dist/data-access/manage/credentialReferences.d.ts +3 -1
  10. package/dist/data-access/manage/credentialReferences.js +25 -4
  11. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  12. package/dist/data-access/manage/functionTools.d.ts +18 -18
  13. package/dist/data-access/manage/skills.d.ts +14 -14
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  17. package/dist/data-access/manage/subAgents.d.ts +24 -24
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/triggers.d.ts +2 -2
  20. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  21. package/dist/data-access/runtime/apps.d.ts +8 -8
  22. package/dist/data-access/runtime/conversations.d.ts +24 -24
  23. package/dist/data-access/runtime/messages.d.ts +18 -18
  24. package/dist/data-access/runtime/tasks.d.ts +7 -7
  25. package/dist/db/manage/manage-schema.d.ts +453 -453
  26. package/dist/db/runtime/runtime-schema.d.ts +324 -324
  27. package/dist/middleware/no-auth.d.ts +2 -2
  28. package/dist/utils/error.d.ts +51 -51
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/schemas.d.ts +2176 -2176
  31. package/package.json +1 -1
@@ -17,19 +17,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
- tenantId: string;
21
- projectId: string;
22
- agentId: string | null;
23
- title: string | null;
24
20
  createdAt: string;
25
21
  updatedAt: string;
26
- metadata: ConversationMetadata | null;
27
- userId: string | null;
28
22
  ref: {
29
23
  type: "commit" | "tag" | "branch";
30
24
  name: string;
31
25
  hash: string;
32
26
  } | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
29
+ title: string | null;
30
+ agentId: string | null;
31
+ projectId: string;
32
+ tenantId: string;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -86,19 +86,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
88
  id: string;
89
- tenantId: string;
90
- projectId: string;
91
- agentId: string | null;
92
- title: string | null;
93
89
  createdAt: string;
94
90
  updatedAt: string;
95
- metadata: ConversationMetadata | null;
96
- userId: string | null;
97
91
  ref: {
98
92
  type: "commit" | "tag" | "branch";
99
93
  name: string;
100
94
  hash: string;
101
95
  } | null;
96
+ userId: string | null;
97
+ metadata: ConversationMetadata | null;
98
+ title: string | null;
99
+ agentId: string | null;
100
+ projectId: string;
101
+ tenantId: string;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -122,19 +122,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
124
  id: string;
125
- tenantId: string;
126
- projectId: string;
127
- agentId: string | null;
128
- title: string | null;
129
125
  createdAt: string;
130
126
  updatedAt: string;
131
- metadata: ConversationMetadata | null;
132
- userId: string | null;
133
127
  ref: {
134
128
  type: "commit" | "tag" | "branch";
135
129
  name: string;
136
130
  hash: string;
137
131
  } | null;
132
+ userId: string | null;
133
+ metadata: ConversationMetadata | null;
134
+ title: string | null;
135
+ agentId: string | null;
136
+ projectId: string;
137
+ tenantId: string;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -154,19 +154,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
156
  id: string;
157
- tenantId: string;
158
- projectId: string;
159
- agentId: string | null;
160
- title: string | null;
161
157
  createdAt: string;
162
158
  updatedAt: string;
163
- metadata: ConversationMetadata | null;
164
- userId: string | null;
165
159
  ref: {
166
160
  type: "commit" | "tag" | "branch";
167
161
  name: string;
168
162
  hash: string;
169
163
  } | null;
164
+ userId: string | null;
165
+ metadata: ConversationMetadata | null;
166
+ title: string | null;
167
+ agentId: string | null;
168
+ projectId: string;
169
+ tenantId: string;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
- tenantId: string;
15
- projectId: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
18
16
  metadata: MessageMetadata | null;
17
+ role: string;
18
+ projectId: string;
19
+ tenantId: string;
19
20
  content: MessageContent;
21
+ conversationId: string;
20
22
  fromSubAgentId: string | null;
21
23
  toSubAgentId: string | null;
22
24
  fromExternalAgentId: string | null;
23
25
  toExternalAgentId: string | null;
24
- taskId: string | null;
25
- a2aTaskId: string | 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: {
@@ -142,25 +142,25 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
144
  id: string;
145
- tenantId: string;
146
- projectId: string;
147
145
  createdAt: string;
148
146
  updatedAt: string;
149
147
  metadata: MessageMetadata | null;
148
+ role: string;
149
+ projectId: string;
150
+ tenantId: string;
150
151
  content: MessageContent;
152
+ conversationId: string;
151
153
  fromSubAgentId: string | null;
152
154
  toSubAgentId: string | null;
153
155
  fromExternalAgentId: string | null;
154
156
  toExternalAgentId: string | null;
155
- taskId: string | null;
156
- a2aTaskId: string | 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: {
@@ -195,25 +195,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  id: string;
198
- tenantId: string;
199
- projectId: string;
200
198
  createdAt: string;
201
199
  updatedAt: string;
202
200
  metadata: MessageMetadata | null;
201
+ role: string;
202
+ projectId: string;
203
+ tenantId: string;
203
204
  content: MessageContent;
205
+ conversationId: string;
204
206
  fromSubAgentId: string | null;
205
207
  toSubAgentId: string | null;
206
208
  fromExternalAgentId: string | null;
207
209
  toExternalAgentId: string | null;
208
- taskId: string | null;
209
- a2aTaskId: string | 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: {
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  id: string;
10
- tenantId: string;
11
- projectId: string;
12
- agentId: string;
13
10
  createdAt: string;
14
11
  updatedAt: string;
15
- metadata: TaskMetadataConfig | null;
16
- subAgentId: string;
17
- status: string;
18
- contextId: string;
19
12
  ref: {
20
13
  type: "commit" | "tag" | "branch";
21
14
  name: string;
22
15
  hash: string;
23
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
18
+ status: string;
19
+ agentId: string;
20
+ projectId: string;
21
+ tenantId: string;
22
+ contextId: string;
23
+ subAgentId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;