@opensteer/runtime-core 0.1.5 → 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.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { OpensteerArtifactKind, ArtifactProvenance, TraceContext, HtmlSnapshot, DomSnapshot, CookieRecord, StorageSnapshot, ScriptSourceArtifactData, ArtifactRelation, ArtifactReference, OpensteerArtifact, ExternalBinaryLocation, OpensteerSemanticOperationName, OpensteerAuthRecipePayload, OpensteerRequestPlanPayload, OpensteerRequestPlanFreshness, 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, OpensteerNetworkTagInput, OpensteerNetworkTagOutput, OpensteerNetworkClearInput, OpensteerNetworkClearOutput, OpensteerCaptureScriptsInput, OpensteerCaptureScriptsOutput, OpensteerNetworkMinimizeInput, OpensteerNetworkMinimizeOutput, OpensteerNetworkDiffInput, OpensteerNetworkDiffOutput, OpensteerArtifactReadInput, OpensteerArtifactReadOutput, OpensteerTransportProbeInput, OpensteerTransportProbeOutput, OpensteerReverseDiscoverInput, OpensteerReverseDiscoverOutput, OpensteerReverseQueryInput, OpensteerReverseQueryOutput, OpensteerReversePackageCreateInput, OpensteerReversePackageCreateOutput, OpensteerReversePackageRunInput, OpensteerReversePackageRunOutput, OpensteerReverseExportInput, OpensteerReverseExportOutput, OpensteerReverseReportInput, OpensteerReverseReportOutput, OpensteerReversePackageGetInput, OpensteerReversePackageGetOutput, OpensteerReversePackageListInput, OpensteerReversePackageListOutput, OpensteerReversePackagePatchInput, OpensteerReversePackagePatchOutput, OpensteerInteractionCaptureInput, OpensteerInteractionCaptureOutput, OpensteerInteractionGetInput, OpensteerInteractionGetOutput, OpensteerInteractionDiffInput, OpensteerInteractionDiffOutput, OpensteerInteractionReplayInput, OpensteerInteractionReplayOutput, OpensteerScriptBeautifyInput, OpensteerScriptBeautifyOutput, OpensteerScriptDeobfuscateInput, OpensteerScriptDeobfuscateOutput, OpensteerScriptSandboxInput, OpensteerScriptSandboxOutput, OpensteerCaptchaSolveInput, OpensteerCaptchaSolveOutput, OpensteerInferRequestPlanInput, OpensteerWriteRequestPlanInput, OpensteerGetRequestPlanInput, OpensteerListRequestPlansInput, OpensteerListRequestPlansOutput, OpensteerWriteAuthRecipeInput, OpensteerWriteRecipeInput, OpensteerGetAuthRecipeInput, OpensteerGetRecipeInput, OpensteerListAuthRecipesInput, OpensteerListAuthRecipesOutput, OpensteerListRecipesInput, OpensteerListRecipesOutput, OpensteerRunAuthRecipeInput, OpensteerRunAuthRecipeOutput, OpensteerRunRecipeInput, OpensteerRunRecipeOutput, OpensteerRawRequestInput, OpensteerRawRequestOutput, OpensteerRequestExecuteInput, OpensteerRequestExecuteOutput, OpensteerComputerExecuteInput, OpensteerComputerExecuteOutput, OpensteerSessionCloseOutput } from '@opensteer/protocol';
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
 
@@ -305,7 +305,7 @@ interface SavedNetworkQueryInput {
305
305
  readonly hostname?: string;
306
306
  readonly path?: string;
307
307
  readonly method?: string;
308
- readonly status?: string;
308
+ readonly status?: string | number;
309
309
  readonly resourceType?: NetworkResourceType;
310
310
  readonly includeBodies?: boolean;
311
311
  readonly limit?: number;
@@ -477,7 +477,7 @@ type ElementPath = ReplayElementPath;
477
477
  interface DomDescriptorPayload {
478
478
  readonly kind: "dom-target";
479
479
  readonly method: string;
480
- readonly description: string;
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 description: string;
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 description: string;
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 hashDomDescriptorDescription(description: string): string;
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 description: string;
517
+ readonly persist: string;
518
518
  }): string;
519
519
  declare function buildDomDescriptorPayload(input: DomWriteDescriptorInput): DomDescriptorPayload;
520
520
  declare function buildDomDescriptorVersion(payload: DomDescriptorPayload): string;
@@ -601,7 +601,7 @@ type PersistedOpensteerExtractionNode = PersistedOpensteerExtractionValueNode |
601
601
  type PersistedOpensteerExtractionPayload = PersistedOpensteerExtractionObjectNode;
602
602
  interface OpensteerExtractionDescriptorPayload {
603
603
  readonly kind: "dom-extraction";
604
- readonly description: string;
604
+ readonly persist: string;
605
605
  readonly root: PersistedOpensteerExtractionPayload;
606
606
  readonly schemaHash?: string;
607
607
  readonly sourceUrl?: string;
@@ -616,10 +616,10 @@ interface OpensteerExtractionDescriptorRecord {
616
616
  }
617
617
  interface OpensteerExtractionDescriptorStore {
618
618
  read(input: {
619
- readonly description: string;
619
+ readonly persist: string;
620
620
  }): Promise<OpensteerExtractionDescriptorRecord | undefined>;
621
621
  write(input: {
622
- readonly description: string;
622
+ readonly persist: string;
623
623
  readonly root: PersistedOpensteerExtractionPayload;
624
624
  readonly schemaHash?: string;
625
625
  readonly sourceUrl?: string;
@@ -650,13 +650,6 @@ interface OpensteerSessionRuntimeOptions {
650
650
  readonly policy?: OpensteerPolicy;
651
651
  readonly descriptorStore?: DomDescriptorStore;
652
652
  readonly extractionDescriptorStore?: OpensteerExtractionDescriptorStore;
653
- readonly registryOverrides?: {
654
- readonly requestPlans?: RequestPlanRegistryStore;
655
- readonly authRecipes?: AuthRecipeRegistryStore;
656
- readonly recipes?: RecipeRegistryStore;
657
- readonly reverseCases?: ReverseCaseRegistryStore;
658
- readonly reversePackages?: ReversePackageRegistryStore;
659
- };
660
653
  readonly cleanupRootOnClose?: boolean;
661
654
  readonly sessionInfo?: Partial<Omit<OpensteerSessionInfo, "sessionId" | "activePageRef">>;
662
655
  readonly observability?: Partial<ObservabilityConfig>;
@@ -675,7 +668,6 @@ declare class OpensteerSessionRuntime {
675
668
  private readonly policy;
676
669
  private readonly injectedDescriptorStore;
677
670
  private readonly injectedExtractionDescriptorStore;
678
- private readonly registryOverrides;
679
671
  private readonly cleanupRootOnClose;
680
672
  private readonly sessionInfoBase;
681
673
  private observationConfig;
@@ -693,8 +685,6 @@ declare class OpensteerSessionRuntime {
693
685
  private observations;
694
686
  private readonly operationEventStorage;
695
687
  private readonly pendingOperationEventCaptures;
696
- private readonly cookieJars;
697
- private readonly recipeCache;
698
688
  private ownsEngine;
699
689
  constructor(options: OpensteerSessionRuntimeOptions);
700
690
  info(): Promise<OpensteerSessionInfo>;
@@ -714,39 +704,12 @@ declare class OpensteerSessionRuntime {
714
704
  scroll(input: OpensteerDomScrollInput, options?: RuntimeOperationOptions): Promise<OpensteerActionResult>;
715
705
  extract(input: OpensteerDomExtractInput, options?: RuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
716
706
  queryNetwork(input?: OpensteerNetworkQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
717
- tagNetwork(input: OpensteerNetworkTagInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkTagOutput>;
718
- clearNetwork(input?: OpensteerNetworkClearInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkClearOutput>;
707
+ getNetworkDetail(input: {
708
+ readonly recordId: string;
709
+ readonly probe?: boolean;
710
+ }, options?: RuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
719
711
  captureScripts(input?: OpensteerCaptureScriptsInput, options?: RuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
720
- minimizeNetwork(input: OpensteerNetworkMinimizeInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkMinimizeOutput>;
721
- diffNetwork(input: OpensteerNetworkDiffInput, options?: RuntimeOperationOptions): Promise<OpensteerNetworkDiffOutput>;
722
712
  readArtifact(input: OpensteerArtifactReadInput, options?: RuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
723
- probeNetwork(input: OpensteerTransportProbeInput, options?: RuntimeOperationOptions): Promise<OpensteerTransportProbeOutput>;
724
- discoverReverse(input: OpensteerReverseDiscoverInput, options?: RuntimeOperationOptions): Promise<OpensteerReverseDiscoverOutput>;
725
- queryReverse(input: OpensteerReverseQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerReverseQueryOutput>;
726
- createReversePackage(input: OpensteerReversePackageCreateInput, options?: RuntimeOperationOptions): Promise<OpensteerReversePackageCreateOutput>;
727
- runReversePackage(input: OpensteerReversePackageRunInput, options?: RuntimeOperationOptions): Promise<OpensteerReversePackageRunOutput>;
728
- exportReverse(input: OpensteerReverseExportInput, options?: RuntimeOperationOptions): Promise<OpensteerReverseExportOutput>;
729
- getReverseReport(input: OpensteerReverseReportInput, options?: RuntimeOperationOptions): Promise<OpensteerReverseReportOutput>;
730
- getReversePackage(input: OpensteerReversePackageGetInput, options?: RuntimeOperationOptions): Promise<OpensteerReversePackageGetOutput>;
731
- listReversePackages(input?: OpensteerReversePackageListInput, options?: RuntimeOperationOptions): Promise<OpensteerReversePackageListOutput>;
732
- patchReversePackage(input: OpensteerReversePackagePatchInput, options?: RuntimeOperationOptions): Promise<OpensteerReversePackagePatchOutput>;
733
- private captureReverseCaseInternal;
734
- private analyzeReverseCaseInternal;
735
- private queryReverseCaseInternal;
736
- private resolveReversePackageSource;
737
- private replayReversePackageInternal;
738
- private executeReversePackageWorkflow;
739
- private executeReversePackageOperationStep;
740
- private resolveReversePackageResolverValues;
741
- private resolveReversePackageResolverValue;
742
- private resolveReverseValueTemplate;
743
- private resolveReverseValueReference;
744
- private waitForReversePackageRecord;
745
- private buildReverseTransportOperationInput;
746
- private writePortableReverseRequestPlan;
747
- private writeReversePackage;
748
- private buildReversePackageDraft;
749
- private writeReverseReportRecord;
750
713
  captureInteraction(input: OpensteerInteractionCaptureInput, options?: RuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
751
714
  getInteraction(input: OpensteerInteractionGetInput, options?: RuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
752
715
  private runInteractionCaptureScript;
@@ -757,29 +720,12 @@ declare class OpensteerSessionRuntime {
757
720
  deobfuscateScript(input: OpensteerScriptDeobfuscateInput, options?: RuntimeOperationOptions): Promise<OpensteerScriptDeobfuscateOutput>;
758
721
  sandboxScript(input: OpensteerScriptSandboxInput, options?: RuntimeOperationOptions): Promise<OpensteerScriptSandboxOutput>;
759
722
  solveCaptcha(input: OpensteerCaptchaSolveInput, options?: RuntimeOperationOptions): Promise<OpensteerCaptchaSolveOutput>;
760
- inferRequestPlan(input: OpensteerInferRequestPlanInput, options?: RuntimeOperationOptions): Promise<RequestPlanRecord>;
761
- writeRequestPlan(input: OpensteerWriteRequestPlanInput, options?: RuntimeOperationOptions): Promise<RequestPlanRecord>;
762
- getRequestPlan(input: OpensteerGetRequestPlanInput, options?: RuntimeOperationOptions): Promise<RequestPlanRecord>;
763
- listRequestPlans(input?: OpensteerListRequestPlansInput, options?: RuntimeOperationOptions): Promise<OpensteerListRequestPlansOutput>;
764
- writeAuthRecipe(input: OpensteerWriteAuthRecipeInput, options?: RuntimeOperationOptions): Promise<AuthRecipeRecord>;
765
- writeRecipe(input: OpensteerWriteRecipeInput, options?: RuntimeOperationOptions): Promise<RecipeRecord>;
766
- getAuthRecipe(input: OpensteerGetAuthRecipeInput, options?: RuntimeOperationOptions): Promise<AuthRecipeRecord>;
767
- getRecipe(input: OpensteerGetRecipeInput, options?: RuntimeOperationOptions): Promise<RecipeRecord>;
768
- listAuthRecipes(input?: OpensteerListAuthRecipesInput, options?: RuntimeOperationOptions): Promise<OpensteerListAuthRecipesOutput>;
769
- listRecipes(input?: OpensteerListRecipesInput, options?: RuntimeOperationOptions): Promise<OpensteerListRecipesOutput>;
770
- getCookies(input?: {
771
- readonly urls?: readonly string[];
772
- }, options?: RuntimeOperationOptions): Promise<readonly CookieRecord[]>;
773
- getStorageSnapshot(input?: {
774
- readonly includeSessionStorage?: boolean;
775
- readonly includeIndexedDb?: boolean;
776
- }, options?: RuntimeOperationOptions): Promise<StorageSnapshot>;
777
- runAuthRecipe(input: OpensteerRunAuthRecipeInput, options?: RuntimeOperationOptions): Promise<OpensteerRunAuthRecipeOutput>;
778
- runRecipe(input: OpensteerRunRecipeInput, options?: RuntimeOperationOptions): Promise<OpensteerRunRecipeOutput>;
779
- rawRequest(input: OpensteerRawRequestInput, options?: RuntimeOperationOptions): Promise<OpensteerRawRequestOutput>;
723
+ getCookies(input?: OpensteerCookieQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerCookieQueryOutput>;
724
+ getStorageSnapshot(input?: OpensteerStorageQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerStorageQueryOutput>;
725
+ getBrowserState(input?: OpensteerStateQueryInput, options?: RuntimeOperationOptions): Promise<OpensteerStateQueryOutput>;
726
+ fetch(input: OpensteerSessionFetchInput, options?: RuntimeOperationOptions): Promise<OpensteerSessionFetchOutput>;
780
727
  route(input: OpensteerRouteOptions): Promise<OpensteerRouteRegistration>;
781
728
  interceptScript(input: OpensteerInterceptScriptOptions): Promise<OpensteerRouteRegistration>;
782
- request(input: OpensteerRequestExecuteInput, options?: RuntimeOperationOptions): Promise<OpensteerRequestExecuteOutput>;
783
729
  computerExecute(input: OpensteerComputerExecuteInput, options?: RuntimeOperationOptions): Promise<OpensteerComputerExecuteOutput>;
784
730
  close(options?: RuntimeOperationOptions): Promise<OpensteerSessionCloseOutput>;
785
731
  disconnect(): Promise<void>;
@@ -787,6 +733,7 @@ declare class OpensteerSessionRuntime {
787
733
  private runDomAction;
788
734
  private prepareDomTarget;
789
735
  private queryLiveNetwork;
736
+ private invalidateLiveSnapshotCounters;
790
737
  private captureScriptsInternal;
791
738
  private materializeCapturedScript;
792
739
  private runMutationCapturedOperation;
@@ -794,19 +741,18 @@ declare class OpensteerSessionRuntime {
794
741
  private finalizeMutationCaptureBestEffort;
795
742
  private completeMutationCaptureWithSignal;
796
743
  private resolveNetworkRecordByRecordId;
797
- private resolveCurrentStateSource;
798
- private resolveReverseCaseById;
799
- private tryResolveReverseCaseById;
800
- private resolveReversePackageById;
801
- private resolveReverseReportById;
802
- private resolveReverseReportByPackageId;
803
- private resolveReverseReportByCaseId;
744
+ private buildNetworkSummaryRecords;
745
+ private buildNetworkDetail;
746
+ private probeTransportsForRecord;
747
+ private buildRedirectChain;
748
+ private readCookieQueryOutput;
749
+ private readStorageQueryOutput;
750
+ private readBrowserStateOutput;
751
+ private executeSessionFetch;
752
+ private executeReplayTransportAttempt;
753
+ private executeFetchTransportAttempt;
804
754
  private resolveInteractionTraceById;
805
755
  private captureReverseStateSnapshot;
806
- private restoreReverseStateSnapshots;
807
- private waitForObservedReplayRecord;
808
- private waitForMatchingReplayRecord;
809
- private isObservedReplayRecordSettled;
810
756
  private replayInteractionTraceById;
811
757
  private readBrowserNetworkRecords;
812
758
  private readLiveNetworkRecords;
@@ -814,46 +760,23 @@ declare class OpensteerSessionRuntime {
814
760
  private persistLiveRequestIdsWithSignal;
815
761
  private syncPersistedNetworkSelection;
816
762
  private toSavedNetworkQueryInput;
817
- private toQueryInputFromTagInput;
818
763
  private readLiveRequestIds;
819
764
  private observeLiveTransportDelta;
820
765
  private executeTransportRequestWithJournal;
821
766
  private currentBinding;
822
767
  private requireSessionRef;
823
768
  private ensureBrowserTransportBinding;
824
- private requireExistingBrowserBindingForRecovery;
825
- private executeRawTransportRequest;
826
769
  private executeDirectTransportRequestWithPersistence;
827
770
  private executePageHttpTransportRequestWithPersistence;
828
771
  private executeContextTransportRequestWithPersistence;
829
772
  private executeMatchedTlsTransportRequestWithPersistence;
830
773
  private executePageHttpTransportRequest;
831
- private executePageHttpEventStreamRequest;
832
- private executePageHttpWebSocketRequest;
833
774
  private executeContextTransportRequest;
834
775
  private executeMatchedTlsTransportRequest;
835
776
  private persistDirectTransportRecord;
836
- private executeResolvedRequestPlan;
837
- private executePlanTransportRequest;
838
- private touchRequestPlanFreshness;
839
- private executeConfiguredRecipeBinding;
840
- private clearRecipeBindingCache;
841
- private retryResolvedRequestPlan;
842
- private resolveRecipeRecord;
843
- private runResolvedRecipe;
844
- private executeRecipeRecord;
845
- private executeRecipeStep;
846
- private executeAuthRecipeHook;
847
- private executeRecipeRequest;
848
777
  private resolvePageHttpBinding;
849
- private syncBrowserCookiesToJar;
850
- private executeAnalysisTransportRequest;
851
778
  private resolveScriptTransformSource;
852
779
  private buildScriptTransformOutput;
853
- private applyCookieJarToTransportRequest;
854
- private updateCookieJarFromResponse;
855
- private readCookieValue;
856
- private readStorageValue;
857
780
  private flushPersistedNetworkHistory;
858
781
  private toDomTargetRef;
859
782
  private ensureRoot;
@@ -904,51 +827,24 @@ interface OpensteerSemanticRuntime {
904
827
  scroll(input: OpensteerDomScrollInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
905
828
  extract(input: OpensteerDomExtractInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
906
829
  queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
907
- tagNetwork(input: OpensteerNetworkTagInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkTagOutput>;
908
- minimizeNetwork(input: OpensteerNetworkMinimizeInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkMinimizeOutput>;
909
- diffNetwork(input: OpensteerNetworkDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDiffOutput>;
910
- probeNetwork(input: OpensteerTransportProbeInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerTransportProbeOutput>;
911
- discoverReverse(input: OpensteerReverseDiscoverInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReverseDiscoverOutput>;
912
- queryReverse(input: OpensteerReverseQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReverseQueryOutput>;
913
- createReversePackage(input: OpensteerReversePackageCreateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReversePackageCreateOutput>;
914
- runReversePackage(input: OpensteerReversePackageRunInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReversePackageRunOutput>;
915
- exportReverse(input: OpensteerReverseExportInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReverseExportOutput>;
916
- getReverseReport(input: OpensteerReverseReportInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReverseReportOutput>;
917
- getReversePackage(input: OpensteerReversePackageGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReversePackageGetOutput>;
918
- listReversePackages(input?: OpensteerReversePackageListInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReversePackageListOutput>;
919
- patchReversePackage(input: OpensteerReversePackagePatchInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerReversePackagePatchOutput>;
830
+ getNetworkDetail(input: {
831
+ readonly recordId: string;
832
+ readonly probe?: boolean;
833
+ }, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
920
834
  captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
921
835
  getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
922
836
  diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
923
837
  replayInteraction(input: OpensteerInteractionReplayInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionReplayOutput>;
924
- clearNetwork(input?: OpensteerNetworkClearInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkClearOutput>;
925
838
  captureScripts(input?: OpensteerCaptureScriptsInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptureScriptsOutput>;
926
839
  readArtifact(input: OpensteerArtifactReadInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerArtifactReadOutput>;
927
840
  beautifyScript(input: OpensteerScriptBeautifyInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptBeautifyOutput>;
928
841
  deobfuscateScript(input: OpensteerScriptDeobfuscateInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptDeobfuscateOutput>;
929
842
  sandboxScript(input: OpensteerScriptSandboxInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerScriptSandboxOutput>;
930
843
  solveCaptcha(input: OpensteerCaptchaSolveInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCaptchaSolveOutput>;
931
- getCookies(input?: {
932
- readonly urls?: readonly string[];
933
- }, options?: OpensteerRuntimeOperationOptions): Promise<readonly CookieRecord[]>;
934
- getStorageSnapshot(input?: {
935
- readonly includeSessionStorage?: boolean;
936
- readonly includeIndexedDb?: boolean;
937
- }, options?: OpensteerRuntimeOperationOptions): Promise<StorageSnapshot>;
938
- rawRequest(input: OpensteerRawRequestInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerRawRequestOutput>;
939
- inferRequestPlan(input: OpensteerInferRequestPlanInput, options?: OpensteerRuntimeOperationOptions): Promise<RequestPlanRecord>;
940
- writeRequestPlan(input: OpensteerWriteRequestPlanInput, options?: OpensteerRuntimeOperationOptions): Promise<RequestPlanRecord>;
941
- getRequestPlan(input: OpensteerGetRequestPlanInput, options?: OpensteerRuntimeOperationOptions): Promise<RequestPlanRecord>;
942
- listRequestPlans(input?: OpensteerListRequestPlansInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerListRequestPlansOutput>;
943
- writeAuthRecipe(input: OpensteerWriteAuthRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<AuthRecipeRecord>;
944
- writeRecipe(input: OpensteerWriteRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<RecipeRecord>;
945
- getAuthRecipe(input: OpensteerGetAuthRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<AuthRecipeRecord>;
946
- getRecipe(input: OpensteerGetRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<RecipeRecord>;
947
- listAuthRecipes(input?: OpensteerListAuthRecipesInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerListAuthRecipesOutput>;
948
- listRecipes(input?: OpensteerListRecipesInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerListRecipesOutput>;
949
- runAuthRecipe(input: OpensteerRunAuthRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerRunAuthRecipeOutput>;
950
- runRecipe(input: OpensteerRunRecipeInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerRunRecipeOutput>;
951
- request(input: OpensteerRequestExecuteInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerRequestExecuteOutput>;
844
+ getCookies(input?: OpensteerCookieQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerCookieQueryOutput>;
845
+ getStorageSnapshot(input?: OpensteerStorageQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStorageQueryOutput>;
846
+ getBrowserState(input?: OpensteerStateQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerStateQueryOutput>;
847
+ fetch(input: OpensteerSessionFetchInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionFetchOutput>;
952
848
  computerExecute(input: OpensteerComputerExecuteInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerComputerExecuteOutput>;
953
849
  close(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionCloseOutput>;
954
850
  }
@@ -1200,4 +1096,4 @@ declare class FlowRecorderCollector {
1200
1096
 
1201
1097
  declare function generateReplayScript(options: CodegenOptions): string;
1202
1098
 
1203
- export { type ArtifactManifest, type ArtifactPayloadType, type ArtifactScope, type AuthRecipeRecord, type AuthRecipeRegistryStore, 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 RecipeRecord, type RecipeRegistryStore, type RecordedAction, type RecordedActionDetail, type RecordedActionKind, type RecorderInitialPageState, type RecorderPageState, type RecorderRuntimeAdapter, type RecordingOptions, type RegistryProvenance, type ReloadRecordedActionDetail, type ReplayTarget, type RequestPlanFreshness, type RequestPlanRecord, type RequestPlanRegistryStore, type ResolveRegistryRecordInput, type ReverseCaseRecord, type ReverseCaseRegistryStore, type ReversePackageRecord, type ReversePackageRegistryStore, type ReverseReportRecord, type ReverseReportRegistryStore, type ScrollRecordedActionDetail, type SelectOptionRecordedActionDetail, type StoredArtifactPayload, type StoredArtifactRecord, type StructuredArtifactKind, type SwitchTabRecordedActionDetail, type TypeRecordedActionDetail, type UpdateRequestPlanFreshnessInput, type UpdateReverseCaseInput, type WriteAuthRecipeInput, type WriteBinaryArtifactInput, type WriteDescriptorInput, type WriteInteractionTraceInput, type WriteRecipeInput, type WriteRequestPlanInput, type WriteReverseCaseInput, type WriteReversePackageInput, type WriteReverseReportInput, type WriteStructuredArtifactInput, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, createArtifactStore, createDomDescriptorStore, createFilesystemOpensteerWorkspace, createFlowRecorderInstallScript, createObservationStore, createOpensteerExtractionDescriptorStore, dispatchSemanticOperation, generateReplayScript, hashDomDescriptorDescription, manifestToExternalBinaryLocation, normalizeObservabilityConfig, normalizeWorkspaceId, parseDomDescriptorRecord, parseExtractionDescriptorRecord, resolveFilesystemWorkspacePath, sanitizeReplayElementPath };
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 };