Files
archived-gitea-ai-assistant/package.json
jeffusion 1e38a0e5e0 refactor: replace fixed review workflow with dynamic agent framework
- Add agent-kernel runtime (MainAgentRunner with while-true state machine,
  subagent spawning, tool loop, budget control)
- Add review-agent entrypoint with read_file/search_code/spawn_subagent tools
- Add deterministic publish adapter with cross-specialist finding dedup
- Delete old fixed workflow (orchestrator, triage, specialist, judge agents,
  4 domain agents, critic/debate/reflexion agents, learning/memory system)
- Remove legacy ModelRole (planner/specialist/judge) from LLM types, gateway,
  config schema, DB, and frontend RoleAssignment UI
- Replace RoleAssignment with AgentModelSettings for role-based model config
- Add agent config API endpoints (GET/PUT /admin/api/agents/config)
- Add review session detail page with observability/findings/logs tabs
- Add runtime contract tests and review adapter integration tests
- Add E2E mock LLM with scripted behavior support for deterministic testing
- Update E2E test script with subagent and finding assertions
- Add e2e/README.md with real PR review testing guide
- Fix seed.sh to run gitea admin commands as git user (not root)
- Update docs (configuration, review-engines, deployment, README)
- Remove unused feedback controller, qdrant k8s manifest, embedding migration
- Add .omo/ and .opencode/ to .gitignore
2026-05-27 07:34:59 +08:00

67 lines
2.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "gitea-assistant",
"version": "0.0.0-develop",
"description": "Gitea功能增强助手包含AI代码审核功能",
"engines": {
"bun": ">=1.2.5"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.78.0",
"@google/genai": "^1.43.0",
"@hono/zod-validator": "^0.4.3",
"axios": "^1.8.3",
"dotenv": "^16.4.7",
"hono": "^4.11.9",
"lodash-es": "^4.17.21",
"openai": "^4.87.3",
"pino": "^10.3.1",
"tokenlens": "^1.3.1",
"zod": "^3.25.1",
"zod-to-json-schema": "^3.25.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.6",
"@types/bun": "^1.3.10",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.10",
"concurrently": "^9.2.1",
"husky": "^9.1.7",
"semantic-release": "^24.2.9",
"typescript": "^5.8.2"
},
"files": [
"./dist/*"
],
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"scripts": {
"bootstrap": "bun install && (cd frontend && bun install)",
"postinstall": "if [ -d frontend ]; then (cd frontend && bun install); fi",
"dev": "concurrently -k -p [{name}] -n backend,frontend -c blue,green \"bun run dev:backend\" \"bun run dev:frontend\"",
"dev:backend": "bun run --watch src/index.ts",
"dev:frontend": "cd frontend && bun run dev",
"ui:regression": "cd frontend && bun run ui:regression",
"ui:visual": "cd frontend && bun run ui:visual",
"ui:visual:update": "cd frontend && bun run ui:visual:update",
"build": "rm -rf dist && tsc",
"start": "bun run src/index.ts",
"start:prod": "bun run dist/index.js",
"lint": "biome check src/",
"test": "bun test",
"test:e2e": "bash ./e2e/test.sh",
"prepare": "command -v husky >/dev/null 2>&1 && husky || true"
},
"keywords": [
"code-review",
"gitea",
"ai",
"bun",
"typescript"
],
"author": "",
"license": "MIT"
}