@howaboua/pi-durable-browser 0.10.0 → 0.13.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/NOTICE +4 -0
- package/README.md +3 -3
- package/dist/activation.js +379 -63
- package/dist/browser/artifact-store.d.ts +5 -1
- package/dist/browser/default-browser.d.ts +7 -0
- package/dist/browser/voice-start.d.ts +1 -1
- package/dist/index.d.ts +17 -8
- package/dist/index.js +412 -75
- package/dist/remote-worker.js +368 -62
- package/package.json +7 -6
package/NOTICE
CHANGED
|
@@ -50,3 +50,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
50
50
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
51
51
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
52
52
|
SOFTWARE.
|
|
53
|
+
|
|
54
|
+
Selected changes adapted from IgorWarzocha/howaboua-agent-stuff,
|
|
55
|
+
packages/pi-browser at e1730759db35bf454d0c86c34a80e63129dd929f.
|
|
56
|
+
See docs/parity.md for the scope of this source sync.
|
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@ 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
|
|
10
|
+
npm install @howaboua/pi-durable-browser@0.13.0
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Use the package with Pi Durable, pi-ai and Chord 1.
|
|
13
|
+
Use the package with Pi Durable, pi-ai and Chord 1.8.0:
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
16
|
import { join } from "node:path";
|
|
@@ -46,7 +46,7 @@ Interrupted browser mutations may already have succeeded. The tool is replay-uns
|
|
|
46
46
|
|
|
47
47
|
## Local discovery and SSH hosts
|
|
48
48
|
|
|
49
|
-
Local discovery uses `CDP_HOST` and `CDP_PORT`, defaulting to `127.0.0.1:9222`, then supported `DevToolsActivePort` locations. `CDP_PORT_FILE` supplies a custom port file. The `start` action
|
|
49
|
+
Local discovery uses `CDP_HOST` and `CDP_PORT`, defaulting to `127.0.0.1:9222`, then supported `DevToolsActivePort` locations. `CDP_PORT_FILE` supplies a custom port file. The `start` action uses the graphical desktop's configured browser on Linux through its systemd user session. If that browser cannot accept CDP flags, start a compatible browser yourself or set `CDP_BROWSER`. `CDP_BROWSER`, `CDP_PROFILE_DIRECTORY`, `CDP_SYSTEMCTL` and `CDP_SYSTEMD_RUN` configure that native launch.
|
|
50
50
|
|
|
51
51
|
For SSH routing, pass routes parsed from a saved configuration. The package owns its JSON format, defaults, validation and normalized writes; the host selects the settings namespace and storage implementation.
|
|
52
52
|
|