@inkeep/agents-core 0.0.0-dev-20260312233652 → 0.0.0-dev-20260313014132

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.
@@ -5,14 +5,14 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- type: AppType;
9
8
  id: string;
10
- createdAt: string;
11
9
  name: string;
12
- updatedAt: string;
13
- projectId: string | null;
14
- tenantId: string | null;
15
10
  description: string | null;
11
+ tenantId: string | null;
12
+ projectId: string | null;
13
+ type: AppType;
14
+ createdAt: string;
15
+ updatedAt: string;
16
16
  enabled: boolean;
17
17
  config: {
18
18
  type: "web_client";
@@ -48,14 +48,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
48
48
  };
49
49
  }>;
50
50
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
51
- type: AppType;
52
51
  id: string;
53
- createdAt: string;
54
52
  name: string;
55
- updatedAt: string;
56
- projectId: string | null;
57
- tenantId: string | null;
58
53
  description: string | null;
54
+ tenantId: string | null;
55
+ projectId: string | null;
56
+ type: AppType;
57
+ createdAt: string;
58
+ updatedAt: string;
59
59
  enabled: boolean;
60
60
  config: {
61
61
  type: "web_client";
@@ -17,20 +17,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
- createdAt: string;
21
- updatedAt: string;
22
- agentId: string | null;
23
- projectId: string;
24
20
  tenantId: string;
21
+ projectId: string;
22
+ agentId: string | null;
25
23
  title: string | null;
24
+ createdAt: string;
25
+ updatedAt: string;
26
26
  metadata: ConversationMetadata | null;
27
27
  userId: string | null;
28
+ activeSubAgentId: string;
28
29
  ref: {
29
- type: "tag" | "commit" | "branch";
30
+ type: "commit" | "tag" | "branch";
30
31
  name: string;
31
32
  hash: string;
32
33
  } | null;
33
- activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
36
36
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "tag" | "commit" | "branch";
47
+ type: "commit" | "tag" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "tag" | "commit" | "branch";
73
+ type: "commit" | "tag" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -86,20 +86,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
88
  id: string;
89
- createdAt: string;
90
- updatedAt: string;
91
- agentId: string | null;
92
- projectId: string;
93
89
  tenantId: string;
90
+ projectId: string;
91
+ agentId: string | null;
94
92
  title: string | null;
93
+ createdAt: string;
94
+ updatedAt: string;
95
95
  metadata: ConversationMetadata | null;
96
96
  userId: string | null;
97
+ activeSubAgentId: string;
97
98
  ref: {
98
- type: "tag" | "commit" | "branch";
99
+ type: "commit" | "tag" | "branch";
99
100
  name: string;
100
101
  hash: string;
101
102
  } | null;
102
- activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
105
105
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "tag" | "commit" | "branch";
111
+ type: "commit" | "tag" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -122,20 +122,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
124
  id: string;
125
- createdAt: string;
126
- updatedAt: string;
127
- agentId: string | null;
128
- projectId: string;
129
125
  tenantId: string;
126
+ projectId: string;
127
+ agentId: string | null;
130
128
  title: string | null;
129
+ createdAt: string;
130
+ updatedAt: string;
131
131
  metadata: ConversationMetadata | null;
132
132
  userId: string | null;
133
+ activeSubAgentId: string;
133
134
  ref: {
134
- type: "tag" | "commit" | "branch";
135
+ type: "commit" | "tag" | "branch";
135
136
  name: string;
136
137
  hash: string;
137
138
  } | null;
138
- activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
141
141
  /**
@@ -154,20 +154,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
156
  id: string;
157
- createdAt: string;
158
- updatedAt: string;
159
- agentId: string | null;
160
- projectId: string;
161
157
  tenantId: string;
158
+ projectId: string;
159
+ agentId: string | null;
162
160
  title: string | null;
161
+ createdAt: string;
162
+ updatedAt: string;
163
163
  metadata: ConversationMetadata | null;
164
164
  userId: string | null;
165
+ activeSubAgentId: string;
165
166
  ref: {
166
- type: "tag" | "commit" | "branch";
167
+ type: "commit" | "tag" | "branch";
167
168
  name: string;
168
169
  hash: string;
169
170
  } | null;
170
- activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
173
173
  /**
@@ -11,23 +11,23 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
+ tenantId: string;
15
+ projectId: string;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
- projectId: string;
17
- tenantId: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
- role: string;
20
+ taskId: string | null;
21
+ visibility: string;
21
22
  fromSubAgentId: string | null;
22
23
  toSubAgentId: string | null;
23
24
  fromExternalAgentId: string | null;
24
25
  toExternalAgentId: string | null;
25
- taskId: string | null;
26
26
  a2aTaskId: string | null;
27
27
  conversationId: string;
28
+ role: string;
28
29
  fromTeamAgentId: string | null;
29
30
  toTeamAgentId: string | null;
30
- visibility: string;
31
31
  messageType: string;
32
32
  parentMessageId: string | null;
33
33
  a2aSessionId: string | null;
@@ -142,23 +142,23 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
144
  id: string;
145
+ tenantId: string;
146
+ projectId: string;
145
147
  createdAt: string;
146
148
  updatedAt: string;
147
- projectId: string;
148
- tenantId: string;
149
149
  metadata: MessageMetadata | null;
150
150
  content: MessageContent;
151
- role: string;
151
+ taskId: string | null;
152
+ visibility: string;
152
153
  fromSubAgentId: string | null;
153
154
  toSubAgentId: string | null;
154
155
  fromExternalAgentId: string | null;
155
156
  toExternalAgentId: string | null;
156
- taskId: string | null;
157
157
  a2aTaskId: string | null;
158
158
  conversationId: string;
159
+ role: string;
159
160
  fromTeamAgentId: string | null;
160
161
  toTeamAgentId: string | null;
161
- visibility: string;
162
162
  messageType: string;
163
163
  parentMessageId: string | null;
164
164
  a2aSessionId: string | null;
@@ -195,23 +195,23 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  id: string;
198
+ tenantId: string;
199
+ projectId: string;
198
200
  createdAt: string;
199
201
  updatedAt: string;
200
- projectId: string;
201
- tenantId: string;
202
202
  metadata: MessageMetadata | null;
203
203
  content: MessageContent;
204
- role: string;
204
+ taskId: string | null;
205
+ visibility: string;
205
206
  fromSubAgentId: string | null;
206
207
  toSubAgentId: string | null;
207
208
  fromExternalAgentId: string | null;
208
209
  toExternalAgentId: string | null;
209
- taskId: string | null;
210
210
  a2aTaskId: string | null;
211
211
  conversationId: string;
212
+ role: string;
212
213
  fromTeamAgentId: string | null;
213
214
  toTeamAgentId: string | null;
214
- visibility: string;
215
215
  messageType: string;
216
216
  parentMessageId: string | null;
217
217
  a2aSessionId: string | null;
@@ -7,20 +7,20 @@ 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
+ tenantId: string;
11
+ projectId: string;
12
+ agentId: string;
10
13
  createdAt: string;
11
14
  updatedAt: string;
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
15
  metadata: TaskMetadataConfig | null;
16
- status: string;
17
16
  subAgentId: string;
18
17
  contextId: string;
19
18
  ref: {
20
- type: "tag" | "commit" | "branch";
19
+ type: "commit" | "tag" | "branch";
21
20
  name: string;
22
21
  hash: string;
23
22
  } | null;
23
+ status: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;