@inkeep/agents-core 0.0.0-dev-20251219092754 → 0.0.0-dev-20251220003011
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.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.d.ts.map +1 -1
- package/dist/client-exports.d.ts +1 -1
- package/dist/client.d.ts +1073 -610
- package/dist/client.d.ts.map +1 -1
- package/dist/props-validation.js +26 -3
- package/dist/props-validation.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1377,10 +1377,10 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
|
|
|
1377
1377
|
declare const SubAgentApiSelectSchema: z.ZodObject<{
|
|
1378
1378
|
id: z.ZodString;
|
|
1379
1379
|
name: z.ZodString;
|
|
1380
|
-
createdAt: z.ZodString;
|
|
1381
|
-
updatedAt: z.ZodString;
|
|
1382
1380
|
description: z.ZodNullable<z.ZodString>;
|
|
1383
1381
|
prompt: z.ZodNullable<z.ZodString>;
|
|
1382
|
+
createdAt: z.ZodString;
|
|
1383
|
+
updatedAt: z.ZodString;
|
|
1384
1384
|
models: z.ZodNullable<z.ZodType<{
|
|
1385
1385
|
base?: {
|
|
1386
1386
|
model?: string | undefined;
|
|
@@ -1448,10 +1448,10 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
|
|
|
1448
1448
|
declare const SubAgentApiInsertSchema: z.ZodObject<{
|
|
1449
1449
|
id: z.ZodString;
|
|
1450
1450
|
name: z.ZodString;
|
|
1451
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1452
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1453
1451
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
1452
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1453
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1455
1455
|
models: z.ZodOptional<z.ZodObject<{
|
|
1456
1456
|
base: z.ZodOptional<z.ZodObject<{
|
|
1457
1457
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1480,10 +1480,10 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
|
|
|
1480
1480
|
declare const SubAgentApiUpdateSchema: z.ZodObject<{
|
|
1481
1481
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1482
1482
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1483
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1484
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1485
1483
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1486
1484
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1485
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1486
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1487
1487
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1488
1488
|
base: z.ZodOptional<z.ZodObject<{
|
|
1489
1489
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1898,52 +1898,649 @@ declare const SubAgentRelationApiInsertSchema: z.ZodObject<{
|
|
|
1898
1898
|
transfer: "transfer";
|
|
1899
1899
|
delegate: "delegate";
|
|
1900
1900
|
}>;
|
|
1901
|
-
}, z.core.$strip>;
|
|
1902
|
-
declare const SubAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
1903
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1904
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1905
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1906
|
-
sourceSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1907
|
-
targetSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1908
|
-
externalSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1909
|
-
teamSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1910
|
-
relationType: z.ZodOptional<z.ZodEnum<{
|
|
1911
|
-
transfer: "transfer";
|
|
1912
|
-
delegate: "delegate";
|
|
1913
|
-
}>>;
|
|
1914
|
-
}, z.core.$strip>;
|
|
1915
|
-
declare const SubAgentRelationQuerySchema: z.ZodObject<{
|
|
1916
|
-
sourceSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1917
|
-
targetSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1918
|
-
externalSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1919
|
-
teamSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1920
|
-
}, z.core.$strip>;
|
|
1921
|
-
declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
|
|
1922
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1924
|
-
targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1925
|
-
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1926
|
-
projectId: z.ZodString;
|
|
1927
|
-
tenantId: z.ZodString;
|
|
1928
|
-
id: z.ZodString;
|
|
1929
|
-
agentId: z.ZodString;
|
|
1930
|
-
sourceSubAgentId: z.ZodString;
|
|
1931
|
-
externalSubAgentId: z.ZodString;
|
|
1932
|
-
}, {
|
|
1933
|
-
out: {};
|
|
1934
|
-
in: {};
|
|
1935
|
-
}>;
|
|
1936
|
-
declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
|
|
1937
|
-
id: z.ZodString;
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
sourceSubAgentId: z.ZodString;
|
|
1942
|
-
targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1943
|
-
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1944
|
-
externalSubAgentId: z.ZodString;
|
|
1945
|
-
}, z.core.$strip>;
|
|
1946
|
-
declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
1901
|
+
}, z.core.$strip>;
|
|
1902
|
+
declare const SubAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
1903
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1904
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1905
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1906
|
+
sourceSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1907
|
+
targetSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1908
|
+
externalSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1909
|
+
teamSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1910
|
+
relationType: z.ZodOptional<z.ZodEnum<{
|
|
1911
|
+
transfer: "transfer";
|
|
1912
|
+
delegate: "delegate";
|
|
1913
|
+
}>>;
|
|
1914
|
+
}, z.core.$strip>;
|
|
1915
|
+
declare const SubAgentRelationQuerySchema: z.ZodObject<{
|
|
1916
|
+
sourceSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
targetSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
externalSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
teamSubAgentId: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
}, z.core.$strip>;
|
|
1921
|
+
declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
|
|
1922
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1923
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1924
|
+
targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1925
|
+
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1926
|
+
projectId: z.ZodString;
|
|
1927
|
+
tenantId: z.ZodString;
|
|
1928
|
+
id: z.ZodString;
|
|
1929
|
+
agentId: z.ZodString;
|
|
1930
|
+
sourceSubAgentId: z.ZodString;
|
|
1931
|
+
externalSubAgentId: z.ZodString;
|
|
1932
|
+
}, {
|
|
1933
|
+
out: {};
|
|
1934
|
+
in: {};
|
|
1935
|
+
}>;
|
|
1936
|
+
declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
|
|
1937
|
+
id: z.ZodString;
|
|
1938
|
+
agentId: z.ZodString;
|
|
1939
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
sourceSubAgentId: z.ZodString;
|
|
1942
|
+
targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1943
|
+
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1944
|
+
externalSubAgentId: z.ZodString;
|
|
1945
|
+
}, z.core.$strip>;
|
|
1946
|
+
declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
1947
|
+
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
1948
|
+
name: "created_at";
|
|
1949
|
+
tableName: "agent";
|
|
1950
|
+
dataType: "string";
|
|
1951
|
+
columnType: "PgTimestampString";
|
|
1952
|
+
data: string;
|
|
1953
|
+
driverParam: string;
|
|
1954
|
+
notNull: true;
|
|
1955
|
+
hasDefault: true;
|
|
1956
|
+
isPrimaryKey: false;
|
|
1957
|
+
isAutoincrement: false;
|
|
1958
|
+
hasRuntimeDefault: false;
|
|
1959
|
+
enumValues: undefined;
|
|
1960
|
+
baseColumn: never;
|
|
1961
|
+
identity: undefined;
|
|
1962
|
+
generated: undefined;
|
|
1963
|
+
}, {}, {}>;
|
|
1964
|
+
updatedAt: drizzle_orm_pg_core495.PgColumn<{
|
|
1965
|
+
name: "updated_at";
|
|
1966
|
+
tableName: "agent";
|
|
1967
|
+
dataType: "string";
|
|
1968
|
+
columnType: "PgTimestampString";
|
|
1969
|
+
data: string;
|
|
1970
|
+
driverParam: string;
|
|
1971
|
+
notNull: true;
|
|
1972
|
+
hasDefault: true;
|
|
1973
|
+
isPrimaryKey: false;
|
|
1974
|
+
isAutoincrement: false;
|
|
1975
|
+
hasRuntimeDefault: false;
|
|
1976
|
+
enumValues: undefined;
|
|
1977
|
+
baseColumn: never;
|
|
1978
|
+
identity: undefined;
|
|
1979
|
+
generated: undefined;
|
|
1980
|
+
}, {}, {}>;
|
|
1981
|
+
name: drizzle_orm_pg_core495.PgColumn<{
|
|
1982
|
+
name: "name";
|
|
1983
|
+
tableName: "agent";
|
|
1984
|
+
dataType: "string";
|
|
1985
|
+
columnType: "PgVarchar";
|
|
1986
|
+
data: string;
|
|
1987
|
+
driverParam: string;
|
|
1988
|
+
notNull: true;
|
|
1989
|
+
hasDefault: false;
|
|
1990
|
+
isPrimaryKey: false;
|
|
1991
|
+
isAutoincrement: false;
|
|
1992
|
+
hasRuntimeDefault: false;
|
|
1993
|
+
enumValues: [string, ...string[]];
|
|
1994
|
+
baseColumn: never;
|
|
1995
|
+
identity: undefined;
|
|
1996
|
+
generated: undefined;
|
|
1997
|
+
}, {}, {
|
|
1998
|
+
length: 256;
|
|
1999
|
+
}>;
|
|
2000
|
+
description: drizzle_orm_pg_core495.PgColumn<{
|
|
2001
|
+
name: "description";
|
|
2002
|
+
tableName: "agent";
|
|
2003
|
+
dataType: "string";
|
|
2004
|
+
columnType: "PgText";
|
|
2005
|
+
data: string;
|
|
2006
|
+
driverParam: string;
|
|
2007
|
+
notNull: false;
|
|
2008
|
+
hasDefault: false;
|
|
2009
|
+
isPrimaryKey: false;
|
|
2010
|
+
isAutoincrement: false;
|
|
2011
|
+
hasRuntimeDefault: false;
|
|
2012
|
+
enumValues: [string, ...string[]];
|
|
2013
|
+
baseColumn: never;
|
|
2014
|
+
identity: undefined;
|
|
2015
|
+
generated: undefined;
|
|
2016
|
+
}, {}, {}>;
|
|
2017
|
+
defaultSubAgentId: drizzle_orm_pg_core495.PgColumn<{
|
|
2018
|
+
name: "default_sub_agent_id";
|
|
2019
|
+
tableName: "agent";
|
|
2020
|
+
dataType: "string";
|
|
2021
|
+
columnType: "PgVarchar";
|
|
2022
|
+
data: string;
|
|
2023
|
+
driverParam: string;
|
|
2024
|
+
notNull: false;
|
|
2025
|
+
hasDefault: false;
|
|
2026
|
+
isPrimaryKey: false;
|
|
2027
|
+
isAutoincrement: false;
|
|
2028
|
+
hasRuntimeDefault: false;
|
|
2029
|
+
enumValues: [string, ...string[]];
|
|
2030
|
+
baseColumn: never;
|
|
2031
|
+
identity: undefined;
|
|
2032
|
+
generated: undefined;
|
|
2033
|
+
}, {}, {
|
|
2034
|
+
length: 256;
|
|
2035
|
+
}>;
|
|
2036
|
+
contextConfigId: drizzle_orm_pg_core495.PgColumn<{
|
|
2037
|
+
name: "context_config_id";
|
|
2038
|
+
tableName: "agent";
|
|
2039
|
+
dataType: "string";
|
|
2040
|
+
columnType: "PgVarchar";
|
|
2041
|
+
data: string;
|
|
2042
|
+
driverParam: string;
|
|
2043
|
+
notNull: false;
|
|
2044
|
+
hasDefault: false;
|
|
2045
|
+
isPrimaryKey: false;
|
|
2046
|
+
isAutoincrement: false;
|
|
2047
|
+
hasRuntimeDefault: false;
|
|
2048
|
+
enumValues: [string, ...string[]];
|
|
2049
|
+
baseColumn: never;
|
|
2050
|
+
identity: undefined;
|
|
2051
|
+
generated: undefined;
|
|
2052
|
+
}, {}, {
|
|
2053
|
+
length: 256;
|
|
2054
|
+
}>;
|
|
2055
|
+
models: drizzle_orm_pg_core495.PgColumn<{
|
|
2056
|
+
name: "models";
|
|
2057
|
+
tableName: "agent";
|
|
2058
|
+
dataType: "json";
|
|
2059
|
+
columnType: "PgJsonb";
|
|
2060
|
+
data: {
|
|
2061
|
+
base?: {
|
|
2062
|
+
model?: string | undefined;
|
|
2063
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2064
|
+
} | undefined;
|
|
2065
|
+
structuredOutput?: {
|
|
2066
|
+
model?: string | undefined;
|
|
2067
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
summarizer?: {
|
|
2070
|
+
model?: string | undefined;
|
|
2071
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
};
|
|
2074
|
+
driverParam: unknown;
|
|
2075
|
+
notNull: false;
|
|
2076
|
+
hasDefault: false;
|
|
2077
|
+
isPrimaryKey: false;
|
|
2078
|
+
isAutoincrement: false;
|
|
2079
|
+
hasRuntimeDefault: false;
|
|
2080
|
+
enumValues: undefined;
|
|
2081
|
+
baseColumn: never;
|
|
2082
|
+
identity: undefined;
|
|
2083
|
+
generated: undefined;
|
|
2084
|
+
}, {}, {
|
|
2085
|
+
$type: {
|
|
2086
|
+
base?: {
|
|
2087
|
+
model?: string | undefined;
|
|
2088
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2089
|
+
} | undefined;
|
|
2090
|
+
structuredOutput?: {
|
|
2091
|
+
model?: string | undefined;
|
|
2092
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2093
|
+
} | undefined;
|
|
2094
|
+
summarizer?: {
|
|
2095
|
+
model?: string | undefined;
|
|
2096
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2097
|
+
} | undefined;
|
|
2098
|
+
};
|
|
2099
|
+
}>;
|
|
2100
|
+
statusUpdates: drizzle_orm_pg_core495.PgColumn<{
|
|
2101
|
+
name: "status_updates";
|
|
2102
|
+
tableName: "agent";
|
|
2103
|
+
dataType: "json";
|
|
2104
|
+
columnType: "PgJsonb";
|
|
2105
|
+
data: {
|
|
2106
|
+
enabled?: boolean | undefined;
|
|
2107
|
+
numEvents?: number | undefined;
|
|
2108
|
+
timeInSeconds?: number | undefined;
|
|
2109
|
+
prompt?: string | undefined;
|
|
2110
|
+
statusComponents?: {
|
|
2111
|
+
type: string;
|
|
2112
|
+
description?: string | undefined;
|
|
2113
|
+
detailsSchema?: {
|
|
2114
|
+
type: "object";
|
|
2115
|
+
properties: Record<string, any>;
|
|
2116
|
+
required?: string[] | undefined;
|
|
2117
|
+
} | undefined;
|
|
2118
|
+
}[] | undefined;
|
|
2119
|
+
};
|
|
2120
|
+
driverParam: unknown;
|
|
2121
|
+
notNull: false;
|
|
2122
|
+
hasDefault: false;
|
|
2123
|
+
isPrimaryKey: false;
|
|
2124
|
+
isAutoincrement: false;
|
|
2125
|
+
hasRuntimeDefault: false;
|
|
2126
|
+
enumValues: undefined;
|
|
2127
|
+
baseColumn: never;
|
|
2128
|
+
identity: undefined;
|
|
2129
|
+
generated: undefined;
|
|
2130
|
+
}, {}, {
|
|
2131
|
+
$type: {
|
|
2132
|
+
enabled?: boolean | undefined;
|
|
2133
|
+
numEvents?: number | undefined;
|
|
2134
|
+
timeInSeconds?: number | undefined;
|
|
2135
|
+
prompt?: string | undefined;
|
|
2136
|
+
statusComponents?: {
|
|
2137
|
+
type: string;
|
|
2138
|
+
description?: string | undefined;
|
|
2139
|
+
detailsSchema?: {
|
|
2140
|
+
type: "object";
|
|
2141
|
+
properties: Record<string, any>;
|
|
2142
|
+
required?: string[] | undefined;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
}[] | undefined;
|
|
2145
|
+
};
|
|
2146
|
+
}>;
|
|
2147
|
+
prompt: drizzle_orm_pg_core495.PgColumn<{
|
|
2148
|
+
name: "prompt";
|
|
2149
|
+
tableName: "agent";
|
|
2150
|
+
dataType: "string";
|
|
2151
|
+
columnType: "PgText";
|
|
2152
|
+
data: string;
|
|
2153
|
+
driverParam: string;
|
|
2154
|
+
notNull: false;
|
|
2155
|
+
hasDefault: false;
|
|
2156
|
+
isPrimaryKey: false;
|
|
2157
|
+
isAutoincrement: false;
|
|
2158
|
+
hasRuntimeDefault: false;
|
|
2159
|
+
enumValues: [string, ...string[]];
|
|
2160
|
+
baseColumn: never;
|
|
2161
|
+
identity: undefined;
|
|
2162
|
+
generated: undefined;
|
|
2163
|
+
}, {}, {}>;
|
|
2164
|
+
stopWhen: drizzle_orm_pg_core495.PgColumn<{
|
|
2165
|
+
name: "stop_when";
|
|
2166
|
+
tableName: "agent";
|
|
2167
|
+
dataType: "json";
|
|
2168
|
+
columnType: "PgJsonb";
|
|
2169
|
+
data: {
|
|
2170
|
+
transferCountIs?: number | undefined;
|
|
2171
|
+
};
|
|
2172
|
+
driverParam: unknown;
|
|
2173
|
+
notNull: false;
|
|
2174
|
+
hasDefault: false;
|
|
2175
|
+
isPrimaryKey: false;
|
|
2176
|
+
isAutoincrement: false;
|
|
2177
|
+
hasRuntimeDefault: false;
|
|
2178
|
+
enumValues: undefined;
|
|
2179
|
+
baseColumn: never;
|
|
2180
|
+
identity: undefined;
|
|
2181
|
+
generated: undefined;
|
|
2182
|
+
}, {}, {
|
|
2183
|
+
$type: {
|
|
2184
|
+
transferCountIs?: number | undefined;
|
|
2185
|
+
};
|
|
2186
|
+
}>;
|
|
2187
|
+
projectId: drizzle_orm_pg_core495.PgColumn<{
|
|
2188
|
+
name: "project_id";
|
|
2189
|
+
tableName: "agent";
|
|
2190
|
+
dataType: "string";
|
|
2191
|
+
columnType: "PgVarchar";
|
|
2192
|
+
data: string;
|
|
2193
|
+
driverParam: string;
|
|
2194
|
+
notNull: true;
|
|
2195
|
+
hasDefault: false;
|
|
2196
|
+
isPrimaryKey: false;
|
|
2197
|
+
isAutoincrement: false;
|
|
2198
|
+
hasRuntimeDefault: false;
|
|
2199
|
+
enumValues: [string, ...string[]];
|
|
2200
|
+
baseColumn: never;
|
|
2201
|
+
identity: undefined;
|
|
2202
|
+
generated: undefined;
|
|
2203
|
+
}, {}, {
|
|
2204
|
+
length: 256;
|
|
2205
|
+
}>;
|
|
2206
|
+
tenantId: drizzle_orm_pg_core495.PgColumn<{
|
|
2207
|
+
name: "tenant_id";
|
|
2208
|
+
tableName: "agent";
|
|
2209
|
+
dataType: "string";
|
|
2210
|
+
columnType: "PgVarchar";
|
|
2211
|
+
data: string;
|
|
2212
|
+
driverParam: string;
|
|
2213
|
+
notNull: true;
|
|
2214
|
+
hasDefault: false;
|
|
2215
|
+
isPrimaryKey: false;
|
|
2216
|
+
isAutoincrement: false;
|
|
2217
|
+
hasRuntimeDefault: false;
|
|
2218
|
+
enumValues: [string, ...string[]];
|
|
2219
|
+
baseColumn: never;
|
|
2220
|
+
identity: undefined;
|
|
2221
|
+
generated: undefined;
|
|
2222
|
+
}, {}, {
|
|
2223
|
+
length: 256;
|
|
2224
|
+
}>;
|
|
2225
|
+
id: drizzle_orm_pg_core495.PgColumn<{
|
|
2226
|
+
name: "id";
|
|
2227
|
+
tableName: "agent";
|
|
2228
|
+
dataType: "string";
|
|
2229
|
+
columnType: "PgVarchar";
|
|
2230
|
+
data: string;
|
|
2231
|
+
driverParam: string;
|
|
2232
|
+
notNull: true;
|
|
2233
|
+
hasDefault: false;
|
|
2234
|
+
isPrimaryKey: false;
|
|
2235
|
+
isAutoincrement: false;
|
|
2236
|
+
hasRuntimeDefault: false;
|
|
2237
|
+
enumValues: [string, ...string[]];
|
|
2238
|
+
baseColumn: never;
|
|
2239
|
+
identity: undefined;
|
|
2240
|
+
generated: undefined;
|
|
2241
|
+
}, {}, {
|
|
2242
|
+
length: 256;
|
|
2243
|
+
}>;
|
|
2244
|
+
}, drizzle_zod15.BuildRefine<{
|
|
2245
|
+
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
2246
|
+
name: "created_at";
|
|
2247
|
+
tableName: "agent";
|
|
2248
|
+
dataType: "string";
|
|
2249
|
+
columnType: "PgTimestampString";
|
|
2250
|
+
data: string;
|
|
2251
|
+
driverParam: string;
|
|
2252
|
+
notNull: true;
|
|
2253
|
+
hasDefault: true;
|
|
2254
|
+
isPrimaryKey: false;
|
|
2255
|
+
isAutoincrement: false;
|
|
2256
|
+
hasRuntimeDefault: false;
|
|
2257
|
+
enumValues: undefined;
|
|
2258
|
+
baseColumn: never;
|
|
2259
|
+
identity: undefined;
|
|
2260
|
+
generated: undefined;
|
|
2261
|
+
}, {}, {}>;
|
|
2262
|
+
updatedAt: drizzle_orm_pg_core495.PgColumn<{
|
|
2263
|
+
name: "updated_at";
|
|
2264
|
+
tableName: "agent";
|
|
2265
|
+
dataType: "string";
|
|
2266
|
+
columnType: "PgTimestampString";
|
|
2267
|
+
data: string;
|
|
2268
|
+
driverParam: string;
|
|
2269
|
+
notNull: true;
|
|
2270
|
+
hasDefault: true;
|
|
2271
|
+
isPrimaryKey: false;
|
|
2272
|
+
isAutoincrement: false;
|
|
2273
|
+
hasRuntimeDefault: false;
|
|
2274
|
+
enumValues: undefined;
|
|
2275
|
+
baseColumn: never;
|
|
2276
|
+
identity: undefined;
|
|
2277
|
+
generated: undefined;
|
|
2278
|
+
}, {}, {}>;
|
|
2279
|
+
name: drizzle_orm_pg_core495.PgColumn<{
|
|
2280
|
+
name: "name";
|
|
2281
|
+
tableName: "agent";
|
|
2282
|
+
dataType: "string";
|
|
2283
|
+
columnType: "PgVarchar";
|
|
2284
|
+
data: string;
|
|
2285
|
+
driverParam: string;
|
|
2286
|
+
notNull: true;
|
|
2287
|
+
hasDefault: false;
|
|
2288
|
+
isPrimaryKey: false;
|
|
2289
|
+
isAutoincrement: false;
|
|
2290
|
+
hasRuntimeDefault: false;
|
|
2291
|
+
enumValues: [string, ...string[]];
|
|
2292
|
+
baseColumn: never;
|
|
2293
|
+
identity: undefined;
|
|
2294
|
+
generated: undefined;
|
|
2295
|
+
}, {}, {
|
|
2296
|
+
length: 256;
|
|
2297
|
+
}>;
|
|
2298
|
+
description: drizzle_orm_pg_core495.PgColumn<{
|
|
2299
|
+
name: "description";
|
|
2300
|
+
tableName: "agent";
|
|
2301
|
+
dataType: "string";
|
|
2302
|
+
columnType: "PgText";
|
|
2303
|
+
data: string;
|
|
2304
|
+
driverParam: string;
|
|
2305
|
+
notNull: false;
|
|
2306
|
+
hasDefault: false;
|
|
2307
|
+
isPrimaryKey: false;
|
|
2308
|
+
isAutoincrement: false;
|
|
2309
|
+
hasRuntimeDefault: false;
|
|
2310
|
+
enumValues: [string, ...string[]];
|
|
2311
|
+
baseColumn: never;
|
|
2312
|
+
identity: undefined;
|
|
2313
|
+
generated: undefined;
|
|
2314
|
+
}, {}, {}>;
|
|
2315
|
+
defaultSubAgentId: drizzle_orm_pg_core495.PgColumn<{
|
|
2316
|
+
name: "default_sub_agent_id";
|
|
2317
|
+
tableName: "agent";
|
|
2318
|
+
dataType: "string";
|
|
2319
|
+
columnType: "PgVarchar";
|
|
2320
|
+
data: string;
|
|
2321
|
+
driverParam: string;
|
|
2322
|
+
notNull: false;
|
|
2323
|
+
hasDefault: false;
|
|
2324
|
+
isPrimaryKey: false;
|
|
2325
|
+
isAutoincrement: false;
|
|
2326
|
+
hasRuntimeDefault: false;
|
|
2327
|
+
enumValues: [string, ...string[]];
|
|
2328
|
+
baseColumn: never;
|
|
2329
|
+
identity: undefined;
|
|
2330
|
+
generated: undefined;
|
|
2331
|
+
}, {}, {
|
|
2332
|
+
length: 256;
|
|
2333
|
+
}>;
|
|
2334
|
+
contextConfigId: drizzle_orm_pg_core495.PgColumn<{
|
|
2335
|
+
name: "context_config_id";
|
|
2336
|
+
tableName: "agent";
|
|
2337
|
+
dataType: "string";
|
|
2338
|
+
columnType: "PgVarchar";
|
|
2339
|
+
data: string;
|
|
2340
|
+
driverParam: string;
|
|
2341
|
+
notNull: false;
|
|
2342
|
+
hasDefault: false;
|
|
2343
|
+
isPrimaryKey: false;
|
|
2344
|
+
isAutoincrement: false;
|
|
2345
|
+
hasRuntimeDefault: false;
|
|
2346
|
+
enumValues: [string, ...string[]];
|
|
2347
|
+
baseColumn: never;
|
|
2348
|
+
identity: undefined;
|
|
2349
|
+
generated: undefined;
|
|
2350
|
+
}, {}, {
|
|
2351
|
+
length: 256;
|
|
2352
|
+
}>;
|
|
2353
|
+
models: drizzle_orm_pg_core495.PgColumn<{
|
|
2354
|
+
name: "models";
|
|
2355
|
+
tableName: "agent";
|
|
2356
|
+
dataType: "json";
|
|
2357
|
+
columnType: "PgJsonb";
|
|
2358
|
+
data: {
|
|
2359
|
+
base?: {
|
|
2360
|
+
model?: string | undefined;
|
|
2361
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2362
|
+
} | undefined;
|
|
2363
|
+
structuredOutput?: {
|
|
2364
|
+
model?: string | undefined;
|
|
2365
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2366
|
+
} | undefined;
|
|
2367
|
+
summarizer?: {
|
|
2368
|
+
model?: string | undefined;
|
|
2369
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2370
|
+
} | undefined;
|
|
2371
|
+
};
|
|
2372
|
+
driverParam: unknown;
|
|
2373
|
+
notNull: false;
|
|
2374
|
+
hasDefault: false;
|
|
2375
|
+
isPrimaryKey: false;
|
|
2376
|
+
isAutoincrement: false;
|
|
2377
|
+
hasRuntimeDefault: false;
|
|
2378
|
+
enumValues: undefined;
|
|
2379
|
+
baseColumn: never;
|
|
2380
|
+
identity: undefined;
|
|
2381
|
+
generated: undefined;
|
|
2382
|
+
}, {}, {
|
|
2383
|
+
$type: {
|
|
2384
|
+
base?: {
|
|
2385
|
+
model?: string | undefined;
|
|
2386
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2387
|
+
} | undefined;
|
|
2388
|
+
structuredOutput?: {
|
|
2389
|
+
model?: string | undefined;
|
|
2390
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2391
|
+
} | undefined;
|
|
2392
|
+
summarizer?: {
|
|
2393
|
+
model?: string | undefined;
|
|
2394
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2395
|
+
} | undefined;
|
|
2396
|
+
};
|
|
2397
|
+
}>;
|
|
2398
|
+
statusUpdates: drizzle_orm_pg_core495.PgColumn<{
|
|
2399
|
+
name: "status_updates";
|
|
2400
|
+
tableName: "agent";
|
|
2401
|
+
dataType: "json";
|
|
2402
|
+
columnType: "PgJsonb";
|
|
2403
|
+
data: {
|
|
2404
|
+
enabled?: boolean | undefined;
|
|
2405
|
+
numEvents?: number | undefined;
|
|
2406
|
+
timeInSeconds?: number | undefined;
|
|
2407
|
+
prompt?: string | undefined;
|
|
2408
|
+
statusComponents?: {
|
|
2409
|
+
type: string;
|
|
2410
|
+
description?: string | undefined;
|
|
2411
|
+
detailsSchema?: {
|
|
2412
|
+
type: "object";
|
|
2413
|
+
properties: Record<string, any>;
|
|
2414
|
+
required?: string[] | undefined;
|
|
2415
|
+
} | undefined;
|
|
2416
|
+
}[] | undefined;
|
|
2417
|
+
};
|
|
2418
|
+
driverParam: unknown;
|
|
2419
|
+
notNull: false;
|
|
2420
|
+
hasDefault: false;
|
|
2421
|
+
isPrimaryKey: false;
|
|
2422
|
+
isAutoincrement: false;
|
|
2423
|
+
hasRuntimeDefault: false;
|
|
2424
|
+
enumValues: undefined;
|
|
2425
|
+
baseColumn: never;
|
|
2426
|
+
identity: undefined;
|
|
2427
|
+
generated: undefined;
|
|
2428
|
+
}, {}, {
|
|
2429
|
+
$type: {
|
|
2430
|
+
enabled?: boolean | undefined;
|
|
2431
|
+
numEvents?: number | undefined;
|
|
2432
|
+
timeInSeconds?: number | undefined;
|
|
2433
|
+
prompt?: string | undefined;
|
|
2434
|
+
statusComponents?: {
|
|
2435
|
+
type: string;
|
|
2436
|
+
description?: string | undefined;
|
|
2437
|
+
detailsSchema?: {
|
|
2438
|
+
type: "object";
|
|
2439
|
+
properties: Record<string, any>;
|
|
2440
|
+
required?: string[] | undefined;
|
|
2441
|
+
} | undefined;
|
|
2442
|
+
}[] | undefined;
|
|
2443
|
+
};
|
|
2444
|
+
}>;
|
|
2445
|
+
prompt: drizzle_orm_pg_core495.PgColumn<{
|
|
2446
|
+
name: "prompt";
|
|
2447
|
+
tableName: "agent";
|
|
2448
|
+
dataType: "string";
|
|
2449
|
+
columnType: "PgText";
|
|
2450
|
+
data: string;
|
|
2451
|
+
driverParam: string;
|
|
2452
|
+
notNull: false;
|
|
2453
|
+
hasDefault: false;
|
|
2454
|
+
isPrimaryKey: false;
|
|
2455
|
+
isAutoincrement: false;
|
|
2456
|
+
hasRuntimeDefault: false;
|
|
2457
|
+
enumValues: [string, ...string[]];
|
|
2458
|
+
baseColumn: never;
|
|
2459
|
+
identity: undefined;
|
|
2460
|
+
generated: undefined;
|
|
2461
|
+
}, {}, {}>;
|
|
2462
|
+
stopWhen: drizzle_orm_pg_core495.PgColumn<{
|
|
2463
|
+
name: "stop_when";
|
|
2464
|
+
tableName: "agent";
|
|
2465
|
+
dataType: "json";
|
|
2466
|
+
columnType: "PgJsonb";
|
|
2467
|
+
data: {
|
|
2468
|
+
transferCountIs?: number | undefined;
|
|
2469
|
+
};
|
|
2470
|
+
driverParam: unknown;
|
|
2471
|
+
notNull: false;
|
|
2472
|
+
hasDefault: false;
|
|
2473
|
+
isPrimaryKey: false;
|
|
2474
|
+
isAutoincrement: false;
|
|
2475
|
+
hasRuntimeDefault: false;
|
|
2476
|
+
enumValues: undefined;
|
|
2477
|
+
baseColumn: never;
|
|
2478
|
+
identity: undefined;
|
|
2479
|
+
generated: undefined;
|
|
2480
|
+
}, {}, {
|
|
2481
|
+
$type: {
|
|
2482
|
+
transferCountIs?: number | undefined;
|
|
2483
|
+
};
|
|
2484
|
+
}>;
|
|
2485
|
+
projectId: drizzle_orm_pg_core495.PgColumn<{
|
|
2486
|
+
name: "project_id";
|
|
2487
|
+
tableName: "agent";
|
|
2488
|
+
dataType: "string";
|
|
2489
|
+
columnType: "PgVarchar";
|
|
2490
|
+
data: string;
|
|
2491
|
+
driverParam: string;
|
|
2492
|
+
notNull: true;
|
|
2493
|
+
hasDefault: false;
|
|
2494
|
+
isPrimaryKey: false;
|
|
2495
|
+
isAutoincrement: false;
|
|
2496
|
+
hasRuntimeDefault: false;
|
|
2497
|
+
enumValues: [string, ...string[]];
|
|
2498
|
+
baseColumn: never;
|
|
2499
|
+
identity: undefined;
|
|
2500
|
+
generated: undefined;
|
|
2501
|
+
}, {}, {
|
|
2502
|
+
length: 256;
|
|
2503
|
+
}>;
|
|
2504
|
+
tenantId: drizzle_orm_pg_core495.PgColumn<{
|
|
2505
|
+
name: "tenant_id";
|
|
2506
|
+
tableName: "agent";
|
|
2507
|
+
dataType: "string";
|
|
2508
|
+
columnType: "PgVarchar";
|
|
2509
|
+
data: string;
|
|
2510
|
+
driverParam: string;
|
|
2511
|
+
notNull: true;
|
|
2512
|
+
hasDefault: false;
|
|
2513
|
+
isPrimaryKey: false;
|
|
2514
|
+
isAutoincrement: false;
|
|
2515
|
+
hasRuntimeDefault: false;
|
|
2516
|
+
enumValues: [string, ...string[]];
|
|
2517
|
+
baseColumn: never;
|
|
2518
|
+
identity: undefined;
|
|
2519
|
+
generated: undefined;
|
|
2520
|
+
}, {}, {
|
|
2521
|
+
length: 256;
|
|
2522
|
+
}>;
|
|
2523
|
+
id: drizzle_orm_pg_core495.PgColumn<{
|
|
2524
|
+
name: "id";
|
|
2525
|
+
tableName: "agent";
|
|
2526
|
+
dataType: "string";
|
|
2527
|
+
columnType: "PgVarchar";
|
|
2528
|
+
data: string;
|
|
2529
|
+
driverParam: string;
|
|
2530
|
+
notNull: true;
|
|
2531
|
+
hasDefault: false;
|
|
2532
|
+
isPrimaryKey: false;
|
|
2533
|
+
isAutoincrement: false;
|
|
2534
|
+
hasRuntimeDefault: false;
|
|
2535
|
+
enumValues: [string, ...string[]];
|
|
2536
|
+
baseColumn: never;
|
|
2537
|
+
identity: undefined;
|
|
2538
|
+
generated: undefined;
|
|
2539
|
+
}, {}, {
|
|
2540
|
+
length: 256;
|
|
2541
|
+
}>;
|
|
2542
|
+
}, undefined>, undefined>;
|
|
2543
|
+
declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
|
|
1947
2544
|
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
1948
2545
|
name: "created_at";
|
|
1949
2546
|
tableName: "agent";
|
|
@@ -2241,7 +2838,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
2241
2838
|
}, {}, {
|
|
2242
2839
|
length: 256;
|
|
2243
2840
|
}>;
|
|
2244
|
-
}, drizzle_zod15.BuildRefine<{
|
|
2841
|
+
}, drizzle_zod15.BuildRefine<Pick<{
|
|
2245
2842
|
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
2246
2843
|
name: "created_at";
|
|
2247
2844
|
tableName: "agent";
|
|
@@ -2539,144 +3136,11 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
|
2539
3136
|
}, {}, {
|
|
2540
3137
|
length: 256;
|
|
2541
3138
|
}>;
|
|
2542
|
-
}, undefined>, undefined>;
|
|
2543
|
-
declare const AgentInsertSchema: z.ZodObject<{
|
|
2544
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
2545
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2546
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2547
|
-
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2548
|
-
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2549
|
-
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2550
|
-
base?: {
|
|
2551
|
-
model?: string | undefined;
|
|
2552
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2553
|
-
} | undefined;
|
|
2554
|
-
structuredOutput?: {
|
|
2555
|
-
model?: string | undefined;
|
|
2556
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2557
|
-
} | undefined;
|
|
2558
|
-
summarizer?: {
|
|
2559
|
-
model?: string | undefined;
|
|
2560
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2561
|
-
} | undefined;
|
|
2562
|
-
}, {
|
|
2563
|
-
base?: {
|
|
2564
|
-
model?: string | undefined;
|
|
2565
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2566
|
-
} | undefined;
|
|
2567
|
-
structuredOutput?: {
|
|
2568
|
-
model?: string | undefined;
|
|
2569
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2570
|
-
} | undefined;
|
|
2571
|
-
summarizer?: {
|
|
2572
|
-
model?: string | undefined;
|
|
2573
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2574
|
-
} | undefined;
|
|
2575
|
-
}, z.core.$ZodTypeInternals<{
|
|
2576
|
-
base?: {
|
|
2577
|
-
model?: string | undefined;
|
|
2578
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2579
|
-
} | undefined;
|
|
2580
|
-
structuredOutput?: {
|
|
2581
|
-
model?: string | undefined;
|
|
2582
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2583
|
-
} | undefined;
|
|
2584
|
-
summarizer?: {
|
|
2585
|
-
model?: string | undefined;
|
|
2586
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2587
|
-
} | undefined;
|
|
2588
|
-
}, {
|
|
2589
|
-
base?: {
|
|
2590
|
-
model?: string | undefined;
|
|
2591
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2592
|
-
} | undefined;
|
|
2593
|
-
structuredOutput?: {
|
|
2594
|
-
model?: string | undefined;
|
|
2595
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2596
|
-
} | undefined;
|
|
2597
|
-
summarizer?: {
|
|
2598
|
-
model?: string | undefined;
|
|
2599
|
-
providerOptions?: Record<string, any> | undefined;
|
|
2600
|
-
} | undefined;
|
|
2601
|
-
}>>>>;
|
|
2602
|
-
statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2603
|
-
enabled?: boolean | undefined;
|
|
2604
|
-
numEvents?: number | undefined;
|
|
2605
|
-
timeInSeconds?: number | undefined;
|
|
2606
|
-
prompt?: string | undefined;
|
|
2607
|
-
statusComponents?: {
|
|
2608
|
-
type: string;
|
|
2609
|
-
description?: string | undefined;
|
|
2610
|
-
detailsSchema?: {
|
|
2611
|
-
type: "object";
|
|
2612
|
-
properties: Record<string, any>;
|
|
2613
|
-
required?: string[] | undefined;
|
|
2614
|
-
} | undefined;
|
|
2615
|
-
}[] | undefined;
|
|
2616
|
-
}, {
|
|
2617
|
-
enabled?: boolean | undefined;
|
|
2618
|
-
numEvents?: number | undefined;
|
|
2619
|
-
timeInSeconds?: number | undefined;
|
|
2620
|
-
prompt?: string | undefined;
|
|
2621
|
-
statusComponents?: {
|
|
2622
|
-
type: string;
|
|
2623
|
-
description?: string | undefined;
|
|
2624
|
-
detailsSchema?: {
|
|
2625
|
-
type: "object";
|
|
2626
|
-
properties: Record<string, any>;
|
|
2627
|
-
required?: string[] | undefined;
|
|
2628
|
-
} | undefined;
|
|
2629
|
-
}[] | undefined;
|
|
2630
|
-
}, z.core.$ZodTypeInternals<{
|
|
2631
|
-
enabled?: boolean | undefined;
|
|
2632
|
-
numEvents?: number | undefined;
|
|
2633
|
-
timeInSeconds?: number | undefined;
|
|
2634
|
-
prompt?: string | undefined;
|
|
2635
|
-
statusComponents?: {
|
|
2636
|
-
type: string;
|
|
2637
|
-
description?: string | undefined;
|
|
2638
|
-
detailsSchema?: {
|
|
2639
|
-
type: "object";
|
|
2640
|
-
properties: Record<string, any>;
|
|
2641
|
-
required?: string[] | undefined;
|
|
2642
|
-
} | undefined;
|
|
2643
|
-
}[] | undefined;
|
|
2644
|
-
}, {
|
|
2645
|
-
enabled?: boolean | undefined;
|
|
2646
|
-
numEvents?: number | undefined;
|
|
2647
|
-
timeInSeconds?: number | undefined;
|
|
2648
|
-
prompt?: string | undefined;
|
|
2649
|
-
statusComponents?: {
|
|
2650
|
-
type: string;
|
|
2651
|
-
description?: string | undefined;
|
|
2652
|
-
detailsSchema?: {
|
|
2653
|
-
type: "object";
|
|
2654
|
-
properties: Record<string, any>;
|
|
2655
|
-
required?: string[] | undefined;
|
|
2656
|
-
} | undefined;
|
|
2657
|
-
}[] | undefined;
|
|
2658
|
-
}>>>>;
|
|
2659
|
-
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2660
|
-
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2661
|
-
transferCountIs?: number | undefined;
|
|
2662
|
-
}, {
|
|
2663
|
-
transferCountIs?: number | undefined;
|
|
2664
|
-
}, z.core.$ZodTypeInternals<{
|
|
2665
|
-
transferCountIs?: number | undefined;
|
|
2666
|
-
}, {
|
|
2667
|
-
transferCountIs?: number | undefined;
|
|
2668
|
-
}>>>>;
|
|
2669
|
-
projectId: z.ZodString;
|
|
2670
|
-
tenantId: z.ZodString;
|
|
2671
|
-
id: z.ZodString;
|
|
2672
|
-
name: z.ZodString;
|
|
2673
|
-
}, {
|
|
2674
|
-
out: {};
|
|
2675
|
-
in: {};
|
|
2676
|
-
}>;
|
|
3139
|
+
}, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
|
|
2677
3140
|
declare const AgentUpdateSchema: z.ZodObject<{
|
|
2678
3141
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2679
3142
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2680
3144
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2681
3145
|
defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2682
3146
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2803,7 +3267,6 @@ declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2803
3267
|
projectId: z.ZodOptional<z.ZodString>;
|
|
2804
3268
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
2805
3269
|
id: z.ZodOptional<z.ZodString>;
|
|
2806
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2807
3270
|
}, {
|
|
2808
3271
|
out: {};
|
|
2809
3272
|
in: {};
|
|
@@ -2811,10 +3274,10 @@ declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2811
3274
|
declare const AgentApiSelectSchema: z.ZodObject<{
|
|
2812
3275
|
id: z.ZodString;
|
|
2813
3276
|
name: z.ZodString;
|
|
2814
|
-
createdAt: z.ZodString;
|
|
2815
|
-
updatedAt: z.ZodString;
|
|
2816
3277
|
description: z.ZodNullable<z.ZodString>;
|
|
2817
3278
|
prompt: z.ZodNullable<z.ZodString>;
|
|
3279
|
+
createdAt: z.ZodString;
|
|
3280
|
+
updatedAt: z.ZodString;
|
|
2818
3281
|
models: z.ZodNullable<z.ZodType<{
|
|
2819
3282
|
base?: {
|
|
2820
3283
|
model?: string | undefined;
|
|
@@ -2939,10 +3402,10 @@ declare const AgentApiSelectSchema: z.ZodObject<{
|
|
|
2939
3402
|
}, z.core.$strip>;
|
|
2940
3403
|
declare const AgentApiInsertSchema: z.ZodObject<{
|
|
2941
3404
|
name: z.ZodString;
|
|
2942
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
2943
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2944
3405
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2945
3406
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3407
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3408
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2946
3409
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2947
3410
|
base?: {
|
|
2948
3411
|
model?: string | undefined;
|
|
@@ -3069,10 +3532,10 @@ declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
3069
3532
|
declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
3070
3533
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3071
3534
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3072
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3073
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3074
3535
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3075
3536
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3537
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3538
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3076
3539
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
3077
3540
|
base?: {
|
|
3078
3541
|
model?: string | undefined;
|
|
@@ -3603,33 +4066,33 @@ declare const TaskUpdateSchema: z.ZodObject<{
|
|
|
3603
4066
|
in: {};
|
|
3604
4067
|
}>;
|
|
3605
4068
|
declare const TaskApiSelectSchema: z.ZodObject<{
|
|
3606
|
-
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
3607
4069
|
id: z.ZodString;
|
|
4070
|
+
agentId: z.ZodString;
|
|
3608
4071
|
createdAt: z.ZodString;
|
|
3609
4072
|
updatedAt: z.ZodString;
|
|
4073
|
+
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
3610
4074
|
status: z.ZodString;
|
|
3611
|
-
agentId: z.ZodString;
|
|
3612
4075
|
contextId: z.ZodString;
|
|
3613
4076
|
subAgentId: z.ZodString;
|
|
3614
4077
|
}, z.core.$strip>;
|
|
3615
4078
|
declare const TaskApiInsertSchema: z.ZodObject<{
|
|
3616
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
3617
4079
|
id: z.ZodString;
|
|
4080
|
+
agentId: z.ZodString;
|
|
3618
4081
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3619
4082
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4083
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
3620
4084
|
status: z.ZodString;
|
|
3621
|
-
agentId: z.ZodString;
|
|
3622
4085
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
3623
4086
|
contextId: z.ZodString;
|
|
3624
4087
|
subAgentId: z.ZodString;
|
|
3625
4088
|
}, z.core.$strip>;
|
|
3626
4089
|
declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
3627
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
3628
4090
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4091
|
+
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3629
4092
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3630
4093
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4094
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
3631
4095
|
status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3632
|
-
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3633
4096
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3634
4097
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3635
4098
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4968,33 +5431,33 @@ declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
4968
5431
|
in: {};
|
|
4969
5432
|
}>;
|
|
4970
5433
|
declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
4971
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4972
5434
|
id: z.ZodString;
|
|
5435
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4973
5436
|
createdAt: z.ZodString;
|
|
4974
5437
|
updatedAt: z.ZodString;
|
|
4975
5438
|
userId: z.ZodNullable<z.ZodString>;
|
|
4976
|
-
|
|
5439
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4977
5440
|
activeSubAgentId: z.ZodString;
|
|
4978
5441
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
4979
5442
|
}, z.core.$strip>;
|
|
4980
5443
|
declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
4981
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4982
5444
|
id: z.ZodString;
|
|
5445
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4983
5446
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4984
5447
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4985
5448
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4986
|
-
|
|
5449
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4987
5450
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4988
5451
|
activeSubAgentId: z.ZodString;
|
|
4989
5452
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4990
5453
|
}, z.core.$strip>;
|
|
4991
5454
|
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
4992
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4993
5455
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5456
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4994
5457
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4995
5458
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4996
5459
|
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4997
|
-
|
|
5460
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4998
5461
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4999
5462
|
activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5000
5463
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
@@ -5845,12 +6308,12 @@ declare const MessageUpdateSchema: z.ZodObject<{
|
|
|
5845
6308
|
in: {};
|
|
5846
6309
|
}>;
|
|
5847
6310
|
declare const MessageApiSelectSchema: z.ZodObject<{
|
|
5848
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
5849
6311
|
id: z.ZodString;
|
|
5850
6312
|
createdAt: z.ZodString;
|
|
5851
6313
|
updatedAt: z.ZodString;
|
|
5852
|
-
|
|
6314
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
5853
6315
|
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
6316
|
+
role: z.ZodString;
|
|
5854
6317
|
conversationId: z.ZodString;
|
|
5855
6318
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
5856
6319
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
@@ -5866,12 +6329,12 @@ declare const MessageApiSelectSchema: z.ZodObject<{
|
|
|
5866
6329
|
a2aSessionId: z.ZodNullable<z.ZodString>;
|
|
5867
6330
|
}, z.core.$strip>;
|
|
5868
6331
|
declare const MessageApiInsertSchema: z.ZodObject<{
|
|
5869
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
5870
6332
|
id: z.ZodString;
|
|
5871
6333
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5872
6334
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5873
|
-
|
|
6335
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
5874
6336
|
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
6337
|
+
role: z.ZodString;
|
|
5875
6338
|
conversationId: z.ZodString;
|
|
5876
6339
|
fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5877
6340
|
toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5887,12 +6350,12 @@ declare const MessageApiInsertSchema: z.ZodObject<{
|
|
|
5887
6350
|
a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5888
6351
|
}, z.core.$strip>;
|
|
5889
6352
|
declare const MessageApiUpdateSchema: z.ZodObject<{
|
|
5890
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
5891
6353
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5892
6354
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5893
6355
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5894
|
-
|
|
6356
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
5895
6357
|
content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
|
|
6358
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5896
6359
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5897
6360
|
fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5898
6361
|
toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
@@ -6868,7 +7331,7 @@ declare const ContextCacheInsertSchema: drizzle_zod15.BuildSchema<"insert", {
|
|
|
6868
7331
|
}, {}, {
|
|
6869
7332
|
length: 256;
|
|
6870
7333
|
}>;
|
|
6871
|
-
}, "
|
|
7334
|
+
}, "tenantId" | "projectId" | "id" | "value" | "createdAt" | "updatedAt" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
|
|
6872
7335
|
declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
6873
7336
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6874
7337
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -6889,9 +7352,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
|
6889
7352
|
}>;
|
|
6890
7353
|
declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
6891
7354
|
id: z.ZodString;
|
|
7355
|
+
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6892
7356
|
createdAt: z.ZodString;
|
|
6893
7357
|
updatedAt: z.ZodString;
|
|
6894
|
-
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6895
7358
|
contextConfigId: z.ZodString;
|
|
6896
7359
|
conversationId: z.ZodString;
|
|
6897
7360
|
contextVariableKey: z.ZodString;
|
|
@@ -6902,9 +7365,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
|
6902
7365
|
}, z.core.$strip>;
|
|
6903
7366
|
declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
6904
7367
|
id: z.ZodString;
|
|
7368
|
+
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6905
7369
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6906
7370
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6907
|
-
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6908
7371
|
contextConfigId: z.ZodString;
|
|
6909
7372
|
conversationId: z.ZodString;
|
|
6910
7373
|
contextVariableKey: z.ZodString;
|
|
@@ -6915,9 +7378,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
|
6915
7378
|
}, z.core.$strip>;
|
|
6916
7379
|
declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
6917
7380
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7381
|
+
value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
6918
7382
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6919
7383
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6920
|
-
value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
6921
7384
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6922
7385
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6923
7386
|
contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -7298,10 +7761,10 @@ declare const DataComponentInsertSchema: z.ZodObject<{
|
|
|
7298
7761
|
in: {};
|
|
7299
7762
|
}>;
|
|
7300
7763
|
declare const DataComponentBaseSchema: z.ZodObject<{
|
|
7301
|
-
id: z.ZodString;
|
|
7302
|
-
name: z.ZodString;
|
|
7303
7764
|
tenantId: z.ZodString;
|
|
7304
7765
|
projectId: z.ZodString;
|
|
7766
|
+
id: z.ZodString;
|
|
7767
|
+
name: z.ZodString;
|
|
7305
7768
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7306
7769
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
7307
7770
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
@@ -7350,9 +7813,9 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
|
|
|
7350
7813
|
declare const DataComponentApiSelectSchema: z.ZodObject<{
|
|
7351
7814
|
id: z.ZodString;
|
|
7352
7815
|
name: z.ZodString;
|
|
7816
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7353
7817
|
createdAt: z.ZodString;
|
|
7354
7818
|
updatedAt: z.ZodString;
|
|
7355
|
-
description: z.ZodNullable<z.ZodString>;
|
|
7356
7819
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7357
7820
|
render: z.ZodNullable<z.ZodType<{
|
|
7358
7821
|
component: string;
|
|
@@ -7371,9 +7834,9 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
|
|
|
7371
7834
|
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
7372
7835
|
id: z.ZodString;
|
|
7373
7836
|
name: z.ZodString;
|
|
7837
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7374
7838
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
7375
7839
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
7376
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7377
7840
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
7378
7841
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7379
7842
|
component: string;
|
|
@@ -7392,9 +7855,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
|
7392
7855
|
declare const DataComponentApiUpdateSchema: z.ZodObject<{
|
|
7393
7856
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7394
7857
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7858
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7395
7859
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
7396
7860
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
7397
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7398
7861
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
7399
7862
|
render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7400
7863
|
component: string;
|
|
@@ -7939,7 +8402,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
|
|
|
7939
8402
|
}, {}, {
|
|
7940
8403
|
length: 256;
|
|
7941
8404
|
}>;
|
|
7942
|
-
}, "
|
|
8405
|
+
}, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
|
|
7943
8406
|
declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
|
|
7944
8407
|
dataComponentId: z.ZodOptional<z.ZodString>;
|
|
7945
8408
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -8296,9 +8759,9 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
|
|
|
8296
8759
|
declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
|
|
8297
8760
|
id: z.ZodString;
|
|
8298
8761
|
name: z.ZodString;
|
|
8762
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8299
8763
|
createdAt: z.ZodString;
|
|
8300
8764
|
updatedAt: z.ZodString;
|
|
8301
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8302
8765
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8303
8766
|
}, z.core.$strip>;
|
|
8304
8767
|
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
@@ -8313,9 +8776,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
|
8313
8776
|
declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
8314
8777
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8315
8778
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8779
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8316
8780
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8317
8781
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8318
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8319
8782
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
8320
8783
|
}, z.core.$strip>;
|
|
8321
8784
|
declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -8672,37 +9135,37 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
|
|
|
8672
9135
|
declare const ExternalAgentApiSelectSchema: z.ZodObject<{
|
|
8673
9136
|
id: z.ZodString;
|
|
8674
9137
|
name: z.ZodString;
|
|
8675
|
-
createdAt: z.ZodString;
|
|
8676
|
-
updatedAt: z.ZodString;
|
|
8677
9138
|
description: z.ZodNullable<z.ZodString>;
|
|
8678
9139
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9140
|
+
createdAt: z.ZodString;
|
|
9141
|
+
updatedAt: z.ZodString;
|
|
8679
9142
|
baseUrl: z.ZodString;
|
|
8680
9143
|
}, z.core.$strip>;
|
|
8681
9144
|
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
|
|
8682
9145
|
id: z.ZodString;
|
|
8683
9146
|
name: z.ZodString;
|
|
8684
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
8685
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8686
9147
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8687
9148
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9149
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
9150
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8688
9151
|
baseUrl: z.ZodString;
|
|
8689
9152
|
}, z.core.$strip>;
|
|
8690
9153
|
declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
|
|
8691
9154
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8692
9155
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8693
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8694
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8695
9156
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8696
9157
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
9158
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
9159
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8697
9160
|
baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8698
9161
|
}, z.core.$strip>;
|
|
8699
9162
|
declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8700
9163
|
id: z.ZodString;
|
|
8701
9164
|
name: z.ZodString;
|
|
8702
|
-
createdAt: z.ZodString;
|
|
8703
|
-
updatedAt: z.ZodString;
|
|
8704
9165
|
description: z.ZodNullable<z.ZodString>;
|
|
8705
9166
|
prompt: z.ZodNullable<z.ZodString>;
|
|
9167
|
+
createdAt: z.ZodString;
|
|
9168
|
+
updatedAt: z.ZodString;
|
|
8706
9169
|
models: z.ZodNullable<z.ZodType<{
|
|
8707
9170
|
base?: {
|
|
8708
9171
|
model?: string | undefined;
|
|
@@ -8770,10 +9233,10 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8770
9233
|
}, z.core.$strip>, z.ZodObject<{
|
|
8771
9234
|
id: z.ZodString;
|
|
8772
9235
|
name: z.ZodString;
|
|
8773
|
-
createdAt: z.ZodString;
|
|
8774
|
-
updatedAt: z.ZodString;
|
|
8775
9236
|
description: z.ZodNullable<z.ZodString>;
|
|
8776
9237
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9238
|
+
createdAt: z.ZodString;
|
|
9239
|
+
updatedAt: z.ZodString;
|
|
8777
9240
|
baseUrl: z.ZodString;
|
|
8778
9241
|
type: z.ZodLiteral<"external">;
|
|
8779
9242
|
}, z.core.$strip>], "type">;
|
|
@@ -9239,10 +9702,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
|
9239
9702
|
}>;
|
|
9240
9703
|
declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
9241
9704
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9242
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9243
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9244
9705
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9245
9706
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9707
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9708
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9246
9709
|
}, {
|
|
9247
9710
|
out: {};
|
|
9248
9711
|
in: {};
|
|
@@ -9250,13 +9713,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
|
9250
9713
|
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
9251
9714
|
id: z.ZodString;
|
|
9252
9715
|
name: z.ZodNullable<z.ZodString>;
|
|
9253
|
-
createdAt: z.ZodString;
|
|
9254
|
-
updatedAt: z.ZodString;
|
|
9255
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9256
9716
|
agentId: z.ZodString;
|
|
9257
9717
|
publicId: z.ZodString;
|
|
9258
9718
|
keyPrefix: z.ZodString;
|
|
9259
9719
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9720
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9721
|
+
createdAt: z.ZodString;
|
|
9722
|
+
updatedAt: z.ZodString;
|
|
9260
9723
|
}, {
|
|
9261
9724
|
out: {};
|
|
9262
9725
|
in: {};
|
|
@@ -9266,13 +9729,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
|
9266
9729
|
apiKey: z.ZodObject<{
|
|
9267
9730
|
id: z.ZodString;
|
|
9268
9731
|
name: z.ZodNullable<z.ZodString>;
|
|
9269
|
-
createdAt: z.ZodString;
|
|
9270
|
-
updatedAt: z.ZodString;
|
|
9271
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9272
9732
|
agentId: z.ZodString;
|
|
9273
9733
|
publicId: z.ZodString;
|
|
9274
9734
|
keyPrefix: z.ZodString;
|
|
9275
9735
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9736
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9737
|
+
createdAt: z.ZodString;
|
|
9738
|
+
updatedAt: z.ZodString;
|
|
9276
9739
|
}, {
|
|
9277
9740
|
out: {};
|
|
9278
9741
|
in: {};
|
|
@@ -9282,20 +9745,20 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
|
9282
9745
|
}, z.core.$strip>;
|
|
9283
9746
|
declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
9284
9747
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9748
|
+
agentId: z.ZodString;
|
|
9749
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9285
9750
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
9286
9751
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9287
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9288
|
-
agentId: z.ZodString;
|
|
9289
9752
|
}, {
|
|
9290
9753
|
out: {};
|
|
9291
9754
|
in: {};
|
|
9292
9755
|
}>;
|
|
9293
9756
|
declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
9294
9757
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9295
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9296
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9297
9758
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9298
9759
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9760
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9761
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9299
9762
|
}, {
|
|
9300
9763
|
out: {};
|
|
9301
9764
|
in: {};
|
|
@@ -9790,9 +10253,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
9790
10253
|
name: z.ZodString;
|
|
9791
10254
|
createdAt: z.ZodString;
|
|
9792
10255
|
updatedAt: z.ZodString;
|
|
9793
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
9794
10256
|
credentialStoreId: z.ZodString;
|
|
9795
10257
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10258
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
9796
10259
|
toolId: z.ZodNullable<z.ZodString>;
|
|
9797
10260
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
9798
10261
|
type: z.ZodEnum<{
|
|
@@ -10347,9 +10810,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
|
10347
10810
|
name: z.ZodString;
|
|
10348
10811
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
10349
10812
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10350
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10351
10813
|
credentialStoreId: z.ZodString;
|
|
10352
10814
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10815
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10353
10816
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10354
10817
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10355
10818
|
type: z.ZodEnum<{
|
|
@@ -10363,9 +10826,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
|
|
|
10363
10826
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10364
10827
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10365
10828
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10366
|
-
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10367
10829
|
credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10368
10830
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
10831
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10369
10832
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10370
10833
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10371
10834
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10481,11 +10944,11 @@ declare const McpToolSchema: z.ZodObject<{
|
|
|
10481
10944
|
in: {};
|
|
10482
10945
|
}>;
|
|
10483
10946
|
declare const MCPToolConfigSchema: z.ZodObject<{
|
|
10484
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10485
10947
|
id: z.ZodString;
|
|
10486
10948
|
name: z.ZodString;
|
|
10487
10949
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10488
10950
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
10951
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10489
10952
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
10490
10953
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10491
10954
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -10520,9 +10983,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
10520
10983
|
name: z.ZodString;
|
|
10521
10984
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
10522
10985
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10523
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10524
10986
|
credentialStoreId: z.ZodString;
|
|
10525
10987
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10988
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10526
10989
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10527
10990
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10528
10991
|
type: z.ZodEnum<{
|
|
@@ -10573,11 +11036,8 @@ declare const ToolUpdateSchema: z.ZodObject<{
|
|
|
10573
11036
|
in: {};
|
|
10574
11037
|
}>;
|
|
10575
11038
|
declare const ToolApiSelectSchema: z.ZodObject<{
|
|
10576
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
10577
11039
|
id: z.ZodString;
|
|
10578
11040
|
name: z.ZodString;
|
|
10579
|
-
createdAt: z.ZodString;
|
|
10580
|
-
updatedAt: z.ZodString;
|
|
10581
11041
|
description: z.ZodNullable<z.ZodString>;
|
|
10582
11042
|
config: z.ZodType<{
|
|
10583
11043
|
type: "mcp";
|
|
@@ -10593,17 +11053,17 @@ declare const ToolApiSelectSchema: z.ZodObject<{
|
|
|
10593
11053
|
mcp: ToolMcpConfig;
|
|
10594
11054
|
}>>;
|
|
10595
11055
|
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
11056
|
+
createdAt: z.ZodString;
|
|
11057
|
+
updatedAt: z.ZodString;
|
|
11058
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
10596
11059
|
credentialScope: z.ZodString;
|
|
10597
11060
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
10598
11061
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
10599
11062
|
lastError: z.ZodNullable<z.ZodString>;
|
|
10600
11063
|
}, z.core.$strip>;
|
|
10601
11064
|
declare const ToolApiInsertSchema: z.ZodObject<{
|
|
10602
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10603
11065
|
id: z.ZodString;
|
|
10604
11066
|
name: z.ZodString;
|
|
10605
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
10606
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10607
11067
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10608
11068
|
config: z.ZodObject<{
|
|
10609
11069
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -10625,17 +11085,17 @@ declare const ToolApiInsertSchema: z.ZodObject<{
|
|
|
10625
11085
|
}, z.core.$strip>;
|
|
10626
11086
|
}, z.core.$strip>;
|
|
10627
11087
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11088
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
11089
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11090
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10628
11091
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
10629
11092
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10630
11093
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10631
11094
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10632
11095
|
}, z.core.$strip>;
|
|
10633
11096
|
declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
10634
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
10635
11097
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10636
11098
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10637
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10638
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10639
11099
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10640
11100
|
config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
10641
11101
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -10657,6 +11117,9 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
|
10657
11117
|
}, z.core.$strip>;
|
|
10658
11118
|
}, z.core.$strip>>>;
|
|
10659
11119
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
11120
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11121
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11122
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
10660
11123
|
credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10661
11124
|
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10662
11125
|
capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
|
|
@@ -11026,27 +11489,27 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
|
|
|
11026
11489
|
declare const FunctionToolApiSelectSchema: z.ZodObject<{
|
|
11027
11490
|
id: z.ZodString;
|
|
11028
11491
|
name: z.ZodString;
|
|
11029
|
-
createdAt: z.ZodString;
|
|
11030
|
-
updatedAt: z.ZodString;
|
|
11031
11492
|
description: z.ZodNullable<z.ZodString>;
|
|
11032
11493
|
agentId: z.ZodString;
|
|
11494
|
+
createdAt: z.ZodString;
|
|
11495
|
+
updatedAt: z.ZodString;
|
|
11033
11496
|
functionId: z.ZodString;
|
|
11034
11497
|
}, z.core.$strip>;
|
|
11035
11498
|
declare const FunctionToolApiInsertSchema: z.ZodObject<{
|
|
11036
11499
|
id: z.ZodString;
|
|
11037
11500
|
name: z.ZodString;
|
|
11501
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11038
11502
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11039
11503
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11040
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11041
11504
|
functionId: z.ZodString;
|
|
11042
11505
|
}, z.core.$strip>;
|
|
11043
11506
|
declare const FunctionToolApiUpdateSchema: z.ZodObject<{
|
|
11044
11507
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11045
11508
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11046
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11047
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11048
11509
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
11049
11510
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11511
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11512
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11050
11513
|
functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11051
11514
|
}, z.core.$strip>;
|
|
11052
11515
|
declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -11438,9 +11901,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
|
|
|
11438
11901
|
name: z.ZodString;
|
|
11439
11902
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11440
11903
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11441
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11442
11904
|
credentialStoreId: z.ZodString;
|
|
11443
11905
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11906
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11444
11907
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11445
11908
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11446
11909
|
type: z.ZodEnum<{
|
|
@@ -11464,9 +11927,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
|
|
|
11464
11927
|
in: {};
|
|
11465
11928
|
}>;
|
|
11466
11929
|
declare const ContextConfigInsertSchema: z.ZodObject<{
|
|
11467
|
-
id: z.ZodOptional<z.ZodString>;
|
|
11468
11930
|
tenantId: z.ZodString;
|
|
11469
11931
|
projectId: z.ZodString;
|
|
11932
|
+
id: z.ZodOptional<z.ZodString>;
|
|
11470
11933
|
agentId: z.ZodString;
|
|
11471
11934
|
headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11472
11935
|
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -11475,9 +11938,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
|
|
|
11475
11938
|
in: {};
|
|
11476
11939
|
}>;
|
|
11477
11940
|
declare const ContextConfigUpdateSchema: z.ZodObject<{
|
|
11478
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11479
11941
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11480
11942
|
projectId: z.ZodOptional<z.ZodString>;
|
|
11943
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11481
11944
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11482
11945
|
headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
|
|
11483
11946
|
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
|
|
@@ -11960,21 +12423,21 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
|
|
|
11960
12423
|
in: {};
|
|
11961
12424
|
}>;
|
|
11962
12425
|
declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
|
|
11963
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11964
12426
|
id: z.ZodString;
|
|
11965
12427
|
createdAt: z.ZodString;
|
|
11966
12428
|
updatedAt: z.ZodString;
|
|
11967
12429
|
toolId: z.ZodString;
|
|
12430
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11968
12431
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11969
12432
|
subAgentId: z.ZodString;
|
|
11970
12433
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11971
12434
|
}, z.core.$strip>;
|
|
11972
12435
|
declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
|
|
11973
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11974
12436
|
id: z.ZodString;
|
|
11975
12437
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11976
12438
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11977
12439
|
toolId: z.ZodString;
|
|
12440
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11978
12441
|
toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11979
12442
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11980
12443
|
}, z.core.$strip>>>>;
|
|
@@ -11982,11 +12445,11 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
|
|
|
11982
12445
|
selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11983
12446
|
}, z.core.$strip>;
|
|
11984
12447
|
declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
|
|
11985
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11986
12448
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11987
12449
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11988
12450
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11989
12451
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12452
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11990
12453
|
toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11991
12454
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11992
12455
|
}, z.core.$strip>>>>>>;
|
|
@@ -12359,24 +12822,24 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
|
|
|
12359
12822
|
in: {};
|
|
12360
12823
|
}>;
|
|
12361
12824
|
declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
|
|
12362
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12363
12825
|
id: z.ZodString;
|
|
12364
12826
|
createdAt: z.ZodString;
|
|
12365
12827
|
updatedAt: z.ZodString;
|
|
12828
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12366
12829
|
externalAgentId: z.ZodString;
|
|
12367
12830
|
subAgentId: z.ZodString;
|
|
12368
12831
|
}, z.core.$strip>;
|
|
12369
12832
|
declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
|
|
12370
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12371
12833
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12372
12834
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12835
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12373
12836
|
externalAgentId: z.ZodString;
|
|
12374
12837
|
}, z.core.$strip>;
|
|
12375
12838
|
declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
12376
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12377
12839
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12378
12840
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12379
12841
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12842
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12380
12843
|
externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12381
12844
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12382
12845
|
}, z.core.$strip>;
|
|
@@ -12746,24 +13209,24 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
|
|
|
12746
13209
|
in: {};
|
|
12747
13210
|
}>;
|
|
12748
13211
|
declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
|
|
12749
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12750
13212
|
id: z.ZodString;
|
|
12751
13213
|
createdAt: z.ZodString;
|
|
12752
13214
|
updatedAt: z.ZodString;
|
|
13215
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12753
13216
|
subAgentId: z.ZodString;
|
|
12754
13217
|
targetAgentId: z.ZodString;
|
|
12755
13218
|
}, z.core.$strip>;
|
|
12756
13219
|
declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
|
|
12757
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12758
13220
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12759
13221
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13222
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12760
13223
|
targetAgentId: z.ZodString;
|
|
12761
13224
|
}, z.core.$strip>;
|
|
12762
13225
|
declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
12763
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12764
13226
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12765
13227
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12766
13228
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
13229
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12767
13230
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12768
13231
|
targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12769
13232
|
}, z.core.$strip>;
|
|
@@ -14108,7 +14571,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
|
|
|
14108
14571
|
}, {}, {
|
|
14109
14572
|
length: 256;
|
|
14110
14573
|
}>;
|
|
14111
|
-
}, "
|
|
14574
|
+
}, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
|
|
14112
14575
|
declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
14113
14576
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14114
14577
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -14133,13 +14596,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
14133
14596
|
in: {};
|
|
14134
14597
|
}>;
|
|
14135
14598
|
declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
14136
|
-
type: z.ZodString;
|
|
14137
|
-
metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
14138
14599
|
id: z.ZodString;
|
|
14600
|
+
type: z.ZodString;
|
|
14139
14601
|
name: z.ZodNullable<z.ZodString>;
|
|
14602
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14140
14603
|
createdAt: z.ZodString;
|
|
14141
14604
|
updatedAt: z.ZodString;
|
|
14142
|
-
|
|
14605
|
+
metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
14143
14606
|
contextId: z.ZodString;
|
|
14144
14607
|
visibility: z.ZodNullable<z.ZodString>;
|
|
14145
14608
|
taskId: z.ZodString;
|
|
@@ -14151,13 +14614,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
|
14151
14614
|
derivedFrom: z.ZodNullable<z.ZodString>;
|
|
14152
14615
|
}, z.core.$strip>;
|
|
14153
14616
|
declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
14154
|
-
type: z.ZodOptional<z.ZodString>;
|
|
14155
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
14156
14617
|
id: z.ZodString;
|
|
14618
|
+
type: z.ZodOptional<z.ZodString>;
|
|
14157
14619
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14620
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14158
14621
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14159
14622
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14160
|
-
|
|
14623
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
14161
14624
|
contextId: z.ZodString;
|
|
14162
14625
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14163
14626
|
taskId: z.ZodString;
|
|
@@ -14169,13 +14632,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
|
14169
14632
|
derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14170
14633
|
}, z.core.$strip>;
|
|
14171
14634
|
declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
14172
|
-
type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14173
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
|
|
14174
14635
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14636
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14175
14637
|
name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14638
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14176
14639
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14177
14640
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14178
|
-
|
|
14641
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
|
|
14179
14642
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14180
14643
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14181
14644
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -14237,9 +14700,9 @@ declare const TeamAgentSchema: z.ZodObject<{
|
|
|
14237
14700
|
declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
14238
14701
|
id: z.ZodString;
|
|
14239
14702
|
name: z.ZodString;
|
|
14703
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14240
14704
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14241
14705
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14242
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14243
14706
|
models: z.ZodOptional<z.ZodObject<{
|
|
14244
14707
|
base: z.ZodOptional<z.ZodObject<{
|
|
14245
14708
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -14290,18 +14753,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
|
14290
14753
|
}, z.core.$strip>;
|
|
14291
14754
|
declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
14292
14755
|
name: z.ZodString;
|
|
14756
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14293
14757
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14294
14758
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14295
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14296
14759
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14297
14760
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14298
14761
|
id: z.ZodString;
|
|
14299
14762
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14300
14763
|
id: z.ZodString;
|
|
14301
14764
|
name: z.ZodString;
|
|
14765
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14302
14766
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14303
14767
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14304
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14305
14768
|
models: z.ZodOptional<z.ZodObject<{
|
|
14306
14769
|
base: z.ZodOptional<z.ZodObject<{
|
|
14307
14770
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -14351,11 +14814,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14351
14814
|
}, z.core.$strip>]>>>;
|
|
14352
14815
|
}, z.core.$strip>>;
|
|
14353
14816
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14354
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14355
14817
|
id: z.ZodString;
|
|
14356
14818
|
name: z.ZodString;
|
|
14357
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14358
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14359
14819
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14360
14820
|
config: z.ZodObject<{
|
|
14361
14821
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -14377,6 +14837,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14377
14837
|
}, z.core.$strip>;
|
|
14378
14838
|
}, z.core.$strip>;
|
|
14379
14839
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14840
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14841
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14842
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14380
14843
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14381
14844
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14382
14845
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -14385,10 +14848,10 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14385
14848
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14386
14849
|
id: z.ZodString;
|
|
14387
14850
|
name: z.ZodString;
|
|
14388
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14389
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14390
14851
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14391
14852
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14853
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14854
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14392
14855
|
baseUrl: z.ZodString;
|
|
14393
14856
|
}, z.core.$strip>>>;
|
|
14394
14857
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14399,9 +14862,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14399
14862
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14400
14863
|
id: z.ZodString;
|
|
14401
14864
|
name: z.ZodString;
|
|
14865
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14402
14866
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14403
14867
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14404
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14405
14868
|
functionId: z.ZodString;
|
|
14406
14869
|
}, z.core.$strip>>>;
|
|
14407
14870
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14511,9 +14974,9 @@ declare const ProjectSelectSchema: z.ZodObject<{
|
|
|
14511
14974
|
in: {};
|
|
14512
14975
|
}>;
|
|
14513
14976
|
declare const ProjectInsertSchema: z.ZodObject<{
|
|
14977
|
+
tenantId: z.ZodString;
|
|
14514
14978
|
id: z.ZodString;
|
|
14515
14979
|
name: z.ZodString;
|
|
14516
|
-
tenantId: z.ZodString;
|
|
14517
14980
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14518
14981
|
models: z.ZodObject<{
|
|
14519
14982
|
base: z.ZodObject<{
|
|
@@ -14565,9 +15028,9 @@ declare const ProjectUpdateSchema: z.ZodObject<{
|
|
|
14565
15028
|
declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
14566
15029
|
id: z.ZodString;
|
|
14567
15030
|
name: z.ZodString;
|
|
15031
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14568
15032
|
createdAt: z.ZodString;
|
|
14569
15033
|
updatedAt: z.ZodString;
|
|
14570
|
-
description: z.ZodNullable<z.ZodString>;
|
|
14571
15034
|
models: z.ZodNullable<z.ZodObject<{
|
|
14572
15035
|
base: z.ZodObject<{
|
|
14573
15036
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -14665,18 +15128,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14665
15128
|
}, z.core.$strip>>;
|
|
14666
15129
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14667
15130
|
name: z.ZodString;
|
|
15131
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14668
15132
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14669
15133
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14670
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14671
15134
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14672
15135
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14673
15136
|
id: z.ZodString;
|
|
14674
15137
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14675
15138
|
id: z.ZodString;
|
|
14676
15139
|
name: z.ZodString;
|
|
15140
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14677
15141
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14678
15142
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14679
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14680
15143
|
models: z.ZodOptional<z.ZodObject<{
|
|
14681
15144
|
base: z.ZodOptional<z.ZodObject<{
|
|
14682
15145
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -14726,11 +15189,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14726
15189
|
}, z.core.$strip>]>>>;
|
|
14727
15190
|
}, z.core.$strip>>;
|
|
14728
15191
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14729
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14730
15192
|
id: z.ZodString;
|
|
14731
15193
|
name: z.ZodString;
|
|
14732
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14733
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14734
15194
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14735
15195
|
config: z.ZodObject<{
|
|
14736
15196
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -14752,6 +15212,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14752
15212
|
}, z.core.$strip>;
|
|
14753
15213
|
}, z.core.$strip>;
|
|
14754
15214
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15215
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
15216
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15217
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14755
15218
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14756
15219
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14757
15220
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -14760,10 +15223,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14760
15223
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14761
15224
|
id: z.ZodString;
|
|
14762
15225
|
name: z.ZodString;
|
|
14763
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14764
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14765
15226
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14766
15227
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15228
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
15229
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14767
15230
|
baseUrl: z.ZodString;
|
|
14768
15231
|
}, z.core.$strip>>>;
|
|
14769
15232
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14774,9 +15237,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14774
15237
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14775
15238
|
id: z.ZodString;
|
|
14776
15239
|
name: z.ZodString;
|
|
15240
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14777
15241
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14778
15242
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14779
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14780
15243
|
functionId: z.ZodString;
|
|
14781
15244
|
}, z.core.$strip>>>;
|
|
14782
15245
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14827,11 +15290,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14827
15290
|
prompt: z.ZodOptional<z.ZodString>;
|
|
14828
15291
|
}, z.core.$strip>>;
|
|
14829
15292
|
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14830
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14831
15293
|
id: z.ZodString;
|
|
14832
15294
|
name: z.ZodString;
|
|
14833
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14834
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14835
15295
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14836
15296
|
config: z.ZodObject<{
|
|
14837
15297
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -14853,6 +15313,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14853
15313
|
}, z.core.$strip>;
|
|
14854
15314
|
}, z.core.$strip>;
|
|
14855
15315
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15316
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
15317
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15318
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14856
15319
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14857
15320
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14858
15321
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -14861,9 +15324,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14861
15324
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14862
15325
|
id: z.ZodString;
|
|
14863
15326
|
name: z.ZodString;
|
|
15327
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14864
15328
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14865
15329
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14866
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14867
15330
|
functionId: z.ZodString;
|
|
14868
15331
|
}, z.core.$strip>>>;
|
|
14869
15332
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14877,9 +15340,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14877
15340
|
dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14878
15341
|
id: z.ZodString;
|
|
14879
15342
|
name: z.ZodString;
|
|
15343
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14880
15344
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14881
15345
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14882
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14883
15346
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
14884
15347
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
14885
15348
|
component: string;
|
|
@@ -14907,10 +15370,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14907
15370
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14908
15371
|
id: z.ZodString;
|
|
14909
15372
|
name: z.ZodString;
|
|
14910
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14911
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14912
15373
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14913
15374
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15375
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
15376
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14914
15377
|
baseUrl: z.ZodString;
|
|
14915
15378
|
}, z.core.$strip>>>;
|
|
14916
15379
|
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
@@ -14933,9 +15396,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14933
15396
|
name: z.ZodString;
|
|
14934
15397
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14935
15398
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14936
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14937
15399
|
credentialStoreId: z.ZodString;
|
|
14938
15400
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15401
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14939
15402
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14940
15403
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14941
15404
|
type: z.ZodEnum<{
|
|
@@ -14954,9 +15417,9 @@ declare const ProjectResponse: z.ZodObject<{
|
|
|
14954
15417
|
data: z.ZodObject<{
|
|
14955
15418
|
id: z.ZodString;
|
|
14956
15419
|
name: z.ZodString;
|
|
15420
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14957
15421
|
createdAt: z.ZodString;
|
|
14958
15422
|
updatedAt: z.ZodString;
|
|
14959
|
-
description: z.ZodNullable<z.ZodString>;
|
|
14960
15423
|
models: z.ZodNullable<z.ZodObject<{
|
|
14961
15424
|
base: z.ZodObject<{
|
|
14962
15425
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -14984,10 +15447,10 @@ declare const SubAgentResponse: z.ZodObject<{
|
|
|
14984
15447
|
data: z.ZodObject<{
|
|
14985
15448
|
id: z.ZodString;
|
|
14986
15449
|
name: z.ZodString;
|
|
14987
|
-
createdAt: z.ZodString;
|
|
14988
|
-
updatedAt: z.ZodString;
|
|
14989
15450
|
description: z.ZodNullable<z.ZodString>;
|
|
14990
15451
|
prompt: z.ZodNullable<z.ZodString>;
|
|
15452
|
+
createdAt: z.ZodString;
|
|
15453
|
+
updatedAt: z.ZodString;
|
|
14991
15454
|
models: z.ZodNullable<z.ZodType<{
|
|
14992
15455
|
base?: {
|
|
14993
15456
|
model?: string | undefined;
|
|
@@ -15057,10 +15520,10 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15057
15520
|
data: z.ZodObject<{
|
|
15058
15521
|
id: z.ZodString;
|
|
15059
15522
|
name: z.ZodString;
|
|
15060
|
-
createdAt: z.ZodString;
|
|
15061
|
-
updatedAt: z.ZodString;
|
|
15062
15523
|
description: z.ZodNullable<z.ZodString>;
|
|
15063
15524
|
prompt: z.ZodNullable<z.ZodString>;
|
|
15525
|
+
createdAt: z.ZodString;
|
|
15526
|
+
updatedAt: z.ZodString;
|
|
15064
15527
|
models: z.ZodNullable<z.ZodType<{
|
|
15065
15528
|
base?: {
|
|
15066
15529
|
model?: string | undefined;
|
|
@@ -15186,11 +15649,8 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15186
15649
|
}, z.core.$strip>;
|
|
15187
15650
|
declare const ToolResponse: z.ZodObject<{
|
|
15188
15651
|
data: z.ZodObject<{
|
|
15189
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
15190
15652
|
id: z.ZodString;
|
|
15191
15653
|
name: z.ZodString;
|
|
15192
|
-
createdAt: z.ZodString;
|
|
15193
|
-
updatedAt: z.ZodString;
|
|
15194
15654
|
description: z.ZodNullable<z.ZodString>;
|
|
15195
15655
|
config: z.ZodType<{
|
|
15196
15656
|
type: "mcp";
|
|
@@ -15206,6 +15666,9 @@ declare const ToolResponse: z.ZodObject<{
|
|
|
15206
15666
|
mcp: ToolMcpConfig;
|
|
15207
15667
|
}>>;
|
|
15208
15668
|
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
15669
|
+
createdAt: z.ZodString;
|
|
15670
|
+
updatedAt: z.ZodString;
|
|
15671
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
15209
15672
|
credentialScope: z.ZodString;
|
|
15210
15673
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15211
15674
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
@@ -15216,10 +15679,10 @@ declare const ExternalAgentResponse: z.ZodObject<{
|
|
|
15216
15679
|
data: z.ZodObject<{
|
|
15217
15680
|
id: z.ZodString;
|
|
15218
15681
|
name: z.ZodString;
|
|
15219
|
-
createdAt: z.ZodString;
|
|
15220
|
-
updatedAt: z.ZodString;
|
|
15221
15682
|
description: z.ZodNullable<z.ZodString>;
|
|
15222
15683
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15684
|
+
createdAt: z.ZodString;
|
|
15685
|
+
updatedAt: z.ZodString;
|
|
15223
15686
|
baseUrl: z.ZodString;
|
|
15224
15687
|
}, z.core.$strip>;
|
|
15225
15688
|
}, z.core.$strip>;
|
|
@@ -15236,13 +15699,13 @@ declare const ApiKeyResponse: z.ZodObject<{
|
|
|
15236
15699
|
data: z.ZodObject<{
|
|
15237
15700
|
id: z.ZodString;
|
|
15238
15701
|
name: z.ZodNullable<z.ZodString>;
|
|
15239
|
-
createdAt: z.ZodString;
|
|
15240
|
-
updatedAt: z.ZodString;
|
|
15241
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
15242
15702
|
agentId: z.ZodString;
|
|
15243
15703
|
publicId: z.ZodString;
|
|
15244
15704
|
keyPrefix: z.ZodString;
|
|
15245
15705
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
15706
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
15707
|
+
createdAt: z.ZodString;
|
|
15708
|
+
updatedAt: z.ZodString;
|
|
15246
15709
|
}, {
|
|
15247
15710
|
out: {};
|
|
15248
15711
|
in: {};
|
|
@@ -15254,9 +15717,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
|
|
|
15254
15717
|
name: z.ZodString;
|
|
15255
15718
|
createdAt: z.ZodString;
|
|
15256
15719
|
updatedAt: z.ZodString;
|
|
15257
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
15258
15720
|
credentialStoreId: z.ZodString;
|
|
15259
15721
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15722
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
15260
15723
|
toolId: z.ZodNullable<z.ZodString>;
|
|
15261
15724
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
15262
15725
|
type: z.ZodEnum<{
|
|
@@ -15821,10 +16284,10 @@ declare const FunctionToolResponse: z.ZodObject<{
|
|
|
15821
16284
|
data: z.ZodObject<{
|
|
15822
16285
|
id: z.ZodString;
|
|
15823
16286
|
name: z.ZodString;
|
|
15824
|
-
createdAt: z.ZodString;
|
|
15825
|
-
updatedAt: z.ZodString;
|
|
15826
16287
|
description: z.ZodNullable<z.ZodString>;
|
|
15827
16288
|
agentId: z.ZodString;
|
|
16289
|
+
createdAt: z.ZodString;
|
|
16290
|
+
updatedAt: z.ZodString;
|
|
15828
16291
|
functionId: z.ZodString;
|
|
15829
16292
|
}, z.core.$strip>;
|
|
15830
16293
|
}, z.core.$strip>;
|
|
@@ -15832,9 +16295,9 @@ declare const DataComponentResponse: z.ZodObject<{
|
|
|
15832
16295
|
data: z.ZodObject<{
|
|
15833
16296
|
id: z.ZodString;
|
|
15834
16297
|
name: z.ZodString;
|
|
16298
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15835
16299
|
createdAt: z.ZodString;
|
|
15836
16300
|
updatedAt: z.ZodString;
|
|
15837
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15838
16301
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15839
16302
|
render: z.ZodNullable<z.ZodType<{
|
|
15840
16303
|
component: string;
|
|
@@ -15855,9 +16318,9 @@ declare const ArtifactComponentResponse: z.ZodObject<{
|
|
|
15855
16318
|
data: z.ZodObject<{
|
|
15856
16319
|
id: z.ZodString;
|
|
15857
16320
|
name: z.ZodString;
|
|
16321
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15858
16322
|
createdAt: z.ZodString;
|
|
15859
16323
|
updatedAt: z.ZodString;
|
|
15860
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15861
16324
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15862
16325
|
}, z.core.$strip>;
|
|
15863
16326
|
}, z.core.$strip>;
|
|
@@ -15873,11 +16336,11 @@ declare const SubAgentRelationResponse: z.ZodObject<{
|
|
|
15873
16336
|
}, z.core.$strip>;
|
|
15874
16337
|
declare const SubAgentToolRelationResponse: z.ZodObject<{
|
|
15875
16338
|
data: z.ZodObject<{
|
|
15876
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15877
16339
|
id: z.ZodString;
|
|
15878
16340
|
createdAt: z.ZodString;
|
|
15879
16341
|
updatedAt: z.ZodString;
|
|
15880
16342
|
toolId: z.ZodString;
|
|
16343
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15881
16344
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15882
16345
|
subAgentId: z.ZodString;
|
|
15883
16346
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
@@ -15885,24 +16348,24 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
|
|
|
15885
16348
|
}, z.core.$strip>;
|
|
15886
16349
|
declare const ConversationResponse: z.ZodObject<{
|
|
15887
16350
|
data: z.ZodObject<{
|
|
15888
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15889
16351
|
id: z.ZodString;
|
|
16352
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15890
16353
|
createdAt: z.ZodString;
|
|
15891
16354
|
updatedAt: z.ZodString;
|
|
15892
16355
|
userId: z.ZodNullable<z.ZodString>;
|
|
15893
|
-
|
|
16356
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15894
16357
|
activeSubAgentId: z.ZodString;
|
|
15895
16358
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
15896
16359
|
}, z.core.$strip>;
|
|
15897
16360
|
}, z.core.$strip>;
|
|
15898
16361
|
declare const MessageResponse: z.ZodObject<{
|
|
15899
16362
|
data: z.ZodObject<{
|
|
15900
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
15901
16363
|
id: z.ZodString;
|
|
15902
16364
|
createdAt: z.ZodString;
|
|
15903
16365
|
updatedAt: z.ZodString;
|
|
15904
|
-
|
|
16366
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
15905
16367
|
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
16368
|
+
role: z.ZodString;
|
|
15906
16369
|
conversationId: z.ZodString;
|
|
15907
16370
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15908
16371
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
@@ -15922,9 +16385,9 @@ declare const ProjectListResponse: z.ZodObject<{
|
|
|
15922
16385
|
data: z.ZodArray<z.ZodObject<{
|
|
15923
16386
|
id: z.ZodString;
|
|
15924
16387
|
name: z.ZodString;
|
|
16388
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15925
16389
|
createdAt: z.ZodString;
|
|
15926
16390
|
updatedAt: z.ZodString;
|
|
15927
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15928
16391
|
models: z.ZodNullable<z.ZodObject<{
|
|
15929
16392
|
base: z.ZodObject<{
|
|
15930
16393
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -15958,10 +16421,10 @@ declare const SubAgentListResponse: z.ZodObject<{
|
|
|
15958
16421
|
data: z.ZodArray<z.ZodObject<{
|
|
15959
16422
|
id: z.ZodString;
|
|
15960
16423
|
name: z.ZodString;
|
|
15961
|
-
createdAt: z.ZodString;
|
|
15962
|
-
updatedAt: z.ZodString;
|
|
15963
16424
|
description: z.ZodNullable<z.ZodString>;
|
|
15964
16425
|
prompt: z.ZodNullable<z.ZodString>;
|
|
16426
|
+
createdAt: z.ZodString;
|
|
16427
|
+
updatedAt: z.ZodString;
|
|
15965
16428
|
models: z.ZodNullable<z.ZodType<{
|
|
15966
16429
|
base?: {
|
|
15967
16430
|
model?: string | undefined;
|
|
@@ -16037,10 +16500,10 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16037
16500
|
data: z.ZodArray<z.ZodObject<{
|
|
16038
16501
|
id: z.ZodString;
|
|
16039
16502
|
name: z.ZodString;
|
|
16040
|
-
createdAt: z.ZodString;
|
|
16041
|
-
updatedAt: z.ZodString;
|
|
16042
16503
|
description: z.ZodNullable<z.ZodString>;
|
|
16043
16504
|
prompt: z.ZodNullable<z.ZodString>;
|
|
16505
|
+
createdAt: z.ZodString;
|
|
16506
|
+
updatedAt: z.ZodString;
|
|
16044
16507
|
models: z.ZodNullable<z.ZodType<{
|
|
16045
16508
|
base?: {
|
|
16046
16509
|
model?: string | undefined;
|
|
@@ -16172,11 +16635,8 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16172
16635
|
}, z.core.$strip>;
|
|
16173
16636
|
declare const ToolListResponse: z.ZodObject<{
|
|
16174
16637
|
data: z.ZodArray<z.ZodObject<{
|
|
16175
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
16176
16638
|
id: z.ZodString;
|
|
16177
16639
|
name: z.ZodString;
|
|
16178
|
-
createdAt: z.ZodString;
|
|
16179
|
-
updatedAt: z.ZodString;
|
|
16180
16640
|
description: z.ZodNullable<z.ZodString>;
|
|
16181
16641
|
config: z.ZodType<{
|
|
16182
16642
|
type: "mcp";
|
|
@@ -16192,6 +16652,9 @@ declare const ToolListResponse: z.ZodObject<{
|
|
|
16192
16652
|
mcp: ToolMcpConfig;
|
|
16193
16653
|
}>>;
|
|
16194
16654
|
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
16655
|
+
createdAt: z.ZodString;
|
|
16656
|
+
updatedAt: z.ZodString;
|
|
16657
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
16195
16658
|
credentialScope: z.ZodString;
|
|
16196
16659
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
16197
16660
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
@@ -16208,10 +16671,10 @@ declare const ExternalAgentListResponse: z.ZodObject<{
|
|
|
16208
16671
|
data: z.ZodArray<z.ZodObject<{
|
|
16209
16672
|
id: z.ZodString;
|
|
16210
16673
|
name: z.ZodString;
|
|
16211
|
-
createdAt: z.ZodString;
|
|
16212
|
-
updatedAt: z.ZodString;
|
|
16213
16674
|
description: z.ZodNullable<z.ZodString>;
|
|
16214
16675
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16676
|
+
createdAt: z.ZodString;
|
|
16677
|
+
updatedAt: z.ZodString;
|
|
16215
16678
|
baseUrl: z.ZodString;
|
|
16216
16679
|
}, z.core.$strip>>;
|
|
16217
16680
|
pagination: z.ZodObject<{
|
|
@@ -16240,13 +16703,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
|
|
|
16240
16703
|
data: z.ZodArray<z.ZodObject<{
|
|
16241
16704
|
id: z.ZodString;
|
|
16242
16705
|
name: z.ZodNullable<z.ZodString>;
|
|
16243
|
-
createdAt: z.ZodString;
|
|
16244
|
-
updatedAt: z.ZodString;
|
|
16245
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
16246
16706
|
agentId: z.ZodString;
|
|
16247
16707
|
publicId: z.ZodString;
|
|
16248
16708
|
keyPrefix: z.ZodString;
|
|
16249
16709
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
16710
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
16711
|
+
createdAt: z.ZodString;
|
|
16712
|
+
updatedAt: z.ZodString;
|
|
16250
16713
|
}, {
|
|
16251
16714
|
out: {};
|
|
16252
16715
|
in: {};
|
|
@@ -16264,9 +16727,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
|
|
|
16264
16727
|
name: z.ZodString;
|
|
16265
16728
|
createdAt: z.ZodString;
|
|
16266
16729
|
updatedAt: z.ZodString;
|
|
16267
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
16268
16730
|
credentialStoreId: z.ZodString;
|
|
16269
16731
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16732
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
16270
16733
|
toolId: z.ZodNullable<z.ZodString>;
|
|
16271
16734
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
16272
16735
|
type: z.ZodEnum<{
|
|
@@ -16843,10 +17306,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
|
|
|
16843
17306
|
data: z.ZodArray<z.ZodObject<{
|
|
16844
17307
|
id: z.ZodString;
|
|
16845
17308
|
name: z.ZodString;
|
|
16846
|
-
createdAt: z.ZodString;
|
|
16847
|
-
updatedAt: z.ZodString;
|
|
16848
17309
|
description: z.ZodNullable<z.ZodString>;
|
|
16849
17310
|
agentId: z.ZodString;
|
|
17311
|
+
createdAt: z.ZodString;
|
|
17312
|
+
updatedAt: z.ZodString;
|
|
16850
17313
|
functionId: z.ZodString;
|
|
16851
17314
|
}, z.core.$strip>>;
|
|
16852
17315
|
pagination: z.ZodObject<{
|
|
@@ -16860,9 +17323,9 @@ declare const DataComponentListResponse: z.ZodObject<{
|
|
|
16860
17323
|
data: z.ZodArray<z.ZodObject<{
|
|
16861
17324
|
id: z.ZodString;
|
|
16862
17325
|
name: z.ZodString;
|
|
17326
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16863
17327
|
createdAt: z.ZodString;
|
|
16864
17328
|
updatedAt: z.ZodString;
|
|
16865
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16866
17329
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16867
17330
|
render: z.ZodNullable<z.ZodType<{
|
|
16868
17331
|
component: string;
|
|
@@ -16889,9 +17352,9 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
|
|
|
16889
17352
|
data: z.ZodArray<z.ZodObject<{
|
|
16890
17353
|
id: z.ZodString;
|
|
16891
17354
|
name: z.ZodString;
|
|
17355
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16892
17356
|
createdAt: z.ZodString;
|
|
16893
17357
|
updatedAt: z.ZodString;
|
|
16894
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16895
17358
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16896
17359
|
}, z.core.$strip>>;
|
|
16897
17360
|
pagination: z.ZodObject<{
|
|
@@ -16919,11 +17382,11 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
|
|
|
16919
17382
|
}, z.core.$strip>;
|
|
16920
17383
|
declare const SubAgentToolRelationListResponse: z.ZodObject<{
|
|
16921
17384
|
data: z.ZodArray<z.ZodObject<{
|
|
16922
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16923
17385
|
id: z.ZodString;
|
|
16924
17386
|
createdAt: z.ZodString;
|
|
16925
17387
|
updatedAt: z.ZodString;
|
|
16926
17388
|
toolId: z.ZodString;
|
|
17389
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16927
17390
|
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16928
17391
|
subAgentId: z.ZodString;
|
|
16929
17392
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
@@ -16937,12 +17400,12 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
|
|
|
16937
17400
|
}, z.core.$strip>;
|
|
16938
17401
|
declare const ConversationListResponse: z.ZodObject<{
|
|
16939
17402
|
data: z.ZodArray<z.ZodObject<{
|
|
16940
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
16941
17403
|
id: z.ZodString;
|
|
17404
|
+
title: z.ZodNullable<z.ZodString>;
|
|
16942
17405
|
createdAt: z.ZodString;
|
|
16943
17406
|
updatedAt: z.ZodString;
|
|
16944
17407
|
userId: z.ZodNullable<z.ZodString>;
|
|
16945
|
-
|
|
17408
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
16946
17409
|
activeSubAgentId: z.ZodString;
|
|
16947
17410
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
16948
17411
|
}, z.core.$strip>>;
|
|
@@ -16955,12 +17418,12 @@ declare const ConversationListResponse: z.ZodObject<{
|
|
|
16955
17418
|
}, z.core.$strip>;
|
|
16956
17419
|
declare const MessageListResponse: z.ZodObject<{
|
|
16957
17420
|
data: z.ZodArray<z.ZodObject<{
|
|
16958
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
16959
17421
|
id: z.ZodString;
|
|
16960
17422
|
createdAt: z.ZodString;
|
|
16961
17423
|
updatedAt: z.ZodString;
|
|
16962
|
-
|
|
17424
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
16963
17425
|
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
17426
|
+
role: z.ZodString;
|
|
16964
17427
|
conversationId: z.ZodString;
|
|
16965
17428
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16966
17429
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
@@ -17051,18 +17514,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17051
17514
|
}, z.core.$strip>>;
|
|
17052
17515
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17053
17516
|
name: z.ZodString;
|
|
17517
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17054
17518
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17055
17519
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17056
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17057
17520
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17058
17521
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17059
17522
|
id: z.ZodString;
|
|
17060
17523
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17061
17524
|
id: z.ZodString;
|
|
17062
17525
|
name: z.ZodString;
|
|
17526
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17063
17527
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17064
17528
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17065
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17066
17529
|
models: z.ZodOptional<z.ZodObject<{
|
|
17067
17530
|
base: z.ZodOptional<z.ZodObject<{
|
|
17068
17531
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -17112,11 +17575,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17112
17575
|
}, z.core.$strip>]>>>;
|
|
17113
17576
|
}, z.core.$strip>>;
|
|
17114
17577
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17115
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17116
17578
|
id: z.ZodString;
|
|
17117
17579
|
name: z.ZodString;
|
|
17118
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17119
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17120
17580
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17121
17581
|
config: z.ZodObject<{
|
|
17122
17582
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -17138,6 +17598,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17138
17598
|
}, z.core.$strip>;
|
|
17139
17599
|
}, z.core.$strip>;
|
|
17140
17600
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17601
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17602
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17603
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17141
17604
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17142
17605
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17143
17606
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -17146,10 +17609,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17146
17609
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17147
17610
|
id: z.ZodString;
|
|
17148
17611
|
name: z.ZodString;
|
|
17149
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17150
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17151
17612
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17152
17613
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17614
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17615
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17153
17616
|
baseUrl: z.ZodString;
|
|
17154
17617
|
}, z.core.$strip>>>;
|
|
17155
17618
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17160,9 +17623,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17160
17623
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17161
17624
|
id: z.ZodString;
|
|
17162
17625
|
name: z.ZodString;
|
|
17626
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17163
17627
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17164
17628
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17165
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17166
17629
|
functionId: z.ZodString;
|
|
17167
17630
|
}, z.core.$strip>>>;
|
|
17168
17631
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17213,11 +17676,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17213
17676
|
prompt: z.ZodOptional<z.ZodString>;
|
|
17214
17677
|
}, z.core.$strip>>;
|
|
17215
17678
|
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17216
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17217
17679
|
id: z.ZodString;
|
|
17218
17680
|
name: z.ZodString;
|
|
17219
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17220
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17221
17681
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17222
17682
|
config: z.ZodObject<{
|
|
17223
17683
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -17239,6 +17699,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17239
17699
|
}, z.core.$strip>;
|
|
17240
17700
|
}, z.core.$strip>;
|
|
17241
17701
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17702
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17703
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17704
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17242
17705
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17243
17706
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17244
17707
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -17247,9 +17710,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17247
17710
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17248
17711
|
id: z.ZodString;
|
|
17249
17712
|
name: z.ZodString;
|
|
17713
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17250
17714
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17251
17715
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17252
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17253
17716
|
functionId: z.ZodString;
|
|
17254
17717
|
}, z.core.$strip>>>;
|
|
17255
17718
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17263,9 +17726,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17263
17726
|
dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17264
17727
|
id: z.ZodString;
|
|
17265
17728
|
name: z.ZodString;
|
|
17729
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17266
17730
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17267
17731
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17268
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17269
17732
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
17270
17733
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
17271
17734
|
component: string;
|
|
@@ -17293,10 +17756,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17293
17756
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17294
17757
|
id: z.ZodString;
|
|
17295
17758
|
name: z.ZodString;
|
|
17296
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17297
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17298
17759
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17299
17760
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17761
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17762
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17300
17763
|
baseUrl: z.ZodString;
|
|
17301
17764
|
}, z.core.$strip>>>;
|
|
17302
17765
|
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
@@ -17319,9 +17782,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17319
17782
|
name: z.ZodString;
|
|
17320
17783
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17321
17784
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17322
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17323
17785
|
credentialStoreId: z.ZodString;
|
|
17324
17786
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17787
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17325
17788
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17326
17789
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17327
17790
|
type: z.ZodEnum<{
|
|
@@ -17340,18 +17803,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17340
17803
|
declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
17341
17804
|
data: z.ZodObject<{
|
|
17342
17805
|
name: z.ZodString;
|
|
17806
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17343
17807
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17344
17808
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17345
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17346
17809
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17347
17810
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17348
17811
|
id: z.ZodString;
|
|
17349
17812
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17350
17813
|
id: z.ZodString;
|
|
17351
17814
|
name: z.ZodString;
|
|
17815
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17352
17816
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17353
17817
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17354
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17355
17818
|
models: z.ZodOptional<z.ZodObject<{
|
|
17356
17819
|
base: z.ZodOptional<z.ZodObject<{
|
|
17357
17820
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -17401,11 +17864,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17401
17864
|
}, z.core.$strip>]>>>;
|
|
17402
17865
|
}, z.core.$strip>>;
|
|
17403
17866
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17404
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17405
17867
|
id: z.ZodString;
|
|
17406
17868
|
name: z.ZodString;
|
|
17407
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17408
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17409
17869
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17410
17870
|
config: z.ZodObject<{
|
|
17411
17871
|
type: z.ZodLiteral<"mcp">;
|
|
@@ -17427,6 +17887,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17427
17887
|
}, z.core.$strip>;
|
|
17428
17888
|
}, z.core.$strip>;
|
|
17429
17889
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17890
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17891
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17892
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17430
17893
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17431
17894
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17432
17895
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
@@ -17435,10 +17898,10 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17435
17898
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17436
17899
|
id: z.ZodString;
|
|
17437
17900
|
name: z.ZodString;
|
|
17438
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17439
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17440
17901
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17441
17902
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17903
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17904
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17442
17905
|
baseUrl: z.ZodString;
|
|
17443
17906
|
}, z.core.$strip>>>;
|
|
17444
17907
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17449,9 +17912,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17449
17912
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17450
17913
|
id: z.ZodString;
|
|
17451
17914
|
name: z.ZodString;
|
|
17915
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17452
17916
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17453
17917
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17454
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17455
17918
|
functionId: z.ZodString;
|
|
17456
17919
|
}, z.core.$strip>>>;
|
|
17457
17920
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17637,20 +18100,20 @@ declare const McpToolListResponse: z.ZodObject<{
|
|
|
17637
18100
|
}, z.core.$strip>;
|
|
17638
18101
|
declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
|
|
17639
18102
|
data: z.ZodObject<{
|
|
17640
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17641
18103
|
id: z.ZodString;
|
|
17642
18104
|
createdAt: z.ZodString;
|
|
17643
18105
|
updatedAt: z.ZodString;
|
|
18106
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17644
18107
|
subAgentId: z.ZodString;
|
|
17645
18108
|
targetAgentId: z.ZodString;
|
|
17646
18109
|
}, z.core.$strip>;
|
|
17647
18110
|
}, z.core.$strip>;
|
|
17648
18111
|
declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
|
|
17649
18112
|
data: z.ZodArray<z.ZodObject<{
|
|
17650
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17651
18113
|
id: z.ZodString;
|
|
17652
18114
|
createdAt: z.ZodString;
|
|
17653
18115
|
updatedAt: z.ZodString;
|
|
18116
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17654
18117
|
subAgentId: z.ZodString;
|
|
17655
18118
|
targetAgentId: z.ZodString;
|
|
17656
18119
|
}, z.core.$strip>>;
|
|
@@ -17663,20 +18126,20 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
|
|
|
17663
18126
|
}, z.core.$strip>;
|
|
17664
18127
|
declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
|
|
17665
18128
|
data: z.ZodObject<{
|
|
17666
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17667
18129
|
id: z.ZodString;
|
|
17668
18130
|
createdAt: z.ZodString;
|
|
17669
18131
|
updatedAt: z.ZodString;
|
|
18132
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17670
18133
|
externalAgentId: z.ZodString;
|
|
17671
18134
|
subAgentId: z.ZodString;
|
|
17672
18135
|
}, z.core.$strip>;
|
|
17673
18136
|
}, z.core.$strip>;
|
|
17674
18137
|
declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
|
|
17675
18138
|
data: z.ZodArray<z.ZodObject<{
|
|
17676
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17677
18139
|
id: z.ZodString;
|
|
17678
18140
|
createdAt: z.ZodString;
|
|
17679
18141
|
updatedAt: z.ZodString;
|
|
18142
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17680
18143
|
externalAgentId: z.ZodString;
|
|
17681
18144
|
subAgentId: z.ZodString;
|
|
17682
18145
|
}, z.core.$strip>>;
|
|
@@ -17691,9 +18154,9 @@ declare const DataComponentArrayResponse: z.ZodObject<{
|
|
|
17691
18154
|
data: z.ZodArray<z.ZodObject<{
|
|
17692
18155
|
id: z.ZodString;
|
|
17693
18156
|
name: z.ZodString;
|
|
18157
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17694
18158
|
createdAt: z.ZodString;
|
|
17695
18159
|
updatedAt: z.ZodString;
|
|
17696
|
-
description: z.ZodNullable<z.ZodString>;
|
|
17697
18160
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
17698
18161
|
render: z.ZodNullable<z.ZodType<{
|
|
17699
18162
|
component: string;
|
|
@@ -17714,9 +18177,9 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
|
|
|
17714
18177
|
data: z.ZodArray<z.ZodObject<{
|
|
17715
18178
|
id: z.ZodString;
|
|
17716
18179
|
name: z.ZodString;
|
|
18180
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17717
18181
|
createdAt: z.ZodString;
|
|
17718
18182
|
updatedAt: z.ZodString;
|
|
17719
|
-
description: z.ZodNullable<z.ZodString>;
|
|
17720
18183
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
17721
18184
|
}, z.core.$strip>>;
|
|
17722
18185
|
}, z.core.$strip>;
|
|
@@ -18991,14 +19454,14 @@ declare const deleteFullAgent: (db: DatabaseClient, logger?: AgentLogger) => (pa
|
|
|
18991
19454
|
declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
18992
19455
|
scopes: AgentScopeConfig;
|
|
18993
19456
|
}) => Promise<{
|
|
18994
|
-
id: string;
|
|
18995
|
-
name: string;
|
|
18996
|
-
createdAt: string;
|
|
18997
|
-
updatedAt: string;
|
|
18998
19457
|
tenantId: string;
|
|
18999
19458
|
projectId: string;
|
|
19459
|
+
id: string;
|
|
19460
|
+
name: string;
|
|
19000
19461
|
description: string | null;
|
|
19001
19462
|
prompt: string | null;
|
|
19463
|
+
createdAt: string;
|
|
19464
|
+
updatedAt: string;
|
|
19002
19465
|
models: {
|
|
19003
19466
|
base?: {
|
|
19004
19467
|
model?: string | undefined;
|
|
@@ -19037,14 +19500,14 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
19037
19500
|
declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
19038
19501
|
scopes: AgentScopeConfig;
|
|
19039
19502
|
}) => Promise<{
|
|
19040
|
-
id: string;
|
|
19041
|
-
name: string;
|
|
19042
|
-
createdAt: string;
|
|
19043
|
-
updatedAt: string;
|
|
19044
19503
|
tenantId: string;
|
|
19045
19504
|
projectId: string;
|
|
19505
|
+
id: string;
|
|
19506
|
+
name: string;
|
|
19046
19507
|
description: string | null;
|
|
19047
19508
|
prompt: string | null;
|
|
19509
|
+
createdAt: string;
|
|
19510
|
+
updatedAt: string;
|
|
19048
19511
|
models: {
|
|
19049
19512
|
base?: {
|
|
19050
19513
|
model?: string | undefined;
|
|
@@ -19080,15 +19543,15 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19080
19543
|
}[] | undefined;
|
|
19081
19544
|
} | null;
|
|
19082
19545
|
defaultSubAgent: {
|
|
19083
|
-
id: string;
|
|
19084
|
-
name: string;
|
|
19085
|
-
createdAt: string;
|
|
19086
|
-
updatedAt: string;
|
|
19087
19546
|
tenantId: string;
|
|
19088
19547
|
projectId: string;
|
|
19548
|
+
id: string;
|
|
19549
|
+
name: string;
|
|
19089
19550
|
description: string | null;
|
|
19090
19551
|
prompt: string | null;
|
|
19091
19552
|
agentId: string;
|
|
19553
|
+
createdAt: string;
|
|
19554
|
+
updatedAt: string;
|
|
19092
19555
|
models: {
|
|
19093
19556
|
base?: {
|
|
19094
19557
|
model?: string | undefined;
|
|
@@ -19112,14 +19575,14 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19112
19575
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
19113
19576
|
scopes: ProjectScopeConfig;
|
|
19114
19577
|
}) => Promise<{
|
|
19115
|
-
id: string;
|
|
19116
|
-
name: string;
|
|
19117
|
-
createdAt: string;
|
|
19118
|
-
updatedAt: string;
|
|
19119
19578
|
tenantId: string;
|
|
19120
19579
|
projectId: string;
|
|
19580
|
+
id: string;
|
|
19581
|
+
name: string;
|
|
19121
19582
|
description: string | null;
|
|
19122
19583
|
prompt: string | null;
|
|
19584
|
+
createdAt: string;
|
|
19585
|
+
updatedAt: string;
|
|
19123
19586
|
models: {
|
|
19124
19587
|
base?: {
|
|
19125
19588
|
model?: string | undefined;
|
|
@@ -19211,14 +19674,14 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
19211
19674
|
};
|
|
19212
19675
|
}>;
|
|
19213
19676
|
declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
|
|
19214
|
-
id: string;
|
|
19215
|
-
name: string;
|
|
19216
|
-
createdAt: string;
|
|
19217
|
-
updatedAt: string;
|
|
19218
19677
|
tenantId: string;
|
|
19219
19678
|
projectId: string;
|
|
19679
|
+
id: string;
|
|
19680
|
+
name: string;
|
|
19220
19681
|
description: string | null;
|
|
19221
19682
|
prompt: string | null;
|
|
19683
|
+
createdAt: string;
|
|
19684
|
+
updatedAt: string;
|
|
19222
19685
|
models: {
|
|
19223
19686
|
base?: {
|
|
19224
19687
|
model?: string | undefined;
|
|
@@ -19352,49 +19815,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
19352
19815
|
scopes: ProjectScopeConfig;
|
|
19353
19816
|
id: string;
|
|
19354
19817
|
}) => Promise<{
|
|
19355
|
-
id: string;
|
|
19356
|
-
name: string | null;
|
|
19357
|
-
createdAt: string;
|
|
19358
|
-
updatedAt: string;
|
|
19359
|
-
expiresAt: string | null;
|
|
19360
19818
|
tenantId: string;
|
|
19361
19819
|
projectId: string;
|
|
19820
|
+
id: string;
|
|
19821
|
+
name: string | null;
|
|
19362
19822
|
agentId: string;
|
|
19363
19823
|
publicId: string;
|
|
19364
19824
|
keyHash: string;
|
|
19365
19825
|
keyPrefix: string;
|
|
19366
19826
|
lastUsedAt: string | null;
|
|
19367
|
-
|
|
19368
|
-
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
19369
|
-
id: string;
|
|
19370
|
-
name: string | null;
|
|
19827
|
+
expiresAt: string | null;
|
|
19371
19828
|
createdAt: string;
|
|
19372
19829
|
updatedAt: string;
|
|
19373
|
-
|
|
19830
|
+
} | undefined>;
|
|
19831
|
+
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
19374
19832
|
tenantId: string;
|
|
19375
19833
|
projectId: string;
|
|
19834
|
+
id: string;
|
|
19835
|
+
name: string | null;
|
|
19376
19836
|
agentId: string;
|
|
19377
19837
|
publicId: string;
|
|
19378
19838
|
keyHash: string;
|
|
19379
19839
|
keyPrefix: string;
|
|
19380
19840
|
lastUsedAt: string | null;
|
|
19841
|
+
expiresAt: string | null;
|
|
19842
|
+
createdAt: string;
|
|
19843
|
+
updatedAt: string;
|
|
19381
19844
|
} | undefined>;
|
|
19382
19845
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
19383
19846
|
scopes: ProjectScopeConfig;
|
|
19384
19847
|
agentId?: string;
|
|
19385
19848
|
}) => Promise<{
|
|
19386
|
-
id: string;
|
|
19387
|
-
name: string | null;
|
|
19388
|
-
createdAt: string;
|
|
19389
|
-
updatedAt: string;
|
|
19390
|
-
expiresAt: string | null;
|
|
19391
19849
|
tenantId: string;
|
|
19392
19850
|
projectId: string;
|
|
19851
|
+
id: string;
|
|
19852
|
+
name: string | null;
|
|
19393
19853
|
agentId: string;
|
|
19394
19854
|
publicId: string;
|
|
19395
19855
|
keyHash: string;
|
|
19396
19856
|
keyPrefix: string;
|
|
19397
19857
|
lastUsedAt: string | null;
|
|
19858
|
+
expiresAt: string | null;
|
|
19859
|
+
createdAt: string;
|
|
19860
|
+
updatedAt: string;
|
|
19398
19861
|
}[]>;
|
|
19399
19862
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
19400
19863
|
scopes: ProjectScopeConfig;
|
|
@@ -19410,18 +19873,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
19410
19873
|
};
|
|
19411
19874
|
}>;
|
|
19412
19875
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
19413
|
-
id: string;
|
|
19414
|
-
name: string | null;
|
|
19415
|
-
createdAt: string;
|
|
19416
|
-
updatedAt: string;
|
|
19417
|
-
expiresAt: string | null;
|
|
19418
19876
|
tenantId: string;
|
|
19419
19877
|
projectId: string;
|
|
19878
|
+
id: string;
|
|
19879
|
+
name: string | null;
|
|
19420
19880
|
agentId: string;
|
|
19421
19881
|
publicId: string;
|
|
19422
19882
|
keyHash: string;
|
|
19423
19883
|
keyPrefix: string;
|
|
19424
19884
|
lastUsedAt: string | null;
|
|
19885
|
+
expiresAt: string | null;
|
|
19886
|
+
createdAt: string;
|
|
19887
|
+
updatedAt: string;
|
|
19425
19888
|
}>;
|
|
19426
19889
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
19427
19890
|
scopes: ProjectScopeConfig;
|
|
@@ -19469,13 +19932,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
19469
19932
|
scopes: ProjectScopeConfig;
|
|
19470
19933
|
id: string;
|
|
19471
19934
|
}) => Promise<{
|
|
19935
|
+
tenantId: string;
|
|
19936
|
+
projectId: string;
|
|
19472
19937
|
id: string;
|
|
19473
19938
|
name: string;
|
|
19939
|
+
description: string | null;
|
|
19474
19940
|
createdAt: string;
|
|
19475
19941
|
updatedAt: string;
|
|
19476
|
-
tenantId: string;
|
|
19477
|
-
projectId: string;
|
|
19478
|
-
description: string | null;
|
|
19479
19942
|
props: Record<string, unknown> | null;
|
|
19480
19943
|
} | undefined>;
|
|
19481
19944
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -19503,13 +19966,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
19503
19966
|
};
|
|
19504
19967
|
}>;
|
|
19505
19968
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
19969
|
+
tenantId: string;
|
|
19970
|
+
projectId: string;
|
|
19506
19971
|
id: string;
|
|
19507
19972
|
name: string;
|
|
19973
|
+
description: string | null;
|
|
19508
19974
|
createdAt: string;
|
|
19509
19975
|
updatedAt: string;
|
|
19510
|
-
tenantId: string;
|
|
19511
|
-
projectId: string;
|
|
19512
|
-
description: string | null;
|
|
19513
19976
|
props: Record<string, unknown> | null;
|
|
19514
19977
|
}>;
|
|
19515
19978
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -19546,11 +20009,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
19546
20009
|
scopes: SubAgentScopeConfig;
|
|
19547
20010
|
artifactComponentId: string;
|
|
19548
20011
|
}) => Promise<{
|
|
19549
|
-
id: string;
|
|
19550
|
-
createdAt: string;
|
|
19551
20012
|
tenantId: string;
|
|
19552
20013
|
projectId: string;
|
|
20014
|
+
id: string;
|
|
19553
20015
|
agentId: string;
|
|
20016
|
+
createdAt: string;
|
|
19554
20017
|
subAgentId: string;
|
|
19555
20018
|
artifactComponentId: string;
|
|
19556
20019
|
}>;
|
|
@@ -19589,11 +20052,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
19589
20052
|
scopes: SubAgentScopeConfig;
|
|
19590
20053
|
artifactComponentId: string;
|
|
19591
20054
|
}) => Promise<{
|
|
19592
|
-
id: string;
|
|
19593
|
-
createdAt: string;
|
|
19594
20055
|
tenantId: string;
|
|
19595
20056
|
projectId: string;
|
|
20057
|
+
id: string;
|
|
19596
20058
|
agentId: string;
|
|
20059
|
+
createdAt: string;
|
|
19597
20060
|
subAgentId: string;
|
|
19598
20061
|
artifactComponentId: string;
|
|
19599
20062
|
} | null>;
|
|
@@ -19675,24 +20138,24 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
19675
20138
|
scopes: AgentScopeConfig;
|
|
19676
20139
|
id: string;
|
|
19677
20140
|
}) => Promise<{
|
|
19678
|
-
id: string;
|
|
19679
|
-
createdAt: string;
|
|
19680
|
-
updatedAt: string;
|
|
19681
20141
|
tenantId: string;
|
|
19682
20142
|
projectId: string;
|
|
20143
|
+
id: string;
|
|
19683
20144
|
agentId: string;
|
|
20145
|
+
createdAt: string;
|
|
20146
|
+
updatedAt: string;
|
|
19684
20147
|
headersSchema: unknown;
|
|
19685
20148
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19686
20149
|
} | undefined>;
|
|
19687
20150
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
19688
20151
|
scopes: AgentScopeConfig;
|
|
19689
20152
|
}) => Promise<{
|
|
19690
|
-
id: string;
|
|
19691
|
-
createdAt: string;
|
|
19692
|
-
updatedAt: string;
|
|
19693
20153
|
tenantId: string;
|
|
19694
20154
|
projectId: string;
|
|
20155
|
+
id: string;
|
|
19695
20156
|
agentId: string;
|
|
20157
|
+
createdAt: string;
|
|
20158
|
+
updatedAt: string;
|
|
19696
20159
|
headersSchema: unknown;
|
|
19697
20160
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19698
20161
|
}[]>;
|
|
@@ -19709,12 +20172,12 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
19709
20172
|
};
|
|
19710
20173
|
}>;
|
|
19711
20174
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
19712
|
-
id: string;
|
|
19713
|
-
createdAt: string;
|
|
19714
|
-
updatedAt: string;
|
|
19715
20175
|
tenantId: string;
|
|
19716
20176
|
projectId: string;
|
|
20177
|
+
id: string;
|
|
19717
20178
|
agentId: string;
|
|
20179
|
+
createdAt: string;
|
|
20180
|
+
updatedAt: string;
|
|
19718
20181
|
headersSchema: unknown;
|
|
19719
20182
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19720
20183
|
}>;
|
|
@@ -19749,12 +20212,12 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
19749
20212
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
19750
20213
|
data: ContextConfigInsert;
|
|
19751
20214
|
}) => Promise<{
|
|
19752
|
-
id: string;
|
|
19753
|
-
createdAt: string;
|
|
19754
|
-
updatedAt: string;
|
|
19755
20215
|
tenantId: string;
|
|
19756
20216
|
projectId: string;
|
|
20217
|
+
id: string;
|
|
19757
20218
|
agentId: string;
|
|
20219
|
+
createdAt: string;
|
|
20220
|
+
updatedAt: string;
|
|
19758
20221
|
headersSchema: unknown;
|
|
19759
20222
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19760
20223
|
}>;
|
|
@@ -19769,14 +20232,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
19769
20232
|
total: number;
|
|
19770
20233
|
}>;
|
|
19771
20234
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19772
|
-
|
|
20235
|
+
tenantId: string;
|
|
20236
|
+
projectId: string;
|
|
19773
20237
|
id: string;
|
|
20238
|
+
title: string | null;
|
|
19774
20239
|
createdAt: string;
|
|
19775
20240
|
updatedAt: string;
|
|
19776
20241
|
userId: string | null;
|
|
19777
|
-
|
|
19778
|
-
projectId: string;
|
|
19779
|
-
title: string | null;
|
|
20242
|
+
metadata: ConversationMetadata | null;
|
|
19780
20243
|
activeSubAgentId: string;
|
|
19781
20244
|
lastContextResolution: string | null;
|
|
19782
20245
|
}>;
|
|
@@ -19820,14 +20283,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
19820
20283
|
scopes: ProjectScopeConfig;
|
|
19821
20284
|
conversationId: string;
|
|
19822
20285
|
}) => Promise<{
|
|
19823
|
-
|
|
20286
|
+
tenantId: string;
|
|
20287
|
+
projectId: string;
|
|
19824
20288
|
id: string;
|
|
20289
|
+
title: string | null;
|
|
19825
20290
|
createdAt: string;
|
|
19826
20291
|
updatedAt: string;
|
|
19827
20292
|
userId: string | null;
|
|
19828
|
-
|
|
19829
|
-
projectId: string;
|
|
19830
|
-
title: string | null;
|
|
20293
|
+
metadata: ConversationMetadata | null;
|
|
19831
20294
|
activeSubAgentId: string;
|
|
19832
20295
|
lastContextResolution: string | null;
|
|
19833
20296
|
} | undefined>;
|
|
@@ -19844,14 +20307,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
19844
20307
|
metadata?: ConversationMetadata | null | undefined;
|
|
19845
20308
|
contextConfigId?: string | undefined;
|
|
19846
20309
|
} | {
|
|
19847
|
-
|
|
20310
|
+
tenantId: string;
|
|
20311
|
+
projectId: string;
|
|
19848
20312
|
id: string;
|
|
20313
|
+
title: string | null;
|
|
19849
20314
|
createdAt: string;
|
|
19850
20315
|
updatedAt: string;
|
|
19851
20316
|
userId: string | null;
|
|
19852
|
-
|
|
19853
|
-
projectId: string;
|
|
19854
|
-
title: string | null;
|
|
20317
|
+
metadata: ConversationMetadata | null;
|
|
19855
20318
|
activeSubAgentId: string;
|
|
19856
20319
|
lastContextResolution: string | null;
|
|
19857
20320
|
}>;
|
|
@@ -19870,14 +20333,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
19870
20333
|
scopes: ProjectScopeConfig;
|
|
19871
20334
|
conversationId: string;
|
|
19872
20335
|
}) => Promise<{
|
|
19873
|
-
|
|
20336
|
+
tenantId: string;
|
|
20337
|
+
projectId: string;
|
|
19874
20338
|
id: string;
|
|
20339
|
+
title: string | null;
|
|
19875
20340
|
createdAt: string;
|
|
19876
20341
|
updatedAt: string;
|
|
19877
20342
|
userId: string | null;
|
|
19878
|
-
|
|
19879
|
-
projectId: string;
|
|
19880
|
-
title: string | null;
|
|
20343
|
+
metadata: ConversationMetadata | null;
|
|
19881
20344
|
activeSubAgentId: string;
|
|
19882
20345
|
lastContextResolution: string | null;
|
|
19883
20346
|
} | undefined>;
|
|
@@ -20054,11 +20517,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
20054
20517
|
scopes: SubAgentScopeConfig;
|
|
20055
20518
|
dataComponentId: string;
|
|
20056
20519
|
}) => Promise<{
|
|
20057
|
-
id: string;
|
|
20058
|
-
createdAt: string;
|
|
20059
20520
|
tenantId: string;
|
|
20060
20521
|
projectId: string;
|
|
20522
|
+
id: string;
|
|
20061
20523
|
agentId: string;
|
|
20524
|
+
createdAt: string;
|
|
20062
20525
|
subAgentId: string;
|
|
20063
20526
|
dataComponentId: string;
|
|
20064
20527
|
}>;
|
|
@@ -20096,11 +20559,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
20096
20559
|
scopes: SubAgentScopeConfig;
|
|
20097
20560
|
dataComponentId: string;
|
|
20098
20561
|
}) => Promise<{
|
|
20099
|
-
id: string;
|
|
20100
|
-
createdAt: string;
|
|
20101
20562
|
tenantId: string;
|
|
20102
20563
|
projectId: string;
|
|
20564
|
+
id: string;
|
|
20103
20565
|
agentId: string;
|
|
20566
|
+
createdAt: string;
|
|
20104
20567
|
subAgentId: string;
|
|
20105
20568
|
dataComponentId: string;
|
|
20106
20569
|
} | null>;
|
|
@@ -20302,14 +20765,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
20302
20765
|
data: FunctionToolApiInsert;
|
|
20303
20766
|
scopes: AgentScopeConfig;
|
|
20304
20767
|
}) => Promise<{
|
|
20305
|
-
id: string;
|
|
20306
|
-
name: string;
|
|
20307
|
-
createdAt: string;
|
|
20308
|
-
updatedAt: string;
|
|
20309
20768
|
tenantId: string;
|
|
20310
20769
|
projectId: string;
|
|
20770
|
+
id: string;
|
|
20771
|
+
name: string;
|
|
20311
20772
|
description: string | null;
|
|
20312
20773
|
agentId: string;
|
|
20774
|
+
createdAt: string;
|
|
20775
|
+
updatedAt: string;
|
|
20313
20776
|
functionId: string;
|
|
20314
20777
|
}>;
|
|
20315
20778
|
/**
|
|
@@ -20344,14 +20807,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
20344
20807
|
data: FunctionToolApiInsert;
|
|
20345
20808
|
scopes: AgentScopeConfig;
|
|
20346
20809
|
}) => Promise<{
|
|
20347
|
-
id: string;
|
|
20348
|
-
name: string;
|
|
20349
|
-
createdAt: string;
|
|
20350
|
-
updatedAt: string;
|
|
20351
20810
|
tenantId: string;
|
|
20352
20811
|
projectId: string;
|
|
20812
|
+
id: string;
|
|
20813
|
+
name: string;
|
|
20353
20814
|
description: string | null;
|
|
20354
20815
|
agentId: string;
|
|
20816
|
+
createdAt: string;
|
|
20817
|
+
updatedAt: string;
|
|
20355
20818
|
functionId: string;
|
|
20356
20819
|
}>;
|
|
20357
20820
|
declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -20483,14 +20946,14 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
20483
20946
|
scopes: ProjectScopeConfig;
|
|
20484
20947
|
messageId: string;
|
|
20485
20948
|
}) => Promise<{
|
|
20486
|
-
|
|
20949
|
+
tenantId: string;
|
|
20950
|
+
projectId: string;
|
|
20487
20951
|
id: string;
|
|
20488
20952
|
createdAt: string;
|
|
20489
20953
|
updatedAt: string;
|
|
20490
|
-
|
|
20491
|
-
tenantId: string;
|
|
20492
|
-
projectId: string;
|
|
20954
|
+
metadata: MessageMetadata | null;
|
|
20493
20955
|
content: MessageContent;
|
|
20956
|
+
role: string;
|
|
20494
20957
|
conversationId: string;
|
|
20495
20958
|
fromSubAgentId: string | null;
|
|
20496
20959
|
toSubAgentId: string | null;
|
|
@@ -20614,14 +21077,14 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
20614
21077
|
id: string;
|
|
20615
21078
|
}[]>;
|
|
20616
21079
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
20617
|
-
|
|
21080
|
+
tenantId: string;
|
|
21081
|
+
projectId: string;
|
|
20618
21082
|
id: string;
|
|
20619
21083
|
createdAt: string;
|
|
20620
21084
|
updatedAt: string;
|
|
20621
|
-
|
|
20622
|
-
tenantId: string;
|
|
20623
|
-
projectId: string;
|
|
21085
|
+
metadata: MessageMetadata | null;
|
|
20624
21086
|
content: MessageContent;
|
|
21087
|
+
role: string;
|
|
20625
21088
|
conversationId: string;
|
|
20626
21089
|
fromSubAgentId: string | null;
|
|
20627
21090
|
toSubAgentId: string | null;
|
|
@@ -20667,14 +21130,14 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
20667
21130
|
scopes: ProjectScopeConfig;
|
|
20668
21131
|
messageId: string;
|
|
20669
21132
|
}) => Promise<{
|
|
20670
|
-
|
|
21133
|
+
tenantId: string;
|
|
21134
|
+
projectId: string;
|
|
20671
21135
|
id: string;
|
|
20672
21136
|
createdAt: string;
|
|
20673
21137
|
updatedAt: string;
|
|
20674
|
-
|
|
20675
|
-
tenantId: string;
|
|
20676
|
-
projectId: string;
|
|
21138
|
+
metadata: MessageMetadata | null;
|
|
20677
21139
|
content: MessageContent;
|
|
21140
|
+
role: string;
|
|
20678
21141
|
conversationId: string;
|
|
20679
21142
|
fromSubAgentId: string | null;
|
|
20680
21143
|
toSubAgentId: string | null;
|
|
@@ -20827,13 +21290,13 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
20827
21290
|
scopes: SubAgentScopeConfig;
|
|
20828
21291
|
relationId: string;
|
|
20829
21292
|
}) => Promise<{
|
|
20830
|
-
headers: Record<string, string> | null;
|
|
20831
|
-
id: string;
|
|
20832
|
-
createdAt: string;
|
|
20833
|
-
updatedAt: string;
|
|
20834
21293
|
tenantId: string;
|
|
20835
21294
|
projectId: string;
|
|
21295
|
+
id: string;
|
|
20836
21296
|
agentId: string;
|
|
21297
|
+
createdAt: string;
|
|
21298
|
+
updatedAt: string;
|
|
21299
|
+
headers: Record<string, string> | null;
|
|
20837
21300
|
externalAgentId: string;
|
|
20838
21301
|
subAgentId: string;
|
|
20839
21302
|
} | undefined>;
|
|
@@ -20862,26 +21325,26 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
20862
21325
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
20863
21326
|
scopes: SubAgentScopeConfig;
|
|
20864
21327
|
}) => Promise<{
|
|
20865
|
-
headers: Record<string, string> | null;
|
|
20866
|
-
id: string;
|
|
20867
|
-
createdAt: string;
|
|
20868
|
-
updatedAt: string;
|
|
20869
21328
|
tenantId: string;
|
|
20870
21329
|
projectId: string;
|
|
21330
|
+
id: string;
|
|
20871
21331
|
agentId: string;
|
|
21332
|
+
createdAt: string;
|
|
21333
|
+
updatedAt: string;
|
|
21334
|
+
headers: Record<string, string> | null;
|
|
20872
21335
|
externalAgentId: string;
|
|
20873
21336
|
subAgentId: string;
|
|
20874
21337
|
}[]>;
|
|
20875
21338
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
20876
21339
|
scopes: AgentScopeConfig;
|
|
20877
21340
|
}) => Promise<{
|
|
20878
|
-
headers: Record<string, string> | null;
|
|
20879
|
-
id: string;
|
|
20880
|
-
createdAt: string;
|
|
20881
|
-
updatedAt: string;
|
|
20882
21341
|
tenantId: string;
|
|
20883
21342
|
projectId: string;
|
|
21343
|
+
id: string;
|
|
20884
21344
|
agentId: string;
|
|
21345
|
+
createdAt: string;
|
|
21346
|
+
updatedAt: string;
|
|
21347
|
+
headers: Record<string, string> | null;
|
|
20885
21348
|
externalAgentId: string;
|
|
20886
21349
|
subAgentId: string;
|
|
20887
21350
|
}[]>;
|
|
@@ -20998,13 +21461,13 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
20998
21461
|
headers?: Record<string, string> | null;
|
|
20999
21462
|
};
|
|
21000
21463
|
}) => Promise<{
|
|
21001
|
-
headers: Record<string, string> | null;
|
|
21002
|
-
id: string;
|
|
21003
|
-
createdAt: string;
|
|
21004
|
-
updatedAt: string;
|
|
21005
21464
|
tenantId: string;
|
|
21006
21465
|
projectId: string;
|
|
21466
|
+
id: string;
|
|
21007
21467
|
agentId: string;
|
|
21468
|
+
createdAt: string;
|
|
21469
|
+
updatedAt: string;
|
|
21470
|
+
headers: Record<string, string> | null;
|
|
21008
21471
|
externalAgentId: string;
|
|
21009
21472
|
subAgentId: string;
|
|
21010
21473
|
}>;
|
|
@@ -21015,13 +21478,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
21015
21478
|
scopes: SubAgentScopeConfig;
|
|
21016
21479
|
externalAgentId: string;
|
|
21017
21480
|
}) => Promise<{
|
|
21018
|
-
headers: Record<string, string> | null;
|
|
21019
|
-
id: string;
|
|
21020
|
-
createdAt: string;
|
|
21021
|
-
updatedAt: string;
|
|
21022
21481
|
tenantId: string;
|
|
21023
21482
|
projectId: string;
|
|
21483
|
+
id: string;
|
|
21024
21484
|
agentId: string;
|
|
21485
|
+
createdAt: string;
|
|
21486
|
+
updatedAt: string;
|
|
21487
|
+
headers: Record<string, string> | null;
|
|
21025
21488
|
externalAgentId: string;
|
|
21026
21489
|
subAgentId: string;
|
|
21027
21490
|
} | undefined>;
|
|
@@ -21036,13 +21499,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
21036
21499
|
headers?: Record<string, string> | null;
|
|
21037
21500
|
};
|
|
21038
21501
|
}) => Promise<{
|
|
21039
|
-
headers: Record<string, string> | null;
|
|
21040
|
-
id: string;
|
|
21041
|
-
createdAt: string;
|
|
21042
|
-
updatedAt: string;
|
|
21043
21502
|
tenantId: string;
|
|
21044
21503
|
projectId: string;
|
|
21504
|
+
id: string;
|
|
21045
21505
|
agentId: string;
|
|
21506
|
+
createdAt: string;
|
|
21507
|
+
updatedAt: string;
|
|
21508
|
+
headers: Record<string, string> | null;
|
|
21046
21509
|
externalAgentId: string;
|
|
21047
21510
|
subAgentId: string;
|
|
21048
21511
|
}>;
|
|
@@ -21077,12 +21540,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
21077
21540
|
scopes: AgentScopeConfig;
|
|
21078
21541
|
relationId: string;
|
|
21079
21542
|
}) => Promise<{
|
|
21080
|
-
id: string;
|
|
21081
|
-
createdAt: string;
|
|
21082
|
-
updatedAt: string;
|
|
21083
21543
|
tenantId: string;
|
|
21084
21544
|
projectId: string;
|
|
21545
|
+
id: string;
|
|
21085
21546
|
agentId: string;
|
|
21547
|
+
createdAt: string;
|
|
21548
|
+
updatedAt: string;
|
|
21086
21549
|
sourceSubAgentId: string;
|
|
21087
21550
|
targetSubAgentId: string | null;
|
|
21088
21551
|
relationType: string | null;
|
|
@@ -21112,12 +21575,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21112
21575
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
21113
21576
|
scopes: SubAgentScopeConfig;
|
|
21114
21577
|
}) => Promise<{
|
|
21115
|
-
id: string;
|
|
21116
|
-
createdAt: string;
|
|
21117
|
-
updatedAt: string;
|
|
21118
21578
|
tenantId: string;
|
|
21119
21579
|
projectId: string;
|
|
21580
|
+
id: string;
|
|
21120
21581
|
agentId: string;
|
|
21582
|
+
createdAt: string;
|
|
21583
|
+
updatedAt: string;
|
|
21121
21584
|
sourceSubAgentId: string;
|
|
21122
21585
|
targetSubAgentId: string | null;
|
|
21123
21586
|
relationType: string | null;
|
|
@@ -21125,12 +21588,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21125
21588
|
declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
21126
21589
|
scopes: AgentScopeConfig;
|
|
21127
21590
|
}) => Promise<{
|
|
21128
|
-
id: string;
|
|
21129
|
-
createdAt: string;
|
|
21130
|
-
updatedAt: string;
|
|
21131
21591
|
tenantId: string;
|
|
21132
21592
|
projectId: string;
|
|
21593
|
+
id: string;
|
|
21133
21594
|
agentId: string;
|
|
21595
|
+
createdAt: string;
|
|
21596
|
+
updatedAt: string;
|
|
21134
21597
|
sourceSubAgentId: string;
|
|
21135
21598
|
targetSubAgentId: string | null;
|
|
21136
21599
|
relationType: string | null;
|
|
@@ -21194,12 +21657,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
|
|
|
21194
21657
|
}[];
|
|
21195
21658
|
}>;
|
|
21196
21659
|
declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
21197
|
-
id: string;
|
|
21198
|
-
createdAt: string;
|
|
21199
|
-
updatedAt: string;
|
|
21200
21660
|
tenantId: string;
|
|
21201
21661
|
projectId: string;
|
|
21662
|
+
id: string;
|
|
21202
21663
|
agentId: string;
|
|
21664
|
+
createdAt: string;
|
|
21665
|
+
updatedAt: string;
|
|
21203
21666
|
sourceSubAgentId: string;
|
|
21204
21667
|
targetSubAgentId: string | null;
|
|
21205
21668
|
relationType: string | null;
|
|
@@ -21213,12 +21676,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
21213
21676
|
targetSubAgentId?: string;
|
|
21214
21677
|
relationType: string;
|
|
21215
21678
|
}) => Promise<{
|
|
21216
|
-
id: string;
|
|
21217
|
-
createdAt: string;
|
|
21218
|
-
updatedAt: string;
|
|
21219
21679
|
tenantId: string;
|
|
21220
21680
|
projectId: string;
|
|
21681
|
+
id: string;
|
|
21221
21682
|
agentId: string;
|
|
21683
|
+
createdAt: string;
|
|
21684
|
+
updatedAt: string;
|
|
21222
21685
|
sourceSubAgentId: string;
|
|
21223
21686
|
targetSubAgentId: string | null;
|
|
21224
21687
|
relationType: string | null;
|
|
@@ -21227,12 +21690,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
21227
21690
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
21228
21691
|
*/
|
|
21229
21692
|
declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
21230
|
-
id: string;
|
|
21231
|
-
createdAt: string;
|
|
21232
|
-
updatedAt: string;
|
|
21233
21693
|
tenantId: string;
|
|
21234
21694
|
projectId: string;
|
|
21695
|
+
id: string;
|
|
21235
21696
|
agentId: string;
|
|
21697
|
+
createdAt: string;
|
|
21698
|
+
updatedAt: string;
|
|
21236
21699
|
sourceSubAgentId: string;
|
|
21237
21700
|
targetSubAgentId: string | null;
|
|
21238
21701
|
relationType: string | null;
|
|
@@ -21272,14 +21735,14 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
21272
21735
|
}> | null;
|
|
21273
21736
|
};
|
|
21274
21737
|
}) => Promise<{
|
|
21275
|
-
headers: Record<string, string> | null;
|
|
21276
|
-
id: string;
|
|
21277
|
-
createdAt: string;
|
|
21278
|
-
updatedAt: string;
|
|
21279
21738
|
tenantId: string;
|
|
21280
21739
|
projectId: string;
|
|
21740
|
+
id: string;
|
|
21281
21741
|
agentId: string;
|
|
21742
|
+
createdAt: string;
|
|
21743
|
+
updatedAt: string;
|
|
21282
21744
|
toolId: string;
|
|
21745
|
+
headers: Record<string, string> | null;
|
|
21283
21746
|
toolPolicies: Record<string, {
|
|
21284
21747
|
needsApproval?: boolean;
|
|
21285
21748
|
}> | null;
|
|
@@ -21316,14 +21779,14 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
21316
21779
|
scopes: SubAgentScopeConfig;
|
|
21317
21780
|
relationId: string;
|
|
21318
21781
|
}) => Promise<{
|
|
21319
|
-
headers: Record<string, string> | null;
|
|
21320
|
-
id: string;
|
|
21321
|
-
createdAt: string;
|
|
21322
|
-
updatedAt: string;
|
|
21323
21782
|
tenantId: string;
|
|
21324
21783
|
projectId: string;
|
|
21784
|
+
id: string;
|
|
21325
21785
|
agentId: string;
|
|
21786
|
+
createdAt: string;
|
|
21787
|
+
updatedAt: string;
|
|
21326
21788
|
toolId: string;
|
|
21789
|
+
headers: Record<string, string> | null;
|
|
21327
21790
|
toolPolicies: Record<string, {
|
|
21328
21791
|
needsApproval?: boolean;
|
|
21329
21792
|
}> | null;
|
|
@@ -21512,15 +21975,15 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
21512
21975
|
scopes: AgentScopeConfig;
|
|
21513
21976
|
subAgentId: string;
|
|
21514
21977
|
}) => Promise<{
|
|
21515
|
-
id: string;
|
|
21516
|
-
name: string;
|
|
21517
|
-
createdAt: string;
|
|
21518
|
-
updatedAt: string;
|
|
21519
21978
|
tenantId: string;
|
|
21520
21979
|
projectId: string;
|
|
21980
|
+
id: string;
|
|
21981
|
+
name: string;
|
|
21521
21982
|
description: string | null;
|
|
21522
21983
|
prompt: string | null;
|
|
21523
21984
|
agentId: string;
|
|
21985
|
+
createdAt: string;
|
|
21986
|
+
updatedAt: string;
|
|
21524
21987
|
models: {
|
|
21525
21988
|
base?: {
|
|
21526
21989
|
model?: string | undefined;
|
|
@@ -21543,15 +22006,15 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
21543
22006
|
declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
21544
22007
|
scopes: AgentScopeConfig;
|
|
21545
22008
|
}) => Promise<{
|
|
21546
|
-
id: string;
|
|
21547
|
-
name: string;
|
|
21548
|
-
createdAt: string;
|
|
21549
|
-
updatedAt: string;
|
|
21550
22009
|
tenantId: string;
|
|
21551
22010
|
projectId: string;
|
|
22011
|
+
id: string;
|
|
22012
|
+
name: string;
|
|
21552
22013
|
description: string | null;
|
|
21553
22014
|
prompt: string | null;
|
|
21554
22015
|
agentId: string;
|
|
22016
|
+
createdAt: string;
|
|
22017
|
+
updatedAt: string;
|
|
21555
22018
|
models: {
|
|
21556
22019
|
base?: {
|
|
21557
22020
|
model?: string | undefined;
|
|
@@ -21612,15 +22075,15 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
21612
22075
|
};
|
|
21613
22076
|
}>;
|
|
21614
22077
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
21615
|
-
id: string;
|
|
21616
|
-
name: string;
|
|
21617
|
-
createdAt: string;
|
|
21618
|
-
updatedAt: string;
|
|
21619
22078
|
tenantId: string;
|
|
21620
22079
|
projectId: string;
|
|
22080
|
+
id: string;
|
|
22081
|
+
name: string;
|
|
21621
22082
|
description: string | null;
|
|
21622
22083
|
prompt: string | null;
|
|
21623
22084
|
agentId: string;
|
|
22085
|
+
createdAt: string;
|
|
22086
|
+
updatedAt: string;
|
|
21624
22087
|
models: {
|
|
21625
22088
|
base?: {
|
|
21626
22089
|
model?: string | undefined;
|
|
@@ -21726,13 +22189,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
21726
22189
|
scopes: SubAgentScopeConfig;
|
|
21727
22190
|
relationId: string;
|
|
21728
22191
|
}) => Promise<{
|
|
21729
|
-
headers: Record<string, string> | null;
|
|
21730
|
-
id: string;
|
|
21731
|
-
createdAt: string;
|
|
21732
|
-
updatedAt: string;
|
|
21733
22192
|
tenantId: string;
|
|
21734
22193
|
projectId: string;
|
|
22194
|
+
id: string;
|
|
21735
22195
|
agentId: string;
|
|
22196
|
+
createdAt: string;
|
|
22197
|
+
updatedAt: string;
|
|
22198
|
+
headers: Record<string, string> | null;
|
|
21736
22199
|
subAgentId: string;
|
|
21737
22200
|
targetAgentId: string;
|
|
21738
22201
|
} | undefined>;
|
|
@@ -21761,26 +22224,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21761
22224
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
21762
22225
|
scopes: SubAgentScopeConfig;
|
|
21763
22226
|
}) => Promise<{
|
|
21764
|
-
headers: Record<string, string> | null;
|
|
21765
|
-
id: string;
|
|
21766
|
-
createdAt: string;
|
|
21767
|
-
updatedAt: string;
|
|
21768
22227
|
tenantId: string;
|
|
21769
22228
|
projectId: string;
|
|
22229
|
+
id: string;
|
|
21770
22230
|
agentId: string;
|
|
22231
|
+
createdAt: string;
|
|
22232
|
+
updatedAt: string;
|
|
22233
|
+
headers: Record<string, string> | null;
|
|
21771
22234
|
subAgentId: string;
|
|
21772
22235
|
targetAgentId: string;
|
|
21773
22236
|
}[]>;
|
|
21774
22237
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
21775
22238
|
scopes: AgentScopeConfig;
|
|
21776
22239
|
}) => Promise<{
|
|
21777
|
-
headers: Record<string, string> | null;
|
|
21778
|
-
id: string;
|
|
21779
|
-
createdAt: string;
|
|
21780
|
-
updatedAt: string;
|
|
21781
22240
|
tenantId: string;
|
|
21782
22241
|
projectId: string;
|
|
22242
|
+
id: string;
|
|
21783
22243
|
agentId: string;
|
|
22244
|
+
createdAt: string;
|
|
22245
|
+
updatedAt: string;
|
|
22246
|
+
headers: Record<string, string> | null;
|
|
21784
22247
|
subAgentId: string;
|
|
21785
22248
|
targetAgentId: string;
|
|
21786
22249
|
}[]>;
|
|
@@ -21927,13 +22390,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21927
22390
|
headers?: Record<string, string> | null;
|
|
21928
22391
|
};
|
|
21929
22392
|
}) => Promise<{
|
|
21930
|
-
headers: Record<string, string> | null;
|
|
21931
|
-
id: string;
|
|
21932
|
-
createdAt: string;
|
|
21933
|
-
updatedAt: string;
|
|
21934
22393
|
tenantId: string;
|
|
21935
22394
|
projectId: string;
|
|
22395
|
+
id: string;
|
|
21936
22396
|
agentId: string;
|
|
22397
|
+
createdAt: string;
|
|
22398
|
+
updatedAt: string;
|
|
22399
|
+
headers: Record<string, string> | null;
|
|
21937
22400
|
subAgentId: string;
|
|
21938
22401
|
targetAgentId: string;
|
|
21939
22402
|
}>;
|
|
@@ -21944,13 +22407,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
21944
22407
|
scopes: SubAgentScopeConfig;
|
|
21945
22408
|
targetAgentId: string;
|
|
21946
22409
|
}) => Promise<{
|
|
21947
|
-
headers: Record<string, string> | null;
|
|
21948
|
-
id: string;
|
|
21949
|
-
createdAt: string;
|
|
21950
|
-
updatedAt: string;
|
|
21951
22410
|
tenantId: string;
|
|
21952
22411
|
projectId: string;
|
|
22412
|
+
id: string;
|
|
21953
22413
|
agentId: string;
|
|
22414
|
+
createdAt: string;
|
|
22415
|
+
updatedAt: string;
|
|
22416
|
+
headers: Record<string, string> | null;
|
|
21954
22417
|
subAgentId: string;
|
|
21955
22418
|
targetAgentId: string;
|
|
21956
22419
|
} | undefined>;
|
|
@@ -21965,13 +22428,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21965
22428
|
headers?: Record<string, string> | null;
|
|
21966
22429
|
};
|
|
21967
22430
|
}) => Promise<{
|
|
21968
|
-
headers: Record<string, string> | null;
|
|
21969
|
-
id: string;
|
|
21970
|
-
createdAt: string;
|
|
21971
|
-
updatedAt: string;
|
|
21972
22431
|
tenantId: string;
|
|
21973
22432
|
projectId: string;
|
|
22433
|
+
id: string;
|
|
21974
22434
|
agentId: string;
|
|
22435
|
+
createdAt: string;
|
|
22436
|
+
updatedAt: string;
|
|
22437
|
+
headers: Record<string, string> | null;
|
|
21975
22438
|
subAgentId: string;
|
|
21976
22439
|
targetAgentId: string;
|
|
21977
22440
|
}>;
|
|
@@ -22003,14 +22466,14 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
|
|
|
22003
22466
|
//#endregion
|
|
22004
22467
|
//#region src/data-access/tasks.d.ts
|
|
22005
22468
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
22006
|
-
|
|
22469
|
+
tenantId: string;
|
|
22470
|
+
projectId: string;
|
|
22007
22471
|
id: string;
|
|
22472
|
+
agentId: string;
|
|
22008
22473
|
createdAt: string;
|
|
22009
22474
|
updatedAt: string;
|
|
22475
|
+
metadata: TaskMetadataConfig | null;
|
|
22010
22476
|
status: string;
|
|
22011
|
-
tenantId: string;
|
|
22012
|
-
projectId: string;
|
|
22013
|
-
agentId: string;
|
|
22014
22477
|
contextId: string;
|
|
22015
22478
|
subAgentId: string;
|
|
22016
22479
|
}>;
|
|
@@ -22045,19 +22508,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
22045
22508
|
scopes: ProjectScopeConfig;
|
|
22046
22509
|
toolId: string;
|
|
22047
22510
|
}) => Promise<{
|
|
22048
|
-
headers: Record<string, string> | null;
|
|
22049
|
-
id: string;
|
|
22050
|
-
name: string;
|
|
22051
|
-
createdAt: string;
|
|
22052
|
-
updatedAt: string;
|
|
22053
22511
|
tenantId: string;
|
|
22054
22512
|
projectId: string;
|
|
22513
|
+
id: string;
|
|
22514
|
+
name: string;
|
|
22055
22515
|
description: string | null;
|
|
22056
22516
|
config: {
|
|
22057
22517
|
type: "mcp";
|
|
22058
22518
|
mcp: ToolMcpConfig;
|
|
22059
22519
|
};
|
|
22060
22520
|
credentialReferenceId: string | null;
|
|
22521
|
+
createdAt: string;
|
|
22522
|
+
updatedAt: string;
|
|
22523
|
+
headers: Record<string, string> | null;
|
|
22061
22524
|
credentialScope: string;
|
|
22062
22525
|
imageUrl: string | null;
|
|
22063
22526
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -22094,19 +22557,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
22094
22557
|
};
|
|
22095
22558
|
}>;
|
|
22096
22559
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
22097
|
-
headers: Record<string, string> | null;
|
|
22098
|
-
id: string;
|
|
22099
|
-
name: string;
|
|
22100
|
-
createdAt: string;
|
|
22101
|
-
updatedAt: string;
|
|
22102
22560
|
tenantId: string;
|
|
22103
22561
|
projectId: string;
|
|
22562
|
+
id: string;
|
|
22563
|
+
name: string;
|
|
22104
22564
|
description: string | null;
|
|
22105
22565
|
config: {
|
|
22106
22566
|
type: "mcp";
|
|
22107
22567
|
mcp: ToolMcpConfig;
|
|
22108
22568
|
};
|
|
22109
22569
|
credentialReferenceId: string | null;
|
|
22570
|
+
createdAt: string;
|
|
22571
|
+
updatedAt: string;
|
|
22572
|
+
headers: Record<string, string> | null;
|
|
22110
22573
|
credentialScope: string;
|
|
22111
22574
|
imageUrl: string | null;
|
|
22112
22575
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -22149,14 +22612,14 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
22149
22612
|
needsApproval?: boolean;
|
|
22150
22613
|
}> | null;
|
|
22151
22614
|
}) => Promise<{
|
|
22152
|
-
headers: Record<string, string> | null;
|
|
22153
|
-
id: string;
|
|
22154
|
-
createdAt: string;
|
|
22155
|
-
updatedAt: string;
|
|
22156
22615
|
tenantId: string;
|
|
22157
22616
|
projectId: string;
|
|
22617
|
+
id: string;
|
|
22158
22618
|
agentId: string;
|
|
22619
|
+
createdAt: string;
|
|
22620
|
+
updatedAt: string;
|
|
22159
22621
|
toolId: string;
|
|
22622
|
+
headers: Record<string, string> | null;
|
|
22160
22623
|
toolPolicies: Record<string, {
|
|
22161
22624
|
needsApproval?: boolean;
|
|
22162
22625
|
}> | null;
|
|
@@ -22168,14 +22631,14 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
22168
22631
|
subAgentId: string;
|
|
22169
22632
|
toolId: string;
|
|
22170
22633
|
}) => Promise<{
|
|
22171
|
-
headers: Record<string, string> | null;
|
|
22172
|
-
id: string;
|
|
22173
|
-
createdAt: string;
|
|
22174
|
-
updatedAt: string;
|
|
22175
22634
|
tenantId: string;
|
|
22176
22635
|
projectId: string;
|
|
22636
|
+
id: string;
|
|
22177
22637
|
agentId: string;
|
|
22638
|
+
createdAt: string;
|
|
22639
|
+
updatedAt: string;
|
|
22178
22640
|
toolId: string;
|
|
22641
|
+
headers: Record<string, string> | null;
|
|
22179
22642
|
toolPolicies: Record<string, {
|
|
22180
22643
|
needsApproval?: boolean;
|
|
22181
22644
|
}> | null;
|
|
@@ -22196,14 +22659,14 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22196
22659
|
}> | null;
|
|
22197
22660
|
relationId?: string;
|
|
22198
22661
|
}) => Promise<{
|
|
22199
|
-
headers: Record<string, string> | null;
|
|
22200
|
-
id: string;
|
|
22201
|
-
createdAt: string;
|
|
22202
|
-
updatedAt: string;
|
|
22203
22662
|
tenantId: string;
|
|
22204
22663
|
projectId: string;
|
|
22664
|
+
id: string;
|
|
22205
22665
|
agentId: string;
|
|
22666
|
+
createdAt: string;
|
|
22667
|
+
updatedAt: string;
|
|
22206
22668
|
toolId: string;
|
|
22669
|
+
headers: Record<string, string> | null;
|
|
22207
22670
|
toolPolicies: Record<string, {
|
|
22208
22671
|
needsApproval?: boolean;
|
|
22209
22672
|
}> | null;
|
|
@@ -22216,19 +22679,19 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22216
22679
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
22217
22680
|
data: ToolInsert;
|
|
22218
22681
|
}) => Promise<{
|
|
22219
|
-
headers: Record<string, string> | null;
|
|
22220
|
-
id: string;
|
|
22221
|
-
name: string;
|
|
22222
|
-
createdAt: string;
|
|
22223
|
-
updatedAt: string;
|
|
22224
22682
|
tenantId: string;
|
|
22225
22683
|
projectId: string;
|
|
22684
|
+
id: string;
|
|
22685
|
+
name: string;
|
|
22226
22686
|
description: string | null;
|
|
22227
22687
|
config: {
|
|
22228
22688
|
type: "mcp";
|
|
22229
22689
|
mcp: ToolMcpConfig;
|
|
22230
22690
|
};
|
|
22231
22691
|
credentialReferenceId: string | null;
|
|
22692
|
+
createdAt: string;
|
|
22693
|
+
updatedAt: string;
|
|
22694
|
+
headers: Record<string, string> | null;
|
|
22232
22695
|
credentialScope: string;
|
|
22233
22696
|
imageUrl: string | null;
|
|
22234
22697
|
capabilities: ToolServerCapabilities | null;
|