mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-22 14:38:12 +02:00
Ajoute jean link : acces distant via le relais ajean.link
- nouvelle commande `jean link <token>` (link.go) : connexion sortante WebSocket + yamux vers le relais, sert l'UI web Jean ET l'endpoint compatible OpenAI (/v1) a travers le tunnel, avec injection des cles locales, keepalive et reconnexion automatique. - web.go : extraction de newWebMux() pour reutiliser le routeur HTTP cote `jean link` sans repasser par un ecouteur TCP local. - ui/index.html : base d'URL relative (API_BASE) + script marked relatif. - main.go : cablage de la commande `link` + aide. - README : section acces distant (ajean.link) + commande link. - .gitignore : secrets runtime (.web_key/.link_token/.link_machine). Inclut aussi les evolutions en cours du coeur de jean (llm.go, skills.go, tools.go, chat.go).
This commit is contained in:
1 parent
6ea2e91810
commit
e606206d90
12 files changed
+724
-91
No files matched your search
@@ -72,8 +72,11 @@ func cmdChat(args []string) error {
|
||||
case ev.Stats != nil:
|
||||
stats = ev.Stats
|
||||
case ev.ToolUsed != nil:
|
||||
icon := "📖"
|
||||
verb := "lecture du skill"
|
||||
if ev.ToolUsed.Done || ev.ToolUsed.Typing {
|
||||
break // résultat / frappe live affichés côté web ; en terminal on garde l'annonce seule
|
||||
}
|
||||
icon := "📚"
|
||||
verb := "skill"
|
||||
if ev.ToolUsed.Name == "run_shell" {
|
||||
icon = "⚙️"
|
||||
verb = "exécution"
|
||||
|
||||
Reference in new issue
Block a user