@diffci.com/diffci 0.1.0-alpha.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 +98 -0
- package/action.yml +155 -0
- package/dist-client/src/client/cli.js +281 -0
- package/dist-client/src/client/context.js +173 -0
- package/dist-client/src/client/observe.js +230 -0
- package/dist-client/src/client/report.js +63 -0
- package/dist-client/src/client/submit.js +89 -0
- package/dist-client/src/client/workflow-guard.js +300 -0
- package/dist-client/src/git/git-diff.js +379 -0
- package/dist-client/src/git/types.js +1 -0
- package/dist-client/src/planner/path-baseline.js +131 -0
- package/dist-client/src/planner/test-command.js +124 -0
- package/dist-client/src/planner/types.js +1 -0
- package/dist-client/src/repo/analyzer.js +454 -0
- package/dist-client/src/repo/graph.js +958 -0
- package/dist-client/src/repo/impact-types.js +1 -0
- package/dist-client/src/repo/impact.js +625 -0
- package/dist-client/src/repo/layout.js +75 -0
- package/dist-client/src/repo/repo-config.js +63 -0
- package/dist-client/src/repo/runner-universe.js +253 -0
- package/dist-client/src/repo/test-discovery.js +383 -0
- package/dist-client/src/repo/test-fixture-ownership.js +76 -0
- package/dist-client/src/repo/test-framework.js +117 -0
- package/dist-client/src/repo/types.js +1 -0
- package/docs/distribution.md +81 -0
- package/package.json +118 -0
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@diffci.com/diffci",
|
|
3
|
+
"version": "0.1.0-alpha.3",
|
|
4
|
+
"description": "DiffCI - deterministic change-aware CI planning",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.5.0"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"diffci": "dist-client/src/client/cli.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"action.yml",
|
|
15
|
+
"dist-client/src/client",
|
|
16
|
+
"dist-client/src/git",
|
|
17
|
+
"dist-client/src/planner",
|
|
18
|
+
"dist-client/src/repo",
|
|
19
|
+
"README.md",
|
|
20
|
+
"docs/distribution.md",
|
|
21
|
+
"docs/language-support.md"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
"./*": {
|
|
25
|
+
"types": "./dist/src/*.d.ts",
|
|
26
|
+
"default": "./dist/src/*.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"build": "tsc",
|
|
32
|
+
"test": "tsx --test \"tests/**/*.test.ts\"",
|
|
33
|
+
"check": "npm run typecheck && npm run test",
|
|
34
|
+
"prepack": "npm run build:client",
|
|
35
|
+
"package:smoke": "node scripts/package-smoke.mjs",
|
|
36
|
+
"diffci": "tsx scripts/diffci.ts",
|
|
37
|
+
"impact": "tsx scripts/diffci.ts impact",
|
|
38
|
+
"observe": "tsx src/client/cli.ts observe",
|
|
39
|
+
"verify-workflow": "tsx src/client/cli.ts verify-workflow",
|
|
40
|
+
"build:client": "tsc -p tsconfig.client.json",
|
|
41
|
+
"build:agent": "tsx scripts/build-agent.ts",
|
|
42
|
+
"inspect:agent": "tsx scripts/inspect-agent-package.ts",
|
|
43
|
+
"dogfood": "tsx scripts/dogfood-observe.ts",
|
|
44
|
+
"dogfood:report": "tsx scripts/dogfood-report.ts",
|
|
45
|
+
"dogfood:mutate": "tsx scripts/dogfood-mutate.ts",
|
|
46
|
+
"dogfood:qualify": "tsx scripts/dogfood-qualify.ts",
|
|
47
|
+
"dogfood:freeze": "tsx scripts/dogfood-freeze.ts",
|
|
48
|
+
"shadow": "tsx scripts/diffci-shadow.ts",
|
|
49
|
+
"shadow-report": "tsx scripts/diffci-shadow-report.ts",
|
|
50
|
+
"audit:dentalpresence": "tsx scripts/audit-dentalpresence-graph.ts",
|
|
51
|
+
"audit:dentalpresence-impact": "tsx scripts/audit-dentalpresence-impact.ts",
|
|
52
|
+
"research:stage0": "tsx src/research/cli/run-stage0.ts",
|
|
53
|
+
"research:sandbox:deploy": "wrangler deploy --config wrangler.research-sandbox.jsonc",
|
|
54
|
+
"shadow:upload-source": "tsx scripts/upload-shadow-source.ts",
|
|
55
|
+
"shadow:deploy": "tsx scripts/deploy-research-sandbox.ts",
|
|
56
|
+
"shadow:screen": "tsx scripts/screen-shadow-eligibility.ts",
|
|
57
|
+
"shadow:status": "node scripts/shadow-status.mjs",
|
|
58
|
+
"shadow:report": "tsx scripts/generate-shadow-report.ts",
|
|
59
|
+
"shadow:freshness": "tsx scripts/check-deployment-freshness.ts",
|
|
60
|
+
"shadow:missed-commits": "tsx scripts/derive-missed-commits.ts",
|
|
61
|
+
"github-runner:deploy": "wrangler deploy --config wrangler.github-runner.jsonc",
|
|
62
|
+
"product:deploy": "wrangler deploy --config wrangler.product.jsonc",
|
|
63
|
+
"product:migrate": "tsx scripts/migrate-product-db.ts",
|
|
64
|
+
"site:dev": "wrangler dev --config wrangler.site.jsonc --port 8788",
|
|
65
|
+
"site:deploy": "wrangler deploy --config wrangler.site.jsonc",
|
|
66
|
+
"study:render": "tsx scripts/render-open-study.ts",
|
|
67
|
+
"validation:deploy": "wrangler deploy --config wrangler.validation-env.jsonc",
|
|
68
|
+
"validation:pack": "tsx scripts/diffci-validation-cli.ts pack",
|
|
69
|
+
"validation:start": "tsx scripts/diffci-validation-cli.ts start",
|
|
70
|
+
"validation:status": "tsx scripts/diffci-validation-cli.ts status",
|
|
71
|
+
"validation:collect": "tsx scripts/diffci-validation-cli.ts collect",
|
|
72
|
+
"dogfood:compare": "tsx scripts/dogfood-compare.ts",
|
|
73
|
+
"test:calibration": "tsx --test \"tests/scripts/harness-calibration.test.ts\" \"tests/scripts/compute-usage.test.ts\"",
|
|
74
|
+
"agent:equivalence": "tsx scripts/agent-equivalence.ts",
|
|
75
|
+
"dogfood:economics": "tsx scripts/dogfood-economics.ts",
|
|
76
|
+
"analyze:buckets": "tsx scripts/analyze-selection-buckets.ts",
|
|
77
|
+
"trace:selection": "tsx scripts/trace-selection-provenance.ts",
|
|
78
|
+
"diagnose:symbols": "tsx scripts/diagnose-symbol-precision.ts",
|
|
79
|
+
"eligibility": "tsx scripts/economic-eligibility.ts",
|
|
80
|
+
"calibrate": "tsx scripts/calibrate-repository.ts",
|
|
81
|
+
"survey": "tsx scripts/survey-run.ts",
|
|
82
|
+
"diagnose:candidate": "tsx scripts/diagnose-candidate.ts",
|
|
83
|
+
"select:candidate": "tsx scripts/select-source-candidate.ts",
|
|
84
|
+
"survey:density": "tsx scripts/survey-mapping-density.ts",
|
|
85
|
+
"trace:imports": "tsx scripts/trace-import-resolution.ts",
|
|
86
|
+
"select:compute-proof": "tsx scripts/select-compute-proof.ts",
|
|
87
|
+
"funnel:qualification": "tsx scripts/qualification-funnel.ts",
|
|
88
|
+
"select:mechanism-proof": "tsx scripts/select-mechanism-proof.ts",
|
|
89
|
+
"observe:pairs": "tsx scripts/observe-named-pairs.ts",
|
|
90
|
+
"qualify:universe": "tsx scripts/qualify-universe.ts",
|
|
91
|
+
"corpus:register": "tsx scripts/register-corpus-entry.ts",
|
|
92
|
+
"ci:benchmark": "tsx scripts/ci-inference-benchmark.ts",
|
|
93
|
+
"ci:reproduce": "tsx scripts/ci-reproduction.ts"
|
|
94
|
+
},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"@types/node": "^22.15.12",
|
|
97
|
+
"typescript": "^5.8.3",
|
|
98
|
+
"yaml": "^2.9.0"
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@cloudflare/containers": "^0.3.7",
|
|
102
|
+
"@cloudflare/sandbox": "0.12.5",
|
|
103
|
+
"esbuild": "^0.28.2",
|
|
104
|
+
"pdf-lib": "^1.17.1",
|
|
105
|
+
"tsx": "^4.23.12",
|
|
106
|
+
"wrangler": "4.120.0"
|
|
107
|
+
},
|
|
108
|
+
"diffci": {
|
|
109
|
+
"alwaysRunTests": [
|
|
110
|
+
"**/security.test.*",
|
|
111
|
+
"**/test-security.*",
|
|
112
|
+
"**/*api-guardrails*",
|
|
113
|
+
"**/verify-*.test.*",
|
|
114
|
+
"**/validate-*.test.*",
|
|
115
|
+
"scripts/**/*.test.mjs"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|