feat: add infrastructure context to zCode system prompt
Non-secret only: Gitea repo URL, systemd service name, deploy workflow, self-evolve push behavior. Zero credentials in source.
This commit is contained in:
@@ -79,6 +79,10 @@ function buildSystemPrompt(svc) {
|
||||
lines.push(`- **${a.id}** (${a.name}): ${a.description}`);
|
||||
}
|
||||
lines.push('', `## Infrastructure
|
||||
- Source repo: https://github.rommark.dev/admin/zCode-CLI-X.git (Gitea — git push origin main)
|
||||
- Running on VPS as systemd user service: zcode.service
|
||||
- Deploy: git push → pull on VPS → npm install → systemctl restart zcode
|
||||
- Self-evolve tool auto-commits + pushes to Gitea after code changes
|
||||
- RTK (Rust Token Killer) active
|
||||
- Z.AI API via ${svc.config?.api?.baseUrl || 'z.ai'}
|
||||
- Telegram webhook + WebSocket
|
||||
|
||||
Reference in New Issue
Block a user