@inkeep/agents-core 0.0.0-dev-20260320225026 → 0.0.0-dev-20260323133357

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.
@@ -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
- metadata: ConversationMetadata | null;
20
- userId: string | null;
19
+ title: string | null;
21
20
  id: string;
21
+ tenantId: string;
22
22
  createdAt: string;
23
- updatedAt: string;
23
+ metadata: ConversationMetadata | null;
24
24
  ref: {
25
25
  type: "commit" | "tag" | "branch";
26
26
  name: string;
27
27
  hash: string;
28
28
  } | null;
29
- tenantId: string;
30
- projectId: string;
29
+ updatedAt: string;
30
+ userId: string | null;
31
31
  agentId: string | null;
32
- title: string | null;
32
+ projectId: string;
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
- metadata: ConversationMetadata | null;
89
- userId: string | null;
88
+ title: string | null;
90
89
  id: string;
90
+ tenantId: string;
91
91
  createdAt: string;
92
- updatedAt: string;
92
+ metadata: ConversationMetadata | null;
93
93
  ref: {
94
94
  type: "commit" | "tag" | "branch";
95
95
  name: string;
96
96
  hash: string;
97
97
  } | null;
98
- tenantId: string;
99
- projectId: string;
98
+ updatedAt: string;
99
+ userId: string | null;
100
100
  agentId: string | null;
101
- title: string | null;
101
+ projectId: string;
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
- metadata: ConversationMetadata | null;
125
- userId: string | null;
124
+ title: string | null;
126
125
  id: string;
126
+ tenantId: string;
127
127
  createdAt: string;
128
- updatedAt: string;
128
+ metadata: ConversationMetadata | null;
129
129
  ref: {
130
130
  type: "commit" | "tag" | "branch";
131
131
  name: string;
132
132
  hash: string;
133
133
  } | null;
134
- tenantId: string;
135
- projectId: string;
134
+ updatedAt: string;
135
+ userId: string | null;
136
136
  agentId: string | null;
137
- title: string | null;
137
+ projectId: string;
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
- metadata: ConversationMetadata | null;
157
- userId: string | null;
156
+ title: string | null;
158
157
  id: string;
158
+ tenantId: string;
159
159
  createdAt: string;
160
- updatedAt: string;
160
+ metadata: ConversationMetadata | null;
161
161
  ref: {
162
162
  type: "commit" | "tag" | "branch";
163
163
  name: string;
164
164
  hash: string;
165
165
  } | null;
166
- tenantId: string;
167
- projectId: string;
166
+ updatedAt: string;
167
+ userId: string | null;
168
168
  agentId: string | null;
169
- title: string | null;
169
+ projectId: string;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,14 +10,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- metadata: MessageMetadata | null;
14
- role: string;
15
13
  id: string;
14
+ tenantId: string;
16
15
  createdAt: string;
16
+ metadata: MessageMetadata | null;
17
+ content: MessageContent;
17
18
  updatedAt: string;
18
- tenantId: string;
19
19
  projectId: string;
20
- content: MessageContent;
20
+ role: string;
21
21
  conversationId: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
@@ -144,14 +144,14 @@ 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;
149
147
  id: string;
148
+ tenantId: string;
150
149
  createdAt: string;
150
+ metadata: MessageMetadata | null;
151
+ content: MessageContent;
151
152
  updatedAt: string;
152
- tenantId: string;
153
153
  projectId: string;
154
- content: MessageContent;
154
+ role: string;
155
155
  conversationId: string;
156
156
  fromSubAgentId: string | null;
157
157
  toSubAgentId: string | null;
@@ -197,14 +197,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- metadata: MessageMetadata | null;
201
- role: string;
202
200
  id: string;
201
+ tenantId: string;
203
202
  createdAt: string;
203
+ metadata: MessageMetadata | null;
204
+ content: MessageContent;
204
205
  updatedAt: string;
205
- tenantId: string;
206
206
  projectId: string;
207
- content: MessageContent;
207
+ role: string;
208
208
  conversationId: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: string | null;
@@ -39,7 +39,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
42
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
43
  scheduledFor: string;
44
44
  startedAt: string | null;
45
45
  completedAt: string | null;
@@ -193,7 +193,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
193
193
  name: string;
194
194
  hash: string;
195
195
  } | null;
196
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
196
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
197
197
  scheduledFor: string;
198
198
  startedAt: string | null;
199
199
  completedAt: string | null;
@@ -232,7 +232,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
232
232
  name: string;
233
233
  hash: string;
234
234
  } | null;
235
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
235
+ status: "pending" | "running" | "completed" | "failed" | "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
+ status: string;
11
11
  id: string;
12
+ tenantId: string;
12
13
  createdAt: string;
13
- status: string;
14
- updatedAt: string;
14
+ metadata: TaskMetadataConfig | null;
15
15
  ref: {
16
16
  type: "commit" | "tag" | "branch";
17
17
  name: string;
18
18
  hash: string;
19
19
  } | null;
20
- tenantId: string;
21
- projectId: string;
20
+ updatedAt: string;
22
21
  agentId: string;
22
+ projectId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
@@ -814,13 +814,13 @@ 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: "body" | "query" | "header";
817
+ source: "query" | "header" | "body";
818
818
  key: string;
819
819
  prefix?: string | undefined;
820
820
  regex?: string | undefined;
821
821
  };
822
822
  signedComponents: {
823
- source: "literal" | "body" | "header";
823
+ source: "literal" | "header" | "body";
824
824
  required: boolean;
825
825
  key?: string | undefined;
826
826
  value?: string | undefined;
@@ -851,13 +851,13 @@ 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: "body" | "query" | "header";
854
+ source: "query" | "header" | "body";
855
855
  key: string;
856
856
  prefix?: string | undefined;
857
857
  regex?: string | undefined;
858
858
  };
859
859
  signedComponents: {
860
- source: "literal" | "body" | "header";
860
+ source: "literal" | "header" | "body";
861
861
  required: boolean;
862
862
  key?: string | undefined;
863
863
  value?: string | undefined;
@@ -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" | "failed" | "running" | "completed" | "cancelled";
2166
+ data: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
2179
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
2180
2180
  }>;
2181
2181
  scheduledFor: drizzle_orm_pg_core576.PgColumn<{
2182
2182
  name: "scheduled_for";