mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
47d3e7ef9a
- 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>
41 lines
1.0 KiB
Desktop File
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
|