@inkeep/agents-core 0.0.0-dev-20260320171843 → 0.0.0-dev-20260320191205

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.
@@ -10,13 +10,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ metadata: MessageMetadata | null;
14
+ role: string;
13
15
  id: string;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
- projectId: string;
19
18
  tenantId: string;
19
+ projectId: string;
20
20
  content: MessageContent;
21
21
  conversationId: string;
22
22
  fromSubAgentId: string | null;
@@ -144,13 +144,13 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
+ metadata: MessageMetadata | null;
148
+ role: string;
147
149
  id: string;
148
150
  createdAt: string;
149
151
  updatedAt: string;
150
- metadata: MessageMetadata | null;
151
- role: string;
152
- projectId: string;
153
152
  tenantId: string;
153
+ projectId: string;
154
154
  content: MessageContent;
155
155
  conversationId: string;
156
156
  fromSubAgentId: string | null;
@@ -197,13 +197,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
+ metadata: MessageMetadata | null;
201
+ role: string;
200
202
  id: string;
201
203
  createdAt: string;
202
204
  updatedAt: string;
203
- metadata: MessageMetadata | null;
204
- role: string;
205
- projectId: string;
206
205
  tenantId: string;
206
+ projectId: string;
207
207
  content: MessageContent;
208
208
  conversationId: string;
209
209
  fromSubAgentId: string | null;
@@ -35,11 +35,11 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
37
  ref: {
38
- type: "tag" | "commit" | "branch";
38
+ type: "commit" | "tag" | "branch";
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
42
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
43
  scheduledFor: string;
44
44
  startedAt: string | null;
45
45
  completedAt: string | null;
@@ -189,11 +189,11 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
189
189
  data: {
190
190
  scheduledTriggerId: string;
191
191
  ref: {
192
- type: "tag" | "commit" | "branch";
192
+ type: "commit" | "tag" | "branch";
193
193
  name: string;
194
194
  hash: string;
195
195
  } | null;
196
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
196
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
197
  scheduledFor: string;
198
198
  startedAt: string | null;
199
199
  completedAt: string | null;
@@ -228,11 +228,11 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
228
228
  data: {
229
229
  scheduledTriggerId: string;
230
230
  ref: {
231
- type: "tag" | "commit" | "branch";
231
+ type: "commit" | "tag" | "branch";
232
232
  name: string;
233
233
  hash: string;
234
234
  } | null;
235
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
235
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
236
  scheduledFor: string;
237
237
  startedAt: string | null;
238
238
  completedAt: string | null;
@@ -7,19 +7,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
+ metadata: TaskMetadataConfig | null;
10
11
  id: string;
11
12
  createdAt: string;
13
+ status: string;
12
14
  updatedAt: string;
13
15
  ref: {
14
- type: "tag" | "commit" | "branch";
16
+ type: "commit" | "tag" | "branch";
15
17
  name: string;
16
18
  hash: string;
17
19
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- agentId: string;
21
- projectId: string;
22
20
  tenantId: string;
21
+ projectId: string;
22
+ agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
@@ -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;
@@ -29,7 +29,7 @@ declare const listTriggerInvocationsPaginated: (db: AgentsRunDatabaseClient) =>
29
29
  triggerId: string;
30
30
  conversationId: string | null;
31
31
  ref: {
32
- type: "tag" | "commit" | "branch";
32
+ type: "commit" | "tag" | "branch";
33
33
  name: string;
34
34
  hash: string;
35
35
  } | null;
@@ -814,7 +814,7 @@ declare const triggers: drizzle_orm_pg_core220.PgTableWithColumns<{
814
814
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
815
815
  encoding: "hex" | "base64";
816
816
  signature: {
817
- source: "query" | "body" | "header";
817
+ source: "body" | "query" | "header";
818
818
  key: string;
819
819
  prefix?: string | undefined;
820
820
  regex?: string | undefined;
@@ -851,7 +851,7 @@ declare const triggers: drizzle_orm_pg_core220.PgTableWithColumns<{
851
851
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
852
852
  encoding: "hex" | "base64";
853
853
  signature: {
854
- source: "query" | "body" | "header";
854
+ source: "body" | "query" | "header";
855
855
  key: string;
856
856
  prefix?: string | undefined;
857
857
  regex?: string | undefined;
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core576.PgTableWithColumns<{
216
216
  dataType: "json";
217
217
  columnType: "PgJsonb";
218
218
  data: {
219
- type: "tag" | "commit" | "branch";
219
+ type: "commit" | "tag" | "branch";
220
220
  name: string;
221
221
  hash: string;
222
222
  };
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core576.PgTableWithColumns<{
232
232
  generated: undefined;
233
233
  }, {}, {
234
234
  $type: {
235
- type: "tag" | "commit" | "branch";
235
+ type: "commit" | "tag" | "branch";
236
236
  name: string;
237
237
  hash: string;
238
238
  };
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core576.PgTableWithColumns<{
413
413
  dataType: "json";
414
414
  columnType: "PgJsonb";
415
415
  data: {
416
- type: "tag" | "commit" | "branch";
416
+ type: "commit" | "tag" | "branch";
417
417
  name: string;
418
418
  hash: string;
419
419
  };
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core576.PgTableWithColumns<{
429
429
  generated: undefined;
430
430
  }, {}, {
431
431
  $type: {
432
- type: "tag" | "commit" | "branch";
432
+ type: "commit" | "tag" | "branch";
433
433
  name: string;
434
434
  hash: string;
435
435
  };
@@ -1113,7 +1113,7 @@ declare const triggerInvocations: drizzle_orm_pg_core576.PgTableWithColumns<{
1113
1113
  dataType: "json";
1114
1114
  columnType: "PgJsonb";
1115
1115
  data: {
1116
- type: "tag" | "commit" | "branch";
1116
+ type: "commit" | "tag" | "branch";
1117
1117
  name: string;
1118
1118
  hash: string;
1119
1119
  };
@@ -1129,7 +1129,7 @@ declare const triggerInvocations: drizzle_orm_pg_core576.PgTableWithColumns<{
1129
1129
  generated: undefined;
1130
1130
  }, {}, {
1131
1131
  $type: {
1132
- type: "tag" | "commit" | "branch";
1132
+ type: "commit" | "tag" | "branch";
1133
1133
  name: string;
1134
1134
  hash: string;
1135
1135
  };
@@ -2137,7 +2137,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core576.PgTableWithCol
2137
2137
  dataType: "json";
2138
2138
  columnType: "PgJsonb";
2139
2139
  data: {
2140
- type: "tag" | "commit" | "branch";
2140
+ type: "commit" | "tag" | "branch";
2141
2141
  name: string;
2142
2142
  hash: string;
2143
2143
  };
@@ -2153,7 +2153,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core576.PgTableWithCol
2153
2153
  generated: undefined;
2154
2154
  }, {}, {
2155
2155
  $type: {
2156
- type: "tag" | "commit" | "branch";
2156
+ type: "commit" | "tag" | "branch";
2157
2157
  name: string;
2158
2158
  hash: string;
2159
2159
  };
@@ -2163,7 +2163,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core576.PgTableWithCol
2163
2163
  tableName: "scheduled_trigger_invocations";
2164
2164
  dataType: "string";
2165
2165
  columnType: "PgVarchar";
2166
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
2166
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
2167
2167
  driverParam: string;
2168
2168
  notNull: true;
2169
2169
  hasDefault: false;
@@ -2176,7 +2176,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core576.PgTableWithCol
2176
2176
  generated: undefined;
2177
2177
  }, {}, {
2178
2178
  length: 50;
2179
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
2179
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
2180
2180
  }>;
2181
2181
  scheduledFor: drizzle_orm_pg_core576.PgColumn<{
2182
2182
  name: "scheduled_for";
@@ -3398,7 +3398,7 @@ declare const contextCache: drizzle_orm_pg_core576.PgTableWithColumns<{
3398
3398
  dataType: "json";
3399
3399
  columnType: "PgJsonb";
3400
3400
  data: {
3401
- type: "tag" | "commit" | "branch";
3401
+ type: "commit" | "tag" | "branch";
3402
3402
  name: string;
3403
3403
  hash: string;
3404
3404
  };
@@ -3414,7 +3414,7 @@ declare const contextCache: drizzle_orm_pg_core576.PgTableWithColumns<{
3414
3414
  generated: undefined;
3415
3415
  }, {}, {
3416
3416
  $type: {
3417
- type: "tag" | "commit" | "branch";
3417
+ type: "commit" | "tag" | "branch";
3418
3418
  name: string;
3419
3419
  hash: string;
3420
3420
  };
@@ -3661,7 +3661,7 @@ declare const datasetRun: drizzle_orm_pg_core576.PgTableWithColumns<{
3661
3661
  dataType: "json";
3662
3662
  columnType: "PgJsonb";
3663
3663
  data: {
3664
- type: "tag" | "commit" | "branch";
3664
+ type: "commit" | "tag" | "branch";
3665
3665
  name: string;
3666
3666
  hash: string;
3667
3667
  };
@@ -3677,7 +3677,7 @@ declare const datasetRun: drizzle_orm_pg_core576.PgTableWithColumns<{
3677
3677
  generated: undefined;
3678
3678
  }, {}, {
3679
3679
  $type: {
3680
- type: "tag" | "commit" | "branch";
3680
+ type: "commit" | "tag" | "branch";
3681
3681
  name: string;
3682
3682
  hash: string;
3683
3683
  };
@@ -3991,7 +3991,7 @@ declare const evaluationRun: drizzle_orm_pg_core576.PgTableWithColumns<{
3991
3991
  dataType: "json";
3992
3992
  columnType: "PgJsonb";
3993
3993
  data: {
3994
- type: "tag" | "commit" | "branch";
3994
+ type: "commit" | "tag" | "branch";
3995
3995
  name: string;
3996
3996
  hash: string;
3997
3997
  };
@@ -4007,7 +4007,7 @@ declare const evaluationRun: drizzle_orm_pg_core576.PgTableWithColumns<{
4007
4007
  generated: undefined;
4008
4008
  }, {}, {
4009
4009
  $type: {
4010
- type: "tag" | "commit" | "branch";
4010
+ type: "commit" | "tag" | "branch";
4011
4011
  name: string;
4012
4012
  hash: string;
4013
4013
  };
@@ -4486,7 +4486,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core576.PgTableWithColu
4486
4486
  tableName: "work_app_github_installations";
4487
4487
  dataType: "string";
4488
4488
  columnType: "PgVarchar";
4489
- data: "User" | "Organization";
4489
+ data: "Organization" | "User";
4490
4490
  driverParam: string;
4491
4491
  notNull: true;
4492
4492
  hasDefault: false;
@@ -4499,7 +4499,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core576.PgTableWithColu
4499
4499
  generated: undefined;
4500
4500
  }, {}, {
4501
4501
  length: 20;
4502
- $type: "User" | "Organization";
4502
+ $type: "Organization" | "User";
4503
4503
  }>;
4504
4504
  status: drizzle_orm_pg_core576.PgColumn<{
4505
4505
  name: "status";
@@ -32,8 +32,8 @@ declare const BranchNameParamsSchema: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ResolvedRefSchema: z.ZodObject<{
34
34
  type: z.ZodEnum<{
35
- tag: "tag";
36
35
  commit: "commit";
36
+ tag: "tag";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;