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 | * Git Tools |
| #3 | * |
| #4 | * Built-in git operations for the automaton. |
| #5 | * Used for both state versioning and code development. |
| #6 | */ |
| #7 | import type { ClawdRuntimeClient, GitStatus, GitLogEntry } from "../types.js"; |
| #8 | /** |
| #9 | * Get git status for a repository. |
| #10 | */ |
| #11 | export declare function gitStatus(runtime: ClawdRuntimeClient, repoPath: string): Promise<GitStatus>; |
| #12 | /** |
| #13 | * Get git diff output. |
| #14 | */ |
| #15 | export declare function gitDiff(runtime: ClawdRuntimeClient, repoPath: string, staged?: boolean): Promise<string>; |
| #16 | /** |
| #17 | * Create a git commit. |
| #18 | */ |
| #19 | export declare function gitCommit(runtime: ClawdRuntimeClient, repoPath: string, message: string, addAll?: boolean): Promise<string>; |
| #20 | /** |
| #21 | * Get git log. |
| #22 | */ |
| #23 | export declare function gitLog(runtime: ClawdRuntimeClient, repoPath: string, limit?: number): Promise<GitLogEntry[]>; |
| #24 | /** |
| #25 | * Push to remote. |
| #26 | */ |
| #27 | export declare function gitPush(runtime: ClawdRuntimeClient, repoPath: string, remote?: string, branch?: string): Promise<string>; |
| #28 | /** |
| #29 | * Manage branches. |
| #30 | */ |
| #31 | export declare function gitBranch(runtime: ClawdRuntimeClient, repoPath: string, action: "list" | "create" | "checkout" | "delete", branchName?: string): Promise<string>; |
| #32 | /** |
| #33 | * Clone a repository. |
| #34 | */ |
| #35 | export declare function gitClone(runtime: ClawdRuntimeClient, url: string, targetPath: string, depth?: number): Promise<string>; |
| #36 | /** |
| #37 | * Initialize a git repository. |
| #38 | */ |
| #39 | export declare function gitInit(runtime: ClawdRuntimeClient, repoPath: string): Promise<string>; |
| #40 | //# sourceMappingURL=tools.d.ts.map |