npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@9xlabs/paperclip-gitlab-plugin

v0.1.3

Published

Link GitLab projects to Paperclip and expose GitLab REST API agent tools.

Downloads

74

Readme

@9xlabs/paperclip-gitlab-plugin

GitLab connector plugin for Paperclip.

This repository is the 9xLabs–maintained home for the package (source, release, docs). The Paperclip core app and monorepo are upstream and are not developed here—install this plugin into any compatible Paperclip instance via npm or a local path.

This plugin helps operators:

  • connect a Paperclip instance to GitLab with API token validation,
  • map Paperclip projects to GitLab repositories,
  • store per-repository default branches,
  • expose GitLab merge request tools to agents.

What this plugin includes

  • Worker + UI entrypoints (src/worker.ts, src/ui/index.tsx)
  • GitLab settings page (token, mapping, branch)
  • Project/repository binding helpers
  • Agent tools:
    • ping_gitlab
    • get_git_access_info
    • list_merge_requests
    • create_merge_request

Requirements

  • Paperclip runtime with plugin support
  • GitLab Personal Access Token (API scope)
  • For private git clone in managed workspace: host git auth must be configured (SSH key or credential helper).
    Connector token is for GitLab API calls, not automatic git clone auth injection.

Development

Clone this repo (not the full Paperclip monorepo). Dependencies resolve from the public npm registry (@paperclipai/plugin-sdk, etc.).

pnpm install
pnpm dev
pnpm dev:ui
pnpm test

Useful commands:

pnpm typecheck
pnpm build
pnpm build:rollup

Install into local Paperclip

curl -X POST http://127.0.0.1:3100/api/plugins/install \
  -H "Content-Type: application/json" \
  -d '{"packageName":"/absolute/path/to/paperclip-gitlab-plugin","isLocalPath":true}'

Or from the CLI (with PAPERCLIP_API_URL pointing at your instance):

pnpm paperclipai plugin install /absolute/path/to/paperclip-gitlab-plugin

Configuration flow

  1. Open Paperclip -> Settings -> Plugins -> GitLab Connector
  2. Set gitlabBaseUrl
  3. Validate and save gitlabTokenRef (stored as secret ref)
  4. Add repository mappings (GitLab path -> Paperclip project)
  5. Save settings to apply bindings/workspaces/default branch data

Documentation

Project docs are under docs/:

The docs/sdlc/ folder is a bundled methodology reference.

npm release

Package: @9xlabs/paperclip-gitlab-plugin

Workflow: .github/workflows/release-npm.yml

  • Trigger: GitHub Release published or manual workflow_dispatch
  • Required repo secret: NPM_TOKEN
  • Publish command:
pnpm publish --no-git-checks --access public --registry https://registry.npmjs.org/

Prepublish validation:

pnpm prepublishOnly

Which runs:

pnpm typecheck && pnpm test && pnpm build