@inkeep/agents-core 0.67.0 → 0.67.1

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.
@@ -10,9 +10,9 @@ import { PgColumn } from "drizzle-orm/pg-core";
10
10
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
- description: string | null;
14
13
  id: string;
15
14
  name: string;
15
+ description: string | null;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  projectId: string;
@@ -63,9 +63,9 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
63
63
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
64
64
  scopes: AgentScopeConfig;
65
65
  }) => Promise<{
66
- description: string | null;
67
66
  id: string;
68
67
  name: string;
68
+ description: string | null;
69
69
  createdAt: string;
70
70
  updatedAt: string;
71
71
  projectId: string;
@@ -113,9 +113,9 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
113
113
  } | null;
114
114
  executionMode: "classic" | "durable";
115
115
  defaultSubAgent: {
116
- description: string | null;
117
116
  id: string;
118
117
  name: string;
118
+ description: string | null;
119
119
  createdAt: string;
120
120
  updatedAt: string;
121
121
  projectId: string;
@@ -151,9 +151,9 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
151
151
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: ProjectScopeConfig;
153
153
  }) => Promise<{
154
- description: string | null;
155
154
  id: string;
156
155
  name: string;
156
+ description: string | null;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
159
  projectId: string;
@@ -281,9 +281,9 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
281
281
  projectIds: string[];
282
282
  }): Promise<AvailableAgentInfo[]>;
283
283
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
284
- description: string | null;
285
284
  id: string;
286
285
  name: string;
286
+ description: string | null;
287
287
  createdAt: string;
288
288
  updatedAt: string;
289
289
  projectId: string;
@@ -9,9 +9,9 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- description: string | null;
13
12
  id: string;
14
13
  name: string;
14
+ description: string | null;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
17
  projectId: string;
@@ -65,9 +65,9 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- description: string | null;
69
68
  id: string;
70
69
  name: string;
70
+ description: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
73
  projectId: string;
@@ -53,9 +53,9 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- description: string | null;
57
56
  id: string;
58
57
  name: string;
58
+ description: string | null;
59
59
  createdAt: string;
60
60
  updatedAt: string;
61
61
  projectId: string;
@@ -95,9 +95,9 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- description: string | null;
99
98
  id: string;
100
99
  name: string;
100
+ description: string | null;
101
101
  createdAt: string;
102
102
  updatedAt: string;
103
103
  projectId: string;
@@ -15,9 +15,9 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  scopes: ProjectScopeConfig;
16
16
  skillId: string;
17
17
  }) => Promise<{
18
- description: string;
19
18
  id: string;
20
19
  name: string;
20
+ description: string;
21
21
  content: string;
22
22
  metadata: Record<string, string> | null;
23
23
  createdAt: string;
@@ -110,9 +110,9 @@ interface WithTenantIdProjectId {
110
110
  }
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
- description: string;
114
113
  id: string;
115
114
  name: string;
115
+ description: string;
116
116
  content: string;
117
117
  metadata: Record<string, string> | null;
118
118
  createdAt: string;
@@ -211,8 +211,8 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
211
211
  tenantId: string;
212
212
  agentId: string;
213
213
  subAgentId: string;
214
- toolId: string;
215
214
  headers: Record<string, string> | null;
215
+ toolId: string;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
218
218
  }> | null;
@@ -255,8 +255,8 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
255
255
  tenantId: string;
256
256
  agentId: string;
257
257
  subAgentId: string;
258
- toolId: string;
259
258
  headers: Record<string, string> | null;
259
+ toolId: string;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
262
262
  }> | null;
@@ -9,9 +9,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- description: string | null;
13
12
  id: string;
14
13
  name: string;
14
+ description: string | null;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
17
  projectId: string;
@@ -46,9 +46,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
- description: string | null;
50
49
  id: string;
51
50
  name: string;
51
+ description: string | null;
52
52
  createdAt: string;
53
53
  updatedAt: string;
54
54
  projectId: string;
@@ -127,9 +127,9 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
- description: string | null;
131
130
  id: string;
132
131
  name: string;
132
+ description: string | null;
133
133
  createdAt: string;
134
134
  updatedAt: string;
135
135
  projectId: string;
@@ -20,9 +20,9 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- description: string | null;
24
23
  id: string;
25
24
  name: string;
25
+ description: string | null;
26
26
  createdAt: string;
27
27
  updatedAt: string;
28
28
  projectId: string;
@@ -78,9 +78,9 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- description: string | null;
82
81
  id: string;
83
82
  name: string;
83
+ description: string | null;
84
84
  createdAt: string;
85
85
  updatedAt: string;
86
86
  projectId: string;
@@ -142,8 +142,8 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
142
142
  tenantId: string;
143
143
  agentId: string;
144
144
  subAgentId: string;
145
- toolId: string;
146
145
  headers: Record<string, string> | null;
146
+ toolId: string;
147
147
  toolPolicies: Record<string, {
148
148
  needsApproval?: boolean;
149
149
  }> | null;
@@ -161,8 +161,8 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
161
161
  tenantId: string;
162
162
  agentId: string;
163
163
  subAgentId: string;
164
- toolId: string;
165
164
  headers: Record<string, string> | null;
165
+ toolId: string;
166
166
  toolPolicies: Record<string, {
167
167
  needsApproval?: boolean;
168
168
  }> | null;
@@ -189,8 +189,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
189
189
  tenantId: string;
190
190
  agentId: string;
191
191
  subAgentId: string;
192
- toolId: string;
193
192
  headers: Record<string, string> | null;
193
+ toolId: string;
194
194
  toolPolicies: Record<string, {
195
195
  needsApproval?: boolean;
196
196
  }> | null;
@@ -202,9 +202,9 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- description: string | null;
206
205
  id: string;
207
206
  name: string;
207
+ description: string | null;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
210
  projectId: string;
@@ -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
- description: string | null;
10
8
  id: string;
11
9
  name: string;
10
+ description: string | null;
12
11
  createdAt: string;
13
12
  updatedAt: string;
14
13
  projectId: string | null;
15
14
  tenantId: string | null;
15
+ type: AppType;
16
16
  prompt: string | null;
17
17
  enabled: boolean;
18
18
  config: {
@@ -61,14 +61,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- type: AppType;
65
- description: string | null;
66
64
  id: string;
67
65
  name: string;
66
+ description: string | null;
68
67
  createdAt: string;
69
68
  updatedAt: string;
70
69
  projectId: string | null;
71
70
  tenantId: string | null;
71
+ type: AppType;
72
72
  prompt: string | null;
73
73
  enabled: boolean;
74
74
  config: {
@@ -15,7 +15,6 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- title: string | null;
19
18
  id: string;
20
19
  metadata: ConversationMetadata | null;
21
20
  ref: {
@@ -27,6 +26,7 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
27
26
  updatedAt: string;
28
27
  projectId: string;
29
28
  tenantId: string;
29
+ title: string | null;
30
30
  agentId: string | null;
31
31
  userId: string | null;
32
32
  activeSubAgentId: string;
@@ -84,7 +84,6 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- title: string | null;
88
87
  id: string;
89
88
  metadata: ConversationMetadata | null;
90
89
  ref: {
@@ -96,6 +95,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
96
95
  updatedAt: string;
97
96
  projectId: string;
98
97
  tenantId: string;
98
+ title: string | null;
99
99
  agentId: string | null;
100
100
  userId: string | null;
101
101
  activeSubAgentId: string;
@@ -120,7 +120,6 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- title: string | null;
124
123
  id: string;
125
124
  metadata: ConversationMetadata | null;
126
125
  ref: {
@@ -132,6 +131,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
132
131
  updatedAt: string;
133
132
  projectId: string;
134
133
  tenantId: string;
134
+ title: string | null;
135
135
  agentId: string | null;
136
136
  userId: string | null;
137
137
  activeSubAgentId: string;
@@ -152,7 +152,6 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- title: string | null;
156
155
  id: string;
157
156
  metadata: ConversationMetadata | null;
158
157
  ref: {
@@ -164,6 +163,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
164
163
  updatedAt: string;
165
164
  projectId: string;
166
165
  tenantId: string;
166
+ title: string | null;
167
167
  agentId: string | null;
168
168
  userId: string | null;
169
169
  activeSubAgentId: string;
@@ -58,12 +58,12 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
- type: "positive" | "negative";
62
61
  id: string;
63
62
  createdAt: string;
64
63
  updatedAt: string;
65
64
  projectId: string;
66
65
  tenantId: string;
66
+ type: "positive" | "negative";
67
67
  details: string | null;
68
68
  conversationId: string;
69
69
  messageId: string | null;
@@ -87,12 +87,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
- type: "positive" | "negative";
91
90
  id: string;
92
91
  createdAt: string;
93
92
  updatedAt: string;
94
93
  projectId: string;
95
94
  tenantId: string;
95
+ type: "positive" | "negative";
96
96
  details: string | null;
97
97
  conversationId: string;
98
98
  messageId: string | null;
@@ -7,7 +7,6 @@ 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
- status: string;
11
10
  id: string;
12
11
  metadata: TaskMetadataConfig | null;
13
12
  ref: {
@@ -20,6 +19,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
20
19
  projectId: string;
21
20
  tenantId: string;
22
21
  agentId: string;
22
+ status: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core1399 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core1263 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1399.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1263.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };