@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.
Files changed (51) hide show
  1. package/README.md +42 -1
  2. package/dist/automate.d.ts +14 -1
  3. package/dist/automate.js +30 -12
  4. package/dist/automate.js.map +1 -1
  5. package/dist/cli.js +194 -7
  6. package/dist/cli.js.map +1 -1
  7. package/dist/digest.d.ts +1 -1
  8. package/dist/digest.js +1 -1
  9. package/dist/digest.js.map +1 -1
  10. package/dist/doctor.d.ts +34 -0
  11. package/dist/doctor.js +158 -0
  12. package/dist/doctor.js.map +1 -0
  13. package/dist/friction.d.ts +7 -0
  14. package/dist/friction.js +36 -0
  15. package/dist/friction.js.map +1 -1
  16. package/dist/github.js +2 -2
  17. package/dist/github.js.map +1 -1
  18. package/dist/guard.d.ts +5 -3
  19. package/dist/guard.js +60 -5
  20. package/dist/guard.js.map +1 -1
  21. package/dist/help.d.ts +25 -0
  22. package/dist/help.js +234 -0
  23. package/dist/help.js.map +1 -0
  24. package/dist/index.js +85 -33
  25. package/dist/index.js.map +1 -1
  26. package/dist/init.d.ts +61 -0
  27. package/dist/init.js +298 -0
  28. package/dist/init.js.map +1 -0
  29. package/dist/protocol-fetch.d.ts +142 -0
  30. package/dist/protocol-fetch.js +350 -0
  31. package/dist/protocol-fetch.js.map +1 -0
  32. package/dist/protocol.d.ts +232 -0
  33. package/dist/protocol.js +484 -0
  34. package/dist/protocol.js.map +1 -0
  35. package/dist/verify-comment.d.ts +75 -0
  36. package/dist/verify-comment.js +149 -0
  37. package/dist/verify-comment.js.map +1 -0
  38. package/dist/verify-parsers.d.ts +25 -0
  39. package/dist/verify-parsers.js +56 -0
  40. package/dist/verify-parsers.js.map +1 -0
  41. package/dist/verify.d.ts +52 -0
  42. package/dist/verify.js +276 -0
  43. package/dist/verify.js.map +1 -0
  44. package/integrations/README.md +4 -1
  45. package/integrations/claude-code/CLAUDE.snippet.md +6 -5
  46. package/integrations/cline/README.md +1 -1
  47. package/integrations/copilot/copilot-instructions.snippet.md +6 -3
  48. package/integrations/cursor/greenlight.mdc +2 -1
  49. package/integrations/windsurf/README.md +1 -1
  50. package/package.json +1 -1
  51. package/server.json +2 -2
@@ -1,13 +1,16 @@
1
1
  # Greenlight instructions for GitHub Copilot / VS Code
2
2
 
3
- Paste this file's contents into your project's
4
- `.github/copilot-instructions.md` (create the folder if it does not exist).
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). Apply these instructions whenever working on a
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). Apply these rules whenever the user is working on
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 8 tools. Newer Windsurf versions also
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
@@ -25,7 +25,7 @@
25
25
  "test": "tsx --test test/*.test.ts"
26
26
  },
27
27
  "type": "module",
28
- "version": "0.3.11",
28
+ "version": "0.5.0",
29
29
  "mcpName": "io.github.CloudCorpRecords/greenlight",
30
30
  "publishConfig": {
31
31
  "access": "public"
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.3.11",
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.3.11",
15
+ "version": "0.5.0",
16
16
  "runtimeHint": "npx",
17
17
  "packageArguments": [
18
18
  {