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'})
+2 -2
View File
@@ -69,8 +69,8 @@ try:
except ImportError:
HAS_PIPELINE = False
VALID_AGENTS = ["muse", "pip", "646", "opm"]
DEFAULT_PORTS = {"muse": 9410, "pip": 9420, "646": 9430, "opm": 9440}
VALID_AGENTS = ["muse", "pip", "646", "opm", "dev", "def"]
DEFAULT_PORTS = {"muse": 9410, "pip": 9420, "646": 9430, "opm": 9440, "def": 9450, "dev": 9460}
# Matches EVERY [RESULT <job_id>] marker in a message (use with finditer, not
# search). The result text is lazy and stops before the next marker (or end of