agentic-sdlc-mcp 1.0.0
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/.env.example +20 -0
- package/README.md +335 -0
- package/dist/config.d.ts +22 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +39 -0
- package/dist/config.js.map +1 -0
- package/dist/github/client.d.ts +28 -0
- package/dist/github/client.d.ts.map +1 -0
- package/dist/github/client.js +90 -0
- package/dist/github/client.js.map +1 -0
- package/dist/github/context.d.ts +47 -0
- package/dist/github/context.d.ts.map +1 -0
- package/dist/github/context.js +123 -0
- package/dist/github/context.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +92 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/index.d.ts +9 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +315 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/tools/agent-handoff.d.ts +100 -0
- package/dist/tools/agent-handoff.d.ts.map +1 -0
- package/dist/tools/agent-handoff.js +196 -0
- package/dist/tools/agent-handoff.js.map +1 -0
- package/dist/tools/create-issue-set.d.ts +90 -0
- package/dist/tools/create-issue-set.d.ts.map +1 -0
- package/dist/tools/create-issue-set.js +142 -0
- package/dist/tools/create-issue-set.js.map +1 -0
- package/dist/tools/create-pr-summary.d.ts +60 -0
- package/dist/tools/create-pr-summary.d.ts.map +1 -0
- package/dist/tools/create-pr-summary.js +179 -0
- package/dist/tools/create-pr-summary.js.map +1 -0
- package/dist/tools/plan-from-context.d.ts +71 -0
- package/dist/tools/plan-from-context.d.ts.map +1 -0
- package/dist/tools/plan-from-context.js +201 -0
- package/dist/tools/plan-from-context.js.map +1 -0
- package/dist/tools/prepare-work-item.d.ts +90 -0
- package/dist/tools/prepare-work-item.d.ts.map +1 -0
- package/dist/tools/prepare-work-item.js +250 -0
- package/dist/tools/prepare-work-item.js.map +1 -0
- package/dist/tools/quality-gate-status.d.ts +175 -0
- package/dist/tools/quality-gate-status.d.ts.map +1 -0
- package/dist/tools/quality-gate-status.js +200 -0
- package/dist/tools/quality-gate-status.js.map +1 -0
- package/dist/tools/release-readiness.d.ts +55 -0
- package/dist/tools/release-readiness.d.ts.map +1 -0
- package/dist/tools/release-readiness.js +202 -0
- package/dist/tools/release-readiness.js.map +1 -0
- package/dist/tools/repo-context.d.ts +62 -0
- package/dist/tools/repo-context.d.ts.map +1 -0
- package/dist/tools/repo-context.js +183 -0
- package/dist/tools/repo-context.js.map +1 -0
- package/dist/tools/review-pr.d.ts +104 -0
- package/dist/tools/review-pr.d.ts.map +1 -0
- package/dist/tools/review-pr.js +378 -0
- package/dist/tools/review-pr.js.map +1 -0
- package/dist/tools/security-triage.d.ts +94 -0
- package/dist/tools/security-triage.d.ts.map +1 -0
- package/dist/tools/security-triage.js +228 -0
- package/dist/tools/security-triage.js.map +1 -0
- package/dist/types.d.ts +61 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/package.json +70 -0
package/.env.example
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# GitHub Personal Access Token or GitHub App token
|
|
2
|
+
# Required: needs repo, read:org, security_events scopes for full functionality
|
|
3
|
+
GITHUB_TOKEN=ghp_your_token_here
|
|
4
|
+
|
|
5
|
+
# Default GitHub owner (organization or user)
|
|
6
|
+
# Optional — can be overridden per-tool call
|
|
7
|
+
GITHUB_OWNER=your-org-or-username
|
|
8
|
+
|
|
9
|
+
# Default GitHub repo name
|
|
10
|
+
# Optional — can be overridden per-tool call
|
|
11
|
+
GITHUB_REPO=your-repo-name
|
|
12
|
+
|
|
13
|
+
# Default branch name (defaults to "main" if not set)
|
|
14
|
+
SDLC_DEFAULT_BRANCH=main
|
|
15
|
+
|
|
16
|
+
# Transport mode: "stdio" (default) or "http"
|
|
17
|
+
TRANSPORT=stdio
|
|
18
|
+
|
|
19
|
+
# HTTP port (only used when TRANSPORT=http)
|
|
20
|
+
PORT=3000
|
package/README.md
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
# agentic-sdlc-mcp
|
|
2
|
+
|
|
3
|
+
[](https://github.com/SakuraCianna/agentic-sdlc-mcp/actions/workflows/ci.yml)
|
|
4
|
+
|
|
5
|
+
An MCP (Model Context Protocol) Server that acts as an **Agentic SDLC Control Plane** — helping AI coding agents plan, create, test, review, secure, and release software following GitHub Agentic AI best practices.
|
|
6
|
+
|
|
7
|
+
- GitHub: [SakuraCianna/agentic-sdlc-mcp](https://github.com/SakuraCianna/agentic-sdlc-mcp)
|
|
8
|
+
- Issues: [github.com/SakuraCianna/agentic-sdlc-mcp/issues](https://github.com/SakuraCianna/agentic-sdlc-mcp/issues)
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What Is This?
|
|
13
|
+
|
|
14
|
+
`agentic-sdlc-mcp` is not a simple GitHub API wrapper. It is a **SDLC orchestration layer** that exposes structured, agent-friendly tools aligned to the full software development lifecycle:
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Plan -> Create -> Test -> Review -> Optimize -> Secure
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Safety first:** All write operations default to `dryRun: true`. Destructive or irreversible operations are never silently executed.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
**Requirements:** Node.js >= 24 (see `engines` in `package.json`; CI runs on Node 24).
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
# Clone the repository
|
|
30
|
+
git clone https://github.com/SakuraCianna/agentic-sdlc-mcp.git
|
|
31
|
+
cd agentic-sdlc-mcp
|
|
32
|
+
|
|
33
|
+
# Install dependencies
|
|
34
|
+
npm install
|
|
35
|
+
|
|
36
|
+
# Build
|
|
37
|
+
npm run build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Environment Variables
|
|
43
|
+
|
|
44
|
+
Copy `.env.example` to `.env` and fill in your values:
|
|
45
|
+
|
|
46
|
+
```powershell
|
|
47
|
+
Copy-Item .env.example .env
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Then edit `.env` — it is loaded automatically by `dotenv` when the server starts.
|
|
51
|
+
|
|
52
|
+
Alternatively, set variables inline in PowerShell:
|
|
53
|
+
|
|
54
|
+
```powershell
|
|
55
|
+
$env:GITHUB_TOKEN = "ghp_your_token_here"
|
|
56
|
+
$env:GITHUB_OWNER = "your-org"
|
|
57
|
+
$env:GITHUB_REPO = "your-repo"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
| Variable | Required | Description |
|
|
61
|
+
|---|---|---|
|
|
62
|
+
| `GITHUB_TOKEN` | Yes | GitHub PAT or App token |
|
|
63
|
+
| `GITHUB_OWNER` | Optional | Default owner (org or user) |
|
|
64
|
+
| `GITHUB_REPO` | Optional | Default repository name |
|
|
65
|
+
| `SDLC_DEFAULT_BRANCH` | Optional | Default branch (default: `main`) |
|
|
66
|
+
| `TRANSPORT` | Optional | `stdio` (default) or `http` |
|
|
67
|
+
| `PORT` | Optional | HTTP port (default: `3000`) |
|
|
68
|
+
|
|
69
|
+
### Required GitHub Token Scopes
|
|
70
|
+
|
|
71
|
+
| Scope | Purpose |
|
|
72
|
+
|---|---|
|
|
73
|
+
| `repo` | Read/write issues, PRs, file contents, checks (or `public_repo` for public-only repos) |
|
|
74
|
+
| `security_events` | Code Scanning and Dependabot alerts (or `public_repo` for public-only repos) |
|
|
75
|
+
| `repo` or `security_events` | Secret Scanning alerts |
|
|
76
|
+
|
|
77
|
+
> Verified against GitHub's REST API reference (Dependabot alerts, Code Scanning alerts, Secret Scanning alerts, Checks endpoints) as of this writing. GitHub's scope requirements can change — see the [REST API docs](https://docs.github.com/en/rest) if a tool reports a permission error that doesn't match this table.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## MCP Client Configuration
|
|
82
|
+
|
|
83
|
+
### Claude Desktop / Kiro / Cursor
|
|
84
|
+
|
|
85
|
+
Add to your MCP client config (`claude_desktop_config.json` or equivalent):
|
|
86
|
+
|
|
87
|
+
```json
|
|
88
|
+
{
|
|
89
|
+
"mcpServers": {
|
|
90
|
+
"agentic-sdlc": {
|
|
91
|
+
"command": "node",
|
|
92
|
+
"args": ["E:/CodeHome/agentic-sdlc-mcp/dist/index.js"],
|
|
93
|
+
"env": {
|
|
94
|
+
"GITHUB_TOKEN": "ghp_your_token",
|
|
95
|
+
"GITHUB_OWNER": "your-org",
|
|
96
|
+
"GITHUB_REPO": "your-repo"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Use forward slashes or escaped backslashes for Windows paths.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Running the Server
|
|
108
|
+
|
|
109
|
+
### stdio mode (default — for MCP clients)
|
|
110
|
+
|
|
111
|
+
```powershell
|
|
112
|
+
$env:GITHUB_TOKEN = "ghp_your_token"
|
|
113
|
+
node dist/index.js
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### HTTP mode (for remote / multi-client use)
|
|
117
|
+
|
|
118
|
+
```powershell
|
|
119
|
+
$env:TRANSPORT = "http"
|
|
120
|
+
$env:PORT = "3000"
|
|
121
|
+
$env:GITHUB_TOKEN = "ghp_your_token"
|
|
122
|
+
node dist/index.js
|
|
123
|
+
# Server listens at http://localhost:3000/mcp
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Smoke test (no real token required)
|
|
127
|
+
|
|
128
|
+
Verifies the module loads cleanly and all tools register without error:
|
|
129
|
+
|
|
130
|
+
```powershell
|
|
131
|
+
npm run smoke
|
|
132
|
+
# Output: [agentic-sdlc-mcp] SMOKE OK — all tools and resources registered successfully.
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## npm Scripts
|
|
138
|
+
|
|
139
|
+
| Script | Description |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `npm run build` | Compile TypeScript to `dist/` |
|
|
142
|
+
| `npm run typecheck` | Type-check without emitting |
|
|
143
|
+
| `npm run test` | Run the Vitest test suite |
|
|
144
|
+
| `npm run test:watch` | Watch mode for TDD |
|
|
145
|
+
| `npm run test:coverage` | Coverage report (lcov + text) |
|
|
146
|
+
| `npm run smoke` | Smoke-test: load + register, no real token needed |
|
|
147
|
+
| `npm run dev` | Watch mode with tsx (development) |
|
|
148
|
+
| `npm start` | Run the compiled server |
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## MCP Inspector (smoke test / exploration)
|
|
153
|
+
|
|
154
|
+
```powershell
|
|
155
|
+
$env:GITHUB_TOKEN = "ghp_your_token"
|
|
156
|
+
npx @modelcontextprotocol/inspector node dist/index.js
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Tools Reference
|
|
162
|
+
|
|
163
|
+
### `repo_context`
|
|
164
|
+
Read repository metadata, README, package.json, open issues, and open PRs.
|
|
165
|
+
Use at the start of every workflow.
|
|
166
|
+
- `issueLimit` / `prLimit` (number, default: `20`, max: `100`): cap how many open issues/PRs are fetched, to avoid token-heavy responses on large repos.
|
|
167
|
+
|
|
168
|
+
### `plan_from_context`
|
|
169
|
+
Generate a phase-by-phase SDLC plan (Plan→Create→Test→Review→Optimize→Secure).
|
|
170
|
+
Template-based — no LLM call needed.
|
|
171
|
+
|
|
172
|
+
### `create_issue_set`
|
|
173
|
+
Batch-create GitHub issues from a plan.
|
|
174
|
+
⚠️ `dryRun` defaults to `true` — pass `dryRun: false` to write to GitHub.
|
|
175
|
+
|
|
176
|
+
### `prepare_work_item`
|
|
177
|
+
Generate an agent-ready brief for a specific issue: goals, non-goals, acceptance criteria, risks, and a handoff prompt.
|
|
178
|
+
- `includeRelatedFiles` (boolean, default: `false`): heuristically extract file paths mentioned in the issue body.
|
|
179
|
+
- `includeRecentPRs` (boolean, default: `false`): scan up to 20 recently-updated closed PRs and return up to 5 merged ones that touched the related file hints (requires `includeRelatedFiles` to have found hints — returns an empty list otherwise). Output field: `recentPRs`.
|
|
180
|
+
|
|
181
|
+
### `quality_gate_status`
|
|
182
|
+
Read check-run results for a PR or git ref.
|
|
183
|
+
Use to verify CI before merging or releasing.
|
|
184
|
+
|
|
185
|
+
### `create_pr_summary`
|
|
186
|
+
Generate a structured PR summary: change overview, file categories, test coverage signals, risks, review checklist, and release notes draft.
|
|
187
|
+
|
|
188
|
+
### `review_pr_against_standard`
|
|
189
|
+
Review a PR against SDLC standards (`basic` / `strict` / `security-focused`).
|
|
190
|
+
`security-focused` mode scans actual patch lines for secret patterns, `.env` files, lockfile changes, and dist files.
|
|
191
|
+
|
|
192
|
+
### `security_triage`
|
|
193
|
+
Read Code Scanning, Dependabot, and Secret Scanning alerts, triage by severity, recommend fix order.
|
|
194
|
+
|
|
195
|
+
### `release_readiness_check`
|
|
196
|
+
Pre-release assessment: CI status, open bugs, CHANGELOG, release checklist, rollback template.
|
|
197
|
+
|
|
198
|
+
### `agent_handoff_packet`
|
|
199
|
+
Generate a compact handoff packet so another agent can continue work without losing context.
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## Resources
|
|
204
|
+
|
|
205
|
+
| URI | Description |
|
|
206
|
+
|---|---|
|
|
207
|
+
| `sdlc://standards/agentic-sdlc` | Full Agentic SDLC standard with phases and human gates |
|
|
208
|
+
| `sdlc://templates/issue` | Standard issue template |
|
|
209
|
+
| `sdlc://templates/pr-summary` | Standard PR summary template |
|
|
210
|
+
| `sdlc://templates/release-readiness` | Pre-release checklist template |
|
|
211
|
+
| `sdlc://templates/handoff` | Agent handoff template |
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## dryRun Safety Model
|
|
216
|
+
|
|
217
|
+
All write tools implement `dryRun`:
|
|
218
|
+
|
|
219
|
+
| `dryRun` | Effect |
|
|
220
|
+
|---|---|
|
|
221
|
+
| `true` (default) | Preview mode — no GitHub API writes |
|
|
222
|
+
| `false` | Live mode — actually writes to GitHub |
|
|
223
|
+
|
|
224
|
+
The default is always `dryRun: true`. Agents must explicitly pass `dryRun: false`.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Workflow Examples
|
|
229
|
+
|
|
230
|
+
### 1. Start a new feature
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
1. repo_context # understand the codebase
|
|
234
|
+
2. plan_from_context (goal=...) # generate SDLC plan
|
|
235
|
+
3. create_issue_set (dryRun:true) # preview issues
|
|
236
|
+
4. create_issue_set (dryRun:false) # create issues
|
|
237
|
+
5. prepare_work_item (issueNumber=N) # get agent brief
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### 2. Review a pull request
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
1. create_pr_summary (pullNumber=N) # diff overview
|
|
244
|
+
2. quality_gate_status (pullNumber=N) # CI check
|
|
245
|
+
3. review_pr_against_standard (standard:strict) # findings
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### 3. Pre-release check
|
|
249
|
+
|
|
250
|
+
```
|
|
251
|
+
1. security_triage # check alerts
|
|
252
|
+
2. release_readiness_check # full readiness
|
|
253
|
+
3. (fix blocking issues)
|
|
254
|
+
4. Human approval before tagging release
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## Security
|
|
260
|
+
|
|
261
|
+
- Never commit your `GITHUB_TOKEN` — use `.env` or PowerShell `$env:` variables
|
|
262
|
+
- `dryRun: true` by default prevents accidental writes
|
|
263
|
+
- No auto-merge, no force-push, no branch deletion
|
|
264
|
+
- Secret scanning alerts are always rated `critical`
|
|
265
|
+
- The server does not make outbound requests beyond the GitHub API
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## Development
|
|
270
|
+
|
|
271
|
+
```powershell
|
|
272
|
+
# Type check
|
|
273
|
+
npm run typecheck
|
|
274
|
+
|
|
275
|
+
# Watch mode
|
|
276
|
+
npm run dev
|
|
277
|
+
|
|
278
|
+
# Build
|
|
279
|
+
npm run build
|
|
280
|
+
|
|
281
|
+
# Test
|
|
282
|
+
npm run test
|
|
283
|
+
|
|
284
|
+
# Smoke test (no token needed)
|
|
285
|
+
npm run smoke
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
## Publishing (Maintainers)
|
|
291
|
+
|
|
292
|
+
This package is published to npm using **Trusted Publishing (OIDC)** — no long-lived `NPM_TOKEN` secret is stored in the repo. Publishing is handled by `.github/workflows/publish.yml`.
|
|
293
|
+
|
|
294
|
+
### One-time setup on npmjs.com
|
|
295
|
+
|
|
296
|
+
1. Sign in to [npmjs.com](https://www.npmjs.com) and open the package's **Settings -> Publishing access**.
|
|
297
|
+
2. Add a **Trusted Publisher** with:
|
|
298
|
+
- Provider: `GitHub Actions`
|
|
299
|
+
- Repository: `SakuraCianna/agentic-sdlc-mcp`
|
|
300
|
+
- Workflow filename: `publish.yml`
|
|
301
|
+
3. Save. From then on, `publish.yml` publishes without any npm token — GitHub issues a short-lived OIDC token that npm exchanges for a publish credential, and provenance is generated automatically.
|
|
302
|
+
|
|
303
|
+
> First publish only: if the package name doesn't exist on npm yet, Trusted Publisher can't be linked until the package exists. In that case, do one manual `npm publish` from your machine with a classic token first, then configure Trusted Publishing for all subsequent releases. The `publish.yml` workflow itself always uses OIDC — it never falls back to a token.
|
|
304
|
+
|
|
305
|
+
### Triggering a publish
|
|
306
|
+
|
|
307
|
+
- **Preferred:** create a GitHub Release (tag it, then "Publish release") — this fires `release: published` and runs `publish.yml` automatically.
|
|
308
|
+
- **Manual:** go to **Actions -> Publish to npm -> Run workflow** (`workflow_dispatch`).
|
|
309
|
+
|
|
310
|
+
### Pre-publish checklist (run locally before tagging a release)
|
|
311
|
+
|
|
312
|
+
```powershell
|
|
313
|
+
npm run typecheck
|
|
314
|
+
npm run build
|
|
315
|
+
npm run test
|
|
316
|
+
npm run smoke
|
|
317
|
+
npm run test:coverage
|
|
318
|
+
npm pack --dry-run
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
`npm pack --dry-run` prints exactly which files would ship in the published tarball, without creating one. Confirm only `dist/`, `README.md`, and `.env.example` are included — test files and `package-lock.json` must NOT appear (enforced by `tsconfig.build.json`, which excludes `src/__tests__/**` from the compiled `dist/` output used for publishing).
|
|
322
|
+
|
|
323
|
+
### GitHub Actions workflows
|
|
324
|
+
|
|
325
|
+
| Workflow | Trigger | Purpose |
|
|
326
|
+
|---|---|---|
|
|
327
|
+
| `.github/workflows/ci.yml` | `pull_request`, `push` to `main` | Runs typecheck, build, test, smoke, and coverage on Node 24 |
|
|
328
|
+
| `.github/workflows/publish.yml` | GitHub Release published, or manual dispatch | Publishes to npm via OIDC Trusted Publishing |
|
|
329
|
+
| `.github/dependabot.yml` | Weekly schedule | Opens PRs for npm and GitHub Actions dependency updates (labelled `dependencies`) |
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## License
|
|
334
|
+
|
|
335
|
+
MIT
|
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration loader — reads all settings from environment variables.
|
|
3
|
+
* In smoke mode (--smoke flag or SMOKE=true) token validation is skipped.
|
|
4
|
+
*/
|
|
5
|
+
export interface Config {
|
|
6
|
+
/** GitHub PAT or App token — required (except in smoke mode) */
|
|
7
|
+
githubToken: string;
|
|
8
|
+
/** Default GitHub owner (org or user) — optional */
|
|
9
|
+
githubOwner: string | undefined;
|
|
10
|
+
/** Default GitHub repo — optional */
|
|
11
|
+
githubRepo: string | undefined;
|
|
12
|
+
/** Default branch name */
|
|
13
|
+
defaultBranch: string;
|
|
14
|
+
/** Whether the process is running in smoke-test mode */
|
|
15
|
+
isSmokeMode: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** True when --smoke CLI flag or SMOKE=true env var is set. */
|
|
18
|
+
export declare const isSmokeMode: boolean;
|
|
19
|
+
export declare function loadConfig(): Config;
|
|
20
|
+
/** Singleton — loaded once at startup */
|
|
21
|
+
export declare const config: Config;
|
|
22
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,MAAM;IACrB,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,qCAAqC;IACrC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,0BAA0B;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,+DAA+D;AAC/D,eAAO,MAAM,WAAW,SAC6C,CAAC;AActE,wBAAgB,UAAU,IAAI,MAAM,CAmBnC;AAED,yCAAyC;AACzC,eAAO,MAAM,MAAM,EAAE,MAAqB,CAAC"}
|
package/dist/config.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration loader — reads all settings from environment variables.
|
|
3
|
+
* In smoke mode (--smoke flag or SMOKE=true) token validation is skipped.
|
|
4
|
+
*/
|
|
5
|
+
/** True when --smoke CLI flag or SMOKE=true env var is set. */
|
|
6
|
+
export const isSmokeMode = process.argv.includes("--smoke") || process.env["SMOKE"] === "true";
|
|
7
|
+
function requireEnv(name) {
|
|
8
|
+
const value = process.env[name];
|
|
9
|
+
if (!value) {
|
|
10
|
+
console.error(`ERROR: Required environment variable "${name}" is not set.`);
|
|
11
|
+
console.error(` Set it in your .env file or in your shell:`);
|
|
12
|
+
console.error(` PowerShell: $env:${name}="your-value"`);
|
|
13
|
+
console.error(` Bash/sh: export ${name}="your-value"`);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
return value;
|
|
17
|
+
}
|
|
18
|
+
export function loadConfig() {
|
|
19
|
+
if (isSmokeMode) {
|
|
20
|
+
// Smoke mode: skip token validation — only testing module load + tool registration
|
|
21
|
+
return {
|
|
22
|
+
githubToken: "__smoke_test_placeholder__",
|
|
23
|
+
githubOwner: undefined,
|
|
24
|
+
githubRepo: undefined,
|
|
25
|
+
defaultBranch: "main",
|
|
26
|
+
isSmokeMode: true,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
githubToken: requireEnv("GITHUB_TOKEN"),
|
|
31
|
+
githubOwner: process.env["GITHUB_OWNER"] || undefined,
|
|
32
|
+
githubRepo: process.env["GITHUB_REPO"] || undefined,
|
|
33
|
+
defaultBranch: process.env["SDLC_DEFAULT_BRANCH"] || "main",
|
|
34
|
+
isSmokeMode: false,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/** Singleton — loaded once at startup */
|
|
38
|
+
export const config = loadConfig();
|
|
39
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH,+DAA+D;AAC/D,MAAM,CAAC,MAAM,WAAW,GACtB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC;AAEtE,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,yCAAyC,IAAI,eAAe,CAAC,CAAC;QAC5E,OAAO,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;QAC9D,OAAO,CAAC,KAAK,CAAC,yBAAyB,IAAI,eAAe,CAAC,CAAC;QAC5D,OAAO,CAAC,KAAK,CAAC,2BAA2B,IAAI,eAAe,CAAC,CAAC;QAC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,IAAI,WAAW,EAAE,CAAC;QAChB,mFAAmF;QACnF,OAAO;YACL,WAAW,EAAE,4BAA4B;YACzC,WAAW,EAAE,SAAS;YACtB,UAAU,EAAE,SAAS;YACrB,aAAa,EAAE,MAAM;YACrB,WAAW,EAAE,IAAI;SAClB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,WAAW,EAAE,UAAU,CAAC,cAAc,CAAC;QACvC,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,SAAS;QACrD,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS;QACnD,aAAa,EAAE,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,IAAI,MAAM;QAC3D,WAAW,EAAE,KAAK;KACnB,CAAC;AACJ,CAAC;AAED,yCAAyC;AACzC,MAAM,CAAC,MAAM,MAAM,GAAW,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitHub Octokit client — initialised once from config, shared across tools.
|
|
3
|
+
*/
|
|
4
|
+
import { Octokit } from "@octokit/rest";
|
|
5
|
+
import type { RepoRef } from "../types.js";
|
|
6
|
+
export declare function getOctokit(): Octokit;
|
|
7
|
+
/**
|
|
8
|
+
* Resolve owner/repo from tool arguments, falling back to config defaults.
|
|
9
|
+
* Throws a descriptive error if neither is available.
|
|
10
|
+
*/
|
|
11
|
+
export declare function resolveRepo(owner?: string, repo?: string): RepoRef;
|
|
12
|
+
/**
|
|
13
|
+
* Simple page-based pagination helper.
|
|
14
|
+
*
|
|
15
|
+
* Calls `fn(page)` repeatedly (pages start at 1) until a page returns fewer
|
|
16
|
+
* items than `perPage` (indicating the last page), or `maxItems` is reached.
|
|
17
|
+
*
|
|
18
|
+
* @param fn - Function that takes a page number and returns a Promise<T[]>
|
|
19
|
+
* @param perPage - Items per page to request (max 100 for GitHub API)
|
|
20
|
+
* @param maxItems - Hard cap to avoid token-explosion on huge repos
|
|
21
|
+
*/
|
|
22
|
+
export declare function paginateAll<T>(fn: (page: number, perPage: number) => Promise<T[]>, maxItems?: number, perPage?: number): Promise<T[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Centralised GitHub API error handler — translates HTTP status codes into
|
|
25
|
+
* actionable error messages.
|
|
26
|
+
*/
|
|
27
|
+
export declare function handleGitHubError(error: unknown): string;
|
|
28
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/github/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAI3C,wBAAgB,UAAU,IAAI,OAAO,CAKpC;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAgBlE;AAED;;;;;;;;;GASG;AACH,wBAAsB,WAAW,CAAC,CAAC,EACjC,EAAE,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,EACnD,QAAQ,SAAM,EACd,OAAO,SAAM,GACZ,OAAO,CAAC,CAAC,EAAE,CAAC,CAWd;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAsCxD"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitHub Octokit client — initialised once from config, shared across tools.
|
|
3
|
+
*/
|
|
4
|
+
import { Octokit } from "@octokit/rest";
|
|
5
|
+
import { config } from "../config.js";
|
|
6
|
+
let _octokit = null;
|
|
7
|
+
export function getOctokit() {
|
|
8
|
+
if (!_octokit) {
|
|
9
|
+
_octokit = new Octokit({ auth: config.githubToken });
|
|
10
|
+
}
|
|
11
|
+
return _octokit;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Resolve owner/repo from tool arguments, falling back to config defaults.
|
|
15
|
+
* Throws a descriptive error if neither is available.
|
|
16
|
+
*/
|
|
17
|
+
export function resolveRepo(owner, repo) {
|
|
18
|
+
const resolvedOwner = owner ?? config.githubOwner;
|
|
19
|
+
const resolvedRepo = repo ?? config.githubRepo;
|
|
20
|
+
if (!resolvedOwner) {
|
|
21
|
+
throw new Error("owner is required. Pass it as a tool argument or set GITHUB_OWNER in your environment.");
|
|
22
|
+
}
|
|
23
|
+
if (!resolvedRepo) {
|
|
24
|
+
throw new Error("repo is required. Pass it as a tool argument or set GITHUB_REPO in your environment.");
|
|
25
|
+
}
|
|
26
|
+
return { owner: resolvedOwner, repo: resolvedRepo };
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Simple page-based pagination helper.
|
|
30
|
+
*
|
|
31
|
+
* Calls `fn(page)` repeatedly (pages start at 1) until a page returns fewer
|
|
32
|
+
* items than `perPage` (indicating the last page), or `maxItems` is reached.
|
|
33
|
+
*
|
|
34
|
+
* @param fn - Function that takes a page number and returns a Promise<T[]>
|
|
35
|
+
* @param perPage - Items per page to request (max 100 for GitHub API)
|
|
36
|
+
* @param maxItems - Hard cap to avoid token-explosion on huge repos
|
|
37
|
+
*/
|
|
38
|
+
export async function paginateAll(fn, maxItems = 300, perPage = 100) {
|
|
39
|
+
const all = [];
|
|
40
|
+
let page = 1;
|
|
41
|
+
while (all.length < maxItems) {
|
|
42
|
+
const items = await fn(page, perPage);
|
|
43
|
+
all.push(...items);
|
|
44
|
+
// Last page is shorter than requested — stop
|
|
45
|
+
if (items.length < perPage)
|
|
46
|
+
break;
|
|
47
|
+
page++;
|
|
48
|
+
}
|
|
49
|
+
return all.slice(0, maxItems);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Centralised GitHub API error handler — translates HTTP status codes into
|
|
53
|
+
* actionable error messages.
|
|
54
|
+
*/
|
|
55
|
+
export function handleGitHubError(error) {
|
|
56
|
+
if (isOctokitError(error)) {
|
|
57
|
+
const status = error.status;
|
|
58
|
+
const message = error.response?.data?.message ?? "";
|
|
59
|
+
switch (status) {
|
|
60
|
+
case 401:
|
|
61
|
+
return ("GitHub authentication failed (401). " +
|
|
62
|
+
"Check that GITHUB_TOKEN is valid and not expired.");
|
|
63
|
+
case 403:
|
|
64
|
+
return (`GitHub permission denied (403): ${message}. ` +
|
|
65
|
+
"Your token may lack the required scope. " +
|
|
66
|
+
"See README for required token permissions.");
|
|
67
|
+
case 404:
|
|
68
|
+
return (`GitHub resource not found (404): ${message}. ` +
|
|
69
|
+
"Verify the owner, repo, and resource identifiers.");
|
|
70
|
+
case 422:
|
|
71
|
+
return `GitHub validation error (422): ${message}.`;
|
|
72
|
+
case 429:
|
|
73
|
+
return ("GitHub rate limit exceeded (429). " +
|
|
74
|
+
"Wait a few minutes then retry, or use a token with higher limits.");
|
|
75
|
+
default:
|
|
76
|
+
return `GitHub API error (${status}): ${message}`;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (error instanceof Error) {
|
|
80
|
+
return `Unexpected error: ${error.message}`;
|
|
81
|
+
}
|
|
82
|
+
return `Unexpected error: ${String(error)}`;
|
|
83
|
+
}
|
|
84
|
+
function isOctokitError(error) {
|
|
85
|
+
return (typeof error === "object" &&
|
|
86
|
+
error !== null &&
|
|
87
|
+
"status" in error &&
|
|
88
|
+
typeof error.status === "number");
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=client.js.map
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ACd,QAAQ,IAAI,KAAK;QACjB,OAAQ,KAAsB,CAAC,MAAM,KAAK,QAAQ,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for reading repository context from the GitHub API.
|
|
3
|
+
*/
|
|
4
|
+
import type { RepoRef } from "../types.js";
|
|
5
|
+
export interface RepoContextOptions extends RepoRef {
|
|
6
|
+
includeReadme?: boolean;
|
|
7
|
+
includePackageJson?: boolean;
|
|
8
|
+
includeOpenIssues?: boolean;
|
|
9
|
+
includeOpenPRs?: boolean;
|
|
10
|
+
/** Max number of open issues to fetch. Default: 20. */
|
|
11
|
+
issueLimit?: number;
|
|
12
|
+
/** Max number of open PRs to fetch. Default: 20. */
|
|
13
|
+
prLimit?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface RepoContextResult {
|
|
16
|
+
name: string;
|
|
17
|
+
fullName: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
defaultBranch: string;
|
|
20
|
+
visibility: string;
|
|
21
|
+
language: string | null;
|
|
22
|
+
stargazersCount: number;
|
|
23
|
+
openIssuesCount: number;
|
|
24
|
+
topics: string[];
|
|
25
|
+
pushedAt: string | null;
|
|
26
|
+
readme?: string;
|
|
27
|
+
packageJson?: Record<string, unknown>;
|
|
28
|
+
openIssues?: Array<{
|
|
29
|
+
number: number;
|
|
30
|
+
title: string;
|
|
31
|
+
labels: string[];
|
|
32
|
+
createdAt: string;
|
|
33
|
+
url: string;
|
|
34
|
+
}>;
|
|
35
|
+
openPRs?: Array<{
|
|
36
|
+
number: number;
|
|
37
|
+
title: string;
|
|
38
|
+
author: string;
|
|
39
|
+
draft: boolean;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
url: string;
|
|
42
|
+
}>;
|
|
43
|
+
}
|
|
44
|
+
export declare function fetchRepoContext(opts: RepoContextOptions): Promise<RepoContextResult>;
|
|
45
|
+
/** Summarise a package.json into a concise string for context. */
|
|
46
|
+
export declare function summarizePackageJson(pkg: Record<string, unknown>): string;
|
|
47
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/github/context.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,kBAAmB,SAAQ,OAAO;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,KAAK,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;IACH,OAAO,CAAC,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