@diffci.com/diffci 0.2.1 → 0.2.3
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 +35 -25
- package/dist-client/src/client/cli.js +23 -4
- package/docs/adoption-metrics.md +39 -0
- package/docs/adoption-outreach.md +84 -0
- package/docs/agent-adoption-targets.md +62 -52
- package/docs/ai-agents.md +102 -88
- package/docs/mcp.md +70 -21
- package/glama.json +12 -0
- package/llms.txt +39 -37
- package/package.json +6 -1
- package/server.json +28 -0
- package/node_modules/@babel/parser/CHANGELOG.md +0 -1073
- package/node_modules/estree-walker/CHANGELOG.md +0 -92
package/docs/mcp.md
CHANGED
|
@@ -1,21 +1,70 @@
|
|
|
1
|
-
# DiffCI MCP Server
|
|
2
|
-
|
|
3
|
-
DiffCI ships a small stdio MCP server for coding agents that prefer native tools over shell commands.
|
|
4
|
-
|
|
5
|
-
Run it with:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx -p @diffci.com/diffci@latest diffci-mcp
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
# DiffCI MCP Server
|
|
2
|
+
|
|
3
|
+
DiffCI ships a small stdio MCP server for coding agents that prefer native tools over shell commands.
|
|
4
|
+
|
|
5
|
+
Run it with:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx -p @diffci.com/diffci@latest diffci-mcp
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## MCP Client Config
|
|
12
|
+
|
|
13
|
+
Use this stdio configuration in clients that accept MCP JSON. Set `cwd` to the repository where the
|
|
14
|
+
agent should run DiffCI.
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"mcpServers": {
|
|
19
|
+
"diffci": {
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"],
|
|
22
|
+
"cwd": "/path/to/repository"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
On Windows, keep the same command shape and use a Windows path:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"diffci": {
|
|
34
|
+
"command": "npx",
|
|
35
|
+
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"],
|
|
36
|
+
"cwd": "C:\\Users\\you\\path\\to\\repository"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
For Claude Desktop, Claude Code, Cursor, Codex-style MCP clients, and other stdio-compatible agents,
|
|
43
|
+
name the server `diffci` and call `diffci_check` before PR-ready answers.
|
|
44
|
+
|
|
45
|
+
Available tools:
|
|
46
|
+
|
|
47
|
+
- `diffci_check` - runs `diffci check`, including inferred full and selected test commands.
|
|
48
|
+
- `diffci_init` - runs `diffci init` to seed agent instruction files.
|
|
49
|
+
- `diffci_verify_workflow` - runs `diffci verify-workflow` to check non-interference.
|
|
50
|
+
|
|
51
|
+
The MCP server delegates to the same open-source CLI. `diffci_check` sends nothing to DiffCI Cloud,
|
|
52
|
+
but it runs test commands when it can infer them. Use the CLI's `observe --no-send` for analysis only.
|
|
53
|
+
|
|
54
|
+
Keep required project CI authoritative. DiffCI output is a validation lens, not permission to skip
|
|
55
|
+
required checks.
|
|
56
|
+
|
|
57
|
+
## Directory Metadata
|
|
58
|
+
|
|
59
|
+
Discovery links:
|
|
60
|
+
|
|
61
|
+
- npm package: https://www.npmjs.com/package/@diffci.com/diffci
|
|
62
|
+
- GitHub repository: https://github.com/DiffCI/DiffCI.com
|
|
63
|
+
- Agent docs: https://diffci.com/docs/ai-agents.html
|
|
64
|
+
- LLM discovery file: https://diffci.com/llms.txt
|
|
65
|
+
- MCP command: `npx -p @diffci.com/diffci@latest diffci-mcp`
|
|
66
|
+
|
|
67
|
+
Short description:
|
|
68
|
+
|
|
69
|
+
> Observation-only CI/CD validation for AI coding agents. DiffCI helps agents inspect the current
|
|
70
|
+
> checkout, explain affected tests, and keep required CI authoritative.
|
package/glama.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DiffCI",
|
|
3
|
+
"description": "Observation-only CI/CD validation for AI coding agents.",
|
|
4
|
+
"category": "developer-tools",
|
|
5
|
+
"homepage": "https://diffci.com/docs/ai-agents.html",
|
|
6
|
+
"repository": "https://github.com/DiffCI/DiffCI.com",
|
|
7
|
+
"license": "AGPL-3.0-only",
|
|
8
|
+
"install": {
|
|
9
|
+
"command": "npx",
|
|
10
|
+
"args": ["-p", "@diffci.com/diffci@latest", "diffci-mcp"]
|
|
11
|
+
}
|
|
12
|
+
}
|
package/llms.txt
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
# DiffCI
|
|
2
|
-
|
|
3
|
-
DiffCI is an observation-only, change-aware CI analysis tool for AI coding agents and development teams.
|
|
4
|
-
|
|
5
|
-
Default AI-agent command:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx @diffci.com/diffci@latest check
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Initialization command:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx @diffci.com/diffci@latest init
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
What agents should know:
|
|
18
|
-
|
|
19
|
-
- `diffci check` analyzes the repository checkout and writes a JSON observation report.
|
|
20
|
-
- It runs no tests, skips no tests, cancels no jobs, and changes no CI behavior.
|
|
21
|
-
- It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
|
|
22
|
-
- Treat selected commands as evidence about the change, not as permission to skip required project CI.
|
|
23
|
-
- If DiffCI reports `REFUSED` or `ERROR`, fall back to the repository's normal validation commands.
|
|
24
|
-
|
|
25
|
-
Useful docs:
|
|
26
|
-
|
|
27
|
-
- AI agents: https://diffci.com/docs/ai-agents.html
|
|
28
|
-
- Codex: https://diffci.com/docs/codex.html
|
|
29
|
-
- Claude Code: https://diffci.com/docs/claude-code.html
|
|
30
|
-
- Cursor: https://diffci.com/docs/cursor.html
|
|
31
|
-
- GitHub Copilot: https://diffci.com/docs/copilot.html
|
|
32
|
-
- Grok: https://diffci.com/docs/grok.html
|
|
33
|
-
- Adoption kit: https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-kit.md
|
|
34
|
-
- Adoption
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
1
|
+
# DiffCI
|
|
2
|
+
|
|
3
|
+
DiffCI is an observation-only, change-aware CI analysis tool for AI coding agents and development teams.
|
|
4
|
+
|
|
5
|
+
Default AI-agent command:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @diffci.com/diffci@latest check
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Initialization command:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @diffci.com/diffci@latest init
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
What agents should know:
|
|
18
|
+
|
|
19
|
+
- `diffci check` analyzes the repository checkout and writes a JSON observation report.
|
|
20
|
+
- It runs no tests, skips no tests, cancels no jobs, and changes no CI behavior.
|
|
21
|
+
- It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
|
|
22
|
+
- Treat selected commands as evidence about the change, not as permission to skip required project CI.
|
|
23
|
+
- If DiffCI reports `REFUSED` or `ERROR`, fall back to the repository's normal validation commands.
|
|
24
|
+
|
|
25
|
+
Useful docs:
|
|
26
|
+
|
|
27
|
+
- AI agents: https://diffci.com/docs/ai-agents.html
|
|
28
|
+
- Codex: https://diffci.com/docs/codex.html
|
|
29
|
+
- Claude Code: https://diffci.com/docs/claude-code.html
|
|
30
|
+
- Cursor: https://diffci.com/docs/cursor.html
|
|
31
|
+
- GitHub Copilot: https://diffci.com/docs/copilot.html
|
|
32
|
+
- Grok: https://diffci.com/docs/grok.html
|
|
33
|
+
- Adoption kit: https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-kit.md
|
|
34
|
+
- Adoption outreach: https://github.com/DiffCI/DiffCI.com/blob/main/docs/adoption-outreach.md
|
|
35
|
+
- Adoption metrics: https://github.com/DiffCI/DiffCI.com/blob/main/docs/adoption-metrics.md
|
|
36
|
+
- Adoption targets: https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-targets.md
|
|
37
|
+
- MCP server: https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md
|
|
38
|
+
- Distribution: https://github.com/DiffCI/DiffCI.com/blob/main/docs/distribution.md
|
|
39
|
+
- Language support: https://github.com/DiffCI/DiffCI.com/blob/main/docs/language-support.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diffci.com/diffci",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "DiffCI - deterministic change-aware CI planning",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"github-actions"
|
|
17
17
|
],
|
|
18
18
|
"license": "AGPL-3.0-only",
|
|
19
|
+
"mcpName": "io.github.DiffCI/diffci",
|
|
19
20
|
"repository": {
|
|
20
21
|
"type": "git",
|
|
21
22
|
"url": "git+https://github.com/DiffCI/DiffCI.com.git"
|
|
@@ -33,8 +34,12 @@
|
|
|
33
34
|
"action.yml",
|
|
34
35
|
"dist-client/src/client",
|
|
35
36
|
"README.md",
|
|
37
|
+
"server.json",
|
|
38
|
+
"glama.json",
|
|
36
39
|
"llms.txt",
|
|
37
40
|
"docs/ai-agents.md",
|
|
41
|
+
"docs/adoption-outreach.md",
|
|
42
|
+
"docs/adoption-metrics.md",
|
|
38
43
|
"docs/agent-adoption-kit.md",
|
|
39
44
|
"docs/agent-adoption-targets.md",
|
|
40
45
|
"docs/mcp.md",
|
package/server.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.DiffCI/diffci",
|
|
4
|
+
"title": "DiffCI",
|
|
5
|
+
"description": "Observation-only CI/CD validation for AI coding agents.",
|
|
6
|
+
"version": "0.2.3",
|
|
7
|
+
"websiteUrl": "https://diffci.com/docs/ai-agents.html",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/DiffCI/DiffCI.com",
|
|
10
|
+
"source": "github"
|
|
11
|
+
},
|
|
12
|
+
"packages": [
|
|
13
|
+
{
|
|
14
|
+
"registryType": "npm",
|
|
15
|
+
"identifier": "@diffci.com/diffci",
|
|
16
|
+
"version": "0.2.3",
|
|
17
|
+
"transport": {
|
|
18
|
+
"type": "stdio"
|
|
19
|
+
},
|
|
20
|
+
"packageArguments": [
|
|
21
|
+
{
|
|
22
|
+
"type": "positional",
|
|
23
|
+
"value": "mcp"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|