@inkeep/agents-core 0.0.0-dev-20260204211040 → 0.0.0-dev-20260205075607

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.
@@ -24,8 +24,8 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
24
24
  updatedAt: string;
25
25
  description: string | null;
26
26
  headers: Record<string, string> | null;
27
- projectId: string;
28
27
  tenantId: string;
28
+ projectId: string;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
@@ -82,8 +82,8 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
82
82
  updatedAt: string;
83
83
  description: string | null;
84
84
  headers: Record<string, string> | null;
85
- projectId: string;
86
85
  tenantId: string;
86
+ projectId: string;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
@@ -137,9 +137,9 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
137
137
  createdAt: string;
138
138
  updatedAt: string;
139
139
  headers: Record<string, string> | null;
140
- agentId: string;
141
- projectId: string;
142
140
  tenantId: string;
141
+ projectId: string;
142
+ agentId: string;
143
143
  toolId: string;
144
144
  toolPolicies: Record<string, {
145
145
  needsApproval?: boolean;
@@ -156,9 +156,9 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  headers: Record<string, string> | null;
159
- agentId: string;
160
- projectId: string;
161
159
  tenantId: string;
160
+ projectId: string;
161
+ agentId: string;
162
162
  toolId: string;
163
163
  toolPolicies: Record<string, {
164
164
  needsApproval?: boolean;
@@ -184,9 +184,9 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
186
  headers: Record<string, string> | null;
187
- agentId: string;
188
- projectId: string;
189
187
  tenantId: string;
188
+ projectId: string;
189
+ agentId: string;
190
190
  toolId: string;
191
191
  toolPolicies: Record<string, {
192
192
  needsApproval?: boolean;
@@ -206,8 +206,8 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
206
206
  updatedAt: string;
207
207
  description: string | null;
208
208
  headers: Record<string, string> | null;
209
- projectId: string;
210
209
  tenantId: string;
210
+ projectId: string;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
@@ -12,9 +12,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  expiresAt: string | null;
15
- agentId: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
@@ -26,9 +26,9 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  expiresAt: string | null;
29
- agentId: string;
30
- projectId: string;
31
29
  tenantId: string;
30
+ projectId: string;
31
+ agentId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: string;
@@ -43,9 +43,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  createdAt: string;
44
44
  updatedAt: string;
45
45
  expiresAt: string | null;
46
- agentId: string;
47
- projectId: string;
48
46
  tenantId: string;
47
+ projectId: string;
48
+ agentId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: string;
@@ -70,9 +70,9 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
72
  expiresAt: string | null;
73
- agentId: string;
74
- projectId: string;
75
73
  tenantId: string;
74
+ projectId: string;
75
+ agentId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -19,16 +19,16 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
21
  ref: {
22
- type: "tag" | "commit" | "branch";
22
+ type: "commit" | "tag" | "branch";
23
23
  name: string;
24
24
  hash: string;
25
25
  } | null;
26
26
  userId: string | null;
27
27
  metadata: ConversationMetadata | null;
28
- agentId: string | null;
29
- projectId: string;
30
28
  tenantId: string;
29
+ projectId: string;
31
30
  title: string | null;
31
+ agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -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;
@@ -88,16 +88,16 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  createdAt: string;
89
89
  updatedAt: string;
90
90
  ref: {
91
- type: "tag" | "commit" | "branch";
91
+ type: "commit" | "tag" | "branch";
92
92
  name: string;
93
93
  hash: string;
94
94
  } | null;
95
95
  userId: string | null;
96
96
  metadata: ConversationMetadata | null;
97
- agentId: string | null;
98
- projectId: string;
99
97
  tenantId: string;
98
+ projectId: string;
100
99
  title: string | null;
100
+ agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -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
  };
@@ -124,16 +124,16 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  createdAt: string;
125
125
  updatedAt: string;
126
126
  ref: {
127
- type: "tag" | "commit" | "branch";
127
+ type: "commit" | "tag" | "branch";
128
128
  name: string;
129
129
  hash: string;
130
130
  } | null;
131
131
  userId: string | null;
132
132
  metadata: ConversationMetadata | null;
133
- agentId: string | null;
134
- projectId: string;
135
133
  tenantId: string;
134
+ projectId: string;
136
135
  title: string | null;
136
+ agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -156,16 +156,16 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  ref: {
159
- type: "tag" | "commit" | "branch";
159
+ type: "commit" | "tag" | "branch";
160
160
  name: string;
161
161
  hash: string;
162
162
  } | null;
163
163
  userId: string | null;
164
164
  metadata: ConversationMetadata | null;
165
- agentId: string | null;
166
- projectId: string;
167
165
  tenantId: string;
166
+ projectId: string;
168
167
  title: string | null;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -14,8 +14,8 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
14
14
  updatedAt: string;
15
15
  metadata: MessageMetadata | null;
16
16
  role: string;
17
- projectId: string;
18
17
  tenantId: string;
18
+ projectId: string;
19
19
  content: MessageContent;
20
20
  conversationId: string;
21
21
  fromSubAgentId: string | null;
@@ -145,8 +145,8 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
145
145
  updatedAt: string;
146
146
  metadata: MessageMetadata | null;
147
147
  role: string;
148
- projectId: string;
149
148
  tenantId: string;
149
+ projectId: string;
150
150
  content: MessageContent;
151
151
  conversationId: string;
152
152
  fromSubAgentId: string | null;
@@ -198,8 +198,8 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  updatedAt: string;
199
199
  metadata: MessageMetadata | null;
200
200
  role: string;
201
- projectId: string;
202
201
  tenantId: string;
202
+ projectId: string;
203
203
  content: MessageContent;
204
204
  conversationId: string;
205
205
  fromSubAgentId: string | null;
@@ -10,15 +10,15 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
12
  ref: {
13
- type: "tag" | "commit" | "branch";
13
+ type: "commit" | "tag" | "branch";
14
14
  name: string;
15
15
  hash: string;
16
16
  } | null;
17
17
  metadata: TaskMetadataConfig | null;
18
18
  status: string;
19
- agentId: string;
20
- projectId: string;
21
19
  tenantId: string;
20
+ projectId: string;
21
+ agentId: string;
22
22
  subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
@@ -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;