infinicode 2.8.114 → 2.8.115
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.
|
@@ -1258,7 +1258,7 @@ footer.cmd{left:var(--global-nav-width);transition:left .24s cubic-bezier(.2,.8,
|
|
|
1258
1258
|
<div class="rp-field"><label>Enrollment token</label><input id="rp-command-enrollment" placeholder="optional" spellcheck="false"></div>
|
|
1259
1259
|
<div class="rp-field"><label>Control token</label><input id="rp-command-token" type="password" spellcheck="false"></div>
|
|
1260
1260
|
<div class="rp-field"><label>RoboVoice folder on livekit-1</label><input id="rp-command-robovoice" value="C:\ROBOVOICE-main" spellcheck="false"></div>
|
|
1261
|
-
<div class="rp-field"><label>Release</label><input id="rp-command-release" value="2.8.
|
|
1261
|
+
<div class="rp-field"><label>Release</label><input id="rp-command-release" value="2.8.115" spellcheck="false"></div>
|
|
1262
1262
|
</div>
|
|
1263
1263
|
<div class="rp-command-toolbar">
|
|
1264
1264
|
<input type="search" id="rp-command-search" placeholder="Search logs, camera, Docker, motors, npm...">
|
|
@@ -2843,7 +2843,7 @@ footer.cmd{left:var(--global-nav-width);transition:left .24s cubic-bezier(.2,.8,
|
|
|
2843
2843
|
var RP_COMMAND_ENV_KEY='rp-command-env-v2';
|
|
2844
2844
|
var RP_CUSTOM_COMMANDS_KEY='rp-custom-commands-v1';
|
|
2845
2845
|
var rpVisibleCommands=[];
|
|
2846
|
-
function rpCommandDefaults(){return {lan:'192.168.0.9',tail:'100.84.147.24',site:'Tel Aviv',robot:'bmw',character:'vixen',device:'',enrollment:'',token:dashboardMeshToken(),robovoice:'C:\\ROBOVOICE-main',release:'2.8.
|
|
2846
|
+
function rpCommandDefaults(){return {lan:'192.168.0.9',tail:'100.84.147.24',site:'Tel Aviv',robot:'bmw',character:'vixen',device:'',enrollment:'',token:dashboardMeshToken(),robovoice:'C:\\ROBOVOICE-main',release:'2.8.115',network:'lan'};}
|
|
2847
2847
|
function rpLoadStoredJson(key,fallback){try{var value=JSON.parse(localStorage.getItem(key)||'null');return value&&typeof value==='object'?value:fallback;}catch(e){return fallback;}}
|
|
2848
2848
|
function rpCommandEnv(){
|
|
2849
2849
|
var d=rpCommandDefaults(),s=rpLoadStoredJson(RP_COMMAND_ENV_KEY,{});
|
|
@@ -2852,7 +2852,7 @@ footer.cmd{left:var(--global-nav-width);transition:left .24s cubic-bezier(.2,.8,
|
|
|
2852
2852
|
}
|
|
2853
2853
|
function rpSaveCommandEnv(){try{localStorage.setItem(RP_COMMAND_ENV_KEY,JSON.stringify(rpCommandEnv()));}catch(e){}}
|
|
2854
2854
|
function rpShellArg(value){var text=String(value||'');return /^[A-Za-z0-9._:\/-]+$/.test(text)?text:'"'+text.replace(/"/g,'\\"')+'"';}
|
|
2855
|
-
function rpCompleteRobotCommand(setupCommand){var release=rpCommandEnv().release||'2.8.
|
|
2855
|
+
function rpCompleteRobotCommand(setupCommand){var release=rpCommandEnv().release||'2.8.115';return 'sudo npm install -g infinicode@'+rpShellArg(release)+' --force && hash -r && (sudo robopark stop || true) && '+setupCommand;}
|
|
2856
2856
|
function rpRobotSetupCommand(){
|
|
2857
2857
|
var e=rpCommandEnv(),control=rpControlUrl(e.network),argv=['sudo','robopark','setup','--robot','--name',e.robot,'--site',e.site,'--hub-url',control,'--token',e.token,'--port','47913',e.network==='tailscale'?'--tailscale':'--lan'];
|
|
2858
2858
|
if(e.enrollment)argv.push('--enrollment-token',e.enrollment);if(e.character)argv.push('--character',e.character);argv.push('--start','--auto-start','--yes');
|
|
@@ -2860,7 +2860,7 @@ footer.cmd{left:var(--global-nav-width);transition:left .24s cubic-bezier(.2,.8,
|
|
|
2860
2860
|
}
|
|
2861
2861
|
function rpCommandCatalog(){
|
|
2862
2862
|
var e=rpCommandEnv(),control=rpControlUrl(e.network),device=e.device||e.robot,enroll=e.enrollment?' --enrollment-token '+rpShellArg(e.enrollment):'',auth='?token='+encodeURIComponent(e.token);
|
|
2863
|
-
var api=control+'/robopark/api',release=e.release||'2.8.
|
|
2863
|
+
var api=control+'/robopark/api',release=e.release||'2.8.115';
|
|
2864
2864
|
return [
|
|
2865
2865
|
{id:'hub-up',category:'Provision',title:'Install and start RoboVoice-first control host',description:'Run in elevated PowerShell on livekit-1. Starts the private compatibility data service, proven RoboVoice stack, mesh relay, and full Control Center.',command:'npm install -g infinicode@'+rpShellArg(release)+' --force; robopark serve --port 8080 --no-open; robopark agent-up --path '+rpShellArg(e.robovoice)+' --scheduler-url http://127.0.0.1:8080 --token '+rpShellArg(e.token)+'; infinicode serve --hub --name livekit-1 --port 47913 --token '+rpShellArg(e.token)+' --lan --dashboard --scheduler-url http://127.0.0.1:8080 --auto-update --supervised'},
|
|
2866
2866
|
{id:'robot-install',category:'Provision',title:'Install or repair selected robot',description:'Run on the Pi. One control URL, one token, one supervised runtime; camera, audio, motion, motor server, and mesh start together.',command:rpRobotSetupCommand()},
|
package/package.json
CHANGED