@inkeep/agents-core 0.0.0-dev-20251008200151 → 0.0.0-dev-20251009005405
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/{chunk-BNXFEUNP.js → chunk-HZZTBK7Y.js} +61 -7
- package/dist/{chunk-PR7XWHED.js → chunk-MLKHAZVU.js} +1 -1
- package/dist/{chunk-5ZHSPLXI.js → chunk-TN5JDW2L.js} +41 -3
- package/dist/client-exports.cjs +101 -7
- package/dist/client-exports.d.cts +8 -7
- package/dist/client-exports.d.ts +8 -7
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.cjs +40 -2
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +2818 -2506
- package/dist/index.d.cts +326 -244
- package/dist/index.d.ts +326 -244
- package/dist/index.js +2458 -2254
- package/dist/{schema-Cn2ZkYOh.d.cts → schema-DKTW_XSC.d.cts} +249 -3
- package/dist/{schema-BYR5XAeI.d.ts → schema-DfH0zjbm.d.ts} +249 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-6UlHR5nQ.d.cts → utility-BHDxGp6I.d.cts} +827 -237
- package/dist/{utility-6UlHR5nQ.d.ts → utility-BHDxGp6I.d.ts} +827 -237
- package/dist/validation/index.cjs +105 -7
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0002_brown_marvel_apes.sql +16 -0
- package/drizzle/0003_gifted_doctor_spectrum.sql +343 -0
- package/drizzle/meta/{0001_snapshot.json → 0003_snapshot.json} +135 -11
- package/drizzle/meta/_journal.json +9 -2
- package/package.json +1 -1
- package/drizzle/meta/0000_snapshot.json +0 -2425
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
2
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
3
|
-
import {
|
|
3
|
+
import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-BHDxGp6I.cjs';
|
|
4
4
|
|
|
5
5
|
declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6
6
|
name: "projects";
|
|
@@ -114,6 +114,35 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
114
114
|
stepCountIs?: number | undefined;
|
|
115
115
|
};
|
|
116
116
|
}>;
|
|
117
|
+
sandboxConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
118
|
+
name: "sandbox_config";
|
|
119
|
+
tableName: "projects";
|
|
120
|
+
dataType: "json";
|
|
121
|
+
columnType: "SQLiteTextJson";
|
|
122
|
+
data: {
|
|
123
|
+
provider: "vercel" | "daytona" | "local";
|
|
124
|
+
runtime: "node22" | "typescript";
|
|
125
|
+
timeout?: number;
|
|
126
|
+
vcpus?: number;
|
|
127
|
+
};
|
|
128
|
+
driverParam: string;
|
|
129
|
+
notNull: false;
|
|
130
|
+
hasDefault: false;
|
|
131
|
+
isPrimaryKey: false;
|
|
132
|
+
isAutoincrement: false;
|
|
133
|
+
hasRuntimeDefault: false;
|
|
134
|
+
enumValues: undefined;
|
|
135
|
+
baseColumn: never;
|
|
136
|
+
identity: undefined;
|
|
137
|
+
generated: undefined;
|
|
138
|
+
}, {}, {
|
|
139
|
+
$type: {
|
|
140
|
+
provider: "vercel" | "daytona" | "local";
|
|
141
|
+
runtime: "node22" | "typescript";
|
|
142
|
+
timeout?: number;
|
|
143
|
+
vcpus?: number;
|
|
144
|
+
};
|
|
145
|
+
}>;
|
|
117
146
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
118
147
|
name: "name";
|
|
119
148
|
tableName: "projects";
|
|
@@ -2647,6 +2676,25 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2647
2676
|
}, {}, {
|
|
2648
2677
|
length: number | undefined;
|
|
2649
2678
|
}>;
|
|
2679
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2680
|
+
name: "description";
|
|
2681
|
+
tableName: "tools";
|
|
2682
|
+
dataType: "string";
|
|
2683
|
+
columnType: "SQLiteText";
|
|
2684
|
+
data: string;
|
|
2685
|
+
driverParam: string;
|
|
2686
|
+
notNull: false;
|
|
2687
|
+
hasDefault: false;
|
|
2688
|
+
isPrimaryKey: false;
|
|
2689
|
+
isAutoincrement: false;
|
|
2690
|
+
hasRuntimeDefault: false;
|
|
2691
|
+
enumValues: [string, ...string[]];
|
|
2692
|
+
baseColumn: never;
|
|
2693
|
+
identity: undefined;
|
|
2694
|
+
generated: undefined;
|
|
2695
|
+
}, {}, {
|
|
2696
|
+
length: number | undefined;
|
|
2697
|
+
}>;
|
|
2650
2698
|
config: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2651
2699
|
name: "config";
|
|
2652
2700
|
tableName: "tools";
|
|
@@ -2655,6 +2703,13 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2655
2703
|
data: {
|
|
2656
2704
|
type: "mcp";
|
|
2657
2705
|
mcp: ToolMcpConfig;
|
|
2706
|
+
} | {
|
|
2707
|
+
type: "function";
|
|
2708
|
+
function?: {
|
|
2709
|
+
inputSchema: Record<string, unknown>;
|
|
2710
|
+
executeCode: string;
|
|
2711
|
+
dependencies: Record<string, unknown>;
|
|
2712
|
+
};
|
|
2658
2713
|
};
|
|
2659
2714
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2660
2715
|
notNull: true;
|
|
@@ -2670,8 +2725,34 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2670
2725
|
$type: {
|
|
2671
2726
|
type: "mcp";
|
|
2672
2727
|
mcp: ToolMcpConfig;
|
|
2728
|
+
} | {
|
|
2729
|
+
type: "function";
|
|
2730
|
+
function?: {
|
|
2731
|
+
inputSchema: Record<string, unknown>;
|
|
2732
|
+
executeCode: string;
|
|
2733
|
+
dependencies: Record<string, unknown>;
|
|
2734
|
+
};
|
|
2673
2735
|
};
|
|
2674
2736
|
}>;
|
|
2737
|
+
functionId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2738
|
+
name: "function_id";
|
|
2739
|
+
tableName: "tools";
|
|
2740
|
+
dataType: "string";
|
|
2741
|
+
columnType: "SQLiteText";
|
|
2742
|
+
data: string;
|
|
2743
|
+
driverParam: string;
|
|
2744
|
+
notNull: false;
|
|
2745
|
+
hasDefault: false;
|
|
2746
|
+
isPrimaryKey: false;
|
|
2747
|
+
isAutoincrement: false;
|
|
2748
|
+
hasRuntimeDefault: false;
|
|
2749
|
+
enumValues: [string, ...string[]];
|
|
2750
|
+
baseColumn: never;
|
|
2751
|
+
identity: undefined;
|
|
2752
|
+
generated: undefined;
|
|
2753
|
+
}, {}, {
|
|
2754
|
+
length: number | undefined;
|
|
2755
|
+
}>;
|
|
2675
2756
|
credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2676
2757
|
name: "credential_reference_id";
|
|
2677
2758
|
tableName: "tools";
|
|
@@ -2827,6 +2908,165 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2827
2908
|
};
|
|
2828
2909
|
dialect: "sqlite";
|
|
2829
2910
|
}>;
|
|
2911
|
+
declare const functions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2912
|
+
name: "functions";
|
|
2913
|
+
schema: undefined;
|
|
2914
|
+
columns: {
|
|
2915
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2916
|
+
name: "created_at";
|
|
2917
|
+
tableName: "functions";
|
|
2918
|
+
dataType: "string";
|
|
2919
|
+
columnType: "SQLiteText";
|
|
2920
|
+
data: string;
|
|
2921
|
+
driverParam: string;
|
|
2922
|
+
notNull: true;
|
|
2923
|
+
hasDefault: true;
|
|
2924
|
+
isPrimaryKey: false;
|
|
2925
|
+
isAutoincrement: false;
|
|
2926
|
+
hasRuntimeDefault: false;
|
|
2927
|
+
enumValues: [string, ...string[]];
|
|
2928
|
+
baseColumn: never;
|
|
2929
|
+
identity: undefined;
|
|
2930
|
+
generated: undefined;
|
|
2931
|
+
}, {}, {
|
|
2932
|
+
length: number | undefined;
|
|
2933
|
+
}>;
|
|
2934
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2935
|
+
name: "updated_at";
|
|
2936
|
+
tableName: "functions";
|
|
2937
|
+
dataType: "string";
|
|
2938
|
+
columnType: "SQLiteText";
|
|
2939
|
+
data: string;
|
|
2940
|
+
driverParam: string;
|
|
2941
|
+
notNull: true;
|
|
2942
|
+
hasDefault: true;
|
|
2943
|
+
isPrimaryKey: false;
|
|
2944
|
+
isAutoincrement: false;
|
|
2945
|
+
hasRuntimeDefault: false;
|
|
2946
|
+
enumValues: [string, ...string[]];
|
|
2947
|
+
baseColumn: never;
|
|
2948
|
+
identity: undefined;
|
|
2949
|
+
generated: undefined;
|
|
2950
|
+
}, {}, {
|
|
2951
|
+
length: number | undefined;
|
|
2952
|
+
}>;
|
|
2953
|
+
inputSchema: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2954
|
+
name: "input_schema";
|
|
2955
|
+
tableName: "functions";
|
|
2956
|
+
dataType: "json";
|
|
2957
|
+
columnType: "SQLiteBlobJson";
|
|
2958
|
+
data: Record<string, unknown>;
|
|
2959
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
2960
|
+
notNull: false;
|
|
2961
|
+
hasDefault: false;
|
|
2962
|
+
isPrimaryKey: false;
|
|
2963
|
+
isAutoincrement: false;
|
|
2964
|
+
hasRuntimeDefault: false;
|
|
2965
|
+
enumValues: undefined;
|
|
2966
|
+
baseColumn: never;
|
|
2967
|
+
identity: undefined;
|
|
2968
|
+
generated: undefined;
|
|
2969
|
+
}, {}, {
|
|
2970
|
+
$type: Record<string, unknown>;
|
|
2971
|
+
}>;
|
|
2972
|
+
executeCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2973
|
+
name: "execute_code";
|
|
2974
|
+
tableName: "functions";
|
|
2975
|
+
dataType: "string";
|
|
2976
|
+
columnType: "SQLiteText";
|
|
2977
|
+
data: string;
|
|
2978
|
+
driverParam: string;
|
|
2979
|
+
notNull: true;
|
|
2980
|
+
hasDefault: false;
|
|
2981
|
+
isPrimaryKey: false;
|
|
2982
|
+
isAutoincrement: false;
|
|
2983
|
+
hasRuntimeDefault: false;
|
|
2984
|
+
enumValues: [string, ...string[]];
|
|
2985
|
+
baseColumn: never;
|
|
2986
|
+
identity: undefined;
|
|
2987
|
+
generated: undefined;
|
|
2988
|
+
}, {}, {
|
|
2989
|
+
length: number | undefined;
|
|
2990
|
+
}>;
|
|
2991
|
+
dependencies: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2992
|
+
name: "dependencies";
|
|
2993
|
+
tableName: "functions";
|
|
2994
|
+
dataType: "json";
|
|
2995
|
+
columnType: "SQLiteBlobJson";
|
|
2996
|
+
data: Record<string, string>;
|
|
2997
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
2998
|
+
notNull: false;
|
|
2999
|
+
hasDefault: false;
|
|
3000
|
+
isPrimaryKey: false;
|
|
3001
|
+
isAutoincrement: false;
|
|
3002
|
+
hasRuntimeDefault: false;
|
|
3003
|
+
enumValues: undefined;
|
|
3004
|
+
baseColumn: never;
|
|
3005
|
+
identity: undefined;
|
|
3006
|
+
generated: undefined;
|
|
3007
|
+
}, {}, {
|
|
3008
|
+
$type: Record<string, string>;
|
|
3009
|
+
}>;
|
|
3010
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3011
|
+
name: "project_id";
|
|
3012
|
+
tableName: "functions";
|
|
3013
|
+
dataType: "string";
|
|
3014
|
+
columnType: "SQLiteText";
|
|
3015
|
+
data: string;
|
|
3016
|
+
driverParam: string;
|
|
3017
|
+
notNull: true;
|
|
3018
|
+
hasDefault: false;
|
|
3019
|
+
isPrimaryKey: false;
|
|
3020
|
+
isAutoincrement: false;
|
|
3021
|
+
hasRuntimeDefault: false;
|
|
3022
|
+
enumValues: [string, ...string[]];
|
|
3023
|
+
baseColumn: never;
|
|
3024
|
+
identity: undefined;
|
|
3025
|
+
generated: undefined;
|
|
3026
|
+
}, {}, {
|
|
3027
|
+
length: number | undefined;
|
|
3028
|
+
}>;
|
|
3029
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3030
|
+
name: "tenant_id";
|
|
3031
|
+
tableName: "functions";
|
|
3032
|
+
dataType: "string";
|
|
3033
|
+
columnType: "SQLiteText";
|
|
3034
|
+
data: string;
|
|
3035
|
+
driverParam: string;
|
|
3036
|
+
notNull: true;
|
|
3037
|
+
hasDefault: false;
|
|
3038
|
+
isPrimaryKey: false;
|
|
3039
|
+
isAutoincrement: false;
|
|
3040
|
+
hasRuntimeDefault: false;
|
|
3041
|
+
enumValues: [string, ...string[]];
|
|
3042
|
+
baseColumn: never;
|
|
3043
|
+
identity: undefined;
|
|
3044
|
+
generated: undefined;
|
|
3045
|
+
}, {}, {
|
|
3046
|
+
length: number | undefined;
|
|
3047
|
+
}>;
|
|
3048
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3049
|
+
name: "id";
|
|
3050
|
+
tableName: "functions";
|
|
3051
|
+
dataType: "string";
|
|
3052
|
+
columnType: "SQLiteText";
|
|
3053
|
+
data: string;
|
|
3054
|
+
driverParam: string;
|
|
3055
|
+
notNull: true;
|
|
3056
|
+
hasDefault: false;
|
|
3057
|
+
isPrimaryKey: false;
|
|
3058
|
+
isAutoincrement: false;
|
|
3059
|
+
hasRuntimeDefault: false;
|
|
3060
|
+
enumValues: [string, ...string[]];
|
|
3061
|
+
baseColumn: never;
|
|
3062
|
+
identity: undefined;
|
|
3063
|
+
generated: undefined;
|
|
3064
|
+
}, {}, {
|
|
3065
|
+
length: number | undefined;
|
|
3066
|
+
}>;
|
|
3067
|
+
};
|
|
3068
|
+
dialect: "sqlite";
|
|
3069
|
+
}>;
|
|
2830
3070
|
declare const agentToolRelations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2831
3071
|
name: "agent_tool_relations";
|
|
2832
3072
|
schema: undefined;
|
|
@@ -4422,6 +4662,7 @@ declare const toolsRelations: drizzle_orm.Relations<"tools", {
|
|
|
4422
4662
|
project: drizzle_orm.One<"projects", true>;
|
|
4423
4663
|
agentRelations: drizzle_orm.Many<"agent_tool_relations">;
|
|
4424
4664
|
credentialReference: drizzle_orm.One<"credential_references", false>;
|
|
4665
|
+
function: drizzle_orm.One<"functions", false>;
|
|
4425
4666
|
}>;
|
|
4426
4667
|
declare const conversationsRelations: drizzle_orm.Relations<"conversations", {
|
|
4427
4668
|
project: drizzle_orm.One<"projects", true>;
|
|
@@ -4458,6 +4699,9 @@ declare const ledgerArtifactsRelations: drizzle_orm.Relations<"ledger_artifacts"
|
|
|
4458
4699
|
project: drizzle_orm.One<"projects", true>;
|
|
4459
4700
|
task: drizzle_orm.One<"tasks", true>;
|
|
4460
4701
|
}>;
|
|
4702
|
+
declare const functionsRelations: drizzle_orm.Relations<"functions", {
|
|
4703
|
+
tools: drizzle_orm.Many<"tools">;
|
|
4704
|
+
}>;
|
|
4461
4705
|
declare const agentRelationsRelations: drizzle_orm.Relations<"agent_relations", {
|
|
4462
4706
|
graph: drizzle_orm.One<"agent_graph", true>;
|
|
4463
4707
|
sourceAgent: drizzle_orm.One<"agents", true>;
|
|
@@ -4493,6 +4737,8 @@ declare const schema_dataComponents: typeof dataComponents;
|
|
|
4493
4737
|
declare const schema_dataComponentsRelations: typeof dataComponentsRelations;
|
|
4494
4738
|
declare const schema_externalAgents: typeof externalAgents;
|
|
4495
4739
|
declare const schema_externalAgentsRelations: typeof externalAgentsRelations;
|
|
4740
|
+
declare const schema_functions: typeof functions;
|
|
4741
|
+
declare const schema_functionsRelations: typeof functionsRelations;
|
|
4496
4742
|
declare const schema_ledgerArtifacts: typeof ledgerArtifacts;
|
|
4497
4743
|
declare const schema_ledgerArtifactsRelations: typeof ledgerArtifactsRelations;
|
|
4498
4744
|
declare const schema_messages: typeof messages;
|
|
@@ -4506,7 +4752,7 @@ declare const schema_tasksRelations: typeof tasksRelations;
|
|
|
4506
4752
|
declare const schema_tools: typeof tools;
|
|
4507
4753
|
declare const schema_toolsRelations: typeof toolsRelations;
|
|
4508
4754
|
declare namespace schema {
|
|
4509
|
-
export { schema_agentArtifactComponents as agentArtifactComponents, schema_agentArtifactComponentsRelations as agentArtifactComponentsRelations, schema_agentDataComponents as agentDataComponents, schema_agentDataComponentsRelations as agentDataComponentsRelations, schema_agentGraph as agentGraph, schema_agentGraphRelations as agentGraphRelations, schema_agentRelations as agentRelations, schema_agentRelationsRelations as agentRelationsRelations, schema_agentToolRelations as agentToolRelations, schema_agentToolRelationsRelations as agentToolRelationsRelations, schema_agents as agents, schema_agentsRelations as agentsRelations, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_artifactComponents as artifactComponents, schema_artifactComponentsRelations as artifactComponentsRelations, schema_contextCache as contextCache, schema_contextCacheRelations as contextCacheRelations, schema_contextConfigs as contextConfigs, schema_contextConfigsRelations as contextConfigsRelations, schema_conversations as conversations, schema_conversationsRelations as conversationsRelations, schema_credentialReferences as credentialReferences, schema_credentialReferencesRelations as credentialReferencesRelations, schema_dataComponents as dataComponents, schema_dataComponentsRelations as dataComponentsRelations, schema_externalAgents as externalAgents, schema_externalAgentsRelations as externalAgentsRelations, schema_ledgerArtifacts as ledgerArtifacts, schema_ledgerArtifactsRelations as ledgerArtifactsRelations, schema_messages as messages, schema_messagesRelations as messagesRelations, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_taskRelations as taskRelations, schema_taskRelationsRelations as taskRelationsRelations, schema_tasks as tasks, schema_tasksRelations as tasksRelations, schema_tools as tools, schema_toolsRelations as toolsRelations };
|
|
4755
|
+
export { schema_agentArtifactComponents as agentArtifactComponents, schema_agentArtifactComponentsRelations as agentArtifactComponentsRelations, schema_agentDataComponents as agentDataComponents, schema_agentDataComponentsRelations as agentDataComponentsRelations, schema_agentGraph as agentGraph, schema_agentGraphRelations as agentGraphRelations, schema_agentRelations as agentRelations, schema_agentRelationsRelations as agentRelationsRelations, schema_agentToolRelations as agentToolRelations, schema_agentToolRelationsRelations as agentToolRelationsRelations, schema_agents as agents, schema_agentsRelations as agentsRelations, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_artifactComponents as artifactComponents, schema_artifactComponentsRelations as artifactComponentsRelations, schema_contextCache as contextCache, schema_contextCacheRelations as contextCacheRelations, schema_contextConfigs as contextConfigs, schema_contextConfigsRelations as contextConfigsRelations, schema_conversations as conversations, schema_conversationsRelations as conversationsRelations, schema_credentialReferences as credentialReferences, schema_credentialReferencesRelations as credentialReferencesRelations, schema_dataComponents as dataComponents, schema_dataComponentsRelations as dataComponentsRelations, schema_externalAgents as externalAgents, schema_externalAgentsRelations as externalAgentsRelations, schema_functions as functions, schema_functionsRelations as functionsRelations, schema_ledgerArtifacts as ledgerArtifacts, schema_ledgerArtifactsRelations as ledgerArtifactsRelations, schema_messages as messages, schema_messagesRelations as messagesRelations, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_taskRelations as taskRelations, schema_taskRelationsRelations as taskRelationsRelations, schema_tasks as tasks, schema_tasksRelations as tasksRelations, schema_tools as tools, schema_toolsRelations as toolsRelations };
|
|
4510
4756
|
}
|
|
4511
4757
|
|
|
4512
|
-
export {
|
|
4758
|
+
export { contextCacheRelations as A, agentsRelations as B, agentGraphRelations as C, externalAgentsRelations as D, apiKeysRelations as E, agentToolRelationsRelations as F, credentialReferencesRelations as G, toolsRelations as H, conversationsRelations as I, messagesRelations as J, artifactComponentsRelations as K, agentArtifactComponentsRelations as L, dataComponentsRelations as M, agentDataComponentsRelations as N, ledgerArtifactsRelations as O, functionsRelations as P, agentRelationsRelations as Q, agentGraph as a, contextCache as b, contextConfigs as c, agents as d, agentRelations as e, externalAgents as f, taskRelations as g, dataComponents as h, agentDataComponents as i, artifactComponents as j, agentArtifactComponents as k, tools as l, functions as m, agentToolRelations as n, conversations as o, projects as p, messages as q, ledgerArtifacts as r, schema as s, tasks as t, apiKeys as u, credentialReferences as v, tasksRelations as w, projectsRelations as x, taskRelationsRelations as y, contextConfigsRelations as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
2
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
3
|
-
import {
|
|
3
|
+
import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-BHDxGp6I.js';
|
|
4
4
|
|
|
5
5
|
declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6
6
|
name: "projects";
|
|
@@ -114,6 +114,35 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
114
114
|
stepCountIs?: number | undefined;
|
|
115
115
|
};
|
|
116
116
|
}>;
|
|
117
|
+
sandboxConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
118
|
+
name: "sandbox_config";
|
|
119
|
+
tableName: "projects";
|
|
120
|
+
dataType: "json";
|
|
121
|
+
columnType: "SQLiteTextJson";
|
|
122
|
+
data: {
|
|
123
|
+
provider: "vercel" | "daytona" | "local";
|
|
124
|
+
runtime: "node22" | "typescript";
|
|
125
|
+
timeout?: number;
|
|
126
|
+
vcpus?: number;
|
|
127
|
+
};
|
|
128
|
+
driverParam: string;
|
|
129
|
+
notNull: false;
|
|
130
|
+
hasDefault: false;
|
|
131
|
+
isPrimaryKey: false;
|
|
132
|
+
isAutoincrement: false;
|
|
133
|
+
hasRuntimeDefault: false;
|
|
134
|
+
enumValues: undefined;
|
|
135
|
+
baseColumn: never;
|
|
136
|
+
identity: undefined;
|
|
137
|
+
generated: undefined;
|
|
138
|
+
}, {}, {
|
|
139
|
+
$type: {
|
|
140
|
+
provider: "vercel" | "daytona" | "local";
|
|
141
|
+
runtime: "node22" | "typescript";
|
|
142
|
+
timeout?: number;
|
|
143
|
+
vcpus?: number;
|
|
144
|
+
};
|
|
145
|
+
}>;
|
|
117
146
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
118
147
|
name: "name";
|
|
119
148
|
tableName: "projects";
|
|
@@ -2647,6 +2676,25 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2647
2676
|
}, {}, {
|
|
2648
2677
|
length: number | undefined;
|
|
2649
2678
|
}>;
|
|
2679
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2680
|
+
name: "description";
|
|
2681
|
+
tableName: "tools";
|
|
2682
|
+
dataType: "string";
|
|
2683
|
+
columnType: "SQLiteText";
|
|
2684
|
+
data: string;
|
|
2685
|
+
driverParam: string;
|
|
2686
|
+
notNull: false;
|
|
2687
|
+
hasDefault: false;
|
|
2688
|
+
isPrimaryKey: false;
|
|
2689
|
+
isAutoincrement: false;
|
|
2690
|
+
hasRuntimeDefault: false;
|
|
2691
|
+
enumValues: [string, ...string[]];
|
|
2692
|
+
baseColumn: never;
|
|
2693
|
+
identity: undefined;
|
|
2694
|
+
generated: undefined;
|
|
2695
|
+
}, {}, {
|
|
2696
|
+
length: number | undefined;
|
|
2697
|
+
}>;
|
|
2650
2698
|
config: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2651
2699
|
name: "config";
|
|
2652
2700
|
tableName: "tools";
|
|
@@ -2655,6 +2703,13 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2655
2703
|
data: {
|
|
2656
2704
|
type: "mcp";
|
|
2657
2705
|
mcp: ToolMcpConfig;
|
|
2706
|
+
} | {
|
|
2707
|
+
type: "function";
|
|
2708
|
+
function?: {
|
|
2709
|
+
inputSchema: Record<string, unknown>;
|
|
2710
|
+
executeCode: string;
|
|
2711
|
+
dependencies: Record<string, unknown>;
|
|
2712
|
+
};
|
|
2658
2713
|
};
|
|
2659
2714
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2660
2715
|
notNull: true;
|
|
@@ -2670,8 +2725,34 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2670
2725
|
$type: {
|
|
2671
2726
|
type: "mcp";
|
|
2672
2727
|
mcp: ToolMcpConfig;
|
|
2728
|
+
} | {
|
|
2729
|
+
type: "function";
|
|
2730
|
+
function?: {
|
|
2731
|
+
inputSchema: Record<string, unknown>;
|
|
2732
|
+
executeCode: string;
|
|
2733
|
+
dependencies: Record<string, unknown>;
|
|
2734
|
+
};
|
|
2673
2735
|
};
|
|
2674
2736
|
}>;
|
|
2737
|
+
functionId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2738
|
+
name: "function_id";
|
|
2739
|
+
tableName: "tools";
|
|
2740
|
+
dataType: "string";
|
|
2741
|
+
columnType: "SQLiteText";
|
|
2742
|
+
data: string;
|
|
2743
|
+
driverParam: string;
|
|
2744
|
+
notNull: false;
|
|
2745
|
+
hasDefault: false;
|
|
2746
|
+
isPrimaryKey: false;
|
|
2747
|
+
isAutoincrement: false;
|
|
2748
|
+
hasRuntimeDefault: false;
|
|
2749
|
+
enumValues: [string, ...string[]];
|
|
2750
|
+
baseColumn: never;
|
|
2751
|
+
identity: undefined;
|
|
2752
|
+
generated: undefined;
|
|
2753
|
+
}, {}, {
|
|
2754
|
+
length: number | undefined;
|
|
2755
|
+
}>;
|
|
2675
2756
|
credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2676
2757
|
name: "credential_reference_id";
|
|
2677
2758
|
tableName: "tools";
|
|
@@ -2827,6 +2908,165 @@ declare const tools: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2827
2908
|
};
|
|
2828
2909
|
dialect: "sqlite";
|
|
2829
2910
|
}>;
|
|
2911
|
+
declare const functions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2912
|
+
name: "functions";
|
|
2913
|
+
schema: undefined;
|
|
2914
|
+
columns: {
|
|
2915
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2916
|
+
name: "created_at";
|
|
2917
|
+
tableName: "functions";
|
|
2918
|
+
dataType: "string";
|
|
2919
|
+
columnType: "SQLiteText";
|
|
2920
|
+
data: string;
|
|
2921
|
+
driverParam: string;
|
|
2922
|
+
notNull: true;
|
|
2923
|
+
hasDefault: true;
|
|
2924
|
+
isPrimaryKey: false;
|
|
2925
|
+
isAutoincrement: false;
|
|
2926
|
+
hasRuntimeDefault: false;
|
|
2927
|
+
enumValues: [string, ...string[]];
|
|
2928
|
+
baseColumn: never;
|
|
2929
|
+
identity: undefined;
|
|
2930
|
+
generated: undefined;
|
|
2931
|
+
}, {}, {
|
|
2932
|
+
length: number | undefined;
|
|
2933
|
+
}>;
|
|
2934
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2935
|
+
name: "updated_at";
|
|
2936
|
+
tableName: "functions";
|
|
2937
|
+
dataType: "string";
|
|
2938
|
+
columnType: "SQLiteText";
|
|
2939
|
+
data: string;
|
|
2940
|
+
driverParam: string;
|
|
2941
|
+
notNull: true;
|
|
2942
|
+
hasDefault: true;
|
|
2943
|
+
isPrimaryKey: false;
|
|
2944
|
+
isAutoincrement: false;
|
|
2945
|
+
hasRuntimeDefault: false;
|
|
2946
|
+
enumValues: [string, ...string[]];
|
|
2947
|
+
baseColumn: never;
|
|
2948
|
+
identity: undefined;
|
|
2949
|
+
generated: undefined;
|
|
2950
|
+
}, {}, {
|
|
2951
|
+
length: number | undefined;
|
|
2952
|
+
}>;
|
|
2953
|
+
inputSchema: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2954
|
+
name: "input_schema";
|
|
2955
|
+
tableName: "functions";
|
|
2956
|
+
dataType: "json";
|
|
2957
|
+
columnType: "SQLiteBlobJson";
|
|
2958
|
+
data: Record<string, unknown>;
|
|
2959
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
2960
|
+
notNull: false;
|
|
2961
|
+
hasDefault: false;
|
|
2962
|
+
isPrimaryKey: false;
|
|
2963
|
+
isAutoincrement: false;
|
|
2964
|
+
hasRuntimeDefault: false;
|
|
2965
|
+
enumValues: undefined;
|
|
2966
|
+
baseColumn: never;
|
|
2967
|
+
identity: undefined;
|
|
2968
|
+
generated: undefined;
|
|
2969
|
+
}, {}, {
|
|
2970
|
+
$type: Record<string, unknown>;
|
|
2971
|
+
}>;
|
|
2972
|
+
executeCode: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2973
|
+
name: "execute_code";
|
|
2974
|
+
tableName: "functions";
|
|
2975
|
+
dataType: "string";
|
|
2976
|
+
columnType: "SQLiteText";
|
|
2977
|
+
data: string;
|
|
2978
|
+
driverParam: string;
|
|
2979
|
+
notNull: true;
|
|
2980
|
+
hasDefault: false;
|
|
2981
|
+
isPrimaryKey: false;
|
|
2982
|
+
isAutoincrement: false;
|
|
2983
|
+
hasRuntimeDefault: false;
|
|
2984
|
+
enumValues: [string, ...string[]];
|
|
2985
|
+
baseColumn: never;
|
|
2986
|
+
identity: undefined;
|
|
2987
|
+
generated: undefined;
|
|
2988
|
+
}, {}, {
|
|
2989
|
+
length: number | undefined;
|
|
2990
|
+
}>;
|
|
2991
|
+
dependencies: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2992
|
+
name: "dependencies";
|
|
2993
|
+
tableName: "functions";
|
|
2994
|
+
dataType: "json";
|
|
2995
|
+
columnType: "SQLiteBlobJson";
|
|
2996
|
+
data: Record<string, string>;
|
|
2997
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
2998
|
+
notNull: false;
|
|
2999
|
+
hasDefault: false;
|
|
3000
|
+
isPrimaryKey: false;
|
|
3001
|
+
isAutoincrement: false;
|
|
3002
|
+
hasRuntimeDefault: false;
|
|
3003
|
+
enumValues: undefined;
|
|
3004
|
+
baseColumn: never;
|
|
3005
|
+
identity: undefined;
|
|
3006
|
+
generated: undefined;
|
|
3007
|
+
}, {}, {
|
|
3008
|
+
$type: Record<string, string>;
|
|
3009
|
+
}>;
|
|
3010
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3011
|
+
name: "project_id";
|
|
3012
|
+
tableName: "functions";
|
|
3013
|
+
dataType: "string";
|
|
3014
|
+
columnType: "SQLiteText";
|
|
3015
|
+
data: string;
|
|
3016
|
+
driverParam: string;
|
|
3017
|
+
notNull: true;
|
|
3018
|
+
hasDefault: false;
|
|
3019
|
+
isPrimaryKey: false;
|
|
3020
|
+
isAutoincrement: false;
|
|
3021
|
+
hasRuntimeDefault: false;
|
|
3022
|
+
enumValues: [string, ...string[]];
|
|
3023
|
+
baseColumn: never;
|
|
3024
|
+
identity: undefined;
|
|
3025
|
+
generated: undefined;
|
|
3026
|
+
}, {}, {
|
|
3027
|
+
length: number | undefined;
|
|
3028
|
+
}>;
|
|
3029
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3030
|
+
name: "tenant_id";
|
|
3031
|
+
tableName: "functions";
|
|
3032
|
+
dataType: "string";
|
|
3033
|
+
columnType: "SQLiteText";
|
|
3034
|
+
data: string;
|
|
3035
|
+
driverParam: string;
|
|
3036
|
+
notNull: true;
|
|
3037
|
+
hasDefault: false;
|
|
3038
|
+
isPrimaryKey: false;
|
|
3039
|
+
isAutoincrement: false;
|
|
3040
|
+
hasRuntimeDefault: false;
|
|
3041
|
+
enumValues: [string, ...string[]];
|
|
3042
|
+
baseColumn: never;
|
|
3043
|
+
identity: undefined;
|
|
3044
|
+
generated: undefined;
|
|
3045
|
+
}, {}, {
|
|
3046
|
+
length: number | undefined;
|
|
3047
|
+
}>;
|
|
3048
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3049
|
+
name: "id";
|
|
3050
|
+
tableName: "functions";
|
|
3051
|
+
dataType: "string";
|
|
3052
|
+
columnType: "SQLiteText";
|
|
3053
|
+
data: string;
|
|
3054
|
+
driverParam: string;
|
|
3055
|
+
notNull: true;
|
|
3056
|
+
hasDefault: false;
|
|
3057
|
+
isPrimaryKey: false;
|
|
3058
|
+
isAutoincrement: false;
|
|
3059
|
+
hasRuntimeDefault: false;
|
|
3060
|
+
enumValues: [string, ...string[]];
|
|
3061
|
+
baseColumn: never;
|
|
3062
|
+
identity: undefined;
|
|
3063
|
+
generated: undefined;
|
|
3064
|
+
}, {}, {
|
|
3065
|
+
length: number | undefined;
|
|
3066
|
+
}>;
|
|
3067
|
+
};
|
|
3068
|
+
dialect: "sqlite";
|
|
3069
|
+
}>;
|
|
2830
3070
|
declare const agentToolRelations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2831
3071
|
name: "agent_tool_relations";
|
|
2832
3072
|
schema: undefined;
|
|
@@ -4422,6 +4662,7 @@ declare const toolsRelations: drizzle_orm.Relations<"tools", {
|
|
|
4422
4662
|
project: drizzle_orm.One<"projects", true>;
|
|
4423
4663
|
agentRelations: drizzle_orm.Many<"agent_tool_relations">;
|
|
4424
4664
|
credentialReference: drizzle_orm.One<"credential_references", false>;
|
|
4665
|
+
function: drizzle_orm.One<"functions", false>;
|
|
4425
4666
|
}>;
|
|
4426
4667
|
declare const conversationsRelations: drizzle_orm.Relations<"conversations", {
|
|
4427
4668
|
project: drizzle_orm.One<"projects", true>;
|
|
@@ -4458,6 +4699,9 @@ declare const ledgerArtifactsRelations: drizzle_orm.Relations<"ledger_artifacts"
|
|
|
4458
4699
|
project: drizzle_orm.One<"projects", true>;
|
|
4459
4700
|
task: drizzle_orm.One<"tasks", true>;
|
|
4460
4701
|
}>;
|
|
4702
|
+
declare const functionsRelations: drizzle_orm.Relations<"functions", {
|
|
4703
|
+
tools: drizzle_orm.Many<"tools">;
|
|
4704
|
+
}>;
|
|
4461
4705
|
declare const agentRelationsRelations: drizzle_orm.Relations<"agent_relations", {
|
|
4462
4706
|
graph: drizzle_orm.One<"agent_graph", true>;
|
|
4463
4707
|
sourceAgent: drizzle_orm.One<"agents", true>;
|
|
@@ -4493,6 +4737,8 @@ declare const schema_dataComponents: typeof dataComponents;
|
|
|
4493
4737
|
declare const schema_dataComponentsRelations: typeof dataComponentsRelations;
|
|
4494
4738
|
declare const schema_externalAgents: typeof externalAgents;
|
|
4495
4739
|
declare const schema_externalAgentsRelations: typeof externalAgentsRelations;
|
|
4740
|
+
declare const schema_functions: typeof functions;
|
|
4741
|
+
declare const schema_functionsRelations: typeof functionsRelations;
|
|
4496
4742
|
declare const schema_ledgerArtifacts: typeof ledgerArtifacts;
|
|
4497
4743
|
declare const schema_ledgerArtifactsRelations: typeof ledgerArtifactsRelations;
|
|
4498
4744
|
declare const schema_messages: typeof messages;
|
|
@@ -4506,7 +4752,7 @@ declare const schema_tasksRelations: typeof tasksRelations;
|
|
|
4506
4752
|
declare const schema_tools: typeof tools;
|
|
4507
4753
|
declare const schema_toolsRelations: typeof toolsRelations;
|
|
4508
4754
|
declare namespace schema {
|
|
4509
|
-
export { schema_agentArtifactComponents as agentArtifactComponents, schema_agentArtifactComponentsRelations as agentArtifactComponentsRelations, schema_agentDataComponents as agentDataComponents, schema_agentDataComponentsRelations as agentDataComponentsRelations, schema_agentGraph as agentGraph, schema_agentGraphRelations as agentGraphRelations, schema_agentRelations as agentRelations, schema_agentRelationsRelations as agentRelationsRelations, schema_agentToolRelations as agentToolRelations, schema_agentToolRelationsRelations as agentToolRelationsRelations, schema_agents as agents, schema_agentsRelations as agentsRelations, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_artifactComponents as artifactComponents, schema_artifactComponentsRelations as artifactComponentsRelations, schema_contextCache as contextCache, schema_contextCacheRelations as contextCacheRelations, schema_contextConfigs as contextConfigs, schema_contextConfigsRelations as contextConfigsRelations, schema_conversations as conversations, schema_conversationsRelations as conversationsRelations, schema_credentialReferences as credentialReferences, schema_credentialReferencesRelations as credentialReferencesRelations, schema_dataComponents as dataComponents, schema_dataComponentsRelations as dataComponentsRelations, schema_externalAgents as externalAgents, schema_externalAgentsRelations as externalAgentsRelations, schema_ledgerArtifacts as ledgerArtifacts, schema_ledgerArtifactsRelations as ledgerArtifactsRelations, schema_messages as messages, schema_messagesRelations as messagesRelations, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_taskRelations as taskRelations, schema_taskRelationsRelations as taskRelationsRelations, schema_tasks as tasks, schema_tasksRelations as tasksRelations, schema_tools as tools, schema_toolsRelations as toolsRelations };
|
|
4755
|
+
export { schema_agentArtifactComponents as agentArtifactComponents, schema_agentArtifactComponentsRelations as agentArtifactComponentsRelations, schema_agentDataComponents as agentDataComponents, schema_agentDataComponentsRelations as agentDataComponentsRelations, schema_agentGraph as agentGraph, schema_agentGraphRelations as agentGraphRelations, schema_agentRelations as agentRelations, schema_agentRelationsRelations as agentRelationsRelations, schema_agentToolRelations as agentToolRelations, schema_agentToolRelationsRelations as agentToolRelationsRelations, schema_agents as agents, schema_agentsRelations as agentsRelations, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_artifactComponents as artifactComponents, schema_artifactComponentsRelations as artifactComponentsRelations, schema_contextCache as contextCache, schema_contextCacheRelations as contextCacheRelations, schema_contextConfigs as contextConfigs, schema_contextConfigsRelations as contextConfigsRelations, schema_conversations as conversations, schema_conversationsRelations as conversationsRelations, schema_credentialReferences as credentialReferences, schema_credentialReferencesRelations as credentialReferencesRelations, schema_dataComponents as dataComponents, schema_dataComponentsRelations as dataComponentsRelations, schema_externalAgents as externalAgents, schema_externalAgentsRelations as externalAgentsRelations, schema_functions as functions, schema_functionsRelations as functionsRelations, schema_ledgerArtifacts as ledgerArtifacts, schema_ledgerArtifactsRelations as ledgerArtifactsRelations, schema_messages as messages, schema_messagesRelations as messagesRelations, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_taskRelations as taskRelations, schema_taskRelationsRelations as taskRelationsRelations, schema_tasks as tasks, schema_tasksRelations as tasksRelations, schema_tools as tools, schema_toolsRelations as toolsRelations };
|
|
4510
4756
|
}
|
|
4511
4757
|
|
|
4512
|
-
export {
|
|
4758
|
+
export { contextCacheRelations as A, agentsRelations as B, agentGraphRelations as C, externalAgentsRelations as D, apiKeysRelations as E, agentToolRelationsRelations as F, credentialReferencesRelations as G, toolsRelations as H, conversationsRelations as I, messagesRelations as J, artifactComponentsRelations as K, agentArtifactComponentsRelations as L, dataComponentsRelations as M, agentDataComponentsRelations as N, ledgerArtifactsRelations as O, functionsRelations as P, agentRelationsRelations as Q, agentGraph as a, contextCache as b, contextConfigs as c, agents as d, agentRelations as e, externalAgents as f, taskRelations as g, dataComponents as h, agentDataComponents as i, artifactComponents as j, agentArtifactComponents as k, tools as l, functions as m, agentToolRelations as n, conversations as o, projects as p, messages as q, ledgerArtifacts as r, schema as s, tasks as t, apiKeys as u, credentialReferences as v, tasksRelations as w, projectsRelations as x, taskRelationsRelations as y, contextConfigsRelations as z };
|