瀏覽 1.1.1 文件
1.1.1

ait-agent — 完整參考

設定、檢視並管理可選的 Telegram、LINE、Discord 和 Slack 傳輸 worker。

適用對象: 開發者、整合維護者與維運

作用邊界#

用途: 設定、檢視並管理可選的 Telegram、LINE、Discord 和 Slack 傳輸 worker。

覆蓋: ait-agent 共給出 43 個公開 help surface。

這一頁原樣保留被準入的 1.1.1 可執行檔案輸出,由檢查碼繫結的發布二進位 生成,包含它給出的每一個引數、選項、預設值、可選值、衝突關係和必填要求。

完整命令樹#

程式碼 · text
ait-agent
ait-agent telegram
ait-agent telegram add
ait-agent telegram list
ait-agent telegram status
ait-agent telegram start
ait-agent telegram stop
ait-agent telegram restart
ait-agent telegram logs
ait-agent telegram remove
ait-agent telegram supervisor
ait-agent telegram supervisor status
ait-agent telegram supervisor start
ait-agent telegram supervisor run
ait-agent telegram supervisor stop
ait-agent telegram supervisor restart
ait-agent line
ait-agent line add
ait-agent line list
ait-agent line status
ait-agent line start
ait-agent line stop
ait-agent line restart
ait-agent line logs
ait-agent line remove
ait-agent discord
ait-agent discord add
ait-agent discord list
ait-agent discord status
ait-agent discord start
ait-agent discord stop
ait-agent discord restart
ait-agent discord logs
ait-agent discord remove
ait-agent slack
ait-agent slack add
ait-agent slack list
ait-agent slack status
ait-agent slack start
ait-agent slack stop
ait-agent slack restart
ait-agent slack logs
ait-agent slack remove

原樣輸出的 help#

ait-agent#

程式碼 · text
Run optional ait external runtime workers.

Usage: ait-agent <COMMAND>

Commands:
  telegram  Run and configure Telegram agent workers.
  line      Run and configure LINE agent workers.
  discord   Run and configure Discord agent workers.
  slack     Run and configure Slack agent workers.
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

說明

執行可選的 ait 外部執行時 worker。

引數 / 選項說明
telegram執行並設定 Telegram agent worker。
line執行並設定 LINE agent worker。
discord執行並設定 Discord agent worker。
slack執行並設定 Slack agent worker。
help列印本訊息或給定子命令的幫助
-h, --help列印幫助
-V, --version列印版本

ait-agent telegram#

程式碼 · text
Run and configure Telegram agent workers.

Usage: ait-agent telegram [OPTIONS] [COMMAND]

Commands:
  add         Add or update a named Telegram worker config.
  list        List named Telegram worker configs.
  status      Show named Telegram worker runtime status.
  start       Start a named Telegram worker in daemon mode.
  stop        Stop a named Telegram worker.
  restart     Stop and restart a named Telegram worker in daemon mode.
  logs        Read the last N lines from a named Telegram worker's log.
  remove      Remove a named Telegram worker config.
  supervisor  Supervise configured Telegram workers.
  help        Print this message or the help of the given subcommand(s)

Options:
      --mode <MODE>      [default: polling] [possible values: polling, webhook]
      --worker <WORKER>  [default: main]
  -h, --help             Print help

說明

執行並設定 Telegram agent worker。

引數 / 選項說明
add新增或更新一個命名的 Telegram worker 設定。
list列出命名的 Telegram worker 設定。
status顯示指定名稱 Telegram worker 的執行時狀態。
start以守護程序模式啟動一個指定名稱的 Telegram worker。
stop停止一個指定名稱的 Telegram worker。
restart以守護程序模式停止並重啟一個指定名稱的 Telegram worker。
logs讀取指定名稱 Telegram worker 日誌的最後 N 行。
remove刪除一個命名的 Telegram worker 設定。
supervisor監管已設定的 Telegram worker。
help列印本訊息或給定子命令的幫助
--mode <MODE>[default: polling] [possible values: polling, webhook]
--worker <WORKER>[default: main]
-h, --help列印幫助

ait-agent telegram add#

程式碼 · text
Add or update a named Telegram worker config.

Usage: ait-agent telegram add [OPTIONS] --token <TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --token <TOKEN>                      
      --username <USERNAME>                
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

說明

新增或更新一個命名的 Telegram worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram list#

程式碼 · text
List named Telegram worker configs.

Usage: ait-agent telegram list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

列出命名的 Telegram worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram status#

程式碼 · text
Show named Telegram worker runtime status.

Usage: ait-agent telegram status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

說明

顯示指定名稱 Telegram worker 的執行時狀態。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram start#

程式碼 · text
Start a named Telegram worker in daemon mode.

Usage: ait-agent telegram start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

以守護程序模式啟動一個指定名稱的 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram stop#

程式碼 · text
Stop a named Telegram worker.

Usage: ait-agent telegram stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

停止一個指定名稱的 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram restart#

程式碼 · text
Stop and restart a named Telegram worker in daemon mode.

Usage: ait-agent telegram restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

以守護程序模式停止並重啟一個指定名稱的 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram logs#

程式碼 · text
Read the last N lines from a named Telegram worker's log.

Usage: ait-agent telegram logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

說明

讀取指定名稱 Telegram worker 日誌的最後 N 行。

引數 / 選項說明
--lines <LINES>[default: 100]
-h, --help列印幫助

ait-agent telegram remove#

程式碼 · text
Remove a named Telegram worker config.

Usage: ait-agent telegram remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

刪除一個命名的 Telegram worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram supervisor#

程式碼 · text
Supervise configured Telegram workers.

Usage: ait-agent telegram supervisor <COMMAND>

Commands:
  status   Show runtime status for all Telegram workers.
  start    Start all configured Telegram workers.
  run      Continuously start stopped Telegram workers at an interval.
  stop     Stop all running Telegram workers.
  restart  Restart all Telegram workers.
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

說明

監管已設定的 Telegram worker。

引數 / 選項說明
status顯示所有 Telegram worker 的執行時狀態。
start啟動所有已設定的 Telegram worker。
run按固定間隔持續啟動已停止的 Telegram worker。
stop停止所有執行中的 Telegram worker。
restart重啟所有 Telegram worker。
help列印本訊息或給定子命令的幫助
-h, --help列印幫助

ait-agent telegram supervisor status#

程式碼 · text
Show runtime status for all Telegram workers.

Usage: ait-agent telegram supervisor status [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

顯示所有 Telegram worker 的執行時狀態。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram supervisor start#

程式碼 · text
Start all configured Telegram workers.

Usage: ait-agent telegram supervisor start [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

啟動所有已設定的 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram supervisor run#

程式碼 · text
Continuously start stopped Telegram workers at an interval.

Usage: ait-agent telegram supervisor run [OPTIONS]

Options:
      --interval-seconds <INTERVAL_SECONDS>  [default: 30]
      --once                                 
      --json                                 
  -h, --help                                 Print help

說明

按固定間隔持續啟動已停止的 Telegram worker。

引數 / 選項說明
--interval-seconds <INTERVAL_SECONDS>[default: 30]
-h, --help列印幫助

ait-agent telegram supervisor stop#

程式碼 · text
Stop all running Telegram workers.

Usage: ait-agent telegram supervisor stop [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

停止所有執行中的 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent telegram supervisor restart#

程式碼 · text
Restart all Telegram workers.

Usage: ait-agent telegram supervisor restart [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

重啟所有 Telegram worker。

引數 / 選項說明
-h, --help列印幫助

ait-agent line#

程式碼 · text
Run and configure LINE agent workers.

Usage: ait-agent line <COMMAND>

Commands:
  add      Add or update a named LINE worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

說明

執行並設定 LINE agent worker。

引數 / 選項說明
add新增或更新一個命名的 LINE worker 設定。
help列印本訊息或給定子命令的幫助
-h, --help列印幫助

ait-agent line add#

程式碼 · text
Add or update a named LINE worker config.

Usage: ait-agent line add [OPTIONS] --token <TOKEN> --secret <SECRET> <NAME>

Arguments:
  <NAME>  

Options:
      --token <TOKEN>                      
      --secret <SECRET>                    
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

說明

新增或更新一個命名的 LINE worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent line list#

程式碼 · text
Usage: ait-agent line list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent line status#

程式碼 · text
Usage: ait-agent line status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent line start#

程式碼 · text
Usage: ait-agent line start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent line stop#

程式碼 · text
Usage: ait-agent line stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent line restart#

程式碼 · text
Usage: ait-agent line restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent line logs#

程式碼 · text
Usage: ait-agent line logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

說明

引數 / 選項說明
--lines <LINES>[default: 100]
-h, --help列印幫助

ait-agent line remove#

程式碼 · text
Usage: ait-agent line remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord#

程式碼 · text
Run and configure Discord agent workers.

Usage: ait-agent discord <COMMAND>

Commands:
  add      Add or update a named Discord worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

說明

執行並設定 Discord agent worker。

引數 / 選項說明
add新增或更新一個命名的 Discord worker 設定。
help列印本訊息或給定子命令的幫助
-h, --help列印幫助

ait-agent discord add#

程式碼 · text
Add or update a named Discord worker config.

Usage: ait-agent discord add [OPTIONS] --application-id <APPLICATION_ID> --bot-token <BOT_TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --application-id <APPLICATION_ID>    
      --bot-token <BOT_TOKEN>              
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

說明

新增或更新一個命名的 Discord worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent discord list#

程式碼 · text
Usage: ait-agent discord list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord status#

程式碼 · text
Usage: ait-agent discord status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord start#

程式碼 · text
Usage: ait-agent discord start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord stop#

程式碼 · text
Usage: ait-agent discord stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord restart#

程式碼 · text
Usage: ait-agent discord restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent discord logs#

程式碼 · text
Usage: ait-agent discord logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

說明

引數 / 選項說明
--lines <LINES>[default: 100]
-h, --help列印幫助

ait-agent discord remove#

程式碼 · text
Usage: ait-agent discord remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack#

程式碼 · text
Run and configure Slack agent workers.

Usage: ait-agent slack <COMMAND>

Commands:
  add      Add or update a named Slack worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

說明

執行並設定 Slack agent worker。

引數 / 選項說明
add新增或更新一個命名的 Slack worker 設定。
help列印本訊息或給定子命令的幫助
-h, --help列印幫助

ait-agent slack add#

程式碼 · text
Add or update a named Slack worker config.

Usage: ait-agent slack add [OPTIONS] --app-token <APP_TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --app-token <APP_TOKEN>              
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

說明

新增或更新一個命名的 Slack worker 設定。

引數 / 選項說明
-h, --help列印幫助

ait-agent slack list#

程式碼 · text
Usage: ait-agent slack list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack status#

程式碼 · text
Usage: ait-agent slack status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack start#

程式碼 · text
Usage: ait-agent slack start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack stop#

程式碼 · text
Usage: ait-agent slack stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack restart#

程式碼 · text
Usage: ait-agent slack restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

ait-agent slack logs#

程式碼 · text
Usage: ait-agent slack logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

說明

引數 / 選項說明
--lines <LINES>[default: 100]
-h, --help列印幫助

ait-agent slack remove#

程式碼 · text
Usage: ait-agent slack remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

說明

引數 / 選項說明
-h, --help列印幫助

抓取來源#

  • 產品版本:1.1.1
  • 二進位版本:ait-agent 1.1.1
  • 二進位 SHA-256:d0eb40a320e320bbefefd4faa11bdcfa0bac3fe1bff4cc3b1752de26983dc6d6
  • 抓取日期:2026-09-02

版本權威

對照 1.1.1 原始碼逐條核對

這一頁是公開文件,不是第二份產品契約。要確認發布權威,請以確切的原始碼和分發契約為準。

所屬元件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1