@inkeep/agents-core 0.58.19 → 0.58.20

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 (33) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +17 -17
  2. package/dist/auth/auth.d.ts +28 -28
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  5. package/dist/data-access/manage/tools.js +4 -2
  6. package/dist/data-access/runtime/cascade-delete.d.ts +4 -0
  7. package/dist/data-access/runtime/cascade-delete.js +27 -1
  8. package/dist/data-access/runtime/conversations.d.ts +7 -7
  9. package/dist/data-access/runtime/messages.d.ts +9 -9
  10. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +18 -3
  11. package/dist/data-access/runtime/tasks.d.ts +2 -2
  12. package/dist/data-access/runtime/triggerInvocations.d.ts +5 -0
  13. package/dist/db/manage/manage-schema.d.ts +449 -449
  14. package/dist/db/runtime/runtime-schema.d.ts +440 -332
  15. package/dist/db/runtime/runtime-schema.js +4 -0
  16. package/dist/env.js +7 -0
  17. package/dist/index.d.ts +3 -1
  18. package/dist/index.js +3 -1
  19. package/dist/middleware/no-auth.d.ts +2 -2
  20. package/dist/utils/env-detection.d.ts +6 -0
  21. package/dist/utils/env-detection.js +13 -0
  22. package/dist/utils/index.d.ts +3 -1
  23. package/dist/utils/index.js +3 -1
  24. package/dist/utils/work-app-mcp.d.ts +8 -0
  25. package/dist/utils/work-app-mcp.js +18 -0
  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 +2202 -3990
  29. package/dist/validation/schemas.js +7 -6
  30. package/drizzle/runtime/0023_bumpy_vampiro.sql +4 -0
  31. package/drizzle/runtime/meta/0023_snapshot.json +4264 -0
  32. package/drizzle/runtime/meta/_journal.json +7 -0
  33. package/package.json +1 -1
@@ -34,7 +34,12 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
37
+ ref: {
38
+ type: "commit" | "tag" | "branch";
39
+ name: string;
40
+ hash: string;
41
+ } | null;
42
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
38
43
  scheduledFor: string;
39
44
  startedAt: string | null;
40
45
  completedAt: string | null;
@@ -174,7 +179,12 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
179
  }) => Promise<{
175
180
  data: {
176
181
  scheduledTriggerId: string;
177
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
182
+ ref: {
183
+ type: "commit" | "tag" | "branch";
184
+ name: string;
185
+ hash: string;
186
+ } | null;
187
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
178
188
  scheduledFor: string;
179
189
  startedAt: string | null;
180
190
  completedAt: string | null;
@@ -208,7 +218,12 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
218
  }) => Promise<{
209
219
  data: {
210
220
  scheduledTriggerId: string;
211
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
221
+ ref: {
222
+ type: "commit" | "tag" | "branch";
223
+ name: string;
224
+ hash: string;
225
+ } | null;
226
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
212
227
  scheduledFor: string;
213
228
  startedAt: string | null;
214
229
  completedAt: string | null;
@@ -15,7 +15,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
15
15
  updatedAt: string;
16
16
  metadata: TaskMetadataConfig | null;
17
17
  ref: {
18
- type: "tag" | "commit" | "branch";
18
+ type: "commit" | "tag" | "branch";
19
19
  name: string;
20
20
  hash: string;
21
21
  } | null;
@@ -39,7 +39,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
39
39
  updatedAt: string;
40
40
  contextId: string;
41
41
  ref: {
42
- type: "tag" | "commit" | "branch";
42
+ type: "commit" | "tag" | "branch";
43
43
  name: string;
44
44
  hash: string;
45
45
  } | null;
@@ -28,6 +28,11 @@ declare const listTriggerInvocationsPaginated: (db: AgentsRunDatabaseClient) =>
28
28
  data: {
29
29
  triggerId: string;
30
30
  conversationId: string | null;
31
+ ref: {
32
+ type: "commit" | "tag" | "branch";
33
+ name: string;
34
+ hash: string;
35
+ } | null;
31
36
  status: string;
32
37
  requestPayload: unknown;
33
38
  transformedPayload: unknown;