Commit Graph
72 Commits
Author SHA1 Message Date
Hide_D f9ca027aa3 Generate Prisma clients in profile builds 2026-07-25 07:28:54 +00:00
Hide_D dbd869f0ed Run profiles from commit worktrees 2026-07-25 07:27:10 +00:00
Hide_D 7ed1b5df7f test: audit and strengthen legacy test suite 2026-07-25 06:54:18 +00:00
Hide_D 2cb6bc8e96 chore: standardize TypeScript version to 6.0.2 across workspace
- Updated pnpm-workspace.yaml to enforce TypeScript version 6.0.2.
- Replaced legacy TypeScript import with the current version in comparison tools.
- Added ignoreDeprecations setting in tsconfig.base.json to suppress deprecation warnings for baseUrl.
- Introduced TypeScript version policy documentation outlining the rationale and upgrade gate for moving to TypeScript 7.
2026-07-25 06:39:04 +00:00
Hide_D 5040691d7c feat: implement input event system with durable command handling
- Introduced InputEvent model with status tracking (PENDING, PROCESSING, SUCCEEDED, FAILED) and unique request IDs.
- Added DatabaseTurnDaemonTransport for sending commands and handling idempotency.
- Implemented executeInputEvent function to manage input event lifecycle and error handling.
- Created DatabaseTurnDaemonCommandQueue for managing command processing and lease recovery.
- Enhanced turn daemon lifecycle to support atomic command execution and error recovery.
- Added tests for input event atomicity, command queuing, and error handling scenarios.
2026-07-25 05:36:34 +00:00
Hide_D c5da507df9 Implement crew type execution model 2026-07-25 05:16:11 +00:00
Hide_D 2824e5af13 feat: 환경 변수 및 Caddy 라우팅 설정 추가, 게임 API URL 템플릿 지원 2026-07-25 04:32:41 +00:00
Hide_D 976602746c feat: 테스트 정책 문서에 역사적 테스트 신뢰 경계 및 감사 절차 추가 2026-07-25 04:06:53 +00:00
Hide_D dc752294fb feat: 커맨드 로그 체크리스트 업데이트 및 로그 메시지 개선 2026-02-06 16:50:19 +00:00
Hide_D 39935404bc feat: 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-05 12:33:55 +00:00
Hide_D db1082ecb1 feat: 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-04 19:07:14 +00:00
Hide_D 702f385612 feat: 여러 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-04 19:03:54 +00:00
Hide_D 113e269a2c feat: 로그 메시지 개선 및 커맨드 로그 체크리스트 추가 2026-02-04 18:58:57 +00:00
Hide_D b0a8f768e9 feat: add survey view with voting functionality and admin panel
- Implemented SurveyView.vue for displaying and managing polls, including voting, comments, and results.
- Added new database tables for vote polls, votes, and comments in migration script.
- Created unique lottery logic for handling unique item rewards based on voting.
- Developed unit tests for unique lottery functionality to ensure deterministic behavior and correct counting of occupied unique items.
2026-02-03 18:25:26 +00:00
Hide_D bebb0de3c4 feat: add board functionality with articles and comments
- Implemented BoardView for creating and displaying articles with comments.
- Added NationAffairsView for managing national policies and financial settings.
- Created ScoutMessageView for editing recruitment messages.
- Introduced database migrations for board_post and board_comment tables.
2026-01-28 14:44:15 +00:00
Hide_D 52be3b40ef feat: implement auction bidding and resource adjustment commands
- Added `adjustGeneralResources` command to handle resource adjustments for generals.
- Introduced `patchGeneral` command for updating general attributes.
- Created `auctionBid` command to facilitate bidding in auctions with validation.
- Refactored database interactions to use transactions for auction bids and resource adjustments.
- Enhanced error handling for auction and resource operations.
- Updated command handling in the turn daemon to support new commands.
- Introduced `AuctionBidder` interface and implementation for managing auction bids.
- Improved overall structure and readability of auction-related code.
2026-01-24 04:25:04 +00:00
Hide_D b5b761984e 경매 관련 진행 준비 2026-01-22 17:25:39 +00:00
Hide_D e1f21d3209 feat: 환경 변수에 GAME_TRPC_PATH 및 GATEWAY_TRPC_PATH 추가, 관련 문서 업데이트 2026-01-18 12:44:22 +00:00
Hide_D 7a0fe72956 feat: PM2 기반 E2E 테스트 문서 추가 2026-01-18 11:23:39 +00:00
Hide_D a9ddffa97c feat: add integration tests for initialization flow
- Implemented end-to-end integration tests covering database reset, bootstrap admin creation, demo user provisioning, scenario installation, and general creation.
- Added support for deterministic seeding and auto admin general creation.
- Created a new package for integration tests with necessary configurations and scripts.
- Updated various modules to support new features, including admin user handling and scenario seeding.
- Enhanced error handling and validation in the join and orchestrator modules.
2026-01-18 06:32:19 +00:00
Hide_D bc76b6e725 feat: Enhance scenario installation options and UI integration
- Added new installation options to GatewayAdminActionRecord and implemented parsing logic in gatewayOrchestrator.ts.
- Updated resolveResetSeedInfo to accommodate new scenario installation parameters.
- Introduced a new scenario catalog module to manage scenario previews and details.
- Enhanced AdminView.vue to include a comprehensive installation form with various configuration options.
- Implemented scenario listing and selection functionality in the frontend.
- Updated profile repository to support scenario updates.
- Added tests to cover new functionalities and ensure stability.
2026-01-17 12:24:57 +00:00
Hide_D f13f8bc1cf feat: add reserved turns management for generals and nations; enhance command selection UI 2026-01-17 02:27:50 +00:00
Hide_D f3c0f492be todo update 2026-01-16 19:32:04 +00:00
Hide_D b5f53a7c42 feat: add access token management and gateway token exchange functionality 2026-01-16 19:23:40 +00:00
Hide_D 9c85a50645 feat: implement public map features including caching, API integration, and UI components 2026-01-16 18:31:26 +00:00
Hide_D 998035c66c feat: implement Join UI for general creation and possession; add API integration for session management 2026-01-16 17:59:58 +00:00
Hide_D 3ea81e4532 feat: enhance MapViewer with city selection and layout integration
- Added support for city selection in MapViewer, allowing users to click on cities to view details.
- Integrated map layout data to improve city rendering and positioning.
- Introduced SelectedCityPanel to display information about the selected city.
- Updated map asset handling with utility functions for building asset URLs.
- Enhanced state management in mapViewer store to track selected city.
- Improved responsiveness and styling of map components.
- Added new API endpoint for loading map layouts from legacy data.
2026-01-16 17:32:45 +00:00
Hide_D 5af2799662 feat: Enhance MapViewer with city detail and basic city components; integrate Pinia store for state management 2026-01-16 16:51:35 +00:00
Hide_D 5f664ddafc feat: Update game frontend SPA plan and enhance todo list with new tasks 2026-01-16 16:04:33 +00:00
Hide_D 44ec80c93b misc 2026-01-15 17:53:53 +00:00
Hide_D 9e5f652302 docs: add game frontend SPA implementation plan to architecture 2026-01-15 17:47:04 +00:00
Hide_D 62279dc587 todo 추가 2026-01-15 14:49:52 +00:00
Hide_D dc0b9271fb 코드 이식 2026-01-11 09:49:22 +00:00
Hide_D 542a65c2a9 feat: include test directories in tsconfig files, disable no-explicit-any for test files, and document testing policy relaxations. 2026-01-07 18:02:02 +00:00
Hide_D cf93c28aff docs: 업데이트된 문서 내용 반영 및 Redis 통합 설명 추가 2026-01-05 16:20:20 +00:00
Hide_D c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D d7840a2681 Handle overlay diplomacy patches 2026-01-04 04:50:00 +00:00
Hide_D a9609dcc19 feat: add database schema support for gateway and game profiles
- Introduced `dbSchema` configuration option in GatewayApiConfig and GatewayOrchestratorConfig.
- Implemented schema resolution logic in environment configuration functions.
- Updated context and orchestrator factory to use GatewayPrismaClient instead of PrismaClient.
- Refactored orchestrator server and profile repository to accommodate new database schema handling.
- Created separate Prisma schemas for game and gateway in the infra package.
- Enhanced Postgres connector to support schema overrides in database URLs.
- Updated documentation to reflect changes in database schema handling.
- Added new Prisma generation and database push scripts for game and gateway schemas.
2026-01-03 14:47:28 +00:00
Hide_D d1522ff450 feat(items): add new item modules and enhance item functionality
- Introduced various item modules including '흑색마', '사륜거', '단궁', '동호비궁', '도기', '변도론', '전론', and '환약'.
- Implemented stat item modules to enhance general and war action contexts.
- Added triggers for item healing and sniping actions during battles.
- Enhanced item management with new utility functions for inventory handling.
- Updated the item registry and loader to support new items and their functionalities.
- Improved the overall structure of item-related code for better maintainability and scalability.
2026-01-03 09:28:46 +00:00
Hide_D edcfad4e40 feat: enhance action context with diplomacy and map handling, add constraints for crew and route validation 2026-01-02 19:52:17 +00:00
Hide_D 8c9f61700e feat: Enhance Gateway Orchestrator with preopen and open scheduling, add error handling for paused states, and implement new profile management features 2026-01-01 11:27:10 +00:00
Hide_D e64962c3fd feat: Add Git workspace management for build profiles and implement workspace cleanup 2026-01-01 10:55:07 +00:00
Hide_D b46249dcbc feat: Implement admin router and orchestrator for managing profiles and builds
- Added `adminRouter` for handling profile management, including listing, upserting, and updating statuses.
- Introduced `BuildRunner` interface and `PnpmBuildRunner` class for executing build commands.
- Created `GatewayOrchestrator` to manage profile states, reconcile processes, and handle build queues.
- Implemented `Pm2ProcessManager` for managing processes using PM2.
- Developed `GatewayProfileRepository` for interacting with the database to manage profiles.
- Added utility functions for resolving workspace roots and managing process definitions.
- Included tests for profile reconciliation logic.
2026-01-01 10:38:28 +00:00
Hide_D 79819c4a1b feat: update documentation with current implementation details and planned monorepo layout 2025-12-30 13:39:43 +00:00
Hide_D f6fe5b0caf feat: update architecture TODOs with detailed implementation suggestions for turn engine and related systems 2025-12-30 13:33:16 +00:00
Hide_D 54252dc6b4 feat: 월드 스냅샷 및 시나리오 부트스트랩 관련 타입 및 로더 구현 2025-12-28 15:26:25 +00:00
Hide_D 174c171e10 feat: zod를 사용하여 외부 JSON 데이터 입력 검증 추가 및 스키마 리팩토링 2025-12-28 14:53:52 +00:00
Hide_D afe5cadd9f feat(wip): 시나리오 로더 및 파서 구현, 관련 타입 추가 2025-12-28 14:42:23 +00:00
Hide_D 68e8a89c89 feat: runtime 문서에 tsdown 및 Vite 사용 추가 2025-12-28 13:18:09 +00:00
Hide_D fa22562bb1 refactor: migrate RNG and utility functions to common package
- Removed RNG interface and related utility classes from logic package.
- Added RNG interface and utility classes in common package.
- Implemented various RNG classes (ConstantRNG, MidpointRNG, SineRNG, SequenceRNG) in common package.
- Updated conversion utilities for BytesLike to ArrayBuffer and Uint8Array in common package.
- Adjusted tests to import RNG utilities from the new common package.
- Updated vitest configuration to resolve common package imports.
2025-12-28 12:27:47 +00:00