@frockbot/plugin-fly-sprite 0.3.10 → 0.3.12

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/computer.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/plugin-fly-sprite",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,16 +25,16 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@cordisjs/plugin-webui": "0.8.2",
28
- "@frockbot/computer-core": "0.3.10",
29
- "@frockbot/computer-host-protocol": "0.3.10",
30
- "@frockbot/computer-host-runtime": "0.3.10",
31
- "@frockbot/kernel-contracts": "0.3.10",
32
- "@frockbot/plugin-computer": "0.3.10",
28
+ "@frockbot/computer-core": "0.3.12",
29
+ "@frockbot/computer-host-protocol": "0.3.12",
30
+ "@frockbot/computer-host-runtime": "0.3.12",
31
+ "@frockbot/kernel-contracts": "0.3.12",
32
+ "@frockbot/plugin-computer": "0.3.12",
33
33
  "cordis": "4.0.0-rc.8"
34
34
  },
35
35
  "devDependencies": {
36
- "@frockbot/plugin-testkit": "0.3.10",
37
- "@frockbot/workspace-store": "0.3.10",
36
+ "@frockbot/plugin-testkit": "0.3.12",
37
+ "@frockbot/workspace-store": "0.3.12",
38
38
  "@types/bun": "1.4.0",
39
39
  "@types/node": "26.2.0",
40
40
  "typescript": "^7.0.2"
package/src/computer.ts CHANGED
@@ -1055,7 +1055,9 @@ export class FlySpriteComputer {
1055
1055
  const script = [
1056
1056
  this.agentControlGuard(layout),
1057
1057
  `PORT=$(cat ${layout.runtimeDir}/cdp-port)`,
1058
- `node ${RUNTIME_ROOT}/browser.mjs "$PORT" ${shellQuote(encoded)}`,
1058
+ // The Bot key, because one browser now serves every Bot of the User and
1059
+ // the helper has to know whose window to act in (ADR 0031).
1060
+ `node ${RUNTIME_ROOT}/browser.mjs "$PORT" ${shellQuote(encoded)} ${shellQuote(layout.key)}`,
1059
1061
  ].join("\n");
1060
1062
  const outcome = await this.execute(
1061
1063
  host,