Files
opencode/scripts/systemd/agent-core.service
T
Artur Do Lago 47d3e7ef9a feat(branding): rename package to agent-core and configure personas
- Rename packages/opencode to packages/agent-core
- Update bin entry from opencode to agent-core
- Set default_agent to "zee" for persona-first UX
- Update terminal title to show current persona name
- Fix persona colors:
  - Zee: #2563EB (blue)
  - Stanley: #059669 (emerald green)
  - Johny: #DC2626 (red)
- Update all documentation and build script references
- Update root package.json name and dev script

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 12:05:26 +01:00

41 lines
1.0 KiB
Desktop File

[Unit]
Description=Agent Core - Always-On Personas Daemon
Documentation=https://github.com/your-org/agent-core
After=network.target
[Service]
Type=simple
User=artur
Group=artur
# Environment setup
Environment=HOME=/home/artur
Environment=AGENT_CORE_HEADLESS=1
Environment=NODE_ENV=production
# API keys can be loaded from environment file (create ~/.config/agent-core/daemon.env)
EnvironmentFile=-/home/artur/.config/agent-core/daemon.env
# Working directory and command
WorkingDirectory=/home/artur/Repositories/agent-core
ExecStart=/home/artur/.bun/bin/bun run packages/agent-core/src/cli/index.ts daemon --hostname 127.0.0.1 --port 3456
# Restart policy
Restart=always
RestartSec=10
TimeoutStopSec=30
# Security hardening (optional, comment out if issues)
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=/home/artur/.config/agent-core /home/artur/.local/share/agent-core /home/artur/.zee
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=agent-core
[Install]
WantedBy=multi-user.target