Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

Rollplay 版本历史 - 3 个版本

Rollplay 作者: Rollplay

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
Rollplay 版本历史 - 3 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 1.0.4

    发布于 2026年3月12日 - 183.66 KB
    适用于 firefox 142.0 及更高版本
    Handles quick successive rolls.

    源代码遵循 ISC 许可证 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 1.0.2

    发布于 2026年3月1日 - 169.52 KB
    适用于 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

    发布于 2026年2月24日 - 159.06 KB
    适用于 firefox 142.0 及更高版本

    源代码遵循 ISC 许可证 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。