@inkeep/agents-core 0.73.0 → 0.73.2
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 +172 -172
- package/dist/auth/auth-schema.js +8 -8
- package/dist/auth/auth-types.d.ts +6 -1
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/auth.d.ts +65 -42
- package/dist/auth/auth.js +18 -4
- package/dist/auth/password-policy.d.ts +7 -3
- package/dist/auth/password-policy.js +6 -4
- package/dist/data-access/manage/agents.d.ts +20 -20
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +5 -5
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +8 -8
- package/dist/data-access/runtime/events.d.ts +4 -4
- package/dist/data-access/runtime/feedback.d.ts +4 -4
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_e422349b438eb7189cab8b1648fc0621 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_e422349b438eb7189cab8b1648fc0621 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_e422349b438eb7189cab8b1648fc0621 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_e422349b438eb7189cab8b1648fc0621 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
- package/dist/test-utils/mocks/logger.js +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +28 -28
- package/dist/validation/schemas.d.ts +1815 -1815
- package/drizzle/runtime/0042_long_magdalene.sql +8 -0
- package/drizzle/runtime/meta/0042_snapshot.json +6298 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +8 -8
|
@@ -13,9 +13,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
expiresAt: string | null;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
projectId: string;
|
|
18
16
|
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
19
19
|
publicId: string;
|
|
20
20
|
keyHash: string;
|
|
21
21
|
keyPrefix: string;
|
|
@@ -27,9 +27,9 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
|
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
29
|
expiresAt: string | null;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
projectId: string;
|
|
32
30
|
agentId: string;
|
|
31
|
+
projectId: string;
|
|
32
|
+
tenantId: string;
|
|
33
33
|
publicId: string;
|
|
34
34
|
keyHash: string;
|
|
35
35
|
keyPrefix: string;
|
|
@@ -44,9 +44,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
46
|
expiresAt: string | null;
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
47
|
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
50
50
|
publicId: string;
|
|
51
51
|
keyHash: string;
|
|
52
52
|
keyPrefix: string;
|
|
@@ -71,9 +71,9 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
|
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
73
|
expiresAt: string | null;
|
|
74
|
-
tenantId: string;
|
|
75
|
-
projectId: string;
|
|
76
74
|
agentId: string;
|
|
75
|
+
projectId: string;
|
|
76
|
+
tenantId: string;
|
|
77
77
|
publicId: string;
|
|
78
78
|
keyHash: string;
|
|
79
79
|
keyPrefix: string;
|
|
@@ -5,16 +5,16 @@ 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
8
|
id: string;
|
|
10
9
|
name: string;
|
|
11
10
|
createdAt: string;
|
|
12
11
|
updatedAt: string;
|
|
13
|
-
|
|
12
|
+
type: AppType;
|
|
14
13
|
description: string | null;
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
tenantId: string | null;
|
|
17
14
|
projectId: string | null;
|
|
15
|
+
tenantId: string | null;
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
prompt: string | null;
|
|
18
18
|
config: {
|
|
19
19
|
type: "web_client";
|
|
20
20
|
webClient: {
|
|
@@ -74,16 +74,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
76
76
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
77
|
-
type: AppType;
|
|
78
77
|
id: string;
|
|
79
78
|
name: string;
|
|
80
79
|
createdAt: string;
|
|
81
80
|
updatedAt: string;
|
|
82
|
-
|
|
81
|
+
type: AppType;
|
|
83
82
|
description: string | null;
|
|
84
|
-
enabled: boolean;
|
|
85
|
-
tenantId: string | null;
|
|
86
83
|
projectId: string | null;
|
|
84
|
+
tenantId: string | null;
|
|
85
|
+
enabled: boolean;
|
|
86
|
+
prompt: string | null;
|
|
87
87
|
config: {
|
|
88
88
|
type: "web_client";
|
|
89
89
|
webClient: {
|
|
@@ -27,9 +27,9 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
27
27
|
metadata: ConversationMetadata | null;
|
|
28
28
|
properties: Record<string, unknown> | null;
|
|
29
29
|
title: string | null;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
projectId: string;
|
|
32
30
|
agentId: string | null;
|
|
31
|
+
projectId: string;
|
|
32
|
+
tenantId: string;
|
|
33
33
|
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
userProperties: Record<string, unknown> | null;
|
|
@@ -102,9 +102,9 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
102
102
|
metadata: ConversationMetadata | null;
|
|
103
103
|
properties: Record<string, unknown> | null;
|
|
104
104
|
title: string | null;
|
|
105
|
-
tenantId: string;
|
|
106
|
-
projectId: string;
|
|
107
105
|
agentId: string | null;
|
|
106
|
+
projectId: string;
|
|
107
|
+
tenantId: string;
|
|
108
108
|
activeSubAgentId: string;
|
|
109
109
|
lastContextResolution: string | null;
|
|
110
110
|
userProperties: Record<string, unknown> | null;
|
|
@@ -142,9 +142,9 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
142
142
|
metadata: ConversationMetadata | null;
|
|
143
143
|
properties: Record<string, unknown> | null;
|
|
144
144
|
title: string | null;
|
|
145
|
-
tenantId: string;
|
|
146
|
-
projectId: string;
|
|
147
145
|
agentId: string | null;
|
|
146
|
+
projectId: string;
|
|
147
|
+
tenantId: string;
|
|
148
148
|
activeSubAgentId: string;
|
|
149
149
|
lastContextResolution: string | null;
|
|
150
150
|
userProperties: Record<string, unknown> | null;
|
|
@@ -176,9 +176,9 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
176
176
|
metadata: ConversationMetadata | null;
|
|
177
177
|
properties: Record<string, unknown> | null;
|
|
178
178
|
title: string | null;
|
|
179
|
-
tenantId: string;
|
|
180
|
-
projectId: string;
|
|
181
179
|
agentId: string | null;
|
|
180
|
+
projectId: string;
|
|
181
|
+
tenantId: string;
|
|
182
182
|
activeSubAgentId: string;
|
|
183
183
|
lastContextResolution: string | null;
|
|
184
184
|
userProperties: Record<string, unknown> | null;
|
|
@@ -7,17 +7,17 @@ import { EventInsert } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/events.d.ts
|
|
8
8
|
declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
|
|
9
9
|
row: {
|
|
10
|
-
type: string;
|
|
11
10
|
id: string;
|
|
12
11
|
createdAt: string;
|
|
13
12
|
updatedAt: string;
|
|
13
|
+
type: string;
|
|
14
14
|
metadata: Record<string, unknown> | null;
|
|
15
15
|
properties: Record<string, unknown> | null;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
projectId: string;
|
|
18
16
|
agentId: string | null;
|
|
19
|
-
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
20
19
|
conversationId: string | null;
|
|
20
|
+
userProperties: Record<string, unknown> | null;
|
|
21
21
|
messageId: string | null;
|
|
22
22
|
serverMetadata: {
|
|
23
23
|
[k: string]: unknown;
|
|
@@ -70,12 +70,12 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
}[]>;
|
|
72
72
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
73
|
-
type: "positive" | "negative";
|
|
74
73
|
id: string;
|
|
75
74
|
createdAt: string;
|
|
76
75
|
updatedAt: string;
|
|
77
|
-
|
|
76
|
+
type: "positive" | "negative";
|
|
78
77
|
projectId: string;
|
|
78
|
+
tenantId: string;
|
|
79
79
|
conversationId: string;
|
|
80
80
|
messageId: string | null;
|
|
81
81
|
details: string | null;
|
|
@@ -100,12 +100,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
100
100
|
scopes: ProjectScopeConfig;
|
|
101
101
|
feedbackId: string;
|
|
102
102
|
}) => Promise<{
|
|
103
|
-
type: "positive" | "negative";
|
|
104
103
|
id: string;
|
|
105
104
|
createdAt: string;
|
|
106
105
|
updatedAt: string;
|
|
107
|
-
|
|
106
|
+
type: "positive" | "negative";
|
|
108
107
|
projectId: string;
|
|
108
|
+
tenantId: string;
|
|
109
109
|
conversationId: string;
|
|
110
110
|
messageId: string | null;
|
|
111
111
|
details: string | null;
|
|
@@ -16,11 +16,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
metadata: MessageMetadata | null;
|
|
17
17
|
role: string;
|
|
18
18
|
properties: Record<string, unknown> | null;
|
|
19
|
-
tenantId: string;
|
|
20
19
|
projectId: string;
|
|
20
|
+
tenantId: string;
|
|
21
21
|
content: MessageContent;
|
|
22
|
-
userProperties: Record<string, unknown> | null;
|
|
23
22
|
conversationId: string;
|
|
23
|
+
userProperties: Record<string, unknown> | null;
|
|
24
24
|
fromSubAgentId: string | null;
|
|
25
25
|
toSubAgentId: string | null;
|
|
26
26
|
fromExternalAgentId: string | null;
|
|
@@ -160,11 +160,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
160
160
|
metadata: MessageMetadata | null;
|
|
161
161
|
role: string;
|
|
162
162
|
properties: Record<string, unknown> | null;
|
|
163
|
-
tenantId: string;
|
|
164
163
|
projectId: string;
|
|
164
|
+
tenantId: string;
|
|
165
165
|
content: MessageContent;
|
|
166
|
-
userProperties: Record<string, unknown> | null;
|
|
167
166
|
conversationId: string;
|
|
167
|
+
userProperties: Record<string, unknown> | null;
|
|
168
168
|
fromSubAgentId: string | null;
|
|
169
169
|
toSubAgentId: string | null;
|
|
170
170
|
fromExternalAgentId: string | null;
|
|
@@ -217,11 +217,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
217
217
|
metadata: MessageMetadata | null;
|
|
218
218
|
role: string;
|
|
219
219
|
properties: Record<string, unknown> | null;
|
|
220
|
-
tenantId: string;
|
|
221
220
|
projectId: string;
|
|
221
|
+
tenantId: string;
|
|
222
222
|
content: MessageContent;
|
|
223
|
-
userProperties: Record<string, unknown> | null;
|
|
224
223
|
conversationId: string;
|
|
224
|
+
userProperties: Record<string, unknown> | null;
|
|
225
225
|
fromSubAgentId: string | null;
|
|
226
226
|
toSubAgentId: string | null;
|
|
227
227
|
fromExternalAgentId: string | null;
|
|
@@ -17,8 +17,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
17
17
|
}) => Promise<{
|
|
18
18
|
createdAt: string;
|
|
19
19
|
userId: string;
|
|
20
|
-
tenantId: string;
|
|
21
20
|
scheduledTriggerId: string;
|
|
21
|
+
tenantId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
24
24
|
tenantId: string;
|
|
@@ -17,9 +17,9 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
17
17
|
} | null;
|
|
18
18
|
metadata: TaskMetadataConfig | null;
|
|
19
19
|
status: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
projectId: string;
|
|
22
20
|
agentId: string;
|
|
21
|
+
projectId: string;
|
|
22
|
+
tenantId: string;
|
|
23
23
|
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.
|
|
1
|
+
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
2
2
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
3
3
|
function getDefaultExportFromCjs(x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.
|
|
1
|
+
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
2
2
|
const RealDate = Date;
|
|
3
3
|
let now = null;
|
|
4
4
|
var MockDate = class MockDate extends RealDate {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getSafeTimers } from "../../../../../@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.
|
|
3
|
+
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
4
4
|
const NAME_WORKER_STATE = "__vitest_worker__";
|
|
5
5
|
function getWorkerState() {
|
|
6
6
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12,7 +12,7 @@ import { commonjsGlobal, getDefaultExportFromCjs } from "./_commonjsHelpers.BFTU
|
|
|
12
12
|
import { SnapshotClient, addSerializer, stripSnapshotIndentation } from "../../../../../@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js";
|
|
13
13
|
import { RealDate, mockDate, resetDate } from "./date.Bq6ZW5rf.js";
|
|
14
14
|
|
|
15
|
-
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.
|
|
15
|
+
//#region ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
16
16
|
const unsupported = [
|
|
17
17
|
"matchSnapshot",
|
|
18
18
|
"toMatchSnapshot",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { vi } from "../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.
|
|
1
|
+
import { vi } from "../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";
|
|
2
2
|
|
|
3
3
|
//#region src/test-utils/mocks/logger.ts
|
|
4
4
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod15 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_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.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_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.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_core2348 from "drizzle-orm/pg-core";
|
|
3
|
+
import * as drizzle_zod405 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_zod405.BuildSchema<"select", {
|
|
31
|
+
createdAt: drizzle_orm_pg_core2348.PgColumn<{
|
|
32
32
|
name: "created_at";
|
|
33
33
|
tableName: "skill_files";
|
|
34
34
|
dataType: "string";
|
|
@@ -45,7 +45,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
45
45
|
identity: undefined;
|
|
46
46
|
generated: undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
|
-
updatedAt:
|
|
48
|
+
updatedAt: drizzle_orm_pg_core2348.PgColumn<{
|
|
49
49
|
name: "updated_at";
|
|
50
50
|
tableName: "skill_files";
|
|
51
51
|
dataType: "string";
|
|
@@ -62,7 +62,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
62
62
|
identity: undefined;
|
|
63
63
|
generated: undefined;
|
|
64
64
|
}, {}, {}>;
|
|
65
|
-
skillId:
|
|
65
|
+
skillId: drizzle_orm_pg_core2348.PgColumn<{
|
|
66
66
|
name: "skill_id";
|
|
67
67
|
tableName: "skill_files";
|
|
68
68
|
dataType: "string";
|
|
@@ -81,7 +81,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
81
81
|
}, {}, {
|
|
82
82
|
length: 64;
|
|
83
83
|
}>;
|
|
84
|
-
filePath:
|
|
84
|
+
filePath: drizzle_orm_pg_core2348.PgColumn<{
|
|
85
85
|
name: "file_path";
|
|
86
86
|
tableName: "skill_files";
|
|
87
87
|
dataType: "string";
|
|
@@ -100,7 +100,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
100
100
|
}, {}, {
|
|
101
101
|
length: 1024;
|
|
102
102
|
}>;
|
|
103
|
-
content:
|
|
103
|
+
content: drizzle_orm_pg_core2348.PgColumn<{
|
|
104
104
|
name: "content";
|
|
105
105
|
tableName: "skill_files";
|
|
106
106
|
dataType: "string";
|
|
@@ -117,7 +117,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
117
117
|
identity: undefined;
|
|
118
118
|
generated: undefined;
|
|
119
119
|
}, {}, {}>;
|
|
120
|
-
projectId:
|
|
120
|
+
projectId: drizzle_orm_pg_core2348.PgColumn<{
|
|
121
121
|
name: "project_id";
|
|
122
122
|
tableName: "skill_files";
|
|
123
123
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
136
136
|
}, {}, {
|
|
137
137
|
length: 256;
|
|
138
138
|
}>;
|
|
139
|
-
tenantId:
|
|
139
|
+
tenantId: drizzle_orm_pg_core2348.PgColumn<{
|
|
140
140
|
name: "tenant_id";
|
|
141
141
|
tableName: "skill_files";
|
|
142
142
|
dataType: "string";
|
|
@@ -155,7 +155,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
155
155
|
}, {}, {
|
|
156
156
|
length: 256;
|
|
157
157
|
}>;
|
|
158
|
-
id:
|
|
158
|
+
id: drizzle_orm_pg_core2348.PgColumn<{
|
|
159
159
|
name: "id";
|
|
160
160
|
tableName: "skill_files";
|
|
161
161
|
dataType: "string";
|
|
@@ -174,8 +174,8 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
174
174
|
}, {}, {
|
|
175
175
|
length: 256;
|
|
176
176
|
}>;
|
|
177
|
-
},
|
|
178
|
-
createdAt:
|
|
177
|
+
}, drizzle_zod405.BuildRefine<{
|
|
178
|
+
createdAt: drizzle_orm_pg_core2348.PgColumn<{
|
|
179
179
|
name: "created_at";
|
|
180
180
|
tableName: "skill_files";
|
|
181
181
|
dataType: "string";
|
|
@@ -192,7 +192,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
192
192
|
identity: undefined;
|
|
193
193
|
generated: undefined;
|
|
194
194
|
}, {}, {}>;
|
|
195
|
-
updatedAt:
|
|
195
|
+
updatedAt: drizzle_orm_pg_core2348.PgColumn<{
|
|
196
196
|
name: "updated_at";
|
|
197
197
|
tableName: "skill_files";
|
|
198
198
|
dataType: "string";
|
|
@@ -209,7 +209,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
209
209
|
identity: undefined;
|
|
210
210
|
generated: undefined;
|
|
211
211
|
}, {}, {}>;
|
|
212
|
-
skillId:
|
|
212
|
+
skillId: drizzle_orm_pg_core2348.PgColumn<{
|
|
213
213
|
name: "skill_id";
|
|
214
214
|
tableName: "skill_files";
|
|
215
215
|
dataType: "string";
|
|
@@ -228,7 +228,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
228
228
|
}, {}, {
|
|
229
229
|
length: 64;
|
|
230
230
|
}>;
|
|
231
|
-
filePath:
|
|
231
|
+
filePath: drizzle_orm_pg_core2348.PgColumn<{
|
|
232
232
|
name: "file_path";
|
|
233
233
|
tableName: "skill_files";
|
|
234
234
|
dataType: "string";
|
|
@@ -247,7 +247,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
247
247
|
}, {}, {
|
|
248
248
|
length: 1024;
|
|
249
249
|
}>;
|
|
250
|
-
content:
|
|
250
|
+
content: drizzle_orm_pg_core2348.PgColumn<{
|
|
251
251
|
name: "content";
|
|
252
252
|
tableName: "skill_files";
|
|
253
253
|
dataType: "string";
|
|
@@ -264,7 +264,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
264
264
|
identity: undefined;
|
|
265
265
|
generated: undefined;
|
|
266
266
|
}, {}, {}>;
|
|
267
|
-
projectId:
|
|
267
|
+
projectId: drizzle_orm_pg_core2348.PgColumn<{
|
|
268
268
|
name: "project_id";
|
|
269
269
|
tableName: "skill_files";
|
|
270
270
|
dataType: "string";
|
|
@@ -283,7 +283,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
283
283
|
}, {}, {
|
|
284
284
|
length: 256;
|
|
285
285
|
}>;
|
|
286
|
-
tenantId:
|
|
286
|
+
tenantId: drizzle_orm_pg_core2348.PgColumn<{
|
|
287
287
|
name: "tenant_id";
|
|
288
288
|
tableName: "skill_files";
|
|
289
289
|
dataType: "string";
|
|
@@ -302,7 +302,7 @@ declare const SkillFileSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
302
302
|
}, {}, {
|
|
303
303
|
length: 256;
|
|
304
304
|
}>;
|
|
305
|
-
id:
|
|
305
|
+
id: drizzle_orm_pg_core2348.PgColumn<{
|
|
306
306
|
name: "id";
|
|
307
307
|
tableName: "skill_files";
|
|
308
308
|
dataType: "string";
|
|
@@ -413,8 +413,8 @@ declare const SkillFileApiSelectSchema: z.ZodObject<{
|
|
|
413
413
|
createdAt: z.ZodString;
|
|
414
414
|
updatedAt: z.ZodString;
|
|
415
415
|
content: z.ZodString;
|
|
416
|
-
filePath: z.ZodString;
|
|
417
416
|
skillId: z.ZodString;
|
|
417
|
+
filePath: z.ZodString;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
419
|
declare const SkillFileApiInsertSchema: z.ZodObject<{
|
|
420
420
|
filePath: z.ZodString;
|
|
@@ -436,8 +436,8 @@ declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
|
|
|
436
436
|
createdAt: z.ZodString;
|
|
437
437
|
updatedAt: z.ZodString;
|
|
438
438
|
content: z.ZodString;
|
|
439
|
-
filePath: z.ZodString;
|
|
440
439
|
skillId: z.ZodString;
|
|
440
|
+
filePath: z.ZodString;
|
|
441
441
|
}, z.core.$strip>>;
|
|
442
442
|
}, z.core.$strip>;
|
|
443
443
|
declare const SubAgentSkillSelectSchema: z.ZodObject<{
|
|
@@ -490,16 +490,16 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
|
|
|
490
490
|
createdAt: z.ZodString;
|
|
491
491
|
updatedAt: z.ZodString;
|
|
492
492
|
subAgentId: z.ZodString;
|
|
493
|
+
skillId: z.ZodString;
|
|
493
494
|
index: z.ZodInt;
|
|
494
495
|
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;
|
|
500
501
|
index: z.ZodInt;
|
|
501
502
|
alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
-
skillId: z.ZodString;
|
|
503
503
|
}, {
|
|
504
504
|
out: {};
|
|
505
505
|
in: {};
|
|
@@ -509,9 +509,9 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
|
|
|
509
509
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
510
510
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
511
511
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
512
|
+
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
512
513
|
index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
513
514
|
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
517
|
id: z.ZodString;
|
|
@@ -532,8 +532,8 @@ declare const SkillFileResponse: z.ZodObject<{
|
|
|
532
532
|
createdAt: z.ZodString;
|
|
533
533
|
updatedAt: z.ZodString;
|
|
534
534
|
content: z.ZodString;
|
|
535
|
-
filePath: z.ZodString;
|
|
536
535
|
skillId: z.ZodString;
|
|
536
|
+
filePath: z.ZodString;
|
|
537
537
|
}, z.core.$strip>;
|
|
538
538
|
}, z.core.$strip>;
|
|
539
539
|
declare const SkillWithFilesResponse: z.ZodObject<{
|
|
@@ -550,8 +550,8 @@ declare const SkillWithFilesResponse: z.ZodObject<{
|
|
|
550
550
|
createdAt: z.ZodString;
|
|
551
551
|
updatedAt: z.ZodString;
|
|
552
552
|
content: z.ZodString;
|
|
553
|
-
filePath: z.ZodString;
|
|
554
553
|
skillId: z.ZodString;
|
|
554
|
+
filePath: z.ZodString;
|
|
555
555
|
}, z.core.$strip>>;
|
|
556
556
|
}, z.core.$strip>;
|
|
557
557
|
}, z.core.$strip>;
|
|
@@ -578,9 +578,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
|
|
|
578
578
|
createdAt: z.ZodString;
|
|
579
579
|
updatedAt: z.ZodString;
|
|
580
580
|
subAgentId: z.ZodString;
|
|
581
|
+
skillId: z.ZodString;
|
|
581
582
|
index: z.ZodInt;
|
|
582
583
|
alwaysLoaded: z.ZodBoolean;
|
|
583
|
-
skillId: z.ZodString;
|
|
584
584
|
}, z.core.$strip>;
|
|
585
585
|
}, z.core.$strip>;
|
|
586
586
|
declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
|