@inkeep/agents-core 0.0.0-dev-20260401161215 → 0.0.0-dev-20260401162720

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,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- tenantId: string;
19
- userId: string | null;
20
18
  id: string;
21
19
  createdAt: string;
22
20
  updatedAt: string;
23
- agentId: string | null;
24
21
  projectId: string;
22
+ tenantId: string;
25
23
  title: string | null;
26
- metadata: ConversationMetadata | null;
24
+ userId: string | null;
25
+ agentId: string | null;
27
26
  ref: {
28
27
  type: "commit" | "tag" | "branch";
29
28
  name: string;
30
29
  hash: string;
31
30
  } | null;
31
+ metadata: ConversationMetadata | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- tenantId: string;
88
- userId: string | null;
89
87
  id: string;
90
88
  createdAt: string;
91
89
  updatedAt: string;
92
- agentId: string | null;
93
90
  projectId: string;
91
+ tenantId: string;
94
92
  title: string | null;
95
- metadata: ConversationMetadata | null;
93
+ userId: string | null;
94
+ agentId: string | null;
96
95
  ref: {
97
96
  type: "commit" | "tag" | "branch";
98
97
  name: string;
99
98
  hash: string;
100
99
  } | null;
100
+ metadata: ConversationMetadata | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- tenantId: string;
124
- userId: string | null;
125
123
  id: string;
126
124
  createdAt: string;
127
125
  updatedAt: string;
128
- agentId: string | null;
129
126
  projectId: string;
127
+ tenantId: string;
130
128
  title: string | null;
131
- metadata: ConversationMetadata | null;
129
+ userId: string | null;
130
+ agentId: string | null;
132
131
  ref: {
133
132
  type: "commit" | "tag" | "branch";
134
133
  name: string;
135
134
  hash: string;
136
135
  } | null;
136
+ metadata: ConversationMetadata | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- tenantId: string;
156
- userId: string | null;
157
155
  id: string;
158
156
  createdAt: string;
159
157
  updatedAt: string;
160
- agentId: string | null;
161
158
  projectId: string;
159
+ tenantId: string;
162
160
  title: string | null;
163
- metadata: ConversationMetadata | null;
161
+ userId: string | null;
162
+ agentId: string | null;
164
163
  ref: {
165
164
  type: "commit" | "tag" | "branch";
166
165
  name: string;
167
166
  hash: string;
168
167
  } | null;
168
+ metadata: ConversationMetadata | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,14 +10,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- tenantId: string;
14
13
  id: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  metadata: MessageMetadata | null;
19
- content: MessageContent;
20
19
  role: string;
20
+ content: MessageContent;
21
21
  fromSubAgentId: string | null;
22
22
  toSubAgentId: string | null;
23
23
  fromExternalAgentId: 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
- tenantId: string;
148
147
  id: string;
149
148
  createdAt: string;
150
149
  updatedAt: string;
151
150
  projectId: string;
151
+ tenantId: string;
152
152
  metadata: MessageMetadata | null;
153
- content: MessageContent;
154
153
  role: string;
154
+ content: MessageContent;
155
155
  fromSubAgentId: string | null;
156
156
  toSubAgentId: string | null;
157
157
  fromExternalAgentId: string | null;
@@ -197,14 +197,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- tenantId: string;
201
200
  id: string;
202
201
  createdAt: string;
203
202
  updatedAt: string;
204
203
  projectId: string;
204
+ tenantId: string;
205
205
  metadata: MessageMetadata | null;
206
- content: MessageContent;
207
206
  role: string;
207
+ content: MessageContent;
208
208
  fromSubAgentId: string | null;
209
209
  toSubAgentId: string | null;
210
210
  fromExternalAgentId: string | null;
@@ -7,20 +7,20 @@ 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
- tenantId: string;
11
10
  id: string;
12
11
  createdAt: string;
13
12
  updatedAt: string;
14
- agentId: string;
15
13
  projectId: string;
16
- metadata: TaskMetadataConfig | null;
14
+ tenantId: string;
15
+ agentId: string;
17
16
  subAgentId: string;
18
- status: string;
19
17
  ref: {
20
18
  type: "commit" | "tag" | "branch";
21
19
  name: string;
22
20
  hash: string;
23
21
  } | null;
22
+ metadata: TaskMetadataConfig | null;
23
+ status: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {