@inkeep/agents-core 0.0.0-dev-20260217234908 → 0.0.0-dev-20260218021702

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 +83 -83
  2. package/dist/auth/auth-validation-schemas.d.ts +148 -148
  3. package/dist/auth/auth.d.ts +22 -22
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +1 -1
  6. package/dist/constants/models.d.ts +1 -0
  7. package/dist/constants/models.js +1 -0
  8. package/dist/data-access/manage/agents.d.ts +21 -21
  9. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  10. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  11. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  12. package/dist/data-access/manage/functionTools.d.ts +10 -10
  13. package/dist/data-access/manage/skills.d.ts +12 -12
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  17. package/dist/data-access/manage/subAgents.d.ts +15 -15
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/triggers.d.ts +2 -2
  20. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  21. package/dist/data-access/runtime/conversations.d.ts +23 -23
  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 +6 -6
  25. package/dist/db/manage/manage-schema.d.ts +4 -4
  26. package/dist/db/runtime/runtime-schema.d.ts +10 -10
  27. package/dist/validation/dolt-schemas.d.ts +1 -1
  28. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  29. package/dist/validation/schemas.d.ts +1707 -1707
  30. package/package.json +1 -1
@@ -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;
20
- createdAt: string;
21
- updatedAt: string;
22
19
  tenantId: string;
23
20
  projectId: string;
24
21
  agentId: string | null;
25
- userId: string | null;
22
+ title: string | null;
23
+ createdAt: string;
24
+ updatedAt: string;
26
25
  metadata: ConversationMetadata | null;
27
26
  ref: {
28
- type: "commit" | "tag" | "branch";
27
+ type: "tag" | "commit" | "branch";
29
28
  name: string;
30
29
  hash: string;
31
30
  } | null;
31
+ userId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "commit" | "tag" | "branch";
46
+ type: "tag" | "commit" | "branch";
47
47
  name: string;
48
48
  hash: string;
49
49
  } | null;
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
69
69
  agentId: string | null;
70
70
  activeSubAgentId: string;
71
71
  ref: {
72
- type: "commit" | "tag" | "branch";
72
+ type: "tag" | "commit" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -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;
89
- createdAt: string;
90
- updatedAt: string;
91
88
  tenantId: string;
92
89
  projectId: string;
93
90
  agentId: string | null;
94
- userId: string | null;
91
+ title: string | null;
92
+ createdAt: string;
93
+ updatedAt: string;
95
94
  metadata: ConversationMetadata | null;
96
95
  ref: {
97
- type: "commit" | "tag" | "branch";
96
+ type: "tag" | "commit" | "branch";
98
97
  name: string;
99
98
  hash: string;
100
99
  } | null;
100
+ userId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "commit" | "tag" | "branch";
110
+ type: "tag" | "commit" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -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;
125
- createdAt: string;
126
- updatedAt: string;
127
124
  tenantId: string;
128
125
  projectId: string;
129
126
  agentId: string | null;
130
- userId: string | null;
127
+ title: string | null;
128
+ createdAt: string;
129
+ updatedAt: string;
131
130
  metadata: ConversationMetadata | null;
132
131
  ref: {
133
- type: "commit" | "tag" | "branch";
132
+ type: "tag" | "commit" | "branch";
134
133
  name: string;
135
134
  hash: string;
136
135
  } | null;
136
+ userId: 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;
157
- createdAt: string;
158
- updatedAt: string;
159
156
  tenantId: string;
160
157
  projectId: string;
161
158
  agentId: string | null;
162
- userId: string | null;
159
+ title: string | null;
160
+ createdAt: string;
161
+ updatedAt: string;
163
162
  metadata: ConversationMetadata | null;
164
163
  ref: {
165
- type: "commit" | "tag" | "branch";
164
+ type: "tag" | "commit" | "branch";
166
165
  name: string;
167
166
  hash: string;
168
167
  } | null;
168
+ userId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,12 +10,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  messageId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- createdAt: string;
14
- updatedAt: string;
15
13
  tenantId: string;
16
14
  projectId: string;
17
- content: MessageContent;
15
+ createdAt: string;
16
+ updatedAt: string;
18
17
  metadata: MessageMetadata | null;
18
+ content: MessageContent;
19
19
  role: string;
20
20
  conversationId: string;
21
21
  fromSubAgentId: string | null;
@@ -141,12 +141,12 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
143
  id: string;
144
- createdAt: string;
145
- updatedAt: string;
146
144
  tenantId: string;
147
145
  projectId: string;
148
- content: MessageContent;
146
+ createdAt: string;
147
+ updatedAt: string;
149
148
  metadata: MessageMetadata | null;
149
+ content: MessageContent;
150
150
  role: string;
151
151
  conversationId: string;
152
152
  fromSubAgentId: string | null;
@@ -194,12 +194,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  messageId: string;
195
195
  }) => Promise<{
196
196
  id: string;
197
- createdAt: string;
198
- updatedAt: string;
199
197
  tenantId: string;
200
198
  projectId: string;
201
- content: MessageContent;
199
+ createdAt: string;
200
+ updatedAt: string;
202
201
  metadata: MessageMetadata | null;
202
+ content: MessageContent;
203
203
  role: string;
204
204
  conversationId: string;
205
205
  fromSubAgentId: 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,19 +7,19 @@ 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
- createdAt: string;
11
- updatedAt: string;
12
10
  tenantId: string;
13
11
  projectId: string;
14
12
  agentId: string;
15
- status: string;
13
+ createdAt: string;
14
+ updatedAt: string;
16
15
  metadata: TaskMetadataConfig | null;
17
- subAgentId: string;
18
16
  ref: {
19
- type: "commit" | "tag" | "branch";
17
+ type: "tag" | "commit" | "branch";
20
18
  name: string;
21
19
  hash: string;
22
20
  } | null;
21
+ status: string;
22
+ subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "commit" | "tag" | "branch";
39
+ type: "tag" | "commit" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
@@ -814,13 +814,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
814
814
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
815
815
  encoding: "hex" | "base64";
816
816
  signature: {
817
- source: "header" | "query" | "body";
817
+ source: "query" | "body" | "header";
818
818
  key: string;
819
819
  prefix?: string | undefined;
820
820
  regex?: string | undefined;
821
821
  };
822
822
  signedComponents: {
823
- source: "literal" | "header" | "body";
823
+ source: "literal" | "body" | "header";
824
824
  required: boolean;
825
825
  key?: string | undefined;
826
826
  value?: string | undefined;
@@ -851,13 +851,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
851
851
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
852
852
  encoding: "hex" | "base64";
853
853
  signature: {
854
- source: "header" | "query" | "body";
854
+ source: "query" | "body" | "header";
855
855
  key: string;
856
856
  prefix?: string | undefined;
857
857
  regex?: string | undefined;
858
858
  };
859
859
  signedComponents: {
860
- source: "literal" | "header" | "body";
860
+ source: "literal" | "body" | "header";
861
861
  required: boolean;
862
862
  key?: string | undefined;
863
863
  value?: string | undefined;
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
216
216
  dataType: "json";
217
217
  columnType: "PgJsonb";
218
218
  data: {
219
- type: "commit" | "tag" | "branch";
219
+ type: "tag" | "commit" | "branch";
220
220
  name: string;
221
221
  hash: string;
222
222
  };
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
232
232
  generated: undefined;
233
233
  }, {}, {
234
234
  $type: {
235
- type: "commit" | "tag" | "branch";
235
+ type: "tag" | "commit" | "branch";
236
236
  name: string;
237
237
  hash: string;
238
238
  };
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
413
413
  dataType: "json";
414
414
  columnType: "PgJsonb";
415
415
  data: {
416
- type: "commit" | "tag" | "branch";
416
+ type: "tag" | "commit" | "branch";
417
417
  name: string;
418
418
  hash: string;
419
419
  };
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
429
429
  generated: undefined;
430
430
  }, {}, {
431
431
  $type: {
432
- type: "commit" | "tag" | "branch";
432
+ type: "tag" | "commit" | "branch";
433
433
  name: string;
434
434
  hash: string;
435
435
  };
@@ -1778,7 +1778,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1831.PgTableWithCo
1778
1778
  tableName: "scheduled_trigger_invocations";
1779
1779
  dataType: "string";
1780
1780
  columnType: "PgVarchar";
1781
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
1781
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
1782
1782
  driverParam: string;
1783
1783
  notNull: true;
1784
1784
  hasDefault: false;
@@ -1791,7 +1791,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1831.PgTableWithCo
1791
1791
  generated: undefined;
1792
1792
  }, {}, {
1793
1793
  length: 50;
1794
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
1794
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
1795
1795
  }>;
1796
1796
  scheduledFor: drizzle_orm_pg_core1831.PgColumn<{
1797
1797
  name: "scheduled_for";
@@ -3013,7 +3013,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
3013
3013
  dataType: "json";
3014
3014
  columnType: "PgJsonb";
3015
3015
  data: {
3016
- type: "commit" | "tag" | "branch";
3016
+ type: "tag" | "commit" | "branch";
3017
3017
  name: string;
3018
3018
  hash: string;
3019
3019
  };
@@ -3029,7 +3029,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
3029
3029
  generated: undefined;
3030
3030
  }, {}, {
3031
3031
  $type: {
3032
- type: "commit" | "tag" | "branch";
3032
+ type: "tag" | "commit" | "branch";
3033
3033
  name: string;
3034
3034
  hash: string;
3035
3035
  };
@@ -3933,7 +3933,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
3933
3933
  tableName: "work_app_github_installations";
3934
3934
  dataType: "string";
3935
3935
  columnType: "PgVarchar";
3936
- data: "Organization" | "User";
3936
+ data: "User" | "Organization";
3937
3937
  driverParam: string;
3938
3938
  notNull: true;
3939
3939
  hasDefault: false;
@@ -3946,7 +3946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
3946
3946
  generated: undefined;
3947
3947
  }, {}, {
3948
3948
  length: 20;
3949
- $type: "Organization" | "User";
3949
+ $type: "User" | "Organization";
3950
3950
  }>;
3951
3951
  status: drizzle_orm_pg_core1831.PgColumn<{
3952
3952
  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
- commit: "commit";
36
35
  tag: "tag";
36
+ commit: "commit";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;
@@ -1,10 +1,10 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_zod0 from "drizzle-zod";
2
+ import * as drizzle_zod361 from "drizzle-zod";
3
3
  import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
4
4
 
5
5
  //#region src/validation/drizzle-schema-helpers.d.ts
6
- declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"select", T["_"]["columns"], drizzle_zod0.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
- declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"insert", T["_"]["columns"], drizzle_zod0.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
6
+ declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod361.BuildSchema<"select", T["_"]["columns"], drizzle_zod361.BuildRefine<T["_"]["columns"], undefined>, undefined>;
7
+ declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod361.BuildSchema<"insert", T["_"]["columns"], drizzle_zod361.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
8
8
  declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
9
9
  declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
10
10
  /**