@omercnet/paseo-shared-browser 1.2.2-next.240.1 → 1.2.2-next.241.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/OVERVIEW.md +2 -2
- package/README.md +3 -6
- package/client/sidebar.tsx +1 -2
- package/index.server.ts +0 -4
- package/package.json +1 -1
- package/paseo-plugin.json +1 -3
package/OVERVIEW.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Shared Browser runs one real Chromium browser per workspace on the daemon host and shows that same live page to every connected Paseo client, so viewers and agents act on one page with one set of cookies and logins. Many viewers can watch, and one human at a time holds control. Open it from the Command Center, the **Shared Browser** composer pill, or
|
|
1
|
+
Shared Browser runs one real Chromium browser per workspace on the daemon host and shows that same live page to every connected Paseo client, so viewers and agents act on one page with one set of cookies and logins. Many viewers can watch, and one human at a time holds control. Open it from the Command Center, the **Shared Browser** composer pill, or the sidebar footer.
|
|
2
2
|
|
|
3
3
|
## How it works
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ New agents whose provider accepts external MCP servers receive a local MCP serve
|
|
|
13
13
|
|
|
14
14
|
## Setup
|
|
15
15
|
|
|
16
|
-
- Paseo 0.
|
|
16
|
+
- Paseo ^0.11.0, and Node.js 24 or newer on the daemon host.
|
|
17
17
|
- Chromium is downloaded when the plugin is installed and stored in the Paseo data directory. On Linux ARM64 nothing is downloaded, and you install a non-Snap Chromium at `/usr/bin/chromium` first. `PASEO_SHARED_BROWSER_CHROMIUM_EXECUTABLE` points the plugin at a different Chromium.
|
|
18
18
|
|
|
19
19
|
## Limits
|
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ Before upgrading the plugin on Windows, close active Shared Browser sessions and
|
|
|
110
110
|
daemon; Windows does not allow the installer to replace runtime executables that are still running.
|
|
111
111
|
|
|
112
112
|
Open a workspace, search the Command Center for **Open Shared Browser**, or tap the **Shared
|
|
113
|
-
Browser** composer pill while a workspace session is open.
|
|
113
|
+
Browser** composer pill while a workspace session is open. A **Shared
|
|
114
114
|
Browser (n)** row in the sidebar footer appears while browser sessions are open; it lists them and
|
|
115
115
|
jumps to the chosen workspace's browser panel.
|
|
116
116
|
|
|
@@ -119,7 +119,7 @@ jumps to the chosen workspace's browser panel.
|
|
|
119
119
|
The plugin automatically injects its stdio MCP adapter only when a new, non-internal agent is
|
|
120
120
|
created with a provider that accepts external MCP servers. Agents that already exist, resumed
|
|
121
121
|
sessions, imported sessions, and Paseo's internal agents are not modified. Paseo's built-in OMP
|
|
122
|
-
provider accepts session MCP servers
|
|
122
|
+
provider accepts session MCP servers, so new OMP agents receive the adapter.
|
|
123
123
|
Pi agents also receive the adapter, but require Pi's optional MCP support to
|
|
124
124
|
launch it.
|
|
125
125
|
|
|
@@ -417,10 +417,7 @@ runs the actual Paseo compiler on both plugin entries.
|
|
|
417
417
|
Release Please maintains the version, changelog, component tag, and GitHub release from
|
|
418
418
|
Conventional Commits in the monorepo.
|
|
419
419
|
|
|
420
|
-
Both the Paseo daemon and app must satisfy
|
|
421
|
-
The upstream 0.9, 0.10 and 0.11 ranges remain supported by the manifest;
|
|
422
|
-
the tested `0.11.0-beta.3` prerelease is also allowed. Older daemon/client
|
|
423
|
-
combinations still need runtime qualification. Encoded video is opt-in on the daemon and
|
|
420
|
+
Both the Paseo daemon and app must satisfy `^0.11.0`. Encoded video is opt-in on the daemon and
|
|
424
421
|
requires WebCodecs in a web client; JPEG is always available. The client surface uses React
|
|
425
422
|
Native primitives and works in desktop, web, iOS, and Android Paseo clients.
|
|
426
423
|
|
package/client/sidebar.tsx
CHANGED
|
@@ -123,9 +123,8 @@ function createSidebarItem(client: PluginClientContext) {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
/** Sidebar footer row listing open sessions.
|
|
126
|
+
/** Sidebar footer row listing open sessions. */
|
|
127
127
|
export function contributeSharedBrowserSidebar(client: PluginClientContext): () => void {
|
|
128
|
-
if (typeof client.addSidebarFooterItem !== "function") return () => {};
|
|
129
128
|
return client.addSidebarFooterItem({
|
|
130
129
|
id: "shared-browser-sessions",
|
|
131
130
|
title: "Shared Browser",
|
package/index.server.ts
CHANGED
|
@@ -109,12 +109,8 @@ export default function contribute(server: PluginServerContext) {
|
|
|
109
109
|
server.handle(resizeBrowserRpc, handleResizeBrowser);
|
|
110
110
|
server.handle(applyDevicePresetRpc, handleApplyDevicePreset);
|
|
111
111
|
server.handle(sendBrowserInputRpc, handleSendBrowserInput);
|
|
112
|
-
// OMP accepts session MCP servers from Paseo 0.11.0-beta.1, the release that added
|
|
113
|
-
// registerUsageSource; 0.9/0.10 reject agent creation when an OMP config carries MCP servers.
|
|
114
|
-
const ompAcceptsMcp = typeof server.registerUsageSource === "function";
|
|
115
112
|
server.before("agent.create", async ({ request }) => {
|
|
116
113
|
if (request.config.internal) return request;
|
|
117
|
-
if (request.config.provider === "omp" && !ompAcceptsMcp) return request;
|
|
118
114
|
const ticket = randomBytes(32).toString("base64url");
|
|
119
115
|
if (!(await issueTicketWithinDeadline(ticket))) return request;
|
|
120
116
|
return {
|
package/package.json
CHANGED
package/paseo-plugin.json
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "shared-browser",
|
|
3
3
|
"description": "One real Chromium session per Paseo workspace, shared live across every connected client.",
|
|
4
|
-
"requirements": {
|
|
5
|
-
"paseo": "^0.9.0 || ^0.10.0 || ^0.11.0 || 0.11.0-beta.3 || 0.11.0-beta.4"
|
|
6
|
-
},
|
|
4
|
+
"requirements": { "paseo": "^0.11.0" },
|
|
7
5
|
"build": [["node", "scripts/prepare-dependencies.mjs"], ["npm", "run", "prepare:runtime"]]
|
|
8
6
|
}
|