The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(bundle): smoke the payload's browser-harness on the store interpreter
teknium12843d8eea4f7
diff --git a/scripts/smoke-payload.sh b/scripts/smoke-payload.shindex 9726575c55c..1b6020a8c9a 100644--- a/scripts/smoke-payload.sh+++ b/scripts/smoke-payload.sh@@ -44,6 +44,16 @@ try {if (child.error) throw child.errorif (child.status !== 0) throw new Error(`hermes ${args.join(' ')} failed: ${child.status ?? child.signal}`)}+ // browser_exec's engine (browser-harness) runs on the store interpreter with only the+ // payload's site dir on PYTHONPATH (tools/browser_use_cli.py); -S drops any site of its own.+ console.log('— browser-harness on the store interpreter (relocated) —')+ const harness = spawnSync(resolve(moved, manifest.runtime.storePython),+ ['-S', '-m', 'browser_harness.run', '--version'], {+ cwd: home, env: { ...env, PYTHONPATH: resolve(moved, manifest.runtime.sitePackages) },+ stdio: 'inherit', timeout: 120000,+ })+ if (harness.error) throw harness.error+ if (harness.status !== 0) throw new Error(`browser-harness failed: ${harness.status ?? harness.signal}`)console.log('SMOKE OK')} finally {// Restore even after a command fails, so its artifact remains inspectable.