-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 6.27 KB
/
Copy pathpackage.json
File metadata and controls
145 lines (145 loc) · 6.27 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
{
"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.16.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.3.14"
},
"packageManager": "bun@1.3.14",
"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",
"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:test-globs && bun run check:docs-versions && bun run check:docs-citations && bun run check:env-contract && 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 -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-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",
"check:action-pins": "bun run scripts/check-action-pins.ts",
"check:runner-pins": "bun run scripts/check-runner-pins.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.29.0",
"@anthropic-ai/claude-agent-sdk": "^0.3.0",
"@huggingface/transformers": "^4.2.0",
"@kubernetes/client-node": "^1.4.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@octokit/webhooks": "14.2.0",
"@octokit/webhooks-types": "^7.6.1",
"cron-parser": "^5.5.0",
"octokit": "^5.0.5",
"pino": "^10.3.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^10.0.1",
"@octokit/plugin-paginate-graphql": "^6.0.0",
"@types/bun": "^1.3.12",
"@types/node": "^25.6.0",
"@types/picomatch": "^4.0.3",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-security": "^4.0.0",
"eslint-plugin-simple-import-sort": "^13.0.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.0",
"pino-pretty": "^13.1.3",
"prettier": "^3.8.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.58.2"
},
"lint-staged": {
"*.{js,ts,mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"overrides": {
"@anthropic-ai/sdk": "0.117.1",
"@hono/node-server": "2.1.1",
"adm-zip": "0.6.0",
"express-rate-limit": "8.5.2",
"fast-uri": "3.1.5",
"fast-xml-builder": "1.2.0",
"flatted": "3.4.4",
"form-data": "4.0.6",
"hono": "4.12.29",
"path-to-regexp": "8.4.2",
"picomatch": "4.0.5",
"protobufjs": "7.6.5",
"ws": "8.21.3",
"yaml": "2.9.0"
}
}