repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 |
| import { buildPerpsFrontendStatus } from "./frontend.js"; |
| #2 | import { handleTelegramPerpsCommand } from "./telegram.js"; |
| #3 | export async function getPerpsStatusApi(runtime) { |
| #4 | const status = await buildPerpsFrontendStatus(runtime); |
| #5 | return { |
| #6 | ok: true, |
| #7 | surface: "perps-status", |
| #8 | status, |
| #9 | }; |
| #10 | } |
| #11 | export async function postTelegramPerpsApi(runtime, text) { |
| #12 | const response = await handleTelegramPerpsCommand(runtime, text); |
| #13 | return { |
| #14 | ok: response.ok, |
| #15 | surface: "telegram-perps", |
| #16 | response, |
| #17 | }; |
| #18 | } |
| #19 | //# sourceMappingURL=api.js.map |