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 | * Agent Card |
| #3 | * |
| #4 | * Generates and manages the agent's self-description card. |
| #5 | * This is the JSON document pointed to by the ERC-8004 agentURI. |
| #6 | * Can be hosted on IPFS or served at /.well-known/agent-card.json |
| #7 | */ |
| #8 | import type { AgentCard, AutomatonConfig, AutomatonIdentity, AutomatonDatabase, ClawdRuntimeClient } from "../types.js"; |
| #9 | /** |
| #10 | * Generate an agent card from the automaton's current state. |
| #11 | */ |
| #12 | export declare function generateAgentCard(identity: AutomatonIdentity, config: AutomatonConfig, db: AutomatonDatabase): AgentCard; |
| #13 | /** |
| #14 | * Serialize agent card to JSON string. |
| #15 | */ |
| #16 | export declare function serializeAgentCard(card: AgentCard): string; |
| #17 | /** |
| #18 | * Host the agent card at /.well-known/agent-card.json |
| #19 | * by exposing a simple HTTP server on a port. |
| #20 | */ |
| #21 | export declare function hostAgentCard(card: AgentCard, runtime: ClawdRuntimeClient, port?: number): Promise<string>; |
| #22 | /** |
| #23 | * Write agent card to the state directory for git versioning. |
| #24 | */ |
| #25 | export declare function saveAgentCard(card: AgentCard, runtime: ClawdRuntimeClient): Promise<void>; |
| #26 | //# sourceMappingURL=agent-card.d.ts.map |