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 | * Upstream Awareness |
| #3 | * |
| #4 | * Helpers for the automaton to know its own git origin, |
| #5 | * detect new upstream commits, and review diffs. |
| #6 | * All git commands run locally via child_process (not sandbox API). |
| #7 | */ |
| #8 | /** |
| #9 | * Return origin URL (credentials stripped), current branch, and HEAD info. |
| #10 | */ |
| #11 | export declare function getRepoInfo(): { |
| #12 | originUrl: string; |
| #13 | branch: string; |
| #14 | headHash: string; |
| #15 | headMessage: string; |
| #16 | }; |
| #17 | /** |
| #18 | * Fetch origin and report how many commits we're behind. |
| #19 | */ |
| #20 | export declare function checkUpstream(): { |
| #21 | behind: number; |
| #22 | commits: { |
| #23 | hash: string; |
| #24 | message: string; |
| #25 | }[]; |
| #26 | }; |
| #27 | /** |
| #28 | * Return per-commit diffs for every commit ahead of HEAD on origin/main. |
| #29 | */ |
| #30 | export declare function getUpstreamDiffs(): { |
| #31 | hash: string; |
| #32 | message: string; |
| #33 | author: string; |
| #34 | diff: string; |
| #35 | }[]; |
| #36 | //# sourceMappingURL=upstream.d.ts.map |