sync: collector/ 同步自 inkstone/arcrun-rag@99cc64f(桌面小幫手 0.18.33)

This commit is contained in:
2026-08-18 21:23:45 +08:00
parent 0d3b853249
commit a35421e2e2
4 changed files with 22 additions and 61 deletions
-14
View File
@@ -1,14 +0,0 @@
// Command collector 是 collector 的獨立命令列執行檔。
//
// 真正的邏輯全在 arcrun-rag/collector 套件裡(Run)。這支只是薄薄的外殼,
// 讓「單獨跑 collector」這條路(開發、除錯、伺服器端批次)繼續可用;
// 桌面 App 則直接呼叫同一個 Run——**兩者共用同一份程式碼,不是兩份**。
package main
import (
"os"
collector "arcrun-rag/collector"
)
func main() { os.Exit(collector.Run(os.Args[1:])) }