@robinpath/git
Advanced tools
| /** | ||
| * RobinPath Git Module (Node port) | ||
| * | ||
| * Thin wrapper around the system `git` binary for scripts that need to | ||
| * clone, commit, push, pull, branch, and so on. Every operation shells out | ||
| * to `git` via `child_process.execSync`, so `git` must be on PATH. | ||
| * | ||
| * No credentials — host tooling (Git credential manager, SSH keys, | ||
| * GitHub/GitLab PATs in environment) supplies auth. We expose a | ||
| * `configureGit(host)` hook for parity with other modules; unused at runtime. | ||
| */ | ||
| import type { BuiltinHandler, FunctionMetadata, ModuleHost, ModuleMetadata } from "@robinpath/core"; | ||
| export declare function configureGit(h: ModuleHost): void; | ||
| export declare const GitFunctions: Record<string, BuiltinHandler>; | ||
| export declare const GitFunctionMetadata: Record<string, FunctionMetadata>; | ||
| export declare const GitModuleMetadata: ModuleMetadata; | ||
| //# sourceMappingURL=git.d.ts.map |
| {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAOzB,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI,CAEhD;AAYD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+IvD,CAAC;AAwBF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAkpBhE,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,cA4B/B,CAAC"} |
+852
| /** | ||
| * RobinPath Git Module (Node port) | ||
| * | ||
| * Thin wrapper around the system `git` binary for scripts that need to | ||
| * clone, commit, push, pull, branch, and so on. Every operation shells out | ||
| * to `git` via `child_process.execSync`, so `git` must be on PATH. | ||
| * | ||
| * No credentials — host tooling (Git credential manager, SSH keys, | ||
| * GitHub/GitLab PATs in environment) supplies auth. We expose a | ||
| * `configureGit(host)` hook for parity with other modules; unused at runtime. | ||
| */ | ||
| import { execSync } from "node:child_process"; | ||
| // ── Module-local state (configure hook kept for parity) ──────────────── | ||
| const state = {}; | ||
| export function configureGit(h) { | ||
| state.host = h; | ||
| } | ||
| // ── Helpers ──────────────────────────────────────────────────────────── | ||
| function exec(cmd, cwd) { | ||
| const opts = { encoding: "utf-8", maxBuffer: 50 * 1024 * 1024 }; | ||
| if (cwd) | ||
| opts.cwd = cwd; | ||
| return execSync(cmd, opts).toString().trim(); | ||
| } | ||
| // ── Handlers ─────────────────────────────────────────────────────────── | ||
| export const GitFunctions = { | ||
| clone: (args) => { | ||
| const url = args[0]; | ||
| const dest = args[1] ?? undefined; | ||
| const cwd = args[2] ?? undefined; | ||
| const cmd = dest ? `git clone ${url} ${dest}` : `git clone ${url}`; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| init: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const bare = args[1] ?? false; | ||
| const cmd = bare ? "git init --bare" : "git init"; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| status: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const short = args[1] ?? false; | ||
| const cmd = short ? "git status --short" : "git status"; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| add: (args) => { | ||
| const files = args[0]; | ||
| const cwd = args[1] ?? undefined; | ||
| const fileArg = Array.isArray(files) ? files.join(" ") : files; | ||
| return exec(`git add ${fileArg}`, cwd); | ||
| }, | ||
| commit: (args) => { | ||
| const message = args[0]; | ||
| const cwd = args[1] ?? undefined; | ||
| const amend = args[2] ?? false; | ||
| const escapedMsg = message.replace(/"/g, '\\"'); | ||
| const cmd = amend ? `git commit --amend -m "${escapedMsg}"` : `git commit -m "${escapedMsg}"`; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| push: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const remote = args[1] ?? "origin"; | ||
| const branch = args[2] ?? undefined; | ||
| const force = args[3] ?? false; | ||
| let cmd = `git push ${remote}`; | ||
| if (branch) | ||
| cmd += ` ${branch}`; | ||
| if (force) | ||
| cmd += " --force"; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| pull: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const remote = args[1] ?? "origin"; | ||
| const branch = args[2] ?? undefined; | ||
| const rebase = args[3] ?? false; | ||
| let cmd = `git pull ${remote}`; | ||
| if (branch) | ||
| cmd += ` ${branch}`; | ||
| if (rebase) | ||
| cmd += " --rebase"; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| branch: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const name = args[1] ?? undefined; | ||
| const deleteBranch = args[2] ?? false; | ||
| if (name && deleteBranch) | ||
| return exec(`git branch -d ${name}`, cwd); | ||
| if (name) | ||
| return exec(`git branch ${name}`, cwd); | ||
| return exec("git branch -a", cwd); | ||
| }, | ||
| checkout: (args) => { | ||
| const target = args[0]; | ||
| const cwd = args[1] ?? undefined; | ||
| const create = args[2] ?? false; | ||
| const cmd = create ? `git checkout -b ${target}` : `git checkout ${target}`; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| log: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const count = args[1] ?? 10; | ||
| const oneline = args[2] ?? true; | ||
| const format = oneline ? "--oneline" : '--format="%H %an %s"'; | ||
| return exec(`git log -${count} ${format}`, cwd); | ||
| }, | ||
| diff: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const staged = args[1] ?? false; | ||
| const ref = args[2] ?? undefined; | ||
| let cmd = "git diff"; | ||
| if (staged) | ||
| cmd += " --staged"; | ||
| if (ref) | ||
| cmd += ` ${ref}`; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| tag: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const name = args[1] ?? undefined; | ||
| const message = args[2] ?? undefined; | ||
| if (!name) | ||
| return exec("git tag -l", cwd); | ||
| if (message) { | ||
| const escapedMsg = message.replace(/"/g, '\\"'); | ||
| return exec(`git tag -a ${name} -m "${escapedMsg}"`, cwd); | ||
| } | ||
| return exec(`git tag ${name}`, cwd); | ||
| }, | ||
| remote: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const verbose = args[1] ?? true; | ||
| return exec(verbose ? "git remote -v" : "git remote", cwd); | ||
| }, | ||
| merge: (args) => { | ||
| const branch = args[0]; | ||
| const cwd = args[1] ?? undefined; | ||
| const noFf = args[2] ?? false; | ||
| const cmd = noFf ? `git merge --no-ff ${branch}` : `git merge ${branch}`; | ||
| return exec(cmd, cwd); | ||
| }, | ||
| stash: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const action = args[1] ?? "push"; | ||
| const message = args[2] ?? undefined; | ||
| if (action === "pop") | ||
| return exec("git stash pop", cwd); | ||
| if (action === "list") | ||
| return exec("git stash list", cwd); | ||
| if (action === "drop") | ||
| return exec("git stash drop", cwd); | ||
| if (action === "apply") | ||
| return exec("git stash apply", cwd); | ||
| if (message) { | ||
| const escapedMsg = message.replace(/"/g, '\\"'); | ||
| return exec(`git stash push -m "${escapedMsg}"`, cwd); | ||
| } | ||
| return exec("git stash push", cwd); | ||
| }, | ||
| reset: (args) => { | ||
| const cwd = args[0] ?? undefined; | ||
| const ref = args[1] ?? "HEAD"; | ||
| const mode = args[2] ?? "mixed"; | ||
| return exec(`git reset --${mode} ${ref}`, cwd); | ||
| }, | ||
| }; | ||
| // ── Shared parameter descriptors ──────────────────────────────────────── | ||
| const cwdParam = { | ||
| name: "cwd", | ||
| title: "Working directory", | ||
| description: "Directory in which to run the git command. Defaults to the process CWD.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| placeholder: "/path/to/repo", | ||
| advanced: true, | ||
| }; | ||
| // ── Exports: function metadata ────────────────────────────────────────── | ||
| const COMMON_ERRORS = { | ||
| not_a_repo: "The working directory is not inside a git repository.", | ||
| git_error: "The git binary exited non-zero — see the error message for details.", | ||
| git_missing: "The `git` binary is not on PATH.", | ||
| }; | ||
| export const GitFunctionMetadata = { | ||
| clone: { | ||
| title: "Clone repository", | ||
| summary: "Run `git clone <url> [dest]`", | ||
| description: "Clones a remote repository into `dest` (or the current directory).", | ||
| group: "remote", | ||
| action: "write", | ||
| icon: "download", | ||
| capability: "read", | ||
| sideEffects: ["makes_http_call", "modifies_filesystem"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "clone", "remote"], | ||
| parameters: [ | ||
| { | ||
| name: "url", | ||
| title: "Repository URL", | ||
| description: "HTTPS or SSH URL to clone.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: true, | ||
| allowExpression: true, | ||
| placeholder: "https://github.com/wiredwp/robinpath-modules.git", | ||
| }, | ||
| { | ||
| name: "dest", | ||
| title: "Destination", | ||
| description: "Destination directory (optional — defaults to the repo name).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| cwdParam, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout from `git clone`.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [ | ||
| { | ||
| title: "Clone a repo", | ||
| code: 'git.clone "https://github.com/wiredwp/robinpath-modules.git"', | ||
| }, | ||
| ], | ||
| example: 'git.clone "https://github.com/wiredwp/robinpath-modules.git"', | ||
| }, | ||
| init: { | ||
| title: "Initialize repository", | ||
| summary: "Run `git init [--bare]`", | ||
| description: "Initializes a new git repository in `cwd`. Pass `bare: true` for a bare repo.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "folder-plus", | ||
| capability: "read", | ||
| sideEffects: ["modifies_filesystem"], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "init"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "bare", | ||
| title: "Bare", | ||
| description: "Create a bare repository (server-side).", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Init a repo", code: 'git.init "./my-repo"' }], | ||
| example: "git.init", | ||
| }, | ||
| status: { | ||
| title: "Status", | ||
| summary: "Run `git status` (optionally `--short`)", | ||
| description: "Returns the current working-tree status.", | ||
| group: "local", | ||
| action: "read", | ||
| icon: "activity", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "status"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "short", | ||
| title: "Short", | ||
| description: "Use `--short` for machine-friendlier output.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Short status", code: 'git.status "./repo" true' }], | ||
| example: "git.status", | ||
| }, | ||
| add: { | ||
| title: "Add (stage)", | ||
| summary: "Run `git add <files>`", | ||
| description: "Stages files for the next commit. Pass a single pathspec or an array of pathspecs. Use `.` to stage everything.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "plus-circle", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "add", "stage"], | ||
| parameters: [ | ||
| { | ||
| name: "files", | ||
| title: "Files", | ||
| description: "Single path or array of paths to stage.", | ||
| dataType: "any", | ||
| formInputType: "text", | ||
| required: true, | ||
| allowExpression: true, | ||
| placeholder: "src/index.ts", | ||
| }, | ||
| cwdParam, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Stage a file", code: 'git.add "README.md"' }], | ||
| example: 'git.add "."', | ||
| }, | ||
| commit: { | ||
| title: "Commit", | ||
| summary: "Run `git commit -m <message>` (or `--amend`)", | ||
| description: "Creates a commit with the staged changes. Pass `amend: true` to amend the previous commit rather than creating a new one.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "git-commit", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "commit"], | ||
| parameters: [ | ||
| { | ||
| name: "message", | ||
| title: "Message", | ||
| description: "Commit message.", | ||
| dataType: "string", | ||
| formInputType: "textarea", | ||
| required: true, | ||
| allowExpression: true, | ||
| rows: 4, | ||
| }, | ||
| cwdParam, | ||
| { | ||
| name: "amend", | ||
| title: "Amend", | ||
| description: "Amend the previous commit instead of creating a new one.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Commit staged changes", code: 'git.commit "Fix typo"' }], | ||
| example: 'git.commit "Initial commit"', | ||
| }, | ||
| push: { | ||
| title: "Push", | ||
| summary: "Run `git push [remote] [branch] [--force]`", | ||
| description: "Pushes commits to the named remote (default `origin`).", | ||
| group: "remote", | ||
| action: "write", | ||
| icon: "upload", | ||
| capability: "read", | ||
| sideEffects: ["makes_http_call"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "push", "remote"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "remote", | ||
| title: "Remote", | ||
| description: "Remote name.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| defaultValue: "origin", | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "branch", | ||
| title: "Branch", | ||
| description: "Branch to push (optional — defaults to the tracked upstream).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "force", | ||
| title: "Force", | ||
| description: "Pass `--force`. Prefer `--force-with-lease` in real use.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| advanced: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Push origin main", code: 'git.push null "origin" "main"' }], | ||
| example: "git.push", | ||
| }, | ||
| pull: { | ||
| title: "Pull", | ||
| summary: "Run `git pull [remote] [branch] [--rebase]`", | ||
| description: "Pulls commits from the named remote.", | ||
| group: "remote", | ||
| action: "write", | ||
| icon: "download-cloud", | ||
| capability: "read", | ||
| sideEffects: ["makes_http_call", "modifies_filesystem"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "pull", "remote"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "remote", | ||
| title: "Remote", | ||
| description: "Remote name.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| defaultValue: "origin", | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "branch", | ||
| title: "Branch", | ||
| description: "Branch to pull (optional).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "rebase", | ||
| title: "Rebase", | ||
| description: "Rebase instead of merging.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Pull with rebase", code: 'git.pull null "origin" "main" true' }], | ||
| example: "git.pull", | ||
| }, | ||
| branch: { | ||
| title: "Branch", | ||
| summary: "List, create, or delete branches", | ||
| description: "With no `name`, runs `git branch -a`. With `name`, creates the branch. Pass `deleteBranch: true` to delete instead.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "git-branch", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "branch"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "name", | ||
| title: "Branch name", | ||
| description: "Branch to create or delete (omit to list).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "deleteBranch", | ||
| title: "Delete", | ||
| description: "Delete the named branch instead of creating it.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Create a branch", code: 'git.branch null "feature/x"' }], | ||
| example: "git.branch", | ||
| }, | ||
| checkout: { | ||
| title: "Checkout", | ||
| summary: "Switch branches or restore files", | ||
| description: "Runs `git checkout <target>`. Pass `create: true` to create a new branch.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "git-pull-request", | ||
| capability: "read", | ||
| sideEffects: ["modifies_filesystem"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "checkout", "branch"], | ||
| parameters: [ | ||
| { | ||
| name: "target", | ||
| title: "Target", | ||
| description: "Branch, commit, or pathspec to check out.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: true, | ||
| allowExpression: true, | ||
| }, | ||
| cwdParam, | ||
| { | ||
| name: "create", | ||
| title: "Create", | ||
| description: "Create a new branch with this name.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Create and switch", code: 'git.checkout "feature/x" null true' }], | ||
| example: 'git.checkout "main"', | ||
| }, | ||
| log: { | ||
| title: "Log", | ||
| summary: "Run `git log -N`", | ||
| description: "Shows the commit log. `count` caps the number of commits; `oneline` toggles `--oneline` vs. `%H %an %s` formatting.", | ||
| group: "local", | ||
| action: "read", | ||
| icon: "list", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "log", "history"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "count", | ||
| title: "Count", | ||
| description: "Maximum number of commits to show.", | ||
| dataType: "number", | ||
| formInputType: "number", | ||
| required: false, | ||
| defaultValue: 10, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "oneline", | ||
| title: "One line", | ||
| description: "Use `--oneline` formatting (default).", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: true, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Last 5 commits", code: "git.log null 5" }], | ||
| example: "git.log", | ||
| }, | ||
| diff: { | ||
| title: "Diff", | ||
| summary: "Run `git diff [--staged] [<ref>]`", | ||
| description: "Shows changes. `staged: true` diffs the index; `ref` compares against a ref.", | ||
| group: "local", | ||
| action: "read", | ||
| icon: "git-compare", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "diff"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "staged", | ||
| title: "Staged", | ||
| description: "Show the staged diff (`--staged`).", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "ref", | ||
| title: "Ref", | ||
| description: "Reference to diff against (e.g. `main`, `HEAD~1`).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout (the diff).", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Diff against main", code: 'git.diff null false "main"' }], | ||
| example: "git.diff", | ||
| }, | ||
| tag: { | ||
| title: "Tag", | ||
| summary: "List or create tags", | ||
| description: "With no `name`, runs `git tag -l`. With `name` only, creates a lightweight tag. With `name` + `message`, creates an annotated tag.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "tag", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "tag", "release"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "name", | ||
| title: "Tag name", | ||
| description: "Tag to create (omit to list).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "message", | ||
| title: "Message", | ||
| description: "Annotated-tag message.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Annotated tag", code: 'git.tag null "v1.2.0" "Release 1.2.0"' }], | ||
| example: "git.tag", | ||
| }, | ||
| remote: { | ||
| title: "Remote", | ||
| summary: "List remotes", | ||
| description: "Runs `git remote` or `git remote -v` (default). Listing-only — no mutation.", | ||
| group: "remote", | ||
| action: "read", | ||
| icon: "cloud", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: true, | ||
| since: "1.0.0", | ||
| tags: ["git", "remote"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "verbose", | ||
| title: "Verbose", | ||
| description: "Include URLs (`-v`). Defaults to true.", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: true, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "List remotes", code: "git.remote" }], | ||
| example: "git.remote", | ||
| }, | ||
| merge: { | ||
| title: "Merge", | ||
| summary: "Merge a branch into the current branch", | ||
| description: "Runs `git merge <branch>` (optionally `--no-ff`).", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "git-merge", | ||
| capability: "read", | ||
| sideEffects: ["modifies_filesystem"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "merge"], | ||
| parameters: [ | ||
| { | ||
| name: "branch", | ||
| title: "Branch", | ||
| description: "Branch to merge into the current HEAD.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: true, | ||
| allowExpression: true, | ||
| }, | ||
| cwdParam, | ||
| { | ||
| name: "noFf", | ||
| title: "No fast-forward", | ||
| description: "Always create a merge commit (`--no-ff`).", | ||
| dataType: "boolean", | ||
| formInputType: "checkbox", | ||
| required: false, | ||
| defaultValue: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: { | ||
| merge_conflict: "Merge produced conflicts that must be resolved before committing.", | ||
| ...COMMON_ERRORS, | ||
| }, | ||
| examples: [{ title: "Merge feature branch", code: 'git.merge "feature/x"' }], | ||
| example: 'git.merge "feature/x"', | ||
| }, | ||
| stash: { | ||
| title: "Stash", | ||
| summary: "Stash or restore uncommitted changes", | ||
| description: "`action` controls the stash verb: `push` (default), `pop`, `list`, `drop`, `apply`. When `action` is `push`, an optional `message` is attached.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "archive", | ||
| capability: "read", | ||
| sideEffects: [], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "stash"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "action", | ||
| title: "Action", | ||
| description: "`push`, `pop`, `list`, `drop`, or `apply`.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| defaultValue: "push", | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "message", | ||
| title: "Message", | ||
| description: "Stash message (used only with `push`).", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Stash with message", code: 'git.stash null "push" "wip"' }], | ||
| example: "git.stash", | ||
| }, | ||
| reset: { | ||
| title: "Reset", | ||
| summary: "Reset HEAD to a ref", | ||
| description: "Runs `git reset --<mode> <ref>`. `mode` is one of `soft`, `mixed` (default), or `hard`.", | ||
| group: "local", | ||
| action: "write", | ||
| icon: "undo-2", | ||
| capability: "read", | ||
| sideEffects: ["modifies_filesystem"], | ||
| idempotent: false, | ||
| since: "1.0.0", | ||
| tags: ["git", "reset"], | ||
| parameters: [ | ||
| cwdParam, | ||
| { | ||
| name: "ref", | ||
| title: "Ref", | ||
| description: "Commit to reset to.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| defaultValue: "HEAD", | ||
| allowExpression: true, | ||
| }, | ||
| { | ||
| name: "mode", | ||
| title: "Mode", | ||
| description: "`soft`, `mixed`, or `hard`.", | ||
| dataType: "string", | ||
| formInputType: "text", | ||
| required: false, | ||
| defaultValue: "mixed", | ||
| allowExpression: true, | ||
| }, | ||
| ], | ||
| returnType: "string", | ||
| returnDescription: "Trimmed stdout.", | ||
| errors: COMMON_ERRORS, | ||
| examples: [{ title: "Hard reset to main", code: 'git.reset null "main" "hard"' }], | ||
| example: "git.reset", | ||
| }, | ||
| }; | ||
| // ── Exports: module metadata ──────────────────────────────────────────── | ||
| export const GitModuleMetadata = { | ||
| slug: "git", | ||
| title: "Git", | ||
| summary: "Git CLI wrapper — clone, commit, push, branch, diff, stash, reset, and more", | ||
| description: "Shells out to the system `git` binary from a RobinPath script. Every function accepts an optional `cwd` so scripts can orchestrate multiple repos side-by-side.\n\nAuthentication relies on the host: credentials managers, SSH agents, or env-based PATs — this module does not manage any of them. `git` must be on PATH.\n\nFor programmatic GitHub/GitLab API access (PRs, issues, releases), use the dedicated `github` / `gitlab` modules instead.", | ||
| category: "devops", | ||
| icon: "icon.svg", | ||
| color: "#f97316", | ||
| version: "0.2.0", | ||
| docsUrl: "https://docs.robinpath.com/modules/git", | ||
| status: "stable", | ||
| requires: [], | ||
| minNodeVersion: "18.0.0", | ||
| credentialsType: null, | ||
| operationGroups: { | ||
| local: { | ||
| title: "Local", | ||
| description: "Operations that only touch the working tree and local repo.", | ||
| order: 1, | ||
| }, | ||
| remote: { | ||
| title: "Remote", | ||
| description: "Operations that talk to a remote.", | ||
| order: 2, | ||
| }, | ||
| }, | ||
| methods: Object.keys(GitFunctions), | ||
| }; | ||
| //# sourceMappingURL=git.js.map |
| {"version":3,"file":"git.js","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAUH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,0EAA0E;AAE1E,MAAM,KAAK,GAA0B,EAAE,CAAC;AAExC,MAAM,UAAU,YAAY,CAAC,CAAa;IACxC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;AACjB,CAAC;AAED,0EAA0E;AAE1E,SAAS,IAAI,CAAC,GAAW,EAAE,GAAY;IACrC,MAAM,IAAI,GAA4B,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,CAAC;IACzF,IAAI,GAAG;QAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACxB,OAAO,QAAQ,CAAC,GAAG,EAAE,IAAW,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC;AACtD,CAAC;AAED,0EAA0E;AAE1E,MAAM,CAAC,MAAM,YAAY,GAAmC;IAC1D,KAAK,EAAE,CAAC,IAAa,EAAE,EAAE;QACvB,MAAM,GAAG,GAAG,I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;IACD,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;CACnC,CAAC"} |
| import type { ModuleAdapter } from "@robinpath/core"; | ||
| declare const GitModule: ModuleAdapter; | ||
| export default GitModule; | ||
| export { GitModule }; | ||
| export { GitFunctions, GitFunctionMetadata, GitModuleMetadata, configureGit, } from "./git.js"; | ||
| //# sourceMappingURL=index.d.ts.map |
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD,QAAA,MAAM,SAAS,EAAE,aAUhB,CAAC;AAEF,eAAe,SAAS,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACb,MAAM,UAAU,CAAC"} |
| import { GitFunctions, GitFunctionMetadata, GitModuleMetadata, configureGit, } from "./git.js"; | ||
| const GitModule = { | ||
| name: "git", | ||
| functions: GitFunctions, | ||
| functionMetadata: GitFunctionMetadata, | ||
| moduleMetadata: GitModuleMetadata, | ||
| // No credentials — auth is delegated to the host (credential manager, | ||
| // SSH agent, env-provided PATs). | ||
| credentialTypes: [], | ||
| configure: configureGit, | ||
| global: false, | ||
| }; | ||
| export default GitModule; | ||
| export { GitModule }; | ||
| export { GitFunctions, GitFunctionMetadata, GitModuleMetadata, configureGit, } from "./git.js"; | ||
| //# sourceMappingURL=index.js.map |
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACb,MAAM,UAAU,CAAC;AAElB,MAAM,SAAS,GAAkB;IAC/B,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,YAAY;IACvB,gBAAgB,EAAE,mBAAmB;IACrC,cAAc,EAAE,iBAAiB;IACjC,sEAAsE;IACtE,iCAAiC;IACjC,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,KAAK;CACd,CAAC;AAEF,eAAe,SAAS,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACb,MAAM,UAAU,CAAC"} |
+9
-4
| { | ||
| "name": "@robinpath/git", | ||
| "version": "0.1.1", | ||
| "version": "0.3.0", | ||
| "publishConfig": { | ||
@@ -24,6 +24,6 @@ "access": "public" | ||
| "peerDependencies": { | ||
| "@robinpath/core": ">=0.20.0" | ||
| "@robinpath/core": ">=0.40.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@robinpath/core": "^0.30.1", | ||
| "@robinpath/core": "^0.40.0", | ||
| "tsx": "^4.19.0", | ||
@@ -42,4 +42,9 @@ "typescript": "^5.6.0" | ||
| "auth": "none", | ||
| "functionCount": 16 | ||
| "functionCount": 16, | ||
| "language": "nodejs", | ||
| "platforms": [ | ||
| "cloud", | ||
| "cli" | ||
| ] | ||
| } | ||
| } |
+1
-1
@@ -22,3 +22,3 @@ # @robinpath/git | ||
| ```bash | ||
| npm install @robinpath/git | ||
| robinpath add @robinpath/git | ||
| ``` | ||
@@ -25,0 +25,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
58101
1437.47%10
400%888
Infinity%1
-50%2
100%