@mastra/client-js 1.59.0-alpha.1 → 1.59.0-alpha.3

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.
@@ -131,7 +131,7 @@ type InputShared_Auxiliary_278 = {
131
131
  none: InputShared_Auxiliary_208;
132
132
  };
133
133
  };
134
- type InputShared_Auxiliary_721 = {
134
+ type InputShared_Auxiliary_731 = {
135
135
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
136
136
  left: {
137
137
  path: string;
@@ -163,24 +163,24 @@ type InputShared_Auxiliary_721 = {
163
163
  };
164
164
  } | {
165
165
  op: 'and' | 'or';
166
- args: InputShared_Auxiliary_721[];
166
+ args: InputShared_Auxiliary_731[];
167
167
  } | {
168
168
  op: 'not';
169
- arg: InputShared_Auxiliary_721;
169
+ arg: InputShared_Auxiliary_731;
170
170
  };
171
- type InputShared_Auxiliary_795 = {
171
+ type InputShared_Auxiliary_805 = {
172
172
  id?: string | undefined;
173
173
  name: string;
174
174
  type: 'file' | 'folder';
175
175
  content?: string | undefined;
176
- children?: InputShared_Auxiliary_795[] | undefined;
176
+ children?: InputShared_Auxiliary_805[] | undefined;
177
177
  };
178
- type Shared_Auxiliary_788 = {
178
+ type Shared_Auxiliary_790 = {
179
179
  id?: string | undefined;
180
180
  name: string;
181
181
  type: 'file' | 'folder';
182
182
  content?: string | undefined;
183
- children?: Shared_Auxiliary_788[] | undefined;
183
+ children?: Shared_Auxiliary_790[] | undefined;
184
184
  };
185
185
  type InputShared_Type_0 = {
186
186
  thread: string | {
@@ -1333,7 +1333,7 @@ type InputShared_Type_89 = {
1333
1333
  [key: string]: unknown;
1334
1334
  } | undefined;
1335
1335
  steps: InputShared_Type_84[];
1336
- predicates: InputShared_Auxiliary_721[];
1336
+ predicates: InputShared_Auxiliary_731[];
1337
1337
  };
1338
1338
  type InputShared_Type_90 = {
1339
1339
  type: 'loop';
@@ -1344,7 +1344,7 @@ type InputShared_Type_90 = {
1344
1344
  } | undefined;
1345
1345
  step: InputShared_Type_84;
1346
1346
  loopType: 'dowhile' | 'dountil';
1347
- predicate: InputShared_Auxiliary_721;
1347
+ predicate: InputShared_Auxiliary_731;
1348
1348
  };
1349
1349
  type InputShared_Type_91 = InputShared_Type_81 | InputShared_Type_82 | InputShared_Type_83 | {
1350
1350
  type: 'workflow';
@@ -1699,6 +1699,13 @@ type Shared_Type_5 = {
1699
1699
  [x: string]: unknown;
1700
1700
  };
1701
1701
  type Shared_Type_6 = {
1702
+ instructions?: boolean | undefined;
1703
+ tools?: (boolean | {
1704
+ description?: boolean | undefined;
1705
+ }) | undefined;
1706
+ model?: boolean | undefined;
1707
+ };
1708
+ type Shared_Type_7 = {
1702
1709
  name: string;
1703
1710
  description?: string | undefined;
1704
1711
  metadata?: {
@@ -1755,14 +1762,9 @@ type Shared_Type_6 = {
1755
1762
  status?: ('draft' | 'published' | 'archived') | undefined;
1756
1763
  activeVersionId?: string | undefined;
1757
1764
  hasDraft?: boolean | undefined;
1758
- editor?: (false | {
1759
- instructions?: boolean | undefined;
1760
- tools?: (boolean | {
1761
- description?: boolean | undefined;
1762
- }) | undefined;
1763
- }) | undefined;
1765
+ editor?: (false | Shared_Type_6) | undefined;
1764
1766
  };
1765
- type Shared_Type_7 = {
1767
+ type Shared_Type_8 = {
1766
1768
  id: string;
1767
1769
  name: string;
1768
1770
  label?: string | undefined;
@@ -1775,74 +1777,74 @@ type Shared_Type_7 = {
1775
1777
  [key: string]: string;
1776
1778
  } | undefined;
1777
1779
  };
1778
- type Shared_Type_8 = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
1779
- type Shared_Type_9 = {
1780
+ type Shared_Type_9 = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
1781
+ type Shared_Type_10 = {
1780
1782
  field: string;
1781
- operator: Shared_Type_8;
1783
+ operator: Shared_Type_9;
1782
1784
  value?: unknown | undefined;
1783
1785
  } | {
1784
1786
  operator: 'AND' | 'OR';
1785
1787
  conditions: {
1786
1788
  field: string;
1787
- operator: Shared_Type_8;
1789
+ operator: Shared_Type_9;
1788
1790
  value?: unknown | undefined;
1789
1791
  }[];
1790
1792
  };
1791
- type Shared_Type_10 = {
1793
+ type Shared_Type_11 = {
1792
1794
  operator: 'AND' | 'OR';
1793
1795
  conditions: ({
1794
1796
  field: string;
1795
- operator: Shared_Type_8;
1797
+ operator: Shared_Type_9;
1796
1798
  value?: unknown | undefined;
1797
1799
  } | {
1798
1800
  operator: 'AND' | 'OR';
1799
- conditions: Shared_Type_9[];
1801
+ conditions: Shared_Type_10[];
1800
1802
  })[];
1801
1803
  };
1802
- type Shared_Type_11 = {
1804
+ type Shared_Type_12 = {
1803
1805
  type: 'text';
1804
1806
  content: string;
1805
1807
  } | {
1806
1808
  type: 'prompt_block_ref';
1807
1809
  id: string;
1808
- rules?: Shared_Type_10 | undefined;
1810
+ rules?: Shared_Type_11 | undefined;
1809
1811
  } | {
1810
1812
  type: 'prompt_block';
1811
1813
  content: string;
1812
- rules?: Shared_Type_10 | undefined;
1814
+ rules?: Shared_Type_11 | undefined;
1813
1815
  };
1814
- type Shared_Type_12 = {
1816
+ type Shared_Type_13 = {
1815
1817
  /** Model provider (e.g., openai, anthropic) */
1816
1818
  provider: string;
1817
1819
  /** Model name (e.g., gpt-4o, claude-3-opus) */
1818
1820
  name: string;
1819
1821
  [x: string]: unknown;
1820
1822
  };
1821
- type Shared_Type_13 = {
1823
+ type Shared_Type_14 = {
1822
1824
  value: {
1823
1825
  [key: string]: {
1824
1826
  description?: string | undefined;
1825
- rules?: Shared_Type_10 | undefined;
1827
+ rules?: Shared_Type_11 | undefined;
1826
1828
  };
1827
1829
  };
1828
- rules?: Shared_Type_10 | undefined;
1830
+ rules?: Shared_Type_11 | undefined;
1829
1831
  };
1830
- type Shared_Type_14 = {
1832
+ type Shared_Type_15 = {
1831
1833
  tools?: {
1832
1834
  [key: string]: {
1833
1835
  description?: string | undefined;
1834
- rules?: Shared_Type_10 | undefined;
1836
+ rules?: Shared_Type_11 | undefined;
1835
1837
  };
1836
1838
  } | undefined;
1837
1839
  };
1838
- type Shared_Type_15 = {
1840
+ type Shared_Type_16 = {
1839
1841
  kind: 'author' | 'invoker' | 'platform';
1840
1842
  toolkit: string;
1841
1843
  connectionId: string;
1842
1844
  label?: string | undefined;
1843
1845
  scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
1844
1846
  };
1845
- type Shared_Type_16 = {
1847
+ type Shared_Type_17 = {
1846
1848
  tools: {
1847
1849
  [key: string]: {
1848
1850
  toolkit?: string | undefined;
@@ -1850,10 +1852,10 @@ type Shared_Type_16 = {
1850
1852
  };
1851
1853
  };
1852
1854
  connections: {
1853
- [key: string]: Shared_Type_15[];
1855
+ [key: string]: Shared_Type_16[];
1854
1856
  };
1855
1857
  };
1856
- type Shared_Type_17 = {
1858
+ type Shared_Type_18 = {
1857
1859
  /** Unique ID for this step within the graph */
1858
1860
  id: string;
1859
1861
  /** ProcessorProvider ID that creates this processor */
@@ -1865,50 +1867,50 @@ type Shared_Type_17 = {
1865
1867
  /** Which processor phases to enable */
1866
1868
  enabledPhases: ('processInput' | 'processInputStep' | 'processOutputStream' | 'processOutputResult' | 'processOutputStep' | 'processToolResult')[];
1867
1869
  };
1868
- type Shared_Type_18 = {
1870
+ type Shared_Type_19 = {
1869
1871
  type: 'conditional';
1870
1872
  conditions: {
1871
1873
  steps: {
1872
1874
  type: 'step';
1873
- step: Shared_Type_17;
1875
+ step: Shared_Type_18;
1874
1876
  }[];
1875
- rules?: Shared_Type_10 | undefined;
1877
+ rules?: Shared_Type_11 | undefined;
1876
1878
  }[];
1877
1879
  };
1878
- type Shared_Type_19 = {
1880
+ type Shared_Type_20 = {
1879
1881
  type: 'step';
1880
- step: Shared_Type_17;
1882
+ step: Shared_Type_18;
1881
1883
  } | {
1882
1884
  type: 'parallel';
1883
1885
  branches: {
1884
1886
  type: 'step';
1885
- step: Shared_Type_17;
1887
+ step: Shared_Type_18;
1886
1888
  }[][];
1887
- } | Shared_Type_18;
1888
- type Shared_Type_20 = {
1889
+ } | Shared_Type_19;
1890
+ type Shared_Type_21 = {
1889
1891
  type: 'step';
1890
- step: Shared_Type_17;
1892
+ step: Shared_Type_18;
1891
1893
  } | {
1892
1894
  type: 'parallel';
1893
- branches: Shared_Type_19[][];
1895
+ branches: Shared_Type_20[][];
1894
1896
  } | {
1895
1897
  type: 'conditional';
1896
1898
  conditions: {
1897
- steps: Shared_Type_19[];
1898
- rules?: Shared_Type_10 | undefined;
1899
+ steps: Shared_Type_20[];
1900
+ rules?: Shared_Type_11 | undefined;
1899
1901
  }[];
1900
1902
  };
1901
- type Shared_Type_21 = {
1903
+ type Shared_Type_22 = {
1902
1904
  /** Ordered list of processor graph entries */
1903
- steps: Shared_Type_20[];
1905
+ steps: Shared_Type_21[];
1904
1906
  } | {
1905
1907
  value: {
1906
1908
  /** Ordered list of processor graph entries */
1907
- steps: Shared_Type_20[];
1909
+ steps: Shared_Type_21[];
1908
1910
  };
1909
- rules?: Shared_Type_10 | undefined;
1911
+ rules?: Shared_Type_11 | undefined;
1910
1912
  }[];
1911
- type Shared_Type_22 = {
1913
+ type Shared_Type_23 = {
1912
1914
  /** Number of semantically similar messages to retrieve */
1913
1915
  topK: number;
1914
1916
  /** Amount of surrounding context to include with each retrieved message */
@@ -1923,7 +1925,7 @@ type Shared_Type_22 = {
1923
1925
  /** Index name for the vector store */
1924
1926
  indexName?: string | undefined;
1925
1927
  };
1926
- type Shared_Type_23 = {
1928
+ type Shared_Type_24 = {
1927
1929
  /** Model ID in format provider/model-name (ModelRouterModelId); defaults to the agent's own model */
1928
1930
  model?: string | undefined;
1929
1931
  /** Custom instructions for title generation */
@@ -1933,17 +1935,17 @@ type Shared_Type_23 = {
1933
1935
  /** Emit the generated title as a data-thread-title chunk on the run stream */
1934
1936
  emitEvent?: boolean | undefined;
1935
1937
  };
1936
- type Shared_Type_24 = {
1938
+ type Shared_Type_25 = {
1937
1939
  readOnly?: boolean | undefined;
1938
1940
  lastMessages?: (number | false) | undefined;
1939
1941
  messageHistory?: {
1940
1942
  maxTokens: number;
1941
1943
  atMaxRemoveTokens?: number | undefined;
1942
1944
  } | undefined;
1943
- semanticRecall?: (boolean | Shared_Type_22) | undefined;
1944
- generateTitle?: (boolean | Shared_Type_23) | undefined;
1945
+ semanticRecall?: (boolean | Shared_Type_23) | undefined;
1946
+ generateTitle?: (boolean | Shared_Type_24) | undefined;
1945
1947
  };
1946
- type Shared_Type_25 = {
1948
+ type Shared_Type_26 = {
1947
1949
  /** Observer model ID */
1948
1950
  model?: string | undefined;
1949
1951
  /** Token threshold that triggers observation */
@@ -1967,7 +1969,7 @@ type Shared_Type_25 = {
1967
1969
  /** Token threshold for synchronous blocking */
1968
1970
  blockAfter?: number | undefined;
1969
1971
  };
1970
- type Shared_Type_26 = {
1972
+ type Shared_Type_27 = {
1971
1973
  /** Reflector model ID */
1972
1974
  model?: string | undefined;
1973
1975
  /** Token threshold that triggers reflection */
@@ -1987,7 +1989,7 @@ type Shared_Type_26 = {
1987
1989
  /** Ratio for async reflection buffering */
1988
1990
  bufferActivation?: number | undefined;
1989
1991
  };
1990
- type Shared_Type_27 = {
1992
+ type Shared_Type_28 = {
1991
1993
  /** Model ID for both Observer and Reflector */
1992
1994
  model?: string | undefined;
1993
1995
  /** Memory scope */
@@ -1995,15 +1997,15 @@ type Shared_Type_27 = {
1995
1997
  /** Share token budget between messages and observations */
1996
1998
  shareTokenBudget?: boolean | undefined;
1997
1999
  /** Observation step configuration */
1998
- observation?: Shared_Type_25 | undefined;
2000
+ observation?: Shared_Type_26 | undefined;
1999
2001
  /** Reflection step configuration */
2000
- reflection?: Shared_Type_26 | undefined;
2002
+ reflection?: Shared_Type_27 | undefined;
2001
2003
  };
2002
- type Shared_Type_28 = {
2004
+ type Shared_Type_29 = {
2003
2005
  /** Vector database identifier or false to disable */
2004
2006
  vector?: (string | false) | undefined;
2005
2007
  /** Memory behavior configuration, excluding workingMemory and threads */
2006
- options?: Shared_Type_24 | undefined;
2008
+ options?: Shared_Type_25 | undefined;
2007
2009
  /** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
2008
2010
  embedder?: string | undefined;
2009
2011
  /** Options to pass to the embedder, omitting telemetry */
@@ -2011,13 +2013,13 @@ type Shared_Type_28 = {
2011
2013
  [key: string]: unknown;
2012
2014
  } | undefined;
2013
2015
  /** Serialized observational memory configuration */
2014
- observationalMemory?: (boolean | Shared_Type_27) | undefined;
2016
+ observationalMemory?: (boolean | Shared_Type_28) | undefined;
2015
2017
  };
2016
- type Shared_Type_29 = {
2018
+ type Shared_Type_30 = {
2017
2019
  /** Vector database identifier or false to disable */
2018
2020
  vector?: (string | false) | undefined;
2019
2021
  /** Memory behavior configuration, excluding workingMemory and threads */
2020
- options?: Shared_Type_24 | undefined;
2022
+ options?: Shared_Type_25 | undefined;
2021
2023
  /** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
2022
2024
  embedder?: string | undefined;
2023
2025
  /** Options to pass to the embedder, omitting telemetry */
@@ -2025,18 +2027,18 @@ type Shared_Type_29 = {
2025
2027
  [key: string]: unknown;
2026
2028
  } | undefined;
2027
2029
  /** Serialized observational memory configuration */
2028
- observationalMemory?: (boolean | Shared_Type_27) | undefined;
2030
+ observationalMemory?: (boolean | Shared_Type_28) | undefined;
2029
2031
  type?: never | undefined;
2030
2032
  };
2031
- type Shared_Type_30 = {
2033
+ type Shared_Type_31 = {
2032
2034
  type: 'id';
2033
2035
  /** Registry key (or id) of a Memory instance registered on Mastra */
2034
2036
  memoryId: string;
2035
2037
  } | {
2036
2038
  type: 'inline';
2037
- config: Shared_Type_28;
2038
- } | Shared_Type_29;
2039
- type Shared_Type_31 = {
2039
+ config: Shared_Type_29;
2040
+ } | Shared_Type_30;
2041
+ type Shared_Type_32 = {
2040
2042
  description?: string | undefined;
2041
2043
  sampling?: ({
2042
2044
  type: 'none';
@@ -2044,9 +2046,9 @@ type Shared_Type_31 = {
2044
2046
  type: 'ratio';
2045
2047
  rate: number;
2046
2048
  }) | undefined;
2047
- rules?: Shared_Type_10 | undefined;
2049
+ rules?: Shared_Type_11 | undefined;
2048
2050
  };
2049
- type Shared_Type_32 = {
2051
+ type Shared_Type_33 = {
2050
2052
  [key: string]: {
2051
2053
  description?: string | undefined;
2052
2054
  instructions?: string | undefined;
@@ -2054,7 +2056,7 @@ type Shared_Type_32 = {
2054
2056
  strategy?: ('latest' | 'live') | undefined;
2055
2057
  };
2056
2058
  };
2057
- type Shared_Type_33 = {
2059
+ type Shared_Type_34 = {
2058
2060
  /** Filesystem provider name */
2059
2061
  provider: string;
2060
2062
  /** Filesystem provider configuration */
@@ -2062,7 +2064,7 @@ type Shared_Type_33 = {
2062
2064
  [key: string]: unknown;
2063
2065
  };
2064
2066
  } | undefined;
2065
- type Shared_Type_34 = {
2067
+ type Shared_Type_35 = {
2066
2068
  /** Sandbox provider name */
2067
2069
  provider: string;
2068
2070
  /** Sandbox provider configuration */
@@ -2070,7 +2072,7 @@ type Shared_Type_34 = {
2070
2072
  [key: string]: unknown;
2071
2073
  };
2072
2074
  } | undefined;
2073
- type Shared_Type_35 = {
2075
+ type Shared_Type_36 = {
2074
2076
  [key: string]: {
2075
2077
  /** Filesystem provider name */
2076
2078
  provider: string;
@@ -2080,7 +2082,7 @@ type Shared_Type_35 = {
2080
2082
  };
2081
2083
  };
2082
2084
  };
2083
- type Shared_Type_36 = {
2085
+ type Shared_Type_37 = {
2084
2086
  /** Vector store provider identifier */
2085
2087
  vectorProvider?: string | undefined;
2086
2088
  /** Vector store provider-specific configuration */
@@ -2105,7 +2107,7 @@ type Shared_Type_36 = {
2105
2107
  /** Paths to auto-index on init */
2106
2108
  autoIndexPaths?: string[] | undefined;
2107
2109
  };
2108
- type Shared_Type_37 = {
2110
+ type Shared_Type_38 = {
2109
2111
  /** Whether the tool is enabled */
2110
2112
  enabled?: boolean | undefined;
2111
2113
  /** Whether the tool requires user approval before execution */
@@ -2113,39 +2115,39 @@ type Shared_Type_37 = {
2113
2115
  /** For write tools: require reading a file before writing to it */
2114
2116
  requireReadBeforeWrite?: boolean | undefined;
2115
2117
  };
2116
- type Shared_Type_38 = {
2118
+ type Shared_Type_39 = {
2117
2119
  /** Default: whether all tools are enabled */
2118
2120
  enabled?: boolean | undefined;
2119
2121
  /** Default: whether all tools require user approval */
2120
2122
  requireApproval?: boolean | undefined;
2121
2123
  /** Per-tool overrides keyed by workspace tool name */
2122
2124
  tools?: {
2123
- [key: string]: Shared_Type_37;
2125
+ [key: string]: Shared_Type_38;
2124
2126
  } | undefined;
2125
2127
  };
2126
- type Shared_Type_39 = {
2128
+ type Shared_Type_40 = {
2127
2129
  /** Name of the workspace */
2128
2130
  name: string;
2129
2131
  /** Description of the workspace */
2130
2132
  description?: string | undefined;
2131
2133
  /** Filesystem configuration */
2132
- filesystem?: Shared_Type_33;
2134
+ filesystem?: Shared_Type_34;
2133
2135
  /** Sandbox configuration */
2134
- sandbox?: Shared_Type_34;
2136
+ sandbox?: Shared_Type_35;
2135
2137
  /** Mounted filesystems keyed by mount path */
2136
- mounts?: Shared_Type_35 | undefined;
2138
+ mounts?: Shared_Type_36 | undefined;
2137
2139
  /** Search configuration */
2138
- search?: Shared_Type_36 | undefined;
2140
+ search?: Shared_Type_37 | undefined;
2139
2141
  /** Array of skill IDs */
2140
2142
  skills?: string[] | undefined;
2141
2143
  /** Workspace tool configuration */
2142
- tools?: Shared_Type_38 | undefined;
2144
+ tools?: Shared_Type_39 | undefined;
2143
2145
  /** Whether to automatically sync the workspace */
2144
2146
  autoSync?: boolean | undefined;
2145
2147
  /** Operation timeout in milliseconds */
2146
2148
  operationTimeout?: number | undefined;
2147
2149
  };
2148
- type Shared_Type_40 = {
2150
+ type Shared_Type_41 = {
2149
2151
  type: 'provider';
2150
2152
  /** Workspace provider identifier */
2151
2153
  provider: string;
@@ -2154,17 +2156,17 @@ type Shared_Type_40 = {
2154
2156
  [key: string]: unknown;
2155
2157
  };
2156
2158
  };
2157
- type Shared_Type_41 = {
2159
+ type Shared_Type_42 = {
2158
2160
  value: {
2159
2161
  type: 'id';
2160
2162
  workspaceId: string;
2161
2163
  } | {
2162
2164
  type: 'inline';
2163
- config: Shared_Type_39;
2164
- } | Shared_Type_40;
2165
- rules?: Shared_Type_10 | undefined;
2165
+ config: Shared_Type_40;
2166
+ } | Shared_Type_41;
2167
+ rules?: Shared_Type_11 | undefined;
2166
2168
  };
2167
- type Shared_Type_42 = {
2169
+ type Shared_Type_43 = {
2168
2170
  /** Image format (default: jpeg) */
2169
2171
  format?: ('jpeg' | 'png') | undefined;
2170
2172
  /** JPEG quality 0-100 (default: 80) */
@@ -2176,7 +2178,7 @@ type Shared_Type_42 = {
2176
2178
  /** Capture every Nth frame (default: 1) */
2177
2179
  everyNthFrame?: number | undefined;
2178
2180
  };
2179
- type Shared_Type_43 = {
2181
+ type Shared_Type_44 = {
2180
2182
  /** Browser provider type (e.g., stagehand, playwright) */
2181
2183
  provider: string;
2182
2184
  /** Run browser in headless mode (default: true) */
@@ -2191,19 +2193,19 @@ type Shared_Type_43 = {
2191
2193
  /** Default timeout in milliseconds (default: 10000) */
2192
2194
  timeout?: number | undefined;
2193
2195
  /** Screencast options for streaming browser frames */
2194
- screencast?: Shared_Type_42 | undefined;
2196
+ screencast?: Shared_Type_43 | undefined;
2195
2197
  };
2196
- type Shared_Type_44 = {
2198
+ type Shared_Type_45 = {
2197
2199
  type: 'inline';
2198
- config: Shared_Type_43;
2200
+ config: Shared_Type_44;
2199
2201
  } | {
2200
2202
  value: {
2201
2203
  type: 'inline';
2202
- config: Shared_Type_43;
2204
+ config: Shared_Type_44;
2203
2205
  };
2204
- rules?: Shared_Type_10 | undefined;
2206
+ rules?: Shared_Type_11 | undefined;
2205
2207
  }[];
2206
- type Shared_Type_45 = {
2208
+ type Shared_Type_46 = {
2207
2209
  id: string;
2208
2210
  /** Agent status: draft or published */
2209
2211
  status: string;
@@ -2231,88 +2233,96 @@ type Shared_Type_45 = {
2231
2233
  /** Description of the agent */
2232
2234
  description?: string | undefined;
2233
2235
  /** System instructions for the agent (string or array of instruction blocks) */
2234
- instructions: string | Shared_Type_11[];
2236
+ instructions: string | Shared_Type_12[];
2235
2237
  /** Model configuration — static value or array of conditional variants */
2236
- model: Shared_Type_12 | {
2237
- value: Shared_Type_12;
2238
- rules?: Shared_Type_10 | undefined;
2238
+ model: Shared_Type_13 | {
2239
+ value: Shared_Type_13;
2240
+ rules?: Shared_Type_11 | undefined;
2239
2241
  }[];
2242
+ /** Ordered model fallback list owned by Studio */
2243
+ modelList?: {
2244
+ id: string;
2245
+ provider: string;
2246
+ modelId: string;
2247
+ enabled: boolean;
2248
+ maxRetries: number;
2249
+ }[] | undefined;
2240
2250
  /** Tool keys mapped to per-tool config — static or conditional */
2241
2251
  tools?: ({
2242
2252
  [key: string]: {
2243
2253
  description?: string | undefined;
2244
- rules?: Shared_Type_10 | undefined;
2254
+ rules?: Shared_Type_11 | undefined;
2245
2255
  };
2246
- } | Shared_Type_13[]) | undefined;
2256
+ } | Shared_Type_14[]) | undefined;
2247
2257
  /** Default options for generate/stream calls — static or conditional */
2248
2258
  defaultOptions?: (Shared_Type_5 | {
2249
2259
  /** Default options for agent execution */
2250
2260
  value: Shared_Type_5;
2251
- rules?: Shared_Type_10 | undefined;
2261
+ rules?: Shared_Type_11 | undefined;
2252
2262
  }[]) | undefined;
2253
2263
  /** Workflow keys with optional per-workflow config — static or conditional */
2254
2264
  workflows?: ({
2255
2265
  [key: string]: {
2256
2266
  description?: string | undefined;
2257
- rules?: Shared_Type_10 | undefined;
2267
+ rules?: Shared_Type_11 | undefined;
2258
2268
  };
2259
- } | Shared_Type_13[]) | undefined;
2269
+ } | Shared_Type_14[]) | undefined;
2260
2270
  /** Agent keys with optional per-agent config — static or conditional */
2261
2271
  agents?: ({
2262
2272
  [key: string]: {
2263
2273
  description?: string | undefined;
2264
- rules?: Shared_Type_10 | undefined;
2274
+ rules?: Shared_Type_11 | undefined;
2265
2275
  };
2266
- } | Shared_Type_13[]) | undefined;
2276
+ } | Shared_Type_14[]) | undefined;
2267
2277
  /** Map of tool provider IDs to their tool configurations — static or conditional */
2268
2278
  integrationTools?: ({
2269
- [key: string]: Shared_Type_14;
2279
+ [key: string]: Shared_Type_15;
2270
2280
  } | {
2271
2281
  value: {
2272
- [key: string]: Shared_Type_14;
2282
+ [key: string]: Shared_Type_15;
2273
2283
  };
2274
- rules?: Shared_Type_10 | undefined;
2284
+ rules?: Shared_Type_11 | undefined;
2275
2285
  }[]) | undefined;
2276
2286
  /** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
2277
2287
  toolProviders?: ({
2278
- [key: string]: Shared_Type_16;
2288
+ [key: string]: Shared_Type_17;
2279
2289
  } | {
2280
2290
  value: {
2281
- [key: string]: Shared_Type_16;
2291
+ [key: string]: Shared_Type_17;
2282
2292
  };
2283
- rules?: Shared_Type_10 | undefined;
2293
+ rules?: Shared_Type_11 | undefined;
2284
2294
  }[]) | undefined;
2285
2295
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
2286
2296
  mcpClients?: ({
2287
- [key: string]: Shared_Type_14;
2297
+ [key: string]: Shared_Type_15;
2288
2298
  } | {
2289
2299
  value: {
2290
- [key: string]: Shared_Type_14;
2300
+ [key: string]: Shared_Type_15;
2291
2301
  };
2292
- rules?: Shared_Type_10 | undefined;
2302
+ rules?: Shared_Type_11 | undefined;
2293
2303
  }[]) | undefined;
2294
2304
  /** Input processor graph — static or conditional */
2295
- inputProcessors?: Shared_Type_21 | undefined;
2305
+ inputProcessors?: Shared_Type_22 | undefined;
2296
2306
  /** Output processor graph — static or conditional */
2297
- outputProcessors?: Shared_Type_21 | undefined;
2307
+ outputProcessors?: Shared_Type_22 | undefined;
2298
2308
  /** Memory: registered memory reference or inline config — static or conditional */
2299
- memory?: (Shared_Type_30 | {
2300
- value: Shared_Type_30;
2301
- rules?: Shared_Type_10 | undefined;
2309
+ memory?: (Shared_Type_31 | {
2310
+ value: Shared_Type_31;
2311
+ rules?: Shared_Type_11 | undefined;
2302
2312
  }[]) | undefined;
2303
2313
  /** Scorer keys with optional sampling config — static or conditional */
2304
2314
  scorers?: ({
2305
- [key: string]: Shared_Type_31;
2315
+ [key: string]: Shared_Type_32;
2306
2316
  } | {
2307
2317
  value: {
2308
- [key: string]: Shared_Type_31;
2318
+ [key: string]: Shared_Type_32;
2309
2319
  };
2310
- rules?: Shared_Type_10 | undefined;
2320
+ rules?: Shared_Type_11 | undefined;
2311
2321
  }[]) | undefined;
2312
2322
  /** Skill IDs mapped to per-skill config — static or conditional */
2313
- skills?: (Shared_Type_32 | {
2314
- value: Shared_Type_32;
2315
- rules?: Shared_Type_10 | undefined;
2323
+ skills?: (Shared_Type_33 | {
2324
+ value: Shared_Type_33;
2325
+ rules?: Shared_Type_11 | undefined;
2316
2326
  }[]) | undefined;
2317
2327
  /** Workspace reference (stored ID or inline config) — static or conditional */
2318
2328
  workspace?: (({
@@ -2320,10 +2330,10 @@ type Shared_Type_45 = {
2320
2330
  workspaceId: string;
2321
2331
  } | {
2322
2332
  type: 'inline';
2323
- config: Shared_Type_39;
2324
- } | Shared_Type_40) | Shared_Type_41[]) | undefined;
2333
+ config: Shared_Type_40;
2334
+ } | Shared_Type_41) | Shared_Type_42[]) | undefined;
2325
2335
  /** Browser configuration — object config, true (apply default), false/null (disable) */
2326
- browser?: (Shared_Type_44 | boolean | null) | undefined;
2336
+ browser?: (Shared_Type_45 | boolean | null) | undefined;
2327
2337
  /** JSON Schema defining valid request context variables */
2328
2338
  requestContextSchema?: {
2329
2339
  [key: string]: unknown;
@@ -2334,7 +2344,7 @@ type Shared_Type_45 = {
2334
2344
  cleanupTimeoutMs?: number | undefined;
2335
2345
  }) | undefined;
2336
2346
  };
2337
- type Shared_Type_46 = {
2347
+ type Shared_Type_47 = {
2338
2348
  type: 'sso' | 'credentials' | 'both';
2339
2349
  sso?: {
2340
2350
  provider: string;
@@ -2346,7 +2356,7 @@ type Shared_Type_46 = {
2346
2356
  signUpEnabled?: boolean | undefined;
2347
2357
  description?: string | undefined;
2348
2358
  };
2349
- type Shared_Type_47 = {
2359
+ type Shared_Type_48 = {
2350
2360
  id: string;
2351
2361
  description?: string | undefined;
2352
2362
  stateSchema?: string | undefined;
@@ -2360,7 +2370,7 @@ type Shared_Type_47 = {
2360
2370
  [key: string]: unknown;
2361
2371
  } | undefined;
2362
2372
  };
2363
- type Shared_Type_48 = {
2373
+ type Shared_Type_49 = {
2364
2374
  type: 'step' | 'agent' | 'tool' | 'classifier' | 'mapping' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach' | 'workflow';
2365
2375
  id?: string | undefined;
2366
2376
  description?: string | undefined;
@@ -2368,19 +2378,19 @@ type Shared_Type_48 = {
2368
2378
  [key: string]: unknown;
2369
2379
  } | undefined;
2370
2380
  };
2371
- type Shared_Type_49 = {
2381
+ type Shared_Type_50 = {
2372
2382
  steps: {
2373
- [key: string]: Shared_Type_47;
2383
+ [key: string]: Shared_Type_48;
2374
2384
  };
2375
2385
  allSteps: {
2376
- [key: string]: Shared_Type_47;
2386
+ [key: string]: Shared_Type_48;
2377
2387
  };
2378
2388
  name?: string | undefined;
2379
2389
  description?: string | undefined;
2380
2390
  metadata?: {
2381
2391
  [key: string]: unknown;
2382
2392
  } | undefined;
2383
- stepGraph: Shared_Type_48[];
2393
+ stepGraph: Shared_Type_49[];
2384
2394
  inputSchema?: string | undefined;
2385
2395
  outputSchema?: string | undefined;
2386
2396
  stateSchema?: string | undefined;
@@ -2388,7 +2398,7 @@ type Shared_Type_49 = {
2388
2398
  isProcessorWorkflow?: boolean | undefined;
2389
2399
  origin?: ('code' | 'dynamic') | undefined;
2390
2400
  };
2391
- type Shared_Type_50 = {
2401
+ type Shared_Type_51 = {
2392
2402
  id: string;
2393
2403
  role: 'user' | 'assistant' | 'system' | 'tool' | 'signal';
2394
2404
  createdAt?: Date | undefined;
@@ -2400,7 +2410,7 @@ type Shared_Type_50 = {
2400
2410
  } | string;
2401
2411
  [x: string]: unknown;
2402
2412
  };
2403
- type Shared_Type_51 = {
2413
+ type Shared_Type_52 = {
2404
2414
  id: string;
2405
2415
  type: 'function_call';
2406
2416
  call_id: string;
@@ -2408,7 +2418,7 @@ type Shared_Type_51 = {
2408
2418
  arguments: string;
2409
2419
  status?: ('in_progress' | 'completed' | 'incomplete') | undefined;
2410
2420
  };
2411
- type Shared_Type_52 = {
2421
+ type Shared_Type_53 = {
2412
2422
  id: string;
2413
2423
  title?: string | undefined;
2414
2424
  resourceId: string;
@@ -2418,7 +2428,7 @@ type Shared_Type_52 = {
2418
2428
  [key: string]: unknown;
2419
2429
  } | undefined;
2420
2430
  };
2421
- type Shared_Type_53 = {
2431
+ type Shared_Type_54 = {
2422
2432
  id?: string | undefined;
2423
2433
  cycleId: string;
2424
2434
  observations: string;
@@ -2438,14 +2448,14 @@ type Shared_Type_53 = {
2438
2448
  error: string;
2439
2449
  }[] | undefined;
2440
2450
  };
2441
- type Shared_Type_54 = {
2451
+ type Shared_Type_55 = {
2442
2452
  id: string;
2443
2453
  scope: 'thread' | 'resource';
2444
2454
  resourceId: string;
2445
2455
  threadId: string | null;
2446
2456
  activeObservations: string;
2447
2457
  bufferedObservations?: string | undefined;
2448
- bufferedObservationChunks?: Shared_Type_53[] | undefined;
2458
+ bufferedObservationChunks?: Shared_Type_54[] | undefined;
2449
2459
  bufferedReflection?: string | undefined;
2450
2460
  originType: 'initial' | 'observation' | 'reflection';
2451
2461
  generationCount: number;
@@ -2464,7 +2474,7 @@ type Shared_Type_54 = {
2464
2474
  createdAt: Date;
2465
2475
  updatedAt: Date;
2466
2476
  };
2467
- type Shared_Type_55 = {
2477
+ type Shared_Type_56 = {
2468
2478
  config: {
2469
2479
  id: string;
2470
2480
  name?: string | undefined;
@@ -2473,8 +2483,8 @@ type Shared_Type_55 = {
2473
2483
  judge?: unknown | undefined;
2474
2484
  };
2475
2485
  };
2476
- type Shared_Type_56 = {
2477
- scorer: Shared_Type_55;
2486
+ type Shared_Type_57 = {
2487
+ scorer: Shared_Type_56;
2478
2488
  sampling?: {} | undefined;
2479
2489
  agentIds: string[];
2480
2490
  agentNames: string[];
@@ -2482,7 +2492,7 @@ type Shared_Type_56 = {
2482
2492
  isRegistered: boolean;
2483
2493
  source: 'code' | 'stored' | 'fs';
2484
2494
  };
2485
- type Shared_Type_57 = {
2495
+ type Shared_Type_58 = {
2486
2496
  /** Total number of items available */
2487
2497
  total: number;
2488
2498
  /** Current page */
@@ -2492,15 +2502,15 @@ type Shared_Type_57 = {
2492
2502
  /** True if more pages are available */
2493
2503
  hasMore: boolean;
2494
2504
  };
2495
- type Shared_Type_58 = {
2505
+ type Shared_Type_59 = {
2496
2506
  /** Maximum number of updates requested for this delta poll */
2497
2507
  limit: number;
2498
2508
  /** True when more matching updates remain after this response */
2499
2509
  hasMore: boolean;
2500
2510
  };
2501
- type Shared_Type_59 = 'agent_run' | 'scorer_run' | 'classifier_evaluation' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
2502
- type Shared_Type_60 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'mcp_server' | 'workflow_run' | 'memory' | 'classifier';
2503
- type Shared_Type_61 = {
2511
+ type Shared_Type_60 = 'agent_run' | 'scorer_run' | 'classifier_evaluation' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
2512
+ type Shared_Type_61 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'mcp_server' | 'workflow_run' | 'memory' | 'classifier';
2513
+ type Shared_Type_62 = {
2504
2514
  /** Unique trace identifier */
2505
2515
  traceId: string;
2506
2516
  /** Unique span identifier within a trace */
@@ -2508,19 +2518,19 @@ type Shared_Type_61 = {
2508
2518
  /** Human-readable span name */
2509
2519
  name: string;
2510
2520
  /** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
2511
- spanType: Shared_Type_59;
2521
+ spanType: Shared_Type_60;
2512
2522
  /** Whether this is an event (point-in-time) vs a span (duration) */
2513
2523
  isEvent: boolean;
2514
2524
  /** When the span started */
2515
2525
  startedAt: Date;
2516
2526
  parentSpanId?: (string | null) | undefined;
2517
- entityType?: (Shared_Type_60 | null) | undefined;
2527
+ entityType?: (Shared_Type_61 | null) | undefined;
2518
2528
  entityId?: (string | null) | undefined;
2519
2529
  entityName?: (string | null) | undefined;
2520
- parentEntityType?: (Shared_Type_60 | null) | undefined;
2530
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
2521
2531
  parentEntityId?: (string | null) | undefined;
2522
2532
  parentEntityName?: (string | null) | undefined;
2523
- rootEntityType?: (Shared_Type_60 | null) | undefined;
2533
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
2524
2534
  rootEntityId?: (string | null) | undefined;
2525
2535
  rootEntityName?: (string | null) | undefined;
2526
2536
  userId?: (string | null) | undefined;
@@ -2592,7 +2602,7 @@ type Shared_Type_61 = {
2592
2602
  /** Current status of the trace */
2593
2603
  status: 'success' | 'error' | 'running';
2594
2604
  };
2595
- type Shared_Type_62 = {
2605
+ type Shared_Type_63 = {
2596
2606
  /** Unique trace identifier */
2597
2607
  traceId: string;
2598
2608
  /** Unique span identifier within a trace */
@@ -2600,7 +2610,7 @@ type Shared_Type_62 = {
2600
2610
  /** Human-readable span name */
2601
2611
  name: string;
2602
2612
  /** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
2603
- spanType: Shared_Type_59;
2613
+ spanType: Shared_Type_60;
2604
2614
  /** Whether this is an event (point-in-time) vs a span (duration) */
2605
2615
  isEvent: boolean;
2606
2616
  /** When the span started */
@@ -2609,7 +2619,7 @@ type Shared_Type_62 = {
2609
2619
  endedAt?: (Date | null) | undefined;
2610
2620
  error?: (unknown | null) | undefined;
2611
2621
  status?: (('success' | 'error' | 'running') | null) | undefined;
2612
- entityType?: (Shared_Type_60 | null) | undefined;
2622
+ entityType?: (Shared_Type_61 | null) | undefined;
2613
2623
  entityId?: (string | null) | undefined;
2614
2624
  entityName?: (string | null) | undefined;
2615
2625
  threadId?: ((string | null) | undefined) | null;
@@ -2625,7 +2635,7 @@ type Shared_Type_62 = {
2625
2635
  /** Database record last update time */
2626
2636
  updatedAt: Date | null;
2627
2637
  };
2628
- type Shared_Type_63 = {
2638
+ type Shared_Type_64 = {
2629
2639
  /** Unique trace identifier */
2630
2640
  traceId: string;
2631
2641
  /** Unique span identifier within a trace */
@@ -2633,19 +2643,19 @@ type Shared_Type_63 = {
2633
2643
  /** Human-readable span name */
2634
2644
  name: string;
2635
2645
  /** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
2636
- spanType: Shared_Type_59;
2646
+ spanType: Shared_Type_60;
2637
2647
  /** Whether this is an event (point-in-time) vs a span (duration) */
2638
2648
  isEvent: boolean;
2639
2649
  /** When the span started */
2640
2650
  startedAt: Date;
2641
2651
  parentSpanId?: (string | null) | undefined;
2642
- entityType?: (Shared_Type_60 | null) | undefined;
2652
+ entityType?: (Shared_Type_61 | null) | undefined;
2643
2653
  entityId?: (string | null) | undefined;
2644
2654
  entityName?: (string | null) | undefined;
2645
- parentEntityType?: (Shared_Type_60 | null) | undefined;
2655
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
2646
2656
  parentEntityId?: (string | null) | undefined;
2647
2657
  parentEntityName?: (string | null) | undefined;
2648
- rootEntityType?: (Shared_Type_60 | null) | undefined;
2658
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
2649
2659
  rootEntityId?: (string | null) | undefined;
2650
2660
  rootEntityName?: (string | null) | undefined;
2651
2661
  userId?: (string | null) | undefined;
@@ -2715,7 +2725,7 @@ type Shared_Type_63 = {
2715
2725
  /** Database record last update time */
2716
2726
  updatedAt: Date | null;
2717
2727
  };
2718
- type Shared_Type_64 = {
2728
+ type Shared_Type_65 = {
2719
2729
  traceId: string;
2720
2730
  rootSpanId: string;
2721
2731
  name: string;
@@ -2744,7 +2754,7 @@ type Shared_Type_64 = {
2744
2754
  [key: string]: unknown;
2745
2755
  } | null) | undefined;
2746
2756
  };
2747
- type Shared_Type_65 = {
2757
+ type Shared_Type_66 = {
2748
2758
  /** Unique id for this score event */
2749
2759
  scoreId?: (string | null) | undefined;
2750
2760
  /** When the score was recorded */
@@ -2762,13 +2772,13 @@ type Shared_Type_65 = {
2762
2772
  /** Score value (range defined by scorer) */
2763
2773
  score: number;
2764
2774
  reason?: (string | null) | undefined;
2765
- entityType?: (Shared_Type_60 | null) | undefined;
2775
+ entityType?: (Shared_Type_61 | null) | undefined;
2766
2776
  entityId?: (string | null) | undefined;
2767
2777
  entityName?: (string | null) | undefined;
2768
- parentEntityType?: (Shared_Type_60 | null) | undefined;
2778
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
2769
2779
  parentEntityId?: (string | null) | undefined;
2770
2780
  parentEntityName?: (string | null) | undefined;
2771
- rootEntityType?: (Shared_Type_60 | null) | undefined;
2781
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
2772
2782
  rootEntityId?: (string | null) | undefined;
2773
2783
  rootEntityName?: (string | null) | undefined;
2774
2784
  userId?: (string | null) | undefined;
@@ -2796,7 +2806,7 @@ type Shared_Type_65 = {
2796
2806
  [key: string]: unknown;
2797
2807
  } | null) | undefined;
2798
2808
  };
2799
- type Shared_Type_66 = {
2809
+ type Shared_Type_67 = {
2800
2810
  /** GET /observability/discovery/entity-types */
2801
2811
  entityTypes: boolean;
2802
2812
  /** GET /observability/discovery/entity-names */
@@ -2810,13 +2820,13 @@ type Shared_Type_66 = {
2810
2820
  /** GET /observability/discovery/metric-names, metric-label-keys and metric-label-values */
2811
2821
  metrics: boolean;
2812
2822
  };
2813
- type Shared_Type_67 = {
2823
+ type Shared_Type_68 = {
2814
2824
  /** Metrics endpoints (/observability/metrics and /observability/metrics/*) */
2815
2825
  metrics: boolean;
2816
2826
  /** Logs endpoint (GET /observability/logs) */
2817
2827
  logs: boolean;
2818
2828
  /** Filter discovery endpoints. Unsupported discovery routes return empty results. */
2819
- discovery: Shared_Type_66;
2829
+ discovery: Shared_Type_67;
2820
2830
  /** Cursor-based `mode: 'delta'` polling on observability list endpoints */
2821
2831
  deltaPolling: boolean;
2822
2832
  /** Advanced trace queries (POST /observability/traces/query). When false, list traces with GET /observability/traces/light instead. */
@@ -2825,6 +2835,8 @@ type Shared_Type_67 = {
2825
2835
  traceQueryRootDuration: boolean;
2826
2836
  /** `runId`, `sessionId`, `userId` and `organizationId` predicates in trace and thread queries */
2827
2837
  traceQueryContextIds: boolean;
2838
+ /** `requestId`, `serviceName` and `experimentId` predicates in trace and thread queries */
2839
+ traceQueryContextFields: boolean;
2828
2840
  /** `timeToFirstChunkMs` in trace and span query results, and predicates on it in trace, thread and span queries */
2829
2841
  traceQueryTimeToFirstChunk: boolean;
2830
2842
  /** Root span `name` and `spanType` in trace-scope predicates, aggregate `groupBy` and `countDistinct` */
@@ -2868,7 +2880,7 @@ type Shared_Type_67 = {
2868
2880
  /** Feedback endpoints (/observability/feedback and /observability/feedback/*). Unsupported feedback routes return 501. */
2869
2881
  feedback: boolean;
2870
2882
  };
2871
- type Shared_Type_68 = {
2883
+ type Shared_Type_69 = {
2872
2884
  id?: string | undefined;
2873
2885
  name: string;
2874
2886
  description?: string | undefined;
@@ -2879,7 +2891,7 @@ type Shared_Type_68 = {
2879
2891
  [key: string]: unknown;
2880
2892
  } | undefined;
2881
2893
  };
2882
- type Shared_Type_69 = {
2894
+ type Shared_Type_70 = {
2883
2895
  eventId: string;
2884
2896
  name: string;
2885
2897
  timestamp: string;
@@ -2891,7 +2903,7 @@ type Shared_Type_69 = {
2891
2903
  [key: string]: unknown;
2892
2904
  } | undefined;
2893
2905
  };
2894
- type Shared_Type_70 = {
2906
+ type Shared_Type_71 = {
2895
2907
  [key: string]: {
2896
2908
  method: string;
2897
2909
  params?: {
@@ -2900,7 +2912,7 @@ type Shared_Type_70 = {
2900
2912
  [x: string]: unknown;
2901
2913
  };
2902
2914
  };
2903
- type Shared_Type_71 = {
2915
+ type Shared_Type_72 = {
2904
2916
  taskKey: string;
2905
2917
  surface: string;
2906
2918
  status: 'working' | 'input_required' | 'completed' | 'failed' | 'cancelled';
@@ -2910,7 +2922,7 @@ type Shared_Type_71 = {
2910
2922
  expiresAt?: string | undefined;
2911
2923
  principalKey: string;
2912
2924
  clientLabel?: string | undefined;
2913
- inputRequests?: Shared_Type_70 | undefined;
2925
+ inputRequests?: Shared_Type_71 | undefined;
2914
2926
  result?: {
2915
2927
  [key: string]: unknown;
2916
2928
  } | undefined;
@@ -2918,7 +2930,7 @@ type Shared_Type_71 = {
2918
2930
  [key: string]: unknown;
2919
2931
  } | undefined;
2920
2932
  };
2921
- type Shared_Type_72 = {
2933
+ type Shared_Type_73 = {
2922
2934
  /** Unique identifier for the version (UUID) */
2923
2935
  id: string;
2924
2936
  /** ID of the agent this version belongs to */
@@ -2930,74 +2942,74 @@ type Shared_Type_72 = {
2930
2942
  /** Description of the agent */
2931
2943
  description?: string | undefined;
2932
2944
  /** System instructions for the agent (string or array of instruction blocks) */
2933
- instructions: string | Shared_Type_11[];
2945
+ instructions: string | Shared_Type_12[];
2934
2946
  /** Model configuration — static value or array of conditional variants */
2935
- model: Shared_Type_12 | {
2936
- value: Shared_Type_12;
2937
- rules?: Shared_Type_10 | undefined;
2947
+ model: Shared_Type_13 | {
2948
+ value: Shared_Type_13;
2949
+ rules?: Shared_Type_11 | undefined;
2938
2950
  }[];
2939
2951
  /** Tool keys mapped to per-tool config — static or conditional */
2940
2952
  tools?: ({
2941
2953
  [key: string]: {
2942
2954
  description?: string | undefined;
2943
- rules?: Shared_Type_10 | undefined;
2955
+ rules?: Shared_Type_11 | undefined;
2944
2956
  };
2945
- } | Shared_Type_13[]) | undefined;
2957
+ } | Shared_Type_14[]) | undefined;
2946
2958
  /** Default options for generate/stream calls — static or conditional */
2947
2959
  defaultOptions?: (Shared_Type_5 | {
2948
2960
  /** Default options for agent execution */
2949
2961
  value: Shared_Type_5;
2950
- rules?: Shared_Type_10 | undefined;
2962
+ rules?: Shared_Type_11 | undefined;
2951
2963
  }[]) | undefined;
2952
2964
  /** Workflow keys with optional per-workflow config — static or conditional */
2953
2965
  workflows?: ({
2954
2966
  [key: string]: {
2955
2967
  description?: string | undefined;
2956
- rules?: Shared_Type_10 | undefined;
2968
+ rules?: Shared_Type_11 | undefined;
2957
2969
  };
2958
- } | Shared_Type_13[]) | undefined;
2970
+ } | Shared_Type_14[]) | undefined;
2959
2971
  /** Agent keys with optional per-agent config — static or conditional */
2960
2972
  agents?: ({
2961
2973
  [key: string]: {
2962
2974
  description?: string | undefined;
2963
- rules?: Shared_Type_10 | undefined;
2975
+ rules?: Shared_Type_11 | undefined;
2964
2976
  };
2965
- } | Shared_Type_13[]) | undefined;
2977
+ } | Shared_Type_14[]) | undefined;
2966
2978
  /** Map of tool provider IDs to their tool configurations — static or conditional */
2967
2979
  integrationTools?: ({
2968
- [key: string]: Shared_Type_14;
2980
+ [key: string]: Shared_Type_15;
2969
2981
  } | {
2970
2982
  value: {
2971
- [key: string]: Shared_Type_14;
2983
+ [key: string]: Shared_Type_15;
2972
2984
  };
2973
- rules?: Shared_Type_10 | undefined;
2985
+ rules?: Shared_Type_11 | undefined;
2974
2986
  }[]) | undefined;
2975
2987
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
2976
2988
  mcpClients?: ({
2977
- [key: string]: Shared_Type_14;
2989
+ [key: string]: Shared_Type_15;
2978
2990
  } | {
2979
2991
  value: {
2980
- [key: string]: Shared_Type_14;
2992
+ [key: string]: Shared_Type_15;
2981
2993
  };
2982
- rules?: Shared_Type_10 | undefined;
2994
+ rules?: Shared_Type_11 | undefined;
2983
2995
  }[]) | undefined;
2984
2996
  /** Input processor graph — static or conditional */
2985
- inputProcessors?: Shared_Type_21 | undefined;
2997
+ inputProcessors?: Shared_Type_22 | undefined;
2986
2998
  /** Output processor graph — static or conditional */
2987
- outputProcessors?: Shared_Type_21 | undefined;
2999
+ outputProcessors?: Shared_Type_22 | undefined;
2988
3000
  /** Memory: registered memory reference or inline config — static or conditional */
2989
- memory?: (Shared_Type_30 | {
2990
- value: Shared_Type_30;
2991
- rules?: Shared_Type_10 | undefined;
3001
+ memory?: (Shared_Type_31 | {
3002
+ value: Shared_Type_31;
3003
+ rules?: Shared_Type_11 | undefined;
2992
3004
  }[]) | undefined;
2993
3005
  /** Scorer keys with optional sampling config — static or conditional */
2994
3006
  scorers?: ({
2995
- [key: string]: Shared_Type_31;
3007
+ [key: string]: Shared_Type_32;
2996
3008
  } | {
2997
3009
  value: {
2998
- [key: string]: Shared_Type_31;
3010
+ [key: string]: Shared_Type_32;
2999
3011
  };
3000
- rules?: Shared_Type_10 | undefined;
3012
+ rules?: Shared_Type_11 | undefined;
3001
3013
  }[]) | undefined;
3002
3014
  /** JSON Schema defining valid request context variables */
3003
3015
  requestContextSchema?: {
@@ -3010,7 +3022,7 @@ type Shared_Type_72 = {
3010
3022
  /** When this version was created */
3011
3023
  createdAt: Date;
3012
3024
  };
3013
- type Shared_Type_73 = {
3025
+ type Shared_Type_74 = {
3014
3026
  /** The field path that changed */
3015
3027
  field: string;
3016
3028
  /** The value in the "from" version */
@@ -3018,7 +3030,7 @@ type Shared_Type_73 = {
3018
3030
  /** The value in the "to" version */
3019
3031
  currentValue: unknown;
3020
3032
  };
3021
- type Shared_Type_74 = {
3033
+ type Shared_Type_75 = {
3022
3034
  id: string;
3023
3035
  description?: string | undefined;
3024
3036
  metadata?: {
@@ -3035,7 +3047,7 @@ type Shared_Type_74 = {
3035
3047
  createdAt: Date | string;
3036
3048
  updatedAt: Date | string;
3037
3049
  };
3038
- type Shared_Type_75 = {
3050
+ type Shared_Type_76 = {
3039
3051
  /** Transport type: stdio for local processes, http for remote servers */
3040
3052
  type: 'stdio' | 'http';
3041
3053
  /** Command to run (stdio only) */
@@ -3051,7 +3063,7 @@ type Shared_Type_75 = {
3051
3063
  /** Connection timeout in milliseconds */
3052
3064
  timeout?: number | undefined;
3053
3065
  };
3054
- type Shared_Type_76 = {
3066
+ type Shared_Type_77 = {
3055
3067
  id: string;
3056
3068
  /** MCP client status: draft, published, or archived */
3057
3069
  status: string;
@@ -3068,10 +3080,10 @@ type Shared_Type_76 = {
3068
3080
  description?: string | undefined;
3069
3081
  /** Map of server name to server configuration */
3070
3082
  servers: {
3071
- [key: string]: Shared_Type_75;
3083
+ [key: string]: Shared_Type_76;
3072
3084
  };
3073
3085
  };
3074
- type Shared_Type_77 = {
3086
+ type Shared_Type_78 = {
3075
3087
  type: 'stdio' | 'http';
3076
3088
  command?: string | undefined;
3077
3089
  args?: string[] | undefined;
@@ -3081,7 +3093,7 @@ type Shared_Type_77 = {
3081
3093
  url?: string | undefined;
3082
3094
  timeout?: number | undefined;
3083
3095
  };
3084
- type Shared_Type_78 = {
3096
+ type Shared_Type_79 = {
3085
3097
  /** Unique identifier for the version (UUID) */
3086
3098
  id: string;
3087
3099
  /** ID of the MCP client this version belongs to */
@@ -3093,7 +3105,7 @@ type Shared_Type_78 = {
3093
3105
  /** Description of the MCP client */
3094
3106
  description?: string | undefined;
3095
3107
  servers: {
3096
- [key: string]: Shared_Type_77;
3108
+ [key: string]: Shared_Type_78;
3097
3109
  };
3098
3110
  /** Array of field names that changed from the previous version */
3099
3111
  changedFields?: string[] | undefined;
@@ -3102,7 +3114,7 @@ type Shared_Type_78 = {
3102
3114
  /** When this version was created */
3103
3115
  createdAt: Date;
3104
3116
  };
3105
- type Shared_Type_79 = {
3117
+ type Shared_Type_80 = {
3106
3118
  id: string;
3107
3119
  /** Prompt block status: draft, published, or archived */
3108
3120
  status: string;
@@ -3122,13 +3134,13 @@ type Shared_Type_79 = {
3122
3134
  /** Template content with {{variable}} interpolation */
3123
3135
  content: string;
3124
3136
  /** Rules for conditional inclusion */
3125
- rules?: Shared_Type_10 | undefined;
3137
+ rules?: Shared_Type_11 | undefined;
3126
3138
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
3127
3139
  requestContextSchema?: {
3128
3140
  [key: string]: unknown;
3129
3141
  } | undefined;
3130
3142
  };
3131
- type Shared_Type_80 = {
3143
+ type Shared_Type_81 = {
3132
3144
  /** Unique identifier for the version (UUID) */
3133
3145
  id: string;
3134
3146
  /** ID of the prompt block this version belongs to */
@@ -3142,7 +3154,7 @@ type Shared_Type_80 = {
3142
3154
  /** Template content with {{variable}} interpolation */
3143
3155
  content: string;
3144
3156
  /** Rules for conditional inclusion */
3145
- rules?: Shared_Type_10 | undefined;
3157
+ rules?: Shared_Type_11 | undefined;
3146
3158
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
3147
3159
  requestContextSchema?: {
3148
3160
  [key: string]: unknown;
@@ -3154,8 +3166,8 @@ type Shared_Type_80 = {
3154
3166
  /** When this version was created */
3155
3167
  createdAt: Date;
3156
3168
  };
3157
- type Shared_Type_81 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
3158
- type Shared_Type_82 = {
3169
+ type Shared_Type_82 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
3170
+ type Shared_Type_83 = {
3159
3171
  id: string;
3160
3172
  /** Scorer status: draft, published, or archived */
3161
3173
  status: string;
@@ -3171,8 +3183,8 @@ type Shared_Type_82 = {
3171
3183
  /** Description of the scorer */
3172
3184
  description?: string | undefined;
3173
3185
  /** Scorer type: llm-judge for custom, or a preset type name */
3174
- type: Shared_Type_81;
3175
- model?: Shared_Type_12 | undefined;
3186
+ type: Shared_Type_82;
3187
+ model?: Shared_Type_13 | undefined;
3176
3188
  /** System instructions for the judge LLM */
3177
3189
  instructions?: string | undefined;
3178
3190
  scoreRange?: {
@@ -3189,7 +3201,7 @@ type Shared_Type_82 = {
3189
3201
  rate: number;
3190
3202
  }) | undefined;
3191
3203
  };
3192
- type Shared_Type_83 = {
3204
+ type Shared_Type_84 = {
3193
3205
  /** Unique identifier for the version (UUID) */
3194
3206
  id: string;
3195
3207
  /** ID of the scorer this version belongs to */
@@ -3200,8 +3212,8 @@ type Shared_Type_83 = {
3200
3212
  name: string;
3201
3213
  /** Description of the scorer */
3202
3214
  description?: string | undefined;
3203
- type: Shared_Type_81;
3204
- model?: Shared_Type_12 | undefined;
3215
+ type: Shared_Type_82;
3216
+ model?: Shared_Type_13 | undefined;
3205
3217
  instructions?: string | undefined;
3206
3218
  scoreRange?: {
3207
3219
  min?: number | undefined;
@@ -3223,7 +3235,7 @@ type Shared_Type_83 = {
3223
3235
  /** When this version was created */
3224
3236
  createdAt: Date;
3225
3237
  };
3226
- type Shared_Type_84 = {
3238
+ type Shared_Type_85 = {
3227
3239
  id: string;
3228
3240
  /** Workspace status: draft, published, or archived */
3229
3241
  status: string;
@@ -3239,23 +3251,23 @@ type Shared_Type_84 = {
3239
3251
  /** Description of the workspace */
3240
3252
  description?: string | undefined;
3241
3253
  /** Filesystem configuration */
3242
- filesystem?: Shared_Type_33;
3254
+ filesystem?: Shared_Type_34;
3243
3255
  /** Sandbox configuration */
3244
- sandbox?: Shared_Type_34;
3256
+ sandbox?: Shared_Type_35;
3245
3257
  /** Mounted filesystems keyed by mount path */
3246
- mounts?: Shared_Type_35 | undefined;
3258
+ mounts?: Shared_Type_36 | undefined;
3247
3259
  /** Search configuration */
3248
- search?: Shared_Type_36 | undefined;
3260
+ search?: Shared_Type_37 | undefined;
3249
3261
  /** Array of skill IDs */
3250
3262
  skills?: string[] | undefined;
3251
3263
  /** Workspace tool configuration */
3252
- tools?: Shared_Type_38 | undefined;
3264
+ tools?: Shared_Type_39 | undefined;
3253
3265
  /** Whether to automatically sync the workspace */
3254
3266
  autoSync?: boolean | undefined;
3255
3267
  /** Operation timeout in milliseconds */
3256
3268
  operationTimeout?: number | undefined;
3257
3269
  };
3258
- type Shared_Type_85 = {
3270
+ type Shared_Type_86 = {
3259
3271
  type: 'external';
3260
3272
  /** Package path for external source */
3261
3273
  packagePath: string;
@@ -3268,7 +3280,7 @@ type Shared_Type_85 = {
3268
3280
  /** Mastra path for managed source */
3269
3281
  mastraPath: string;
3270
3282
  };
3271
- type Shared_Type_86 = {
3283
+ type Shared_Type_87 = {
3272
3284
  id: string;
3273
3285
  /** Skill status: draft, published, or archived */
3274
3286
  status: string;
@@ -3292,7 +3304,7 @@ type Shared_Type_86 = {
3292
3304
  /** Compatibility requirements */
3293
3305
  compatibility?: unknown | undefined;
3294
3306
  /** Source location of the skill */
3295
- source?: Shared_Type_85 | undefined;
3307
+ source?: Shared_Type_86 | undefined;
3296
3308
  /** List of reference file paths */
3297
3309
  references?: string[] | undefined;
3298
3310
  /** List of script file paths */
@@ -3300,13 +3312,13 @@ type Shared_Type_86 = {
3300
3312
  /** List of asset file paths */
3301
3313
  assets?: string[] | undefined;
3302
3314
  /** Full file tree structure for the skill */
3303
- files?: Shared_Auxiliary_788[] | undefined;
3315
+ files?: Shared_Auxiliary_790[] | undefined;
3304
3316
  /** Additional metadata for the skill */
3305
3317
  metadata?: {
3306
3318
  [key: string]: unknown;
3307
3319
  } | undefined;
3308
3320
  };
3309
- type Shared_Type_87 = {
3321
+ type Shared_Type_88 = {
3310
3322
  id: string;
3311
3323
  name: string;
3312
3324
  description?: (string | undefined) | null;
@@ -3330,7 +3342,7 @@ type Shared_Type_87 = {
3330
3342
  createdAt: Date;
3331
3343
  updatedAt: Date;
3332
3344
  };
3333
- type Shared_Type_88 = {
3345
+ type Shared_Type_89 = {
3334
3346
  /** Name of the tool this mock applies to */
3335
3347
  toolName: string;
3336
3348
  /** Arguments to match against the tool call */
@@ -3342,13 +3354,13 @@ type Shared_Type_88 = {
3342
3354
  /** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
3343
3355
  matchArgs?: ('strict' | 'ignore') | undefined;
3344
3356
  };
3345
- type Shared_Type_89 = {
3357
+ type Shared_Type_90 = {
3346
3358
  /** How this item was created */
3347
3359
  type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
3348
3360
  /** Reference identifier (e.g., trace id, csv filename) */
3349
3361
  referenceId?: string | undefined;
3350
3362
  };
3351
- type Shared_Type_90 = {
3363
+ type Shared_Type_91 = {
3352
3364
  id: string;
3353
3365
  datasetId: string;
3354
3366
  datasetVersion: number;
@@ -3357,7 +3369,7 @@ type Shared_Type_90 = {
3357
3369
  groundTruth?: unknown | undefined;
3358
3370
  expectedTrajectory?: unknown | undefined;
3359
3371
  /** Ordered item-level static tool mocks served in place of executing the real tool */
3360
- toolMocks?: (Shared_Type_88[] | undefined) | null;
3372
+ toolMocks?: (Shared_Type_89[] | undefined) | null;
3361
3373
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
3362
3374
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
3363
3375
  scorerIds?: (string[] | undefined) | null;
@@ -3368,11 +3380,11 @@ type Shared_Type_90 = {
3368
3380
  [key: string]: unknown;
3369
3381
  } | undefined) | null;
3370
3382
  /** Source/provenance of this dataset item */
3371
- source?: (Shared_Type_89 | undefined) | null;
3383
+ source?: (Shared_Type_90 | undefined) | null;
3372
3384
  createdAt: Date;
3373
3385
  updatedAt: Date;
3374
3386
  };
3375
- type Shared_Type_91 = {
3387
+ type Shared_Type_92 = {
3376
3388
  source?: string | undefined;
3377
3389
  sourceId?: string | undefined;
3378
3390
  sourceVersion?: string | undefined;
@@ -3380,7 +3392,7 @@ type Shared_Type_91 = {
3380
3392
  [key: string]: unknown;
3381
3393
  } | undefined;
3382
3394
  };
3383
- type Shared_Type_92 = {
3395
+ type Shared_Type_93 = {
3384
3396
  id: string;
3385
3397
  datasetId: string | null;
3386
3398
  datasetVersion: number | null;
@@ -3393,7 +3405,7 @@ type Shared_Type_92 = {
3393
3405
  metadata?: {
3394
3406
  [key: string]: unknown;
3395
3407
  } | undefined;
3396
- provenance?: (Shared_Type_91 | null) | undefined;
3408
+ provenance?: (Shared_Type_92 | null) | undefined;
3397
3409
  runnerAttestation?: ({
3398
3410
  runnerId: string;
3399
3411
  invocationId: string;
@@ -3413,7 +3425,7 @@ type Shared_Type_92 = {
3413
3425
  createdAt: Date;
3414
3426
  updatedAt: Date;
3415
3427
  };
3416
- type Shared_Type_93 = {
3428
+ type Shared_Type_94 = {
3417
3429
  served: {
3418
3430
  mockIndex: number;
3419
3431
  toolName: string;
@@ -3434,7 +3446,7 @@ type Shared_Type_93 = {
3434
3446
  args: unknown;
3435
3447
  } | undefined;
3436
3448
  };
3437
- type Shared_Type_94 = {
3449
+ type Shared_Type_95 = {
3438
3450
  text?: string | undefined;
3439
3451
  reasoningText?: string | undefined;
3440
3452
  object?: unknown | undefined;
@@ -3461,7 +3473,7 @@ type Shared_Type_94 = {
3461
3473
  } | null) | undefined;
3462
3474
  [x: string]: unknown;
3463
3475
  };
3464
- type Shared_Type_95 = {
3476
+ type Shared_Type_96 = {
3465
3477
  id: string;
3466
3478
  experimentId: string;
3467
3479
  itemId: string;
@@ -3486,12 +3498,12 @@ type Shared_Type_95 = {
3486
3498
  tags?: (string[] | null) | undefined;
3487
3499
  comment?: (string | null) | undefined;
3488
3500
  /** Diagnostic receipt for item-level tool mocks */
3489
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3501
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3490
3502
  createdAt: Date;
3491
3503
  targetType: 'agent';
3492
- output: Shared_Type_94 | null;
3504
+ output: Shared_Type_95 | null;
3493
3505
  };
3494
- type Shared_Type_96 = {
3506
+ type Shared_Type_97 = {
3495
3507
  id: string;
3496
3508
  experimentId: string;
3497
3509
  itemId: string;
@@ -3516,7 +3528,7 @@ type Shared_Type_96 = {
3516
3528
  tags?: (string[] | null) | undefined;
3517
3529
  comment?: (string | null) | undefined;
3518
3530
  /** Diagnostic receipt for item-level tool mocks */
3519
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3531
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3520
3532
  createdAt: Date;
3521
3533
  targetType: 'scorer';
3522
3534
  output: {
@@ -3526,7 +3538,7 @@ type Shared_Type_96 = {
3526
3538
  [x: string]: unknown;
3527
3539
  } | null;
3528
3540
  };
3529
- type Shared_Type_97 = {
3541
+ type Shared_Type_98 = {
3530
3542
  id: string;
3531
3543
  experimentId: string;
3532
3544
  itemId: string;
@@ -3551,12 +3563,12 @@ type Shared_Type_97 = {
3551
3563
  tags?: (string[] | null) | undefined;
3552
3564
  comment?: (string | null) | undefined;
3553
3565
  /** Diagnostic receipt for item-level tool mocks */
3554
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3566
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3555
3567
  createdAt: Date;
3556
3568
  targetType: ('workflow' | 'processor') | null;
3557
3569
  output: unknown | null;
3558
3570
  };
3559
- type Shared_Type_98 = {
3571
+ type Shared_Type_99 = {
3560
3572
  id: string;
3561
3573
  status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
3562
3574
  toolName: string;
@@ -3580,8 +3592,9 @@ type Shared_Type_98 = {
3580
3592
  maxRetries: number;
3581
3593
  timeoutMs: number;
3582
3594
  suspendPayload?: unknown | undefined;
3595
+ suspendedAt?: Date | undefined;
3583
3596
  };
3584
- type Shared_Type_99 = {
3597
+ type Shared_Type_100 = {
3585
3598
  kind: 'custom';
3586
3599
  provider: string;
3587
3600
  modelId?: string | undefined;
@@ -3589,7 +3602,7 @@ type Shared_Type_99 = {
3589
3602
  provider: string;
3590
3603
  modelId?: string | undefined;
3591
3604
  };
3592
- type Shared_Type_100 = {
3605
+ type Shared_Type_101 = {
3593
3606
  kind: 'custom';
3594
3607
  provider: string;
3595
3608
  modelId: string;
@@ -3597,13 +3610,13 @@ type Shared_Type_100 = {
3597
3610
  provider: string;
3598
3611
  modelId: string;
3599
3612
  };
3600
- type Shared_Type_101 = {
3613
+ type Shared_Type_102 = {
3601
3614
  behavior?: ('deliver' | 'persist' | 'discard') | undefined;
3602
3615
  attributes?: {
3603
3616
  [key: string]: (string | number | boolean | null) | undefined;
3604
3617
  } | undefined;
3605
3618
  };
3606
- type Shared_Type_102 = {
3619
+ type Shared_Type_103 = {
3607
3620
  behavior?: ('wake' | 'persist' | 'discard') | undefined;
3608
3621
  attributes?: {
3609
3622
  [key: string]: (string | number | boolean | null) | undefined;
@@ -3615,7 +3628,7 @@ type Shared_Type_102 = {
3615
3628
  } | undefined;
3616
3629
  requireClaimedOwner?: boolean | undefined;
3617
3630
  };
3618
- type Shared_Type_103 = {
3631
+ type Shared_Type_104 = {
3619
3632
  id: string;
3620
3633
  agentId: string;
3621
3634
  workflowId?: undefined | undefined;
@@ -3635,8 +3648,8 @@ type Shared_Type_103 = {
3635
3648
  attributes?: {
3636
3649
  [key: string]: (string | number | boolean | null) | undefined;
3637
3650
  } | undefined;
3638
- ifActive?: Shared_Type_101 | undefined;
3639
- ifIdle?: Shared_Type_102 | undefined;
3651
+ ifActive?: Shared_Type_102 | undefined;
3652
+ ifIdle?: Shared_Type_103 | undefined;
3640
3653
  providerOptions?: {
3641
3654
  [key: string]: unknown;
3642
3655
  } | undefined;
@@ -3646,14 +3659,14 @@ type Shared_Type_103 = {
3646
3659
  createdAt: number;
3647
3660
  updatedAt: number;
3648
3661
  };
3649
- type Shared_Type_104 = {
3662
+ type Shared_Type_105 = {
3650
3663
  status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
3651
3664
  startedAt?: number | undefined;
3652
3665
  completedAt?: number | undefined;
3653
3666
  durationMs?: number | undefined;
3654
3667
  error?: string | undefined;
3655
3668
  };
3656
- type Shared_Type_105 = {
3669
+ type Shared_Type_106 = {
3657
3670
  id: string;
3658
3671
  workflowId: string;
3659
3672
  agentId?: undefined | undefined;
@@ -3663,7 +3676,7 @@ type Shared_Type_105 = {
3663
3676
  nextFireAt: number;
3664
3677
  lastFireAt?: number | undefined;
3665
3678
  lastRunId?: string | undefined;
3666
- lastRun?: Shared_Type_104 | undefined;
3679
+ lastRun?: Shared_Type_105 | undefined;
3667
3680
  inputData?: unknown | undefined;
3668
3681
  initialState?: unknown | undefined;
3669
3682
  requestContext?: {
@@ -3676,7 +3689,7 @@ type Shared_Type_105 = {
3676
3689
  createdAt: number;
3677
3690
  updatedAt: number;
3678
3691
  };
3679
- type Shared_Type_106 = {
3692
+ type Shared_Type_107 = {
3680
3693
  /** Installation identifier */
3681
3694
  id: string;
3682
3695
  /** Platform identifier */
@@ -3694,7 +3707,7 @@ export type GetAgents_QueryParams = {
3694
3707
  partial?: string | undefined;
3695
3708
  };
3696
3709
  export type GetAgents_Response = {
3697
- [key: string]: Shared_Type_6;
3710
+ [key: string]: Shared_Type_7;
3698
3711
  };
3699
3712
  export type GetAgents_Request = Simplify<(never extends never ? {} : {
3700
3713
  params: never;
@@ -3716,7 +3729,7 @@ export interface GetAgents_RouteContract {
3716
3729
  responseType: 'json';
3717
3730
  }
3718
3731
  export type GetAgentsProviders_Response = {
3719
- providers: Shared_Type_7[];
3732
+ providers: Shared_Type_8[];
3720
3733
  };
3721
3734
  export type GetAgentsProviders_Request = Simplify<(never extends never ? {} : {
3722
3735
  params: never;
@@ -3747,7 +3760,7 @@ export type GetAgentsAgentId_QueryParams = {
3747
3760
  /** Specific version ID to resolve. Takes precedence over status when both are provided. */
3748
3761
  versionId?: string | undefined;
3749
3762
  };
3750
- export type GetAgentsAgentId_Response = Shared_Type_6;
3763
+ export type GetAgentsAgentId_Response = Shared_Type_7;
3751
3764
  export type GetAgentsAgentId_Request = Simplify<(GetAgentsAgentId_PathParams extends never ? {} : {
3752
3765
  params: GetAgentsAgentId_PathParams;
3753
3766
  }) & (GetAgentsAgentId_QueryParams extends never ? {} : {} extends GetAgentsAgentId_QueryParams ? {
@@ -3778,7 +3791,7 @@ export type PostAgentsAgentIdClone_Body = {
3778
3791
  } | undefined;
3779
3792
  authorId?: string | undefined;
3780
3793
  };
3781
- export type PostAgentsAgentIdClone_Response = Shared_Type_45;
3794
+ export type PostAgentsAgentIdClone_Response = Shared_Type_46;
3782
3795
  export type PostAgentsAgentIdClone_Request = Simplify<(PostAgentsAgentIdClone_PathParams extends never ? {} : {
3783
3796
  params: PostAgentsAgentIdClone_PathParams;
3784
3797
  }) & (never extends never ? {} : {} extends never ? {
@@ -5288,7 +5301,7 @@ export interface PostAgentsAgentIdStreamUi_RouteContract {
5288
5301
  }
5289
5302
  export type GetAuthCapabilities_Response = {
5290
5303
  enabled: boolean;
5291
- login: Shared_Type_46 | null;
5304
+ login: Shared_Type_47 | null;
5292
5305
  user: {
5293
5306
  id: string;
5294
5307
  email?: string | undefined;
@@ -5308,7 +5321,7 @@ export type GetAuthCapabilities_Response = {
5308
5321
  } | null;
5309
5322
  } | {
5310
5323
  enabled: boolean;
5311
- login: Shared_Type_46 | null;
5324
+ login: Shared_Type_47 | null;
5312
5325
  };
5313
5326
  export type GetAuthCapabilities_Request = Simplify<(never extends never ? {} : {
5314
5327
  params: never;
@@ -5539,7 +5552,7 @@ export interface GetAuthPermissionPatterns_RouteContract {
5539
5552
  }
5540
5553
  export type GetWorkflows_QueryParams = GetAgents_QueryParams;
5541
5554
  export type GetWorkflows_Response = {
5542
- [key: string]: Shared_Type_49;
5555
+ [key: string]: Shared_Type_50;
5543
5556
  };
5544
5557
  export type GetWorkflows_Request = Simplify<(never extends never ? {} : {
5545
5558
  params: never;
@@ -5589,7 +5602,7 @@ export type GetWorkflowsWorkflowId_PathParams = {
5589
5602
  /** Unique identifier for the workflow */
5590
5603
  workflowId: string;
5591
5604
  };
5592
- export type GetWorkflowsWorkflowId_Response = Shared_Type_49;
5605
+ export type GetWorkflowsWorkflowId_Response = Shared_Type_50;
5593
5606
  export type GetWorkflowsWorkflowId_Request = Simplify<(GetWorkflowsWorkflowId_PathParams extends never ? {} : {
5594
5607
  params: GetWorkflowsWorkflowId_PathParams;
5595
5608
  }) & (never extends never ? {} : {} extends never ? {
@@ -5685,7 +5698,7 @@ export type GetWorkflowsWorkflowIdRunsRunId_Response = {
5685
5698
  activeStepsPath?: {
5686
5699
  [key: string]: number[];
5687
5700
  } | undefined;
5688
- serializedStepGraph?: Shared_Type_48[] | undefined;
5701
+ serializedStepGraph?: Shared_Type_49[] | undefined;
5689
5702
  };
5690
5703
  export type GetWorkflowsWorkflowIdRunsRunId_Request = Simplify<(GetWorkflowsWorkflowIdRunsRunId_PathParams extends never ? {} : {
5691
5704
  params: GetWorkflowsWorkflowIdRunsRunId_PathParams;
@@ -5848,7 +5861,7 @@ export type PostWorkflowsWorkflowIdStartAsync_Response = {
5848
5861
  activeStepsPath?: {
5849
5862
  [key: string]: number[];
5850
5863
  } | undefined;
5851
- serializedStepGraph?: Shared_Type_48[] | undefined;
5864
+ serializedStepGraph?: Shared_Type_49[] | undefined;
5852
5865
  };
5853
5866
  export type PostWorkflowsWorkflowIdStartAsync_Request = Simplify<(PostWorkflowsWorkflowIdStartAsync_PathParams extends never ? {} : {
5854
5867
  params: PostWorkflowsWorkflowIdStartAsync_PathParams;
@@ -6425,9 +6438,9 @@ export type PostProcessorsProcessorIdExecute_Body = {
6425
6438
  export type PostProcessorsProcessorIdExecute_Response = {
6426
6439
  success: boolean;
6427
6440
  phase: string;
6428
- messages?: Shared_Type_50[] | undefined;
6441
+ messages?: Shared_Type_51[] | undefined;
6429
6442
  messageList?: {
6430
- messages: Shared_Type_50[];
6443
+ messages: Shared_Type_51[];
6431
6444
  } | undefined;
6432
6445
  tripwire?: {
6433
6446
  triggered: boolean;
@@ -6520,7 +6533,7 @@ export type PostV1Responses_Response = {
6520
6533
  annotations?: unknown[] | undefined;
6521
6534
  logprobs?: unknown[] | undefined;
6522
6535
  }[];
6523
- } | Shared_Type_51 | {
6536
+ } | Shared_Type_52 | {
6524
6537
  id: string;
6525
6538
  type: 'function_call_output';
6526
6539
  call_id: string;
@@ -6658,7 +6671,7 @@ export type PostV1Conversations_Body = {
6658
6671
  export type PostV1Conversations_Response = {
6659
6672
  id: string;
6660
6673
  object: 'conversation';
6661
- thread: Shared_Type_52;
6674
+ thread: Shared_Type_53;
6662
6675
  };
6663
6676
  export type PostV1Conversations_Request = Simplify<(never extends never ? {} : {
6664
6677
  params: never;
@@ -6720,7 +6733,7 @@ export type GetV1ConversationsConversationIdItems_Response = {
6720
6733
  annotations?: unknown[] | undefined;
6721
6734
  logprobs?: unknown[] | undefined;
6722
6735
  })[];
6723
- } | Shared_Type_51 | {
6736
+ } | Shared_Type_52 | {
6724
6737
  id: string;
6725
6738
  type: 'function_call_output';
6726
6739
  call_id: string;
@@ -6886,8 +6899,8 @@ export type GetMemoryObservationalMemory_QueryParams = {
6886
6899
  limit?: number | undefined;
6887
6900
  };
6888
6901
  export type GetMemoryObservationalMemory_Response = {
6889
- record: Shared_Type_54 | null;
6890
- history?: Shared_Type_54[] | undefined;
6902
+ record: Shared_Type_55 | null;
6903
+ history?: Shared_Type_55[] | undefined;
6891
6904
  };
6892
6905
  export type GetMemoryObservationalMemory_Request = Simplify<(never extends never ? {} : {
6893
6906
  params: never;
@@ -6910,7 +6923,7 @@ export interface GetMemoryObservationalMemory_RouteContract {
6910
6923
  }
6911
6924
  export type PostMemoryObservationalMemoryBufferStatus_Body = GetMemoryStatus_QueryParams;
6912
6925
  export type PostMemoryObservationalMemoryBufferStatus_Response = {
6913
- record: Shared_Type_54 | null;
6926
+ record: Shared_Type_55 | null;
6914
6927
  };
6915
6928
  export type PostMemoryObservationalMemoryBufferStatus_Request = Simplify<(never extends never ? {} : {
6916
6929
  params: never;
@@ -6949,7 +6962,7 @@ export type GetMemoryThreads_Response = {
6949
6962
  page: number;
6950
6963
  perPage: number | false;
6951
6964
  hasMore: boolean;
6952
- threads: Shared_Type_52[];
6965
+ threads: Shared_Type_53[];
6953
6966
  };
6954
6967
  export type GetMemoryThreads_Request = Simplify<(never extends never ? {} : {
6955
6968
  params: never;
@@ -6978,7 +6991,7 @@ export type GetMemoryThreadsThreadId_QueryParams = {
6978
6991
  agentId?: string | undefined;
6979
6992
  resourceId?: string | undefined;
6980
6993
  };
6981
- export type GetMemoryThreadsThreadId_Response = Shared_Type_52;
6994
+ export type GetMemoryThreadsThreadId_Response = Shared_Type_53;
6982
6995
  export type GetMemoryThreadsThreadId_Request = Simplify<(GetMemoryThreadsThreadId_PathParams extends never ? {} : {
6983
6996
  params: GetMemoryThreadsThreadId_PathParams;
6984
6997
  }) & (GetMemoryThreadsThreadId_QueryParams extends never ? {} : {} extends GetMemoryThreadsThreadId_QueryParams ? {
@@ -7207,7 +7220,7 @@ export type PostMemoryThreadsThreadIdClone_Body = {
7207
7220
  } | undefined;
7208
7221
  };
7209
7222
  export type PostMemoryThreadsThreadIdClone_Response = {
7210
- thread: Shared_Type_52;
7223
+ thread: Shared_Type_53;
7211
7224
  clonedMessages: unknown[];
7212
7225
  };
7213
7226
  export type PostMemoryThreadsThreadIdClone_Request = Simplify<(PostMemoryThreadsThreadIdClone_PathParams extends never ? {} : {
@@ -7567,7 +7580,7 @@ export interface PostMemoryNetworkMessagesDelete_RouteContract {
7567
7580
  responseType: 'json';
7568
7581
  }
7569
7582
  export type GetScoresScorers_Response = {
7570
- [key: string]: Shared_Type_56;
7583
+ [key: string]: Shared_Type_57;
7571
7584
  };
7572
7585
  export type GetScoresScorers_Request = Simplify<(never extends never ? {} : {
7573
7586
  params: never;
@@ -7592,7 +7605,7 @@ export type GetScoresScorersScorerId_PathParams = {
7592
7605
  /** Unique identifier for the scorer */
7593
7606
  scorerId: string;
7594
7607
  };
7595
- export type GetScoresScorersScorerId_Response = Shared_Type_56 | null;
7608
+ export type GetScoresScorersScorerId_Response = Shared_Type_57 | null;
7596
7609
  export type GetScoresScorersScorerId_Request = Simplify<(GetScoresScorersScorerId_PathParams extends never ? {} : {
7597
7610
  params: GetScoresScorersScorerId_PathParams;
7598
7611
  }) & (never extends never ? {} : {} extends never ? {
@@ -7776,12 +7789,12 @@ export type GetObservabilityTraces_QueryParams = {
7776
7789
  limit?: (number | undefined) | undefined;
7777
7790
  };
7778
7791
  export type GetObservabilityTraces_Response = {
7779
- pagination?: Shared_Type_57 | undefined;
7792
+ pagination?: Shared_Type_58 | undefined;
7780
7793
  /** Incremental polling metadata */
7781
- delta?: Shared_Type_58 | undefined;
7794
+ delta?: Shared_Type_59 | undefined;
7782
7795
  /** Opaque cursor value for incremental polling */
7783
7796
  deltaCursor?: string | undefined;
7784
- spans: Shared_Type_61[];
7797
+ spans: Shared_Type_62[];
7785
7798
  };
7786
7799
  export type GetObservabilityTraces_Request = Simplify<(never extends never ? {} : {
7787
7800
  params: never;
@@ -7804,12 +7817,12 @@ export interface GetObservabilityTraces_RouteContract {
7804
7817
  }
7805
7818
  export type GetObservabilityTracesLight_QueryParams = GetObservabilityTraces_QueryParams;
7806
7819
  export type GetObservabilityTracesLight_Response = {
7807
- pagination?: Shared_Type_57 | undefined;
7820
+ pagination?: Shared_Type_58 | undefined;
7808
7821
  /** Incremental polling metadata */
7809
- delta?: Shared_Type_58 | undefined;
7822
+ delta?: Shared_Type_59 | undefined;
7810
7823
  /** Opaque cursor value for incremental polling */
7811
7824
  deltaCursor?: string | undefined;
7812
- spans: Shared_Type_62[];
7825
+ spans: Shared_Type_63[];
7813
7826
  };
7814
7827
  export type GetObservabilityTracesLight_Request = Simplify<(never extends never ? {} : {
7815
7828
  params: never;
@@ -7879,12 +7892,12 @@ export type GetObservabilityBranches_QueryParams = {
7879
7892
  limit?: (number | undefined) | undefined;
7880
7893
  };
7881
7894
  export type GetObservabilityBranches_Response = {
7882
- pagination?: Shared_Type_57 | undefined;
7895
+ pagination?: Shared_Type_58 | undefined;
7883
7896
  /** Incremental polling metadata */
7884
- delta?: Shared_Type_58 | undefined;
7897
+ delta?: Shared_Type_59 | undefined;
7885
7898
  /** Opaque cursor value for incremental polling */
7886
7899
  deltaCursor?: string | undefined;
7887
- branches: Shared_Type_61[];
7900
+ branches: Shared_Type_62[];
7888
7901
  };
7889
7902
  export type GetObservabilityBranches_Request = Simplify<(never extends never ? {} : {
7890
7903
  params: never;
@@ -7918,7 +7931,7 @@ export type GetObservabilityTracesTraceIdBranchesSpanId_QueryParams = {
7918
7931
  export type GetObservabilityTracesTraceIdBranchesSpanId_Response = {
7919
7932
  /** Unique trace identifier */
7920
7933
  traceId: string;
7921
- spans: Shared_Type_63[];
7934
+ spans: Shared_Type_64[];
7922
7935
  };
7923
7936
  export type GetObservabilityTracesTraceIdBranchesSpanId_Request = Simplify<(GetObservabilityTracesTraceIdBranchesSpanId_PathParams extends never ? {} : {
7924
7937
  params: GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
@@ -7946,7 +7959,7 @@ export type GetObservabilityTracesTraceId_PathParams = {
7946
7959
  export type GetObservabilityTracesTraceId_Response = {
7947
7960
  /** Unique trace identifier */
7948
7961
  traceId: string;
7949
- spans: Shared_Type_61[];
7962
+ spans: Shared_Type_62[];
7950
7963
  };
7951
7964
  export type GetObservabilityTracesTraceId_Request = Simplify<(GetObservabilityTracesTraceId_PathParams extends never ? {} : {
7952
7965
  params: GetObservabilityTracesTraceId_PathParams;
@@ -7971,7 +7984,7 @@ export type GetObservabilityTracesTraceIdLight_PathParams = GetObservabilityTrac
7971
7984
  export type GetObservabilityTracesTraceIdLight_Response = {
7972
7985
  /** Unique trace identifier */
7973
7986
  traceId: string;
7974
- spans: Shared_Type_62[];
7987
+ spans: Shared_Type_63[];
7975
7988
  };
7976
7989
  export type GetObservabilityTracesTraceIdLight_Request = Simplify<(GetObservabilityTracesTraceIdLight_PathParams extends never ? {} : {
7977
7990
  params: GetObservabilityTracesTraceIdLight_PathParams;
@@ -7995,7 +8008,7 @@ export interface GetObservabilityTracesTraceIdLight_RouteContract {
7995
8008
  export type GetObservabilityTracesTraceIdSpansSpanId_PathParams = GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
7996
8009
  export type GetObservabilityTracesTraceIdSpansSpanId_Response = {
7997
8010
  /** Span record data */
7998
- span: Shared_Type_63;
8011
+ span: Shared_Type_64;
7999
8012
  };
8000
8013
  export type GetObservabilityTracesTraceIdSpansSpanId_Request = Simplify<(GetObservabilityTracesTraceIdSpansSpanId_PathParams extends never ? {} : {
8001
8014
  params: GetObservabilityTracesTraceIdSpansSpanId_PathParams;
@@ -8109,7 +8122,7 @@ export type GetObservabilityTracesTraceIdSpanIdScores_QueryParams = {
8109
8122
  perPage?: (number | undefined) | undefined;
8110
8123
  };
8111
8124
  export type GetObservabilityTracesTraceIdSpanIdScores_Response = {
8112
- pagination: Shared_Type_57;
8125
+ pagination: Shared_Type_58;
8113
8126
  scores: {
8114
8127
  id: string;
8115
8128
  scorerId: string;
@@ -8217,19 +8230,19 @@ export type PostObservabilityTracesQuery_Body = {
8217
8230
  limit?: number | undefined;
8218
8231
  };
8219
8232
  export type PostObservabilityTracesQuery_Response = {
8220
- traces: Shared_Type_64[];
8233
+ traces: Shared_Type_65[];
8221
8234
  page: {
8222
8235
  next: string | null;
8223
8236
  };
8224
8237
  } | {
8225
- traces: Shared_Type_64[];
8226
- pagination: Shared_Type_57;
8238
+ traces: Shared_Type_65[];
8239
+ pagination: Shared_Type_58;
8227
8240
  /** Opaque cursor value for incremental polling */
8228
8241
  deltaCursor?: string | undefined;
8229
8242
  } | {
8230
- traces: Shared_Type_64[];
8243
+ traces: Shared_Type_65[];
8231
8244
  /** Incremental polling metadata */
8232
- delta: Shared_Type_58;
8245
+ delta: Shared_Type_59;
8233
8246
  /** Opaque cursor value for incremental polling */
8234
8247
  deltaCursor: string;
8235
8248
  } | {
@@ -8670,9 +8683,9 @@ export type GetObservabilityMetrics_QueryParams = {
8670
8683
  limit?: (number | undefined) | undefined;
8671
8684
  };
8672
8685
  export type GetObservabilityMetrics_Response = {
8673
- pagination?: Shared_Type_57 | undefined;
8686
+ pagination?: Shared_Type_58 | undefined;
8674
8687
  /** Incremental polling metadata */
8675
- delta?: Shared_Type_58 | undefined;
8688
+ delta?: Shared_Type_59 | undefined;
8676
8689
  /** Opaque cursor value for incremental polling */
8677
8690
  deltaCursor?: string | undefined;
8678
8691
  metrics: {
@@ -8686,13 +8699,13 @@ export type GetObservabilityMetrics_Response = {
8686
8699
  value: number;
8687
8700
  traceId?: (string | null) | undefined;
8688
8701
  spanId?: (string | null) | undefined;
8689
- entityType?: (Shared_Type_60 | null) | undefined;
8702
+ entityType?: (Shared_Type_61 | null) | undefined;
8690
8703
  entityId?: (string | null) | undefined;
8691
8704
  entityName?: (string | null) | undefined;
8692
- parentEntityType?: (Shared_Type_60 | null) | undefined;
8705
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
8693
8706
  parentEntityId?: (string | null) | undefined;
8694
8707
  parentEntityName?: (string | null) | undefined;
8695
- rootEntityType?: (Shared_Type_60 | null) | undefined;
8708
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
8696
8709
  rootEntityId?: (string | null) | undefined;
8697
8710
  rootEntityName?: (string | null) | undefined;
8698
8711
  userId?: (string | null) | undefined;
@@ -8793,9 +8806,9 @@ export type GetObservabilityLogs_QueryParams = {
8793
8806
  limit?: (number | undefined) | undefined;
8794
8807
  };
8795
8808
  export type GetObservabilityLogs_Response = {
8796
- pagination?: Shared_Type_57 | undefined;
8809
+ pagination?: Shared_Type_58 | undefined;
8797
8810
  /** Incremental polling metadata */
8798
- delta?: Shared_Type_58 | undefined;
8811
+ delta?: Shared_Type_59 | undefined;
8799
8812
  /** Opaque cursor value for incremental polling */
8800
8813
  deltaCursor?: string | undefined;
8801
8814
  logs: {
@@ -8812,13 +8825,13 @@ export type GetObservabilityLogs_Response = {
8812
8825
  } | null) | undefined;
8813
8826
  traceId?: (string | null) | undefined;
8814
8827
  spanId?: (string | null) | undefined;
8815
- entityType?: (Shared_Type_60 | null) | undefined;
8828
+ entityType?: (Shared_Type_61 | null) | undefined;
8816
8829
  entityId?: (string | null) | undefined;
8817
8830
  entityName?: (string | null) | undefined;
8818
- parentEntityType?: (Shared_Type_60 | null) | undefined;
8831
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
8819
8832
  parentEntityId?: (string | null) | undefined;
8820
8833
  parentEntityName?: (string | null) | undefined;
8821
- rootEntityType?: (Shared_Type_60 | null) | undefined;
8834
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
8822
8835
  rootEntityId?: (string | null) | undefined;
8823
8836
  rootEntityName?: (string | null) | undefined;
8824
8837
  userId?: (string | null) | undefined;
@@ -8913,12 +8926,12 @@ export type GetObservabilityScores_QueryParams = {
8913
8926
  limit?: (number | undefined) | undefined;
8914
8927
  };
8915
8928
  export type GetObservabilityScores_Response = {
8916
- pagination?: Shared_Type_57 | undefined;
8929
+ pagination?: Shared_Type_58 | undefined;
8917
8930
  /** Incremental polling metadata */
8918
- delta?: Shared_Type_58 | undefined;
8931
+ delta?: Shared_Type_59 | undefined;
8919
8932
  /** Opaque cursor value for incremental polling */
8920
8933
  deltaCursor?: string | undefined;
8921
- scores: Shared_Type_65[];
8934
+ scores: Shared_Type_66[];
8922
8935
  };
8923
8936
  export type GetObservabilityScores_Request = Simplify<(never extends never ? {} : {
8924
8937
  params: never;
@@ -9044,7 +9057,7 @@ export type GetObservabilityScoresScoreId_PathParams = {
9044
9057
  };
9045
9058
  export type GetObservabilityScoresScoreId_Response = {
9046
9059
  /** Score record as stored in the database */
9047
- score: Shared_Type_65 | null;
9060
+ score: Shared_Type_66 | null;
9048
9061
  };
9049
9062
  export type GetObservabilityScoresScoreId_Request = Simplify<(GetObservabilityScoresScoreId_PathParams extends never ? {} : {
9050
9063
  params: GetObservabilityScoresScoreId_PathParams;
@@ -9278,9 +9291,9 @@ export type GetObservabilityFeedback_QueryParams = {
9278
9291
  limit?: (number | undefined) | undefined;
9279
9292
  };
9280
9293
  export type GetObservabilityFeedback_Response = {
9281
- pagination?: Shared_Type_57 | undefined;
9294
+ pagination?: Shared_Type_58 | undefined;
9282
9295
  /** Incremental polling metadata */
9283
- delta?: Shared_Type_58 | undefined;
9296
+ delta?: Shared_Type_59 | undefined;
9284
9297
  /** Opaque cursor value for incremental polling */
9285
9298
  deltaCursor?: string | undefined;
9286
9299
  feedback: {
@@ -9300,13 +9313,13 @@ export type GetObservabilityFeedback_Response = {
9300
9313
  value: number | string;
9301
9314
  comment?: (string | null) | undefined;
9302
9315
  feedbackUserId?: (string | null) | undefined;
9303
- entityType?: (Shared_Type_60 | null) | undefined;
9316
+ entityType?: (Shared_Type_61 | null) | undefined;
9304
9317
  entityId?: (string | null) | undefined;
9305
9318
  entityName?: (string | null) | undefined;
9306
- parentEntityType?: (Shared_Type_60 | null) | undefined;
9319
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
9307
9320
  parentEntityId?: (string | null) | undefined;
9308
9321
  parentEntityName?: (string | null) | undefined;
9309
- rootEntityType?: (Shared_Type_60 | null) | undefined;
9322
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
9310
9323
  rootEntityId?: (string | null) | undefined;
9311
9324
  rootEntityName?: (string | null) | undefined;
9312
9325
  userId?: (string | null) | undefined;
@@ -9486,13 +9499,13 @@ export type PatchObservabilityFeedbackFeedbackIdReviewStatus_Response = {
9486
9499
  value: number | string;
9487
9500
  comment?: (string | null) | undefined;
9488
9501
  feedbackUserId?: (string | null) | undefined;
9489
- entityType?: (Shared_Type_60 | null) | undefined;
9502
+ entityType?: (Shared_Type_61 | null) | undefined;
9490
9503
  entityId?: (string | null) | undefined;
9491
9504
  entityName?: (string | null) | undefined;
9492
- parentEntityType?: (Shared_Type_60 | null) | undefined;
9505
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
9493
9506
  parentEntityId?: (string | null) | undefined;
9494
9507
  parentEntityName?: (string | null) | undefined;
9495
- rootEntityType?: (Shared_Type_60 | null) | undefined;
9508
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
9496
9509
  rootEntityId?: (string | null) | undefined;
9497
9510
  rootEntityName?: (string | null) | undefined;
9498
9511
  userId?: (string | null) | undefined;
@@ -9948,7 +9961,7 @@ export interface GetObservabilityDiscoveryMetricLabelValues_RouteContract {
9948
9961
  }
9949
9962
  export type GetObservabilityDiscoveryEntityTypes_Response = {
9950
9963
  /** Distinct entity types */
9951
- entityTypes: Shared_Type_60[];
9964
+ entityTypes: Shared_Type_61[];
9952
9965
  };
9953
9966
  export type GetObservabilityDiscoveryEntityTypes_Request = Simplify<(never extends never ? {} : {
9954
9967
  params: never;
@@ -10069,7 +10082,7 @@ export interface GetObservabilityDiscoveryTags_RouteContract {
10069
10082
  export type GetObservabilityCapabilities_Response = {
10070
10083
  /** Class name of the configured observability storage, or null when none is configured */
10071
10084
  observabilityStorageType: string | null;
10072
- capabilities: Shared_Type_67;
10085
+ capabilities: Shared_Type_68;
10073
10086
  };
10074
10087
  export type GetObservabilityCapabilities_Request = Simplify<(never extends never ? {} : {
10075
10088
  params: never;
@@ -10511,6 +10524,74 @@ export interface GetKnowledgeKnowledgeKeyGraph_RouteContract {
10511
10524
  response: GetKnowledgeKnowledgeKeyGraph_Response;
10512
10525
  responseType: 'json';
10513
10526
  }
10527
+ export type GetKnowledgeKnowledgeKeyLinkCounts_PathParams = GetKnowledgeKnowledgeKeyTree_PathParams;
10528
+ export type GetKnowledgeKnowledgeKeyLinkCounts_QueryParams = {
10529
+ /** Pages to count links for; repeat the param for each, at most 200 */
10530
+ pageId: string | string[];
10531
+ };
10532
+ export type GetKnowledgeKnowledgeKeyLinkCounts_Response = {
10533
+ counts: {
10534
+ [key: string]: {
10535
+ in: number;
10536
+ out: number;
10537
+ };
10538
+ };
10539
+ };
10540
+ export type GetKnowledgeKnowledgeKeyLinkCounts_Request = Simplify<(GetKnowledgeKnowledgeKeyLinkCounts_PathParams extends never ? {} : {
10541
+ params: GetKnowledgeKnowledgeKeyLinkCounts_PathParams;
10542
+ }) & (GetKnowledgeKnowledgeKeyLinkCounts_QueryParams extends never ? {} : {} extends GetKnowledgeKnowledgeKeyLinkCounts_QueryParams ? {
10543
+ query?: GetKnowledgeKnowledgeKeyLinkCounts_QueryParams;
10544
+ } : {
10545
+ query: GetKnowledgeKnowledgeKeyLinkCounts_QueryParams;
10546
+ }) & (never extends never ? {} : {} extends never ? {
10547
+ body?: never;
10548
+ } : {
10549
+ body: never;
10550
+ })>;
10551
+ export interface GetKnowledgeKnowledgeKeyLinkCounts_RouteContract {
10552
+ pathParams: GetKnowledgeKnowledgeKeyLinkCounts_PathParams;
10553
+ queryParams: GetKnowledgeKnowledgeKeyLinkCounts_QueryParams;
10554
+ body: never;
10555
+ request: GetKnowledgeKnowledgeKeyLinkCounts_Request;
10556
+ response: GetKnowledgeKnowledgeKeyLinkCounts_Response;
10557
+ responseType: 'json';
10558
+ }
10559
+ export type GetKnowledgeKnowledgeKeyPagesPageIdLinks_PathParams = GetKnowledgeKnowledgeKeyPagesPageId_PathParams;
10560
+ export type GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams = {
10561
+ /** Links into the page, out of it, or both (default) */
10562
+ direction?: ('in' | 'out' | 'both') | undefined;
10563
+ };
10564
+ export type GetKnowledgeKnowledgeKeyPagesPageIdLinks_Response = {
10565
+ edges: {
10566
+ fromPageId: string;
10567
+ toPageId: string;
10568
+ kind: 'body' | 'note';
10569
+ count: number;
10570
+ }[];
10571
+ pages: {
10572
+ [key: string]: unknown;
10573
+ }[];
10574
+ truncated: boolean;
10575
+ };
10576
+ export type GetKnowledgeKnowledgeKeyPagesPageIdLinks_Request = Simplify<(GetKnowledgeKnowledgeKeyPagesPageIdLinks_PathParams extends never ? {} : {
10577
+ params: GetKnowledgeKnowledgeKeyPagesPageIdLinks_PathParams;
10578
+ }) & (GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams extends never ? {} : {} extends GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams ? {
10579
+ query?: GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams;
10580
+ } : {
10581
+ query: GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams;
10582
+ }) & (never extends never ? {} : {} extends never ? {
10583
+ body?: never;
10584
+ } : {
10585
+ body: never;
10586
+ })>;
10587
+ export interface GetKnowledgeKnowledgeKeyPagesPageIdLinks_RouteContract {
10588
+ pathParams: GetKnowledgeKnowledgeKeyPagesPageIdLinks_PathParams;
10589
+ queryParams: GetKnowledgeKnowledgeKeyPagesPageIdLinks_QueryParams;
10590
+ body: never;
10591
+ request: GetKnowledgeKnowledgeKeyPagesPageIdLinks_Request;
10592
+ response: GetKnowledgeKnowledgeKeyPagesPageIdLinks_Response;
10593
+ responseType: 'json';
10594
+ }
10514
10595
  export type GetKnowledgeKnowledgeKeySearch_PathParams = GetKnowledgeKnowledgeKeyTree_PathParams;
10515
10596
  export type GetKnowledgeKnowledgeKeySearch_QueryParams = {
10516
10597
  /** Text to match in page names, synopses, bodies and notes */
@@ -11888,7 +11969,7 @@ export type GetMcpServerIdTools_PathParams = {
11888
11969
  serverId: string;
11889
11970
  };
11890
11971
  export type GetMcpServerIdTools_Response = {
11891
- tools: Shared_Type_68[];
11972
+ tools: Shared_Type_69[];
11892
11973
  };
11893
11974
  export type GetMcpServerIdTools_Request = Simplify<(GetMcpServerIdTools_PathParams extends never ? {} : {
11894
11975
  params: GetMcpServerIdTools_PathParams;
@@ -11915,7 +11996,7 @@ export type GetMcpServerIdToolsToolId_PathParams = {
11915
11996
  /** Tool ID */
11916
11997
  toolId: string;
11917
11998
  };
11918
- export type GetMcpServerIdToolsToolId_Response = Shared_Type_68;
11999
+ export type GetMcpServerIdToolsToolId_Response = Shared_Type_69;
11919
12000
  export type GetMcpServerIdToolsToolId_Request = Simplify<(GetMcpServerIdToolsToolId_PathParams extends never ? {} : {
11920
12001
  params: GetMcpServerIdToolsToolId_PathParams;
11921
12002
  }) & (never extends never ? {} : {} extends never ? {
@@ -12087,7 +12168,7 @@ export type PostMcpServerIdEventsEventNamePoll_Body = {
12087
12168
  maxEvents?: number | undefined;
12088
12169
  };
12089
12170
  export type PostMcpServerIdEventsEventNamePoll_Response = {
12090
- events: Shared_Type_69[];
12171
+ events: Shared_Type_70[];
12091
12172
  cursor: string | null;
12092
12173
  hasMore?: boolean | undefined;
12093
12174
  truncated?: boolean | undefined;
@@ -12125,7 +12206,7 @@ export type PostMcpServerIdEventsEventNameStream_Response = {
12125
12206
  truncated: boolean;
12126
12207
  } | {
12127
12208
  type: 'event';
12128
- occurrence: Shared_Type_69;
12209
+ occurrence: Shared_Type_70;
12129
12210
  } | {
12130
12211
  type: 'heartbeat';
12131
12212
  cursor: string | null;
@@ -12161,7 +12242,7 @@ export type PostMcpServerIdEventsEventNameEmit_Body = {
12161
12242
  };
12162
12243
  };
12163
12244
  export type PostMcpServerIdEventsEventNameEmit_Response = {
12164
- occurrence: Shared_Type_69;
12245
+ occurrence: Shared_Type_70;
12165
12246
  };
12166
12247
  export type PostMcpServerIdEventsEventNameEmit_Request = Simplify<(PostMcpServerIdEventsEventNameEmit_PathParams extends never ? {} : {
12167
12248
  params: PostMcpServerIdEventsEventNameEmit_PathParams;
@@ -12201,7 +12282,7 @@ export type GetMcpServerIdTasks_Response = {
12201
12282
  ttlMs: number | null;
12202
12283
  }[];
12203
12284
  unavailable?: ('not_listable' | 'resource_scoped') | undefined;
12204
- tasks: Shared_Type_71[];
12285
+ tasks: Shared_Type_72[];
12205
12286
  nextCursor?: string | undefined;
12206
12287
  };
12207
12288
  export type GetMcpServerIdTasks_Request = Simplify<(GetMcpServerIdTasks_PathParams extends never ? {} : {
@@ -12228,7 +12309,7 @@ export type PostMcpServerIdTasksFind_Body = {
12228
12309
  taskId: string;
12229
12310
  };
12230
12311
  export type PostMcpServerIdTasksFind_Response = {
12231
- task: Shared_Type_71;
12312
+ task: Shared_Type_72;
12232
12313
  };
12233
12314
  export type PostMcpServerIdTasksFind_Request = Simplify<(PostMcpServerIdTasksFind_PathParams extends never ? {} : {
12234
12315
  params: PostMcpServerIdTasksFind_PathParams;
@@ -12390,7 +12471,7 @@ export type GetStoredAgents_Response = {
12390
12471
  page: number;
12391
12472
  perPage: number | false;
12392
12473
  hasMore: boolean;
12393
- agents: Shared_Type_45[];
12474
+ agents: Shared_Type_46[];
12394
12475
  };
12395
12476
  export type GetStoredAgents_Request = Simplify<(never extends never ? {} : {
12396
12477
  params: never;
@@ -12482,6 +12563,14 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
12482
12563
  instructions?: (string | InputShared_Type_35[]) | undefined;
12483
12564
  /** Model configuration — static value or array of conditional variants */
12484
12565
  model?: InputShared_Type_37 | undefined;
12566
+ /** Ordered model fallback list owned by Studio */
12567
+ modelList?: ({
12568
+ id: string;
12569
+ provider: string;
12570
+ modelId: string;
12571
+ enabled: boolean;
12572
+ maxRetries: number;
12573
+ }[] | undefined) | undefined;
12485
12574
  /** Tool keys mapped to per-tool config — static or conditional */
12486
12575
  tools?: (InputShared_Type_39 | undefined) | undefined;
12487
12576
  /** Default options for generate/stream calls — static or conditional */
@@ -12572,6 +12661,14 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
12572
12661
  instructions?: (string | InputShared_Type_35[]) | undefined;
12573
12662
  /** Model configuration — static value or array of conditional variants */
12574
12663
  model?: InputShared_Type_37 | undefined;
12664
+ /** Ordered model fallback list owned by Studio */
12665
+ modelList?: ({
12666
+ id: string;
12667
+ provider: string;
12668
+ modelId: string;
12669
+ enabled: boolean;
12670
+ maxRetries: number;
12671
+ }[] | undefined) | undefined;
12575
12672
  /** Tool keys mapped to per-tool config — static or conditional */
12576
12673
  tools?: (InputShared_Type_39 | undefined) | undefined;
12577
12674
  /** Default options for generate/stream calls — static or conditional */
@@ -12704,6 +12801,14 @@ export type PostStoredAgents_Body = {
12704
12801
  conditions: InputShared_Type_34[];
12705
12802
  } | undefined;
12706
12803
  }[]) | undefined;
12804
+ /** Ordered model fallback list owned by Studio */
12805
+ modelList?: {
12806
+ id: string;
12807
+ provider: string;
12808
+ modelId: string;
12809
+ enabled: boolean;
12810
+ maxRetries: number;
12811
+ }[] | undefined;
12707
12812
  /** Tool keys mapped to per-tool config — static or conditional */
12708
12813
  tools?: InputShared_Type_39 | undefined;
12709
12814
  /** Default options for generate/stream calls — static or conditional */
@@ -12801,6 +12906,14 @@ export type PatchStoredAgentsStoredAgentId_Body = {
12801
12906
  instructions?: (string | InputShared_Type_35[]) | undefined;
12802
12907
  /** Model configuration — static value or array of conditional variants */
12803
12908
  model?: InputShared_Type_37 | undefined;
12909
+ /** Ordered model fallback list owned by Studio */
12910
+ modelList?: ({
12911
+ id: string;
12912
+ provider: string;
12913
+ modelId: string;
12914
+ enabled: boolean;
12915
+ maxRetries: number;
12916
+ }[] | undefined) | undefined;
12804
12917
  /** Tool keys mapped to per-tool config — static or conditional */
12805
12918
  tools?: (InputShared_Type_39 | undefined) | undefined;
12806
12919
  /** Default options for generate/stream calls — static or conditional */
@@ -12869,7 +12982,7 @@ export type PatchStoredAgentsStoredAgentId_Response = {
12869
12982
  visibility?: ('private' | 'public') | undefined;
12870
12983
  createdAt: Date;
12871
12984
  updatedAt: Date;
12872
- } | Shared_Type_45;
12985
+ } | Shared_Type_46;
12873
12986
  export type PatchStoredAgentsStoredAgentId_Request = Simplify<(PatchStoredAgentsStoredAgentId_PathParams extends never ? {} : {
12874
12987
  params: PatchStoredAgentsStoredAgentId_PathParams;
12875
12988
  }) & (never extends never ? {} : {} extends never ? {
@@ -12927,7 +13040,7 @@ export type GetStoredAgentsAgentIdVersions_Response = {
12927
13040
  page: number;
12928
13041
  perPage: number | false;
12929
13042
  hasMore: boolean;
12930
- versions: Shared_Type_72[];
13043
+ versions: Shared_Type_73[];
12931
13044
  };
12932
13045
  export type GetStoredAgentsAgentIdVersions_Request = Simplify<(GetStoredAgentsAgentIdVersions_PathParams extends never ? {} : {
12933
13046
  params: GetStoredAgentsAgentIdVersions_PathParams;
@@ -12965,74 +13078,74 @@ export type PostStoredAgentsAgentIdVersions_Response = {
12965
13078
  /** Description of the agent */
12966
13079
  description?: (string | undefined) | undefined;
12967
13080
  /** System instructions for the agent (string or array of instruction blocks) */
12968
- instructions?: (string | Shared_Type_11[]) | undefined;
13081
+ instructions?: (string | Shared_Type_12[]) | undefined;
12969
13082
  /** Model configuration — static value or array of conditional variants */
12970
- model?: (Shared_Type_12 | {
12971
- value: Shared_Type_12;
12972
- rules?: Shared_Type_10 | undefined;
13083
+ model?: (Shared_Type_13 | {
13084
+ value: Shared_Type_13;
13085
+ rules?: Shared_Type_11 | undefined;
12973
13086
  }[]) | undefined;
12974
13087
  /** Tool keys mapped to per-tool config — static or conditional */
12975
13088
  tools?: (({
12976
13089
  [key: string]: {
12977
13090
  description?: string | undefined;
12978
- rules?: Shared_Type_10 | undefined;
13091
+ rules?: Shared_Type_11 | undefined;
12979
13092
  };
12980
- } | Shared_Type_13[]) | undefined) | undefined;
13093
+ } | Shared_Type_14[]) | undefined) | undefined;
12981
13094
  /** Default options for generate/stream calls — static or conditional */
12982
13095
  defaultOptions?: ((Shared_Type_5 | {
12983
13096
  /** Default options for agent execution */
12984
13097
  value: Shared_Type_5;
12985
- rules?: Shared_Type_10 | undefined;
13098
+ rules?: Shared_Type_11 | undefined;
12986
13099
  }[]) | undefined) | undefined;
12987
13100
  /** Workflow keys with optional per-workflow config — static or conditional */
12988
13101
  workflows?: (({
12989
13102
  [key: string]: {
12990
13103
  description?: string | undefined;
12991
- rules?: Shared_Type_10 | undefined;
13104
+ rules?: Shared_Type_11 | undefined;
12992
13105
  };
12993
- } | Shared_Type_13[]) | undefined) | undefined;
13106
+ } | Shared_Type_14[]) | undefined) | undefined;
12994
13107
  /** Agent keys with optional per-agent config — static or conditional */
12995
13108
  agents?: (({
12996
13109
  [key: string]: {
12997
13110
  description?: string | undefined;
12998
- rules?: Shared_Type_10 | undefined;
13111
+ rules?: Shared_Type_11 | undefined;
12999
13112
  };
13000
- } | Shared_Type_13[]) | undefined) | undefined;
13113
+ } | Shared_Type_14[]) | undefined) | undefined;
13001
13114
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13002
13115
  integrationTools?: (({
13003
- [key: string]: Shared_Type_14;
13116
+ [key: string]: Shared_Type_15;
13004
13117
  } | {
13005
13118
  value: {
13006
- [key: string]: Shared_Type_14;
13119
+ [key: string]: Shared_Type_15;
13007
13120
  };
13008
- rules?: Shared_Type_10 | undefined;
13121
+ rules?: Shared_Type_11 | undefined;
13009
13122
  }[]) | undefined) | undefined;
13010
13123
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13011
13124
  mcpClients?: (({
13012
- [key: string]: Shared_Type_14;
13125
+ [key: string]: Shared_Type_15;
13013
13126
  } | {
13014
13127
  value: {
13015
- [key: string]: Shared_Type_14;
13128
+ [key: string]: Shared_Type_15;
13016
13129
  };
13017
- rules?: Shared_Type_10 | undefined;
13130
+ rules?: Shared_Type_11 | undefined;
13018
13131
  }[]) | undefined) | undefined;
13019
13132
  /** Input processor graph — static or conditional */
13020
- inputProcessors?: (Shared_Type_21 | undefined) | undefined;
13133
+ inputProcessors?: (Shared_Type_22 | undefined) | undefined;
13021
13134
  /** Output processor graph — static or conditional */
13022
- outputProcessors?: (Shared_Type_21 | undefined) | undefined;
13135
+ outputProcessors?: (Shared_Type_22 | undefined) | undefined;
13023
13136
  /** Memory: registered memory reference or inline config — static or conditional */
13024
- memory?: ((Shared_Type_30 | {
13025
- value: Shared_Type_30;
13026
- rules?: Shared_Type_10 | undefined;
13137
+ memory?: ((Shared_Type_31 | {
13138
+ value: Shared_Type_31;
13139
+ rules?: Shared_Type_11 | undefined;
13027
13140
  }[]) | undefined) | undefined;
13028
13141
  /** Scorer keys with optional sampling config — static or conditional */
13029
13142
  scorers?: (({
13030
- [key: string]: Shared_Type_31;
13143
+ [key: string]: Shared_Type_32;
13031
13144
  } | {
13032
13145
  value: {
13033
- [key: string]: Shared_Type_31;
13146
+ [key: string]: Shared_Type_32;
13034
13147
  };
13035
- rules?: Shared_Type_10 | undefined;
13148
+ rules?: Shared_Type_11 | undefined;
13036
13149
  }[]) | undefined) | undefined;
13037
13150
  /** JSON Schema defining valid request context variables */
13038
13151
  requestContextSchema?: ({
@@ -13073,7 +13186,7 @@ export type GetStoredAgentsAgentIdVersionsCompare_QueryParams = {
13073
13186
  };
13074
13187
  export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13075
13188
  /** List of differences between versions */
13076
- diffs: Shared_Type_73[];
13189
+ diffs: Shared_Type_74[];
13077
13190
  /** The source version */
13078
13191
  fromVersion: {
13079
13192
  /** Unique identifier for the version (UUID) */
@@ -13087,74 +13200,74 @@ export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13087
13200
  /** Description of the agent */
13088
13201
  description?: string | undefined;
13089
13202
  /** System instructions for the agent (string or array of instruction blocks) */
13090
- instructions: string | Shared_Type_11[];
13203
+ instructions: string | Shared_Type_12[];
13091
13204
  /** Model configuration — static value or array of conditional variants */
13092
- model: Shared_Type_12 | {
13093
- value: Shared_Type_12;
13094
- rules?: Shared_Type_10 | undefined;
13205
+ model: Shared_Type_13 | {
13206
+ value: Shared_Type_13;
13207
+ rules?: Shared_Type_11 | undefined;
13095
13208
  }[];
13096
13209
  /** Tool keys mapped to per-tool config — static or conditional */
13097
13210
  tools?: ({
13098
13211
  [key: string]: {
13099
13212
  description?: string | undefined;
13100
- rules?: Shared_Type_10 | undefined;
13213
+ rules?: Shared_Type_11 | undefined;
13101
13214
  };
13102
- } | Shared_Type_13[]) | undefined;
13215
+ } | Shared_Type_14[]) | undefined;
13103
13216
  /** Default options for generate/stream calls — static or conditional */
13104
13217
  defaultOptions?: (Shared_Type_5 | {
13105
13218
  /** Default options for agent execution */
13106
13219
  value: Shared_Type_5;
13107
- rules?: Shared_Type_10 | undefined;
13220
+ rules?: Shared_Type_11 | undefined;
13108
13221
  }[]) | undefined;
13109
13222
  /** Workflow keys with optional per-workflow config — static or conditional */
13110
13223
  workflows?: ({
13111
13224
  [key: string]: {
13112
13225
  description?: string | undefined;
13113
- rules?: Shared_Type_10 | undefined;
13226
+ rules?: Shared_Type_11 | undefined;
13114
13227
  };
13115
- } | Shared_Type_13[]) | undefined;
13228
+ } | Shared_Type_14[]) | undefined;
13116
13229
  /** Agent keys with optional per-agent config — static or conditional */
13117
13230
  agents?: ({
13118
13231
  [key: string]: {
13119
13232
  description?: string | undefined;
13120
- rules?: Shared_Type_10 | undefined;
13233
+ rules?: Shared_Type_11 | undefined;
13121
13234
  };
13122
- } | Shared_Type_13[]) | undefined;
13235
+ } | Shared_Type_14[]) | undefined;
13123
13236
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13124
13237
  integrationTools?: ({
13125
- [key: string]: Shared_Type_14;
13238
+ [key: string]: Shared_Type_15;
13126
13239
  } | {
13127
13240
  value: {
13128
- [key: string]: Shared_Type_14;
13241
+ [key: string]: Shared_Type_15;
13129
13242
  };
13130
- rules?: Shared_Type_10 | undefined;
13243
+ rules?: Shared_Type_11 | undefined;
13131
13244
  }[]) | undefined;
13132
13245
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13133
13246
  mcpClients?: ({
13134
- [key: string]: Shared_Type_14;
13247
+ [key: string]: Shared_Type_15;
13135
13248
  } | {
13136
13249
  value: {
13137
- [key: string]: Shared_Type_14;
13250
+ [key: string]: Shared_Type_15;
13138
13251
  };
13139
- rules?: Shared_Type_10 | undefined;
13252
+ rules?: Shared_Type_11 | undefined;
13140
13253
  }[]) | undefined;
13141
13254
  /** Input processor graph — static or conditional */
13142
- inputProcessors?: Shared_Type_21 | undefined;
13255
+ inputProcessors?: Shared_Type_22 | undefined;
13143
13256
  /** Output processor graph — static or conditional */
13144
- outputProcessors?: Shared_Type_21 | undefined;
13257
+ outputProcessors?: Shared_Type_22 | undefined;
13145
13258
  /** Memory: registered memory reference or inline config — static or conditional */
13146
- memory?: (Shared_Type_30 | {
13147
- value: Shared_Type_30;
13148
- rules?: Shared_Type_10 | undefined;
13259
+ memory?: (Shared_Type_31 | {
13260
+ value: Shared_Type_31;
13261
+ rules?: Shared_Type_11 | undefined;
13149
13262
  }[]) | undefined;
13150
13263
  /** Scorer keys with optional sampling config — static or conditional */
13151
13264
  scorers?: ({
13152
- [key: string]: Shared_Type_31;
13265
+ [key: string]: Shared_Type_32;
13153
13266
  } | {
13154
13267
  value: {
13155
- [key: string]: Shared_Type_31;
13268
+ [key: string]: Shared_Type_32;
13156
13269
  };
13157
- rules?: Shared_Type_10 | undefined;
13270
+ rules?: Shared_Type_11 | undefined;
13158
13271
  }[]) | undefined;
13159
13272
  /** JSON Schema defining valid request context variables */
13160
13273
  requestContextSchema?: {
@@ -13180,74 +13293,74 @@ export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13180
13293
  /** Description of the agent */
13181
13294
  description?: string | undefined;
13182
13295
  /** System instructions for the agent (string or array of instruction blocks) */
13183
- instructions: string | Shared_Type_11[];
13296
+ instructions: string | Shared_Type_12[];
13184
13297
  /** Model configuration — static value or array of conditional variants */
13185
- model: Shared_Type_12 | {
13186
- value: Shared_Type_12;
13187
- rules?: Shared_Type_10 | undefined;
13298
+ model: Shared_Type_13 | {
13299
+ value: Shared_Type_13;
13300
+ rules?: Shared_Type_11 | undefined;
13188
13301
  }[];
13189
13302
  /** Tool keys mapped to per-tool config — static or conditional */
13190
13303
  tools?: ({
13191
13304
  [key: string]: {
13192
13305
  description?: string | undefined;
13193
- rules?: Shared_Type_10 | undefined;
13306
+ rules?: Shared_Type_11 | undefined;
13194
13307
  };
13195
- } | Shared_Type_13[]) | undefined;
13308
+ } | Shared_Type_14[]) | undefined;
13196
13309
  /** Default options for generate/stream calls — static or conditional */
13197
13310
  defaultOptions?: (Shared_Type_5 | {
13198
13311
  /** Default options for agent execution */
13199
13312
  value: Shared_Type_5;
13200
- rules?: Shared_Type_10 | undefined;
13313
+ rules?: Shared_Type_11 | undefined;
13201
13314
  }[]) | undefined;
13202
13315
  /** Workflow keys with optional per-workflow config — static or conditional */
13203
13316
  workflows?: ({
13204
13317
  [key: string]: {
13205
13318
  description?: string | undefined;
13206
- rules?: Shared_Type_10 | undefined;
13319
+ rules?: Shared_Type_11 | undefined;
13207
13320
  };
13208
- } | Shared_Type_13[]) | undefined;
13321
+ } | Shared_Type_14[]) | undefined;
13209
13322
  /** Agent keys with optional per-agent config — static or conditional */
13210
13323
  agents?: ({
13211
13324
  [key: string]: {
13212
13325
  description?: string | undefined;
13213
- rules?: Shared_Type_10 | undefined;
13326
+ rules?: Shared_Type_11 | undefined;
13214
13327
  };
13215
- } | Shared_Type_13[]) | undefined;
13328
+ } | Shared_Type_14[]) | undefined;
13216
13329
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13217
13330
  integrationTools?: ({
13218
- [key: string]: Shared_Type_14;
13331
+ [key: string]: Shared_Type_15;
13219
13332
  } | {
13220
13333
  value: {
13221
- [key: string]: Shared_Type_14;
13334
+ [key: string]: Shared_Type_15;
13222
13335
  };
13223
- rules?: Shared_Type_10 | undefined;
13336
+ rules?: Shared_Type_11 | undefined;
13224
13337
  }[]) | undefined;
13225
13338
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13226
13339
  mcpClients?: ({
13227
- [key: string]: Shared_Type_14;
13340
+ [key: string]: Shared_Type_15;
13228
13341
  } | {
13229
13342
  value: {
13230
- [key: string]: Shared_Type_14;
13343
+ [key: string]: Shared_Type_15;
13231
13344
  };
13232
- rules?: Shared_Type_10 | undefined;
13345
+ rules?: Shared_Type_11 | undefined;
13233
13346
  }[]) | undefined;
13234
13347
  /** Input processor graph — static or conditional */
13235
- inputProcessors?: Shared_Type_21 | undefined;
13348
+ inputProcessors?: Shared_Type_22 | undefined;
13236
13349
  /** Output processor graph — static or conditional */
13237
- outputProcessors?: Shared_Type_21 | undefined;
13350
+ outputProcessors?: Shared_Type_22 | undefined;
13238
13351
  /** Memory: registered memory reference or inline config — static or conditional */
13239
- memory?: (Shared_Type_30 | {
13240
- value: Shared_Type_30;
13241
- rules?: Shared_Type_10 | undefined;
13352
+ memory?: (Shared_Type_31 | {
13353
+ value: Shared_Type_31;
13354
+ rules?: Shared_Type_11 | undefined;
13242
13355
  }[]) | undefined;
13243
13356
  /** Scorer keys with optional sampling config — static or conditional */
13244
13357
  scorers?: ({
13245
- [key: string]: Shared_Type_31;
13358
+ [key: string]: Shared_Type_32;
13246
13359
  } | {
13247
13360
  value: {
13248
- [key: string]: Shared_Type_31;
13361
+ [key: string]: Shared_Type_32;
13249
13362
  };
13250
- rules?: Shared_Type_10 | undefined;
13363
+ rules?: Shared_Type_11 | undefined;
13251
13364
  }[]) | undefined;
13252
13365
  /** JSON Schema defining valid request context variables */
13253
13366
  requestContextSchema?: {
@@ -13286,7 +13399,7 @@ export type GetStoredAgentsAgentIdVersionsVersionId_PathParams = {
13286
13399
  /** Unique identifier for the version (UUID) */
13287
13400
  versionId: string;
13288
13401
  };
13289
- export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_72;
13402
+ export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_73;
13290
13403
  export type GetStoredAgentsAgentIdVersionsVersionId_Request = Simplify<(GetStoredAgentsAgentIdVersionsVersionId_PathParams extends never ? {} : {
13291
13404
  params: GetStoredAgentsAgentIdVersionsVersionId_PathParams;
13292
13405
  }) & (never extends never ? {} : {} extends never ? {
@@ -13344,74 +13457,74 @@ export type PostStoredAgentsAgentIdVersionsVersionIdRestore_Response = {
13344
13457
  /** Description of the agent */
13345
13458
  description?: string | undefined;
13346
13459
  /** System instructions for the agent (string or array of instruction blocks) */
13347
- instructions: string | Shared_Type_11[];
13460
+ instructions: string | Shared_Type_12[];
13348
13461
  /** Model configuration — static value or array of conditional variants */
13349
- model: Shared_Type_12 | {
13350
- value: Shared_Type_12;
13351
- rules?: Shared_Type_10 | undefined;
13462
+ model: Shared_Type_13 | {
13463
+ value: Shared_Type_13;
13464
+ rules?: Shared_Type_11 | undefined;
13352
13465
  }[];
13353
13466
  /** Tool keys mapped to per-tool config — static or conditional */
13354
13467
  tools?: ({
13355
13468
  [key: string]: {
13356
13469
  description?: string | undefined;
13357
- rules?: Shared_Type_10 | undefined;
13470
+ rules?: Shared_Type_11 | undefined;
13358
13471
  };
13359
- } | Shared_Type_13[]) | undefined;
13472
+ } | Shared_Type_14[]) | undefined;
13360
13473
  /** Default options for generate/stream calls — static or conditional */
13361
13474
  defaultOptions?: (Shared_Type_5 | {
13362
13475
  /** Default options for agent execution */
13363
13476
  value: Shared_Type_5;
13364
- rules?: Shared_Type_10 | undefined;
13477
+ rules?: Shared_Type_11 | undefined;
13365
13478
  }[]) | undefined;
13366
13479
  /** Workflow keys with optional per-workflow config — static or conditional */
13367
13480
  workflows?: ({
13368
13481
  [key: string]: {
13369
13482
  description?: string | undefined;
13370
- rules?: Shared_Type_10 | undefined;
13483
+ rules?: Shared_Type_11 | undefined;
13371
13484
  };
13372
- } | Shared_Type_13[]) | undefined;
13485
+ } | Shared_Type_14[]) | undefined;
13373
13486
  /** Agent keys with optional per-agent config — static or conditional */
13374
13487
  agents?: ({
13375
13488
  [key: string]: {
13376
13489
  description?: string | undefined;
13377
- rules?: Shared_Type_10 | undefined;
13490
+ rules?: Shared_Type_11 | undefined;
13378
13491
  };
13379
- } | Shared_Type_13[]) | undefined;
13492
+ } | Shared_Type_14[]) | undefined;
13380
13493
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13381
13494
  integrationTools?: ({
13382
- [key: string]: Shared_Type_14;
13495
+ [key: string]: Shared_Type_15;
13383
13496
  } | {
13384
13497
  value: {
13385
- [key: string]: Shared_Type_14;
13498
+ [key: string]: Shared_Type_15;
13386
13499
  };
13387
- rules?: Shared_Type_10 | undefined;
13500
+ rules?: Shared_Type_11 | undefined;
13388
13501
  }[]) | undefined;
13389
13502
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13390
13503
  mcpClients?: ({
13391
- [key: string]: Shared_Type_14;
13504
+ [key: string]: Shared_Type_15;
13392
13505
  } | {
13393
13506
  value: {
13394
- [key: string]: Shared_Type_14;
13507
+ [key: string]: Shared_Type_15;
13395
13508
  };
13396
- rules?: Shared_Type_10 | undefined;
13509
+ rules?: Shared_Type_11 | undefined;
13397
13510
  }[]) | undefined;
13398
13511
  /** Input processor graph — static or conditional */
13399
- inputProcessors?: Shared_Type_21 | undefined;
13512
+ inputProcessors?: Shared_Type_22 | undefined;
13400
13513
  /** Output processor graph — static or conditional */
13401
- outputProcessors?: Shared_Type_21 | undefined;
13514
+ outputProcessors?: Shared_Type_22 | undefined;
13402
13515
  /** Memory: registered memory reference or inline config — static or conditional */
13403
- memory?: (Shared_Type_30 | {
13404
- value: Shared_Type_30;
13405
- rules?: Shared_Type_10 | undefined;
13516
+ memory?: (Shared_Type_31 | {
13517
+ value: Shared_Type_31;
13518
+ rules?: Shared_Type_11 | undefined;
13406
13519
  }[]) | undefined;
13407
13520
  /** Scorer keys with optional sampling config — static or conditional */
13408
13521
  scorers?: ({
13409
- [key: string]: Shared_Type_31;
13522
+ [key: string]: Shared_Type_32;
13410
13523
  } | {
13411
13524
  value: {
13412
- [key: string]: Shared_Type_31;
13525
+ [key: string]: Shared_Type_32;
13413
13526
  };
13414
- rules?: Shared_Type_10 | undefined;
13527
+ rules?: Shared_Type_11 | undefined;
13415
13528
  }[]) | undefined;
13416
13529
  /** JSON Schema defining valid request context variables */
13417
13530
  requestContextSchema?: {
@@ -13518,7 +13631,7 @@ export type GetStoredWorkflows_QueryParams = {
13518
13631
  authorId?: string | undefined;
13519
13632
  };
13520
13633
  export type GetStoredWorkflows_Response = {
13521
- workflows: Shared_Type_74[];
13634
+ workflows: Shared_Type_75[];
13522
13635
  total: number;
13523
13636
  };
13524
13637
  export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
@@ -13618,7 +13731,7 @@ export type GetStoredWorkflowsDynamicWorkflowId_PathParams = {
13618
13731
  /** Unique identifier for the dynamic workflow definition */
13619
13732
  dynamicWorkflowId: string;
13620
13733
  };
13621
- export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_74;
13734
+ export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_75;
13622
13735
  export type GetStoredWorkflowsDynamicWorkflowId_Request = Simplify<(GetStoredWorkflowsDynamicWorkflowId_PathParams extends never ? {} : {
13623
13736
  params: GetStoredWorkflowsDynamicWorkflowId_PathParams;
13624
13737
  }) & (never extends never ? {} : {} extends never ? {
@@ -13683,7 +13796,7 @@ export type GetStoredMcpClients_Response = {
13683
13796
  page: number;
13684
13797
  perPage: number | false;
13685
13798
  hasMore: boolean;
13686
- mcpClients: Shared_Type_76[];
13799
+ mcpClients: Shared_Type_77[];
13687
13800
  };
13688
13801
  export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
13689
13802
  params: never;
@@ -13709,7 +13822,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
13709
13822
  storedMCPClientId: string;
13710
13823
  };
13711
13824
  export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13712
- export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_76;
13825
+ export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_77;
13713
13826
  export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13714
13827
  params: GetStoredMcpClientsStoredMCPClientId_PathParams;
13715
13828
  }) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
@@ -13792,7 +13905,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
13792
13905
  } | undefined;
13793
13906
  createdAt: Date;
13794
13907
  updatedAt: Date;
13795
- } | Shared_Type_76;
13908
+ } | Shared_Type_77;
13796
13909
  export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13797
13910
  params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
13798
13911
  }) & (never extends never ? {} : {} extends never ? {
@@ -13843,7 +13956,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
13843
13956
  page: number;
13844
13957
  perPage: number | false;
13845
13958
  hasMore: boolean;
13846
- versions: Shared_Type_78[];
13959
+ versions: Shared_Type_79[];
13847
13960
  };
13848
13961
  export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
13849
13962
  params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
@@ -13875,7 +13988,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
13875
13988
  /** Description of the MCP client */
13876
13989
  description?: (string | undefined) | undefined;
13877
13990
  servers?: {
13878
- [key: string]: Shared_Type_77;
13991
+ [key: string]: Shared_Type_78;
13879
13992
  } | undefined;
13880
13993
  /** Array of field names that changed from the previous version */
13881
13994
  changedFields?: (string[] | undefined) | undefined;
@@ -13906,7 +14019,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_PathParams = GetStored
13906
14019
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
13907
14020
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13908
14021
  /** List of differences between versions */
13909
- diffs: Shared_Type_73[];
14022
+ diffs: Shared_Type_74[];
13910
14023
  /** The source version */
13911
14024
  fromVersion: {
13912
14025
  /** Unique identifier for the version (UUID) */
@@ -13920,7 +14033,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13920
14033
  /** Description of the MCP client */
13921
14034
  description?: string | undefined;
13922
14035
  servers: {
13923
- [key: string]: Shared_Type_77;
14036
+ [key: string]: Shared_Type_78;
13924
14037
  };
13925
14038
  /** Array of field names that changed from the previous version */
13926
14039
  changedFields?: string[] | undefined;
@@ -13942,7 +14055,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13942
14055
  /** Description of the MCP client */
13943
14056
  description?: string | undefined;
13944
14057
  servers: {
13945
- [key: string]: Shared_Type_77;
14058
+ [key: string]: Shared_Type_78;
13946
14059
  };
13947
14060
  /** Array of field names that changed from the previous version */
13948
14061
  changedFields?: string[] | undefined;
@@ -13977,7 +14090,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
13977
14090
  /** Unique identifier for the version (UUID) */
13978
14091
  versionId: string;
13979
14092
  };
13980
- export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_78;
14093
+ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_79;
13981
14094
  export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
13982
14095
  params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
13983
14096
  }) & (never extends never ? {} : {} extends never ? {
@@ -14081,7 +14194,7 @@ export type GetStoredPromptBlocks_Response = {
14081
14194
  page: number;
14082
14195
  perPage: number | false;
14083
14196
  hasMore: boolean;
14084
- promptBlocks: Shared_Type_79[];
14197
+ promptBlocks: Shared_Type_80[];
14085
14198
  };
14086
14199
  export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
14087
14200
  params: never;
@@ -14107,7 +14220,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
14107
14220
  storedPromptBlockId: string;
14108
14221
  };
14109
14222
  export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
14110
- export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_79;
14223
+ export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_80;
14111
14224
  export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
14112
14225
  params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
14113
14226
  }) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
@@ -14204,7 +14317,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
14204
14317
  } | undefined;
14205
14318
  createdAt: Date;
14206
14319
  updatedAt: Date;
14207
- } | Shared_Type_79;
14320
+ } | Shared_Type_80;
14208
14321
  export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
14209
14322
  params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
14210
14323
  }) & (never extends never ? {} : {} extends never ? {
@@ -14255,7 +14368,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
14255
14368
  page: number;
14256
14369
  perPage: number | false;
14257
14370
  hasMore: boolean;
14258
- versions: Shared_Type_80[];
14371
+ versions: Shared_Type_81[];
14259
14372
  };
14260
14373
  export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
14261
14374
  params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
@@ -14289,7 +14402,7 @@ export type PostStoredPromptBlocksPromptBlockIdVersions_Response = {
14289
14402
  /** Template content with {{variable}} interpolation */
14290
14403
  content?: string | undefined;
14291
14404
  /** Rules for conditional inclusion */
14292
- rules?: (Shared_Type_10 | undefined) | undefined;
14405
+ rules?: (Shared_Type_11 | undefined) | undefined;
14293
14406
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14294
14407
  requestContextSchema?: ({
14295
14408
  [key: string]: unknown;
@@ -14323,7 +14436,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_PathParams = GetSt
14323
14436
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
14324
14437
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14325
14438
  /** List of differences between versions */
14326
- diffs: Shared_Type_73[];
14439
+ diffs: Shared_Type_74[];
14327
14440
  /** The source version */
14328
14441
  fromVersion: {
14329
14442
  /** Unique identifier for the version (UUID) */
@@ -14339,7 +14452,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14339
14452
  /** Template content with {{variable}} interpolation */
14340
14453
  content: string;
14341
14454
  /** Rules for conditional inclusion */
14342
- rules?: Shared_Type_10 | undefined;
14455
+ rules?: Shared_Type_11 | undefined;
14343
14456
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14344
14457
  requestContextSchema?: {
14345
14458
  [key: string]: unknown;
@@ -14366,7 +14479,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14366
14479
  /** Template content with {{variable}} interpolation */
14367
14480
  content: string;
14368
14481
  /** Rules for conditional inclusion */
14369
- rules?: Shared_Type_10 | undefined;
14482
+ rules?: Shared_Type_11 | undefined;
14370
14483
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14371
14484
  requestContextSchema?: {
14372
14485
  [key: string]: unknown;
@@ -14404,7 +14517,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
14404
14517
  /** Unique identifier for the version (UUID) */
14405
14518
  versionId: string;
14406
14519
  };
14407
- export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_80;
14520
+ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_81;
14408
14521
  export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
14409
14522
  params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
14410
14523
  }) & (never extends never ? {} : {} extends never ? {
@@ -14508,7 +14621,7 @@ export type GetStoredScorers_Response = {
14508
14621
  page: number;
14509
14622
  perPage: number | false;
14510
14623
  hasMore: boolean;
14511
- scorerDefinitions: Shared_Type_82[];
14624
+ scorerDefinitions: Shared_Type_83[];
14512
14625
  };
14513
14626
  export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
14514
14627
  params: never;
@@ -14534,7 +14647,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
14534
14647
  storedScorerId: string;
14535
14648
  };
14536
14649
  export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
14537
- export type GetStoredScorersStoredScorerId_Response = Shared_Type_82;
14650
+ export type GetStoredScorersStoredScorerId_Response = Shared_Type_83;
14538
14651
  export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
14539
14652
  params: GetStoredScorersStoredScorerId_PathParams;
14540
14653
  }) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
@@ -14647,7 +14760,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
14647
14760
  } | undefined;
14648
14761
  createdAt: Date;
14649
14762
  updatedAt: Date;
14650
- } | Shared_Type_82;
14763
+ } | Shared_Type_83;
14651
14764
  export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
14652
14765
  params: PatchStoredScorersStoredScorerId_PathParams;
14653
14766
  }) & (never extends never ? {} : {} extends never ? {
@@ -14698,7 +14811,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
14698
14811
  page: number;
14699
14812
  perPage: number | false;
14700
14813
  hasMore: boolean;
14701
- versions: Shared_Type_83[];
14814
+ versions: Shared_Type_84[];
14702
14815
  };
14703
14816
  export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
14704
14817
  params: GetStoredScorersScorerIdVersions_PathParams;
@@ -14729,8 +14842,8 @@ export type PostStoredScorersScorerIdVersions_Response = {
14729
14842
  name?: string | undefined;
14730
14843
  /** Description of the scorer */
14731
14844
  description?: (string | undefined) | undefined;
14732
- type?: Shared_Type_81 | undefined;
14733
- model?: (Shared_Type_12 | undefined) | undefined;
14845
+ type?: Shared_Type_82 | undefined;
14846
+ model?: (Shared_Type_13 | undefined) | undefined;
14734
14847
  instructions?: (string | undefined) | undefined;
14735
14848
  scoreRange?: ({
14736
14849
  min?: number | undefined;
@@ -14774,7 +14887,7 @@ export type GetStoredScorersScorerIdVersionsCompare_PathParams = GetStoredScorer
14774
14887
  export type GetStoredScorersScorerIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
14775
14888
  export type GetStoredScorersScorerIdVersionsCompare_Response = {
14776
14889
  /** List of differences between versions */
14777
- diffs: Shared_Type_73[];
14890
+ diffs: Shared_Type_74[];
14778
14891
  /** The source version */
14779
14892
  fromVersion: {
14780
14893
  /** Unique identifier for the version (UUID) */
@@ -14787,8 +14900,8 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14787
14900
  name: string;
14788
14901
  /** Description of the scorer */
14789
14902
  description?: string | undefined;
14790
- type: Shared_Type_81;
14791
- model?: Shared_Type_12 | undefined;
14903
+ type: Shared_Type_82;
14904
+ model?: Shared_Type_13 | undefined;
14792
14905
  instructions?: string | undefined;
14793
14906
  scoreRange?: {
14794
14907
  min?: number | undefined;
@@ -14822,8 +14935,8 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14822
14935
  name: string;
14823
14936
  /** Description of the scorer */
14824
14937
  description?: string | undefined;
14825
- type: Shared_Type_81;
14826
- model?: Shared_Type_12 | undefined;
14938
+ type: Shared_Type_82;
14939
+ model?: Shared_Type_13 | undefined;
14827
14940
  instructions?: string | undefined;
14828
14941
  scoreRange?: {
14829
14942
  min?: number | undefined;
@@ -14871,7 +14984,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
14871
14984
  /** Unique identifier for the version (UUID) */
14872
14985
  versionId: string;
14873
14986
  };
14874
- export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_83;
14987
+ export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_84;
14875
14988
  export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
14876
14989
  params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
14877
14990
  }) & (never extends never ? {} : {} extends never ? {
@@ -14989,17 +15102,17 @@ export type GetStoredWorkspaces_Response = {
14989
15102
  /** Description of the workspace */
14990
15103
  description?: string | undefined;
14991
15104
  /** Filesystem configuration */
14992
- filesystem?: Shared_Type_33;
15105
+ filesystem?: Shared_Type_34;
14993
15106
  /** Sandbox configuration */
14994
- sandbox?: Shared_Type_34;
15107
+ sandbox?: Shared_Type_35;
14995
15108
  /** Mounted filesystems keyed by mount path */
14996
- mounts?: Shared_Type_35 | undefined;
15109
+ mounts?: Shared_Type_36 | undefined;
14997
15110
  /** Search configuration */
14998
- search?: Shared_Type_36 | undefined;
15111
+ search?: Shared_Type_37 | undefined;
14999
15112
  /** Array of skill IDs */
15000
15113
  skills?: string[] | undefined;
15001
15114
  /** Workspace tool configuration */
15002
- tools?: Shared_Type_38 | undefined;
15115
+ tools?: Shared_Type_39 | undefined;
15003
15116
  /** Whether to automatically sync the workspace */
15004
15117
  autoSync?: boolean | undefined;
15005
15118
  /** Operation timeout in milliseconds */
@@ -15031,7 +15144,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
15031
15144
  /** Unique identifier for the stored workspace */
15032
15145
  storedWorkspaceId: string;
15033
15146
  };
15034
- export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_84;
15147
+ export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_85;
15035
15148
  export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
15036
15149
  params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
15037
15150
  }) & (never extends never ? {} : {} extends never ? {
@@ -15137,7 +15250,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
15137
15250
  } | undefined;
15138
15251
  createdAt: Date;
15139
15252
  updatedAt: Date;
15140
- } | Shared_Type_84;
15253
+ } | Shared_Type_85;
15141
15254
  export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
15142
15255
  params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
15143
15256
  }) & (never extends never ? {} : {} extends never ? {
@@ -15205,7 +15318,7 @@ export type GetStoredSkills_Response = {
15205
15318
  page: number;
15206
15319
  perPage: number | false;
15207
15320
  hasMore: boolean;
15208
- skills: Shared_Type_86[];
15321
+ skills: Shared_Type_87[];
15209
15322
  };
15210
15323
  export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
15211
15324
  params: never;
@@ -15230,7 +15343,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
15230
15343
  /** Unique identifier for the stored skill */
15231
15344
  storedSkillId: string;
15232
15345
  };
15233
- export type GetStoredSkillsStoredSkillId_Response = Shared_Type_86;
15346
+ export type GetStoredSkillsStoredSkillId_Response = Shared_Type_87;
15234
15347
  export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
15235
15348
  params: GetStoredSkillsStoredSkillId_PathParams;
15236
15349
  }) & (never extends never ? {} : {} extends never ? {
@@ -15276,7 +15389,7 @@ export type PostStoredSkills_Body = {
15276
15389
  /** List of asset file paths */
15277
15390
  assets?: string[] | undefined;
15278
15391
  /** Full file tree structure for the skill */
15279
- files?: InputShared_Auxiliary_795[] | undefined;
15392
+ files?: InputShared_Auxiliary_805[] | undefined;
15280
15393
  /** Additional metadata for the skill */
15281
15394
  metadata?: {
15282
15395
  [key: string]: unknown;
@@ -15326,7 +15439,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
15326
15439
  /** List of asset file paths */
15327
15440
  assets?: (string[] | undefined) | undefined;
15328
15441
  /** Full file tree structure for the skill */
15329
- files?: (InputShared_Auxiliary_795[] | undefined) | undefined;
15442
+ files?: (InputShared_Auxiliary_805[] | undefined) | undefined;
15330
15443
  /** Additional metadata for the skill */
15331
15444
  metadata?: ({
15332
15445
  [key: string]: unknown;
@@ -15340,7 +15453,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
15340
15453
  visibility?: ('private' | 'public') | undefined;
15341
15454
  createdAt: Date;
15342
15455
  updatedAt: Date;
15343
- } | Shared_Type_86;
15456
+ } | Shared_Type_87;
15344
15457
  export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
15345
15458
  params: PatchStoredSkillsStoredSkillId_PathParams;
15346
15459
  }) & (never extends never ? {} : {} extends never ? {
@@ -15980,7 +16093,7 @@ export type GetSystemPackages_Response = {
15980
16093
  observabilityEnabled: boolean;
15981
16094
  storageType?: string | undefined;
15982
16095
  observabilityStorageType?: string | undefined;
15983
- observabilityStorageCapabilities?: Shared_Type_67 | undefined;
16096
+ observabilityStorageCapabilities?: Shared_Type_68 | undefined;
15984
16097
  observabilityRuntimeStrategy?: ('realtime' | 'batch-with-updates' | 'insert-only' | 'event-sourced') | undefined;
15985
16098
  };
15986
16099
  export type GetSystemPackages_Request = Simplify<(never extends never ? {} : {
@@ -16061,7 +16174,7 @@ export type GetDatasets_QueryParams = {
16061
16174
  } | undefined) | undefined;
16062
16175
  };
16063
16176
  export type GetDatasets_Response = {
16064
- datasets: Shared_Type_87[];
16177
+ datasets: Shared_Type_88[];
16065
16178
  pagination: {
16066
16179
  total: number;
16067
16180
  page: number;
@@ -16116,7 +16229,7 @@ export type PostDatasets_Body = {
16116
16229
  /** IDs of scorers attached to this dataset */
16117
16230
  scorerIds?: string[] | undefined;
16118
16231
  };
16119
- export type PostDatasets_Response = Shared_Type_87;
16232
+ export type PostDatasets_Response = Shared_Type_88;
16120
16233
  export type PostDatasets_Request = Simplify<(never extends never ? {} : {
16121
16234
  params: never;
16122
16235
  }) & (never extends never ? {} : {} extends never ? {
@@ -16146,7 +16259,7 @@ export type GetDatasetsDatasetId_QueryParams = {
16146
16259
  /** Restrict lookup to the given project */
16147
16260
  projectId?: string | undefined;
16148
16261
  };
16149
- export type GetDatasetsDatasetId_Response = Shared_Type_87 | null;
16262
+ export type GetDatasetsDatasetId_Response = Shared_Type_88 | null;
16150
16263
  export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
16151
16264
  params: GetDatasetsDatasetId_PathParams;
16152
16265
  }) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
@@ -16252,7 +16365,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
16252
16365
  } | undefined) | undefined;
16253
16366
  };
16254
16367
  export type GetDatasetsDatasetIdItems_Response = {
16255
- items: Shared_Type_90[];
16368
+ items: Shared_Type_91[];
16256
16369
  pagination: {
16257
16370
  total: number;
16258
16371
  page: number;
@@ -16306,7 +16419,7 @@ export type PostDatasetsDatasetIdItems_Body = {
16306
16419
  /** Source/provenance of this dataset item */
16307
16420
  source?: InputShared_Type_112 | undefined;
16308
16421
  };
16309
- export type PostDatasetsDatasetIdItems_Response = Shared_Type_90;
16422
+ export type PostDatasetsDatasetIdItems_Response = Shared_Type_91;
16310
16423
  export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
16311
16424
  params: PostDatasetsDatasetIdItems_PathParams;
16312
16425
  }) & (never extends never ? {} : {} extends never ? {
@@ -16350,7 +16463,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
16350
16463
  }[];
16351
16464
  };
16352
16465
  export type PostDatasetsDatasetIdItemsBatch_Response = {
16353
- items: Shared_Type_90[];
16466
+ items: Shared_Type_91[];
16354
16467
  count: number;
16355
16468
  };
16356
16469
  export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
@@ -16558,7 +16671,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
16558
16671
  groundTruth?: unknown | undefined;
16559
16672
  expectedTrajectory?: unknown | undefined;
16560
16673
  /** Ordered item-level static tool mocks served in place of executing the real tool */
16561
- toolMocks?: (Shared_Type_88[] | undefined) | null;
16674
+ toolMocks?: (Shared_Type_89[] | undefined) | null;
16562
16675
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
16563
16676
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
16564
16677
  scorerIds?: (string[] | undefined) | null;
@@ -16638,7 +16751,7 @@ export type GetExperiments_QueryParams = {
16638
16751
  } | undefined) | undefined;
16639
16752
  };
16640
16753
  export type GetExperiments_Response = {
16641
- experiments: Shared_Type_92[];
16754
+ experiments: Shared_Type_93[];
16642
16755
  pagination: {
16643
16756
  total: number;
16644
16757
  page: number;
@@ -16698,7 +16811,7 @@ export type GetExperimentsExperimentId_PathParams = {
16698
16811
  experimentId: string;
16699
16812
  };
16700
16813
  export type GetExperimentsExperimentId_QueryParams = GetDatasetsDatasetId_QueryParams;
16701
- export type GetExperimentsExperimentId_Response = Shared_Type_92;
16814
+ export type GetExperimentsExperimentId_Response = Shared_Type_93;
16702
16815
  export type GetExperimentsExperimentId_Request = Simplify<(GetExperimentsExperimentId_PathParams extends never ? {} : {
16703
16816
  params: GetExperimentsExperimentId_PathParams;
16704
16817
  }) & (GetExperimentsExperimentId_QueryParams extends never ? {} : {} extends GetExperimentsExperimentId_QueryParams ? {
@@ -16849,7 +16962,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
16849
16962
  completedAt: Date;
16850
16963
  retryCount: number;
16851
16964
  /** Diagnostic receipt for item-level tool mocks */
16852
- toolMockReport?: (Shared_Type_93 | undefined) | null;
16965
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
16853
16966
  scores: {
16854
16967
  scorerId: string;
16855
16968
  scorerName: string;
@@ -16895,7 +17008,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
16895
17008
  } | undefined;
16896
17009
  };
16897
17010
  export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
16898
- result: Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
17011
+ result: Shared_Type_96 | Shared_Type_97 | Shared_Type_98;
16899
17012
  scores: {
16900
17013
  scorerId: string;
16901
17014
  scorerName: string;
@@ -16968,7 +17081,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
16968
17081
  } | undefined;
16969
17082
  }[] | undefined;
16970
17083
  };
16971
- export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
17084
+ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_96 | Shared_Type_97 | Shared_Type_98;
16972
17085
  export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
16973
17086
  params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
16974
17087
  }) & (never extends never ? {} : {} extends never ? {
@@ -17010,7 +17123,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdFinalize_RouteContr
17010
17123
  responseType: 'json';
17011
17124
  }
17012
17125
  export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
17013
- export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_92 | null;
17126
+ export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_93 | null;
17014
17127
  export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
17015
17128
  params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
17016
17129
  }) & (never extends never ? {} : {} extends never ? {
@@ -17095,7 +17208,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
17095
17208
  } | undefined) | undefined;
17096
17209
  };
17097
17210
  export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
17098
- results: (Shared_Type_95 | Shared_Type_96 | Shared_Type_97)[];
17211
+ results: (Shared_Type_96 | Shared_Type_97 | Shared_Type_98)[];
17099
17212
  pagination: {
17100
17213
  total: number;
17101
17214
  page: number;
@@ -17343,7 +17456,7 @@ export type GetBackgroundTasks_QueryParams = {
17343
17456
  perPage?: number | undefined;
17344
17457
  };
17345
17458
  export type GetBackgroundTasks_Response = {
17346
- tasks: Shared_Type_98[];
17459
+ tasks: Shared_Type_99[];
17347
17460
  total: number;
17348
17461
  };
17349
17462
  export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
@@ -17368,7 +17481,7 @@ export interface GetBackgroundTasks_RouteContract {
17368
17481
  export type GetBackgroundTasksBackgroundTaskId_PathParams = {
17369
17482
  backgroundTaskId: string;
17370
17483
  };
17371
- export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_98;
17484
+ export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_99;
17372
17485
  export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
17373
17486
  params: GetBackgroundTasksBackgroundTaskId_PathParams;
17374
17487
  }) & (never extends never ? {} : {} extends never ? {
@@ -17388,6 +17501,31 @@ export interface GetBackgroundTasksBackgroundTaskId_RouteContract {
17388
17501
  response: GetBackgroundTasksBackgroundTaskId_Response;
17389
17502
  responseType: 'json';
17390
17503
  }
17504
+ export type PostBackgroundTasksBackgroundTaskIdResume_PathParams = GetBackgroundTasksBackgroundTaskId_PathParams;
17505
+ export type PostBackgroundTasksBackgroundTaskIdResume_Body = {
17506
+ resumeData: unknown;
17507
+ suspendedAt?: (string | number) | undefined;
17508
+ };
17509
+ export type PostBackgroundTasksBackgroundTaskIdResume_Response = GetBackgroundTasksBackgroundTaskId_Response;
17510
+ export type PostBackgroundTasksBackgroundTaskIdResume_Request = Simplify<(PostBackgroundTasksBackgroundTaskIdResume_PathParams extends never ? {} : {
17511
+ params: PostBackgroundTasksBackgroundTaskIdResume_PathParams;
17512
+ }) & (never extends never ? {} : {} extends never ? {
17513
+ query?: never;
17514
+ } : {
17515
+ query: never;
17516
+ }) & (PostBackgroundTasksBackgroundTaskIdResume_Body extends never ? {} : {} extends PostBackgroundTasksBackgroundTaskIdResume_Body ? {
17517
+ body?: PostBackgroundTasksBackgroundTaskIdResume_Body;
17518
+ } : {
17519
+ body: PostBackgroundTasksBackgroundTaskIdResume_Body;
17520
+ })>;
17521
+ export interface PostBackgroundTasksBackgroundTaskIdResume_RouteContract {
17522
+ pathParams: PostBackgroundTasksBackgroundTaskIdResume_PathParams;
17523
+ queryParams: never;
17524
+ body: PostBackgroundTasksBackgroundTaskIdResume_Body;
17525
+ request: PostBackgroundTasksBackgroundTaskIdResume_Request;
17526
+ response: PostBackgroundTasksBackgroundTaskIdResume_Response;
17527
+ responseType: 'json';
17528
+ }
17391
17529
  export type GetEditorBuilderSettings_Response = {
17392
17530
  enabled: boolean;
17393
17531
  features?: {
@@ -17408,8 +17546,8 @@ export type GetEditorBuilderSettings_Response = {
17408
17546
  configuration?: {
17409
17547
  agent?: {
17410
17548
  models?: {
17411
- allowed?: Shared_Type_99[] | undefined;
17412
- default?: Shared_Type_100 | undefined;
17549
+ allowed?: Shared_Type_100[] | undefined;
17550
+ default?: Shared_Type_101 | undefined;
17413
17551
  } | undefined;
17414
17552
  tools?: {
17415
17553
  allowed?: string[] | undefined;
@@ -17426,8 +17564,8 @@ export type GetEditorBuilderSettings_Response = {
17426
17564
  modelPolicy?: {
17427
17565
  active: boolean;
17428
17566
  pickerVisible?: boolean | undefined;
17429
- allowed?: Shared_Type_99[] | undefined;
17430
- default?: Shared_Type_100 | undefined;
17567
+ allowed?: Shared_Type_100[] | undefined;
17568
+ default?: Shared_Type_101 | undefined;
17431
17569
  } | undefined;
17432
17570
  picker?: {
17433
17571
  visibleTools: string[] | null;
@@ -17460,8 +17598,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
17460
17598
  modelPolicy?: {
17461
17599
  active: boolean;
17462
17600
  pickerVisible?: boolean | undefined;
17463
- allowed?: Shared_Type_99[] | undefined;
17464
- default?: Shared_Type_100 | undefined;
17601
+ allowed?: Shared_Type_100[] | undefined;
17602
+ default?: Shared_Type_101 | undefined;
17465
17603
  } | undefined;
17466
17604
  };
17467
17605
  export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
@@ -18110,7 +18248,7 @@ export type GetSchedules_QueryParams = {
18110
18248
  name?: string | undefined;
18111
18249
  };
18112
18250
  export type GetSchedules_Response = {
18113
- schedules: (Shared_Type_103 | Shared_Type_105)[];
18251
+ schedules: (Shared_Type_104 | Shared_Type_106)[];
18114
18252
  };
18115
18253
  export type GetSchedules_Request = Simplify<(never extends never ? {} : {
18116
18254
  params: never;
@@ -18134,7 +18272,7 @@ export interface GetSchedules_RouteContract {
18134
18272
  export type GetSchedulesScheduleId_PathParams = {
18135
18273
  scheduleId: string;
18136
18274
  };
18137
- export type GetSchedulesScheduleId_Response = Shared_Type_103 | Shared_Type_105;
18275
+ export type GetSchedulesScheduleId_Response = Shared_Type_104 | Shared_Type_106;
18138
18276
  export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
18139
18277
  params: GetSchedulesScheduleId_PathParams;
18140
18278
  }) & (never extends never ? {} : {} extends never ? {
@@ -18299,7 +18437,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
18299
18437
  metadata?: {
18300
18438
  [key: string]: unknown;
18301
18439
  } | undefined;
18302
- run?: Shared_Type_104 | undefined;
18440
+ run?: Shared_Type_105 | undefined;
18303
18441
  }[];
18304
18442
  };
18305
18443
  export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
@@ -18423,7 +18561,7 @@ export type GetChannelsPlatformInstallations_PathParams = {
18423
18561
  /** Channel platform identifier (e.g., "slack") */
18424
18562
  platform: string;
18425
18563
  };
18426
- export type GetChannelsPlatformInstallations_Response = Shared_Type_106[];
18564
+ export type GetChannelsPlatformInstallations_Response = Shared_Type_107[];
18427
18565
  export type GetChannelsPlatformInstallations_Request = Simplify<(GetChannelsPlatformInstallations_PathParams extends never ? {} : {
18428
18566
  params: GetChannelsPlatformInstallations_PathParams;
18429
18567
  }) & (never extends never ? {} : {} extends never ? {
@@ -18497,7 +18635,7 @@ export type PostChannelsPlatformAgentIdReconcile_PathParams = {
18497
18635
  /** Agent identifier */
18498
18636
  agentId: string;
18499
18637
  };
18500
- export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_106 | null;
18638
+ export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_107 | null;
18501
18639
  export type PostChannelsPlatformAgentIdReconcile_Request = Simplify<(PostChannelsPlatformAgentIdReconcile_PathParams extends never ? {} : {
18502
18640
  params: PostChannelsPlatformAgentIdReconcile_PathParams;
18503
18641
  }) & (never extends never ? {} : {} extends never ? {
@@ -19803,6 +19941,8 @@ export interface RouteTypes {
19803
19941
  'GET /knowledge/:knowledgeKey/tree': GetKnowledgeKnowledgeKeyTree_RouteContract;
19804
19942
  'GET /knowledge/:knowledgeKey/pages/:pageId': GetKnowledgeKnowledgeKeyPagesPageId_RouteContract;
19805
19943
  'GET /knowledge/:knowledgeKey/graph': GetKnowledgeKnowledgeKeyGraph_RouteContract;
19944
+ 'GET /knowledge/:knowledgeKey/link-counts': GetKnowledgeKnowledgeKeyLinkCounts_RouteContract;
19945
+ 'GET /knowledge/:knowledgeKey/pages/:pageId/links': GetKnowledgeKnowledgeKeyPagesPageIdLinks_RouteContract;
19806
19946
  'GET /knowledge/:knowledgeKey/search': GetKnowledgeKnowledgeKeySearch_RouteContract;
19807
19947
  'GET /knowledge/:knowledgeKey/activity': GetKnowledgeKnowledgeKeyActivity_RouteContract;
19808
19948
  'GET /knowledge/:knowledgeKey/events': GetKnowledgeKnowledgeKeyEvents_RouteContract;
@@ -19975,6 +20115,7 @@ export interface RouteTypes {
19975
20115
  'GET /background-tasks/stream': GetBackgroundTasksStream_RouteContract;
19976
20116
  'GET /background-tasks': GetBackgroundTasks_RouteContract;
19977
20117
  'GET /background-tasks/:backgroundTaskId': GetBackgroundTasksBackgroundTaskId_RouteContract;
20118
+ 'POST /background-tasks/:backgroundTaskId/resume': PostBackgroundTasksBackgroundTaskIdResume_RouteContract;
19978
20119
  'GET /editor/builder/settings': GetEditorBuilderSettings_RouteContract;
19979
20120
  'GET /editor/workflow-builder/settings': GetEditorWorkflowBuilderSettings_RouteContract;
19980
20121
  'POST /editor/workflow-builder/stream': PostEditorWorkflowBuilderStream_RouteContract;
@@ -20401,6 +20542,9 @@ export interface Client {
20401
20542
  '/background-tasks/:backgroundTaskId': {
20402
20543
  GET: GetBackgroundTasksBackgroundTaskId_RouteContract;
20403
20544
  };
20545
+ '/background-tasks/:backgroundTaskId/resume': {
20546
+ POST: PostBackgroundTasksBackgroundTaskIdResume_RouteContract;
20547
+ };
20404
20548
  '/background-tasks/stream': {
20405
20549
  GET: GetBackgroundTasksStream_RouteContract;
20406
20550
  };
@@ -20539,9 +20683,15 @@ export interface Client {
20539
20683
  '/knowledge/:knowledgeKey/graph': {
20540
20684
  GET: GetKnowledgeKnowledgeKeyGraph_RouteContract;
20541
20685
  };
20686
+ '/knowledge/:knowledgeKey/link-counts': {
20687
+ GET: GetKnowledgeKnowledgeKeyLinkCounts_RouteContract;
20688
+ };
20542
20689
  '/knowledge/:knowledgeKey/pages/:pageId': {
20543
20690
  GET: GetKnowledgeKnowledgeKeyPagesPageId_RouteContract;
20544
20691
  };
20692
+ '/knowledge/:knowledgeKey/pages/:pageId/links': {
20693
+ GET: GetKnowledgeKnowledgeKeyPagesPageIdLinks_RouteContract;
20694
+ };
20545
20695
  '/knowledge/:knowledgeKey/search': {
20546
20696
  GET: GetKnowledgeKnowledgeKeySearch_RouteContract;
20547
20697
  };