feat: import agents_and_robots platform as unibots (Matrix-out, unibus transport)

Reemplaza el scaffold del echobot por la plataforma completa de bots traida
desde ~/DataProyects/Github/agents_and_robots tras la operacion Matrix-out:
los bots ya no hablan por Matrix sino por el bus unibus (modelo todo-rooms +
E2E via shell/transportunibus sobre github.com/enmanuel/unibus/pkg/client).

- go.mod: replace de unibus -> ../unibus y de fn-registry -> ../../../.. (paths
  relativos reajustados a la nueva ubicacion dentro de fn_registry).
- app.md: bump a 0.2.0, descripcion + arquitectura + comandos + gotchas reales.
- modulo Go conservado como github.com/enmanuel/agents (sin reescribir imports).

agents_and_robots queda archivado como museo de la era Matrix.
This commit is contained in:
agent
2026-06-07 11:50:13 +02:00
parent bb5b0e09b1
commit fc644ecd6e
308 changed files with 38829 additions and 474 deletions
+66
View File
@@ -0,0 +1,66 @@
package command
// Builtins returns the specs of all built-in commands. Pure.
func Builtins() []Spec {
return []Spec{
{
Name: "help",
Aliases: []string{"h"},
Description: "Lista comandos disponibles",
Usage: "!help",
},
{
Name: "tools",
Description: "Lista tools registradas con descripcion",
Usage: "!tools",
},
{
Name: "tool",
Description: "Ejecutar una tool directamente",
Usage: "!tool <nombre> [key=value ...]",
},
{
Name: "ping",
Description: "Alive check",
Usage: "!ping",
},
{
Name: "status",
Description: "Info del agente: uptime, rooms activos",
Usage: "!status",
},
{
Name: "info",
Description: "Nombre, version y descripcion del agente",
Usage: "!info",
},
{
Name: "clear",
Description: "Limpia ventana de conversacion del room actual",
Usage: "!clear",
},
{
Name: "prompts",
Description: "Lista prompt-commands disponibles (archivos .md en prompts/)",
Usage: "!prompts",
},
{
Name: "version",
Aliases: []string{"v"},
Description: "Version del agente",
Usage: "!version",
},
}
}
// BuiltinNames returns just the command names (including aliases) for lookup. Pure.
func BuiltinNames() map[string]string {
m := make(map[string]string)
for _, spec := range Builtins() {
m[spec.Name] = spec.Name
for _, alias := range spec.Aliases {
m[alias] = spec.Name
}
}
return m
}