@inkeep/agents-core 0.0.0-dev-20260311020811 → 0.0.0-dev-20260311032321

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 (30) 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 +3 -3
  6. package/dist/data-access/manage/agents.d.ts +43 -43
  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/dataComponents.d.ts +6 -6
  10. package/dist/data-access/manage/functionTools.d.ts +16 -16
  11. package/dist/data-access/manage/skills.d.ts +14 -14
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgents.d.ts +21 -21
  16. package/dist/data-access/manage/tools.d.ts +24 -24
  17. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  18. package/dist/data-access/runtime/apps.d.ts +8 -8
  19. package/dist/data-access/runtime/conversations.d.ts +31 -31
  20. package/dist/data-access/runtime/messages.d.ts +9 -9
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  22. package/dist/data-access/runtime/tasks.d.ts +8 -8
  23. package/dist/db/manage/manage-schema.d.ts +357 -357
  24. package/dist/db/runtime/runtime-schema.d.ts +304 -304
  25. package/dist/utils/error.d.ts +51 -51
  26. package/dist/validation/dolt-schemas.d.ts +1 -1
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +2055 -2055
  29. package/dist/validation/schemas.js +7 -1
  30. package/package.json +2 -2
@@ -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;
20
24
  createdAt: string;
21
25
  updatedAt: string;
26
+ metadata: ConversationMetadata | null;
27
+ userId: string | null;
22
28
  ref: {
23
- type: "tag" | "commit" | "branch";
29
+ type: "commit" | "tag" | "branch";
24
30
  name: string;
25
31
  hash: string;
26
32
  } | 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
  }>;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "tag" | "commit" | "branch";
47
+ type: "commit" | "tag" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "tag" | "commit" | "branch";
73
+ type: "commit" | "tag" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -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;
89
93
  createdAt: string;
90
94
  updatedAt: string;
95
+ metadata: ConversationMetadata | null;
96
+ userId: string | null;
91
97
  ref: {
92
- type: "tag" | "commit" | "branch";
98
+ type: "commit" | "tag" | "branch";
93
99
  name: string;
94
100
  hash: string;
95
101
  } | 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>;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "tag" | "commit" | "branch";
111
+ type: "commit" | "tag" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -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;
125
129
  createdAt: string;
126
130
  updatedAt: string;
131
+ metadata: ConversationMetadata | null;
132
+ userId: string | null;
127
133
  ref: {
128
- type: "tag" | "commit" | "branch";
134
+ type: "commit" | "tag" | "branch";
129
135
  name: string;
130
136
  hash: string;
131
137
  } | 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
  }>;
@@ -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;
157
161
  createdAt: string;
158
162
  updatedAt: string;
163
+ metadata: ConversationMetadata | null;
164
+ userId: string | null;
159
165
  ref: {
160
- type: "tag" | "commit" | "branch";
166
+ type: "commit" | "tag" | "branch";
161
167
  name: string;
162
168
  hash: string;
163
169
  } | 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>;
@@ -11,14 +11,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
+ tenantId: string;
15
+ projectId: string;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
18
  metadata: MessageMetadata | null;
17
- role: string;
18
- projectId: string;
19
- tenantId: string;
20
19
  content: MessageContent;
21
20
  conversationId: string;
21
+ role: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -142,14 +142,14 @@ 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;
145
147
  createdAt: string;
146
148
  updatedAt: string;
147
149
  metadata: MessageMetadata | null;
148
- role: string;
149
- projectId: string;
150
- tenantId: string;
151
150
  content: MessageContent;
152
151
  conversationId: string;
152
+ role: string;
153
153
  fromSubAgentId: string | null;
154
154
  toSubAgentId: string | null;
155
155
  fromExternalAgentId: string | null;
@@ -195,14 +195,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  id: string;
198
+ tenantId: string;
199
+ projectId: string;
198
200
  createdAt: string;
199
201
  updatedAt: string;
200
202
  metadata: MessageMetadata | null;
201
- role: string;
202
- projectId: string;
203
- tenantId: string;
204
203
  content: MessageContent;
205
204
  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" | "running" | "completed" | "failed" | "cancelled";
37
+ status: "pending" | "failed" | "running" | "completed" | "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" | "running" | "completed" | "failed" | "cancelled";
177
+ status: "pending" | "failed" | "running" | "completed" | "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" | "running" | "completed" | "failed" | "cancelled";
211
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -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;
10
13
  createdAt: string;
11
14
  updatedAt: string;
15
+ metadata: TaskMetadataConfig | null;
16
+ status: string;
17
+ contextId: string;
12
18
  ref: {
13
- type: "tag" | "commit" | "branch";
19
+ type: "commit" | "tag" | "branch";
14
20
  name: string;
15
21
  hash: string;
16
22
  } | null;
17
- metadata: TaskMetadataConfig | null;
18
- status: string;
19
- agentId: string;
20
- projectId: string;
21
- tenantId: string;
22
23
  subAgentId: string;
23
- contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;