@omercnet/paseo-shared-browser 2.0.0 → 2.0.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-shared-browser",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@omercnet/paseo-shared-browser",
9
- "version": "2.0.0",
9
+ "version": "2.0.1",
10
10
  "dependencies": {
11
11
  "@getpaseo/plugin": "0.11.1",
12
12
  "@modelcontextprotocol/sdk": "1.30.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-shared-browser",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "One real Chromium session per Paseo workspace, shared live across every connected client.",
5
5
  "keywords": [
6
6
  "browser",
@@ -57,7 +57,7 @@ function harness() {
57
57
  const lease = supervisor.claimBridge("bridge");
58
58
  const request = (operation: string, input: unknown) =>
59
59
  supervisor.dispatch({
60
- version: 2,
60
+ version: 3,
61
61
  id: "request",
62
62
  token: "unused-by-direct-fixture",
63
63
  bridgeId: "bridge",
@@ -165,7 +165,7 @@ describe("display loss recovery", () => {
165
165
  const agentRequest = (operation: "status" | "capture") =>
166
166
  h.supervisor.dispatch({
167
167
  id: "agent",
168
- version: 2,
168
+ version: 3,
169
169
  method: "agent.request",
170
170
  ticket,
171
171
  operation,
@@ -174,7 +174,7 @@ describe("display loss recovery", () => {
174
174
  try {
175
175
  const human = await h.attach();
176
176
  const base = {
177
- version: 2 as const,
177
+ version: 3 as const,
178
178
  token: "unused",
179
179
  bridgeId: "bridge",
180
180
  epoch: h.lease.epoch,
@@ -209,7 +209,7 @@ describe("display loss recovery", () => {
209
209
  });
210
210
  const late = (await h.supervisor.dispatch({
211
211
  id: "agent-late",
212
- version: 2,
212
+ version: 3,
213
213
  method: "agent.request",
214
214
  ticket: lateTicket,
215
215
  operation: "status",
@@ -241,11 +241,11 @@ describe("display loss recovery", () => {
241
241
  it("keeps a lost runtime whose stop failed away from implicit agent paths until explicit recovery", async () => {
242
242
  const h = harness();
243
243
  const ticket = `agent_${"x".repeat(40)}`;
244
- const base = { version: 2 as const, token: "unused", bridgeId: "bridge", epoch: h.lease.epoch };
244
+ const base = { version: 3 as const, token: "unused", bridgeId: "bridge", epoch: h.lease.epoch };
245
245
  const agentRequest = (operation: "status" | "capture") =>
246
246
  h.supervisor.dispatch({
247
247
  id: "agent",
248
- version: 2,
248
+ version: 3,
249
249
  method: "agent.request",
250
250
  ticket,
251
251
  operation,
@@ -42,7 +42,7 @@ it("routes validated human gestures, fences replaced plugin bridges and never ex
42
42
  bridgeId = "bridge",
43
43
  ) =>
44
44
  supervisor.dispatch({
45
- version: 2,
45
+ version: 3,
46
46
  id: "request",
47
47
  token: "unused-by-direct-fixture",
48
48
  bridgeId,
@@ -133,7 +133,7 @@ it("routes validated human gestures, fences replaced plugin bridges and never ex
133
133
  expect(calls.filter((value) => value === "input.end")).toHaveLength(1);
134
134
  await expect(
135
135
  supervisor.dispatch({
136
- version: 2,
136
+ version: 3,
137
137
  id: "request",
138
138
  method: "agent.request",
139
139
  ticket: "invalid",
@@ -1,4 +1,4 @@
1
- export const RUNTIME_PROTOCOL_VERSION = 2 as const;
1
+ export const RUNTIME_PROTOCOL_VERSION = 3 as const;
2
2
  export const DEFAULT_ORPHAN_GRACE_MS = 120_000;
3
3
  export const DEFAULT_BRIDGE_HEARTBEAT_MS = 10_000;
4
4
  export const DEFAULT_BRIDGE_TIMEOUT_MS = 30_000;