@jurislm/woodpecker-ci-plugin 1.0.2 → 1.1.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/.codex-plugin/plugin.json +5 -2
- package/.mcp.json +1 -1
- package/.mcp.json.example +1 -1
- package/README.md +11 -0
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/mcp.json +1 -1
- package/package.json +3 -2
- package/plugin.json +11 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "woodpecker-ci",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Manage Woodpecker CI through agent tools.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "JurisLM",
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"longDescription": "Inspect and control Woodpecker CI repositories, pipelines, logs, agents, secrets, and system state.",
|
|
18
18
|
"developerName": "JurisLM",
|
|
19
19
|
"category": "Developer tools",
|
|
20
|
-
"capabilities": [
|
|
20
|
+
"capabilities": [
|
|
21
|
+
"Read",
|
|
22
|
+
"Write"
|
|
23
|
+
],
|
|
21
24
|
"composerIcon": "./assets/woodpecker_ci.svg",
|
|
22
25
|
"websiteURL": "https://github.com/jurislm/woodpecker-ci-plugin",
|
|
23
26
|
"defaultPrompt": "Inspect the current Woodpecker CI status."
|
package/.mcp.json
CHANGED
package/.mcp.json.example
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"woodpecker-ci": {
|
|
4
4
|
"command": "bunx",
|
|
5
|
-
"args": ["-y", "@jurislm/woodpecker-ci-plugin@
|
|
5
|
+
"args": ["-y", "@jurislm/woodpecker-ci-plugin@latest"],
|
|
6
6
|
"env": {
|
|
7
7
|
"WOODPECKER_URL": "https://ci.example.com/api",
|
|
8
8
|
"WOODPECKER_API_TOKEN": "<set-in-host-environment>"
|
package/README.md
CHANGED
|
@@ -88,6 +88,17 @@ For local Codex marketplace testing, add the repository marketplace at
|
|
|
88
88
|
`.agents/plugins/marketplace.json`, then install `woodpecker-ci` from the
|
|
89
89
|
`jurislm-woodpecker` marketplace.
|
|
90
90
|
|
|
91
|
+
## Release automation
|
|
92
|
+
|
|
93
|
+
Merges to `main` run the normal checks and update the Release Please Release
|
|
94
|
+
PR. After the `ci` and `release` pipelines succeed, Woodpecker validates and
|
|
95
|
+
merges that Release PR. The resulting `vX.Y.Z` tag starts the npm release
|
|
96
|
+
pipeline, which publishes the package with the `npm_token` repository secret.
|
|
97
|
+
|
|
98
|
+
Release Please determines the version from Conventional Commits. The release
|
|
99
|
+
workflow requires the `personal_access_tokens_fine_grained_tokens_jurislm`
|
|
100
|
+
repository secret; PR pipelines never receive either release secret.
|
|
101
|
+
|
|
91
102
|
## Security
|
|
92
103
|
|
|
93
104
|
Tokens are sent only as bearer authentication and are not included in logs or
|
package/dist/server.js
CHANGED
|
@@ -2,13 +2,14 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { WoodpeckerClient, WoodpeckerApiError } from "./client.js";
|
|
4
4
|
import { operations } from "./generated/operations.js";
|
|
5
|
+
import packageJson from "../package.json" with { type: "json" };
|
|
5
6
|
const outputRequestSchema = z.object({
|
|
6
7
|
method: z.string(),
|
|
7
8
|
path: z.string(),
|
|
8
9
|
});
|
|
9
10
|
export function createServer(config, fetchImpl) {
|
|
10
11
|
const client = new WoodpeckerClient(config, fetchImpl);
|
|
11
|
-
const server = new McpServer({ name: "woodpecker-ci-plugin", version:
|
|
12
|
+
const server = new McpServer({ name: "woodpecker-ci-plugin", version: packageJson.version }, {
|
|
12
13
|
instructions: "Use read tools to resolve exact Woodpecker IDs and permissions before mutations. Never expose tokens or secret values in narration or logs.",
|
|
13
14
|
});
|
|
14
15
|
for (const operation of operations) {
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGnE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGnE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,WAAW,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEhE,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,MAAM,UAAU,YAAY,CAC1B,MAAwB,EACxB,SAAqB;IAErB,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,EAC9D;QACE,YAAY,EACV,6IAA6I;KAChJ,CACF,CAAC;IAEF,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,MAAM,CAAC,YAAY,CACjB,SAAS,CAAC,IAAI,EACd;YACE,KAAK,EAAE,SAAS,CAAC,IAAI;YACrB,WAAW,EAAE,SAA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AC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;iBAC/E,CAAC;YACJ,CAAC;QACH,CAAC,CACF,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/mcp.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jurislm/woodpecker-ci-plugin",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Local stdio MCP server for Woodpecker CI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"smoke:stdio": "bun scripts/smoke-stdio.ts",
|
|
43
43
|
"manifest:fetch": "bun scripts/update-agent-plugin-schemas.ts",
|
|
44
44
|
"manifest:check": "bun scripts/validate-plugin-manifests.ts",
|
|
45
|
-
"
|
|
45
|
+
"release:test": "bun scripts/ci/test-release-pr-auto-merge.ts && bun scripts/ci/test-release-workflows.ts",
|
|
46
|
+
"check": "bun run manifest:check && bun run api:check && bun run typecheck && bun test && bun run release:test && bun run build && bun pm pack --dry-run",
|
|
46
47
|
"prepublishOnly": "bun run check"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "woodpecker-ci",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "Manage Woodpecker CI through agent tools.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "JurisLM",
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
"homepage": "https://github.com/jurislm/woodpecker-ci-plugin",
|
|
11
11
|
"repository": "https://github.com/jurislm/woodpecker-ci-plugin",
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"keywords": [
|
|
13
|
+
"keywords": [
|
|
14
|
+
"ci",
|
|
15
|
+
"woodpecker",
|
|
16
|
+
"devops",
|
|
17
|
+
"mcp"
|
|
18
|
+
],
|
|
14
19
|
"extensions": {
|
|
15
20
|
"com.openai": {
|
|
16
21
|
"interface": {
|
|
@@ -19,7 +24,10 @@
|
|
|
19
24
|
"longDescription": "Inspect and control Woodpecker CI repositories, pipelines, logs, agents, secrets, and system state.",
|
|
20
25
|
"developerName": "JurisLM",
|
|
21
26
|
"category": "Developer tools",
|
|
22
|
-
"capabilities": [
|
|
27
|
+
"capabilities": [
|
|
28
|
+
"Read",
|
|
29
|
+
"Write"
|
|
30
|
+
],
|
|
23
31
|
"composerIcon": "./assets/woodpecker_ci.svg",
|
|
24
32
|
"websiteURL": "https://github.com/jurislm/woodpecker-ci-plugin"
|
|
25
33
|
}
|