Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/run-plan-init-script-relaunch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/run-plan-open-verifies-page.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @sightmap/next

## 0.0.2

### Patch Changes

- 4e3738e: `sightmap-next run-plan --init-script` now works when an agent-browser daemon is already running. agent-browser only registers `--init-script` when it launches the browser and silently ignores the flag on a running daemon, so a plan run that followed any other `open` never saw the Sightkick runtime and timed out. The first `open` with an init script (or a switch to a different one) now closes the running daemon so the relaunch picks the script up; later opens in the same run reuse it.
- a1fceb9: `sightmap-next run-plan` no longer trusts an `open` that agent-browser accepted while its browser was still tearing down from a previous close. That race leaves the next command on an auto-launched blank tab, and the plan then times out waiting for a runtime that was never going to load. `open` now confirms a real page is there (any page counts, so redirects are fine) and re-opens when it finds `about:blank`. When the wait for the runtime does time out, the error now reports the page's URL, ready state, whether the boot script and runtime tag are present, and the page's own errors, so a CI failure is diagnosable from its log.
18 changes: 15 additions & 3 deletions packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sightmap/next",
"version": "0.0.1",
"version": "0.0.2",
"description": "Next.js compatibility layer for Sightmap and Sightkick: seed a .sightmap/ corpus from the App Router, publish the corpus and the compiled WebMCP tool layer at /.well-known/, boot the tools on every page, and replay natural-language plans through agent-browser.",
"license": "MIT",
"type": "module",
Expand All @@ -10,7 +10,15 @@
"url": "git+https://github.com/sightmap/sightmap-next.git",
"directory": "packages/next"
},
"keywords": ["sightmap", "sightkick", "webmcp", "nextjs", "vercel", "agent-browser", "agent"],
"keywords": [
"sightmap",
"sightkick",
"webmcp",
"nextjs",
"vercel",
"agent-browser",
"agent"
],
"bin": {
"sightmap-next": "bin/sightmap-next.mjs"
},
Expand All @@ -23,7 +31,11 @@
"./build": "./src/build.mjs",
"./run-plan": "./src/run-plan.mjs"
},
"files": ["bin/", "src/", "README.md"],
"files": [
"bin/",
"src/",
"README.md"
],
"publishConfig": {
"access": "public"
},
Expand Down