تاریخچه نسخههای Rollplay - ۳ نسخه
مراقب نسخههای قدیمی باشید! این نسخهها فقط برای اهداف آزمایشی و ارجاع نمایش داده میشوند.همیشه باید از آخرین نسخه یک افزونه استفاده کنید.
آخرین نسخه
نسخه 1.0.4
منتشر شده در ۱۲ مارس ۲۰۲۶ - ۱۸۳٫۶۶ کیلوبایتسازگار با firefox 142.0 و نسخههای جدیدترHandles quick successive rolls.کد منبع تحت مجوز ISC منتشر شده است
نسخههای قدیمیتر
نسخه 1.0.2
منتشر شده در ۱ مارس ۲۰۲۶ - ۱۶۹٫۵۲ کیلوبایتسازگار با firefox 142.0 و نسخههای جدیدترSummary
Character extraction from the D&D Beyond API now includes all requested fields. Updates:
1. apps/extension/src/dndbeyond/xhrCapture.ts
Added extractCharacterApiData() to read all relevant fields from the v5 character JSON
Added getCapturedCharacterApiData() returning DDBCharacterApiData
Extracts:
Notes: backstory, organizations, allies, enemies, otherNotes
Traits: personalityTraits, ideals, bonds, flaws, appearance
Background: background.definition.name
Characteristics: alignment (via alignmentId), gender, eyes, size, height, faith, hair, skin, age, weight
Inventory: item names and quantities (e.g. "2x Dagger", "Quarterstaff")
Spells: from classSpells and spells.feat, spells.class, spells.race, spells.item
2. packages/shared/src/events.ts
Extended Character with the new optional fields
Updated CHARACTER_UPDATE_FIELDS and applyCharacterUpdates for incremental updates
3. apps/extension/src/dndbeyond/types.ts
Extended DDBCharacter with the same fields
Updated ddbToCharacter and ddbDiffToCharacterUpdated to include them
4. apps/extension/src/dndbeyond/index.ts
Switched mergeBackstory to mergeCharacterApiData to merge all API data into the DOM character
5. packages/shared/src/schemas.ts
Extended CharacterSchema with optional fields and validation
6. packages/shared/src/transcript.ts
Added CHARACTER_FIELD_LABELS for transcript display
Long-text fields use the same truncation approach as backstory
7. apps/api/src/ai/sanitize.ts
Added sanitizeCharacterTrait() for traits/notes (max 4096 chars)
New constant CHARACTER_TRAIT_MAX
8. apps/api/src/ai/gmTurn.ts
Updated formatCharacterForPrompt() to add:
Characteristics (alignment, gender, eyes, size, height, faith, hair, skin, age, weight)
Background, traits, appearance
Spells (up to 50), inventory (up to 30)
Organizations, allies, enemies, other notes
All new fields are optional and sanitized before going into AI prompts. Run pnpm typecheck and pnpm build to confirm everything compiles.کد منبع تحت مجوز ISC منتشر شده است
نسخه 1.0.1
منتشر شده در ۲۴ فوریه ۲۰۲۶ - ۱۵۹٫۰۶ کیلوبایتسازگار با firefox 142.0 و نسخههای جدیدترکد منبع تحت مجوز ISC منتشر شده است