opensteer 0.8.17 → 0.9.0
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/LICENSE +21 -0
- package/README.md +5 -5
- package/dist/{chunk-KBO7DDPF.js → chunk-656MQUSM.js} +462 -221
- package/dist/chunk-656MQUSM.js.map +1 -0
- package/dist/{chunk-Y3ULLNOS.js → chunk-OIKLSFXA.js} +20 -15
- package/dist/chunk-OIKLSFXA.js.map +1 -0
- package/dist/cli/bin.cjs +514 -243
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +9 -7
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +477 -231
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -45
- package/dist/index.d.ts +29 -45
- package/dist/index.js +2 -2
- package/dist/opensteer-LKX3233A.js +4 -0
- package/dist/{opensteer-3Q3LR5XM.js.map → opensteer-LKX3233A.js.map} +1 -1
- package/package.json +9 -10
- package/skills/README.md +9 -6
- package/skills/opensteer/SKILL.md +120 -243
- package/skills/recorder/SKILL.md +1 -1
- package/dist/chunk-KBO7DDPF.js.map +0 -1
- package/dist/chunk-Y3ULLNOS.js.map +0 -1
- package/dist/opensteer-3Q3LR5XM.js +0 -4
package/dist/index.d.cts
CHANGED
|
@@ -1210,6 +1210,10 @@ interface OpensteerNetworkDetailOutput {
|
|
|
1210
1210
|
readonly attempts: readonly OpensteerReplayAttempt[];
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
+
interface OpensteerNetworkDetailInput {
|
|
1214
|
+
readonly recordId: string;
|
|
1215
|
+
readonly probe?: boolean;
|
|
1216
|
+
}
|
|
1213
1217
|
interface OpensteerReplayAttempt {
|
|
1214
1218
|
readonly transport: TransportKind;
|
|
1215
1219
|
readonly status?: number;
|
|
@@ -1218,7 +1222,7 @@ interface OpensteerReplayAttempt {
|
|
|
1218
1222
|
readonly note?: string;
|
|
1219
1223
|
readonly error?: string;
|
|
1220
1224
|
}
|
|
1221
|
-
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "page";
|
|
1225
|
+
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "context" | "page";
|
|
1222
1226
|
interface OpensteerSessionFetchInput {
|
|
1223
1227
|
readonly pageRef?: PageRef;
|
|
1224
1228
|
readonly url: string;
|
|
@@ -1423,25 +1427,6 @@ interface CloudSessionRecordingState {
|
|
|
1423
1427
|
readonly error?: string;
|
|
1424
1428
|
readonly result?: CloudSessionRecordingResult;
|
|
1425
1429
|
}
|
|
1426
|
-
interface CloudSelectorCacheImportEntry {
|
|
1427
|
-
readonly workspace: string;
|
|
1428
|
-
readonly method: string;
|
|
1429
|
-
readonly persistHash: string;
|
|
1430
|
-
readonly persist?: string;
|
|
1431
|
-
readonly path: unknown;
|
|
1432
|
-
readonly schemaHash?: string;
|
|
1433
|
-
readonly createdAt: number;
|
|
1434
|
-
readonly updatedAt: number;
|
|
1435
|
-
}
|
|
1436
|
-
interface CloudSelectorCacheImportRequest {
|
|
1437
|
-
readonly entries: readonly CloudSelectorCacheImportEntry[];
|
|
1438
|
-
}
|
|
1439
|
-
interface CloudSelectorCacheImportResponse {
|
|
1440
|
-
readonly imported: number;
|
|
1441
|
-
readonly inserted: number;
|
|
1442
|
-
readonly updated: number;
|
|
1443
|
-
readonly skipped: number;
|
|
1444
|
-
}
|
|
1445
1430
|
interface CloudRegistryImportEntry {
|
|
1446
1431
|
readonly workspace: string;
|
|
1447
1432
|
readonly recordId: string;
|
|
@@ -3922,15 +3907,9 @@ type OpensteerGotoOptions = Omit<OpensteerPageGotoInput, "url">;
|
|
|
3922
3907
|
type OpensteerNetworkQueryOptions = OpensteerNetworkQueryInput;
|
|
3923
3908
|
type OpensteerNetworkQueryResult = OpensteerNetworkQueryOutput;
|
|
3924
3909
|
type OpensteerNetworkDetailResult = OpensteerNetworkDetailOutput;
|
|
3925
|
-
|
|
3926
|
-
readonly
|
|
3927
|
-
|
|
3928
|
-
readonly body?: string;
|
|
3929
|
-
readonly query?: Record<string, string | number | boolean>;
|
|
3930
|
-
readonly transport?: "auto" | "direct" | "matched-tls" | "page";
|
|
3931
|
-
readonly cookies?: boolean;
|
|
3932
|
-
readonly followRedirects?: boolean;
|
|
3933
|
-
}
|
|
3910
|
+
type OpensteerFetchOptions = Omit<OpensteerSessionFetchInput, "url" | "body"> & {
|
|
3911
|
+
readonly body?: string | OpensteerRequestBodyInput;
|
|
3912
|
+
};
|
|
3934
3913
|
type OpensteerComputerExecuteOptions = OpensteerComputerExecuteInput;
|
|
3935
3914
|
type OpensteerStorageMap = Readonly<Record<string, string>>;
|
|
3936
3915
|
type OpensteerBrowserState = OpensteerStateQueryOutput;
|
|
@@ -3950,7 +3929,7 @@ interface OpensteerDomController {
|
|
|
3950
3929
|
interface OpensteerNetworkController {
|
|
3951
3930
|
query(input?: OpensteerNetworkQueryOptions): Promise<OpensteerNetworkQueryResult>;
|
|
3952
3931
|
detail(recordId: string, options?: {
|
|
3953
|
-
probe?: boolean;
|
|
3932
|
+
readonly probe?: boolean;
|
|
3954
3933
|
}): Promise<OpensteerNetworkDetailResult>;
|
|
3955
3934
|
}
|
|
3956
3935
|
interface OpensteerOptions extends OpensteerRuntimeOptions {
|
|
@@ -4020,6 +3999,7 @@ declare function resolveCloudConfig(input?: {
|
|
|
4020
3999
|
|
|
4021
4000
|
interface OpensteerRuntimeOperationOptions {
|
|
4022
4001
|
readonly signal?: AbortSignal;
|
|
4002
|
+
readonly timeoutMs?: number;
|
|
4023
4003
|
}
|
|
4024
4004
|
interface OpensteerSemanticRuntime {
|
|
4025
4005
|
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
@@ -4038,10 +4018,7 @@ interface OpensteerSemanticRuntime {
|
|
|
4038
4018
|
scroll(input: OpensteerDomScrollInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
4039
4019
|
extract(input: OpensteerDomExtractInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
|
|
4040
4020
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
4041
|
-
getNetworkDetail(input:
|
|
4042
|
-
readonly recordId: string;
|
|
4043
|
-
readonly probe?: boolean;
|
|
4044
|
-
}, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
4021
|
+
getNetworkDetail(input: OpensteerNetworkDetailInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
4045
4022
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
4046
4023
|
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
4047
4024
|
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -4098,7 +4075,6 @@ interface OpensteerCloudSessionCreateInput {
|
|
|
4098
4075
|
readonly sourceType?: "manual" | "local-cloud";
|
|
4099
4076
|
readonly sourceRef?: string;
|
|
4100
4077
|
readonly localWorkspaceRootPath?: string;
|
|
4101
|
-
readonly locality?: "auto" | "off";
|
|
4102
4078
|
}
|
|
4103
4079
|
interface OpensteerCloudSessionDescriptor {
|
|
4104
4080
|
readonly sessionId: string;
|
|
@@ -4110,15 +4086,19 @@ interface OpensteerCloudSessionDescriptor {
|
|
|
4110
4086
|
interface OpensteerCloudSessionState {
|
|
4111
4087
|
readonly status?: string;
|
|
4112
4088
|
}
|
|
4089
|
+
interface CloudRequestOptions {
|
|
4090
|
+
readonly signal?: AbortSignal | undefined;
|
|
4091
|
+
readonly timeoutMs?: number | undefined;
|
|
4092
|
+
}
|
|
4113
4093
|
|
|
4114
4094
|
declare class OpensteerCloudClient {
|
|
4115
4095
|
private readonly config;
|
|
4116
4096
|
constructor(config: OpensteerCloudConfig);
|
|
4117
4097
|
getConfig(): OpensteerCloudConfig;
|
|
4118
|
-
createSession(input?: OpensteerCloudSessionCreateInput): Promise<OpensteerCloudSessionDescriptor>;
|
|
4098
|
+
createSession(input?: OpensteerCloudSessionCreateInput, options?: CloudRequestOptions): Promise<OpensteerCloudSessionDescriptor>;
|
|
4119
4099
|
listSessions(): Promise<unknown>;
|
|
4120
|
-
getSession(sessionId: string): Promise<OpensteerCloudSessionState>;
|
|
4121
|
-
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[]): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4100
|
+
getSession(sessionId: string, options?: CloudRequestOptions): Promise<OpensteerCloudSessionState>;
|
|
4101
|
+
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[], options?: CloudRequestOptions): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4122
4102
|
getSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4123
4103
|
startSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4124
4104
|
stopSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
@@ -4130,8 +4110,8 @@ declare class OpensteerCloudClient {
|
|
|
4130
4110
|
}): Promise<BrowserProfileImportDescriptor>;
|
|
4131
4111
|
getBrowserProfileImport(importId: string): Promise<BrowserProfileImportDescriptor>;
|
|
4132
4112
|
syncBrowserProfileCookies(input: SyncBrowserProfileCookiesInput): Promise<BrowserProfileImportDescriptor>;
|
|
4133
|
-
importSelectorCache(entries: readonly CloudSelectorCacheImportEntry[]): Promise<CloudSelectorCacheImportResponse>;
|
|
4134
4113
|
importDescriptors(entries: readonly CloudRegistryImportEntry[]): Promise<CloudRegistryImportResponse>;
|
|
4114
|
+
importRequestPlans(input: CloudRequestPlanImportRequest): Promise<CloudRegistryImportResponse>;
|
|
4135
4115
|
buildAuthorizationHeader(): string;
|
|
4136
4116
|
private buildHeaders;
|
|
4137
4117
|
private request;
|
|
@@ -4182,6 +4162,7 @@ interface CloudSessionProxyOptions {
|
|
|
4182
4162
|
readonly rootDir?: string;
|
|
4183
4163
|
readonly rootPath?: string;
|
|
4184
4164
|
readonly workspace?: string;
|
|
4165
|
+
readonly policy?: OpensteerPolicy;
|
|
4185
4166
|
readonly cleanupRootOnClose?: boolean;
|
|
4186
4167
|
readonly observability?: Partial<ObservabilityConfig>;
|
|
4187
4168
|
}
|
|
@@ -4192,11 +4173,13 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4192
4173
|
private readonly cleanupRootOnClose;
|
|
4193
4174
|
private readonly cloud;
|
|
4194
4175
|
private readonly observability;
|
|
4176
|
+
private readonly policy;
|
|
4195
4177
|
private sessionId;
|
|
4196
4178
|
private semanticGrant;
|
|
4197
4179
|
private client;
|
|
4198
4180
|
private automation;
|
|
4199
4181
|
private workspaceStore;
|
|
4182
|
+
private syncWorkspaceOnClose;
|
|
4200
4183
|
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
4201
4184
|
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
4202
4185
|
info(): Promise<OpensteerSessionInfo>;
|
|
@@ -4214,10 +4197,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4214
4197
|
scroll(input: OpensteerDomScrollInput): Promise<OpensteerActionResult>;
|
|
4215
4198
|
extract(input: OpensteerDomExtractInput): Promise<OpensteerDomExtractOutput>;
|
|
4216
4199
|
queryNetwork(input?: OpensteerNetworkQueryInput): Promise<OpensteerNetworkQueryOutput>;
|
|
4217
|
-
getNetworkDetail(input:
|
|
4218
|
-
readonly recordId: string;
|
|
4219
|
-
readonly probe?: boolean;
|
|
4220
|
-
}): Promise<OpensteerNetworkDetailOutput>;
|
|
4200
|
+
getNetworkDetail(input: OpensteerNetworkDetailInput): Promise<OpensteerNetworkDetailOutput>;
|
|
4221
4201
|
captureInteraction(input: OpensteerInteractionCaptureInput): Promise<OpensteerInteractionCaptureOutput>;
|
|
4222
4202
|
getInteraction(input: OpensteerInteractionGetInput): Promise<OpensteerInteractionGetOutput>;
|
|
4223
4203
|
diffInteraction(input: OpensteerInteractionDiffInput): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -4238,7 +4218,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4238
4218
|
close(): Promise<OpensteerSessionCloseOutput>;
|
|
4239
4219
|
disconnect(): Promise<void>;
|
|
4240
4220
|
private ensureSession;
|
|
4241
|
-
private
|
|
4221
|
+
private syncWorkspaceToCloud;
|
|
4242
4222
|
private bindClient;
|
|
4243
4223
|
private ensureWorkspaceStore;
|
|
4244
4224
|
private loadPersistedSession;
|
|
@@ -4249,11 +4229,15 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4249
4229
|
private requireAutomation;
|
|
4250
4230
|
private ensureSemanticGrant;
|
|
4251
4231
|
private handleSemanticClientError;
|
|
4232
|
+
private invokeSemanticOperation;
|
|
4233
|
+
private invokeAutomationOperation;
|
|
4234
|
+
private runOperationWithPolicy;
|
|
4252
4235
|
private shouldUseLocalCloudTransport;
|
|
4253
4236
|
}
|
|
4254
4237
|
|
|
4255
4238
|
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
4256
4239
|
readonly signal?: AbortSignal;
|
|
4240
|
+
readonly timeoutMs?: number;
|
|
4257
4241
|
}): Promise<unknown>;
|
|
4258
4242
|
|
|
4259
4243
|
interface LocalChromeProfileDescriptor {
|
|
@@ -4291,4 +4275,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
4291
4275
|
readonly timeoutMs?: number;
|
|
4292
4276
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
4293
4277
|
|
|
4294
|
-
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
|
|
4278
|
+
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
|
@@ -1210,6 +1210,10 @@ interface OpensteerNetworkDetailOutput {
|
|
|
1210
1210
|
readonly attempts: readonly OpensteerReplayAttempt[];
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
+
interface OpensteerNetworkDetailInput {
|
|
1214
|
+
readonly recordId: string;
|
|
1215
|
+
readonly probe?: boolean;
|
|
1216
|
+
}
|
|
1213
1217
|
interface OpensteerReplayAttempt {
|
|
1214
1218
|
readonly transport: TransportKind;
|
|
1215
1219
|
readonly status?: number;
|
|
@@ -1218,7 +1222,7 @@ interface OpensteerReplayAttempt {
|
|
|
1218
1222
|
readonly note?: string;
|
|
1219
1223
|
readonly error?: string;
|
|
1220
1224
|
}
|
|
1221
|
-
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "page";
|
|
1225
|
+
type OpensteerSessionFetchTransport = "auto" | "direct" | "matched-tls" | "context" | "page";
|
|
1222
1226
|
interface OpensteerSessionFetchInput {
|
|
1223
1227
|
readonly pageRef?: PageRef;
|
|
1224
1228
|
readonly url: string;
|
|
@@ -1423,25 +1427,6 @@ interface CloudSessionRecordingState {
|
|
|
1423
1427
|
readonly error?: string;
|
|
1424
1428
|
readonly result?: CloudSessionRecordingResult;
|
|
1425
1429
|
}
|
|
1426
|
-
interface CloudSelectorCacheImportEntry {
|
|
1427
|
-
readonly workspace: string;
|
|
1428
|
-
readonly method: string;
|
|
1429
|
-
readonly persistHash: string;
|
|
1430
|
-
readonly persist?: string;
|
|
1431
|
-
readonly path: unknown;
|
|
1432
|
-
readonly schemaHash?: string;
|
|
1433
|
-
readonly createdAt: number;
|
|
1434
|
-
readonly updatedAt: number;
|
|
1435
|
-
}
|
|
1436
|
-
interface CloudSelectorCacheImportRequest {
|
|
1437
|
-
readonly entries: readonly CloudSelectorCacheImportEntry[];
|
|
1438
|
-
}
|
|
1439
|
-
interface CloudSelectorCacheImportResponse {
|
|
1440
|
-
readonly imported: number;
|
|
1441
|
-
readonly inserted: number;
|
|
1442
|
-
readonly updated: number;
|
|
1443
|
-
readonly skipped: number;
|
|
1444
|
-
}
|
|
1445
1430
|
interface CloudRegistryImportEntry {
|
|
1446
1431
|
readonly workspace: string;
|
|
1447
1432
|
readonly recordId: string;
|
|
@@ -3922,15 +3907,9 @@ type OpensteerGotoOptions = Omit<OpensteerPageGotoInput, "url">;
|
|
|
3922
3907
|
type OpensteerNetworkQueryOptions = OpensteerNetworkQueryInput;
|
|
3923
3908
|
type OpensteerNetworkQueryResult = OpensteerNetworkQueryOutput;
|
|
3924
3909
|
type OpensteerNetworkDetailResult = OpensteerNetworkDetailOutput;
|
|
3925
|
-
|
|
3926
|
-
readonly
|
|
3927
|
-
|
|
3928
|
-
readonly body?: string;
|
|
3929
|
-
readonly query?: Record<string, string | number | boolean>;
|
|
3930
|
-
readonly transport?: "auto" | "direct" | "matched-tls" | "page";
|
|
3931
|
-
readonly cookies?: boolean;
|
|
3932
|
-
readonly followRedirects?: boolean;
|
|
3933
|
-
}
|
|
3910
|
+
type OpensteerFetchOptions = Omit<OpensteerSessionFetchInput, "url" | "body"> & {
|
|
3911
|
+
readonly body?: string | OpensteerRequestBodyInput;
|
|
3912
|
+
};
|
|
3934
3913
|
type OpensteerComputerExecuteOptions = OpensteerComputerExecuteInput;
|
|
3935
3914
|
type OpensteerStorageMap = Readonly<Record<string, string>>;
|
|
3936
3915
|
type OpensteerBrowserState = OpensteerStateQueryOutput;
|
|
@@ -3950,7 +3929,7 @@ interface OpensteerDomController {
|
|
|
3950
3929
|
interface OpensteerNetworkController {
|
|
3951
3930
|
query(input?: OpensteerNetworkQueryOptions): Promise<OpensteerNetworkQueryResult>;
|
|
3952
3931
|
detail(recordId: string, options?: {
|
|
3953
|
-
probe?: boolean;
|
|
3932
|
+
readonly probe?: boolean;
|
|
3954
3933
|
}): Promise<OpensteerNetworkDetailResult>;
|
|
3955
3934
|
}
|
|
3956
3935
|
interface OpensteerOptions extends OpensteerRuntimeOptions {
|
|
@@ -4020,6 +3999,7 @@ declare function resolveCloudConfig(input?: {
|
|
|
4020
3999
|
|
|
4021
4000
|
interface OpensteerRuntimeOperationOptions {
|
|
4022
4001
|
readonly signal?: AbortSignal;
|
|
4002
|
+
readonly timeoutMs?: number;
|
|
4023
4003
|
}
|
|
4024
4004
|
interface OpensteerSemanticRuntime {
|
|
4025
4005
|
info(options?: OpensteerRuntimeOperationOptions): Promise<OpensteerSessionInfo>;
|
|
@@ -4038,10 +4018,7 @@ interface OpensteerSemanticRuntime {
|
|
|
4038
4018
|
scroll(input: OpensteerDomScrollInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerActionResult>;
|
|
4039
4019
|
extract(input: OpensteerDomExtractInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerDomExtractOutput>;
|
|
4040
4020
|
queryNetwork(input?: OpensteerNetworkQueryInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkQueryOutput>;
|
|
4041
|
-
getNetworkDetail(input:
|
|
4042
|
-
readonly recordId: string;
|
|
4043
|
-
readonly probe?: boolean;
|
|
4044
|
-
}, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
4021
|
+
getNetworkDetail(input: OpensteerNetworkDetailInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerNetworkDetailOutput>;
|
|
4045
4022
|
captureInteraction(input: OpensteerInteractionCaptureInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionCaptureOutput>;
|
|
4046
4023
|
getInteraction(input: OpensteerInteractionGetInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionGetOutput>;
|
|
4047
4024
|
diffInteraction(input: OpensteerInteractionDiffInput, options?: OpensteerRuntimeOperationOptions): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -4098,7 +4075,6 @@ interface OpensteerCloudSessionCreateInput {
|
|
|
4098
4075
|
readonly sourceType?: "manual" | "local-cloud";
|
|
4099
4076
|
readonly sourceRef?: string;
|
|
4100
4077
|
readonly localWorkspaceRootPath?: string;
|
|
4101
|
-
readonly locality?: "auto" | "off";
|
|
4102
4078
|
}
|
|
4103
4079
|
interface OpensteerCloudSessionDescriptor {
|
|
4104
4080
|
readonly sessionId: string;
|
|
@@ -4110,15 +4086,19 @@ interface OpensteerCloudSessionDescriptor {
|
|
|
4110
4086
|
interface OpensteerCloudSessionState {
|
|
4111
4087
|
readonly status?: string;
|
|
4112
4088
|
}
|
|
4089
|
+
interface CloudRequestOptions {
|
|
4090
|
+
readonly signal?: AbortSignal | undefined;
|
|
4091
|
+
readonly timeoutMs?: number | undefined;
|
|
4092
|
+
}
|
|
4113
4093
|
|
|
4114
4094
|
declare class OpensteerCloudClient {
|
|
4115
4095
|
private readonly config;
|
|
4116
4096
|
constructor(config: OpensteerCloudConfig);
|
|
4117
4097
|
getConfig(): OpensteerCloudConfig;
|
|
4118
|
-
createSession(input?: OpensteerCloudSessionCreateInput): Promise<OpensteerCloudSessionDescriptor>;
|
|
4098
|
+
createSession(input?: OpensteerCloudSessionCreateInput, options?: CloudRequestOptions): Promise<OpensteerCloudSessionDescriptor>;
|
|
4119
4099
|
listSessions(): Promise<unknown>;
|
|
4120
|
-
getSession(sessionId: string): Promise<OpensteerCloudSessionState>;
|
|
4121
|
-
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[]): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4100
|
+
getSession(sessionId: string, options?: CloudRequestOptions): Promise<OpensteerCloudSessionState>;
|
|
4101
|
+
issueAccess(sessionId: string, capabilities: readonly OpensteerSessionGrantKind[], options?: CloudRequestOptions): Promise<OpensteerSessionAccessGrantResponse>;
|
|
4122
4102
|
getSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4123
4103
|
startSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
4124
4104
|
stopSessionRecording(sessionId: string): Promise<CloudSessionRecordingState>;
|
|
@@ -4130,8 +4110,8 @@ declare class OpensteerCloudClient {
|
|
|
4130
4110
|
}): Promise<BrowserProfileImportDescriptor>;
|
|
4131
4111
|
getBrowserProfileImport(importId: string): Promise<BrowserProfileImportDescriptor>;
|
|
4132
4112
|
syncBrowserProfileCookies(input: SyncBrowserProfileCookiesInput): Promise<BrowserProfileImportDescriptor>;
|
|
4133
|
-
importSelectorCache(entries: readonly CloudSelectorCacheImportEntry[]): Promise<CloudSelectorCacheImportResponse>;
|
|
4134
4113
|
importDescriptors(entries: readonly CloudRegistryImportEntry[]): Promise<CloudRegistryImportResponse>;
|
|
4114
|
+
importRequestPlans(input: CloudRequestPlanImportRequest): Promise<CloudRegistryImportResponse>;
|
|
4135
4115
|
buildAuthorizationHeader(): string;
|
|
4136
4116
|
private buildHeaders;
|
|
4137
4117
|
private request;
|
|
@@ -4182,6 +4162,7 @@ interface CloudSessionProxyOptions {
|
|
|
4182
4162
|
readonly rootDir?: string;
|
|
4183
4163
|
readonly rootPath?: string;
|
|
4184
4164
|
readonly workspace?: string;
|
|
4165
|
+
readonly policy?: OpensteerPolicy;
|
|
4185
4166
|
readonly cleanupRootOnClose?: boolean;
|
|
4186
4167
|
readonly observability?: Partial<ObservabilityConfig>;
|
|
4187
4168
|
}
|
|
@@ -4192,11 +4173,13 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4192
4173
|
private readonly cleanupRootOnClose;
|
|
4193
4174
|
private readonly cloud;
|
|
4194
4175
|
private readonly observability;
|
|
4176
|
+
private readonly policy;
|
|
4195
4177
|
private sessionId;
|
|
4196
4178
|
private semanticGrant;
|
|
4197
4179
|
private client;
|
|
4198
4180
|
private automation;
|
|
4199
4181
|
private workspaceStore;
|
|
4182
|
+
private syncWorkspaceOnClose;
|
|
4200
4183
|
constructor(cloud: OpensteerCloudClient, options?: CloudSessionProxyOptions);
|
|
4201
4184
|
open(input?: OpensteerOpenInput): Promise<OpensteerOpenOutput>;
|
|
4202
4185
|
info(): Promise<OpensteerSessionInfo>;
|
|
@@ -4214,10 +4197,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4214
4197
|
scroll(input: OpensteerDomScrollInput): Promise<OpensteerActionResult>;
|
|
4215
4198
|
extract(input: OpensteerDomExtractInput): Promise<OpensteerDomExtractOutput>;
|
|
4216
4199
|
queryNetwork(input?: OpensteerNetworkQueryInput): Promise<OpensteerNetworkQueryOutput>;
|
|
4217
|
-
getNetworkDetail(input:
|
|
4218
|
-
readonly recordId: string;
|
|
4219
|
-
readonly probe?: boolean;
|
|
4220
|
-
}): Promise<OpensteerNetworkDetailOutput>;
|
|
4200
|
+
getNetworkDetail(input: OpensteerNetworkDetailInput): Promise<OpensteerNetworkDetailOutput>;
|
|
4221
4201
|
captureInteraction(input: OpensteerInteractionCaptureInput): Promise<OpensteerInteractionCaptureOutput>;
|
|
4222
4202
|
getInteraction(input: OpensteerInteractionGetInput): Promise<OpensteerInteractionGetOutput>;
|
|
4223
4203
|
diffInteraction(input: OpensteerInteractionDiffInput): Promise<OpensteerInteractionDiffOutput>;
|
|
@@ -4238,7 +4218,7 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4238
4218
|
close(): Promise<OpensteerSessionCloseOutput>;
|
|
4239
4219
|
disconnect(): Promise<void>;
|
|
4240
4220
|
private ensureSession;
|
|
4241
|
-
private
|
|
4221
|
+
private syncWorkspaceToCloud;
|
|
4242
4222
|
private bindClient;
|
|
4243
4223
|
private ensureWorkspaceStore;
|
|
4244
4224
|
private loadPersistedSession;
|
|
@@ -4249,11 +4229,15 @@ declare class CloudSessionProxy implements OpensteerDisconnectableRuntime {
|
|
|
4249
4229
|
private requireAutomation;
|
|
4250
4230
|
private ensureSemanticGrant;
|
|
4251
4231
|
private handleSemanticClientError;
|
|
4232
|
+
private invokeSemanticOperation;
|
|
4233
|
+
private invokeAutomationOperation;
|
|
4234
|
+
private runOperationWithPolicy;
|
|
4252
4235
|
private shouldUseLocalCloudTransport;
|
|
4253
4236
|
}
|
|
4254
4237
|
|
|
4255
4238
|
declare function dispatchSemanticOperation(runtime: OpensteerSemanticRuntime, operation: OpensteerSemanticOperationName, input: unknown, options?: {
|
|
4256
4239
|
readonly signal?: AbortSignal;
|
|
4240
|
+
readonly timeoutMs?: number;
|
|
4257
4241
|
}): Promise<unknown>;
|
|
4258
4242
|
|
|
4259
4243
|
interface LocalChromeProfileDescriptor {
|
|
@@ -4291,4 +4275,4 @@ declare function discoverLocalCdpBrowsers(input?: {
|
|
|
4291
4275
|
readonly timeoutMs?: number;
|
|
4292
4276
|
}): Promise<readonly LocalCdpBrowserCandidate[]>;
|
|
4293
4277
|
|
|
4294
|
-
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
|
|
4278
|
+
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,5 @@
|
|
|
1
1
|
import './chunk-KCINASQC.js';
|
|
2
|
-
export { Opensteer } from './chunk-
|
|
3
|
-
export { CloudSessionProxy, DEFAULT_OPENSTEER_ENGINE, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OpensteerAttachAmbiguousError, OpensteerBrowserManager, OpensteerCloudClient, OpensteerRuntime, OpensteerSessionRuntime, STABLE_PRIMARY_ATTR_KEYS, 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 } from './chunk-
|
|
2
|
+
export { Opensteer } from './chunk-OIKLSFXA.js';
|
|
3
|
+
export { CloudSessionProxy, DEFAULT_OPENSTEER_ENGINE, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OpensteerAttachAmbiguousError, OpensteerBrowserManager, OpensteerCloudClient, OpensteerRuntime, OpensteerSessionRuntime, STABLE_PRIMARY_ATTR_KEYS, 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 } from './chunk-656MQUSM.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"opensteer-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"opensteer-LKX3233A.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opensteer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Opensteer browser automation, replay, and reverse-engineering toolkit.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,21 +49,21 @@
|
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
52
|
-
"@opensteer/engine-playwright": "workspace:*",
|
|
53
|
-
"@opensteer/runtime-core": "workspace:*",
|
|
54
52
|
"cheerio": "^1.1.2",
|
|
55
53
|
"css-select": "^6.0.0",
|
|
56
54
|
"domhandler": "^5.0.3",
|
|
57
55
|
"prettier": "^3.8.1",
|
|
58
56
|
"sharp": "^0.34.5",
|
|
59
57
|
"skills": "^1.4.6",
|
|
60
|
-
"ws": "^8.18.0"
|
|
58
|
+
"ws": "^8.18.0",
|
|
59
|
+
"@opensteer/runtime-core": "0.2.0",
|
|
60
|
+
"@opensteer/engine-playwright": "0.8.6"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
63
|
"webcrack": "^2.15.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@opensteer/engine-abp": "
|
|
66
|
+
"@opensteer/engine-abp": "0.8.7"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
69
69
|
"@opensteer/engine-abp": {
|
|
@@ -71,14 +71,13 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@opensteer/browser-core": "
|
|
75
|
-
"@opensteer/engine-abp": "
|
|
76
|
-
"@opensteer/protocol": "
|
|
74
|
+
"@opensteer/browser-core": "0.7.8",
|
|
75
|
+
"@opensteer/engine-abp": "0.8.7",
|
|
76
|
+
"@opensteer/protocol": "0.8.0"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "tsup && node ../../scripts/sync-package-skills.mjs",
|
|
80
80
|
"clean": "rimraf dist skills",
|
|
81
|
-
"prepack": "node ../../scripts/sync-package-skills.mjs",
|
|
82
81
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
83
82
|
}
|
|
84
|
-
}
|
|
83
|
+
}
|
package/skills/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Opensteer Skills
|
|
2
2
|
|
|
3
|
-
First-party Opensteer skills published from this repository. Install them through the upstream [`skills`](https://skills.sh) CLI into Claude Code,
|
|
3
|
+
First-party Opensteer skills published from this repository. Install them through the upstream [`skills`](https://skills.sh) CLI into Codex, Cursor, Claude Code, and other compatible agents.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -14,6 +14,12 @@ Install into Claude Code explicitly:
|
|
|
14
14
|
opensteer skills install --agent claude-code
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Install into Codex, Cursor, and Claude Code explicitly:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
opensteer skills install --agent codex --agent cursor --agent claude-code
|
|
21
|
+
```
|
|
22
|
+
|
|
17
23
|
List the packaged skills without installing them:
|
|
18
24
|
|
|
19
25
|
```bash
|
|
@@ -22,7 +28,7 @@ opensteer skills install --list
|
|
|
22
28
|
|
|
23
29
|
## Available Skills
|
|
24
30
|
|
|
25
|
-
- `opensteer`:
|
|
31
|
+
- `opensteer`: browser automation, DOM extraction, session-state inspection, and browser-backed request replay with the Opensteer CLI and SDK
|
|
26
32
|
|
|
27
33
|
## Repository Layout
|
|
28
34
|
|
|
@@ -30,13 +36,10 @@ opensteer skills install --list
|
|
|
30
36
|
skills/
|
|
31
37
|
opensteer/
|
|
32
38
|
SKILL.md
|
|
33
|
-
references/
|
|
34
|
-
cli-reference.md
|
|
35
|
-
sdk-reference.md
|
|
36
|
-
request-workflow.md
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
## Maintainers
|
|
40
42
|
|
|
41
43
|
- Run `pnpm run skills:check` to verify that the upstream `skills` CLI can discover this repository.
|
|
42
44
|
- Keep each skill self-contained under `skills/<name>/` and keep links relative.
|
|
45
|
+
- Codex and Cursor load project skills from `.agents/skills/`; Claude Code loads them from `.claude/skills/`.
|