summrise-agent 1.2.509 → 1.2.511

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.
@@ -59,12 +59,15 @@ electron_1.contextBridge.exposeInMainWorld("summriseEmbedded", {
59
59
  // THE DSH VIEW (the shell's second embedded view). The harness's own UI runs on THIS
60
60
  // machine's loopback, so the panel never learns its port: `open()` asks the MAIN process to
61
61
  // navigate the view to its configured base, and the door that decides what that view may load
62
- // (url-policy.isDshUrl) has exactly one origin to check. Same placeholder-bounds handshake as
62
+ // (the Rust policy's isDshUrl) checks a SET of loopback doors — one per host's forward. Same placeholder-bounds handshake as
63
63
  // the browser view above, because it is the same problem: a native view overlays an empty slot
64
64
  // the SPA positions.
65
65
  electron_1.contextBridge.exposeInMainWorld("summriseDsh", {
66
66
  open: () => electron_1.ipcRenderer.invoke("embedded-dsh:open"),
67
67
  place: (bounds) => electron_1.ipcRenderer.invoke("embedded-dsh:place", bounds),
68
+ // SELECTING A HOST: the URL is one of the agent's configured harness doors, and the main process
69
+ // checks it against that list — the pane cannot point the view at an address of its own choosing.
70
+ go: (url) => electron_1.ipcRenderer.invoke("embedded-dsh:go", url),
68
71
  state: () => electron_1.ipcRenderer.invoke("embedded-dsh:state"),
69
72
  reload: () => electron_1.ipcRenderer.invoke("embedded-dsh:reload"),
70
73
  // Recovery after a renderer crash: the main process force-re-creates the view.