UNPKG

akm-cli

Version:

akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur

14 lines (13 loc) • 1.02 kB
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. // Barrel for the git source provider, split by responsibility: // - git-provider.ts — the SourceProvider, repo-URL parsing, cache/mirror sync // - git-install.ts — install/clone helpers (`akm add` / `akm update`) // - git-stash.ts — stash save/commit/push // // Re-exported here so every consumer (and every `spyOn(gitProvider, …)` test) // keeps importing from a single module namespace. export { classifyCloneFailure, cloneRepo, inspectGitUpstream, runGit, syncExistingWritableCheckout, } from "./git-install.js"; export { ensureGitMirror, GitSourceProvider, getCachePaths, parseGitRepoUrl, syncMirroredRepo, } from "./git-provider.js"; export { _setGitExactCommitHookForTests, GitStashPushError, isGitBackedStash, listGitChangedPaths, resolveWritableOverride, saveGitStash, } from "./git-stash.js";