Repository navigation
Tags
Tags
1.13.1: security updates to the bundled MCP server, MCP argument type… …s, and tosijs-floorplan 0.7.0. **Security.** The MCP server bundle (`dist/mcp.js`, shipped since 1.13.0-beta.4) carried `fast-uri` 3.1.8 (four advisories) and `zod` 3.25.76 (GHSA-mrhx-c7xc-m3w5). They are now `fast-uri` 3.1.9 and `zod` 4.6.7. The MCP server's only caller is the local MCP client over stdio, so neither was reachable from the network. Development-only dependencies were also updated: `electron`, `undici` and `body-parser`. **Fixed** - MCP tools now show the agent their argument types. Optional arguments (`selector`, `ref`, `text`, ...) used to arrive untyped. - The "SCHEMATIC" banner is no longer cut off on narrow viewports. **Changed** - Schematics use tosijs-floorplan 0.6.0's ref pill and pass on floorplan's `note`. Page text is neutralized by floorplan 0.7.0's `neutralizeProvenance`. The rendered output is unchanged. Full details: CHANGELOG.md.
1.13.0: the 1.13 betas, released. Other machines need a token, both t… …ransports by default, schematics by tosijs-floorplan, and browser tests from your own test runner. **Security: through 1.12.9, anything on your network could drive your browser.** The server listens on every interface and, without `--token`, answered any machine, `/eval` included. Affected: every release through 1.12.9 and 1.13.0-beta.1 to beta.4. In 1.13.0 a connection from another machine is refused unless the server was started with `--token <secret>`. Pages on this machine can still call the API; that is by design, and `--token` closes it too. **Read "Upgrading from 1.12" in CHANGELOG.md before upgrading.** Each item there changes something that used to work: - Other machines, including containers and VMs that reach haltija through a forwarded port, need `--token`. - HTTPS 8701 comes up by default. - The desktop app's internal port moved from 8701 to 8710. - Navigate and refresh now wait for the page's widget. - `press` now acts at the focused element. - `server` / `httpServer` / `httpsServer` are typed `ListeningServer`. **Since beta.5,** from the release review: - A refused connection is now logged on the server, naming the address and `--token`. - `DevChannelClient` and `haltija/test` send `HALTIJA_TOKEN`. - `haltija --token=<secret>` works, unknown launcher flags are reported, and the banner says whether auth is on. - `/drag`, `hj drag` and the `drag` step now move pointer-driven controls. - MCP setup replaces stale pre-1.13 entries. - The `test:integration` lane actually runs its tests. Review reports: `reviews/1.13.0-*.md`. Full details: CHANGELOG.md.
1.13.0-beta.5: other machines need a token, and schematics are drawn … …by tosijs-floorplan. **Without `--token`, haltija refuses connections from other machines** (GitHub #44). The server listens on every interface, so anything on your network could drive your browser, `/eval` included, unless you had thought to pass `--token`. Now a request or socket from a non-loopback address gets a 403 telling you to restart with `--token`. Same-machine use is unchanged. To use haltija from a phone, a headset or another computer, start it with `--token <secret>`. The README's Security section now says plainly what stays open by design: pages you visit on this machine, and tunnels running on this machine. **Schematics are drawn by tosijs-floorplan.** haltija now produces floorplan's record format, and haltija and tosijs share one renderer. The response shape is unchanged. Captions show content instead of tag names, long text wraps, toggles are drawn as geometry, editable regions wear a `↔` badge, and findings are short labels with the full text in the legend. **Page text can no longer pose as a binding** (GitHub #45). `⟷` / `⟵` in page text become `<->` / `<-` when the map is built. Also confirmed: the navigate/evaluate stall from GitHub #54 (fixed in beta.2) is verified against Snowfox's production app, 12/12 routes, with both workarounds removed. Full details in CHANGELOG.md.
1.13.0-beta.4 — the MCP server works from npm, dialogs can reach a pe… …rson, and a batch of fixes. **The MCP server works when installed from npm** (GitHub #46, #47). Both setup commands (`haltija --setup-mcp` for Claude Desktop, `haltija-mcp-setup` for Claude Code) failed for every npm user, because the server they pointed at was never in the package. It now ships as `dist/mcp.js` (bin `haltija-mcp`), one self-contained bundle that adds no install dependencies. It sends `HALTIJA_TOKEN` and reports haltija's real version. A new test packs the tarball and drives the server from an extracted copy. **Dialogs can be let through to a person:** `hj dialog-configure --alert show` (also `--confirm`, `--prompt`). It is opt-in; interception stays the default so an agent is never blocked. Intercepted dialogs now log one console line saying so. `hj dialog-configure` and `hj dialog-history` are now real commands, and an unknown policy value is refused instead of silently accepted. **Fixed** - `press` in `haltija/test` sends a real key sequence at the focused element (it was one `keydown` at `body`). - `hj doctor` with nothing focused judges the tab commands actually reach; `/status` reports `targetWindowId`. - `clickAt` / `dragFrom` refuse the shared default port like `click` does. - `hj test validate <file>` works (it returned HTTP 500 for every file — GitHub #55). - `wait` with `forWindow: true` ignores iframes and returns as soon as the window appears. - The desktop app says when it ignores your `DEV_CHANNEL_MODE`. Full details in CHANGELOG.md.
haltija 1.13.0-beta.3 hj doctor now reports whether the tab your commands go to is visible and painting, and it finds that tab the way a command does: the tab pinned by your project's declared origins if there is one, otherwise the focused tab. hj map reads the agent-surface contract tosijs ships, so a read-only surface is reported as read-only instead of being told to write(). haltija/test gains playwrightBridge, which runs testInBrowser probes in Firefox and WebKit through a Playwright page you launch. The bridge contract is typed and documented (docs/TEST-IN-BROWSER.md), and a bridge that wraps its eval reply is named as the problem instead of failing as "probe threw". Fixed: stopping the haltija --server launcher now stops its server too; a busy HTTPS port is freed only when that port was explicitly requested; and the docs no longer claim --headless gives Firefox/WebKit coverage (it is Chromium only). Known issue, unchanged from beta.1: with no --token, any web page can call the REST API (GitHub #44). The origin gate lands before 1.13.0.
haltija 1.13.0-beta.2 hj navigate and hj refresh now wait for the new page before replying, so the next command reaches the page you just loaded rather than the one being left (#54, reported by Snowfox, who had worked around it with a 2.5 s pause). The tab is recognised by a declared identity, carried across origins through window.name, never by guessing which new window it is; where a browser wipes that identity, the result says so and names the candidate instead of claiming it. --no-wait keeps the old immediate reply. Also: /docs no longer navigates to https:///docs, #x no longer becomes a web search in the desktop app, DevChannelClient.refresh(false) is finally a soft reload, and the test suites no longer send traffic to example.com.
haltija 1.13.0-beta.1 The shared dev channel now opens both transports by default, so https pages can connect whichever project started it. The certificate lives once per machine in ~/.haltija/certs, adopted from an existing install so trust you already granted still applies, and renewed before it expires. Only the server holding 8700 takes the well-known HTTPS port. The embed snippet falls back across transports where the browser allows it (Chromium and Firefox; Safari blocks http://localhost from https pages). testInBrowser adds jest-shaped tests whose assertions run on the host and whose probes run in a real browser, including coordinate clicks and drags for UI with no selectable element. Breaking: the transport default, and the desktop app's internal port moved from 8701 to 8710. Known issue (#44): the REST API answers any origin without a token by default. Use --token until the origin gate lands, planned before 1.13.0.
PreviousNext