@inkeep/agents-core 0.68.3 → 0.68.4

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 (28) hide show
  1. package/dist/auth/auth-schema.d.ts +227 -227
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +27 -27
  5. package/dist/data-access/manage/artifactComponents.d.ts +2 -2
  6. package/dist/data-access/manage/functionTools.d.ts +4 -4
  7. package/dist/data-access/manage/skills.d.ts +7 -7
  8. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  9. package/dist/data-access/manage/subAgentRelations.d.ts +4 -4
  10. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  11. package/dist/data-access/manage/subAgents.d.ts +21 -21
  12. package/dist/data-access/manage/tools.d.ts +15 -15
  13. package/dist/data-access/manage/triggers.d.ts +5 -5
  14. package/dist/data-access/runtime/apiKeys.d.ts +4 -4
  15. package/dist/data-access/runtime/apps.d.ts +11 -11
  16. package/dist/data-access/runtime/conversations.d.ts +24 -24
  17. package/dist/data-access/runtime/feedback.d.ts +2 -2
  18. package/dist/data-access/runtime/messages.d.ts +9 -9
  19. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  20. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  21. package/dist/data-access/runtime/tasks.d.ts +5 -5
  22. package/dist/db/manage/manage-schema.d.ts +461 -461
  23. package/dist/db/runtime/runtime-schema.d.ts +423 -423
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  26. package/dist/validation/schemas/skills.d.ts +32 -32
  27. package/dist/validation/schemas.d.ts +2123 -2123
  28. package/package.json +1 -1
@@ -37,16 +37,16 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
- encoding: "base64" | "hex";
40
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
+ encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -132,10 +132,10 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
132
132
  userId: string;
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
- userId: string;
136
135
  tenantId: string;
137
136
  projectId: string;
138
137
  agentId: string;
138
+ userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -12,10 +12,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- expiresAt: string | null;
16
15
  tenantId: string;
17
16
  projectId: string;
18
17
  agentId: string;
18
+ expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
21
21
  keyPrefix: string;
@@ -26,10 +26,10 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- expiresAt: string | null;
30
29
  tenantId: string;
31
30
  projectId: string;
32
31
  agentId: string;
32
+ expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
35
35
  keyPrefix: string;
@@ -43,10 +43,10 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- expiresAt: string | null;
47
46
  tenantId: string;
48
47
  projectId: string;
49
48
  agentId: string;
49
+ expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
52
52
  keyPrefix: string;
@@ -70,10 +70,10 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- expiresAt: string | null;
74
73
  tenantId: string;
75
74
  projectId: string;
76
75
  agentId: string;
76
+ expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
79
79
  keyPrefix: 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;
9
8
  id: string;
10
9
  name: string;
10
+ description: string | null;
11
+ type: AppType;
11
12
  createdAt: string;
12
13
  updatedAt: string;
13
- description: string | null;
14
- enabled: boolean;
15
- prompt: string | null;
16
14
  tenantId: string | null;
17
15
  projectId: string | null;
16
+ enabled: boolean;
17
+ prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -22,7 +22,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
22
22
  publicKeys: {
23
23
  kid: string;
24
24
  publicKey: string;
25
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
25
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
26
26
  addedAt: string;
27
27
  }[];
28
28
  allowAnonymous: boolean;
@@ -66,16 +66,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
69
- type: AppType;
70
69
  id: string;
71
70
  name: string;
71
+ description: string | null;
72
+ type: AppType;
72
73
  createdAt: string;
73
74
  updatedAt: string;
74
- description: string | null;
75
- enabled: boolean;
76
- prompt: string | null;
77
75
  tenantId: string | null;
78
76
  projectId: string | null;
77
+ enabled: boolean;
78
+ prompt: string | null;
79
79
  config: {
80
80
  type: "web_client";
81
81
  webClient: {
@@ -83,7 +83,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
83
83
  publicKeys: {
84
84
  kid: string;
85
85
  publicKey: string;
86
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
86
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
87
87
  addedAt: string;
88
88
  }[];
89
89
  allowAnonymous: boolean;
@@ -158,7 +158,7 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
158
158
  publicKeys: {
159
159
  kid: string;
160
160
  publicKey: string;
161
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
161
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
162
162
  addedAt: string;
163
163
  }[];
164
164
  allowAnonymous: boolean;
@@ -16,19 +16,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  id: string;
19
+ title: string | null;
19
20
  createdAt: string;
20
21
  updatedAt: string;
22
+ tenantId: string;
23
+ metadata: ConversationMetadata | null;
24
+ projectId: string;
25
+ agentId: string | null;
26
+ userId: string | null;
21
27
  ref: {
22
28
  type: "commit" | "tag" | "branch";
23
29
  name: string;
24
30
  hash: string;
25
31
  } | null;
26
- userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- title: string | null;
29
- tenantId: string;
30
- projectId: string;
31
- agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -85,19 +85,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  id: string;
88
+ title: string | null;
88
89
  createdAt: string;
89
90
  updatedAt: string;
91
+ tenantId: string;
92
+ metadata: ConversationMetadata | null;
93
+ projectId: string;
94
+ agentId: string | null;
95
+ userId: string | null;
90
96
  ref: {
91
97
  type: "commit" | "tag" | "branch";
92
98
  name: string;
93
99
  hash: string;
94
100
  } | null;
95
- userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- title: string | null;
98
- tenantId: string;
99
- projectId: string;
100
- agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -121,19 +121,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  id: string;
124
+ title: string | null;
124
125
  createdAt: string;
125
126
  updatedAt: string;
127
+ tenantId: string;
128
+ metadata: ConversationMetadata | null;
129
+ projectId: string;
130
+ agentId: string | null;
131
+ userId: string | null;
126
132
  ref: {
127
133
  type: "commit" | "tag" | "branch";
128
134
  name: string;
129
135
  hash: string;
130
136
  } | null;
131
- userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- title: string | null;
134
- tenantId: string;
135
- projectId: string;
136
- agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -153,19 +153,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
+ title: string | null;
156
157
  createdAt: string;
157
158
  updatedAt: string;
159
+ tenantId: string;
160
+ metadata: ConversationMetadata | null;
161
+ projectId: string;
162
+ agentId: string | null;
163
+ userId: string | null;
158
164
  ref: {
159
165
  type: "commit" | "tag" | "branch";
160
166
  name: string;
161
167
  hash: string;
162
168
  } | null;
163
- userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- title: string | null;
166
- tenantId: string;
167
- projectId: string;
168
- agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -58,8 +58,8 @@ 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
61
  id: string;
62
+ type: "positive" | "negative";
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
65
  tenantId: string;
@@ -87,8 +87,8 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
- type: "positive" | "negative";
91
90
  id: string;
91
+ type: "positive" | "negative";
92
92
  createdAt: string;
93
93
  updatedAt: string;
94
94
  tenantId: string;
@@ -13,11 +13,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
16
  tenantId: string;
19
- projectId: string;
17
+ metadata: MessageMetadata | null;
20
18
  content: MessageContent;
19
+ projectId: string;
20
+ role: string;
21
21
  conversationId: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
@@ -147,11 +147,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
147
147
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
- metadata: MessageMetadata | null;
151
- role: string;
152
150
  tenantId: string;
153
- projectId: string;
151
+ metadata: MessageMetadata | null;
154
152
  content: MessageContent;
153
+ projectId: string;
154
+ role: string;
155
155
  conversationId: string;
156
156
  fromSubAgentId: string | null;
157
157
  toSubAgentId: string | null;
@@ -200,11 +200,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
200
200
  id: string;
201
201
  createdAt: string;
202
202
  updatedAt: string;
203
- metadata: MessageMetadata | null;
204
- role: string;
205
203
  tenantId: string;
206
- projectId: string;
204
+ metadata: MessageMetadata | null;
207
205
  content: MessageContent;
206
+ projectId: string;
207
+ role: string;
208
208
  conversationId: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: 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" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
202
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
242
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
295
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
16
16
  userId: string;
17
17
  }) => Promise<{
18
18
  createdAt: string;
19
- userId: string;
20
19
  tenantId: string;
20
+ userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -10,17 +10,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  id: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
+ tenantId: string;
14
+ metadata: TaskMetadataConfig | null;
15
+ projectId: string;
16
+ agentId: string;
17
+ subAgentId: string;
13
18
  ref: {
14
19
  type: "commit" | "tag" | "branch";
15
20
  name: string;
16
21
  hash: string;
17
22
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
23
  status: string;
20
- tenantId: string;
21
- projectId: string;
22
- agentId: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {