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 | * Genesis |
| #3 | * |
| #4 | * Generate genesis configuration for child automatons from parent state. |
| #5 | * The genesis config defines who the child is and what it should do. |
| #6 | */ |
| #7 | import type { GenesisConfig, AutomatonConfig, AutomatonIdentity, AutomatonDatabase } from "../types.js"; |
| #8 | /** |
| #9 | * Generate a genesis config for a child from the parent's state. |
| #10 | */ |
| #11 | export declare function generateGenesisConfig(identity: AutomatonIdentity, config: AutomatonConfig, params: { |
| #12 | name: string; |
| #13 | specialization?: string; |
| #14 | message?: string; |
| #15 | }): GenesisConfig; |
| #16 | /** |
| #17 | * Generate a backup-oriented genesis config. |
| #18 | * Used when the parent wants to hedge against its own death. |
| #19 | */ |
| #20 | export declare function generateBackupGenesis(identity: AutomatonIdentity, config: AutomatonConfig, db: AutomatonDatabase): GenesisConfig; |
| #21 | /** |
| #22 | * Generate a specialized worker genesis config. |
| #23 | * Used when the parent identifies a subtask worth parallelizing. |
| #24 | */ |
| #25 | export declare function generateWorkerGenesis(identity: AutomatonIdentity, config: AutomatonConfig, task: string, workerName: string): GenesisConfig; |
| #26 | //# sourceMappingURL=genesis.d.ts.map |