원클릭으로
reload
// Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
// Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
| name | reload |
| description | Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw. |
| distribution | public |
Reinstall piclaw from workspace source, then restart the managed process.
⚠️ In this container runtime, always install to
/usr/local/lib/bun/install/global/node_modules/piclaw. Do not deploy to/home/agent/.bun/...or the running service may keep using an older build.
cd /workspace/piclaw && make local-install
This is the canonical repo path for this environment. It already handles the build, pack, install, and restart sequence correctly.
Build only:
cd /workspace/piclaw && make build-piclaw
Vendor bundle only:
cd /workspace/piclaw && make vendor
Restart only:
cd /workspace/piclaw && make restart
The restart flow auto-detects the manager in this order:
| Priority | Check | Restart method |
|---|---|---|
| 0 | PICLAW_SERVICE_MANAGER set | use its value directly (supervisor, systemd, manual) |
| 1 | supervisorctl exists and a piclaw program is registered | supervisorctl restart piclaw |
| 2 | systemctl exists and a piclaw.service user unit exists | systemctl --user restart piclaw.service |
| 3 | neither found | manual kill + start fallback |
| Variable | Default | Description |
|---|---|---|
PICLAW_SERVICE_MANAGER | auto | Force supervisor, systemd, or manual |
PICLAW_RELOAD_ASYNC | 1 | Set 0 for synchronous foreground mode |
| Variable | Default | Description |
|---|---|---|
PICLAW_SUPERVISOR_SERVICE | piclaw | Supervisor program name |
PICLAW_SUPERVISORCTL_BIN | supervisorctl | supervisorctl binary |
PICLAW_SUPERVISORCTL_CONFIG | auto | Supervisor config path |
PICLAW_SYSTEMD_UNIT | piclaw.service | systemd user unit name |
PICLAW_WEB_PORT | 8080 | Port used by the runtime / readiness checks |
PICLAW_RELOAD_LOG | /tmp/restart-piclaw-force.log | Async log path |
make local-install over hand-written pack/install/restart sequences./usr/local/lib/bun in this environment./tmp/restart-piclaw-force.log.Generate a 7-day token usage chart (all chats) and post it to the web UI timeline.
Search the web via SearXNG (or DuckDuckGo fallback) and optionally fetch result pages as raw Markdown content.
Search via SearXNG (or DuckDuckGo fallback), fetch top results, and return sentence-level summaries plus optional converted page content.
Diagnose and fix issues with the Pibox container environment — tools, paths, mounts, pi configuration.
Situate yourself by generating a 1-page situation report and maintaining Obsidian-style daily summary notes.
Author Adaptive Cards for the current PiClaw web environment. Use when you need a prompt pattern, supported payload shape, or reusable card templates for structured web interactions.