SIMON Master Console Rebuild
True command center for SIMON + WEB360
This rebuild gives you a cleaner production spine: interactive tree, live viewer, guarded editor, dynamic graphics, architecture map, and note storage. It is designed to sit beside your existing
console.php
and become the stronger replacement path.
Dashboard
Tree
Viewer
System Map
File Registry
Notes
Files
15,341
Folders
408
Scanned Size
3.84 GB
PHP Files
891
Editable Text Files
12,602
File viewer
guarded to /htdocs
/web360/Demo/ai_engines.php
<?php require_once __DIR__.'/core/bootstrap.php'; require_once __DIR__.'/engine/AIRouter.php'; $providers=AIRouter::providers(); $csrf=w360_csrf(); ?> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><title>WEB360 AI Engines</title><link rel="stylesheet" href="assets/web360.css"></head> <body><div class="app-shell"><?php include __DIR__.'/ui/chrome.php'; ?><div class="top-spacer"></div><main class="main-clean"><h1>AI Engines</h1><p>Configure all engines here. Free AI Local works without a key. Remote providers need cURL and API keys.</p> <form id="form" class="grid two"><?php foreach($providers as $id=>$p): ?><section class="card"><h2><?=htmlspecialchars($p['label'])?> <small><?=htmlspecialchars($id)?></small></h2><label><input type="checkbox" data-id="<?=$id?>" data-field="enabled" <?=$p['enabled']?'checked':''?>> Enabled</label><label>Model<input data-id="<?=$id?>" data-field="model" value="<?=htmlspecialchars($p['model'])?>"></label><label>Endpoint<input data-id="<?=$id?>" data-field="endpoint" value="<?=htmlspecialchars($p['endpoint'])?>"></label><label>Env Key<input data-id="<?=$id?>" data-field="api_key_env" value="<?=htmlspecialchars($p['api_key_env'])?>"></label><label>Manual API Key<input type="password" data-id="<?=$id?>" data-field="api_key" placeholder="Paste key"></label></section><?php endforeach; ?><button class="btn" style="grid-column:1/-1">Save AI Engines</button></form></main></div> <script>const csrf=<?=json_encode($csrf)?>, initial=<?=json_encode($providers,JSON_UNESCAPED_SLASHES)?>;form.onsubmit=async e=>{e.preventDefault();let p=JSON.parse(JSON.stringify(initial));document.querySelectorAll('[data-id]').forEach(el=>{let id=el.dataset.id,field=el.dataset.field;p[id][field]=el.type==='checkbox'?el.checked:el.value;if(field==='api_key'&&el.value==='')p[id][field]=initial[id][field]||''});let f=new FormData();f.append('csrf',csrf);f.append('providers',JSON.stringify(p));let r=await fetch('api/router.php?action=save_providers',{method:'POST',body:f}).then(r=>r.json());alert(r.ok?'Saved':'Error: '+r.error)};</script> </body></html>
Save file
Quick jump
open a path
Open