6c8c05b13b
- Buffer locale samples[] per aggiornamenti real-time - Poll /api/status ogni 10 secondi - Aggiunge nuovi campioni senza ricaricare history - Aggiunge AGENTS.md per istruzioni agenti OpenCode - Aggiunge team agenti in .opencode/agents/
1.4 KiB
1.4 KiB
name, description, allowed-tools
| name | description | allowed-tools | ||||
|---|---|---|---|---|---|---|
| code-explorer | Code Explorer — ricerca file, pattern, architettura nel progetto supabase-pinger |
|
<project_context> File principali:
- app.py (421 lines) — FastAPI + ping logic
- tests/test_api.py — 3 test functions
- requirements.txt — Dependencies
Componenti chiave:
- create_app() — FastAPI factory
- Settings — Config dataclass
- RRDStore — Circular buffer
- run_ping() — Keep-alive
- collector_loop() — Daemon thread </project_context>
<search_commands>
Find Python files
Glob: **/*.py
Find all config
Glob: *.md, *.yml, *.txt, *.example
Search patterns
Grep: def |class |import
Find functions
Grep: "def " app.py Grep: "class " app.py </search_commands>
<key_files_to_explore> Prima explora:
- app.py — entry point
- tests/test_api.py — test structure
- AGENTS.md — instructions
- requirements.txt — deps </key_files_to_explore>
<output_format>
Risultati
Files trovati
- path/file.py (N lines)
Pattern matching
- line N: code pattern
Architettura
- Entry: app.py:create_app()
- Config: app.py:Settings
- Storage: app.py:RRDStore
- Ping: app.py:run_ping() </output_format>
<when_to_use>
- Trovare file specifici
- Cercare pattern
- Comprendere architettura </when_to_use>