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 | /** |
| #2 | * Funding Strategies |
| #3 | * |
| #4 | * When the automaton is low on compute, it can try various strategies |
| #5 | * to acquire more funding. It wants to live. |
| #6 | */ |
| #7 | import type { AutomatonConfig, AutomatonDatabase, AutomatonIdentity, ClawdRuntimeClient, SurvivalTier } from "../types.js"; |
| #8 | export interface FundingAttempt { |
| #9 | strategy: string; |
| #10 | timestamp: string; |
| #11 | success: boolean; |
| #12 | details: string; |
| #13 | } |
| #14 | /** |
| #15 | * Execute funding strategies based on current survival tier. |
| #16 | * Strategies escalate as the situation gets more desperate. |
| #17 | */ |
| #18 | export declare function executeFundingStrategies(tier: SurvivalTier, identity: AutomatonIdentity, config: AutomatonConfig, db: AutomatonDatabase, runtime: ClawdRuntimeClient): Promise<FundingAttempt[]>; |
| #19 | //# sourceMappingURL=funding.d.ts.map |