46 Commits

Author SHA1 Message Date
centron\schwoerer
23c3bd92d0 docs: refactor documentation for Foundry VTT + PF1e project
- Rewrite README.md to focus on Foundry VTT + Pathfinder 1e development
- Refactor QUICKSTART.md as practical setup guide (5 minutes)
- Add project-specific sections: setup, macros, PF1 system, API reference
- Include development workflow and common tasks
- Add troubleshooting guide for Foundry-specific issues
- Remove generic Claude Code setup documentation (CLAUDE_CODE_SETUP_COMPLETE.md, CLAUDE_TEMPLATE.md, MCP_SERVERS_GUIDE.md, MCP_DOCUMENTATION_SUMMARY.md, .gitignore.README.md)
- Keep CLAUDE.md as comprehensive reference documentation

Documentation now aligns with project scope: Foundry VTT v11.315 + Pathfinder 1e v10.8 + custom macros.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-30 11:28:04 +01:00
centron\schwoerer
518dd77788 chore: clean up hooks and migrate binary to Git LFS
- Remove Claude code hooks (post-write, pre-bash, session-end, session-start, stop, user-prompt-submit)
- Migrate foundry.7z binary to Git LFS
- Update serena project configuration

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-30 11:12:08 +01:00
centron\schwoerer
dd0f881d9e Migrate large binaries to Git LFS 2026-01-12 14:13:16 +01:00
centron\schwoerer
c446824c2d Track large binary types with Git LFS 2026-01-12 14:10:04 +01:00
centron\schwoerer
717ea95814 Integrate folkens-macros-pf1 into repo 2026-01-12 13:37:09 +01:00
centron\schwoerer
767969c201 Remove .windows-mcp gitlink and gate ledger writes 2026-01-12 13:27:13 +01:00
centron\schwoerer
6f1c8b7c88 sthsth 2026-01-09 20:41:06 +01:00
centron\schwoerer
9bba7c82f6 Loading fix 2025-11-25 13:40:34 +01:00
centron\schwoerer
6de6353fab ready to upload 2025-11-25 09:25:00 +01:00
centron\schwoerer
e20df693d7 chore: bump tracking ledger version to 1.3.0 2025-11-25 09:23:49 +01:00
centron\schwoerer
a48f058583 deletion works 2025-11-25 09:09:43 +01:00
centron\schwoerer
ec3e65c0f0 Bump version and finalize history clearing 2025-11-24 12:37:29 +01:00
centron\schwoerer
2c1e9d0fef good 2025-11-23 11:30:29 +01:00
centron\schwoerer
bbb8c7255e damageemter-breakdown 2025-11-23 09:52:43 +01:00
centron\schwoerer
56d3056dd5 Damage-Meter with enemies 2025-11-23 09:10:39 +01:00
centron\schwoerer
0a076ae5ee Damage Meter auto-refresh, NPC toggle, and iconized breakdown 2025-11-22 22:25:28 +01:00
centron\schwoerer
1019af2219 Show row tooltips and keep HP delta icon 2025-11-21 22:03:29 +01:00
centron\schwoerer
cbe66969fe Release 1.1.0: restore HP delta label 2025-11-21 21:54:51 +01:00
centron\schwoerer
7ac5432788 Add damage dealt tab and tracking 2025-11-21 20:17:10 +01:00
centron\schwoerer
f801bf5a6d Release gowlers-tracking-ledger v1.0.0 2025-11-21 20:12:25 +01:00
centron\schwoerer
351eb37a2c XP breakdown working 2025-11-21 17:19:05 +01:00
centron\schwoerer
f59f14f6db working fine 2025-11-21 12:55:34 +01:00
centron\schwoerer
8083003252 damage detailed 2025-11-21 11:22:14 +01:00
centron\schwoerer
ea2070598f test 2025-11-21 09:16:21 +01:00
centron\schwoerer
faef3badfe debug: enhance logging to show full metadata and HTML content for damage analysis
- Log full metadata object (JSON stringified) to see all available fields
- Log first 1000 chars of message.content (HTML) to analyze damage type information
- This will help identify where damage types (Fire, Slashing, etc.) are stored

Update version to 0.1.21

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 15:09:02 +01:00
centron\schwoerer
26a9a7fb08 feat(gowlers-tracking-ledger): add damage detail extraction for type and breakdown
- Add extractDamageDetails() function to parse damage type from message
- Extract critical hit flags and nonlethal damage flags from options
- Attempt to extract roll formula/breakdown from message.rolls
- Store damage details in recentMessages queue for later matching
- Add comprehensive console logging to inspect available message data

This enables extraction of:
- Damage types (Fire, Slashing, etc.)
- Critical hit information
- Nonlethal damage flags
- Damage roll breakdown formulas

Detailed logging will show what data is available in PF1 message objects
for further refinement of extraction logic.

Update version to 0.1.20

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 14:44:28 +01:00
centron\schwoerer
91a5176374 feat(gowlers-tracking-ledger): improve damage source extraction with proper metadata resolution
- Implement resolveActorFromMetadata() to extract attacker from message metadata UUID
- Implement resolveItemFromMetadata() to extract weapon/ability from attacker's inventory
- Change label format from "Damage (Actor, Weapon)" to "Actor -> Weapon" (e.g., "Goblin -> Scimitar Slash")
- Add support for identifiedInfo, metadata, flavor text, and speaker.alias in priority order
- Add support for Critical and Nonlethal damage modifiers
- Update version to 0.1.19

This properly resolves WHO did the damage (attacker name) and WHAT was used (weapon/ability name),
addressing the missing damage details. Format matches reference macros (macro_activate-hp-tracking.js).

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 14:36:40 +01:00
centron\schwoerer
cc58627342 fix(gowlers-tracking-ledger): preserve value sign for correct damage classification
- Fix critical bug where damage was classified as 'Healing' instead of 'Damage'
- Changed queue storage to preserve sign of value (negative=damage, positive=healing)
- This allows buildSourceLabel() to correctly classify HP changes as damage vs healing
- Update version to 0.1.18

The issue was storing Math.abs(value) which stripped the sign. Now storing raw value
so that damage classification logic can use: value < 0 ? "Damage" : "Healing"

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 14:31:24 +01:00
centron\schwoerer
0ed21afba9 feat(gowlers-tracking-ledger): add detailed source info and damage breakdown tooltips
- Source column now shows attacker name and item: "Damage (Chyvvom, Binding Contracts)"
- Add damage breakdown detection from pf1DamageData
- Add hover tooltips to delta (Δ) column showing damage/healing breakdown
- Extract damage types and values: "5 physical, 5 fire" etc.
- Store damageBreakdown field in history entries
- Support tooltips for HP and XP changes
- Update version to 0.1.13

Now you can see detailed damage types and amounts by hovering over the delta column,
and source column shows exactly who dealt the damage and with what ability.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 11:05:43 +01:00
centron\schwoerer
dcbd76adb8 feat(gowlers-tracking-ledger): add source detection and change user to source column
- Replace 'User' column with 'Source' column in HP, XP, and Currency tabs
- Add automatic source detection: Attack, Spell, Healing, Damage, XP Award, Manual
- Pass options and change data to recordHistoryEntry for source detection
- Detects source based on pf1DamageData, healing flag, spell action type, and value changes
- Defaults to 'Manual' for direct edits
- Update version to 0.1.12

Now you can see what caused each stat change (attack, spell, healing, etc)
in the tracking ledger instead of just the user who made the change.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 10:40:29 +01:00
centron\schwoerer
86fb09a867 feat(gowlers-tracking-ledger): add separate date started and date finished columns
- Split 'Date' column into 'Date Started' (dateCreated) and 'Date Finished' (dateUpdated)
- 'Date Finished' shows when encounter status changed to 'finished'
- Provides better visibility into encounter duration
- Update version to 0.1.11

Encounters tab now clearly shows when each encounter started and when it ended.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 10:34:19 +01:00
centron\schwoerer
f050a988f9 fix(gowlers-tracking-ledger): use correct Foundry combat hooks for v11
- Change combatStart hook to createCombat (correct hook for Foundry v11)
- Change combatEnd hook to deleteCombat (correct hook when combat is deleted)
- Add debug logging to confirm combat hooks are registered
- Update version to 0.1.10

Fixes issue where combat end was never being detected, preventing encounter
status from being updated to 'finished' and XP from being linked to encounters.

The console logs showed onCombatEnd was never firing because the hooks had
incorrect names for Foundry v11.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 10:16:56 +01:00
centron\schwoerer
049f47c4b3 fix(gowlers-tracking-ledger): improve encounter tracking with extended time window and detailed logging
- Increase XP linking time window from 5 to 30 seconds after combat ends
- Add detailed console logging to debug encounter status updates
- Log XP entry creation with encounter ID information
- Log encounter summary updates to verify status changes are persisted
- Track active combat state during XP recording

This helps debug why encounters show as 'ongoing' and XP not linked to encounters.

Update version to 0.1.9

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 09:58:45 +01:00
centron\schwoerer
8646ebd3e1 fix(gowlers-tracking-ledger): link XP gains to encounters after combat ends
- Add lastCombatId and lastCombatEndTime tracking to preserve encounter data
- Update recordHistoryEntry to link XP within 5 seconds of combat end to last encounter
- Change encounter status from 'ended' to 'finished' for clarity
- Store encounter ID when combat ends to catch post-combat XP awards

Fixes issue where XP gained after combat ends was not linked to the encounter,
and encounters were not being marked as finished in the history.

Update version to 0.1.8

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 15:44:51 +01:00
centron\schwoerer
ea595ab191 refactor(gowlers-tracking-ledger): simplify render hook by removing redundant jQuery tab handlers
- Remove jQuery event listeners for tab switching now handled by onclick attributes
- Simplify render hook to focus solely on config button creation
- Add debug logging to confirm render hook execution
- Reduce potential conflicts between onclick and jQuery handlers
- Update version to 0.1.7

Optimizes dialog rendering and improves code clarity.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 15:13:41 +01:00
centron\schwoerer
b97604d506 feat(gowlers-tracking-ledger): implement tab switching with global handler function
- Add window.switchHistoryTab() global function to handle tab switching via onclick
- Function manages active tab state by toggling CSS classes and display properties
- Includes detailed console logging for debugging tab switches
- Update version to 0.1.6

Fixes tab switching functionality in the history dialog where buttons were not responding to clicks.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 12:51:58 +01:00
centron\schwoerer
e71d54659e test 2025-11-19 11:47:02 +01:00
centron\schwoerer
33aebf2b87 1 2025-11-18 16:35:03 +01:00
centron\schwoerer
167cd0e02d sth 2025-11-18 16:17:05 +01:00
centron\schwoerer
4f0b3af6e1 zwischenstand 2025-11-18 14:32:01 +01:00
centron\schwoerer
e553e809ae rename folder 2025-11-18 09:46:37 +01:00
centron\schwoerer
aec929b433 working 2025-11-18 09:46:10 +01:00
centron\schwoerer
f054a31b20 zischenstand 2025-11-14 14:52:43 +01:00
centron\schwoerer
30aa03c6db history 2025-11-14 10:30:00 +01:00
centron\schwoerer
5669aa75ca track HP in chat 2025-11-14 09:25:31 +01:00
Claude Code
15355c35ea Initial commit: Fresh start with current state 2025-11-06 14:04:48 +01:00