@mastra/client-js 1.36.1-alpha.2 → 1.37.0-alpha.4
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/CHANGELOG.md +31 -0
- package/dist/client.d.ts +23 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-server-mastra-client.md +60 -0
- package/dist/index.cjs +58 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +58 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/index.d.ts +1 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/stored-workflow.d.ts +18 -0
- package/dist/resources/stored-workflow.d.ts.map +1 -0
- package/dist/route-types.generated.d.ts +428 -131
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +13 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -10,12 +10,49 @@ export type Simplify<T> = {
|
|
|
10
10
|
type Shared_Auxiliary_290 = string | number | boolean | null | Shared_Auxiliary_290[] | {
|
|
11
11
|
[key: string]: Shared_Auxiliary_290;
|
|
12
12
|
};
|
|
13
|
-
type
|
|
13
|
+
type Shared_Auxiliary_1073 = {
|
|
14
|
+
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
15
|
+
left: {
|
|
16
|
+
path: string;
|
|
17
|
+
} | {
|
|
18
|
+
literal: string | number | boolean | null;
|
|
19
|
+
};
|
|
20
|
+
right: {
|
|
21
|
+
path: string;
|
|
22
|
+
} | {
|
|
23
|
+
literal: string | number | boolean | null;
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
op: 'in' | 'notIn';
|
|
27
|
+
value: {
|
|
28
|
+
path: string;
|
|
29
|
+
} | {
|
|
30
|
+
literal: string | number | boolean | null;
|
|
31
|
+
};
|
|
32
|
+
set: (string | number | boolean | null)[];
|
|
33
|
+
} | {
|
|
34
|
+
op: 'exists' | 'notExists';
|
|
35
|
+
path: string;
|
|
36
|
+
} | {
|
|
37
|
+
op: 'truthy' | 'falsy';
|
|
38
|
+
value: {
|
|
39
|
+
path: string;
|
|
40
|
+
} | {
|
|
41
|
+
literal: string | number | boolean | null;
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
op: 'and' | 'or';
|
|
45
|
+
args: Shared_Auxiliary_1073[];
|
|
46
|
+
} | {
|
|
47
|
+
op: 'not';
|
|
48
|
+
arg: Shared_Auxiliary_1073;
|
|
49
|
+
};
|
|
50
|
+
type Shared_Auxiliary_1214 = {
|
|
14
51
|
id?: string | undefined;
|
|
15
52
|
name: string;
|
|
16
53
|
type: 'file' | 'folder';
|
|
17
54
|
content?: string | undefined;
|
|
18
|
-
children?:
|
|
55
|
+
children?: Shared_Auxiliary_1214[] | undefined;
|
|
19
56
|
};
|
|
20
57
|
type Shared_Type_0 = {
|
|
21
58
|
id: string;
|
|
@@ -865,13 +902,14 @@ type Shared_Type_57 = {
|
|
|
865
902
|
[key: string]: unknown;
|
|
866
903
|
} | undefined;
|
|
867
904
|
stepGraph: {
|
|
868
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
905
|
+
type: 'step' | 'agent' | 'tool' | 'mapping' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach' | 'workflow';
|
|
869
906
|
}[];
|
|
870
907
|
inputSchema?: string | undefined;
|
|
871
908
|
outputSchema?: string | undefined;
|
|
872
909
|
stateSchema?: string | undefined;
|
|
873
910
|
options?: {} | undefined;
|
|
874
911
|
isProcessorWorkflow?: boolean | undefined;
|
|
912
|
+
origin?: ('code' | 'stored') | undefined;
|
|
875
913
|
};
|
|
876
914
|
type Shared_Type_58 = {
|
|
877
915
|
id: string;
|
|
@@ -1663,6 +1701,102 @@ type Shared_Type_99 = {
|
|
|
1663
1701
|
currentValue: unknown;
|
|
1664
1702
|
};
|
|
1665
1703
|
type Shared_Type_100 = {
|
|
1704
|
+
id: string;
|
|
1705
|
+
description?: string | undefined;
|
|
1706
|
+
metadata?: {
|
|
1707
|
+
[key: string]: unknown;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
inputSchema: unknown;
|
|
1710
|
+
outputSchema: unknown;
|
|
1711
|
+
stateSchema?: unknown | undefined;
|
|
1712
|
+
requestContextSchema?: unknown | undefined;
|
|
1713
|
+
graph: unknown[];
|
|
1714
|
+
status: 'active' | 'archived';
|
|
1715
|
+
source: 'storage';
|
|
1716
|
+
authorId?: string | undefined;
|
|
1717
|
+
createdAt: Date | string;
|
|
1718
|
+
updatedAt: Date | string;
|
|
1719
|
+
};
|
|
1720
|
+
type Shared_Type_101 = {
|
|
1721
|
+
type: 'agent';
|
|
1722
|
+
id: string;
|
|
1723
|
+
agentId: string;
|
|
1724
|
+
description?: string | undefined;
|
|
1725
|
+
outputSchema?: {
|
|
1726
|
+
[key: string]: unknown;
|
|
1727
|
+
} | undefined;
|
|
1728
|
+
options?: {
|
|
1729
|
+
retries?: number | undefined;
|
|
1730
|
+
metadata?: {
|
|
1731
|
+
[key: string]: unknown;
|
|
1732
|
+
} | undefined;
|
|
1733
|
+
} | undefined;
|
|
1734
|
+
};
|
|
1735
|
+
type Shared_Type_102 = {
|
|
1736
|
+
type: 'tool';
|
|
1737
|
+
id: string;
|
|
1738
|
+
toolId: string;
|
|
1739
|
+
description?: string | undefined;
|
|
1740
|
+
options?: {
|
|
1741
|
+
retries?: number | undefined;
|
|
1742
|
+
metadata?: {
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
} | undefined;
|
|
1746
|
+
};
|
|
1747
|
+
type Shared_Type_103 = Shared_Type_101 | Shared_Type_102 | {
|
|
1748
|
+
type: 'mapping';
|
|
1749
|
+
id: string;
|
|
1750
|
+
mapConfig: string;
|
|
1751
|
+
} | {
|
|
1752
|
+
type: 'workflow';
|
|
1753
|
+
id: string;
|
|
1754
|
+
workflowId: string;
|
|
1755
|
+
description?: string | undefined;
|
|
1756
|
+
};
|
|
1757
|
+
type Shared_Type_104 = {
|
|
1758
|
+
type: 'foreach';
|
|
1759
|
+
step: Shared_Type_101 | Shared_Type_102 | {
|
|
1760
|
+
type: 'workflow';
|
|
1761
|
+
id: string;
|
|
1762
|
+
workflowId: string;
|
|
1763
|
+
description?: string | undefined;
|
|
1764
|
+
};
|
|
1765
|
+
opts?: {
|
|
1766
|
+
concurrency: number;
|
|
1767
|
+
} | undefined;
|
|
1768
|
+
};
|
|
1769
|
+
type Shared_Type_105 = Shared_Type_101 | Shared_Type_102 | {
|
|
1770
|
+
type: 'mapping';
|
|
1771
|
+
id: string;
|
|
1772
|
+
mapConfig: string;
|
|
1773
|
+
} | {
|
|
1774
|
+
type: 'workflow';
|
|
1775
|
+
id: string;
|
|
1776
|
+
workflowId: string;
|
|
1777
|
+
description?: string | undefined;
|
|
1778
|
+
} | {
|
|
1779
|
+
type: 'parallel';
|
|
1780
|
+
steps: Shared_Type_103[];
|
|
1781
|
+
} | Shared_Type_104 | {
|
|
1782
|
+
type: 'sleep';
|
|
1783
|
+
id: string;
|
|
1784
|
+
duration: number;
|
|
1785
|
+
} | {
|
|
1786
|
+
type: 'sleepUntil';
|
|
1787
|
+
id: string;
|
|
1788
|
+
date: string;
|
|
1789
|
+
} | {
|
|
1790
|
+
type: 'conditional';
|
|
1791
|
+
steps: Shared_Type_103[];
|
|
1792
|
+
predicates: Shared_Auxiliary_1073[];
|
|
1793
|
+
} | {
|
|
1794
|
+
type: 'loop';
|
|
1795
|
+
step: Shared_Type_103;
|
|
1796
|
+
loopType: 'dowhile' | 'dountil';
|
|
1797
|
+
predicate: Shared_Auxiliary_1073;
|
|
1798
|
+
};
|
|
1799
|
+
type Shared_Type_106 = {
|
|
1666
1800
|
/** Transport type: stdio for local processes, http for remote servers */
|
|
1667
1801
|
type: 'stdio' | 'http';
|
|
1668
1802
|
/** Command to run (stdio only) */
|
|
@@ -1678,7 +1812,7 @@ type Shared_Type_100 = {
|
|
|
1678
1812
|
/** Connection timeout in milliseconds */
|
|
1679
1813
|
timeout?: number | undefined;
|
|
1680
1814
|
};
|
|
1681
|
-
type
|
|
1815
|
+
type Shared_Type_107 = {
|
|
1682
1816
|
id: string;
|
|
1683
1817
|
/** MCP client status: draft, published, or archived */
|
|
1684
1818
|
status: string;
|
|
@@ -1695,10 +1829,10 @@ type Shared_Type_101 = {
|
|
|
1695
1829
|
description?: string | undefined;
|
|
1696
1830
|
/** Map of server name to server configuration */
|
|
1697
1831
|
servers: {
|
|
1698
|
-
[key: string]:
|
|
1832
|
+
[key: string]: Shared_Type_106;
|
|
1699
1833
|
};
|
|
1700
1834
|
};
|
|
1701
|
-
type
|
|
1835
|
+
type Shared_Type_108 = {
|
|
1702
1836
|
type: 'stdio' | 'http';
|
|
1703
1837
|
command?: string | undefined;
|
|
1704
1838
|
args?: string[] | undefined;
|
|
@@ -1708,7 +1842,7 @@ type Shared_Type_102 = {
|
|
|
1708
1842
|
url?: string | undefined;
|
|
1709
1843
|
timeout?: number | undefined;
|
|
1710
1844
|
};
|
|
1711
|
-
type
|
|
1845
|
+
type Shared_Type_109 = {
|
|
1712
1846
|
/** Unique identifier for the version (UUID) */
|
|
1713
1847
|
id: string;
|
|
1714
1848
|
/** ID of the MCP client this version belongs to */
|
|
@@ -1720,7 +1854,7 @@ type Shared_Type_103 = {
|
|
|
1720
1854
|
/** Description of the MCP client */
|
|
1721
1855
|
description?: string | undefined;
|
|
1722
1856
|
servers: {
|
|
1723
|
-
[key: string]:
|
|
1857
|
+
[key: string]: Shared_Type_108;
|
|
1724
1858
|
};
|
|
1725
1859
|
/** Array of field names that changed from the previous version */
|
|
1726
1860
|
changedFields?: string[] | undefined;
|
|
@@ -1729,7 +1863,7 @@ type Shared_Type_103 = {
|
|
|
1729
1863
|
/** When this version was created */
|
|
1730
1864
|
createdAt: Date;
|
|
1731
1865
|
};
|
|
1732
|
-
type
|
|
1866
|
+
type Shared_Type_110 = {
|
|
1733
1867
|
id: string;
|
|
1734
1868
|
/** Prompt block status: draft, published, or archived */
|
|
1735
1869
|
status: string;
|
|
@@ -1755,7 +1889,7 @@ type Shared_Type_104 = {
|
|
|
1755
1889
|
[key: string]: unknown;
|
|
1756
1890
|
} | undefined;
|
|
1757
1891
|
};
|
|
1758
|
-
type
|
|
1892
|
+
type Shared_Type_111 = {
|
|
1759
1893
|
/** Unique identifier for the version (UUID) */
|
|
1760
1894
|
id: string;
|
|
1761
1895
|
/** ID of the prompt block this version belongs to */
|
|
@@ -1781,8 +1915,8 @@ type Shared_Type_105 = {
|
|
|
1781
1915
|
/** When this version was created */
|
|
1782
1916
|
createdAt: Date;
|
|
1783
1917
|
};
|
|
1784
|
-
type
|
|
1785
|
-
type
|
|
1918
|
+
type Shared_Type_112 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
|
|
1919
|
+
type Shared_Type_113 = {
|
|
1786
1920
|
id: string;
|
|
1787
1921
|
/** Scorer status: draft, published, or archived */
|
|
1788
1922
|
status: string;
|
|
@@ -1798,7 +1932,7 @@ type Shared_Type_107 = {
|
|
|
1798
1932
|
/** Description of the scorer */
|
|
1799
1933
|
description?: string | undefined;
|
|
1800
1934
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
1801
|
-
type:
|
|
1935
|
+
type: Shared_Type_112;
|
|
1802
1936
|
model?: Shared_Type_11 | undefined;
|
|
1803
1937
|
/** System instructions for the judge LLM */
|
|
1804
1938
|
instructions?: string | undefined;
|
|
@@ -1816,13 +1950,13 @@ type Shared_Type_107 = {
|
|
|
1816
1950
|
rate: number;
|
|
1817
1951
|
}) | undefined;
|
|
1818
1952
|
};
|
|
1819
|
-
type
|
|
1953
|
+
type Shared_Type_114 = {
|
|
1820
1954
|
/** Minimum score value (default: 0) */
|
|
1821
1955
|
min?: number | undefined;
|
|
1822
1956
|
/** Maximum score value (default: 1) */
|
|
1823
1957
|
max?: number | undefined;
|
|
1824
1958
|
} | undefined;
|
|
1825
|
-
type
|
|
1959
|
+
type Shared_Type_115 = {
|
|
1826
1960
|
/** Unique identifier for the version (UUID) */
|
|
1827
1961
|
id: string;
|
|
1828
1962
|
/** ID of the scorer this version belongs to */
|
|
@@ -1833,7 +1967,7 @@ type Shared_Type_109 = {
|
|
|
1833
1967
|
name: string;
|
|
1834
1968
|
/** Description of the scorer */
|
|
1835
1969
|
description?: string | undefined;
|
|
1836
|
-
type:
|
|
1970
|
+
type: Shared_Type_112;
|
|
1837
1971
|
model?: Shared_Type_11 | undefined;
|
|
1838
1972
|
instructions?: string | undefined;
|
|
1839
1973
|
scoreRange?: {
|
|
@@ -1856,7 +1990,7 @@ type Shared_Type_109 = {
|
|
|
1856
1990
|
/** When this version was created */
|
|
1857
1991
|
createdAt: Date;
|
|
1858
1992
|
};
|
|
1859
|
-
type
|
|
1993
|
+
type Shared_Type_116 = {
|
|
1860
1994
|
id: string;
|
|
1861
1995
|
/** Workspace status: draft, published, or archived */
|
|
1862
1996
|
status: string;
|
|
@@ -1888,7 +2022,7 @@ type Shared_Type_110 = {
|
|
|
1888
2022
|
/** Operation timeout in milliseconds */
|
|
1889
2023
|
operationTimeout?: number | undefined;
|
|
1890
2024
|
};
|
|
1891
|
-
type
|
|
2025
|
+
type Shared_Type_117 = {
|
|
1892
2026
|
type: 'external';
|
|
1893
2027
|
/** Package path for external source */
|
|
1894
2028
|
packagePath: string;
|
|
@@ -1901,7 +2035,7 @@ type Shared_Type_111 = {
|
|
|
1901
2035
|
/** Mastra path for managed source */
|
|
1902
2036
|
mastraPath: string;
|
|
1903
2037
|
};
|
|
1904
|
-
type
|
|
2038
|
+
type Shared_Type_118 = {
|
|
1905
2039
|
id: string;
|
|
1906
2040
|
/** Skill status: draft, published, or archived */
|
|
1907
2041
|
status: string;
|
|
@@ -1925,7 +2059,7 @@ type Shared_Type_112 = {
|
|
|
1925
2059
|
/** Compatibility requirements */
|
|
1926
2060
|
compatibility?: unknown | undefined;
|
|
1927
2061
|
/** Source location of the skill */
|
|
1928
|
-
source?:
|
|
2062
|
+
source?: Shared_Type_117 | undefined;
|
|
1929
2063
|
/** List of reference file paths */
|
|
1930
2064
|
references?: string[] | undefined;
|
|
1931
2065
|
/** List of script file paths */
|
|
@@ -1933,13 +2067,13 @@ type Shared_Type_112 = {
|
|
|
1933
2067
|
/** List of asset file paths */
|
|
1934
2068
|
assets?: string[] | undefined;
|
|
1935
2069
|
/** Full file tree structure for the skill */
|
|
1936
|
-
files?:
|
|
2070
|
+
files?: Shared_Auxiliary_1214[] | undefined;
|
|
1937
2071
|
/** Additional metadata for the skill */
|
|
1938
2072
|
metadata?: {
|
|
1939
2073
|
[key: string]: unknown;
|
|
1940
2074
|
} | undefined;
|
|
1941
2075
|
};
|
|
1942
|
-
type
|
|
2076
|
+
type Shared_Type_119 = {
|
|
1943
2077
|
id: string;
|
|
1944
2078
|
name: string;
|
|
1945
2079
|
description?: (string | undefined) | null;
|
|
@@ -1963,7 +2097,7 @@ type Shared_Type_113 = {
|
|
|
1963
2097
|
createdAt: Date;
|
|
1964
2098
|
updatedAt: Date;
|
|
1965
2099
|
};
|
|
1966
|
-
type
|
|
2100
|
+
type Shared_Type_120 = {
|
|
1967
2101
|
/** Name of the tool this mock applies to */
|
|
1968
2102
|
toolName: string;
|
|
1969
2103
|
/** Arguments to match against the tool call */
|
|
@@ -1975,13 +2109,13 @@ type Shared_Type_114 = {
|
|
|
1975
2109
|
/** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
|
|
1976
2110
|
matchArgs?: ('strict' | 'ignore') | undefined;
|
|
1977
2111
|
};
|
|
1978
|
-
type
|
|
2112
|
+
type Shared_Type_121 = {
|
|
1979
2113
|
/** How this item was created */
|
|
1980
2114
|
type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
|
|
1981
2115
|
/** Reference identifier (e.g., trace id, csv filename) */
|
|
1982
2116
|
referenceId?: string | undefined;
|
|
1983
2117
|
};
|
|
1984
|
-
type
|
|
2118
|
+
type Shared_Type_122 = {
|
|
1985
2119
|
id: string;
|
|
1986
2120
|
datasetId: string;
|
|
1987
2121
|
datasetVersion: number;
|
|
@@ -1990,7 +2124,7 @@ type Shared_Type_116 = {
|
|
|
1990
2124
|
groundTruth?: unknown | undefined;
|
|
1991
2125
|
expectedTrajectory?: unknown | undefined;
|
|
1992
2126
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
1993
|
-
toolMocks?:
|
|
2127
|
+
toolMocks?: Shared_Type_120[] | undefined;
|
|
1994
2128
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
1995
2129
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
1996
2130
|
requestContext?: {
|
|
@@ -2000,11 +2134,11 @@ type Shared_Type_116 = {
|
|
|
2000
2134
|
[key: string]: unknown;
|
|
2001
2135
|
} | undefined;
|
|
2002
2136
|
/** Source/provenance of this dataset item */
|
|
2003
|
-
source?:
|
|
2137
|
+
source?: Shared_Type_121 | undefined;
|
|
2004
2138
|
createdAt: Date;
|
|
2005
2139
|
updatedAt: Date;
|
|
2006
2140
|
};
|
|
2007
|
-
type
|
|
2141
|
+
type Shared_Type_123 = {
|
|
2008
2142
|
/** Step name to match */
|
|
2009
2143
|
name: string;
|
|
2010
2144
|
durationMs?: number | undefined;
|
|
@@ -2022,7 +2156,7 @@ type Shared_Type_117 = {
|
|
|
2022
2156
|
} | undefined;
|
|
2023
2157
|
success?: boolean | undefined;
|
|
2024
2158
|
};
|
|
2025
|
-
type
|
|
2159
|
+
type Shared_Type_124 = {
|
|
2026
2160
|
/** Step name to match */
|
|
2027
2161
|
name: string;
|
|
2028
2162
|
durationMs?: number | undefined;
|
|
@@ -2041,7 +2175,7 @@ type Shared_Type_118 = {
|
|
|
2041
2175
|
mcpServer?: string | undefined;
|
|
2042
2176
|
success?: boolean | undefined;
|
|
2043
2177
|
};
|
|
2044
|
-
type
|
|
2178
|
+
type Shared_Type_125 = {
|
|
2045
2179
|
/** Step name to match */
|
|
2046
2180
|
name: string;
|
|
2047
2181
|
durationMs?: number | undefined;
|
|
@@ -2056,7 +2190,7 @@ type Shared_Type_119 = {
|
|
|
2056
2190
|
completionTokens?: number | undefined;
|
|
2057
2191
|
finishReason?: string | undefined;
|
|
2058
2192
|
};
|
|
2059
|
-
type
|
|
2193
|
+
type Shared_Type_126 = {
|
|
2060
2194
|
/** Step name to match */
|
|
2061
2195
|
name: string;
|
|
2062
2196
|
durationMs?: number | undefined;
|
|
@@ -2068,7 +2202,7 @@ type Shared_Type_120 = {
|
|
|
2068
2202
|
stepType: 'agent_run';
|
|
2069
2203
|
agentId?: string | undefined;
|
|
2070
2204
|
};
|
|
2071
|
-
type
|
|
2205
|
+
type Shared_Type_127 = {
|
|
2072
2206
|
/** Step name to match */
|
|
2073
2207
|
name: string;
|
|
2074
2208
|
durationMs?: number | undefined;
|
|
@@ -2084,7 +2218,7 @@ type Shared_Type_121 = {
|
|
|
2084
2218
|
[key: string]: unknown;
|
|
2085
2219
|
} | undefined;
|
|
2086
2220
|
};
|
|
2087
|
-
type
|
|
2221
|
+
type Shared_Type_128 = {
|
|
2088
2222
|
/** Step name to match */
|
|
2089
2223
|
name: string;
|
|
2090
2224
|
durationMs?: number | undefined;
|
|
@@ -2097,7 +2231,7 @@ type Shared_Type_122 = {
|
|
|
2097
2231
|
workflowId?: string | undefined;
|
|
2098
2232
|
status?: string | undefined;
|
|
2099
2233
|
};
|
|
2100
|
-
type
|
|
2234
|
+
type Shared_Type_129 = {
|
|
2101
2235
|
/** Step name to match */
|
|
2102
2236
|
name: string;
|
|
2103
2237
|
durationMs?: number | undefined;
|
|
@@ -2110,7 +2244,7 @@ type Shared_Type_123 = {
|
|
|
2110
2244
|
conditionCount?: number | undefined;
|
|
2111
2245
|
selectedSteps?: string[] | undefined;
|
|
2112
2246
|
};
|
|
2113
|
-
type
|
|
2247
|
+
type Shared_Type_130 = {
|
|
2114
2248
|
/** Step name to match */
|
|
2115
2249
|
name: string;
|
|
2116
2250
|
durationMs?: number | undefined;
|
|
@@ -2123,7 +2257,7 @@ type Shared_Type_124 = {
|
|
|
2123
2257
|
branchCount?: number | undefined;
|
|
2124
2258
|
parallelSteps?: string[] | undefined;
|
|
2125
2259
|
};
|
|
2126
|
-
type
|
|
2260
|
+
type Shared_Type_131 = {
|
|
2127
2261
|
/** Step name to match */
|
|
2128
2262
|
name: string;
|
|
2129
2263
|
durationMs?: number | undefined;
|
|
@@ -2136,7 +2270,7 @@ type Shared_Type_125 = {
|
|
|
2136
2270
|
loopType?: string | undefined;
|
|
2137
2271
|
totalIterations?: number | undefined;
|
|
2138
2272
|
};
|
|
2139
|
-
type
|
|
2273
|
+
type Shared_Type_132 = {
|
|
2140
2274
|
/** Step name to match */
|
|
2141
2275
|
name: string;
|
|
2142
2276
|
durationMs?: number | undefined;
|
|
@@ -2149,7 +2283,7 @@ type Shared_Type_126 = {
|
|
|
2149
2283
|
sleepDurationMs?: number | undefined;
|
|
2150
2284
|
sleepType?: string | undefined;
|
|
2151
2285
|
};
|
|
2152
|
-
type
|
|
2286
|
+
type Shared_Type_133 = {
|
|
2153
2287
|
/** Step name to match */
|
|
2154
2288
|
name: string;
|
|
2155
2289
|
durationMs?: number | undefined;
|
|
@@ -2162,7 +2296,7 @@ type Shared_Type_127 = {
|
|
|
2162
2296
|
eventName?: string | undefined;
|
|
2163
2297
|
eventReceived?: boolean | undefined;
|
|
2164
2298
|
};
|
|
2165
|
-
type
|
|
2299
|
+
type Shared_Type_134 = {
|
|
2166
2300
|
/** Step name to match */
|
|
2167
2301
|
name: string;
|
|
2168
2302
|
durationMs?: number | undefined;
|
|
@@ -2174,8 +2308,8 @@ type Shared_Type_128 = {
|
|
|
2174
2308
|
stepType: 'processor_run';
|
|
2175
2309
|
processorId?: string | undefined;
|
|
2176
2310
|
};
|
|
2177
|
-
type
|
|
2178
|
-
type
|
|
2311
|
+
type Shared_Type_135 = Shared_Type_123 | Shared_Type_124 | Shared_Type_125 | Shared_Type_126 | Shared_Type_127 | Shared_Type_128 | Shared_Type_129 | Shared_Type_130 | Shared_Type_131 | Shared_Type_132 | Shared_Type_133 | Shared_Type_134;
|
|
2312
|
+
type Shared_Type_136 = {
|
|
2179
2313
|
/** Step name to match */
|
|
2180
2314
|
name: string;
|
|
2181
2315
|
durationMs?: number | undefined;
|
|
@@ -2186,9 +2320,9 @@ type Shared_Type_130 = {
|
|
|
2186
2320
|
children?: unknown | undefined;
|
|
2187
2321
|
stepType?: undefined | undefined;
|
|
2188
2322
|
};
|
|
2189
|
-
type
|
|
2323
|
+
type Shared_Type_137 = {
|
|
2190
2324
|
/** Expected steps for accuracy checking */
|
|
2191
|
-
steps?: (
|
|
2325
|
+
steps?: (Shared_Type_135 | Shared_Type_136)[] | undefined;
|
|
2192
2326
|
/** How to compare step ordering (default: relaxed) */
|
|
2193
2327
|
ordering?: ('strict' | 'relaxed' | 'unordered') | undefined;
|
|
2194
2328
|
/** Whether to allow repeated steps (default: true) */
|
|
@@ -2208,7 +2342,7 @@ type Shared_Type_131 = {
|
|
|
2208
2342
|
/** Maximum retries per tool before penalizing (default: 2) */
|
|
2209
2343
|
maxRetriesPerTool?: number | undefined;
|
|
2210
2344
|
};
|
|
2211
|
-
type
|
|
2345
|
+
type Shared_Type_138 = {
|
|
2212
2346
|
id: string;
|
|
2213
2347
|
datasetId: string | null;
|
|
2214
2348
|
datasetVersion: number | null;
|
|
@@ -2230,7 +2364,7 @@ type Shared_Type_132 = {
|
|
|
2230
2364
|
createdAt: Date;
|
|
2231
2365
|
updatedAt: Date;
|
|
2232
2366
|
};
|
|
2233
|
-
type
|
|
2367
|
+
type Shared_Type_139 = {
|
|
2234
2368
|
served: {
|
|
2235
2369
|
mockIndex: number;
|
|
2236
2370
|
toolName: string;
|
|
@@ -2251,7 +2385,7 @@ type Shared_Type_133 = {
|
|
|
2251
2385
|
args: unknown;
|
|
2252
2386
|
} | undefined;
|
|
2253
2387
|
};
|
|
2254
|
-
type
|
|
2388
|
+
type Shared_Type_140 = {
|
|
2255
2389
|
id: string;
|
|
2256
2390
|
experimentId: string;
|
|
2257
2391
|
itemId: string;
|
|
@@ -2273,10 +2407,10 @@ type Shared_Type_134 = {
|
|
|
2273
2407
|
tags?: (string[] | null) | undefined;
|
|
2274
2408
|
comment?: (string | null) | undefined;
|
|
2275
2409
|
/** Diagnostic receipt for item-level tool mocks */
|
|
2276
|
-
toolMockReport?: (
|
|
2410
|
+
toolMockReport?: (Shared_Type_139 | undefined) | null;
|
|
2277
2411
|
createdAt: Date;
|
|
2278
2412
|
};
|
|
2279
|
-
type
|
|
2413
|
+
type Shared_Type_141 = {
|
|
2280
2414
|
id: string;
|
|
2281
2415
|
status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
2282
2416
|
toolName: string;
|
|
@@ -2301,7 +2435,7 @@ type Shared_Type_135 = {
|
|
|
2301
2435
|
timeoutMs: number;
|
|
2302
2436
|
suspendPayload?: unknown | undefined;
|
|
2303
2437
|
};
|
|
2304
|
-
type
|
|
2438
|
+
type Shared_Type_142 = {
|
|
2305
2439
|
kind: 'custom';
|
|
2306
2440
|
provider: string;
|
|
2307
2441
|
modelId?: string | undefined;
|
|
@@ -2309,7 +2443,7 @@ type Shared_Type_136 = {
|
|
|
2309
2443
|
provider: string;
|
|
2310
2444
|
modelId?: string | undefined;
|
|
2311
2445
|
};
|
|
2312
|
-
type
|
|
2446
|
+
type Shared_Type_143 = {
|
|
2313
2447
|
kind: 'custom';
|
|
2314
2448
|
provider: string;
|
|
2315
2449
|
modelId: string;
|
|
@@ -2317,13 +2451,13 @@ type Shared_Type_137 = {
|
|
|
2317
2451
|
provider: string;
|
|
2318
2452
|
modelId: string;
|
|
2319
2453
|
};
|
|
2320
|
-
type
|
|
2454
|
+
type Shared_Type_144 = {
|
|
2321
2455
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
2322
2456
|
attributes?: {
|
|
2323
2457
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
2324
2458
|
} | undefined;
|
|
2325
2459
|
};
|
|
2326
|
-
type
|
|
2460
|
+
type Shared_Type_145 = {
|
|
2327
2461
|
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
2328
2462
|
attributes?: {
|
|
2329
2463
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
@@ -2334,7 +2468,7 @@ type Shared_Type_139 = {
|
|
|
2334
2468
|
} | undefined;
|
|
2335
2469
|
} | undefined;
|
|
2336
2470
|
};
|
|
2337
|
-
type
|
|
2471
|
+
type Shared_Type_146 = {
|
|
2338
2472
|
id: string;
|
|
2339
2473
|
agentId: string;
|
|
2340
2474
|
workflowId?: undefined | undefined;
|
|
@@ -2354,8 +2488,8 @@ type Shared_Type_140 = {
|
|
|
2354
2488
|
attributes?: {
|
|
2355
2489
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
2356
2490
|
} | undefined;
|
|
2357
|
-
ifActive?:
|
|
2358
|
-
ifIdle?:
|
|
2491
|
+
ifActive?: Shared_Type_144 | undefined;
|
|
2492
|
+
ifIdle?: Shared_Type_145 | undefined;
|
|
2359
2493
|
providerOptions?: {
|
|
2360
2494
|
[key: string]: unknown;
|
|
2361
2495
|
} | undefined;
|
|
@@ -2365,14 +2499,14 @@ type Shared_Type_140 = {
|
|
|
2365
2499
|
createdAt: number;
|
|
2366
2500
|
updatedAt: number;
|
|
2367
2501
|
};
|
|
2368
|
-
type
|
|
2502
|
+
type Shared_Type_147 = {
|
|
2369
2503
|
status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
|
|
2370
2504
|
startedAt?: number | undefined;
|
|
2371
2505
|
completedAt?: number | undefined;
|
|
2372
2506
|
durationMs?: number | undefined;
|
|
2373
2507
|
error?: string | undefined;
|
|
2374
2508
|
};
|
|
2375
|
-
type
|
|
2509
|
+
type Shared_Type_148 = {
|
|
2376
2510
|
id: string;
|
|
2377
2511
|
workflowId: string;
|
|
2378
2512
|
agentId?: undefined | undefined;
|
|
@@ -2382,7 +2516,7 @@ type Shared_Type_142 = {
|
|
|
2382
2516
|
nextFireAt: number;
|
|
2383
2517
|
lastFireAt?: number | undefined;
|
|
2384
2518
|
lastRunId?: string | undefined;
|
|
2385
|
-
lastRun?:
|
|
2519
|
+
lastRun?: Shared_Type_147 | undefined;
|
|
2386
2520
|
inputData?: unknown | undefined;
|
|
2387
2521
|
initialState?: unknown | undefined;
|
|
2388
2522
|
requestContext?: {
|
|
@@ -4189,7 +4323,7 @@ export type GetWorkflowsWorkflowIdRunsRunId_Response = {
|
|
|
4189
4323
|
[key: string]: number[];
|
|
4190
4324
|
} | undefined;
|
|
4191
4325
|
serializedStepGraph?: {
|
|
4192
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
4326
|
+
type: 'step' | 'agent' | 'tool' | 'mapping' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach' | 'workflow';
|
|
4193
4327
|
}[] | undefined;
|
|
4194
4328
|
};
|
|
4195
4329
|
export type GetWorkflowsWorkflowIdRunsRunId_Request = Simplify<(GetWorkflowsWorkflowIdRunsRunId_PathParams extends never ? {} : {
|
|
@@ -4354,7 +4488,7 @@ export type PostWorkflowsWorkflowIdStartAsync_Response = {
|
|
|
4354
4488
|
[key: string]: number[];
|
|
4355
4489
|
} | undefined;
|
|
4356
4490
|
serializedStepGraph?: {
|
|
4357
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
4491
|
+
type: 'step' | 'agent' | 'tool' | 'mapping' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach' | 'workflow';
|
|
4358
4492
|
}[] | undefined;
|
|
4359
4493
|
};
|
|
4360
4494
|
export type PostWorkflowsWorkflowIdStartAsync_Request = Simplify<(PostWorkflowsWorkflowIdStartAsync_PathParams extends never ? {} : {
|
|
@@ -10795,6 +10929,157 @@ export interface DeleteStoredAgentsStoredAgentIdFavorite_RouteContract {
|
|
|
10795
10929
|
response: DeleteStoredAgentsStoredAgentIdFavorite_Response;
|
|
10796
10930
|
responseType: 'json';
|
|
10797
10931
|
}
|
|
10932
|
+
export type GetStoredWorkflows_QueryParams = {
|
|
10933
|
+
/** Filter stored workflows by status (defaults to active when omitted by the handler) */
|
|
10934
|
+
status?: ('active' | 'archived') | undefined;
|
|
10935
|
+
/** Filter stored workflows by author identifier */
|
|
10936
|
+
authorId?: string | undefined;
|
|
10937
|
+
};
|
|
10938
|
+
export type GetStoredWorkflows_Response = {
|
|
10939
|
+
workflows: Shared_Type_100[];
|
|
10940
|
+
total: number;
|
|
10941
|
+
};
|
|
10942
|
+
export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
|
|
10943
|
+
params: never;
|
|
10944
|
+
}) & (GetStoredWorkflows_QueryParams extends never ? {} : {} extends GetStoredWorkflows_QueryParams ? {
|
|
10945
|
+
query?: GetStoredWorkflows_QueryParams;
|
|
10946
|
+
} : {
|
|
10947
|
+
query: GetStoredWorkflows_QueryParams;
|
|
10948
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
10949
|
+
body?: never;
|
|
10950
|
+
} : {
|
|
10951
|
+
body: never;
|
|
10952
|
+
})>;
|
|
10953
|
+
export interface GetStoredWorkflows_RouteContract {
|
|
10954
|
+
pathParams: never;
|
|
10955
|
+
queryParams: GetStoredWorkflows_QueryParams;
|
|
10956
|
+
body: never;
|
|
10957
|
+
request: GetStoredWorkflows_Request;
|
|
10958
|
+
response: GetStoredWorkflows_Response;
|
|
10959
|
+
responseType: 'json';
|
|
10960
|
+
}
|
|
10961
|
+
export type PostStoredWorkflows_Body = {
|
|
10962
|
+
/** Workflow id — kebab-case, descriptive */
|
|
10963
|
+
id: string;
|
|
10964
|
+
description?: string | undefined;
|
|
10965
|
+
metadata?: {
|
|
10966
|
+
[key: string]: unknown;
|
|
10967
|
+
} | undefined;
|
|
10968
|
+
/** JSON Schema (Draft 2020-12) for the workflow input */
|
|
10969
|
+
inputSchema: {
|
|
10970
|
+
[key: string]: unknown;
|
|
10971
|
+
};
|
|
10972
|
+
/** JSON Schema (Draft 2020-12) for the workflow output */
|
|
10973
|
+
outputSchema: {
|
|
10974
|
+
[key: string]: unknown;
|
|
10975
|
+
};
|
|
10976
|
+
stateSchema?: {
|
|
10977
|
+
[key: string]: unknown;
|
|
10978
|
+
} | undefined;
|
|
10979
|
+
requestContextSchema?: {
|
|
10980
|
+
[key: string]: unknown;
|
|
10981
|
+
} | undefined;
|
|
10982
|
+
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
10983
|
+
graph: Shared_Type_105[];
|
|
10984
|
+
/** Helper workflow definitions this workflow nests. Saved with it as one unit — the whole set is validated together, hydrated in derived dependency order, and rejected together, so a failed save never leaves orphaned helpers behind. Each helper becomes an ordinary stored workflow in its own right. */
|
|
10985
|
+
dependencies?: {
|
|
10986
|
+
/** Workflow id — kebab-case, descriptive */
|
|
10987
|
+
id: string;
|
|
10988
|
+
description?: string | undefined;
|
|
10989
|
+
metadata?: {
|
|
10990
|
+
[key: string]: unknown;
|
|
10991
|
+
} | undefined;
|
|
10992
|
+
/** JSON Schema (Draft 2020-12) for the workflow input */
|
|
10993
|
+
inputSchema: {
|
|
10994
|
+
[key: string]: unknown;
|
|
10995
|
+
};
|
|
10996
|
+
/** JSON Schema (Draft 2020-12) for the workflow output */
|
|
10997
|
+
outputSchema: {
|
|
10998
|
+
[key: string]: unknown;
|
|
10999
|
+
};
|
|
11000
|
+
stateSchema?: {
|
|
11001
|
+
[key: string]: unknown;
|
|
11002
|
+
} | undefined;
|
|
11003
|
+
requestContextSchema?: {
|
|
11004
|
+
[key: string]: unknown;
|
|
11005
|
+
} | undefined;
|
|
11006
|
+
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
11007
|
+
graph: Shared_Type_105[];
|
|
11008
|
+
}[] | undefined;
|
|
11009
|
+
};
|
|
11010
|
+
export type PostStoredWorkflows_Response = {
|
|
11011
|
+
ok: true;
|
|
11012
|
+
id: string;
|
|
11013
|
+
/** Ids of the helper workflows saved alongside this one. Present only when dependencies were supplied. */
|
|
11014
|
+
dependencyIds?: string[] | undefined;
|
|
11015
|
+
};
|
|
11016
|
+
export type PostStoredWorkflows_Request = Simplify<(never extends never ? {} : {
|
|
11017
|
+
params: never;
|
|
11018
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
11019
|
+
query?: never;
|
|
11020
|
+
} : {
|
|
11021
|
+
query: never;
|
|
11022
|
+
}) & (PostStoredWorkflows_Body extends never ? {} : {} extends PostStoredWorkflows_Body ? {
|
|
11023
|
+
body?: PostStoredWorkflows_Body;
|
|
11024
|
+
} : {
|
|
11025
|
+
body: PostStoredWorkflows_Body;
|
|
11026
|
+
})>;
|
|
11027
|
+
export interface PostStoredWorkflows_RouteContract {
|
|
11028
|
+
pathParams: never;
|
|
11029
|
+
queryParams: never;
|
|
11030
|
+
body: PostStoredWorkflows_Body;
|
|
11031
|
+
request: PostStoredWorkflows_Request;
|
|
11032
|
+
response: PostStoredWorkflows_Response;
|
|
11033
|
+
responseType: 'json';
|
|
11034
|
+
}
|
|
11035
|
+
export type GetStoredWorkflowsStoredWorkflowId_PathParams = {
|
|
11036
|
+
/** Unique identifier for the stored workflow definition */
|
|
11037
|
+
storedWorkflowId: string;
|
|
11038
|
+
};
|
|
11039
|
+
export type GetStoredWorkflowsStoredWorkflowId_Response = Shared_Type_100;
|
|
11040
|
+
export type GetStoredWorkflowsStoredWorkflowId_Request = Simplify<(GetStoredWorkflowsStoredWorkflowId_PathParams extends never ? {} : {
|
|
11041
|
+
params: GetStoredWorkflowsStoredWorkflowId_PathParams;
|
|
11042
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
11043
|
+
query?: never;
|
|
11044
|
+
} : {
|
|
11045
|
+
query: never;
|
|
11046
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
11047
|
+
body?: never;
|
|
11048
|
+
} : {
|
|
11049
|
+
body: never;
|
|
11050
|
+
})>;
|
|
11051
|
+
export interface GetStoredWorkflowsStoredWorkflowId_RouteContract {
|
|
11052
|
+
pathParams: GetStoredWorkflowsStoredWorkflowId_PathParams;
|
|
11053
|
+
queryParams: never;
|
|
11054
|
+
body: never;
|
|
11055
|
+
request: GetStoredWorkflowsStoredWorkflowId_Request;
|
|
11056
|
+
response: GetStoredWorkflowsStoredWorkflowId_Response;
|
|
11057
|
+
responseType: 'json';
|
|
11058
|
+
}
|
|
11059
|
+
export type DeleteStoredWorkflowsStoredWorkflowId_PathParams = GetStoredWorkflowsStoredWorkflowId_PathParams;
|
|
11060
|
+
export type DeleteStoredWorkflowsStoredWorkflowId_Response = {
|
|
11061
|
+
success: true;
|
|
11062
|
+
message: string;
|
|
11063
|
+
};
|
|
11064
|
+
export type DeleteStoredWorkflowsStoredWorkflowId_Request = Simplify<(DeleteStoredWorkflowsStoredWorkflowId_PathParams extends never ? {} : {
|
|
11065
|
+
params: DeleteStoredWorkflowsStoredWorkflowId_PathParams;
|
|
11066
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
11067
|
+
query?: never;
|
|
11068
|
+
} : {
|
|
11069
|
+
query: never;
|
|
11070
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
11071
|
+
body?: never;
|
|
11072
|
+
} : {
|
|
11073
|
+
body: never;
|
|
11074
|
+
})>;
|
|
11075
|
+
export interface DeleteStoredWorkflowsStoredWorkflowId_RouteContract {
|
|
11076
|
+
pathParams: DeleteStoredWorkflowsStoredWorkflowId_PathParams;
|
|
11077
|
+
queryParams: never;
|
|
11078
|
+
body: never;
|
|
11079
|
+
request: DeleteStoredWorkflowsStoredWorkflowId_Request;
|
|
11080
|
+
response: DeleteStoredWorkflowsStoredWorkflowId_Response;
|
|
11081
|
+
responseType: 'json';
|
|
11082
|
+
}
|
|
10798
11083
|
export type GetStoredMcpClients_QueryParams = {
|
|
10799
11084
|
page: number | undefined;
|
|
10800
11085
|
perPage: number | undefined;
|
|
@@ -10816,7 +11101,7 @@ export type GetStoredMcpClients_Response = {
|
|
|
10816
11101
|
page: number;
|
|
10817
11102
|
perPage: number | false;
|
|
10818
11103
|
hasMore: boolean;
|
|
10819
|
-
mcpClients:
|
|
11104
|
+
mcpClients: Shared_Type_107[];
|
|
10820
11105
|
};
|
|
10821
11106
|
export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
|
|
10822
11107
|
params: never;
|
|
@@ -10842,7 +11127,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
|
|
|
10842
11127
|
storedMCPClientId: string;
|
|
10843
11128
|
};
|
|
10844
11129
|
export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
10845
|
-
export type GetStoredMcpClientsStoredMCPClientId_Response =
|
|
11130
|
+
export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_107;
|
|
10846
11131
|
export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
|
|
10847
11132
|
params: GetStoredMcpClientsStoredMCPClientId_PathParams;
|
|
10848
11133
|
}) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
|
|
@@ -10877,7 +11162,7 @@ export type PostStoredMcpClients_Body = {
|
|
|
10877
11162
|
description?: string | undefined;
|
|
10878
11163
|
/** Map of server name to server configuration */
|
|
10879
11164
|
servers: {
|
|
10880
|
-
[key: string]:
|
|
11165
|
+
[key: string]: Shared_Type_106;
|
|
10881
11166
|
};
|
|
10882
11167
|
};
|
|
10883
11168
|
export type PostStoredMcpClients_Response = GetStoredMcpClientsStoredMCPClientId_Response;
|
|
@@ -10912,7 +11197,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Body = {
|
|
|
10912
11197
|
description?: (string | undefined) | undefined;
|
|
10913
11198
|
/** Map of server name to server configuration */
|
|
10914
11199
|
servers?: {
|
|
10915
|
-
[key: string]:
|
|
11200
|
+
[key: string]: Shared_Type_106;
|
|
10916
11201
|
} | undefined;
|
|
10917
11202
|
};
|
|
10918
11203
|
export type PatchStoredMcpClientsStoredMCPClientId_Response = {
|
|
@@ -10925,7 +11210,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
|
|
|
10925
11210
|
} | undefined;
|
|
10926
11211
|
createdAt: Date;
|
|
10927
11212
|
updatedAt: Date;
|
|
10928
|
-
} |
|
|
11213
|
+
} | Shared_Type_107;
|
|
10929
11214
|
export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
|
|
10930
11215
|
params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
|
|
10931
11216
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -10976,7 +11261,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
|
|
|
10976
11261
|
page: number;
|
|
10977
11262
|
perPage: number | false;
|
|
10978
11263
|
hasMore: boolean;
|
|
10979
|
-
versions:
|
|
11264
|
+
versions: Shared_Type_109[];
|
|
10980
11265
|
};
|
|
10981
11266
|
export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
|
|
10982
11267
|
params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
|
|
@@ -11008,7 +11293,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
|
|
|
11008
11293
|
/** Description of the MCP client */
|
|
11009
11294
|
description?: (string | undefined) | undefined;
|
|
11010
11295
|
servers?: {
|
|
11011
|
-
[key: string]:
|
|
11296
|
+
[key: string]: Shared_Type_108;
|
|
11012
11297
|
} | undefined;
|
|
11013
11298
|
/** Array of field names that changed from the previous version */
|
|
11014
11299
|
changedFields?: (string[] | undefined) | undefined;
|
|
@@ -11053,7 +11338,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
|
|
|
11053
11338
|
/** Description of the MCP client */
|
|
11054
11339
|
description?: string | undefined;
|
|
11055
11340
|
servers: {
|
|
11056
|
-
[key: string]:
|
|
11341
|
+
[key: string]: Shared_Type_108;
|
|
11057
11342
|
};
|
|
11058
11343
|
/** Array of field names that changed from the previous version */
|
|
11059
11344
|
changedFields?: string[] | undefined;
|
|
@@ -11075,7 +11360,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
|
|
|
11075
11360
|
/** Description of the MCP client */
|
|
11076
11361
|
description?: string | undefined;
|
|
11077
11362
|
servers: {
|
|
11078
|
-
[key: string]:
|
|
11363
|
+
[key: string]: Shared_Type_108;
|
|
11079
11364
|
};
|
|
11080
11365
|
/** Array of field names that changed from the previous version */
|
|
11081
11366
|
changedFields?: string[] | undefined;
|
|
@@ -11110,7 +11395,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
|
|
|
11110
11395
|
/** Unique identifier for the version (UUID) */
|
|
11111
11396
|
versionId: string;
|
|
11112
11397
|
};
|
|
11113
|
-
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response =
|
|
11398
|
+
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_109;
|
|
11114
11399
|
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
|
|
11115
11400
|
params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
|
|
11116
11401
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -11214,7 +11499,7 @@ export type GetStoredPromptBlocks_Response = {
|
|
|
11214
11499
|
page: number;
|
|
11215
11500
|
perPage: number | false;
|
|
11216
11501
|
hasMore: boolean;
|
|
11217
|
-
promptBlocks:
|
|
11502
|
+
promptBlocks: Shared_Type_110[];
|
|
11218
11503
|
};
|
|
11219
11504
|
export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
|
|
11220
11505
|
params: never;
|
|
@@ -11240,7 +11525,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
|
|
|
11240
11525
|
storedPromptBlockId: string;
|
|
11241
11526
|
};
|
|
11242
11527
|
export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
11243
|
-
export type GetStoredPromptBlocksStoredPromptBlockId_Response =
|
|
11528
|
+
export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_110;
|
|
11244
11529
|
export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
|
|
11245
11530
|
params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
|
|
11246
11531
|
}) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
|
|
@@ -11331,7 +11616,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
|
|
|
11331
11616
|
} | undefined;
|
|
11332
11617
|
createdAt: Date;
|
|
11333
11618
|
updatedAt: Date;
|
|
11334
|
-
} |
|
|
11619
|
+
} | Shared_Type_110;
|
|
11335
11620
|
export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
|
|
11336
11621
|
params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
|
|
11337
11622
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -11382,7 +11667,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
|
|
|
11382
11667
|
page: number;
|
|
11383
11668
|
perPage: number | false;
|
|
11384
11669
|
hasMore: boolean;
|
|
11385
|
-
versions:
|
|
11670
|
+
versions: Shared_Type_111[];
|
|
11386
11671
|
};
|
|
11387
11672
|
export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
|
|
11388
11673
|
params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
|
|
@@ -11531,7 +11816,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
|
|
|
11531
11816
|
/** Unique identifier for the version (UUID) */
|
|
11532
11817
|
versionId: string;
|
|
11533
11818
|
};
|
|
11534
|
-
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response =
|
|
11819
|
+
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_111;
|
|
11535
11820
|
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
|
|
11536
11821
|
params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
|
|
11537
11822
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -11635,7 +11920,7 @@ export type GetStoredScorers_Response = {
|
|
|
11635
11920
|
page: number;
|
|
11636
11921
|
perPage: number | false;
|
|
11637
11922
|
hasMore: boolean;
|
|
11638
|
-
scorerDefinitions:
|
|
11923
|
+
scorerDefinitions: Shared_Type_113[];
|
|
11639
11924
|
};
|
|
11640
11925
|
export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
|
|
11641
11926
|
params: never;
|
|
@@ -11661,7 +11946,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
|
|
|
11661
11946
|
storedScorerId: string;
|
|
11662
11947
|
};
|
|
11663
11948
|
export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
11664
|
-
export type GetStoredScorersStoredScorerId_Response =
|
|
11949
|
+
export type GetStoredScorersStoredScorerId_Response = Shared_Type_113;
|
|
11665
11950
|
export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
|
|
11666
11951
|
params: GetStoredScorersStoredScorerId_PathParams;
|
|
11667
11952
|
}) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
|
|
@@ -11695,13 +11980,13 @@ export type PostStoredScorers_Body = {
|
|
|
11695
11980
|
/** Description of the scorer */
|
|
11696
11981
|
description?: string | undefined;
|
|
11697
11982
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
11698
|
-
type:
|
|
11983
|
+
type: Shared_Type_112;
|
|
11699
11984
|
/** Model configuration for LLM judge */
|
|
11700
11985
|
model?: Shared_Type_11 | undefined;
|
|
11701
11986
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
11702
11987
|
instructions?: string | undefined;
|
|
11703
11988
|
/** Score range configuration (used when type is llm-judge) */
|
|
11704
|
-
scoreRange?:
|
|
11989
|
+
scoreRange?: Shared_Type_114;
|
|
11705
11990
|
/** Serializable config options for preset scorers */
|
|
11706
11991
|
presetConfig?: {
|
|
11707
11992
|
[key: string]: unknown;
|
|
@@ -11745,13 +12030,13 @@ export type PatchStoredScorersStoredScorerId_Body = {
|
|
|
11745
12030
|
/** Description of the scorer */
|
|
11746
12031
|
description?: (string | undefined) | undefined;
|
|
11747
12032
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
11748
|
-
type?:
|
|
12033
|
+
type?: Shared_Type_112 | undefined;
|
|
11749
12034
|
/** Model configuration for LLM judge */
|
|
11750
12035
|
model?: (Shared_Type_11 | undefined) | undefined;
|
|
11751
12036
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
11752
12037
|
instructions?: (string | undefined) | undefined;
|
|
11753
12038
|
/** Score range configuration (used when type is llm-judge) */
|
|
11754
|
-
scoreRange?:
|
|
12039
|
+
scoreRange?: Shared_Type_114 | undefined;
|
|
11755
12040
|
/** Serializable config options for preset scorers */
|
|
11756
12041
|
presetConfig?: ({
|
|
11757
12042
|
[key: string]: unknown;
|
|
@@ -11774,7 +12059,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
|
|
|
11774
12059
|
} | undefined;
|
|
11775
12060
|
createdAt: Date;
|
|
11776
12061
|
updatedAt: Date;
|
|
11777
|
-
} |
|
|
12062
|
+
} | Shared_Type_113;
|
|
11778
12063
|
export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
|
|
11779
12064
|
params: PatchStoredScorersStoredScorerId_PathParams;
|
|
11780
12065
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -11825,7 +12110,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
|
|
|
11825
12110
|
page: number;
|
|
11826
12111
|
perPage: number | false;
|
|
11827
12112
|
hasMore: boolean;
|
|
11828
|
-
versions:
|
|
12113
|
+
versions: Shared_Type_115[];
|
|
11829
12114
|
};
|
|
11830
12115
|
export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
|
|
11831
12116
|
params: GetStoredScorersScorerIdVersions_PathParams;
|
|
@@ -11856,7 +12141,7 @@ export type PostStoredScorersScorerIdVersions_Response = {
|
|
|
11856
12141
|
name?: string | undefined;
|
|
11857
12142
|
/** Description of the scorer */
|
|
11858
12143
|
description?: (string | undefined) | undefined;
|
|
11859
|
-
type?:
|
|
12144
|
+
type?: Shared_Type_112 | undefined;
|
|
11860
12145
|
model?: (Shared_Type_11 | undefined) | undefined;
|
|
11861
12146
|
instructions?: (string | undefined) | undefined;
|
|
11862
12147
|
scoreRange?: ({
|
|
@@ -11914,7 +12199,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
|
|
|
11914
12199
|
name: string;
|
|
11915
12200
|
/** Description of the scorer */
|
|
11916
12201
|
description?: string | undefined;
|
|
11917
|
-
type:
|
|
12202
|
+
type: Shared_Type_112;
|
|
11918
12203
|
model?: Shared_Type_11 | undefined;
|
|
11919
12204
|
instructions?: string | undefined;
|
|
11920
12205
|
scoreRange?: {
|
|
@@ -11949,7 +12234,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
|
|
|
11949
12234
|
name: string;
|
|
11950
12235
|
/** Description of the scorer */
|
|
11951
12236
|
description?: string | undefined;
|
|
11952
|
-
type:
|
|
12237
|
+
type: Shared_Type_112;
|
|
11953
12238
|
model?: Shared_Type_11 | undefined;
|
|
11954
12239
|
instructions?: string | undefined;
|
|
11955
12240
|
scoreRange?: {
|
|
@@ -11998,7 +12283,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
|
|
|
11998
12283
|
/** Unique identifier for the version (UUID) */
|
|
11999
12284
|
versionId: string;
|
|
12000
12285
|
};
|
|
12001
|
-
export type GetStoredScorersScorerIdVersionsVersionId_Response =
|
|
12286
|
+
export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_115;
|
|
12002
12287
|
export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
|
|
12003
12288
|
params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
|
|
12004
12289
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -12158,7 +12443,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
|
|
|
12158
12443
|
/** Unique identifier for the stored workspace */
|
|
12159
12444
|
storedWorkspaceId: string;
|
|
12160
12445
|
};
|
|
12161
|
-
export type GetStoredWorkspacesStoredWorkspaceId_Response =
|
|
12446
|
+
export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_116;
|
|
12162
12447
|
export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
|
|
12163
12448
|
params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
|
|
12164
12449
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -12264,7 +12549,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
|
|
|
12264
12549
|
} | undefined;
|
|
12265
12550
|
createdAt: Date;
|
|
12266
12551
|
updatedAt: Date;
|
|
12267
|
-
} |
|
|
12552
|
+
} | Shared_Type_116;
|
|
12268
12553
|
export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
|
|
12269
12554
|
params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
|
|
12270
12555
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -12332,7 +12617,7 @@ export type GetStoredSkills_Response = {
|
|
|
12332
12617
|
page: number;
|
|
12333
12618
|
perPage: number | false;
|
|
12334
12619
|
hasMore: boolean;
|
|
12335
|
-
skills:
|
|
12620
|
+
skills: Shared_Type_118[];
|
|
12336
12621
|
};
|
|
12337
12622
|
export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
|
|
12338
12623
|
params: never;
|
|
@@ -12357,7 +12642,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
|
|
|
12357
12642
|
/** Unique identifier for the stored skill */
|
|
12358
12643
|
storedSkillId: string;
|
|
12359
12644
|
};
|
|
12360
|
-
export type GetStoredSkillsStoredSkillId_Response =
|
|
12645
|
+
export type GetStoredSkillsStoredSkillId_Response = Shared_Type_118;
|
|
12361
12646
|
export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
|
|
12362
12647
|
params: GetStoredSkillsStoredSkillId_PathParams;
|
|
12363
12648
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -12395,7 +12680,7 @@ export type PostStoredSkills_Body = {
|
|
|
12395
12680
|
/** Compatibility requirements */
|
|
12396
12681
|
compatibility?: unknown | undefined;
|
|
12397
12682
|
/** Source location of the skill */
|
|
12398
|
-
source?:
|
|
12683
|
+
source?: Shared_Type_117 | undefined;
|
|
12399
12684
|
/** List of reference file paths */
|
|
12400
12685
|
references?: string[] | undefined;
|
|
12401
12686
|
/** List of script file paths */
|
|
@@ -12403,7 +12688,7 @@ export type PostStoredSkills_Body = {
|
|
|
12403
12688
|
/** List of asset file paths */
|
|
12404
12689
|
assets?: string[] | undefined;
|
|
12405
12690
|
/** Full file tree structure for the skill */
|
|
12406
|
-
files?:
|
|
12691
|
+
files?: Shared_Auxiliary_1214[] | undefined;
|
|
12407
12692
|
/** Additional metadata for the skill */
|
|
12408
12693
|
metadata?: {
|
|
12409
12694
|
[key: string]: unknown;
|
|
@@ -12445,7 +12730,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
12445
12730
|
/** Compatibility requirements */
|
|
12446
12731
|
compatibility?: (unknown | undefined) | undefined;
|
|
12447
12732
|
/** Source location of the skill */
|
|
12448
|
-
source?: (
|
|
12733
|
+
source?: (Shared_Type_117 | undefined) | undefined;
|
|
12449
12734
|
/** List of reference file paths */
|
|
12450
12735
|
references?: (string[] | undefined) | undefined;
|
|
12451
12736
|
/** List of script file paths */
|
|
@@ -12453,7 +12738,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
12453
12738
|
/** List of asset file paths */
|
|
12454
12739
|
assets?: (string[] | undefined) | undefined;
|
|
12455
12740
|
/** Full file tree structure for the skill */
|
|
12456
|
-
files?: (
|
|
12741
|
+
files?: (Shared_Auxiliary_1214[] | undefined) | undefined;
|
|
12457
12742
|
/** Additional metadata for the skill */
|
|
12458
12743
|
metadata?: ({
|
|
12459
12744
|
[key: string]: unknown;
|
|
@@ -12467,7 +12752,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
|
|
|
12467
12752
|
visibility?: ('private' | 'public') | undefined;
|
|
12468
12753
|
createdAt: Date;
|
|
12469
12754
|
updatedAt: Date;
|
|
12470
|
-
} |
|
|
12755
|
+
} | Shared_Type_118;
|
|
12471
12756
|
export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
|
|
12472
12757
|
params: PatchStoredSkillsStoredSkillId_PathParams;
|
|
12473
12758
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13178,7 +13463,7 @@ export interface GetSystemApiSchema_RouteContract {
|
|
|
13178
13463
|
}
|
|
13179
13464
|
export type GetDatasets_QueryParams = GetScoresRunRunId_QueryParams;
|
|
13180
13465
|
export type GetDatasets_Response = {
|
|
13181
|
-
datasets:
|
|
13466
|
+
datasets: Shared_Type_119[];
|
|
13182
13467
|
pagination: {
|
|
13183
13468
|
total: number;
|
|
13184
13469
|
page: number;
|
|
@@ -13233,7 +13518,7 @@ export type PostDatasets_Body = {
|
|
|
13233
13518
|
/** IDs of scorers attached to this dataset */
|
|
13234
13519
|
scorerIds?: string[] | undefined;
|
|
13235
13520
|
};
|
|
13236
|
-
export type PostDatasets_Response =
|
|
13521
|
+
export type PostDatasets_Response = Shared_Type_119;
|
|
13237
13522
|
export type PostDatasets_Request = Simplify<(never extends never ? {} : {
|
|
13238
13523
|
params: never;
|
|
13239
13524
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13263,7 +13548,7 @@ export type GetDatasetsDatasetId_QueryParams = {
|
|
|
13263
13548
|
/** Restrict lookup to the given project */
|
|
13264
13549
|
projectId?: string | undefined;
|
|
13265
13550
|
};
|
|
13266
|
-
export type GetDatasetsDatasetId_Response =
|
|
13551
|
+
export type GetDatasetsDatasetId_Response = Shared_Type_119 | null;
|
|
13267
13552
|
export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
|
|
13268
13553
|
params: GetDatasetsDatasetId_PathParams;
|
|
13269
13554
|
}) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
|
|
@@ -13365,7 +13650,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
|
|
|
13365
13650
|
search?: string | undefined;
|
|
13366
13651
|
};
|
|
13367
13652
|
export type GetDatasetsDatasetIdItems_Response = {
|
|
13368
|
-
items:
|
|
13653
|
+
items: Shared_Type_122[];
|
|
13369
13654
|
pagination: {
|
|
13370
13655
|
total: number;
|
|
13371
13656
|
page: number;
|
|
@@ -13401,9 +13686,9 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
13401
13686
|
/** Expected output for comparison */
|
|
13402
13687
|
groundTruth?: unknown | undefined;
|
|
13403
13688
|
/** Expected trajectory configuration for trajectory scoring */
|
|
13404
|
-
expectedTrajectory?: (
|
|
13689
|
+
expectedTrajectory?: (Shared_Type_137 | undefined) | null;
|
|
13405
13690
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13406
|
-
toolMocks?:
|
|
13691
|
+
toolMocks?: Shared_Type_120[] | undefined;
|
|
13407
13692
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13408
13693
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13409
13694
|
/** Request context preset for this item */
|
|
@@ -13415,9 +13700,9 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
13415
13700
|
[key: string]: unknown;
|
|
13416
13701
|
} | undefined;
|
|
13417
13702
|
/** Source/provenance of this dataset item */
|
|
13418
|
-
source?:
|
|
13703
|
+
source?: Shared_Type_121 | undefined;
|
|
13419
13704
|
};
|
|
13420
|
-
export type PostDatasetsDatasetIdItems_Response =
|
|
13705
|
+
export type PostDatasetsDatasetIdItems_Response = Shared_Type_122;
|
|
13421
13706
|
export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
|
|
13422
13707
|
params: PostDatasetsDatasetIdItems_PathParams;
|
|
13423
13708
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13444,9 +13729,9 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
13444
13729
|
input: unknown;
|
|
13445
13730
|
groundTruth?: unknown | undefined;
|
|
13446
13731
|
/** Expected trajectory configuration for trajectory scoring */
|
|
13447
|
-
expectedTrajectory?: (
|
|
13732
|
+
expectedTrajectory?: (Shared_Type_137 | undefined) | null;
|
|
13448
13733
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13449
|
-
toolMocks?:
|
|
13734
|
+
toolMocks?: Shared_Type_120[] | undefined;
|
|
13450
13735
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13451
13736
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13452
13737
|
requestContext?: {
|
|
@@ -13456,11 +13741,11 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
13456
13741
|
[key: string]: unknown;
|
|
13457
13742
|
} | undefined;
|
|
13458
13743
|
/** Source/provenance of this dataset item */
|
|
13459
|
-
source?:
|
|
13744
|
+
source?: Shared_Type_121 | undefined;
|
|
13460
13745
|
}[];
|
|
13461
13746
|
};
|
|
13462
13747
|
export type PostDatasetsDatasetIdItemsBatch_Response = {
|
|
13463
|
-
items:
|
|
13748
|
+
items: Shared_Type_122[];
|
|
13464
13749
|
count: number;
|
|
13465
13750
|
};
|
|
13466
13751
|
export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
|
|
@@ -13515,7 +13800,7 @@ export type GetDatasetsDatasetIdItemsItemId_PathParams = {
|
|
|
13515
13800
|
/** Unique identifier for the dataset item */
|
|
13516
13801
|
itemId: string;
|
|
13517
13802
|
};
|
|
13518
|
-
export type GetDatasetsDatasetIdItemsItemId_Response =
|
|
13803
|
+
export type GetDatasetsDatasetIdItemsItemId_Response = Shared_Type_122 | null;
|
|
13519
13804
|
export type GetDatasetsDatasetIdItemsItemId_Request = Simplify<(GetDatasetsDatasetIdItemsItemId_PathParams extends never ? {} : {
|
|
13520
13805
|
params: GetDatasetsDatasetIdItemsItemId_PathParams;
|
|
13521
13806
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13542,9 +13827,9 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
13542
13827
|
/** Expected output for comparison */
|
|
13543
13828
|
groundTruth?: unknown | undefined;
|
|
13544
13829
|
/** Expected trajectory configuration for trajectory scoring */
|
|
13545
|
-
expectedTrajectory?: (
|
|
13830
|
+
expectedTrajectory?: (Shared_Type_137 | undefined) | null;
|
|
13546
13831
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13547
|
-
toolMocks?:
|
|
13832
|
+
toolMocks?: Shared_Type_120[] | undefined;
|
|
13548
13833
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13549
13834
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13550
13835
|
/** Request context preset for this item */
|
|
@@ -13556,7 +13841,7 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
13556
13841
|
[key: string]: unknown;
|
|
13557
13842
|
} | undefined;
|
|
13558
13843
|
/** Source/provenance of this dataset item */
|
|
13559
|
-
source?:
|
|
13844
|
+
source?: Shared_Type_121 | undefined;
|
|
13560
13845
|
};
|
|
13561
13846
|
export type PatchDatasetsDatasetIdItemsItemId_Response = PostDatasetsDatasetIdItems_Response;
|
|
13562
13847
|
export type PatchDatasetsDatasetIdItemsItemId_Request = Simplify<(PatchDatasetsDatasetIdItemsItemId_PathParams extends never ? {} : {
|
|
@@ -13644,7 +13929,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
|
|
|
13644
13929
|
groundTruth?: unknown | undefined;
|
|
13645
13930
|
expectedTrajectory?: unknown | undefined;
|
|
13646
13931
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
13647
|
-
toolMocks?:
|
|
13932
|
+
toolMocks?: Shared_Type_120[] | undefined;
|
|
13648
13933
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
13649
13934
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
13650
13935
|
metadata?: {
|
|
@@ -13705,7 +13990,7 @@ export interface GetDatasetsDatasetIdItemsItemIdVersionsDatasetVersion_RouteCont
|
|
|
13705
13990
|
}
|
|
13706
13991
|
export type GetExperiments_QueryParams = GetScoresRunRunId_QueryParams;
|
|
13707
13992
|
export type GetExperiments_Response = {
|
|
13708
|
-
experiments:
|
|
13993
|
+
experiments: Shared_Type_138[];
|
|
13709
13994
|
pagination: {
|
|
13710
13995
|
total: number;
|
|
13711
13996
|
page: number;
|
|
@@ -13831,7 +14116,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
|
|
|
13831
14116
|
completedAt: Date;
|
|
13832
14117
|
retryCount: number;
|
|
13833
14118
|
/** Diagnostic receipt for item-level tool mocks */
|
|
13834
|
-
toolMockReport?: (
|
|
14119
|
+
toolMockReport?: (Shared_Type_139 | undefined) | null;
|
|
13835
14120
|
scores: {
|
|
13836
14121
|
scorerId: string;
|
|
13837
14122
|
scorerName: string;
|
|
@@ -13866,7 +14151,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = {
|
|
|
13866
14151
|
/** Unique identifier for the experiment */
|
|
13867
14152
|
experimentId: string;
|
|
13868
14153
|
};
|
|
13869
|
-
export type GetDatasetsDatasetIdExperimentsExperimentId_Response =
|
|
14154
|
+
export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_138 | null;
|
|
13870
14155
|
export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
|
|
13871
14156
|
params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
|
|
13872
14157
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13889,7 +14174,7 @@ export interface GetDatasetsDatasetIdExperimentsExperimentId_RouteContract {
|
|
|
13889
14174
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_PathParams = GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
|
|
13890
14175
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = GetScoresRunRunId_QueryParams;
|
|
13891
14176
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
|
|
13892
|
-
results:
|
|
14177
|
+
results: Shared_Type_140[];
|
|
13893
14178
|
pagination: {
|
|
13894
14179
|
total: number;
|
|
13895
14180
|
page: number;
|
|
@@ -13929,7 +14214,7 @@ export type PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_Body =
|
|
|
13929
14214
|
tags?: string[] | undefined;
|
|
13930
14215
|
comment?: (string | null) | undefined;
|
|
13931
14216
|
};
|
|
13932
|
-
export type PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_Response =
|
|
14217
|
+
export type PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_Response = Shared_Type_140;
|
|
13933
14218
|
export type PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_Request = Simplify<(PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_PathParams extends never ? {} : {
|
|
13934
14219
|
params: PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_PathParams;
|
|
13935
14220
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14132,7 +14417,7 @@ export type GetBackgroundTasks_QueryParams = {
|
|
|
14132
14417
|
perPage?: number | undefined;
|
|
14133
14418
|
};
|
|
14134
14419
|
export type GetBackgroundTasks_Response = {
|
|
14135
|
-
tasks:
|
|
14420
|
+
tasks: Shared_Type_141[];
|
|
14136
14421
|
total: number;
|
|
14137
14422
|
};
|
|
14138
14423
|
export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
|
|
@@ -14157,7 +14442,7 @@ export interface GetBackgroundTasks_RouteContract {
|
|
|
14157
14442
|
export type GetBackgroundTasksBackgroundTaskId_PathParams = {
|
|
14158
14443
|
backgroundTaskId: string;
|
|
14159
14444
|
};
|
|
14160
|
-
export type GetBackgroundTasksBackgroundTaskId_Response =
|
|
14445
|
+
export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_141;
|
|
14161
14446
|
export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
|
|
14162
14447
|
params: GetBackgroundTasksBackgroundTaskId_PathParams;
|
|
14163
14448
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14197,8 +14482,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
14197
14482
|
configuration?: {
|
|
14198
14483
|
agent?: {
|
|
14199
14484
|
models?: {
|
|
14200
|
-
allowed?:
|
|
14201
|
-
default?:
|
|
14485
|
+
allowed?: Shared_Type_142[] | undefined;
|
|
14486
|
+
default?: Shared_Type_143 | undefined;
|
|
14202
14487
|
} | undefined;
|
|
14203
14488
|
tools?: {
|
|
14204
14489
|
allowed?: string[] | undefined;
|
|
@@ -14215,8 +14500,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
14215
14500
|
modelPolicy?: {
|
|
14216
14501
|
active: boolean;
|
|
14217
14502
|
pickerVisible?: boolean | undefined;
|
|
14218
|
-
allowed?:
|
|
14219
|
-
default?:
|
|
14503
|
+
allowed?: Shared_Type_142[] | undefined;
|
|
14504
|
+
default?: Shared_Type_143 | undefined;
|
|
14220
14505
|
} | undefined;
|
|
14221
14506
|
picker?: {
|
|
14222
14507
|
visibleTools: string[] | null;
|
|
@@ -14850,7 +15135,7 @@ export type GetSchedules_QueryParams = {
|
|
|
14850
15135
|
name?: string | undefined;
|
|
14851
15136
|
};
|
|
14852
15137
|
export type GetSchedules_Response = {
|
|
14853
|
-
schedules: (
|
|
15138
|
+
schedules: (Shared_Type_146 | Shared_Type_148)[];
|
|
14854
15139
|
};
|
|
14855
15140
|
export type GetSchedules_Request = Simplify<(never extends never ? {} : {
|
|
14856
15141
|
params: never;
|
|
@@ -14874,7 +15159,7 @@ export interface GetSchedules_RouteContract {
|
|
|
14874
15159
|
export type GetSchedulesScheduleId_PathParams = {
|
|
14875
15160
|
scheduleId: string;
|
|
14876
15161
|
};
|
|
14877
|
-
export type GetSchedulesScheduleId_Response =
|
|
15162
|
+
export type GetSchedulesScheduleId_Response = Shared_Type_146 | Shared_Type_148;
|
|
14878
15163
|
export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
|
|
14879
15164
|
params: GetSchedulesScheduleId_PathParams;
|
|
14880
15165
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14908,8 +15193,8 @@ export type PostSchedules_Body = {
|
|
|
14908
15193
|
attributes?: {
|
|
14909
15194
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
14910
15195
|
} | undefined;
|
|
14911
|
-
ifActive?:
|
|
14912
|
-
ifIdle?:
|
|
15196
|
+
ifActive?: Shared_Type_144 | undefined;
|
|
15197
|
+
ifIdle?: Shared_Type_145 | undefined;
|
|
14913
15198
|
providerOptions?: {
|
|
14914
15199
|
[key: string]: unknown;
|
|
14915
15200
|
} | undefined;
|
|
@@ -14965,8 +15250,8 @@ export type PatchSchedulesScheduleId_Body = {
|
|
|
14965
15250
|
attributes?: {
|
|
14966
15251
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
14967
15252
|
} | undefined;
|
|
14968
|
-
ifActive?:
|
|
14969
|
-
ifIdle?:
|
|
15253
|
+
ifActive?: Shared_Type_144 | undefined;
|
|
15254
|
+
ifIdle?: Shared_Type_145 | undefined;
|
|
14970
15255
|
providerOptions?: {
|
|
14971
15256
|
[key: string]: unknown;
|
|
14972
15257
|
} | undefined;
|
|
@@ -15037,7 +15322,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
|
|
|
15037
15322
|
metadata?: {
|
|
15038
15323
|
[key: string]: unknown;
|
|
15039
15324
|
} | undefined;
|
|
15040
|
-
run?:
|
|
15325
|
+
run?: Shared_Type_147 | undefined;
|
|
15041
15326
|
}[];
|
|
15042
15327
|
};
|
|
15043
15328
|
export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
|
|
@@ -16473,6 +16758,10 @@ export interface RouteTypes {
|
|
|
16473
16758
|
'DELETE /stored/agents/:agentId/versions/:versionId': DeleteStoredAgentsAgentIdVersionsVersionId_RouteContract;
|
|
16474
16759
|
'PUT /stored/agents/:storedAgentId/favorite': PutStoredAgentsStoredAgentIdFavorite_RouteContract;
|
|
16475
16760
|
'DELETE /stored/agents/:storedAgentId/favorite': DeleteStoredAgentsStoredAgentIdFavorite_RouteContract;
|
|
16761
|
+
'GET /stored/workflows': GetStoredWorkflows_RouteContract;
|
|
16762
|
+
'POST /stored/workflows': PostStoredWorkflows_RouteContract;
|
|
16763
|
+
'GET /stored/workflows/:storedWorkflowId': GetStoredWorkflowsStoredWorkflowId_RouteContract;
|
|
16764
|
+
'DELETE /stored/workflows/:storedWorkflowId': DeleteStoredWorkflowsStoredWorkflowId_RouteContract;
|
|
16476
16765
|
'GET /stored/mcp-clients': GetStoredMcpClients_RouteContract;
|
|
16477
16766
|
'GET /stored/mcp-clients/:storedMCPClientId': GetStoredMcpClientsStoredMCPClientId_RouteContract;
|
|
16478
16767
|
'POST /stored/mcp-clients': PostStoredMcpClients_RouteContract;
|
|
@@ -17468,6 +17757,14 @@ export interface Client {
|
|
|
17468
17757
|
'/stored/skills/:storedSkillId/publish': {
|
|
17469
17758
|
POST: PostStoredSkillsStoredSkillIdPublish_RouteContract;
|
|
17470
17759
|
};
|
|
17760
|
+
'/stored/workflows': {
|
|
17761
|
+
GET: GetStoredWorkflows_RouteContract;
|
|
17762
|
+
POST: PostStoredWorkflows_RouteContract;
|
|
17763
|
+
};
|
|
17764
|
+
'/stored/workflows/:storedWorkflowId': {
|
|
17765
|
+
DELETE: DeleteStoredWorkflowsStoredWorkflowId_RouteContract;
|
|
17766
|
+
GET: GetStoredWorkflowsStoredWorkflowId_RouteContract;
|
|
17767
|
+
};
|
|
17471
17768
|
'/stored/workspaces': {
|
|
17472
17769
|
GET: GetStoredWorkspaces_RouteContract;
|
|
17473
17770
|
POST: PostStoredWorkspaces_RouteContract;
|