@inkeep/agents-core 0.55.1 → 0.55.3

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.
@@ -11,9 +11,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  name: string;
14
+ description: string | null;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
- description: string | null;
17
17
  agentId: string;
18
18
  projectId: string;
19
19
  tenantId: string;
@@ -42,9 +42,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
42
42
  }) => Promise<{
43
43
  id: string;
44
44
  name: string;
45
+ description: string | null;
45
46
  createdAt: string;
46
47
  updatedAt: string;
47
- description: string | null;
48
48
  agentId: string;
49
49
  projectId: string;
50
50
  tenantId: string;
@@ -111,9 +111,9 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
112
  id: string;
113
113
  name: string;
114
+ description: string | null;
114
115
  createdAt: string;
115
116
  updatedAt: string;
116
- description: string | null;
117
117
  agentId: string;
118
118
  projectId: string;
119
119
  tenantId: string;
@@ -21,12 +21,12 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  }) => Promise<{
22
22
  id: string;
23
23
  name: string;
24
+ description: string | null;
24
25
  createdAt: string;
25
26
  updatedAt: string;
26
- description: string | null;
27
- headers: Record<string, string> | null;
28
27
  projectId: string;
29
28
  tenantId: string;
29
+ headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
32
32
  mcp: ToolMcpConfig;
@@ -79,12 +79,12 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
80
  id: string;
81
81
  name: string;
82
+ description: string | null;
82
83
  createdAt: string;
83
84
  updatedAt: string;
84
- description: string | null;
85
- headers: Record<string, string> | null;
86
85
  projectId: string;
87
86
  tenantId: string;
87
+ headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
90
90
  mcp: ToolMcpConfig;
@@ -137,15 +137,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
137
137
  id: string;
138
138
  createdAt: string;
139
139
  updatedAt: string;
140
- headers: Record<string, string> | null;
141
140
  agentId: string;
142
141
  projectId: string;
143
142
  tenantId: string;
144
143
  subAgentId: string;
145
- toolId: string;
146
144
  toolPolicies: Record<string, {
147
145
  needsApproval?: boolean;
148
146
  }> | null;
147
+ headers: Record<string, string> | null;
148
+ toolId: string;
149
149
  selectedTools: string[] | null;
150
150
  }>;
151
151
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -156,15 +156,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
156
156
  id: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
- headers: Record<string, string> | null;
160
159
  agentId: string;
161
160
  projectId: string;
162
161
  tenantId: string;
163
162
  subAgentId: string;
164
- toolId: string;
165
163
  toolPolicies: Record<string, {
166
164
  needsApproval?: boolean;
167
165
  }> | null;
166
+ headers: Record<string, string> | null;
167
+ toolId: string;
168
168
  selectedTools: string[] | null;
169
169
  }>;
170
170
  /**
@@ -184,15 +184,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
184
184
  id: string;
185
185
  createdAt: string;
186
186
  updatedAt: string;
187
- headers: Record<string, string> | null;
188
187
  agentId: string;
189
188
  projectId: string;
190
189
  tenantId: string;
191
190
  subAgentId: string;
192
- toolId: string;
193
191
  toolPolicies: Record<string, {
194
192
  needsApproval?: boolean;
195
193
  }> | null;
194
+ headers: Record<string, string> | null;
195
+ toolId: string;
196
196
  selectedTools: string[] | null;
197
197
  }>;
198
198
  /**
@@ -203,12 +203,12 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  }) => Promise<{
204
204
  id: string;
205
205
  name: string;
206
+ description: string | null;
206
207
  createdAt: string;
207
208
  updatedAt: string;
208
- description: string | null;
209
- headers: Record<string, string> | null;
210
209
  projectId: string;
211
210
  tenantId: string;
211
+ headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
214
214
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "body" | "header" | "literal";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -12,7 +12,6 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- expiresAt: string | null;
16
15
  agentId: string;
17
16
  projectId: string;
18
17
  tenantId: string;
@@ -20,13 +19,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
20
19
  keyHash: string;
21
20
  keyPrefix: string;
22
21
  lastUsedAt: string | null;
22
+ expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  id: string;
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- expiresAt: string | null;
30
29
  agentId: string;
31
30
  projectId: string;
32
31
  tenantId: string;
@@ -34,6 +33,7 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
34
33
  keyHash: string;
35
34
  keyPrefix: string;
36
35
  lastUsedAt: string | null;
36
+ expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -43,7 +43,6 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- expiresAt: string | null;
47
46
  agentId: string;
48
47
  projectId: string;
49
48
  tenantId: string;
@@ -51,6 +50,7 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
51
50
  keyHash: string;
52
51
  keyPrefix: string;
53
52
  lastUsedAt: string | null;
53
+ expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -70,7 +70,6 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- expiresAt: string | null;
74
73
  agentId: string;
75
74
  projectId: string;
76
75
  tenantId: string;
@@ -78,6 +77,7 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
78
77
  keyHash: string;
79
78
  keyPrefix: string;
80
79
  lastUsedAt: string | null;
80
+ expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -19,17 +19,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  id: string;
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
- ref: {
23
- type: "tag" | "commit" | "branch";
24
- name: string;
25
- hash: string;
26
- } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
22
  agentId: string | null;
30
23
  projectId: string;
31
24
  tenantId: string;
32
25
  title: string | null;
26
+ metadata: ConversationMetadata | null;
27
+ userId: string | null;
28
+ ref: {
29
+ type: "commit" | "tag" | "branch";
30
+ name: string;
31
+ hash: string;
32
+ } | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -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;
@@ -88,17 +88,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  id: string;
89
89
  createdAt: string;
90
90
  updatedAt: string;
91
- ref: {
92
- type: "tag" | "commit" | "branch";
93
- name: string;
94
- hash: string;
95
- } | null;
96
- userId: string | null;
97
- metadata: ConversationMetadata | null;
98
91
  agentId: string | null;
99
92
  projectId: string;
100
93
  tenantId: string;
101
94
  title: string | null;
95
+ metadata: ConversationMetadata | null;
96
+ userId: string | null;
97
+ ref: {
98
+ type: "commit" | "tag" | "branch";
99
+ name: string;
100
+ hash: string;
101
+ } | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -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
  };
@@ -124,17 +124,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  id: string;
125
125
  createdAt: string;
126
126
  updatedAt: string;
127
- ref: {
128
- type: "tag" | "commit" | "branch";
129
- name: string;
130
- hash: string;
131
- } | null;
132
- userId: string | null;
133
- metadata: ConversationMetadata | null;
134
127
  agentId: string | null;
135
128
  projectId: string;
136
129
  tenantId: string;
137
130
  title: string | null;
131
+ metadata: ConversationMetadata | null;
132
+ userId: string | null;
133
+ ref: {
134
+ type: "commit" | "tag" | "branch";
135
+ name: string;
136
+ hash: string;
137
+ } | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -156,17 +156,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  id: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
- ref: {
160
- type: "tag" | "commit" | "branch";
161
- name: string;
162
- hash: string;
163
- } | null;
164
- userId: string | null;
165
- metadata: ConversationMetadata | null;
166
159
  agentId: string | null;
167
160
  projectId: string;
168
161
  tenantId: string;
169
162
  title: string | null;
163
+ metadata: ConversationMetadata | null;
164
+ userId: string | null;
165
+ ref: {
166
+ type: "commit" | "tag" | "branch";
167
+ name: string;
168
+ hash: string;
169
+ } | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -13,12 +13,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
16
  projectId: string;
19
17
  tenantId: string;
18
+ metadata: MessageMetadata | null;
20
19
  content: MessageContent;
21
20
  conversationId: string;
21
+ role: string;
22
22
  fromSubAgentId: string | null;
23
23
  toSubAgentId: string | null;
24
24
  fromExternalAgentId: string | null;
@@ -144,12 +144,12 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
144
144
  id: string;
145
145
  createdAt: string;
146
146
  updatedAt: string;
147
- metadata: MessageMetadata | null;
148
- role: string;
149
147
  projectId: string;
150
148
  tenantId: string;
149
+ metadata: MessageMetadata | null;
151
150
  content: MessageContent;
152
151
  conversationId: string;
152
+ role: string;
153
153
  fromSubAgentId: string | null;
154
154
  toSubAgentId: string | null;
155
155
  fromExternalAgentId: string | null;
@@ -197,12 +197,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  id: string;
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
- metadata: MessageMetadata | null;
201
- role: string;
202
200
  projectId: string;
203
201
  tenantId: string;
202
+ metadata: MessageMetadata | null;
204
203
  content: MessageContent;
205
204
  conversationId: string;
205
+ role: string;
206
206
  fromSubAgentId: string | null;
207
207
  toSubAgentId: string | null;
208
208
  fromExternalAgentId: string | null;
@@ -9,18 +9,18 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
9
9
  id: string;
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
- ref: {
13
- type: "tag" | "commit" | "branch";
14
- name: string;
15
- hash: string;
16
- } | null;
17
- metadata: TaskMetadataConfig | null;
18
- status: string;
19
12
  agentId: string;
20
13
  projectId: string;
21
14
  tenantId: string;
22
15
  subAgentId: string;
16
+ metadata: TaskMetadataConfig | null;
17
+ status: string;
23
18
  contextId: string;
19
+ ref: {
20
+ type: "commit" | "tag" | "branch";
21
+ name: string;
22
+ hash: string;
23
+ } | null;
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;