Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
71322f8
Add relics and potions to map state player summary
CompleteDotTech Mar 26, 2026
3cec6c4
Include map data in all state responses
CompleteDotTech Mar 26, 2026
8d41088
Include full player data in all state responses
CompleteDotTech Mar 26, 2026
bd6cf9a
Add master deck to player state
CompleteDotTech Mar 26, 2026
b46b9cc
Add try-catch around top-level BuildPlayerState to prevent crashes
CompleteDotTech Mar 26, 2026
7c1b08b
Derive next map options from graph data when map screen is closed
CompleteDotTech Mar 26, 2026
f427a0f
debug: add _debug_next to diagnose empty next_options
CompleteDotTech Mar 26, 2026
b40986d
Revert "debug: add _debug_next to diagnose empty next_options"
CompleteDotTech Mar 26, 2026
3c7f8bf
Revert "Derive next map options from graph data when map screen is cl…
CompleteDotTech Mar 26, 2026
28fc523
Add glossary API endpoints for cards, relics, potions, keywords
CompleteDotTech Mar 26, 2026
ac30c2a
Fix glossary: use runState.Players instead of direct pool construction
CompleteDotTech Mar 26, 2026
9589606
Revert "Fix glossary: use runState.Players instead of direct pool con…
CompleteDotTech Mar 26, 2026
5046512
Revert glossary endpoints — caused mod crash on load
CompleteDotTech Mar 26, 2026
01b4131
Bind HTTP server to all interfaces when URL ACL is available
CompleteDotTech Mar 27, 2026
e992cb3
Add GET /api/v1/glossary/cards endpoint
CompleteDotTech Mar 29, 2026
eaf67f0
Add GET /api/v1/glossary/relics endpoint
CompleteDotTech Mar 29, 2026
9c8cee1
Add GET /api/v1/glossary/potions endpoint
CompleteDotTech Mar 29, 2026
68b5fdf
Add GET /api/v1/glossary/keywords endpoint
CompleteDotTech Mar 29, 2026
76a805c
Detect main menu options (singleplayer, multiplayer, etc.)
CompleteDotTech Mar 29, 2026
0678f39
Add menu screen detection and character select details
CompleteDotTech Mar 29, 2026
88d939f
Add menu_select action for programmatic menu navigation
CompleteDotTech Mar 29, 2026
694a6ec
Add game_over state detection and continue/main_menu actions
CompleteDotTech Mar 29, 2026
468b2cf
Add GET /api/v1/profile endpoint
CompleteDotTech Mar 29, 2026
014acff
Add per-character breakdown to encounter and enemy stats
CompleteDotTech Mar 29, 2026
1853c7b
Exhaust profile data: ancients, epochs, achievements, global stats
CompleteDotTech Mar 29, 2026
cb53a6b
Add bestiary endpoint and widget
CompleteDotTech Mar 29, 2026
23cf68a
Add gold rewards and monster mapping to bestiary encounters
CompleteDotTech Mar 29, 2026
350fe6b
Add timeline epoch data and multiplayer/settings/compendium detection
CompleteDotTech Mar 29, 2026
dc62748
Show completed epochs with era name, separate locked/completed sections
CompleteDotTech Mar 29, 2026
bb0af51
Fix timeline to use stable ProgressState data instead of hover tips
CompleteDotTech Mar 29, 2026
21cb103
Add timeline_advance action for auto-clicking epoch reveals
CompleteDotTech Mar 29, 2026
849cf3e
Fix timeline auto-advance: RevealEpoch, confirm, tutorial proceed
CompleteDotTech Mar 29, 2026
523484c
Add profile management API: list, switch, delete profiles
CompleteDotTech Mar 29, 2026
ba2d509
Add GET /api/v1/settings endpoint
CompleteDotTech Mar 29, 2026
19bd6b2
Fix profile switch to use proper UI flow like a real player
CompleteDotTech Mar 29, 2026
821e6a6
Detect and dismiss tutorial prompts, handle all FTUE popups
CompleteDotTech Mar 29, 2026
8b129d9
Add seed support when embarking on a run
CompleteDotTech Mar 29, 2026
86fdf5b
Merge origin/main into local fork state
CompleteDotTech Mar 31, 2026
b2f6799
Merge remote-tracking branch 'upstream/main' into codex/catch-up-upst…
CompleteDotTech Apr 3, 2026
500e2b8
Reapply fork-specific changes after upstream sync
CompleteDotTech Apr 3, 2026
aafabc8
Merge upstream main into fork
CompleteDotTech Apr 18, 2026
fea4700
Merge upstream main into fork
CompleteDotTech May 9, 2026
c87a11d
Add compendium endpoint
CompleteDotTech May 9, 2026
f2b80a9
Add compendium run identity
CompleteDotTech May 9, 2026
217159a
Address compendium review feedback
CompleteDotTech May 9, 2026
82bebee
Restrict save resolution to active Steam account
CompleteDotTech May 9, 2026
edafee9
Probe XDG save data roots
CompleteDotTech May 9, 2026
4fe201b
Expose read-only metadata MCP tools
CompleteDotTech May 9, 2026
c1b3a95
Route menu select during multiplayer runs
CompleteDotTech May 9, 2026
8cd6382
Include full card fields in pile state
CompleteDotTech May 9, 2026
a583943
Use structured route mismatch errors
CompleteDotTech May 9, 2026
65eee1f
Return structured glossary run errors
CompleteDotTech May 9, 2026
0633f39
Avoid obsolete bestiary reflection API
CompleteDotTech May 9, 2026
64f61fc
Normalize HTTP error response shape
CompleteDotTech May 9, 2026
44f4550
Align Crystal Sphere tool usability flags
CompleteDotTech May 9, 2026
dbb00be
Include full hand selection card metadata
CompleteDotTech May 9, 2026
d239ce7
Document abandon run menu option
CompleteDotTech May 9, 2026
16bfa3f
Advertise HTTP endpoint index at root
CompleteDotTech May 9, 2026
a2505ca
Expose endpoint index through MCP
CompleteDotTech May 9, 2026
acc28fc
Normalize profile no-data error bodies
CompleteDotTech May 9, 2026
4012c72
Add endpoint surface audit script
CompleteDotTech May 9, 2026
cc7610e
Audit safe POST endpoint validation
CompleteDotTech May 9, 2026
5672f95
Expose upgraded flag for shop cards
CompleteDotTech May 9, 2026
b657d41
Expose full event relic option metadata
CompleteDotTech May 9, 2026
55e46bd
Expose full shop item metadata
CompleteDotTech May 9, 2026
fb7167f
Expose full potion reward metadata
CompleteDotTech May 9, 2026
b0eff83
Expose full relic reward metadata
CompleteDotTech May 9, 2026
58adf8b
Audit MCP action surface coverage
CompleteDotTech May 9, 2026
76ba661
Expose full run deck in player state
CompleteDotTech May 9, 2026
489b57e
Show run deck in markdown state
CompleteDotTech May 9, 2026
1a5f518
Expose full player inventory metadata
CompleteDotTech May 9, 2026
a5f6b17
Render card keywords and upgrades in markdown
CompleteDotTech May 9, 2026
d7dbd50
Audit explicit state response formats
CompleteDotTech May 9, 2026
98db800
Render full item metadata in markdown
CompleteDotTech May 9, 2026
555e381
Avoid cross-account save fallback
CompleteDotTech May 9, 2026
1be80e1
Normalize markdown item metadata
CompleteDotTech May 9, 2026
9b32200
Audit multiplayer POST guard
CompleteDotTech May 9, 2026
cd9f2bd
Normalize state endpoint errors
CompleteDotTech May 9, 2026
fa0915d
Restrict root endpoint methods
CompleteDotTech May 9, 2026
3204d7f
Scope glossary responses to active run
CompleteDotTech May 9, 2026
9574496
Treat malformed action payloads as bad requests
CompleteDotTech May 9, 2026
933968f
Audit GET-only route methods
CompleteDotTech May 9, 2026
ed96abe
Audit state surface coverage
CompleteDotTech May 9, 2026
8ec1f4e
Audit MCP tool documentation
CompleteDotTech May 9, 2026
df1212d
Clarify proceed action coverage
CompleteDotTech May 9, 2026
437c457
Validate profile id integer payloads
CompleteDotTech May 9, 2026
b158ec1
Document scoped glossary tools
CompleteDotTech May 9, 2026
25ffd33
Exclude item self-tooltips from keywords
CompleteDotTech May 9, 2026
be68ce6
Audit keyword glossary item leaks dynamically
CompleteDotTech May 9, 2026
98d7503
Keep scoped endpoint surfaces aligned
CompleteDotTech May 9, 2026
f801150
Include shared pools in active glossary
CompleteDotTech May 9, 2026
d9a07f5
Search all save account roots
CompleteDotTech May 9, 2026
5d38dd2
Include all shared card pools in glossary
CompleteDotTech May 9, 2026
94bed2d
Expose card upgrade previews in glossary
CompleteDotTech May 9, 2026
54bf98b
Expose upgraded card previews in state payloads
CompleteDotTech May 9, 2026
7ffc394
Add upgrade previews to shop cards
CompleteDotTech May 9, 2026
3a3ee6f
Align shop proceed state with action behavior
CompleteDotTech May 9, 2026
838f831
Align hand can_play with action guards
CompleteDotTech May 9, 2026
f9b17c4
Expose card selection progress state
CompleteDotTech May 9, 2026
e8e811c
Guard card reward selection availability
CompleteDotTech May 9, 2026
472d7c6
Align event option availability state
CompleteDotTech May 9, 2026
4fe67e6
Align rest option availability state
CompleteDotTech May 9, 2026
c8c9530
Align relic selection availability state
CompleteDotTech May 9, 2026
156b8ad
Align bundle selection availability state
CompleteDotTech May 9, 2026
b75366f
Expose shop purchase readiness
CompleteDotTech May 9, 2026
f4707cf
Expose treasure relic claim readiness
CompleteDotTech May 9, 2026
c338ecb
Tighten crystal sphere visibility guards
CompleteDotTech May 9, 2026
2320878
Expose potion use readiness
CompleteDotTech May 9, 2026
a708c7e
Expose combat end turn readiness
CompleteDotTech May 9, 2026
dc17fcd
Expose multiplayer end turn readiness
CompleteDotTech May 9, 2026
07bc7bd
Expose reward claim readiness
CompleteDotTech May 9, 2026
9ca2b82
Expose map travel readiness
CompleteDotTech May 9, 2026
e6eab0c
Expose potion discard readiness
CompleteDotTech May 9, 2026
f80ec8c
Expose enemy targetability state
CompleteDotTech May 9, 2026
2ba30d1
Refine enemy-targeted potion readiness
CompleteDotTech May 9, 2026
edcfe99
Harden selection action readiness guards
CompleteDotTech May 9, 2026
39e4bcd
Gate proceed actions on visible controls
CompleteDotTech May 9, 2026
c477a17
Expose glossary card star costs
CompleteDotTech May 9, 2026
5c048b0
Align glossary card upgrade flags
CompleteDotTech May 9, 2026
be26e59
Expose hand card target references
CompleteDotTech May 9, 2026
66dc3e5
Validate missing profile id
CompleteDotTech May 9, 2026
a6b0feb
Expose current run context in state
CompleteDotTech May 9, 2026
4502325
Expose profile run context
CompleteDotTech May 9, 2026
8817e98
Expose compendium save context
CompleteDotTech May 9, 2026
718da1d
Use mutable event state text
CompleteDotTech May 9, 2026
b886d57
Advertise profile save context
CompleteDotTech May 9, 2026
5612fab
Expose glossary save context
CompleteDotTech May 9, 2026
d5024e5
Expose resolved progress paths
CompleteDotTech May 9, 2026
c5ae36c
Enrich current run context
CompleteDotTech May 9, 2026
39ff8a6
Preserve glossary error context
CompleteDotTech May 9, 2026
4f985ac
Shape bestiary metadata response
CompleteDotTech May 9, 2026
c5726bc
Harden settings endpoint shape
CompleteDotTech May 9, 2026
0cabf0e
Shape profiles endpoint response
CompleteDotTech May 9, 2026
79d0551
Add profile endpoint envelopes
CompleteDotTech May 9, 2026
c95f601
Stabilize profile metadata ordering
CompleteDotTech May 9, 2026
74ae42f
Return HTTP errors for profile actions
CompleteDotTech May 9, 2026
e378262
Validate state response formats
CompleteDotTech May 9, 2026
1931420
Return HTTP errors for action dispatch
CompleteDotTech May 9, 2026
9ab12b2
Return HTTP errors for menu dispatch
CompleteDotTech May 9, 2026
f56c1a4
Shape API index response
CompleteDotTech May 9, 2026
1014fe7
Expose API index version
CompleteDotTech May 9, 2026
5c6ce11
Return non-2xx for failed actions
CompleteDotTech May 9, 2026
4e51a5f
Preserve MCP structured endpoint errors
CompleteDotTech May 9, 2026
58edc32
Add state endpoint response envelopes
CompleteDotTech May 9, 2026
aa3454a
Normalize endpoint save paths
CompleteDotTech May 9, 2026
1698771
Normalize compendium history path
CompleteDotTech May 9, 2026
6f80057
Describe endpoint response contexts
CompleteDotTech May 9, 2026
5200398
Code blocking popup action errors
CompleteDotTech May 9, 2026
71f9dde
Code POST validation errors
CompleteDotTech May 9, 2026
2e87f86
Code route-level endpoint errors
CompleteDotTech May 9, 2026
715076b
Return non-2xx read availability errors
CompleteDotTech May 9, 2026
37c3735
Code read endpoint failure errors
CompleteDotTech May 9, 2026
5e87785
Add fallback action error codes
CompleteDotTech May 9, 2026
04f9933
Audit static endpoint manifest parity
CompleteDotTech May 9, 2026
a7a8d76
Test MCP endpoint error handling
CompleteDotTech May 9, 2026
88885f2
Clarify action target and error docs
CompleteDotTech May 9, 2026
09dc7e3
Code timeline manual action errors
CompleteDotTech May 9, 2026
38c6242
Clarify endpoint error code contract
CompleteDotTech May 9, 2026
43e6a54
Document glossary run-state errors
CompleteDotTech May 9, 2026
359e846
Audit MCP route helper parity
CompleteDotTech May 9, 2026
418b8a7
Clarify current run identity availability
CompleteDotTech May 9, 2026
01df37b
Clarify MCP glossary run identity docs
CompleteDotTech May 9, 2026
2792596
Harden glossary keyword tip collection
CompleteDotTech May 9, 2026
2006023
Refresh README API index example
CompleteDotTech May 9, 2026
e7082cb
Sort bestiary nested metadata
CompleteDotTech May 9, 2026
14f6e0f
Test MCP read endpoint error propagation
CompleteDotTech May 9, 2026
df6ba7a
Sort glossary item payloads
CompleteDotTech May 9, 2026
3f28b32
Update current run state example
CompleteDotTech May 9, 2026
1b136aa
Stabilize glossary keyword ordering
CompleteDotTech May 9, 2026
ba3bd17
Handle missing run manager in glossary
CompleteDotTech May 9, 2026
be1fcde
Audit legacy profile path normalization
CompleteDotTech May 9, 2026
3fd3eaf
Audit nested settings schema
CompleteDotTech May 9, 2026
b5bcd88
Audit docs for normalized save paths
CompleteDotTech May 9, 2026
f5fdd2d
Audit glossary item schemas
CompleteDotTech May 9, 2026
56a3640
Audit compendium run history section
CompleteDotTech May 9, 2026
2165561
Audit profile stats schemas
CompleteDotTech May 9, 2026
82855b2
Test MCP profile actions
CompleteDotTech May 9, 2026
6ad50db
Prioritize method errors before run mode guards
CompleteDotTech May 9, 2026
c4157f6
Audit unsupported endpoint methods
CompleteDotTech May 9, 2026
8dfd275
Audit profile compendium schemas
CompleteDotTech May 9, 2026
8400282
Audit card upgrade previews
CompleteDotTech May 9, 2026
d7a16a7
Audit live combat state payloads
CompleteDotTech May 9, 2026
363681e
Audit active run profile switch guard
CompleteDotTech May 9, 2026
a1be21d
Audit multiplayer route guards
CompleteDotTech May 9, 2026
1a53acf
Audit bestiary entry schemas
CompleteDotTech May 9, 2026
e1d2ae5
Audit settings value schemas
CompleteDotTech May 9, 2026
13ec7bb
Audit glossary value schemas
CompleteDotTech May 9, 2026
a4f296f
Audit profile slot schemas
CompleteDotTech May 9, 2026
71f0e68
Audit API index schema
CompleteDotTech May 9, 2026
3f1eb62
Audit safe gameplay validation errors
CompleteDotTech May 9, 2026
d68eb77
Audit current run context schemas
CompleteDotTech May 9, 2026
e51d4a5
Audit profile value schemas
CompleteDotTech May 9, 2026
625d9a3
Audit compendium run history schemas
CompleteDotTech May 9, 2026
89ab1d0
Document endpoint contracts
CompleteDotTech May 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ GUIDE.md

# Qoder
.qoder.json

# Local planning
todo.md
20 changes: 20 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,23 @@
- Not checking card indices after playing — indices shift left.
- Taking too long to kill bosses — enemies scale every turn.
- Adding mediocre cards that dilute the deck before boss fights.

## Development Workflow

When starting any new feature, functionality, or meaningful change:

1. Create an appropriate feature branch before making changes.
2. Use a branch name with the `codex/` prefix when appropriate, for example `codex/add-spectator-delay`.
3. Reference a `todo.md` during the work.
4. Stay on the branch that matches the current task and do not mix unrelated changes across branches.
5. Before switching branches, make sure work is committed or stashed and the working tree is clean.
6. When working on multiple branches at once, keep one task per branch and use separate worktrees when practical.
7. Ensure the thread is associated with the active working branch before committing. If the thread was previously on `main` and work is now on `codex/...`, switch or confirm the thread to that feature branch. Never commit to `main` unless explicitly instructed.
8. Keep branches small and single-purpose so review, testing, and rollback are easier.
9. Rebase or merge from `main` regularly to keep long-lived branches current.
10. Do the implementation work on that branch.
11. Run the relevant tests and checks before committing.
12. Commit and push only after the work has been tested.
13. If the change is valid, merge it.

Goal: keep `main` stable and use feature branches as the default workflow.
130 changes: 91 additions & 39 deletions McpMod.Actions.cs

Large diffs are not rendered by default.

728 changes: 728 additions & 0 deletions McpMod.Compendium.cs

Large diffs are not rendered by default.

Loading