@inkeep/agents-core 0.0.0-dev-20260310215636 → 0.0.0-dev-20260310235813

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 (29) 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 +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +3 -3
  6. package/dist/data-access/manage/agents.d.ts +21 -21
  7. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  8. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  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 +8 -8
  12. package/dist/data-access/manage/functionTools.d.ts +20 -20
  13. package/dist/data-access/manage/skills.d.ts +16 -16
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgents.d.ts +15 -15
  18. package/dist/data-access/manage/tools.d.ts +30 -30
  19. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  20. package/dist/data-access/runtime/apps.d.ts +8 -8
  21. package/dist/data-access/runtime/conversations.d.ts +24 -24
  22. package/dist/data-access/runtime/messages.d.ts +9 -9
  23. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  24. package/dist/data-access/runtime/tasks.d.ts +7 -7
  25. package/dist/db/manage/manage-schema.d.ts +357 -357
  26. package/dist/db/runtime/runtime-schema.d.ts +296 -296
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +2045 -2045
  29. package/package.json +1 -1
@@ -5,14 +5,14 @@ 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
- name: string;
9
8
  type: AppType;
10
- description: string | null;
11
- tenantId: string | null;
12
- projectId: string | null;
13
9
  id: string;
10
+ name: string;
14
11
  createdAt: string;
15
12
  updatedAt: string;
13
+ projectId: string | null;
14
+ tenantId: string | null;
15
+ description: string | null;
16
16
  enabled: boolean;
17
17
  config: {
18
18
  type: "web_client";
@@ -48,14 +48,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
48
48
  };
49
49
  }>;
50
50
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
51
- name: string;
52
51
  type: AppType;
53
- description: string | null;
54
- tenantId: string | null;
55
- projectId: string | null;
56
52
  id: string;
53
+ name: string;
57
54
  createdAt: string;
58
55
  updatedAt: string;
56
+ projectId: string | null;
57
+ tenantId: string | null;
58
+ description: string | null;
59
59
  enabled: boolean;
60
60
  config: {
61
61
  type: "web_client";
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
20
- tenantId: string;
21
- projectId: string;
22
- agentId: string | null;
23
19
  id: string;
24
20
  createdAt: string;
25
21
  updatedAt: string;
26
- metadata: ConversationMetadata | null;
27
- userId: string | null;
28
22
  ref: {
29
23
  type: "tag" | "commit" | "branch";
30
24
  name: string;
31
25
  hash: string;
32
26
  } | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
32
+ title: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
89
- tenantId: string;
90
- projectId: string;
91
- agentId: string | null;
92
88
  id: string;
93
89
  createdAt: string;
94
90
  updatedAt: string;
95
- metadata: ConversationMetadata | null;
96
- userId: string | null;
97
91
  ref: {
98
92
  type: "tag" | "commit" | "branch";
99
93
  name: string;
100
94
  hash: string;
101
95
  } | null;
96
+ userId: string | null;
97
+ metadata: ConversationMetadata | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
101
+ title: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
125
- tenantId: string;
126
- projectId: string;
127
- agentId: string | null;
128
124
  id: string;
129
125
  createdAt: string;
130
126
  updatedAt: string;
131
- metadata: ConversationMetadata | null;
132
- userId: string | null;
133
127
  ref: {
134
128
  type: "tag" | "commit" | "branch";
135
129
  name: string;
136
130
  hash: string;
137
131
  } | null;
132
+ userId: string | null;
133
+ metadata: ConversationMetadata | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
+ title: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
157
- tenantId: string;
158
- projectId: string;
159
- agentId: string | null;
160
156
  id: string;
161
157
  createdAt: string;
162
158
  updatedAt: string;
163
- metadata: ConversationMetadata | null;
164
- userId: string | null;
165
159
  ref: {
166
160
  type: "tag" | "commit" | "branch";
167
161
  name: string;
168
162
  hash: string;
169
163
  } | null;
164
+ userId: string | null;
165
+ metadata: ConversationMetadata | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
+ title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,15 +10,15 @@ 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;
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;
20
21
  conversationId: string;
21
- role: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -141,15 +141,15 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- tenantId: string;
145
- projectId: string;
146
144
  id: 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;
151
152
  conversationId: string;
152
- role: string;
153
153
  fromSubAgentId: string | null;
154
154
  toSubAgentId: string | null;
155
155
  fromExternalAgentId: string | null;
@@ -194,15 +194,15 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- tenantId: string;
198
- projectId: string;
199
197
  id: 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;
204
205
  conversationId: string;
205
- role: string;
206
206
  fromSubAgentId: string | null;
207
207
  toSubAgentId: string | null;
208
208
  fromExternalAgentId: string | null;
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
37
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
38
38
  scheduledFor: string;
39
39
  startedAt: string | null;
40
40
  completedAt: string | null;
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
174
  }) => Promise<{
175
175
  data: {
176
176
  scheduledTriggerId: string;
177
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
177
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
178
178
  scheduledFor: string;
179
179
  startedAt: string | null;
180
180
  completedAt: string | null;
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
208
  }) => Promise<{
209
209
  data: {
210
210
  scheduledTriggerId: string;
211
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
211
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
6
6
 
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
- tenantId: string;
10
- projectId: string;
11
- agentId: string;
12
- subAgentId: string;
13
9
  id: string;
14
10
  createdAt: string;
15
11
  updatedAt: string;
16
- metadata: TaskMetadataConfig | null;
17
- status: string;
18
- contextId: string;
19
12
  ref: {
20
13
  type: "tag" | "commit" | "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
+ subAgentId: string;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;