@mastra/client-js 1.59.0-alpha.0 → 1.59.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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_729 = {
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_729[];
167
167
  } | {
168
168
  op: 'not';
169
- arg: InputShared_Auxiliary_721;
169
+ arg: InputShared_Auxiliary_729;
170
170
  };
171
- type InputShared_Auxiliary_795 = {
171
+ type InputShared_Auxiliary_803 = {
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_803[] | undefined;
177
177
  };
178
- type Shared_Auxiliary_788 = {
178
+ type Shared_Auxiliary_786 = {
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_786[] | undefined;
184
184
  };
185
185
  type InputShared_Type_0 = {
186
186
  thread: string | {
@@ -384,7 +384,7 @@ type InputShared_Type_13 = {
384
384
  };
385
385
  type InputShared_Type_14 = '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';
386
386
  type InputShared_Type_15 = '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';
387
- type InputShared_Type_16 = 'count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg';
387
+ type InputShared_Type_16 = 'count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg' | 'timeToFirstToken.avg' | 'timeToFirstToken.min' | 'timeToFirstToken.max' | 'timeToFirstToken.p50' | 'timeToFirstToken.p90' | 'timeToFirstToken.p95' | 'timeToFirstToken.p99' | 'timeToFirstToken.count' | 'timeToFirstChunk.avg' | 'timeToFirstChunk.min' | 'timeToFirstChunk.max' | 'timeToFirstChunk.p50' | 'timeToFirstChunk.p90' | 'timeToFirstChunk.p95' | 'timeToFirstChunk.p99' | 'timeToFirstChunk.count';
388
388
  type InputShared_Type_17 = {
389
389
  /** Filter by timestamp range */
390
390
  timestamp?: InputShared_Type_13 | undefined;
@@ -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_729[];
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_729;
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` */
@@ -2857,6 +2869,8 @@ type Shared_Type_67 = {
2857
2869
  spanQueryModelFields: boolean;
2858
2870
  /** `model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable. */
2859
2871
  spanAggregateModelDimensions: boolean;
2872
+ /** `timeToFirstToken.*` and `timeToFirstChunk.*` measures in trace and span aggregates. Treat a missing value as unavailable. */
2873
+ aggregateTimeToFirstMeasures: boolean;
2860
2874
  /** `outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable. */
2861
2875
  spanQueryOutcomeFields: boolean;
2862
2876
  /** The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable. */
@@ -2866,7 +2880,7 @@ type Shared_Type_67 = {
2866
2880
  /** Feedback endpoints (/observability/feedback and /observability/feedback/*). Unsupported feedback routes return 501. */
2867
2881
  feedback: boolean;
2868
2882
  };
2869
- type Shared_Type_68 = {
2883
+ type Shared_Type_69 = {
2870
2884
  id?: string | undefined;
2871
2885
  name: string;
2872
2886
  description?: string | undefined;
@@ -2877,7 +2891,7 @@ type Shared_Type_68 = {
2877
2891
  [key: string]: unknown;
2878
2892
  } | undefined;
2879
2893
  };
2880
- type Shared_Type_69 = {
2894
+ type Shared_Type_70 = {
2881
2895
  eventId: string;
2882
2896
  name: string;
2883
2897
  timestamp: string;
@@ -2889,7 +2903,7 @@ type Shared_Type_69 = {
2889
2903
  [key: string]: unknown;
2890
2904
  } | undefined;
2891
2905
  };
2892
- type Shared_Type_70 = {
2906
+ type Shared_Type_71 = {
2893
2907
  [key: string]: {
2894
2908
  method: string;
2895
2909
  params?: {
@@ -2898,7 +2912,7 @@ type Shared_Type_70 = {
2898
2912
  [x: string]: unknown;
2899
2913
  };
2900
2914
  };
2901
- type Shared_Type_71 = {
2915
+ type Shared_Type_72 = {
2902
2916
  taskKey: string;
2903
2917
  surface: string;
2904
2918
  status: 'working' | 'input_required' | 'completed' | 'failed' | 'cancelled';
@@ -2908,7 +2922,7 @@ type Shared_Type_71 = {
2908
2922
  expiresAt?: string | undefined;
2909
2923
  principalKey: string;
2910
2924
  clientLabel?: string | undefined;
2911
- inputRequests?: Shared_Type_70 | undefined;
2925
+ inputRequests?: Shared_Type_71 | undefined;
2912
2926
  result?: {
2913
2927
  [key: string]: unknown;
2914
2928
  } | undefined;
@@ -2916,7 +2930,7 @@ type Shared_Type_71 = {
2916
2930
  [key: string]: unknown;
2917
2931
  } | undefined;
2918
2932
  };
2919
- type Shared_Type_72 = {
2933
+ type Shared_Type_73 = {
2920
2934
  /** Unique identifier for the version (UUID) */
2921
2935
  id: string;
2922
2936
  /** ID of the agent this version belongs to */
@@ -2928,74 +2942,74 @@ type Shared_Type_72 = {
2928
2942
  /** Description of the agent */
2929
2943
  description?: string | undefined;
2930
2944
  /** System instructions for the agent (string or array of instruction blocks) */
2931
- instructions: string | Shared_Type_11[];
2945
+ instructions: string | Shared_Type_12[];
2932
2946
  /** Model configuration — static value or array of conditional variants */
2933
- model: Shared_Type_12 | {
2934
- value: Shared_Type_12;
2935
- rules?: Shared_Type_10 | undefined;
2947
+ model: Shared_Type_13 | {
2948
+ value: Shared_Type_13;
2949
+ rules?: Shared_Type_11 | undefined;
2936
2950
  }[];
2937
2951
  /** Tool keys mapped to per-tool config — static or conditional */
2938
2952
  tools?: ({
2939
2953
  [key: string]: {
2940
2954
  description?: string | undefined;
2941
- rules?: Shared_Type_10 | undefined;
2955
+ rules?: Shared_Type_11 | undefined;
2942
2956
  };
2943
- } | Shared_Type_13[]) | undefined;
2957
+ } | Shared_Type_14[]) | undefined;
2944
2958
  /** Default options for generate/stream calls — static or conditional */
2945
2959
  defaultOptions?: (Shared_Type_5 | {
2946
2960
  /** Default options for agent execution */
2947
2961
  value: Shared_Type_5;
2948
- rules?: Shared_Type_10 | undefined;
2962
+ rules?: Shared_Type_11 | undefined;
2949
2963
  }[]) | undefined;
2950
2964
  /** Workflow keys with optional per-workflow config — static or conditional */
2951
2965
  workflows?: ({
2952
2966
  [key: string]: {
2953
2967
  description?: string | undefined;
2954
- rules?: Shared_Type_10 | undefined;
2968
+ rules?: Shared_Type_11 | undefined;
2955
2969
  };
2956
- } | Shared_Type_13[]) | undefined;
2970
+ } | Shared_Type_14[]) | undefined;
2957
2971
  /** Agent keys with optional per-agent config — static or conditional */
2958
2972
  agents?: ({
2959
2973
  [key: string]: {
2960
2974
  description?: string | undefined;
2961
- rules?: Shared_Type_10 | undefined;
2975
+ rules?: Shared_Type_11 | undefined;
2962
2976
  };
2963
- } | Shared_Type_13[]) | undefined;
2977
+ } | Shared_Type_14[]) | undefined;
2964
2978
  /** Map of tool provider IDs to their tool configurations — static or conditional */
2965
2979
  integrationTools?: ({
2966
- [key: string]: Shared_Type_14;
2980
+ [key: string]: Shared_Type_15;
2967
2981
  } | {
2968
2982
  value: {
2969
- [key: string]: Shared_Type_14;
2983
+ [key: string]: Shared_Type_15;
2970
2984
  };
2971
- rules?: Shared_Type_10 | undefined;
2985
+ rules?: Shared_Type_11 | undefined;
2972
2986
  }[]) | undefined;
2973
2987
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
2974
2988
  mcpClients?: ({
2975
- [key: string]: Shared_Type_14;
2989
+ [key: string]: Shared_Type_15;
2976
2990
  } | {
2977
2991
  value: {
2978
- [key: string]: Shared_Type_14;
2992
+ [key: string]: Shared_Type_15;
2979
2993
  };
2980
- rules?: Shared_Type_10 | undefined;
2994
+ rules?: Shared_Type_11 | undefined;
2981
2995
  }[]) | undefined;
2982
2996
  /** Input processor graph — static or conditional */
2983
- inputProcessors?: Shared_Type_21 | undefined;
2997
+ inputProcessors?: Shared_Type_22 | undefined;
2984
2998
  /** Output processor graph — static or conditional */
2985
- outputProcessors?: Shared_Type_21 | undefined;
2999
+ outputProcessors?: Shared_Type_22 | undefined;
2986
3000
  /** Memory: registered memory reference or inline config — static or conditional */
2987
- memory?: (Shared_Type_30 | {
2988
- value: Shared_Type_30;
2989
- rules?: Shared_Type_10 | undefined;
3001
+ memory?: (Shared_Type_31 | {
3002
+ value: Shared_Type_31;
3003
+ rules?: Shared_Type_11 | undefined;
2990
3004
  }[]) | undefined;
2991
3005
  /** Scorer keys with optional sampling config — static or conditional */
2992
3006
  scorers?: ({
2993
- [key: string]: Shared_Type_31;
3007
+ [key: string]: Shared_Type_32;
2994
3008
  } | {
2995
3009
  value: {
2996
- [key: string]: Shared_Type_31;
3010
+ [key: string]: Shared_Type_32;
2997
3011
  };
2998
- rules?: Shared_Type_10 | undefined;
3012
+ rules?: Shared_Type_11 | undefined;
2999
3013
  }[]) | undefined;
3000
3014
  /** JSON Schema defining valid request context variables */
3001
3015
  requestContextSchema?: {
@@ -3008,7 +3022,7 @@ type Shared_Type_72 = {
3008
3022
  /** When this version was created */
3009
3023
  createdAt: Date;
3010
3024
  };
3011
- type Shared_Type_73 = {
3025
+ type Shared_Type_74 = {
3012
3026
  /** The field path that changed */
3013
3027
  field: string;
3014
3028
  /** The value in the "from" version */
@@ -3016,7 +3030,7 @@ type Shared_Type_73 = {
3016
3030
  /** The value in the "to" version */
3017
3031
  currentValue: unknown;
3018
3032
  };
3019
- type Shared_Type_74 = {
3033
+ type Shared_Type_75 = {
3020
3034
  id: string;
3021
3035
  description?: string | undefined;
3022
3036
  metadata?: {
@@ -3033,7 +3047,7 @@ type Shared_Type_74 = {
3033
3047
  createdAt: Date | string;
3034
3048
  updatedAt: Date | string;
3035
3049
  };
3036
- type Shared_Type_75 = {
3050
+ type Shared_Type_76 = {
3037
3051
  /** Transport type: stdio for local processes, http for remote servers */
3038
3052
  type: 'stdio' | 'http';
3039
3053
  /** Command to run (stdio only) */
@@ -3049,7 +3063,7 @@ type Shared_Type_75 = {
3049
3063
  /** Connection timeout in milliseconds */
3050
3064
  timeout?: number | undefined;
3051
3065
  };
3052
- type Shared_Type_76 = {
3066
+ type Shared_Type_77 = {
3053
3067
  id: string;
3054
3068
  /** MCP client status: draft, published, or archived */
3055
3069
  status: string;
@@ -3066,10 +3080,10 @@ type Shared_Type_76 = {
3066
3080
  description?: string | undefined;
3067
3081
  /** Map of server name to server configuration */
3068
3082
  servers: {
3069
- [key: string]: Shared_Type_75;
3083
+ [key: string]: Shared_Type_76;
3070
3084
  };
3071
3085
  };
3072
- type Shared_Type_77 = {
3086
+ type Shared_Type_78 = {
3073
3087
  type: 'stdio' | 'http';
3074
3088
  command?: string | undefined;
3075
3089
  args?: string[] | undefined;
@@ -3079,7 +3093,7 @@ type Shared_Type_77 = {
3079
3093
  url?: string | undefined;
3080
3094
  timeout?: number | undefined;
3081
3095
  };
3082
- type Shared_Type_78 = {
3096
+ type Shared_Type_79 = {
3083
3097
  /** Unique identifier for the version (UUID) */
3084
3098
  id: string;
3085
3099
  /** ID of the MCP client this version belongs to */
@@ -3091,7 +3105,7 @@ type Shared_Type_78 = {
3091
3105
  /** Description of the MCP client */
3092
3106
  description?: string | undefined;
3093
3107
  servers: {
3094
- [key: string]: Shared_Type_77;
3108
+ [key: string]: Shared_Type_78;
3095
3109
  };
3096
3110
  /** Array of field names that changed from the previous version */
3097
3111
  changedFields?: string[] | undefined;
@@ -3100,7 +3114,7 @@ type Shared_Type_78 = {
3100
3114
  /** When this version was created */
3101
3115
  createdAt: Date;
3102
3116
  };
3103
- type Shared_Type_79 = {
3117
+ type Shared_Type_80 = {
3104
3118
  id: string;
3105
3119
  /** Prompt block status: draft, published, or archived */
3106
3120
  status: string;
@@ -3120,13 +3134,13 @@ type Shared_Type_79 = {
3120
3134
  /** Template content with {{variable}} interpolation */
3121
3135
  content: string;
3122
3136
  /** Rules for conditional inclusion */
3123
- rules?: Shared_Type_10 | undefined;
3137
+ rules?: Shared_Type_11 | undefined;
3124
3138
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
3125
3139
  requestContextSchema?: {
3126
3140
  [key: string]: unknown;
3127
3141
  } | undefined;
3128
3142
  };
3129
- type Shared_Type_80 = {
3143
+ type Shared_Type_81 = {
3130
3144
  /** Unique identifier for the version (UUID) */
3131
3145
  id: string;
3132
3146
  /** ID of the prompt block this version belongs to */
@@ -3140,7 +3154,7 @@ type Shared_Type_80 = {
3140
3154
  /** Template content with {{variable}} interpolation */
3141
3155
  content: string;
3142
3156
  /** Rules for conditional inclusion */
3143
- rules?: Shared_Type_10 | undefined;
3157
+ rules?: Shared_Type_11 | undefined;
3144
3158
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
3145
3159
  requestContextSchema?: {
3146
3160
  [key: string]: unknown;
@@ -3152,8 +3166,8 @@ type Shared_Type_80 = {
3152
3166
  /** When this version was created */
3153
3167
  createdAt: Date;
3154
3168
  };
3155
- 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';
3156
- 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 = {
3157
3171
  id: string;
3158
3172
  /** Scorer status: draft, published, or archived */
3159
3173
  status: string;
@@ -3169,8 +3183,8 @@ type Shared_Type_82 = {
3169
3183
  /** Description of the scorer */
3170
3184
  description?: string | undefined;
3171
3185
  /** Scorer type: llm-judge for custom, or a preset type name */
3172
- type: Shared_Type_81;
3173
- model?: Shared_Type_12 | undefined;
3186
+ type: Shared_Type_82;
3187
+ model?: Shared_Type_13 | undefined;
3174
3188
  /** System instructions for the judge LLM */
3175
3189
  instructions?: string | undefined;
3176
3190
  scoreRange?: {
@@ -3187,7 +3201,7 @@ type Shared_Type_82 = {
3187
3201
  rate: number;
3188
3202
  }) | undefined;
3189
3203
  };
3190
- type Shared_Type_83 = {
3204
+ type Shared_Type_84 = {
3191
3205
  /** Unique identifier for the version (UUID) */
3192
3206
  id: string;
3193
3207
  /** ID of the scorer this version belongs to */
@@ -3198,8 +3212,8 @@ type Shared_Type_83 = {
3198
3212
  name: string;
3199
3213
  /** Description of the scorer */
3200
3214
  description?: string | undefined;
3201
- type: Shared_Type_81;
3202
- model?: Shared_Type_12 | undefined;
3215
+ type: Shared_Type_82;
3216
+ model?: Shared_Type_13 | undefined;
3203
3217
  instructions?: string | undefined;
3204
3218
  scoreRange?: {
3205
3219
  min?: number | undefined;
@@ -3221,7 +3235,7 @@ type Shared_Type_83 = {
3221
3235
  /** When this version was created */
3222
3236
  createdAt: Date;
3223
3237
  };
3224
- type Shared_Type_84 = {
3238
+ type Shared_Type_85 = {
3225
3239
  id: string;
3226
3240
  /** Workspace status: draft, published, or archived */
3227
3241
  status: string;
@@ -3237,23 +3251,23 @@ type Shared_Type_84 = {
3237
3251
  /** Description of the workspace */
3238
3252
  description?: string | undefined;
3239
3253
  /** Filesystem configuration */
3240
- filesystem?: Shared_Type_33;
3254
+ filesystem?: Shared_Type_34;
3241
3255
  /** Sandbox configuration */
3242
- sandbox?: Shared_Type_34;
3256
+ sandbox?: Shared_Type_35;
3243
3257
  /** Mounted filesystems keyed by mount path */
3244
- mounts?: Shared_Type_35 | undefined;
3258
+ mounts?: Shared_Type_36 | undefined;
3245
3259
  /** Search configuration */
3246
- search?: Shared_Type_36 | undefined;
3260
+ search?: Shared_Type_37 | undefined;
3247
3261
  /** Array of skill IDs */
3248
3262
  skills?: string[] | undefined;
3249
3263
  /** Workspace tool configuration */
3250
- tools?: Shared_Type_38 | undefined;
3264
+ tools?: Shared_Type_39 | undefined;
3251
3265
  /** Whether to automatically sync the workspace */
3252
3266
  autoSync?: boolean | undefined;
3253
3267
  /** Operation timeout in milliseconds */
3254
3268
  operationTimeout?: number | undefined;
3255
3269
  };
3256
- type Shared_Type_85 = {
3270
+ type Shared_Type_86 = {
3257
3271
  type: 'external';
3258
3272
  /** Package path for external source */
3259
3273
  packagePath: string;
@@ -3266,7 +3280,7 @@ type Shared_Type_85 = {
3266
3280
  /** Mastra path for managed source */
3267
3281
  mastraPath: string;
3268
3282
  };
3269
- type Shared_Type_86 = {
3283
+ type Shared_Type_87 = {
3270
3284
  id: string;
3271
3285
  /** Skill status: draft, published, or archived */
3272
3286
  status: string;
@@ -3290,7 +3304,7 @@ type Shared_Type_86 = {
3290
3304
  /** Compatibility requirements */
3291
3305
  compatibility?: unknown | undefined;
3292
3306
  /** Source location of the skill */
3293
- source?: Shared_Type_85 | undefined;
3307
+ source?: Shared_Type_86 | undefined;
3294
3308
  /** List of reference file paths */
3295
3309
  references?: string[] | undefined;
3296
3310
  /** List of script file paths */
@@ -3298,13 +3312,13 @@ type Shared_Type_86 = {
3298
3312
  /** List of asset file paths */
3299
3313
  assets?: string[] | undefined;
3300
3314
  /** Full file tree structure for the skill */
3301
- files?: Shared_Auxiliary_788[] | undefined;
3315
+ files?: Shared_Auxiliary_786[] | undefined;
3302
3316
  /** Additional metadata for the skill */
3303
3317
  metadata?: {
3304
3318
  [key: string]: unknown;
3305
3319
  } | undefined;
3306
3320
  };
3307
- type Shared_Type_87 = {
3321
+ type Shared_Type_88 = {
3308
3322
  id: string;
3309
3323
  name: string;
3310
3324
  description?: (string | undefined) | null;
@@ -3328,7 +3342,7 @@ type Shared_Type_87 = {
3328
3342
  createdAt: Date;
3329
3343
  updatedAt: Date;
3330
3344
  };
3331
- type Shared_Type_88 = {
3345
+ type Shared_Type_89 = {
3332
3346
  /** Name of the tool this mock applies to */
3333
3347
  toolName: string;
3334
3348
  /** Arguments to match against the tool call */
@@ -3340,13 +3354,13 @@ type Shared_Type_88 = {
3340
3354
  /** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
3341
3355
  matchArgs?: ('strict' | 'ignore') | undefined;
3342
3356
  };
3343
- type Shared_Type_89 = {
3357
+ type Shared_Type_90 = {
3344
3358
  /** How this item was created */
3345
3359
  type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
3346
3360
  /** Reference identifier (e.g., trace id, csv filename) */
3347
3361
  referenceId?: string | undefined;
3348
3362
  };
3349
- type Shared_Type_90 = {
3363
+ type Shared_Type_91 = {
3350
3364
  id: string;
3351
3365
  datasetId: string;
3352
3366
  datasetVersion: number;
@@ -3355,7 +3369,7 @@ type Shared_Type_90 = {
3355
3369
  groundTruth?: unknown | undefined;
3356
3370
  expectedTrajectory?: unknown | undefined;
3357
3371
  /** Ordered item-level static tool mocks served in place of executing the real tool */
3358
- toolMocks?: (Shared_Type_88[] | undefined) | null;
3372
+ toolMocks?: (Shared_Type_89[] | undefined) | null;
3359
3373
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
3360
3374
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
3361
3375
  scorerIds?: (string[] | undefined) | null;
@@ -3366,11 +3380,11 @@ type Shared_Type_90 = {
3366
3380
  [key: string]: unknown;
3367
3381
  } | undefined) | null;
3368
3382
  /** Source/provenance of this dataset item */
3369
- source?: (Shared_Type_89 | undefined) | null;
3383
+ source?: (Shared_Type_90 | undefined) | null;
3370
3384
  createdAt: Date;
3371
3385
  updatedAt: Date;
3372
3386
  };
3373
- type Shared_Type_91 = {
3387
+ type Shared_Type_92 = {
3374
3388
  source?: string | undefined;
3375
3389
  sourceId?: string | undefined;
3376
3390
  sourceVersion?: string | undefined;
@@ -3378,7 +3392,7 @@ type Shared_Type_91 = {
3378
3392
  [key: string]: unknown;
3379
3393
  } | undefined;
3380
3394
  };
3381
- type Shared_Type_92 = {
3395
+ type Shared_Type_93 = {
3382
3396
  id: string;
3383
3397
  datasetId: string | null;
3384
3398
  datasetVersion: number | null;
@@ -3391,7 +3405,7 @@ type Shared_Type_92 = {
3391
3405
  metadata?: {
3392
3406
  [key: string]: unknown;
3393
3407
  } | undefined;
3394
- provenance?: (Shared_Type_91 | null) | undefined;
3408
+ provenance?: (Shared_Type_92 | null) | undefined;
3395
3409
  runnerAttestation?: ({
3396
3410
  runnerId: string;
3397
3411
  invocationId: string;
@@ -3411,7 +3425,7 @@ type Shared_Type_92 = {
3411
3425
  createdAt: Date;
3412
3426
  updatedAt: Date;
3413
3427
  };
3414
- type Shared_Type_93 = {
3428
+ type Shared_Type_94 = {
3415
3429
  served: {
3416
3430
  mockIndex: number;
3417
3431
  toolName: string;
@@ -3432,7 +3446,7 @@ type Shared_Type_93 = {
3432
3446
  args: unknown;
3433
3447
  } | undefined;
3434
3448
  };
3435
- type Shared_Type_94 = {
3449
+ type Shared_Type_95 = {
3436
3450
  text?: string | undefined;
3437
3451
  reasoningText?: string | undefined;
3438
3452
  object?: unknown | undefined;
@@ -3459,7 +3473,7 @@ type Shared_Type_94 = {
3459
3473
  } | null) | undefined;
3460
3474
  [x: string]: unknown;
3461
3475
  };
3462
- type Shared_Type_95 = {
3476
+ type Shared_Type_96 = {
3463
3477
  id: string;
3464
3478
  experimentId: string;
3465
3479
  itemId: string;
@@ -3484,12 +3498,12 @@ type Shared_Type_95 = {
3484
3498
  tags?: (string[] | null) | undefined;
3485
3499
  comment?: (string | null) | undefined;
3486
3500
  /** Diagnostic receipt for item-level tool mocks */
3487
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3501
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3488
3502
  createdAt: Date;
3489
3503
  targetType: 'agent';
3490
- output: Shared_Type_94 | null;
3504
+ output: Shared_Type_95 | null;
3491
3505
  };
3492
- type Shared_Type_96 = {
3506
+ type Shared_Type_97 = {
3493
3507
  id: string;
3494
3508
  experimentId: string;
3495
3509
  itemId: string;
@@ -3514,7 +3528,7 @@ type Shared_Type_96 = {
3514
3528
  tags?: (string[] | null) | undefined;
3515
3529
  comment?: (string | null) | undefined;
3516
3530
  /** Diagnostic receipt for item-level tool mocks */
3517
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3531
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3518
3532
  createdAt: Date;
3519
3533
  targetType: 'scorer';
3520
3534
  output: {
@@ -3524,7 +3538,7 @@ type Shared_Type_96 = {
3524
3538
  [x: string]: unknown;
3525
3539
  } | null;
3526
3540
  };
3527
- type Shared_Type_97 = {
3541
+ type Shared_Type_98 = {
3528
3542
  id: string;
3529
3543
  experimentId: string;
3530
3544
  itemId: string;
@@ -3549,12 +3563,12 @@ type Shared_Type_97 = {
3549
3563
  tags?: (string[] | null) | undefined;
3550
3564
  comment?: (string | null) | undefined;
3551
3565
  /** Diagnostic receipt for item-level tool mocks */
3552
- toolMockReport?: (Shared_Type_93 | undefined) | null;
3566
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
3553
3567
  createdAt: Date;
3554
3568
  targetType: ('workflow' | 'processor') | null;
3555
3569
  output: unknown | null;
3556
3570
  };
3557
- type Shared_Type_98 = {
3571
+ type Shared_Type_99 = {
3558
3572
  id: string;
3559
3573
  status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
3560
3574
  toolName: string;
@@ -3578,8 +3592,9 @@ type Shared_Type_98 = {
3578
3592
  maxRetries: number;
3579
3593
  timeoutMs: number;
3580
3594
  suspendPayload?: unknown | undefined;
3595
+ suspendedAt?: Date | undefined;
3581
3596
  };
3582
- type Shared_Type_99 = {
3597
+ type Shared_Type_100 = {
3583
3598
  kind: 'custom';
3584
3599
  provider: string;
3585
3600
  modelId?: string | undefined;
@@ -3587,7 +3602,7 @@ type Shared_Type_99 = {
3587
3602
  provider: string;
3588
3603
  modelId?: string | undefined;
3589
3604
  };
3590
- type Shared_Type_100 = {
3605
+ type Shared_Type_101 = {
3591
3606
  kind: 'custom';
3592
3607
  provider: string;
3593
3608
  modelId: string;
@@ -3595,13 +3610,13 @@ type Shared_Type_100 = {
3595
3610
  provider: string;
3596
3611
  modelId: string;
3597
3612
  };
3598
- type Shared_Type_101 = {
3613
+ type Shared_Type_102 = {
3599
3614
  behavior?: ('deliver' | 'persist' | 'discard') | undefined;
3600
3615
  attributes?: {
3601
3616
  [key: string]: (string | number | boolean | null) | undefined;
3602
3617
  } | undefined;
3603
3618
  };
3604
- type Shared_Type_102 = {
3619
+ type Shared_Type_103 = {
3605
3620
  behavior?: ('wake' | 'persist' | 'discard') | undefined;
3606
3621
  attributes?: {
3607
3622
  [key: string]: (string | number | boolean | null) | undefined;
@@ -3613,7 +3628,7 @@ type Shared_Type_102 = {
3613
3628
  } | undefined;
3614
3629
  requireClaimedOwner?: boolean | undefined;
3615
3630
  };
3616
- type Shared_Type_103 = {
3631
+ type Shared_Type_104 = {
3617
3632
  id: string;
3618
3633
  agentId: string;
3619
3634
  workflowId?: undefined | undefined;
@@ -3633,8 +3648,8 @@ type Shared_Type_103 = {
3633
3648
  attributes?: {
3634
3649
  [key: string]: (string | number | boolean | null) | undefined;
3635
3650
  } | undefined;
3636
- ifActive?: Shared_Type_101 | undefined;
3637
- ifIdle?: Shared_Type_102 | undefined;
3651
+ ifActive?: Shared_Type_102 | undefined;
3652
+ ifIdle?: Shared_Type_103 | undefined;
3638
3653
  providerOptions?: {
3639
3654
  [key: string]: unknown;
3640
3655
  } | undefined;
@@ -3644,14 +3659,14 @@ type Shared_Type_103 = {
3644
3659
  createdAt: number;
3645
3660
  updatedAt: number;
3646
3661
  };
3647
- type Shared_Type_104 = {
3662
+ type Shared_Type_105 = {
3648
3663
  status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
3649
3664
  startedAt?: number | undefined;
3650
3665
  completedAt?: number | undefined;
3651
3666
  durationMs?: number | undefined;
3652
3667
  error?: string | undefined;
3653
3668
  };
3654
- type Shared_Type_105 = {
3669
+ type Shared_Type_106 = {
3655
3670
  id: string;
3656
3671
  workflowId: string;
3657
3672
  agentId?: undefined | undefined;
@@ -3661,7 +3676,7 @@ type Shared_Type_105 = {
3661
3676
  nextFireAt: number;
3662
3677
  lastFireAt?: number | undefined;
3663
3678
  lastRunId?: string | undefined;
3664
- lastRun?: Shared_Type_104 | undefined;
3679
+ lastRun?: Shared_Type_105 | undefined;
3665
3680
  inputData?: unknown | undefined;
3666
3681
  initialState?: unknown | undefined;
3667
3682
  requestContext?: {
@@ -3674,7 +3689,7 @@ type Shared_Type_105 = {
3674
3689
  createdAt: number;
3675
3690
  updatedAt: number;
3676
3691
  };
3677
- type Shared_Type_106 = {
3692
+ type Shared_Type_107 = {
3678
3693
  /** Installation identifier */
3679
3694
  id: string;
3680
3695
  /** Platform identifier */
@@ -3692,7 +3707,7 @@ export type GetAgents_QueryParams = {
3692
3707
  partial?: string | undefined;
3693
3708
  };
3694
3709
  export type GetAgents_Response = {
3695
- [key: string]: Shared_Type_6;
3710
+ [key: string]: Shared_Type_7;
3696
3711
  };
3697
3712
  export type GetAgents_Request = Simplify<(never extends never ? {} : {
3698
3713
  params: never;
@@ -3714,7 +3729,7 @@ export interface GetAgents_RouteContract {
3714
3729
  responseType: 'json';
3715
3730
  }
3716
3731
  export type GetAgentsProviders_Response = {
3717
- providers: Shared_Type_7[];
3732
+ providers: Shared_Type_8[];
3718
3733
  };
3719
3734
  export type GetAgentsProviders_Request = Simplify<(never extends never ? {} : {
3720
3735
  params: never;
@@ -3745,7 +3760,7 @@ export type GetAgentsAgentId_QueryParams = {
3745
3760
  /** Specific version ID to resolve. Takes precedence over status when both are provided. */
3746
3761
  versionId?: string | undefined;
3747
3762
  };
3748
- export type GetAgentsAgentId_Response = Shared_Type_6;
3763
+ export type GetAgentsAgentId_Response = Shared_Type_7;
3749
3764
  export type GetAgentsAgentId_Request = Simplify<(GetAgentsAgentId_PathParams extends never ? {} : {
3750
3765
  params: GetAgentsAgentId_PathParams;
3751
3766
  }) & (GetAgentsAgentId_QueryParams extends never ? {} : {} extends GetAgentsAgentId_QueryParams ? {
@@ -3776,7 +3791,7 @@ export type PostAgentsAgentIdClone_Body = {
3776
3791
  } | undefined;
3777
3792
  authorId?: string | undefined;
3778
3793
  };
3779
- export type PostAgentsAgentIdClone_Response = Shared_Type_45;
3794
+ export type PostAgentsAgentIdClone_Response = Shared_Type_46;
3780
3795
  export type PostAgentsAgentIdClone_Request = Simplify<(PostAgentsAgentIdClone_PathParams extends never ? {} : {
3781
3796
  params: PostAgentsAgentIdClone_PathParams;
3782
3797
  }) & (never extends never ? {} : {} extends never ? {
@@ -5286,7 +5301,7 @@ export interface PostAgentsAgentIdStreamUi_RouteContract {
5286
5301
  }
5287
5302
  export type GetAuthCapabilities_Response = {
5288
5303
  enabled: boolean;
5289
- login: Shared_Type_46 | null;
5304
+ login: Shared_Type_47 | null;
5290
5305
  user: {
5291
5306
  id: string;
5292
5307
  email?: string | undefined;
@@ -5306,7 +5321,7 @@ export type GetAuthCapabilities_Response = {
5306
5321
  } | null;
5307
5322
  } | {
5308
5323
  enabled: boolean;
5309
- login: Shared_Type_46 | null;
5324
+ login: Shared_Type_47 | null;
5310
5325
  };
5311
5326
  export type GetAuthCapabilities_Request = Simplify<(never extends never ? {} : {
5312
5327
  params: never;
@@ -5537,7 +5552,7 @@ export interface GetAuthPermissionPatterns_RouteContract {
5537
5552
  }
5538
5553
  export type GetWorkflows_QueryParams = GetAgents_QueryParams;
5539
5554
  export type GetWorkflows_Response = {
5540
- [key: string]: Shared_Type_49;
5555
+ [key: string]: Shared_Type_50;
5541
5556
  };
5542
5557
  export type GetWorkflows_Request = Simplify<(never extends never ? {} : {
5543
5558
  params: never;
@@ -5587,7 +5602,7 @@ export type GetWorkflowsWorkflowId_PathParams = {
5587
5602
  /** Unique identifier for the workflow */
5588
5603
  workflowId: string;
5589
5604
  };
5590
- export type GetWorkflowsWorkflowId_Response = Shared_Type_49;
5605
+ export type GetWorkflowsWorkflowId_Response = Shared_Type_50;
5591
5606
  export type GetWorkflowsWorkflowId_Request = Simplify<(GetWorkflowsWorkflowId_PathParams extends never ? {} : {
5592
5607
  params: GetWorkflowsWorkflowId_PathParams;
5593
5608
  }) & (never extends never ? {} : {} extends never ? {
@@ -5683,7 +5698,7 @@ export type GetWorkflowsWorkflowIdRunsRunId_Response = {
5683
5698
  activeStepsPath?: {
5684
5699
  [key: string]: number[];
5685
5700
  } | undefined;
5686
- serializedStepGraph?: Shared_Type_48[] | undefined;
5701
+ serializedStepGraph?: Shared_Type_49[] | undefined;
5687
5702
  };
5688
5703
  export type GetWorkflowsWorkflowIdRunsRunId_Request = Simplify<(GetWorkflowsWorkflowIdRunsRunId_PathParams extends never ? {} : {
5689
5704
  params: GetWorkflowsWorkflowIdRunsRunId_PathParams;
@@ -5846,7 +5861,7 @@ export type PostWorkflowsWorkflowIdStartAsync_Response = {
5846
5861
  activeStepsPath?: {
5847
5862
  [key: string]: number[];
5848
5863
  } | undefined;
5849
- serializedStepGraph?: Shared_Type_48[] | undefined;
5864
+ serializedStepGraph?: Shared_Type_49[] | undefined;
5850
5865
  };
5851
5866
  export type PostWorkflowsWorkflowIdStartAsync_Request = Simplify<(PostWorkflowsWorkflowIdStartAsync_PathParams extends never ? {} : {
5852
5867
  params: PostWorkflowsWorkflowIdStartAsync_PathParams;
@@ -6423,9 +6438,9 @@ export type PostProcessorsProcessorIdExecute_Body = {
6423
6438
  export type PostProcessorsProcessorIdExecute_Response = {
6424
6439
  success: boolean;
6425
6440
  phase: string;
6426
- messages?: Shared_Type_50[] | undefined;
6441
+ messages?: Shared_Type_51[] | undefined;
6427
6442
  messageList?: {
6428
- messages: Shared_Type_50[];
6443
+ messages: Shared_Type_51[];
6429
6444
  } | undefined;
6430
6445
  tripwire?: {
6431
6446
  triggered: boolean;
@@ -6518,7 +6533,7 @@ export type PostV1Responses_Response = {
6518
6533
  annotations?: unknown[] | undefined;
6519
6534
  logprobs?: unknown[] | undefined;
6520
6535
  }[];
6521
- } | Shared_Type_51 | {
6536
+ } | Shared_Type_52 | {
6522
6537
  id: string;
6523
6538
  type: 'function_call_output';
6524
6539
  call_id: string;
@@ -6656,7 +6671,7 @@ export type PostV1Conversations_Body = {
6656
6671
  export type PostV1Conversations_Response = {
6657
6672
  id: string;
6658
6673
  object: 'conversation';
6659
- thread: Shared_Type_52;
6674
+ thread: Shared_Type_53;
6660
6675
  };
6661
6676
  export type PostV1Conversations_Request = Simplify<(never extends never ? {} : {
6662
6677
  params: never;
@@ -6718,7 +6733,7 @@ export type GetV1ConversationsConversationIdItems_Response = {
6718
6733
  annotations?: unknown[] | undefined;
6719
6734
  logprobs?: unknown[] | undefined;
6720
6735
  })[];
6721
- } | Shared_Type_51 | {
6736
+ } | Shared_Type_52 | {
6722
6737
  id: string;
6723
6738
  type: 'function_call_output';
6724
6739
  call_id: string;
@@ -6884,8 +6899,8 @@ export type GetMemoryObservationalMemory_QueryParams = {
6884
6899
  limit?: number | undefined;
6885
6900
  };
6886
6901
  export type GetMemoryObservationalMemory_Response = {
6887
- record: Shared_Type_54 | null;
6888
- history?: Shared_Type_54[] | undefined;
6902
+ record: Shared_Type_55 | null;
6903
+ history?: Shared_Type_55[] | undefined;
6889
6904
  };
6890
6905
  export type GetMemoryObservationalMemory_Request = Simplify<(never extends never ? {} : {
6891
6906
  params: never;
@@ -6908,7 +6923,7 @@ export interface GetMemoryObservationalMemory_RouteContract {
6908
6923
  }
6909
6924
  export type PostMemoryObservationalMemoryBufferStatus_Body = GetMemoryStatus_QueryParams;
6910
6925
  export type PostMemoryObservationalMemoryBufferStatus_Response = {
6911
- record: Shared_Type_54 | null;
6926
+ record: Shared_Type_55 | null;
6912
6927
  };
6913
6928
  export type PostMemoryObservationalMemoryBufferStatus_Request = Simplify<(never extends never ? {} : {
6914
6929
  params: never;
@@ -6947,7 +6962,7 @@ export type GetMemoryThreads_Response = {
6947
6962
  page: number;
6948
6963
  perPage: number | false;
6949
6964
  hasMore: boolean;
6950
- threads: Shared_Type_52[];
6965
+ threads: Shared_Type_53[];
6951
6966
  };
6952
6967
  export type GetMemoryThreads_Request = Simplify<(never extends never ? {} : {
6953
6968
  params: never;
@@ -6976,7 +6991,7 @@ export type GetMemoryThreadsThreadId_QueryParams = {
6976
6991
  agentId?: string | undefined;
6977
6992
  resourceId?: string | undefined;
6978
6993
  };
6979
- export type GetMemoryThreadsThreadId_Response = Shared_Type_52;
6994
+ export type GetMemoryThreadsThreadId_Response = Shared_Type_53;
6980
6995
  export type GetMemoryThreadsThreadId_Request = Simplify<(GetMemoryThreadsThreadId_PathParams extends never ? {} : {
6981
6996
  params: GetMemoryThreadsThreadId_PathParams;
6982
6997
  }) & (GetMemoryThreadsThreadId_QueryParams extends never ? {} : {} extends GetMemoryThreadsThreadId_QueryParams ? {
@@ -7205,7 +7220,7 @@ export type PostMemoryThreadsThreadIdClone_Body = {
7205
7220
  } | undefined;
7206
7221
  };
7207
7222
  export type PostMemoryThreadsThreadIdClone_Response = {
7208
- thread: Shared_Type_52;
7223
+ thread: Shared_Type_53;
7209
7224
  clonedMessages: unknown[];
7210
7225
  };
7211
7226
  export type PostMemoryThreadsThreadIdClone_Request = Simplify<(PostMemoryThreadsThreadIdClone_PathParams extends never ? {} : {
@@ -7565,7 +7580,7 @@ export interface PostMemoryNetworkMessagesDelete_RouteContract {
7565
7580
  responseType: 'json';
7566
7581
  }
7567
7582
  export type GetScoresScorers_Response = {
7568
- [key: string]: Shared_Type_56;
7583
+ [key: string]: Shared_Type_57;
7569
7584
  };
7570
7585
  export type GetScoresScorers_Request = Simplify<(never extends never ? {} : {
7571
7586
  params: never;
@@ -7590,7 +7605,7 @@ export type GetScoresScorersScorerId_PathParams = {
7590
7605
  /** Unique identifier for the scorer */
7591
7606
  scorerId: string;
7592
7607
  };
7593
- export type GetScoresScorersScorerId_Response = Shared_Type_56 | null;
7608
+ export type GetScoresScorersScorerId_Response = Shared_Type_57 | null;
7594
7609
  export type GetScoresScorersScorerId_Request = Simplify<(GetScoresScorersScorerId_PathParams extends never ? {} : {
7595
7610
  params: GetScoresScorersScorerId_PathParams;
7596
7611
  }) & (never extends never ? {} : {} extends never ? {
@@ -7774,12 +7789,12 @@ export type GetObservabilityTraces_QueryParams = {
7774
7789
  limit?: (number | undefined) | undefined;
7775
7790
  };
7776
7791
  export type GetObservabilityTraces_Response = {
7777
- pagination?: Shared_Type_57 | undefined;
7792
+ pagination?: Shared_Type_58 | undefined;
7778
7793
  /** Incremental polling metadata */
7779
- delta?: Shared_Type_58 | undefined;
7794
+ delta?: Shared_Type_59 | undefined;
7780
7795
  /** Opaque cursor value for incremental polling */
7781
7796
  deltaCursor?: string | undefined;
7782
- spans: Shared_Type_61[];
7797
+ spans: Shared_Type_62[];
7783
7798
  };
7784
7799
  export type GetObservabilityTraces_Request = Simplify<(never extends never ? {} : {
7785
7800
  params: never;
@@ -7802,12 +7817,12 @@ export interface GetObservabilityTraces_RouteContract {
7802
7817
  }
7803
7818
  export type GetObservabilityTracesLight_QueryParams = GetObservabilityTraces_QueryParams;
7804
7819
  export type GetObservabilityTracesLight_Response = {
7805
- pagination?: Shared_Type_57 | undefined;
7820
+ pagination?: Shared_Type_58 | undefined;
7806
7821
  /** Incremental polling metadata */
7807
- delta?: Shared_Type_58 | undefined;
7822
+ delta?: Shared_Type_59 | undefined;
7808
7823
  /** Opaque cursor value for incremental polling */
7809
7824
  deltaCursor?: string | undefined;
7810
- spans: Shared_Type_62[];
7825
+ spans: Shared_Type_63[];
7811
7826
  };
7812
7827
  export type GetObservabilityTracesLight_Request = Simplify<(never extends never ? {} : {
7813
7828
  params: never;
@@ -7877,12 +7892,12 @@ export type GetObservabilityBranches_QueryParams = {
7877
7892
  limit?: (number | undefined) | undefined;
7878
7893
  };
7879
7894
  export type GetObservabilityBranches_Response = {
7880
- pagination?: Shared_Type_57 | undefined;
7895
+ pagination?: Shared_Type_58 | undefined;
7881
7896
  /** Incremental polling metadata */
7882
- delta?: Shared_Type_58 | undefined;
7897
+ delta?: Shared_Type_59 | undefined;
7883
7898
  /** Opaque cursor value for incremental polling */
7884
7899
  deltaCursor?: string | undefined;
7885
- branches: Shared_Type_61[];
7900
+ branches: Shared_Type_62[];
7886
7901
  };
7887
7902
  export type GetObservabilityBranches_Request = Simplify<(never extends never ? {} : {
7888
7903
  params: never;
@@ -7916,7 +7931,7 @@ export type GetObservabilityTracesTraceIdBranchesSpanId_QueryParams = {
7916
7931
  export type GetObservabilityTracesTraceIdBranchesSpanId_Response = {
7917
7932
  /** Unique trace identifier */
7918
7933
  traceId: string;
7919
- spans: Shared_Type_63[];
7934
+ spans: Shared_Type_64[];
7920
7935
  };
7921
7936
  export type GetObservabilityTracesTraceIdBranchesSpanId_Request = Simplify<(GetObservabilityTracesTraceIdBranchesSpanId_PathParams extends never ? {} : {
7922
7937
  params: GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
@@ -7944,7 +7959,7 @@ export type GetObservabilityTracesTraceId_PathParams = {
7944
7959
  export type GetObservabilityTracesTraceId_Response = {
7945
7960
  /** Unique trace identifier */
7946
7961
  traceId: string;
7947
- spans: Shared_Type_61[];
7962
+ spans: Shared_Type_62[];
7948
7963
  };
7949
7964
  export type GetObservabilityTracesTraceId_Request = Simplify<(GetObservabilityTracesTraceId_PathParams extends never ? {} : {
7950
7965
  params: GetObservabilityTracesTraceId_PathParams;
@@ -7969,7 +7984,7 @@ export type GetObservabilityTracesTraceIdLight_PathParams = GetObservabilityTrac
7969
7984
  export type GetObservabilityTracesTraceIdLight_Response = {
7970
7985
  /** Unique trace identifier */
7971
7986
  traceId: string;
7972
- spans: Shared_Type_62[];
7987
+ spans: Shared_Type_63[];
7973
7988
  };
7974
7989
  export type GetObservabilityTracesTraceIdLight_Request = Simplify<(GetObservabilityTracesTraceIdLight_PathParams extends never ? {} : {
7975
7990
  params: GetObservabilityTracesTraceIdLight_PathParams;
@@ -7993,7 +8008,7 @@ export interface GetObservabilityTracesTraceIdLight_RouteContract {
7993
8008
  export type GetObservabilityTracesTraceIdSpansSpanId_PathParams = GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
7994
8009
  export type GetObservabilityTracesTraceIdSpansSpanId_Response = {
7995
8010
  /** Span record data */
7996
- span: Shared_Type_63;
8011
+ span: Shared_Type_64;
7997
8012
  };
7998
8013
  export type GetObservabilityTracesTraceIdSpansSpanId_Request = Simplify<(GetObservabilityTracesTraceIdSpansSpanId_PathParams extends never ? {} : {
7999
8014
  params: GetObservabilityTracesTraceIdSpansSpanId_PathParams;
@@ -8107,7 +8122,7 @@ export type GetObservabilityTracesTraceIdSpanIdScores_QueryParams = {
8107
8122
  perPage?: (number | undefined) | undefined;
8108
8123
  };
8109
8124
  export type GetObservabilityTracesTraceIdSpanIdScores_Response = {
8110
- pagination: Shared_Type_57;
8125
+ pagination: Shared_Type_58;
8111
8126
  scores: {
8112
8127
  id: string;
8113
8128
  scorerId: string;
@@ -8215,19 +8230,19 @@ export type PostObservabilityTracesQuery_Body = {
8215
8230
  limit?: number | undefined;
8216
8231
  };
8217
8232
  export type PostObservabilityTracesQuery_Response = {
8218
- traces: Shared_Type_64[];
8233
+ traces: Shared_Type_65[];
8219
8234
  page: {
8220
8235
  next: string | null;
8221
8236
  };
8222
8237
  } | {
8223
- traces: Shared_Type_64[];
8224
- pagination: Shared_Type_57;
8238
+ traces: Shared_Type_65[];
8239
+ pagination: Shared_Type_58;
8225
8240
  /** Opaque cursor value for incremental polling */
8226
8241
  deltaCursor?: string | undefined;
8227
8242
  } | {
8228
- traces: Shared_Type_64[];
8243
+ traces: Shared_Type_65[];
8229
8244
  /** Incremental polling metadata */
8230
- delta: Shared_Type_58;
8245
+ delta: Shared_Type_59;
8231
8246
  /** Opaque cursor value for incremental polling */
8232
8247
  deltaCursor: string;
8233
8248
  } | {
@@ -8280,7 +8295,7 @@ export type PostObservabilityTracesAggregate_Response = {
8280
8295
  } | undefined;
8281
8296
  bucket?: string | undefined;
8282
8297
  measures: {
8283
- [K in ('count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg') | `countDistinct.${string}`]?: number | null;
8298
+ [K in ('count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg' | 'timeToFirstToken.avg' | 'timeToFirstToken.min' | 'timeToFirstToken.max' | 'timeToFirstToken.p50' | 'timeToFirstToken.p90' | 'timeToFirstToken.p95' | 'timeToFirstToken.p99' | 'timeToFirstToken.count' | 'timeToFirstChunk.avg' | 'timeToFirstChunk.min' | 'timeToFirstChunk.max' | 'timeToFirstChunk.p50' | 'timeToFirstChunk.p90' | 'timeToFirstChunk.p95' | 'timeToFirstChunk.p99' | 'timeToFirstChunk.count') | `countDistinct.${string}`]?: number | null;
8284
8299
  };
8285
8300
  cost?: {
8286
8301
  coverage: number | null;
@@ -8556,8 +8571,8 @@ export type PostObservabilityTracesQueryFields_Response = {
8556
8571
  }[];
8557
8572
  measures: {
8558
8573
  name: string;
8559
- kind: 'count' | 'duration' | 'error' | 'tokens' | 'cost';
8560
- statistic?: ('avg' | 'min' | 'max' | 'p50' | 'p90' | 'p95' | 'p99' | 'sum') | undefined;
8574
+ kind: 'count' | 'duration' | 'error' | 'tokens' | 'cost' | 'timeToFirstToken' | 'timeToFirstChunk';
8575
+ statistic?: ('avg' | 'min' | 'max' | 'p50' | 'p90' | 'p95' | 'p99' | 'sum' | 'count') | undefined;
8561
8576
  unit: 'count' | 'milliseconds' | 'ratio' | 'tokens' | 'currency';
8562
8577
  approximate: boolean;
8563
8578
  }[];
@@ -8668,9 +8683,9 @@ export type GetObservabilityMetrics_QueryParams = {
8668
8683
  limit?: (number | undefined) | undefined;
8669
8684
  };
8670
8685
  export type GetObservabilityMetrics_Response = {
8671
- pagination?: Shared_Type_57 | undefined;
8686
+ pagination?: Shared_Type_58 | undefined;
8672
8687
  /** Incremental polling metadata */
8673
- delta?: Shared_Type_58 | undefined;
8688
+ delta?: Shared_Type_59 | undefined;
8674
8689
  /** Opaque cursor value for incremental polling */
8675
8690
  deltaCursor?: string | undefined;
8676
8691
  metrics: {
@@ -8684,13 +8699,13 @@ export type GetObservabilityMetrics_Response = {
8684
8699
  value: number;
8685
8700
  traceId?: (string | null) | undefined;
8686
8701
  spanId?: (string | null) | undefined;
8687
- entityType?: (Shared_Type_60 | null) | undefined;
8702
+ entityType?: (Shared_Type_61 | null) | undefined;
8688
8703
  entityId?: (string | null) | undefined;
8689
8704
  entityName?: (string | null) | undefined;
8690
- parentEntityType?: (Shared_Type_60 | null) | undefined;
8705
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
8691
8706
  parentEntityId?: (string | null) | undefined;
8692
8707
  parentEntityName?: (string | null) | undefined;
8693
- rootEntityType?: (Shared_Type_60 | null) | undefined;
8708
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
8694
8709
  rootEntityId?: (string | null) | undefined;
8695
8710
  rootEntityName?: (string | null) | undefined;
8696
8711
  userId?: (string | null) | undefined;
@@ -8791,9 +8806,9 @@ export type GetObservabilityLogs_QueryParams = {
8791
8806
  limit?: (number | undefined) | undefined;
8792
8807
  };
8793
8808
  export type GetObservabilityLogs_Response = {
8794
- pagination?: Shared_Type_57 | undefined;
8809
+ pagination?: Shared_Type_58 | undefined;
8795
8810
  /** Incremental polling metadata */
8796
- delta?: Shared_Type_58 | undefined;
8811
+ delta?: Shared_Type_59 | undefined;
8797
8812
  /** Opaque cursor value for incremental polling */
8798
8813
  deltaCursor?: string | undefined;
8799
8814
  logs: {
@@ -8810,13 +8825,13 @@ export type GetObservabilityLogs_Response = {
8810
8825
  } | null) | undefined;
8811
8826
  traceId?: (string | null) | undefined;
8812
8827
  spanId?: (string | null) | undefined;
8813
- entityType?: (Shared_Type_60 | null) | undefined;
8828
+ entityType?: (Shared_Type_61 | null) | undefined;
8814
8829
  entityId?: (string | null) | undefined;
8815
8830
  entityName?: (string | null) | undefined;
8816
- parentEntityType?: (Shared_Type_60 | null) | undefined;
8831
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
8817
8832
  parentEntityId?: (string | null) | undefined;
8818
8833
  parentEntityName?: (string | null) | undefined;
8819
- rootEntityType?: (Shared_Type_60 | null) | undefined;
8834
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
8820
8835
  rootEntityId?: (string | null) | undefined;
8821
8836
  rootEntityName?: (string | null) | undefined;
8822
8837
  userId?: (string | null) | undefined;
@@ -8911,12 +8926,12 @@ export type GetObservabilityScores_QueryParams = {
8911
8926
  limit?: (number | undefined) | undefined;
8912
8927
  };
8913
8928
  export type GetObservabilityScores_Response = {
8914
- pagination?: Shared_Type_57 | undefined;
8929
+ pagination?: Shared_Type_58 | undefined;
8915
8930
  /** Incremental polling metadata */
8916
- delta?: Shared_Type_58 | undefined;
8931
+ delta?: Shared_Type_59 | undefined;
8917
8932
  /** Opaque cursor value for incremental polling */
8918
8933
  deltaCursor?: string | undefined;
8919
- scores: Shared_Type_65[];
8934
+ scores: Shared_Type_66[];
8920
8935
  };
8921
8936
  export type GetObservabilityScores_Request = Simplify<(never extends never ? {} : {
8922
8937
  params: never;
@@ -9042,7 +9057,7 @@ export type GetObservabilityScoresScoreId_PathParams = {
9042
9057
  };
9043
9058
  export type GetObservabilityScoresScoreId_Response = {
9044
9059
  /** Score record as stored in the database */
9045
- score: Shared_Type_65 | null;
9060
+ score: Shared_Type_66 | null;
9046
9061
  };
9047
9062
  export type GetObservabilityScoresScoreId_Request = Simplify<(GetObservabilityScoresScoreId_PathParams extends never ? {} : {
9048
9063
  params: GetObservabilityScoresScoreId_PathParams;
@@ -9276,9 +9291,9 @@ export type GetObservabilityFeedback_QueryParams = {
9276
9291
  limit?: (number | undefined) | undefined;
9277
9292
  };
9278
9293
  export type GetObservabilityFeedback_Response = {
9279
- pagination?: Shared_Type_57 | undefined;
9294
+ pagination?: Shared_Type_58 | undefined;
9280
9295
  /** Incremental polling metadata */
9281
- delta?: Shared_Type_58 | undefined;
9296
+ delta?: Shared_Type_59 | undefined;
9282
9297
  /** Opaque cursor value for incremental polling */
9283
9298
  deltaCursor?: string | undefined;
9284
9299
  feedback: {
@@ -9298,13 +9313,13 @@ export type GetObservabilityFeedback_Response = {
9298
9313
  value: number | string;
9299
9314
  comment?: (string | null) | undefined;
9300
9315
  feedbackUserId?: (string | null) | undefined;
9301
- entityType?: (Shared_Type_60 | null) | undefined;
9316
+ entityType?: (Shared_Type_61 | null) | undefined;
9302
9317
  entityId?: (string | null) | undefined;
9303
9318
  entityName?: (string | null) | undefined;
9304
- parentEntityType?: (Shared_Type_60 | null) | undefined;
9319
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
9305
9320
  parentEntityId?: (string | null) | undefined;
9306
9321
  parentEntityName?: (string | null) | undefined;
9307
- rootEntityType?: (Shared_Type_60 | null) | undefined;
9322
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
9308
9323
  rootEntityId?: (string | null) | undefined;
9309
9324
  rootEntityName?: (string | null) | undefined;
9310
9325
  userId?: (string | null) | undefined;
@@ -9484,13 +9499,13 @@ export type PatchObservabilityFeedbackFeedbackIdReviewStatus_Response = {
9484
9499
  value: number | string;
9485
9500
  comment?: (string | null) | undefined;
9486
9501
  feedbackUserId?: (string | null) | undefined;
9487
- entityType?: (Shared_Type_60 | null) | undefined;
9502
+ entityType?: (Shared_Type_61 | null) | undefined;
9488
9503
  entityId?: (string | null) | undefined;
9489
9504
  entityName?: (string | null) | undefined;
9490
- parentEntityType?: (Shared_Type_60 | null) | undefined;
9505
+ parentEntityType?: (Shared_Type_61 | null) | undefined;
9491
9506
  parentEntityId?: (string | null) | undefined;
9492
9507
  parentEntityName?: (string | null) | undefined;
9493
- rootEntityType?: (Shared_Type_60 | null) | undefined;
9508
+ rootEntityType?: (Shared_Type_61 | null) | undefined;
9494
9509
  rootEntityId?: (string | null) | undefined;
9495
9510
  rootEntityName?: (string | null) | undefined;
9496
9511
  userId?: (string | null) | undefined;
@@ -9946,7 +9961,7 @@ export interface GetObservabilityDiscoveryMetricLabelValues_RouteContract {
9946
9961
  }
9947
9962
  export type GetObservabilityDiscoveryEntityTypes_Response = {
9948
9963
  /** Distinct entity types */
9949
- entityTypes: Shared_Type_60[];
9964
+ entityTypes: Shared_Type_61[];
9950
9965
  };
9951
9966
  export type GetObservabilityDiscoveryEntityTypes_Request = Simplify<(never extends never ? {} : {
9952
9967
  params: never;
@@ -10067,7 +10082,7 @@ export interface GetObservabilityDiscoveryTags_RouteContract {
10067
10082
  export type GetObservabilityCapabilities_Response = {
10068
10083
  /** Class name of the configured observability storage, or null when none is configured */
10069
10084
  observabilityStorageType: string | null;
10070
- capabilities: Shared_Type_67;
10085
+ capabilities: Shared_Type_68;
10071
10086
  };
10072
10087
  export type GetObservabilityCapabilities_Request = Simplify<(never extends never ? {} : {
10073
10088
  params: never;
@@ -11886,7 +11901,7 @@ export type GetMcpServerIdTools_PathParams = {
11886
11901
  serverId: string;
11887
11902
  };
11888
11903
  export type GetMcpServerIdTools_Response = {
11889
- tools: Shared_Type_68[];
11904
+ tools: Shared_Type_69[];
11890
11905
  };
11891
11906
  export type GetMcpServerIdTools_Request = Simplify<(GetMcpServerIdTools_PathParams extends never ? {} : {
11892
11907
  params: GetMcpServerIdTools_PathParams;
@@ -11913,7 +11928,7 @@ export type GetMcpServerIdToolsToolId_PathParams = {
11913
11928
  /** Tool ID */
11914
11929
  toolId: string;
11915
11930
  };
11916
- export type GetMcpServerIdToolsToolId_Response = Shared_Type_68;
11931
+ export type GetMcpServerIdToolsToolId_Response = Shared_Type_69;
11917
11932
  export type GetMcpServerIdToolsToolId_Request = Simplify<(GetMcpServerIdToolsToolId_PathParams extends never ? {} : {
11918
11933
  params: GetMcpServerIdToolsToolId_PathParams;
11919
11934
  }) & (never extends never ? {} : {} extends never ? {
@@ -12085,7 +12100,7 @@ export type PostMcpServerIdEventsEventNamePoll_Body = {
12085
12100
  maxEvents?: number | undefined;
12086
12101
  };
12087
12102
  export type PostMcpServerIdEventsEventNamePoll_Response = {
12088
- events: Shared_Type_69[];
12103
+ events: Shared_Type_70[];
12089
12104
  cursor: string | null;
12090
12105
  hasMore?: boolean | undefined;
12091
12106
  truncated?: boolean | undefined;
@@ -12123,7 +12138,7 @@ export type PostMcpServerIdEventsEventNameStream_Response = {
12123
12138
  truncated: boolean;
12124
12139
  } | {
12125
12140
  type: 'event';
12126
- occurrence: Shared_Type_69;
12141
+ occurrence: Shared_Type_70;
12127
12142
  } | {
12128
12143
  type: 'heartbeat';
12129
12144
  cursor: string | null;
@@ -12159,7 +12174,7 @@ export type PostMcpServerIdEventsEventNameEmit_Body = {
12159
12174
  };
12160
12175
  };
12161
12176
  export type PostMcpServerIdEventsEventNameEmit_Response = {
12162
- occurrence: Shared_Type_69;
12177
+ occurrence: Shared_Type_70;
12163
12178
  };
12164
12179
  export type PostMcpServerIdEventsEventNameEmit_Request = Simplify<(PostMcpServerIdEventsEventNameEmit_PathParams extends never ? {} : {
12165
12180
  params: PostMcpServerIdEventsEventNameEmit_PathParams;
@@ -12199,7 +12214,7 @@ export type GetMcpServerIdTasks_Response = {
12199
12214
  ttlMs: number | null;
12200
12215
  }[];
12201
12216
  unavailable?: ('not_listable' | 'resource_scoped') | undefined;
12202
- tasks: Shared_Type_71[];
12217
+ tasks: Shared_Type_72[];
12203
12218
  nextCursor?: string | undefined;
12204
12219
  };
12205
12220
  export type GetMcpServerIdTasks_Request = Simplify<(GetMcpServerIdTasks_PathParams extends never ? {} : {
@@ -12226,7 +12241,7 @@ export type PostMcpServerIdTasksFind_Body = {
12226
12241
  taskId: string;
12227
12242
  };
12228
12243
  export type PostMcpServerIdTasksFind_Response = {
12229
- task: Shared_Type_71;
12244
+ task: Shared_Type_72;
12230
12245
  };
12231
12246
  export type PostMcpServerIdTasksFind_Request = Simplify<(PostMcpServerIdTasksFind_PathParams extends never ? {} : {
12232
12247
  params: PostMcpServerIdTasksFind_PathParams;
@@ -12388,7 +12403,7 @@ export type GetStoredAgents_Response = {
12388
12403
  page: number;
12389
12404
  perPage: number | false;
12390
12405
  hasMore: boolean;
12391
- agents: Shared_Type_45[];
12406
+ agents: Shared_Type_46[];
12392
12407
  };
12393
12408
  export type GetStoredAgents_Request = Simplify<(never extends never ? {} : {
12394
12409
  params: never;
@@ -12480,6 +12495,14 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
12480
12495
  instructions?: (string | InputShared_Type_35[]) | undefined;
12481
12496
  /** Model configuration — static value or array of conditional variants */
12482
12497
  model?: InputShared_Type_37 | undefined;
12498
+ /** Ordered model fallback list owned by Studio */
12499
+ modelList?: ({
12500
+ id: string;
12501
+ provider: string;
12502
+ modelId: string;
12503
+ enabled: boolean;
12504
+ maxRetries: number;
12505
+ }[] | undefined) | undefined;
12483
12506
  /** Tool keys mapped to per-tool config — static or conditional */
12484
12507
  tools?: (InputShared_Type_39 | undefined) | undefined;
12485
12508
  /** Default options for generate/stream calls — static or conditional */
@@ -12570,6 +12593,14 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
12570
12593
  instructions?: (string | InputShared_Type_35[]) | undefined;
12571
12594
  /** Model configuration — static value or array of conditional variants */
12572
12595
  model?: InputShared_Type_37 | undefined;
12596
+ /** Ordered model fallback list owned by Studio */
12597
+ modelList?: ({
12598
+ id: string;
12599
+ provider: string;
12600
+ modelId: string;
12601
+ enabled: boolean;
12602
+ maxRetries: number;
12603
+ }[] | undefined) | undefined;
12573
12604
  /** Tool keys mapped to per-tool config — static or conditional */
12574
12605
  tools?: (InputShared_Type_39 | undefined) | undefined;
12575
12606
  /** Default options for generate/stream calls — static or conditional */
@@ -12702,6 +12733,14 @@ export type PostStoredAgents_Body = {
12702
12733
  conditions: InputShared_Type_34[];
12703
12734
  } | undefined;
12704
12735
  }[]) | undefined;
12736
+ /** Ordered model fallback list owned by Studio */
12737
+ modelList?: {
12738
+ id: string;
12739
+ provider: string;
12740
+ modelId: string;
12741
+ enabled: boolean;
12742
+ maxRetries: number;
12743
+ }[] | undefined;
12705
12744
  /** Tool keys mapped to per-tool config — static or conditional */
12706
12745
  tools?: InputShared_Type_39 | undefined;
12707
12746
  /** Default options for generate/stream calls — static or conditional */
@@ -12799,6 +12838,14 @@ export type PatchStoredAgentsStoredAgentId_Body = {
12799
12838
  instructions?: (string | InputShared_Type_35[]) | undefined;
12800
12839
  /** Model configuration — static value or array of conditional variants */
12801
12840
  model?: InputShared_Type_37 | undefined;
12841
+ /** Ordered model fallback list owned by Studio */
12842
+ modelList?: ({
12843
+ id: string;
12844
+ provider: string;
12845
+ modelId: string;
12846
+ enabled: boolean;
12847
+ maxRetries: number;
12848
+ }[] | undefined) | undefined;
12802
12849
  /** Tool keys mapped to per-tool config — static or conditional */
12803
12850
  tools?: (InputShared_Type_39 | undefined) | undefined;
12804
12851
  /** Default options for generate/stream calls — static or conditional */
@@ -12867,7 +12914,7 @@ export type PatchStoredAgentsStoredAgentId_Response = {
12867
12914
  visibility?: ('private' | 'public') | undefined;
12868
12915
  createdAt: Date;
12869
12916
  updatedAt: Date;
12870
- } | Shared_Type_45;
12917
+ } | Shared_Type_46;
12871
12918
  export type PatchStoredAgentsStoredAgentId_Request = Simplify<(PatchStoredAgentsStoredAgentId_PathParams extends never ? {} : {
12872
12919
  params: PatchStoredAgentsStoredAgentId_PathParams;
12873
12920
  }) & (never extends never ? {} : {} extends never ? {
@@ -12925,7 +12972,7 @@ export type GetStoredAgentsAgentIdVersions_Response = {
12925
12972
  page: number;
12926
12973
  perPage: number | false;
12927
12974
  hasMore: boolean;
12928
- versions: Shared_Type_72[];
12975
+ versions: Shared_Type_73[];
12929
12976
  };
12930
12977
  export type GetStoredAgentsAgentIdVersions_Request = Simplify<(GetStoredAgentsAgentIdVersions_PathParams extends never ? {} : {
12931
12978
  params: GetStoredAgentsAgentIdVersions_PathParams;
@@ -12963,74 +13010,74 @@ export type PostStoredAgentsAgentIdVersions_Response = {
12963
13010
  /** Description of the agent */
12964
13011
  description?: (string | undefined) | undefined;
12965
13012
  /** System instructions for the agent (string or array of instruction blocks) */
12966
- instructions?: (string | Shared_Type_11[]) | undefined;
13013
+ instructions?: (string | Shared_Type_12[]) | undefined;
12967
13014
  /** Model configuration — static value or array of conditional variants */
12968
- model?: (Shared_Type_12 | {
12969
- value: Shared_Type_12;
12970
- rules?: Shared_Type_10 | undefined;
13015
+ model?: (Shared_Type_13 | {
13016
+ value: Shared_Type_13;
13017
+ rules?: Shared_Type_11 | undefined;
12971
13018
  }[]) | undefined;
12972
13019
  /** Tool keys mapped to per-tool config — static or conditional */
12973
13020
  tools?: (({
12974
13021
  [key: string]: {
12975
13022
  description?: string | undefined;
12976
- rules?: Shared_Type_10 | undefined;
13023
+ rules?: Shared_Type_11 | undefined;
12977
13024
  };
12978
- } | Shared_Type_13[]) | undefined) | undefined;
13025
+ } | Shared_Type_14[]) | undefined) | undefined;
12979
13026
  /** Default options for generate/stream calls — static or conditional */
12980
13027
  defaultOptions?: ((Shared_Type_5 | {
12981
13028
  /** Default options for agent execution */
12982
13029
  value: Shared_Type_5;
12983
- rules?: Shared_Type_10 | undefined;
13030
+ rules?: Shared_Type_11 | undefined;
12984
13031
  }[]) | undefined) | undefined;
12985
13032
  /** Workflow keys with optional per-workflow config — static or conditional */
12986
13033
  workflows?: (({
12987
13034
  [key: string]: {
12988
13035
  description?: string | undefined;
12989
- rules?: Shared_Type_10 | undefined;
13036
+ rules?: Shared_Type_11 | undefined;
12990
13037
  };
12991
- } | Shared_Type_13[]) | undefined) | undefined;
13038
+ } | Shared_Type_14[]) | undefined) | undefined;
12992
13039
  /** Agent keys with optional per-agent config — static or conditional */
12993
13040
  agents?: (({
12994
13041
  [key: string]: {
12995
13042
  description?: string | undefined;
12996
- rules?: Shared_Type_10 | undefined;
13043
+ rules?: Shared_Type_11 | undefined;
12997
13044
  };
12998
- } | Shared_Type_13[]) | undefined) | undefined;
13045
+ } | Shared_Type_14[]) | undefined) | undefined;
12999
13046
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13000
13047
  integrationTools?: (({
13001
- [key: string]: Shared_Type_14;
13048
+ [key: string]: Shared_Type_15;
13002
13049
  } | {
13003
13050
  value: {
13004
- [key: string]: Shared_Type_14;
13051
+ [key: string]: Shared_Type_15;
13005
13052
  };
13006
- rules?: Shared_Type_10 | undefined;
13053
+ rules?: Shared_Type_11 | undefined;
13007
13054
  }[]) | undefined) | undefined;
13008
13055
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13009
13056
  mcpClients?: (({
13010
- [key: string]: Shared_Type_14;
13057
+ [key: string]: Shared_Type_15;
13011
13058
  } | {
13012
13059
  value: {
13013
- [key: string]: Shared_Type_14;
13060
+ [key: string]: Shared_Type_15;
13014
13061
  };
13015
- rules?: Shared_Type_10 | undefined;
13062
+ rules?: Shared_Type_11 | undefined;
13016
13063
  }[]) | undefined) | undefined;
13017
13064
  /** Input processor graph — static or conditional */
13018
- inputProcessors?: (Shared_Type_21 | undefined) | undefined;
13065
+ inputProcessors?: (Shared_Type_22 | undefined) | undefined;
13019
13066
  /** Output processor graph — static or conditional */
13020
- outputProcessors?: (Shared_Type_21 | undefined) | undefined;
13067
+ outputProcessors?: (Shared_Type_22 | undefined) | undefined;
13021
13068
  /** Memory: registered memory reference or inline config — static or conditional */
13022
- memory?: ((Shared_Type_30 | {
13023
- value: Shared_Type_30;
13024
- rules?: Shared_Type_10 | undefined;
13069
+ memory?: ((Shared_Type_31 | {
13070
+ value: Shared_Type_31;
13071
+ rules?: Shared_Type_11 | undefined;
13025
13072
  }[]) | undefined) | undefined;
13026
13073
  /** Scorer keys with optional sampling config — static or conditional */
13027
13074
  scorers?: (({
13028
- [key: string]: Shared_Type_31;
13075
+ [key: string]: Shared_Type_32;
13029
13076
  } | {
13030
13077
  value: {
13031
- [key: string]: Shared_Type_31;
13078
+ [key: string]: Shared_Type_32;
13032
13079
  };
13033
- rules?: Shared_Type_10 | undefined;
13080
+ rules?: Shared_Type_11 | undefined;
13034
13081
  }[]) | undefined) | undefined;
13035
13082
  /** JSON Schema defining valid request context variables */
13036
13083
  requestContextSchema?: ({
@@ -13071,7 +13118,7 @@ export type GetStoredAgentsAgentIdVersionsCompare_QueryParams = {
13071
13118
  };
13072
13119
  export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13073
13120
  /** List of differences between versions */
13074
- diffs: Shared_Type_73[];
13121
+ diffs: Shared_Type_74[];
13075
13122
  /** The source version */
13076
13123
  fromVersion: {
13077
13124
  /** Unique identifier for the version (UUID) */
@@ -13085,74 +13132,74 @@ export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13085
13132
  /** Description of the agent */
13086
13133
  description?: string | undefined;
13087
13134
  /** System instructions for the agent (string or array of instruction blocks) */
13088
- instructions: string | Shared_Type_11[];
13135
+ instructions: string | Shared_Type_12[];
13089
13136
  /** Model configuration — static value or array of conditional variants */
13090
- model: Shared_Type_12 | {
13091
- value: Shared_Type_12;
13092
- rules?: Shared_Type_10 | undefined;
13137
+ model: Shared_Type_13 | {
13138
+ value: Shared_Type_13;
13139
+ rules?: Shared_Type_11 | undefined;
13093
13140
  }[];
13094
13141
  /** Tool keys mapped to per-tool config — static or conditional */
13095
13142
  tools?: ({
13096
13143
  [key: string]: {
13097
13144
  description?: string | undefined;
13098
- rules?: Shared_Type_10 | undefined;
13145
+ rules?: Shared_Type_11 | undefined;
13099
13146
  };
13100
- } | Shared_Type_13[]) | undefined;
13147
+ } | Shared_Type_14[]) | undefined;
13101
13148
  /** Default options for generate/stream calls — static or conditional */
13102
13149
  defaultOptions?: (Shared_Type_5 | {
13103
13150
  /** Default options for agent execution */
13104
13151
  value: Shared_Type_5;
13105
- rules?: Shared_Type_10 | undefined;
13152
+ rules?: Shared_Type_11 | undefined;
13106
13153
  }[]) | undefined;
13107
13154
  /** Workflow keys with optional per-workflow config — static or conditional */
13108
13155
  workflows?: ({
13109
13156
  [key: string]: {
13110
13157
  description?: string | undefined;
13111
- rules?: Shared_Type_10 | undefined;
13158
+ rules?: Shared_Type_11 | undefined;
13112
13159
  };
13113
- } | Shared_Type_13[]) | undefined;
13160
+ } | Shared_Type_14[]) | undefined;
13114
13161
  /** Agent keys with optional per-agent config — static or conditional */
13115
13162
  agents?: ({
13116
13163
  [key: string]: {
13117
13164
  description?: string | undefined;
13118
- rules?: Shared_Type_10 | undefined;
13165
+ rules?: Shared_Type_11 | undefined;
13119
13166
  };
13120
- } | Shared_Type_13[]) | undefined;
13167
+ } | Shared_Type_14[]) | undefined;
13121
13168
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13122
13169
  integrationTools?: ({
13123
- [key: string]: Shared_Type_14;
13170
+ [key: string]: Shared_Type_15;
13124
13171
  } | {
13125
13172
  value: {
13126
- [key: string]: Shared_Type_14;
13173
+ [key: string]: Shared_Type_15;
13127
13174
  };
13128
- rules?: Shared_Type_10 | undefined;
13175
+ rules?: Shared_Type_11 | undefined;
13129
13176
  }[]) | undefined;
13130
13177
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13131
13178
  mcpClients?: ({
13132
- [key: string]: Shared_Type_14;
13179
+ [key: string]: Shared_Type_15;
13133
13180
  } | {
13134
13181
  value: {
13135
- [key: string]: Shared_Type_14;
13182
+ [key: string]: Shared_Type_15;
13136
13183
  };
13137
- rules?: Shared_Type_10 | undefined;
13184
+ rules?: Shared_Type_11 | undefined;
13138
13185
  }[]) | undefined;
13139
13186
  /** Input processor graph — static or conditional */
13140
- inputProcessors?: Shared_Type_21 | undefined;
13187
+ inputProcessors?: Shared_Type_22 | undefined;
13141
13188
  /** Output processor graph — static or conditional */
13142
- outputProcessors?: Shared_Type_21 | undefined;
13189
+ outputProcessors?: Shared_Type_22 | undefined;
13143
13190
  /** Memory: registered memory reference or inline config — static or conditional */
13144
- memory?: (Shared_Type_30 | {
13145
- value: Shared_Type_30;
13146
- rules?: Shared_Type_10 | undefined;
13191
+ memory?: (Shared_Type_31 | {
13192
+ value: Shared_Type_31;
13193
+ rules?: Shared_Type_11 | undefined;
13147
13194
  }[]) | undefined;
13148
13195
  /** Scorer keys with optional sampling config — static or conditional */
13149
13196
  scorers?: ({
13150
- [key: string]: Shared_Type_31;
13197
+ [key: string]: Shared_Type_32;
13151
13198
  } | {
13152
13199
  value: {
13153
- [key: string]: Shared_Type_31;
13200
+ [key: string]: Shared_Type_32;
13154
13201
  };
13155
- rules?: Shared_Type_10 | undefined;
13202
+ rules?: Shared_Type_11 | undefined;
13156
13203
  }[]) | undefined;
13157
13204
  /** JSON Schema defining valid request context variables */
13158
13205
  requestContextSchema?: {
@@ -13178,74 +13225,74 @@ export type GetStoredAgentsAgentIdVersionsCompare_Response = {
13178
13225
  /** Description of the agent */
13179
13226
  description?: string | undefined;
13180
13227
  /** System instructions for the agent (string or array of instruction blocks) */
13181
- instructions: string | Shared_Type_11[];
13228
+ instructions: string | Shared_Type_12[];
13182
13229
  /** Model configuration — static value or array of conditional variants */
13183
- model: Shared_Type_12 | {
13184
- value: Shared_Type_12;
13185
- rules?: Shared_Type_10 | undefined;
13230
+ model: Shared_Type_13 | {
13231
+ value: Shared_Type_13;
13232
+ rules?: Shared_Type_11 | undefined;
13186
13233
  }[];
13187
13234
  /** Tool keys mapped to per-tool config — static or conditional */
13188
13235
  tools?: ({
13189
13236
  [key: string]: {
13190
13237
  description?: string | undefined;
13191
- rules?: Shared_Type_10 | undefined;
13238
+ rules?: Shared_Type_11 | undefined;
13192
13239
  };
13193
- } | Shared_Type_13[]) | undefined;
13240
+ } | Shared_Type_14[]) | undefined;
13194
13241
  /** Default options for generate/stream calls — static or conditional */
13195
13242
  defaultOptions?: (Shared_Type_5 | {
13196
13243
  /** Default options for agent execution */
13197
13244
  value: Shared_Type_5;
13198
- rules?: Shared_Type_10 | undefined;
13245
+ rules?: Shared_Type_11 | undefined;
13199
13246
  }[]) | undefined;
13200
13247
  /** Workflow keys with optional per-workflow config — static or conditional */
13201
13248
  workflows?: ({
13202
13249
  [key: string]: {
13203
13250
  description?: string | undefined;
13204
- rules?: Shared_Type_10 | undefined;
13251
+ rules?: Shared_Type_11 | undefined;
13205
13252
  };
13206
- } | Shared_Type_13[]) | undefined;
13253
+ } | Shared_Type_14[]) | undefined;
13207
13254
  /** Agent keys with optional per-agent config — static or conditional */
13208
13255
  agents?: ({
13209
13256
  [key: string]: {
13210
13257
  description?: string | undefined;
13211
- rules?: Shared_Type_10 | undefined;
13258
+ rules?: Shared_Type_11 | undefined;
13212
13259
  };
13213
- } | Shared_Type_13[]) | undefined;
13260
+ } | Shared_Type_14[]) | undefined;
13214
13261
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13215
13262
  integrationTools?: ({
13216
- [key: string]: Shared_Type_14;
13263
+ [key: string]: Shared_Type_15;
13217
13264
  } | {
13218
13265
  value: {
13219
- [key: string]: Shared_Type_14;
13266
+ [key: string]: Shared_Type_15;
13220
13267
  };
13221
- rules?: Shared_Type_10 | undefined;
13268
+ rules?: Shared_Type_11 | undefined;
13222
13269
  }[]) | undefined;
13223
13270
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13224
13271
  mcpClients?: ({
13225
- [key: string]: Shared_Type_14;
13272
+ [key: string]: Shared_Type_15;
13226
13273
  } | {
13227
13274
  value: {
13228
- [key: string]: Shared_Type_14;
13275
+ [key: string]: Shared_Type_15;
13229
13276
  };
13230
- rules?: Shared_Type_10 | undefined;
13277
+ rules?: Shared_Type_11 | undefined;
13231
13278
  }[]) | undefined;
13232
13279
  /** Input processor graph — static or conditional */
13233
- inputProcessors?: Shared_Type_21 | undefined;
13280
+ inputProcessors?: Shared_Type_22 | undefined;
13234
13281
  /** Output processor graph — static or conditional */
13235
- outputProcessors?: Shared_Type_21 | undefined;
13282
+ outputProcessors?: Shared_Type_22 | undefined;
13236
13283
  /** Memory: registered memory reference or inline config — static or conditional */
13237
- memory?: (Shared_Type_30 | {
13238
- value: Shared_Type_30;
13239
- rules?: Shared_Type_10 | undefined;
13284
+ memory?: (Shared_Type_31 | {
13285
+ value: Shared_Type_31;
13286
+ rules?: Shared_Type_11 | undefined;
13240
13287
  }[]) | undefined;
13241
13288
  /** Scorer keys with optional sampling config — static or conditional */
13242
13289
  scorers?: ({
13243
- [key: string]: Shared_Type_31;
13290
+ [key: string]: Shared_Type_32;
13244
13291
  } | {
13245
13292
  value: {
13246
- [key: string]: Shared_Type_31;
13293
+ [key: string]: Shared_Type_32;
13247
13294
  };
13248
- rules?: Shared_Type_10 | undefined;
13295
+ rules?: Shared_Type_11 | undefined;
13249
13296
  }[]) | undefined;
13250
13297
  /** JSON Schema defining valid request context variables */
13251
13298
  requestContextSchema?: {
@@ -13284,7 +13331,7 @@ export type GetStoredAgentsAgentIdVersionsVersionId_PathParams = {
13284
13331
  /** Unique identifier for the version (UUID) */
13285
13332
  versionId: string;
13286
13333
  };
13287
- export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_72;
13334
+ export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_73;
13288
13335
  export type GetStoredAgentsAgentIdVersionsVersionId_Request = Simplify<(GetStoredAgentsAgentIdVersionsVersionId_PathParams extends never ? {} : {
13289
13336
  params: GetStoredAgentsAgentIdVersionsVersionId_PathParams;
13290
13337
  }) & (never extends never ? {} : {} extends never ? {
@@ -13342,74 +13389,74 @@ export type PostStoredAgentsAgentIdVersionsVersionIdRestore_Response = {
13342
13389
  /** Description of the agent */
13343
13390
  description?: string | undefined;
13344
13391
  /** System instructions for the agent (string or array of instruction blocks) */
13345
- instructions: string | Shared_Type_11[];
13392
+ instructions: string | Shared_Type_12[];
13346
13393
  /** Model configuration — static value or array of conditional variants */
13347
- model: Shared_Type_12 | {
13348
- value: Shared_Type_12;
13349
- rules?: Shared_Type_10 | undefined;
13394
+ model: Shared_Type_13 | {
13395
+ value: Shared_Type_13;
13396
+ rules?: Shared_Type_11 | undefined;
13350
13397
  }[];
13351
13398
  /** Tool keys mapped to per-tool config — static or conditional */
13352
13399
  tools?: ({
13353
13400
  [key: string]: {
13354
13401
  description?: string | undefined;
13355
- rules?: Shared_Type_10 | undefined;
13402
+ rules?: Shared_Type_11 | undefined;
13356
13403
  };
13357
- } | Shared_Type_13[]) | undefined;
13404
+ } | Shared_Type_14[]) | undefined;
13358
13405
  /** Default options for generate/stream calls — static or conditional */
13359
13406
  defaultOptions?: (Shared_Type_5 | {
13360
13407
  /** Default options for agent execution */
13361
13408
  value: Shared_Type_5;
13362
- rules?: Shared_Type_10 | undefined;
13409
+ rules?: Shared_Type_11 | undefined;
13363
13410
  }[]) | undefined;
13364
13411
  /** Workflow keys with optional per-workflow config — static or conditional */
13365
13412
  workflows?: ({
13366
13413
  [key: string]: {
13367
13414
  description?: string | undefined;
13368
- rules?: Shared_Type_10 | undefined;
13415
+ rules?: Shared_Type_11 | undefined;
13369
13416
  };
13370
- } | Shared_Type_13[]) | undefined;
13417
+ } | Shared_Type_14[]) | undefined;
13371
13418
  /** Agent keys with optional per-agent config — static or conditional */
13372
13419
  agents?: ({
13373
13420
  [key: string]: {
13374
13421
  description?: string | undefined;
13375
- rules?: Shared_Type_10 | undefined;
13422
+ rules?: Shared_Type_11 | undefined;
13376
13423
  };
13377
- } | Shared_Type_13[]) | undefined;
13424
+ } | Shared_Type_14[]) | undefined;
13378
13425
  /** Map of tool provider IDs to their tool configurations — static or conditional */
13379
13426
  integrationTools?: ({
13380
- [key: string]: Shared_Type_14;
13427
+ [key: string]: Shared_Type_15;
13381
13428
  } | {
13382
13429
  value: {
13383
- [key: string]: Shared_Type_14;
13430
+ [key: string]: Shared_Type_15;
13384
13431
  };
13385
- rules?: Shared_Type_10 | undefined;
13432
+ rules?: Shared_Type_11 | undefined;
13386
13433
  }[]) | undefined;
13387
13434
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
13388
13435
  mcpClients?: ({
13389
- [key: string]: Shared_Type_14;
13436
+ [key: string]: Shared_Type_15;
13390
13437
  } | {
13391
13438
  value: {
13392
- [key: string]: Shared_Type_14;
13439
+ [key: string]: Shared_Type_15;
13393
13440
  };
13394
- rules?: Shared_Type_10 | undefined;
13441
+ rules?: Shared_Type_11 | undefined;
13395
13442
  }[]) | undefined;
13396
13443
  /** Input processor graph — static or conditional */
13397
- inputProcessors?: Shared_Type_21 | undefined;
13444
+ inputProcessors?: Shared_Type_22 | undefined;
13398
13445
  /** Output processor graph — static or conditional */
13399
- outputProcessors?: Shared_Type_21 | undefined;
13446
+ outputProcessors?: Shared_Type_22 | undefined;
13400
13447
  /** Memory: registered memory reference or inline config — static or conditional */
13401
- memory?: (Shared_Type_30 | {
13402
- value: Shared_Type_30;
13403
- rules?: Shared_Type_10 | undefined;
13448
+ memory?: (Shared_Type_31 | {
13449
+ value: Shared_Type_31;
13450
+ rules?: Shared_Type_11 | undefined;
13404
13451
  }[]) | undefined;
13405
13452
  /** Scorer keys with optional sampling config — static or conditional */
13406
13453
  scorers?: ({
13407
- [key: string]: Shared_Type_31;
13454
+ [key: string]: Shared_Type_32;
13408
13455
  } | {
13409
13456
  value: {
13410
- [key: string]: Shared_Type_31;
13457
+ [key: string]: Shared_Type_32;
13411
13458
  };
13412
- rules?: Shared_Type_10 | undefined;
13459
+ rules?: Shared_Type_11 | undefined;
13413
13460
  }[]) | undefined;
13414
13461
  /** JSON Schema defining valid request context variables */
13415
13462
  requestContextSchema?: {
@@ -13516,7 +13563,7 @@ export type GetStoredWorkflows_QueryParams = {
13516
13563
  authorId?: string | undefined;
13517
13564
  };
13518
13565
  export type GetStoredWorkflows_Response = {
13519
- workflows: Shared_Type_74[];
13566
+ workflows: Shared_Type_75[];
13520
13567
  total: number;
13521
13568
  };
13522
13569
  export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
@@ -13616,7 +13663,7 @@ export type GetStoredWorkflowsDynamicWorkflowId_PathParams = {
13616
13663
  /** Unique identifier for the dynamic workflow definition */
13617
13664
  dynamicWorkflowId: string;
13618
13665
  };
13619
- export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_74;
13666
+ export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_75;
13620
13667
  export type GetStoredWorkflowsDynamicWorkflowId_Request = Simplify<(GetStoredWorkflowsDynamicWorkflowId_PathParams extends never ? {} : {
13621
13668
  params: GetStoredWorkflowsDynamicWorkflowId_PathParams;
13622
13669
  }) & (never extends never ? {} : {} extends never ? {
@@ -13681,7 +13728,7 @@ export type GetStoredMcpClients_Response = {
13681
13728
  page: number;
13682
13729
  perPage: number | false;
13683
13730
  hasMore: boolean;
13684
- mcpClients: Shared_Type_76[];
13731
+ mcpClients: Shared_Type_77[];
13685
13732
  };
13686
13733
  export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
13687
13734
  params: never;
@@ -13707,7 +13754,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
13707
13754
  storedMCPClientId: string;
13708
13755
  };
13709
13756
  export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13710
- export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_76;
13757
+ export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_77;
13711
13758
  export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13712
13759
  params: GetStoredMcpClientsStoredMCPClientId_PathParams;
13713
13760
  }) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
@@ -13790,7 +13837,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
13790
13837
  } | undefined;
13791
13838
  createdAt: Date;
13792
13839
  updatedAt: Date;
13793
- } | Shared_Type_76;
13840
+ } | Shared_Type_77;
13794
13841
  export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13795
13842
  params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
13796
13843
  }) & (never extends never ? {} : {} extends never ? {
@@ -13841,7 +13888,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
13841
13888
  page: number;
13842
13889
  perPage: number | false;
13843
13890
  hasMore: boolean;
13844
- versions: Shared_Type_78[];
13891
+ versions: Shared_Type_79[];
13845
13892
  };
13846
13893
  export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
13847
13894
  params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
@@ -13873,7 +13920,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
13873
13920
  /** Description of the MCP client */
13874
13921
  description?: (string | undefined) | undefined;
13875
13922
  servers?: {
13876
- [key: string]: Shared_Type_77;
13923
+ [key: string]: Shared_Type_78;
13877
13924
  } | undefined;
13878
13925
  /** Array of field names that changed from the previous version */
13879
13926
  changedFields?: (string[] | undefined) | undefined;
@@ -13904,7 +13951,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_PathParams = GetStored
13904
13951
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
13905
13952
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13906
13953
  /** List of differences between versions */
13907
- diffs: Shared_Type_73[];
13954
+ diffs: Shared_Type_74[];
13908
13955
  /** The source version */
13909
13956
  fromVersion: {
13910
13957
  /** Unique identifier for the version (UUID) */
@@ -13918,7 +13965,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13918
13965
  /** Description of the MCP client */
13919
13966
  description?: string | undefined;
13920
13967
  servers: {
13921
- [key: string]: Shared_Type_77;
13968
+ [key: string]: Shared_Type_78;
13922
13969
  };
13923
13970
  /** Array of field names that changed from the previous version */
13924
13971
  changedFields?: string[] | undefined;
@@ -13940,7 +13987,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13940
13987
  /** Description of the MCP client */
13941
13988
  description?: string | undefined;
13942
13989
  servers: {
13943
- [key: string]: Shared_Type_77;
13990
+ [key: string]: Shared_Type_78;
13944
13991
  };
13945
13992
  /** Array of field names that changed from the previous version */
13946
13993
  changedFields?: string[] | undefined;
@@ -13975,7 +14022,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
13975
14022
  /** Unique identifier for the version (UUID) */
13976
14023
  versionId: string;
13977
14024
  };
13978
- export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_78;
14025
+ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_79;
13979
14026
  export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
13980
14027
  params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
13981
14028
  }) & (never extends never ? {} : {} extends never ? {
@@ -14079,7 +14126,7 @@ export type GetStoredPromptBlocks_Response = {
14079
14126
  page: number;
14080
14127
  perPage: number | false;
14081
14128
  hasMore: boolean;
14082
- promptBlocks: Shared_Type_79[];
14129
+ promptBlocks: Shared_Type_80[];
14083
14130
  };
14084
14131
  export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
14085
14132
  params: never;
@@ -14105,7 +14152,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
14105
14152
  storedPromptBlockId: string;
14106
14153
  };
14107
14154
  export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
14108
- export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_79;
14155
+ export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_80;
14109
14156
  export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
14110
14157
  params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
14111
14158
  }) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
@@ -14202,7 +14249,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
14202
14249
  } | undefined;
14203
14250
  createdAt: Date;
14204
14251
  updatedAt: Date;
14205
- } | Shared_Type_79;
14252
+ } | Shared_Type_80;
14206
14253
  export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
14207
14254
  params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
14208
14255
  }) & (never extends never ? {} : {} extends never ? {
@@ -14253,7 +14300,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
14253
14300
  page: number;
14254
14301
  perPage: number | false;
14255
14302
  hasMore: boolean;
14256
- versions: Shared_Type_80[];
14303
+ versions: Shared_Type_81[];
14257
14304
  };
14258
14305
  export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
14259
14306
  params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
@@ -14287,7 +14334,7 @@ export type PostStoredPromptBlocksPromptBlockIdVersions_Response = {
14287
14334
  /** Template content with {{variable}} interpolation */
14288
14335
  content?: string | undefined;
14289
14336
  /** Rules for conditional inclusion */
14290
- rules?: (Shared_Type_10 | undefined) | undefined;
14337
+ rules?: (Shared_Type_11 | undefined) | undefined;
14291
14338
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14292
14339
  requestContextSchema?: ({
14293
14340
  [key: string]: unknown;
@@ -14321,7 +14368,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_PathParams = GetSt
14321
14368
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
14322
14369
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14323
14370
  /** List of differences between versions */
14324
- diffs: Shared_Type_73[];
14371
+ diffs: Shared_Type_74[];
14325
14372
  /** The source version */
14326
14373
  fromVersion: {
14327
14374
  /** Unique identifier for the version (UUID) */
@@ -14337,7 +14384,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14337
14384
  /** Template content with {{variable}} interpolation */
14338
14385
  content: string;
14339
14386
  /** Rules for conditional inclusion */
14340
- rules?: Shared_Type_10 | undefined;
14387
+ rules?: Shared_Type_11 | undefined;
14341
14388
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14342
14389
  requestContextSchema?: {
14343
14390
  [key: string]: unknown;
@@ -14364,7 +14411,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
14364
14411
  /** Template content with {{variable}} interpolation */
14365
14412
  content: string;
14366
14413
  /** Rules for conditional inclusion */
14367
- rules?: Shared_Type_10 | undefined;
14414
+ rules?: Shared_Type_11 | undefined;
14368
14415
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
14369
14416
  requestContextSchema?: {
14370
14417
  [key: string]: unknown;
@@ -14402,7 +14449,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
14402
14449
  /** Unique identifier for the version (UUID) */
14403
14450
  versionId: string;
14404
14451
  };
14405
- export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_80;
14452
+ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_81;
14406
14453
  export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
14407
14454
  params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
14408
14455
  }) & (never extends never ? {} : {} extends never ? {
@@ -14506,7 +14553,7 @@ export type GetStoredScorers_Response = {
14506
14553
  page: number;
14507
14554
  perPage: number | false;
14508
14555
  hasMore: boolean;
14509
- scorerDefinitions: Shared_Type_82[];
14556
+ scorerDefinitions: Shared_Type_83[];
14510
14557
  };
14511
14558
  export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
14512
14559
  params: never;
@@ -14532,7 +14579,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
14532
14579
  storedScorerId: string;
14533
14580
  };
14534
14581
  export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
14535
- export type GetStoredScorersStoredScorerId_Response = Shared_Type_82;
14582
+ export type GetStoredScorersStoredScorerId_Response = Shared_Type_83;
14536
14583
  export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
14537
14584
  params: GetStoredScorersStoredScorerId_PathParams;
14538
14585
  }) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
@@ -14645,7 +14692,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
14645
14692
  } | undefined;
14646
14693
  createdAt: Date;
14647
14694
  updatedAt: Date;
14648
- } | Shared_Type_82;
14695
+ } | Shared_Type_83;
14649
14696
  export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
14650
14697
  params: PatchStoredScorersStoredScorerId_PathParams;
14651
14698
  }) & (never extends never ? {} : {} extends never ? {
@@ -14696,7 +14743,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
14696
14743
  page: number;
14697
14744
  perPage: number | false;
14698
14745
  hasMore: boolean;
14699
- versions: Shared_Type_83[];
14746
+ versions: Shared_Type_84[];
14700
14747
  };
14701
14748
  export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
14702
14749
  params: GetStoredScorersScorerIdVersions_PathParams;
@@ -14727,8 +14774,8 @@ export type PostStoredScorersScorerIdVersions_Response = {
14727
14774
  name?: string | undefined;
14728
14775
  /** Description of the scorer */
14729
14776
  description?: (string | undefined) | undefined;
14730
- type?: Shared_Type_81 | undefined;
14731
- model?: (Shared_Type_12 | undefined) | undefined;
14777
+ type?: Shared_Type_82 | undefined;
14778
+ model?: (Shared_Type_13 | undefined) | undefined;
14732
14779
  instructions?: (string | undefined) | undefined;
14733
14780
  scoreRange?: ({
14734
14781
  min?: number | undefined;
@@ -14772,7 +14819,7 @@ export type GetStoredScorersScorerIdVersionsCompare_PathParams = GetStoredScorer
14772
14819
  export type GetStoredScorersScorerIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
14773
14820
  export type GetStoredScorersScorerIdVersionsCompare_Response = {
14774
14821
  /** List of differences between versions */
14775
- diffs: Shared_Type_73[];
14822
+ diffs: Shared_Type_74[];
14776
14823
  /** The source version */
14777
14824
  fromVersion: {
14778
14825
  /** Unique identifier for the version (UUID) */
@@ -14785,8 +14832,8 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14785
14832
  name: string;
14786
14833
  /** Description of the scorer */
14787
14834
  description?: string | undefined;
14788
- type: Shared_Type_81;
14789
- model?: Shared_Type_12 | undefined;
14835
+ type: Shared_Type_82;
14836
+ model?: Shared_Type_13 | undefined;
14790
14837
  instructions?: string | undefined;
14791
14838
  scoreRange?: {
14792
14839
  min?: number | undefined;
@@ -14820,8 +14867,8 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14820
14867
  name: string;
14821
14868
  /** Description of the scorer */
14822
14869
  description?: string | undefined;
14823
- type: Shared_Type_81;
14824
- model?: Shared_Type_12 | undefined;
14870
+ type: Shared_Type_82;
14871
+ model?: Shared_Type_13 | undefined;
14825
14872
  instructions?: string | undefined;
14826
14873
  scoreRange?: {
14827
14874
  min?: number | undefined;
@@ -14869,7 +14916,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
14869
14916
  /** Unique identifier for the version (UUID) */
14870
14917
  versionId: string;
14871
14918
  };
14872
- export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_83;
14919
+ export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_84;
14873
14920
  export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
14874
14921
  params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
14875
14922
  }) & (never extends never ? {} : {} extends never ? {
@@ -14987,17 +15034,17 @@ export type GetStoredWorkspaces_Response = {
14987
15034
  /** Description of the workspace */
14988
15035
  description?: string | undefined;
14989
15036
  /** Filesystem configuration */
14990
- filesystem?: Shared_Type_33;
15037
+ filesystem?: Shared_Type_34;
14991
15038
  /** Sandbox configuration */
14992
- sandbox?: Shared_Type_34;
15039
+ sandbox?: Shared_Type_35;
14993
15040
  /** Mounted filesystems keyed by mount path */
14994
- mounts?: Shared_Type_35 | undefined;
15041
+ mounts?: Shared_Type_36 | undefined;
14995
15042
  /** Search configuration */
14996
- search?: Shared_Type_36 | undefined;
15043
+ search?: Shared_Type_37 | undefined;
14997
15044
  /** Array of skill IDs */
14998
15045
  skills?: string[] | undefined;
14999
15046
  /** Workspace tool configuration */
15000
- tools?: Shared_Type_38 | undefined;
15047
+ tools?: Shared_Type_39 | undefined;
15001
15048
  /** Whether to automatically sync the workspace */
15002
15049
  autoSync?: boolean | undefined;
15003
15050
  /** Operation timeout in milliseconds */
@@ -15029,7 +15076,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
15029
15076
  /** Unique identifier for the stored workspace */
15030
15077
  storedWorkspaceId: string;
15031
15078
  };
15032
- export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_84;
15079
+ export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_85;
15033
15080
  export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
15034
15081
  params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
15035
15082
  }) & (never extends never ? {} : {} extends never ? {
@@ -15135,7 +15182,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
15135
15182
  } | undefined;
15136
15183
  createdAt: Date;
15137
15184
  updatedAt: Date;
15138
- } | Shared_Type_84;
15185
+ } | Shared_Type_85;
15139
15186
  export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
15140
15187
  params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
15141
15188
  }) & (never extends never ? {} : {} extends never ? {
@@ -15203,7 +15250,7 @@ export type GetStoredSkills_Response = {
15203
15250
  page: number;
15204
15251
  perPage: number | false;
15205
15252
  hasMore: boolean;
15206
- skills: Shared_Type_86[];
15253
+ skills: Shared_Type_87[];
15207
15254
  };
15208
15255
  export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
15209
15256
  params: never;
@@ -15228,7 +15275,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
15228
15275
  /** Unique identifier for the stored skill */
15229
15276
  storedSkillId: string;
15230
15277
  };
15231
- export type GetStoredSkillsStoredSkillId_Response = Shared_Type_86;
15278
+ export type GetStoredSkillsStoredSkillId_Response = Shared_Type_87;
15232
15279
  export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
15233
15280
  params: GetStoredSkillsStoredSkillId_PathParams;
15234
15281
  }) & (never extends never ? {} : {} extends never ? {
@@ -15274,7 +15321,7 @@ export type PostStoredSkills_Body = {
15274
15321
  /** List of asset file paths */
15275
15322
  assets?: string[] | undefined;
15276
15323
  /** Full file tree structure for the skill */
15277
- files?: InputShared_Auxiliary_795[] | undefined;
15324
+ files?: InputShared_Auxiliary_803[] | undefined;
15278
15325
  /** Additional metadata for the skill */
15279
15326
  metadata?: {
15280
15327
  [key: string]: unknown;
@@ -15324,7 +15371,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
15324
15371
  /** List of asset file paths */
15325
15372
  assets?: (string[] | undefined) | undefined;
15326
15373
  /** Full file tree structure for the skill */
15327
- files?: (InputShared_Auxiliary_795[] | undefined) | undefined;
15374
+ files?: (InputShared_Auxiliary_803[] | undefined) | undefined;
15328
15375
  /** Additional metadata for the skill */
15329
15376
  metadata?: ({
15330
15377
  [key: string]: unknown;
@@ -15338,7 +15385,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
15338
15385
  visibility?: ('private' | 'public') | undefined;
15339
15386
  createdAt: Date;
15340
15387
  updatedAt: Date;
15341
- } | Shared_Type_86;
15388
+ } | Shared_Type_87;
15342
15389
  export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
15343
15390
  params: PatchStoredSkillsStoredSkillId_PathParams;
15344
15391
  }) & (never extends never ? {} : {} extends never ? {
@@ -15978,7 +16025,7 @@ export type GetSystemPackages_Response = {
15978
16025
  observabilityEnabled: boolean;
15979
16026
  storageType?: string | undefined;
15980
16027
  observabilityStorageType?: string | undefined;
15981
- observabilityStorageCapabilities?: Shared_Type_67 | undefined;
16028
+ observabilityStorageCapabilities?: Shared_Type_68 | undefined;
15982
16029
  observabilityRuntimeStrategy?: ('realtime' | 'batch-with-updates' | 'insert-only' | 'event-sourced') | undefined;
15983
16030
  };
15984
16031
  export type GetSystemPackages_Request = Simplify<(never extends never ? {} : {
@@ -16059,7 +16106,7 @@ export type GetDatasets_QueryParams = {
16059
16106
  } | undefined) | undefined;
16060
16107
  };
16061
16108
  export type GetDatasets_Response = {
16062
- datasets: Shared_Type_87[];
16109
+ datasets: Shared_Type_88[];
16063
16110
  pagination: {
16064
16111
  total: number;
16065
16112
  page: number;
@@ -16114,7 +16161,7 @@ export type PostDatasets_Body = {
16114
16161
  /** IDs of scorers attached to this dataset */
16115
16162
  scorerIds?: string[] | undefined;
16116
16163
  };
16117
- export type PostDatasets_Response = Shared_Type_87;
16164
+ export type PostDatasets_Response = Shared_Type_88;
16118
16165
  export type PostDatasets_Request = Simplify<(never extends never ? {} : {
16119
16166
  params: never;
16120
16167
  }) & (never extends never ? {} : {} extends never ? {
@@ -16144,7 +16191,7 @@ export type GetDatasetsDatasetId_QueryParams = {
16144
16191
  /** Restrict lookup to the given project */
16145
16192
  projectId?: string | undefined;
16146
16193
  };
16147
- export type GetDatasetsDatasetId_Response = Shared_Type_87 | null;
16194
+ export type GetDatasetsDatasetId_Response = Shared_Type_88 | null;
16148
16195
  export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
16149
16196
  params: GetDatasetsDatasetId_PathParams;
16150
16197
  }) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
@@ -16250,7 +16297,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
16250
16297
  } | undefined) | undefined;
16251
16298
  };
16252
16299
  export type GetDatasetsDatasetIdItems_Response = {
16253
- items: Shared_Type_90[];
16300
+ items: Shared_Type_91[];
16254
16301
  pagination: {
16255
16302
  total: number;
16256
16303
  page: number;
@@ -16304,7 +16351,7 @@ export type PostDatasetsDatasetIdItems_Body = {
16304
16351
  /** Source/provenance of this dataset item */
16305
16352
  source?: InputShared_Type_112 | undefined;
16306
16353
  };
16307
- export type PostDatasetsDatasetIdItems_Response = Shared_Type_90;
16354
+ export type PostDatasetsDatasetIdItems_Response = Shared_Type_91;
16308
16355
  export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
16309
16356
  params: PostDatasetsDatasetIdItems_PathParams;
16310
16357
  }) & (never extends never ? {} : {} extends never ? {
@@ -16348,7 +16395,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
16348
16395
  }[];
16349
16396
  };
16350
16397
  export type PostDatasetsDatasetIdItemsBatch_Response = {
16351
- items: Shared_Type_90[];
16398
+ items: Shared_Type_91[];
16352
16399
  count: number;
16353
16400
  };
16354
16401
  export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
@@ -16556,7 +16603,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
16556
16603
  groundTruth?: unknown | undefined;
16557
16604
  expectedTrajectory?: unknown | undefined;
16558
16605
  /** Ordered item-level static tool mocks served in place of executing the real tool */
16559
- toolMocks?: (Shared_Type_88[] | undefined) | null;
16606
+ toolMocks?: (Shared_Type_89[] | undefined) | null;
16560
16607
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
16561
16608
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
16562
16609
  scorerIds?: (string[] | undefined) | null;
@@ -16636,7 +16683,7 @@ export type GetExperiments_QueryParams = {
16636
16683
  } | undefined) | undefined;
16637
16684
  };
16638
16685
  export type GetExperiments_Response = {
16639
- experiments: Shared_Type_92[];
16686
+ experiments: Shared_Type_93[];
16640
16687
  pagination: {
16641
16688
  total: number;
16642
16689
  page: number;
@@ -16696,7 +16743,7 @@ export type GetExperimentsExperimentId_PathParams = {
16696
16743
  experimentId: string;
16697
16744
  };
16698
16745
  export type GetExperimentsExperimentId_QueryParams = GetDatasetsDatasetId_QueryParams;
16699
- export type GetExperimentsExperimentId_Response = Shared_Type_92;
16746
+ export type GetExperimentsExperimentId_Response = Shared_Type_93;
16700
16747
  export type GetExperimentsExperimentId_Request = Simplify<(GetExperimentsExperimentId_PathParams extends never ? {} : {
16701
16748
  params: GetExperimentsExperimentId_PathParams;
16702
16749
  }) & (GetExperimentsExperimentId_QueryParams extends never ? {} : {} extends GetExperimentsExperimentId_QueryParams ? {
@@ -16847,7 +16894,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
16847
16894
  completedAt: Date;
16848
16895
  retryCount: number;
16849
16896
  /** Diagnostic receipt for item-level tool mocks */
16850
- toolMockReport?: (Shared_Type_93 | undefined) | null;
16897
+ toolMockReport?: (Shared_Type_94 | undefined) | null;
16851
16898
  scores: {
16852
16899
  scorerId: string;
16853
16900
  scorerName: string;
@@ -16893,7 +16940,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
16893
16940
  } | undefined;
16894
16941
  };
16895
16942
  export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
16896
- result: Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
16943
+ result: Shared_Type_96 | Shared_Type_97 | Shared_Type_98;
16897
16944
  scores: {
16898
16945
  scorerId: string;
16899
16946
  scorerName: string;
@@ -16966,7 +17013,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
16966
17013
  } | undefined;
16967
17014
  }[] | undefined;
16968
17015
  };
16969
- export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
17016
+ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_96 | Shared_Type_97 | Shared_Type_98;
16970
17017
  export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
16971
17018
  params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
16972
17019
  }) & (never extends never ? {} : {} extends never ? {
@@ -17008,7 +17055,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdFinalize_RouteContr
17008
17055
  responseType: 'json';
17009
17056
  }
17010
17057
  export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
17011
- export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_92 | null;
17058
+ export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_93 | null;
17012
17059
  export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
17013
17060
  params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
17014
17061
  }) & (never extends never ? {} : {} extends never ? {
@@ -17093,7 +17140,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
17093
17140
  } | undefined) | undefined;
17094
17141
  };
17095
17142
  export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
17096
- results: (Shared_Type_95 | Shared_Type_96 | Shared_Type_97)[];
17143
+ results: (Shared_Type_96 | Shared_Type_97 | Shared_Type_98)[];
17097
17144
  pagination: {
17098
17145
  total: number;
17099
17146
  page: number;
@@ -17341,7 +17388,7 @@ export type GetBackgroundTasks_QueryParams = {
17341
17388
  perPage?: number | undefined;
17342
17389
  };
17343
17390
  export type GetBackgroundTasks_Response = {
17344
- tasks: Shared_Type_98[];
17391
+ tasks: Shared_Type_99[];
17345
17392
  total: number;
17346
17393
  };
17347
17394
  export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
@@ -17366,7 +17413,7 @@ export interface GetBackgroundTasks_RouteContract {
17366
17413
  export type GetBackgroundTasksBackgroundTaskId_PathParams = {
17367
17414
  backgroundTaskId: string;
17368
17415
  };
17369
- export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_98;
17416
+ export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_99;
17370
17417
  export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
17371
17418
  params: GetBackgroundTasksBackgroundTaskId_PathParams;
17372
17419
  }) & (never extends never ? {} : {} extends never ? {
@@ -17386,6 +17433,31 @@ export interface GetBackgroundTasksBackgroundTaskId_RouteContract {
17386
17433
  response: GetBackgroundTasksBackgroundTaskId_Response;
17387
17434
  responseType: 'json';
17388
17435
  }
17436
+ export type PostBackgroundTasksBackgroundTaskIdResume_PathParams = GetBackgroundTasksBackgroundTaskId_PathParams;
17437
+ export type PostBackgroundTasksBackgroundTaskIdResume_Body = {
17438
+ resumeData: unknown;
17439
+ suspendedAt?: (string | number) | undefined;
17440
+ };
17441
+ export type PostBackgroundTasksBackgroundTaskIdResume_Response = GetBackgroundTasksBackgroundTaskId_Response;
17442
+ export type PostBackgroundTasksBackgroundTaskIdResume_Request = Simplify<(PostBackgroundTasksBackgroundTaskIdResume_PathParams extends never ? {} : {
17443
+ params: PostBackgroundTasksBackgroundTaskIdResume_PathParams;
17444
+ }) & (never extends never ? {} : {} extends never ? {
17445
+ query?: never;
17446
+ } : {
17447
+ query: never;
17448
+ }) & (PostBackgroundTasksBackgroundTaskIdResume_Body extends never ? {} : {} extends PostBackgroundTasksBackgroundTaskIdResume_Body ? {
17449
+ body?: PostBackgroundTasksBackgroundTaskIdResume_Body;
17450
+ } : {
17451
+ body: PostBackgroundTasksBackgroundTaskIdResume_Body;
17452
+ })>;
17453
+ export interface PostBackgroundTasksBackgroundTaskIdResume_RouteContract {
17454
+ pathParams: PostBackgroundTasksBackgroundTaskIdResume_PathParams;
17455
+ queryParams: never;
17456
+ body: PostBackgroundTasksBackgroundTaskIdResume_Body;
17457
+ request: PostBackgroundTasksBackgroundTaskIdResume_Request;
17458
+ response: PostBackgroundTasksBackgroundTaskIdResume_Response;
17459
+ responseType: 'json';
17460
+ }
17389
17461
  export type GetEditorBuilderSettings_Response = {
17390
17462
  enabled: boolean;
17391
17463
  features?: {
@@ -17406,8 +17478,8 @@ export type GetEditorBuilderSettings_Response = {
17406
17478
  configuration?: {
17407
17479
  agent?: {
17408
17480
  models?: {
17409
- allowed?: Shared_Type_99[] | undefined;
17410
- default?: Shared_Type_100 | undefined;
17481
+ allowed?: Shared_Type_100[] | undefined;
17482
+ default?: Shared_Type_101 | undefined;
17411
17483
  } | undefined;
17412
17484
  tools?: {
17413
17485
  allowed?: string[] | undefined;
@@ -17424,8 +17496,8 @@ export type GetEditorBuilderSettings_Response = {
17424
17496
  modelPolicy?: {
17425
17497
  active: boolean;
17426
17498
  pickerVisible?: boolean | undefined;
17427
- allowed?: Shared_Type_99[] | undefined;
17428
- default?: Shared_Type_100 | undefined;
17499
+ allowed?: Shared_Type_100[] | undefined;
17500
+ default?: Shared_Type_101 | undefined;
17429
17501
  } | undefined;
17430
17502
  picker?: {
17431
17503
  visibleTools: string[] | null;
@@ -17458,8 +17530,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
17458
17530
  modelPolicy?: {
17459
17531
  active: boolean;
17460
17532
  pickerVisible?: boolean | undefined;
17461
- allowed?: Shared_Type_99[] | undefined;
17462
- default?: Shared_Type_100 | undefined;
17533
+ allowed?: Shared_Type_100[] | undefined;
17534
+ default?: Shared_Type_101 | undefined;
17463
17535
  } | undefined;
17464
17536
  };
17465
17537
  export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
@@ -18108,7 +18180,7 @@ export type GetSchedules_QueryParams = {
18108
18180
  name?: string | undefined;
18109
18181
  };
18110
18182
  export type GetSchedules_Response = {
18111
- schedules: (Shared_Type_103 | Shared_Type_105)[];
18183
+ schedules: (Shared_Type_104 | Shared_Type_106)[];
18112
18184
  };
18113
18185
  export type GetSchedules_Request = Simplify<(never extends never ? {} : {
18114
18186
  params: never;
@@ -18132,7 +18204,7 @@ export interface GetSchedules_RouteContract {
18132
18204
  export type GetSchedulesScheduleId_PathParams = {
18133
18205
  scheduleId: string;
18134
18206
  };
18135
- export type GetSchedulesScheduleId_Response = Shared_Type_103 | Shared_Type_105;
18207
+ export type GetSchedulesScheduleId_Response = Shared_Type_104 | Shared_Type_106;
18136
18208
  export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
18137
18209
  params: GetSchedulesScheduleId_PathParams;
18138
18210
  }) & (never extends never ? {} : {} extends never ? {
@@ -18297,7 +18369,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
18297
18369
  metadata?: {
18298
18370
  [key: string]: unknown;
18299
18371
  } | undefined;
18300
- run?: Shared_Type_104 | undefined;
18372
+ run?: Shared_Type_105 | undefined;
18301
18373
  }[];
18302
18374
  };
18303
18375
  export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
@@ -18421,7 +18493,7 @@ export type GetChannelsPlatformInstallations_PathParams = {
18421
18493
  /** Channel platform identifier (e.g., "slack") */
18422
18494
  platform: string;
18423
18495
  };
18424
- export type GetChannelsPlatformInstallations_Response = Shared_Type_106[];
18496
+ export type GetChannelsPlatformInstallations_Response = Shared_Type_107[];
18425
18497
  export type GetChannelsPlatformInstallations_Request = Simplify<(GetChannelsPlatformInstallations_PathParams extends never ? {} : {
18426
18498
  params: GetChannelsPlatformInstallations_PathParams;
18427
18499
  }) & (never extends never ? {} : {} extends never ? {
@@ -18495,7 +18567,7 @@ export type PostChannelsPlatformAgentIdReconcile_PathParams = {
18495
18567
  /** Agent identifier */
18496
18568
  agentId: string;
18497
18569
  };
18498
- export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_106 | null;
18570
+ export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_107 | null;
18499
18571
  export type PostChannelsPlatformAgentIdReconcile_Request = Simplify<(PostChannelsPlatformAgentIdReconcile_PathParams extends never ? {} : {
18500
18572
  params: PostChannelsPlatformAgentIdReconcile_PathParams;
18501
18573
  }) & (never extends never ? {} : {} extends never ? {
@@ -19973,6 +20045,7 @@ export interface RouteTypes {
19973
20045
  'GET /background-tasks/stream': GetBackgroundTasksStream_RouteContract;
19974
20046
  'GET /background-tasks': GetBackgroundTasks_RouteContract;
19975
20047
  'GET /background-tasks/:backgroundTaskId': GetBackgroundTasksBackgroundTaskId_RouteContract;
20048
+ 'POST /background-tasks/:backgroundTaskId/resume': PostBackgroundTasksBackgroundTaskIdResume_RouteContract;
19976
20049
  'GET /editor/builder/settings': GetEditorBuilderSettings_RouteContract;
19977
20050
  'GET /editor/workflow-builder/settings': GetEditorWorkflowBuilderSettings_RouteContract;
19978
20051
  'POST /editor/workflow-builder/stream': PostEditorWorkflowBuilderStream_RouteContract;
@@ -20399,6 +20472,9 @@ export interface Client {
20399
20472
  '/background-tasks/:backgroundTaskId': {
20400
20473
  GET: GetBackgroundTasksBackgroundTaskId_RouteContract;
20401
20474
  };
20475
+ '/background-tasks/:backgroundTaskId/resume': {
20476
+ POST: PostBackgroundTasksBackgroundTaskIdResume_RouteContract;
20477
+ };
20402
20478
  '/background-tasks/stream': {
20403
20479
  GET: GetBackgroundTasksStream_RouteContract;
20404
20480
  };