shapi-cli 0.0.0-stage → 0.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/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "shapi-cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Find the code that breaks when a third-party API changes, and fix it test-first.",
5
+ "keywords": [
6
+ "api",
7
+ "breaking-changes",
8
+ "api-lock",
9
+ "dependabot",
10
+ "github",
11
+ "stripe",
12
+ "codemod",
13
+ "contract-test"
14
+ ],
15
+ "type": "module",
16
+ "bin": {
17
+ "shapi": "bin/shapi.js"
18
+ },
19
+ "files": [
20
+ "bin",
21
+ "dist",
22
+ "advisories",
23
+ "recordings",
24
+ "README.md",
25
+ "LICENSE"
26
+ ],
27
+ "engines": {
28
+ "node": ">=22"
29
+ },
30
+ "license": "Apache-2.0",
31
+ "homepage": "https://github.com/SriVarshini09/YC#readme",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/SriVarshini09/YC.git",
35
+ "directory": "packages/cli"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/SriVarshini09/YC/issues"
39
+ },
40
+ "dependencies": {
41
+ "@anthropic-ai/sdk": "^1.1.0",
42
+ "@octokit/auth-app": "^8.3.1",
43
+ "@octokit/plugin-retry": "^8.1.1",
44
+ "@octokit/plugin-throttling": "^11.0.5",
45
+ "@octokit/rest": "^22.0.1",
46
+ "better-sqlite3": "^13.0.3",
47
+ "commander": "^15.0.0",
48
+ "tar": "^7.5.22",
49
+ "ts-morph": "^28.0.0",
50
+ "vitest": "^5.0.5",
51
+ "zod": "^4.6.7"
52
+ }
53
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "provider": "github",
3
+ "method": "POST",
4
+ "endpoint": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches",
5
+ "note": "Reconstruction of the December 2025 incident: before, 204 No Content (as documented and in GitHub's OpenAPI schema); after, 200 OK with a body. The 200 body uses the fields GitHub documents for this endpoint today (workflow_run_id, run_url, html_url). Values are placeholders; this is not captured traffic.",
6
+ "sources": [
7
+ "https://stategraph.com/blog/github-broke-the-contract",
8
+ "https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event"
9
+ ],
10
+ "observations": [
11
+ {
12
+ "observedAt": "2025-12-18T09:00:00Z",
13
+ "status": 204,
14
+ "headers": {
15
+ "x-github-api-version-selected": "2022-11-28",
16
+ "x-github-media-type": "github.v3; format=json",
17
+ "x-ratelimit-remaining": "4999",
18
+ "date": "Thu, 18 Dec 2025 09:00:00 GMT"
19
+ },
20
+ "body": ""
21
+ },
22
+ {
23
+ "observedAt": "2025-12-18T21:00:00Z",
24
+ "status": 204,
25
+ "headers": {
26
+ "x-github-api-version-selected": "2022-11-28",
27
+ "x-github-media-type": "github.v3; format=json",
28
+ "x-ratelimit-remaining": "4987",
29
+ "date": "Thu, 18 Dec 2025 21:00:00 GMT"
30
+ },
31
+ "body": ""
32
+ },
33
+ {
34
+ "observedAt": "2025-12-19T09:00:00Z",
35
+ "status": 200,
36
+ "headers": {
37
+ "content-type": "application/json; charset=utf-8",
38
+ "x-github-api-version-selected": "2022-11-28",
39
+ "x-github-media-type": "github.v3; format=json",
40
+ "x-ratelimit-remaining": "4999",
41
+ "date": "Fri, 19 Dec 2025 09:00:00 GMT"
42
+ },
43
+ "body": "{\"workflow_run_id\":20412345678,\"run_url\":\"https://api.github.com/repos/shapi-dev/canary/actions/runs/20412345678\",\"html_url\":\"https://github.com/shapi-dev/canary/actions/runs/20412345678\"}"
44
+ }
45
+ ]
46
+ }