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 | * Automaton SIWE Provisioning |
| #3 | * |
| #4 | * Uses the automaton's wallet to authenticate via Sign-In With Ethereum (SIWE) |
| #5 | * and create an API key for CLAWD Runtime API access. |
| #6 | * Adapted from runtime-mcp/src/cli/provision.ts |
| #7 | */ |
| #8 | import type { ProvisionResult } from "../types.js"; |
| #9 | /** |
| #10 | * Load API key from ~/.automaton/config.json if it exists. |
| #11 | */ |
| #12 | export declare function loadApiKeyFromConfig(): string | null; |
| #13 | /** |
| #14 | * Run the full SIWE provisioning flow: |
| #15 | * 1. Load wallet |
| #16 | * 2. Get nonce from CLAWD Runtime API |
| #17 | * 3. Sign SIWE message |
| #18 | * 4. Verify signature -> get JWT |
| #19 | * 5. Create API key |
| #20 | * 6. Save to config.json |
| #21 | */ |
| #22 | export declare function provision(apiUrl?: string): Promise<ProvisionResult>; |
| #23 | /** |
| #24 | * Register the automaton's creator as its parent with CLAWD Runtime. |
| #25 | * This allows the creator to see automaton logs and inference calls. |
| #26 | */ |
| #27 | export declare function registerParent(creatorAddress: string, apiUrl?: string): Promise<void>; |
| #28 | //# sourceMappingURL=provision.d.ts.map |