@inkeep/agents-core 0.0.0-dev-20260409021932 → 0.0.0-dev-20260409191739

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.
@@ -15,17 +15,17 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- metadata: ConversationMetadata | null;
19
- userId: string | null;
20
18
  id: string;
21
19
  createdAt: string;
22
20
  updatedAt: string;
23
- title: string | null;
24
21
  ref: {
25
22
  type: "commit" | "tag" | "branch";
26
23
  name: string;
27
24
  hash: string;
28
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ title: string | null;
29
29
  tenantId: string;
30
30
  projectId: string;
31
31
  agentId: string | null;
@@ -84,17 +84,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- metadata: ConversationMetadata | null;
88
- userId: string | null;
89
87
  id: string;
90
88
  createdAt: string;
91
89
  updatedAt: string;
92
- title: string | null;
93
90
  ref: {
94
91
  type: "commit" | "tag" | "branch";
95
92
  name: string;
96
93
  hash: string;
97
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ title: string | null;
98
98
  tenantId: string;
99
99
  projectId: string;
100
100
  agentId: string | null;
@@ -120,17 +120,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- metadata: ConversationMetadata | null;
124
- userId: string | null;
125
123
  id: string;
126
124
  createdAt: string;
127
125
  updatedAt: string;
128
- title: string | null;
129
126
  ref: {
130
127
  type: "commit" | "tag" | "branch";
131
128
  name: string;
132
129
  hash: string;
133
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ title: string | null;
134
134
  tenantId: string;
135
135
  projectId: string;
136
136
  agentId: string | null;
@@ -152,17 +152,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- metadata: ConversationMetadata | null;
156
- userId: string | null;
157
155
  id: string;
158
156
  createdAt: string;
159
157
  updatedAt: string;
160
- title: string | null;
161
158
  ref: {
162
159
  type: "commit" | "tag" | "branch";
163
160
  name: string;
164
161
  hash: string;
165
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ title: string | null;
166
166
  tenantId: string;
167
167
  projectId: string;
168
168
  agentId: string | null;
@@ -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;
16
14
  createdAt: string;
17
15
  updatedAt: string;
18
- content: MessageContent;
16
+ metadata: MessageMetadata | null;
17
+ role: string;
19
18
  tenantId: string;
20
19
  projectId: string;
20
+ content: MessageContent;
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;
150
148
  createdAt: string;
151
149
  updatedAt: string;
152
- content: MessageContent;
150
+ metadata: MessageMetadata | null;
151
+ role: string;
153
152
  tenantId: string;
154
153
  projectId: string;
154
+ content: MessageContent;
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;
203
201
  createdAt: string;
204
202
  updatedAt: string;
205
- content: MessageContent;
203
+ metadata: MessageMetadata | null;
204
+ role: string;
206
205
  tenantId: string;
207
206
  projectId: string;
207
+ content: MessageContent;
208
208
  conversationId: string;
209
209
  fromSubAgentId: string | null;
210
210
  toSubAgentId: string | null;
@@ -15,8 +15,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
- userId: string;
19
18
  createdAt: string;
19
+ userId: string;
20
20
  tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
@@ -7,16 +7,16 @@ 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;
11
10
  id: string;
12
11
  createdAt: string;
13
- status: string;
14
12
  updatedAt: string;
15
13
  ref: {
16
14
  type: "commit" | "tag" | "branch";
17
15
  name: string;
18
16
  hash: string;
19
17
  } | null;
18
+ metadata: TaskMetadataConfig | null;
19
+ status: string;
20
20
  tenantId: string;
21
21
  projectId: string;
22
22
  agentId: string;
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core604 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core484 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core604.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core484.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };