opensteer 0.4.13 → 0.4.14
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 -0
- package/bin/opensteer.mjs +42 -6
- package/dist/{chunk-QTGJO7RC.js → chunk-QHZFY3ZK.js} +9 -0
- package/dist/{chunk-V4OOJO4S.js → chunk-SPHS6YWD.js} +1 -1
- package/dist/{chunk-JSH3VLMH.js → chunk-WXUXG76V.js} +404 -47
- package/dist/{chunk-UIUDSWZV.js → chunk-YIQDOALV.js} +1 -1
- package/dist/cli/server.cjs +497 -67
- package/dist/cli/server.js +90 -24
- package/dist/{extractor-I6TJPTXV.js → extractor-CZFCFUME.js} +2 -2
- package/dist/index.cjs +410 -45
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +4 -4
- package/dist/{resolver-HVZJQZ32.js → resolver-ZREUOOTV.js} +2 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -341,7 +341,10 @@ interface SelectorFile<T = unknown> {
|
|
|
341
341
|
declare class LocalSelectorStorage {
|
|
342
342
|
private rootDir;
|
|
343
343
|
private namespace;
|
|
344
|
-
|
|
344
|
+
private readonly debug;
|
|
345
|
+
constructor(rootDir: string, namespace: string, options?: {
|
|
346
|
+
debug?: boolean;
|
|
347
|
+
});
|
|
345
348
|
getRootDir(): string;
|
|
346
349
|
getNamespace(): string;
|
|
347
350
|
getSelectorFileName(id: string): string;
|
|
@@ -372,6 +375,7 @@ declare class Opensteer {
|
|
|
372
375
|
private snapshotCache;
|
|
373
376
|
private agentExecutionInFlight;
|
|
374
377
|
constructor(config?: OpensteerConfig);
|
|
378
|
+
private logDebugError;
|
|
375
379
|
private createLazyResolveCallback;
|
|
376
380
|
private createLazyExtractCallback;
|
|
377
381
|
private invokeCloudActionAndResetCache;
|
|
@@ -801,7 +805,9 @@ declare class CloudCdpClient {
|
|
|
801
805
|
connect(args: CloudCdpConnectArgs): Promise<CloudCdpConnection>;
|
|
802
806
|
}
|
|
803
807
|
|
|
804
|
-
declare function collectLocalSelectorCacheEntries(storage: LocalSelectorStorage
|
|
808
|
+
declare function collectLocalSelectorCacheEntries(storage: LocalSelectorStorage, options?: {
|
|
809
|
+
debug?: boolean;
|
|
810
|
+
}): CloudSelectorCacheImportEntry[];
|
|
805
811
|
|
|
806
812
|
declare class OpensteerAgentError extends Error {
|
|
807
813
|
constructor(message: string, cause?: unknown);
|
package/dist/index.d.ts
CHANGED
|
@@ -341,7 +341,10 @@ interface SelectorFile<T = unknown> {
|
|
|
341
341
|
declare class LocalSelectorStorage {
|
|
342
342
|
private rootDir;
|
|
343
343
|
private namespace;
|
|
344
|
-
|
|
344
|
+
private readonly debug;
|
|
345
|
+
constructor(rootDir: string, namespace: string, options?: {
|
|
346
|
+
debug?: boolean;
|
|
347
|
+
});
|
|
345
348
|
getRootDir(): string;
|
|
346
349
|
getNamespace(): string;
|
|
347
350
|
getSelectorFileName(id: string): string;
|
|
@@ -372,6 +375,7 @@ declare class Opensteer {
|
|
|
372
375
|
private snapshotCache;
|
|
373
376
|
private agentExecutionInFlight;
|
|
374
377
|
constructor(config?: OpensteerConfig);
|
|
378
|
+
private logDebugError;
|
|
375
379
|
private createLazyResolveCallback;
|
|
376
380
|
private createLazyExtractCallback;
|
|
377
381
|
private invokeCloudActionAndResetCache;
|
|
@@ -801,7 +805,9 @@ declare class CloudCdpClient {
|
|
|
801
805
|
connect(args: CloudCdpConnectArgs): Promise<CloudCdpConnection>;
|
|
802
806
|
}
|
|
803
807
|
|
|
804
|
-
declare function collectLocalSelectorCacheEntries(storage: LocalSelectorStorage
|
|
808
|
+
declare function collectLocalSelectorCacheEntries(storage: LocalSelectorStorage, options?: {
|
|
809
|
+
debug?: boolean;
|
|
810
|
+
}): CloudSelectorCacheImportEntry[];
|
|
805
811
|
|
|
806
812
|
declare class OpensteerAgentError extends Error {
|
|
807
813
|
constructor(message: string, cause?: unknown);
|
package/dist/index.js
CHANGED
|
@@ -78,17 +78,17 @@ import {
|
|
|
78
78
|
switchTab,
|
|
79
79
|
typeText,
|
|
80
80
|
waitForVisualStability
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-WXUXG76V.js";
|
|
82
82
|
import {
|
|
83
83
|
createResolveCallback
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-SPHS6YWD.js";
|
|
85
85
|
import {
|
|
86
86
|
createExtractCallback
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-YIQDOALV.js";
|
|
88
88
|
import "./chunk-3H5RRIMZ.js";
|
|
89
89
|
import {
|
|
90
90
|
getModelProvider
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-QHZFY3ZK.js";
|
|
92
92
|
export {
|
|
93
93
|
ActionWsClient,
|
|
94
94
|
CloudCdpClient,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opensteer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "Open-source browser automation SDK with robust selectors and deterministic replay.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"ai": "^6.0.77",
|
|
36
36
|
"cheerio": "^1.0.0-rc.12",
|
|
37
37
|
"dotenv": "^17.2.4",
|
|
38
|
-
"openai": "^
|
|
38
|
+
"openai": "^6.25.0",
|
|
39
39
|
"playwright": "^1.50.0",
|
|
40
40
|
"ws": "^8.18.0",
|
|
41
41
|
"zod": "^4.3.6"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"test:ai": "vitest run tests/ai tests/e2e/ai-resolve.test.ts tests/e2e/ai-extract-products.test.ts",
|
|
74
74
|
"test:e2e": "vitest run tests/e2e",
|
|
75
75
|
"test:e2e:cua": "vitest run tests/e2e/cua-agent.test.ts",
|
|
76
|
-
"test:app:dev": "
|
|
76
|
+
"test:app:dev": "npm --prefix tests/test-app run dev",
|
|
77
77
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
78
78
|
}
|
|
79
79
|
}
|