@reneturcios/greenlight 0.3.11 → 0.5.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/README.md +42 -1
- package/dist/automate.d.ts +14 -1
- package/dist/automate.js +30 -12
- package/dist/automate.js.map +1 -1
- package/dist/cli.js +194 -7
- package/dist/cli.js.map +1 -1
- package/dist/digest.d.ts +1 -1
- package/dist/digest.js +1 -1
- package/dist/digest.js.map +1 -1
- package/dist/doctor.d.ts +34 -0
- package/dist/doctor.js +158 -0
- package/dist/doctor.js.map +1 -0
- package/dist/friction.d.ts +7 -0
- package/dist/friction.js +36 -0
- package/dist/friction.js.map +1 -1
- package/dist/github.js +2 -2
- package/dist/github.js.map +1 -1
- package/dist/guard.d.ts +5 -3
- package/dist/guard.js +60 -5
- package/dist/guard.js.map +1 -1
- package/dist/help.d.ts +25 -0
- package/dist/help.js +234 -0
- package/dist/help.js.map +1 -0
- package/dist/index.js +85 -33
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +61 -0
- package/dist/init.js +298 -0
- package/dist/init.js.map +1 -0
- package/dist/protocol-fetch.d.ts +142 -0
- package/dist/protocol-fetch.js +350 -0
- package/dist/protocol-fetch.js.map +1 -0
- package/dist/protocol.d.ts +232 -0
- package/dist/protocol.js +484 -0
- package/dist/protocol.js.map +1 -0
- package/dist/verify-comment.d.ts +75 -0
- package/dist/verify-comment.js +149 -0
- package/dist/verify-comment.js.map +1 -0
- package/dist/verify-parsers.d.ts +25 -0
- package/dist/verify-parsers.js +56 -0
- package/dist/verify-parsers.js.map +1 -0
- package/dist/verify.d.ts +52 -0
- package/dist/verify.js +276 -0
- package/dist/verify.js.map +1 -0
- package/integrations/README.md +4 -1
- package/integrations/claude-code/CLAUDE.snippet.md +6 -5
- package/integrations/cline/README.md +1 -1
- package/integrations/copilot/copilot-instructions.snippet.md +6 -3
- package/integrations/cursor/greenlight.mdc +2 -1
- package/integrations/windsurf/README.md +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
# Greenlight instructions for GitHub Copilot / VS Code
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Drop-in instructions for the Greenlight workflow through the greenlight MCP
|
|
4
|
+
tools. Installed by `greenlight init --agent copilot`, or paste manually
|
|
5
|
+
into your project's `.github/copilot-instructions.md` (create the folder if
|
|
6
|
+
it does not exist).
|
|
5
7
|
|
|
6
8
|
## Greenlight: check before you open a PR
|
|
7
9
|
|
|
8
10
|
You have the Greenlight MCP server connected (server `greenlight`, tools:
|
|
9
11
|
check_issue, scan_repo, repo_friction, claim_issue, prep_issue, open_pr,
|
|
10
|
-
ci_triage, review_triage
|
|
12
|
+
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight).
|
|
13
|
+
Apply these instructions whenever working on a
|
|
11
14
|
pull request to an open source project:
|
|
12
15
|
|
|
13
16
|
1. Before writing any code for a GitHub issue, call `check_issue` with the
|
|
@@ -7,7 +7,8 @@ alwaysApply: false
|
|
|
7
7
|
|
|
8
8
|
You have the Greenlight MCP server connected (server `greenlight`, tools:
|
|
9
9
|
check_issue, scan_repo, repo_friction, claim_issue, prep_issue, open_pr,
|
|
10
|
-
ci_triage, review_triage
|
|
10
|
+
ci_triage, review_triage, guard_pr, repo_digest, claim_status, preflight).
|
|
11
|
+
Apply these rules whenever the user is working on
|
|
11
12
|
a pull request to an open source project:
|
|
12
13
|
|
|
13
14
|
1. Before writing any code for a GitHub issue, call `check_issue` with the
|
|
@@ -6,7 +6,7 @@ Windsurf's global MCP config lives at:
|
|
|
6
6
|
|
|
7
7
|
Copy the `mcp_config.json` file in this folder there (merging with any
|
|
8
8
|
servers you already have), then restart Windsurf and check its MCP panel:
|
|
9
|
-
the `greenlight` server should list
|
|
9
|
+
the `greenlight` server should list 12 tools. Newer Windsurf versions also
|
|
10
10
|
accept a project-level `.windsurf/mcp.json` file using the same
|
|
11
11
|
`mcpServers` format.
|
|
12
12
|
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"url": "https://github.com/CloudCorpRecords/greenlight",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.5.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
14
|
"identifier": "@reneturcios/greenlight",
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.5.0",
|
|
16
16
|
"runtimeHint": "npx",
|
|
17
17
|
"packageArguments": [
|
|
18
18
|
{
|