@inkeep/agents-core 0.0.0-dev-20260403031002 → 0.0.0-dev-20260403132729

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.
@@ -8,11 +8,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
11
  id: string;
12
+ name: string | null;
13
13
  createdAt: string;
14
- expiresAt: string | null;
15
14
  updatedAt: string;
15
+ expiresAt: string | null;
16
16
  tenantId: string;
17
17
  projectId: string;
18
18
  agentId: string;
@@ -22,11 +22,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
25
  id: string;
26
+ name: string | null;
27
27
  createdAt: string;
28
- expiresAt: string | null;
29
28
  updatedAt: string;
29
+ expiresAt: string | null;
30
30
  tenantId: string;
31
31
  projectId: string;
32
32
  agentId: string;
@@ -39,11 +39,11 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
42
  id: string;
43
+ name: string | null;
44
44
  createdAt: string;
45
- expiresAt: string | null;
46
45
  updatedAt: string;
46
+ expiresAt: string | null;
47
47
  tenantId: string;
48
48
  projectId: string;
49
49
  agentId: string;
@@ -66,11 +66,11 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- name: string | null;
70
69
  id: string;
70
+ name: string | null;
71
71
  createdAt: string;
72
- expiresAt: string | null;
73
72
  updatedAt: string;
73
+ expiresAt: string | null;
74
74
  tenantId: string;
75
75
  projectId: string;
76
76
  agentId: string;
@@ -6,14 +6,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- name: string;
10
9
  id: string;
10
+ name: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
- tenantId: string | null;
14
- projectId: string | null;
15
13
  description: string | null;
16
14
  enabled: boolean;
15
+ tenantId: string | null;
16
+ projectId: string | null;
17
+ prompt: string | null;
17
18
  config: {
18
19
  type: "web_client";
19
20
  webClient: {
@@ -31,7 +32,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
31
32
  type: "api";
32
33
  api: Record<string, never>;
33
34
  };
34
- prompt: string | null;
35
35
  lastUsedAt: string | null;
36
36
  defaultProjectId: string | null;
37
37
  defaultAgentId: string | null;
@@ -62,14 +62,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
- name: string;
66
65
  id: string;
66
+ name: string;
67
67
  createdAt: string;
68
68
  updatedAt: string;
69
- tenantId: string | null;
70
- projectId: string | null;
71
69
  description: string | null;
72
70
  enabled: boolean;
71
+ tenantId: string | null;
72
+ projectId: string | null;
73
+ prompt: string | null;
73
74
  config: {
74
75
  type: "web_client";
75
76
  webClient: {
@@ -87,7 +88,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
87
88
  type: "api";
88
89
  api: Record<string, never>;
89
90
  };
90
- prompt: string | null;
91
91
  lastUsedAt: string | null;
92
92
  defaultProjectId: string | null;
93
93
  defaultAgentId: string | null;
@@ -15,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- metadata: ConversationMetadata | null;
19
- userId: string | null;
20
18
  id: string;
21
19
  createdAt: string;
22
20
  updatedAt: string;
23
- tenantId: string;
24
- projectId: string;
25
- title: string | null;
26
- agentId: string | null;
27
21
  ref: {
28
22
  type: "commit" | "tag" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ tenantId: string;
29
+ projectId: string;
30
+ title: string | null;
31
+ agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- metadata: ConversationMetadata | null;
88
- userId: string | null;
89
87
  id: string;
90
88
  createdAt: string;
91
89
  updatedAt: string;
92
- tenantId: string;
93
- projectId: string;
94
- title: string | null;
95
- agentId: string | null;
96
90
  ref: {
97
91
  type: "commit" | "tag" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ tenantId: string;
98
+ projectId: string;
99
+ title: string | null;
100
+ agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- metadata: ConversationMetadata | null;
124
- userId: string | null;
125
123
  id: string;
126
124
  createdAt: string;
127
125
  updatedAt: string;
128
- tenantId: string;
129
- projectId: string;
130
- title: string | null;
131
- agentId: string | null;
132
126
  ref: {
133
127
  type: "commit" | "tag" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ tenantId: string;
134
+ projectId: string;
135
+ title: string | null;
136
+ agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- metadata: ConversationMetadata | null;
156
- userId: string | null;
157
155
  id: string;
158
156
  createdAt: string;
159
157
  updatedAt: string;
160
- tenantId: string;
161
- projectId: string;
162
- title: string | null;
163
- agentId: string | null;
164
158
  ref: {
165
159
  type: "commit" | "tag" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ tenantId: string;
166
+ projectId: string;
167
+ title: string | null;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,11 +10,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- metadata: MessageMetadata | null;
14
- role: string;
15
13
  id: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
16
+ metadata: MessageMetadata | null;
17
+ role: string;
18
18
  tenantId: string;
19
19
  projectId: string;
20
20
  content: MessageContent;
@@ -144,11 +144,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
- metadata: MessageMetadata | null;
148
- role: string;
149
147
  id: string;
150
148
  createdAt: string;
151
149
  updatedAt: string;
150
+ metadata: MessageMetadata | null;
151
+ role: string;
152
152
  tenantId: string;
153
153
  projectId: string;
154
154
  content: MessageContent;
@@ -197,11 +197,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
- metadata: MessageMetadata | null;
201
- role: string;
202
200
  id: string;
203
201
  createdAt: string;
204
202
  updatedAt: string;
203
+ metadata: MessageMetadata | null;
204
+ role: string;
205
205
  tenantId: string;
206
206
  projectId: string;
207
207
  content: MessageContent;
@@ -7,20 +7,20 @@ 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
- metadata: TaskMetadataConfig | null;
11
10
  id: string;
12
11
  createdAt: string;
13
- status: string;
14
12
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
- subAgentId: string;
19
13
  ref: {
20
14
  type: "commit" | "tag" | "branch";
21
15
  name: string;
22
16
  hash: string;
23
17
  } | null;
18
+ metadata: TaskMetadataConfig | null;
19
+ status: string;
20
+ tenantId: string;
21
+ projectId: string;
22
+ agentId: string;
23
+ subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {