@omercnet/paseo-shared-browser 4.2.1-next.550.1 → 4.2.1-next.554.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 CHANGED
@@ -40,7 +40,7 @@ organization names.
40
40
  controller when a takeover is needed, and continues the selected action after control is granted.
41
41
  Closing a tab or browser still requires its own confirmation. Actions that need a fresh frame wait
42
42
  for one before sending input.
43
- - The plugin owns `agent-browser` version `0.43.0`, its IPC directory, and the Chromium executable.
43
+ - The plugin owns `agent-browser` version `0.44.0`, its IPC directory, and the Chromium executable.
44
44
  It strips inherited `AGENT_BROWSER_*` variables and sets `AGENT_BROWSER_SOCKET_DIR`,
45
45
  `AGENT_BROWSER_IDLE_TIMEOUT_MS=0`, `AGENT_BROWSER_STREAM_PORT=0`, and
46
46
  `AGENT_BROWSER_NO_AUTO_DIALOG=1` itself.
@@ -357,10 +357,11 @@ User-supplied `AGENT_BROWSER_*` variables are deliberately ignored.
357
357
  - The address-bar Browser menu contains a Send keys submenu and reconnect actions. On desktop,
358
358
  keys open beside the menu; on compact screens, Back returns to the parent menu. Extra keys
359
359
  are no longer shown below the canvas or in a separate dialog.
360
- - On native phones and compact web layouts, Compose text in that menu opens an explicit local
361
- draft for keyboard or IME text, inserted once into the focused page field when you choose
362
- Done. Native phones have no live software-keyboard relay; compact web also keeps canvas
363
- typing. Extra keys remain available in the Send keys submenu.
360
+ - On native phones, the toolbar Pencil button labelled Compose text is the primary way to
361
+ open an explicit local draft. Compose text in the Browser menu is the alternative.
362
+ On compact web layouts, Compose text is available in that menu. Text is inserted once into
363
+ the focused page field when you choose Done. Native phones have no live software-keyboard
364
+ relay; compact web also keeps canvas typing. Extra keys remain available in Send keys.
364
365
  - Local plain-text paste is forwarded; remote copy/cut are not synchronized to the local clipboard.
365
366
  - The address-bar mobile toggle changes shared emulation while preserving the current display
366
367
  dimensions and capture density. Choose a resolution explicitly to change the display.
@@ -439,7 +440,9 @@ node scripts/test-panel-video-mounted.mjs --tooling-root /tmp/shared-browser-dom
439
440
 
440
441
  The panel fixture also accepts `handoff`, `rapid`, `continuous` and `admission`.
441
442
  Run each variant for changes to media handoff or input policy. The `settlement`
442
- fixture checks late replies across viewer and controller replacement. Delete
443
+ fixture checks late replies across viewer and controller replacement. `compose-text`
444
+ renders the native compose toolbar action, verifies the shared menu flow and checks
445
+ that web omits the action with `--platform android` and `--platform web`. Delete
443
446
  the tooling directory when done.
444
447
 
445
448
  Use the same command with `--fixture density` for six mounted controller/density
@@ -37,13 +37,13 @@ interface CanvasPlaceholderStyles {
37
37
  canvasDetail: TextStyle;
38
38
  }
39
39
 
40
- interface ChromeIconButtonStyles {
40
+ export interface ChromeIconButtonStyles {
41
41
  chromeIconButton: ViewStyle;
42
42
  chromeIconButtonHovered: ViewStyle;
43
43
  chromeIconButtonPressed: ViewStyle;
44
44
  chromeIconButtonDisabled: ViewStyle;
45
+ chromeIconButtonTouch?: ViewStyle;
45
46
  }
46
-
47
47
  /** Themed button leaf using public SDK/RN primitives. */
48
48
  export function ChromeIconButton({
49
49
  styles,
@@ -51,6 +51,7 @@ export function ChromeIconButton({
51
51
  label,
52
52
  icon,
53
53
  iconNode,
54
+ touchTarget = false,
54
55
  selected = false,
55
56
  expanded,
56
57
  disabled = false,
@@ -61,8 +62,9 @@ export function ChromeIconButton({
61
62
  label: string;
62
63
  icon: string;
63
64
  iconNode?: ReactNode;
64
- expanded?: boolean;
65
+ touchTarget?: boolean;
65
66
  selected?: boolean;
67
+ expanded?: boolean;
66
68
  disabled?: boolean;
67
69
  onPress(): void;
68
70
  }) {
@@ -74,12 +76,14 @@ export function ChromeIconButton({
74
76
  accessibilityRole="button"
75
77
  accessibilityLabel={label}
76
78
  accessibilityState={{ disabled, selected, ...(expanded === undefined ? {} : { expanded }) }}
79
+ hitSlop={touchTarget ? 8 : undefined}
77
80
  disabled={disabled}
78
81
  onHoverIn={() => setHovered(true)}
79
82
  onHoverOut={() => setHovered(false)}
80
83
  onPress={onPress}
81
84
  style={({ pressed }) => [
82
85
  styles.chromeIconButton,
86
+ touchTarget ? styles.chromeIconButtonTouch : null,
83
87
  hovered ? styles.chromeIconButtonHovered : null,
84
88
  pressed ? styles.chromeIconButtonPressed : null,
85
89
  disabled ? styles.chromeIconButtonDisabled : null,
@@ -0,0 +1,187 @@
1
+ import type { PluginWorkspacePanelProps } from "@getpaseo/plugin/client";
2
+ import type { ReactElement } from "react";
3
+ import { beforeEach, describe, expect, it, vi } from "vitest";
4
+ import type { BrowserState } from "../shared/browser";
5
+
6
+ const hooks = vi.hoisted(() => ({
7
+ slots: [] as unknown[],
8
+ index: 0,
9
+ render: () => {},
10
+ dirty: false,
11
+ }));
12
+
13
+ vi.mock("react", () => ({
14
+ useRef: (initial: unknown) => {
15
+ const index = hooks.index++;
16
+ hooks.slots[index] ??= { current: initial };
17
+ return hooks.slots[index];
18
+ },
19
+ useState: (initial: unknown) => {
20
+ const index = hooks.index++;
21
+ if (!(index in hooks.slots))
22
+ hooks.slots[index] = typeof initial === "function" ? (initial as () => unknown)() : initial;
23
+ return [
24
+ hooks.slots[index],
25
+ (next: unknown) => {
26
+ hooks.slots[index] =
27
+ typeof next === "function"
28
+ ? (next as (previous: unknown) => unknown)(hooks.slots[index])
29
+ : next;
30
+ hooks.dirty = true;
31
+ },
32
+ ];
33
+ },
34
+ useCallback: (callback: unknown) => {
35
+ hooks.index++;
36
+ return callback;
37
+ },
38
+ useMemo: (factory: () => unknown) => {
39
+ hooks.index++;
40
+ return factory();
41
+ },
42
+ useEffect: () => {
43
+ hooks.index++;
44
+ },
45
+ useLayoutEffect: () => {
46
+ hooks.index++;
47
+ },
48
+ }));
49
+ vi.mock("react-native", () => ({
50
+ Platform: { OS: "web" },
51
+ StyleSheet: { create: <T,>(styles: T) => styles, absoluteFillObject: {} },
52
+ AppState: {},
53
+ useWindowDimensions: () => ({ scale: 1 }),
54
+ View: "View",
55
+ Text: "Text",
56
+ }));
57
+ vi.mock("@getpaseo/plugin/client/ui", () => ({ Modal: {}, Icon: "Icon" }));
58
+ vi.mock("@getpaseo/plugin/client", () => ({
59
+ useRpc: () => vi.fn(),
60
+ useTabState: (_tab: unknown, _schema: unknown, fallback: unknown) => [fallback, vi.fn()],
61
+ }));
62
+ vi.mock("@tanstack/react-query", () => ({
63
+ useQueryClient: () => ({}),
64
+ useQuery: (options: { queryKey: string[] }) => {
65
+ const data =
66
+ options.queryKey[1] === "attach" ? { viewerToken: "v".repeat(32), state } : { tabs: [] };
67
+ return { data, error: null, isPending: false, isFetching: false, refetch: vi.fn() };
68
+ },
69
+ useMutation: () => ({ isPending: false, mutate: vi.fn() }),
70
+ }));
71
+ vi.mock("./browser-tabs", () => ({ BrowserTabs: "BrowserTabs" }));
72
+ vi.mock("./browser-chrome", () => ({
73
+ ChromeIconButton: "ChromeIconButton",
74
+ ControlButton: "ControlButton",
75
+ CanvasPlaceholder: "CanvasPlaceholder",
76
+ ErrorNotice: "ErrorNotice",
77
+ Field: "Field",
78
+ }));
79
+ vi.mock("./browser-compose-controls", () => ({ ComposeTextControls: "ComposeTextControls" }));
80
+ vi.mock("./browser-toolbar-menu", () => ({
81
+ BrowserToolbarMenu: "BrowserToolbarMenu",
82
+ BrowserMenuItem: "BrowserMenuItem",
83
+ BrowserMenuHeading: "BrowserMenuHeading",
84
+ BrowserMenuSeparator: "BrowserMenuSeparator",
85
+ }));
86
+ vi.mock("./browser-control-dialog", () => ({ BrowserControlDialog: "BrowserControlDialog" }));
87
+ vi.mock("./browser-frame-image", () => ({ BrowserFrameImage: "BrowserFrameImage" }));
88
+ vi.mock("./browser-canvas-viewport", () => ({ BrowserCanvasViewport: "BrowserCanvasViewport" }));
89
+ vi.mock("./browser-video-surface", () => ({ BrowserVideoSurface: null }));
90
+ vi.mock("./browser-resolution-picker", () => ({ BrowserResolutionPicker: null }));
91
+ vi.mock("./use-browser-video", () => ({
92
+ useBrowserVideo: () => ({
93
+ supported: false,
94
+ active: false,
95
+ error: null,
96
+ errorViewerToken: null,
97
+ refresh: vi.fn(),
98
+ retry: vi.fn(),
99
+ front: null,
100
+ frontRef: { current: null },
101
+ }),
102
+ }));
103
+ vi.mock("./use-browser-image-capture", () => ({
104
+ useBrowserImageCapture: () => ({
105
+ query: { data: undefined, error: null, isPending: true, isFetching: false },
106
+ refreshCapture: vi.fn(),
107
+ retryFrameCapture: vi.fn(),
108
+ }),
109
+ }));
110
+ vi.mock("./use-browser-canvas-input", () => ({ useBrowserCanvasInput: () => ({}) }));
111
+ vi.mock("./use-resolution-favorites", () => ({
112
+ useResolutionFavorites: () => ({ favoritePresetIds: [] }),
113
+ }));
114
+
115
+ import { SharedBrowserPanel } from "./browser";
116
+
117
+ const props = {
118
+ theme: { colors: new Proxy({}, { get: () => "#777" }) },
119
+ host: { id: "host", label: "Host" },
120
+ layout: { compact: false, platform: "android" },
121
+ workspaceId: "workspace",
122
+ tab: {},
123
+ } as PluginWorkspacePanelProps;
124
+ const state = {} as BrowserState;
125
+ let tree: ReturnType<typeof SharedBrowserPanel>;
126
+ function render(platform: "android" | "web" = "android") {
127
+ props.layout.platform = platform;
128
+ hooks.index = 0;
129
+ hooks.dirty = false;
130
+ tree = SharedBrowserPanel(props);
131
+ }
132
+
133
+ type TestElement = ReactElement<Record<string, unknown>>;
134
+ function typeName(type: unknown) {
135
+ return typeof type === "function" ? type.name : type;
136
+ }
137
+
138
+ function find(node: unknown, label: string, type?: string) {
139
+ const matches: Array<Record<string, unknown>> = [];
140
+ const stack: unknown[] = [node];
141
+ while (stack.length) {
142
+ const current = stack.shift();
143
+ if (!current || typeof current !== "object") continue;
144
+ if (Array.isArray(current)) {
145
+ stack.unshift(...current);
146
+ continue;
147
+ }
148
+ const element = current as TestElement;
149
+ const name = typeof element.type === "function" ? element.type.name : element.type;
150
+ if (
151
+ (element.props.label === label || element.props.accessibilityLabel === label) &&
152
+ (!type || name === type)
153
+ )
154
+ matches.push(element.props);
155
+ const submenu = element.props.submenu as { children?: unknown } | undefined;
156
+ stack.unshift(element.props.children, submenu?.children);
157
+ }
158
+ return matches[0] ?? null;
159
+ }
160
+
161
+ beforeEach(() => {
162
+ hooks.slots = [];
163
+ hooks.index = 0;
164
+ });
165
+
166
+ describe("native compose toolbar action", () => {
167
+ it("is present on native and not on web", () => {
168
+ render("android");
169
+ expect(find(tree, "Compose text", "ChromeIconButton")).toMatchObject({
170
+ icon: "Pencil",
171
+ touchTarget: true,
172
+ });
173
+ render("web");
174
+ expect(find(tree, "Compose text", "ChromeIconButton")).toBeNull();
175
+ });
176
+ it("uses the same handler in the native toolbar and menu", () => {
177
+ render("android");
178
+ const toolbar = find(tree, "Compose text", "ChromeIconButton");
179
+ expect(toolbar?.onPress).toBeTypeOf("function");
180
+ const browserMenu = find(tree, "Browser menu", "ChromeIconButton");
181
+ if (typeof browserMenu?.onPress !== "function") throw new Error("Missing browser menu handler");
182
+ browserMenu.onPress();
183
+ render("android");
184
+ const menu = find(tree, "Compose text", "BrowserMenuItem");
185
+ expect(find(tree, "Compose text", "ChromeIconButton")?.onPress).toBe(menu?.onPress);
186
+ });
187
+ });
@@ -139,6 +139,10 @@ export function createStyles(theme: Theme, compact: boolean) {
139
139
  alignItems: "center",
140
140
  justifyContent: "center",
141
141
  },
142
+ chromeIconButtonTouch: {
143
+ width: DIMENSION.touch,
144
+ height: DIMENSION.touch,
145
+ },
142
146
  chromeIconButtonHovered: {
143
147
  backgroundColor: theme.colors.surface2,
144
148
  },
@@ -1494,6 +1494,16 @@ export function SharedBrowserPanel({
1494
1494
 
1495
1495
  // Queued actions always resolve through this render's scoped mutation callbacks.
1496
1496
  // A callback captured before acquisition must never reuse its old control identity.
1497
+ // Native typing must remain reachable when the menu's host overlay cannot open.
1498
+ const composeToolbarAction = () => {
1499
+ closeToolbarMenu();
1500
+ requestControlled(
1501
+ "compose browser text",
1502
+ () => controlledActionsRef.current?.openCompose("compose"),
1503
+ true,
1504
+ );
1505
+ };
1506
+
1497
1507
  controlledActionsRef.current = {
1498
1508
  navigate,
1499
1509
  applyViewport,
@@ -1781,6 +1791,17 @@ export function SharedBrowserPanel({
1781
1791
  onPress={() => toggleToolbarMenu("display")}
1782
1792
  />
1783
1793
  </View>
1794
+ {composeAvailable && layout.platform !== "web" ? (
1795
+ <ChromeIconButton
1796
+ styles={styles}
1797
+ theme={theme}
1798
+ label="Compose text"
1799
+ icon="Pencil"
1800
+ touchTarget
1801
+ disabled={!viewerToken || (canControl && !canSendInput)}
1802
+ onPress={composeToolbarAction}
1803
+ />
1804
+ ) : null}
1784
1805
  <ChromeIconButton
1785
1806
  styles={styles}
1786
1807
  theme={theme}
@@ -2314,14 +2335,7 @@ export function SharedBrowserPanel({
2314
2335
  label="Compose text"
2315
2336
  icon="Pencil"
2316
2337
  disabled={!viewerToken || (canControl && !canSendInput)}
2317
- onPress={() => {
2318
- closeToolbarMenu();
2319
- requestControlled(
2320
- "compose browser text",
2321
- () => controlledActionsRef.current?.openCompose("compose"),
2322
- true,
2323
- );
2324
- }}
2338
+ onPress={composeToolbarAction}
2325
2339
  />
2326
2340
  ) : null}
2327
2341
  <View ref={keysAnchorRef}>
@@ -10,15 +10,15 @@
10
10
  "dependencies": {
11
11
  "@getpaseo/plugin": "0.17.3",
12
12
  "@modelcontextprotocol/sdk": "1.32.2",
13
- "agent-browser": "0.43.0",
13
+ "agent-browser": "0.44.0",
14
14
  "esbuild": "0.28.2",
15
15
  "zod": "4.6.7"
16
16
  }
17
17
  },
18
18
  "node_modules/@agent-browser/cli-darwin-arm64": {
19
- "version": "0.43.0",
20
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-darwin-arm64/-/cli-darwin-arm64-0.43.0.tgz",
21
- "integrity": "sha512-HV6GP59IjNnowlrXR/5rVM8msPWwQDEONt/tWC8STzUfKZQHKZI/Iv9sf2h2ZhwK8xwoqLhxpf+KxcFgJ0sExQ==",
19
+ "version": "0.44.0",
20
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-darwin-arm64/-/cli-darwin-arm64-0.44.0.tgz",
21
+ "integrity": "sha512-wI2TZs5jCQsldRougSJiXzafsvXQJuKY6Jb/Q9euT/1CBfr926ev10K1SOAkEDRIIuJW4a894LN5wrhRDk+wlQ==",
22
22
  "cpu": [
23
23
  "arm64"
24
24
  ],
@@ -29,9 +29,9 @@
29
29
  ]
30
30
  },
31
31
  "node_modules/@agent-browser/cli-darwin-x64": {
32
- "version": "0.43.0",
33
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-darwin-x64/-/cli-darwin-x64-0.43.0.tgz",
34
- "integrity": "sha512-3NKnKFOWLYDYTz4bJxo4jt+GwjM4VtcW5FDrQY35eUrytig65FEDdXmXKuRbZGq9jEEWxh6rmpS4R6xS53XCaw==",
32
+ "version": "0.44.0",
33
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-darwin-x64/-/cli-darwin-x64-0.44.0.tgz",
34
+ "integrity": "sha512-Y/oun8VYYGqCjItCrXztwF2AZM4VvjYd8dnGjUl22QKr3+J0jqhWiOVkC+cpWvzyHoV9CypMwjwW8tuCGJzOiw==",
35
35
  "cpu": [
36
36
  "x64"
37
37
  ],
@@ -42,9 +42,9 @@
42
42
  ]
43
43
  },
44
44
  "node_modules/@agent-browser/cli-linux-arm64-gnu": {
45
- "version": "0.43.0",
46
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-0.43.0.tgz",
47
- "integrity": "sha512-8DC234LGlXCn8A2YXGk6woy1uTjyexvtHd/TOQHLrV2sfUMZD647HTHEJyF+2z1J1oR34LaB5jqHJ9d0REC+Cw==",
45
+ "version": "0.44.0",
46
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-0.44.0.tgz",
47
+ "integrity": "sha512-/sE4wYAy+UskWTaktVruDT4Xfv9e2beMo2y3TLXtpNsBFmI47JdSUeWBHIS1DkBrP1QhinrNdWxcLz9PWjHt3w==",
48
48
  "cpu": [
49
49
  "arm64"
50
50
  ],
@@ -58,9 +58,9 @@
58
58
  ]
59
59
  },
60
60
  "node_modules/@agent-browser/cli-linux-arm64-musl": {
61
- "version": "0.43.0",
62
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-arm64-musl/-/cli-linux-arm64-musl-0.43.0.tgz",
63
- "integrity": "sha512-/dYeGX2E1lWZ25q1IZSVs6PaPmr0GmhHU8z/LtCh0anHN4ND50i5fOPbysRBaE8iQCBY74h+1R2kePfEqD7X4Q==",
61
+ "version": "0.44.0",
62
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-arm64-musl/-/cli-linux-arm64-musl-0.44.0.tgz",
63
+ "integrity": "sha512-0+TCqRf1frUrrGHEyWh7tWvNB3O1wUJVju7JSVC7dItLvKAn4h8Vxqp/gXodEGchqiRdw1T2Loa2CKBa+c0Nug==",
64
64
  "cpu": [
65
65
  "arm64"
66
66
  ],
@@ -74,9 +74,9 @@
74
74
  ]
75
75
  },
76
76
  "node_modules/@agent-browser/cli-linux-x64-gnu": {
77
- "version": "0.43.0",
78
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-x64-gnu/-/cli-linux-x64-gnu-0.43.0.tgz",
79
- "integrity": "sha512-WY8vy2Saa3oRt6XEmz4Sae1W5qS9TjYcbX6IE+dxb8s2APfL9XyQjMHC6jBZrhwqDBIvUeTMCT/P2cq3XLPSBw==",
77
+ "version": "0.44.0",
78
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-x64-gnu/-/cli-linux-x64-gnu-0.44.0.tgz",
79
+ "integrity": "sha512-3CzMurofm16tQ18mEKe/YLOZGVSDpInhILlccDrkd72en/KccQnFYzw4Pid/u2Nq6tL6ufT/5pyaJGzfHhyuwA==",
80
80
  "cpu": [
81
81
  "x64"
82
82
  ],
@@ -90,9 +90,9 @@
90
90
  ]
91
91
  },
92
92
  "node_modules/@agent-browser/cli-linux-x64-musl": {
93
- "version": "0.43.0",
94
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-x64-musl/-/cli-linux-x64-musl-0.43.0.tgz",
95
- "integrity": "sha512-WpCI0cIaVIVj4trdduDmW90h51BAP5Nhx6lALOqHjUhOOae/TkLL4bK8gJfjPb/nOp2FRjsF1l77f6rVwkpsug==",
93
+ "version": "0.44.0",
94
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-linux-x64-musl/-/cli-linux-x64-musl-0.44.0.tgz",
95
+ "integrity": "sha512-c1/JWPXG+g859WcCXrpgOFCD9Tig1+2a/jwOeEKYSBIFNwnmi1q7inR7oTFd1euWhELoMy0ovO19Ae2p/UAJOw==",
96
96
  "cpu": [
97
97
  "x64"
98
98
  ],
@@ -106,9 +106,9 @@
106
106
  ]
107
107
  },
108
108
  "node_modules/@agent-browser/cli-win32-x64-msvc": {
109
- "version": "0.43.0",
110
- "resolved": "https://registry.npmjs.org/@agent-browser/cli-win32-x64-msvc/-/cli-win32-x64-msvc-0.43.0.tgz",
111
- "integrity": "sha512-xhk8wnHk3aiBFSR0pd1Ye3ay2jKjgRardgBJLiB9nXJv0ZkbeP/wh3X7jMiKUfUGE1qqJrKdaM5szQ6iz8/8+w==",
109
+ "version": "0.44.0",
110
+ "resolved": "https://registry.npmjs.org/@agent-browser/cli-win32-x64-msvc/-/cli-win32-x64-msvc-0.44.0.tgz",
111
+ "integrity": "sha512-S+Vs7mTXpjwLBSdA6ZzESLavQ5saiijaNWQfYN9yoVsQ2aYOKnu5zkZIxsaWjjJ1Too6pylR3g0ijLaTWZYjkQ==",
112
112
  "cpu": [
113
113
  "x64",
114
114
  "arm64"
@@ -714,9 +714,9 @@
714
714
  }
715
715
  },
716
716
  "node_modules/agent-browser": {
717
- "version": "0.43.0",
718
- "resolved": "https://registry.npmjs.org/agent-browser/-/agent-browser-0.43.0.tgz",
719
- "integrity": "sha512-TExwnZAW39fUBDJhUPrw8KKGmcjzBo7FxNqoP2/usHG1ODsjGI2jAWq3+Q6I5JYyBMjePFEsj8KGB68mALtglA==",
717
+ "version": "0.44.0",
718
+ "resolved": "https://registry.npmjs.org/agent-browser/-/agent-browser-0.44.0.tgz",
719
+ "integrity": "sha512-OIrY/BlPwdg8XB9rzEbBuDva0S/lQmQBCW735y+B80kDvZ8CDQsuYV8i6hmUr70qIZeTyjd74aymlUzHKbvO4Q==",
720
720
  "hasInstallScript": true,
721
721
  "license": "Apache-2.0",
722
722
  "bin": {
@@ -726,13 +726,13 @@
726
726
  "node": ">=22.0.0"
727
727
  },
728
728
  "optionalDependencies": {
729
- "@agent-browser/cli-darwin-arm64": "0.43.0",
730
- "@agent-browser/cli-darwin-x64": "0.43.0",
731
- "@agent-browser/cli-linux-arm64-gnu": "0.43.0",
732
- "@agent-browser/cli-linux-arm64-musl": "0.43.0",
733
- "@agent-browser/cli-linux-x64-gnu": "0.43.0",
734
- "@agent-browser/cli-linux-x64-musl": "0.43.0",
735
- "@agent-browser/cli-win32-x64-msvc": "0.43.0"
729
+ "@agent-browser/cli-darwin-arm64": "0.44.0",
730
+ "@agent-browser/cli-darwin-x64": "0.44.0",
731
+ "@agent-browser/cli-linux-arm64-gnu": "0.44.0",
732
+ "@agent-browser/cli-linux-arm64-musl": "0.44.0",
733
+ "@agent-browser/cli-linux-x64-gnu": "0.44.0",
734
+ "@agent-browser/cli-linux-x64-musl": "0.44.0",
735
+ "@agent-browser/cli-win32-x64-msvc": "0.44.0"
736
736
  }
737
737
  },
738
738
  "node_modules/ajv": {
@@ -1320,9 +1320,9 @@
1320
1320
  }
1321
1321
  },
1322
1322
  "node_modules/hono": {
1323
- "version": "4.13.22",
1324
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.22.tgz",
1325
- "integrity": "sha512-wncKd5/40Pj8grx0RZ2fgNIicFEmVFwIHT5UFLTnphR8I6AQWFf9c2JoM6ZJ9g8y4pMzg3sNlCVNe0m2Yclg0Q==",
1323
+ "version": "4.13.23",
1324
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.23.tgz",
1325
+ "integrity": "sha512-OS90dj7dcsftEEWCOef8jRbnHE5lbrOq0hNRqjSyPsOnaGZvvfof1KS05hQNb4kUOCfDq1mG3PmHoX37DMnHQg==",
1326
1326
  "license": "MIT",
1327
1327
  "engines": {
1328
1328
  "node": ">=16.9.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-shared-browser",
3
- "version": "4.2.1-next.550.1",
3
+ "version": "4.2.1-next.554.1",
4
4
  "description": "One real Chromium session per Paseo workspace, shared live across every connected client.",
5
5
  "keywords": [
6
6
  "browser",
@@ -59,7 +59,7 @@
59
59
  "dependencies": {
60
60
  "@getpaseo/plugin": "0.17.3",
61
61
  "@modelcontextprotocol/sdk": "1.32.2",
62
- "agent-browser": "0.43.0",
62
+ "agent-browser": "0.44.0",
63
63
  "esbuild": "0.28.2",
64
64
  "zod": "4.6.7"
65
65
  },
@@ -20,7 +20,7 @@ function resolveDependencyRoot(packageName) {
20
20
  }
21
21
 
22
22
  const execFileAsync = promisify(execFile);
23
- const expectedVersion = "0.43.0";
23
+ const expectedVersion = "0.44.0";
24
24
  const hostPlatform = platform();
25
25
  const hostArch = arch();
26
26
  const projectRoot = dirname(dirname(fileURLToPath(import.meta.url)));
@@ -57,7 +57,7 @@ import { createScreencastSourceTime } from "./screencast-source-time";
57
57
  import { createVideoSourceRecovery } from "./video-source-recovery";
58
58
 
59
59
  const execFileAsync = promisify(execFile);
60
- export const AGENT_BROWSER_VERSION = "0.43.0";
60
+ export const AGENT_BROWSER_VERSION = "0.44.0";
61
61
  const PRIVATE_DIRECTORY_MODE = 0o700;
62
62
  const PRIVATE_FILE_MODE = 0o600;
63
63
  const DEFAULT_TIMEOUT_MS = 15_000;
@@ -23,7 +23,7 @@ vi.mock("node:child_process", () => ({
23
23
  callback: (error: null, result: { stdout: string }) => void,
24
24
  ) => {
25
25
  exec.calls.push({ file, args, env: options.env });
26
- callback(null, { stdout: args.includes("--version") ? "0.43.0\n" : "{}\n" });
26
+ callback(null, { stdout: args.includes("--version") ? "0.44.0\n" : "{}\n" });
27
27
  },
28
28
  }));
29
29
 
@@ -15,7 +15,7 @@ vi.mock("node:child_process", async (importOriginal) => ({
15
15
  _args: string[],
16
16
  _options: unknown,
17
17
  callback: (error: null, result: { stdout: string }) => void,
18
- ) => callback(null, { stdout: "0.43.0\n" }),
18
+ ) => callback(null, { stdout: "0.44.0\n" }),
19
19
  }));
20
20
 
21
21
  const temporary: string[] = [];