@opensteer/protocol 0.7.5 → 0.7.7

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,294 @@ 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 opensteerReplayAttemptSchema = objectSchema(
1781
+ {
1782
+ transport: transportKindSchema,
1783
+ status: integerSchema({ minimum: 100, maximum: 599 }),
1784
+ ok: { type: "boolean" },
1785
+ durationMs: integerSchema({ minimum: 0 }),
1786
+ note: stringSchema(),
1787
+ error: stringSchema()
1788
+ },
1789
+ {
1790
+ title: "OpensteerReplayAttempt",
1791
+ required: ["transport", "ok", "durationMs"]
1792
+ }
1793
+ );
1794
+ var opensteerNetworkDetailOutputSchema = objectSchema(
1795
+ {
1796
+ recordId: stringSchema({ minLength: 1 }),
1797
+ capture: stringSchema({ minLength: 1 }),
1798
+ savedAt: integerSchema({ minimum: 0 }),
1799
+ summary: opensteerNetworkSummaryRecordSchema,
1800
+ requestHeaders: arraySchema(headerEntrySchema),
1801
+ responseHeaders: arraySchema(headerEntrySchema),
1802
+ cookiesSent: arraySchema(opensteerParsedCookieSchema),
1803
+ requestBody: opensteerStructuredBodyPreviewSchema,
1804
+ responseBody: opensteerStructuredBodyPreviewSchema,
1805
+ graphql: objectSchema(
1806
+ {
1807
+ operationType: enumSchema(["query", "mutation", "subscription", "unknown"]),
1808
+ operationName: stringSchema({ minLength: 1 }),
1809
+ persisted: { type: "boolean" },
1810
+ variables: jsonValueSchema
1811
+ },
1812
+ {
1813
+ title: "OpensteerGraphqlDetail"
1814
+ }
1815
+ ),
1816
+ redirectChain: arraySchema(opensteerNetworkRedirectHopSchema),
1817
+ notes: arraySchema(stringSchema()),
1818
+ transportProbe: objectSchema(
1819
+ {
1820
+ recommended: transportKindSchema,
1821
+ attempts: arraySchema(opensteerReplayAttemptSchema)
1822
+ },
1823
+ {
1824
+ title: "OpensteerTransportProbeResult",
1825
+ required: ["attempts"]
1826
+ }
1827
+ )
1828
+ },
1829
+ {
1830
+ title: "OpensteerNetworkDetailOutput",
1831
+ required: ["recordId", "summary", "requestHeaders", "responseHeaders"]
1832
+ }
1833
+ );
1834
+ var opensteerNetworkReplayInputSchema = objectSchema(
1835
+ {
1836
+ recordId: stringSchema({ minLength: 1 }),
1837
+ pageRef: pageRefSchema,
1838
+ query: opensteerRequestScalarMapSchema,
1839
+ headers: opensteerRequestScalarMapSchema,
1840
+ body: opensteerRequestBodyInputSchema,
1841
+ variables: jsonValueSchema
1842
+ },
1843
+ {
1844
+ title: "OpensteerNetworkReplayInput",
1845
+ required: ["recordId"]
1846
+ }
1847
+ );
1848
+ var opensteerNetworkReplayOutputSchema;
1849
+ var opensteerSessionFetchTransportSchema = enumSchema(
1850
+ ["auto", "direct", "matched-tls", "page"],
1851
+ {
1852
+ title: "OpensteerSessionFetchTransport"
1853
+ }
1854
+ );
1855
+ var opensteerSessionFetchInputSchema = objectSchema(
1856
+ {
1857
+ pageRef: pageRefSchema,
1858
+ url: stringSchema({ minLength: 1 }),
1859
+ method: stringSchema({ minLength: 1 }),
1860
+ query: opensteerRequestScalarMapSchema,
1861
+ headers: opensteerRequestScalarMapSchema,
1862
+ body: opensteerRequestBodyInputSchema,
1863
+ transport: opensteerSessionFetchTransportSchema,
1864
+ cookies: { type: "boolean" },
1865
+ followRedirects: { type: "boolean" }
1866
+ },
1867
+ {
1868
+ title: "OpensteerSessionFetchInput",
1869
+ required: ["url"]
1870
+ }
1871
+ );
1872
+ var opensteerSessionFetchOutputSchema;
1873
+ var opensteerCookieQueryInputSchema = objectSchema(
1874
+ {
1875
+ domain: stringSchema({ minLength: 1 })
1876
+ },
1877
+ {
1878
+ title: "OpensteerCookieQueryInput"
1879
+ }
1880
+ );
1881
+ var opensteerCookieQueryOutputSchema = objectSchema(
1882
+ {
1883
+ domain: stringSchema({ minLength: 1 }),
1884
+ cookies: arraySchema(cookieRecordSchema)
1885
+ },
1886
+ {
1887
+ title: "OpensteerCookieQueryOutput",
1888
+ required: ["cookies"]
1889
+ }
1890
+ );
1891
+ var opensteerStorageDomainSnapshotSchema = objectSchema(
1892
+ {
1893
+ domain: stringSchema({ minLength: 1 }),
1894
+ localStorage: arraySchema(storageEntrySchema),
1895
+ sessionStorage: arraySchema(storageEntrySchema)
1896
+ },
1897
+ {
1898
+ title: "OpensteerStorageDomainSnapshot",
1899
+ required: ["domain", "localStorage", "sessionStorage"]
1900
+ }
1901
+ );
1902
+ var opensteerStorageQueryInputSchema = objectSchema(
1903
+ {
1904
+ domain: stringSchema({ minLength: 1 })
1905
+ },
1906
+ {
1907
+ title: "OpensteerStorageQueryInput"
1908
+ }
1909
+ );
1910
+ var opensteerStorageQueryOutputSchema = objectSchema(
1911
+ {
1912
+ domains: arraySchema(opensteerStorageDomainSnapshotSchema)
1913
+ },
1914
+ {
1915
+ title: "OpensteerStorageQueryOutput",
1916
+ required: ["domains"]
1917
+ }
1918
+ );
1919
+ var opensteerHiddenFieldSchema = objectSchema(
1920
+ {
1921
+ path: stringSchema({ minLength: 1 }),
1922
+ name: stringSchema({ minLength: 1 }),
1923
+ value: stringSchema()
1924
+ },
1925
+ {
1926
+ title: "OpensteerHiddenField",
1927
+ required: ["path", "name", "value"]
1928
+ }
1929
+ );
1930
+ var opensteerStateDomainSnapshotSchema = objectSchema(
1931
+ {
1932
+ domain: stringSchema({ minLength: 1 }),
1933
+ cookies: arraySchema(cookieRecordSchema),
1934
+ hiddenFields: arraySchema(opensteerHiddenFieldSchema),
1935
+ localStorage: arraySchema(storageEntrySchema),
1936
+ sessionStorage: arraySchema(storageEntrySchema),
1937
+ globals: recordSchema(jsonValueSchema)
1938
+ },
1939
+ {
1940
+ title: "OpensteerStateDomainSnapshot",
1941
+ required: ["domain", "cookies", "hiddenFields", "localStorage", "sessionStorage"]
1942
+ }
1943
+ );
1944
+ var opensteerStateQueryInputSchema = objectSchema(
1945
+ {
1946
+ domain: stringSchema({ minLength: 1 })
1947
+ },
1948
+ {
1949
+ title: "OpensteerStateQueryInput"
1950
+ }
1951
+ );
1952
+ var opensteerStateQueryOutputSchema = objectSchema(
1953
+ {
1954
+ domains: arraySchema(opensteerStateDomainSnapshotSchema)
1955
+ },
1956
+ {
1957
+ title: "OpensteerStateQueryOutput",
1958
+ required: ["domains"]
1959
+ }
1960
+ );
1552
1961
  var opensteerNetworkTagInputSchema = objectSchema(
1553
1962
  {
1554
1963
  pageRef: pageRefSchema,
@@ -1784,6 +2193,33 @@ var opensteerRequestResponseResultSchema = objectSchema(
1784
2193
  required: ["url", "status", "statusText", "headers", "redirected"]
1785
2194
  }
1786
2195
  );
2196
+ opensteerNetworkReplayOutputSchema = objectSchema(
2197
+ {
2198
+ recordId: stringSchema({ minLength: 1 }),
2199
+ transport: transportKindSchema,
2200
+ attempts: arraySchema(opensteerReplayAttemptSchema),
2201
+ response: opensteerRequestResponseResultSchema,
2202
+ data: oneOfSchema([jsonValueSchema, stringSchema()]),
2203
+ note: stringSchema()
2204
+ },
2205
+ {
2206
+ title: "OpensteerNetworkReplayOutput",
2207
+ required: ["recordId", "attempts"]
2208
+ }
2209
+ );
2210
+ opensteerSessionFetchOutputSchema = objectSchema(
2211
+ {
2212
+ transport: transportKindSchema,
2213
+ attempts: arraySchema(opensteerReplayAttemptSchema),
2214
+ response: opensteerRequestResponseResultSchema,
2215
+ data: oneOfSchema([jsonValueSchema, stringSchema()]),
2216
+ note: stringSchema()
2217
+ },
2218
+ {
2219
+ title: "OpensteerSessionFetchOutput",
2220
+ required: ["attempts"]
2221
+ }
2222
+ );
1787
2223
  var opensteerRequestExecuteOutputSchema = objectSchema(
1788
2224
  {
1789
2225
  plan: objectSchema(
@@ -1840,154 +2276,15 @@ var opensteerRawRequestOutputSchema = objectSchema(
1840
2276
  }
1841
2277
  );
1842
2278
  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"]
1979
- }
1980
- );
1981
- var storageSnapshotSchema = objectSchema(
1982
- {
1983
- sessionRef: sessionRefSchema,
1984
- capturedAt: integerSchema({ minimum: 0 }),
1985
- origins: arraySchema(storageOriginSnapshotSchema),
1986
- sessionStorage: arraySchema(sessionStorageSnapshotSchema)
2279
+ {
2280
+ recordId: stringSchema({ minLength: 1 }),
2281
+ key: stringSchema({ minLength: 1 }),
2282
+ version: stringSchema({ minLength: 1 }),
2283
+ transport: transportKindSchema
1987
2284
  },
1988
2285
  {
1989
- title: "StorageSnapshot",
1990
- required: ["sessionRef", "capturedAt", "origins"]
2286
+ title: "OpensteerInferRequestPlanInput",
2287
+ required: ["recordId", "key", "version"]
1991
2288
  }
1992
2289
  );
1993
2290
  var screenshotFormatSchema = enumSchema(["png", "jpeg", "webp"], {
@@ -2480,12 +2777,7 @@ var cloudSessionStatuses = [
2480
2777
  "closed",
2481
2778
  "failed"
2482
2779
  ];
2483
- var cloudSessionRecordingStatuses = [
2484
- "idle",
2485
- "recording",
2486
- "completed",
2487
- "failed"
2488
- ];
2780
+ var cloudSessionRecordingStatuses = ["idle", "recording", "completed", "failed"];
2489
2781
  var cloudSessionSourceTypes = [
2490
2782
  "agent-thread",
2491
2783
  "agent-run",
@@ -4243,181 +4535,6 @@ var opensteerRestEndpoints = opensteerOperationSpecifications.map((spec) => ({
4243
4535
  responseSchema: responseEnvelopeSchema(spec.outputSchema, spec.name)
4244
4536
  }));
4245
4537
 
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
4538
  // src/scripts.ts
4422
4539
  var scriptTransformInputSchema = objectSchema(
4423
4540
  {
@@ -6164,14 +6281,14 @@ var targetByElementSchema = objectSchema(
6164
6281
  required: ["kind", "element"]
6165
6282
  }
6166
6283
  );
6167
- var targetByDescriptionSchema = objectSchema(
6284
+ var targetByPersistSchema = objectSchema(
6168
6285
  {
6169
- kind: enumSchema(["description"]),
6170
- description: stringSchema()
6286
+ kind: enumSchema(["persist"]),
6287
+ name: stringSchema()
6171
6288
  },
6172
6289
  {
6173
- title: "OpensteerInteractionTargetByDescription",
6174
- required: ["kind", "description"]
6290
+ title: "OpensteerInteractionTargetByPersist",
6291
+ required: ["kind", "name"]
6175
6292
  }
6176
6293
  );
6177
6294
  var targetBySelectorSchema = objectSchema(
@@ -6185,7 +6302,7 @@ var targetBySelectorSchema = objectSchema(
6185
6302
  }
6186
6303
  );
6187
6304
  var opensteerInteractionTargetInputSchema = oneOfSchema(
6188
- [targetByElementSchema, targetByDescriptionSchema, targetBySelectorSchema],
6305
+ [targetByElementSchema, targetByPersistSchema, targetBySelectorSchema],
6189
6306
  {
6190
6307
  title: "OpensteerInteractionTargetInput"
6191
6308
  }
@@ -6400,46 +6517,55 @@ var opensteerSemanticOperationNames = [
6400
6517
  "dom.scroll",
6401
6518
  "dom.extract",
6402
6519
  "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",
6520
+ "network.detail",
6417
6521
  "interaction.capture",
6418
6522
  "interaction.get",
6419
6523
  "interaction.diff",
6420
6524
  "interaction.replay",
6421
6525
  "artifact.read",
6422
- "inspect.cookies",
6423
- "inspect.storage",
6526
+ "session.cookies",
6527
+ "session.storage",
6528
+ "session.state",
6529
+ "session.fetch",
6530
+ "scripts.capture",
6531
+ "scripts.beautify",
6532
+ "scripts.deobfuscate",
6533
+ "scripts.sandbox",
6534
+ "captcha.solve",
6535
+ "computer.execute",
6536
+ "session.close"
6537
+ ];
6538
+ var opensteerExposedSemanticOperationNames = [
6539
+ "session.open",
6540
+ "page.list",
6541
+ "page.new",
6542
+ "page.activate",
6543
+ "page.close",
6544
+ "page.goto",
6545
+ "page.evaluate",
6546
+ "page.add-init-script",
6547
+ "page.snapshot",
6548
+ "dom.click",
6549
+ "dom.hover",
6550
+ "dom.input",
6551
+ "dom.scroll",
6552
+ "dom.extract",
6553
+ "network.query",
6554
+ "network.detail",
6555
+ "interaction.capture",
6556
+ "interaction.get",
6557
+ "interaction.diff",
6558
+ "interaction.replay",
6559
+ "artifact.read",
6560
+ "session.cookies",
6561
+ "session.storage",
6562
+ "session.state",
6563
+ "session.fetch",
6424
6564
  "scripts.capture",
6425
6565
  "scripts.beautify",
6426
6566
  "scripts.deobfuscate",
6427
6567
  "scripts.sandbox",
6428
6568
  "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
6569
  "computer.execute",
6444
6570
  "session.close"
6445
6571
  ];
@@ -6461,40 +6587,23 @@ var opensteerPackageRunnableSemanticOperationNames = /* @__PURE__ */ new Set([
6461
6587
  "dom.scroll",
6462
6588
  "dom.extract",
6463
6589
  "network.query",
6464
- "network.tag",
6465
- "network.clear",
6466
- "network.minimize",
6467
- "network.diff",
6468
- "network.probe",
6590
+ "network.detail",
6469
6591
  "interaction.capture",
6470
6592
  "interaction.get",
6471
6593
  "interaction.diff",
6472
6594
  "interaction.replay",
6473
6595
  "artifact.read",
6474
- "inspect.cookies",
6475
- "inspect.storage",
6596
+ "session.cookies",
6597
+ "session.storage",
6598
+ "session.state",
6599
+ "session.fetch",
6476
6600
  "scripts.capture",
6477
6601
  "scripts.beautify",
6478
6602
  "scripts.deobfuscate",
6479
6603
  "scripts.sandbox",
6480
6604
  "captcha.solve",
6481
- "request.raw",
6482
- "request.execute",
6483
6605
  "computer.execute"
6484
6606
  ]);
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
6607
  var snapshotModeSchema = enumSchema(["action", "extraction"], {
6499
6608
  title: "OpensteerSnapshotMode"
6500
6609
  });
@@ -6596,14 +6705,14 @@ var targetByElementSchema2 = objectSchema(
6596
6705
  required: ["kind", "element"]
6597
6706
  }
6598
6707
  );
6599
- var targetByDescriptionSchema2 = objectSchema(
6708
+ var targetByPersistSchema2 = objectSchema(
6600
6709
  {
6601
- kind: enumSchema(["description"]),
6602
- description: stringSchema()
6710
+ kind: enumSchema(["persist"]),
6711
+ persist: stringSchema()
6603
6712
  },
6604
6713
  {
6605
- title: "OpensteerTargetByDescription",
6606
- required: ["kind", "description"]
6714
+ title: "OpensteerTargetByPersist",
6715
+ required: ["kind", "persist"]
6607
6716
  }
6608
6717
  );
6609
6718
  var targetBySelectorSchema2 = objectSchema(
@@ -6617,7 +6726,7 @@ var targetBySelectorSchema2 = objectSchema(
6617
6726
  }
6618
6727
  );
6619
6728
  var opensteerTargetInputSchema = oneOfSchema(
6620
- [targetByElementSchema2, targetByDescriptionSchema2, targetBySelectorSchema2],
6729
+ [targetByElementSchema2, targetByPersistSchema2, targetBySelectorSchema2],
6621
6730
  {
6622
6731
  title: "OpensteerTargetInput"
6623
6732
  }
@@ -6631,7 +6740,7 @@ var opensteerResolvedTargetSchema = objectSchema(
6631
6740
  nodeRef: nodeRefSchema,
6632
6741
  tagName: stringSchema(),
6633
6742
  pathHint: stringSchema(),
6634
- description: stringSchema(),
6743
+ persist: stringSchema(),
6635
6744
  selectorUsed: stringSchema()
6636
6745
  },
6637
6746
  {
@@ -6650,8 +6759,7 @@ var opensteerResolvedTargetSchema = objectSchema(
6650
6759
  var opensteerActionResultSchema = objectSchema(
6651
6760
  {
6652
6761
  target: opensteerResolvedTargetSchema,
6653
- point: pointSchema,
6654
- persistedDescription: stringSchema()
6762
+ point: pointSchema
6655
6763
  },
6656
6764
  {
6657
6765
  title: "OpensteerActionResult",
@@ -6908,29 +7016,21 @@ var opensteerPageSnapshotOutputSchema = objectSchema(
6908
7016
  required: ["url", "title", "mode", "html", "counters"]
6909
7017
  }
6910
7018
  );
6911
- var opensteerInspectCookiesInputSchema = objectSchema(
7019
+ var opensteerNetworkDetailInputSchema = objectSchema(
6912
7020
  {
6913
- urls: arraySchema(stringSchema({ minLength: 1 }))
7021
+ recordId: stringSchema({ minLength: 1 })
6914
7022
  },
6915
7023
  {
6916
- title: "OpensteerInspectCookiesInput"
7024
+ title: "OpensteerNetworkDetailInput",
7025
+ required: ["recordId"]
6917
7026
  }
6918
7027
  );
6919
- var opensteerInspectCookiesOutputSchema = arraySchema(cookieRecordSchema, {
6920
- title: "OpensteerInspectCookiesOutput"
6921
- });
6922
- var opensteerInspectStorageInputSchema = objectSchema(
6923
- {
6924
- includeSessionStorage: { type: "boolean" },
6925
- includeIndexedDb: { type: "boolean" }
6926
- },
7028
+ var opensteerComputerMouseButtonSchema = enumSchema(
7029
+ ["left", "middle", "right"],
6927
7030
  {
6928
- title: "OpensteerInspectStorageInput"
7031
+ title: "OpensteerComputerMouseButton"
6929
7032
  }
6930
7033
  );
6931
- var opensteerComputerMouseButtonSchema = enumSchema(["left", "middle", "right"], {
6932
- title: "OpensteerComputerMouseButton"
6933
- });
6934
7034
  var opensteerComputerKeyModifierSchema = enumSchema(
6935
7035
  ["Shift", "Control", "Alt", "Meta"],
6936
7036
  {
@@ -6945,7 +7045,7 @@ var opensteerDomClickInputSchema = objectSchema(
6945
7045
  modifiers: arraySchema(opensteerComputerKeyModifierSchema, {
6946
7046
  uniqueItems: true
6947
7047
  }),
6948
- persistAsDescription: stringSchema(),
7048
+ persist: stringSchema(),
6949
7049
  captureNetwork: stringSchema({ minLength: 1 })
6950
7050
  },
6951
7051
  {
@@ -6956,7 +7056,7 @@ var opensteerDomClickInputSchema = objectSchema(
6956
7056
  var opensteerDomHoverInputSchema = objectSchema(
6957
7057
  {
6958
7058
  target: opensteerTargetInputSchema,
6959
- persistAsDescription: stringSchema(),
7059
+ persist: stringSchema(),
6960
7060
  captureNetwork: stringSchema({ minLength: 1 })
6961
7061
  },
6962
7062
  {
@@ -6969,7 +7069,7 @@ var opensteerDomInputInputSchema = objectSchema(
6969
7069
  target: opensteerTargetInputSchema,
6970
7070
  text: stringSchema(),
6971
7071
  pressEnter: { type: "boolean" },
6972
- persistAsDescription: stringSchema(),
7072
+ persist: stringSchema(),
6973
7073
  captureNetwork: stringSchema({ minLength: 1 })
6974
7074
  },
6975
7075
  {
@@ -6982,7 +7082,7 @@ var opensteerDomScrollInputSchema = objectSchema(
6982
7082
  target: opensteerTargetInputSchema,
6983
7083
  direction: enumSchema(["up", "down", "left", "right"]),
6984
7084
  amount: integerSchema({ minimum: 1 }),
6985
- persistAsDescription: stringSchema(),
7085
+ persist: stringSchema(),
6986
7086
  captureNetwork: stringSchema({ minLength: 1 })
6987
7087
  },
6988
7088
  {
@@ -6997,16 +7097,18 @@ var opensteerExtractSchemaSchema = objectSchema(
6997
7097
  additionalProperties: true
6998
7098
  }
6999
7099
  );
7000
- var opensteerDomExtractInputSchema = objectSchema(
7001
- {
7002
- description: stringSchema(),
7003
- schema: opensteerExtractSchemaSchema
7004
- },
7005
- {
7006
- title: "OpensteerDomExtractInput",
7007
- required: ["description"]
7008
- }
7009
- );
7100
+ var opensteerDomExtractInputSchema = defineSchema({
7101
+ ...objectSchema(
7102
+ {
7103
+ persist: stringSchema(),
7104
+ schema: opensteerExtractSchemaSchema
7105
+ },
7106
+ {
7107
+ title: "OpensteerDomExtractInput"
7108
+ }
7109
+ ),
7110
+ anyOf: [defineSchema({ required: ["persist"] }), defineSchema({ required: ["schema"] })]
7111
+ });
7010
7112
  var jsonValueSchema3 = recordSchema({}, { title: "JsonValueRecord" });
7011
7113
  var opensteerDomExtractOutputSchema = objectSchema(
7012
7114
  {
@@ -7369,116 +7471,24 @@ var opensteerSemanticOperationSpecificationsBase = [
7369
7471
  }),
7370
7472
  defineSemanticOperationSpec({
7371
7473
  name: "dom.extract",
7372
- description: "Run structured DOM extraction with persisted Opensteer extraction descriptors.",
7474
+ description: "Run structured DOM extraction and optionally persist the extraction descriptor for replay.",
7373
7475
  inputSchema: opensteerDomExtractInputSchema,
7374
7476
  outputSchema: opensteerDomExtractOutputSchema,
7375
7477
  requiredCapabilities: ["inspect.domSnapshot", "inspect.text", "inspect.attributes"]
7376
7478
  }),
7377
7479
  defineSemanticOperationSpec({
7378
7480
  name: "network.query",
7379
- description: "Query persisted network records for reverse engineering workflows.",
7481
+ description: "Query captured network traffic with chronological summaries optimized for agent inspection.",
7380
7482
  inputSchema: opensteerNetworkQueryInputSchema,
7381
7483
  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: []
7484
+ requiredCapabilities: ["inspect.network"]
7454
7485
  }),
7455
7486
  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: []
7468
- }),
7469
- 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: []
7475
- }),
7476
- 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: []
7487
+ name: "network.detail",
7488
+ description: "Inspect one captured network record with parsed headers, cookies, redirects, and truncated bodies.",
7489
+ inputSchema: opensteerNetworkDetailInputSchema,
7490
+ outputSchema: opensteerNetworkDetailOutputSchema,
7491
+ requiredCapabilities: ["inspect.network", "inspect.networkBodies"]
7482
7492
  }),
7483
7493
  defineSemanticOperationSpec({
7484
7494
  name: "interaction.capture",
@@ -7551,127 +7561,49 @@ var opensteerSemanticOperationSpecificationsBase = [
7551
7561
  requiredCapabilities: ["pages.manage"]
7552
7562
  }),
7553
7563
  defineSemanticOperationSpec({
7554
- name: "inspect.cookies",
7555
- description: "Read cookies from the current browser session.",
7556
- inputSchema: opensteerInspectCookiesInputSchema,
7557
- outputSchema: opensteerInspectCookiesOutputSchema,
7564
+ name: "session.cookies",
7565
+ description: "Read browser cookies for the active page domain or an explicitly selected domain.",
7566
+ inputSchema: opensteerCookieQueryInputSchema,
7567
+ outputSchema: opensteerCookieQueryOutputSchema,
7558
7568
  requiredCapabilities: ["inspect.cookies"]
7559
7569
  }),
7560
7570
  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: []
7647
- }),
7648
- 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: []
7571
+ name: "session.storage",
7572
+ description: "Read localStorage and sessionStorage grouped by domain for the active browser session.",
7573
+ inputSchema: opensteerStorageQueryInputSchema,
7574
+ outputSchema: opensteerStorageQueryOutputSchema,
7575
+ requiredCapabilities: ["inspect.localStorage", "inspect.sessionStorage"]
7661
7576
  }),
7662
7577
  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: []
7578
+ name: "session.state",
7579
+ description: "Read browser cookies, storage, hidden fields, and selected page globals grouped by domain.",
7580
+ inputSchema: opensteerStateQueryInputSchema,
7581
+ outputSchema: opensteerStateQueryOutputSchema,
7582
+ requiredCapabilities: [
7583
+ "inspect.cookies",
7584
+ "inspect.localStorage",
7585
+ "inspect.sessionStorage",
7586
+ "pages.manage"
7587
+ ]
7668
7588
  }),
7669
7589
  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: []
7590
+ name: "session.fetch",
7591
+ description: "Execute a session-aware HTTP request with browser cookies and automatic transport selection.",
7592
+ inputSchema: opensteerSessionFetchInputSchema,
7593
+ outputSchema: opensteerSessionFetchOutputSchema,
7594
+ requiredCapabilities: [],
7595
+ resolveRequiredCapabilities: (input) => {
7596
+ switch (input.transport ?? "auto") {
7597
+ case "direct":
7598
+ return [];
7599
+ case "matched-tls":
7600
+ return ["inspect.cookies"];
7601
+ case "page":
7602
+ return ["pages.manage"];
7603
+ case "auto":
7604
+ return ["inspect.cookies", "pages.manage"];
7605
+ }
7606
+ }
7675
7607
  }),
7676
7608
  defineSemanticOperationSpec({
7677
7609
  name: "computer.execute",
@@ -7709,12 +7641,18 @@ var opensteerSemanticOperationSpecificationsBase = [
7709
7641
  requiredCapabilities: ["sessions.manage"]
7710
7642
  })
7711
7643
  ];
7712
- var opensteerSemanticOperationSpecifications = opensteerSemanticOperationSpecificationsBase.map((spec) => ({
7644
+ var exposedSemanticOperationNameSet = new Set(
7645
+ opensteerExposedSemanticOperationNames
7646
+ );
7647
+ var opensteerSemanticOperationSpecificationsInternal = opensteerSemanticOperationSpecificationsBase.map((spec) => ({
7713
7648
  ...spec,
7714
7649
  packageRunnable: opensteerPackageRunnableSemanticOperationNames.has(spec.name)
7715
7650
  }));
7651
+ var opensteerSemanticOperationSpecifications = opensteerSemanticOperationSpecificationsInternal.filter(
7652
+ (spec) => exposedSemanticOperationNameSet.has(spec.name)
7653
+ );
7716
7654
  var opensteerSemanticOperationSpecificationMap = Object.fromEntries(
7717
- opensteerSemanticOperationSpecifications.map((spec) => [spec.name, spec])
7655
+ opensteerSemanticOperationSpecificationsInternal.map((spec) => [spec.name, spec])
7718
7656
  );
7719
7657
  var semanticRestBasePath = `${OPENSTEER_PROTOCOL_REST_BASE_PATH}/semantic`;
7720
7658
  var opensteerSemanticRestEndpoints = opensteerSemanticOperationSpecifications.map((spec) => ({
@@ -7731,13 +7669,12 @@ var readOnlyOperations = /* @__PURE__ */ new Set([
7731
7669
  "page.snapshot",
7732
7670
  "dom.extract",
7733
7671
  "network.query",
7734
- "request-plan.get",
7735
- "request-plan.list"
7736
- ]);
7737
- var destructiveOperations = /* @__PURE__ */ new Set([
7738
- "network.clear",
7739
- "session.close"
7672
+ "network.detail",
7673
+ "session.cookies",
7674
+ "session.storage",
7675
+ "session.state"
7740
7676
  ]);
7677
+ var destructiveOperations = /* @__PURE__ */ new Set(["session.close"]);
7741
7678
  function toolNameFromOperation(operation) {
7742
7679
  return `opensteer_${operation.replaceAll(".", "_").replaceAll("-", "_")}`;
7743
7680
  }
@@ -7801,6 +7738,6 @@ function resolveDomActionBridge(engine) {
7801
7738
  return isDomActionBridgeFactory(candidate) ? candidate.call(engine) : void 0;
7802
7739
  }
7803
7740
 
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 };
7741
+ 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
7742
  //# sourceMappingURL=index.js.map
7806
7743
  //# sourceMappingURL=index.js.map