代理程式與自動化

尋找並執行 Fricle CLI 命令

使用 frc 內建的說明,查找執行 Fricle Host 工作所需的命令和引數。例如,您可以用來列出開發裝置上的終端機工作階段。

範例 · 查找專案終端機的命令

  1. 在已安裝 CLI 的裝置上開啟終端機。執行 frc pty --help,並在命令群組中尋找 list。

  2. 執行 frc pty list --help,查看列出工作階段時可用的引數和選項。

  3. 執行 frc mcp --help,比較 Fricle Host MCP 服務的命令。請查看您打算執行的子命令說明。

終端機在查詢工作階段命令後顯示 MCP 命令說明。

取得說明

執行這些命令以查看命令清單,以及特定命令的選項和引數。即使 Fricle Host 未執行,也能使用說明。

sh
frc --help
frc devices --help
frc relay --help
frc pty --help

範例 — 查看中繼伺服器命令

執行 frc relay --help。尋找 status 以確認中繼伺服器是否正在執行,並尋找 schema 以查看其資料庫。請參閱設定中繼伺服器,瞭解如何在裝置上使用這些命令。

命令

使用此索引查找命令,然後執行 frc <command> --help 查看其引數和選項。請將 <id> 等預留位置替換成您自己的值。方括號表示選用引數。

安裝與裝置

frc usage

使用統計資料。

子命令

  • frc usage basic

  • frc usage full

  • frc usage notice

  • frc usage off

  • frc usage status

frc update

更新。

子命令

  • frc update auto

  • frc update auto app

  • frc update auto host

  • frc update check

frc setup

註冊並啟動 Fricle Host。

frc status

安裝狀態。

frc teardown

取消註冊 Fricle Host。

frc uninstall

解除安裝 Fricle。

frc paths

目前設定檔的安裝路徑。

frc host

Fricle Host 管理。

子命令

  • frc host features

  • frc host fs append <path> <text…>

  • frc host fs cat <path>

  • frc host fs cp <from> <to>

  • frc host fs get <remote> <local>

  • frc host fs ls <path> [wait-ms]

  • frc host fs mkdir <path>

  • frc host fs mv <from> <to>

  • frc host fs platform

  • frc host fs properties <path> [key…]

  • frc host fs put <local> <remote>

  • frc host fs request-access <path> [wait-ms]

  • frc host fs rm <path>

  • frc host fs rmdir <path> [all]

  • frc host fs stat <path>

  • frc host fs write <path> <text…>

  • frc host hosting accept

  • frc host hosting ceiling

  • frc host hosting elevation off

  • frc host hosting elevation on

  • frc host hosting off

  • frc host hosting on

  • frc host hosting permissions

  • frc host hosting permissions clear

  • frc host hosting permissions grant

  • frc host hosting permissions revoke

  • frc host hosting recheck

  • frc host hosting reissue

  • frc host hosting relay lookup

  • frc host hosting relay refresh

  • frc host hosting relay sign-in

  • frc host hosting renew-identity

  • frc host hosting sign-in

  • frc host hosting status

  • frc host hosting tcp

  • frc host hosting way

  • frc host hosting way <id> describe

  • frc host hosting way <id> domain

  • frc host hosting way <id> filter

  • frc host restart

  • frc host service install

  • frc host service status

  • frc host service uninstall

  • frc host shutdown

  • frc host start

  • frc host status

  • frc host stop

frc devices

裝置註冊與名稱。

子命令

  • frc devices add

  • frc devices add-alias

  • frc devices add-ssh

  • frc devices connect-info

  • frc devices drop-alias

  • frc devices list

  • frc devices remove

  • frc devices rename

  • frc devices resolve

  • frc devices set-default

frc relay

中繼伺服器管理。

子命令

  • frc relay account create <name>

  • frc relay account delete <name>

  • frc relay account disable <name>

  • frc relay account enable <name>

  • frc relay accounts [--offset <n>] [--limit <n>] [--desc]

  • frc relay autostart off [--print]

  • frc relay autostart on [--print]

  • frc relay configure [--bind <address>] [--port <port>]

  • frc relay db-stats [--from <ms>] [--to <ms>] [--node <id>]

  • frc relay device delete <number>

  • frc relay device revoke <number>

  • frc relay devices [--after <id>] [--limit <n>]

  • frc relay devices [--status active|revoked] [--account <name>|--guest] [--platform <p>] [--host-version <v>] [--node <id>] [--seen-since <ms>] [--seen-before <ms>] [--never-seen] [--sort registered|registered-desc|last-seen|last-seen-asc] [--offset <n>] [--limit <n>]

  • frc relay disable

  • frc relay enable

  • frc relay kill [--now]

  • frc relay migrate

  • frc relay overview

  • frc relay policy [--guests allow|deny] [--minimum-client-version <version|none>]

  • frc relay policy assign <default|guest|signed-in|account:<name>> <id|none>

  • frc relay policy delete <id>

  • frc relay policy list

  • frc relay policy set <id> [--name <name>] [--access allow|deny] <item flags>

  • frc relay restart [--bind <address>] [--port <port>]

  • frc relay restart-daemon

  • frc relay schema

  • frc relay set [--node-id <id>] [--network <address:port>[@tag]]… [--utc-offset <minutes>] [--database <connection>] [--admin-database <connection>] [--service-replica <connection>] [--admin-replica <connection>] [--master-key-env <NAME>] [--forwarding on|off] [--forwarding-interval-seconds <n>] [--forwarding-slack-percent <n>] [--forwarding-slack-bytes <n>] [--forwarding-over-intervals <n>] [--forwarding-burst-factor <n>] [--forwarding-streams-per-session <n>] [--forwarding-streams-total <n>] [--forwarding-window <bytes>] [--usage-record on|off] [--usage-flush-seconds <n>] [--usage-retention-seconds <n>] [--usage-max-bytes <n>] [--usage-database <connection|none>] [--usage-replica <connection|none>] [--log-database <connection|none>] [--log-replica <connection|none>]

  • frc relay start [--bind <address>] [--port <port>]

  • frc relay stats [--since <unix ms>]

  • frc relay status

  • frc relay stop

frc account

存取帳戶與權限。

子命令

  • frc account allow <login> <ip|cidr,…|none>

  • frc account create [<login>] [-p <password>] [--label <text>] [--manage] [--allow <ip|cidr,…>] [--permissions <json>]

  • frc account delete <login>

  • frc account disable <login>

  • frc account enable <login>

  • frc account list

  • frc account logout <login> <session-id>

  • frc account mcp <login> [--other-servers on|off] [--allow <server>[/<tool>],…] [--deny <server>[/<tool>],…] [--other-tools <server>=on|off,…] [--clear <server>[/<tool>],…] [--reset]

  • frc account owner <login>

  • frc account passwd [<login>] [-p <password>] [--keep-sessions]

  • frc account permissions <login> --permissions <json>

  • frc account permit <login,…> [--preset <name>] [--grant <code,…>] [--revoke <code,…>] [--with-required]

  • frc account sessions <login>

  • frc account unlock [login]

frc token

存取權杖。

子命令

  • frc token create [--account <login>] [--expires 30d] [--uses <n>] [--name <text>] [--preset <name>] [--grant <code,…>]

  • frc token list [--account <login>]

  • frc token revoke <id>

frc login

frc manage login 的捷徑。

frc manage

管理員登入。

子命令

  • frc manage login [<login>] [-p <password>]

  • frc manage logout

  • frc manage setup [<login>] [-p <password>]

  • frc manage status

檔案與桌面

frc clipboard

剪貼簿與剪貼簿記錄。

子命令

  • frc clipboard clear

  • frc clipboard connect

  • frc clipboard copy

  • frc clipboard formats

  • frc clipboard get

  • frc clipboard history

  • frc clipboard read

  • frc clipboard remove-history

  • frc clipboard restore

  • frc clipboard watch

frc fs

檔案變更通知。

子命令

  • frc fs watch

frc git

Git 存放庫與變更。

子命令

  • frc git commit

  • frc git repositories

  • frc git stage

  • frc git status

檔案搜尋與取代。

子命令

  • frc search cancel

  • frc search fetch

  • frc search list

  • frc search replace

  • frc search start

frc disk-usage

資料夾大小與磁碟使用量。

子命令

  • frc disk-usage clear

  • frc disk-usage get

  • frc disk-usage history

  • frc disk-usage options

  • frc disk-usage rescan

  • frc disk-usage scan

  • frc disk-usage set

  • frc disk-usage storage

frc media

媒體轉換。

子命令

  • frc media cancel

  • frc media convert

  • frc media encode

  • frc media status

frc db-queries

資料庫查詢工作階段。

子命令

  • frc db-queries adopt

  • frc db-queries close

  • frc db-queries list

  • frc db-queries prune

  • frc db-queries remove

  • frc db-queries reopen

  • frc db-queries view

  • frc db-queries write

frc storage

外部儲存空間連線。

子命令

  • frc storage add

  • frc storage auth

  • frc storage connections

  • frc storage delete

  • frc storage forget-secret

  • frc storage ls

  • frc storage mkdir

  • frc storage mv

  • frc storage read

  • frc storage rm

  • frc storage stat

  • frc storage trust

  • frc storage write

frc window

作業系統視窗。

子命令

  • frc window list

  • frc window watch

frc prompt

作業系統權限提示。

子命令

  • frc prompt list

  • frc prompt watch

frc browser

目前連線的瀏覽器事件。

子命令

  • frc browser watch

frc open

在裝置上開啟項目。

子命令

  • frc open browser

  • frc open handlers

  • frc open path

  • frc open privacy

  • frc open reveal

  • frc open url

  • frc open with

frc transfer

檔案傳輸。

子命令

  • frc transfer <from> <to>

  • frc transfer cancel

  • frc transfer conflicts

  • frc transfer get

  • frc transfer list

  • frc transfer ls

  • frc transfer resolve

  • frc transfer submit

  • frc transfer tasks

  • frc transfer wait

  • frc transfer watch

frc rds

遠端桌面與螢幕擷取。

frc rds capture 會在您執行命令的裝置上儲存 PNG 檔案。

子命令

  • frc rds capture --out <file.png> [--display <id>] [--rect <x,y,w,h>]

  • frc rds displays

  • frc rds permissions

  • frc rds request-access

  • frc rds retarget display [id]

  • frc rds retarget front

  • frc rds retarget window <id> <pid> <start-id>

  • frc rds start <name> [display]

  • frc rds statistics

  • frc rds status

  • frc rds stop

  • frc rds watch [--seconds n] [--path auto|line|direct] [--input-every ms] [--size WxH]

終端機與自動化

frc events

事件與訂閱。

子命令

  • frc events entry

  • frc events log

  • frc events publish

  • frc events read

  • frc events record

  • frc events relay add

  • frc events relay list

  • frc events relay remove

  • frc events subscribe

  • frc events topics

frc schedule

排程動作。

子命令

  • frc schedule add

  • frc schedule disable

  • frc schedule enable

  • frc schedule list

  • frc schedule remove

  • frc schedule run

  • frc schedule runs

frc process

處理程序與受管理的處理程序工作階段。

子命令

  • frc process ancestry

  • frc process connections

  • frc process connections close <id>

  • frc process handles

  • frc process handles list

  • frc process handles release

  • frc process list

  • frc process session get

  • frc process session history

  • frc process session list

  • frc process session list-page

  • frc process session read

  • frc process session start

  • frc process session stop

  • frc process session watch

  • frc process session write

  • frc process stats

  • frc process usage

  • frc process watch

frc pty

終端機工作階段。

子命令

  • frc pty agent-hooks [status|install|uninstall] [claude|codex]

  • frc pty attach <id> --replay-only

  • frc pty attach <id> [--take-control] [--temporary]

  • frc pty capture <id> [--out path] [--format png|jpeg|webp] [--quality N] [--scale N] [--include-text] [--scrollback N] [--wait-ms N] [--json]

  • frc pty detach <id>

  • frc pty detach <id> --control-only

  • frc pty group list

  • frc pty group new <scope> <name>

  • frc pty group remove <id>

  • frc pty group rename <id> <name>

  • frc pty keys <id> [--take-control] <key…>

  • frc pty kill <id> [--force]

  • frc pty list [--all]

  • frc pty metadata <id> <key> --remove

  • frc pty metadata <id> <key> <value>

  • frc pty move <id> <group>

  • frc pty new [group] [cols rows] [--grace milliseconds|infinite] [--terminal-profile id] [--shell path] [--arg value] [--cwd path] [--env key=value] [--unset-env key] [--scope elevated]

  • frc pty probe <program>

  • frc pty profiles

  • frc pty read <id> [--json] [--wait-ms N] [--scrollback N] [--offset N] [--limit N]

  • frc pty remove <id> [--force]

  • frc pty rename <id> <name>

  • frc pty resize <id> <cols> <rows>

  • frc pty restore <id>

  • frc pty scope list

  • frc pty scope new <name>

  • frc pty scope rename <id> <name>

  • frc pty screen <id> [--text] [--json] [--wait-ms N] [--scrollback N] [--offset N] [--limit N]

  • frc pty send <id> [--take-control | --submit] [--submit-delay milliseconds] [--escapes] <text…>

  • frc pty status

  • frc pty watch [--id terminal] [--count N] [--timeout-ms N]

AI 與 MCP

frc info

Fricle Host MCP 工具名稱與引數。

frc mcp

透過標準輸入與輸出運作的 Fricle Host MCP 伺服器。

frc web

網頁搜尋與頁面擷取。

子命令

  • frc web fetch

  • frc web search

frc agent

Fricle AI 聊天、模型與工作。

子命令

  • frc agent chat

  • frc agent chat approvals

  • frc agent chat approve

  • frc agent chat attach

  • frc agent chat compact

  • frc agent chat delete

  • frc agent chat deny

  • frc agent chat detach

  • frc agent chat inputs

  • frc agent chat kind remove

  • frc agent chat kind set

  • frc agent chat kinds

  • frc agent chat list

  • frc agent chat new

  • frc agent chat permission

  • frc agent chat permission device

  • frc agent chat read

  • frc agent chat rename

  • frc agent chat search

  • frc agent chat send

  • frc agent chat show

  • frc agent chat spawn

  • frc agent chat stop

  • frc agent chat tree

  • frc agent chat update

  • frc agent chat watch

  • frc agent event

  • frc agent event hook

  • frc agent event hooks

  • frc agent event remind

  • frc agent event send

  • frc agent event unhook

  • frc agent features

  • frc agent hooks

  • frc agent instructions

  • frc agent instructions history

  • frc agent instructions set

  • frc agent instructions show

  • frc agent mcp

  • frc agent mcp add

  • frc agent mcp add-json

  • frc agent mcp call

  • frc agent mcp get

  • frc agent mcp list

  • frc agent mcp remove

  • frc agent memory add

  • frc agent memory history

  • frc agent memory list

  • frc agent memory remove

  • frc agent memory update

  • frc agent model capabilities

  • frc agent model features

  • frc agent model features set

  • frc agent model key list

  • frc agent model key remove

  • frc agent model key set

  • frc agent model providers

  • frc agent model remote

  • frc agent model remote allow

  • frc agent model remote deny

  • frc agent model remote list

  • frc agent model respond

  • frc agent model server add

  • frc agent model server remove

  • frc agent model servers

  • frc agent run calls

  • frc agent run list

  • frc agent run show

  • frc agent run usage

  • frc agent settings

  • frc agent settings language

  • frc agent settings set language

  • frc agent settings set model

  • frc agent settings set recall

  • frc agent settings set work-location

  • frc agent settings show

  • frc agent skill list

  • frc agent skill save

  • frc agent task

  • frc agent task add

  • frc agent task answer

  • frc agent task list

  • frc agent task log

  • frc agent task pause

  • frc agent task questions

  • frc agent task remove

  • frc agent task resume

  • frc agent task run

  • frc agent task runs

  • frc agent task show

  • frc agent todo history

  • frc agent todo list

  • frc agent todo set

  • frc agent todo write

  • frc agent tools

  • frc agent work

frc skill

提供給外部代理程式使用的 Fricle 技能。

子命令

  • frc skill install

  • frc skill status

  • frc skill update