@blueforge-studio/forge-git-sdk

Typed SDK for the forge-git platform (Gitea API + forge-git-specific endpoints) — the same client the fgit CLI and the web wrap use

Package Info

Latest Version0.2.0
Licensenone
Keywords-
Repository-
Author-
Homepage-
Bugs-

Versions

VersionPublished
0.2.02026-10-13
0.1.02026-09-26

Per-version supply chain

VersionSigSBOMAtt
0.2.0
0.1.0

Click a version to view its details.

Supply chain

Provenance

Published by
web:14
When
2026-10-13T07:57:33Z
sha256 (registry-computed)
4ca140f6b72ff3fb7f6cb2b2982100b0fe7508a863bcae0d7cb55c9b85249822

Observed by the registry at publish.

Claimed by the build

The publisher claimed nothing about its build.

Attachments

Signature
none
SBOM
none

Dependencies

Loading dependency graph...

README

@blueforge-studio/forge-git-sdk

Typed SDK for the forge-git platform — self-hosted Gitea plus forge-git-specific endpoints. This is the same client the fgit CLI and the web wrap use, re-exported one-to-one.

Install

npm i @blueforge-studio/forge-git-sdk

The package is on the private packr registry — your project needs the @blueforge-studio scope map in .npmrc plus a PACKR_TOKEN-authorized token (see the packr docs). No runtime dependencies: the client and its one library dep are bundled into a single ESM file.

Quickstart

import { getPullRequest, mergePullRequest } from '@blueforge-studio/forge-git-sdk'

// Auth + base URL come from FORGE_GIT_TOKEN / FORGE_GIT_URL, or pass
// { token, baseUrl } per call.
const pr = await getPullRequest('blueforge-studio', 'my-repo', 42)
if (!pr.merged && pr.mergeable) {
  await mergePullRequest('blueforge-studio', 'my-repo', 42, { style: 'squash' })
}

Docs

  • SDK guide — install, auth, quickstart, error handling.
  • API reference — every function, by area, plus the forge-git-specific REST endpoints that sit above Gitea.