feat(fleet): expand sidechat auto-provisioning for muse and dev, integrate response harvesting

This commit is contained in:
operator
2026-10-05 02:48:59 +00:00
parent ec547b28ac
commit 0eadd096b7
4 changed files with 54 additions and 5 deletions
+15
View File
@@ -661,6 +661,21 @@ class Handler(BaseHTTPRequestHandler):
{'op': k, 'desc': v['desc'],
'side_effecting': v['side_effecting']}
for k, v in sorted(OPS.items())]})
elif self.path in ('/box', '/box-relay.sh'):
relay_path = os.path.join(BIN_DIR, 'box-relay.sh')
if os.path.isfile(relay_path):
try:
with open(relay_path, 'rb') as f:
data = f.read()
self.send_response(200)
self.send_header('Content-Type', 'text/x-shellscript')
self.send_header('Content-Length', str(len(data)))
self.end_headers()
self.wfile.write(data)
return
except Exception:
pass
self._send(404, {'error': 'not found'})
else:
self._send(404, {'error': 'not found'})