@opensteer/protocol 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -880,6 +880,145 @@ var opensteerCaptchaSolveOutputSchema = objectSchema(
880
880
  }
881
881
  );
882
882
 
883
+ // src/storage.ts
884
+ var jsonUnknownSchema = {};
885
+ var cookieSameSiteSchema = enumSchema(["strict", "lax", "none"], {
886
+ title: "CookieSameSite"
887
+ });
888
+ var cookiePrioritySchema = enumSchema(["low", "medium", "high"], {
889
+ title: "CookiePriority"
890
+ });
891
+ var cookieRecordSchema = objectSchema(
892
+ {
893
+ sessionRef: sessionRefSchema,
894
+ name: stringSchema(),
895
+ value: stringSchema(),
896
+ domain: stringSchema(),
897
+ path: stringSchema(),
898
+ secure: {
899
+ type: "boolean"
900
+ },
901
+ httpOnly: {
902
+ type: "boolean"
903
+ },
904
+ sameSite: cookieSameSiteSchema,
905
+ priority: cookiePrioritySchema,
906
+ partitionKey: stringSchema(),
907
+ session: {
908
+ type: "boolean"
909
+ },
910
+ expiresAt: {
911
+ type: ["number", "null"]
912
+ }
913
+ },
914
+ {
915
+ title: "CookieRecord",
916
+ required: ["sessionRef", "name", "value", "domain", "path", "secure", "httpOnly", "session"]
917
+ }
918
+ );
919
+ var storageEntrySchema = objectSchema(
920
+ {
921
+ key: stringSchema(),
922
+ value: stringSchema()
923
+ },
924
+ {
925
+ title: "StorageEntry",
926
+ required: ["key", "value"]
927
+ }
928
+ );
929
+ var indexedDbRecordSchema = objectSchema(
930
+ {
931
+ key: jsonUnknownSchema,
932
+ primaryKey: jsonUnknownSchema,
933
+ value: jsonUnknownSchema
934
+ },
935
+ {
936
+ title: "IndexedDbRecord",
937
+ required: ["key", "value"]
938
+ }
939
+ );
940
+ var indexedDbIndexSnapshotSchema = objectSchema(
941
+ {
942
+ name: stringSchema(),
943
+ keyPath: {
944
+ oneOf: [stringSchema(), arraySchema(stringSchema())]
945
+ },
946
+ multiEntry: {
947
+ type: "boolean"
948
+ },
949
+ unique: {
950
+ type: "boolean"
951
+ }
952
+ },
953
+ {
954
+ title: "IndexedDbIndexSnapshot",
955
+ required: ["name", "multiEntry", "unique"]
956
+ }
957
+ );
958
+ var indexedDbObjectStoreSnapshotSchema = objectSchema(
959
+ {
960
+ name: stringSchema(),
961
+ keyPath: {
962
+ oneOf: [stringSchema(), arraySchema(stringSchema())]
963
+ },
964
+ autoIncrement: {
965
+ type: "boolean"
966
+ },
967
+ indexes: arraySchema(indexedDbIndexSnapshotSchema),
968
+ records: arraySchema(indexedDbRecordSchema)
969
+ },
970
+ {
971
+ title: "IndexedDbObjectStoreSnapshot",
972
+ required: ["name", "autoIncrement", "indexes", "records"]
973
+ }
974
+ );
975
+ var indexedDbDatabaseSnapshotSchema = objectSchema(
976
+ {
977
+ name: stringSchema(),
978
+ version: numberSchema(),
979
+ objectStores: arraySchema(indexedDbObjectStoreSnapshotSchema)
980
+ },
981
+ {
982
+ title: "IndexedDbDatabaseSnapshot",
983
+ required: ["name", "version", "objectStores"]
984
+ }
985
+ );
986
+ var storageOriginSnapshotSchema = objectSchema(
987
+ {
988
+ origin: stringSchema(),
989
+ localStorage: arraySchema(storageEntrySchema),
990
+ indexedDb: arraySchema(indexedDbDatabaseSnapshotSchema)
991
+ },
992
+ {
993
+ title: "StorageOriginSnapshot",
994
+ required: ["origin", "localStorage"]
995
+ }
996
+ );
997
+ var sessionStorageSnapshotSchema = objectSchema(
998
+ {
999
+ pageRef: pageRefSchema,
1000
+ frameRef: frameRefSchema,
1001
+ origin: stringSchema(),
1002
+ entries: arraySchema(storageEntrySchema)
1003
+ },
1004
+ {
1005
+ title: "SessionStorageSnapshot",
1006
+ required: ["pageRef", "frameRef", "origin", "entries"]
1007
+ }
1008
+ );
1009
+ var storageSnapshotSchema = objectSchema(
1010
+ {
1011
+ sessionRef: sessionRefSchema,
1012
+ capturedAt: integerSchema({ minimum: 0 }),
1013
+ origins: arraySchema(storageOriginSnapshotSchema),
1014
+ sessionStorage: arraySchema(sessionStorageSnapshotSchema)
1015
+ },
1016
+ {
1017
+ title: "StorageSnapshot",
1018
+ required: ["sessionRef", "capturedAt", "origins"]
1019
+ }
1020
+ );
1021
+
883
1022
  // src/requests.ts
884
1023
  var opensteerRequestScalarSchema = oneOfSchema(
885
1024
  [stringSchema(), { type: "number" }, { type: "boolean" }],
@@ -1531,24 +1670,284 @@ var opensteerNetworkQueryInputSchema = objectSchema(
1531
1670
  hostname: stringSchema({ minLength: 1 }),
1532
1671
  path: stringSchema({ minLength: 1 }),
1533
1672
  method: stringSchema({ minLength: 1 }),
1534
- status: stringSchema({ minLength: 1 }),
1673
+ status: oneOfSchema([
1674
+ integerSchema({ minimum: 100, maximum: 599 }),
1675
+ stringSchema({ minLength: 1 })
1676
+ ]),
1535
1677
  resourceType: networkResourceTypeSchema,
1536
1678
  includeBodies: { type: "boolean" },
1537
- limit: integerSchema({ minimum: 1, maximum: 200 })
1679
+ json: { type: "boolean" },
1680
+ before: stringSchema({ minLength: 1 }),
1681
+ after: stringSchema({ minLength: 1 }),
1682
+ limit: integerSchema({ minimum: 1, maximum: 1e3 })
1538
1683
  },
1539
1684
  {
1540
1685
  title: "OpensteerNetworkQueryInput"
1541
1686
  }
1542
1687
  );
1688
+ var opensteerGraphqlSummarySchema = objectSchema(
1689
+ {
1690
+ operationType: enumSchema(["query", "mutation", "subscription", "unknown"]),
1691
+ operationName: stringSchema({ minLength: 1 }),
1692
+ persisted: { type: "boolean" }
1693
+ },
1694
+ {
1695
+ title: "OpensteerGraphqlSummary"
1696
+ }
1697
+ );
1698
+ var opensteerNetworkBodySummarySchema = objectSchema(
1699
+ {
1700
+ bytes: integerSchema({ minimum: 0 }),
1701
+ contentType: stringSchema({ minLength: 1 }),
1702
+ streaming: { type: "boolean" }
1703
+ },
1704
+ {
1705
+ title: "OpensteerNetworkBodySummary"
1706
+ }
1707
+ );
1708
+ var opensteerNetworkSummaryRecordSchema = objectSchema(
1709
+ {
1710
+ recordId: stringSchema({ minLength: 1 }),
1711
+ capture: stringSchema({ minLength: 1 }),
1712
+ savedAt: integerSchema({ minimum: 0 }),
1713
+ kind: enumSchema(["http", "websocket", "event-stream"]),
1714
+ method: stringSchema({ minLength: 1 }),
1715
+ status: integerSchema({ minimum: 100, maximum: 599 }),
1716
+ resourceType: networkResourceTypeSchema,
1717
+ url: stringSchema({ minLength: 1 }),
1718
+ request: opensteerNetworkBodySummarySchema,
1719
+ response: opensteerNetworkBodySummarySchema,
1720
+ graphql: opensteerGraphqlSummarySchema,
1721
+ websocket: objectSchema(
1722
+ {
1723
+ subprotocol: stringSchema({ minLength: 1 })
1724
+ },
1725
+ {
1726
+ title: "OpensteerWebsocketSummary"
1727
+ }
1728
+ )
1729
+ },
1730
+ {
1731
+ title: "OpensteerNetworkSummaryRecord",
1732
+ required: ["recordId", "kind", "method", "resourceType", "url"]
1733
+ }
1734
+ );
1543
1735
  var opensteerNetworkQueryOutputSchema = objectSchema(
1544
1736
  {
1545
- records: arraySchema(networkQueryRecordSchema)
1737
+ records: arraySchema(opensteerNetworkSummaryRecordSchema)
1546
1738
  },
1547
1739
  {
1548
1740
  title: "OpensteerNetworkQueryOutput",
1549
1741
  required: ["records"]
1550
1742
  }
1551
1743
  );
1744
+ var opensteerParsedCookieSchema = objectSchema(
1745
+ {
1746
+ name: stringSchema({ minLength: 1 }),
1747
+ value: stringSchema()
1748
+ },
1749
+ {
1750
+ title: "OpensteerParsedCookie",
1751
+ required: ["name", "value"]
1752
+ }
1753
+ );
1754
+ var opensteerStructuredBodyPreviewSchema = objectSchema(
1755
+ {
1756
+ contentType: stringSchema({ minLength: 1 }),
1757
+ bytes: integerSchema({ minimum: 0 }),
1758
+ truncated: { type: "boolean" },
1759
+ data: oneOfSchema([jsonValueSchema, stringSchema()]),
1760
+ note: stringSchema()
1761
+ },
1762
+ {
1763
+ title: "OpensteerStructuredBodyPreview",
1764
+ required: ["bytes", "truncated"]
1765
+ }
1766
+ );
1767
+ var opensteerNetworkRedirectHopSchema = objectSchema(
1768
+ {
1769
+ method: stringSchema({ minLength: 1 }),
1770
+ status: integerSchema({ minimum: 100, maximum: 599 }),
1771
+ url: stringSchema({ minLength: 1 }),
1772
+ location: stringSchema({ minLength: 1 }),
1773
+ setCookie: arraySchema(stringSchema())
1774
+ },
1775
+ {
1776
+ title: "OpensteerNetworkRedirectHop",
1777
+ required: ["method", "url"]
1778
+ }
1779
+ );
1780
+ var opensteerNetworkDetailOutputSchema = objectSchema(
1781
+ {
1782
+ recordId: stringSchema({ minLength: 1 }),
1783
+ capture: stringSchema({ minLength: 1 }),
1784
+ savedAt: integerSchema({ minimum: 0 }),
1785
+ summary: opensteerNetworkSummaryRecordSchema,
1786
+ requestHeaders: arraySchema(headerEntrySchema),
1787
+ responseHeaders: arraySchema(headerEntrySchema),
1788
+ cookiesSent: arraySchema(opensteerParsedCookieSchema),
1789
+ requestBody: opensteerStructuredBodyPreviewSchema,
1790
+ responseBody: opensteerStructuredBodyPreviewSchema,
1791
+ graphql: objectSchema(
1792
+ {
1793
+ operationType: enumSchema(["query", "mutation", "subscription", "unknown"]),
1794
+ operationName: stringSchema({ minLength: 1 }),
1795
+ persisted: { type: "boolean" },
1796
+ variables: jsonValueSchema
1797
+ },
1798
+ {
1799
+ title: "OpensteerGraphqlDetail"
1800
+ }
1801
+ ),
1802
+ redirectChain: arraySchema(opensteerNetworkRedirectHopSchema),
1803
+ notes: arraySchema(stringSchema())
1804
+ },
1805
+ {
1806
+ title: "OpensteerNetworkDetailOutput",
1807
+ required: ["recordId", "summary", "requestHeaders", "responseHeaders"]
1808
+ }
1809
+ );
1810
+ var opensteerReplayAttemptSchema = objectSchema(
1811
+ {
1812
+ transport: transportKindSchema,
1813
+ status: integerSchema({ minimum: 100, maximum: 599 }),
1814
+ ok: { type: "boolean" },
1815
+ durationMs: integerSchema({ minimum: 0 }),
1816
+ note: stringSchema(),
1817
+ error: stringSchema()
1818
+ },
1819
+ {
1820
+ title: "OpensteerReplayAttempt",
1821
+ required: ["transport", "ok", "durationMs"]
1822
+ }
1823
+ );
1824
+ var opensteerNetworkReplayInputSchema = objectSchema(
1825
+ {
1826
+ recordId: stringSchema({ minLength: 1 }),
1827
+ pageRef: pageRefSchema,
1828
+ query: opensteerRequestScalarMapSchema,
1829
+ headers: opensteerRequestScalarMapSchema,
1830
+ body: opensteerRequestBodyInputSchema,
1831
+ variables: jsonValueSchema
1832
+ },
1833
+ {
1834
+ title: "OpensteerNetworkReplayInput",
1835
+ required: ["recordId"]
1836
+ }
1837
+ );
1838
+ var opensteerNetworkReplayOutputSchema;
1839
+ var opensteerSessionFetchTransportSchema = enumSchema(
1840
+ ["auto", "direct", "matched-tls", "page"],
1841
+ {
1842
+ title: "OpensteerSessionFetchTransport"
1843
+ }
1844
+ );
1845
+ var opensteerSessionFetchInputSchema = objectSchema(
1846
+ {
1847
+ pageRef: pageRefSchema,
1848
+ url: stringSchema({ minLength: 1 }),
1849
+ method: stringSchema({ minLength: 1 }),
1850
+ query: opensteerRequestScalarMapSchema,
1851
+ headers: opensteerRequestScalarMapSchema,
1852
+ body: opensteerRequestBodyInputSchema,
1853
+ transport: opensteerSessionFetchTransportSchema,
1854
+ cookies: { type: "boolean" },
1855
+ followRedirects: { type: "boolean" }
1856
+ },
1857
+ {
1858
+ title: "OpensteerSessionFetchInput",
1859
+ required: ["url"]
1860
+ }
1861
+ );
1862
+ var opensteerSessionFetchOutputSchema;
1863
+ var opensteerCookieQueryInputSchema = objectSchema(
1864
+ {
1865
+ domain: stringSchema({ minLength: 1 })
1866
+ },
1867
+ {
1868
+ title: "OpensteerCookieQueryInput"
1869
+ }
1870
+ );
1871
+ var opensteerCookieQueryOutputSchema = objectSchema(
1872
+ {
1873
+ domain: stringSchema({ minLength: 1 }),
1874
+ cookies: arraySchema(cookieRecordSchema)
1875
+ },
1876
+ {
1877
+ title: "OpensteerCookieQueryOutput",
1878
+ required: ["cookies"]
1879
+ }
1880
+ );
1881
+ var opensteerStorageDomainSnapshotSchema = objectSchema(
1882
+ {
1883
+ domain: stringSchema({ minLength: 1 }),
1884
+ localStorage: arraySchema(storageEntrySchema),
1885
+ sessionStorage: arraySchema(storageEntrySchema)
1886
+ },
1887
+ {
1888
+ title: "OpensteerStorageDomainSnapshot",
1889
+ required: ["domain", "localStorage", "sessionStorage"]
1890
+ }
1891
+ );
1892
+ var opensteerStorageQueryInputSchema = objectSchema(
1893
+ {
1894
+ domain: stringSchema({ minLength: 1 })
1895
+ },
1896
+ {
1897
+ title: "OpensteerStorageQueryInput"
1898
+ }
1899
+ );
1900
+ var opensteerStorageQueryOutputSchema = objectSchema(
1901
+ {
1902
+ domains: arraySchema(opensteerStorageDomainSnapshotSchema)
1903
+ },
1904
+ {
1905
+ title: "OpensteerStorageQueryOutput",
1906
+ required: ["domains"]
1907
+ }
1908
+ );
1909
+ var opensteerHiddenFieldSchema = objectSchema(
1910
+ {
1911
+ path: stringSchema({ minLength: 1 }),
1912
+ name: stringSchema({ minLength: 1 }),
1913
+ value: stringSchema()
1914
+ },
1915
+ {
1916
+ title: "OpensteerHiddenField",
1917
+ required: ["path", "name", "value"]
1918
+ }
1919
+ );
1920
+ var opensteerStateDomainSnapshotSchema = objectSchema(
1921
+ {
1922
+ domain: stringSchema({ minLength: 1 }),
1923
+ cookies: arraySchema(cookieRecordSchema),
1924
+ hiddenFields: arraySchema(opensteerHiddenFieldSchema),
1925
+ localStorage: arraySchema(storageEntrySchema),
1926
+ sessionStorage: arraySchema(storageEntrySchema),
1927
+ globals: recordSchema(jsonValueSchema)
1928
+ },
1929
+ {
1930
+ title: "OpensteerStateDomainSnapshot",
1931
+ required: ["domain", "cookies", "hiddenFields", "localStorage", "sessionStorage"]
1932
+ }
1933
+ );
1934
+ var opensteerStateQueryInputSchema = objectSchema(
1935
+ {
1936
+ domain: stringSchema({ minLength: 1 })
1937
+ },
1938
+ {
1939
+ title: "OpensteerStateQueryInput"
1940
+ }
1941
+ );
1942
+ var opensteerStateQueryOutputSchema = objectSchema(
1943
+ {
1944
+ domains: arraySchema(opensteerStateDomainSnapshotSchema)
1945
+ },
1946
+ {
1947
+ title: "OpensteerStateQueryOutput",
1948
+ required: ["domains"]
1949
+ }
1950
+ );
1552
1951
  var opensteerNetworkTagInputSchema = objectSchema(
1553
1952
  {
1554
1953
  pageRef: pageRefSchema,
@@ -1784,6 +2183,33 @@ var opensteerRequestResponseResultSchema = objectSchema(
1784
2183
  required: ["url", "status", "statusText", "headers", "redirected"]
1785
2184
  }
1786
2185
  );
2186
+ opensteerNetworkReplayOutputSchema = objectSchema(
2187
+ {
2188
+ recordId: stringSchema({ minLength: 1 }),
2189
+ transport: transportKindSchema,
2190
+ attempts: arraySchema(opensteerReplayAttemptSchema),
2191
+ response: opensteerRequestResponseResultSchema,
2192
+ data: oneOfSchema([jsonValueSchema, stringSchema()]),
2193
+ note: stringSchema()
2194
+ },
2195
+ {
2196
+ title: "OpensteerNetworkReplayOutput",
2197
+ required: ["recordId", "attempts"]
2198
+ }
2199
+ );
2200
+ opensteerSessionFetchOutputSchema = objectSchema(
2201
+ {
2202
+ transport: transportKindSchema,
2203
+ attempts: arraySchema(opensteerReplayAttemptSchema),
2204
+ response: opensteerRequestResponseResultSchema,
2205
+ data: oneOfSchema([jsonValueSchema, stringSchema()]),
2206
+ note: stringSchema()
2207
+ },
2208
+ {
2209
+ title: "OpensteerSessionFetchOutput",
2210
+ required: ["attempts"]
2211
+ }
2212
+ );
1787
2213
  var opensteerRequestExecuteOutputSchema = objectSchema(
1788
2214
  {
1789
2215
  plan: objectSchema(
@@ -1836,158 +2262,19 @@ var opensteerRawRequestOutputSchema = objectSchema(
1836
2262
  },
1837
2263
  {
1838
2264
  title: "OpensteerRawRequestOutput",
1839
- required: ["recordId", "request", "response"]
1840
- }
1841
- );
1842
- var opensteerInferRequestPlanInputSchema = objectSchema(
1843
- {
1844
- recordId: stringSchema({ minLength: 1 }),
1845
- key: stringSchema({ minLength: 1 }),
1846
- version: stringSchema({ minLength: 1 }),
1847
- transport: transportKindSchema
1848
- },
1849
- {
1850
- title: "OpensteerInferRequestPlanInput",
1851
- required: ["recordId", "key", "version"]
1852
- }
1853
- );
1854
-
1855
- // src/storage.ts
1856
- var jsonUnknownSchema = {};
1857
- var cookieSameSiteSchema = enumSchema(["strict", "lax", "none"], {
1858
- title: "CookieSameSite"
1859
- });
1860
- var cookiePrioritySchema = enumSchema(["low", "medium", "high"], {
1861
- title: "CookiePriority"
1862
- });
1863
- var cookieRecordSchema = objectSchema(
1864
- {
1865
- sessionRef: sessionRefSchema,
1866
- name: stringSchema(),
1867
- value: stringSchema(),
1868
- domain: stringSchema(),
1869
- path: stringSchema(),
1870
- secure: {
1871
- type: "boolean"
1872
- },
1873
- httpOnly: {
1874
- type: "boolean"
1875
- },
1876
- sameSite: cookieSameSiteSchema,
1877
- priority: cookiePrioritySchema,
1878
- partitionKey: stringSchema(),
1879
- session: {
1880
- type: "boolean"
1881
- },
1882
- expiresAt: {
1883
- type: ["number", "null"]
1884
- }
1885
- },
1886
- {
1887
- title: "CookieRecord",
1888
- required: ["sessionRef", "name", "value", "domain", "path", "secure", "httpOnly", "session"]
1889
- }
1890
- );
1891
- var storageEntrySchema = objectSchema(
1892
- {
1893
- key: stringSchema(),
1894
- value: stringSchema()
1895
- },
1896
- {
1897
- title: "StorageEntry",
1898
- required: ["key", "value"]
1899
- }
1900
- );
1901
- var indexedDbRecordSchema = objectSchema(
1902
- {
1903
- key: jsonUnknownSchema,
1904
- primaryKey: jsonUnknownSchema,
1905
- value: jsonUnknownSchema
1906
- },
1907
- {
1908
- title: "IndexedDbRecord",
1909
- required: ["key", "value"]
1910
- }
1911
- );
1912
- var indexedDbIndexSnapshotSchema = objectSchema(
1913
- {
1914
- name: stringSchema(),
1915
- keyPath: {
1916
- oneOf: [stringSchema(), arraySchema(stringSchema())]
1917
- },
1918
- multiEntry: {
1919
- type: "boolean"
1920
- },
1921
- unique: {
1922
- type: "boolean"
1923
- }
1924
- },
1925
- {
1926
- title: "IndexedDbIndexSnapshot",
1927
- required: ["name", "multiEntry", "unique"]
1928
- }
1929
- );
1930
- var indexedDbObjectStoreSnapshotSchema = objectSchema(
1931
- {
1932
- name: stringSchema(),
1933
- keyPath: {
1934
- oneOf: [stringSchema(), arraySchema(stringSchema())]
1935
- },
1936
- autoIncrement: {
1937
- type: "boolean"
1938
- },
1939
- indexes: arraySchema(indexedDbIndexSnapshotSchema),
1940
- records: arraySchema(indexedDbRecordSchema)
1941
- },
1942
- {
1943
- title: "IndexedDbObjectStoreSnapshot",
1944
- required: ["name", "autoIncrement", "indexes", "records"]
1945
- }
1946
- );
1947
- var indexedDbDatabaseSnapshotSchema = objectSchema(
1948
- {
1949
- name: stringSchema(),
1950
- version: numberSchema(),
1951
- objectStores: arraySchema(indexedDbObjectStoreSnapshotSchema)
1952
- },
1953
- {
1954
- title: "IndexedDbDatabaseSnapshot",
1955
- required: ["name", "version", "objectStores"]
1956
- }
1957
- );
1958
- var storageOriginSnapshotSchema = objectSchema(
1959
- {
1960
- origin: stringSchema(),
1961
- localStorage: arraySchema(storageEntrySchema),
1962
- indexedDb: arraySchema(indexedDbDatabaseSnapshotSchema)
1963
- },
1964
- {
1965
- title: "StorageOriginSnapshot",
1966
- required: ["origin", "localStorage"]
1967
- }
1968
- );
1969
- var sessionStorageSnapshotSchema = objectSchema(
1970
- {
1971
- pageRef: pageRefSchema,
1972
- frameRef: frameRefSchema,
1973
- origin: stringSchema(),
1974
- entries: arraySchema(storageEntrySchema)
1975
- },
1976
- {
1977
- title: "SessionStorageSnapshot",
1978
- required: ["pageRef", "frameRef", "origin", "entries"]
2265
+ required: ["recordId", "request", "response"]
1979
2266
  }
1980
2267
  );
1981
- var storageSnapshotSchema = objectSchema(
2268
+ var opensteerInferRequestPlanInputSchema = objectSchema(
1982
2269
  {
1983
- sessionRef: sessionRefSchema,
1984
- capturedAt: integerSchema({ minimum: 0 }),
1985
- origins: arraySchema(storageOriginSnapshotSchema),
1986
- sessionStorage: arraySchema(sessionStorageSnapshotSchema)
2270
+ recordId: stringSchema({ minLength: 1 }),
2271
+ key: stringSchema({ minLength: 1 }),
2272
+ version: stringSchema({ minLength: 1 }),
2273
+ transport: transportKindSchema
1987
2274
  },
1988
2275
  {
1989
- title: "StorageSnapshot",
1990
- required: ["sessionRef", "capturedAt", "origins"]
2276
+ title: "OpensteerInferRequestPlanInput",
2277
+ required: ["recordId", "key", "version"]
1991
2278
  }
1992
2279
  );
1993
2280
  var screenshotFormatSchema = enumSchema(["png", "jpeg", "webp"], {
@@ -4243,181 +4530,6 @@ var opensteerRestEndpoints = opensteerOperationSpecifications.map((spec) => ({
4243
4530
  responseSchema: responseEnvelopeSchema(spec.outputSchema, spec.name)
4244
4531
  }));
4245
4532
 
4246
- // src/diff.ts
4247
- var networkDiffFieldKindSchema = enumSchema(
4248
- ["added", "removed", "changed", "unchanged"],
4249
- {
4250
- title: "NetworkDiffFieldKind"
4251
- }
4252
- );
4253
- var networkDiffEntropySchema = objectSchema(
4254
- {
4255
- left: numberSchema({ minimum: 0 }),
4256
- right: numberSchema({ minimum: 0 }),
4257
- likelyEncrypted: { type: "boolean" }
4258
- },
4259
- {
4260
- title: "NetworkDiffEntropy",
4261
- required: ["likelyEncrypted"]
4262
- }
4263
- );
4264
- var networkDiffFieldSchema = objectSchema(
4265
- {
4266
- path: stringSchema({ minLength: 1 }),
4267
- kind: networkDiffFieldKindSchema,
4268
- leftValue: stringSchema(),
4269
- rightValue: stringSchema(),
4270
- entropy: networkDiffEntropySchema
4271
- },
4272
- {
4273
- title: "NetworkDiffField",
4274
- required: ["path", "kind"]
4275
- }
4276
- );
4277
- var opensteerNetworkDiffInputSchema = objectSchema(
4278
- {
4279
- leftRecordId: stringSchema({ minLength: 1 }),
4280
- rightRecordId: stringSchema({ minLength: 1 }),
4281
- includeUnchanged: { type: "boolean" },
4282
- scope: enumSchema(["headers", "body", "all"])
4283
- },
4284
- {
4285
- title: "OpensteerNetworkDiffInput",
4286
- required: ["leftRecordId", "rightRecordId"]
4287
- }
4288
- );
4289
- var opensteerNetworkDiffOutputSchema = objectSchema(
4290
- {
4291
- summary: objectSchema(
4292
- {
4293
- added: numberSchema({ minimum: 0 }),
4294
- removed: numberSchema({ minimum: 0 }),
4295
- changed: numberSchema({ minimum: 0 }),
4296
- unchanged: numberSchema({ minimum: 0 }),
4297
- likelyEncryptedFields: numberSchema({ minimum: 0 })
4298
- },
4299
- {
4300
- title: "OpensteerNetworkDiffSummary",
4301
- required: ["added", "removed", "changed", "unchanged", "likelyEncryptedFields"]
4302
- }
4303
- ),
4304
- requestDiffs: arraySchema(networkDiffFieldSchema),
4305
- responseDiffs: arraySchema(networkDiffFieldSchema)
4306
- },
4307
- {
4308
- title: "OpensteerNetworkDiffOutput",
4309
- required: ["summary", "requestDiffs", "responseDiffs"]
4310
- }
4311
- );
4312
-
4313
- // src/minimize.ts
4314
- var minimizationFieldClassificationSchema = enumSchema(
4315
- ["required", "optional", "untested"],
4316
- {
4317
- title: "MinimizationFieldClassification"
4318
- }
4319
- );
4320
- var minimizationFieldResultSchema = objectSchema(
4321
- {
4322
- name: stringSchema({ minLength: 1 }),
4323
- location: enumSchema(["header", "cookie", "query", "body-field"]),
4324
- classification: minimizationFieldClassificationSchema,
4325
- originalValue: stringSchema()
4326
- },
4327
- {
4328
- title: "MinimizationFieldResult",
4329
- required: ["name", "location", "classification"]
4330
- }
4331
- );
4332
- var opensteerNetworkMinimizeSuccessPolicySchema = objectSchema(
4333
- {
4334
- statusCodes: arraySchema(integerSchema({ minimum: 100, maximum: 599 }), {
4335
- minItems: 1,
4336
- uniqueItems: true
4337
- }),
4338
- responseBodyIncludes: arraySchema(stringSchema({ minLength: 1 }), {
4339
- minItems: 1,
4340
- uniqueItems: true
4341
- }),
4342
- responseStructureMatch: { type: "boolean" }
4343
- },
4344
- {
4345
- title: "OpensteerNetworkMinimizeSuccessPolicy"
4346
- }
4347
- );
4348
- var opensteerNetworkMinimizeInputSchema = objectSchema(
4349
- {
4350
- recordId: stringSchema({ minLength: 1 }),
4351
- transport: transportKindSchema,
4352
- successPolicy: opensteerNetworkMinimizeSuccessPolicySchema,
4353
- maxTrials: integerSchema({ minimum: 1 }),
4354
- preserve: arraySchema(stringSchema({ minLength: 1 }), {
4355
- minItems: 1,
4356
- uniqueItems: true
4357
- })
4358
- },
4359
- {
4360
- title: "OpensteerNetworkMinimizeInput",
4361
- required: ["recordId"]
4362
- }
4363
- );
4364
- var opensteerNetworkMinimizeOutputSchema = objectSchema(
4365
- {
4366
- recordId: stringSchema({ minLength: 1 }),
4367
- totalTrials: integerSchema({ minimum: 0 }),
4368
- fields: arraySchema(minimizationFieldResultSchema),
4369
- minimizedPlan: opensteerWriteRequestPlanInputSchema
4370
- },
4371
- {
4372
- title: "OpensteerNetworkMinimizeOutput",
4373
- required: ["recordId", "totalTrials", "fields"]
4374
- }
4375
- );
4376
-
4377
- // src/probe.ts
4378
- var transportProbeLevelSchema = enumSchema(
4379
- ["direct-http", "matched-tls", "context-http", "page-http", "session-http"],
4380
- {
4381
- title: "TransportProbeLevel"
4382
- }
4383
- );
4384
- var opensteerTransportProbeInputSchema = objectSchema(
4385
- {
4386
- recordId: stringSchema({ minLength: 1 })
4387
- },
4388
- {
4389
- title: "OpensteerTransportProbeInput",
4390
- required: ["recordId"]
4391
- }
4392
- );
4393
- var transportProbeResultSchema = objectSchema(
4394
- {
4395
- transport: transportProbeLevelSchema,
4396
- status: {
4397
- type: ["integer", "null"],
4398
- minimum: 100,
4399
- maximum: 599
4400
- },
4401
- success: { type: "boolean" },
4402
- durationMs: integerSchema({ minimum: 0 }),
4403
- error: stringSchema({ minLength: 1 })
4404
- },
4405
- {
4406
- title: "TransportProbeResult",
4407
- required: ["transport", "status", "success", "durationMs"]
4408
- }
4409
- );
4410
- var opensteerTransportProbeOutputSchema = objectSchema(
4411
- {
4412
- results: arraySchema(transportProbeResultSchema),
4413
- recommendation: transportProbeLevelSchema
4414
- },
4415
- {
4416
- title: "OpensteerTransportProbeOutput",
4417
- required: ["results", "recommendation"]
4418
- }
4419
- );
4420
-
4421
4533
  // src/scripts.ts
4422
4534
  var scriptTransformInputSchema = objectSchema(
4423
4535
  {
@@ -6164,14 +6276,14 @@ var targetByElementSchema = objectSchema(
6164
6276
  required: ["kind", "element"]
6165
6277
  }
6166
6278
  );
6167
- var targetByDescriptionSchema = objectSchema(
6279
+ var targetByPersistSchema = objectSchema(
6168
6280
  {
6169
- kind: enumSchema(["description"]),
6170
- description: stringSchema()
6281
+ kind: enumSchema(["persist"]),
6282
+ name: stringSchema()
6171
6283
  },
6172
6284
  {
6173
- title: "OpensteerInteractionTargetByDescription",
6174
- required: ["kind", "description"]
6285
+ title: "OpensteerInteractionTargetByPersist",
6286
+ required: ["kind", "name"]
6175
6287
  }
6176
6288
  );
6177
6289
  var targetBySelectorSchema = objectSchema(
@@ -6185,7 +6297,7 @@ var targetBySelectorSchema = objectSchema(
6185
6297
  }
6186
6298
  );
6187
6299
  var opensteerInteractionTargetInputSchema = oneOfSchema(
6188
- [targetByElementSchema, targetByDescriptionSchema, targetBySelectorSchema],
6300
+ [targetByElementSchema, targetByPersistSchema, targetBySelectorSchema],
6189
6301
  {
6190
6302
  title: "OpensteerInteractionTargetInput"
6191
6303
  }
@@ -6400,46 +6512,57 @@ var opensteerSemanticOperationNames = [
6400
6512
  "dom.scroll",
6401
6513
  "dom.extract",
6402
6514
  "network.query",
6403
- "network.tag",
6404
- "network.clear",
6405
- "network.minimize",
6406
- "network.diff",
6407
- "network.probe",
6408
- "reverse.discover",
6409
- "reverse.query",
6410
- "reverse.package.create",
6411
- "reverse.package.run",
6412
- "reverse.export",
6413
- "reverse.report",
6414
- "reverse.package.get",
6415
- "reverse.package.list",
6416
- "reverse.package.patch",
6515
+ "network.detail",
6516
+ "network.replay",
6417
6517
  "interaction.capture",
6418
6518
  "interaction.get",
6419
6519
  "interaction.diff",
6420
6520
  "interaction.replay",
6421
6521
  "artifact.read",
6422
- "inspect.cookies",
6423
- "inspect.storage",
6522
+ "session.cookies",
6523
+ "session.storage",
6524
+ "session.state",
6525
+ "session.fetch",
6526
+ "scripts.capture",
6527
+ "scripts.beautify",
6528
+ "scripts.deobfuscate",
6529
+ "scripts.sandbox",
6530
+ "captcha.solve",
6531
+ "computer.execute",
6532
+ "session.close"
6533
+ ];
6534
+ var opensteerExposedSemanticOperationNames = [
6535
+ "session.open",
6536
+ "page.list",
6537
+ "page.new",
6538
+ "page.activate",
6539
+ "page.close",
6540
+ "page.goto",
6541
+ "page.evaluate",
6542
+ "page.add-init-script",
6543
+ "page.snapshot",
6544
+ "dom.click",
6545
+ "dom.hover",
6546
+ "dom.input",
6547
+ "dom.scroll",
6548
+ "dom.extract",
6549
+ "network.query",
6550
+ "network.detail",
6551
+ "network.replay",
6552
+ "interaction.capture",
6553
+ "interaction.get",
6554
+ "interaction.diff",
6555
+ "interaction.replay",
6556
+ "artifact.read",
6557
+ "session.cookies",
6558
+ "session.storage",
6559
+ "session.state",
6560
+ "session.fetch",
6424
6561
  "scripts.capture",
6425
6562
  "scripts.beautify",
6426
6563
  "scripts.deobfuscate",
6427
6564
  "scripts.sandbox",
6428
6565
  "captcha.solve",
6429
- "request.raw",
6430
- "request-plan.infer",
6431
- "request-plan.write",
6432
- "request-plan.get",
6433
- "request-plan.list",
6434
- "recipe.write",
6435
- "recipe.get",
6436
- "recipe.list",
6437
- "recipe.run",
6438
- "auth-recipe.write",
6439
- "auth-recipe.get",
6440
- "auth-recipe.list",
6441
- "auth-recipe.run",
6442
- "request.execute",
6443
6566
  "computer.execute",
6444
6567
  "session.close"
6445
6568
  ];
@@ -6461,40 +6584,24 @@ var opensteerPackageRunnableSemanticOperationNames = /* @__PURE__ */ new Set([
6461
6584
  "dom.scroll",
6462
6585
  "dom.extract",
6463
6586
  "network.query",
6464
- "network.tag",
6465
- "network.clear",
6466
- "network.minimize",
6467
- "network.diff",
6468
- "network.probe",
6587
+ "network.detail",
6588
+ "network.replay",
6469
6589
  "interaction.capture",
6470
6590
  "interaction.get",
6471
6591
  "interaction.diff",
6472
6592
  "interaction.replay",
6473
6593
  "artifact.read",
6474
- "inspect.cookies",
6475
- "inspect.storage",
6594
+ "session.cookies",
6595
+ "session.storage",
6596
+ "session.state",
6597
+ "session.fetch",
6476
6598
  "scripts.capture",
6477
6599
  "scripts.beautify",
6478
6600
  "scripts.deobfuscate",
6479
6601
  "scripts.sandbox",
6480
6602
  "captcha.solve",
6481
- "request.raw",
6482
- "request.execute",
6483
6603
  "computer.execute"
6484
6604
  ]);
6485
- function resolveTransportRequiredCapabilities(transport, fallback) {
6486
- switch (transport ?? fallback) {
6487
- case "direct-http":
6488
- return [];
6489
- case "matched-tls":
6490
- case "context-http":
6491
- return ["inspect.cookies"];
6492
- case "page-http":
6493
- return ["pages.manage"];
6494
- case "session-http":
6495
- return ["transport.sessionHttp"];
6496
- }
6497
- }
6498
6605
  var snapshotModeSchema = enumSchema(["action", "extraction"], {
6499
6606
  title: "OpensteerSnapshotMode"
6500
6607
  });
@@ -6596,14 +6703,14 @@ var targetByElementSchema2 = objectSchema(
6596
6703
  required: ["kind", "element"]
6597
6704
  }
6598
6705
  );
6599
- var targetByDescriptionSchema2 = objectSchema(
6706
+ var targetByPersistSchema2 = objectSchema(
6600
6707
  {
6601
- kind: enumSchema(["description"]),
6602
- description: stringSchema()
6708
+ kind: enumSchema(["persist"]),
6709
+ name: stringSchema()
6603
6710
  },
6604
6711
  {
6605
- title: "OpensteerTargetByDescription",
6606
- required: ["kind", "description"]
6712
+ title: "OpensteerTargetByPersist",
6713
+ required: ["kind", "name"]
6607
6714
  }
6608
6715
  );
6609
6716
  var targetBySelectorSchema2 = objectSchema(
@@ -6617,7 +6724,7 @@ var targetBySelectorSchema2 = objectSchema(
6617
6724
  }
6618
6725
  );
6619
6726
  var opensteerTargetInputSchema = oneOfSchema(
6620
- [targetByElementSchema2, targetByDescriptionSchema2, targetBySelectorSchema2],
6727
+ [targetByElementSchema2, targetByPersistSchema2, targetBySelectorSchema2],
6621
6728
  {
6622
6729
  title: "OpensteerTargetInput"
6623
6730
  }
@@ -6631,7 +6738,7 @@ var opensteerResolvedTargetSchema = objectSchema(
6631
6738
  nodeRef: nodeRefSchema,
6632
6739
  tagName: stringSchema(),
6633
6740
  pathHint: stringSchema(),
6634
- description: stringSchema(),
6741
+ persist: stringSchema(),
6635
6742
  selectorUsed: stringSchema()
6636
6743
  },
6637
6744
  {
@@ -6651,7 +6758,7 @@ var opensteerActionResultSchema = objectSchema(
6651
6758
  {
6652
6759
  target: opensteerResolvedTargetSchema,
6653
6760
  point: pointSchema,
6654
- persistedDescription: stringSchema()
6761
+ persisted: stringSchema()
6655
6762
  },
6656
6763
  {
6657
6764
  title: "OpensteerActionResult",
@@ -6908,24 +7015,13 @@ var opensteerPageSnapshotOutputSchema = objectSchema(
6908
7015
  required: ["url", "title", "mode", "html", "counters"]
6909
7016
  }
6910
7017
  );
6911
- var opensteerInspectCookiesInputSchema = objectSchema(
6912
- {
6913
- urls: arraySchema(stringSchema({ minLength: 1 }))
6914
- },
6915
- {
6916
- title: "OpensteerInspectCookiesInput"
6917
- }
6918
- );
6919
- var opensteerInspectCookiesOutputSchema = arraySchema(cookieRecordSchema, {
6920
- title: "OpensteerInspectCookiesOutput"
6921
- });
6922
- var opensteerInspectStorageInputSchema = objectSchema(
7018
+ var opensteerNetworkDetailInputSchema = objectSchema(
6923
7019
  {
6924
- includeSessionStorage: { type: "boolean" },
6925
- includeIndexedDb: { type: "boolean" }
7020
+ recordId: stringSchema({ minLength: 1 })
6926
7021
  },
6927
7022
  {
6928
- title: "OpensteerInspectStorageInput"
7023
+ title: "OpensteerNetworkDetailInput",
7024
+ required: ["recordId"]
6929
7025
  }
6930
7026
  );
6931
7027
  var opensteerComputerMouseButtonSchema = enumSchema(["left", "middle", "right"], {
@@ -6945,7 +7041,7 @@ var opensteerDomClickInputSchema = objectSchema(
6945
7041
  modifiers: arraySchema(opensteerComputerKeyModifierSchema, {
6946
7042
  uniqueItems: true
6947
7043
  }),
6948
- persistAsDescription: stringSchema(),
7044
+ persist: stringSchema(),
6949
7045
  captureNetwork: stringSchema({ minLength: 1 })
6950
7046
  },
6951
7047
  {
@@ -6956,7 +7052,7 @@ var opensteerDomClickInputSchema = objectSchema(
6956
7052
  var opensteerDomHoverInputSchema = objectSchema(
6957
7053
  {
6958
7054
  target: opensteerTargetInputSchema,
6959
- persistAsDescription: stringSchema(),
7055
+ persist: stringSchema(),
6960
7056
  captureNetwork: stringSchema({ minLength: 1 })
6961
7057
  },
6962
7058
  {
@@ -6969,7 +7065,7 @@ var opensteerDomInputInputSchema = objectSchema(
6969
7065
  target: opensteerTargetInputSchema,
6970
7066
  text: stringSchema(),
6971
7067
  pressEnter: { type: "boolean" },
6972
- persistAsDescription: stringSchema(),
7068
+ persist: stringSchema(),
6973
7069
  captureNetwork: stringSchema({ minLength: 1 })
6974
7070
  },
6975
7071
  {
@@ -6982,7 +7078,7 @@ var opensteerDomScrollInputSchema = objectSchema(
6982
7078
  target: opensteerTargetInputSchema,
6983
7079
  direction: enumSchema(["up", "down", "left", "right"]),
6984
7080
  amount: integerSchema({ minimum: 1 }),
6985
- persistAsDescription: stringSchema(),
7081
+ persist: stringSchema(),
6986
7082
  captureNetwork: stringSchema({ minLength: 1 })
6987
7083
  },
6988
7084
  {
@@ -6997,16 +7093,21 @@ var opensteerExtractSchemaSchema = objectSchema(
6997
7093
  additionalProperties: true
6998
7094
  }
6999
7095
  );
7000
- var opensteerDomExtractInputSchema = objectSchema(
7001
- {
7002
- description: stringSchema(),
7003
- schema: opensteerExtractSchemaSchema
7004
- },
7005
- {
7006
- title: "OpensteerDomExtractInput",
7007
- required: ["description"]
7008
- }
7009
- );
7096
+ var opensteerDomExtractInputSchema = defineSchema({
7097
+ ...objectSchema(
7098
+ {
7099
+ persist: stringSchema(),
7100
+ schema: opensteerExtractSchemaSchema
7101
+ },
7102
+ {
7103
+ title: "OpensteerDomExtractInput"
7104
+ }
7105
+ ),
7106
+ anyOf: [
7107
+ defineSchema({ required: ["persist"] }),
7108
+ defineSchema({ required: ["schema"] })
7109
+ ]
7110
+ });
7010
7111
  var jsonValueSchema3 = recordSchema({}, { title: "JsonValueRecord" });
7011
7112
  var opensteerDomExtractOutputSchema = objectSchema(
7012
7113
  {
@@ -7369,116 +7470,31 @@ var opensteerSemanticOperationSpecificationsBase = [
7369
7470
  }),
7370
7471
  defineSemanticOperationSpec({
7371
7472
  name: "dom.extract",
7372
- description: "Run structured DOM extraction with persisted Opensteer extraction descriptors.",
7473
+ description: "Run structured DOM extraction and optionally persist the extraction descriptor for replay.",
7373
7474
  inputSchema: opensteerDomExtractInputSchema,
7374
7475
  outputSchema: opensteerDomExtractOutputSchema,
7375
7476
  requiredCapabilities: ["inspect.domSnapshot", "inspect.text", "inspect.attributes"]
7376
7477
  }),
7377
7478
  defineSemanticOperationSpec({
7378
7479
  name: "network.query",
7379
- description: "Query persisted network records for reverse engineering workflows.",
7480
+ description: "Query captured network traffic with chronological summaries optimized for agent inspection.",
7380
7481
  inputSchema: opensteerNetworkQueryInputSchema,
7381
7482
  outputSchema: opensteerNetworkQueryOutputSchema,
7382
- requiredCapabilities: []
7383
- }),
7384
- defineSemanticOperationSpec({
7385
- name: "network.tag",
7386
- description: "Apply a tag to persisted network records matching the provided filters.",
7387
- inputSchema: opensteerNetworkTagInputSchema,
7388
- outputSchema: opensteerNetworkTagOutputSchema,
7389
- requiredCapabilities: []
7390
- }),
7391
- defineSemanticOperationSpec({
7392
- name: "network.clear",
7393
- description: "Clear saved network records globally or for a specific tag.",
7394
- inputSchema: opensteerNetworkClearInputSchema,
7395
- outputSchema: opensteerNetworkClearOutputSchema,
7396
- requiredCapabilities: []
7397
- }),
7398
- defineSemanticOperationSpec({
7399
- name: "network.minimize",
7400
- description: "Minimize a saved captured request by identifying the smallest viable header, cookie, query, and body-field set.",
7401
- inputSchema: opensteerNetworkMinimizeInputSchema,
7402
- outputSchema: opensteerNetworkMinimizeOutputSchema,
7403
- requiredCapabilities: [],
7404
- resolveRequiredCapabilities: (input) => resolveTransportRequiredCapabilities(input.transport, "session-http")
7405
- }),
7406
- defineSemanticOperationSpec({
7407
- name: "network.diff",
7408
- description: "Compare two captured requests and responses field-by-field with entropy analysis for likely encrypted values.",
7409
- inputSchema: opensteerNetworkDiffInputSchema,
7410
- outputSchema: opensteerNetworkDiffOutputSchema,
7411
- requiredCapabilities: []
7412
- }),
7413
- defineSemanticOperationSpec({
7414
- name: "network.probe",
7415
- description: "Probe a captured request across transport layers and recommend the lightest working execution path.",
7416
- inputSchema: opensteerTransportProbeInputSchema,
7417
- outputSchema: opensteerTransportProbeOutputSchema,
7418
- requiredCapabilities: []
7419
- }),
7420
- defineSemanticOperationSpec({
7421
- name: "reverse.discover",
7422
- description: "Capture and index a bounded reverse-engineering observation window, then return the case handle, summary, report id, and query metadata only.",
7423
- inputSchema: opensteerReverseDiscoverInputSchema,
7424
- outputSchema: opensteerReverseDiscoverOutputSchema,
7425
- requiredCapabilities: []
7426
- }),
7427
- defineSemanticOperationSpec({
7428
- name: "reverse.query",
7429
- description: "Query a cached reverse case with deterministic filters and explicit sort keys or preset shortcuts over records, clusters, or candidates.",
7430
- inputSchema: opensteerReverseQueryInputSchema,
7431
- outputSchema: opensteerReverseQueryOutputSchema,
7432
- requiredCapabilities: []
7433
- }),
7434
- defineSemanticOperationSpec({
7435
- name: "reverse.package.create",
7436
- description: "Create an explicit reverse package draft from a chosen observed record or advisory candidate, with an optional advisory template.",
7437
- inputSchema: opensteerReversePackageCreateInputSchema,
7438
- outputSchema: opensteerReversePackageCreateOutputSchema,
7439
- requiredCapabilities: []
7440
- }),
7441
- defineSemanticOperationSpec({
7442
- name: "reverse.package.run",
7443
- description: "Run a reverse package draft through its operation, await-record, and assertion steps, returning executed bindings and first failure details.",
7444
- inputSchema: opensteerReversePackageRunInputSchema,
7445
- outputSchema: opensteerReversePackageRunOutputSchema,
7446
- requiredCapabilities: []
7447
- }),
7448
- defineSemanticOperationSpec({
7449
- name: "reverse.export",
7450
- description: "Export or clone a reverse-engineering package, including a request plan when the package is portable.",
7451
- inputSchema: opensteerReverseExportInputSchema,
7452
- outputSchema: opensteerReverseExportOutputSchema,
7453
- requiredCapabilities: []
7454
- }),
7455
- defineSemanticOperationSpec({
7456
- name: "reverse.report",
7457
- description: "Read an evidence-centered discovery report or a draft-centered package report, including linked evidence, replay attempts, and advisory suggestions.",
7458
- inputSchema: opensteerReverseReportInputSchema,
7459
- outputSchema: opensteerReverseReportOutputSchema,
7460
- requiredCapabilities: []
7461
- }),
7462
- defineSemanticOperationSpec({
7463
- name: "reverse.package.get",
7464
- description: "Read a standalone reverse-engineering package so an agent can inspect its workflow, resolvers, requirements, and linked evidence.",
7465
- inputSchema: opensteerReversePackageGetInputSchema,
7466
- outputSchema: opensteerReversePackageGetOutputSchema,
7467
- requiredCapabilities: []
7483
+ requiredCapabilities: ["inspect.network"]
7468
7484
  }),
7469
7485
  defineSemanticOperationSpec({
7470
- name: "reverse.package.list",
7471
- description: "List reverse-engineering packages by case, key, kind, or readiness.",
7472
- inputSchema: opensteerReversePackageListInputSchema,
7473
- outputSchema: opensteerReversePackageListOutputSchema,
7474
- requiredCapabilities: []
7486
+ name: "network.detail",
7487
+ description: "Inspect one captured network record with parsed headers, cookies, redirects, and truncated bodies.",
7488
+ inputSchema: opensteerNetworkDetailInputSchema,
7489
+ outputSchema: opensteerNetworkDetailOutputSchema,
7490
+ requiredCapabilities: ["inspect.network", "inspect.networkBodies"]
7475
7491
  }),
7476
7492
  defineSemanticOperationSpec({
7477
- name: "reverse.package.patch",
7478
- description: "Write a new immutable reverse-engineering package revision by patching editable workflow, resolver, validator, and evidence sections.",
7479
- inputSchema: opensteerReversePackagePatchInputSchema,
7480
- outputSchema: opensteerReversePackagePatchOutputSchema,
7481
- requiredCapabilities: []
7493
+ name: "network.replay",
7494
+ description: "Replay a captured request through the transport ladder and report the transport that worked.",
7495
+ inputSchema: opensteerNetworkReplayInputSchema,
7496
+ outputSchema: opensteerNetworkReplayOutputSchema,
7497
+ requiredCapabilities: ["inspect.network", "inspect.cookies", "pages.manage"]
7482
7498
  }),
7483
7499
  defineSemanticOperationSpec({
7484
7500
  name: "interaction.capture",
@@ -7551,127 +7567,49 @@ var opensteerSemanticOperationSpecificationsBase = [
7551
7567
  requiredCapabilities: ["pages.manage"]
7552
7568
  }),
7553
7569
  defineSemanticOperationSpec({
7554
- name: "inspect.cookies",
7555
- description: "Read cookies from the current browser session.",
7556
- inputSchema: opensteerInspectCookiesInputSchema,
7557
- outputSchema: opensteerInspectCookiesOutputSchema,
7570
+ name: "session.cookies",
7571
+ description: "Read browser cookies for the active page domain or an explicitly selected domain.",
7572
+ inputSchema: opensteerCookieQueryInputSchema,
7573
+ outputSchema: opensteerCookieQueryOutputSchema,
7558
7574
  requiredCapabilities: ["inspect.cookies"]
7559
7575
  }),
7560
7576
  defineSemanticOperationSpec({
7561
- name: "inspect.storage",
7562
- description: "Read browser storage state from the current browser session.",
7563
- inputSchema: opensteerInspectStorageInputSchema,
7564
- outputSchema: storageSnapshotSchema,
7565
- requiredCapabilities: ["inspect.localStorage"],
7566
- resolveRequiredCapabilities: (input) => {
7567
- const capabilities = ["inspect.localStorage"];
7568
- if (input.includeSessionStorage ?? false) {
7569
- capabilities.push("inspect.sessionStorage");
7570
- }
7571
- if (input.includeIndexedDb ?? false) {
7572
- capabilities.push("inspect.indexedDb");
7573
- }
7574
- return capabilities;
7575
- }
7576
- }),
7577
- defineSemanticOperationSpec({
7578
- name: "request.raw",
7579
- description: "Execute a raw HTTP request through either the current browser session or a direct HTTP transport.",
7580
- inputSchema: opensteerRawRequestInputSchema,
7581
- outputSchema: opensteerRawRequestOutputSchema,
7582
- requiredCapabilities: [],
7583
- resolveRequiredCapabilities: (input) => resolveTransportRequiredCapabilities(input.transport, "context-http")
7584
- }),
7585
- defineSemanticOperationSpec({
7586
- name: "request-plan.infer",
7587
- description: "Infer and persist a request plan from a selected network record.",
7588
- inputSchema: opensteerInferRequestPlanInputSchema,
7589
- outputSchema: opensteerRequestPlanRecordSchema,
7590
- requiredCapabilities: []
7591
- }),
7592
- defineSemanticOperationSpec({
7593
- name: "request-plan.write",
7594
- description: "Validate and persist a reusable request plan in the local registry.",
7595
- inputSchema: opensteerWriteRequestPlanInputSchema,
7596
- outputSchema: opensteerRequestPlanRecordSchema,
7597
- requiredCapabilities: []
7598
- }),
7599
- defineSemanticOperationSpec({
7600
- name: "request-plan.get",
7601
- description: "Resolve a request plan by key and optional version.",
7602
- inputSchema: opensteerGetRequestPlanInputSchema,
7603
- outputSchema: opensteerRequestPlanRecordSchema,
7604
- requiredCapabilities: []
7605
- }),
7606
- defineSemanticOperationSpec({
7607
- name: "request-plan.list",
7608
- description: "List request plans from the local registry.",
7609
- inputSchema: opensteerListRequestPlansInputSchema,
7610
- outputSchema: opensteerListRequestPlansOutputSchema,
7611
- requiredCapabilities: []
7612
- }),
7613
- defineSemanticOperationSpec({
7614
- name: "recipe.write",
7615
- description: "Validate and persist a reusable recipe in the local registry.",
7616
- inputSchema: opensteerWriteAuthRecipeInputSchema,
7617
- outputSchema: opensteerAuthRecipeRecordSchema,
7618
- requiredCapabilities: []
7619
- }),
7620
- defineSemanticOperationSpec({
7621
- name: "recipe.get",
7622
- description: "Resolve a recipe by key and optional version.",
7623
- inputSchema: opensteerGetAuthRecipeInputSchema,
7624
- outputSchema: opensteerAuthRecipeRecordSchema,
7625
- requiredCapabilities: []
7626
- }),
7627
- defineSemanticOperationSpec({
7628
- name: "recipe.list",
7629
- description: "List recipes from the local registry.",
7630
- inputSchema: opensteerListAuthRecipesInputSchema,
7631
- outputSchema: opensteerListAuthRecipesOutputSchema,
7632
- requiredCapabilities: []
7633
- }),
7634
- defineSemanticOperationSpec({
7635
- name: "recipe.run",
7636
- description: "Run a stored recipe deterministically against the current runtime.",
7637
- inputSchema: opensteerRunAuthRecipeInputSchema,
7638
- outputSchema: opensteerRunAuthRecipeOutputSchema,
7639
- requiredCapabilities: []
7640
- }),
7641
- defineSemanticOperationSpec({
7642
- name: "auth-recipe.write",
7643
- description: "Validate and persist a reusable auth recovery recipe in the local registry.",
7644
- inputSchema: opensteerWriteAuthRecipeInputSchema,
7645
- outputSchema: opensteerAuthRecipeRecordSchema,
7646
- requiredCapabilities: []
7577
+ name: "session.storage",
7578
+ description: "Read localStorage and sessionStorage grouped by domain for the active browser session.",
7579
+ inputSchema: opensteerStorageQueryInputSchema,
7580
+ outputSchema: opensteerStorageQueryOutputSchema,
7581
+ requiredCapabilities: ["inspect.localStorage", "inspect.sessionStorage"]
7647
7582
  }),
7648
7583
  defineSemanticOperationSpec({
7649
- name: "auth-recipe.get",
7650
- description: "Resolve an auth recipe by key and optional version.",
7651
- inputSchema: opensteerGetAuthRecipeInputSchema,
7652
- outputSchema: opensteerAuthRecipeRecordSchema,
7653
- requiredCapabilities: []
7654
- }),
7655
- defineSemanticOperationSpec({
7656
- name: "auth-recipe.list",
7657
- description: "List auth recovery recipes from the local registry.",
7658
- inputSchema: opensteerListAuthRecipesInputSchema,
7659
- outputSchema: opensteerListAuthRecipesOutputSchema,
7660
- requiredCapabilities: []
7661
- }),
7662
- defineSemanticOperationSpec({
7663
- name: "auth-recipe.run",
7664
- description: "Run a stored auth recovery recipe deterministically against the current runtime.",
7665
- inputSchema: opensteerRunAuthRecipeInputSchema,
7666
- outputSchema: opensteerRunAuthRecipeOutputSchema,
7667
- requiredCapabilities: []
7584
+ name: "session.state",
7585
+ description: "Read browser cookies, storage, hidden fields, and selected page globals grouped by domain.",
7586
+ inputSchema: opensteerStateQueryInputSchema,
7587
+ outputSchema: opensteerStateQueryOutputSchema,
7588
+ requiredCapabilities: [
7589
+ "inspect.cookies",
7590
+ "inspect.localStorage",
7591
+ "inspect.sessionStorage",
7592
+ "pages.manage"
7593
+ ]
7668
7594
  }),
7669
7595
  defineSemanticOperationSpec({
7670
- name: "request.execute",
7671
- description: "Execute a request plan through its configured transport and deterministic auth recovery policy.",
7672
- inputSchema: opensteerRequestExecuteInputSchema,
7673
- outputSchema: opensteerRequestExecuteOutputSchema,
7674
- requiredCapabilities: []
7596
+ name: "session.fetch",
7597
+ description: "Execute a session-aware HTTP request with browser cookies and automatic transport selection.",
7598
+ inputSchema: opensteerSessionFetchInputSchema,
7599
+ outputSchema: opensteerSessionFetchOutputSchema,
7600
+ requiredCapabilities: [],
7601
+ resolveRequiredCapabilities: (input) => {
7602
+ switch (input.transport ?? "auto") {
7603
+ case "direct":
7604
+ return [];
7605
+ case "matched-tls":
7606
+ return ["inspect.cookies"];
7607
+ case "page":
7608
+ return ["pages.manage"];
7609
+ case "auto":
7610
+ return ["inspect.cookies", "pages.manage"];
7611
+ }
7612
+ }
7675
7613
  }),
7676
7614
  defineSemanticOperationSpec({
7677
7615
  name: "computer.execute",
@@ -7709,12 +7647,18 @@ var opensteerSemanticOperationSpecificationsBase = [
7709
7647
  requiredCapabilities: ["sessions.manage"]
7710
7648
  })
7711
7649
  ];
7712
- var opensteerSemanticOperationSpecifications = opensteerSemanticOperationSpecificationsBase.map((spec) => ({
7650
+ var exposedSemanticOperationNameSet = new Set(
7651
+ opensteerExposedSemanticOperationNames
7652
+ );
7653
+ var opensteerSemanticOperationSpecificationsInternal = opensteerSemanticOperationSpecificationsBase.map((spec) => ({
7713
7654
  ...spec,
7714
7655
  packageRunnable: opensteerPackageRunnableSemanticOperationNames.has(spec.name)
7715
7656
  }));
7657
+ var opensteerSemanticOperationSpecifications = opensteerSemanticOperationSpecificationsInternal.filter(
7658
+ (spec) => exposedSemanticOperationNameSet.has(spec.name)
7659
+ );
7716
7660
  var opensteerSemanticOperationSpecificationMap = Object.fromEntries(
7717
- opensteerSemanticOperationSpecifications.map((spec) => [spec.name, spec])
7661
+ opensteerSemanticOperationSpecificationsInternal.map((spec) => [spec.name, spec])
7718
7662
  );
7719
7663
  var semanticRestBasePath = `${OPENSTEER_PROTOCOL_REST_BASE_PATH}/semantic`;
7720
7664
  var opensteerSemanticRestEndpoints = opensteerSemanticOperationSpecifications.map((spec) => ({
@@ -7731,11 +7675,12 @@ var readOnlyOperations = /* @__PURE__ */ new Set([
7731
7675
  "page.snapshot",
7732
7676
  "dom.extract",
7733
7677
  "network.query",
7734
- "request-plan.get",
7735
- "request-plan.list"
7678
+ "network.detail",
7679
+ "session.cookies",
7680
+ "session.storage",
7681
+ "session.state"
7736
7682
  ]);
7737
7683
  var destructiveOperations = /* @__PURE__ */ new Set([
7738
- "network.clear",
7739
7684
  "session.close"
7740
7685
  ]);
7741
7686
  function toolNameFromOperation(operation) {
@@ -7801,6 +7746,6 @@ function resolveDomActionBridge(engine) {
7801
7746
  return isDomActionBridgeFactory(candidate) ? candidate.call(engine) : void 0;
7802
7747
  }
7803
7748
 
7804
- export { JSON_SCHEMA_DRAFT_2020_12, OPENSTEER_COMPUTER_USE_BRIDGE_SYMBOL, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_PROTOCOL_COMPATIBILITY_REVISION, OPENSTEER_PROTOCOL_MEDIA_TYPE, OPENSTEER_PROTOCOL_NAME, OPENSTEER_PROTOCOL_REST_BASE_PATH, OPENSTEER_PROTOCOL_REVISION_DATE, OPENSTEER_PROTOCOL_VERSION, OpensteerProtocolError, arraySchema, artifactReferenceSchema, assertSupportedProtocolVersion, assertValidSemanticOperationInput, bodyPayloadEncodingSchema, bodyPayloadFromUtf8, bodyPayloadSchema, captchaDetectionResultSchema, captchaProviderSchema, captchaTypeSchema, chooserRefSchema, cloudActionMethods, cloudErrorCodes, cloudSessionRecordingStatuses, cloudSessionSourceTypes, cloudSessionStatuses, cookiePrioritySchema, cookieRecordSchema, cookieSameSiteSchema, coordinateSpaceSchema, createBodyPayload, createErrorEnvelope, createOpensteerError, createRequestEnvelope, createStructuredToolResult, createSuccessEnvelope, defineSchema, dialogRefSchema, documentEpochSchema, documentRefSchema, domSnapshotNodeSchema, domSnapshotSchema, downloadRefSchema, enumSchema, externalBinaryLocationSchema, frameInfoSchema, frameRefSchema, hasCapability, headerEntrySchema, hitTestResultSchema, htmlSnapshotSchema, httpStatusForOpensteerError, indexedDbDatabaseSnapshotSchema, indexedDbIndexSnapshotSchema, indexedDbObjectStoreSnapshotSchema, indexedDbRecordSchema, integerSchema, isCloudActionMethod, isCloudErrorCode, isCloudSessionRecordingStatus, isCloudSessionSourceType, isCloudSessionStatus, isErrorEnvelope, isOpensteerProtocolError, isOpensteerRef, isSupportedProtocolVersion, layoutViewportSchema, literalSchema, minimizationFieldClassificationSchema, minimizationFieldResultSchema, networkCaptureStateSchema, networkDiffEntropySchema, networkDiffFieldKindSchema, networkDiffFieldSchema, networkInitiatorSchema, networkInitiatorTypeSchema, networkQueryRecordSchema, networkRecordKindSchema, networkRecordSchema, networkRequestIdSchema, networkResourceTypeSchema, networkSourceMetadataSchema, networkTimingSchema, networkTransferSizesSchema, nodeLocatorSchema, nodeRefSchema, numberSchema, objectSchema, observabilityConfigSchema, observabilityProfileSchema, observabilityProfiles, observabilityRedactionConfigSchema, observabilityTraceContextSchema, observationArtifactKinds, observationArtifactSchema, observationContextSchema, observationEventErrorSchema, observationEventKinds, observationEventPhases, observationEventSchema, observationSessionSchema, oneOfSchema, opensteerArtifactReadInputSchema, opensteerArtifactReadOutputSchema, opensteerArtifactSchema, opensteerAuthRecipeHookRefSchema, opensteerAuthRecipePayloadSchema, opensteerAuthRecipeRecordSchema, opensteerAuthRecipeRefSchema, opensteerAuthRecipeStepSchema, opensteerAutomationOperationNames, opensteerBodyCodecDescriptorSchema, opensteerBodyCodecKindSchema, opensteerCapabilities, opensteerCapabilityDescriptorListSchema, opensteerCapabilityDescriptorSchema, opensteerCapabilityDescriptors, opensteerCapabilitySchema, opensteerCapabilitySetSchema, opensteerCaptchaSolveInputSchema, opensteerCaptchaSolveOutputSchema, opensteerComputerAnnotationNames, opensteerErrorCodeSchema, opensteerErrorCodes, opensteerErrorEnvelopeSchema, opensteerErrorSchema, opensteerEventSchema, opensteerExecutableResolverKindSchema, opensteerExecutableResolverSchema, opensteerGetAuthRecipeInputSchema, opensteerGetRecipeInputSchema, opensteerGetRequestPlanInputSchema, opensteerInferRequestPlanInputSchema, opensteerInteractionCaptureInputSchema, opensteerInteractionCaptureOutputSchema, opensteerInteractionDiffInputSchema, opensteerInteractionDiffOutputSchema, opensteerInteractionEventRecordSchema, opensteerInteractionGetInputSchema, opensteerInteractionGetOutputSchema, opensteerInteractionReplayInputSchema, opensteerInteractionReplayOutputSchema, opensteerInteractionTracePayloadSchema, opensteerInteractionTraceRecordSchema, opensteerListAuthRecipesInputSchema, opensteerListAuthRecipesOutputSchema, opensteerListRecipesInputSchema, opensteerListRecipesOutputSchema, opensteerListRequestPlansInputSchema, opensteerListRequestPlansOutputSchema, opensteerMcpTools, opensteerNetworkClearInputSchema, opensteerNetworkClearOutputSchema, opensteerNetworkDiffInputSchema, opensteerNetworkDiffOutputSchema, opensteerNetworkMinimizeInputSchema, opensteerNetworkMinimizeOutputSchema, opensteerNetworkMinimizeSuccessPolicySchema, opensteerNetworkQueryInputSchema, opensteerNetworkQueryOutputSchema, opensteerNetworkTagInputSchema, opensteerNetworkTagOutputSchema, opensteerObservationClusterRelationshipKindSchema, opensteerObservationClusterSchema, opensteerOperationNames, opensteerOperationSpecificationMap, opensteerOperationSpecifications, opensteerProtocolDescriptor, opensteerProtocolDescriptorSchema, opensteerRawRequestInputSchema, opensteerRawRequestOutputSchema, opensteerRecipeCachePolicySchema, opensteerRecipeHookRefSchema, opensteerRecipePayloadSchema, opensteerRecipeRecordSchema, opensteerRecipeRefSchema, opensteerRecipeStepSchema, opensteerRefKindSchema, opensteerRefSchema, opensteerRegistryProvenanceSchema, opensteerRequestBodyInputSchema, opensteerRequestEntrySchema, opensteerRequestExecuteInputSchema, opensteerRequestExecuteOutputSchema, opensteerRequestFailurePolicyHeaderMatchSchema, opensteerRequestFailurePolicySchema, opensteerRequestInputClassificationSchema, opensteerRequestInputDescriptorSchema, opensteerRequestInputExportPolicySchema, opensteerRequestInputLocationSchema, opensteerRequestInputMaterializationPolicySchema, opensteerRequestInputRequirednessSchema, opensteerRequestInputSourceSchema, opensteerRequestPlanAuthSchema, opensteerRequestPlanBodySchema, opensteerRequestPlanEndpointSchema, opensteerRequestPlanFreshnessSchema, opensteerRequestPlanParameterLocationSchema, opensteerRequestPlanParameterSchema, opensteerRequestPlanPayloadSchema, opensteerRequestPlanRecipeBindingSchema, opensteerRequestPlanRecipesSchema, opensteerRequestPlanRecordSchema, opensteerRequestPlanRecoverBindingSchema, opensteerRequestPlanResponseExpectationSchema, opensteerRequestPlanTransportSchema, opensteerRequestResponseResultSchema, opensteerRequestRetryBackoffPolicySchema, opensteerRequestRetryPolicySchema, opensteerRequestScalarSchema, opensteerRequestTransportResultSchema, opensteerRestEndpoints, opensteerReverseAdvisorySignalsSchema, opensteerReverseAdvisoryTagSchema, opensteerReverseAdvisoryTemplateSchema, opensteerReverseCandidateBoundarySchema, opensteerReverseCandidateRecordSchema, opensteerReverseCandidateReportItemSchema, opensteerReverseCasePayloadSchema, opensteerReverseCaseRecordSchema, opensteerReverseCaseStatusSchema, opensteerReverseChannelKindSchema, opensteerReverseConstraintKindSchema, opensteerReverseDiscoverInputSchema, opensteerReverseDiscoverOutputSchema, opensteerReverseExperimentRecordSchema, opensteerReverseExportInputSchema, opensteerReverseExportOutputSchema, opensteerReverseExportRecordSchema, opensteerReverseGuardRecordSchema, opensteerReverseManualCalibrationModeSchema, opensteerReverseObservationRecordSchema, opensteerReverseObservedRecordSchema, opensteerReversePackageCreateInputSchema, opensteerReversePackageCreateOutputSchema, opensteerReversePackageGetInputSchema, opensteerReversePackageGetOutputSchema, opensteerReversePackageKindSchema, opensteerReversePackageListInputSchema, opensteerReversePackageListOutputSchema, opensteerReversePackagePatchInputSchema, opensteerReversePackagePatchOutputSchema, opensteerReversePackagePayloadSchema, opensteerReversePackageReadinessSchema, opensteerReversePackageRecordSchema, opensteerReversePackageRequirementsSchema, opensteerReversePackageRunInputSchema, opensteerReversePackageRunOutputSchema, opensteerReverseQueryInputSchema, opensteerReverseQueryOutputSchema, opensteerReverseQueryViewSchema, opensteerReverseReplayRunRecordSchema, opensteerReverseReplayValidationSchema, opensteerReverseReportInputSchema, opensteerReverseReportKindSchema, opensteerReverseReportOutputSchema, opensteerReverseReportPayloadSchema, opensteerReverseReportRecordSchema, opensteerReverseRequirementKindSchema, opensteerReverseRequirementSchema, opensteerReverseRequirementStatusSchema, opensteerReverseSortDirectionSchema, opensteerReverseSortKeySchema, opensteerReverseSortPresetSchema, opensteerReverseSuggestedEditKindSchema, opensteerReverseSuggestedEditSchema, opensteerReverseTargetHintsSchema, opensteerReverseWorkflowStepKindSchema, opensteerReverseWorkflowStepSchema, opensteerRunAuthRecipeInputSchema, opensteerRunAuthRecipeOutputSchema, opensteerRunRecipeInputSchema, opensteerRunRecipeOutputSchema, opensteerRuntimeValueKeySchema, opensteerScriptBeautifyInputSchema, opensteerScriptBeautifyOutputSchema, opensteerScriptDeobfuscateInputSchema, opensteerScriptDeobfuscateOutputSchema, opensteerScriptSandboxInputSchema, opensteerScriptSandboxOutputSchema, opensteerSemanticOperationNames, opensteerSemanticOperationSpecificationMap, opensteerSemanticOperationSpecifications, opensteerSemanticRestEndpoints, opensteerSessionGrantKinds, opensteerStateDeltaSchema, opensteerStateSnapshotSchema, opensteerStateSourceKindSchema, opensteerTransportProbeInputSchema, opensteerTransportProbeOutputSchema, opensteerValidationRuleKindSchema, opensteerValidationRuleSchema, opensteerValueReferenceKindSchema, opensteerValueReferenceSchema, opensteerValueTemplateSchema, opensteerWriteAuthRecipeInputSchema, opensteerWriteRecipeInputSchema, opensteerWriteRequestPlanInputSchema, orderedHeadersSchema, pageInfoSchema, pageLifecycleStateSchema, pageRefSchema, parseOpensteerRef, pointSchema, quadSchema, recordSchema, rectSchema, requestEnvelopeSchema, resolveComputerUseBridge, resolveDomActionBridge, resolveRequiredCapabilities, resolveSemanticRequiredCapabilities, responseEnvelopeSchema, sandboxAjaxModeSchema, sandboxAjaxRouteSchema, sandboxCapturedAjaxCallSchema, sandboxFidelitySchema, screenshotArtifactSchema, screenshotFormatSchema, scriptSourceArtifactDataSchema, scrollOffsetSchema, sessionRefSchema, sessionStorageSnapshotSchema, shadowDomSnapshotModeSchema, sizeSchema, storageEntrySchema, storageOriginSnapshotSchema, storageSnapshotSchema, stringSchema, successEnvelopeSchema, toOpensteerError, traceBundleSchema, traceContextSchema, traceRecordSchema, transportKindSchema, transportProbeLevelSchema, transportProbeResultSchema, unsupportedCapabilityError, unsupportedVersionError, validateJsonSchema, viewportMetricsSchema, visualViewportSchema, workerRefSchema };
7749
+ export { JSON_SCHEMA_DRAFT_2020_12, OPENSTEER_COMPUTER_USE_BRIDGE_SYMBOL, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_PROTOCOL_COMPATIBILITY_REVISION, OPENSTEER_PROTOCOL_MEDIA_TYPE, OPENSTEER_PROTOCOL_NAME, OPENSTEER_PROTOCOL_REST_BASE_PATH, OPENSTEER_PROTOCOL_REVISION_DATE, OPENSTEER_PROTOCOL_VERSION, OpensteerProtocolError, arraySchema, artifactReferenceSchema, assertSupportedProtocolVersion, assertValidSemanticOperationInput, bodyPayloadEncodingSchema, bodyPayloadFromUtf8, bodyPayloadSchema, captchaDetectionResultSchema, captchaProviderSchema, captchaTypeSchema, chooserRefSchema, cloudActionMethods, cloudErrorCodes, cloudSessionRecordingStatuses, cloudSessionSourceTypes, cloudSessionStatuses, cookiePrioritySchema, cookieRecordSchema, cookieSameSiteSchema, coordinateSpaceSchema, createBodyPayload, createErrorEnvelope, createOpensteerError, createRequestEnvelope, createStructuredToolResult, createSuccessEnvelope, defineSchema, dialogRefSchema, documentEpochSchema, documentRefSchema, domSnapshotNodeSchema, domSnapshotSchema, downloadRefSchema, enumSchema, externalBinaryLocationSchema, frameInfoSchema, frameRefSchema, hasCapability, headerEntrySchema, hitTestResultSchema, htmlSnapshotSchema, httpStatusForOpensteerError, indexedDbDatabaseSnapshotSchema, indexedDbIndexSnapshotSchema, indexedDbObjectStoreSnapshotSchema, indexedDbRecordSchema, integerSchema, isCloudActionMethod, isCloudErrorCode, isCloudSessionRecordingStatus, isCloudSessionSourceType, isCloudSessionStatus, isErrorEnvelope, isOpensteerProtocolError, isOpensteerRef, isSupportedProtocolVersion, layoutViewportSchema, literalSchema, networkCaptureStateSchema, networkInitiatorSchema, networkInitiatorTypeSchema, networkQueryRecordSchema, networkRecordKindSchema, networkRecordSchema, networkRequestIdSchema, networkResourceTypeSchema, networkSourceMetadataSchema, networkTimingSchema, networkTransferSizesSchema, nodeLocatorSchema, nodeRefSchema, numberSchema, objectSchema, observabilityConfigSchema, observabilityProfileSchema, observabilityProfiles, observabilityRedactionConfigSchema, observabilityTraceContextSchema, observationArtifactKinds, observationArtifactSchema, observationContextSchema, observationEventErrorSchema, observationEventKinds, observationEventPhases, observationEventSchema, observationSessionSchema, oneOfSchema, opensteerArtifactReadInputSchema, opensteerArtifactReadOutputSchema, opensteerArtifactSchema, opensteerAuthRecipeHookRefSchema, opensteerAuthRecipePayloadSchema, opensteerAuthRecipeRecordSchema, opensteerAuthRecipeRefSchema, opensteerAuthRecipeStepSchema, opensteerAutomationOperationNames, opensteerBodyCodecDescriptorSchema, opensteerBodyCodecKindSchema, opensteerCapabilities, opensteerCapabilityDescriptorListSchema, opensteerCapabilityDescriptorSchema, opensteerCapabilityDescriptors, opensteerCapabilitySchema, opensteerCapabilitySetSchema, opensteerCaptchaSolveInputSchema, opensteerCaptchaSolveOutputSchema, opensteerComputerAnnotationNames, opensteerCookieQueryInputSchema, opensteerCookieQueryOutputSchema, opensteerErrorCodeSchema, opensteerErrorCodes, opensteerErrorEnvelopeSchema, opensteerErrorSchema, opensteerEventSchema, opensteerExecutableResolverKindSchema, opensteerExecutableResolverSchema, opensteerExposedSemanticOperationNames, opensteerGetAuthRecipeInputSchema, opensteerGetRecipeInputSchema, opensteerGetRequestPlanInputSchema, opensteerInferRequestPlanInputSchema, opensteerInteractionCaptureInputSchema, opensteerInteractionCaptureOutputSchema, opensteerInteractionDiffInputSchema, opensteerInteractionDiffOutputSchema, opensteerInteractionEventRecordSchema, opensteerInteractionGetInputSchema, opensteerInteractionGetOutputSchema, opensteerInteractionReplayInputSchema, opensteerInteractionReplayOutputSchema, opensteerInteractionTracePayloadSchema, opensteerInteractionTraceRecordSchema, opensteerListAuthRecipesInputSchema, opensteerListAuthRecipesOutputSchema, opensteerListRecipesInputSchema, opensteerListRecipesOutputSchema, opensteerListRequestPlansInputSchema, opensteerListRequestPlansOutputSchema, opensteerMcpTools, opensteerNetworkClearInputSchema, opensteerNetworkClearOutputSchema, opensteerNetworkDetailOutputSchema, opensteerNetworkQueryInputSchema, opensteerNetworkQueryOutputSchema, opensteerNetworkReplayInputSchema, opensteerNetworkReplayOutputSchema, opensteerNetworkSummaryRecordSchema, opensteerNetworkTagInputSchema, opensteerNetworkTagOutputSchema, opensteerObservationClusterRelationshipKindSchema, opensteerObservationClusterSchema, opensteerOperationNames, opensteerOperationSpecificationMap, opensteerOperationSpecifications, opensteerProtocolDescriptor, opensteerProtocolDescriptorSchema, opensteerRawRequestInputSchema, opensteerRawRequestOutputSchema, opensteerRecipeCachePolicySchema, opensteerRecipeHookRefSchema, opensteerRecipePayloadSchema, opensteerRecipeRecordSchema, opensteerRecipeRefSchema, opensteerRecipeStepSchema, opensteerRefKindSchema, opensteerRefSchema, opensteerRegistryProvenanceSchema, opensteerRequestBodyInputSchema, opensteerRequestEntrySchema, opensteerRequestExecuteInputSchema, opensteerRequestExecuteOutputSchema, opensteerRequestFailurePolicyHeaderMatchSchema, opensteerRequestFailurePolicySchema, opensteerRequestInputClassificationSchema, opensteerRequestInputDescriptorSchema, opensteerRequestInputExportPolicySchema, opensteerRequestInputLocationSchema, opensteerRequestInputMaterializationPolicySchema, opensteerRequestInputRequirednessSchema, opensteerRequestInputSourceSchema, opensteerRequestPlanAuthSchema, opensteerRequestPlanBodySchema, opensteerRequestPlanEndpointSchema, opensteerRequestPlanFreshnessSchema, opensteerRequestPlanParameterLocationSchema, opensteerRequestPlanParameterSchema, opensteerRequestPlanPayloadSchema, opensteerRequestPlanRecipeBindingSchema, opensteerRequestPlanRecipesSchema, opensteerRequestPlanRecordSchema, opensteerRequestPlanRecoverBindingSchema, opensteerRequestPlanResponseExpectationSchema, opensteerRequestPlanTransportSchema, opensteerRequestResponseResultSchema, opensteerRequestRetryBackoffPolicySchema, opensteerRequestRetryPolicySchema, opensteerRequestScalarSchema, opensteerRequestTransportResultSchema, opensteerRestEndpoints, opensteerReverseAdvisorySignalsSchema, opensteerReverseAdvisoryTagSchema, opensteerReverseAdvisoryTemplateSchema, opensteerReverseCandidateBoundarySchema, opensteerReverseCandidateRecordSchema, opensteerReverseCandidateReportItemSchema, opensteerReverseCasePayloadSchema, opensteerReverseCaseRecordSchema, opensteerReverseCaseStatusSchema, opensteerReverseChannelKindSchema, opensteerReverseConstraintKindSchema, opensteerReverseDiscoverInputSchema, opensteerReverseDiscoverOutputSchema, opensteerReverseExperimentRecordSchema, opensteerReverseExportInputSchema, opensteerReverseExportOutputSchema, opensteerReverseExportRecordSchema, opensteerReverseGuardRecordSchema, opensteerReverseManualCalibrationModeSchema, opensteerReverseObservationRecordSchema, opensteerReverseObservedRecordSchema, opensteerReversePackageCreateInputSchema, opensteerReversePackageCreateOutputSchema, opensteerReversePackageGetInputSchema, opensteerReversePackageGetOutputSchema, opensteerReversePackageKindSchema, opensteerReversePackageListInputSchema, opensteerReversePackageListOutputSchema, opensteerReversePackagePatchInputSchema, opensteerReversePackagePatchOutputSchema, opensteerReversePackagePayloadSchema, opensteerReversePackageReadinessSchema, opensteerReversePackageRecordSchema, opensteerReversePackageRequirementsSchema, opensteerReversePackageRunInputSchema, opensteerReversePackageRunOutputSchema, opensteerReverseQueryInputSchema, opensteerReverseQueryOutputSchema, opensteerReverseQueryViewSchema, opensteerReverseReplayRunRecordSchema, opensteerReverseReplayValidationSchema, opensteerReverseReportInputSchema, opensteerReverseReportKindSchema, opensteerReverseReportOutputSchema, opensteerReverseReportPayloadSchema, opensteerReverseReportRecordSchema, opensteerReverseRequirementKindSchema, opensteerReverseRequirementSchema, opensteerReverseRequirementStatusSchema, opensteerReverseSortDirectionSchema, opensteerReverseSortKeySchema, opensteerReverseSortPresetSchema, opensteerReverseSuggestedEditKindSchema, opensteerReverseSuggestedEditSchema, opensteerReverseTargetHintsSchema, opensteerReverseWorkflowStepKindSchema, opensteerReverseWorkflowStepSchema, opensteerRunAuthRecipeInputSchema, opensteerRunAuthRecipeOutputSchema, opensteerRunRecipeInputSchema, opensteerRunRecipeOutputSchema, opensteerRuntimeValueKeySchema, opensteerScriptBeautifyInputSchema, opensteerScriptBeautifyOutputSchema, opensteerScriptDeobfuscateInputSchema, opensteerScriptDeobfuscateOutputSchema, opensteerScriptSandboxInputSchema, opensteerScriptSandboxOutputSchema, opensteerSemanticOperationNames, opensteerSemanticOperationSpecificationMap, opensteerSemanticOperationSpecifications, opensteerSemanticRestEndpoints, opensteerSessionFetchInputSchema, opensteerSessionFetchOutputSchema, opensteerSessionGrantKinds, opensteerStateDeltaSchema, opensteerStateQueryInputSchema, opensteerStateQueryOutputSchema, opensteerStateSnapshotSchema, opensteerStateSourceKindSchema, opensteerStorageQueryInputSchema, opensteerStorageQueryOutputSchema, opensteerValidationRuleKindSchema, opensteerValidationRuleSchema, opensteerValueReferenceKindSchema, opensteerValueReferenceSchema, opensteerValueTemplateSchema, opensteerWriteAuthRecipeInputSchema, opensteerWriteRecipeInputSchema, opensteerWriteRequestPlanInputSchema, orderedHeadersSchema, pageInfoSchema, pageLifecycleStateSchema, pageRefSchema, parseOpensteerRef, pointSchema, quadSchema, recordSchema, rectSchema, requestEnvelopeSchema, resolveComputerUseBridge, resolveDomActionBridge, resolveRequiredCapabilities, resolveSemanticRequiredCapabilities, responseEnvelopeSchema, sandboxAjaxModeSchema, sandboxAjaxRouteSchema, sandboxCapturedAjaxCallSchema, sandboxFidelitySchema, screenshotArtifactSchema, screenshotFormatSchema, scriptSourceArtifactDataSchema, scrollOffsetSchema, sessionRefSchema, sessionStorageSnapshotSchema, shadowDomSnapshotModeSchema, sizeSchema, storageEntrySchema, storageOriginSnapshotSchema, storageSnapshotSchema, stringSchema, successEnvelopeSchema, toOpensteerError, traceBundleSchema, traceContextSchema, traceRecordSchema, transportKindSchema, unsupportedCapabilityError, unsupportedVersionError, validateJsonSchema, viewportMetricsSchema, visualViewportSchema, workerRefSchema };
7805
7750
  //# sourceMappingURL=index.js.map
7806
7751
  //# sourceMappingURL=index.js.map