@rubytech/create-realagent 1.0.424 → 1.0.426
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.
package/dist/index.js
CHANGED
|
@@ -225,7 +225,7 @@ function installSystemDeps() {
|
|
|
225
225
|
<name replace-wildcards="yes">${BRAND.productName} on %h</name>
|
|
226
226
|
<service>
|
|
227
227
|
<type>_http._tcp</type>
|
|
228
|
-
<port
|
|
228
|
+
<port>${BRAND.port ?? 19200}</port>
|
|
229
229
|
<txt-record>role=${BRAND.hostname}</txt-record>
|
|
230
230
|
</service>
|
|
231
231
|
</service-group>`;
|
|
@@ -252,7 +252,7 @@ function installSystemDeps() {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
catch { /* not critical — wired connections unaffected */ }
|
|
255
|
-
console.log(` Device reachable at http://${BRAND.hostname}.local
|
|
255
|
+
console.log(` Device reachable at http://${BRAND.hostname}.local:${BRAND.port ?? 19200}`);
|
|
256
256
|
}
|
|
257
257
|
function installNodejs() {
|
|
258
258
|
if (commandExists("node") && nodeVersion() >= 20) {
|
|
@@ -824,7 +824,7 @@ WantedBy=default.target
|
|
|
824
824
|
let webServerUp = false;
|
|
825
825
|
for (let i = 0; i < 20; i++) {
|
|
826
826
|
try {
|
|
827
|
-
execFileSync("curl", ["-sf",
|
|
827
|
+
execFileSync("curl", ["-sf", `http://localhost:${BRAND.port ?? 19200}`, "-o", "/dev/null"], { timeout: 3000 });
|
|
828
828
|
webServerUp = true;
|
|
829
829
|
break;
|
|
830
830
|
}
|
|
@@ -833,7 +833,7 @@ WantedBy=default.target
|
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
if (!webServerUp) {
|
|
836
|
-
console.log(` Server may still be starting. Check http://${BRAND.hostname}.local
|
|
836
|
+
console.log(` Server may still be starting. Check http://${BRAND.hostname}.local:${BRAND.port ?? 19200} in a moment.`);
|
|
837
837
|
}
|
|
838
838
|
// Validate CDP: the programmatic Playwright MCP server connects to Chromium
|
|
839
839
|
// via --cdp-endpoint http://127.0.0.1:9222. Chromium is started by vnc.sh
|
|
@@ -907,7 +907,7 @@ try {
|
|
|
907
907
|
console.log("");
|
|
908
908
|
console.log("================================================================");
|
|
909
909
|
console.log("");
|
|
910
|
-
console.log(` Open in your browser: http://${BRAND.hostname}.local
|
|
910
|
+
console.log(` Open in your browser: http://${BRAND.hostname}.local:${BRAND.port ?? 19200}`);
|
|
911
911
|
console.log("");
|
|
912
912
|
console.log("================================================================");
|
|
913
913
|
}
|
package/package.json
CHANGED