@omercnet/paseo-shared-browser 2.0.0 → 2.0.1-next.253.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/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omercnet/paseo-shared-browser",
|
|
3
|
-
"version": "2.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.
|
|
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
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
136
|
+
version: 3,
|
|
137
137
|
id: "request",
|
|
138
138
|
method: "agent.request",
|
|
139
139
|
ticket: "invalid",
|