Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
foundry-error-catalog
command
foundry-error-catalog regenerates the canonical JSON artifact describing every error code the foundry_vtt plugin can emit.
|
foundry-error-catalog regenerates the canonical JSON artifact describing every error code the foundry_vtt plugin can emit. |
|
server
command
Package main is the entry point for the Chronicle server.
|
Package main is the entry point for the Chronicle server. |
|
internal
|
|
|
app
Package app is the application bootstrap and dependency injection root.
|
Package app is the application bootstrap and dependency injection root. |
|
apperror
Package apperror provides domain-specific error types for Chronicle.
|
Package apperror provides domain-specific error types for Chronicle. |
|
concurrency
Package concurrency provides optimistic-concurrency primitives shared across plugins.
|
Package concurrency provides optimistic-concurrency primitives shared across plugins. |
|
config
Package config handles loading application configuration from environment variables.
|
Package config handles loading application configuration from environment variables. |
|
database
Package database — healthcheck.go Comprehensive startup health checks that run after migrations to catch configuration, schema, and security issues before the server accepts traffic.
|
Package database — healthcheck.go Comprehensive startup health checks that run after migrations to catch configuration, schema, and security issues before the server accepts traffic. |
|
extensions
Package extensions — adapters.go bridges external service interfaces to the applier's narrower interfaces.
|
Package extensions — adapters.go bridges external service interfaces to the applier's narrower interfaces. |
|
middleware
Package middleware provides HTTP middleware for the Chronicle Echo server.
|
Package middleware provides HTTP middleware for the Chronicle Echo server. |
|
permissions
Package permissions provides shared role constants and permission checks for use across services and repositories that cannot import the campaigns package due to circular dependency constraints.
|
Package permissions provides shared role constants and permission checks for use across services and repositories that cannot import the campaigns package due to circular dependency constraints. |
|
plugins/addons
Package addons manages the extension framework — installable addons (plugins, systems, widgets, integrations) with per-campaign enable/disable controls.
|
Package addons manages the extension framework — installable addons (plugins, systems, widgets, integrations) with per-campaign enable/disable controls. |
|
plugins/admin
Package admin — database_health.go defines the admin-local contracts the Database page's Health and Backups tabs render.
|
Package admin — database_health.go defines the admin-local contracts the Database page's Health and Backups tabs render. |
|
plugins/ai_workspace/aiexport
Package aiexport renders a campaign's owner-scoped content into a single markdown document suitable for pasting into AI tools (Claude, ChatGPT, NotebookLM, etc).
|
Package aiexport renders a campaign's owner-scoped content into a single markdown document suitable for pasting into AI tools (Claude, ChatGPT, NotebookLM, etc). |
|
plugins/ai_workspace/importer
Package importer parses AI-generated markdown into per-page ParsedPage structs, classifies each (full / defaults / conflict / new category / parse error), and prepares the review-screen data the operator inspects before committing.
|
Package importer parses AI-generated markdown into per-page ParsedPage structs, classifies each (full / defaults / conflict / new category / parse error), and prepares the review-screen data the operator inspects before committing. |
|
plugins/ai_workspace/importer/htmlconv
Package htmlconv converts sanitized HTML to a Chronicle-shaped ProseMirror JSON document.
|
Package htmlconv converts sanitized HTML to a Chronicle-shaped ProseMirror JSON document. |
|
plugins/ai_workspace/prompt
Package prompt builds the "Copy AI Prompt" output for the AI Workspace settings tab.
|
Package prompt builds the "Copy AI Prompt" output for the AI Workspace settings tab. |
|
plugins/armory
handler.go provides HTTP endpoints for the Armory gallery.
|
handler.go provides HTTP endpoints for the Armory gallery. |
|
plugins/audit
Package audit provides an audit log plugin that records user actions within campaigns.
|
Package audit provides an audit log plugin that records user actions within campaigns. |
|
plugins/auth
loghash provides email hashing for debug-log correlation.
|
loghash provides email hashing for debug-log correlation. |
|
plugins/backup
Package backup provides the admin-facing UI for triggering whole-database backups and inspecting prior runs.
|
Package backup provides the admin-facing UI for triggering whole-database backups and inspecting prior runs. |
|
plugins/bestiary
Package bestiary provides the Community Bestiary plugin for sharing homebrew creatures across a Chronicle instance.
|
Package bestiary provides the Community Bestiary plugin for sharing homebrew creatures across a Chronicle instance. |
|
plugins/calendar
api_errors.go — typed errors for the public Foundry-facing calendar API.
|
api_errors.go — typed errors for the public Foundry-facing calendar API. |
|
plugins/campaigns
Package campaigns — export.go defines the JSON structure for campaign exports.
|
Package campaigns — export.go defines the JSON structure for campaign exports. |
|
plugins/designlab
Package designlab provides the admin-only "Design Lab" page.
|
Package designlab provides the admin-only "Design Lab" page. |
|
plugins/entities
block_registry.go provides a self-registering system for entity page block types.
|
block_registry.go provides a self-registering system for entity page block types. |
|
plugins/foundry_vtt
Package foundry_vtt is the Foundry-VTT-specific sub-plugin that extends the generic packages plugin via the PostInstallHook extension point (added in C-FMC-5a).
|
Package foundry_vtt is the Foundry-VTT-specific sub-plugin that extends the generic packages plugin via the PostInstallHook extension point (added in C-FMC-5a). |
|
plugins/maps
Package maps provides the interactive maps addon for campaigns.
|
Package maps provides the interactive maps addon for campaigns. |
|
plugins/media
Package media manages file uploads, storage, and serving for Chronicle.
|
Package media manages file uploads, storage, and serving for Chronicle. |
|
plugins/npcs
handler.go provides HTTP endpoints for the NPC gallery.
|
handler.go provides HTTP endpoints for the NPC gallery. |
|
plugins/packages
Package packages provides the package manager plugin for Chronicle.
|
Package packages provides the package manager plugin for Chronicle. |
|
plugins/restore
Package restore provides the admin-facing UI for restoring a previous backup.
|
Package restore provides the admin-facing UI for restoring a previous backup. |
|
plugins/sessions
Package sessions provides the game session tracking addon for campaigns.
|
Package sessions provides the game session tracking addon for campaigns. |
|
plugins/settings
Package settings manages site-wide configuration and storage limit overrides.
|
Package settings manages site-wide configuration and storage limit overrides. |
|
plugins/smtp
Package smtp provides outbound email functionality for Chronicle.
|
Package smtp provides outbound email functionality for Chronicle. |
|
plugins/syncapi
egress_sanitize.go — defense-in-depth sanitization on /api/v1/* response payloads.
|
egress_sanitize.go — defense-in-depth sanitization on /api/v1/* response payloads. |
|
plugins/timeline
Package timeline provides the timeline addon for campaigns.
|
Package timeline provides the timeline addon for campaigns. |
|
plugins/widgetbindings
block_host.go — DOM-id helpers for the re-render seam (C-WIDGET-BINDING-P4b).
|
block_host.go — DOM-id helpers for the re-render seam (C-WIDGET-BINDING-P4b). |
|
sanitize
Package sanitize provides HTML sanitization for user-generated content.
|
Package sanitize provides HTML sanitization for user-generated content. |
|
systems
campaign_handler.go adds HTTP endpoints for campaign owners to upload, view, and remove custom game systems.
|
campaign_handler.go adds HTTP endpoints for campaign owners to upload, view, and remove custom game systems. |
|
templates/components
Package components provides reusable Templ UI components shared across plugins.
|
Package components provides reusable Templ UI components shared across plugins. |
|
templates/layouts
assets.go — cache-busted static asset URLs (C-CAL-MOBILE-VIEWS-FIX, absorbing the long-planned C-ASSET-VERSIONING).
|
assets.go — cache-busted static asset URLs (C-CAL-MOBILE-VIEWS-FIX, absorbing the long-planned C-ASSET-VERSIONING). |
|
timeutil
Package timeutil provides DST-correct conversions between zone-local wall-clock times and absolute instants, plus helpers for projecting a recurring weekly pattern onto a concrete calendar week in a viewer's zone.
|
Package timeutil provides DST-correct conversions between zone-local wall-clock times and absolute instants, plus helpers for projecting a recurring weekly pattern onto a concrete calendar week in a viewer's zone. |
|
websocket
Package websocket provides a campaign-scoped WebSocket hub for real-time bidirectional communication between Chronicle and external clients (Foundry VTT).
|
Package websocket provides a campaign-scoped WebSocket hub for real-time bidirectional communication between Chronicle and external clients (Foundry VTT). |
|
widgets/calendar_block
Package calendar_block renders the calendar Block: one component, four zones (Nameplate / Instrument / docked Ledger / Shelf), size class taken from HOST width and density taken from MEASURED COLUMN width, both in CSS container queries rather than Go.
|
Package calendar_block renders the calendar Block: one component, four zones (Nameplate / Instrument / docked Ledger / Shelf), size class taken from HOST width and density taken from MEASURED COLUMN width, both in CSS container queries rather than Go. |
|
widgets/calendar_v2
Package calendar_v2 provides reusable widget components shared by the calendar plugin's V2 surface and any downstream consumer (Chronicle-DnD-5.5e, Chronicle-Draw-Steel, AI Workspace event imports).
|
Package calendar_v2 provides reusable widget components shared by the calendar plugin's V2 surface and any downstream consumer (Chronicle-DnD-5.5e, Chronicle-Draw-Steel, AI Workspace event imports). |
|
widgets/entity_notes
Package entity_notes implements the player-facing entity-page notes widget.
|
Package entity_notes implements the player-facing entity-page notes widget. |
|
widgets/notes
Package notes implements the player notes widget for Chronicle.
|
Package notes implements the player notes widget for Chronicle. |
|
widgets/posts
Package posts implements the entity posts widget for Chronicle.
|
Package posts implements the entity posts widget for Chronicle. |
|
widgets/relations
Package relations implements the entity relations widget for Chronicle.
|
Package relations implements the entity relations widget for Chronicle. |
|
widgets/tags
Package tags implements the tags widget for Chronicle.
|
Package tags implements the tags widget for Chronicle. |
Click to show internal directories.
Click to hide internal directories.