Skip to content

pantoken-root / ai/pantoken-ai/src / installAgentAssets

函式: installAgentAssets() ​

installAgentAssets(tool, dir?): string[]

Alpha(內測)

將 pantoken 的 agent 資產寫入消費者倉庫(針對某個工具)。

參數 ​

tool ​

AgentTool | "all"

特定的 AgentTool,或用 "all" 表示每個資產。

dir? ​

string

目標目錄(預設 ".")。

回傳 ​

string[]

已寫入的路徑。