@diffci.com/diffci 0.3.2 → 0.3.4
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/.agents/plugins/marketplace.json +12 -0
- package/README.md +25 -5
- package/action.yml +3 -3
- package/dist-client/src/client/agent-selection.js +67 -0
- package/dist-client/src/client/cli.js +42 -13
- package/dist-client/src/client/full-command.js +30 -0
- package/dist-client/src/client/mcp.js +74 -7
- package/dist-client/src/client/observe.js +1 -0
- package/dist-client/src/client/verify-savings.js +24 -7
- package/dist-client/src/client/verify.js +29 -24
- package/docs/adoption-metrics.md +31 -5
- package/docs/adoption-outreach.md +43 -8
- package/docs/agent-adoption-kit.md +3 -3
- package/docs/agent-plugin.md +80 -0
- package/docs/claude-code.md +4 -4
- package/docs/codex.md +4 -4
- package/docs/cursor.md +5 -4
- package/docs/distribution.md +6 -4
- package/docs/mcp.md +4 -0
- package/docs/npm-adoption.md +3 -3
- package/node_modules/@diffci.com/core/README.md +41 -2
- package/node_modules/@diffci.com/core/dist/cache/graph-cache.d.ts +1 -1
- package/node_modules/@diffci.com/core/dist/cache/graph-cache.js +1 -1
- package/node_modules/@diffci.com/core/dist/planner/test-command.js +76 -0
- package/node_modules/@diffci.com/core/dist/planner/test-command.js.map +1 -1
- package/node_modules/@diffci.com/core/dist/repo/analyzer.js +19 -1
- package/node_modules/@diffci.com/core/dist/repo/analyzer.js.map +1 -1
- package/node_modules/@diffci.com/core/dist/repo/graph.js +34 -6
- package/node_modules/@diffci.com/core/dist/repo/graph.js.map +1 -1
- package/node_modules/@diffci.com/core/dist/repo/test-discovery.d.ts +7 -0
- package/node_modules/@diffci.com/core/dist/repo/test-discovery.js +58 -0
- package/node_modules/@diffci.com/core/dist/repo/test-discovery.js.map +1 -1
- package/node_modules/@diffci.com/core/dist/repo/types.d.ts +5 -0
- package/node_modules/@diffci.com/core/dist/repo/workspaces.d.ts +2 -0
- package/node_modules/@diffci.com/core/dist/repo/workspaces.js +37 -0
- package/node_modules/@diffci.com/core/dist/repo/workspaces.js.map +1 -0
- package/node_modules/@diffci.com/core/src/cache/graph-cache.ts +1 -1
- package/node_modules/@diffci.com/core/src/planner/test-command.ts +59 -0
- package/node_modules/@diffci.com/core/src/repo/analyzer.ts +18 -1
- package/node_modules/@diffci.com/core/src/repo/graph.ts +33 -6
- package/node_modules/@diffci.com/core/src/repo/test-discovery.ts +54 -0
- package/node_modules/@diffci.com/core/src/repo/types.ts +2 -0
- package/node_modules/@diffci.com/core/src/repo/workspaces.ts +29 -0
- package/package.json +10 -4
- package/packaging/agent-plugin/.claude-plugin/plugin.json +6 -0
- package/packaging/agent-plugin/.codex-plugin/plugin.json +8 -0
- package/packaging/agent-plugin/.mcp.json +13 -0
- package/packaging/agent-plugin/skills/diffci-verify/SKILL.md +35 -0
- package/server.json +2 -2
- package/site/assets/calcom-runtime-evidence.svg +11 -0
- package/site/llms.txt +44 -0
package/site/llms.txt
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# DiffCI
|
|
2
|
+
|
|
3
|
+
DiffCI is a change-aware verification layer and conservative test-selection tool for AI coding agents and development teams.
|
|
4
|
+
|
|
5
|
+
Default AI-agent command:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx "@diffci.com/diffci@latest" verify --changed --json
|
|
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 verify --changed --json` binds selected or conservative full-fallback testing to the current staged, unstaged, and untracked snapshot.
|
|
20
|
+
- `diffci verify --json` verifies a clean commit range and binds the receipt to checked-out HEAD.
|
|
21
|
+
- `diffci init --verification-workflow` creates a blocking GitHub verification check.
|
|
22
|
+
- Continue only when `safe_to_continue` is true. If tests change generated files, review them and rerun for the new snapshot.
|
|
23
|
+
- Use `diffci check` for paired runtime measurement and `diffci observe --no-send` for analysis without test execution.
|
|
24
|
+
- DiffCI never skips, cancels, reorders, or changes required CI jobs.
|
|
25
|
+
- It sends no report unless `DIFFCI_API_URL` and `DIFFCI_TOKEN` are explicitly configured.
|
|
26
|
+
- Required project CI remains authoritative. If DiffCI is blocked, fall back to the repository's normal validation commands.
|
|
27
|
+
- Remote MCP tools are available at https://diffci.com/mcp; they provide stateless validation planning, report interpretation, and workflow-text checks without executing commands.
|
|
28
|
+
|
|
29
|
+
Useful docs:
|
|
30
|
+
|
|
31
|
+
- [AI agents](https://diffci.com/docs/ai-agents)
|
|
32
|
+
- [Codex](https://diffci.com/docs/codex)
|
|
33
|
+
- [Claude Code](https://diffci.com/docs/claude-code)
|
|
34
|
+
- [Cursor](https://diffci.com/docs/cursor)
|
|
35
|
+
- [GitHub Copilot](https://diffci.com/docs/copilot)
|
|
36
|
+
- [Grok](https://diffci.com/docs/grok)
|
|
37
|
+
- [Test impact analysis for GitHub Actions](https://diffci.com/test-impact-analysis/github-actions)
|
|
38
|
+
- [Running affected tests safely](https://diffci.com/guides/affected-tests)
|
|
39
|
+
- [Open evidence study](https://diffci.com/research/diffci-open-evidence-2026)
|
|
40
|
+
- [Adoption kit](https://github.com/DiffCI/DiffCI.com/blob/main/docs/agent-adoption-kit.md)
|
|
41
|
+
- [MCP server](https://github.com/DiffCI/DiffCI.com/blob/main/docs/mcp.md)
|
|
42
|
+
- [MCP server setup](https://diffci.com/mcp-server)
|
|
43
|
+
- [MCP Server Card](https://diffci.com/mcp/server-card)
|
|
44
|
+
- [Language support](https://github.com/DiffCI/DiffCI.com/blob/main/docs/language-support.md)
|