opensteer 0.8.18 → 0.9.1
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 +5 -5
- package/dist/chunk-4LP7QP2O.js +4336 -0
- package/dist/chunk-4LP7QP2O.js.map +1 -0
- package/dist/{chunk-GQ3PGLYQ.js → chunk-6PGXWW3X.js} +5142 -9634
- package/dist/chunk-6PGXWW3X.js.map +1 -0
- package/dist/chunk-BMPUL66S.js +1170 -0
- package/dist/chunk-BMPUL66S.js.map +1 -0
- package/dist/{chunk-T6TG4WO2.js → chunk-L4FWHBQJ.js} +4 -3
- package/dist/chunk-L4FWHBQJ.js.map +1 -0
- package/dist/chunk-Z53HNZ7Z.js +1800 -0
- package/dist/chunk-Z53HNZ7Z.js.map +1 -0
- package/dist/cli/bin.cjs +3533 -499
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +130 -11
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +1382 -487
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -27
- package/dist/index.d.ts +20 -27
- package/dist/index.js +4 -2
- package/dist/local-view/public/assets/app.css +770 -0
- package/dist/local-view/public/assets/app.js +2053 -0
- package/dist/local-view/public/index.html +235 -0
- package/dist/local-view/serve-entry.cjs +7436 -0
- package/dist/local-view/serve-entry.cjs.map +1 -0
- package/dist/local-view/serve-entry.d.cts +1 -0
- package/dist/local-view/serve-entry.d.ts +1 -0
- package/dist/local-view/serve-entry.js +23 -0
- package/dist/local-view/serve-entry.js.map +1 -0
- package/dist/opensteer-KZCRP425.js +6 -0
- package/dist/{opensteer-XMCWYUH3.js.map → opensteer-KZCRP425.js.map} +1 -1
- package/dist/session-control-VGBFOH3Y.js +39 -0
- package/dist/session-control-VGBFOH3Y.js.map +1 -0
- package/package.json +8 -8
- package/skills/README.md +12 -6
- package/skills/opensteer/SKILL.md +275 -217
- package/skills/recorder/SKILL.md +1 -1
- package/dist/chunk-GQ3PGLYQ.js.map +0 -1
- package/dist/chunk-T6TG4WO2.js.map +0 -1
- package/dist/opensteer-XMCWYUH3.js +0 -4
package/dist/index.d.cts
CHANGED
|
@@ -1222,7 +1222,7 @@ interface OpensteerReplayAttempt {
|
|
|
1222
1222
|
readonly note?: string;
|
|
1223
1223
|
readonly error?: string;
|
|
1224
1224
|
}
|
|
1225
|
-
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "page";
|
|
1225
|
+
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "context" | "page";
|
|
1226
1226
|
interface OpensteerSessionFetchInput {
|
|
1227
1227
|
readonly pageRef?: PageRef;
|
|
1228
1228
|
readonly url: string;
|
|
@@ -1427,25 +1427,6 @@ interface CloudSessionRecordingState {
|
|
|
1427
1427
|
readonly error?: string;
|
|
1428
1428
|
readonly result?: CloudSessionRecordingResult;
|
|
1429
1429
|
}
|
|
1430
|
-
interface CloudSelectorCacheImportEntry {
|
|
1431
|
-
readonly workspace: string;
|
|
1432
|
-
readonly method: string;
|
|
1433
|
-
readonly persistHash: string;
|
|
1434
|
-
readonly persist?: string;
|
|
1435
|
-
readonly path: unknown;
|
|
1436
|
-
readonly schemaHash?: string;
|
|
1437
|
-
readonly createdAt: number;
|
|
1438
|
-
readonly updatedAt: number;
|
|
1439
|
-
}
|
|
1440
|
-
interface CloudSelectorCacheImportRequest {
|
|
1441
|
-
readonly entries: readonly CloudSelectorCacheImportEntry[];
|
|
1442
|
-
}
|
|
1443
|
-
interface CloudSelectorCacheImportResponse {
|
|
1444
|
-
readonly imported: number;
|
|
1445
|
-
readonly inserted: number;
|
|
1446
|
-
readonly updated: number;
|
|
1447
|
-
readonly skipped: number;
|
|
1448
|
-
}
|
|
1449
1430
|
interface CloudRegistryImportEntry {
|
|
1450
1431
|
readonly workspace: string;
|
|
1451
1432
|
readonly recordId: string;
|
|
@@ -3757,6 +3738,7 @@ declare class OpensteerBrowserManager {
|
|
|
3757
3738
|
private closePersistentBrowser;
|
|
3758
3739
|
private writeLivePersistentBrowser;
|
|
3759
3740
|
private requirePersistentMode;
|
|
3741
|
+
private unregisterLocalViewSessionForRecord;
|
|
3760
3742
|
}
|
|
3761
3743
|
|
|
3762
3744
|
declare const OPENSTEER_PROVIDER_MODES: readonly ["local", "cloud"];
|
|
@@ -4018,6 +4000,7 @@ declare function resolveCloudConfig(input?: {
|
|
|
4018
4000
|
|
|
4019
4001
|
interface OpensteerRuntimeOperationOptions {
|
|
4020
4002
|
readonly signal?: AbortSignal;
|
|
4003
|
+
readonly timeoutMs?: number;
|
|
4021
4004
|
}
|
|
4022
4005
|
interface OpensteerSemanticRuntime {
|
|
4023
4006
|
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
@@ -4093,7 +4076,6 @@ interface OpensteerCloudSessionCreateInput {
|
|
|
4093
4076
|
readonly sourceType?: "manual" | "local-cloud";
|
|
4094
4077
|
readonly sourceRef?: string;
|
|
4095
4078
|
readonly localWorkspaceRootPath?: string;
|
|
4096
|
-
readonly locality?: "auto" | "off";
|
|
4097
4079
|
}
|
|
4098
4080
|
interface OpensteerCloudSessionDescriptor {
|
|
4099
4081
|
readonly sessionId: string;
|
|
@@ -4105,15 +4087,19 @@ interface OpensteerCloudSessionDescriptor {
|
|
|
4105
4087
|
interface OpensteerCloudSessionState {
|
|
4106
4088
|
readonly status?: string;
|
|
4107
4089
|
}
|
|
4090
|
+
interface CloudRequestOptions {
|
|
4091
|
+
readonly signal?: AbortSignal | undefined;
|
|
4092
|
+
readonly timeoutMs?: number | undefined;
|
|
4093
|
+
}
|
|
4108
4094
|
|
|
4109
4095
|
declare class OpensteerCloudClient {
|
|
4110
4096
|
private readonly config;
|
|
4111
4097
|
constructor(config: OpensteerCloudConfig);
|
|
4112
4098
|
getConfig(): OpensteerCloudConfig;
|
|
4113
|
-
createSession(input?: OpensteerCloudSessionCreateInput): Promise<OpensteerCloudSessionDescriptor>;
|
|
4099
|
+
createSession(input?: OpensteerCloudSessionCreateInput, options?: CloudRequestOptions): Promise<OpensteerCloudSessionDescriptor>;
|
|
4114
4100
|
listSessions(): Promise<unknown>;
|
|
4115
|
-
getSession(sessionId: string): Promise<OpensteerCloudSessionState>;
|
|
4116
|
-
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[]): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4101
|
+
getSession(sessionId: string, options?: CloudRequestOptions): Promise<OpensteerCloudSessionState>;
|
|
4102
|
+
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[], options?: CloudRequestOptions): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4117
4103
|
getSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4118
4104
|
startSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4119
4105
|
stopSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
@@ -4125,8 +4111,8 @@ declare class OpensteerCloudClient {
|
|
|
4125
4111
|
}): Promise<BrowserProfileImportDescriptor>;
|
|
4126
4112
|
getBrowserProfileImport(importId: string): Promise<BrowserProfileImportDescriptor>;
|
|
4127
4113
|
syncBrowserProfileCookies(input: SyncBrowserProfileCookiesInput): Promise<BrowserProfileImportDescriptor>;
|
|
4128
|
-
importSelectorCache(entries: readonly CloudSelectorCacheImportEntry[]): Promise<CloudSelectorCacheImportResponse>;
|
|
4129
4114
|
importDescriptors(entries: readonly CloudRegistryImportEntry[]): Promise<CloudRegistryImportResponse>;
|
|
4115
|
+
importRequestPlans(input: CloudRequestPlanImportRequest): Promise<CloudRegistryImportResponse>;
|
|
4130
4116
|
buildAuthorizationHeader(): string;
|
|
4131
4117
|
private buildHeaders;
|
|
4132
4118
|
private request;
|
|
@@ -4177,6 +4163,7 @@ interface CloudSessionProxyOptions {
|
|
|
4177
4163
|
readonly rootDir?: string;
|
|
4178
4164
|
readonly rootPath?: string;
|
|
4179
4165
|
readonly workspace?: string;
|
|
4166
|
+
readonly policy?: OpensteerPolicy;
|
|
4180
4167
|
readonly cleanupRootOnClose?: boolean;
|
|
4181
4168
|
readonly observability?: Partial<ObservabilityConfig>;
|
|
4182
4169
|
}
|
|
@@ -4187,11 +4174,13 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4187
4174
|
private readonly cleanupRootOnClose;
|
|
4188
4175
|
private readonly cloud;
|
|
4189
4176
|
private readonly observability;
|
|
4177
|
+
private readonly policy;
|
|
4190
4178
|
private sessionId;
|
|
4191
4179
|
private semanticGrant;
|
|
4192
4180
|
private client;
|
|
4193
4181
|
private automation;
|
|
4194
4182
|
private workspaceStore;
|
|
4183
|
+
private syncWorkspaceOnClose;
|
|
4195
4184
|
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
4196
4185
|
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
4197
4186
|
info(): Promise<OpensteerSessionInfo>;
|
|
@@ -4230,7 +4219,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4230
4219
|
close(): Promise<OpensteerSessionCloseOutput>;
|
|
4231
4220
|
disconnect(): Promise<void>;
|
|
4232
4221
|
private ensureSession;
|
|
4233
|
-
private
|
|
4222
|
+
private syncWorkspaceToCloud;
|
|
4234
4223
|
private bindClient;
|
|
4235
4224
|
private ensureWorkspaceStore;
|
|
4236
4225
|
private loadPersistedSession;
|
|
@@ -4241,11 +4230,15 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4241
4230
|
private requireAutomation;
|
|
4242
4231
|
private ensureSemanticGrant;
|
|
4243
4232
|
private handleSemanticClientError;
|
|
4233
|
+
private invokeSemanticOperation;
|
|
4234
|
+
private invokeAutomationOperation;
|
|
4235
|
+
private runOperationWithPolicy;
|
|
4244
4236
|
private shouldUseLocalCloudTransport;
|
|
4245
4237
|
}
|
|
4246
4238
|
|
|
4247
4239
|
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
4248
4240
|
readonly signal?: AbortSignal;
|
|
4241
|
+
readonly timeoutMs?: number;
|
|
4249
4242
|
}): Promise<unknown>;
|
|
4250
4243
|
|
|
4251
4244
|
interface LocalChromeProfileDescriptor {
|
|
@@ -4283,4 +4276,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
4283
4276
|
readonly timeoutMs?: number;
|
|
4284
4277
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
4285
4278
|
|
|
4286
|
-
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
|
|
4279
|
+
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, CloudSessionProxy, type CloudSessionProxyOptions, 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 OpensteerDisconnectableRuntime, 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, OpensteerRuntime, type OpensteerRuntimeOptions, type OpensteerScrollOptions, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerStorageMap, type OpensteerTargetOptions, type OpensteerTraceStore, type OpensteerWaitForNetworkOptions, 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, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, discoverLocalCdpBrowsers, dispatchSemanticOperation, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1222,7 +1222,7 @@ interface OpensteerReplayAttempt {
|
|
|
1222
1222
|
readonly note?: string;
|
|
1223
1223
|
readonly error?: string;
|
|
1224
1224
|
}
|
|
1225
|
-
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "page";
|
|
1225
|
+
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "context" | "page";
|
|
1226
1226
|
interface OpensteerSessionFetchInput {
|
|
1227
1227
|
readonly pageRef?: PageRef;
|
|
1228
1228
|
readonly url: string;
|
|
@@ -1427,25 +1427,6 @@ interface CloudSessionRecordingState {
|
|
|
1427
1427
|
readonly error?: string;
|
|
1428
1428
|
readonly result?: CloudSessionRecordingResult;
|
|
1429
1429
|
}
|
|
1430
|
-
interface CloudSelectorCacheImportEntry {
|
|
1431
|
-
readonly workspace: string;
|
|
1432
|
-
readonly method: string;
|
|
1433
|
-
readonly persistHash: string;
|
|
1434
|
-
readonly persist?: string;
|
|
1435
|
-
readonly path: unknown;
|
|
1436
|
-
readonly schemaHash?: string;
|
|
1437
|
-
readonly createdAt: number;
|
|
1438
|
-
readonly updatedAt: number;
|
|
1439
|
-
}
|
|
1440
|
-
interface CloudSelectorCacheImportRequest {
|
|
1441
|
-
readonly entries: readonly CloudSelectorCacheImportEntry[];
|
|
1442
|
-
}
|
|
1443
|
-
interface CloudSelectorCacheImportResponse {
|
|
1444
|
-
readonly imported: number;
|
|
1445
|
-
readonly inserted: number;
|
|
1446
|
-
readonly updated: number;
|
|
1447
|
-
readonly skipped: number;
|
|
1448
|
-
}
|
|
1449
1430
|
interface CloudRegistryImportEntry {
|
|
1450
1431
|
readonly workspace: string;
|
|
1451
1432
|
readonly recordId: string;
|
|
@@ -3757,6 +3738,7 @@ declare class OpensteerBrowserManager {
|
|
|
3757
3738
|
private closePersistentBrowser;
|
|
3758
3739
|
private writeLivePersistentBrowser;
|
|
3759
3740
|
private requirePersistentMode;
|
|
3741
|
+
private unregisterLocalViewSessionForRecord;
|
|
3760
3742
|
}
|
|
3761
3743
|
|
|
3762
3744
|
declare const OPENSTEER_PROVIDER_MODES: readonly ["local", "cloud"];
|
|
@@ -4018,6 +4000,7 @@ declare function resolveCloudConfig(input?: {
|
|
|
4018
4000
|
|
|
4019
4001
|
interface OpensteerRuntimeOperationOptions {
|
|
4020
4002
|
readonly signal?: AbortSignal;
|
|
4003
|
+
readonly timeoutMs?: number;
|
|
4021
4004
|
}
|
|
4022
4005
|
interface OpensteerSemanticRuntime {
|
|
4023
4006
|
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
@@ -4093,7 +4076,6 @@ interface OpensteerCloudSessionCreateInput {
|
|
|
4093
4076
|
readonly sourceType?: "manual" | "local-cloud";
|
|
4094
4077
|
readonly sourceRef?: string;
|
|
4095
4078
|
readonly localWorkspaceRootPath?: string;
|
|
4096
|
-
readonly locality?: "auto" | "off";
|
|
4097
4079
|
}
|
|
4098
4080
|
interface OpensteerCloudSessionDescriptor {
|
|
4099
4081
|
readonly sessionId: string;
|
|
@@ -4105,15 +4087,19 @@ interface OpensteerCloudSessionDescriptor {
|
|
|
4105
4087
|
interface OpensteerCloudSessionState {
|
|
4106
4088
|
readonly status?: string;
|
|
4107
4089
|
}
|
|
4090
|
+
interface CloudRequestOptions {
|
|
4091
|
+
readonly signal?: AbortSignal | undefined;
|
|
4092
|
+
readonly timeoutMs?: number | undefined;
|
|
4093
|
+
}
|
|
4108
4094
|
|
|
4109
4095
|
declare class OpensteerCloudClient {
|
|
4110
4096
|
private readonly config;
|
|
4111
4097
|
constructor(config: OpensteerCloudConfig);
|
|
4112
4098
|
getConfig(): OpensteerCloudConfig;
|
|
4113
|
-
createSession(input?: OpensteerCloudSessionCreateInput): Promise<OpensteerCloudSessionDescriptor>;
|
|
4099
|
+
createSession(input?: OpensteerCloudSessionCreateInput, options?: CloudRequestOptions): Promise<OpensteerCloudSessionDescriptor>;
|
|
4114
4100
|
listSessions(): Promise<unknown>;
|
|
4115
|
-
getSession(sessionId: string): Promise<OpensteerCloudSessionState>;
|
|
4116
|
-
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[]): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4101
|
+
getSession(sessionId: string, options?: CloudRequestOptions): Promise<OpensteerCloudSessionState>;
|
|
4102
|
+
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[], options?: CloudRequestOptions): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4117
4103
|
getSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4118
4104
|
startSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4119
4105
|
stopSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
@@ -4125,8 +4111,8 @@ declare class OpensteerCloudClient {
|
|
|
4125
4111
|
}): Promise<BrowserProfileImportDescriptor>;
|
|
4126
4112
|
getBrowserProfileImport(importId: string): Promise<BrowserProfileImportDescriptor>;
|
|
4127
4113
|
syncBrowserProfileCookies(input: SyncBrowserProfileCookiesInput): Promise<BrowserProfileImportDescriptor>;
|
|
4128
|
-
importSelectorCache(entries: readonly CloudSelectorCacheImportEntry[]): Promise<CloudSelectorCacheImportResponse>;
|
|
4129
4114
|
importDescriptors(entries: readonly CloudRegistryImportEntry[]): Promise<CloudRegistryImportResponse>;
|
|
4115
|
+
importRequestPlans(input: CloudRequestPlanImportRequest): Promise<CloudRegistryImportResponse>;
|
|
4130
4116
|
buildAuthorizationHeader(): string;
|
|
4131
4117
|
private buildHeaders;
|
|
4132
4118
|
private request;
|
|
@@ -4177,6 +4163,7 @@ interface CloudSessionProxyOptions {
|
|
|
4177
4163
|
readonly rootDir?: string;
|
|
4178
4164
|
readonly rootPath?: string;
|
|
4179
4165
|
readonly workspace?: string;
|
|
4166
|
+
readonly policy?: OpensteerPolicy;
|
|
4180
4167
|
readonly cleanupRootOnClose?: boolean;
|
|
4181
4168
|
readonly observability?: Partial<ObservabilityConfig>;
|
|
4182
4169
|
}
|
|
@@ -4187,11 +4174,13 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4187
4174
|
private readonly cleanupRootOnClose;
|
|
4188
4175
|
private readonly cloud;
|
|
4189
4176
|
private readonly observability;
|
|
4177
|
+
private readonly policy;
|
|
4190
4178
|
private sessionId;
|
|
4191
4179
|
private semanticGrant;
|
|
4192
4180
|
private client;
|
|
4193
4181
|
private automation;
|
|
4194
4182
|
private workspaceStore;
|
|
4183
|
+
private syncWorkspaceOnClose;
|
|
4195
4184
|
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
4196
4185
|
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
4197
4186
|
info(): Promise<OpensteerSessionInfo>;
|
|
@@ -4230,7 +4219,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4230
4219
|
close(): Promise<OpensteerSessionCloseOutput>;
|
|
4231
4220
|
disconnect(): Promise<void>;
|
|
4232
4221
|
private ensureSession;
|
|
4233
|
-
private
|
|
4222
|
+
private syncWorkspaceToCloud;
|
|
4234
4223
|
private bindClient;
|
|
4235
4224
|
private ensureWorkspaceStore;
|
|
4236
4225
|
private loadPersistedSession;
|
|
@@ -4241,11 +4230,15 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4241
4230
|
private requireAutomation;
|
|
4242
4231
|
private ensureSemanticGrant;
|
|
4243
4232
|
private handleSemanticClientError;
|
|
4233
|
+
private invokeSemanticOperation;
|
|
4234
|
+
private invokeAutomationOperation;
|
|
4235
|
+
private runOperationWithPolicy;
|
|
4244
4236
|
private shouldUseLocalCloudTransport;
|
|
4245
4237
|
}
|
|
4246
4238
|
|
|
4247
4239
|
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
4248
4240
|
readonly signal?: AbortSignal;
|
|
4241
|
+
readonly timeoutMs?: number;
|
|
4249
4242
|
}): Promise<unknown>;
|
|
4250
4243
|
|
|
4251
4244
|
interface LocalChromeProfileDescriptor {
|
|
@@ -4283,4 +4276,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
4283
4276
|
readonly timeoutMs?: number;
|
|
4284
4277
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
4285
4278
|
|
|
4286
|
-
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
|
|
4279
|
+
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, CloudSessionProxy, type CloudSessionProxyOptions, 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 OpensteerDisconnectableRuntime, 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, OpensteerRuntime, type OpensteerRuntimeOptions, type OpensteerScrollOptions, type OpensteerSemanticRuntime, OpensteerSessionRuntime, type OpensteerSessionRuntimeOptions, type OpensteerStorageMap, type OpensteerTargetOptions, type OpensteerTraceStore, type OpensteerWaitForNetworkOptions, 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, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, discoverLocalCdpBrowsers, dispatchSemanticOperation, 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 };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import './chunk-KCINASQC.js';
|
|
2
|
-
export { Opensteer } from './chunk-
|
|
3
|
-
export { CloudSessionProxy,
|
|
2
|
+
export { Opensteer } from './chunk-L4FWHBQJ.js';
|
|
3
|
+
export { CloudSessionProxy, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OpensteerCloudClient, OpensteerRuntime, OpensteerSessionRuntime, STABLE_PRIMARY_ATTR_KEYS, assertProviderSupportsEngine, buildArrayFieldPathCandidates, buildDomDescriptorKey, buildDomDescriptorPayload, buildDomDescriptorVersion, buildPathCandidates, buildPathSelectorHint, buildSegmentSelector, cloneElementPath, cloneReplayElementPath, cloneStructuralElementAnchor, createDomDescriptorStore, createDomRuntime, createOpensteerExtractionDescriptorStore, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, dispatchSemanticOperation, hashDomDescriptorPersist, isCurrentUrlField, isValidCssAttributeKey, normalizeExtractedValue, normalizeOpensteerProviderMode, parseDomDescriptorRecord, parseExtractionDescriptorRecord, resolveCloudConfig, resolveDomActionBridge, resolveExtractedValueInContext, resolveOpensteerProvider, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath } from './chunk-6PGXWW3X.js';
|
|
4
|
+
export { DEFAULT_OPENSTEER_ENGINE, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OpensteerBrowserManager, createArtifactStore, createFilesystemOpensteerWorkspace, createObservationStore, manifestToExternalBinaryLocation, normalizeObservabilityConfig, normalizeOpensteerEngineName, normalizeWorkspaceId, resolveFilesystemWorkspacePath, resolveOpensteerEngineName } from './chunk-4LP7QP2O.js';
|
|
5
|
+
export { OpensteerAttachAmbiguousError, clearPersistedSessionRecord, discoverLocalCdpBrowsers, inspectCdpEndpoint, listLocalChromeProfiles, readPersistedCloudSessionRecord, readPersistedLocalBrowserSessionRecord, readPersistedSessionRecord, resolveCloudSessionRecordPath, resolveLiveSessionRecordPath, resolveLocalSessionRecordPath, writePersistedSessionRecord } from './chunk-BMPUL66S.js';
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
|
5
7
|
//# sourceMappingURL=index.js.map
|