mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
---
|
|
description:
|
|
globs:
|
|
alwaysApply: true
|
|
---
|
|
# Technology Stack and Dependencies
|
|
|
|
## Core Technologies
|
|
|
|
- **Runtime**: Bun (JavaScript/TypeScript runtime)
|
|
- **Language**: TypeScript
|
|
- **Framework**: Hono (lightweight web framework)
|
|
- **API Integration**: OpenAI API, Gitea API
|
|
- **Containerization**: Docker, Kubernetes
|
|
|
|
## Key Dependencies
|
|
|
|
From [package.json](mdc:package.json):
|
|
|
|
### Production Dependencies
|
|
|
|
- **hono**: Lightweight, ultrafast web framework
|
|
- **@hono/zod-validator**: Schema validation for Hono
|
|
- **zod**: TypeScript-first schema validation
|
|
- **openai**: OpenAI API client
|
|
- **axios**: HTTP client for API requests
|
|
- **dotenv**: Environment variable management
|
|
- **lodash-es**: Utility library
|
|
|
|
### Development Dependencies
|
|
|
|
- **typescript**: TypeScript compiler and type definitions
|
|
- **tslint**: Code linting
|
|
- **@types/node**: Node.js type definitions
|
|
- **@types/lodash-es**: Type definitions for lodash-es
|
|
|
|
## Environment Configuration
|
|
|
|
The application uses environment variables for configuration, which are processed in [src/config/index.ts](mdc:src/config/index.ts). Key configurations include:
|
|
|
|
- Gitea API settings
|
|
- OpenAI API settings
|
|
- Custom prompts for AI review
|
|
- Server configuration
|
|
- Webhook security
|