@ninemind/agentgem 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,9 +3,10 @@
3
3
  </p>
4
4
 
5
5
  <p align="center">
6
+ <a href="https://www.npmjs.com/package/@ninemind/agentgem"><img src="https://img.shields.io/npm/v/%40ninemind%2Fagentgem?color=9a3324&label=npm" alt="npm version"></a>
6
7
  <a href="https://github.com/ninemindai/agentgem/actions/workflows/ci.yml"><img src="https://github.com/ninemindai/agentgem/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
8
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-9a3324" alt="MIT license"></a>
8
- <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-LTS-1f6b4f" alt="Node LTS"></a>
9
+ <a href="https://nodejs.org"><img src="https://img.shields.io/node/v/%40ninemind%2Fagentgem?color=1f6b4f" alt="Node version"></a>
9
10
  <a href="https://agentback.dev"><img src="https://img.shields.io/badge/built_on-AgentBack-b08436" alt="Built on AgentBack"></a>
10
11
  <a href="docs/concepts.md"><img src="https://img.shields.io/badge/MCP-native-211c15" alt="MCP-native"></a>
11
12
  </p>
@@ -44,21 +45,17 @@ call exactly the same thing.
44
45
  - **An agent-native path** — every operation is also an MCP tool, so your local agent can
45
46
  build Gems over `/mcp` with no browser involved.
46
47
 
47
- ## Usage
48
+ ## Quickstart
48
49
 
49
- Requires Node.js ≥ 22 and a coding-agent config at `~/.claude`.
50
+ Needs Node.js ≥ 22. From the directory of the agent project you want to package,
51
+ run it without installing:
50
52
 
51
53
  ```bash
52
- npx @ninemind/agentgem # run without installing
53
- # or install the `agentgem` command globally:
54
- npm install -g @ninemind/agentgem
55
- agentgem # → http://127.0.0.1:4317
56
- agentgem --port 8080 # override the port (also honors $PORT)
54
+ npx @ninemind/agentgem # npm
55
+ pnpm dlx @ninemind/agentgem # pnpm
57
56
  ```
58
57
 
59
- The server starts on `127.0.0.1` (default port `4317`) and prints:
60
-
61
- ```
58
+ ```text
62
59
  agentgem listening at http://127.0.0.1:4317
63
60
  UI: http://127.0.0.1:4317/
64
61
  API: http://127.0.0.1:4317/api/inventory · POST http://127.0.0.1:4317/api/gem
@@ -66,29 +63,45 @@ agentgem listening at http://127.0.0.1:4317
66
63
  MCP: http://127.0.0.1:4317/mcp
67
64
  ```
68
65
 
66
+ Open **<http://127.0.0.1:4317/>**, then:
67
+
68
+ 1. **Open a testbed** — click *Create / open testbed…*. AgentGem detects the project
69
+ you launched from (it has a `.claude`/`.codex`) and also lists ones from your
70
+ Claude/Codex session history. Pick it and click *Use this*.
71
+ 2. **Pick artifacts** — the project's skills / MCP servers / `CLAUDE.md` show on the
72
+ left; *Import from machine…* pulls in global ones. Tick what you want, name the Gem.
73
+ 3. **Watch it seal** — the live `gem.json` renders with every secret as `<redacted>`.
74
+ Download it — that archive is what every target and the registry consume.
75
+
76
+ <p align="center">
77
+ <img src="docs/screenshot.png" alt="The AgentGem Gem Builder: selected skills and MCP servers on the left, the live gem.json on the right with every secret shown as <redacted>" width="100%">
78
+ </p>
79
+
80
+ Prefer a persistent command? Install it globally:
81
+
82
+ ```bash
83
+ npm install -g @ninemind/agentgem # npm
84
+ pnpm add -g @ninemind/agentgem # pnpm
85
+ agentgem --port 8080 # honors $PORT; append ?dir=/path/to/.claude for another config
86
+ ```
87
+
69
88
  | Path | What it is |
70
89
  | ----------- | ------------------------------------------------------- |
71
90
  | `/` | The Gem Builder web UI |
72
91
  | `/explorer` | Swagger UI for the REST API (from the OpenAPI document) |
73
92
  | `/mcp` | The MCP endpoint — the same contract, for your agent |
74
93
 
75
- Open `/`, tick the skills / MCP servers / `CLAUDE.md` you want, name the Gem, and watch
76
- the live `gem.json` render with secrets already shown as `<redacted>`. Download it — that
77
- archive is what every target and the registry consume.
78
-
79
- Append `?dir=/path/to/.claude` to introspect a config directory other than the
80
- default `~/.claude`.
81
-
82
94
  ### From source
83
95
 
84
- To hack on AgentGem, clone the repo and use [pnpm](https://pnpm.io/) (AgentBack
85
- uses legacy decorators, so it builds with `tsc`, then runs `dist/`):
96
+ To hack on AgentGem, clone the repo. It's a [pnpm](https://pnpm.io/) project
97
+ (`npm` works too), and AgentBack uses legacy decorators, so it builds with `tsc`
98
+ then runs `dist/`:
86
99
 
87
100
  ```bash
88
- pnpm install
89
- pnpm dev # build + start in one step (→ node dist/index.js)
90
- pnpm test # tsc -b && vitest run — tests run against compiled dist/
91
- pnpm clean # rm -rf dist *.tsbuildinfo (run before testing after renames/moves)
101
+ pnpm install # or: npm install
102
+ pnpm dev # or: npm run dev — build + start in one step
103
+ pnpm test # or: npm test — tsc -b && vitest run, against compiled dist/
104
+ pnpm clean # or: npm run clean — rm -rf dist *.tsbuildinfo (run before re-testing after moves)
92
105
  ```
93
106
 
94
107
  See [CONTRIBUTING.md](CONTRIBUTING.md) for the full workflow.
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />
5
5
  <title>agentgem — Gem Builder</title>
6
+ <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'><path d='M20 2 L36 14 L20 38 L4 14 Z' fill='%239a3324'/><path d='M20 2 L36 14 L20 16 Z' fill='%23bb4a38'/><path d='M20 2 L4 14 L20 16 Z' fill='%237d2a1e'/><path d='M4 14 L20 16 L20 38 Z' fill='%238b2e21'/><path d='M36 14 L20 16 L20 38 Z' fill='%23a8392a'/><path d='M4 14 L36 14 L20 16 Z' fill='%23c8543f'/></svg>" />
6
7
  <link rel="preconnect" href="https://fonts.googleapis.com">
7
8
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8
9
  <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninemind/agentgem",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A local web UI that introspects your coding-agent config, redacts secrets at capture, and builds a portable, composable Gem.",
5
5
  "license": "MIT",
6
6
  "bin": {