@evolith/smart-cli 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.es.md CHANGED
@@ -56,7 +56,30 @@ O descarga el binario desde [GitHub Releases](https://github.com/beyondnetcode/e
56
56
 
57
57
  ```bash
58
58
  smart-cli --version
59
- # 1.1.4
59
+ # 1.1.7
60
+ ```
61
+
62
+ ### Experiencia de instalación
63
+
64
+ El paquete npm incluye una animación corta de setup y una pantalla de bienvenida en `postinstall`. npm controla la descarga y extracción de dependencias antes de ejecutar scripts del paquete, y las versiones modernas de npm ocultan la salida de lifecycle scripts salvo que se activen foreground scripts. Para ver la experiencia de bienvenida:
65
+
66
+ ```bash
67
+ npm install -g @evolith/smart-cli --foreground-scripts
68
+ ```
69
+
70
+ Para ocultar la bienvenida en automatización:
71
+
72
+ ```bash
73
+ EVOLITH_SMART_CLI_POSTINSTALL=0 npm install -g @evolith/smart-cli
74
+ ```
75
+
76
+ ### Desinstalación
77
+
78
+ Las versiones modernas de npm no ejecutan hooks lifecycle de desinstalación de paquetes, así que un paquete no puede imprimir de forma confiable una despedida automática durante `npm uninstall`. Usa `goodbye` antes de remover el paquete cuando quieras ver el mensaje de cierre y las sugerencias de limpieza:
79
+
80
+ ```bash
81
+ smart-cli goodbye
82
+ npm uninstall -g @evolith/smart-cli
60
83
  ```
61
84
 
62
85
  ### Solución de Problemas
@@ -75,7 +98,7 @@ export PATH=$(npm config get prefix)/bin:$PATH
75
98
 
76
99
  ### Variables de entorno
77
100
 
78
- La CLI funciona sin configuración. Las siguientes variables son overrides opcionales. Las marcadas *(MCP)* las lee únicamente el paquete incluido `@evolith/mcp-server` mientras `smart-cli mcp serve` está en ejecución.
101
+ La CLI funciona sin configuración. Las siguientes variables son overrides opcionales. Las marcadas *(MCP)* las lee únicamente el paquete independiente `@evolith/mcp-server` mientras `smart-cli mcp serve` está en ejecución.
79
102
 
80
103
  | Variable | Leída por | Propósito |
81
104
  |---|---|---|
@@ -289,6 +312,40 @@ smart-cli validate --engine opa --ruleset acl
289
312
 
290
313
  ---
291
314
 
315
+ ### evaluate
316
+
317
+ Ejecuta el motor stateless de evaluación de Evolith desde la CLI e imprime un envelope ADR-0073. Úsalo cuando la automatización necesite la misma superficie canónica de evaluación expuesta por integraciones API.
318
+
319
+ ```bash
320
+ smart-cli evaluate [opciones]
321
+
322
+ Opciones:
323
+ --context <ruta> Archivo JSON con un EvaluationContext canónico
324
+ -w, --workspace <ruta> Ruta local del workspace (por defecto: perfil activo o cwd)
325
+ -c, --core <ruta> Ruta del checkout de Evolith Core
326
+ -p, --phase <id> Fase SDLC: discovery, design, construction, qa, release
327
+ -t, --topology <id> Override de topología de arquitectura
328
+ -f, --format <formato> Formato de salida: json o text (por defecto: json)
329
+ ```
330
+
331
+ **Ejemplos:**
332
+
333
+ ```bash
334
+ # Evaluar el repositorio actual con contexto por defecto
335
+ smart-cli evaluate
336
+
337
+ # Evaluar un workspace específico para un gate de diseño
338
+ smart-cli evaluate --workspace ../my-service --phase design
339
+
340
+ # Evaluar con override de topología microservices
341
+ smart-cli evaluate --workspace ../my-service --topology microservices --format text
342
+
343
+ # Usar un EvaluationContext canónico preparado
344
+ smart-cli evaluate --context ./evaluation-context.json --format json
345
+ ```
346
+
347
+ ---
348
+
292
349
  ### adr
293
350
 
294
351
  Gestiona Architecture Decision Records.
@@ -709,6 +766,71 @@ smart-cli profile delete --name staging
709
766
 
710
767
  ---
711
768
 
769
+ ### satellite:create
770
+
771
+ Crea un nuevo repositorio de GitHub y lo registra como satélite Evolith. Requiere `--token` o `GITHUB_TOKEN`.
772
+
773
+ ```bash
774
+ smart-cli satellite:create [opciones]
775
+
776
+ Opciones:
777
+ -n, --name <name> Nombre del nuevo repositorio GitHub
778
+ -o, --owner <owner> Usuario u organización GitHub
779
+ --topology <topology> monolith, modular, micro, distributed
780
+ --phase <phase> discovery, design, construction, qa, release
781
+ --private Crear un repositorio privado
782
+ -d, --description <texto> Descripción del repositorio
783
+ -t, --token <token> Token GitHub (por defecto GITHUB_TOKEN)
784
+ ```
785
+
786
+ **Ejemplos:**
787
+
788
+ ```bash
789
+ # Creación interactiva
790
+ smart-cli satellite:create
791
+
792
+ # Crear un satélite modular privado en discovery
793
+ GITHUB_TOKEN=$GITHUB_TOKEN smart-cli satellite:create \
794
+ --name orders-service \
795
+ --owner beyondnetcode \
796
+ --topology modular \
797
+ --phase discovery \
798
+ --private \
799
+ --description "Bounded context de órdenes"
800
+ ```
801
+
802
+ ---
803
+
804
+ ### satellite:adopt
805
+
806
+ Adopta un repositorio GitHub existente dentro de la gobernanza Evolith sin crear un repositorio remoto nuevo. Requiere `--token` o `GITHUB_TOKEN` para operaciones de API de GitHub.
807
+
808
+ ```bash
809
+ smart-cli satellite:adopt [opciones]
810
+
811
+ Opciones:
812
+ --repo <url> URL del repositorio GitHub existente
813
+ --owner <owner> Override del owner GitHub
814
+ --topology <topology> monolith, modular, micro, distributed, custom
815
+ --phase <phase> alpha, beta, rc, ga
816
+ --token <token> Token GitHub (por defecto GITHUB_TOKEN)
817
+ ```
818
+
819
+ **Ejemplos:**
820
+
821
+ ```bash
822
+ # Adopción interactiva
823
+ smart-cli satellite:adopt
824
+
825
+ # Adoptar un repositorio existente
826
+ smart-cli satellite:adopt \
827
+ --repo https://github.com/beyondnetcode/ums \
828
+ --topology modular \
829
+ --phase beta
830
+ ```
831
+
832
+ ---
833
+
712
834
  ### fixtures
713
835
 
714
836
  Siembra archivos de fixtures reproducibles para demos, tests y onboarding. El primer paso recomendado en cualquier entorno nuevo.
@@ -903,6 +1025,47 @@ smart-cli history --clear
903
1025
 
904
1026
  ---
905
1027
 
1028
+ ### chat
1029
+
1030
+ Envía un intento en lenguaje natural al Evolith Agent Runtime incluido. El comando ejecuta en dry-run por defecto salvo que el runtime soporte y reciba un override explícito.
1031
+
1032
+ ```bash
1033
+ smart-cli chat <mensaje> [opciones]
1034
+
1035
+ Opciones:
1036
+ --dry-run <boolean> Mantener ejecución en modo dry-run salvo que se defina en false
1037
+ ```
1038
+
1039
+ **Ejemplos:**
1040
+
1041
+ ```bash
1042
+ # Pedir una interpretación orientada a gobernanza
1043
+ smart-cli chat "review this repository for SDLC gate readiness"
1044
+
1045
+ # Permitir que un runtime compatible salga de dry-run
1046
+ smart-cli chat "prepare a validation plan for the checkout" --dry-run false
1047
+ ```
1048
+
1049
+ ---
1050
+
1051
+ ### goodbye
1052
+
1053
+ Muestra guía de desinstalación, sugerencias opcionales de limpieza y el mensaje de cierre antes de remover la CLI.
1054
+
1055
+ ```bash
1056
+ smart-cli goodbye
1057
+ ```
1058
+
1059
+ **Ejemplos:**
1060
+
1061
+ ```bash
1062
+ # Ver despedida y sugerencias de limpieza, luego desinstalar globalmente
1063
+ smart-cli goodbye
1064
+ npm uninstall -g @evolith/smart-cli
1065
+ ```
1066
+
1067
+ ---
1068
+
906
1069
  ### completion
907
1070
 
908
1071
  Genera e instala scripts de autocompletado de shell. También provee funciones hook de shell para mostrar contexto y estado.
@@ -946,9 +1109,9 @@ Los scripts pre-construidos también vienen incluidos en el paquete bajo `shell/
946
1109
 
947
1110
  ## Servidor MCP
948
1111
 
949
- La CLI de Evolith incluye un servidor MCP listo para producción para la integración con agentes IA.
1112
+ La CLI de Evolith puede lanzar el servidor MCP independiente listo para producción para la integración con agentes IA.
950
1113
 
951
- > **Aviso de deprecación:** `smart-cli mcp` imprime una advertencia de deprecación al arrancar y será removido en una futura versión mayor. El servidor MCP ahora se distribuye como paquete independiente — migra a `@evolith/mcp-server` (`npx @evolith/mcp-server serve` o el binario `evolith-mcp serve`). El comando CLI sigue funcionando mientras tanto delegando de forma perezosa (lazy) en ese paquete.
1114
+ > **Aviso de deprecación:** `smart-cli mcp` imprime una advertencia de deprecación al arrancar y será removido en una futura versión mayor. El servidor MCP ahora se distribuye como paquete independiente — migra a `@evolith/mcp-server` (`npx @evolith/mcp-server serve` o el binario `evolith-mcp serve`). El comando CLI sigue funcionando mientras tanto invocando ese paquete bajo demanda.
952
1115
 
953
1116
  ### Iniciar el Servidor
954
1117
 
@@ -989,7 +1152,7 @@ Verifica `initialize`, `tools/list`, `resources/list`, `prompts/list` y un `tool
989
1152
 
990
1153
  ### Herramientas MCP Disponibles
991
1154
 
992
- El servidor incluido registra **27 herramientas**. El conjunto vigente y autoritativo siempre se puede explorar con `smart-cli api --list --category tools`; la tabla siguiente refleja el registro actual de `@evolith/mcp-server`.
1155
+ El servidor independiente registra **27 herramientas**. El conjunto vigente y autoritativo siempre se puede explorar con `smart-cli api --list --category tools`; la tabla siguiente refleja el registro actual de `@evolith/mcp-server`.
993
1156
 
994
1157
  **Validación y arquitectura**
995
1158
 
package/README.md CHANGED
@@ -56,7 +56,30 @@ Or download the binary from [GitHub Releases](https://github.com/beyondnetcode/e
56
56
 
57
57
  ```bash
58
58
  smart-cli --version
59
- # 1.1.4
59
+ # 1.1.7
60
+ ```
61
+
62
+ ### Install Experience
63
+
64
+ The npm package includes a short setup animation and welcome screen in `postinstall`. npm controls dependency download and extraction before package scripts run, and modern npm versions hide lifecycle script output unless foreground scripts are enabled. For the visible welcome experience:
65
+
66
+ ```bash
67
+ npm install -g @evolith/smart-cli --foreground-scripts
68
+ ```
69
+
70
+ To suppress the welcome message in automation:
71
+
72
+ ```bash
73
+ EVOLITH_SMART_CLI_POSTINSTALL=0 npm install -g @evolith/smart-cli
74
+ ```
75
+
76
+ ### Uninstall
77
+
78
+ Modern npm versions do not run package uninstall lifecycle hooks, so a package cannot reliably print an automatic farewell during `npm uninstall`. Use `goodbye` before removing the package when you want the closing message and cleanup hints:
79
+
80
+ ```bash
81
+ smart-cli goodbye
82
+ npm uninstall -g @evolith/smart-cli
60
83
  ```
61
84
 
62
85
  ### Troubleshooting
@@ -75,7 +98,7 @@ export PATH=$(npm config get prefix)/bin:$PATH
75
98
 
76
99
  ### Environment variables
77
100
 
78
- The CLI runs with zero configuration. The following variables are optional overrides. Those marked *(MCP)* are read by the bundled `@evolith/mcp-server` only while `smart-cli mcp serve` is running.
101
+ The CLI runs with zero configuration. The following variables are optional overrides. Those marked *(MCP)* are read by the standalone `@evolith/mcp-server` only while `smart-cli mcp serve` is running.
79
102
 
80
103
  | Variable | Read by | Purpose |
81
104
  |---|---|---|
@@ -289,6 +312,40 @@ smart-cli validate --engine opa --ruleset acl
289
312
 
290
313
  ---
291
314
 
315
+ ### evaluate
316
+
317
+ Runs the stateless Evolith evaluation engine from the CLI and prints an ADR-0073 envelope. Use it when automation needs the same canonical evaluation surface exposed by API integrations.
318
+
319
+ ```bash
320
+ smart-cli evaluate [options]
321
+
322
+ Options:
323
+ --context <path> JSON file containing a canonical EvaluationContext
324
+ -w, --workspace <path> Local workspace path (default: active profile or cwd)
325
+ -c, --core <path> Evolith Core checkout path
326
+ -p, --phase <id> SDLC phase: discovery, design, construction, qa, release
327
+ -t, --topology <id> Architecture topology override
328
+ -f, --format <format> Output format: json or text (default: json)
329
+ ```
330
+
331
+ **Examples:**
332
+
333
+ ```bash
334
+ # Evaluate the current repository with default context
335
+ smart-cli evaluate
336
+
337
+ # Evaluate a specific workspace for a design gate
338
+ smart-cli evaluate --workspace ../my-service --phase design
339
+
340
+ # Evaluate a microservices topology override
341
+ smart-cli evaluate --workspace ../my-service --topology microservices --format text
342
+
343
+ # Use a prepared canonical EvaluationContext
344
+ smart-cli evaluate --context ./evaluation-context.json --format json
345
+ ```
346
+
347
+ ---
348
+
292
349
  ### adr
293
350
 
294
351
  Manages Architecture Decision Records.
@@ -709,6 +766,71 @@ smart-cli profile delete --name staging
709
766
 
710
767
  ---
711
768
 
769
+ ### satellite:create
770
+
771
+ Creates a new GitHub repository and registers it as an Evolith satellite. Requires `--token` or `GITHUB_TOKEN`.
772
+
773
+ ```bash
774
+ smart-cli satellite:create [options]
775
+
776
+ Options:
777
+ -n, --name <name> New GitHub repository name
778
+ -o, --owner <owner> GitHub user or organization
779
+ --topology <topology> monolith, modular, micro, distributed
780
+ --phase <phase> discovery, design, construction, qa, release
781
+ --private Create a private repository
782
+ -d, --description <text> Repository description
783
+ -t, --token <token> GitHub token (defaults to GITHUB_TOKEN)
784
+ ```
785
+
786
+ **Examples:**
787
+
788
+ ```bash
789
+ # Interactive creation
790
+ smart-cli satellite:create
791
+
792
+ # Create a private modular satellite in discovery
793
+ GITHUB_TOKEN=$GITHUB_TOKEN smart-cli satellite:create \
794
+ --name orders-service \
795
+ --owner beyondnetcode \
796
+ --topology modular \
797
+ --phase discovery \
798
+ --private \
799
+ --description "Orders bounded context"
800
+ ```
801
+
802
+ ---
803
+
804
+ ### satellite:adopt
805
+
806
+ Adopts an existing GitHub repository into Evolith governance without creating a new remote repository. Requires `--token` or `GITHUB_TOKEN` for GitHub API operations.
807
+
808
+ ```bash
809
+ smart-cli satellite:adopt [options]
810
+
811
+ Options:
812
+ --repo <url> Existing GitHub repository URL
813
+ --owner <owner> GitHub owner override
814
+ --topology <topology> monolith, modular, micro, distributed, custom
815
+ --phase <phase> alpha, beta, rc, ga
816
+ --token <token> GitHub token (defaults to GITHUB_TOKEN)
817
+ ```
818
+
819
+ **Examples:**
820
+
821
+ ```bash
822
+ # Interactive adoption
823
+ smart-cli satellite:adopt
824
+
825
+ # Adopt an existing repository
826
+ smart-cli satellite:adopt \
827
+ --repo https://github.com/beyondnetcode/ums \
828
+ --topology modular \
829
+ --phase beta
830
+ ```
831
+
832
+ ---
833
+
712
834
  ### fixtures
713
835
 
714
836
  Seeds reproducible fixture files for demos, tests, and onboarding. The first step recommended in any new environment.
@@ -903,6 +1025,47 @@ smart-cli history --clear
903
1025
 
904
1026
  ---
905
1027
 
1028
+ ### chat
1029
+
1030
+ Sends a natural-language intent to the bundled Evolith Agent Runtime. The command is dry-run by default unless the runtime supports and receives an explicit override.
1031
+
1032
+ ```bash
1033
+ smart-cli chat <message> [options]
1034
+
1035
+ Options:
1036
+ --dry-run <boolean> Keep execution in dry-run mode unless set to false
1037
+ ```
1038
+
1039
+ **Examples:**
1040
+
1041
+ ```bash
1042
+ # Ask for a governance-oriented interpretation
1043
+ smart-cli chat "review this repository for SDLC gate readiness"
1044
+
1045
+ # Allow a runtime that supports execution to leave dry-run mode
1046
+ smart-cli chat "prepare a validation plan for the checkout" --dry-run false
1047
+ ```
1048
+
1049
+ ---
1050
+
1051
+ ### goodbye
1052
+
1053
+ Shows uninstall guidance, optional cleanup hints, and the closing message used before removing the CLI.
1054
+
1055
+ ```bash
1056
+ smart-cli goodbye
1057
+ ```
1058
+
1059
+ **Examples:**
1060
+
1061
+ ```bash
1062
+ # See the farewell and cleanup hints, then uninstall globally
1063
+ smart-cli goodbye
1064
+ npm uninstall -g @evolith/smart-cli
1065
+ ```
1066
+
1067
+ ---
1068
+
906
1069
  ### completion
907
1070
 
908
1071
  Generates and installs shell completion scripts. Also provides shell hook functions for context and status display.
@@ -946,9 +1109,9 @@ Pre-built scripts are also included in the package under `shell/`:
946
1109
 
947
1110
  ## MCP Server
948
1111
 
949
- The Evolith CLI bundles a production-ready MCP server for AI agent integration.
1112
+ The Evolith CLI can launch the standalone production-ready MCP server for AI agent integration.
950
1113
 
951
- > **Deprecation notice:** `smart-cli mcp` prints a deprecation warning on startup and will be removed in a future major version. The MCP server now ships as a standalone package — migrate to `@evolith/mcp-server` (`npx @evolith/mcp-server serve` or the `evolith-mcp serve` binary). The CLI command continues to work in the meantime by lazily delegating to that package.
1114
+ > **Deprecation notice:** `smart-cli mcp` prints a deprecation warning on startup and will be removed in a future major version. The MCP server now ships as a standalone package — migrate to `@evolith/mcp-server` (`npx @evolith/mcp-server serve` or the `evolith-mcp serve` binary). The CLI command continues to work in the meantime by invoking that package on demand.
952
1115
 
953
1116
  ### Starting the Server
954
1117
 
@@ -989,7 +1152,7 @@ Verifies `initialize`, `tools/list`, `resources/list`, `prompts/list`, and a rea
989
1152
 
990
1153
  ### Available MCP Tools
991
1154
 
992
- The bundled server registers **27 tools**. The live, authoritative set is always browsable with `smart-cli api --list --category tools`; the table below mirrors the current `@evolith/mcp-server` registry.
1155
+ The standalone server registers **27 tools**. The live, authoritative set is always browsable with `smart-cli api --list --category tools`; the table below mirrors the current `@evolith/mcp-server` registry.
993
1156
 
994
1157
  **Validation & architecture**
995
1158