cpns / packages /api /src /routers /ai.ts

Commit History

Rename project from Labas to Pram
2b62b0c

pramudya-yb commited on

feat: implement admin panel with multiple routes for user management, credits, jobs, and content moderation. Add admin dashboard for platform overview and integrate visibility controls for featured content. Enhance sidebar navigation for admin access and ensure proper session handling for admin users.
bede2fc

rogasper commited on

feat: add new skills and enhance server configuration. Introduce 'security-review' and 'test-driven-development' skills in skills-lock.json. Update turbo.json to include a test dependency. Create .env.example files for server and web applications to standardize environment variables. Implement security headers in server index.ts for improved security. Enhance ResultSection component to support onClear callback and update generation job handling for better session management. Add encryption for API keys in the backend and implement rate limiting across various routers to prevent abuse.
f2d1fea

rogasper commited on

feat: add API key management components including ApiKeyForm, ApiKeyList, SecurityInfo, TipsCard, and TokenUsageChart. Enhance settings route to integrate these components for improved API key configuration and token usage tracking. Implement backend support for token usage history with new query options.
1798222

rogasper commited on

feat: integrate leaderboard features with new MyRankCard and RankingPodium components. Enhance sidebar navigation to include leaderboard links and update routing to support new setup-avatar and leaderboard routes. Refactor job management logic to utilize useGenerationJobs hook for improved job tracking and error handling.
85cb661

rogasper commited on

feat: enhance backend conventions for tRPC and Hono with new error handling, pagination, authorization, and logging guidelines. Introduce shared utilities for error management, ownership assertions, and visibility conditions. Update routers to utilize new pagination schema and improve error responses. Add comprehensive documentation in AGENTS.md for better developer onboarding.
598f0d5

rogasper commited on

feat: add AGPL-3.0 license to project and update package.json files across applications. Introduce new job statuses in the GlobalGenerationProgress component and enhance job management logic in useGenerationJob hook. Implement improved status handling in jobs route and update AI package with new generation options and strategies.
2858397

rogasper commited on

feat: add job retry functionality and enhance question generation with JSON schema descriptions. Update UI to allow job retries for failed or canceled jobs, and improve API handling for job input configurations. Include new utility functions for generating JSON schema descriptions for questions and passages.
c96f44d

rogasper commited on

feat: add comprehensive AGENTS.md documentation and enhance UI components with new images and card layouts for sign-in and sign-up forms. Update routing to include landing and attempt routes, and improve sidebar functionality with state management.
0c932f9

rogasper commited on

Add job cancellation functionality, including UI updates for canceling jobs in the TestBlueprintCard and jobs route. Enhance job management with cancellation handling in the API and database schema, ensuring proper status updates and error messages for canceled jobs.
36b41bf

rogasper commited on

Enhance application by adding new routes for jobs and attempt details, updating sidebar navigation, and implementing combo package builder functionality. Also, include new dependencies in the lock files and modify API key structure to support maxTokens.
f90228b

rogasper commited on

Add initial project structure with design and product documentation, API key management, sidebar navigation, and route setup
99d1f6e

rogasper commited on