Add GOLDEN PATH headers to agent loops

This commit is contained in:
operator
2026-10-03 18:04:57 +00:00
parent baae422b5f
commit ed45611912
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""
# GOLDEN PATH: container -> VM (34.139.37.135) -> bl (100.123.153.75) -> netns -> browser -> agent
# This API is the bridge. Every call traverses 4 hops. Respect the path.
Multi-account muse.ai chat API with approval handling.
Approvals: The browser may show permission dialogs (e.g., "Allow pip to share
@@ -18,6 +20,7 @@ import json, urllib.request, websocket, time, sys, argparse
ACCOUNTS = {
"muse": ("muse", "http://127.0.0.1:9410/json/list"),
"pip": ("pip", "http://127.0.0.1:9420/json/list"),
"646": ("646", "http://10.201.202.2:9353/json/list"),
}
# IPs we trust for auto-approval (our infrastructure)