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

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,16 +16,16 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  id: string;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string | null;
22
19
  title: string | null;
23
20
  createdAt: string;
24
21
  updatedAt: string;
25
- metadata: ConversationMetadata | null;
22
+ tenantId: string;
23
+ projectId: string;
24
+ agentId: string | null;
26
25
  userId: string | null;
26
+ metadata: ConversationMetadata | null;
27
27
  ref: {
28
- type: "tag" | "commit" | "branch";
28
+ type: "commit" | "tag" | "branch";
29
29
  name: string;
30
30
  hash: string;
31
31
  } | null;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "tag" | "commit" | "branch";
46
+ type: "commit" | "tag" | "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: "tag" | "commit" | "branch";
72
+ type: "commit" | "tag" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -85,16 +85,16 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  id: string;
88
- tenantId: string;
89
- projectId: string;
90
- agentId: string | null;
91
88
  title: string | null;
92
89
  createdAt: string;
93
90
  updatedAt: string;
94
- metadata: ConversationMetadata | null;
91
+ tenantId: string;
92
+ projectId: string;
93
+ agentId: string | null;
95
94
  userId: string | null;
95
+ metadata: ConversationMetadata | null;
96
96
  ref: {
97
- type: "tag" | "commit" | "branch";
97
+ type: "commit" | "tag" | "branch";
98
98
  name: string;
99
99
  hash: string;
100
100
  } | null;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "tag" | "commit" | "branch";
110
+ type: "commit" | "tag" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -121,16 +121,16 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  id: string;
124
- tenantId: string;
125
- projectId: string;
126
- agentId: string | null;
127
124
  title: string | null;
128
125
  createdAt: string;
129
126
  updatedAt: string;
130
- metadata: ConversationMetadata | null;
127
+ tenantId: string;
128
+ projectId: string;
129
+ agentId: string | null;
131
130
  userId: string | null;
131
+ metadata: ConversationMetadata | null;
132
132
  ref: {
133
- type: "tag" | "commit" | "branch";
133
+ type: "commit" | "tag" | "branch";
134
134
  name: string;
135
135
  hash: string;
136
136
  } | null;
@@ -153,16 +153,16 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
- tenantId: string;
157
- projectId: string;
158
- agentId: string | null;
159
156
  title: string | null;
160
157
  createdAt: string;
161
158
  updatedAt: string;
162
- metadata: ConversationMetadata | null;
159
+ tenantId: string;
160
+ projectId: string;
161
+ agentId: string | null;
163
162
  userId: string | null;
163
+ metadata: ConversationMetadata | null;
164
164
  ref: {
165
- type: "tag" | "commit" | "branch";
165
+ type: "commit" | "tag" | "branch";
166
166
  name: string;
167
167
  hash: string;
168
168
  } | null;
@@ -10,12 +10,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  messageId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
- projectId: string;
15
13
  createdAt: string;
16
14
  updatedAt: string;
17
- metadata: MessageMetadata | null;
15
+ tenantId: string;
16
+ projectId: string;
18
17
  content: MessageContent;
18
+ metadata: MessageMetadata | null;
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
- tenantId: string;
145
- projectId: string;
146
144
  createdAt: string;
147
145
  updatedAt: string;
148
- metadata: MessageMetadata | null;
146
+ tenantId: string;
147
+ projectId: string;
149
148
  content: MessageContent;
149
+ metadata: MessageMetadata | null;
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
- tenantId: string;
198
- projectId: string;
199
197
  createdAt: string;
200
198
  updatedAt: string;
201
- metadata: MessageMetadata | null;
199
+ tenantId: string;
200
+ projectId: string;
202
201
  content: MessageContent;
202
+ metadata: MessageMetadata | null;
203
203
  role: string;
204
204
  conversationId: string;
205
205
  fromSubAgentId: string | null;
@@ -7,16 +7,16 @@ 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;
10
12
  tenantId: string;
11
13
  projectId: string;
12
14
  agentId: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- metadata: TaskMetadataConfig | null;
16
15
  status: string;
16
+ metadata: TaskMetadataConfig | null;
17
17
  subAgentId: string;
18
18
  ref: {
19
- type: "tag" | "commit" | "branch";
19
+ type: "commit" | "tag" | "branch";
20
20
  name: string;
21
21
  hash: string;
22
22
  } | null;
@@ -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;