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/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
- constructor(rootDir: string, namespace: string);
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): CloudSelectorCacheImportEntry[];
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
- constructor(rootDir: string, namespace: string);
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): CloudSelectorCacheImportEntry[];
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-JSH3VLMH.js";
81
+ } from "./chunk-WXUXG76V.js";
82
82
  import {
83
83
  createResolveCallback
84
- } from "./chunk-V4OOJO4S.js";
84
+ } from "./chunk-SPHS6YWD.js";
85
85
  import {
86
86
  createExtractCallback
87
- } from "./chunk-UIUDSWZV.js";
87
+ } from "./chunk-YIQDOALV.js";
88
88
  import "./chunk-3H5RRIMZ.js";
89
89
  import {
90
90
  getModelProvider
91
- } from "./chunk-QTGJO7RC.js";
91
+ } from "./chunk-QHZFY3ZK.js";
92
92
  export {
93
93
  ActionWsClient,
94
94
  CloudCdpClient,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createResolveCallback
3
- } from "./chunk-V4OOJO4S.js";
4
- import "./chunk-QTGJO7RC.js";
3
+ } from "./chunk-SPHS6YWD.js";
4
+ import "./chunk-QHZFY3ZK.js";
5
5
  export {
6
6
  createResolveCallback
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opensteer",
3
- "version": "0.4.13",
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": "^5.21.0",
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": "pnpm --dir tests/test-app run dev",
76
+ "test:app:dev": "npm --prefix tests/test-app run dev",
77
77
  "typecheck": "tsc -p tsconfig.json --noEmit"
78
78
  }
79
79
  }