@hosty-sdk/app 0.48.0 → 0.50.0

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.
@@ -1709,6 +1709,489 @@
1709
1709
  ],
1710
1710
  "additionalProperties": true
1711
1711
  },
1712
+ "HistoryObservation": {
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "sessionId": {
1716
+ "type": "string",
1717
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1718
+ },
1719
+ "runId": {
1720
+ "type": "string",
1721
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1722
+ },
1723
+ "generation": {
1724
+ "type": "string",
1725
+ "format": "uuid"
1726
+ },
1727
+ "principalId": {
1728
+ "type": "string",
1729
+ "minLength": 1,
1730
+ "maxLength": 512
1731
+ },
1732
+ "userId": {
1733
+ "type": "string",
1734
+ "minLength": 1,
1735
+ "maxLength": 512
1736
+ },
1737
+ "item": {
1738
+ "oneOf": [
1739
+ {
1740
+ "type": "object",
1741
+ "properties": {
1742
+ "kind": {
1743
+ "const": "snapshot"
1744
+ },
1745
+ "snapshot": {
1746
+ "$ref": "#/$defs/RunSnapshot"
1747
+ }
1748
+ },
1749
+ "required": [
1750
+ "kind",
1751
+ "snapshot"
1752
+ ],
1753
+ "additionalProperties": false
1754
+ },
1755
+ {
1756
+ "type": "object",
1757
+ "properties": {
1758
+ "kind": {
1759
+ "const": "event"
1760
+ },
1761
+ "event": {
1762
+ "$ref": "#/$defs/Event"
1763
+ },
1764
+ "cursor": {
1765
+ "type": "string",
1766
+ "minLength": 1,
1767
+ "maxLength": 8192
1768
+ }
1769
+ },
1770
+ "required": [
1771
+ "kind",
1772
+ "event",
1773
+ "cursor"
1774
+ ],
1775
+ "additionalProperties": false
1776
+ }
1777
+ ]
1778
+ }
1779
+ },
1780
+ "required": [
1781
+ "sessionId",
1782
+ "runId",
1783
+ "generation",
1784
+ "principalId",
1785
+ "userId",
1786
+ "item"
1787
+ ],
1788
+ "additionalProperties": false
1789
+ },
1790
+ "LiveHistoryReady": {
1791
+ "type": "object",
1792
+ "properties": {
1793
+ "through": {
1794
+ "type": "string",
1795
+ "minLength": 1,
1796
+ "maxLength": 8192
1797
+ }
1798
+ },
1799
+ "required": [
1800
+ "through"
1801
+ ],
1802
+ "additionalProperties": false
1803
+ },
1804
+ "LiveHistoryObservation": {
1805
+ "type": "object",
1806
+ "properties": {
1807
+ "sessionId": {
1808
+ "type": "string",
1809
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1810
+ },
1811
+ "runId": {
1812
+ "type": "string",
1813
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1814
+ },
1815
+ "generation": {
1816
+ "type": "string",
1817
+ "format": "uuid"
1818
+ },
1819
+ "principalId": {
1820
+ "type": "string",
1821
+ "minLength": 1,
1822
+ "maxLength": 512
1823
+ },
1824
+ "userId": {
1825
+ "type": "string",
1826
+ "minLength": 1,
1827
+ "maxLength": 512
1828
+ },
1829
+ "item": {
1830
+ "oneOf": [
1831
+ {
1832
+ "type": "object",
1833
+ "properties": {
1834
+ "kind": {
1835
+ "const": "snapshot"
1836
+ },
1837
+ "snapshot": {
1838
+ "$ref": "#/$defs/RunSnapshot"
1839
+ }
1840
+ },
1841
+ "required": [
1842
+ "kind",
1843
+ "snapshot"
1844
+ ],
1845
+ "additionalProperties": false
1846
+ },
1847
+ {
1848
+ "type": "object",
1849
+ "properties": {
1850
+ "kind": {
1851
+ "const": "event"
1852
+ },
1853
+ "event": {
1854
+ "$ref": "#/$defs/Event"
1855
+ },
1856
+ "cursor": {
1857
+ "type": "string",
1858
+ "minLength": 1,
1859
+ "maxLength": 8192
1860
+ }
1861
+ },
1862
+ "required": [
1863
+ "kind",
1864
+ "event",
1865
+ "cursor"
1866
+ ],
1867
+ "additionalProperties": false
1868
+ }
1869
+ ]
1870
+ },
1871
+ "epoch": {
1872
+ "type": "string",
1873
+ "format": "uuid"
1874
+ },
1875
+ "sessionPosition": {
1876
+ "type": "integer",
1877
+ "minimum": 1,
1878
+ "maximum": 9007199254740991
1879
+ },
1880
+ "sourceHistoryIncomplete": {
1881
+ "const": true
1882
+ }
1883
+ },
1884
+ "required": [
1885
+ "sessionId",
1886
+ "runId",
1887
+ "generation",
1888
+ "principalId",
1889
+ "userId",
1890
+ "item",
1891
+ "epoch"
1892
+ ],
1893
+ "additionalProperties": false
1894
+ },
1895
+ "HistoryStates": {
1896
+ "type": "object",
1897
+ "properties": {
1898
+ "through": {
1899
+ "type": "string",
1900
+ "minLength": 1,
1901
+ "maxLength": 8192
1902
+ },
1903
+ "nextSession": {
1904
+ "type": [
1905
+ "string",
1906
+ "null"
1907
+ ],
1908
+ "maxLength": 256
1909
+ },
1910
+ "sessions": {
1911
+ "type": "array",
1912
+ "maxItems": 100,
1913
+ "items": {
1914
+ "type": "object",
1915
+ "properties": {
1916
+ "sessionId": {
1917
+ "type": "string",
1918
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1919
+ },
1920
+ "userId": {
1921
+ "type": "string",
1922
+ "minLength": 1,
1923
+ "maxLength": 512
1924
+ },
1925
+ "principalId": {
1926
+ "type": "string",
1927
+ "minLength": 1,
1928
+ "maxLength": 512
1929
+ },
1930
+ "epoch": {
1931
+ "type": "string",
1932
+ "format": "uuid"
1933
+ },
1934
+ "head": {
1935
+ "type": "integer",
1936
+ "minimum": 1,
1937
+ "maximum": 9007199254740991
1938
+ },
1939
+ "snapshot": {
1940
+ "$ref": "#/$defs/RunSnapshot"
1941
+ },
1942
+ "sourceHistoryIncomplete": {
1943
+ "const": true
1944
+ }
1945
+ },
1946
+ "required": [
1947
+ "sessionId",
1948
+ "userId",
1949
+ "principalId",
1950
+ "epoch",
1951
+ "head",
1952
+ "snapshot"
1953
+ ],
1954
+ "additionalProperties": false
1955
+ }
1956
+ }
1957
+ },
1958
+ "required": [
1959
+ "through",
1960
+ "nextSession",
1961
+ "sessions"
1962
+ ],
1963
+ "additionalProperties": false
1964
+ },
1965
+ "HistoryRange": {
1966
+ "type": "object",
1967
+ "properties": {
1968
+ "nextPosition": {
1969
+ "type": [
1970
+ "integer",
1971
+ "null"
1972
+ ],
1973
+ "minimum": 1,
1974
+ "maximum": 9007199254740991
1975
+ },
1976
+ "observations": {
1977
+ "type": "array",
1978
+ "maxItems": 100,
1979
+ "items": {
1980
+ "type": "object",
1981
+ "properties": {
1982
+ "sessionId": {
1983
+ "type": "string",
1984
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1985
+ },
1986
+ "runId": {
1987
+ "type": "string",
1988
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
1989
+ },
1990
+ "generation": {
1991
+ "type": "string",
1992
+ "format": "uuid"
1993
+ },
1994
+ "principalId": {
1995
+ "type": "string",
1996
+ "minLength": 1,
1997
+ "maxLength": 512
1998
+ },
1999
+ "userId": {
2000
+ "type": "string",
2001
+ "minLength": 1,
2002
+ "maxLength": 512
2003
+ },
2004
+ "item": {
2005
+ "oneOf": [
2006
+ {
2007
+ "type": "object",
2008
+ "properties": {
2009
+ "kind": {
2010
+ "const": "snapshot"
2011
+ },
2012
+ "snapshot": {
2013
+ "$ref": "#/$defs/RunSnapshot"
2014
+ }
2015
+ },
2016
+ "required": [
2017
+ "kind",
2018
+ "snapshot"
2019
+ ],
2020
+ "additionalProperties": false
2021
+ },
2022
+ {
2023
+ "type": "object",
2024
+ "properties": {
2025
+ "kind": {
2026
+ "const": "event"
2027
+ },
2028
+ "event": {
2029
+ "$ref": "#/$defs/Event"
2030
+ },
2031
+ "cursor": {
2032
+ "type": "string",
2033
+ "minLength": 1,
2034
+ "maxLength": 8192
2035
+ }
2036
+ },
2037
+ "required": [
2038
+ "kind",
2039
+ "event",
2040
+ "cursor"
2041
+ ],
2042
+ "additionalProperties": false
2043
+ }
2044
+ ]
2045
+ },
2046
+ "cursor": {
2047
+ "type": "string",
2048
+ "minLength": 1,
2049
+ "maxLength": 8192
2050
+ },
2051
+ "epoch": {
2052
+ "type": "string",
2053
+ "format": "uuid"
2054
+ },
2055
+ "sessionPosition": {
2056
+ "type": "integer",
2057
+ "minimum": 1,
2058
+ "maximum": 9007199254740991
2059
+ },
2060
+ "sourceHistoryIncomplete": {
2061
+ "const": true
2062
+ }
2063
+ },
2064
+ "required": [
2065
+ "sessionId",
2066
+ "runId",
2067
+ "generation",
2068
+ "principalId",
2069
+ "userId",
2070
+ "item",
2071
+ "cursor",
2072
+ "epoch",
2073
+ "sessionPosition"
2074
+ ],
2075
+ "additionalProperties": false
2076
+ }
2077
+ }
2078
+ },
2079
+ "required": [
2080
+ "nextPosition",
2081
+ "observations"
2082
+ ],
2083
+ "additionalProperties": false
2084
+ },
2085
+ "HistoryPage": {
2086
+ "type": "object",
2087
+ "properties": {
2088
+ "observations": {
2089
+ "type": "array",
2090
+ "maxItems": 100,
2091
+ "items": {
2092
+ "type": "object",
2093
+ "properties": {
2094
+ "sessionId": {
2095
+ "type": "string",
2096
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
2097
+ },
2098
+ "runId": {
2099
+ "type": "string",
2100
+ "pattern": "^[A-Za-z0-9_-]{1,256}$"
2101
+ },
2102
+ "generation": {
2103
+ "type": "string",
2104
+ "format": "uuid"
2105
+ },
2106
+ "principalId": {
2107
+ "type": "string",
2108
+ "minLength": 1,
2109
+ "maxLength": 512
2110
+ },
2111
+ "userId": {
2112
+ "type": "string",
2113
+ "minLength": 1,
2114
+ "maxLength": 512
2115
+ },
2116
+ "item": {
2117
+ "oneOf": [
2118
+ {
2119
+ "type": "object",
2120
+ "properties": {
2121
+ "kind": {
2122
+ "const": "snapshot"
2123
+ },
2124
+ "snapshot": {
2125
+ "$ref": "#/$defs/RunSnapshot"
2126
+ }
2127
+ },
2128
+ "required": [
2129
+ "kind",
2130
+ "snapshot"
2131
+ ],
2132
+ "additionalProperties": false
2133
+ },
2134
+ {
2135
+ "type": "object",
2136
+ "properties": {
2137
+ "kind": {
2138
+ "const": "event"
2139
+ },
2140
+ "event": {
2141
+ "$ref": "#/$defs/Event"
2142
+ },
2143
+ "cursor": {
2144
+ "type": "string",
2145
+ "minLength": 1,
2146
+ "maxLength": 8192
2147
+ }
2148
+ },
2149
+ "required": [
2150
+ "kind",
2151
+ "event",
2152
+ "cursor"
2153
+ ],
2154
+ "additionalProperties": false
2155
+ }
2156
+ ]
2157
+ },
2158
+ "cursor": {
2159
+ "type": "string",
2160
+ "minLength": 1,
2161
+ "maxLength": 8192
2162
+ }
2163
+ },
2164
+ "required": [
2165
+ "sessionId",
2166
+ "runId",
2167
+ "generation",
2168
+ "principalId",
2169
+ "userId",
2170
+ "item",
2171
+ "cursor"
2172
+ ],
2173
+ "additionalProperties": false
2174
+ }
2175
+ },
2176
+ "through": {
2177
+ "type": "string",
2178
+ "minLength": 1,
2179
+ "maxLength": 8192
2180
+ },
2181
+ "nextCursor": {
2182
+ "type": [
2183
+ "string",
2184
+ "null"
2185
+ ]
2186
+ }
2187
+ },
2188
+ "required": [
2189
+ "observations",
2190
+ "through",
2191
+ "nextCursor"
2192
+ ],
2193
+ "additionalProperties": false
2194
+ },
1712
2195
  "Session": {
1713
2196
  "type": "object",
1714
2197
  "properties": {