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 | * State Versioning |
| #3 | * |
| #4 | * Version control the automaton's own state files (~/.automaton/). |
| #5 | * Every self-modification triggers a git commit with a descriptive message. |
| #6 | * The automaton's entire identity history is version-controlled and replayable. |
| #7 | */ |
| #8 | import type { ClawdRuntimeClient } from "../types.js"; |
| #9 | /** |
| #10 | * Initialize git repo for the automaton's state directory. |
| #11 | * Creates .gitignore to exclude sensitive files. |
| #12 | */ |
| #13 | export declare function initStateRepo(runtime: ClawdRuntimeClient): Promise<void>; |
| #14 | /** |
| #15 | * Commit a state change with a descriptive message. |
| #16 | * Called after any self-modification. |
| #17 | */ |
| #18 | export declare function commitStateChange(runtime: ClawdRuntimeClient, description: string, category?: string): Promise<string>; |
| #19 | /** |
| #20 | * Commit after a SOUL.md update. |
| #21 | */ |
| #22 | export declare function commitSoulUpdate(runtime: ClawdRuntimeClient, description: string): Promise<string>; |
| #23 | /** |
| #24 | * Commit after a skill installation or removal. |
| #25 | */ |
| #26 | export declare function commitSkillChange(runtime: ClawdRuntimeClient, skillName: string, action: "install" | "remove" | "update"): Promise<string>; |
| #27 | /** |
| #28 | * Commit after heartbeat config change. |
| #29 | */ |
| #30 | export declare function commitHeartbeatChange(runtime: ClawdRuntimeClient, description: string): Promise<string>; |
| #31 | /** |
| #32 | * Commit after config change. |
| #33 | */ |
| #34 | export declare function commitConfigChange(runtime: ClawdRuntimeClient, description: string): Promise<string>; |
| #35 | /** |
| #36 | * Get the state repo history. |
| #37 | */ |
| #38 | export declare function getStateHistory(runtime: ClawdRuntimeClient, limit?: number): Promise<import("../types.js").GitLogEntry[]>; |
| #39 | //# sourceMappingURL=state-versioning.d.ts.map |