@howaboua/pi-durable-browser 0.9.1 → 0.10.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/README.md CHANGED
@@ -7,7 +7,7 @@ Requires Node 22.19 or newer and a browser with remote debugging enabled. The ho
7
7
  ## Install and register
8
8
 
9
9
  ```sh
10
- npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.9.1/howaboua-pi-durable-browser-0.9.1.tgz
10
+ npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.10.0/howaboua-pi-durable-browser-0.10.0.tgz
11
11
  ```
12
12
 
13
13
  Use the package with Pi Durable, pi-ai and Chord 1.4.0:
@@ -0,0 +1,9 @@
1
+ import { type ComponentInstance, type ComponentRequest } from "@howaboua/pi-durable-components";
2
+ import { type BrowserRuntimeConfig, type BrowserToolOptions, createBrowserExtension } from "./index.ts";
3
+ /** Grants native CDP/private state and configured remote routes, never ambient Chrome discovery. */
4
+ export interface BrowserComponentOptions extends BrowserRuntimeConfig, BrowserToolOptions {
5
+ discover: NonNullable<BrowserRuntimeConfig["discover"]>;
6
+ start: NonNullable<BrowserRuntimeConfig["start"]>;
7
+ }
8
+ export declare const browserOptions: import("@howaboua/pi-durable-components").ComponentCapability<BrowserComponentOptions>;
9
+ export declare function createComponent(request: ComponentRequest): ComponentInstance<ReturnType<typeof createBrowserExtension>>;