opensteer 0.9.3 → 0.9.5
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/README.md +158 -165
- package/dist/{chunk-UM2Q4JD2.js → chunk-7D45QUZ3.js} +5 -7
- package/dist/chunk-7D45QUZ3.js.map +1 -0
- package/dist/{chunk-GREXSYNC.js → chunk-7LQL5YUR.js} +578 -224
- package/dist/chunk-7LQL5YUR.js.map +1 -0
- package/dist/{chunk-2TIVULZY.js → chunk-GSCQQKZZ.js} +53 -9
- package/dist/chunk-GSCQQKZZ.js.map +1 -0
- package/dist/{chunk-BMPUL66S.js → chunk-T5P2QGZ3.js} +58 -53
- package/dist/chunk-T5P2QGZ3.js.map +1 -0
- package/dist/{chunk-FIMNKEG5.js → chunk-ZRF7WMS3.js} +4 -4
- package/dist/{chunk-FIMNKEG5.js.map → chunk-ZRF7WMS3.js.map} +1 -1
- package/dist/cli/bin.cjs +707 -278
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +30 -34
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +733 -473
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -460
- package/dist/index.d.ts +25 -460
- package/dist/index.js +4 -5
- package/dist/local-view/serve-entry.cjs +106 -57
- package/dist/local-view/serve-entry.cjs.map +1 -1
- package/dist/local-view/serve-entry.js +2 -2
- package/dist/opensteer-T2JENADR.js +6 -0
- package/dist/{opensteer-IBDPRIEX.js.map → opensteer-T2JENADR.js.map} +1 -1
- package/dist/{session-control-IFE3IPS3.js → session-control-M3JD7ZKA.js} +4 -4
- package/dist/{session-control-IFE3IPS3.js.map → session-control-M3JD7ZKA.js.map} +1 -1
- package/package.json +6 -6
- package/skills/opensteer/SKILL.md +134 -95
- package/skills/recorder/SKILL.md +43 -48
- package/dist/chunk-2TIVULZY.js.map +0 -1
- package/dist/chunk-BMPUL66S.js.map +0 -1
- package/dist/chunk-GREXSYNC.js.map +0 -1
- package/dist/chunk-KCINASQC.js +0 -3
- package/dist/chunk-KCINASQC.js.map +0 -1
- package/dist/chunk-UM2Q4JD2.js.map +0 -1
- package/dist/opensteer-IBDPRIEX.js +0 -6
- package/skills/recorder/references/recorder-reference.md +0 -71
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;
|
|
@@ -1448,35 +1402,6 @@ interface ArtifactReference {
|
|
|
1448
1402
|
readonly kind: OpensteerArtifactKind;
|
|
1449
1403
|
readonly relation: ArtifactRelation;
|
|
1450
1404
|
}
|
|
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
1405
|
|
|
1481
1406
|
type TraceOutcome = "ok" | "error";
|
|
1482
1407
|
interface TraceContext {
|
|
@@ -1622,7 +1547,6 @@ interface ObservationSink {
|
|
|
1622
1547
|
openSession(input: OpenObservationSessionInput): Promise<SessionObservationSink>;
|
|
1623
1548
|
}
|
|
1624
1549
|
|
|
1625
|
-
type OpensteerSnapshotMode = "action" | "extraction";
|
|
1626
1550
|
interface OpensteerBrowserLaunchOptions {
|
|
1627
1551
|
readonly headless?: boolean;
|
|
1628
1552
|
readonly executablePath?: string;
|
|
@@ -1637,6 +1561,14 @@ interface OpensteerAttachBrowserOptions {
|
|
|
1637
1561
|
}
|
|
1638
1562
|
type OpensteerBrowserMode = "temporary" | "persistent";
|
|
1639
1563
|
type OpensteerBrowserOptions = OpensteerBrowserMode | OpensteerAttachBrowserOptions;
|
|
1564
|
+
interface OpensteerHumanizeOptions {
|
|
1565
|
+
/** Interpolate mouse paths with curves and jitter before clicks/scrolls. */
|
|
1566
|
+
readonly mouse?: boolean;
|
|
1567
|
+
/** Realistic per-character typing cadence with key hold duration. */
|
|
1568
|
+
readonly keyboard?: boolean;
|
|
1569
|
+
/** Break large scrolls into discrete wheel ticks with delays. */
|
|
1570
|
+
readonly scroll?: boolean;
|
|
1571
|
+
}
|
|
1640
1572
|
interface OpensteerBrowserContextOptions {
|
|
1641
1573
|
readonly ignoreHTTPSErrors?: boolean;
|
|
1642
1574
|
readonly locale?: string;
|
|
@@ -1651,6 +1583,12 @@ interface OpensteerBrowserContextOptions {
|
|
|
1651
1583
|
readonly reducedMotion?: "reduce" | "no-preference";
|
|
1652
1584
|
readonly colorScheme?: "light" | "dark" | "no-preference";
|
|
1653
1585
|
readonly stealthProfile?: OpensteerStealthProfileInput;
|
|
1586
|
+
/**
|
|
1587
|
+
* Enable human-like interaction patterns for mouse, keyboard, and scroll
|
|
1588
|
+
* events. When `true` (the default), all sub-options are enabled. Pass
|
|
1589
|
+
* `false` to disable, or an object to control individual categories.
|
|
1590
|
+
*/
|
|
1591
|
+
readonly humanize?: boolean | OpensteerHumanizeOptions;
|
|
1654
1592
|
}
|
|
1655
1593
|
interface OpensteerStealthProfileInput {
|
|
1656
1594
|
readonly id?: string;
|
|
@@ -1676,19 +1614,6 @@ interface OpensteerStealthProfileInput {
|
|
|
1676
1614
|
readonly locale?: string;
|
|
1677
1615
|
readonly timezoneId?: string;
|
|
1678
1616
|
}
|
|
1679
|
-
interface OpensteerTargetByElement {
|
|
1680
|
-
readonly kind: "element";
|
|
1681
|
-
readonly element: number;
|
|
1682
|
-
}
|
|
1683
|
-
interface OpensteerTargetByPersist {
|
|
1684
|
-
readonly kind: "persist";
|
|
1685
|
-
readonly persist: string;
|
|
1686
|
-
}
|
|
1687
|
-
interface OpensteerTargetBySelector {
|
|
1688
|
-
readonly kind: "selector";
|
|
1689
|
-
readonly selector: string;
|
|
1690
|
-
}
|
|
1691
|
-
type OpensteerTargetInput = OpensteerTargetByElement | OpensteerTargetByPersist | OpensteerTargetBySelector;
|
|
1692
1617
|
interface OpensteerResolvedTarget {
|
|
1693
1618
|
readonly pageRef: PageRef;
|
|
1694
1619
|
readonly frameRef: FrameRef;
|
|
@@ -1707,24 +1632,6 @@ interface OpensteerActionResult {
|
|
|
1707
1632
|
readonly y: number;
|
|
1708
1633
|
};
|
|
1709
1634
|
}
|
|
1710
|
-
interface OpensteerSnapshotCounter {
|
|
1711
|
-
readonly element: number;
|
|
1712
|
-
readonly pageRef: PageRef;
|
|
1713
|
-
readonly frameRef: FrameRef;
|
|
1714
|
-
readonly documentRef: DocumentRef;
|
|
1715
|
-
readonly documentEpoch: DocumentEpoch;
|
|
1716
|
-
readonly nodeRef?: NodeRef;
|
|
1717
|
-
readonly tagName: string;
|
|
1718
|
-
readonly pathHint: string;
|
|
1719
|
-
readonly text?: string;
|
|
1720
|
-
readonly attributes?: readonly {
|
|
1721
|
-
readonly name: string;
|
|
1722
|
-
readonly value: string;
|
|
1723
|
-
}[];
|
|
1724
|
-
readonly iframeDepth: number;
|
|
1725
|
-
readonly shadowDepth: number;
|
|
1726
|
-
readonly interactive: boolean;
|
|
1727
|
-
}
|
|
1728
1635
|
interface OpensteerSessionState {
|
|
1729
1636
|
readonly sessionRef: SessionRef;
|
|
1730
1637
|
readonly pageRef: PageRef;
|
|
@@ -1790,66 +1697,6 @@ interface OpensteerAddInitScriptOutput {
|
|
|
1790
1697
|
readonly sessionRef: SessionRef;
|
|
1791
1698
|
readonly pageRef?: PageRef;
|
|
1792
1699
|
}
|
|
1793
|
-
interface OpensteerCaptureScriptsInput {
|
|
1794
|
-
readonly pageRef?: PageRef;
|
|
1795
|
-
readonly includeInline?: boolean;
|
|
1796
|
-
readonly includeExternal?: boolean;
|
|
1797
|
-
readonly includeDynamic?: boolean;
|
|
1798
|
-
readonly includeWorkers?: boolean;
|
|
1799
|
-
readonly urlFilter?: string;
|
|
1800
|
-
readonly persist?: boolean;
|
|
1801
|
-
}
|
|
1802
|
-
interface OpensteerCapturedScript extends ScriptSourceArtifactData {
|
|
1803
|
-
readonly artifactId?: string;
|
|
1804
|
-
}
|
|
1805
|
-
interface OpensteerCaptureScriptsOutput {
|
|
1806
|
-
readonly pageRef: PageRef;
|
|
1807
|
-
readonly scripts: readonly OpensteerCapturedScript[];
|
|
1808
|
-
}
|
|
1809
|
-
interface OpensteerPageSnapshotInput {
|
|
1810
|
-
readonly mode?: OpensteerSnapshotMode;
|
|
1811
|
-
}
|
|
1812
|
-
interface OpensteerPageSnapshotOutput {
|
|
1813
|
-
readonly url: string;
|
|
1814
|
-
readonly title: string;
|
|
1815
|
-
readonly mode: OpensteerSnapshotMode;
|
|
1816
|
-
readonly html: string;
|
|
1817
|
-
readonly counters: readonly OpensteerSnapshotCounter[];
|
|
1818
|
-
}
|
|
1819
|
-
interface OpensteerDomClickInput {
|
|
1820
|
-
readonly target: OpensteerTargetInput;
|
|
1821
|
-
readonly button?: OpensteerComputerMouseButton;
|
|
1822
|
-
readonly clickCount?: number;
|
|
1823
|
-
readonly modifiers?: readonly OpensteerComputerKeyModifier[];
|
|
1824
|
-
readonly persist?: string;
|
|
1825
|
-
readonly captureNetwork?: string;
|
|
1826
|
-
}
|
|
1827
|
-
interface OpensteerDomHoverInput {
|
|
1828
|
-
readonly target: OpensteerTargetInput;
|
|
1829
|
-
readonly persist?: string;
|
|
1830
|
-
readonly captureNetwork?: string;
|
|
1831
|
-
}
|
|
1832
|
-
interface OpensteerDomInputInput {
|
|
1833
|
-
readonly target: OpensteerTargetInput;
|
|
1834
|
-
readonly text: string;
|
|
1835
|
-
readonly pressEnter?: boolean;
|
|
1836
|
-
readonly persist?: string;
|
|
1837
|
-
readonly captureNetwork?: string;
|
|
1838
|
-
}
|
|
1839
|
-
interface OpensteerDomScrollInput {
|
|
1840
|
-
readonly target: OpensteerTargetInput;
|
|
1841
|
-
readonly direction: "up" | "down" | "left" | "right";
|
|
1842
|
-
readonly amount: number;
|
|
1843
|
-
readonly persist?: string;
|
|
1844
|
-
readonly captureNetwork?: string;
|
|
1845
|
-
}
|
|
1846
|
-
interface OpensteerDomExtractInput {
|
|
1847
|
-
readonly persist?: string;
|
|
1848
|
-
readonly schema?: Readonly<Record<string, unknown>>;
|
|
1849
|
-
}
|
|
1850
|
-
interface OpensteerDomExtractOutput {
|
|
1851
|
-
readonly data: JsonValue$1;
|
|
1852
|
-
}
|
|
1853
1700
|
interface OpensteerSessionCloseOutput {
|
|
1854
1701
|
readonly closed: true;
|
|
1855
1702
|
}
|
|
@@ -1992,87 +1839,6 @@ interface OpensteerSessionInfo {
|
|
|
1992
1839
|
readonly runtime?: OpensteerRuntimeVersionInfo;
|
|
1993
1840
|
}
|
|
1994
1841
|
|
|
1995
|
-
interface OpensteerScriptBeautifyInput {
|
|
1996
|
-
readonly artifactId?: string;
|
|
1997
|
-
readonly content?: string;
|
|
1998
|
-
readonly persist?: boolean;
|
|
1999
|
-
}
|
|
2000
|
-
interface OpensteerScriptBeautifyOutput {
|
|
2001
|
-
readonly content: string;
|
|
2002
|
-
readonly artifactId?: string;
|
|
2003
|
-
readonly bytesBefore: number;
|
|
2004
|
-
readonly bytesAfter: number;
|
|
2005
|
-
}
|
|
2006
|
-
interface OpensteerScriptDeobfuscateInput {
|
|
2007
|
-
readonly artifactId?: string;
|
|
2008
|
-
readonly content?: string;
|
|
2009
|
-
readonly persist?: boolean;
|
|
2010
|
-
}
|
|
2011
|
-
interface OpensteerScriptDeobfuscateOutput {
|
|
2012
|
-
readonly content: string;
|
|
2013
|
-
readonly artifactId?: string;
|
|
2014
|
-
readonly transforms: readonly string[];
|
|
2015
|
-
readonly bytesBefore: number;
|
|
2016
|
-
readonly bytesAfter: number;
|
|
2017
|
-
}
|
|
2018
|
-
type SandboxFidelity = "minimal" | "standard" | "full";
|
|
2019
|
-
type SandboxAjaxMode = "passthrough" | "capture" | "mock";
|
|
2020
|
-
interface SandboxAjaxRoute {
|
|
2021
|
-
readonly urlPattern: string;
|
|
2022
|
-
readonly mode: SandboxAjaxMode;
|
|
2023
|
-
readonly mockResponse?: {
|
|
2024
|
-
readonly status: number;
|
|
2025
|
-
readonly headers?: Readonly<Record<string, string>>;
|
|
2026
|
-
readonly body?: string;
|
|
2027
|
-
};
|
|
2028
|
-
}
|
|
2029
|
-
interface OpensteerScriptSandboxInput {
|
|
2030
|
-
readonly artifactId?: string;
|
|
2031
|
-
readonly content?: string;
|
|
2032
|
-
readonly fidelity?: SandboxFidelity;
|
|
2033
|
-
readonly ajaxRoutes?: readonly SandboxAjaxRoute[];
|
|
2034
|
-
readonly cookies?: Readonly<Record<string, string>>;
|
|
2035
|
-
readonly globals?: Readonly<Record<string, unknown>>;
|
|
2036
|
-
readonly timeoutMs?: number;
|
|
2037
|
-
readonly clockMode?: "real" | "manual";
|
|
2038
|
-
}
|
|
2039
|
-
interface SandboxCapturedAjaxCall {
|
|
2040
|
-
readonly method: string;
|
|
2041
|
-
readonly url: string;
|
|
2042
|
-
readonly headers: Readonly<Record<string, string>>;
|
|
2043
|
-
readonly body?: string;
|
|
2044
|
-
readonly timestamp: number;
|
|
2045
|
-
}
|
|
2046
|
-
interface OpensteerScriptSandboxOutput {
|
|
2047
|
-
readonly result?: unknown;
|
|
2048
|
-
readonly capturedAjax: readonly SandboxCapturedAjaxCall[];
|
|
2049
|
-
readonly errors: readonly string[];
|
|
2050
|
-
readonly durationMs: number;
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
type OpensteerInteractionCaptureStep = {
|
|
2054
|
-
readonly kind: "goto";
|
|
2055
|
-
readonly url: string;
|
|
2056
|
-
} | {
|
|
2057
|
-
readonly kind: "click";
|
|
2058
|
-
readonly target: OpensteerTargetInput;
|
|
2059
|
-
} | {
|
|
2060
|
-
readonly kind: "hover";
|
|
2061
|
-
readonly target: OpensteerTargetInput;
|
|
2062
|
-
} | {
|
|
2063
|
-
readonly kind: "input";
|
|
2064
|
-
readonly target: OpensteerTargetInput;
|
|
2065
|
-
readonly text: string;
|
|
2066
|
-
readonly pressEnter?: boolean;
|
|
2067
|
-
} | {
|
|
2068
|
-
readonly kind: "scroll";
|
|
2069
|
-
readonly target: OpensteerTargetInput;
|
|
2070
|
-
readonly direction: "up" | "down" | "left" | "right";
|
|
2071
|
-
readonly amount: number;
|
|
2072
|
-
} | {
|
|
2073
|
-
readonly kind: "wait";
|
|
2074
|
-
readonly durationMs: number;
|
|
2075
|
-
};
|
|
2076
1842
|
interface OpensteerInteractionEventRecord {
|
|
2077
1843
|
readonly type: string;
|
|
2078
1844
|
readonly timestamp: number;
|
|
@@ -2093,67 +1859,6 @@ interface OpensteerInteractionTracePayload {
|
|
|
2093
1859
|
readonly caseId?: string;
|
|
2094
1860
|
readonly notes?: string;
|
|
2095
1861
|
}
|
|
2096
|
-
interface OpensteerInteractionTraceRecord {
|
|
2097
|
-
readonly id: string;
|
|
2098
|
-
readonly key: string;
|
|
2099
|
-
readonly version: string;
|
|
2100
|
-
readonly createdAt: number;
|
|
2101
|
-
readonly updatedAt: number;
|
|
2102
|
-
readonly contentHash: string;
|
|
2103
|
-
readonly tags: readonly string[];
|
|
2104
|
-
readonly provenance?: OpensteerRegistryProvenance;
|
|
2105
|
-
readonly payload: OpensteerInteractionTracePayload;
|
|
2106
|
-
}
|
|
2107
|
-
interface OpensteerInteractionCaptureInput {
|
|
2108
|
-
readonly key?: string;
|
|
2109
|
-
readonly pageRef?: PageRef;
|
|
2110
|
-
readonly durationMs?: number;
|
|
2111
|
-
readonly script?: string;
|
|
2112
|
-
readonly args?: readonly JsonValue$1[];
|
|
2113
|
-
readonly steps?: readonly OpensteerInteractionCaptureStep[];
|
|
2114
|
-
readonly includeStorage?: boolean;
|
|
2115
|
-
readonly includeSessionStorage?: boolean;
|
|
2116
|
-
readonly includeIndexedDb?: boolean;
|
|
2117
|
-
readonly globalNames?: readonly string[];
|
|
2118
|
-
readonly caseId?: string;
|
|
2119
|
-
readonly notes?: string;
|
|
2120
|
-
readonly tags?: readonly string[];
|
|
2121
|
-
}
|
|
2122
|
-
interface OpensteerInteractionCaptureOutput {
|
|
2123
|
-
readonly trace: OpensteerInteractionTraceRecord;
|
|
2124
|
-
}
|
|
2125
|
-
interface OpensteerInteractionGetInput {
|
|
2126
|
-
readonly traceId: string;
|
|
2127
|
-
}
|
|
2128
|
-
interface OpensteerInteractionGetOutput {
|
|
2129
|
-
readonly trace: OpensteerInteractionTraceRecord;
|
|
2130
|
-
}
|
|
2131
|
-
interface OpensteerInteractionDiffInput {
|
|
2132
|
-
readonly leftTraceId: string;
|
|
2133
|
-
readonly rightTraceId: string;
|
|
2134
|
-
}
|
|
2135
|
-
interface OpensteerInteractionDiffOutput {
|
|
2136
|
-
readonly summary: {
|
|
2137
|
-
readonly eventCountDelta: number;
|
|
2138
|
-
readonly propertyMismatchCount: number;
|
|
2139
|
-
readonly stateMismatchCount: number;
|
|
2140
|
-
readonly downstreamRequestMismatchCount: number;
|
|
2141
|
-
};
|
|
2142
|
-
readonly eventSequenceMismatches: readonly string[];
|
|
2143
|
-
readonly eventPropertyMismatches: readonly string[];
|
|
2144
|
-
readonly stateMismatches: readonly string[];
|
|
2145
|
-
readonly downstreamRequestMismatches: readonly string[];
|
|
2146
|
-
}
|
|
2147
|
-
interface OpensteerInteractionReplayInput {
|
|
2148
|
-
readonly traceId: string;
|
|
2149
|
-
readonly pageRef?: PageRef;
|
|
2150
|
-
}
|
|
2151
|
-
interface OpensteerInteractionReplayOutput {
|
|
2152
|
-
readonly traceId: string;
|
|
2153
|
-
readonly replayedEventCount: number;
|
|
2154
|
-
readonly success: boolean;
|
|
2155
|
-
readonly error?: string;
|
|
2156
|
-
}
|
|
2157
1862
|
|
|
2158
1863
|
type MatchOperator = "exact" | "startsWith" | "contains";
|
|
2159
1864
|
interface AttributeMatchClause {
|
|
@@ -2928,7 +2633,7 @@ interface OpensteerExtractionDescriptorPayload {
|
|
|
2928
2633
|
readonly kind: "dom-extraction";
|
|
2929
2634
|
readonly persist: string;
|
|
2930
2635
|
readonly root: PersistedOpensteerExtractionPayload;
|
|
2931
|
-
readonly
|
|
2636
|
+
readonly templateHash?: string;
|
|
2932
2637
|
readonly sourceUrl?: string;
|
|
2933
2638
|
}
|
|
2934
2639
|
interface OpensteerExtractionDescriptorRecord {
|
|
@@ -2946,7 +2651,7 @@ interface OpensteerExtractionDescriptorStore {
|
|
|
2946
2651
|
write(input: {
|
|
2947
2652
|
readonly persist: string;
|
|
2948
2653
|
readonly root: PersistedOpensteerExtractionPayload;
|
|
2949
|
-
readonly
|
|
2654
|
+
readonly templateHash?: string;
|
|
2950
2655
|
readonly sourceUrl?: string;
|
|
2951
2656
|
readonly createdAt?: number;
|
|
2952
2657
|
readonly updatedAt?: number;
|
|
@@ -2958,6 +2663,8 @@ declare function createOpensteerExtractionDescriptorStore(options: {
|
|
|
2958
2663
|
}): OpensteerExtractionDescriptorStore;
|
|
2959
2664
|
declare function parseExtractionDescriptorRecord(record: DescriptorRecord): OpensteerExtractionDescriptorRecord | undefined;
|
|
2960
2665
|
|
|
2666
|
+
type OpensteerEnvironment = Record<string, string | undefined>;
|
|
2667
|
+
|
|
2961
2668
|
declare const OPENSTEER_ENGINE_NAMES: readonly ["playwright", "abp"];
|
|
2962
2669
|
type OpensteerEngineName = (typeof OPENSTEER_ENGINE_NAMES)[number];
|
|
2963
2670
|
declare const DEFAULT_OPENSTEER_ENGINE: OpensteerEngineName;
|
|
@@ -3006,6 +2713,7 @@ interface OpensteerBrowserManagerOptions {
|
|
|
3006
2713
|
readonly rootPath?: string;
|
|
3007
2714
|
readonly workspace?: string;
|
|
3008
2715
|
readonly engineName?: OpensteerEngineName;
|
|
2716
|
+
readonly environment?: OpensteerEnvironment;
|
|
3009
2717
|
readonly browser?: OpensteerBrowserOptions;
|
|
3010
2718
|
readonly launch?: OpensteerBrowserLaunchOptions;
|
|
3011
2719
|
readonly context?: OpensteerBrowserContextOptions;
|
|
@@ -3139,6 +2847,7 @@ interface OpensteerRuntimeOptions {
|
|
|
3139
2847
|
readonly rootDir?: string;
|
|
3140
2848
|
readonly rootPath?: string;
|
|
3141
2849
|
readonly engineName?: OpensteerEngineName;
|
|
2850
|
+
readonly environment?: OpensteerEnvironment;
|
|
3142
2851
|
readonly browser?: OpensteerBrowserOptions;
|
|
3143
2852
|
readonly launch?: OpensteerBrowserLaunchOptions;
|
|
3144
2853
|
readonly context?: OpensteerBrowserContextOptions;
|
|
@@ -3157,6 +2866,7 @@ interface OpensteerSessionRuntimeOptions {
|
|
|
3157
2866
|
readonly rootDir?: string;
|
|
3158
2867
|
readonly rootPath?: string;
|
|
3159
2868
|
readonly engineName?: OpensteerEngineName;
|
|
2869
|
+
readonly environment?: OpensteerEnvironment;
|
|
3160
2870
|
readonly browser?: OpensteerBrowserOptions;
|
|
3161
2871
|
readonly launch?: OpensteerBrowserLaunchOptions;
|
|
3162
2872
|
readonly context?: OpensteerBrowserContextOptions;
|
|
@@ -3170,12 +2880,6 @@ interface OpensteerSessionRuntimeOptions {
|
|
|
3170
2880
|
readonly observationSessionId?: string;
|
|
3171
2881
|
readonly observationSink?: ObservationSink;
|
|
3172
2882
|
}
|
|
3173
|
-
declare class OpensteerRuntime extends OpensteerSessionRuntime$1 {
|
|
3174
|
-
constructor(options?: OpensteerRuntimeOptions);
|
|
3175
|
-
}
|
|
3176
|
-
declare class OpensteerSessionRuntime extends OpensteerSessionRuntime$1 {
|
|
3177
|
-
constructor(options: OpensteerSessionRuntimeOptions);
|
|
3178
|
-
}
|
|
3179
2883
|
|
|
3180
2884
|
interface OpensteerTargetOptions {
|
|
3181
2885
|
readonly element?: number;
|
|
@@ -3196,13 +2900,9 @@ interface OpensteerScrollOptions extends OpensteerTargetOptions {
|
|
|
3196
2900
|
readonly direction: "up" | "down" | "left" | "right";
|
|
3197
2901
|
readonly amount: number;
|
|
3198
2902
|
}
|
|
3199
|
-
|
|
2903
|
+
interface OpensteerExtractOptions {
|
|
3200
2904
|
readonly persist: string;
|
|
3201
|
-
|
|
3202
|
-
} | {
|
|
3203
|
-
readonly persist?: string;
|
|
3204
|
-
readonly schema: Record<string, unknown>;
|
|
3205
|
-
};
|
|
2905
|
+
}
|
|
3206
2906
|
interface OpensteerWaitForPageOptions {
|
|
3207
2907
|
readonly openerPageRef?: string;
|
|
3208
2908
|
readonly urlIncludes?: string;
|
|
@@ -3274,7 +2974,6 @@ declare class Opensteer {
|
|
|
3274
2974
|
scroll(input: OpensteerScrollOptions): Promise<OpensteerActionResult>;
|
|
3275
2975
|
extract(input: OpensteerExtractOptions): Promise<unknown>;
|
|
3276
2976
|
waitForPage(input?: OpensteerWaitForPageOptions): Promise<OpensteerPageListOutput["pages"][number]>;
|
|
3277
|
-
snapshot(mode?: OpensteerSnapshotMode): Promise<string>;
|
|
3278
2977
|
cookies(domain?: string): Promise<OpensteerCookieJar>;
|
|
3279
2978
|
storage(domain?: string, type?: OpensteerStorageArea): Promise<OpensteerStorageMap>;
|
|
3280
2979
|
state(domain?: string): Promise<OpensteerBrowserState>;
|
|
@@ -3287,8 +2986,6 @@ declare class Opensteer {
|
|
|
3287
2986
|
private requireOwnedInstrumentationRuntime;
|
|
3288
2987
|
}
|
|
3289
2988
|
|
|
3290
|
-
type OpensteerEnvironment = Record<string, string | undefined>;
|
|
3291
|
-
|
|
3292
2989
|
interface OpensteerCloudConfig {
|
|
3293
2990
|
readonly apiKey: string;
|
|
3294
2991
|
readonly baseUrl: string;
|
|
@@ -3300,50 +2997,6 @@ declare function resolveCloudConfig(input?: {
|
|
|
3300
2997
|
readonly environment?: OpensteerEnvironment;
|
|
3301
2998
|
}): OpensteerCloudConfig | undefined;
|
|
3302
2999
|
|
|
3303
|
-
interface OpensteerRuntimeOperationOptions {
|
|
3304
|
-
readonly signal?: AbortSignal;
|
|
3305
|
-
readonly timeoutMs?: number;
|
|
3306
|
-
}
|
|
3307
|
-
interface OpensteerSemanticRuntime {
|
|
3308
|
-
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
3309
|
-
open(input?: OpensteerOpenInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerOpenOutput>;
|
|
3310
|
-
listPages(input?: OpensteerPageListInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageListOutput>;
|
|
3311
|
-
newPage(input?: OpensteerPageNewInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageNewOutput>;
|
|
3312
|
-
activatePage(input: OpensteerPageActivateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageActivateOutput>;
|
|
3313
|
-
closePage(input?: OpensteerPageCloseInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageCloseOutput>;
|
|
3314
|
-
goto(input: OpensteerPageGotoInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageGotoOutput>;
|
|
3315
|
-
evaluate(input: OpensteerPageEvaluateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageEvaluateOutput>;
|
|
3316
|
-
addInitScript(input: OpensteerAddInitScriptInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerAddInitScriptOutput>;
|
|
3317
|
-
snapshot(input?: OpensteerPageSnapshotInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerPageSnapshotOutput>;
|
|
3318
|
-
click(input: OpensteerDomClickInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3319
|
-
hover(input: OpensteerDomHoverInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3320
|
-
input(input: OpensteerDomInputInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3321
|
-
scroll(input: OpensteerDomScrollInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
3322
|
-
extract(input: OpensteerDomExtractInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
|
|
3323
|
-
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
3324
|
-
getNetworkDetail(input: OpensteerNetworkDetailInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
3325
|
-
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
3326
|
-
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
3327
|
-
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
3328
|
-
replayInteraction(input: OpensteerInteractionReplayInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionReplayOutput>;
|
|
3329
|
-
captureScripts(input?: OpensteerCaptureScriptsInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
|
|
3330
|
-
readArtifact(input: OpensteerArtifactReadInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
|
|
3331
|
-
beautifyScript(input: OpensteerScriptBeautifyInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptBeautifyOutput>;
|
|
3332
|
-
deobfuscateScript(input: OpensteerScriptDeobfuscateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptDeobfuscateOutput>;
|
|
3333
|
-
sandboxScript(input: OpensteerScriptSandboxInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptSandboxOutput>;
|
|
3334
|
-
solveCaptcha(input: OpensteerCaptchaSolveInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptchaSolveOutput>;
|
|
3335
|
-
getCookies(input?: OpensteerCookieQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCookieQueryOutput>;
|
|
3336
|
-
getStorageSnapshot(input?: OpensteerStorageQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStorageQueryOutput>;
|
|
3337
|
-
getBrowserState(input?: OpensteerStateQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStateQueryOutput>;
|
|
3338
|
-
fetch(input: OpensteerSessionFetchInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionFetchOutput>;
|
|
3339
|
-
computerExecute(input: OpensteerComputerExecuteInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerComputerExecuteOutput>;
|
|
3340
|
-
close(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionCloseOutput>;
|
|
3341
|
-
}
|
|
3342
|
-
|
|
3343
|
-
interface OpensteerDisconnectableRuntime extends OpensteerSemanticRuntime {
|
|
3344
|
-
disconnect(): Promise<void>;
|
|
3345
|
-
}
|
|
3346
|
-
|
|
3347
3000
|
interface OpensteerResolvedRuntimeConfig {
|
|
3348
3001
|
readonly provider: OpensteerResolvedProvider;
|
|
3349
3002
|
readonly cloud?: OpensteerCloudConfig;
|
|
@@ -3352,12 +3005,6 @@ declare function resolveOpensteerRuntimeConfig(input?: {
|
|
|
3352
3005
|
readonly provider?: OpensteerProviderOptions;
|
|
3353
3006
|
readonly environment?: OpensteerEnvironment;
|
|
3354
3007
|
}): OpensteerResolvedRuntimeConfig;
|
|
3355
|
-
declare function createOpensteerSemanticRuntime(input?: {
|
|
3356
|
-
readonly runtimeOptions?: OpensteerRuntimeOptions;
|
|
3357
|
-
readonly engine?: OpensteerEngineName;
|
|
3358
|
-
readonly provider?: OpensteerProviderOptions;
|
|
3359
|
-
readonly environment?: OpensteerEnvironment;
|
|
3360
|
-
}): OpensteerDisconnectableRuntime;
|
|
3361
3008
|
|
|
3362
3009
|
type BrowserBrandId = "chrome" | "chrome-canary" | "chromium" | "brave" | "edge" | "vivaldi" | "helium";
|
|
3363
3010
|
|
|
@@ -3461,88 +3108,6 @@ declare function readPersistedLocalBrowserSessionRecord(rootPath: string): Promi
|
|
|
3461
3108
|
declare function writePersistedSessionRecord(rootPath: string, record: PersistedSessionRecord): Promise<void>;
|
|
3462
3109
|
declare function clearPersistedSessionRecord(rootPath: string, provider: OpensteerLiveSessionProvider): Promise<void>;
|
|
3463
3110
|
|
|
3464
|
-
interface CloudSessionProxyOptions {
|
|
3465
|
-
readonly rootDir?: string;
|
|
3466
|
-
readonly rootPath?: string;
|
|
3467
|
-
readonly workspace?: string;
|
|
3468
|
-
readonly policy?: OpensteerPolicy;
|
|
3469
|
-
readonly cleanupRootOnClose?: boolean;
|
|
3470
|
-
readonly observability?: Partial<ObservabilityConfig>;
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
|
-
declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
3474
|
-
readonly rootPath: string;
|
|
3475
|
-
readonly workspace: string | undefined;
|
|
3476
|
-
private readonly cleanupRootOnClose;
|
|
3477
|
-
private readonly cloud;
|
|
3478
|
-
private readonly observability;
|
|
3479
|
-
private readonly policy;
|
|
3480
|
-
private sessionId;
|
|
3481
|
-
private semanticGrant;
|
|
3482
|
-
private client;
|
|
3483
|
-
private automation;
|
|
3484
|
-
private workspaceStore;
|
|
3485
|
-
private syncWorkspaceOnClose;
|
|
3486
|
-
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
3487
|
-
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
3488
|
-
info(): Promise<OpensteerSessionInfo>;
|
|
3489
|
-
listPages(input?: OpensteerPageListInput): Promise<OpensteerPageListOutput>;
|
|
3490
|
-
newPage(input?: OpensteerPageNewInput): Promise<OpensteerPageNewOutput>;
|
|
3491
|
-
activatePage(input: OpensteerPageActivateInput): Promise<OpensteerPageActivateOutput>;
|
|
3492
|
-
closePage(input?: OpensteerPageCloseInput): Promise<OpensteerPageCloseOutput>;
|
|
3493
|
-
goto(input: OpensteerPageGotoInput): Promise<OpensteerPageGotoOutput>;
|
|
3494
|
-
evaluate(input: OpensteerPageEvaluateInput): Promise<OpensteerPageEvaluateOutput>;
|
|
3495
|
-
addInitScript(input: OpensteerAddInitScriptInput): Promise<OpensteerAddInitScriptOutput>;
|
|
3496
|
-
snapshot(input?: OpensteerPageSnapshotInput): Promise<OpensteerPageSnapshotOutput>;
|
|
3497
|
-
click(input: OpensteerDomClickInput): Promise<OpensteerActionResult>;
|
|
3498
|
-
hover(input: OpensteerDomHoverInput): Promise<OpensteerActionResult>;
|
|
3499
|
-
input(input: OpensteerDomInputInput): Promise<OpensteerActionResult>;
|
|
3500
|
-
scroll(input: OpensteerDomScrollInput): Promise<OpensteerActionResult>;
|
|
3501
|
-
extract(input: OpensteerDomExtractInput): Promise<OpensteerDomExtractOutput>;
|
|
3502
|
-
queryNetwork(input?: OpensteerNetworkQueryInput): Promise<OpensteerNetworkQueryOutput>;
|
|
3503
|
-
getNetworkDetail(input: OpensteerNetworkDetailInput): Promise<OpensteerNetworkDetailOutput>;
|
|
3504
|
-
captureInteraction(input: OpensteerInteractionCaptureInput): Promise<OpensteerInteractionCaptureOutput>;
|
|
3505
|
-
getInteraction(input: OpensteerInteractionGetInput): Promise<OpensteerInteractionGetOutput>;
|
|
3506
|
-
diffInteraction(input: OpensteerInteractionDiffInput): Promise<OpensteerInteractionDiffOutput>;
|
|
3507
|
-
replayInteraction(input: OpensteerInteractionReplayInput): Promise<OpensteerInteractionReplayOutput>;
|
|
3508
|
-
captureScripts(input?: OpensteerCaptureScriptsInput): Promise<OpensteerCaptureScriptsOutput>;
|
|
3509
|
-
readArtifact(input: OpensteerArtifactReadInput): Promise<OpensteerArtifactReadOutput>;
|
|
3510
|
-
beautifyScript(input: OpensteerScriptBeautifyInput): Promise<OpensteerScriptBeautifyOutput>;
|
|
3511
|
-
deobfuscateScript(input: OpensteerScriptDeobfuscateInput): Promise<OpensteerScriptDeobfuscateOutput>;
|
|
3512
|
-
sandboxScript(input: OpensteerScriptSandboxInput): Promise<OpensteerScriptSandboxOutput>;
|
|
3513
|
-
solveCaptcha(input: OpensteerCaptchaSolveInput): Promise<OpensteerCaptchaSolveOutput>;
|
|
3514
|
-
getCookies(input?: OpensteerCookieQueryInput): Promise<OpensteerCookieQueryOutput>;
|
|
3515
|
-
route(input: OpensteerRouteOptions): Promise<OpensteerRouteRegistration>;
|
|
3516
|
-
interceptScript(input: OpensteerInterceptScriptOptions): Promise<OpensteerRouteRegistration>;
|
|
3517
|
-
getStorageSnapshot(input?: OpensteerStorageQueryInput): Promise<OpensteerStorageQueryOutput>;
|
|
3518
|
-
getBrowserState(input?: OpensteerStateQueryInput): Promise<OpensteerStateQueryOutput>;
|
|
3519
|
-
fetch(input: OpensteerSessionFetchInput): Promise<OpensteerSessionFetchOutput>;
|
|
3520
|
-
computerExecute(input: OpensteerComputerExecuteInput): Promise<OpensteerComputerExecuteOutput>;
|
|
3521
|
-
close(): Promise<OpensteerSessionCloseOutput>;
|
|
3522
|
-
disconnect(): Promise<void>;
|
|
3523
|
-
private ensureSession;
|
|
3524
|
-
private syncWorkspaceToCloud;
|
|
3525
|
-
private bindClient;
|
|
3526
|
-
private ensureWorkspaceStore;
|
|
3527
|
-
private loadPersistedSession;
|
|
3528
|
-
private writePersistedSession;
|
|
3529
|
-
private clearPersistedSession;
|
|
3530
|
-
private isReusableCloudSession;
|
|
3531
|
-
private requireClient;
|
|
3532
|
-
private requireAutomation;
|
|
3533
|
-
private ensureSemanticGrant;
|
|
3534
|
-
private handleSemanticClientError;
|
|
3535
|
-
private invokeSemanticOperation;
|
|
3536
|
-
private invokeAutomationOperation;
|
|
3537
|
-
private runOperationWithPolicy;
|
|
3538
|
-
private shouldUseLocalCloudTransport;
|
|
3539
|
-
}
|
|
3540
|
-
|
|
3541
|
-
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
3542
|
-
readonly signal?: AbortSignal;
|
|
3543
|
-
readonly timeoutMs?: number;
|
|
3544
|
-
}): Promise<unknown>;
|
|
3545
|
-
|
|
3546
3111
|
interface LocalChromeProfileDescriptor {
|
|
3547
3112
|
readonly directory: string;
|
|
3548
3113
|
readonly name: string;
|
|
@@ -3578,4 +3143,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
3578
3143
|
readonly timeoutMs?: number;
|
|
3579
3144
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
3580
3145
|
|
|
3581
|
-
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,
|
|
3146
|
+
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 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, 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, isValidCssAttributeKey, listLocalChromeProfiles, manifestToExternalBinaryLocation, normalizeExtractedValue, normalizeObservabilityConfig, normalizeOpensteerEngineName, normalizeOpensteerProviderMode, normalizeWorkspaceId, parseDomDescriptorRecord, parseExtractionDescriptorRecord, readPersistedCloudSessionRecord, readPersistedLocalBrowserSessionRecord, readPersistedSessionRecord, resolveCloudConfig, resolveCloudSessionRecordPath, resolveDomActionBridge, resolveExtractedValueInContext, resolveFilesystemWorkspacePath, resolveLiveSessionRecordPath, resolveLocalSessionRecordPath, resolveOpensteerEngineName, resolveOpensteerProvider, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath, writePersistedSessionRecord };
|