@opensteer/runtime-core 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +126 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +126 -183
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OpensteerArtifactKind, ArtifactProvenance, TraceContext, HtmlSnapshot, DomSnapshot, CookieRecord, StorageSnapshot, ScriptSourceArtifactData, ArtifactRelation, ArtifactReference, OpensteerArtifact, ExternalBinaryLocation, OpensteerSemanticOperationName, OpensteerRequestPlanPayload, OpensteerRequestPlanFreshness, OpensteerAuthRecipePayload, OpensteerRecipePayload, OpensteerReverseCasePayload, OpensteerInteractionTracePayload, OpensteerReversePackagePayload, OpensteerReverseReportPayload, NetworkQueryRecord, NetworkResourceType, ObservationSink, ObservationSession, ObservationEvent, ObservationArtifact, ObservabilityConfig, ObservabilityProfile, TraceOutcome, OpensteerEvent, OpensteerError, TraceRecord, TraceBundle, ReplayElementPath, OpensteerBrowserOptions, OpensteerBrowserLaunchOptions, OpensteerBrowserContextOptions, OpensteerSessionInfo, OpensteerOpenInput, OpensteerOpenOutput, OpensteerPageListInput, OpensteerPageListOutput, OpensteerPageNewInput, OpensteerPageNewOutput, OpensteerPageActivateInput, OpensteerPageActivateOutput, OpensteerPageCloseInput, OpensteerPageCloseOutput, OpensteerPageGotoInput, OpensteerPageGotoOutput, OpensteerPageEvaluateInput, OpensteerPageEvaluateOutput, OpensteerAddInitScriptInput, OpensteerAddInitScriptOutput, OpensteerPageSnapshotInput, OpensteerPageSnapshotOutput, OpensteerDomClickInput, OpensteerActionResult, OpensteerDomHoverInput, OpensteerDomInputInput, OpensteerDomScrollInput, OpensteerDomExtractInput, OpensteerDomExtractOutput, OpensteerNetworkQueryInput, OpensteerNetworkQueryOutput, OpensteerNetworkDetailOutput,
|
|
1
|
+
import { OpensteerArtifactKind, ArtifactProvenance, TraceContext, HtmlSnapshot, DomSnapshot, CookieRecord, StorageSnapshot, ScriptSourceArtifactData, ArtifactRelation, ArtifactReference, OpensteerArtifact, ExternalBinaryLocation, OpensteerSemanticOperationName, OpensteerRequestPlanPayload, OpensteerRequestPlanFreshness, OpensteerAuthRecipePayload, OpensteerRecipePayload, OpensteerReverseCasePayload, OpensteerInteractionTracePayload, OpensteerReversePackagePayload, OpensteerReverseReportPayload, NetworkQueryRecord, NetworkResourceType, ObservationSink, ObservationSession, ObservationEvent, ObservationArtifact, ObservabilityConfig, ObservabilityProfile, TraceOutcome, OpensteerEvent, OpensteerError, TraceRecord, TraceBundle, ReplayElementPath, OpensteerBrowserOptions, OpensteerBrowserLaunchOptions, OpensteerBrowserContextOptions, OpensteerSessionInfo, OpensteerOpenInput, OpensteerOpenOutput, OpensteerPageListInput, OpensteerPageListOutput, OpensteerPageNewInput, OpensteerPageNewOutput, OpensteerPageActivateInput, OpensteerPageActivateOutput, OpensteerPageCloseInput, OpensteerPageCloseOutput, OpensteerPageGotoInput, OpensteerPageGotoOutput, OpensteerPageEvaluateInput, OpensteerPageEvaluateOutput, OpensteerAddInitScriptInput, OpensteerAddInitScriptOutput, OpensteerPageSnapshotInput, OpensteerPageSnapshotOutput, OpensteerDomClickInput, OpensteerActionResult, OpensteerDomHoverInput, OpensteerDomInputInput, OpensteerDomScrollInput, OpensteerDomExtractInput, OpensteerDomExtractOutput, OpensteerNetworkQueryInput, OpensteerNetworkQueryOutput, OpensteerNetworkDetailOutput, OpensteerCaptureScriptsInput, OpensteerCaptureScriptsOutput, OpensteerArtifactReadInput, OpensteerArtifactReadOutput, OpensteerInteractionCaptureInput, OpensteerInteractionCaptureOutput, OpensteerInteractionGetInput, OpensteerInteractionGetOutput, OpensteerInteractionDiffInput, OpensteerInteractionDiffOutput, OpensteerInteractionReplayInput, OpensteerInteractionReplayOutput, OpensteerScriptBeautifyInput, OpensteerScriptBeautifyOutput, OpensteerScriptDeobfuscateInput, OpensteerScriptDeobfuscateOutput, OpensteerScriptSandboxInput, OpensteerScriptSandboxOutput, OpensteerCaptchaSolveInput, OpensteerCaptchaSolveOutput, OpensteerCookieQueryInput, OpensteerCookieQueryOutput, OpensteerStorageQueryInput, OpensteerStorageQueryOutput, OpensteerStateQueryInput, OpensteerStateQueryOutput, OpensteerSessionFetchInput, OpensteerSessionFetchOutput, OpensteerComputerExecuteInput, OpensteerComputerExecuteOutput, OpensteerSessionCloseOutput } from '@opensteer/protocol';
|
|
2
2
|
export { ReplayElementPath } from '@opensteer/protocol';
|
|
3
3
|
import { BrowserCoreEngine, PageRef, NetworkRecord, HeaderEntry, BodyPayload, SessionRef } from '@opensteer/browser-core';
|
|
4
4
|
|
|
@@ -477,7 +477,7 @@ type ElementPath = ReplayElementPath;
|
|
|
477
477
|
interface DomDescriptorPayload {
|
|
478
478
|
readonly kind: "dom-target";
|
|
479
479
|
readonly method: string;
|
|
480
|
-
readonly
|
|
480
|
+
readonly persist: string;
|
|
481
481
|
readonly path: ReplayElementPath;
|
|
482
482
|
readonly sourceUrl?: string;
|
|
483
483
|
}
|
|
@@ -491,7 +491,7 @@ interface DomDescriptorRecord {
|
|
|
491
491
|
}
|
|
492
492
|
interface DomWriteDescriptorInput {
|
|
493
493
|
readonly method: string;
|
|
494
|
-
readonly
|
|
494
|
+
readonly persist: string;
|
|
495
495
|
readonly path: ReplayElementPath;
|
|
496
496
|
readonly sourceUrl?: string;
|
|
497
497
|
readonly createdAt?: number;
|
|
@@ -499,7 +499,7 @@ interface DomWriteDescriptorInput {
|
|
|
499
499
|
}
|
|
500
500
|
interface DomReadDescriptorInput {
|
|
501
501
|
readonly method: string;
|
|
502
|
-
readonly
|
|
502
|
+
readonly persist: string;
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
interface DomDescriptorStore {
|
|
@@ -510,11 +510,11 @@ declare function createDomDescriptorStore(options: {
|
|
|
510
510
|
readonly root?: FilesystemOpensteerWorkspace;
|
|
511
511
|
readonly namespace?: string;
|
|
512
512
|
}): DomDescriptorStore;
|
|
513
|
-
declare function
|
|
513
|
+
declare function hashDomDescriptorPersist(persist: string): string;
|
|
514
514
|
declare function buildDomDescriptorKey(options: {
|
|
515
515
|
readonly namespace?: string;
|
|
516
516
|
readonly method: string;
|
|
517
|
-
readonly
|
|
517
|
+
readonly persist: string;
|
|
518
518
|
}): string;
|
|
519
519
|
declare function buildDomDescriptorPayload(input: DomWriteDescriptorInput): DomDescriptorPayload;
|
|
520
520
|
declare function buildDomDescriptorVersion(payload: DomDescriptorPayload): string;
|
|
@@ -706,8 +706,8 @@ declare class OpensteerSessionRuntime {
|
|
|
706
706
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
707
707
|
getNetworkDetail(input: {
|
|
708
708
|
readonly recordId: string;
|
|
709
|
+
readonly probe?: boolean;
|
|
709
710
|
}, options?: RuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
710
|
-
replayNetwork(input: OpensteerNetworkReplayInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkReplayOutput>;
|
|
711
711
|
captureScripts(input?: OpensteerCaptureScriptsInput, options?: RuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
|
|
712
712
|
readArtifact(input: OpensteerArtifactReadInput, options?: RuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
|
|
713
713
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: RuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
@@ -733,6 +733,7 @@ declare class OpensteerSessionRuntime {
|
|
|
733
733
|
private runDomAction;
|
|
734
734
|
private prepareDomTarget;
|
|
735
735
|
private queryLiveNetwork;
|
|
736
|
+
private invalidateLiveSnapshotCounters;
|
|
736
737
|
private captureScriptsInternal;
|
|
737
738
|
private materializeCapturedScript;
|
|
738
739
|
private runMutationCapturedOperation;
|
|
@@ -742,11 +743,11 @@ declare class OpensteerSessionRuntime {
|
|
|
742
743
|
private resolveNetworkRecordByRecordId;
|
|
743
744
|
private buildNetworkSummaryRecords;
|
|
744
745
|
private buildNetworkDetail;
|
|
746
|
+
private probeTransportsForRecord;
|
|
745
747
|
private buildRedirectChain;
|
|
746
748
|
private readCookieQueryOutput;
|
|
747
749
|
private readStorageQueryOutput;
|
|
748
750
|
private readBrowserStateOutput;
|
|
749
|
-
private executeNetworkReplay;
|
|
750
751
|
private executeSessionFetch;
|
|
751
752
|
private executeReplayTransportAttempt;
|
|
752
753
|
private executeFetchTransportAttempt;
|
|
@@ -828,8 +829,8 @@ interface OpensteerSemanticRuntime {
|
|
|
828
829
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
829
830
|
getNetworkDetail(input: {
|
|
830
831
|
readonly recordId: string;
|
|
832
|
+
readonly probe?: boolean;
|
|
831
833
|
}, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
832
|
-
replayNetwork(input: OpensteerNetworkReplayInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkReplayOutput>;
|
|
833
834
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
834
835
|
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
835
836
|
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -1095,4 +1096,4 @@ declare class FlowRecorderCollector {
|
|
|
1095
1096
|
|
|
1096
1097
|
declare function generateReplayScript(options: CodegenOptions): string;
|
|
1097
1098
|
|
|
1098
|
-
export { type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type ClickRecordedActionDetail, type CloseTabRecordedActionDetail, type CloudReplayTarget, type CodegenOptions, type CreateFilesystemOpensteerWorkspaceOptions, type DblclickRecordedActionDetail, type DescriptorRecord, type DescriptorRegistryStore, type DomDescriptorPayload, type DomDescriptorRecord, type DomDescriptorStore, type DomReadDescriptorInput, type DomWriteDescriptorInput, FLOW_RECORDER_DRAIN_SCRIPT, FLOW_RECORDER_INSTALL_SCRIPT, FilesystemArtifactStore, type FilesystemObservationStore, type FilesystemOpensteerWorkspace, FlowRecorderCollector, type FlowRecorderCollectorOptions, type FlowRecorderSnapshot, type GoBackRecordedActionDetail, type GoForwardRecordedActionDetail, type InteractionTraceRecord, type InteractionTraceRegistryStore, type KeypressRecordedActionDetail, type ListObservationArtifactsInput, type ListObservationEventsInput, type ListRegistryRecordsInput, type LocalReplayTarget, type NavigateRecordedActionDetail, type NewTabRecordedActionDetail, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OPENSTEER_RUNTIME_CORE_VERSION, type OpensteerArtifactStore, type OpensteerEngineFactory, type OpensteerEngineFactoryOptions, type OpensteerExtractionDescriptorPayload, type OpensteerExtractionDescriptorRecord, type OpensteerExtractionDescriptorStore, type OpensteerRuntimeOperationOptions, type OpensteerRuntimeWorkspace, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerWorkspaceManifest, type ProtocolArtifactDelivery, type RawFlowRecorderClickEvent, type RawFlowRecorderDblclickEvent, type RawFlowRecorderEvent, type RawFlowRecorderGoBackEvent, type RawFlowRecorderGoForwardEvent, type RawFlowRecorderKeypressEvent, type RawFlowRecorderNavigateEvent, type RawFlowRecorderReloadEvent, type RawFlowRecorderScrollEvent, type RawFlowRecorderSelectOptionEvent, type RawFlowRecorderTypeEvent, type RecordedAction, type RecordedActionDetail, type RecordedActionKind, type RecorderInitialPageState, type RecorderPageState, type RecorderRuntimeAdapter, type RecordingOptions, type RegistryProvenance, type ReloadRecordedActionDetail, type ReplayTarget, type ResolveRegistryRecordInput, type ScrollRecordedActionDetail, type SelectOptionRecordedActionDetail, type StoredArtifactPayload, type StoredArtifactRecord, type StructuredArtifactKind, type SwitchTabRecordedActionDetail, type TypeRecordedActionDetail, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteStructuredArtifactInput, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, createArtifactStore, createDomDescriptorStore, createFilesystemOpensteerWorkspace, createFlowRecorderInstallScript, createObservationStore, createOpensteerExtractionDescriptorStore, dispatchSemanticOperation, generateReplayScript,
|
|
1099
|
+
export { type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type ClickRecordedActionDetail, type CloseTabRecordedActionDetail, type CloudReplayTarget, type CodegenOptions, type CreateFilesystemOpensteerWorkspaceOptions, type DblclickRecordedActionDetail, type DescriptorRecord, type DescriptorRegistryStore, type DomDescriptorPayload, type DomDescriptorRecord, type DomDescriptorStore, type DomReadDescriptorInput, type DomWriteDescriptorInput, FLOW_RECORDER_DRAIN_SCRIPT, FLOW_RECORDER_INSTALL_SCRIPT, FilesystemArtifactStore, type FilesystemObservationStore, type FilesystemOpensteerWorkspace, FlowRecorderCollector, type FlowRecorderCollectorOptions, type FlowRecorderSnapshot, type GoBackRecordedActionDetail, type GoForwardRecordedActionDetail, type InteractionTraceRecord, type InteractionTraceRegistryStore, type KeypressRecordedActionDetail, type ListObservationArtifactsInput, type ListObservationEventsInput, type ListRegistryRecordsInput, type LocalReplayTarget, type NavigateRecordedActionDetail, type NewTabRecordedActionDetail, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OPENSTEER_RUNTIME_CORE_VERSION, type OpensteerArtifactStore, type OpensteerEngineFactory, type OpensteerEngineFactoryOptions, type OpensteerExtractionDescriptorPayload, type OpensteerExtractionDescriptorRecord, type OpensteerExtractionDescriptorStore, type OpensteerRuntimeOperationOptions, type OpensteerRuntimeWorkspace, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerWorkspaceManifest, type ProtocolArtifactDelivery, type RawFlowRecorderClickEvent, type RawFlowRecorderDblclickEvent, type RawFlowRecorderEvent, type RawFlowRecorderGoBackEvent, type RawFlowRecorderGoForwardEvent, type RawFlowRecorderKeypressEvent, type RawFlowRecorderNavigateEvent, type RawFlowRecorderReloadEvent, type RawFlowRecorderScrollEvent, type RawFlowRecorderSelectOptionEvent, type RawFlowRecorderTypeEvent, type RecordedAction, type RecordedActionDetail, type RecordedActionKind, type RecorderInitialPageState, type RecorderPageState, type RecorderRuntimeAdapter, type RecordingOptions, type RegistryProvenance, type ReloadRecordedActionDetail, type ReplayTarget, type ResolveRegistryRecordInput, type ScrollRecordedActionDetail, type SelectOptionRecordedActionDetail, type StoredArtifactPayload, type StoredArtifactRecord, type StructuredArtifactKind, type SwitchTabRecordedActionDetail, type TypeRecordedActionDetail, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteStructuredArtifactInput, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, createArtifactStore, createDomDescriptorStore, createFilesystemOpensteerWorkspace, createFlowRecorderInstallScript, createObservationStore, createOpensteerExtractionDescriptorStore, dispatchSemanticOperation, generateReplayScript, hashDomDescriptorPersist, manifestToExternalBinaryLocation, normalizeObservabilityConfig, normalizeWorkspaceId, parseDomDescriptorRecord, parseExtractionDescriptorRecord, resolveFilesystemWorkspacePath, sanitizeReplayElementPath };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OpensteerArtifactKind, ArtifactProvenance, TraceContext, HtmlSnapshot, DomSnapshot, CookieRecord, StorageSnapshot, ScriptSourceArtifactData, ArtifactRelation, ArtifactReference, OpensteerArtifact, ExternalBinaryLocation, OpensteerSemanticOperationName, OpensteerRequestPlanPayload, OpensteerRequestPlanFreshness, OpensteerAuthRecipePayload, OpensteerRecipePayload, OpensteerReverseCasePayload, OpensteerInteractionTracePayload, OpensteerReversePackagePayload, OpensteerReverseReportPayload, NetworkQueryRecord, NetworkResourceType, ObservationSink, ObservationSession, ObservationEvent, ObservationArtifact, ObservabilityConfig, ObservabilityProfile, TraceOutcome, OpensteerEvent, OpensteerError, TraceRecord, TraceBundle, ReplayElementPath, OpensteerBrowserOptions, OpensteerBrowserLaunchOptions, OpensteerBrowserContextOptions, OpensteerSessionInfo, OpensteerOpenInput, OpensteerOpenOutput, OpensteerPageListInput, OpensteerPageListOutput, OpensteerPageNewInput, OpensteerPageNewOutput, OpensteerPageActivateInput, OpensteerPageActivateOutput, OpensteerPageCloseInput, OpensteerPageCloseOutput, OpensteerPageGotoInput, OpensteerPageGotoOutput, OpensteerPageEvaluateInput, OpensteerPageEvaluateOutput, OpensteerAddInitScriptInput, OpensteerAddInitScriptOutput, OpensteerPageSnapshotInput, OpensteerPageSnapshotOutput, OpensteerDomClickInput, OpensteerActionResult, OpensteerDomHoverInput, OpensteerDomInputInput, OpensteerDomScrollInput, OpensteerDomExtractInput, OpensteerDomExtractOutput, OpensteerNetworkQueryInput, OpensteerNetworkQueryOutput, OpensteerNetworkDetailOutput,
|
|
1
|
+
import { OpensteerArtifactKind, ArtifactProvenance, TraceContext, HtmlSnapshot, DomSnapshot, CookieRecord, StorageSnapshot, ScriptSourceArtifactData, ArtifactRelation, ArtifactReference, OpensteerArtifact, ExternalBinaryLocation, OpensteerSemanticOperationName, OpensteerRequestPlanPayload, OpensteerRequestPlanFreshness, OpensteerAuthRecipePayload, OpensteerRecipePayload, OpensteerReverseCasePayload, OpensteerInteractionTracePayload, OpensteerReversePackagePayload, OpensteerReverseReportPayload, NetworkQueryRecord, NetworkResourceType, ObservationSink, ObservationSession, ObservationEvent, ObservationArtifact, ObservabilityConfig, ObservabilityProfile, TraceOutcome, OpensteerEvent, OpensteerError, TraceRecord, TraceBundle, ReplayElementPath, OpensteerBrowserOptions, OpensteerBrowserLaunchOptions, OpensteerBrowserContextOptions, OpensteerSessionInfo, OpensteerOpenInput, OpensteerOpenOutput, OpensteerPageListInput, OpensteerPageListOutput, OpensteerPageNewInput, OpensteerPageNewOutput, OpensteerPageActivateInput, OpensteerPageActivateOutput, OpensteerPageCloseInput, OpensteerPageCloseOutput, OpensteerPageGotoInput, OpensteerPageGotoOutput, OpensteerPageEvaluateInput, OpensteerPageEvaluateOutput, OpensteerAddInitScriptInput, OpensteerAddInitScriptOutput, OpensteerPageSnapshotInput, OpensteerPageSnapshotOutput, OpensteerDomClickInput, OpensteerActionResult, OpensteerDomHoverInput, OpensteerDomInputInput, OpensteerDomScrollInput, OpensteerDomExtractInput, OpensteerDomExtractOutput, OpensteerNetworkQueryInput, OpensteerNetworkQueryOutput, OpensteerNetworkDetailOutput, OpensteerCaptureScriptsInput, OpensteerCaptureScriptsOutput, OpensteerArtifactReadInput, OpensteerArtifactReadOutput, OpensteerInteractionCaptureInput, OpensteerInteractionCaptureOutput, OpensteerInteractionGetInput, OpensteerInteractionGetOutput, OpensteerInteractionDiffInput, OpensteerInteractionDiffOutput, OpensteerInteractionReplayInput, OpensteerInteractionReplayOutput, OpensteerScriptBeautifyInput, OpensteerScriptBeautifyOutput, OpensteerScriptDeobfuscateInput, OpensteerScriptDeobfuscateOutput, OpensteerScriptSandboxInput, OpensteerScriptSandboxOutput, OpensteerCaptchaSolveInput, OpensteerCaptchaSolveOutput, OpensteerCookieQueryInput, OpensteerCookieQueryOutput, OpensteerStorageQueryInput, OpensteerStorageQueryOutput, OpensteerStateQueryInput, OpensteerStateQueryOutput, OpensteerSessionFetchInput, OpensteerSessionFetchOutput, OpensteerComputerExecuteInput, OpensteerComputerExecuteOutput, OpensteerSessionCloseOutput } from '@opensteer/protocol';
|
|
2
2
|
export { ReplayElementPath } from '@opensteer/protocol';
|
|
3
3
|
import { BrowserCoreEngine, PageRef, NetworkRecord, HeaderEntry, BodyPayload, SessionRef } from '@opensteer/browser-core';
|
|
4
4
|
|
|
@@ -477,7 +477,7 @@ type ElementPath = ReplayElementPath;
|
|
|
477
477
|
interface DomDescriptorPayload {
|
|
478
478
|
readonly kind: "dom-target";
|
|
479
479
|
readonly method: string;
|
|
480
|
-
readonly
|
|
480
|
+
readonly persist: string;
|
|
481
481
|
readonly path: ReplayElementPath;
|
|
482
482
|
readonly sourceUrl?: string;
|
|
483
483
|
}
|
|
@@ -491,7 +491,7 @@ interface DomDescriptorRecord {
|
|
|
491
491
|
}
|
|
492
492
|
interface DomWriteDescriptorInput {
|
|
493
493
|
readonly method: string;
|
|
494
|
-
readonly
|
|
494
|
+
readonly persist: string;
|
|
495
495
|
readonly path: ReplayElementPath;
|
|
496
496
|
readonly sourceUrl?: string;
|
|
497
497
|
readonly createdAt?: number;
|
|
@@ -499,7 +499,7 @@ interface DomWriteDescriptorInput {
|
|
|
499
499
|
}
|
|
500
500
|
interface DomReadDescriptorInput {
|
|
501
501
|
readonly method: string;
|
|
502
|
-
readonly
|
|
502
|
+
readonly persist: string;
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
interface DomDescriptorStore {
|
|
@@ -510,11 +510,11 @@ declare function createDomDescriptorStore(options: {
|
|
|
510
510
|
readonly root?: FilesystemOpensteerWorkspace;
|
|
511
511
|
readonly namespace?: string;
|
|
512
512
|
}): DomDescriptorStore;
|
|
513
|
-
declare function
|
|
513
|
+
declare function hashDomDescriptorPersist(persist: string): string;
|
|
514
514
|
declare function buildDomDescriptorKey(options: {
|
|
515
515
|
readonly namespace?: string;
|
|
516
516
|
readonly method: string;
|
|
517
|
-
readonly
|
|
517
|
+
readonly persist: string;
|
|
518
518
|
}): string;
|
|
519
519
|
declare function buildDomDescriptorPayload(input: DomWriteDescriptorInput): DomDescriptorPayload;
|
|
520
520
|
declare function buildDomDescriptorVersion(payload: DomDescriptorPayload): string;
|
|
@@ -706,8 +706,8 @@ declare class OpensteerSessionRuntime {
|
|
|
706
706
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
707
707
|
getNetworkDetail(input: {
|
|
708
708
|
readonly recordId: string;
|
|
709
|
+
readonly probe?: boolean;
|
|
709
710
|
}, options?: RuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
710
|
-
replayNetwork(input: OpensteerNetworkReplayInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkReplayOutput>;
|
|
711
711
|
captureScripts(input?: OpensteerCaptureScriptsInput, options?: RuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
|
|
712
712
|
readArtifact(input: OpensteerArtifactReadInput, options?: RuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
|
|
713
713
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: RuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
@@ -733,6 +733,7 @@ declare class OpensteerSessionRuntime {
|
|
|
733
733
|
private runDomAction;
|
|
734
734
|
private prepareDomTarget;
|
|
735
735
|
private queryLiveNetwork;
|
|
736
|
+
private invalidateLiveSnapshotCounters;
|
|
736
737
|
private captureScriptsInternal;
|
|
737
738
|
private materializeCapturedScript;
|
|
738
739
|
private runMutationCapturedOperation;
|
|
@@ -742,11 +743,11 @@ declare class OpensteerSessionRuntime {
|
|
|
742
743
|
private resolveNetworkRecordByRecordId;
|
|
743
744
|
private buildNetworkSummaryRecords;
|
|
744
745
|
private buildNetworkDetail;
|
|
746
|
+
private probeTransportsForRecord;
|
|
745
747
|
private buildRedirectChain;
|
|
746
748
|
private readCookieQueryOutput;
|
|
747
749
|
private readStorageQueryOutput;
|
|
748
750
|
private readBrowserStateOutput;
|
|
749
|
-
private executeNetworkReplay;
|
|
750
751
|
private executeSessionFetch;
|
|
751
752
|
private executeReplayTransportAttempt;
|
|
752
753
|
private executeFetchTransportAttempt;
|
|
@@ -828,8 +829,8 @@ interface OpensteerSemanticRuntime {
|
|
|
828
829
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
829
830
|
getNetworkDetail(input: {
|
|
830
831
|
readonly recordId: string;
|
|
832
|
+
readonly probe?: boolean;
|
|
831
833
|
}, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
832
|
-
replayNetwork(input: OpensteerNetworkReplayInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkReplayOutput>;
|
|
833
834
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
834
835
|
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
835
836
|
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -1095,4 +1096,4 @@ declare class FlowRecorderCollector {
|
|
|
1095
1096
|
|
|
1096
1097
|
declare function generateReplayScript(options: CodegenOptions): string;
|
|
1097
1098
|
|
|
1098
|
-
export { type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type ClickRecordedActionDetail, type CloseTabRecordedActionDetail, type CloudReplayTarget, type CodegenOptions, type CreateFilesystemOpensteerWorkspaceOptions, type DblclickRecordedActionDetail, type DescriptorRecord, type DescriptorRegistryStore, type DomDescriptorPayload, type DomDescriptorRecord, type DomDescriptorStore, type DomReadDescriptorInput, type DomWriteDescriptorInput, FLOW_RECORDER_DRAIN_SCRIPT, FLOW_RECORDER_INSTALL_SCRIPT, FilesystemArtifactStore, type FilesystemObservationStore, type FilesystemOpensteerWorkspace, FlowRecorderCollector, type FlowRecorderCollectorOptions, type FlowRecorderSnapshot, type GoBackRecordedActionDetail, type GoForwardRecordedActionDetail, type InteractionTraceRecord, type InteractionTraceRegistryStore, type KeypressRecordedActionDetail, type ListObservationArtifactsInput, type ListObservationEventsInput, type ListRegistryRecordsInput, type LocalReplayTarget, type NavigateRecordedActionDetail, type NewTabRecordedActionDetail, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OPENSTEER_RUNTIME_CORE_VERSION, type OpensteerArtifactStore, type OpensteerEngineFactory, type OpensteerEngineFactoryOptions, type OpensteerExtractionDescriptorPayload, type OpensteerExtractionDescriptorRecord, type OpensteerExtractionDescriptorStore, type OpensteerRuntimeOperationOptions, type OpensteerRuntimeWorkspace, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerWorkspaceManifest, type ProtocolArtifactDelivery, type RawFlowRecorderClickEvent, type RawFlowRecorderDblclickEvent, type RawFlowRecorderEvent, type RawFlowRecorderGoBackEvent, type RawFlowRecorderGoForwardEvent, type RawFlowRecorderKeypressEvent, type RawFlowRecorderNavigateEvent, type RawFlowRecorderReloadEvent, type RawFlowRecorderScrollEvent, type RawFlowRecorderSelectOptionEvent, type RawFlowRecorderTypeEvent, type RecordedAction, type RecordedActionDetail, type RecordedActionKind, type RecorderInitialPageState, type RecorderPageState, type RecorderRuntimeAdapter, type RecordingOptions, type RegistryProvenance, type ReloadRecordedActionDetail, type ReplayTarget, type ResolveRegistryRecordInput, type ScrollRecordedActionDetail, type SelectOptionRecordedActionDetail, type StoredArtifactPayload, type StoredArtifactRecord, type StructuredArtifactKind, type SwitchTabRecordedActionDetail, type TypeRecordedActionDetail, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteStructuredArtifactInput, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, createArtifactStore, createDomDescriptorStore, createFilesystemOpensteerWorkspace, createFlowRecorderInstallScript, createObservationStore, createOpensteerExtractionDescriptorStore, dispatchSemanticOperation, generateReplayScript,
|
|
1099
|
+
export { type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type ClickRecordedActionDetail, type CloseTabRecordedActionDetail, type CloudReplayTarget, type CodegenOptions, type CreateFilesystemOpensteerWorkspaceOptions, type DblclickRecordedActionDetail, type DescriptorRecord, type DescriptorRegistryStore, type DomDescriptorPayload, type DomDescriptorRecord, type DomDescriptorStore, type DomReadDescriptorInput, type DomWriteDescriptorInput, FLOW_RECORDER_DRAIN_SCRIPT, FLOW_RECORDER_INSTALL_SCRIPT, FilesystemArtifactStore, type FilesystemObservationStore, type FilesystemOpensteerWorkspace, FlowRecorderCollector, type FlowRecorderCollectorOptions, type FlowRecorderSnapshot, type GoBackRecordedActionDetail, type GoForwardRecordedActionDetail, type InteractionTraceRecord, type InteractionTraceRegistryStore, type KeypressRecordedActionDetail, type ListObservationArtifactsInput, type ListObservationEventsInput, type ListRegistryRecordsInput, type LocalReplayTarget, type NavigateRecordedActionDetail, type NewTabRecordedActionDetail, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OPENSTEER_RUNTIME_CORE_VERSION, type OpensteerArtifactStore, type OpensteerEngineFactory, type OpensteerEngineFactoryOptions, type OpensteerExtractionDescriptorPayload, type OpensteerExtractionDescriptorRecord, type OpensteerExtractionDescriptorStore, type OpensteerRuntimeOperationOptions, type OpensteerRuntimeWorkspace, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerWorkspaceManifest, type ProtocolArtifactDelivery, type RawFlowRecorderClickEvent, type RawFlowRecorderDblclickEvent, type RawFlowRecorderEvent, type RawFlowRecorderGoBackEvent, type RawFlowRecorderGoForwardEvent, type RawFlowRecorderKeypressEvent, type RawFlowRecorderNavigateEvent, type RawFlowRecorderReloadEvent, type RawFlowRecorderScrollEvent, type RawFlowRecorderSelectOptionEvent, type RawFlowRecorderTypeEvent, type RecordedAction, type RecordedActionDetail, type RecordedActionKind, type RecorderInitialPageState, type RecorderPageState, type RecorderRuntimeAdapter, type RecordingOptions, type RegistryProvenance, type ReloadRecordedActionDetail, type ReplayTarget, type ResolveRegistryRecordInput, type ScrollRecordedActionDetail, type SelectOptionRecordedActionDetail, type StoredArtifactPayload, type StoredArtifactRecord, type StructuredArtifactKind, type SwitchTabRecordedActionDetail, type TypeRecordedActionDetail, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteStructuredArtifactInput, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, createArtifactStore, createDomDescriptorStore, createFilesystemOpensteerWorkspace, createFlowRecorderInstallScript, createObservationStore, createOpensteerExtractionDescriptorStore, dispatchSemanticOperation, generateReplayScript, hashDomDescriptorPersist, manifestToExternalBinaryLocation, normalizeObservabilityConfig, normalizeWorkspaceId, parseDomDescriptorRecord, parseExtractionDescriptorRecord, resolveFilesystemWorkspacePath, sanitizeReplayElementPath };
|