@prostgles/app 2.3.6-dev.1792007925 → 2.3.6-dev.1792015551

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.
Files changed (94) hide show
  1. package/client/build/js/main.bundle.js +2 -2
  2. package/dist/common/DBGeneratedSchema.d.ts +152 -0
  3. package/dist/common/DBGeneratedSchema.d.ts.map +1 -1
  4. package/dist/common/DashboardTypes.d.ts +40 -3
  5. package/dist/common/DashboardTypes.d.ts.map +1 -1
  6. package/dist/common/llmUtils.d.ts.map +1 -1
  7. package/dist/common/managedTableSchema.d.ts +4 -0
  8. package/dist/common/managedTableSchema.d.ts.map +1 -1
  9. package/dist/common/managedTableSchema.js.map +1 -1
  10. package/dist/common/mcp/tableOptionsJsonbSchema.d.ts +489 -0
  11. package/dist/common/mcp/tableOptionsJsonbSchema.d.ts.map +1 -1
  12. package/dist/common/mcp/tableOptionsJsonbSchema.js +27 -0
  13. package/dist/common/mcp/tableOptionsJsonbSchema.js.map +1 -1
  14. package/dist/common/mcp/ui.mcp.schema.d.ts +489 -0
  15. package/dist/common/mcp/ui.mcp.schema.d.ts.map +1 -1
  16. package/dist/common/prostglesMcp.d.ts +489 -0
  17. package/dist/common/prostglesMcp.d.ts.map +1 -1
  18. package/dist/common/userSync.d.ts +5 -0
  19. package/dist/common/userSync.d.ts.map +1 -0
  20. package/dist/common/userSync.js +18 -0
  21. package/dist/common/userSync.js.map +1 -0
  22. package/dist/server/package.json +1 -1
  23. package/dist/server/src/BackupManager/BackupManager.d.ts +152 -0
  24. package/dist/server/src/BackupManager/BackupManager.d.ts.map +1 -1
  25. package/dist/server/src/ConnectionManager/ConnectionManager.d.ts +154 -4
  26. package/dist/server/src/ConnectionManager/ConnectionManager.d.ts.map +1 -1
  27. package/dist/server/src/ConnectionManager/ConnectionManager.js +7 -59
  28. package/dist/server/src/ConnectionManager/ConnectionManager.js.map +1 -1
  29. package/dist/server/src/ConnectionManager/modifyClientSchema.d.ts.map +1 -1
  30. package/dist/server/src/ConnectionManager/modifyClientSchema.js +15 -2
  31. package/dist/server/src/ConnectionManager/modifyClientSchema.js.map +1 -1
  32. package/dist/server/src/ConnectionManager/setSyncUserSub.d.ts +3 -0
  33. package/dist/server/src/ConnectionManager/setSyncUserSub.d.ts.map +1 -0
  34. package/dist/server/src/ConnectionManager/setSyncUserSub.js +28 -0
  35. package/dist/server/src/ConnectionManager/setSyncUserSub.js.map +1 -0
  36. package/dist/server/src/ConnectionManager/syncConnectionUsers.d.ts +4 -0
  37. package/dist/server/src/ConnectionManager/syncConnectionUsers.d.ts.map +1 -0
  38. package/dist/server/src/ConnectionManager/syncConnectionUsers.js +62 -0
  39. package/dist/server/src/ConnectionManager/syncConnectionUsers.js.map +1 -0
  40. package/dist/server/src/ConnectionManager/validateSchemaConfigActions.d.ts.map +1 -1
  41. package/dist/server/src/ConnectionManager/validateSchemaConfigActions.js +3 -0
  42. package/dist/server/src/ConnectionManager/validateSchemaConfigActions.js.map +1 -1
  43. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.d.ts.map +1 -1
  44. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.d.ts.map +1 -1
  45. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/getAgentConfigWithDefaults.d.ts.map +1 -1
  46. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.d.ts.map +1 -1
  47. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Ui.mcp.d.ts +489 -0
  48. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Ui.mcp.d.ts.map +1 -1
  49. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts +152 -0
  50. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.d.ts.map +1 -1
  51. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.d.ts +1508 -530
  52. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.d.ts.map +1 -1
  53. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.d.ts +1508 -530
  54. package/dist/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.d.ts.map +1 -1
  55. package/dist/server/src/authConfig/getAuth.d.ts.map +1 -1
  56. package/dist/server/src/authConfig/sessionUtils.d.ts.map +1 -1
  57. package/dist/server/src/authConfig/subscribeToAuthSetupChanges.d.ts.map +1 -1
  58. package/dist/server/src/init/initUsers.d.ts.map +1 -1
  59. package/dist/server/src/publish/getPublishLLM.d.ts.map +1 -1
  60. package/dist/server/src/publish/getPublishLlmChats.d.ts.map +1 -1
  61. package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts +304 -0
  62. package/dist/server/src/serverFunctions/adminServerFunctions/stateServerAdminFunctions.d.ts.map +1 -1
  63. package/dist/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.d.ts +152 -0
  64. package/dist/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.d.ts.map +1 -1
  65. package/dist/server/src/serverFunctions/applySampleSchema.d.ts +152 -0
  66. package/dist/server/src/serverFunctions/applySampleSchema.d.ts.map +1 -1
  67. package/dist/server/src/serverFunctions/askLLM/askLLM.d.ts.map +1 -1
  68. package/dist/server/src/serverFunctions/askLLM/getPastMessages.d.ts.map +1 -1
  69. package/dist/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.d.ts.map +1 -1
  70. package/dist/server/src/serverFunctions/askLLM/handleToolUseResultConfirmation.d.ts.map +1 -1
  71. package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMCPServerTools.d.ts.map +1 -1
  72. package/dist/server/src/serverFunctions/askLLM/prostglesLLMTools/getMcpToolsWithDynamicDescription.d.ts.map +1 -1
  73. package/dist/server/src/serverFunctions/deleteConnection.d.ts +152 -0
  74. package/dist/server/src/serverFunctions/deleteConnection.d.ts.map +1 -1
  75. package/dist/server/src/serverFunctions/getConnectionAndDatabaseConfig.d.ts +152 -0
  76. package/dist/server/src/serverFunctions/getConnectionAndDatabaseConfig.d.ts.map +1 -1
  77. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedTable.d.ts +77 -3
  78. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedTable.d.ts.map +1 -1
  79. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspaces.d.ts.map +1 -1
  80. package/dist/server/src/serverFunctions/loadGeneratedWorkspaces/loadGeneratedWorkspacesFunction.d.ts.map +1 -1
  81. package/dist/server/src/serverFunctions/stateServerFunctions.d.ts +304 -0
  82. package/dist/server/src/serverFunctions/stateServerFunctions.d.ts.map +1 -1
  83. package/dist/server/src/tableConfig/tableConfigUsers.d.ts +6 -0
  84. package/dist/server/src/tableConfig/tableConfigUsers.d.ts.map +1 -1
  85. package/dist/server/src/tableConfig/tableConfigUsers.js +11 -0
  86. package/dist/server/src/tableConfig/tableConfigUsers.js.map +1 -1
  87. package/dist/server/src/tableHooks/llm_credentials.tableHooks.d.ts.map +1 -1
  88. package/dist/server/src/tableHooks/tableHooks.d.ts +456 -0
  89. package/dist/server/src/tableHooks/tableHooks.d.ts.map +1 -1
  90. package/dist/server/src/tableHooks/users.tableHooks.d.ts +152 -0
  91. package/dist/server/src/tableHooks/users.tableHooks.d.ts.map +1 -1
  92. package/dist/server/src/upsertConnection.d.ts +152 -0
  93. package/dist/server/src/upsertConnection.d.ts.map +1 -1
  94. package/package.json +1 -1
@@ -1251,34 +1251,15 @@ export declare const ProstglesMCPServers: {
1251
1251
  readonly type: "string";
1252
1252
  readonly optional: true;
1253
1253
  };
1254
- readonly sort: {
1255
- readonly optional: true;
1256
- readonly description: "Default sort order for new table views";
1257
- readonly arrayOfType: {
1258
- readonly key: "string";
1259
- readonly asc: "boolean";
1260
- readonly nulls: {
1261
- readonly enum: readonly ["first", "last"];
1262
- readonly optional: true;
1263
- };
1264
- };
1265
- };
1266
- readonly rowIconColumn: {
1267
- readonly type: "string";
1268
- readonly description: "Column name that contains url to a local icon (in /icons folder) to be shown as an icon in each row. This is used in card and table views.";
1269
- readonly optional: true;
1270
- };
1271
- readonly columns: {
1254
+ readonly referenceDisplay: {
1272
1255
  readonly optional: true;
1273
- readonly record: {
1274
- readonly partial: true;
1275
- readonly values: {
1276
- readonly type: {
1277
- readonly icon: {
1278
- readonly type: "string";
1279
- readonly optional: true;
1280
- };
1281
- readonly renderAs: {
1256
+ readonly description: "Default display for foreign keys referencing this table. Explicit foreign-key column formats override it.";
1257
+ readonly type: {
1258
+ readonly columns: {
1259
+ readonly description: "Fields to display, in order. Omitted formats inherit the target column's format and style.";
1260
+ readonly arrayOfType: {
1261
+ readonly name: "string";
1262
+ readonly format: {
1282
1263
  readonly optional: true;
1283
1264
  readonly title: "Display format";
1284
1265
  readonly description: "Control how data is displayed";
@@ -1738,160 +1719,668 @@ export declare const ProstglesMCPServers: {
1738
1719
  };
1739
1720
  }];
1740
1721
  };
1741
- readonly style: {
1722
+ };
1723
+ };
1724
+ readonly display: {
1725
+ readonly optional: true;
1726
+ readonly description: "Defaults to drillable values without labels.";
1727
+ readonly oneOfType: readonly [{
1728
+ readonly type: {
1729
+ readonly enum: readonly ["values"];
1730
+ };
1731
+ readonly labels: {
1732
+ readonly enum: readonly ["auto", "none", "inline", "above"];
1742
1733
  readonly optional: true;
1743
- readonly oneOf: readonly [{
1734
+ };
1735
+ }, {
1736
+ readonly type: {
1737
+ readonly enum: readonly ["drillable-records"];
1738
+ };
1739
+ }];
1740
+ };
1741
+ };
1742
+ };
1743
+ readonly sort: {
1744
+ readonly optional: true;
1745
+ readonly description: "Default sort order for new table views";
1746
+ readonly arrayOfType: {
1747
+ readonly key: "string";
1748
+ readonly asc: "boolean";
1749
+ readonly nulls: {
1750
+ readonly enum: readonly ["first", "last"];
1751
+ readonly optional: true;
1752
+ };
1753
+ };
1754
+ };
1755
+ readonly rowIconColumn: {
1756
+ readonly type: "string";
1757
+ readonly description: "Column name that contains url to a local icon (in /icons folder) to be shown as an icon in each row. This is used in card and table views.";
1758
+ readonly optional: true;
1759
+ };
1760
+ readonly columns: {
1761
+ readonly optional: true;
1762
+ readonly record: {
1763
+ readonly partial: true;
1764
+ readonly values: {
1765
+ readonly type: {
1766
+ readonly icon: {
1767
+ readonly type: "string";
1768
+ readonly optional: true;
1769
+ };
1770
+ readonly renderAs: {
1771
+ readonly optional: true;
1772
+ readonly title: "Display format";
1773
+ readonly description: "Control how data is displayed";
1774
+ readonly oneOfType: readonly [{
1744
1775
  readonly type: {
1745
- readonly fontWeight: {
1746
- readonly enum: readonly ["normal", "bold"];
1747
- readonly optional: true;
1748
- };
1749
- readonly type: {
1750
- readonly enum: readonly ["None"];
1751
- };
1776
+ readonly enum: readonly ["ActionColumns"];
1777
+ readonly title: "Format";
1752
1778
  };
1753
- }, {
1754
- readonly type: {
1755
- readonly textColor: {
1756
- readonly type: "string";
1757
- readonly optional: true;
1758
- };
1759
- readonly chipColor: {
1760
- readonly type: "string";
1761
- readonly optional: true;
1762
- };
1763
- readonly cellColor: {
1764
- readonly type: "string";
1765
- readonly optional: true;
1766
- };
1767
- readonly borderColor: {
1768
- readonly type: "string";
1769
- readonly optional: true;
1770
- };
1771
- readonly fontWeight: {
1772
- readonly enum: readonly ["normal", "bold"];
1773
- readonly optional: true;
1774
- };
1779
+ readonly params: {
1775
1780
  readonly type: {
1776
- readonly enum: readonly ["Fixed"];
1777
- };
1778
- };
1779
- }, {
1780
- readonly type: {
1781
- readonly column: {
1782
- readonly type: "string";
1783
- readonly optional: true;
1784
- };
1785
- readonly conditions: {
1786
- readonly arrayOf: {
1787
- readonly oneOf: readonly [{
1788
- readonly type: {
1789
- readonly textColor: {
1781
+ readonly actions: {
1782
+ readonly arrayOf: {
1783
+ readonly oneOfType: readonly [{
1784
+ readonly columnName: "string";
1785
+ }, {
1786
+ readonly methodName: "string";
1787
+ readonly argName: {
1790
1788
  readonly type: "string";
1791
1789
  readonly optional: true;
1792
1790
  };
1793
- readonly chipColor: {
1794
- readonly type: "string";
1791
+ readonly joinPath: {
1795
1792
  readonly optional: true;
1793
+ readonly arrayOf: {
1794
+ readonly type: {
1795
+ readonly table: "string";
1796
+ readonly on: {
1797
+ readonly arrayOf: {
1798
+ readonly record: {
1799
+ readonly values: "string";
1800
+ };
1801
+ };
1802
+ };
1803
+ };
1804
+ };
1796
1805
  };
1797
- readonly cellColor: {
1798
- readonly type: "string";
1806
+ readonly conditions: {
1799
1807
  readonly optional: true;
1808
+ readonly arrayOf: {
1809
+ readonly type: {
1810
+ readonly filter: {
1811
+ readonly oneOfType: readonly [{
1812
+ readonly $and: {
1813
+ readonly arrayOf: {
1814
+ readonly record: {
1815
+ readonly values: "any";
1816
+ };
1817
+ };
1818
+ };
1819
+ }, {
1820
+ readonly $or: {
1821
+ readonly arrayOf: {
1822
+ readonly record: {
1823
+ readonly values: "any";
1824
+ };
1825
+ };
1826
+ };
1827
+ }];
1828
+ };
1829
+ readonly value: {
1830
+ readonly type: {
1831
+ readonly text: {
1832
+ readonly type: "string";
1833
+ readonly optional: true;
1834
+ };
1835
+ readonly icon: {
1836
+ readonly type: "string";
1837
+ readonly optional: true;
1838
+ };
1839
+ readonly variant: {
1840
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
1841
+ readonly optional: true;
1842
+ };
1843
+ readonly color: {
1844
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
1845
+ readonly optional: true;
1846
+ };
1847
+ readonly disabledInfo: {
1848
+ readonly type: "string";
1849
+ readonly optional: true;
1850
+ };
1851
+ readonly isLoading: {
1852
+ readonly type: "boolean";
1853
+ readonly optional: true;
1854
+ };
1855
+ };
1856
+ };
1857
+ };
1858
+ };
1800
1859
  };
1801
- readonly borderColor: {
1802
- readonly type: "string";
1860
+ readonly defaultValue: {
1861
+ readonly type: {
1862
+ readonly text: {
1863
+ readonly type: "string";
1864
+ readonly optional: true;
1865
+ };
1866
+ readonly icon: {
1867
+ readonly type: "string";
1868
+ readonly optional: true;
1869
+ };
1870
+ readonly variant: {
1871
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
1872
+ readonly optional: true;
1873
+ };
1874
+ readonly color: {
1875
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
1876
+ readonly optional: true;
1877
+ };
1878
+ readonly disabledInfo: {
1879
+ readonly type: "string";
1880
+ readonly optional: true;
1881
+ };
1882
+ readonly isLoading: {
1883
+ readonly type: "boolean";
1884
+ readonly optional: true;
1885
+ };
1886
+ };
1803
1887
  readonly optional: true;
1804
1888
  };
1805
- readonly operator: {
1806
- readonly enum: readonly ["contains", "=", ">", ">=", "<", "<=", "!="];
1807
- };
1808
- readonly condition: "any";
1809
- };
1810
- }, {
1889
+ }];
1890
+ };
1891
+ };
1892
+ };
1893
+ };
1894
+ }, {
1895
+ readonly type: {
1896
+ readonly enum: readonly ["Action"];
1897
+ readonly title: "Format";
1898
+ };
1899
+ readonly params: {
1900
+ readonly type: {
1901
+ readonly methodName: "string";
1902
+ readonly argName: {
1903
+ readonly type: "string";
1904
+ readonly optional: true;
1905
+ };
1906
+ readonly joinPath: {
1907
+ readonly optional: true;
1908
+ readonly arrayOf: {
1811
1909
  readonly type: {
1812
- readonly textColor: {
1813
- readonly type: "string";
1814
- readonly optional: true;
1815
- };
1816
- readonly chipColor: {
1817
- readonly type: "string";
1818
- readonly optional: true;
1819
- };
1820
- readonly cellColor: {
1821
- readonly type: "string";
1822
- readonly optional: true;
1910
+ readonly table: "string";
1911
+ readonly on: {
1912
+ readonly arrayOf: {
1913
+ readonly record: {
1914
+ readonly values: "string";
1915
+ };
1916
+ };
1823
1917
  };
1824
- readonly borderColor: {
1825
- readonly type: "string";
1826
- readonly optional: true;
1918
+ };
1919
+ };
1920
+ };
1921
+ readonly conditions: {
1922
+ readonly optional: true;
1923
+ readonly arrayOf: {
1924
+ readonly type: {
1925
+ readonly filter: {
1926
+ readonly oneOfType: readonly [{
1927
+ readonly $and: {
1928
+ readonly arrayOf: {
1929
+ readonly record: {
1930
+ readonly values: "any";
1931
+ };
1932
+ };
1933
+ };
1934
+ }, {
1935
+ readonly $or: {
1936
+ readonly arrayOf: {
1937
+ readonly record: {
1938
+ readonly values: "any";
1939
+ };
1940
+ };
1941
+ };
1942
+ }];
1827
1943
  };
1828
- readonly operator: {
1829
- readonly enum: readonly ["in", "not in"];
1944
+ readonly value: {
1945
+ readonly type: {
1946
+ readonly text: {
1947
+ readonly type: "string";
1948
+ readonly optional: true;
1949
+ };
1950
+ readonly icon: {
1951
+ readonly type: "string";
1952
+ readonly optional: true;
1953
+ };
1954
+ readonly variant: {
1955
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
1956
+ readonly optional: true;
1957
+ };
1958
+ readonly color: {
1959
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
1960
+ readonly optional: true;
1961
+ };
1962
+ readonly disabledInfo: {
1963
+ readonly type: "string";
1964
+ readonly optional: true;
1965
+ };
1966
+ readonly isLoading: {
1967
+ readonly type: "boolean";
1968
+ readonly optional: true;
1969
+ };
1970
+ };
1830
1971
  };
1831
- readonly condition: "any[]";
1832
1972
  };
1833
- }];
1834
- };
1835
- };
1836
- readonly defaultStyle: {
1837
- readonly optional: true;
1838
- readonly type: {
1839
- readonly textColor: {
1840
- readonly type: "string";
1841
- readonly optional: true;
1842
- };
1843
- readonly chipColor: {
1844
- readonly type: "string";
1845
- readonly optional: true;
1846
- };
1847
- readonly cellColor: {
1848
- readonly type: "string";
1849
- readonly optional: true;
1850
1973
  };
1851
- readonly borderColor: {
1852
- readonly type: "string";
1853
- readonly optional: true;
1974
+ };
1975
+ readonly defaultValue: {
1976
+ readonly type: {
1977
+ readonly text: {
1978
+ readonly type: "string";
1979
+ readonly optional: true;
1980
+ };
1981
+ readonly icon: {
1982
+ readonly type: "string";
1983
+ readonly optional: true;
1984
+ };
1985
+ readonly variant: {
1986
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
1987
+ readonly optional: true;
1988
+ };
1989
+ readonly color: {
1990
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
1991
+ readonly optional: true;
1992
+ };
1993
+ readonly disabledInfo: {
1994
+ readonly type: "string";
1995
+ readonly optional: true;
1996
+ };
1997
+ readonly isLoading: {
1998
+ readonly type: "boolean";
1999
+ readonly optional: true;
2000
+ };
1854
2001
  };
2002
+ readonly optional: true;
1855
2003
  };
1856
2004
  };
1857
- readonly fontWeight: {
1858
- readonly enum: readonly ["normal", "bold"];
1859
- readonly optional: true;
1860
- };
1861
- readonly type: {
1862
- readonly enum: readonly ["Conditional"];
1863
- };
1864
2005
  };
1865
2006
  }, {
1866
2007
  readonly type: {
1867
- readonly textColor: "string";
1868
- readonly minColor: "string";
1869
- readonly maxColor: "string";
1870
- readonly fontWeight: {
1871
- readonly enum: readonly ["normal", "bold"];
1872
- readonly optional: true;
1873
- };
2008
+ readonly enum: readonly ["NONE"];
2009
+ readonly title: "Format";
2010
+ readonly description: "Display data as is. Default";
2011
+ };
2012
+ }, {
2013
+ readonly type: {
2014
+ readonly enum: readonly ["URL"];
2015
+ readonly title: "Format";
2016
+ readonly description: "Clickable URL";
2017
+ };
2018
+ }, {
2019
+ readonly type: {
2020
+ readonly enum: readonly ["Email"];
2021
+ readonly title: "Format";
2022
+ readonly description: "Email link";
2023
+ };
2024
+ }, {
2025
+ readonly type: {
2026
+ readonly enum: readonly ["Tel"];
2027
+ readonly title: "Format";
2028
+ readonly description: "Telephone number link";
2029
+ };
2030
+ }, {
2031
+ readonly type: {
2032
+ readonly enum: readonly ["QR Code"];
2033
+ readonly title: "Format";
2034
+ readonly description: "Display a URL as an image";
2035
+ };
2036
+ }, {
2037
+ readonly type: {
2038
+ readonly title: "Format";
2039
+ readonly enum: readonly ["Currency"];
2040
+ readonly description: "With currency symbol";
2041
+ };
2042
+ readonly params: {
2043
+ readonly oneOfType: readonly [{
2044
+ readonly mode: {
2045
+ readonly enum: readonly ["Fixed"];
2046
+ readonly title: "Type";
2047
+ };
2048
+ readonly metricPrefix: {
2049
+ readonly type: "boolean";
2050
+ readonly title: "Use Metric Prefix";
2051
+ readonly optional: true;
2052
+ };
2053
+ readonly currencyCode: {
2054
+ readonly type: "string";
2055
+ readonly title: "Currency code";
2056
+ readonly description: "EUR, GBP, USD, etc...";
2057
+ };
2058
+ }, {
2059
+ readonly mode: {
2060
+ readonly enum: readonly ["From column"];
2061
+ readonly title: "Type";
2062
+ };
2063
+ readonly metricPrefix: {
2064
+ readonly type: "boolean";
2065
+ readonly title: "Use Metric Prefix";
2066
+ readonly optional: true;
2067
+ };
2068
+ readonly currencyCodeField: {
2069
+ readonly type: "string";
2070
+ readonly title: "Currency Field";
2071
+ readonly description: "Column containing the currency code (EUR, GBP, USD, etc...)";
2072
+ };
2073
+ }];
2074
+ };
2075
+ }, {
2076
+ readonly type: {
2077
+ readonly enum: readonly ["Avatar"];
2078
+ readonly title: "Format";
2079
+ readonly description: "Name initials in a circle. Set colors in column styles.";
2080
+ };
2081
+ readonly params: {
2082
+ readonly optional: true;
1874
2083
  readonly type: {
1875
- readonly enum: readonly ["Scale"];
2084
+ readonly firstNameColumn: {
2085
+ readonly type: "string";
2086
+ readonly optional: true;
2087
+ readonly title: "First name column";
2088
+ readonly description: "Leave name columns unset to use this column's full name.";
2089
+ };
2090
+ readonly lastNameColumn: {
2091
+ readonly type: "string";
2092
+ readonly optional: true;
2093
+ readonly title: "Last name column";
2094
+ };
1876
2095
  };
1877
2096
  };
1878
2097
  }, {
1879
2098
  readonly type: {
1880
- readonly barColor: "string";
1881
- readonly textColor: "string";
1882
- readonly fontWeight: {
1883
- readonly enum: readonly ["normal", "bold"];
1884
- readonly optional: true;
1885
- };
2099
+ readonly enum: readonly ["Metric Prefix"];
2100
+ readonly title: "Format";
2101
+ readonly description: "Display large numbers with metric prefixes (e.g. 1.2K)";
2102
+ };
2103
+ }, {
2104
+ readonly type: {
2105
+ readonly enum: readonly ["UNIX Timestamp"];
2106
+ readonly title: "Format";
2107
+ readonly description: "Display unix timestamp as datetime";
2108
+ };
2109
+ }, {
2110
+ readonly type: {
2111
+ readonly enum: readonly ["Age"];
2112
+ readonly title: "Format";
2113
+ readonly description: "Display time difference between now and the value";
2114
+ };
2115
+ readonly params: {
2116
+ readonly optional: true;
1886
2117
  readonly type: {
1887
- readonly enum: readonly ["Barchart"];
2118
+ readonly variant: {
2119
+ readonly title: "Variant";
2120
+ readonly description: "Short shows top two biggest units";
2121
+ readonly enum: readonly ["short", "full"];
2122
+ };
1888
2123
  };
1889
2124
  };
1890
- }];
1891
- };
1892
- };
1893
- };
1894
- };
2125
+ }, {
2126
+ readonly type: {
2127
+ readonly enum: readonly ["Markdown", "MarkdownPopup"];
2128
+ readonly title: "Format";
2129
+ readonly description: "Display string as Markdown";
2130
+ };
2131
+ }, {
2132
+ readonly type: {
2133
+ readonly enum: readonly ["JSON Diff", "Text Diff"];
2134
+ readonly title: "Format";
2135
+ readonly description: "Compare JSON or plain text values from two columns";
2136
+ };
2137
+ readonly params: {
2138
+ readonly type: {
2139
+ readonly oldColumn: "string";
2140
+ readonly newColumn: "string";
2141
+ };
2142
+ };
2143
+ }, {
2144
+ readonly type: {
2145
+ readonly enum: readonly ["DoclingDocument"];
2146
+ readonly title: "Format";
2147
+ readonly description: "Renders a Docling parsed document";
2148
+ };
2149
+ }, {
2150
+ readonly type: {
2151
+ readonly enum: readonly ["Logs"];
2152
+ readonly title: "Format";
2153
+ readonly description: "Renders a log viewer for text data";
2154
+ };
2155
+ }, {
2156
+ readonly type: {
2157
+ readonly enum: readonly ["HTML"];
2158
+ readonly title: "Format";
2159
+ readonly description: "Display string as sanitised HTML";
2160
+ };
2161
+ readonly params: {
2162
+ readonly type: {
2163
+ readonly noSanitize: {
2164
+ readonly type: "boolean";
2165
+ readonly title: "Do not sanitize HTML";
2166
+ readonly description: "Leave unchecked if you understand the risks";
2167
+ readonly optional: true;
2168
+ };
2169
+ readonly allowedHTMLTags: {
2170
+ readonly title: "Allowed HTML Tags";
2171
+ readonly type: "string[]";
2172
+ readonly allowedValues: string[];
2173
+ readonly description: "List of allowed HTML tags. E.g.: div, p, html";
2174
+ readonly optional: true;
2175
+ };
2176
+ };
2177
+ };
2178
+ }, {
2179
+ readonly type: {
2180
+ readonly enum: readonly ["Media"];
2181
+ readonly title: "Format";
2182
+ readonly description: "Display media (video/image/audio) from URL";
2183
+ };
2184
+ readonly params: {
2185
+ readonly type: {
2186
+ readonly contentType: {
2187
+ readonly optional: true;
2188
+ readonly title: "Content type";
2189
+ readonly oneOfType: readonly [{
2190
+ readonly mode: {
2191
+ readonly enum: readonly ["Auto"];
2192
+ readonly title: "Auto detect from URL and headers (default)";
2193
+ };
2194
+ }, {
2195
+ readonly mode: {
2196
+ readonly enum: readonly ["Fixed"];
2197
+ readonly title: "Fixed";
2198
+ };
2199
+ readonly fixedContentType: {
2200
+ readonly type: "string";
2201
+ readonly title: "Fixed content type";
2202
+ readonly allowedValues: readonly ["image", "video", "audio"];
2203
+ };
2204
+ }, {
2205
+ readonly mode: {
2206
+ readonly enum: readonly ["From column"];
2207
+ readonly title: "From column";
2208
+ };
2209
+ readonly contentTypeColumnName: {
2210
+ readonly title: "MIME column";
2211
+ readonly type: "string";
2212
+ readonly description: "Column that contains valid extension values (img, mp4, mp3, ...)";
2213
+ };
2214
+ }, {
2215
+ readonly mode: {
2216
+ readonly enum: readonly ["From URL Extension"];
2217
+ readonly title: "From URL Extension (e.g. .png, .mp4)";
2218
+ };
2219
+ }];
2220
+ };
2221
+ readonly titleColumn: {
2222
+ readonly optional: true;
2223
+ readonly type: "string";
2224
+ readonly title: "Title column";
2225
+ };
2226
+ };
2227
+ };
2228
+ }];
2229
+ };
2230
+ readonly style: {
2231
+ readonly optional: true;
2232
+ readonly oneOf: readonly [{
2233
+ readonly type: {
2234
+ readonly fontWeight: {
2235
+ readonly enum: readonly ["normal", "bold"];
2236
+ readonly optional: true;
2237
+ };
2238
+ readonly type: {
2239
+ readonly enum: readonly ["None"];
2240
+ };
2241
+ };
2242
+ }, {
2243
+ readonly type: {
2244
+ readonly textColor: {
2245
+ readonly type: "string";
2246
+ readonly optional: true;
2247
+ };
2248
+ readonly chipColor: {
2249
+ readonly type: "string";
2250
+ readonly optional: true;
2251
+ };
2252
+ readonly cellColor: {
2253
+ readonly type: "string";
2254
+ readonly optional: true;
2255
+ };
2256
+ readonly borderColor: {
2257
+ readonly type: "string";
2258
+ readonly optional: true;
2259
+ };
2260
+ readonly fontWeight: {
2261
+ readonly enum: readonly ["normal", "bold"];
2262
+ readonly optional: true;
2263
+ };
2264
+ readonly type: {
2265
+ readonly enum: readonly ["Fixed"];
2266
+ };
2267
+ };
2268
+ }, {
2269
+ readonly type: {
2270
+ readonly column: {
2271
+ readonly type: "string";
2272
+ readonly optional: true;
2273
+ };
2274
+ readonly conditions: {
2275
+ readonly arrayOf: {
2276
+ readonly oneOf: readonly [{
2277
+ readonly type: {
2278
+ readonly textColor: {
2279
+ readonly type: "string";
2280
+ readonly optional: true;
2281
+ };
2282
+ readonly chipColor: {
2283
+ readonly type: "string";
2284
+ readonly optional: true;
2285
+ };
2286
+ readonly cellColor: {
2287
+ readonly type: "string";
2288
+ readonly optional: true;
2289
+ };
2290
+ readonly borderColor: {
2291
+ readonly type: "string";
2292
+ readonly optional: true;
2293
+ };
2294
+ readonly operator: {
2295
+ readonly enum: readonly ["contains", "=", ">", ">=", "<", "<=", "!="];
2296
+ };
2297
+ readonly condition: "any";
2298
+ };
2299
+ }, {
2300
+ readonly type: {
2301
+ readonly textColor: {
2302
+ readonly type: "string";
2303
+ readonly optional: true;
2304
+ };
2305
+ readonly chipColor: {
2306
+ readonly type: "string";
2307
+ readonly optional: true;
2308
+ };
2309
+ readonly cellColor: {
2310
+ readonly type: "string";
2311
+ readonly optional: true;
2312
+ };
2313
+ readonly borderColor: {
2314
+ readonly type: "string";
2315
+ readonly optional: true;
2316
+ };
2317
+ readonly operator: {
2318
+ readonly enum: readonly ["in", "not in"];
2319
+ };
2320
+ readonly condition: "any[]";
2321
+ };
2322
+ }];
2323
+ };
2324
+ };
2325
+ readonly defaultStyle: {
2326
+ readonly optional: true;
2327
+ readonly type: {
2328
+ readonly textColor: {
2329
+ readonly type: "string";
2330
+ readonly optional: true;
2331
+ };
2332
+ readonly chipColor: {
2333
+ readonly type: "string";
2334
+ readonly optional: true;
2335
+ };
2336
+ readonly cellColor: {
2337
+ readonly type: "string";
2338
+ readonly optional: true;
2339
+ };
2340
+ readonly borderColor: {
2341
+ readonly type: "string";
2342
+ readonly optional: true;
2343
+ };
2344
+ };
2345
+ };
2346
+ readonly fontWeight: {
2347
+ readonly enum: readonly ["normal", "bold"];
2348
+ readonly optional: true;
2349
+ };
2350
+ readonly type: {
2351
+ readonly enum: readonly ["Conditional"];
2352
+ };
2353
+ };
2354
+ }, {
2355
+ readonly type: {
2356
+ readonly textColor: "string";
2357
+ readonly minColor: "string";
2358
+ readonly maxColor: "string";
2359
+ readonly fontWeight: {
2360
+ readonly enum: readonly ["normal", "bold"];
2361
+ readonly optional: true;
2362
+ };
2363
+ readonly type: {
2364
+ readonly enum: readonly ["Scale"];
2365
+ };
2366
+ };
2367
+ }, {
2368
+ readonly type: {
2369
+ readonly barColor: "string";
2370
+ readonly textColor: "string";
2371
+ readonly fontWeight: {
2372
+ readonly enum: readonly ["normal", "bold"];
2373
+ readonly optional: true;
2374
+ };
2375
+ readonly type: {
2376
+ readonly enum: readonly ["Barchart"];
2377
+ };
2378
+ };
2379
+ }];
2380
+ };
2381
+ };
2382
+ };
2383
+ };
1895
2384
  };
1896
2385
  readonly card: {
1897
2386
  readonly optional: true;
@@ -3268,39 +3757,305 @@ export declare const getProstglesMCPServer: (serverName: string) => {
3268
3757
  readonly type: "string[]";
3269
3758
  readonly optional: true;
3270
3759
  };
3271
- }];
3272
- };
3760
+ }];
3761
+ };
3762
+ };
3763
+ };
3764
+ };
3765
+ readonly outputSchema: {
3766
+ readonly arrayOfType: {
3767
+ readonly question: "string";
3768
+ readonly answers: "string[]";
3769
+ };
3770
+ };
3771
+ };
3772
+ readonly get_tool_list: {
3773
+ readonly icon: "Tools";
3774
+ readonly mode: undefined;
3775
+ readonly description: string;
3776
+ readonly schema: {
3777
+ readonly type: {};
3778
+ };
3779
+ readonly outputSchema: {
3780
+ readonly arrayOfType: {
3781
+ readonly server_name: "string";
3782
+ readonly tool_name: "string";
3783
+ };
3784
+ };
3785
+ };
3786
+ readonly get_specific_tool_schemas: {
3787
+ readonly icon: "Tools";
3788
+ readonly mode: undefined;
3789
+ readonly description: string;
3790
+ readonly schema: {
3791
+ readonly type: {
3792
+ readonly mcpServerTools: {
3793
+ readonly record: {
3794
+ readonly partial: true;
3795
+ readonly values: {
3796
+ readonly record: {
3797
+ readonly partial: true;
3798
+ readonly values: {
3799
+ readonly enum: readonly [1];
3800
+ };
3801
+ };
3802
+ };
3803
+ };
3804
+ readonly description: string;
3805
+ };
3806
+ readonly infoLevel: {
3807
+ readonly optional: true;
3808
+ readonly enum: readonly ["full", "basic"];
3809
+ };
3810
+ };
3811
+ };
3812
+ readonly outputSchema: {
3813
+ readonly record: {
3814
+ readonly values: {
3815
+ readonly record: {
3816
+ readonly values: {
3817
+ readonly type: {
3818
+ readonly description: "string";
3819
+ readonly tsDefinition: "string";
3820
+ readonly inputSchema: {
3821
+ readonly record: {
3822
+ readonly values: "unknown";
3823
+ };
3824
+ };
3825
+ readonly outputSchema: {
3826
+ readonly nullable: true;
3827
+ readonly record: {
3828
+ readonly values: "unknown";
3829
+ };
3830
+ };
3831
+ };
3832
+ };
3833
+ };
3834
+ };
3835
+ };
3836
+ };
3837
+ };
3838
+ readonly request_tool_access: {
3839
+ readonly icon: "LockQuestion";
3840
+ readonly mode: "auto-approved-user-actionable";
3841
+ readonly description: string;
3842
+ readonly schema: {
3843
+ readonly type: {
3844
+ readonly reason: {
3845
+ readonly description: "Reason for requesting access to the tool";
3846
+ readonly type: "string";
3847
+ readonly optional: true;
3848
+ };
3849
+ readonly mcpServerTools: {
3850
+ readonly record: {
3851
+ readonly partial: true;
3852
+ readonly values: {
3853
+ readonly record: {
3854
+ readonly partial: true;
3855
+ readonly values: {
3856
+ readonly enum: readonly [1];
3857
+ };
3858
+ };
3859
+ };
3860
+ };
3861
+ readonly description: "List of MCP server tools to enable for this chat. Example: { web: { fetch: 1 } }";
3862
+ readonly optional: true;
3863
+ };
3864
+ readonly databaseAccess: {
3865
+ readonly optional: true;
3866
+ readonly description: "Database access configuration. Use the most restrictive access type that is needed to complete the task.";
3867
+ readonly oneOfType: readonly [{
3868
+ readonly mode: {
3869
+ readonly enum: readonly ["execute_readonly_sql"];
3870
+ };
3871
+ }, {
3872
+ readonly mode: {
3873
+ readonly enum: readonly ["execute_sql"];
3874
+ };
3875
+ readonly allowedCommands: {
3876
+ readonly optional: true;
3877
+ readonly record: {
3878
+ readonly partial: true;
3879
+ readonly keysEnum: readonly ["select", "insert", "update", "delete"];
3880
+ readonly values: {
3881
+ readonly enum: readonly [1];
3882
+ };
3883
+ };
3884
+ };
3885
+ }, {
3886
+ readonly mode: {
3887
+ readonly enum: readonly ["custom"];
3888
+ };
3889
+ readonly tablePermissions: {
3890
+ readonly title: "Tables";
3891
+ readonly description: "Tables the assistant can access";
3892
+ readonly record: {
3893
+ readonly values: {
3894
+ readonly type: {
3895
+ readonly select: {
3896
+ readonly oneOf: readonly [{
3897
+ readonly enum: readonly [true];
3898
+ }, {
3899
+ readonly type: {
3900
+ readonly forcedFilter: {
3901
+ readonly optional: true;
3902
+ readonly oneOfType: readonly [{
3903
+ readonly $and: "any[]";
3904
+ }, {
3905
+ readonly $or: "any[]";
3906
+ }];
3907
+ };
3908
+ readonly fields: {
3909
+ readonly oneOf: readonly [{
3910
+ readonly enum: readonly ["*"];
3911
+ }, {
3912
+ readonly record: {
3913
+ readonly values: {
3914
+ readonly enum: readonly [1];
3915
+ };
3916
+ };
3917
+ }, {
3918
+ readonly record: {
3919
+ readonly values: {
3920
+ readonly enum: readonly [0];
3921
+ };
3922
+ };
3923
+ }];
3924
+ };
3925
+ };
3926
+ }];
3927
+ readonly optional: true;
3928
+ };
3929
+ readonly update: {
3930
+ readonly oneOf: readonly [{
3931
+ readonly enum: readonly [true];
3932
+ }, {
3933
+ readonly type: {
3934
+ readonly forcedFilter: {
3935
+ readonly optional: true;
3936
+ readonly oneOfType: readonly [{
3937
+ readonly $and: "any[]";
3938
+ }, {
3939
+ readonly $or: "any[]";
3940
+ }];
3941
+ };
3942
+ readonly fields: {
3943
+ readonly oneOf: readonly [{
3944
+ readonly enum: readonly ["*"];
3945
+ }, {
3946
+ readonly record: {
3947
+ readonly values: {
3948
+ readonly enum: readonly [1];
3949
+ };
3950
+ };
3951
+ }, {
3952
+ readonly record: {
3953
+ readonly values: {
3954
+ readonly enum: readonly [0];
3955
+ };
3956
+ };
3957
+ }];
3958
+ };
3959
+ };
3960
+ }];
3961
+ readonly optional: true;
3962
+ };
3963
+ readonly insert: {
3964
+ readonly oneOf: readonly [{
3965
+ readonly enum: readonly [true];
3966
+ }, {
3967
+ readonly type: {
3968
+ readonly fields: {
3969
+ readonly oneOf: readonly [{
3970
+ readonly enum: readonly ["*"];
3971
+ }, {
3972
+ readonly record: {
3973
+ readonly values: {
3974
+ readonly enum: readonly [1];
3975
+ };
3976
+ };
3977
+ }, {
3978
+ readonly record: {
3979
+ readonly values: {
3980
+ readonly enum: readonly [0];
3981
+ };
3982
+ };
3983
+ }];
3984
+ };
3985
+ };
3986
+ }];
3987
+ readonly optional: true;
3988
+ };
3989
+ readonly delete: {
3990
+ readonly oneOf: readonly [{
3991
+ readonly enum: readonly [true];
3992
+ }, {
3993
+ readonly type: {
3994
+ readonly forcedFilter: {
3995
+ readonly optional: true;
3996
+ readonly oneOfType: readonly [{
3997
+ readonly $and: "any[]";
3998
+ }, {
3999
+ readonly $or: "any[]";
4000
+ }];
4001
+ };
4002
+ };
4003
+ }];
4004
+ readonly optional: true;
4005
+ };
4006
+ };
4007
+ };
4008
+ };
4009
+ };
4010
+ }];
3273
4011
  };
3274
4012
  };
3275
4013
  };
3276
4014
  readonly outputSchema: {
3277
- readonly arrayOfType: {
3278
- readonly question: "string";
3279
- readonly answers: "string[]";
4015
+ readonly type: {
4016
+ readonly validatedTools: {
4017
+ readonly arrayOfType: {
4018
+ readonly id: "number";
4019
+ readonly server_name: "string";
4020
+ readonly config_id: {
4021
+ readonly oneOf: readonly ["number", {
4022
+ readonly enum: readonly [null];
4023
+ }];
4024
+ };
4025
+ };
4026
+ };
4027
+ readonly status: {
4028
+ readonly optional: true;
4029
+ readonly enum: readonly ["approved", "denied"];
4030
+ };
3280
4031
  };
3281
4032
  };
3282
4033
  };
3283
- readonly get_tool_list: {
3284
- readonly icon: "Tools";
4034
+ readonly create_tables: {
4035
+ readonly icon: "TablePlus";
3285
4036
  readonly mode: undefined;
3286
4037
  readonly description: string;
3287
4038
  readonly schema: {
3288
- readonly type: {};
4039
+ readonly type: {
4040
+ readonly ddlStatements: {
4041
+ readonly description: "SQL DDL statements to create tables. Only CREATE TABLE, CREATE VIEW and CREATE INDEX statements are allowed.";
4042
+ readonly type: "string";
4043
+ };
4044
+ };
3289
4045
  };
3290
4046
  readonly outputSchema: {
3291
- readonly arrayOfType: {
3292
- readonly server_name: "string";
3293
- readonly tool_name: "string";
4047
+ readonly type: {
4048
+ readonly data: "unknown[]";
3294
4049
  };
3295
4050
  };
3296
4051
  };
3297
- readonly get_specific_tool_schemas: {
3298
- readonly icon: "Tools";
3299
- readonly mode: undefined;
4052
+ readonly create_agent: {
4053
+ readonly icon: "RobotOutline";
4054
+ readonly mode: "always-needs-approval";
3300
4055
  readonly description: string;
3301
4056
  readonly schema: {
3302
4057
  readonly type: {
3303
- readonly mcpServerTools: {
4058
+ readonly tools: {
3304
4059
  readonly record: {
3305
4060
  readonly partial: true;
3306
4061
  readonly values: {
@@ -3312,418 +4067,641 @@ export declare const getProstglesMCPServer: (serverName: string) => {
3312
4067
  };
3313
4068
  };
3314
4069
  };
3315
- readonly description: string;
4070
+ readonly description: "List of MCP server tools available to the agent. Example: { web: { fetch: 1 } }";
4071
+ readonly optional: true;
3316
4072
  };
3317
- readonly infoLevel: {
4073
+ readonly firstMessage: {
4074
+ readonly description: "The first message to send to the agent. If not provided, the agent will start with an empty message.";
3318
4075
  readonly optional: true;
3319
- readonly enum: readonly ["full", "basic"];
4076
+ readonly type: "string";
3320
4077
  };
3321
- };
3322
- };
3323
- readonly outputSchema: {
3324
- readonly record: {
3325
- readonly values: {
4078
+ readonly prompt: {
4079
+ readonly type: "string";
4080
+ };
4081
+ readonly modelName: {
4082
+ readonly type: "string";
4083
+ readonly optional: true;
4084
+ readonly description: "The name of the LLM model to use for this agent. If not provided, the default model will be used.";
4085
+ };
4086
+ readonly maxCostUSD: {
4087
+ readonly type: "number";
4088
+ readonly optional: true;
4089
+ readonly description: "The maximum cost in USD that this agent is allowed to incur.";
4090
+ };
4091
+ readonly maxIterations: {
4092
+ readonly type: "number";
4093
+ readonly optional: true;
4094
+ readonly description: "The maximum number of iterations this agent is allowed to run.";
4095
+ };
4096
+ readonly mcpServerConfigs: {
4097
+ readonly optional: true;
4098
+ readonly description: "SYSTEM ONLY — DO NOT SPECIFY: Do not generate, invent, or prompt the user for configuration IDs. This field is automatically injected by the host runtime when a tool requires user-provided MCP server authorization.";
3326
4099
  readonly record: {
4100
+ readonly partial: true;
3327
4101
  readonly values: {
3328
4102
  readonly type: {
3329
- readonly description: "string";
3330
- readonly tsDefinition: "string";
3331
- readonly inputSchema: {
3332
- readonly record: {
3333
- readonly values: "unknown";
3334
- };
3335
- };
3336
- readonly outputSchema: {
3337
- readonly nullable: true;
3338
- readonly record: {
3339
- readonly values: "unknown";
3340
- };
4103
+ readonly configId: {
4104
+ readonly type: "number";
3341
4105
  };
3342
4106
  };
3343
4107
  };
3344
4108
  };
3345
4109
  };
4110
+ readonly maxTokens: {
4111
+ readonly type: "number";
4112
+ readonly optional: true;
4113
+ };
4114
+ readonly temperature: {
4115
+ readonly type: "number";
4116
+ readonly optional: true;
4117
+ };
4118
+ readonly name: "string";
4119
+ readonly autoApproveAllTools: "boolean";
4120
+ readonly timeout: "integer";
3346
4121
  };
3347
4122
  };
4123
+ readonly outputSchema: {
4124
+ readonly oneOfType: readonly [{
4125
+ readonly success: {
4126
+ readonly enum: readonly [true];
4127
+ };
4128
+ readonly result: "string";
4129
+ }, {
4130
+ readonly success: {
4131
+ readonly enum: readonly [false];
4132
+ };
4133
+ readonly error: "string";
4134
+ }];
4135
+ };
3348
4136
  };
3349
- readonly request_tool_access: {
3350
- readonly icon: "LockQuestion";
4137
+ readonly create_agentic_workflow: {
4138
+ readonly icon: "CubeOutline";
3351
4139
  readonly mode: "auto-approved-user-actionable";
3352
- readonly description: string;
4140
+ readonly description: "Creates an agentic workflow which is executed manually by the user to iteratively complete the specified task using MCP tools and database access if needed. Runtime logs are only visible to the user. Definition validation is not a substitute for testing external runtime assumptions";
3353
4141
  readonly schema: {
3354
4142
  readonly type: {
3355
- readonly reason: {
3356
- readonly description: "Reason for requesting access to the tool";
4143
+ readonly workflow_function_definition: {
3357
4144
  readonly type: "string";
3358
- readonly optional: true;
4145
+ readonly description: "Typescript code defining a function that returns an agent workflow. The function must satisfy the following type provided. The function can use available MCP tools and database access if needed. Available MCP tools and database access are determined by the fetchTools function and the input to this tool.";
3359
4146
  };
3360
- readonly mcpServerTools: {
4147
+ readonly workflow_function_definition_summary: {
4148
+ readonly type: "string";
4149
+ readonly description: "A concise summary of the workflow function definition for the user to understand what the workflow does without having to read the code. This will be shown to the user when asking for approval to run the workflow.";
4150
+ };
4151
+ readonly package_dependencies: {
4152
+ readonly optional: true;
4153
+ readonly description: "A list of npm packages to be added to the container package.json dependencies.";
3361
4154
  readonly record: {
3362
- readonly partial: true;
3363
- readonly values: {
3364
- readonly record: {
3365
- readonly partial: true;
3366
- readonly values: {
3367
- readonly enum: readonly [1];
3368
- };
3369
- };
3370
- };
4155
+ readonly values: "string";
3371
4156
  };
3372
- readonly description: "List of MCP server tools to enable for this chat. Example: { web: { fetch: 1 } }";
4157
+ };
4158
+ readonly workflowId: {
4159
+ readonly type: "integer";
3373
4160
  readonly optional: true;
4161
+ readonly description: "FOR INTERNAL USE ONLY. DO NOT ASK USER ABOUT THIS. Workflow ID to update instead of creating a new workflow. If not provided, a new workflow will be created.";
3374
4162
  };
3375
- readonly databaseAccess: {
4163
+ };
4164
+ };
4165
+ readonly outputSchema: {
4166
+ readonly oneOfType: readonly [{
4167
+ readonly isValid: {
4168
+ readonly enum: readonly [true];
4169
+ };
4170
+ readonly workflowId: "number";
4171
+ }, {
4172
+ readonly isValid: {
4173
+ readonly enum: readonly [false];
4174
+ };
4175
+ readonly logs: "string";
4176
+ readonly error: {
4177
+ readonly type: "unknown";
3376
4178
  readonly optional: true;
3377
- readonly description: "Database access configuration. Use the most restrictive access type that is needed to complete the task.";
3378
- readonly oneOfType: readonly [{
3379
- readonly mode: {
3380
- readonly enum: readonly ["execute_readonly_sql"];
3381
- };
3382
- }, {
3383
- readonly mode: {
3384
- readonly enum: readonly ["execute_sql"];
3385
- };
3386
- readonly allowedCommands: {
3387
- readonly optional: true;
3388
- readonly record: {
3389
- readonly partial: true;
3390
- readonly keysEnum: readonly ["select", "insert", "update", "delete"];
3391
- readonly values: {
3392
- readonly enum: readonly [1];
4179
+ };
4180
+ }];
4181
+ };
4182
+ };
4183
+ readonly get_tables_metadata: {
4184
+ readonly icon: "Table";
4185
+ readonly mode: undefined;
4186
+ readonly description: "Get rendering metadata for database tables.";
4187
+ readonly schema: {
4188
+ readonly type: {
4189
+ readonly tableNames: "string[]";
4190
+ };
4191
+ };
4192
+ readonly outputSchema: {
4193
+ readonly type: "unknown";
4194
+ };
4195
+ };
4196
+ readonly set_tables_metadata: {
4197
+ readonly icon: "Table";
4198
+ readonly mode: undefined;
4199
+ readonly description: "Set rendering metadata for database tables";
4200
+ readonly schema: {
4201
+ readonly type: {
4202
+ readonly metadata: {
4203
+ readonly record: {
4204
+ readonly partial: true;
4205
+ readonly values: {
4206
+ readonly type: {
4207
+ readonly icon: {
4208
+ readonly type: "string";
4209
+ readonly description: "MDI Icon name. For example: 'AccessPointNetwork', 'Github'";
4210
+ readonly optional: true;
4211
+ };
4212
+ readonly label: {
4213
+ readonly type: "string";
4214
+ readonly optional: true;
3393
4215
  };
3394
- };
3395
- };
3396
- }, {
3397
- readonly mode: {
3398
- readonly enum: readonly ["custom"];
3399
- };
3400
- readonly tablePermissions: {
3401
- readonly title: "Tables";
3402
- readonly description: "Tables the assistant can access";
3403
- readonly record: {
3404
- readonly values: {
4216
+ readonly referenceDisplay: {
4217
+ readonly optional: true;
4218
+ readonly description: "Default display for foreign keys referencing this table. Explicit foreign-key column formats override it.";
3405
4219
  readonly type: {
3406
- readonly select: {
3407
- readonly oneOf: readonly [{
3408
- readonly enum: readonly [true];
3409
- }, {
3410
- readonly type: {
3411
- readonly forcedFilter: {
3412
- readonly optional: true;
3413
- readonly oneOfType: readonly [{
3414
- readonly $and: "any[]";
3415
- }, {
3416
- readonly $or: "any[]";
3417
- }];
3418
- };
3419
- readonly fields: {
3420
- readonly oneOf: readonly [{
3421
- readonly enum: readonly ["*"];
3422
- }, {
3423
- readonly record: {
3424
- readonly values: {
3425
- readonly enum: readonly [1];
4220
+ readonly columns: {
4221
+ readonly description: "Fields to display, in order. Omitted formats inherit the target column's format and style.";
4222
+ readonly arrayOfType: {
4223
+ readonly name: "string";
4224
+ readonly format: {
4225
+ readonly optional: true;
4226
+ readonly title: "Display format";
4227
+ readonly description: "Control how data is displayed";
4228
+ readonly oneOfType: readonly [{
4229
+ readonly type: {
4230
+ readonly enum: readonly ["ActionColumns"];
4231
+ readonly title: "Format";
4232
+ };
4233
+ readonly params: {
4234
+ readonly type: {
4235
+ readonly actions: {
4236
+ readonly arrayOf: {
4237
+ readonly oneOfType: readonly [{
4238
+ readonly columnName: "string";
4239
+ }, {
4240
+ readonly methodName: "string";
4241
+ readonly argName: {
4242
+ readonly type: "string";
4243
+ readonly optional: true;
4244
+ };
4245
+ readonly joinPath: {
4246
+ readonly optional: true;
4247
+ readonly arrayOf: {
4248
+ readonly type: {
4249
+ readonly table: "string";
4250
+ readonly on: {
4251
+ readonly arrayOf: {
4252
+ readonly record: {
4253
+ readonly values: "string";
4254
+ };
4255
+ };
4256
+ };
4257
+ };
4258
+ };
4259
+ };
4260
+ readonly conditions: {
4261
+ readonly optional: true;
4262
+ readonly arrayOf: {
4263
+ readonly type: {
4264
+ readonly filter: {
4265
+ readonly oneOfType: readonly [{
4266
+ readonly $and: {
4267
+ readonly arrayOf: {
4268
+ readonly record: {
4269
+ readonly values: "any";
4270
+ };
4271
+ };
4272
+ };
4273
+ }, {
4274
+ readonly $or: {
4275
+ readonly arrayOf: {
4276
+ readonly record: {
4277
+ readonly values: "any";
4278
+ };
4279
+ };
4280
+ };
4281
+ }];
4282
+ };
4283
+ readonly value: {
4284
+ readonly type: {
4285
+ readonly text: {
4286
+ readonly type: "string";
4287
+ readonly optional: true;
4288
+ };
4289
+ readonly icon: {
4290
+ readonly type: "string";
4291
+ readonly optional: true;
4292
+ };
4293
+ readonly variant: {
4294
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
4295
+ readonly optional: true;
4296
+ };
4297
+ readonly color: {
4298
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
4299
+ readonly optional: true;
4300
+ };
4301
+ readonly disabledInfo: {
4302
+ readonly type: "string";
4303
+ readonly optional: true;
4304
+ };
4305
+ readonly isLoading: {
4306
+ readonly type: "boolean";
4307
+ readonly optional: true;
4308
+ };
4309
+ };
4310
+ };
4311
+ };
4312
+ };
4313
+ };
4314
+ readonly defaultValue: {
4315
+ readonly type: {
4316
+ readonly text: {
4317
+ readonly type: "string";
4318
+ readonly optional: true;
4319
+ };
4320
+ readonly icon: {
4321
+ readonly type: "string";
4322
+ readonly optional: true;
4323
+ };
4324
+ readonly variant: {
4325
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
4326
+ readonly optional: true;
4327
+ };
4328
+ readonly color: {
4329
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
4330
+ readonly optional: true;
4331
+ };
4332
+ readonly disabledInfo: {
4333
+ readonly type: "string";
4334
+ readonly optional: true;
4335
+ };
4336
+ readonly isLoading: {
4337
+ readonly type: "boolean";
4338
+ readonly optional: true;
4339
+ };
4340
+ };
4341
+ readonly optional: true;
4342
+ };
4343
+ }];
4344
+ };
4345
+ };
4346
+ };
4347
+ };
4348
+ }, {
4349
+ readonly type: {
4350
+ readonly enum: readonly ["Action"];
4351
+ readonly title: "Format";
4352
+ };
4353
+ readonly params: {
4354
+ readonly type: {
4355
+ readonly methodName: "string";
4356
+ readonly argName: {
4357
+ readonly type: "string";
4358
+ readonly optional: true;
4359
+ };
4360
+ readonly joinPath: {
4361
+ readonly optional: true;
4362
+ readonly arrayOf: {
4363
+ readonly type: {
4364
+ readonly table: "string";
4365
+ readonly on: {
4366
+ readonly arrayOf: {
4367
+ readonly record: {
4368
+ readonly values: "string";
4369
+ };
4370
+ };
4371
+ };
4372
+ };
4373
+ };
4374
+ };
4375
+ readonly conditions: {
4376
+ readonly optional: true;
4377
+ readonly arrayOf: {
4378
+ readonly type: {
4379
+ readonly filter: {
4380
+ readonly oneOfType: readonly [{
4381
+ readonly $and: {
4382
+ readonly arrayOf: {
4383
+ readonly record: {
4384
+ readonly values: "any";
4385
+ };
4386
+ };
4387
+ };
4388
+ }, {
4389
+ readonly $or: {
4390
+ readonly arrayOf: {
4391
+ readonly record: {
4392
+ readonly values: "any";
4393
+ };
4394
+ };
4395
+ };
4396
+ }];
4397
+ };
4398
+ readonly value: {
4399
+ readonly type: {
4400
+ readonly text: {
4401
+ readonly type: "string";
4402
+ readonly optional: true;
4403
+ };
4404
+ readonly icon: {
4405
+ readonly type: "string";
4406
+ readonly optional: true;
4407
+ };
4408
+ readonly variant: {
4409
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
4410
+ readonly optional: true;
4411
+ };
4412
+ readonly color: {
4413
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
4414
+ readonly optional: true;
4415
+ };
4416
+ readonly disabledInfo: {
4417
+ readonly type: "string";
4418
+ readonly optional: true;
4419
+ };
4420
+ readonly isLoading: {
4421
+ readonly type: "boolean";
4422
+ readonly optional: true;
4423
+ };
4424
+ };
4425
+ };
4426
+ };
4427
+ };
4428
+ };
4429
+ readonly defaultValue: {
4430
+ readonly type: {
4431
+ readonly text: {
4432
+ readonly type: "string";
4433
+ readonly optional: true;
4434
+ };
4435
+ readonly icon: {
4436
+ readonly type: "string";
4437
+ readonly optional: true;
4438
+ };
4439
+ readonly variant: {
4440
+ readonly enum: readonly ["text", "faded", "filled", "outline"];
4441
+ readonly optional: true;
4442
+ };
4443
+ readonly color: {
4444
+ readonly enum: readonly ["default", "action", "danger", "warn", "green", "indigo", "inherit", "transparent", "white"];
4445
+ readonly optional: true;
4446
+ };
4447
+ readonly disabledInfo: {
4448
+ readonly type: "string";
4449
+ readonly optional: true;
4450
+ };
4451
+ readonly isLoading: {
4452
+ readonly type: "boolean";
4453
+ readonly optional: true;
4454
+ };
4455
+ };
4456
+ readonly optional: true;
3426
4457
  };
3427
4458
  };
3428
- }, {
3429
- readonly record: {
3430
- readonly values: {
3431
- readonly enum: readonly [0];
4459
+ };
4460
+ }, {
4461
+ readonly type: {
4462
+ readonly enum: readonly ["NONE"];
4463
+ readonly title: "Format";
4464
+ readonly description: "Display data as is. Default";
4465
+ };
4466
+ }, {
4467
+ readonly type: {
4468
+ readonly enum: readonly ["URL"];
4469
+ readonly title: "Format";
4470
+ readonly description: "Clickable URL";
4471
+ };
4472
+ }, {
4473
+ readonly type: {
4474
+ readonly enum: readonly ["Email"];
4475
+ readonly title: "Format";
4476
+ readonly description: "Email link";
4477
+ };
4478
+ }, {
4479
+ readonly type: {
4480
+ readonly enum: readonly ["Tel"];
4481
+ readonly title: "Format";
4482
+ readonly description: "Telephone number link";
4483
+ };
4484
+ }, {
4485
+ readonly type: {
4486
+ readonly enum: readonly ["QR Code"];
4487
+ readonly title: "Format";
4488
+ readonly description: "Display a URL as an image";
4489
+ };
4490
+ }, {
4491
+ readonly type: {
4492
+ readonly title: "Format";
4493
+ readonly enum: readonly ["Currency"];
4494
+ readonly description: "With currency symbol";
4495
+ };
4496
+ readonly params: {
4497
+ readonly oneOfType: readonly [{
4498
+ readonly mode: {
4499
+ readonly enum: readonly ["Fixed"];
4500
+ readonly title: "Type";
4501
+ };
4502
+ readonly metricPrefix: {
4503
+ readonly type: "boolean";
4504
+ readonly title: "Use Metric Prefix";
4505
+ readonly optional: true;
4506
+ };
4507
+ readonly currencyCode: {
4508
+ readonly type: "string";
4509
+ readonly title: "Currency code";
4510
+ readonly description: "EUR, GBP, USD, etc...";
4511
+ };
4512
+ }, {
4513
+ readonly mode: {
4514
+ readonly enum: readonly ["From column"];
4515
+ readonly title: "Type";
4516
+ };
4517
+ readonly metricPrefix: {
4518
+ readonly type: "boolean";
4519
+ readonly title: "Use Metric Prefix";
4520
+ readonly optional: true;
4521
+ };
4522
+ readonly currencyCodeField: {
4523
+ readonly type: "string";
4524
+ readonly title: "Currency Field";
4525
+ readonly description: "Column containing the currency code (EUR, GBP, USD, etc...)";
4526
+ };
4527
+ }];
4528
+ };
4529
+ }, {
4530
+ readonly type: {
4531
+ readonly enum: readonly ["Avatar"];
4532
+ readonly title: "Format";
4533
+ readonly description: "Name initials in a circle. Set colors in column styles.";
4534
+ };
4535
+ readonly params: {
4536
+ readonly optional: true;
4537
+ readonly type: {
4538
+ readonly firstNameColumn: {
4539
+ readonly type: "string";
4540
+ readonly optional: true;
4541
+ readonly title: "First name column";
4542
+ readonly description: "Leave name columns unset to use this column's full name.";
4543
+ };
4544
+ readonly lastNameColumn: {
4545
+ readonly type: "string";
4546
+ readonly optional: true;
4547
+ readonly title: "Last name column";
3432
4548
  };
3433
4549
  };
3434
- }];
3435
- };
3436
- };
3437
- }];
3438
- readonly optional: true;
3439
- };
3440
- readonly update: {
3441
- readonly oneOf: readonly [{
3442
- readonly enum: readonly [true];
3443
- }, {
3444
- readonly type: {
3445
- readonly forcedFilter: {
3446
- readonly optional: true;
3447
- readonly oneOfType: readonly [{
3448
- readonly $and: "any[]";
3449
- }, {
3450
- readonly $or: "any[]";
3451
- }];
3452
- };
3453
- readonly fields: {
3454
- readonly oneOf: readonly [{
3455
- readonly enum: readonly ["*"];
3456
- }, {
3457
- readonly record: {
3458
- readonly values: {
3459
- readonly enum: readonly [1];
4550
+ };
4551
+ }, {
4552
+ readonly type: {
4553
+ readonly enum: readonly ["Metric Prefix"];
4554
+ readonly title: "Format";
4555
+ readonly description: "Display large numbers with metric prefixes (e.g. 1.2K)";
4556
+ };
4557
+ }, {
4558
+ readonly type: {
4559
+ readonly enum: readonly ["UNIX Timestamp"];
4560
+ readonly title: "Format";
4561
+ readonly description: "Display unix timestamp as datetime";
4562
+ };
4563
+ }, {
4564
+ readonly type: {
4565
+ readonly enum: readonly ["Age"];
4566
+ readonly title: "Format";
4567
+ readonly description: "Display time difference between now and the value";
4568
+ };
4569
+ readonly params: {
4570
+ readonly optional: true;
4571
+ readonly type: {
4572
+ readonly variant: {
4573
+ readonly title: "Variant";
4574
+ readonly description: "Short shows top two biggest units";
4575
+ readonly enum: readonly ["short", "full"];
3460
4576
  };
3461
4577
  };
3462
- }, {
3463
- readonly record: {
3464
- readonly values: {
3465
- readonly enum: readonly [0];
4578
+ };
4579
+ }, {
4580
+ readonly type: {
4581
+ readonly enum: readonly ["Markdown", "MarkdownPopup"];
4582
+ readonly title: "Format";
4583
+ readonly description: "Display string as Markdown";
4584
+ };
4585
+ }, {
4586
+ readonly type: {
4587
+ readonly enum: readonly ["JSON Diff", "Text Diff"];
4588
+ readonly title: "Format";
4589
+ readonly description: "Compare JSON or plain text values from two columns";
4590
+ };
4591
+ readonly params: {
4592
+ readonly type: {
4593
+ readonly oldColumn: "string";
4594
+ readonly newColumn: "string";
4595
+ };
4596
+ };
4597
+ }, {
4598
+ readonly type: {
4599
+ readonly enum: readonly ["DoclingDocument"];
4600
+ readonly title: "Format";
4601
+ readonly description: "Renders a Docling parsed document";
4602
+ };
4603
+ }, {
4604
+ readonly type: {
4605
+ readonly enum: readonly ["Logs"];
4606
+ readonly title: "Format";
4607
+ readonly description: "Renders a log viewer for text data";
4608
+ };
4609
+ }, {
4610
+ readonly type: {
4611
+ readonly enum: readonly ["HTML"];
4612
+ readonly title: "Format";
4613
+ readonly description: "Display string as sanitised HTML";
4614
+ };
4615
+ readonly params: {
4616
+ readonly type: {
4617
+ readonly noSanitize: {
4618
+ readonly type: "boolean";
4619
+ readonly title: "Do not sanitize HTML";
4620
+ readonly description: "Leave unchecked if you understand the risks";
4621
+ readonly optional: true;
4622
+ };
4623
+ readonly allowedHTMLTags: {
4624
+ readonly title: "Allowed HTML Tags";
4625
+ readonly type: "string[]";
4626
+ readonly allowedValues: string[];
4627
+ readonly description: "List of allowed HTML tags. E.g.: div, p, html";
4628
+ readonly optional: true;
4629
+ };
4630
+ };
4631
+ };
4632
+ }, {
4633
+ readonly type: {
4634
+ readonly enum: readonly ["Media"];
4635
+ readonly title: "Format";
4636
+ readonly description: "Display media (video/image/audio) from URL";
4637
+ };
4638
+ readonly params: {
4639
+ readonly type: {
4640
+ readonly contentType: {
4641
+ readonly optional: true;
4642
+ readonly title: "Content type";
4643
+ readonly oneOfType: readonly [{
4644
+ readonly mode: {
4645
+ readonly enum: readonly ["Auto"];
4646
+ readonly title: "Auto detect from URL and headers (default)";
4647
+ };
4648
+ }, {
4649
+ readonly mode: {
4650
+ readonly enum: readonly ["Fixed"];
4651
+ readonly title: "Fixed";
4652
+ };
4653
+ readonly fixedContentType: {
4654
+ readonly type: "string";
4655
+ readonly title: "Fixed content type";
4656
+ readonly allowedValues: readonly ["image", "video", "audio"];
4657
+ };
4658
+ }, {
4659
+ readonly mode: {
4660
+ readonly enum: readonly ["From column"];
4661
+ readonly title: "From column";
4662
+ };
4663
+ readonly contentTypeColumnName: {
4664
+ readonly title: "MIME column";
4665
+ readonly type: "string";
4666
+ readonly description: "Column that contains valid extension values (img, mp4, mp3, ...)";
4667
+ };
4668
+ }, {
4669
+ readonly mode: {
4670
+ readonly enum: readonly ["From URL Extension"];
4671
+ readonly title: "From URL Extension (e.g. .png, .mp4)";
4672
+ };
4673
+ }];
4674
+ };
4675
+ readonly titleColumn: {
4676
+ readonly optional: true;
4677
+ readonly type: "string";
4678
+ readonly title: "Title column";
3466
4679
  };
3467
4680
  };
3468
- }];
3469
- };
4681
+ };
4682
+ }];
3470
4683
  };
3471
- }];
3472
- readonly optional: true;
4684
+ };
3473
4685
  };
3474
- readonly insert: {
3475
- readonly oneOf: readonly [{
3476
- readonly enum: readonly [true];
3477
- }, {
4686
+ readonly display: {
4687
+ readonly optional: true;
4688
+ readonly description: "Defaults to drillable values without labels.";
4689
+ readonly oneOfType: readonly [{
3478
4690
  readonly type: {
3479
- readonly fields: {
3480
- readonly oneOf: readonly [{
3481
- readonly enum: readonly ["*"];
3482
- }, {
3483
- readonly record: {
3484
- readonly values: {
3485
- readonly enum: readonly [1];
3486
- };
3487
- };
3488
- }, {
3489
- readonly record: {
3490
- readonly values: {
3491
- readonly enum: readonly [0];
3492
- };
3493
- };
3494
- }];
3495
- };
4691
+ readonly enum: readonly ["values"];
4692
+ };
4693
+ readonly labels: {
4694
+ readonly enum: readonly ["auto", "none", "inline", "above"];
4695
+ readonly optional: true;
3496
4696
  };
3497
- }];
3498
- readonly optional: true;
3499
- };
3500
- readonly delete: {
3501
- readonly oneOf: readonly [{
3502
- readonly enum: readonly [true];
3503
4697
  }, {
3504
4698
  readonly type: {
3505
- readonly forcedFilter: {
3506
- readonly optional: true;
3507
- readonly oneOfType: readonly [{
3508
- readonly $and: "any[]";
3509
- }, {
3510
- readonly $or: "any[]";
3511
- }];
3512
- };
4699
+ readonly enum: readonly ["drillable-records"];
3513
4700
  };
3514
4701
  }];
3515
- readonly optional: true;
3516
4702
  };
3517
4703
  };
3518
4704
  };
3519
- };
3520
- };
3521
- }];
3522
- };
3523
- };
3524
- };
3525
- readonly outputSchema: {
3526
- readonly type: {
3527
- readonly validatedTools: {
3528
- readonly arrayOfType: {
3529
- readonly id: "number";
3530
- readonly server_name: "string";
3531
- readonly config_id: {
3532
- readonly oneOf: readonly ["number", {
3533
- readonly enum: readonly [null];
3534
- }];
3535
- };
3536
- };
3537
- };
3538
- readonly status: {
3539
- readonly optional: true;
3540
- readonly enum: readonly ["approved", "denied"];
3541
- };
3542
- };
3543
- };
3544
- };
3545
- readonly create_tables: {
3546
- readonly icon: "TablePlus";
3547
- readonly mode: undefined;
3548
- readonly description: string;
3549
- readonly schema: {
3550
- readonly type: {
3551
- readonly ddlStatements: {
3552
- readonly description: "SQL DDL statements to create tables. Only CREATE TABLE, CREATE VIEW and CREATE INDEX statements are allowed.";
3553
- readonly type: "string";
3554
- };
3555
- };
3556
- };
3557
- readonly outputSchema: {
3558
- readonly type: {
3559
- readonly data: "unknown[]";
3560
- };
3561
- };
3562
- };
3563
- readonly create_agent: {
3564
- readonly icon: "RobotOutline";
3565
- readonly mode: "always-needs-approval";
3566
- readonly description: string;
3567
- readonly schema: {
3568
- readonly type: {
3569
- readonly tools: {
3570
- readonly record: {
3571
- readonly partial: true;
3572
- readonly values: {
3573
- readonly record: {
3574
- readonly partial: true;
3575
- readonly values: {
3576
- readonly enum: readonly [1];
3577
- };
3578
- };
3579
- };
3580
- };
3581
- readonly description: "List of MCP server tools available to the agent. Example: { web: { fetch: 1 } }";
3582
- readonly optional: true;
3583
- };
3584
- readonly firstMessage: {
3585
- readonly description: "The first message to send to the agent. If not provided, the agent will start with an empty message.";
3586
- readonly optional: true;
3587
- readonly type: "string";
3588
- };
3589
- readonly prompt: {
3590
- readonly type: "string";
3591
- };
3592
- readonly modelName: {
3593
- readonly type: "string";
3594
- readonly optional: true;
3595
- readonly description: "The name of the LLM model to use for this agent. If not provided, the default model will be used.";
3596
- };
3597
- readonly maxCostUSD: {
3598
- readonly type: "number";
3599
- readonly optional: true;
3600
- readonly description: "The maximum cost in USD that this agent is allowed to incur.";
3601
- };
3602
- readonly maxIterations: {
3603
- readonly type: "number";
3604
- readonly optional: true;
3605
- readonly description: "The maximum number of iterations this agent is allowed to run.";
3606
- };
3607
- readonly mcpServerConfigs: {
3608
- readonly optional: true;
3609
- readonly description: "SYSTEM ONLY — DO NOT SPECIFY: Do not generate, invent, or prompt the user for configuration IDs. This field is automatically injected by the host runtime when a tool requires user-provided MCP server authorization.";
3610
- readonly record: {
3611
- readonly partial: true;
3612
- readonly values: {
3613
- readonly type: {
3614
- readonly configId: {
3615
- readonly type: "number";
3616
- };
3617
- };
3618
- };
3619
- };
3620
- };
3621
- readonly maxTokens: {
3622
- readonly type: "number";
3623
- readonly optional: true;
3624
- };
3625
- readonly temperature: {
3626
- readonly type: "number";
3627
- readonly optional: true;
3628
- };
3629
- readonly name: "string";
3630
- readonly autoApproveAllTools: "boolean";
3631
- readonly timeout: "integer";
3632
- };
3633
- };
3634
- readonly outputSchema: {
3635
- readonly oneOfType: readonly [{
3636
- readonly success: {
3637
- readonly enum: readonly [true];
3638
- };
3639
- readonly result: "string";
3640
- }, {
3641
- readonly success: {
3642
- readonly enum: readonly [false];
3643
- };
3644
- readonly error: "string";
3645
- }];
3646
- };
3647
- };
3648
- readonly create_agentic_workflow: {
3649
- readonly icon: "CubeOutline";
3650
- readonly mode: "auto-approved-user-actionable";
3651
- readonly description: "Creates an agentic workflow which is executed manually by the user to iteratively complete the specified task using MCP tools and database access if needed. Runtime logs are only visible to the user. Definition validation is not a substitute for testing external runtime assumptions";
3652
- readonly schema: {
3653
- readonly type: {
3654
- readonly workflow_function_definition: {
3655
- readonly type: "string";
3656
- readonly description: "Typescript code defining a function that returns an agent workflow. The function must satisfy the following type provided. The function can use available MCP tools and database access if needed. Available MCP tools and database access are determined by the fetchTools function and the input to this tool.";
3657
- };
3658
- readonly workflow_function_definition_summary: {
3659
- readonly type: "string";
3660
- readonly description: "A concise summary of the workflow function definition for the user to understand what the workflow does without having to read the code. This will be shown to the user when asking for approval to run the workflow.";
3661
- };
3662
- readonly package_dependencies: {
3663
- readonly optional: true;
3664
- readonly description: "A list of npm packages to be added to the container package.json dependencies.";
3665
- readonly record: {
3666
- readonly values: "string";
3667
- };
3668
- };
3669
- readonly workflowId: {
3670
- readonly type: "integer";
3671
- readonly optional: true;
3672
- readonly description: "FOR INTERNAL USE ONLY. DO NOT ASK USER ABOUT THIS. Workflow ID to update instead of creating a new workflow. If not provided, a new workflow will be created.";
3673
- };
3674
- };
3675
- };
3676
- readonly outputSchema: {
3677
- readonly oneOfType: readonly [{
3678
- readonly isValid: {
3679
- readonly enum: readonly [true];
3680
- };
3681
- readonly workflowId: "number";
3682
- }, {
3683
- readonly isValid: {
3684
- readonly enum: readonly [false];
3685
- };
3686
- readonly logs: "string";
3687
- readonly error: {
3688
- readonly type: "unknown";
3689
- readonly optional: true;
3690
- };
3691
- }];
3692
- };
3693
- };
3694
- readonly get_tables_metadata: {
3695
- readonly icon: "Table";
3696
- readonly mode: undefined;
3697
- readonly description: "Get rendering metadata for database tables.";
3698
- readonly schema: {
3699
- readonly type: {
3700
- readonly tableNames: "string[]";
3701
- };
3702
- };
3703
- readonly outputSchema: {
3704
- readonly type: "unknown";
3705
- };
3706
- };
3707
- readonly set_tables_metadata: {
3708
- readonly icon: "Table";
3709
- readonly mode: undefined;
3710
- readonly description: "Set rendering metadata for database tables";
3711
- readonly schema: {
3712
- readonly type: {
3713
- readonly metadata: {
3714
- readonly record: {
3715
- readonly partial: true;
3716
- readonly values: {
3717
- readonly type: {
3718
- readonly icon: {
3719
- readonly type: "string";
3720
- readonly description: "MDI Icon name. For example: 'AccessPointNetwork', 'Github'";
3721
- readonly optional: true;
3722
- };
3723
- readonly label: {
3724
- readonly type: "string";
3725
- readonly optional: true;
3726
- };
3727
4705
  readonly sort: {
3728
4706
  readonly optional: true;
3729
4707
  readonly description: "Default sort order for new table views";