Commit Graph
264 Commits
Author SHA1 Message Date
Hide_D bb618a9ade feat: add NpcControlView component for managing NPC policies and priorities 2026-01-18 14:59:06 +00:00
Hide_D e2accc31a7 feat: e2e 테스트 실행 및 에러 수정 2026-01-18 13:28:02 +00:00
Hide_D e1f21d3209 feat: 환경 변수에 GAME_TRPC_PATH 및 GATEWAY_TRPC_PATH 추가, 관련 문서 업데이트 2026-01-18 12:44:22 +00:00
Hide_D 8c40b075e5 image storage 2026-01-18 12:35:02 +00:00
Hide_D 33d97502f0 feat: PM2 오케스트레이터 E2E 테스트 추가 2026-01-18 12:29:34 +00:00
Hide_D 7a0fe72956 feat: PM2 기반 E2E 테스트 문서 추가 2026-01-18 11:23:39 +00:00
Hide_D 3ce1f441d0 feat: add unification handler and inheritance system
- Implemented `unificationHandler.ts` to manage nation unification logic, including inheritance point calculations and logging.
- Created `InheritView.vue` for frontend management of inheritance points, buffs, and logs.
- Added database migration for new inheritance tables: `inheritance_point`, `inheritance_log`, `inheritance_result`, and `inheritance_user_state`.
- Developed inheritance buff logic in `inheritBuff.ts` to apply buffs during domestic and war actions.
2026-01-18 10:59:04 +00:00
Hide_D cbe960364d feat: 리소스 스키마 및 검증 스크립트 추가, 기존 스키마 파일 삭제 2026-01-18 08:49:19 +00:00
Hide_D 2f05e5a1e1 feat: zod 라이브러리 버전을 4.3.5로 업데이트 2026-01-18 08:27:36 +00:00
Hide_D 116993b3ad feat: zod 라이브러리 업데이트 및 JSON 스키마 정의 개선 2026-01-18 08:19:22 +00:00
Hide_D 81594a25c3 feat: add resource schemas and validation scripts
- Introduced new resource schemas for maps, scenarios, unit sets, and turn commands using Zod.
- Implemented a script to generate JSON schemas from Zod schemas.
- Added a validation script to ensure resource JSON files conform to their respective schemas.
- Updated the logic package to export new resource schemas.
- Added new dependencies for schema generation and validation.
- Created a tools-scripts package for resource management tasks.
2026-01-18 08:04:02 +00:00
Hide_D e3f7758187 feat: RedisTurnDaemonTransport에서 lastId 초기값을 '0-0'으로 변경 및 RedisCommandStream에서 블록 시간 제한 추가 2026-01-18 07:38:00 +00:00
Hide_D 879104622a feat: auth/gameToken 모듈로의 경로 변경 및 tsdown 설정 추가 2026-01-18 06:39:43 +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 1b7423e1f6 feat: 여러 아이템의 onCalcStat 함수 개선 및 통일성 있는 statValue 상수화 2026-01-17 16:19:49 +00:00
Hide_D d78fab4e6c docs: AGENTS.md에 기존 기능 마이그레이션 시 텍스트 및 로그 출력을 동일하게 유지해야 한다는 지침 추가 2026-01-17 16:08:40 +00:00
Hide_D 70d4832af7 fix: 정규 표현식 수정 및 조건부 렌더링 개선; 코드 가독성 향상 2026-01-17 15:24:27 +00:00
Hide_D 43dd42d928 feat: 로컬 계정 생성 기능 추가; 환경 설정에 따라 계정 생성 가능 여부 제어 2026-01-17 15:20:59 +00:00
Hide_D 1a03252782 feat: add NationGeneralsView and NationPersonnelView components for managing generals and personnel in the nation 2026-01-17 15:11:46 +00:00
Hide_D 70c7c0b039 feat: add git reference support for scenario previews; implement git ref handling in admin router and frontend 2026-01-17 14:27:11 +00:00
Hide_D 07ea17dacf feat: refactor utility functions for improved consistency and usability; consolidate parsing logic 2026-01-17 12:36:58 +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 0fed50b5a9 feat: refactor realtime event types and payload structure for consistency 2026-01-17 02:18:01 +00:00
Hide_D 56b1c40642 feat: implement real-time event handling and SSE support; add event publishing and subscription mechanisms 2026-01-17 01:39:06 +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 f3591612fa router 분리 2026-01-16 18:06:51 +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 4f44e76ef1 feat: Refactor command selection and message handling components; add main dashboard store 2026-01-16 16:33:44 +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 f8159728ca feat: Implement session management and routing for general creation
- Added session initialization in main.ts to manage user sessions.
- Updated router to include a new route for joining or creating a general.
- Enhanced session store with methods for managing session tokens and user profiles.
- Introduced new components for displaying city, general, nation, and command information.
- Implemented loading states and error handling in the main view.
- Created a skeleton loader component for better user experience during data fetching.
- Updated TypeScript definitions for route metadata to include new authentication requirements.
2026-01-16 15:57:56 +00:00
Hide_D 15625f2c28 feat: initialize game frontend with Vue, routing, and session management
- Add index.html as the entry point for the application.
- Create App.vue to serve as the main application component with RouterView.
- Implement global styles in main.css using Tailwind CSS.
- Set up TypeScript definitions for Vue components in env.d.ts.
- Configure Vue Router with routes for home, public, login, and not found views.
- Extend RouteMeta interface to include authentication-related metadata.
- Create a Pinia store for session management with status tracking.
- Implement TRPC client for API communication with session token handling.
- Develop views for Login, Main, Not Found, and Public with basic structure.
- Configure TypeScript for Node with tsconfig.node.json.
- Set up Vite configuration for the project with Vue and Tailwind CSS plugins.
2026-01-15 17:57:41 +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 7a289c22d9 buildMinConstraints 구현 2026-01-15 17:29:26 +00:00
Hide_D 4a0b18954d Refactor command specifications to use availabilityArgs instead of args
- Updated multiple command specifications across various files to replace 'args' with 'availabilityArgs' for better clarity and consistency in argument handling.
- Removed empty 'args' objects in several command specifications to streamline the code.
- Ensured that all relevant commands in both general and nation action directories reflect these changes.
2026-01-15 16:43:24 +00:00
Hide_D a7b22f0502 커맨드의 arg 타입에 zod 강제. 2026-01-15 16:34:18 +00:00
Hide_D 39e7eddcf7 미구현 커맨드 추가 2026-01-15 15:56:24 +00:00
Hide_D 237e7e73cc feat: add Zod schema validation for command arguments in various action modules
- Introduced `argsSchema` property in `TurnCommandSpecBase` to enforce argument validation using Zod.
- Refactored argument parsing in multiple action modules (e.g., `che_NPC능동`, `che_강행`, `che_건국`, etc.) to utilize Zod schemas for improved type safety and validation.
- Removed redundant manual checks for argument types and replaced them with Zod's validation mechanisms.
- Enhanced code maintainability and readability by centralizing argument validation logic.
2026-01-15 15:27:20 +00:00
Hide_D d1b2076a32 추가 유닛 테스트 2026-01-15 15:02:09 +00:00
Hide_D f12d3cf4fe zod arg parse 작업 진행 2026-01-15 15:01:58 +00:00
Hide_D 24fbace987 lint 로직 변경 2026-01-15 14:58:44 +00:00
Hide_D 62279dc587 todo 추가 2026-01-15 14:49:52 +00:00
Hide_D 9c1da3a5d5 턴엔진 테스트 및 버그 수정 2026-01-15 13:27:16 +00:00
Hide_D 550910811c feat(ai): add autorun policies for general and nation management
- Introduced `policies.ts` to define AI policies for generals and nations, including priority actions and flags.
- Implemented `AutorunGeneralPolicy` class to manage general-specific actions based on AI options and server/nation policies.
- Implemented `AutorunNationPolicy` class to handle nation-specific actions, including resource requirements and combat strategies.
- Added types for AI context and world view in `types.ts` to facilitate interaction with game state and entities.
2026-01-11 14:49:42 +00:00
Hide_D cc41d1538e 코드 수정 2026-01-11 11:48:12 +00:00