{"_id":"page-harness","_rev":"16-bd2c97d226dcf4c5b6309c0734379774","name":"page-harness","dist-tags":{"latest":"0.1.14"},"versions":{"0.0.0-stage":{"name":"page-harness","version":"0.0.0-stage","_id":"page-harness@0.0.0-stage","stub":true,"maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"dist":{"shasum":"1812a6ba6d2d96a73c068e41f565ed252554f1f9","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-9DAn3eCrKfLa5wTNWzf0/3ZrySjFr8Haqb62wl3xl6Li87UDHR7kbzQl80OwPCLCH3AMsgbpEDZnuGumsgyIEg==","signatures":[{"sig":"MEYCIQCIcif+LrA5TJjC0bvK6Icp2sXNqp6AoAemKZOA6VeoeQIhANXe5ZK4CjtCxd9L4bbwsQBb89DSaX8XuqpKaozi/lVg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":334},"_npmUser":{"name":"cocofhu","email":"cocofhu@outlook.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"name":"page-harness","version":"0.1.0","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.0","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"01f4807e647f37cb371329d9685f4dd68d26f3ee","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.0.tgz","fileCount":90,"integrity":"sha512-WbA+ma5MQMdHfagqGrFo5aCfQ10e4oblIEUhQsBCCdmrIMFXDLuwyWqn8xxrmGQzposMwmBogj2LyLii9sKrrg==","signatures":[{"sig":"MEUCIDNnWqAVh7Y7uOw2OOtrxLbQtrlEEGC6FtrDb54MvWp7AiEAue09SaWTTzhZbGTz8MTz4pNEuNA4brijn+vjuAmkBzQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDdWFVPcUd5zgfacfVCfmpE7IzDbb8QjzyreMsr5Dy1AQIgI2AeqkEvy8PvprcV7L+rUmUBz8HfeRttorgQnkl0r54=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5369225},"type":"module","engines":{"node":">=20.11"},"scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"cocofhu","email":"cocofhu@outlook.com"},"_npmVersion":"10.9.8","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.0_1791536438786_0.6156966051800825","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"page-harness","version":"0.1.1","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.1","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"ea44612f11bb1d98e70625f174e9546f6cbeb74b","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.1.tgz","fileCount":90,"integrity":"sha512-B5NHR73OxvJA+20X4ThpMQy5QJ5ofebboI2BYg8EQqbTe1+ddabavkt5HbCZlhml5N6wov/7OcFQUt0ztT9tyw==","signatures":[{"sig":"MEQCIA+Dh50eq4i3F8vAD9ocYNNSxK7JGmO/Ip/gJMPYX4AVAiBFYxx6d8/tpG83bV585jgpFzGHFVf2CNKfUzAKKZTwxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBxAYn203R6WgpUEQA6w708Y35xfZPP0PkVhroM3mjD2AiEAoOMhKs3nAyFc7xRS0Lu8Q1DWU1fSkyCiBDw8OurWouY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5369225},"type":"module","engines":{"node":">=20.11"},"gitHead":"ea227dd2387b52a31c666a259a1fe5e3270a07fd","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"88ad5387-303e-4983-b9c1-6365e7f04efe"}},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.1_1791540023243_0.6998500301472586","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"page-harness","version":"0.1.2","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.2","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"9424cb7719851bfa244ecb35bfe16394f70c5ff9","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.2.tgz","fileCount":90,"integrity":"sha512-Cxo/8JkkHksdq0qO08WxotVp717zmMX+HpsyFKXJ6wfhZ2wCUWpVHnroOCpWXurTAqLoqL0wFFOqx6976dlfLw==","signatures":[{"sig":"MEUCIBNBKcpzhEN7kUy5A7E2ZNxFykKXlUPSsHTZui43rHZ1AiEAmhlnVIyuweSxxGUKfslbZUM1v+VT/sGIpQupaBM+PaQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHwZlZZn1rWafO4B+oCSBv3akZ/Ai4onH9D8iDLcTn8HAiBGDC5B05klUu+xsNIeHwf8oI436uYNrai0xQmbZr7GeA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5457286},"type":"module","engines":{"node":">=20.11"},"gitHead":"58ec748a5848b9ca561923aeae0985fdf5f9fab3","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"88ad5387-303e-4983-b9c1-6365e7f04efe"}},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.2_1791621980789_0.4769904558685818","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"page-harness","version":"0.1.3","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.3","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"f35e6cf1bf21d061716be088312953736d385759","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.3.tgz","fileCount":90,"integrity":"sha512-zhrRWV2A0zM6yw56yd6SvGSE+FJTvrpz6NO6c0J7S9x0fQWwbR7J57u/CMilgiXej8YnazBjFUmay7U16f9rlw==","signatures":[{"sig":"MEQCIFEHOmORck+8DhbJmWaCaGUN+YWrHhtuR7xg8pBjhFKKAiAf1MPBdBNiDo4mtFuiTt7VEI/xr7zdC7xOdYmQ4HHAKA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCWoRmfK6To9MgoUx9viu1beEidt+UFYEjRvMNm+vY4FwIhAO7e8u3dTDTnn1UrEdHTFaxYObA/LSlM7UC4/OeJvrx0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5630781},"type":"module","engines":{"node":">=20.11"},"gitHead":"61dc1840c9a12f8739b6c5a5b1af896699d0bbea","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"88ad5387-303e-4983-b9c1-6365e7f04efe"}},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.3_1791829210601_0.4900477943790049","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"page-harness","version":"0.1.4","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.4","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"bd8b76bc1c64b4fe79ee9b82096274df8477dc2a","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.4.tgz","fileCount":90,"integrity":"sha512-XwdpK6xg4XCebxD5bmjqiw4ZnFkqojz61OmyTmec91NhuDnFlveMwWShiuU93Zhsklsa+r+dmn59j7U+WeZmTg==","signatures":[{"sig":"MEUCIFwcrsMWcbiQCjDebgjxClbaKekylM1XWRtOOBIvY6CHAiEA6YoX9sFIc1JpA421EOkaCdH2VP8oArpbL+2RwK57b7I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEfrxrF3+csF+kia87aeTBSnMW27saNCxjAiN9czcP5wAiEAp4Sz3QYVOEmVASZu0K/2/BpssZL2TvZFDqOsxjQuLY4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5703941},"type":"module","engines":{"node":">=20.11"},"gitHead":"5a92ff2dca7a5e78cd3a82f089d99c85e5248b47","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"cocofhu","email":"cocofhu@outlook.com"},"_npmVersion":"10.9.8","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.4_1791965135132_0.4762102628746032","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"page-harness","version":"0.1.5","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.5","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"612694cb0ba4e53c00cc83cb05baf58c3224d579","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.5.tgz","fileCount":101,"integrity":"sha512-id42boiopkBnlkwSPib5cVTbchHizHdquS0weX6T9c3fXW3HmlN/3A1ZM/XqGhFx9dzNzU2UhORCfPySHbZoCQ==","signatures":[{"sig":"MEYCIQCu0ZPsvwGej7E4+cXogAQMlnuJwoi7qD5VIEDkuFDl2AIhANRRyIGy8g/YZGNL1SAx69UUbP0CXAcrIwCpwQQMq9MU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD3mtxCvW+9+7P0Mt6gj5jfAG4prhI4LX+ehd8vee3eTQIgVEWXTqN8IlyX3vE1o2KKpzAjMPat05GtHZCGUayPGrQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10813437},"type":"module","engines":{"node":">=20.11"},"gitHead":"c7e7e6d9f307a62937cbcfbfc38c0ec0ef01ac72","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"cocofhu","email":"cocofhu@outlook.com"},"_npmVersion":"10.9.8","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.5_1791965476336_0.7340032845739846","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"page-harness","version":"0.1.6","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.6","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"d87cd303e3915fcc0a6c5d606671fccc24fcd178","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.6.tgz","fileCount":101,"integrity":"sha512-TEeJdFAId6k1l1PSoc934a0nAK+AgtoR8R8LOkzxkCssQKXra7GSEprwlrQqkvK7QIkisNjUdbCCeZQW7yDyLA==","signatures":[{"sig":"MEUCIDMeB+kEJPQXHc84U9pd6nAl9wPKEZ/Gn2X1l6+ndSPyAiEA5ooGa2aExKefBN1euyjuUNoiMttOdGtk1stltqXAnBc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDVj8rlVKcKqilWqNL9eVNvw0LXxLy2bfG6b9prQeos/gIgTQ5997JyEWYs3ri6RHSJ3e8XAtTzGU6HHgAuoGlS7Bg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10813569},"type":"module","engines":{"node":">=20.11"},"gitHead":"4ca03f6103364d50fa79840b62f095ff95c8efce","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"cocofhu","email":"cocofhu@outlook.com"},"_npmVersion":"10.9.8","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.6_1791965792027_0.26012277670860295","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"page-harness","version":"0.1.7","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.7","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://github.com/Tencent/page-harness#readme","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"7fef7d693a9b642dd32c0ac9a31643a1d8591ee6","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.7.tgz","fileCount":101,"integrity":"sha512-snToKGNkDOTFEd2gtHrYr+BTvhlUVAoSWFkzc/o0CKPIJ+O1T+RQJliKihvvqV/btk0Ft0fflqm5ZobRIf/NZg==","signatures":[{"sig":"MEUCIQCFxwki4JXAFzUwbIAIEKtvE/zCdAYsXCBbZkMEpDdXqQIgcMccbLTuBPlANBr1GZDj4XwLMdLb4SMbphqkoXYpOfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHq0VRpz/9OxedxIgjF40hFUQWSLE2//5WUixBCS4dltAiBxRxT41TePr3a7O825W7b00NcfdM5Hx8dLNJRyNWBrpg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10813672},"type":"module","engines":{"node":">=20.11"},"gitHead":"101c351a311ba929c6487124e007245ff76115a5","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.7_1791966516555_0.7855954850867397","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"page-harness","version":"0.1.8","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.8","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://github.com/Tencent/page-harness#readme","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"07c2adacd6d246cdf92f00ceca1895d02f827e7c","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.8.tgz","fileCount":103,"integrity":"sha512-qmVyCn73uvIvPMMljRL5wLD+5H++05x29m4r56inE7NqkkNpWOnTEwITRHjc/xI8H+4maJQ8PujNtyjOC7yRRA==","signatures":[{"sig":"MEQCIAYg/ggyuez6NrHrz9G27+RYwy1QwFTmWu/9PbvKPsApAiB0xSZXv4nqmp3UPNUUu9pai0WFY3/VPCYOqOSORMQuAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICpZst6tVk4TJDe5qroRJwvFJuAynEc6AGxDbaTejFrlAiEA1Mrori8mrDCD98sUQhkToQnweakOvVFSTxBx2M63z4I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27426904},"type":"module","engines":{"node":">=20.11"},"gitHead":"aa32154db978897507e3ae783e9a2ae267d5f0c0","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"readmeFilename":"README.zh-CN.md","devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.8_1791967013775_0.32295860271459875","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"page-harness","version":"0.1.9","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.9","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://github.com/Tencent/page-harness#readme","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"32f7176fe08371e292321edc7d603b9b3b22dedc","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.9.tgz","fileCount":101,"integrity":"sha512-h6cYmDo5zjJrKykEAOm7dGF0xqFlxAsE6teLwJs+WhJeIiTawVB+QwzJy1M8gdKBuzYiKUrZ2DbbwRuazrh08g==","signatures":[{"sig":"MEQCICCCrH500o30GS1fsKIQnBVE9+eEHPr5tTC5tKRO9YG8AiADJoNA8F2yTxcaCsQPgZhL83f84RB89/Z1pAmkJi16/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDW2Zx6kzO/zLjzHPJXRReiT54zbpV1tX/1sSMqju+8lwIgRIjvV8aI7PDOzbFeG7WYEVpUioMcdXl7m3bTkzpGc6U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10813530},"type":"module","engines":{"node":">=20.11"},"gitHead":"9514ce8d2e0f56854f8a051dc4d455a158f96359","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"readmeFilename":"README.zh-CN.md","devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.9_1791967211076_0.7693636548129645","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"page-harness","version":"0.1.10","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.10","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://github.com/Tencent/page-harness#readme","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"1ad22c5d9d1049294af54e9a743b197b10864e6e","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.10.tgz","fileCount":101,"integrity":"sha512-ht3wIDfpSj2UNJkVEZoW6BnkzuSfbiF45Lcr6lqhAgJfRTfVENv8q8gI30j8zuDHH0ZOJ9RDoOOPlMAlCx4reA==","signatures":[{"sig":"MEUCIQDZudtA2Wp7A234heaX8Bopfh4PLDSZok0OR+GALfq+3QIgaoixbFKBDBKyqys6+3E+mmebd3k2IgR+vFsUP4Z6lAE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDkLoOVuMNL2dlrqP5M/kBTQtWrxn+UyMjJeXWCC/V78AIhAKh7nNgAQnJTPDPDIK9Uu0/yGgavRog7i8vYuq4fozyR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10813822},"type":"module","engines":{"node":">=20.11"},"gitHead":"c453e191dfe7670f8d08155bc9e2c2601bf4c5b4","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.0","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.10_1791967327220_0.8524766205236916","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"page-harness","version":"0.1.11","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.11","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://cocofhu.github.io/page-harness-site/","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"4a303bf924146d111e24e490c749c51d0d179e94","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.11.tgz","fileCount":102,"integrity":"sha512-LhVL7Sup8/7S0IETxhYyDT/nGGcTEH2MjsQLZf9/b8iKMdLYRa88Fb+GMdRgao8b2TL+rgNm+hM4vqr9PVx/Bg==","signatures":[{"sig":"MEQCID3U0BIcsazOHgtCaTac20z2ReEluj2mjJkgxGIGF7XVAiBaGwaeQcjIOEUbW/ZBUlRWQ9GPzertQSTbRiV8MZiONw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDMoePYXz3JZc8OX43jlXlMLDw1dvkvJA1wvua8e7NwIgIhALnT4tvbX456kgXf7vnmR7CLKelHp0DCuJ6Rm/+NYTP2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/page-harness@0.1.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10969530},"type":"module","engines":{"node":">=20.11"},"gitHead":"ceafda5fa5929c617672785690c17121cc7b51aa","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.1","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.22.1","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.11_1793195605567_0.3536143948521713","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"page-harness","version":"0.1.12","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.12","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://cocofhu.github.io/page-harness-site/","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"27fbdb5d4654560163cefff352b13e7ab4932a50","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.12.tgz","fileCount":104,"integrity":"sha512-3AhW+Ka+Nj67oqFnpZVnGhjLziufEhP/3DX1L6JxyoqWFWJ1hcn6agIgSvz+8DqMNQ6HqkFVKSe2d2CZe7fztQ==","signatures":[{"sig":"MEQCIArM4EJWHRaoAiuFGWPwTIxSoOc6AWHI2MktOeRrTkFZAiAevKHVeApfWSSda+UjaOhMbXaBqRrQJbIo1jNcMuFo9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFJ9KER2pDOXBiK6dR/ma/A04mr71WnM8bM2f7T0ctYqAiBeXBQcvUwDicpDEJf/i/2+yxLaNgss+0P4QY9D4jdm3Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/page-harness@0.1.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10986294},"type":"module","engines":{"node":">=20.11"},"gitHead":"47036e7a7556a1ad8a2d31d2920f206d4c7b83e8","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.1","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.22.1","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.12_1793207702395_0.6521867018169308","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"page-harness","version":"0.1.13","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"license":"MIT","_id":"page-harness@0.1.13","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"homepage":"https://cocofhu.github.io/page-harness-site/","bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"bin":{"page-harness":"dist/cli.js"},"dist":{"shasum":"757e64462b1490a34e67bbf949789d90c284b214","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.13.tgz","fileCount":104,"integrity":"sha512-ZsDBQqHVvB0xHI2chPGgSSbqyzAfNpGVxYfN8SXNBFB46E9+lTLFGdKz93g3chPEcWHFn9RHXVr1uIewy2c+VA==","signatures":[{"sig":"MEYCIQCcd/2uCvKpepfQk2lUiqmW9Q8mNFtv4j7vWuq+4Eht2AIhAORFU0TN0mC4bFKkeA48HJAibOPdL0QFOQ6wJ31Zu8dz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDKnCfWrqc8dt4DP8jyiyy20MXH9k2qoTuugP+nrojjnAiABZwcgJuvUmTNIXcgUrPnO9L7Wvb8x+vFVOkcvjJZHpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/page-harness@0.1.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10986294},"type":"module","engines":{"node":">=20.11"},"gitHead":"83a6aaeddf6dc6dcacc36b7b976a4d678d3da54b","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.1","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"_nodeVersion":"24.22.1","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/page-harness_0.1.13_1793214111123_0.07182962974491558","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"_id":"page-harness@0.1.14","bin":{"page-harness":"dist/cli.js"},"bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"dist":{"shasum":"d789249d3bd27b6c8f1cd0867d4f9dac8054c194","tarball":"https://registry.npmjs.org/page-harness/-/page-harness-0.1.14.tgz","fileCount":104,"integrity":"sha512-4Hjly7IP71Szr0eBniDihhBuncdpqtys83pAxNOqmuJf+NHf/rLhRLSCf6sfh+Wc/UEGC4o3dElgta586X8T9g==","signatures":[{"sig":"MEUCIQC/dgefQgN1YnzCwIV6kKTkJV67FLXVksWVgtJZN7N+xQIgcsQj/PKi5yskqOlsqfmEA4AP0sfPUk1f19k72HyFa2g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGE+L6v8F/eCOeVA45OFyZDX0u+/FFZX1AowratcX6EKAiA+Q+gN2j7e61d0i3GSdF8qmncvliS3IQR1z8hhkdcVAA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/page-harness@0.1.14","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10996779},"name":"page-harness","type":"module","engines":{"node":">=20.11"},"gitHead":"d80e06ae821d935bb4bf8f657034be7e970e19c7","license":"MIT","scripts":{"dev":"node scripts/dev.mjs","lint":"eslint .","test":"vitest run","build":"npm run build:client && npm run build:server","start":"node dist/cli.js","licenses":"node scripts/third-party-licenses.mjs","test:e2e":"playwright test","typecheck":"tsc -p tsconfig.json --noEmit && vue-tsc -p client/tsconfig.json --noEmit","test:watch":"vitest","build:client":"node scripts/build-client.mjs","build:server":"tsup","prepublishOnly":"npm run build && npm run licenses"},"version":"0.1.14","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2f1ca63d-4d91-448a-9b7c-465f8540888b"}},"homepage":"https://cocofhu.github.io/page-harness-site/","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"_npmVersion":"12.2.2","description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","directories":{},"maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"_nodeVersion":"24.22.2","dependencies":{"ws":"^8.22.0","zod":"^4.6.5","@modelcontextprotocol/sdk":"^1.32.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.43","tsup":"^8.5.1","vite":"^8.3.2","jspdf":"^4.2.1","shiki":"^4.5.0","eslint":"^10.12.0","marked":"^18.0.14","vitest":"^5.0.3","vue-tsc":"^3.3.12","@types/ws":"^8.18.2","dompurify":"^3.4.16","happy-dom":"^20.14.5","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.4","html2canvas":"^1.4.1","@playwright/test":"^1.63.0","eslint-plugin-vue":"^10.11.1","typescript-eslint":"^8.71.0","vue-eslint-parser":"^10.4.1","@vitejs/plugin-vue":"^6.0.9","@fontsource-variable/inter":"^5.3.0","@page-agent/page-controller":"^1.12.4","@fontsource-variable/jetbrains-mono":"^5.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/page-harness_0.1.14_1793953379990_0.1647418462409772"}}},"time":{"created":"2026-10-09T08:59:21.932Z","modified":"2026-11-06T08:23:00.549Z","0.0.0-stage":"2026-10-09T08:59:21.932Z","0.1.0":"2026-10-09T09:00:38.892Z","0.1.1":"2026-10-09T10:00:23.384Z","0.1.2":"2026-10-10T08:46:20.898Z","0.1.3":"2026-10-12T18:20:10.776Z","0.1.4":"2026-10-14T08:05:35.308Z","0.1.5":"2026-10-14T08:11:16.557Z","0.1.6":"2026-10-14T08:16:32.225Z","0.1.7":"2026-10-14T08:28:36.734Z","0.1.8":"2026-10-14T08:36:54.146Z","0.1.9":"2026-10-14T08:40:11.271Z","0.1.10":"2026-10-14T08:42:07.429Z","0.1.11":"2026-10-28T13:53:25.789Z","0.1.12":"2026-10-28T17:15:02.594Z","0.1.13":"2026-10-28T19:01:51.548Z","0.1.14":"2026-11-06T08:23:00.211Z"},"bugs":{"url":"https://github.com/Tencent/page-harness/issues"},"license":"MIT","homepage":"https://cocofhu.github.io/page-harness-site/","keywords":["agent","claude-code","codex","cursor","mcp","devtools","frontend","live-preview"],"repository":{"url":"git+https://github.com/Tencent/page-harness.git","type":"git"},"description":"Point it at any frontend URL and get Pick / Artifacts / Chat on the page, driven by the coding agent CLI on your machine.","maintainers":[{"name":"cocofhu","email":"cocofhu@outlook.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://cdn.jsdelivr.net/npm/page-harness@0.1.10/docs/logo.svg\" width=\"72\" alt=\"page-harness logo\">\n</p>\n\n<h1 align=\"center\">page-harness</h1>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/page-harness\"><img alt=\"npm page-harness\" src=\"https://img.shields.io/npm/v/page-harness?label=npm&labelColor=16161A&color=7C5CFF&style=flat-square\"></a>\n  <a href=\"./LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/badge/license-MIT-7C5CFF?labelColor=16161A&color=7C5CFF&style=flat-square\"></a>\n  <img alt=\"Node\" src=\"https://img.shields.io/badge/node-%E2%89%A520.11-7C5CFF?labelColor=16161A&color=7C5CFF&style=flat-square\">\n</p>\n\n<p align=\"center\">\n  <a href=\"./README.md\">English</a> · <b>简体中文</b>\n</p>\n\n<p align=\"center\">\n  <a href=\"#概览\">概览</a> ·\n  <a href=\"#快速开始\">快速开始</a> ·\n  <a href=\"#上手看看\">上手看看</a> ·\n  <a href=\"#功能\">功能</a> ·\n  <a href=\"#用法\">用法</a> ·\n  <a href=\"#文档\">文档</a> ·\n  <a href=\"#开发\">开发</a>\n</p>\n\nhttps://github.com/user-attachments/assets/7fe5d123-58e2-4aa2-a5e3-f7fe9eae51b7\n\n## 概览\n\n**把正在跑的网页，直接变成编码 Agent 的工作台。**\n\n一行命令启动，不用改项目配置，也不用额外注册账号或填 API Key。直接在页面上点选要改的元素就能跟 Agent 对话（取点、聊天、Live 多套候选方案、看产物），或者原地在线修改文字与样式实时预览；加个 `--share` 还能生成分享链接，拉上产品、设计与测试同事在同一个页面上实时批注和审批。背后直接驱动你电脑上已经装好的 Agent CLI（Claude Code、Codex、Cursor Agent、CodeBuddy Code、OpenCode），也可以装进 [DeepSeek Harness](./dsh-plugin/README.md) 在对话右栏直接预览。只想收集意见的话，`--no-agent` 只留取点和意见；不给地址直接跑，会打开一个书签主页，把 **✦ Page-Harness** 拖到书签栏，任何网页都能标。\n\n在终端里描述界面挺折磨人的：“左边卡片里第二个按钮，颜色再柔和一点”。我就想直接在页面上点一下，跟 Agent 说改成什么样。它改代码，dev server 刷新，结果就在同一个页面上看。page-harness 干的就是这件事。\n\n## 快速开始\n\n对着你的 dev server 敲一行：\n\n```bash\nnpx page-harness http://localhost:5173 --project ./my-app\nnpx page-harness http://localhost:5173 --share      # 团队评审：生成分享链接让同事一起看\nnpx page-harness --no-agent http://localhost:5173   # 只评审：取点 + 在线编辑 + 意见，不启动 Agent CLI\nnpx page-harness                                    # 不给地址：打开书签主页\n```\n\n然后打开 <b>http://127.0.0.1:17990</b>。页面还是你的应用，只是右下角多了个底栏。\n\n- 需要 **Node.js 20.11+**，`PATH` 里至少有一个登录好的 Agent CLI（见下文）。\n- 地址可以只写端口（`3000`）、`host:port` 或完整 URL。Vite、webpack、Next.js 这些的热更新照常能用，WebSocket 也代理过去了。\n- 不要沙箱，不要注册账号，也不碰你的项目代码。数据都放在 `<project>/.page-harness/` 里。\n\n### 其他跑法\n\n| 方式 | 什么时候用 |\n|---|---|\n| `npx page-harness <地址>` | 上面这种标准用法：应用走代理，取点、对话、Live 候选、产物都由 Agent CLI 驱动 |\n| `--share` | 同一网络的同事拿链接进来当评审，实时留意见、在线改样式、按页审批（[详细](#团队评审--share)） |\n| `--no-agent <地址>` | 只收意见与在线改样式：取点 + 意见，不需要 Agent CLI（[详细](#仅评审--no-agent)） |\n| 不给地址 | 打开带 **✦ Page-Harness** 书签的主页，不走代理也能在任意网站上留意见（[详细](#书签不给地址)） |\n| `dsh plugin --profile web add page-harness-dsh` | 在 DeepSeek Harness 对话右侧直接预览页面、取点引用回填输入框、一键分享给同事（[详细](./dsh-plugin/README.md)） |\n\n## 上手看看\n\n### DeepSeek Harness 右栏预览\n\n**边聊边看。** 装上 [`page-harness-dsh`](./dsh-plugin/README.md) 后，页面直接嵌在 DeepSeek Harness 对话右侧：点元素一键引用到输入框，在页面上留批注后说一句「按意见改」，还能一键分享给同事评审。\n\n<p align=\"center\"><img src=\"./docs/dsh-preview-light.png\" width=\"720\" alt=\"DeepSeek Harness 对话右侧预览页面\"></p>\n\n### 仅评审与在线编辑\n\n**取点、在线改样式、留意见。** 加 `--no-agent` 就不启动 Agent CLI。点元素留评论或者原地修改文字、颜色、字号、圆角实时预览，回复、解决、按页面审批都行。[详细 →](#仅评审--no-agent)\n\n<p align=\"center\"><img src=\"https://cdn.jsdelivr.net/npm/page-harness@0.1.10/docs/review-only-zh.png\" width=\"720\" alt=\"仅评审模式下的页面意见面板\"></p>\n\n### 书签主页\n\n**就一个按钮，拖走就行。** 不给地址直接跑 `npx page-harness`，主页上只有一个 **✦ Page-Harness** 按钮，拖到书签栏。[详细 →](#书签不给地址)\n\n<p align=\"center\"><img src=\"https://cdn.jsdelivr.net/npm/page-harness@0.1.10/docs/home-zh.png\" width=\"520\" alt=\"主页上的 ✦ Page-Harness 按钮\"></p>\n\n### 任意网站留意见\n\n**打开哪个网页都能点。** 底栏直接注入到当前页面（放在 Shadow DOM 里，不走代理），意见存到本机服务，按网站分好。\n\n<p align=\"center\"><img src=\"https://cdn.jsdelivr.net/npm/page-harness@0.1.10/docs/bookmarklet-zh.png\" width=\"720\" alt=\"书签注入到普通页面上的底栏\"></p>\n\n### 我的标记\n\n**所有网站的意见都在这。** 左边网站，右边这个网站的意见，可以导出 Markdown、导出 JSON，或者复制 Prompt 丢给 Agent。\n\n<p align=\"center\"><img src=\"https://cdn.jsdelivr.net/npm/page-harness@0.1.10/docs/home-notes-zh.png\" width=\"720\" alt=\"我的标记页\"></p>\n\n## 原理\n\n```text\n正在运行的网页 ──► 页面悬浮底栏（取点 / 在线编辑 / 团队意见 / 对话 / 产物）\n                        │\n                        ▼\n               连接本机 Agent CLI（Claude Code / Codex / Cursor / CodeBuddy / OpenCode）\n                        │\n                        ▼\n               修改源码或生成多套候选方案 ──► 页面实时热更新预览 & 团队评审闭环\n```\n\n- 底栏在 Shadow DOM 里，和你的样式互不影响。\n- 每个会话记住 Agent 的 session id，后续消息续接同一个 Agent 会话；一轮还在跑时发的消息进入该会话的队列。\n- Agent 会收到一段简短的系统提示，说明页面上下文、MCP 工具和 Live 协议。除了 `.page-harness/`（自带 `.gitignore`）和 Live 期间的临时候选标记外，不会往你的项目里写东西。\n\n### MCP 工具\n\n| 工具 | 用途 |\n| --- | --- |\n| `page_state`、`page_click`、`page_input`、`page_select`、`page_scroll` | 读取与操作页面（仅在用户允许页面控制时可用） |\n| `write_artifact`、`read_artifact`、`list_artifacts`、`set_artifact_preview` | 带版本的产物，存放在 `.page-harness/artifacts` |\n| `ask_question`、`ask_form` | 向用户提问并等待回答（最长 30 分钟） |\n| `live_update` | 上报 Live 候选的 ready / done / failed |\n| `live_patch_variants` | 仅评审模式：以一组页面修改的形式给出 Live 候选 |\n| `page_note`、`list_review`、`reply_review`、`resolve_review`、`remove_review` | 在页面上钉意见，读取大家的反馈，回复并标记解决 |\n| `page_patch` | 仅评审模式：对元素做临时的文字、CSS 或图片修改 |\n\n### Live 候选\n\n收到 Live 请求时，Agent 在源码里把目标元素包成这样：\n\n```html\n<div data-ph-live=\"L1a2b3c4\" style=\"display:contents\">\n  <h1 data-ph-variant=\"0\" hidden>原版</h1>\n  <h1 data-ph-variant=\"1\" data-ph-variant-label=\"Bold\">…</h1>\n  <h1 data-ph-variant=\"2\" data-ph-variant-label=\"Soft\" hidden\n      data-ph-params='[{\"name\":\"gap\",\"type\":\"range\",\"min\":0,\"max\":40,\"unit\":\"px\"}]'>…</h1>\n</div>\n```\n\n开发服务器热更新后，底栏找到这个包裹层并接管各候选的显示与隐藏（参数以 `--ph-<name>` CSS 变量写在包裹层上）。采用时让 Agent 只保留选中的候选并去掉包裹层；放弃则还原原版。每次 Live 或改了文件的回合结束后，会用 `git grep` 扫描工作区，发现遗留标记就提醒；`--live-guard-hook` 还会拦住含标记的提交。\n\n### 评审模式（没有源码）\n\n目标是公网站点（不是 localhost、内网 IP 或局域网主机名）时，手里没有源码可改，page-harness 会以评审模式启动；也可以用 `--review` / `--source` 强制指定。\n\n- Agent 会被告知不要改文件、不要做原型。`write_artifact` 只接受报告类文件（`.md`、`.txt`、`.json`、`.csv`、图片），HTML/SVG 原型会被拒绝。\n- 结论直接落在页面上：`page_note` 在元素上钉一条带编号的意见（问题 / 建议 / 说明）；`page_patch` 修改元素的文字、CSS 或图片（`src` / `alt`），原地看到效果。不支持改 HTML 结构。\n- 两个工具都会先拿选择器到你打开的页面上核对（不需要页面控制权限），选择器写错会直接反馈给 Agent，而不是钉了个空。\n- 人也可以直接动手：用「取点」选中元素，点「评论」留言，或点「编辑」实时预览地修改文字、颜色、背景、字号、字重、内边距、圆角或图片，保存为一条修改。\n- **Live** 在这里也能用，候选是页面修改：Agent 用 `live_patch_variants` 给出 2–4 个候选，每个候选是最多 12 个元素上的文字 / CSS / 图片修改。在页面上切换、看原版、细化；采用后选中的候选存为「意见」里的修改条目，放弃则还原页面。没有并排对比、参数调节和插入，这些需要源码。\n\n### 意见、讨论与审批\n\n意见在两种模式下都能用；手动编辑和 `page_patch` 只在没有源码时可用。\n\n- 意见属于创建它的页面（路径，忽略 hash、末尾斜杠和统计参数），也属于**网站**（`host`：主机名，非默认端口一并算上）。代理模式存的是目标网站的 host；书签模式存的是 `location.host`。覆盖层只钉当前网站的意见。「本页」只看当前页面；「全部」按该网站的页面分组，点其他页面的条目会跳过去并打开它。底栏角标只计当前页面未解决的意见，其他页面有意见时显示小圆点。\n- 每个图钉打开一个讨论串：作者、回复、解决 / 重新打开、修改与原版对比、引用到对话（所有者）、删除（作者或所有者）。\n- 「通过」/「需修改」按页面、按人记录审批结论。\n- 页面重新渲染或改版导致选择器失效时，用指纹（标签、id、稳定的 class、关键属性、文字及上下文）重新定位。没有足够匹配的元素时显示「页面上找不到了」，而不是钉到错误的元素上。刷新和重新渲染后修改会自动重新套上，不会向站点发送任何东西。\n- Agent 用 `list_review` 看到大家的意见，用 `reply_review` 回复，用 `resolve_review` 附上说明后关闭；它只能删除自己的条目。\n- 「导出」把 `page-review.md`（意见、文字前后对比、CSS、回复、审批）写入产物。\n\n### 团队评审（`--share`）\n\n```bash\nnpx page-harness https://example.com --share\n#   Share  http://192.168.1.20:17991/__ph/join?t=…\n```\n\n把 Share 链接（设置 → 团队里也有）发给同一网络的同事。打开后这个浏览器获得评审者身份，填一次显示名，就能实时看到页面上所有人的意见和修改。评审者可以评论、编辑（评审模式）、回复、解决、审批；不能使用或看到 Agent、对话、聊天记录、上传和页面控制。没有链接的其他机器一律 `403`。\n\n同事需要能访问两个端口：应用端口和控制端口。在云主机上，放行这两个端口，并加 `--public-host <公网 IP 或域名>`，邀请链接就会指向它。想在 DeepSeek Harness 里一键启动分享预览，见 [`dsh-plugin/`](./dsh-plugin/README.md)。\n\n## 功能\n\n| 模块 | 亮点 |\n|---|---|\n| **取点（Pick）** | 点页面上任意元素，可以**引用到对话**（选择器、文字、HTML 一起带过去，Shift+点击直接引用）、**留意见**、**直接改**（没源码的站），或者开 **Live 候选**。 |\n| **Live 候选** | 说一句想怎么改，Agent 直接在源码里写 2–4 个方案。页面上来回切、并排对比、调参数、挑一个继续打磨，满意就采纳，不满意就丢掉。 |\n| **对话** | 窗口能拖能缩放。流式 Markdown、可折叠的思考过程、工具卡片、改动文件列表、图片/文件附件、每个对话自己的消息队列（能排序、改、撤回）、停止/重试，多个对话各自选 Agent 和模型。 |\n| **产物（Artifacts）** | Agent 通过 MCP 写报告、原型、JSON、图片，分标签预览，带版本历史，能导出 PNG/PDF。 |\n| **页面控制**（默认关） | 允许 Agent 读页面、点击、输入、选择、滚动。开着的时候有横幅提示，随时能收回。 |\n| **意见与评审** | 在元素上钉评论、楼中楼回复、解决、按页面审批。没有源码的站也能用（评审模式）。 |\n| **团队评审** | 加 `--share`，同一网络的同事拿链接就能进来当评审。 |\n| **提问** | Agent 可以给你出选择题或者小表单，等你回答再继续。 |\n| **历史** | 每个对话都是磁盘上只追加的事件日志，能浏览、搜索、导出。 |\n\n### 支持哪些 Agent\n\n用你本来就在用的 CLI，装了哪些会自动检测：\n\n| Agent | 命令 | 安装 |\n|---|---|---|\n| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | `claude` | 见官方文档 |\n| [Codex](https://github.com/openai/codex) | `codex` | 见官方文档 |\n| [Cursor Agent](https://docs.cursor.com/en/cli/overview) | `cursor-agent` | 见官方文档 |\n| [CodeBuddy Code](https://www.codebuddy.ai/cli) | `codebuddy` | `npm i -g @tencent-ai/codebuddy-code` |\n| [OpenCode](https://opencode.ai) | `opencode` | `npm i -g opencode-ai` |\n\n用 `--agent claude|codex|cursor|codebuddy|opencode` 指定（默认用第一个装了的）。装在别的位置就用 `--claude-path`、`--codex-path`、`--cursor-path`、`--codebuddy-path`、`--opencode-path`。\n\n| | Claude Code | Codex | Cursor Agent | CodeBuddy Code | OpenCode |\n|---|---|---|---|---|---|\n| 流式文字 / 思考过程 | ✓ | ✓ | ✓ | ✓ | 按段¹ |\n| 工具卡片、改动文件 | ✓ | ✓ | ✓ | ✓ | ✓¹ |\n| 续接对话 | ✓ | ✓ | ✓ | ✓ | ✓ |\n| 模型列表 | ✓ | ✓ | ✓ | ✓（取自 `--help`） | ✓（`opencode models`） |\n| 推理强度 | – | ✓ | – | ✓（`--effort`） | ✓（`--variant`） |\n| 图片附件 | ✓ | ✓ | 只传文件路径 | ✓ | ✓（`--file`） |\n\n¹ `opencode run --format json` 只在每段文字、思考和工具调用结束后才输出，所以回复是一段一段出来的，工具卡片也是一次性出现并完成。\n\n## 用法\n\n```text\npage-harness [前端地址] [选项]\n\n  --project <dir>        Agent 工作的项目目录（默认当前目录）\n  --agent <id>           claude | codex | cursor | codebuddy | opencode（默认第一个已安装的）\n  --model <name>         新会话的默认模型\n  --port <n>             应用端口：代理后的前端（默认 17990）\n  --control-port <n>     面板 / API 端口（默认应用端口 + 1；不给地址时默认 17991）\n  --host <addr>          监听地址（默认 127.0.0.1）\n  --allow-host <name>    额外允许的 Host 头（可重复），比如局域网域名\n  --keep-host            把浏览器的 Host 头原样转发给目标\n  --public-scheme <s>    http | https：浏览器访问两个端口用的协议（默认 http）；\n                         放在同端口卸载 TLS 的负载均衡后面时用 https\n  --open                 自动打开浏览器\n  --live-guard-hook      安装 git pre-commit 钩子，拒绝提交 Live 候选标记\n  --review / --source    强制评审模式（无源码）或源码模式；默认按域名判断\n  --no-agent             仅评审。不检测、不启动 Agent CLI。底栏只有取点和意见。\n                         不给前端地址时默认就是这个模式。\n  --lang <zh|en>         主页和底栏的语言。不写时，每个浏览器沿用自己的选择。\n  --share                允许同一网络的同事以评审者身份加入（监听 0.0.0.0）\n  --public-host <name>   同事访问用的主机名或 IP，写进邀请链接并加入 Host 白名单\n  --json                 监听成功后往 stdout 打一行包含各地址的 JSON\n  --embed-origin <origin>  允许这个源用 iframe 嵌入页面和面板，取点引用会 postMessage 给它（可重复）\n  --verbose / --quiet\n```\n\n`<前端地址>` 可以是端口（`3000`）、`host:port` 或完整 URL。不写地址就只打开书签主页。开发服务器的热更新（Vite、webpack、Next.js 等）通过代理照常工作，包括 WebSocket。\n\n### 仅评审（`--no-agent`）\n\n```bash\nnpx page-harness --no-agent http://localhost:5173\n```\n\n不会检测或启动任何 Agent CLI，MCP 也会被拒绝。底栏只有**取点**和**意见**：评论、编辑、回复、解决、审批。没有对话、产物、Live、页面控制和提问。意见仍写在项目的 `review.json` 里，按**目标网站**的 host 存放（不是代理自己的 `127.0.0.1:17990`）。\n\n### 书签（不给地址）\n\n```bash\nnpx page-harness\n# 主页  http://127.0.0.1:17991\n```\n\n这时只启动控制端口，并且一定是仅评审。主页就一个按钮 **✦ Page-Harness**：拖到书签栏，打开任意网站点一下就行。点了没反应的话，主页上的「遇到问题？」列了几种常见原因。书签只在这次启动期间有效，重启后得再拖一次。覆盖层直接注入到那个页面（不经过反向代理），放在 Shadow DOM 里，宿主页面的 CSS 改不到底栏。脚本始终从本机加载：`http://127.0.0.1:<控制端口>/__ph/overlay.js`。\n\n`--lang zh` 或 `--lang en` 同时决定主页和底栏的语言（导出的 Markdown 和复制的 Prompt 也跟着走）。不写时，每个浏览器沿用已保存的选择，否则用浏览器语言。\n\n意见写回这台本机服务，按网站分组（`location.host`，非默认端口也算进去）。点右上角「我的标记 (n)」进到标记页：左边是网站列表，右边是该网站的意见，可以导出 Markdown、导出 JSON，以及复制 Prompt。复制出来的说明指向这个控制端口，并带上 `host=`，Agent 只会拉取这个网站：\n\n```text\nGET http://127.0.0.1:17991/__ph/api/review?scope=all&path=%2F&page=1&pageSize=20&host=shop.example.com\n```\n\n分页接口同样接受 `host`。不传时仍返回所有网站，和以前一样。\n\n**限制。** https 页面通常会拦截从 `http://127.0.0.1` 加载的脚本（混合内容），保存意见时仍然要请求这个 http 控制端口。Chrome 一般允许访问 `127.0.0.1`，并可能弹出本地网络权限；书签相关的响应会带 `Access-Control-Allow-Private-Network`。Firefox 和 Safari 多半会把这次请求当成混合内容拦掉。宿主页面的 CSP 如果禁止连接 `127.0.0.1`，保存也会失败。书签连不上控制端口时，改用 `page-harness <网址> --no-agent`，通过代理做评审。书签里带有本次运行的令牌（请求头 `X-PH-Token`），收藏夹和你点过书签的页面能看到它；没有令牌的其他网站不能读写意见。不带鉴权的分页接口（`GET /__ph/api/review`）不返回 CORS 头，随便一个网页不能靠它把意见读走。\n\n## 安全模型\n\n用户使用上不需要登录：这是本地开发工具，默认只监听 `127.0.0.1`。内部各个入口都有鉴权：\n\n- **两个源。** 你的应用（以及其中任何脚本）在应用端口；面板、API、Agent 接口在控制端口，页面脚本读不到。\n- **所有者与评审者。** 不加 `--share` 时只有本机能连，一切按单用户处理。加了 `--share` 后，所有者会话只发给本机回环请求；其他机器必须通过邀请链接拿到带 HMAC 签名的评审者 Cookie（面板和应用端口各一个），没有就两个端口都返回 `403`。评审者在 WebSocket 上只能做评审操作，API 只能读产物，其余一律 `403`。所有者名字在设置 → 团队里修改。\n- **会话 Cookie。** 面板拿到 `HttpOnly`、`SameSite=Strict`、作用于 `/__ph` 的 Cookie；转发到你的开发服务器前会去掉它。\n- **API。** 读请求要求同源的 `Sec-Fetch-Site`；写请求要求匹配的 `Origin` 加自定义 `X-PH` 头。WebSocket 校验 Cookie 和 `Origin`。书签是例外：跨源读写意见必须带本次运行的 `X-PH-Token`，响应会反射该页面的 `Origin`（不会是 `*`）。`GET /__ph/api/review` 仍给 curl 用，不带 CORS 头。`POST /__ph/api/review/resolve` 是本机 Agent 的接口：只接受本次运行的 `X-PH-Resolve` 头，正文必须是 `application/json`；浏览器（带 `Origin`）、跨站请求和会话 Cookie 一律返回 `403`。所有者复制出来的说明里带有这个头；没有所有者会话时拉到的说明、评审者复制的说明、书签在页面里复制的说明都不带（书签模式请在首页复制）。交给 Agent 的评审正文会标明是不可信的页面数据。\n- **MCP。** 每一轮 Agent 调用都发一个独立的 Bearer token（通过环境变量或私有临时文件传递，不出现在命令行），回合结束即作废。来自浏览器的 MCP 请求一律拒绝。\n- **Host 白名单。** `Host` 头不符的请求返回 `421`（防 DNS rebinding）。在局域网使用时用 `--allow-host` 添加。\n- **嵌入限制。** 面板只允许被应用源嵌入；聊天记录页不允许被任何页面嵌入。\n- **产物。** HTML / SVG 产物带 `sandbox` CSP 返回，并放在不含 `allow-same-origin` 的 iframe 里展示。\n- **页面控制**需要在浏览器里手动开启，开启时有横幅提示，密码框的值不会发给 Agent。\n\nAgent 以各自 CLI 的非交互权限在 `--project` 里运行（例如 Claude Code `--permission-mode bypassPermissions`、Codex 关闭审批、Cursor Agent `--force`、CodeBuddy Code `--permission-mode bypassPermissions`、OpenCode `run --auto`）。只对你愿意让 Agent 修改的项目使用。\n\n## 数据\n\n全部保存在 `<project>/.page-harness/`：\n\n```text\nchats/<id>/meta.json        标题、Agent、模型、session id\nchats/<id>/events.jsonl     只追加的事件日志（提问、增量、工具、结果）\nartifacts/<name>/v<n>       产物各版本 + index.json\nuploads/                    附件\nlive.json                   Live 会话\nreview.json                 意见、页面修改、回复与审批\nteam.json                   邀请 token、签名密钥和评审者名字（权限 600）\n```\n\n删除该目录即可重置。\n\n## 常见问题\n\n**要改我的项目吗？**\n不用。page-harness 就是个反向代理，往 HTML 里塞一个脚本。除非 Agent 改了，你的代码一行都不动。\n\n**没有源码的网站能用吗？**\n能。公网地址默认进评审模式：Agent 只在页面上留意见、做临时改动，不碰文件。想强制切换用 `--review` / `--source`。\n\n**用什么模型？要 API Key 吗？**\n你的 Agent CLI 登录的是什么就用什么。page-harness 自己没有账号也没有 Key，每个对话可以单独选模型。\n\n**安全吗？**\n默认只监听 `127.0.0.1`，不需要登录。`--share` 才会开放到局域网，同事要拿签名过的邀请链接才能进。Agent 以非交互权限在 `--project` 里跑，所以只对你放心让它改的项目用。\n\n**Live 的标记会不会留在代码里？**\n每次 Live 或改文件之后都会扫一遍工作区，有残留就提醒你；加 `--live-guard-hook` 还会装一个 pre-commit 钩子直接拦下来。\n\n**怎么重置？**\n删掉 `<project>/.page-harness/` 就行。\n\n## 文档\n\n| 从这里开始 | |\n|---|---|\n| [快速开始](#快速开始) | 安装和第一次跑起来 |\n| [用法](#用法) | 全部命令行参数、仅评审和书签 |\n| [原理](#原理) | 代理、覆盖层、MCP 工具、Live 候选、评审模式 |\n| [安全模型](#安全模型) | 哪些地方锁住了，怎么锁的 |\n| [数据](#数据) | `.page-harness/` 里存了什么 |\n| [常见问题](#常见问题) | 大家常问的 |\n| [开发说明](./docs/development.md) | 仓库地图、命令和开发约定 |\n| [官网](https://cocofhu.github.io/page-harness-site/) | 产品演示与安装 |\n| [npm 包](https://www.npmjs.com/package/page-harness) | 已发布的版本 |\n\n## 开发\n\n贡献说明见 [docs/development.md](./docs/development.md)，改代码时的约束见 [AGENTS.md](./AGENTS.md)。\n\n```bash\nnpm install\nnpm run dev            # 监听并重建前端脚本与 CLI\nnode dist/cli.js http://localhost:5173 --project ../some-app\n\nnpm run lint\nnpm run typecheck\nnpm test               # 单元测试 + 服务端集成测试\nnpx playwright install chromium\nnpm run build && npm run test:e2e   # 基于示例应用的浏览器测试\n```\n\n## 参与贡献\n\n欢迎到 [Tencent/page-harness](https://github.com/Tencent/page-harness) 提 Issue 和 PR。\n\n- **流程：** Fork → 开分支 → 提交 → 开 PR\n- **推之前跑一下：** `npm run lint`、`npm run typecheck`、`npm test`；动了界面的话再跑 `npm run build && npm run test:e2e`\n\n## 许可证\n\n[MIT](./LICENSE)。打包进来的第三方代码见 [THIRD_PARTY_LICENSES.md](./THIRD_PARTY_LICENSES.md)。\n\n","readmeFilename":"README.zh-CN.md"}