Skip to main content

Module bundle

Module bundle 

Source
Expand description

Bundle directory structure creation and management.

Handles creating the demo bundle scaffold, writing configuration files, and managing tenant/team directories.

Constants§

BUNDLE_WORKSPACE_MARKER
LEGACY_BUNDLE_MARKER

Functions§

create_demo_bundle_structure
Create the standard demo bundle directory structure.
discover_tenants
Discover tenants inside the bundle.
find_provider_pack_path
Locate a provider’s .gtpack file in the bundle by provider_id stem.
gmap_path
Compute the gmap file path for a tenant/team in a bundle.
is_bundle_root
load_provider_registry
Read and parse the provider registry JSON from a bundle.
resolved_manifest_filename
Compute the resolved manifest filename for a tenant/team.
validate_bundle_exists
Validate that a bundle directory exists and has the expected marker file.
write_if_missing
Write a file only if it doesn’t already exist.
write_provider_registry
Write the provider registry JSON to a bundle.