opensteer 0.9.4 → 0.9.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/{chunk-ZRF7WMS3.js → chunk-3I3A5OLB.js} +3 -3
- package/dist/{chunk-ZRF7WMS3.js.map → chunk-3I3A5OLB.js.map} +1 -1
- package/dist/{chunk-GSCQQKZZ.js → chunk-3XBQRZZC.js} +221 -6
- package/dist/chunk-3XBQRZZC.js.map +1 -0
- package/dist/{chunk-GEUHKPC2.js → chunk-BVRIPCWA.js} +878 -572
- package/dist/chunk-BVRIPCWA.js.map +1 -0
- package/dist/chunk-L4NF74KI.js +458 -0
- package/dist/chunk-L4NF74KI.js.map +1 -0
- package/dist/cli/bin.cjs +1313 -494
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +235 -108
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +1152 -647
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -460
- package/dist/index.d.ts +37 -460
- package/dist/index.js +3 -4
- package/dist/local-view/serve-entry.cjs +5354 -4
- package/dist/local-view/serve-entry.cjs.map +1 -1
- package/dist/local-view/serve-entry.js +1 -1
- package/dist/opensteer-UGA6YBRN.js +6 -0
- package/dist/{opensteer-PJI7VUIT.js.map → opensteer-UGA6YBRN.js.map} +1 -1
- package/dist/{session-control-M3JD7ZKA.js → session-control-U3L5H2ZI.js} +3 -3
- package/dist/{session-control-M3JD7ZKA.js.map → session-control-U3L5H2ZI.js.map} +1 -1
- package/package.json +7 -7
- package/skills/opensteer/SKILL.md +134 -94
- package/dist/chunk-GEUHKPC2.js.map +0 -1
- package/dist/chunk-GSCQQKZZ.js.map +0 -1
- package/dist/chunk-HQCMXRBE.js +0 -335
- package/dist/chunk-HQCMXRBE.js.map +0 -1
- package/dist/chunk-KCINASQC.js +0 -3
- package/dist/chunk-KCINASQC.js.map +0 -1
- package/dist/opensteer-PJI7VUIT.js +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OpensteerEngineFactory, DomDescriptorStore as DomDescriptorStore$1, OpensteerExtractionDescriptorStore as OpensteerExtractionDescriptorStore$1
|
|
1
|
+
import { OpensteerEngineFactory, DomDescriptorStore as DomDescriptorStore$1, OpensteerExtractionDescriptorStore as OpensteerExtractionDescriptorStore$1 } from '@opensteer/runtime-core';
|
|
2
2
|
export { OpensteerEngineFactory, OpensteerEngineFactoryOptions, OpensteerRuntimeWorkspace } from '@opensteer/runtime-core';
|
|
3
3
|
|
|
4
4
|
type JsonPrimitive$1 = boolean | number | string | null;
|
|
@@ -935,12 +935,6 @@ interface OpensteerRequestPlanPayload {
|
|
|
935
935
|
readonly retryPolicy?: OpensteerRequestRetryPolicy;
|
|
936
936
|
readonly auth?: OpensteerRequestPlanAuth;
|
|
937
937
|
}
|
|
938
|
-
interface OpensteerRegistryProvenance {
|
|
939
|
-
readonly source: string;
|
|
940
|
-
readonly sourceId?: string;
|
|
941
|
-
readonly capturedAt?: number;
|
|
942
|
-
readonly notes?: string;
|
|
943
|
-
}
|
|
944
938
|
interface OpensteerRequestPlanFreshness {
|
|
945
939
|
readonly lastValidatedAt?: number;
|
|
946
940
|
readonly staleAt?: number;
|
|
@@ -1031,10 +1025,6 @@ interface OpensteerNetworkDetailOutput {
|
|
|
1031
1025
|
readonly attempts: readonly OpensteerReplayAttempt[];
|
|
1032
1026
|
};
|
|
1033
1027
|
}
|
|
1034
|
-
interface OpensteerNetworkDetailInput {
|
|
1035
|
-
readonly recordId: string;
|
|
1036
|
-
readonly probe?: boolean;
|
|
1037
|
-
}
|
|
1038
1028
|
interface OpensteerReplayAttempt {
|
|
1039
1029
|
readonly transport: TransportKind;
|
|
1040
1030
|
readonly status?: number;
|
|
@@ -1055,32 +1045,7 @@ interface OpensteerSessionFetchInput {
|
|
|
1055
1045
|
readonly cookies?: boolean;
|
|
1056
1046
|
readonly followRedirects?: boolean;
|
|
1057
1047
|
}
|
|
1058
|
-
interface OpensteerSessionFetchOutput {
|
|
1059
|
-
readonly transport?: TransportKind;
|
|
1060
|
-
readonly attempts: readonly OpensteerReplayAttempt[];
|
|
1061
|
-
readonly response?: OpensteerRequestResponseResult;
|
|
1062
|
-
readonly data?: JsonValue$1 | string;
|
|
1063
|
-
readonly note?: string;
|
|
1064
|
-
}
|
|
1065
|
-
interface OpensteerCookieQueryInput {
|
|
1066
|
-
readonly domain?: string;
|
|
1067
|
-
}
|
|
1068
|
-
interface OpensteerCookieQueryOutput {
|
|
1069
|
-
readonly domain?: string;
|
|
1070
|
-
readonly cookies: readonly CookieRecord[];
|
|
1071
|
-
}
|
|
1072
1048
|
type OpensteerStorageArea = "local" | "session";
|
|
1073
|
-
interface OpensteerStorageQueryInput {
|
|
1074
|
-
readonly domain?: string;
|
|
1075
|
-
}
|
|
1076
|
-
interface OpensteerStorageDomainSnapshot {
|
|
1077
|
-
readonly domain: string;
|
|
1078
|
-
readonly localStorage: readonly StorageEntry[];
|
|
1079
|
-
readonly sessionStorage: readonly StorageEntry[];
|
|
1080
|
-
}
|
|
1081
|
-
interface OpensteerStorageQueryOutput {
|
|
1082
|
-
readonly domains: readonly OpensteerStorageDomainSnapshot[];
|
|
1083
|
-
}
|
|
1084
1049
|
interface OpensteerHiddenField {
|
|
1085
1050
|
readonly path: string;
|
|
1086
1051
|
readonly name: string;
|
|
@@ -1094,9 +1059,6 @@ interface OpensteerStateDomainSnapshot {
|
|
|
1094
1059
|
readonly sessionStorage: readonly StorageEntry[];
|
|
1095
1060
|
readonly globals?: Readonly<Record<string, JsonValue$1>>;
|
|
1096
1061
|
}
|
|
1097
|
-
interface OpensteerStateQueryInput {
|
|
1098
|
-
readonly domain?: string;
|
|
1099
|
-
}
|
|
1100
1062
|
interface OpensteerStateQueryOutput {
|
|
1101
1063
|
readonly domains: readonly OpensteerStateDomainSnapshot[];
|
|
1102
1064
|
}
|
|
@@ -1114,14 +1076,6 @@ interface OpensteerBase64RequestBodyInput {
|
|
|
1114
1076
|
readonly contentType?: string;
|
|
1115
1077
|
}
|
|
1116
1078
|
type OpensteerRequestBodyInput = OpensteerJsonRequestBodyInput | OpensteerTextRequestBodyInput | OpensteerBase64RequestBodyInput;
|
|
1117
|
-
interface OpensteerRequestResponseResult {
|
|
1118
|
-
readonly url: string;
|
|
1119
|
-
readonly status: number;
|
|
1120
|
-
readonly statusText: string;
|
|
1121
|
-
readonly headers: readonly HeaderEntry[];
|
|
1122
|
-
readonly body?: BodyPayload;
|
|
1123
|
-
readonly redirected: boolean;
|
|
1124
|
-
}
|
|
1125
1079
|
|
|
1126
1080
|
interface OpensteerStateSnapshot {
|
|
1127
1081
|
readonly id: string;
|
|
@@ -1385,6 +1339,20 @@ interface OpensteerError {
|
|
|
1385
1339
|
readonly capability?: OpensteerCapability;
|
|
1386
1340
|
readonly details?: Readonly<Record<string, unknown>>;
|
|
1387
1341
|
}
|
|
1342
|
+
interface OpensteerErrorOptions {
|
|
1343
|
+
readonly cause?: unknown;
|
|
1344
|
+
readonly retriable?: boolean;
|
|
1345
|
+
readonly capability?: OpensteerCapability;
|
|
1346
|
+
readonly details?: Readonly<Record<string, unknown>>;
|
|
1347
|
+
}
|
|
1348
|
+
declare class OpensteerProtocolError extends Error {
|
|
1349
|
+
readonly code: OpensteerErrorCode;
|
|
1350
|
+
readonly retriable: boolean;
|
|
1351
|
+
readonly capability: OpensteerCapability | undefined;
|
|
1352
|
+
readonly details: Readonly<Record<string, unknown>> | undefined;
|
|
1353
|
+
constructor(code: OpensteerErrorCode, message: string, options?: OpensteerErrorOptions);
|
|
1354
|
+
}
|
|
1355
|
+
declare function isOpensteerProtocolError(value: unknown): value is OpensteerProtocolError;
|
|
1388
1356
|
|
|
1389
1357
|
type OpensteerArtifactKind = "screenshot" | "html-snapshot" | "dom-snapshot" | "cookies" | "storage-snapshot" | "script-source";
|
|
1390
1358
|
type ArtifactRelation = "result" | "before" | "after" | "capture" | "evidence" | "snapshot";
|
|
@@ -1448,35 +1416,6 @@ interface ArtifactReference {
|
|
|
1448
1416
|
readonly kind: OpensteerArtifactKind;
|
|
1449
1417
|
readonly relation: ArtifactRelation;
|
|
1450
1418
|
}
|
|
1451
|
-
interface OpensteerArtifactReadInput {
|
|
1452
|
-
readonly artifactId: string;
|
|
1453
|
-
}
|
|
1454
|
-
interface OpensteerArtifactReadOutput {
|
|
1455
|
-
readonly artifact: OpensteerArtifact;
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
type CaptchaType = "recaptcha-v2" | "hcaptcha" | "turnstile";
|
|
1459
|
-
type CaptchaProvider = "2captcha" | "capsolver";
|
|
1460
|
-
interface CaptchaDetectionResult {
|
|
1461
|
-
readonly type: CaptchaType;
|
|
1462
|
-
readonly siteKey: string;
|
|
1463
|
-
readonly pageUrl: string;
|
|
1464
|
-
}
|
|
1465
|
-
interface OpensteerCaptchaSolveInput {
|
|
1466
|
-
readonly provider: CaptchaProvider;
|
|
1467
|
-
readonly apiKey: string;
|
|
1468
|
-
readonly pageRef?: PageRef;
|
|
1469
|
-
readonly timeoutMs?: number;
|
|
1470
|
-
readonly type?: CaptchaType;
|
|
1471
|
-
readonly siteKey?: string;
|
|
1472
|
-
readonly pageUrl?: string;
|
|
1473
|
-
}
|
|
1474
|
-
interface OpensteerCaptchaSolveOutput {
|
|
1475
|
-
readonly captcha: CaptchaDetectionResult;
|
|
1476
|
-
readonly token: string;
|
|
1477
|
-
readonly injected: boolean;
|
|
1478
|
-
readonly provider: CaptchaProvider;
|
|
1479
|
-
}
|
|
1480
1419
|
|
|
1481
1420
|
type TraceOutcome = "ok" | "error";
|
|
1482
1421
|
interface TraceContext {
|
|
@@ -1622,7 +1561,6 @@ interface ObservationSink {
|
|
|
1622
1561
|
openSession(input: OpenObservationSessionInput): Promise<SessionObservationSink>;
|
|
1623
1562
|
}
|
|
1624
1563
|
|
|
1625
|
-
type OpensteerSnapshotMode = "action" | "extraction";
|
|
1626
1564
|
interface OpensteerBrowserLaunchOptions {
|
|
1627
1565
|
readonly headless?: boolean;
|
|
1628
1566
|
readonly executablePath?: string;
|
|
@@ -1690,19 +1628,6 @@ interface OpensteerStealthProfileInput {
|
|
|
1690
1628
|
readonly locale?: string;
|
|
1691
1629
|
readonly timezoneId?: string;
|
|
1692
1630
|
}
|
|
1693
|
-
interface OpensteerTargetByElement {
|
|
1694
|
-
readonly kind: "element";
|
|
1695
|
-
readonly element: number;
|
|
1696
|
-
}
|
|
1697
|
-
interface OpensteerTargetByPersist {
|
|
1698
|
-
readonly kind: "persist";
|
|
1699
|
-
readonly persist: string;
|
|
1700
|
-
}
|
|
1701
|
-
interface OpensteerTargetBySelector {
|
|
1702
|
-
readonly kind: "selector";
|
|
1703
|
-
readonly selector: string;
|
|
1704
|
-
}
|
|
1705
|
-
type OpensteerTargetInput = OpensteerTargetByElement | OpensteerTargetByPersist | OpensteerTargetBySelector;
|
|
1706
1631
|
interface OpensteerResolvedTarget {
|
|
1707
1632
|
readonly pageRef: PageRef;
|
|
1708
1633
|
readonly frameRef: FrameRef;
|
|
@@ -1721,24 +1646,6 @@ interface OpensteerActionResult {
|
|
|
1721
1646
|
readonly y: number;
|
|
1722
1647
|
};
|
|
1723
1648
|
}
|
|
1724
|
-
interface OpensteerSnapshotCounter {
|
|
1725
|
-
readonly element: number;
|
|
1726
|
-
readonly pageRef: PageRef;
|
|
1727
|
-
readonly frameRef: FrameRef;
|
|
1728
|
-
readonly documentRef: DocumentRef;
|
|
1729
|
-
readonly documentEpoch: DocumentEpoch;
|
|
1730
|
-
readonly nodeRef?: NodeRef;
|
|
1731
|
-
readonly tagName: string;
|
|
1732
|
-
readonly pathHint: string;
|
|
1733
|
-
readonly text?: string;
|
|
1734
|
-
readonly attributes?: readonly {
|
|
1735
|
-
readonly name: string;
|
|
1736
|
-
readonly value: string;
|
|
1737
|
-
}[];
|
|
1738
|
-
readonly iframeDepth: number;
|
|
1739
|
-
readonly shadowDepth: number;
|
|
1740
|
-
readonly interactive: boolean;
|
|
1741
|
-
}
|
|
1742
1649
|
interface OpensteerSessionState {
|
|
1743
1650
|
readonly sessionRef: SessionRef;
|
|
1744
1651
|
readonly pageRef: PageRef;
|
|
@@ -1804,66 +1711,6 @@ interface OpensteerAddInitScriptOutput {
|
|
|
1804
1711
|
readonly sessionRef: SessionRef;
|
|
1805
1712
|
readonly pageRef?: PageRef;
|
|
1806
1713
|
}
|
|
1807
|
-
interface OpensteerCaptureScriptsInput {
|
|
1808
|
-
readonly pageRef?: PageRef;
|
|
1809
|
-
readonly includeInline?: boolean;
|
|
1810
|
-
readonly includeExternal?: boolean;
|
|
1811
|
-
readonly includeDynamic?: boolean;
|
|
1812
|
-
readonly includeWorkers?: boolean;
|
|
1813
|
-
readonly urlFilter?: string;
|
|
1814
|
-
readonly persist?: boolean;
|
|
1815
|
-
}
|
|
1816
|
-
interface OpensteerCapturedScript extends ScriptSourceArtifactData {
|
|
1817
|
-
readonly artifactId?: string;
|
|
1818
|
-
}
|
|
1819
|
-
interface OpensteerCaptureScriptsOutput {
|
|
1820
|
-
readonly pageRef: PageRef;
|
|
1821
|
-
readonly scripts: readonly OpensteerCapturedScript[];
|
|
1822
|
-
}
|
|
1823
|
-
interface OpensteerPageSnapshotInput {
|
|
1824
|
-
readonly mode?: OpensteerSnapshotMode;
|
|
1825
|
-
}
|
|
1826
|
-
interface OpensteerPageSnapshotOutput {
|
|
1827
|
-
readonly url: string;
|
|
1828
|
-
readonly title: string;
|
|
1829
|
-
readonly mode: OpensteerSnapshotMode;
|
|
1830
|
-
readonly html: string;
|
|
1831
|
-
readonly counters: readonly OpensteerSnapshotCounter[];
|
|
1832
|
-
}
|
|
1833
|
-
interface OpensteerDomClickInput {
|
|
1834
|
-
readonly target: OpensteerTargetInput;
|
|
1835
|
-
readonly button?: OpensteerComputerMouseButton;
|
|
1836
|
-
readonly clickCount?: number;
|
|
1837
|
-
readonly modifiers?: readonly OpensteerComputerKeyModifier[];
|
|
1838
|
-
readonly persist?: string;
|
|
1839
|
-
readonly captureNetwork?: string;
|
|
1840
|
-
}
|
|
1841
|
-
interface OpensteerDomHoverInput {
|
|
1842
|
-
readonly target: OpensteerTargetInput;
|
|
1843
|
-
readonly persist?: string;
|
|
1844
|
-
readonly captureNetwork?: string;
|
|
1845
|
-
}
|
|
1846
|
-
interface OpensteerDomInputInput {
|
|
1847
|
-
readonly target: OpensteerTargetInput;
|
|
1848
|
-
readonly text: string;
|
|
1849
|
-
readonly pressEnter?: boolean;
|
|
1850
|
-
readonly persist?: string;
|
|
1851
|
-
readonly captureNetwork?: string;
|
|
1852
|
-
}
|
|
1853
|
-
interface OpensteerDomScrollInput {
|
|
1854
|
-
readonly target: OpensteerTargetInput;
|
|
1855
|
-
readonly direction: "up" | "down" | "left" | "right";
|
|
1856
|
-
readonly amount: number;
|
|
1857
|
-
readonly persist?: string;
|
|
1858
|
-
readonly captureNetwork?: string;
|
|
1859
|
-
}
|
|
1860
|
-
interface OpensteerDomExtractInput {
|
|
1861
|
-
readonly persist?: string;
|
|
1862
|
-
readonly schema?: Readonly<Record<string, unknown>>;
|
|
1863
|
-
}
|
|
1864
|
-
interface OpensteerDomExtractOutput {
|
|
1865
|
-
readonly data: JsonValue$1;
|
|
1866
|
-
}
|
|
1867
1714
|
interface OpensteerSessionCloseOutput {
|
|
1868
1715
|
readonly closed: true;
|
|
1869
1716
|
}
|
|
@@ -2006,87 +1853,6 @@ interface OpensteerSessionInfo {
|
|
|
2006
1853
|
readonly runtime?: OpensteerRuntimeVersionInfo;
|
|
2007
1854
|
}
|
|
2008
1855
|
|
|
2009
|
-
interface OpensteerScriptBeautifyInput {
|
|
2010
|
-
readonly artifactId?: string;
|
|
2011
|
-
readonly content?: string;
|
|
2012
|
-
readonly persist?: boolean;
|
|
2013
|
-
}
|
|
2014
|
-
interface OpensteerScriptBeautifyOutput {
|
|
2015
|
-
readonly content: string;
|
|
2016
|
-
readonly artifactId?: string;
|
|
2017
|
-
readonly bytesBefore: number;
|
|
2018
|
-
readonly bytesAfter: number;
|
|
2019
|
-
}
|
|
2020
|
-
interface OpensteerScriptDeobfuscateInput {
|
|
2021
|
-
readonly artifactId?: string;
|
|
2022
|
-
readonly content?: string;
|
|
2023
|
-
readonly persist?: boolean;
|
|
2024
|
-
}
|
|
2025
|
-
interface OpensteerScriptDeobfuscateOutput {
|
|
2026
|
-
readonly content: string;
|
|
2027
|
-
readonly artifactId?: string;
|
|
2028
|
-
readonly transforms: readonly string[];
|
|
2029
|
-
readonly bytesBefore: number;
|
|
2030
|
-
readonly bytesAfter: number;
|
|
2031
|
-
}
|
|
2032
|
-
type SandboxFidelity = "minimal" | "standard" | "full";
|
|
2033
|
-
type SandboxAjaxMode = "passthrough" | "capture" | "mock";
|
|
2034
|
-
interface SandboxAjaxRoute {
|
|
2035
|
-
readonly urlPattern: string;
|
|
2036
|
-
readonly mode: SandboxAjaxMode;
|
|
2037
|
-
readonly mockResponse?: {
|
|
2038
|
-
readonly status: number;
|
|
2039
|
-
readonly headers?: Readonly<Record<string, string>>;
|
|
2040
|
-
readonly body?: string;
|
|
2041
|
-
};
|
|
2042
|
-
}
|
|
2043
|
-
interface OpensteerScriptSandboxInput {
|
|
2044
|
-
readonly artifactId?: string;
|
|
2045
|
-
readonly content?: string;
|
|
2046
|
-
readonly fidelity?: SandboxFidelity;
|
|
2047
|
-
readonly ajaxRoutes?: readonly SandboxAjaxRoute[];
|
|
2048
|
-
readonly cookies?: Readonly<Record<string, string>>;
|
|
2049
|
-
readonly globals?: Readonly<Record<string, unknown>>;
|
|
2050
|
-
readonly timeoutMs?: number;
|
|
2051
|
-
readonly clockMode?: "real" | "manual";
|
|
2052
|
-
}
|
|
2053
|
-
interface SandboxCapturedAjaxCall {
|
|
2054
|
-
readonly method: string;
|
|
2055
|
-
readonly url: string;
|
|
2056
|
-
readonly headers: Readonly<Record<string, string>>;
|
|
2057
|
-
readonly body?: string;
|
|
2058
|
-
readonly timestamp: number;
|
|
2059
|
-
}
|
|
2060
|
-
interface OpensteerScriptSandboxOutput {
|
|
2061
|
-
readonly result?: unknown;
|
|
2062
|
-
readonly capturedAjax: readonly SandboxCapturedAjaxCall[];
|
|
2063
|
-
readonly errors: readonly string[];
|
|
2064
|
-
readonly durationMs: number;
|
|
2065
|
-
}
|
|
2066
|
-
|
|
2067
|
-
type OpensteerInteractionCaptureStep = {
|
|
2068
|
-
readonly kind: "goto";
|
|
2069
|
-
readonly url: string;
|
|
2070
|
-
} | {
|
|
2071
|
-
readonly kind: "click";
|
|
2072
|
-
readonly target: OpensteerTargetInput;
|
|
2073
|
-
} | {
|
|
2074
|
-
readonly kind: "hover";
|
|
2075
|
-
readonly target: OpensteerTargetInput;
|
|
2076
|
-
} | {
|
|
2077
|
-
readonly kind: "input";
|
|
2078
|
-
readonly target: OpensteerTargetInput;
|
|
2079
|
-
readonly text: string;
|
|
2080
|
-
readonly pressEnter?: boolean;
|
|
2081
|
-
} | {
|
|
2082
|
-
readonly kind: "scroll";
|
|
2083
|
-
readonly target: OpensteerTargetInput;
|
|
2084
|
-
readonly direction: "up" | "down" | "left" | "right";
|
|
2085
|
-
readonly amount: number;
|
|
2086
|
-
} | {
|
|
2087
|
-
readonly kind: "wait";
|
|
2088
|
-
readonly durationMs: number;
|
|
2089
|
-
};
|
|
2090
1856
|
interface OpensteerInteractionEventRecord {
|
|
2091
1857
|
readonly type: string;
|
|
2092
1858
|
readonly timestamp: number;
|
|
@@ -2107,67 +1873,6 @@ interface OpensteerInteractionTracePayload {
|
|
|
2107
1873
|
readonly caseId?: string;
|
|
2108
1874
|
readonly notes?: string;
|
|
2109
1875
|
}
|
|
2110
|
-
interface OpensteerInteractionTraceRecord {
|
|
2111
|
-
readonly id: string;
|
|
2112
|
-
readonly key: string;
|
|
2113
|
-
readonly version: string;
|
|
2114
|
-
readonly createdAt: number;
|
|
2115
|
-
readonly updatedAt: number;
|
|
2116
|
-
readonly contentHash: string;
|
|
2117
|
-
readonly tags: readonly string[];
|
|
2118
|
-
readonly provenance?: OpensteerRegistryProvenance;
|
|
2119
|
-
readonly payload: OpensteerInteractionTracePayload;
|
|
2120
|
-
}
|
|
2121
|
-
interface OpensteerInteractionCaptureInput {
|
|
2122
|
-
readonly key?: string;
|
|
2123
|
-
readonly pageRef?: PageRef;
|
|
2124
|
-
readonly durationMs?: number;
|
|
2125
|
-
readonly script?: string;
|
|
2126
|
-
readonly args?: readonly JsonValue$1[];
|
|
2127
|
-
readonly steps?: readonly OpensteerInteractionCaptureStep[];
|
|
2128
|
-
readonly includeStorage?: boolean;
|
|
2129
|
-
readonly includeSessionStorage?: boolean;
|
|
2130
|
-
readonly includeIndexedDb?: boolean;
|
|
2131
|
-
readonly globalNames?: readonly string[];
|
|
2132
|
-
readonly caseId?: string;
|
|
2133
|
-
readonly notes?: string;
|
|
2134
|
-
readonly tags?: readonly string[];
|
|
2135
|
-
}
|
|
2136
|
-
interface OpensteerInteractionCaptureOutput {
|
|
2137
|
-
readonly trace: OpensteerInteractionTraceRecord;
|
|
2138
|
-
}
|
|
2139
|
-
interface OpensteerInteractionGetInput {
|
|
2140
|
-
readonly traceId: string;
|
|
2141
|
-
}
|
|
2142
|
-
interface OpensteerInteractionGetOutput {
|
|
2143
|
-
readonly trace: OpensteerInteractionTraceRecord;
|
|
2144
|
-
}
|
|
2145
|
-
interface OpensteerInteractionDiffInput {
|
|
2146
|
-
readonly leftTraceId: string;
|
|
2147
|
-
readonly rightTraceId: string;
|
|
2148
|
-
}
|
|
2149
|
-
interface OpensteerInteractionDiffOutput {
|
|
2150
|
-
readonly summary: {
|
|
2151
|
-
readonly eventCountDelta: number;
|
|
2152
|
-
readonly propertyMismatchCount: number;
|
|
2153
|
-
readonly stateMismatchCount: number;
|
|
2154
|
-
readonly downstreamRequestMismatchCount: number;
|
|
2155
|
-
};
|
|
2156
|
-
readonly eventSequenceMismatches: readonly string[];
|
|
2157
|
-
readonly eventPropertyMismatches: readonly string[];
|
|
2158
|
-
readonly stateMismatches: readonly string[];
|
|
2159
|
-
readonly downstreamRequestMismatches: readonly string[];
|
|
2160
|
-
}
|
|
2161
|
-
interface OpensteerInteractionReplayInput {
|
|
2162
|
-
readonly traceId: string;
|
|
2163
|
-
readonly pageRef?: PageRef;
|
|
2164
|
-
}
|
|
2165
|
-
interface OpensteerInteractionReplayOutput {
|
|
2166
|
-
readonly traceId: string;
|
|
2167
|
-
readonly replayedEventCount: number;
|
|
2168
|
-
readonly success: boolean;
|
|
2169
|
-
readonly error?: string;
|
|
2170
|
-
}
|
|
2171
1876
|
|
|
2172
1877
|
type MatchOperator = "exact" | "startsWith" | "contains";
|
|
2173
1878
|
interface AttributeMatchClause {
|
|
@@ -2180,7 +1885,11 @@ interface PositionMatchClause {
|
|
|
2180
1885
|
readonly kind: "position";
|
|
2181
1886
|
readonly axis: "nthOfType" | "nthChild";
|
|
2182
1887
|
}
|
|
2183
|
-
|
|
1888
|
+
interface TextMatchClause {
|
|
1889
|
+
readonly kind: "text";
|
|
1890
|
+
readonly value: string;
|
|
1891
|
+
}
|
|
1892
|
+
type MatchClause = AttributeMatchClause | PositionMatchClause | TextMatchClause;
|
|
2184
1893
|
interface PathNodePosition {
|
|
2185
1894
|
readonly nthChild: number;
|
|
2186
1895
|
readonly nthOfType: number;
|
|
@@ -2237,11 +1946,15 @@ interface DomPointerHitAssessment {
|
|
|
2237
1946
|
readonly relation: DomPointerHitRelation;
|
|
2238
1947
|
readonly blocking: boolean;
|
|
2239
1948
|
readonly ambiguous?: boolean;
|
|
1949
|
+
readonly blockingDescription?: string;
|
|
2240
1950
|
readonly canonicalTarget?: NodeLocator;
|
|
2241
1951
|
readonly hitOwner?: NodeLocator;
|
|
2242
1952
|
}
|
|
1953
|
+
interface BuildReplayPathOptions {
|
|
1954
|
+
readonly enableTextMatch?: boolean;
|
|
1955
|
+
}
|
|
2243
1956
|
interface DomActionBridge {
|
|
2244
|
-
buildReplayPath(locator: NodeLocator): Promise<ReplayElementPath>;
|
|
1957
|
+
buildReplayPath(locator: NodeLocator, options?: BuildReplayPathOptions): Promise<ReplayElementPath>;
|
|
2245
1958
|
inspectActionTarget(locator: NodeLocator): Promise<DomActionTargetInspection>;
|
|
2246
1959
|
canonicalizePointerTarget(locator: NodeLocator): Promise<NodeLocator>;
|
|
2247
1960
|
classifyPointerHit(input: {
|
|
@@ -2745,6 +2458,7 @@ interface ResolvedDomTarget {
|
|
|
2745
2458
|
}
|
|
2746
2459
|
interface DomBuildPathInput {
|
|
2747
2460
|
readonly locator: NodeLocator;
|
|
2461
|
+
readonly enableTextMatch?: boolean;
|
|
2748
2462
|
}
|
|
2749
2463
|
interface DomResolveTargetInput {
|
|
2750
2464
|
readonly pageRef: PageRef;
|
|
@@ -2942,7 +2656,7 @@ interface OpensteerExtractionDescriptorPayload {
|
|
|
2942
2656
|
readonly kind: "dom-extraction";
|
|
2943
2657
|
readonly persist: string;
|
|
2944
2658
|
readonly root: PersistedOpensteerExtractionPayload;
|
|
2945
|
-
readonly
|
|
2659
|
+
readonly templateHash?: string;
|
|
2946
2660
|
readonly sourceUrl?: string;
|
|
2947
2661
|
}
|
|
2948
2662
|
interface OpensteerExtractionDescriptorRecord {
|
|
@@ -2960,7 +2674,7 @@ interface OpensteerExtractionDescriptorStore {
|
|
|
2960
2674
|
write(input: {
|
|
2961
2675
|
readonly persist: string;
|
|
2962
2676
|
readonly root: PersistedOpensteerExtractionPayload;
|
|
2963
|
-
readonly
|
|
2677
|
+
readonly templateHash?: string;
|
|
2964
2678
|
readonly sourceUrl?: string;
|
|
2965
2679
|
readonly createdAt?: number;
|
|
2966
2680
|
readonly updatedAt?: number;
|
|
@@ -3189,12 +2903,6 @@ interface OpensteerSessionRuntimeOptions {
|
|
|
3189
2903
|
readonly observationSessionId?: string;
|
|
3190
2904
|
readonly observationSink?: ObservationSink;
|
|
3191
2905
|
}
|
|
3192
|
-
declare class OpensteerRuntime extends OpensteerSessionRuntime$1 {
|
|
3193
|
-
constructor(options?: OpensteerRuntimeOptions);
|
|
3194
|
-
}
|
|
3195
|
-
declare class OpensteerSessionRuntime extends OpensteerSessionRuntime$1 {
|
|
3196
|
-
constructor(options: OpensteerSessionRuntimeOptions);
|
|
3197
|
-
}
|
|
3198
2906
|
|
|
3199
2907
|
interface OpensteerTargetOptions {
|
|
3200
2908
|
readonly element?: number;
|
|
@@ -3215,13 +2923,9 @@ interface OpensteerScrollOptions extends OpensteerTargetOptions {
|
|
|
3215
2923
|
readonly direction: "up" | "down" | "left" | "right";
|
|
3216
2924
|
readonly amount: number;
|
|
3217
2925
|
}
|
|
3218
|
-
|
|
2926
|
+
interface OpensteerExtractOptions {
|
|
3219
2927
|
readonly persist: string;
|
|
3220
|
-
|
|
3221
|
-
} | {
|
|
3222
|
-
readonly persist?: string;
|
|
3223
|
-
readonly schema: Record<string, unknown>;
|
|
3224
|
-
};
|
|
2928
|
+
}
|
|
3225
2929
|
interface OpensteerWaitForPageOptions {
|
|
3226
2930
|
readonly openerPageRef?: string;
|
|
3227
2931
|
readonly urlIncludes?: string;
|
|
@@ -3293,7 +2997,6 @@ declare class Opensteer {
|
|
|
3293
2997
|
scroll(input: OpensteerScrollOptions): Promise<OpensteerActionResult>;
|
|
3294
2998
|
extract(input: OpensteerExtractOptions): Promise<unknown>;
|
|
3295
2999
|
waitForPage(input?: OpensteerWaitForPageOptions): Promise<OpensteerPageListOutput["pages"][number]>;
|
|
3296
|
-
snapshot(mode?: OpensteerSnapshotMode): Promise<string>;
|
|
3297
3000
|
cookies(domain?: string): Promise<OpensteerCookieJar>;
|
|
3298
3001
|
storage(domain?: string, type?: OpensteerStorageArea): Promise<OpensteerStorageMap>;
|
|
3299
3002
|
state(domain?: string): Promise<OpensteerBrowserState>;
|
|
@@ -3317,50 +3020,6 @@ declare function resolveCloudConfig(input?: {
|
|
|
3317
3020
|
readonly environment?: OpensteerEnvironment;
|
|
3318
3021
|
}): OpensteerCloudConfig | undefined;
|
|
3319
3022
|
|
|
3320
|
-
interface OpensteerRuntimeOperationOptions {
|
|
3321
|
-
readonly signal?: AbortSignal;
|
|
3322
|
-
readonly timeoutMs?: number;
|
|
3323
|
-
}
|
|
3324
|
-
interface OpensteerSemanticRuntime {
|
|
3325
|
-
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
3326
|
-
open(input?: OpensteerOpenInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerOpenOutput>;
|
|
3327
|
-
listPages(input?: OpensteerPageListInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageListOutput>;
|
|
3328
|
-
newPage(input?: OpensteerPageNewInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageNewOutput>;
|
|
3329
|
-
activatePage(input: OpensteerPageActivateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageActivateOutput>;
|
|
3330
|
-
closePage(input?: OpensteerPageCloseInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageCloseOutput>;
|
|
3331
|
-
goto(input: OpensteerPageGotoInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageGotoOutput>;
|
|
3332
|
-
evaluate(input: OpensteerPageEvaluateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageEvaluateOutput>;
|
|
3333
|
-
addInitScript(input: OpensteerAddInitScriptInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerAddInitScriptOutput>;
|
|
3334
|
-
snapshot(input?: OpensteerPageSnapshotInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageSnapshotOutput>;
|
|
3335
|
-
click(input: OpensteerDomClickInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3336
|
-
hover(input: OpensteerDomHoverInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3337
|
-
input(input: OpensteerDomInputInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3338
|
-
scroll(input: OpensteerDomScrollInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3339
|
-
extract(input: OpensteerDomExtractInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
|
|
3340
|
-
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
3341
|
-
getNetworkDetail(input: OpensteerNetworkDetailInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
3342
|
-
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
3343
|
-
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
3344
|
-
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
3345
|
-
replayInteraction(input: OpensteerInteractionReplayInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionReplayOutput>;
|
|
3346
|
-
captureScripts(input?: OpensteerCaptureScriptsInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
|
|
3347
|
-
readArtifact(input: OpensteerArtifactReadInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
|
|
3348
|
-
beautifyScript(input: OpensteerScriptBeautifyInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptBeautifyOutput>;
|
|
3349
|
-
deobfuscateScript(input: OpensteerScriptDeobfuscateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptDeobfuscateOutput>;
|
|
3350
|
-
sandboxScript(input: OpensteerScriptSandboxInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptSandboxOutput>;
|
|
3351
|
-
solveCaptcha(input: OpensteerCaptchaSolveInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptchaSolveOutput>;
|
|
3352
|
-
getCookies(input?: OpensteerCookieQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCookieQueryOutput>;
|
|
3353
|
-
getStorageSnapshot(input?: OpensteerStorageQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStorageQueryOutput>;
|
|
3354
|
-
getBrowserState(input?: OpensteerStateQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStateQueryOutput>;
|
|
3355
|
-
fetch(input: OpensteerSessionFetchInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionFetchOutput>;
|
|
3356
|
-
computerExecute(input: OpensteerComputerExecuteInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerComputerExecuteOutput>;
|
|
3357
|
-
close(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionCloseOutput>;
|
|
3358
|
-
}
|
|
3359
|
-
|
|
3360
|
-
interface OpensteerDisconnectableRuntime extends OpensteerSemanticRuntime {
|
|
3361
|
-
disconnect(): Promise<void>;
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
3023
|
interface OpensteerResolvedRuntimeConfig {
|
|
3365
3024
|
readonly provider: OpensteerResolvedProvider;
|
|
3366
3025
|
readonly cloud?: OpensteerCloudConfig;
|
|
@@ -3369,12 +3028,6 @@ declare function resolveOpensteerRuntimeConfig(input?: {
|
|
|
3369
3028
|
readonly provider?: OpensteerProviderOptions;
|
|
3370
3029
|
readonly environment?: OpensteerEnvironment;
|
|
3371
3030
|
}): OpensteerResolvedRuntimeConfig;
|
|
3372
|
-
declare function createOpensteerSemanticRuntime(input?: {
|
|
3373
|
-
readonly runtimeOptions?: OpensteerRuntimeOptions;
|
|
3374
|
-
readonly engine?: OpensteerEngineName;
|
|
3375
|
-
readonly provider?: OpensteerProviderOptions;
|
|
3376
|
-
readonly environment?: OpensteerEnvironment;
|
|
3377
|
-
}): OpensteerDisconnectableRuntime;
|
|
3378
3031
|
|
|
3379
3032
|
type BrowserBrandId = "chrome" | "chrome-canary" | "chromium" | "brave" | "edge" | "vivaldi" | "helium";
|
|
3380
3033
|
|
|
@@ -3405,6 +3058,12 @@ interface OpensteerCloudSessionDescriptor {
|
|
|
3405
3058
|
}
|
|
3406
3059
|
interface OpensteerCloudSessionState {
|
|
3407
3060
|
readonly status?: string;
|
|
3061
|
+
readonly runtimeWorkerId?: string;
|
|
3062
|
+
readonly registryDesiredRevision?: number;
|
|
3063
|
+
readonly registryLoadedRevision?: number;
|
|
3064
|
+
readonly idleTimeoutMs?: number;
|
|
3065
|
+
readonly absoluteTtlMs?: number;
|
|
3066
|
+
readonly expiresAt?: number;
|
|
3408
3067
|
}
|
|
3409
3068
|
interface CloudRequestOptions {
|
|
3410
3069
|
readonly signal?: AbortSignal | undefined;
|
|
@@ -3478,88 +3137,6 @@ declare function readPersistedLocalBrowserSessionRecord(rootPath: string): Promi
|
|
|
3478
3137
|
declare function writePersistedSessionRecord(rootPath: string, record: PersistedSessionRecord): Promise<void>;
|
|
3479
3138
|
declare function clearPersistedSessionRecord(rootPath: string, provider: OpensteerLiveSessionProvider): Promise<void>;
|
|
3480
3139
|
|
|
3481
|
-
interface CloudSessionProxyOptions {
|
|
3482
|
-
readonly rootDir?: string;
|
|
3483
|
-
readonly rootPath?: string;
|
|
3484
|
-
readonly workspace?: string;
|
|
3485
|
-
readonly policy?: OpensteerPolicy;
|
|
3486
|
-
readonly cleanupRootOnClose?: boolean;
|
|
3487
|
-
readonly observability?: Partial<ObservabilityConfig>;
|
|
3488
|
-
}
|
|
3489
|
-
|
|
3490
|
-
declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
3491
|
-
readonly rootPath: string;
|
|
3492
|
-
readonly workspace: string | undefined;
|
|
3493
|
-
private readonly cleanupRootOnClose;
|
|
3494
|
-
private readonly cloud;
|
|
3495
|
-
private readonly observability;
|
|
3496
|
-
private readonly policy;
|
|
3497
|
-
private sessionId;
|
|
3498
|
-
private semanticGrant;
|
|
3499
|
-
private client;
|
|
3500
|
-
private automation;
|
|
3501
|
-
private workspaceStore;
|
|
3502
|
-
private syncWorkspaceOnClose;
|
|
3503
|
-
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
3504
|
-
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
3505
|
-
info(): Promise<OpensteerSessionInfo>;
|
|
3506
|
-
listPages(input?: OpensteerPageListInput): Promise<OpensteerPageListOutput>;
|
|
3507
|
-
newPage(input?: OpensteerPageNewInput): Promise<OpensteerPageNewOutput>;
|
|
3508
|
-
activatePage(input: OpensteerPageActivateInput): Promise<OpensteerPageActivateOutput>;
|
|
3509
|
-
closePage(input?: OpensteerPageCloseInput): Promise<OpensteerPageCloseOutput>;
|
|
3510
|
-
goto(input: OpensteerPageGotoInput): Promise<OpensteerPageGotoOutput>;
|
|
3511
|
-
evaluate(input: OpensteerPageEvaluateInput): Promise<OpensteerPageEvaluateOutput>;
|
|
3512
|
-
addInitScript(input: OpensteerAddInitScriptInput): Promise<OpensteerAddInitScriptOutput>;
|
|
3513
|
-
snapshot(input?: OpensteerPageSnapshotInput): Promise<OpensteerPageSnapshotOutput>;
|
|
3514
|
-
click(input: OpensteerDomClickInput): Promise<OpensteerActionResult>;
|
|
3515
|
-
hover(input: OpensteerDomHoverInput): Promise<OpensteerActionResult>;
|
|
3516
|
-
input(input: OpensteerDomInputInput): Promise<OpensteerActionResult>;
|
|
3517
|
-
scroll(input: OpensteerDomScrollInput): Promise<OpensteerActionResult>;
|
|
3518
|
-
extract(input: OpensteerDomExtractInput): Promise<OpensteerDomExtractOutput>;
|
|
3519
|
-
queryNetwork(input?: OpensteerNetworkQueryInput): Promise<OpensteerNetworkQueryOutput>;
|
|
3520
|
-
getNetworkDetail(input: OpensteerNetworkDetailInput): Promise<OpensteerNetworkDetailOutput>;
|
|
3521
|
-
captureInteraction(input: OpensteerInteractionCaptureInput): Promise<OpensteerInteractionCaptureOutput>;
|
|
3522
|
-
getInteraction(input: OpensteerInteractionGetInput): Promise<OpensteerInteractionGetOutput>;
|
|
3523
|
-
diffInteraction(input: OpensteerInteractionDiffInput): Promise<OpensteerInteractionDiffOutput>;
|
|
3524
|
-
replayInteraction(input: OpensteerInteractionReplayInput): Promise<OpensteerInteractionReplayOutput>;
|
|
3525
|
-
captureScripts(input?: OpensteerCaptureScriptsInput): Promise<OpensteerCaptureScriptsOutput>;
|
|
3526
|
-
readArtifact(input: OpensteerArtifactReadInput): Promise<OpensteerArtifactReadOutput>;
|
|
3527
|
-
beautifyScript(input: OpensteerScriptBeautifyInput): Promise<OpensteerScriptBeautifyOutput>;
|
|
3528
|
-
deobfuscateScript(input: OpensteerScriptDeobfuscateInput): Promise<OpensteerScriptDeobfuscateOutput>;
|
|
3529
|
-
sandboxScript(input: OpensteerScriptSandboxInput): Promise<OpensteerScriptSandboxOutput>;
|
|
3530
|
-
solveCaptcha(input: OpensteerCaptchaSolveInput): Promise<OpensteerCaptchaSolveOutput>;
|
|
3531
|
-
getCookies(input?: OpensteerCookieQueryInput): Promise<OpensteerCookieQueryOutput>;
|
|
3532
|
-
route(input: OpensteerRouteOptions): Promise<OpensteerRouteRegistration>;
|
|
3533
|
-
interceptScript(input: OpensteerInterceptScriptOptions): Promise<OpensteerRouteRegistration>;
|
|
3534
|
-
getStorageSnapshot(input?: OpensteerStorageQueryInput): Promise<OpensteerStorageQueryOutput>;
|
|
3535
|
-
getBrowserState(input?: OpensteerStateQueryInput): Promise<OpensteerStateQueryOutput>;
|
|
3536
|
-
fetch(input: OpensteerSessionFetchInput): Promise<OpensteerSessionFetchOutput>;
|
|
3537
|
-
computerExecute(input: OpensteerComputerExecuteInput): Promise<OpensteerComputerExecuteOutput>;
|
|
3538
|
-
close(): Promise<OpensteerSessionCloseOutput>;
|
|
3539
|
-
disconnect(): Promise<void>;
|
|
3540
|
-
private ensureSession;
|
|
3541
|
-
private syncWorkspaceToCloud;
|
|
3542
|
-
private bindClient;
|
|
3543
|
-
private ensureWorkspaceStore;
|
|
3544
|
-
private loadPersistedSession;
|
|
3545
|
-
private writePersistedSession;
|
|
3546
|
-
private clearPersistedSession;
|
|
3547
|
-
private isReusableCloudSession;
|
|
3548
|
-
private requireClient;
|
|
3549
|
-
private requireAutomation;
|
|
3550
|
-
private ensureSemanticGrant;
|
|
3551
|
-
private handleSemanticClientError;
|
|
3552
|
-
private invokeSemanticOperation;
|
|
3553
|
-
private invokeAutomationOperation;
|
|
3554
|
-
private runOperationWithPolicy;
|
|
3555
|
-
private shouldUseLocalCloudTransport;
|
|
3556
|
-
}
|
|
3557
|
-
|
|
3558
|
-
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
3559
|
-
readonly signal?: AbortSignal;
|
|
3560
|
-
readonly timeoutMs?: number;
|
|
3561
|
-
}): Promise<unknown>;
|
|
3562
|
-
|
|
3563
3140
|
interface LocalChromeProfileDescriptor {
|
|
3564
3141
|
readonly directory: string;
|
|
3565
3142
|
readonly name: string;
|
|
@@ -3595,4 +3172,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
3595
3172
|
readonly timeoutMs?: number;
|
|
3596
3173
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
3597
3174
|
|
|
3598
|
-
export { type AnchorTargetRef, type AppendTraceEntryInput, type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type BrowserProfileArchiveFormat, type BrowserProfileCreateRequest, type BrowserProfileDescriptor, type BrowserProfileImportCreateRequest, type BrowserProfileImportCreateResponse, type BrowserProfileImportDescriptor, type BrowserProfileImportStatus, type BrowserProfileListResponse, type BrowserProfileStatus, type CloudBrowserContextConfig, type CloudBrowserExtensionConfig, type CloudBrowserLaunchConfig, type CloudBrowserProfileLaunchPreference, type CloudBrowserProfilePreference, type CloudFingerprintMode, type CloudFingerprintPreference, type CloudGeolocation, type CloudProxyMode, type CloudProxyPreference, type CloudProxyProtocol, type CloudRegistryImportEntry, type CloudRegistryImportRequest, type CloudRegistryImportResponse, type CloudRequestPlanImportEntry, type CloudRequestPlanImportRequest, type CloudSessionLaunchConfig,
|
|
3175
|
+
export { type AnchorTargetRef, type AppendTraceEntryInput, type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type BrowserProfileArchiveFormat, type BrowserProfileCreateRequest, type BrowserProfileDescriptor, type BrowserProfileImportCreateRequest, type BrowserProfileImportCreateResponse, type BrowserProfileImportDescriptor, type BrowserProfileImportStatus, type BrowserProfileListResponse, type BrowserProfileStatus, type CloudBrowserContextConfig, type CloudBrowserExtensionConfig, type CloudBrowserLaunchConfig, type CloudBrowserProfileLaunchPreference, type CloudBrowserProfilePreference, type CloudFingerprintMode, type CloudFingerprintPreference, type CloudGeolocation, type CloudProxyMode, type CloudProxyPreference, type CloudProxyProtocol, type CloudRegistryImportEntry, type CloudRegistryImportRequest, type CloudRegistryImportResponse, type CloudRequestPlanImportEntry, type CloudRequestPlanImportRequest, type CloudSessionLaunchConfig, type CloudSessionSourceType, type CloudSessionStatus, type CloudSessionSummary, type CloudSessionVisibilityScope, type CloudViewport, type ContextHop, type CreateFilesystemOpensteerWorkspaceOptions, type CreateTraceRunInput, DEFAULT_OPENSTEER_ENGINE, DEFERRED_MATCH_ATTR_KEYS, type DescriptorRecord, type DescriptorRegistryStore, type DomActionBridge, type DomActionBridgeProvider, type DomActionOutcome, type DomActionPolicyOperation, type DomActionScrollAlignment, type DomActionScrollOptions, type DomActionSettleOptions, type DomActionTargetInspection, type DomArrayFieldSelector, type DomArrayRowMetadata, type DomArraySelector, type DomBuildPathInput, type DomClickInput, type DomDescriptorPayload, type DomDescriptorRecord, type DomDescriptorStore, type DomExtractArrayRowsInput, type DomExtractFieldSelector, type DomExtractFieldsInput, type DomExtractedArrayRow, type DomHoverInput, type DomInputInput, type DomPath, type DomReadDescriptorInput, type DomResolveTargetInput, type DomRuntime, type DomScrollInput, type DomTargetRef, type DomWriteDescriptorInput, type ElementPath, ElementPathError, type FallbackDecision, type FallbackEvaluationInput, type FallbackPolicy, FilesystemArtifactStore, type FilesystemObservationStore, type FilesystemOpensteerWorkspace, type InspectedCdpEndpoint, type InteractionTraceRecord, type InteractionTraceRegistryStore, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type ListObservationArtifactsInput, type ListObservationEventsInput, type LocalCdpBrowserCandidate, type LocalChromeProfileDescriptor, MATCH_ATTRIBUTE_PRIORITY, type MatchClause, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, Opensteer, type OpensteerAddInitScriptOptions, type OpensteerArtifactStore, OpensteerAttachAmbiguousError, type OpensteerBrowserCloneOptions, type OpensteerBrowserController, OpensteerBrowserManager, type OpensteerBrowserManagerOptions, type OpensteerBrowserState, type OpensteerBrowserStatus, type OpensteerClickOptions, OpensteerCloudClient, type OpensteerCloudConfig, type OpensteerCloudProviderOptions, type OpensteerCloudSessionCreateInput, type OpensteerCloudSessionDescriptor, type OpensteerComputerExecuteOptions, type OpensteerCookieJar, type OpensteerDomController, type OpensteerEngineName, type OpensteerError, type OpensteerErrorCode, type OpensteerExtractOptions, type OpensteerExtractionDescriptorPayload, type OpensteerExtractionDescriptorRecord, type OpensteerExtractionDescriptorStore, type OpensteerFetchOptions, type OpensteerFetchedRouteResponse, type OpensteerGotoOptions, type OpensteerInputOptions, type OpensteerInterceptScriptOptions, type OpensteerLiveSessionProvider, type OpensteerLocalProviderOptions, type OpensteerNetworkController, type OpensteerNetworkDetailResult, type OpensteerNetworkQueryOptions, type OpensteerNetworkQueryResult, type OpensteerOptions, type OpensteerPolicy, OpensteerProtocolError, type OpensteerProviderMode, type OpensteerProviderOptions, type OpensteerProviderSource, type OpensteerResolvedProvider, type OpensteerRouteHandlerResult, type OpensteerRouteOptions, type OpensteerRouteRegistration, type OpensteerRuntimeOptions, type OpensteerScrollOptions, type OpensteerSessionRuntimeOptions, type OpensteerStorageMap, type OpensteerTargetOptions, type OpensteerTraceStore, type OpensteerWaitForPageOptions, type OpensteerWorkspaceManifest, type PathNode, type PersistedCloudSessionRecord, type PersistedLocalBrowserSessionRecord, type PersistedSessionRecord, type ProtocolArtifactDelivery, type RegistryProvenance, type RegistryRecord, type ReplayElementPath, type RequestPlanRecord, type RequestPlanRegistryStore, type ResolveRegistryRecordInput, type ResolvedDomTarget, type RetryDecision, type RetryEvaluationInput, type RetryPolicy, STABLE_PRIMARY_ATTR_KEYS, type SavedNetworkQueryInput, type SavedNetworkStore, type SettleContext, type SettleDelayInput, type SettleObserver, type SettlePolicy, type SettleTrigger, type StoredArtifactPayload, type StoredArtifactRecord, type StructuralElementAnchor, type StructuredArtifactKind, type SyncBrowserProfileCookiesInput, type TimeoutExecutionContext, type TimeoutPolicy, type TimeoutResolutionInput, type TraceEntryRecord, type TraceRunManifest, type UpdateRequestPlanFreshnessInput, type WorkspaceBrowserBootstrap, type WorkspaceBrowserManifest, type WorkspaceLiveBrowserRecord, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteRequestPlanInput, type WriteStructuredArtifactInput, assertProviderSupportsEngine, buildArrayFieldPathCandidates, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, buildPathCandidates, buildPathSelectorHint, buildSegmentSelector, clearPersistedSessionRecord, cloneElementPath, cloneReplayElementPath, cloneStructuralElementAnchor, createArtifactStore, createDomDescriptorStore, createDomRuntime, createFilesystemOpensteerWorkspace, createObservationStore, createOpensteerExtractionDescriptorStore, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, discoverLocalCdpBrowsers, hashDomDescriptorPersist, inspectCdpEndpoint, isCurrentUrlField, isOpensteerProtocolError, isValidCssAttributeKey, listLocalChromeProfiles, manifestToExternalBinaryLocation, normalizeExtractedValue, normalizeObservabilityConfig, normalizeOpensteerEngineName, normalizeOpensteerProviderMode, normalizeWorkspaceId, opensteerErrorCodes, parseDomDescriptorRecord, parseExtractionDescriptorRecord, readPersistedCloudSessionRecord, readPersistedLocalBrowserSessionRecord, readPersistedSessionRecord, resolveCloudConfig, resolveCloudSessionRecordPath, resolveDomActionBridge, resolveExtractedValueInContext, resolveFilesystemWorkspacePath, resolveLiveSessionRecordPath, resolveLocalSessionRecordPath, resolveOpensteerEngineName, resolveOpensteerProvider, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath, writePersistedSessionRecord };
|