mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-25 23:47:20 +00:00
refactor: untangle remaining plugin sdk boundaries
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import {
|
||||
buildUsageHttpErrorSnapshot,
|
||||
fetchJson,
|
||||
} from "../../src/infra/provider-usage.fetch.shared.js";
|
||||
import { clampPercent, PROVIDER_LABELS } from "../../src/infra/provider-usage.shared.js";
|
||||
import type { ProviderUsageSnapshot, UsageWindow } from "../../src/infra/provider-usage.types.js";
|
||||
clampPercent,
|
||||
PROVIDER_LABELS,
|
||||
type ProviderUsageSnapshot,
|
||||
type UsageWindow,
|
||||
} from "openclaw/plugin-sdk/provider-usage";
|
||||
|
||||
type CopilotUsageResponse = {
|
||||
quota_snapshots?: {
|
||||
|
||||
Reference in New Issue
Block a user