Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 6.71 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 6.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@chrisleekr/github-app",
"description": "A GitHub App that listens for @chrisleekr-bot mentions on PRs and issues, then autonomously responds using the Claude Agent SDK (@anthropic-ai/claude-agent-sdk) with MCP servers",
"author": "Chris Lee <git@chrislee.kr>",
"version": "1.18.1",
"main": "dist/app.js",
"bin": {
"github-app": "dist/app.js"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"github",
"app",
"claude-code-action",
"anthropic",
"claude-agent-sdk",
"modelcontextprotocol",
"mcp",
"octokit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/chrisleekr/github-app.git"
},
"bugs": {
"url": "https://github.com/chrisleekr/github-app/issues"
},
"homepage": "https://github.com/chrisleekr/github-app#readme",
"engines": {
"bun": ">=1.4.3"
},
"packageManager": "bun@1.4.3",
"scripts": {
"prepublishOnly": "bun run clean && NODE_ENV=production bun run build",
"clean": "rm -rf dist",
"build": "bun run scripts/build.ts",
"dev": "bun run build && bun run --watch src/app.ts",
"dev:smee": "bun run scripts/dev-smee.ts",
"start": "bun run dist/app.js",
"test": "bash scripts/test-isolated.sh",
"test:fast": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"test:admission": "bash scripts/test-workflow-runner-admission.sh",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"audit:ci": "bun run scripts/audit-ci.ts",
"check": "bun run typecheck && bun run lint && bun run format && bun run check:no-destructive && bun run check:no-em-dashes && bun run check:action-pins && bun run check:runner-pins && bun run check:claude-code-version && bun run check:test-globs && bun run check:docs-versions && bun run check:docs-citations && bun run check:env-contract && bun run check:config-schema && bun run test",
"check:no-destructive": "bun run scripts/check-no-destructive-actions.ts",
"check:no-em-dashes": "bun run scripts/em-dash-sweep.ts --check",
"dev:daemon": "bash scripts/run-daemon.sh",
"dev:deps": "docker compose -f docker-compose.dev.yml up -d",
"dev:deps:down": "docker compose -f docker-compose.dev.yml down",
"db:migrate": "bun run scripts/db-migrate.ts",
"docs:install": "pip install -r docs/requirements.txt",
"docs:serve": "mkdocs serve",
"docs:build": "mkdocs build --strict",
"docker:build:orchestrator": "docker build -f Dockerfile.orchestrator -t chrisleekr/github-app:local-orchestrator . --progress=plain",
"docker:build:daemon": "docker build -f Dockerfile.daemon -t chrisleekr/github-app:local-daemon . --progress=plain",
"docker:build": "bun run docker:build:orchestrator && bun run docker:build:daemon",
"docker:run:orchestrator": "bun run docker:build:orchestrator && docker run -p 3000:3000 -p 3002:3002 --env-file .env -e DATABASE_URL=postgres://bot:bot@host.docker.internal:5432/github_app -e VALKEY_URL=redis://host.docker.internal:6379 -v $HOME/.aws:/home/bun/.aws:ro --rm --name github-app chrisleekr/github-app:local-orchestrator",
"docker:run:daemon": "bun run docker:build:daemon && docker run --env-file .env -e ORCHESTRATOR_URL=ws://host.docker.internal:3002/ws -v $HOME/.aws:/home/bun/.aws:ro --rm --name github-app-daemon chrisleekr/github-app:local-daemon",
"docker:scan:orchestrator": "trivy image --severity CRITICAL,HIGH --ignore-unfixed --ignorefile .trivyignore.yaml --exit-code 1 --platform linux/$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') chrisleekr/github-app:local-orchestrator",
"docker:scan:daemon": "trivy image --severity CRITICAL,HIGH --ignore-unfixed --ignorefile .trivyignore.yaml --exit-code 0 --platform linux/$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') chrisleekr/github-app:local-daemon",
"docker:scan": "bun run docker:scan:orchestrator && bun run docker:scan:daemon",
"check:dockerfile-base-sync": "bun run scripts/check-dockerfile-base-sync.ts",
"check:docs-sync": "bun run scripts/check-docs-sync.ts",
"check:docs-versions": "bun run scripts/check-docs-versions.ts",
"check:docs-citations": "bun run scripts/check-docs-citations.ts",
"env-contract": "bun run scripts/env-contract.ts",
"check:env-contract": "bun run scripts/env-contract.ts --check",
"gen-config-schema": "bun run scripts/gen-config-schema.ts",
"check:config-schema": "bun run scripts/gen-config-schema.ts --check",
"validate-repo-config": "bun run scripts/validate-repo-config.ts",
"check:action-pins": "bun run scripts/check-action-pins.ts",
"check:runner-pins": "bun run scripts/check-runner-pins.ts",
"check:claude-code-version": "bun run scripts/check-claude-code-version.ts",
"check:test-globs": "bun run scripts/check-test-globs.ts",
"check:mcp-bundle": "bun run scripts/check-mcp-bundle.ts",
"prepare": "husky"
},
"license": "MIT",
"dependencies": {
"@anthropic-ai/bedrock-sdk": "^0.35.0",
"@anthropic-ai/claude-agent-sdk": "^0.3.302",
"@huggingface/transformers": "^4.3.1",
"@kubernetes/client-node": "^2.0.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@octokit/webhooks": "14.2.0",
"@octokit/webhooks-types": "^7.6.1",
"cron-parser": "^5.10.2",
"octokit": "^5.0.5",
"picomatch": "4.0.7",
"pino": "^10.4.0",
"yaml": "^2.9.1",
"zod": "^4.6.7"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@eslint/js": "^10.0.1",
"@octokit/plugin-paginate-graphql": "^6.0.0",
"@types/bun": "^1.4.3",
"@types/node": "^26.6.5",
"@types/picomatch": "^4.0.3",
"eslint": "^10.13.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-security": "^4.2.0",
"eslint-plugin-simple-import-sort": "^14.0.0",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"pino-pretty": "^13.2.0",
"prettier": "^3.9.10",
"typescript": "^6.0.3",
"typescript-eslint": "^8.71.2"
},
"lint-staged": {
"*.{js,ts,mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"overrides": {
"@anthropic-ai/sdk": "0.135.0",
"@hono/node-server": "2.1.5",
"adm-zip": "0.6.1",
"brace-expansion": "5.0.12",
"express-rate-limit": "8.7.1",
"fast-uri": "3.1.8",
"fast-xml-parser": "5.11.2",
"flatted": "3.4.4",
"form-data": "4.0.6",
"hono": "4.13.13",
"ip-address": "10.7.4",
"path-to-regexp": "8.4.2",
"picomatch": "4.0.7",
"protobufjs": "7.6.6",
"proxy-addr": "2.0.8",
"sharp": "0.35.5",
"ws": "8.22.0"
}
}