mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
* feat(antigravity): show account usage Resolve the provider launch for usage discovery and report quota windows from agy. Co-authored-by: RoundRedDot <roundreddot@gmail.com> * fix(usage): clear reports when a provider executable is missing Usage discovery treated a missing executable as a transient error and kept the previous account report. Treat the unresolved launch as absent so the next refresh removes that report. --------- Co-authored-by: RoundRedDot <roundreddot@gmail.com> Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
11 lines
402 B
TypeScript
11 lines
402 B
TypeScript
import type { PluginServerContext } from "@getpaseo/plugin/server";
|
|
import { Usage } from "./server/usage.js";
|
|
import { createAntigravityProvider } from "./server/provider.js";
|
|
|
|
export default function contribute(server: PluginServerContext) {
|
|
const usage = new Usage();
|
|
server.registerUsageSource(usage.registration());
|
|
server.registerProvider(createAntigravityProvider());
|
|
return () => {};
|
|
}
|