@inkeep/agents-core 0.0.0-dev-20260408022324 → 0.0.0-dev-20260408074257
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.
- package/dist/auth/auth-schema.d.ts +108 -108
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agentFull.d.ts +2 -0
- package/dist/data-access/manage/agentFull.js +12 -12
- package/dist/data-access/manage/agents.d.ts +16 -16
- package/dist/data-access/manage/artifactComponents.d.ts +8 -8
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +8 -8
- package/dist/data-access/manage/skills.d.ts +8 -8
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +12 -12
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/feedback.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +21 -21
- package/dist/data-access/runtime/tasks.d.ts +3 -3
- package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +451 -451
- package/dist/db/runtime/runtime-schema.d.ts +405 -405
- package/dist/dolt/ref-middleware.js +2 -2
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/jwt-helpers.js +1 -1
- package/dist/utils/third-party-mcp-servers/composio-client.js +10 -10
- package/dist/utils/tracer-factory.js +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +54 -54
- package/dist/validation/schemas.d.ts +2186 -2186
- package/package.json +1 -1
|
@@ -57,7 +57,7 @@ const createRefMiddleware = (db, options = {}) => {
|
|
|
57
57
|
logger.debug({ ref }, "Extracted targetBranch from merge route body as ref");
|
|
58
58
|
}
|
|
59
59
|
} catch {
|
|
60
|
-
logger.debug(
|
|
60
|
+
logger.debug("Could not extract targetBranch from merge route body");
|
|
61
61
|
}
|
|
62
62
|
const tenantId = extractTenantId(c);
|
|
63
63
|
let projectId = extractProjectId(c);
|
|
@@ -72,7 +72,7 @@ const createRefMiddleware = (db, options = {}) => {
|
|
|
72
72
|
logger.debug({ projectId }, "Extracted projectId from request body");
|
|
73
73
|
}
|
|
74
74
|
} catch {
|
|
75
|
-
logger.debug(
|
|
75
|
+
logger.debug("Could not extract projectId from body");
|
|
76
76
|
}
|
|
77
77
|
if (!tenantId) throw createApiError({
|
|
78
78
|
code: "bad_request",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono3 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/no-auth.d.ts
|
|
4
|
-
declare const noAuth: () =>
|
|
4
|
+
declare const noAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { noAuth };
|
|
@@ -13,7 +13,7 @@ function getJwtSecret() {
|
|
|
13
13
|
const secret = env.INKEEP_AGENTS_JWT_SIGNING_SECRET;
|
|
14
14
|
if (!secret) {
|
|
15
15
|
if (env.ENVIRONMENT === "production") throw new Error("INKEEP_AGENTS_JWT_SIGNING_SECRET environment variable is required in production");
|
|
16
|
-
logger.warn(
|
|
16
|
+
logger.warn("INKEEP_AGENTS_JWT_SIGNING_SECRET not set, using insecure default. DO NOT USE IN PRODUCTION!");
|
|
17
17
|
return new TextEncoder().encode(DEV_SECRET);
|
|
18
18
|
}
|
|
19
19
|
return new TextEncoder().encode(secret);
|
|
@@ -113,7 +113,7 @@ function extractComposioServerId(mcpUrl) {
|
|
|
113
113
|
async function deleteComposioConnectedAccount(accountId) {
|
|
114
114
|
const composioInstance = getComposioInstance();
|
|
115
115
|
if (!composioInstance) {
|
|
116
|
-
logger$1.info(
|
|
116
|
+
logger$1.info("Composio not configured, skipping account deletion");
|
|
117
117
|
return false;
|
|
118
118
|
}
|
|
119
119
|
try {
|
|
@@ -131,7 +131,7 @@ async function deleteComposioConnectedAccount(accountId) {
|
|
|
131
131
|
async function fetchComposioConnectedAccounts(derivedUserId) {
|
|
132
132
|
const composioInstance = getComposioInstance();
|
|
133
133
|
if (!composioInstance) {
|
|
134
|
-
logger$1.info(
|
|
134
|
+
logger$1.info("Composio not configured, skipping connected accounts fetch");
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
137
|
try {
|
|
@@ -155,7 +155,7 @@ async function fetchComposioConnectedAccounts(derivedUserId) {
|
|
|
155
155
|
*/
|
|
156
156
|
async function isComposioMCPServerAuthenticated(tenantId, projectId, mcpServerUrl, credentialScope = "project", userId) {
|
|
157
157
|
if (!process.env.COMPOSIO_API_KEY) {
|
|
158
|
-
logger$1.info(
|
|
158
|
+
logger$1.info("Composio API key not configured, skipping auth check");
|
|
159
159
|
return { authenticated: false };
|
|
160
160
|
}
|
|
161
161
|
const serverId = extractComposioServerId(mcpServerUrl);
|
|
@@ -166,7 +166,7 @@ async function isComposioMCPServerAuthenticated(tenantId, projectId, mcpServerUr
|
|
|
166
166
|
const composioUserId = getComposioUserId(tenantId, projectId, credentialScope, userId);
|
|
167
167
|
const composioInstance = getComposioInstance();
|
|
168
168
|
if (!composioInstance) {
|
|
169
|
-
logger$1.info(
|
|
169
|
+
logger$1.info("Composio not configured, skipping auth check");
|
|
170
170
|
return { authenticated: false };
|
|
171
171
|
}
|
|
172
172
|
try {
|
|
@@ -250,7 +250,7 @@ async function ensureComposioAccount(composioMcpServer, derivedUserId, staleAcco
|
|
|
250
250
|
*/
|
|
251
251
|
async function getComposioOAuthRedirectUrl(tenantId, projectId, mcpServerUrl, credentialScope, userId) {
|
|
252
252
|
if (!process.env.COMPOSIO_API_KEY) {
|
|
253
|
-
logger$1.info(
|
|
253
|
+
logger$1.info("Composio API key not configured");
|
|
254
254
|
return null;
|
|
255
255
|
}
|
|
256
256
|
const serverId = extractComposioServerId(mcpServerUrl);
|
|
@@ -260,7 +260,7 @@ async function getComposioOAuthRedirectUrl(tenantId, projectId, mcpServerUrl, cr
|
|
|
260
260
|
}
|
|
261
261
|
const composioInstance = getComposioInstance();
|
|
262
262
|
if (!composioInstance) {
|
|
263
|
-
logger$1.info(
|
|
263
|
+
logger$1.info("Composio not configured");
|
|
264
264
|
return null;
|
|
265
265
|
}
|
|
266
266
|
const composioUserId = getComposioUserId(tenantId, projectId, credentialScope, userId);
|
|
@@ -300,12 +300,12 @@ async function transformComposioServer(composioMcpServer, authenticatedAuthConfi
|
|
|
300
300
|
*/
|
|
301
301
|
async function fetchComposioServers() {
|
|
302
302
|
if (!process.env.COMPOSIO_API_KEY) {
|
|
303
|
-
logger$1.info(
|
|
303
|
+
logger$1.info("COMPOSIO_API_KEY not configured, skipping Composio servers");
|
|
304
304
|
return [];
|
|
305
305
|
}
|
|
306
306
|
const composioInstance = getComposioInstance();
|
|
307
307
|
if (!composioInstance) {
|
|
308
|
-
logger$1.info(
|
|
308
|
+
logger$1.info("Composio not configured, returning empty list");
|
|
309
309
|
return [];
|
|
310
310
|
}
|
|
311
311
|
try {
|
|
@@ -327,13 +327,13 @@ async function fetchComposioServers() {
|
|
|
327
327
|
*/
|
|
328
328
|
async function fetchSingleComposioServer(tenantId, projectId, mcpServerUrl, credentialScope = "project", userId) {
|
|
329
329
|
if (!process.env.COMPOSIO_API_KEY) {
|
|
330
|
-
logger$1.debug(
|
|
330
|
+
logger$1.debug("COMPOSIO_API_KEY not configured");
|
|
331
331
|
return null;
|
|
332
332
|
}
|
|
333
333
|
const composioUserId = getComposioUserId(tenantId, projectId, credentialScope, userId);
|
|
334
334
|
const composioInstance = getComposioInstance();
|
|
335
335
|
if (!composioInstance) {
|
|
336
|
-
logger$1.info(
|
|
336
|
+
logger$1.info("Composio not configured, returning null");
|
|
337
337
|
return null;
|
|
338
338
|
}
|
|
339
339
|
try {
|
|
@@ -70,7 +70,7 @@ function getTracer(serviceName, serviceVersion) {
|
|
|
70
70
|
try {
|
|
71
71
|
return trace.getTracer(serviceName, serviceVersion);
|
|
72
72
|
} catch (_error) {
|
|
73
|
-
logger.debug(
|
|
73
|
+
logger.debug("OpenTelemetry tracer not available, using no-op tracer");
|
|
74
74
|
return noopTracer;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod0 from "drizzle-zod";
|
|
3
3
|
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/drizzle-schema-helpers.d.ts
|
|
6
|
-
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
7
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
6
|
+
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"select", T["_"]["columns"], drizzle_zod0.BuildRefine<T["_"]["columns"], undefined>, undefined>;
|
|
7
|
+
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod0.BuildSchema<"insert", T["_"]["columns"], drizzle_zod0.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
|
|
8
8
|
declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
|
|
9
9
|
declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
|
|
10
10
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as drizzle_orm_pg_core1828 from "drizzle-orm/pg-core";
|
|
3
|
+
import * as drizzle_zod369 from "drizzle-zod";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/schemas/skills.d.ts
|
|
6
6
|
declare const SkillIndexSchema: z.ZodInt;
|
|
@@ -27,8 +27,8 @@ declare const SkillFileContentInputSchema: z.ZodObject<{
|
|
|
27
27
|
filePath: z.ZodString;
|
|
28
28
|
content: z.ZodString;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
|
-
declare const SkillFileSelectSchema:
|
|
31
|
-
createdAt:
|
|
30
|
+
declare const SkillFileSelectSchema: drizzle_zod369.BuildSchema<"select", {
|
|
31
|
+
createdAt: drizzle_orm_pg_core1828.PgColumn<{
|
|
32
32
|
name: "created_at";
|
|
33
33
|
tableName: "skill_files";
|
|
34
34
|
dataType: "string";
|
|
@@ -45,7 +45,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
45
45
|
identity: undefined;
|
|
46
46
|
generated: undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
|
-
updatedAt:
|
|
48
|
+
updatedAt: drizzle_orm_pg_core1828.PgColumn<{
|
|
49
49
|
name: "updated_at";
|
|
50
50
|
tableName: "skill_files";
|
|
51
51
|
dataType: "string";
|
|
@@ -62,7 +62,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
62
62
|
identity: undefined;
|
|
63
63
|
generated: undefined;
|
|
64
64
|
}, {}, {}>;
|
|
65
|
-
skillId:
|
|
65
|
+
skillId: drizzle_orm_pg_core1828.PgColumn<{
|
|
66
66
|
name: "skill_id";
|
|
67
67
|
tableName: "skill_files";
|
|
68
68
|
dataType: "string";
|
|
@@ -81,7 +81,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
81
81
|
}, {}, {
|
|
82
82
|
length: 64;
|
|
83
83
|
}>;
|
|
84
|
-
filePath:
|
|
84
|
+
filePath: drizzle_orm_pg_core1828.PgColumn<{
|
|
85
85
|
name: "file_path";
|
|
86
86
|
tableName: "skill_files";
|
|
87
87
|
dataType: "string";
|
|
@@ -100,7 +100,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
100
100
|
}, {}, {
|
|
101
101
|
length: 1024;
|
|
102
102
|
}>;
|
|
103
|
-
content:
|
|
103
|
+
content: drizzle_orm_pg_core1828.PgColumn<{
|
|
104
104
|
name: "content";
|
|
105
105
|
tableName: "skill_files";
|
|
106
106
|
dataType: "string";
|
|
@@ -117,7 +117,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
117
117
|
identity: undefined;
|
|
118
118
|
generated: undefined;
|
|
119
119
|
}, {}, {}>;
|
|
120
|
-
projectId:
|
|
120
|
+
projectId: drizzle_orm_pg_core1828.PgColumn<{
|
|
121
121
|
name: "project_id";
|
|
122
122
|
tableName: "skill_files";
|
|
123
123
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
136
136
|
}, {}, {
|
|
137
137
|
length: 256;
|
|
138
138
|
}>;
|
|
139
|
-
tenantId:
|
|
139
|
+
tenantId: drizzle_orm_pg_core1828.PgColumn<{
|
|
140
140
|
name: "tenant_id";
|
|
141
141
|
tableName: "skill_files";
|
|
142
142
|
dataType: "string";
|
|
@@ -155,7 +155,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
155
155
|
}, {}, {
|
|
156
156
|
length: 256;
|
|
157
157
|
}>;
|
|
158
|
-
id:
|
|
158
|
+
id: drizzle_orm_pg_core1828.PgColumn<{
|
|
159
159
|
name: "id";
|
|
160
160
|
tableName: "skill_files";
|
|
161
161
|
dataType: "string";
|
|
@@ -174,8 +174,8 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
174
174
|
}, {}, {
|
|
175
175
|
length: 256;
|
|
176
176
|
}>;
|
|
177
|
-
},
|
|
178
|
-
createdAt:
|
|
177
|
+
}, drizzle_zod369.BuildRefine<{
|
|
178
|
+
createdAt: drizzle_orm_pg_core1828.PgColumn<{
|
|
179
179
|
name: "created_at";
|
|
180
180
|
tableName: "skill_files";
|
|
181
181
|
dataType: "string";
|
|
@@ -192,7 +192,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
192
192
|
identity: undefined;
|
|
193
193
|
generated: undefined;
|
|
194
194
|
}, {}, {}>;
|
|
195
|
-
updatedAt:
|
|
195
|
+
updatedAt: drizzle_orm_pg_core1828.PgColumn<{
|
|
196
196
|
name: "updated_at";
|
|
197
197
|
tableName: "skill_files";
|
|
198
198
|
dataType: "string";
|
|
@@ -209,7 +209,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
209
209
|
identity: undefined;
|
|
210
210
|
generated: undefined;
|
|
211
211
|
}, {}, {}>;
|
|
212
|
-
skillId:
|
|
212
|
+
skillId: drizzle_orm_pg_core1828.PgColumn<{
|
|
213
213
|
name: "skill_id";
|
|
214
214
|
tableName: "skill_files";
|
|
215
215
|
dataType: "string";
|
|
@@ -228,7 +228,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
228
228
|
}, {}, {
|
|
229
229
|
length: 64;
|
|
230
230
|
}>;
|
|
231
|
-
filePath:
|
|
231
|
+
filePath: drizzle_orm_pg_core1828.PgColumn<{
|
|
232
232
|
name: "file_path";
|
|
233
233
|
tableName: "skill_files";
|
|
234
234
|
dataType: "string";
|
|
@@ -247,7 +247,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
247
247
|
}, {}, {
|
|
248
248
|
length: 1024;
|
|
249
249
|
}>;
|
|
250
|
-
content:
|
|
250
|
+
content: drizzle_orm_pg_core1828.PgColumn<{
|
|
251
251
|
name: "content";
|
|
252
252
|
tableName: "skill_files";
|
|
253
253
|
dataType: "string";
|
|
@@ -264,7 +264,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
264
264
|
identity: undefined;
|
|
265
265
|
generated: undefined;
|
|
266
266
|
}, {}, {}>;
|
|
267
|
-
projectId:
|
|
267
|
+
projectId: drizzle_orm_pg_core1828.PgColumn<{
|
|
268
268
|
name: "project_id";
|
|
269
269
|
tableName: "skill_files";
|
|
270
270
|
dataType: "string";
|
|
@@ -283,7 +283,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
283
283
|
}, {}, {
|
|
284
284
|
length: 256;
|
|
285
285
|
}>;
|
|
286
|
-
tenantId:
|
|
286
|
+
tenantId: drizzle_orm_pg_core1828.PgColumn<{
|
|
287
287
|
name: "tenant_id";
|
|
288
288
|
tableName: "skill_files";
|
|
289
289
|
dataType: "string";
|
|
@@ -302,7 +302,7 @@ declare const SkillFileSelectSchema: drizzle_zod0.BuildSchema<"select", {
|
|
|
302
302
|
}, {}, {
|
|
303
303
|
length: 256;
|
|
304
304
|
}>;
|
|
305
|
-
id:
|
|
305
|
+
id: drizzle_orm_pg_core1828.PgColumn<{
|
|
306
306
|
name: "id";
|
|
307
307
|
tableName: "skill_files";
|
|
308
308
|
dataType: "string";
|
|
@@ -338,8 +338,8 @@ declare const SkillFileInsertSchema: z.ZodObject<{
|
|
|
338
338
|
declare const SkillInsertSchema: z.ZodObject<{
|
|
339
339
|
name: z.ZodString;
|
|
340
340
|
description: z.ZodString;
|
|
341
|
-
content: z.ZodString;
|
|
342
341
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
342
|
+
content: z.ZodString;
|
|
343
343
|
}, {
|
|
344
344
|
out: {};
|
|
345
345
|
in: {};
|
|
@@ -351,13 +351,13 @@ declare const SkillUpdateSchema: z.ZodObject<{
|
|
|
351
351
|
}, z.core.$strip>>;
|
|
352
352
|
}, z.core.$strip>;
|
|
353
353
|
declare const SkillApiSelectSchema: z.ZodObject<{
|
|
354
|
-
id: z.ZodString;
|
|
355
354
|
name: z.ZodString;
|
|
355
|
+
id: z.ZodString;
|
|
356
356
|
description: z.ZodString;
|
|
357
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
358
|
+
content: z.ZodString;
|
|
357
359
|
createdAt: z.ZodString;
|
|
358
360
|
updatedAt: z.ZodString;
|
|
359
|
-
content: z.ZodString;
|
|
360
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
361
361
|
}, z.core.$strip>;
|
|
362
362
|
declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
363
363
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -410,11 +410,11 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
410
410
|
}, z.core.$strict>>;
|
|
411
411
|
declare const SkillFileApiSelectSchema: z.ZodObject<{
|
|
412
412
|
id: z.ZodString;
|
|
413
|
+
content: z.ZodString;
|
|
413
414
|
createdAt: z.ZodString;
|
|
414
415
|
updatedAt: z.ZodString;
|
|
415
|
-
content: z.ZodString;
|
|
416
|
-
skillId: z.ZodString;
|
|
417
416
|
filePath: z.ZodString;
|
|
417
|
+
skillId: z.ZodString;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
419
|
declare const SkillFileApiInsertSchema: z.ZodObject<{
|
|
420
420
|
filePath: z.ZodString;
|
|
@@ -424,20 +424,20 @@ declare const SkillFileApiUpdateSchema: z.ZodObject<{
|
|
|
424
424
|
content: z.ZodString;
|
|
425
425
|
}, z.core.$strip>;
|
|
426
426
|
declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
|
|
427
|
-
id: z.ZodString;
|
|
428
427
|
name: z.ZodString;
|
|
428
|
+
id: z.ZodString;
|
|
429
429
|
description: z.ZodString;
|
|
430
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
431
|
+
content: z.ZodString;
|
|
430
432
|
createdAt: z.ZodString;
|
|
431
433
|
updatedAt: z.ZodString;
|
|
432
|
-
content: z.ZodString;
|
|
433
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
434
434
|
files: z.ZodArray<z.ZodObject<{
|
|
435
435
|
id: z.ZodString;
|
|
436
|
+
content: z.ZodString;
|
|
436
437
|
createdAt: z.ZodString;
|
|
437
438
|
updatedAt: z.ZodString;
|
|
438
|
-
content: z.ZodString;
|
|
439
|
-
skillId: z.ZodString;
|
|
440
439
|
filePath: z.ZodString;
|
|
440
|
+
skillId: z.ZodString;
|
|
441
441
|
}, z.core.$strip>>;
|
|
442
442
|
}, z.core.$strip>;
|
|
443
443
|
declare const SubAgentSkillSelectSchema: z.ZodObject<{
|
|
@@ -486,41 +486,41 @@ declare const SubAgentSkillUpdateSchema: z.ZodObject<{
|
|
|
486
486
|
in: {};
|
|
487
487
|
}>;
|
|
488
488
|
declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
|
|
489
|
-
subAgentId: z.ZodString;
|
|
490
489
|
id: z.ZodString;
|
|
490
|
+
subAgentId: z.ZodString;
|
|
491
491
|
createdAt: z.ZodString;
|
|
492
492
|
updatedAt: z.ZodString;
|
|
493
|
-
skillId: z.ZodString;
|
|
494
493
|
index: z.ZodInt;
|
|
495
494
|
alwaysLoaded: z.ZodBoolean;
|
|
495
|
+
skillId: z.ZodString;
|
|
496
496
|
}, z.core.$strip>;
|
|
497
497
|
declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
|
|
498
498
|
agentId: z.ZodString;
|
|
499
499
|
subAgentId: z.ZodString;
|
|
500
|
-
skillId: z.ZodString;
|
|
501
500
|
index: z.ZodInt;
|
|
502
501
|
alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
+
skillId: z.ZodString;
|
|
503
503
|
}, {
|
|
504
504
|
out: {};
|
|
505
505
|
in: {};
|
|
506
506
|
}>;
|
|
507
507
|
declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
|
|
508
|
-
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
509
508
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
509
|
+
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
510
510
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
511
511
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
512
|
-
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
513
512
|
index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
514
513
|
alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
|
|
514
|
+
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
515
515
|
}, z.core.$strip>;
|
|
516
516
|
declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
|
|
517
|
-
id: z.ZodString;
|
|
518
517
|
name: z.ZodString;
|
|
518
|
+
id: z.ZodString;
|
|
519
519
|
description: z.ZodString;
|
|
520
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
521
|
+
content: z.ZodString;
|
|
520
522
|
createdAt: z.ZodString;
|
|
521
523
|
updatedAt: z.ZodString;
|
|
522
|
-
content: z.ZodString;
|
|
523
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
524
524
|
subAgentSkillId: z.ZodString;
|
|
525
525
|
subAgentId: z.ZodString;
|
|
526
526
|
index: z.ZodInt;
|
|
@@ -529,41 +529,41 @@ declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
|
|
|
529
529
|
declare const SkillFileResponse: z.ZodObject<{
|
|
530
530
|
data: z.ZodObject<{
|
|
531
531
|
id: z.ZodString;
|
|
532
|
+
content: z.ZodString;
|
|
532
533
|
createdAt: z.ZodString;
|
|
533
534
|
updatedAt: z.ZodString;
|
|
534
|
-
content: z.ZodString;
|
|
535
|
-
skillId: z.ZodString;
|
|
536
535
|
filePath: z.ZodString;
|
|
536
|
+
skillId: z.ZodString;
|
|
537
537
|
}, z.core.$strip>;
|
|
538
538
|
}, z.core.$strip>;
|
|
539
539
|
declare const SkillWithFilesResponse: z.ZodObject<{
|
|
540
540
|
data: z.ZodObject<{
|
|
541
|
-
id: z.ZodString;
|
|
542
541
|
name: z.ZodString;
|
|
542
|
+
id: z.ZodString;
|
|
543
543
|
description: z.ZodString;
|
|
544
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
545
|
+
content: z.ZodString;
|
|
544
546
|
createdAt: z.ZodString;
|
|
545
547
|
updatedAt: z.ZodString;
|
|
546
|
-
content: z.ZodString;
|
|
547
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
548
548
|
files: z.ZodArray<z.ZodObject<{
|
|
549
549
|
id: z.ZodString;
|
|
550
|
+
content: z.ZodString;
|
|
550
551
|
createdAt: z.ZodString;
|
|
551
552
|
updatedAt: z.ZodString;
|
|
552
|
-
content: z.ZodString;
|
|
553
|
-
skillId: z.ZodString;
|
|
554
553
|
filePath: z.ZodString;
|
|
554
|
+
skillId: z.ZodString;
|
|
555
555
|
}, z.core.$strip>>;
|
|
556
556
|
}, z.core.$strip>;
|
|
557
557
|
}, z.core.$strip>;
|
|
558
558
|
declare const SkillListResponse: z.ZodObject<{
|
|
559
559
|
data: z.ZodArray<z.ZodObject<{
|
|
560
|
-
id: z.ZodString;
|
|
561
560
|
name: z.ZodString;
|
|
561
|
+
id: z.ZodString;
|
|
562
562
|
description: z.ZodString;
|
|
563
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
564
|
+
content: z.ZodString;
|
|
563
565
|
createdAt: z.ZodString;
|
|
564
566
|
updatedAt: z.ZodString;
|
|
565
|
-
content: z.ZodString;
|
|
566
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
568
|
pagination: z.ZodObject<{
|
|
569
569
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -574,24 +574,24 @@ declare const SkillListResponse: z.ZodObject<{
|
|
|
574
574
|
}, z.core.$strip>;
|
|
575
575
|
declare const SubAgentSkillResponse: z.ZodObject<{
|
|
576
576
|
data: z.ZodObject<{
|
|
577
|
-
subAgentId: z.ZodString;
|
|
578
577
|
id: z.ZodString;
|
|
578
|
+
subAgentId: z.ZodString;
|
|
579
579
|
createdAt: z.ZodString;
|
|
580
580
|
updatedAt: z.ZodString;
|
|
581
|
-
skillId: z.ZodString;
|
|
582
581
|
index: z.ZodInt;
|
|
583
582
|
alwaysLoaded: z.ZodBoolean;
|
|
583
|
+
skillId: z.ZodString;
|
|
584
584
|
}, z.core.$strip>;
|
|
585
585
|
}, z.core.$strip>;
|
|
586
586
|
declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
|
|
587
587
|
data: z.ZodArray<z.ZodObject<{
|
|
588
|
-
id: z.ZodString;
|
|
589
588
|
name: z.ZodString;
|
|
589
|
+
id: z.ZodString;
|
|
590
590
|
description: z.ZodString;
|
|
591
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
592
|
+
content: z.ZodString;
|
|
591
593
|
createdAt: z.ZodString;
|
|
592
594
|
updatedAt: z.ZodString;
|
|
593
|
-
content: z.ZodString;
|
|
594
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
595
595
|
subAgentSkillId: z.ZodString;
|
|
596
596
|
subAgentId: z.ZodString;
|
|
597
597
|
index: z.ZodInt;
|