ocerebro 0.4.2 → 0.4.3
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/cerebro/cerebro_setup.py +20 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/cerebro/cerebro_setup.py
CHANGED
|
@@ -268,6 +268,16 @@ Se confirmar, chame novamente com dry_run=false.
|
|
|
268
268
|
""", encoding="utf-8")
|
|
269
269
|
print(f"[OK] Slash command criado: {remember_cmd}")
|
|
270
270
|
|
|
271
|
+
dashboard_cmd = commands_dir / "cerebro-dashboard.md"
|
|
272
|
+
if not dashboard_cmd.exists():
|
|
273
|
+
dashboard_cmd.write_text("""---
|
|
274
|
+
description: Abrir dashboard visual do OCerebro
|
|
275
|
+
---
|
|
276
|
+
Use a ferramenta cerebro_dashboard com port=7999.
|
|
277
|
+
Após abrir, confirme ao usuário a URL http://localhost:7999 onde o dashboard está disponível.
|
|
278
|
+
""", encoding="utf-8")
|
|
279
|
+
print(f"[OK] Slash command criado: {dashboard_cmd}")
|
|
280
|
+
|
|
271
281
|
# Slash commands globais em ~/.claude/commands/
|
|
272
282
|
if global_commands:
|
|
273
283
|
global_commands_dir = Path.home() / ".claude" / "commands"
|
|
@@ -347,6 +357,16 @@ Se confirmar, chame novamente com dry_run=false.
|
|
|
347
357
|
""", encoding="utf-8")
|
|
348
358
|
print(f"[OK] Slash command global criado: {remember_global}")
|
|
349
359
|
|
|
360
|
+
dashboard_global = global_commands_dir / "cerebro-dashboard.md"
|
|
361
|
+
if not dashboard_global.exists():
|
|
362
|
+
dashboard_global.write_text("""---
|
|
363
|
+
description: Abrir dashboard visual do OCerebro (global)
|
|
364
|
+
---
|
|
365
|
+
Use a ferramenta cerebro_dashboard com port=7999.
|
|
366
|
+
Após abrir, confirme ao usuário a URL http://localhost:7999 onde o dashboard está disponível.
|
|
367
|
+
""", encoding="utf-8")
|
|
368
|
+
print(f"[OK] Slash command global criado: {dashboard_global}")
|
|
369
|
+
|
|
350
370
|
return True
|
|
351
371
|
|
|
352
372
|
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED