Files
arcrun-collector/cmd/arcrun-app
Leo 01fbb21357 v0.18.16:修「明明連上卻說沒連上」——第三次「我這台好好的」
leo Windows 實測:首頁跳「需要你處理一下 ⇒ 還沒連上知識庫」,
但側邊欄有 geek6688、Portal 的庫目錄管理也看得到它的庫(win_on_mac_test_lib)。

## 真兇:又是「只看根層欄位」
`direct.go` 判連線只看 **根層** `cypher_url`/`api_key`,
而多帳號設定(現在的常態)根層是空的 ⇒ **恆判成沒連線**。
為什麼開發機沒事:leo 的 Mac config 帶著**單帳號時代留下的根層欄位**。
⇒ **今天第三次同一個模式**(另兩次:config 缺 manifest 靠舊檔補齊、
   啟動 log 用根層組出 `/webhooks/named//…`)。
修:抽出 `accountsConnected()`=「根層有 **或** 任一帳號有」,並補測試
(刻意用「只有 accounts、根層全空」=全新使用者的形狀)。

## 順帶:那句話還指錯路
訊息叫人「點托盤選單的『+ 新增帳號…』」——**托盤選單早就只剩「結束 Arcrun」**
(t194 起所有設定都在視窗裡)⇒ 使用者照著做會找不到入口。
改指「左邊『知識庫』下方的新增知識庫帳號」。

## 順帶修我自己的測試腳本(leo 實撞)
`① 測試最新版.bat` 用 `dir /o-d`(修改時間)挑版本 ⇒ 複製到共用資料夾後
時間順序不一定等於版本順序,**leo 那次挑到了 v0.18.13**。
改用 `dir /on`(檔名排序)取最後一個。
另把「固定等 20 秒」改成「等你操作完按 Enter 再收 log」——
清空後第一次跑,引擎本來就不該啟動,等 20 秒收到的是空的。

## 附帶確認(leo 截圖)
- 「有 1 個檔案沒有被整理」**已列出檔名**(`scripts/sdd-active-check.sh`)⇒ 08-06 那個修正生效
- Portal 庫目錄管理三個庫都在(含 Windows 的 `win_on_mac_test_lib`)⇒ 子庫沒出現是假警報
2026-08-06 19:57:05 +08:00
..

README

About

This is the official Wails Vanilla template.

You can configure the project by editing wails.json. More information about the project settings can be found here: https://wails.io/docs/reference/project-config

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.