jiraya daemon
Referência do comando jiraya daemon da CLI do Jiraya: subcomandos, uso, flags e exemplos, gerados a partir da ajuda.
Control the local agent runtime daemon
Subcomandos
| Comando | Descrição |
|---|---|
jiraya daemon autostart | Manage the OS autostart entry for the local daemon |
jiraya daemon disk-usage | Show daemon workspace disk usage by run or workspace |
jiraya daemon logs | Show daemon logs |
jiraya daemon restart | Restart the running daemon (stop + start) |
jiraya daemon start | Start the local agent runtime daemon |
jiraya daemon status | Show daemon status |
jiraya daemon stop | Stop the running daemon |
jiraya daemon watch | Open an interactive TUI to monitor the local agent runtime |
jiraya daemon autostart
Manage the OS autostart entry for the local daemon
Registers (or removes) an OS-native entry — a systemd user unit on Linux, a launchd LaunchAgent on macOS, a Run registry value on Windows — so the jiraya daemon starts automatically without running `jiraya daemon start` by hand every session.
jiraya daemon autostart disable
Remove the OS autostart entry for the daemon
Uso
jiraya daemon autostart disable [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--output string | Output format: table or json | table |
jiraya daemon autostart enable
Register the daemon to start automatically with the OS
Uso
jiraya daemon autostart enable [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--no-start | Register the autostart entry without starting the daemon now | |
--output string | Output format: table or json | table |
jiraya daemon autostart status
Show the OS autostart registration for the daemon
Uso
jiraya daemon autostart status [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--output string | Output format: table or json | table |
jiraya daemon disk-usage
Show daemon workspace disk usage by run or workspace
Walks the daemon's workspaces root and reports per-run or per-workspace disk usage. Default view is per-run, sorted by size descending. --by-workspace switches to a per-workspace summary; --top N keeps only the largest N entries.
By default only the current profile's root is scanned. --all-profiles aggregates across every workspace root — the default root plus each ~/.jiraya/profiles/* root, including the Desktop app's dedicated `desktop-<host>` root — and prints a per-root breakdown with a combined grand total. In that mode --top applies within each root and --workspaces-root is not allowed.
Bytes are split into total and the artifact-cleanable subset (node_modules, .next, .turbo by default, overridable via JIRAYA_GC_ARTIFACT_PATTERNS) so the report stays in sync with what the GC reclaims. A .git directory counts toward the total but never toward the artifact subset — the GC frees it only when it removes the whole run directory. Symlinks are never followed.
The STATUS column shows the current status of the issue each directory belongs to, which requires contacting the server. When the machine is offline, logged out, or the request fails, the column is left blank and the rest of the report still prints. --by-workspace has no STATUS column and therefore makes no network request unless --output json is also set. The daemon does not need to be running.
Uso
jiraya daemon disk-usage [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--all-profiles | Scan every workspace root (default root + all ~/.jiraya/profiles/* roots, incl. the Desktop app's) and report a combined total | |
--by-task | Per-run view (default; mutually exclusive with --by-workspace) | |
--by-workspace | Aggregate output by workspace instead of by run | |
--output string | Output format: table or json | table |
--top int | Keep only the largest N entries (per root in --all-profiles mode) | |
--workspaces-root string | Override the workspaces root path (default: same as the daemon) |
jiraya daemon logs
Show daemon logs
Uso
jiraya daemon logs [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
-f, --follow | Follow log output | |
-n, --lines int | Number of lines to show | 50 |
jiraya daemon restart
Restart the running daemon (stop + start)
Uso
jiraya daemon restart [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--agent-timeout duration | Absolute per-run wall-clock cap; 0 = no cap, rely on the watchdogs (env: JIRAYA_AGENT_TIMEOUT) | |
--auto-update-interval duration | How often to poll the Jiraya server for a newer release (env: JIRAYA_DAEMON_AUTO_UPDATE_INTERVAL) | |
--codex-handshake-timeout duration | Codex app-server startup RPC timeout (env: JIRAYA_CODEX_HANDSHAKE_TIMEOUT) | |
--codex-semantic-inactivity-timeout duration | Codex semantic inactivity timeout (env: JIRAYA_CODEX_SEMANTIC_INACTIVITY_TIMEOUT) | |
--daemon-id string | Unique daemon identifier (env: JIRAYA_DAEMON_ID) | |
--device-name string | Human-readable device name (env: JIRAYA_DAEMON_DEVICE_NAME) | |
--foreground | Run in the foreground instead of background | |
--heartbeat-interval duration | Heartbeat interval (env: JIRAYA_DAEMON_HEARTBEAT_INTERVAL) | |
--max-concurrent-tasks int | Maximum concurrent runs (env: JIRAYA_DAEMON_MAX_CONCURRENT_TASKS) | |
--no-auto-reload | Disable restarting when the jiraya binary on disk changes version (env: JIRAYA_DAEMON_AUTO_RELOAD=false) | |
--no-auto-update | Disable periodic CLI self-update (env: JIRAYA_DAEMON_AUTO_UPDATE=false) | |
--poll-interval duration | Run poll interval (env: JIRAYA_DAEMON_POLL_INTERVAL) | |
--runtime-name string | Runtime display name (env: JIRAYA_AGENT_RUNTIME_NAME) | |
--workspaces-root string | Base directory for run workspaces (env: JIRAYA_WORKSPACES_ROOT) | |
--ws-claim-poll-interval duration | Healthy WebSocket claim safety-poll upper bound (env: JIRAYA_DAEMON_WS_CLAIM_POLL_INTERVAL) |
jiraya daemon start
Start the local agent runtime daemon
Start the daemon process that polls for runs and executes them using local agent CLIs (Claude, Codex). Runs in the background by default. Use --foreground to run in the current terminal.
Uso
jiraya daemon start [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--agent-timeout duration | Absolute per-run wall-clock cap; 0 = no cap, rely on the watchdogs (env: JIRAYA_AGENT_TIMEOUT) | |
--auto-update-interval duration | How often to poll the Jiraya server for a newer release (env: JIRAYA_DAEMON_AUTO_UPDATE_INTERVAL) | |
--codex-handshake-timeout duration | Codex app-server startup RPC timeout (env: JIRAYA_CODEX_HANDSHAKE_TIMEOUT) | |
--codex-semantic-inactivity-timeout duration | Codex semantic inactivity timeout (env: JIRAYA_CODEX_SEMANTIC_INACTIVITY_TIMEOUT) | |
--daemon-id string | Unique daemon identifier (env: JIRAYA_DAEMON_ID) | |
--device-name string | Human-readable device name (env: JIRAYA_DAEMON_DEVICE_NAME) | |
--foreground | Run in the foreground instead of background | |
--heartbeat-interval duration | Heartbeat interval (env: JIRAYA_DAEMON_HEARTBEAT_INTERVAL) | |
--max-concurrent-tasks int | Maximum concurrent runs (env: JIRAYA_DAEMON_MAX_CONCURRENT_TASKS) | |
--no-auto-reload | Disable restarting when the jiraya binary on disk changes version (env: JIRAYA_DAEMON_AUTO_RELOAD=false) | |
--no-auto-update | Disable periodic CLI self-update (env: JIRAYA_DAEMON_AUTO_UPDATE=false) | |
--poll-interval duration | Run poll interval (env: JIRAYA_DAEMON_POLL_INTERVAL) | |
--runtime-name string | Runtime display name (env: JIRAYA_AGENT_RUNTIME_NAME) | |
--workspaces-root string | Base directory for run workspaces (env: JIRAYA_WORKSPACES_ROOT) | |
--ws-claim-poll-interval duration | Healthy WebSocket claim safety-poll upper bound (env: JIRAYA_DAEMON_WS_CLAIM_POLL_INTERVAL) |
jiraya daemon status
Show daemon status
Uso
jiraya daemon status [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--output string | Output format: table or json | table |
jiraya daemon stop
Stop the running daemon
Uso
jiraya daemon stopjiraya daemon watch
Open an interactive TUI to monitor the local agent runtime
Opens a real-time interactive terminal interface connected to the local Jiraya daemon. Displays three views — Tasks, Events, and Commands — with live updates, filtering, search, and export.
Views
tasks Running, queued, waiting, and recently finished tasks (default)
events Chronological timeline of runtime events
commands Tool-call history with output tailsKey bindings (main view)
Tab Cycle views
↑/↓ j/k Navigate
PgUp/PgDn Page up/down
Home/End First/last item
Enter Open details panel
f Filter modal
/ Incremental search
p Pause / resume live updates
e Export current view to JSON or CSV
? Help overlay
q Ctrl+C QuitUso
jiraya daemon watch [flags]Flags
| Flag | Descrição | Padrão |
|---|---|---|
--limit int | Maximum items loaded per view (must be > 0) | 50 |
--view string | Initial view: tasks, events, or commands | tasks |
Atualizado em