This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/openclaw/dist/plugin-sdk/pi-model-discovery-CLgDNnGq.js
T

13 lines
556 B
JavaScript

import path from "node:path";
import { AuthStorage, AuthStorage as AuthStorage$1, ModelRegistry, ModelRegistry as ModelRegistry$1 } from "@mariozechner/pi-coding-agent";
//#region src/agents/pi-model-discovery.ts
function discoverAuthStorage(agentDir) {
return new AuthStorage(path.join(agentDir, "auth.json"));
}
function discoverModels(authStorage, agentDir) {
return new ModelRegistry(authStorage, path.join(agentDir, "models.json"));
}
//#endregion
export { discoverModels as i, ModelRegistry$1 as n, discoverAuthStorage as r, AuthStorage$1 as t };