@jurislm/woodpecker-ci-plugin 1.1.9 → 2.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/.codex-plugin/plugin.json +1 -2
- package/README.md +43 -19
- package/api/manifest.json +8 -0
- package/contracts/woodpecker-mcp-v2.json +2653 -0
- package/dist/api.d.ts +11 -0
- package/dist/api.js +23 -0
- package/dist/api.js.map +1 -0
- package/dist/generated/operations.d.ts +1 -0
- package/dist/generated/operations.js +105 -118
- package/dist/generated/operations.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +19 -35
- package/dist/server.js.map +1 -1
- package/dist/tools/pipelines.d.ts +3 -0
- package/dist/tools/pipelines.js +47 -0
- package/dist/tools/pipelines.js.map +1 -0
- package/openapi/woodpecker-dev.yaml +4747 -0
- package/package.json +6 -4
- package/plugin.json +1 -1
- package/skills/woodpecker-ci/SKILL.md +1 -1
- package/.app.json +0 -3
- package/dist/generated/woodpecker-zod.d.ts +0 -1229
- package/dist/generated/woodpecker-zod.js +0 -56
- package/dist/generated/woodpecker-zod.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "woodpecker-ci",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Manage Woodpecker CI through agent tools.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "JurisLM",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"skills": "./skills/",
|
|
12
12
|
"mcpServers": "./.mcp.json",
|
|
13
|
-
"apps": "./.app.json",
|
|
14
13
|
"interface": {
|
|
15
14
|
"displayName": "Woodpecker CI",
|
|
16
15
|
"shortDescription": "Manage Woodpecker CI through agent tools.",
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ The server does not read `DRONE_TOKEN`.
|
|
|
22
22
|
```json
|
|
23
23
|
{
|
|
24
24
|
"mcpServers": {
|
|
25
|
-
"woodpecker": {
|
|
25
|
+
"woodpecker-ci": {
|
|
26
26
|
"command": "bunx",
|
|
27
27
|
"args": ["-y", "@jurislm/woodpecker-ci-plugin@latest"],
|
|
28
28
|
"env": {
|
|
@@ -34,16 +34,21 @@ The server does not read `DRONE_TOKEN`.
|
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
The server exposes
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
The server exposes generated OpenAPI operations plus a focused pipeline
|
|
38
|
+
inspection tool. Personal-token lifecycle and pprof operations are excluded.
|
|
39
|
+
The `/version` operation is also excluded because the configured Woodpecker
|
|
40
|
+
instance returns its HTML app shell for that path instead of JSON.
|
|
41
|
+
It is a local stdio package, not a hosted ChatGPT plugin endpoint.
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
Generated tool names, titles, descriptions, input schemas, output schemas, and
|
|
44
|
+
annotations live under `src/generated/`. Token request fields are omitted;
|
|
45
|
+
token and password fields, plus secret values, are omitted from responses.
|
|
43
46
|
|
|
44
|
-
The
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
The current v2 generated-operation contract is in
|
|
48
|
+
`contracts/woodpecker-mcp-v2.json`; the v1 contract remains as the previous
|
|
49
|
+
compatibility snapshot. `api/manifest.json` is the canonical snapshot
|
|
50
|
+
provenance. `bun run api:check` verifies its SHA-256, path and operation counts,
|
|
51
|
+
then checks generated artifacts.
|
|
47
52
|
|
|
48
53
|
## OpenAI Plugin package
|
|
49
54
|
|
|
@@ -52,23 +57,43 @@ This repository also contains the portable Agent Plugin layer:
|
|
|
52
57
|
- `plugin.json` — portable plugin identity and OpenAI presentation metadata.
|
|
53
58
|
- `mcp.json` — stdio MCP server configuration.
|
|
54
59
|
- `.codex-plugin/plugin.json` — Codex compatibility fallback.
|
|
60
|
+
- `.agents/plugins/marketplace.json` — repository-root Codex marketplace entry.
|
|
55
61
|
- `.mcp.json.example` — local configuration example without secrets.
|
|
56
62
|
- `skills/woodpecker-ci/SKILL.md` — service-specific tool-selection guidance.
|
|
57
|
-
- `.mcp.json`
|
|
63
|
+
- `.mcp.json` — Codex MCP registration, matching the portable `mcp.json`.
|
|
64
|
+
- `.app.json.example` — empty Developer Mode mapping example.
|
|
58
65
|
|
|
59
66
|
This version is private/local distribution. It does not provide a public
|
|
60
67
|
HTTPS `/mcp` endpoint or OAuth flow.
|
|
61
68
|
|
|
69
|
+
## Codex App installation
|
|
70
|
+
|
|
71
|
+
From the repository root:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
codex plugin marketplace add .
|
|
75
|
+
codex plugin add woodpecker-ci@woodpecker-ci-marketplace
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
The server can initialize and list its tools before credentials are set.
|
|
79
|
+
Provider calls require `WOODPECKER_URL` and `WOODPECKER_API_TOKEN` in the MCP
|
|
80
|
+
server process environment. A GUI-launched Codex app may not inherit shell
|
|
81
|
+
profile variables, so do not rely on `~/.zshenv` alone. Keep token values out
|
|
82
|
+
of repository files. Open a new task after installing or updating the plugin
|
|
83
|
+
so Codex loads its current tool catalog.
|
|
84
|
+
|
|
62
85
|
## Development
|
|
63
86
|
|
|
64
87
|
```bash
|
|
65
88
|
bun install
|
|
66
89
|
bun run api:fetch
|
|
67
|
-
bun run api:
|
|
90
|
+
bun run api:check
|
|
68
91
|
bun run check
|
|
69
92
|
```
|
|
70
93
|
|
|
71
|
-
`api:fetch`
|
|
94
|
+
`api:fetch` updates the committed snapshot and canonical provenance at
|
|
95
|
+
`api/manifest.json`. `api:check` verifies its hash and operation counts before
|
|
96
|
+
checking generated artifacts.
|
|
72
97
|
|
|
73
98
|
For a live read-only configuration check:
|
|
74
99
|
|
|
@@ -78,16 +103,13 @@ WOODPECKER_API_TOKEN=... \
|
|
|
78
103
|
bun run smoke:read
|
|
79
104
|
```
|
|
80
105
|
|
|
81
|
-
Validate the portable Plugin package with:
|
|
106
|
+
Validate the portable Plugin manifests and npm package contents with:
|
|
82
107
|
|
|
83
108
|
```bash
|
|
84
109
|
bun run manifest:check
|
|
110
|
+
bun run package:check
|
|
85
111
|
```
|
|
86
112
|
|
|
87
|
-
This repository intentionally does not include a Codex repository marketplace
|
|
88
|
-
catalog. The Plugin and MCP manifests remain available for direct packaging
|
|
89
|
-
and local host installation.
|
|
90
|
-
|
|
91
113
|
## Release automation
|
|
92
114
|
|
|
93
115
|
Merges to `main` run the normal checks and update the Release Please Release
|
|
@@ -101,5 +123,7 @@ repository secret; PR pipelines never receive either release secret.
|
|
|
101
123
|
|
|
102
124
|
## Security
|
|
103
125
|
|
|
104
|
-
|
|
105
|
-
tool request metadata.
|
|
126
|
+
The configured API token is sent only as bearer authentication and is not
|
|
127
|
+
included in logs or tool request metadata. Credential fields are removed from
|
|
128
|
+
response schemas and tool results. Mutation requests are not retried
|
|
129
|
+
automatically.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sourceUrl": "https://woodpecker-ci.org/redocusaurus/plugin-redoc-0.yaml",
|
|
3
|
+
"fetchedAt": "2026-09-16T07:12:03.978Z",
|
|
4
|
+
"sha256": "cadfe6ccbe3bdd1c29140d605704db9fe1ae76569d72d56792e326eb53cd596f",
|
|
5
|
+
"specVersion": "dev",
|
|
6
|
+
"pathCount": 74,
|
|
7
|
+
"operationCount": 118
|
|
8
|
+
}
|