Commit graph

3 commits

Author SHA1 Message Date
Заид Омар Медхат
337dac78ba Client/server split, Postgres, auth, Windows agent, Docker deploy
All checks were successful
Deploy / deploy (push) Successful in 3m58s
- Extract world-parse + packet capture into @albion/shared (reused by
  server and a new standalone agent workspace).
- Migrate the data layer from SQLite/better-sqlite3 to shared Postgres
  (async pg with a ?->$n helper; economy engine preloads the item/recipe
  graph so its sync recursion still works).
- API-key auth (ALBION_API_KEY) on all /api routes except health; web UI
  sends it via a fetch wrapper + key-entry gate; server serves the built
  UI with a path-traversal-safe static handler (drops @fastify/static).
- Windows companion agent: pushes world map + captured market orders to
  /api/ingest/*; runs on the gaming PC where the game traffic lives.
- Docker + docker-compose (external proxy + backend networks for Nginx
  Proxy Manager and shared Postgres) and a Forgejo deploy workflow.
- Validated end-to-end against Postgres 16 and a full compose run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 04:10:08 +05:00
Заид Омар Медхат
3b20b1e431 Phase 4: character profiles
Destiny-board profiles (mastery/spec/other-specs per crafting category),
premium flag, focus efficiency formula (250/30/30 per level), active
profile feeds tax + per-category focus costs into the ranker; editor UI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 03:11:01 +05:00
Заид Омар Медхат
9aebed4f55 Phase 3: economy engine + opportunity ranker
Pure-math engine (additive return-rate factors, focus efficiency,
station fees from computed item values, recursive buy-vs-craft input
acquisition), patch-editable economy config, ranked opportunities API
and UI with per-recipe cost breakdowns. 11 unit tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 03:07:40 +05:00