-
Notifications
You must be signed in to change notification settings - Fork 6
feat: update package dependencies and configurations #143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,20 @@ | ||
| # Progress Update (2026-04-17 - weavingapi TBC-only cache and world latency) | ||
|
|
||
| - Updated `src/mastra/public/workspace/weavingapi.md` to a TBC-only shaman weaving implementation with cached spell-rank resolution and world-latency-aware cast timing. | ||
| - Preserved the explicit spell-ID table as the hot-path gate while keeping the Vanilla/TBC Lightning Bolt, Chain Lightning, Healing Wave, Lesser Healing Wave, and Chain Heal rank groups cached once. | ||
| - Switched the main timing path to `GetTimePreciseSec()` when available, with `GetTime()` fallback, and made `GetNetStats()` refresh on every prediction pass instead of using a half-second cache window. | ||
| - Kept world latency as the primary offset with home/realm latency as fallback, and refreshed spell haste automatically on each prediction pass so rating and aura changes stay in sync. | ||
| - Tracked the active spell during casts so `UNIT_AURA` and other refresh events can re-predict the live cast immediately instead of waiting for the next cast event. | ||
| - Kept `SWING_TIMER_WILL_CLIPPED` payload compatibility by continuing to emit cast duration rather than absolute timestamps. | ||
| - Left `src/mastra/public/workspace/swingtimer.md` untouched. | ||
| - Hardened the shared spellcast handler so stop/interrupt events clear stale casting state, and untracked cast starts now emit an explicit clear update instead of leaving the weaving HUD stuck on a previous cast. | ||
|
|
||
| # Progress Update (2026-04-17 - swingtimer precise-clock and aura refresh) | ||
|
|
||
| - Updated `src/mastra/public/workspace/swingtimer.md` to use `_G.GetTimePreciseSec` (with `GetTime` fallback) for precise melee swing timing while keeping latency frame-cached, and bumped the swingtimer version/changelog to reflect the final delta-correction and reset-safe behavior. | ||
| - Seeded the latency cache on load, removed the duplicate shadowed latency helper path, and switched combat latency to prefer the world connection so swing timing tracks the combat channel first. | ||
| - Changed `UNIT_AURA` to rescale swing speed immediately, added `PLAYER_TALENT_UPDATE` so melee speed also resyncs after talent swaps, wired the swing delta event into the actual swing reset/speed-change paths, made the main/off delta correction track observed swing error instead of staying at zero and zero itself during equipment resets, and added a real `ResetTimers()` implementation for equipment changes while leaving the parry branch untouched. | ||
|
Comment on lines
+9
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Contradictory claims in the 2026-04-17 progress entries. Line 9 of the weaving entry states "Left 🤖 Prompt for AI Agents |
||
|
|
||
| # Progress Update (2026-04-16 - technical-analysis diagnostics fixed) | ||
|
|
||
| - Resolved the final `get_errors` issues in `src/mastra/tools/technical-analysis.tool.ts` by correcting leaked return-type annotations, re-typing the MACD/ADX mappings, and restarting the VS Code TypeScript server. | ||
|
|
@@ -570,6 +587,11 @@ | |
|
|
||
| # Progress | ||
|
|
||
| ## Completed | ||
| - Reworked `src/mastra/public/workspace/weavingapi.md` to be nil-safe for missing spell ranks, using highest-valid-rank resolution per spell family instead of hardcoded WotLK-only lookups. | ||
| - Updated weaving prediction to use live spell haste, melee haste, and latency-aware cast timing while leaving `src/mastra/public/workspace/swingtimer.md` unchanged. | ||
| - Preserved the existing WeakAuras event names and swing-state handoff contract, with safer guards around `GetSpellInfo`, `UnitAttackSpeed`, and swing clip checks. | ||
|
|
||
| ## Completed | ||
| - Replaced the deprecated `FormEvent`-style submit typing in the auth screens with native submit-event typing. | ||
| - Redesigned `app/login/page.tsx` and `app/login/signup/page.tsx` into higher-polish split-layout auth experiences with better hierarchy, spacing, and feedback. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: Mention of
GetSpellHaste()/GetHaste()fallback doesn’t match the current weaving API implementation.The bullet implies live cast prediction uses
GetSpellHaste()/UnitSpellHaste()with aGetHaste()fallback, but theweavingapi.mdLua example only callsUnitSpellHaste("player")viagetSpellHastePercent()and doesn’t referenceGetSpellHasteorGetHaste. Please either update the example to include these fallbacks or adjust the wording here so it matches the actual implementation.