@hugo.bastidas/agent-foundation 0.1.0 → 0.2.1

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.md CHANGED
@@ -1,12 +1,41 @@
1
1
  # agent-foundation
2
2
 
3
3
  CLI que instala convenciones personales de trabajo para agentes de IA
4
- (`AGENT_FOUNDATION.md`) en las instrucciones globales de Claude Code, Codex y
5
- OpenCode. Una sola fuente de verdad para convenciones de código, commits,
6
- estructura de proyectos y documentación — aplicada de forma idempotente en
7
- todos los hosts.
4
+ (`AGENT_FOUNDATION.md`) en las instrucciones globales de Claude Code, Codex,
5
+ OpenCode y Pi Agent. Una sola fuente de verdad para convenciones de código,
6
+ commits, estructura de proyectos y documentación — aplicada de forma idempotente
7
+ en todos los hosts.
8
8
 
9
- ## Uso
9
+ ## Instalación interactiva
10
+
11
+ ```bash
12
+ npx -y @hugo.bastidas/agent-foundation
13
+ ```
14
+
15
+ Muestra un menú para elegir la acción y los hosts:
16
+
17
+ ```
18
+ ,_,
19
+ (O,O)
20
+ ( )
21
+ " "
22
+ agent-foundation v0.2.0
23
+ Install your AI agent conventions
24
+
25
+ ◆ Choose an action
26
+ │ ● Install
27
+ │ ○ Remove
28
+ │ ○ Status
29
+ │ ○ Exit
30
+
31
+ ◆ Target hosts (space to select, enter to confirm)
32
+ │ ◻ Claude Code
33
+ │ ◻ Codex
34
+ │ ◻ OpenCode
35
+ │ ◻ Pi Agent
36
+ ```
37
+
38
+ ## Uso no-interactivo
10
39
 
11
40
  ```bash
12
41
  # instalar en todos los hosts
@@ -19,7 +48,7 @@ npx -y @hugo.bastidas/agent-foundation install --host claude,codex
19
48
  npx -y @hugo.bastidas/agent-foundation status
20
49
 
21
50
  # desinstalar
22
- npx -y @hugo.bastidas/agent-foundation remove
51
+ npx -y @hugo.bastidas/agent-foundation remove --host all
23
52
  ```
24
53
 
25
54
  ## Qué hace
@@ -36,6 +65,7 @@ Por cada host seleccionado:
36
65
  | Claude Code | `~/.claude/CLAUDE.md` |
37
66
  | Codex | `~/.codex/AGENTS.md` |
38
67
  | OpenCode | `~/.config/opencode/AGENTS.md` |
68
+ | Pi Agent | `~/.pi/agent/AGENTS.md` |
39
69
 
40
70
  La operación es idempotente: re-ejecutar `install` actualiza el bloque sin
41
71
  duplicarlo. `remove` elimina el bloque y el sidecar dejando intacto el resto
@@ -45,7 +75,7 @@ del archivo.
45
75
 
46
76
  ```bash
47
77
  npm install
48
- npm run build
78
+ npm run build # esbuild + tsc
49
79
  npm test
50
80
  ```
51
81