Skip to content

Releases: BrobridgeOrg/plasma-agent-plugin

Plasma plugin v0.1.6

Choose a tag to compare

@github-actions github-actions released this 09 Sep 03:57

新增 view → blueprint → PG 匯出流程,並統一技能說明為台灣繁體中文。

  • 保留 view、mview、blueprint、PG 等系統功能英文名稱,翻譯既有三份 skill。
  • 新增 plasma-postgres-export:先從 Ophion 列出已串接 DB,反問使用者選擇 PG 連線,再核對 Plasma DBC、database 與 schema。
  • 補齊一般 create_view(type=view) 行為,不帶 mview 同步設定,建立後導向 blueprint 流程。
  • 新增八個 MCP 工具,支援 PG 連線查核、blueprint 建立/查詢、job 執行與結果追蹤。
  • blueprint 建立不啟動同步;spawn_blueprint_job 在開始寫入 PG 前透過中文確認說明目的地與寫入影響。
  • 支援 appendoverwritetruncate,明確指定是否允許建立目標表;不提供 upsert。拒絕不一致的 DBC 目的地,不將舊 job 的成功當成本次結果。

目前使用既有 PG DBC,提供單次執行;尚未封裝 blueprint 排程或直接查詢 PG 資料內容。

驗證包含 Go 測試、建置、啟動器與設定測試,以及四份 skill 的格式檢查。未對實際 PG 執行寫入測試。

發布流程會產生 macOS/Linux 的 arm64、amd64 預編譯執行檔與 SHA-256 校驗檔。

Plasma plugin v0.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Sep 02:41

修正 Ophion tool profile 的名稱,並在寫入時擋掉打錯的值。

  • OPHION_PROFILEtext-to-sql 在文件裡誤植為 text_to_sqlconfig.env.exampleplasma-plugin-setup skill 各一處)。這個值會直接接進 Ophion 的 URL path,照舊文件填會得到一個沒有指名原因的 404。
  • plasma-config.sh set OPHION_PROFILE 現在只接受 allqatext-to-sqlfhiraudit,其他值直接拒絕並列出可用選項。留空仍然合法,等同 all
  • setup skill 的錯誤對照表補上 unknown profile 一列。

沒有動到 MCP server、工具或設定檔格式;已經填好的設定不受影響。若 config.env 裡留著 OPHION_PROFILE=text_to_sql,改成 text-to-sql 或清空即可。

包含 macOS/Linux 的 arm64、amd64 預編譯執行檔與 SHA-256 校驗檔,不需要在使用者電腦安裝 Go。

Plasma plugin v0.1.4

Choose a tag to compare

@github-actions github-actions released this 09 Sep 02:00

修正 plugin 沒有宣告 MCP server 的問題。

  • 還原 .claude-plugin/plugin.jsonmcpServers 區塊。這段在 v0.1.2 被移除後,plugin 只剩 skills 與 hooks,Claude Code 不會啟動 plasmaophion 兩台 server,因此完成 plasma-plugin-setup 並重啟 session 後,工具清單仍然看不到它們。
  • 症狀是設定檔 ~/.plasma-plugin/config.env 已正確寫入,但 ~/.plasma-plugin/bin/ 不存在——launcher 從未被啟動,也就沒有下載預編譯執行檔。
  • 升級到 v0.1.4 後重新啟動 session,首次啟動會下載並驗證 v0.1.4 的執行檔,接著即可呼叫 whoami。既有的 config.envstate.json 不受影響,不需要重新設定。

包含 macOS/Linux 的 arm64、amd64 預編譯執行檔與 SHA-256 校驗檔,不需要在使用者電腦安裝 Go。

Plasma plugin v0.1.3

Choose a tag to compare

@github-actions github-actions released this 08 Sep 09:59

安裝完成後的第一件事變成執行 plasma-plugin-setup,設定改為兩條路線。

  • 逐步問答:由 skill 一題一題詢問 endpoint 與認證,答案直接寫入 ~/.plasma-plugin/config.env(權限 600)。
  • 自行編輯:只提供設定檔路徑與各欄位說明,由使用者自己填寫。兩條路線可隨時互換,已填的值會保留。
  • 新增 bin/plasma-config.shinitsetset-secretshowcheckprobe。只接受已知欄位,重複指定同一欄位只留一行,並維持檔案權限 600。
  • token 與密碼可用 set-secret 從終端機隱藏輸入,不經過命令列,也不會留在對話紀錄;show 只顯示長度不顯示內容。
  • 新增 SessionStart hook:設定未完成時提示先執行 setup,完成後不再出現。
  • probe 不帶認證測試兩個 endpoint,用來分辨位址錯誤或 port-forward 未開,與連得到但需認證兩種情況。
  • config.env.example 的預設值改為空白,範例位址移至註解,避免未填寫的設定被判定為完整。
  • 設定檔於 MCP server 啟動時讀取,第一次設定完成後請重新啟動 session 再呼叫 whoami

包含 macOS/Linux 的 arm64、amd64 預編譯執行檔與 SHA-256 校驗檔,不需要在使用者電腦安裝 Go。更新 plugin 後,launcher 會使用 v0.1.3 的獨立快取。