briyah 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +263 -74
- package/data/common/config/markup +1 -1
- package/data/common/config/model_prices.json +46369 -46361
- package/data/common/config/rpg_models.json +60 -0
- package/data/common/prompts/narrator/create_chapter.prompt +12 -1
- package/data/common/prompts/pdf_converter/convert_pdf_page.prompt +8 -1
- package/data/common/prompts/perceive.prompt +287 -291
- package/data/packs/acts/agents/character-guide.json +6 -0
- package/data/packs/acts/agents/discipleship-mentor.json +6 -0
- package/data/packs/acts/agents/mentor-coach.json +6 -0
- package/data/packs/acts/agents/student.json +13 -0
- package/data/packs/acts/agents/table-moderator.json +6 -0
- package/data/packs/acts/artifacts/chapter-01-acts-1.md +405 -0
- package/data/packs/acts/artifacts/chapter-02-acts-2.md +443 -0
- package/data/packs/acts/artifacts/chapter-03-acts-3.md +409 -0
- package/data/packs/acts/artifacts/chapter-04-acts-4.md +438 -0
- package/data/packs/acts/artifacts/chapter-05-acts-5.md +434 -0
- package/data/packs/acts/artifacts/chapter-06-acts-6.md +441 -0
- package/data/packs/acts/artifacts/chapter-07-acts-7.md +472 -0
- package/data/packs/acts/artifacts/chapter-08-acts-8.md +512 -0
- package/data/packs/acts/artifacts/chapter-09-acts-9.md +346 -0
- package/data/packs/acts/artifacts/chapter-10-acts-10.md +367 -0
- package/data/packs/acts/artifacts/chapter-11-acts-11.md +391 -0
- package/data/packs/acts/artifacts/chapter-12-acts-12.md +390 -0
- package/data/packs/acts/artifacts/chapter-13-acts-13.md +388 -0
- package/data/packs/acts/artifacts/chapter-14-acts-14.md +466 -0
- package/data/packs/acts/artifacts/chapter-15-acts-15.md +413 -0
- package/data/packs/acts/artifacts/chapter-16-acts-16.md +585 -0
- package/data/packs/acts/artifacts/chapter-17-acts-17.md +428 -0
- package/data/packs/acts/artifacts/chapter-18-acts-18.md +486 -0
- package/data/packs/acts/artifacts/chapter-19-acts-19.md +461 -0
- package/data/packs/acts/artifacts/chapter-20-acts-20.md +389 -0
- package/data/packs/acts/artifacts/chapter-21-acts-21.md +452 -0
- package/data/packs/acts/artifacts/chapter-22-acts-22.md +424 -0
- package/data/packs/acts/artifacts/chapter-23-acts-23.md +395 -0
- package/data/packs/acts/artifacts/chapter-24-acts-24.md +446 -0
- package/data/packs/acts/artifacts/chapter-25-acts-25.md +391 -0
- package/data/packs/acts/artifacts/chapter-26-acts-26.md +431 -0
- package/data/packs/acts/artifacts/chapter-27-acts-27.md +530 -0
- package/data/packs/acts/artifacts/chapter-28-acts-28.md +1871 -0
- package/data/packs/acts/artifacts/chapters.manifest.json +170 -0
- package/data/packs/acts/artifacts/character_guide-creation.md +112 -0
- package/data/packs/acts/artifacts/discipleship_mentor-procedure.md +154 -0
- package/data/packs/acts/artifacts/discipleship_mentor-systems.md +72 -0
- package/data/packs/acts/artifacts/manifest.json +197 -0
- package/data/packs/acts/artifacts/stage-guide.md +94 -0
- package/data/packs/acts/pack.json +6 -0
- package/data/packs/acts/prompts/acts_player/defaults_config.json +5 -0
- package/data/packs/acts/prompts/acts_player/perceive.json +29 -0
- package/data/packs/acts/prompts/acts_player/perceive.prompt +87 -0
- package/data/packs/acts/prompts/acts_player/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/acts_room_moderator/defaults_config.json +9 -0
- package/data/packs/acts/prompts/acts_room_moderator/moderate.json +34 -0
- package/data/packs/acts/prompts/acts_room_moderator/moderate.prompt +70 -0
- package/data/packs/acts/prompts/acts_room_moderator/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/character_guide/defaults_config.json +18 -0
- package/data/packs/acts/prompts/character_guide/perceive.json +29 -0
- package/data/packs/acts/prompts/character_guide/perceive.prompt +140 -0
- package/data/packs/acts/prompts/character_guide/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/discipleship_mentor/defaults_config.json +23 -0
- package/data/packs/acts/prompts/discipleship_mentor/perceive.json +33 -0
- package/data/packs/acts/prompts/discipleship_mentor/perceive.prompt +245 -0
- package/data/packs/acts/prompts/discipleship_mentor/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/mentor_coach/defaults_config.json +13 -0
- package/data/packs/acts/prompts/mentor_coach/perceive.json +29 -0
- package/data/packs/acts/prompts/mentor_coach/perceive.prompt +87 -0
- package/data/packs/acts/prompts/mentor_coach/system_instruction.prompt +0 -0
- package/data/packs/acts/rooms/session.json +14 -0
- package/data/packs/acts/rooms/training.json +58 -0
- package/data/packs/dnd5e/artifacts/background-acolyte.md +66 -0
- package/data/packs/dnd5e/artifacts/character_creator-basics.md +31 -13
- package/data/packs/dnd5e/artifacts/class-barbarian.md +4 -1
- package/data/packs/dnd5e/artifacts/class-bard.md +2 -1
- package/data/packs/dnd5e/artifacts/class-cleric.md +2 -1
- package/data/packs/dnd5e/artifacts/class-druid.md +3 -1
- package/data/packs/dnd5e/artifacts/class-fighter.md +3 -1
- package/data/packs/dnd5e/artifacts/class-monk.md +2 -1
- package/data/packs/dnd5e/artifacts/class-paladin.md +2 -1
- package/data/packs/dnd5e/artifacts/class-ranger.md +3 -1
- package/data/packs/dnd5e/artifacts/class-rogue.md +3 -1
- package/data/packs/dnd5e/artifacts/class-sorcerer.md +2 -1
- package/data/packs/dnd5e/artifacts/class-warlock.md +3 -1
- package/data/packs/dnd5e/artifacts/class-wizard.md +2 -1
- package/data/packs/dnd5e/artifacts/manifest.json +6 -0
- package/data/packs/dnd5e/pack.json +1 -1
- package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +491 -378
- package/data/packs/dnd5e/prompts/campaign_designer/perceive.prompt +24 -7
- package/data/packs/dnd5e/prompts/character_creator/defaults_config.json +2 -13
- package/data/packs/dnd5e/prompts/character_creator/perceive.prompt +217 -87
- package/data/packs/dnd5e/prompts/dnd_player/defaults_config.json +5 -5
- package/data/packs/dnd5e/prompts/dnd_player/perceive.prompt +18 -4
- package/data/packs/dnd5e/prompts/dnd_room_moderator/defaults_config.json +9 -9
- package/data/packs/dnd5e/prompts/dnd_room_moderator/moderate.prompt +13 -10
- package/data/packs/dnd5e/prompts/dungeon_master/defaults_config.json +32 -30
- package/data/packs/dnd5e/prompts/dungeon_master/perceive.prompt +794 -764
- package/data/packs/dnd5e/rooms/campaign.json +15 -0
- package/dist-sdk/server/src/ai/LLM/anthropic.service.d.ts +3 -0
- package/dist-sdk/server/src/ai/LLM/anthropic.service.js +40 -11
- package/dist-sdk/server/src/ai/LLM/base-ai.service.d.ts +1 -0
- package/dist-sdk/server/src/ai/LLM/base-ai.service.js +16 -0
- package/dist-sdk/server/src/ai/LLM/deepseek.service.js +5 -3
- package/dist-sdk/server/src/ai/agent-store.service.js +1 -1
- package/dist-sdk/server/src/ai/artifact.service.d.ts +2 -0
- package/dist-sdk/server/src/ai/artifact.service.js +6 -0
- package/dist-sdk/server/src/ai/pack-artifacts.d.ts +2 -0
- package/dist-sdk/server/src/ai/pack-artifacts.js +65 -8
- package/dist-sdk/server/src/app/user-service-factory.js +6 -1
- package/dist-sdk/server/src/app/user-service-manager.js +1 -1
- package/dist-sdk/server/src/app.controller.d.ts +9 -1
- package/dist-sdk/server/src/app.controller.js +124 -13
- package/dist-sdk/server/src/app.service.d.ts +25 -2
- package/dist-sdk/server/src/app.service.js +122 -110
- package/dist-sdk/server/src/auth/auth.controller.js +4 -0
- package/dist-sdk/server/src/auth/auth.service.d.ts +2 -1
- package/dist-sdk/server/src/auth/dto/phone-login.dto.d.ts +2 -1
- package/dist-sdk/server/src/config/prompt-resolver.d.ts +2 -0
- package/dist-sdk/server/src/config/prompt-resolver.js +14 -7
- package/dist-sdk/server/src/documents/pdf-conversion.d.ts +43 -0
- package/dist-sdk/server/src/documents/pdf-conversion.js +175 -0
- package/dist-sdk/server/src/packs/pack-instantiation.service.d.ts +2 -1
- package/dist-sdk/server/src/packs/pack-instantiation.service.js +16 -5
- package/dist-sdk/server/src/room/room-message.service.d.ts +2 -1
- package/dist-sdk/server/src/room/room-message.service.js +3 -2
- package/dist-sdk/server/src/room/room-store.service.js +5 -1
- package/dist-sdk/server/src/room/room.d.ts +15 -2
- package/dist-sdk/server/src/room/room.js +86 -25
- package/dist-sdk/server/src/rpg/rpg-models.d.ts +9 -0
- package/dist-sdk/server/src/rpg/rpg-models.js +128 -0
- package/dist-sdk/server/src/rpg/rpg-roster.d.ts +10 -0
- package/dist-sdk/server/src/rpg/rpg-roster.js +71 -0
- package/dist-sdk/server/src/rpg/rpg.service.d.ts +29 -0
- package/dist-sdk/server/src/rpg/rpg.service.js +199 -0
- package/dist-sdk/server/src/sdk/index.d.ts +7 -4
- package/dist-sdk/server/src/sdk/index.js +8 -1
- package/dist-sdk/server/src/story/story.service.d.ts +2 -1
- package/dist-sdk/server/src/story/story.service.js +42 -4
- package/dist-sdk/server/src/tools/native-tool.types.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/acts/data/cards.d.ts +53 -0
- package/dist-sdk/server/src/tools/packs/acts/data/cards.js +54 -0
- package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.js +185 -0
- package/dist-sdk/server/src/tools/packs/acts/data/encounters.d.ts +12 -0
- package/dist-sdk/server/src/tools/packs/acts/data/encounters.js +102 -0
- package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.js +196 -0
- package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.js +1311 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/cards.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/cards.js +27 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/challenge.d.ts +37 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/challenge.js +120 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/dice.d.ts +20 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/dice.js +41 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/sheet.d.ts +54 -0
- package/dist-sdk/server/src/tools/packs/acts/engine/sheet.js +200 -0
- package/dist-sdk/server/src/tools/packs/acts/index.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/index.js +24 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.js +184 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.js +107 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.d.ts +3 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.js +146 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.d.ts +4 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.js +241 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.d.ts +3 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.js +72 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.js +75 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/shared.d.ts +20 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/shared.js +70 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.d.ts +4 -0
- package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.js +215 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.d.ts +0 -21
- package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.js +1 -56
- package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.d.ts +10 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.js +67 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.js +7 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/bestiary.js +4 -3
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.d.ts +6 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.js +92 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +32 -5
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +177 -28
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.d.ts +1 -13
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.js +15 -145
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.d.ts +7 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.js +11 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +5 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +45 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.d.ts +21 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.js +45 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +6 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +17 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +56 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/index.js +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +117 -15
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.js +96 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +40 -3
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +36 -27
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +7 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +15 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +73 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +40 -12
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/state.tools.js +68 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.d.ts +1 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +119 -14
- package/dist-sdk/server/src/tools/packs/index.d.ts +2 -1
- package/dist-sdk/server/src/tools/packs/index.js +4 -1
- package/dist-sdk/server/src/tools/shared/coerce.d.ts +13 -0
- package/dist-sdk/server/src/tools/shared/coerce.js +147 -0
- package/dist-sdk/server/src/tools/tool-execution.service.d.ts +3 -2
- package/dist-sdk/server/src/tools/tool-execution.service.js +4 -1
- package/dist-sdk/shared/types/app.types.d.ts +73 -0
- package/dist-sdk/shared/types/app.types.js +2 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Agent.html +73 -73
- package/docs/classes/Briyah.html +16 -16
- package/docs/classes/BriyahConfigService.html +7 -7
- package/docs/classes/NativeToolRegistry.html +10 -10
- package/docs/classes/PackInstantiationService.html +20 -9
- package/docs/classes/PackService.html +13 -13
- package/docs/classes/Room.html +118 -93
- package/docs/classes/RoomMessage.html +22 -22
- package/docs/enums/MessageAction.html +18 -18
- package/docs/functions/actsTools.html +44 -0
- package/docs/functions/availableToolPacks.html +4 -4
- package/docs/functions/buildMarkdown.html +54 -0
- package/docs/functions/dnd5eTools.html +4 -4
- package/docs/functions/installToolPacks.html +4 -4
- package/docs/functions/pageMarker.html +45 -0
- package/docs/functions/registerToolPacks.html +4 -4
- package/docs/functions/splitMarkdownIntoPages.html +51 -0
- package/docs/functions/stripWrappingFence.html +52 -0
- package/docs/hierarchy.html +13 -9
- package/docs/index.html +161 -44
- package/docs/interfaces/AgentCreationOptions.html +12 -12
- package/docs/interfaces/AgentInfo.html +30 -30
- package/docs/interfaces/AgentMessagesResponse.html +8 -8
- package/docs/interfaces/AppService.html +300 -194
- package/docs/interfaces/Artifact.html +9 -9
- package/docs/interfaces/ArtifactMetadata.html +13 -13
- package/docs/interfaces/ArtifactWriteOptions.html +7 -7
- package/docs/interfaces/AttachDocumentResponse.html +6 -6
- package/docs/interfaces/BriyahConfigOptions.html +12 -12
- package/docs/interfaces/ChapterInfo.html +6 -6
- package/docs/interfaces/Character.html +10 -10
- package/docs/interfaces/ConversionAgent.html +78 -0
- package/docs/interfaces/CreateAgentResponse.html +5 -5
- package/docs/interfaces/CreateRoomResponse.html +6 -6
- package/docs/interfaces/CreateStoryResponse.html +5 -5
- package/docs/interfaces/FileList.html +5 -5
- package/docs/interfaces/FileMetadata.html +10 -10
- package/docs/interfaces/IConfigService.html +5 -5
- package/docs/interfaces/InstantiateModels.html +6 -6
- package/docs/interfaces/InstantiateRoomResult.html +7 -7
- package/docs/interfaces/LoadedPack.html +16 -16
- package/docs/interfaces/LoggingOptions.html +9 -9
- package/docs/interfaces/Message.html +9 -9
- package/docs/interfaces/ModelChoice.html +7 -7
- package/docs/interfaces/ModelInfo.html +8 -8
- package/docs/interfaces/NativeToolDefinition.html +10 -10
- package/docs/interfaces/PackAgentTemplate.html +9 -9
- package/docs/interfaces/PackRoomTemplate.html +11 -11
- package/docs/interfaces/PackView.html +20 -20
- package/docs/interfaces/PdfConversionOptions.html +102 -0
- package/docs/interfaces/PdfConversionResult.html +97 -0
- package/docs/interfaces/PdfMarkdownOptions.html +198 -0
- package/docs/interfaces/PdfMarkdownResult.html +106 -0
- package/docs/interfaces/PdfPageMarkdown.html +94 -0
- package/docs/interfaces/PreparedPromptResponse.html +6 -6
- package/docs/interfaces/ProcessTextResponse.html +10 -10
- package/docs/interfaces/PromptFile.html +7 -7
- package/docs/interfaces/PromptFileContent.html +8 -8
- package/docs/interfaces/PromptFilesResponse.html +5 -5
- package/docs/interfaces/PromptFolder.html +8 -8
- package/docs/interfaces/PromptFolderDefaults.html +19 -19
- package/docs/interfaces/PromptFolderDefaultsResponse.html +21 -8
- package/docs/interfaces/PromptFoldersResponse.html +5 -5
- package/docs/interfaces/RoomDetails.html +19 -19
- package/docs/interfaces/RoomErrorUpdate.html +82 -0
- package/docs/interfaces/RoomInfo.html +10 -10
- package/docs/interfaces/RoomMessageUpdate.html +30 -15
- package/docs/interfaces/RoomMessagesResponse.html +6 -6
- package/docs/interfaces/SendMessageResult.html +6 -6
- package/docs/interfaces/StoryErrorEvent.html +8 -8
- package/docs/interfaces/StoryIdea.html +8 -8
- package/docs/interfaces/StoryInfo.html +28 -28
- package/docs/interfaces/StoryIntroduceCharacterEvent.html +7 -7
- package/docs/interfaces/StoryProgressChapterEvent.html +6 -6
- package/docs/interfaces/StoryState.html +12 -12
- package/docs/interfaces/StoryStateEvent.html +7 -7
- package/docs/interfaces/ToolArtifact.html +9 -9
- package/docs/interfaces/ToolCaller.html +7 -7
- package/docs/interfaces/ToolDefinition.html +9 -9
- package/docs/interfaces/ToolHelpers.html +17 -8
- package/docs/interfaces/ToolPackDocuments.html +100 -0
- package/docs/interfaces/ToolParameter.html +8 -8
- package/docs/interfaces/ToolRoomAccess.html +14 -14
- package/docs/interfaces/ToolSummary.html +8 -8
- package/docs/interfaces/ToolsResponse.html +7 -7
- package/docs/interfaces/Transaction.html +13 -13
- package/docs/interfaces/TransactionHistoryResponse.html +6 -6
- package/docs/modules.html +10 -10
- package/docs/types/PackOrigin.html +4 -4
- package/docs/types/PromptScope.html +4 -4
- package/docs/types/RoomTurnMode.html +4 -4
- package/docs/types/RoomUpdate.html +36 -0
- package/docs/types/RosterOverrides.html +42 -0
- package/docs/types/ToolContext.html +4 -4
- package/docs/types/ToolRunResult.html +4 -4
- package/package.json +1 -1
- package/src/tools/packs/dnd5e/README.md +186 -69
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.d.ts +0 -20
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.js +0 -112
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>dnd5eTools | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>dnd5eTools | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -22,7 +22,7 @@ tested without a registry, and so an SDK host can register a subset.</p>
|
|
|
22
22
|
<h4 class="tsd-returns-title">Returns <a href="../interfaces/NativeToolDefinition.html" class="tsd-signature-type tsd-kind-interface">NativeToolDefinition</a><span class="tsd-signature-symbol">[]</span></h4><p>The tool definitions</p>
|
|
23
23
|
<aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
25
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/tools/packs/dnd5e/index.ts#L39">server/src/tools/packs/dnd5e/index.ts:39</a></li></ul></aside></div></li></ul></section></div>
|
|
26
26
|
<div class="col-sidebar">
|
|
27
27
|
<div class="page-menu">
|
|
28
28
|
<div class="tsd-navigation settings">
|
|
@@ -37,7 +37,7 @@ tested without a registry, and so an SDK host can register a subset.</p>
|
|
|
37
37
|
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
38
38
|
<div class="site-menu">
|
|
39
39
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
40
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
40
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
41
41
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
42
42
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
43
43
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>installToolPacks | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>installToolPacks | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>The names of the tools that were registered</p>
|
|
27
27
|
<aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/tools/packs/index.ts#L34">server/src/tools/packs/index.ts:34</a></li></ul></aside></div></li></ul></section></div>
|
|
30
30
|
<div class="col-sidebar">
|
|
31
31
|
<div class="page-menu">
|
|
32
32
|
<div class="tsd-navigation settings">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
42
42
|
<div class="site-menu">
|
|
43
43
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
44
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
44
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
45
45
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
46
46
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
47
47
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>pageMarker | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">pageMarker</a></li></ul>
|
|
12
|
+
<h1>Function pageMarker</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="pagemarker"><span class="tsd-kind-call-signature">pageMarker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pageNum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#pagemarker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-comment tsd-typography"><p>The marker written between pages. An HTML comment, so it does not render.</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="tsd-parameters">
|
|
21
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
22
|
+
<ul class="tsd-parameter-list">
|
|
23
|
+
<li><span><span class="tsd-kind-parameter">pageNum</span>: <span class="tsd-signature-type">number</span></span></li></ul></div>
|
|
24
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
25
|
+
<ul>
|
|
26
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/documents/pdf-conversion.ts#L149">server/src/documents/pdf-conversion.ts:149</a></li></ul></aside></div></li></ul></section></div>
|
|
27
|
+
<div class="col-sidebar">
|
|
28
|
+
<div class="page-menu">
|
|
29
|
+
<div class="tsd-navigation settings">
|
|
30
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
31
|
+
<h3>Settings</h3></summary>
|
|
32
|
+
<div class="tsd-accordion-details">
|
|
33
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
34
|
+
<ul id="tsd-filter-options">
|
|
35
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
36
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
37
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
38
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
39
|
+
<div class="site-menu">
|
|
40
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
42
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
43
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
44
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
45
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>registerToolPacks | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>registerToolPacks | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -32,7 +32,7 @@ registers nothing.</p>
|
|
|
32
32
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>The names of the tools that were registered</p>
|
|
33
33
|
<aside class="tsd-sources">
|
|
34
34
|
<ul>
|
|
35
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
35
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/tools/packs/index.ts#L49">server/src/tools/packs/index.ts:49</a></li></ul></aside></div></li></ul></section></div>
|
|
36
36
|
<div class="col-sidebar">
|
|
37
37
|
<div class="page-menu">
|
|
38
38
|
<div class="tsd-navigation settings">
|
|
@@ -47,7 +47,7 @@ registers nothing.</p>
|
|
|
47
47
|
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
48
48
|
<div class="site-menu">
|
|
49
49
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
50
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
50
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
51
51
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
52
52
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
53
53
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>splitMarkdownIntoPages | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">splitMarkdownIntoPages</a></li></ul>
|
|
12
|
+
<h1>Function splitMarkdownIntoPages</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="splitmarkdownintopages"><span class="tsd-kind-call-signature">splitMarkdownIntoPages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">markdown</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span><a href="#splitmarkdownintopages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-comment tsd-typography"><p>Splits a converted document back into its pages on the <code><!-- Page N --></code> markers.</p>
|
|
19
|
+
<p>The inverse of <a href="buildMarkdown.html" class="tsd-kind-function">buildMarkdown</a>, and the reason the markers are machine
|
|
20
|
+
readable at all: re-running the pages that failed means finding them, converting
|
|
21
|
+
them, and splicing them back.</p>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="tsd-parameters">
|
|
24
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
25
|
+
<ul class="tsd-parameter-list">
|
|
26
|
+
<li><span><span class="tsd-kind-parameter">markdown</span>: <span class="tsd-signature-type">string</span></span>
|
|
27
|
+
<div class="tsd-comment tsd-typography"><p>A document this module produced, or any Markdown</p>
|
|
28
|
+
</div></li></ul></div>
|
|
29
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span></h4><p>One entry per page; the whole document as page 1 when it carries no markers</p>
|
|
30
|
+
<aside class="tsd-sources">
|
|
31
|
+
<ul>
|
|
32
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/documents/pdf-conversion.ts#L166">server/src/documents/pdf-conversion.ts:166</a></li></ul></aside></div></li></ul></section></div>
|
|
33
|
+
<div class="col-sidebar">
|
|
34
|
+
<div class="page-menu">
|
|
35
|
+
<div class="tsd-navigation settings">
|
|
36
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
37
|
+
<h3>Settings</h3></summary>
|
|
38
|
+
<div class="tsd-accordion-details">
|
|
39
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
40
|
+
<ul id="tsd-filter-options">
|
|
41
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
42
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
43
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
44
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
45
|
+
<div class="site-menu">
|
|
46
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
47
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
48
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
49
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
50
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
51
|
+
<div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>stripWrappingFence | Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">stripWrappingFence</a></li></ul>
|
|
12
|
+
<h1>Function stripWrappingFence</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="stripwrappingfence"><span class="tsd-kind-call-signature">stripWrappingFence</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#stripwrappingfence" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-comment tsd-typography"><p>Unwraps a response the model fenced as one ```markdown block.</p>
|
|
19
|
+
<p>The prompt asks for bare Markdown and mostly gets it, but a page comes back
|
|
20
|
+
wrapped often enough that the fence markers end up as literal content in the
|
|
21
|
+
artifact. Only a fence that opens at the very start and closes at the very end is
|
|
22
|
+
stripped, so a page whose real content is a code block is left alone.</p>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="tsd-parameters">
|
|
25
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
26
|
+
<ul class="tsd-parameter-list">
|
|
27
|
+
<li><span><span class="tsd-kind-parameter">text</span>: <span class="tsd-signature-type">string</span></span>
|
|
28
|
+
<div class="tsd-comment tsd-typography"><p>The model's response</p>
|
|
29
|
+
</div></li></ul></div>
|
|
30
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The response with a wrapping fence removed</p>
|
|
31
|
+
<aside class="tsd-sources">
|
|
32
|
+
<ul>
|
|
33
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/dfdc570ca693648160e8071102843097cd4c2cbc/server/src/documents/pdf-conversion.ts#L142">server/src/documents/pdf-conversion.ts:142</a></li></ul></aside></div></li></ul></section></div>
|
|
34
|
+
<div class="col-sidebar">
|
|
35
|
+
<div class="page-menu">
|
|
36
|
+
<div class="tsd-navigation settings">
|
|
37
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
38
|
+
<h3>Settings</h3></summary>
|
|
39
|
+
<div class="tsd-accordion-details">
|
|
40
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
41
|
+
<ul id="tsd-filter-options">
|
|
42
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
43
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
44
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
45
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
46
|
+
<div class="site-menu">
|
|
47
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
48
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.2</a>
|
|
49
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
50
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
51
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
52
|
+
<div class="overlay"></div></body></html>
|
package/docs/hierarchy.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Briyah SDK - v2.0.2</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script><script async src="assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">Briyah SDK - v2.0.2</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -7,20 +7,24 @@
|
|
|
7
7
|
<div class="container container-main">
|
|
8
8
|
<div class="col-content">
|
|
9
9
|
<div class="tsd-page-title">
|
|
10
|
-
<h1>Briyah SDK - v2.0.
|
|
10
|
+
<h1>Briyah SDK - v2.0.2</h1></div>
|
|
11
11
|
<h2>Hierarchy Summary</h2>
|
|
12
12
|
<ul class="tsd-full-hierarchy">
|
|
13
|
-
<li data-refl="
|
|
13
|
+
<li data-refl="2027" id="IConfigService"><a href="interfaces/IConfigService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>IConfigService</a>
|
|
14
14
|
<ul>
|
|
15
15
|
<li data-refl="71" id="BriyahConfigService"><a href="classes/BriyahConfigService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Class"><use href="assets/icons.svg#icon-128"></use></svg>BriyahConfigService</a></li></ul></li></ul>
|
|
16
16
|
<ul class="tsd-full-hierarchy">
|
|
17
|
-
<li data-refl="
|
|
17
|
+
<li data-refl="1281" id="LoadedPack"><a href="interfaces/LoadedPack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>LoadedPack</a>
|
|
18
18
|
<ul>
|
|
19
|
-
<li data-refl="
|
|
19
|
+
<li data-refl="1192" id="PackView"><a href="interfaces/PackView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>PackView</a></li></ul></li></ul>
|
|
20
20
|
<ul class="tsd-full-hierarchy">
|
|
21
|
-
<li data-refl="
|
|
21
|
+
<li data-refl="891" id="Message"><a href="interfaces/Message.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>Message</a>
|
|
22
22
|
<ul>
|
|
23
|
-
<li data-refl="
|
|
23
|
+
<li data-refl="1972" id="RoomMessage"><a href="classes/RoomMessage.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Class"><use href="assets/icons.svg#icon-128"></use></svg>RoomMessage</a></li></ul></li></ul>
|
|
24
|
+
<ul class="tsd-full-hierarchy">
|
|
25
|
+
<li data-refl="735" id="PdfConversionOptions"><a href="interfaces/PdfConversionOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>PdfConversionOptions</a>
|
|
26
|
+
<ul>
|
|
27
|
+
<li data-refl="689" id="PdfMarkdownOptions"><a href="interfaces/PdfMarkdownOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Interface"><use href="assets/icons.svg#icon-256"></use></svg>PdfMarkdownOptions</a></li></ul></li></ul></div>
|
|
24
28
|
<div class="col-sidebar">
|
|
25
29
|
<div class="page-menu">
|
|
26
30
|
<div class="tsd-navigation settings">
|
|
@@ -35,7 +39,7 @@
|
|
|
35
39
|
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
36
40
|
<div class="site-menu">
|
|
37
41
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
38
|
-
<nav class="tsd-navigation"><a href="modules.html">Briyah SDK - v2.0.
|
|
42
|
+
<nav class="tsd-navigation"><a href="modules.html">Briyah SDK - v2.0.2</a>
|
|
39
43
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
40
44
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
41
45
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|