pi-lean-dimension 0.2.0 → 0.2.1
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 +2 -2
- package/node_modules/pi-lean-portal/README.md +2 -2
- package/node_modules/pi-lean-portal/contributed/CHOOSING.md +1 -1
- package/node_modules/pi-lean-portal/contributed/README.md +1 -1
- package/node_modules/pi-lean-portal/package.json +1 -1
- package/node_modules/pi-lean-search/package.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ search via SearXNG — all toggled from a single `/web` command. When the toggle
|
|
|
8
8
|
is off, the tools are removed from the agent's context entirely, so web browsing
|
|
9
9
|
doesn't consume tokens or attention on sessions that aren't doing web work.
|
|
10
10
|
The same surfaces are user-extensible: author navigation guides that resurface
|
|
11
|
-
by domain, or drop in a stealth browser backend like [Camoufox](https://github.com/
|
|
11
|
+
by domain, or drop in a stealth browser backend like [Camoufox](https://github.com/daijro/camoufox)
|
|
12
12
|
when a site blocks the shipped Chromium/Firefox.
|
|
13
13
|
|
|
14
14
|
## Quick start (recommended)
|
|
@@ -100,7 +100,7 @@ When search is installed, two independent glyphs appear:
|
|
|
100
100
|
Beyond the `/web` toggle, two surfaces are user-driven rather than hardcoded:
|
|
101
101
|
|
|
102
102
|
- **Navigation guides** — `web-learn` saves site-specific playbooks that auto-match by domain and resurface in later sessions.
|
|
103
|
-
- **Custom browser backends** — if a site blocks the shipped Chromium/Firefox, drop a `bridge.py` subclass into `~/.pi/agent/pi-lean-portal/user-backends/` and drive a patched engine like [Camoufox](https://github.com/
|
|
103
|
+
- **Custom browser backends** — if a site blocks the shipped Chromium/Firefox, drop a `bridge.py` subclass into `~/.pi/agent/pi-lean-portal/user-backends/` and drive a patched engine like [Camoufox](https://github.com/daijro/camoufox) yourself. A quirks schema declares how the engine diverges from base Playwright, and `launch` options flow from `settings.json` to the subprocess at runtime. This is user-authored, user-audited code that the extension never auto-downloads — and as far as we're aware, no other Pi web plugin lets you run a browser backend you wrote yourself. Most installs never need it; the [portal README](packages/pi-lean-portal/README.md#stealth--custom-browser-backends) and [`contributed/README.md`](packages/pi-lean-portal/contributed/README.md) cover the full flow when you do.
|
|
104
104
|
|
|
105
105
|
---
|
|
106
106
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
> domain. A `/web` toggle removes the tools from the agent's context when
|
|
7
7
|
> switched off, so web browsing doesn't consume tokens on sessions that aren't
|
|
8
8
|
> doing web work. If a site blocks the shipped browsers, drop in your own
|
|
9
|
-
> backend (e.g. [Camoufox](https://github.com/
|
|
9
|
+
> backend (e.g. [Camoufox](https://github.com/daijro/camoufox)) - as far as
|
|
10
10
|
> we're aware, no other Pi web plugin lets you run a browser backend you wrote
|
|
11
11
|
> yourself.
|
|
12
12
|
>
|
|
@@ -70,7 +70,7 @@ Beyond the toggle, two surfaces are user-extensible rather than hardcoded:
|
|
|
70
70
|
[Navigation Guides](#navigation-guides-web-guide--web-learn).
|
|
71
71
|
- **Custom browser backends** — if a site blocks the shipped Chromium/Firefox,
|
|
72
72
|
drop a `bridge.py` subclass into `~/.pi/agent/pi-lean-portal/user-backends/`
|
|
73
|
-
and drive a patched engine like [Camoufox](https://github.com/
|
|
73
|
+
and drive a patched engine like [Camoufox](https://github.com/daijro/camoufox)
|
|
74
74
|
yourself. The full flow lives in [Backend Architecture](#backend-architecture)
|
|
75
75
|
and [`contributed/README.md`](./contributed/README.md).
|
|
76
76
|
|
|
@@ -27,7 +27,7 @@ not a default.
|
|
|
27
27
|
|
|
28
28
|
## When to use Camoufox specifically
|
|
29
29
|
|
|
30
|
-
[Camoufox](https://github.com/
|
|
30
|
+
[Camoufox](https://github.com/daijro/camoufox) is the **shipped,
|
|
31
31
|
tested template** — there is a reference `bridge.py` under
|
|
32
32
|
[`camoufox-py/`](./camoufox-py/), and a generic discovery runner at
|
|
33
33
|
`__tests__/run-contributed-suites.test.ts` auto-discovers any
|
|
@@ -8,7 +8,7 @@ automatically — you write or audit the bridge, you create the venv, you
|
|
|
8
8
|
fetch the binary, and you register it in `settings.json`.
|
|
9
9
|
|
|
10
10
|
This guide walks through the install flow with
|
|
11
|
-
[**Camoufox**](https://github.com/
|
|
11
|
+
[**Camoufox**](https://github.com/daijro/camoufox) as the worked
|
|
12
12
|
example. The same shape applies to any stealth backend that subclasses
|
|
13
13
|
`PlaywrightBridge` using the [quirks schema](#quirks-schema-reference)
|
|
14
14
|
documented in `playwright_base.py`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lean-portal",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Pi extension. Interactive web browsing for Pi — a /web toggle removes the tools from context when switched off, Playwright Chromium/Firefox deliver accessibility-tree snapshots, persistent profiles, cookies, and domain-matched guides; custom/stealth backends (Camoufox) plug in when a site blocks the shipped browsers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lean-search",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Pi extension. SearXNG search tool for Pi — pairs with pi-lean-portal's /web toggle; search-only installs are valid, or add it to a portal install for the full web-tools suite.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lean-dimension",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Pi extension. The full Pi web-tools suite in one install — interactive browsing (pi-lean-portal) plus SearXNG search (pi-lean-search), unified under a /web toggle that removes the tools from context when switched off.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"pi-lean-portal": "^0.2.
|
|
36
|
-
"pi-lean-search": "^0.2.
|
|
35
|
+
"pi-lean-portal": "^0.2.1",
|
|
36
|
+
"pi-lean-search": "^0.2.1"
|
|
37
37
|
},
|
|
38
38
|
"bundledDependencies": [
|
|
39
39
|
"pi-lean-portal",
|