Commit Graph
39 Commits
Author SHA1 Message Date
Hide_D 5f390a46b9 feat(engine): migrate monthly pre-update boundary 2026-07-25 21:36:34 +00:00
Hide_D 6272ff9882 fix: load and persist legacy inheritance ranks 2026-07-25 21:19:24 +00:00
Hide_D 80d7f264af fix: align legacy speciality selection 2026-07-25 20:55:27 +00:00
Hide_D 25e67e15ae Implement nation betting lifecycle 2026-07-25 20:16:11 +00:00
Hide_D 90d195e721 feat(game-engine): implement CreateManyNPC monthly action 2026-07-25 18:15:52 +00:00
Hide_D f8645a4576 feat: migrate monthly city trade rates 2026-07-25 16:16:10 +00:00
Hide_D 36d11acdfa merge: add fenced turn runner and differential harness 2026-07-25 12:14:38 +00:00
Hide_D b5633ae11a Merge main into feature/turn-differential-longrun 2026-07-25 12:10:22 +00:00
Hide_D fbfaf8df81 feat: complete user-facing message and account APIs 2026-07-25 11:39:47 +00:00
Hide_D f7311385ce Merge origin/main into frontend parity worktree 2026-07-25 11:16:03 +00:00
Hide_D 93ae4df519 feat: complete legacy-compatible auction system 2026-07-25 10:43:49 +00:00
Hide_D 0151055f94 feat: fence periodic turn daemon execution 2026-07-25 09:22:32 +00:00
Hide_D ee6fd00f7d merge: add secure troop management
# Conflicts:
#	app/game-engine/src/turn/types.ts
#	app/game-engine/src/turn/worldLoader.ts
2026-07-25 08:50:01 +00:00
Hide_D a8869a77c2 Merge branch 'codex/p0-general-turn-lifecycle'
# Conflicts:
#	app/game-engine/src/turn/databaseHooks.ts
#	app/game-engine/src/turn/inMemoryWorld.ts
#	app/game-engine/src/turn/reservedTurnHandler.ts
#	packages/infra/src/turnEngineDb.ts
2026-07-25 08:48:10 +00:00
Hide_D ae4cc31a16 feat: add secure troop management 2026-07-25 08:44:44 +00:00
Hide_D 45ba960474 feat: complete general turn lifecycle 2026-07-25 08:42:57 +00:00
Hide_D 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +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 d3277f204a feat: add dynasty management features including list and detail views
- Implemented `OldNation`, `OldGeneral`, and `Emperor` models in Prisma schema.
- Created API routes for fetching dynasty lists and details.
- Developed frontend views for displaying dynasty list and detail information.
- Enhanced in-memory world to track deleted nation snapshots during unification.
- Added functionality to settle dynasty information after unification events.
2026-01-29 19:09:17 +00:00
Hide_D 9fff671c2f feat: add ranking and hall of fame features
- Implemented new routes for Best General and Hall of Fame views in the frontend.
- Created BestGeneralView and HallOfFameView components to display rankings based on game data.
- Added new database models for RankData and HallOfFame to store ranking information.
- Introduced ranking types and hall of fame types in common types for better type safety.
- Developed ranking router to handle fetching of best general and hall of fame data.
- Updated database schema with migrations to include new tables for rank data and hall of fame.
- Enhanced the main view with links to the new ranking features.
2026-01-29 18:18:35 +00:00
Hide_D 8c5ab5074d feat: 연감 기능 추가 및 데이터베이스 모델 생성 2026-01-28 16:18:14 +00:00
Hide_D 87e4639663 feat: 외교부 기능 추가 및 외교 문서 관련 데이터베이스 모델 생성 2026-01-28 15:35:17 +00:00
Hide_D 2d87cf881e 토너먼트 준비 2026-01-23 16:45:36 +00:00
Hide_D b5b761984e 경매 관련 진행 준비 2026-01-22 17:25:39 +00:00
Hide_D 5b51aad6d0 내무부, 금/쌀수입, 감찰부 구현 2026-01-18 16:40:12 +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 c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D b1f2523fa3 feat: GamePrisma를 사용하여 데이터베이스 클라이언트 및 관련 타입 정의 업데이트 2026-01-05 15:13:59 +00:00
Hide_D 1861cbc9c6 feat: Zod를 사용한 월드 상태 구성 및 메타 타입 추가, 사용자 ID 처리 개선 2026-01-05 14:49:19 +00:00
Hide_D b2a625d4e7 feat: 군대 관련 기능 추가 및 명령어 정의 업데이트 2026-01-04 13:54:30 +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 67d995c65f feat: implement lobby functionality with user and server information retrieval 2026-01-03 13:35:16 +00:00
Hide_D cb86a47f94 feat: implement diplomacy system with state management and processing logic 2026-01-02 17:48:44 +00:00
Hide_D cc78319948 feat: refactor database client types and update related logic across game engine modules 2025-12-30 12:40:55 +00:00
Hide_D e3bbbd3718 feat: refactor DatabaseClient interface and add db module 2025-12-30 08:38:45 +00:00
Hide_D 27cc016804 feat: 로그 시스템 구현 및 관련 클래스 추가 2025-12-29 08:40:01 +00:00
Hide_D 9fe4c8f96c feat: refactor database connection handling and add legacy map loading functionality
- Updated check-connections.mts to use Prisma with PostgreSQL adapter.
- Introduced databaseUrl.ts for resolving database URLs from environment variables.
- Added legacyMapLoader.ts to load and parse legacy map data.
- Implemented scenarioSeeder.ts to seed scenario data into the database.
- Created tests for scenario seeding in scenarioSeeder.test.ts.
- Configured Prisma datasource in prisma.config.ts to support dynamic database URLs.
2025-12-29 05:49:25 +00:00
Hide_D 962b6dc15a fix: PrismaClientOptions 타입 참조 수정 및 RedisConnector의 client 타입 변경 2025-12-28 13:01:13 +00:00
Hide_D 27b243b121 feat: infra 패키지 추가 및 PostgreSQL, Redis 커넥터 구현 2025-12-28 12:18:42 +00:00