Skip to main content

Module package

Module package 

Source

Structs§

ArtifactDriftReport
AuditFinding
AuditReport
CheckConfig
CollectedManifestTrigger
CollectedTriggerPredicate
ConnectorCapabilities
ConnectorConditionalProfileRequirement
ConnectorConfigurationEnvironmentManifest
ConnectorContractConfig
ConnectorContractFixture
ConnectorCredentialEnvironmentManifest
Bounded process-environment aliases for one logical connector secret.
ConnectorHealthCheckManifest
ConnectorOperationManifest
ConnectorProtectedProfileManifest
ConnectorRecoveryCopy
ConnectorServiceManifest
Product-facing connector metadata shared by every host projection.
ContributionEntry
A single [[contributes]] host-surface contribution.
DepTable
HookConfig
InstalledPersonaReport
Manifest
McpAuthConfig
McpServerConfig
OrchestratorBudgetSpec
OrchestratorConfig
OrchestratorDrainConfig
OrchestratorPumpConfig
OutdatedEntry
OutdatedReport
PackageApiSymbol
PackageCheckDiagnostic
PackageCheckReport
PackageDoctorDiagnostic
PackageDoctorReport
PackageExportReport
PackageInfo
PackageListEntry
PackageListReport
PackageLockExport
PackageLockExports
PackagePackReport
PackagePersonaExportReport
PackagePublishReport
PackageRegistryConfig
PackageSkillExport
PackageSkillExportReport
PackageToolExport
PackageToolExportReport
PersonaActivationLedger
PersonaActivationMigration
PersonaActivationPackage
PersonaActivationReceipt
PersonaActivationRecord
PersonaAttenuation
PersonaEffectivePolicy
PersonaManifestEntry
PersonaStageDecl
Stage declaration carried on a PersonaManifestEntry.
PersonaStageExit
PersonaValidationError
ProviderConnectorManifest
ProviderManifestEntry
ProviderOAuthManifest
ProviderSetupManifest
ResolvedHookConfig
ResolvedPersonaManifest
ResolvedProviderConnectorConfig
ResolvedSkillsConfig
Resolved [skills] section plus the directory the manifest came from. Paths in skills.paths are joined against manifest_dir; [[skill.source]] fs entries get absolutized here too.
ResolvedTriggerConfig
RulesConfig
[rules] table — project-local structural-rule discovery (#2843).
RuntimeExtensions
SkillDefaults
SkillTables
Container for [[skill.source]] array-of-tables.
SkillsConfig
[skills] table body.
TriggerBatchManifestSpec
TriggerBudgetSpec
TriggerConcurrencyManifestSpec
TriggerDebounceManifestSpec
TriggerDlqAlertManifestSpec
TriggerDlqAlertThreshold
TriggerFunctionRef
TriggerManifestEntry
TriggerMatchExpr
TriggerPriorityManifestSpec
TriggerRateLimitManifestSpec
TriggerRetrySpec
TriggerSingletonManifestSpec
TriggerSourceManifestEntry
TriggerStreamWindowManifestSpec
TriggerThrottleManifestSpec
TriggerWhenBudgetSpec
WorkspaceConfig

Enums§

AuditCode
AuditSeverity
CollectedTriggerHandler
ConnectorEnvironment
ConnectorEvidenceRequirement
ConnectorExternalSpend
ConnectorOperationEffect
ConnectorReconciliation
ConnectorRedactionTarget
ConnectorSetupConfigurationField
Non-secret setup input that a connector may read from an explicit process environment allowlist. Values are consumed only by the setup adapter and are never projected into plans, status reports, or model context.
ConnectorTestProfile
CredentialEnvironmentIssue
Dependency
ManifestHandlerInitialization
OutdatedStatus
PackageError
PersonaActivationAction
PersonaActivationError
PersonaActivationMigrationStatus
PersonaAutonomyTier
PreflightSeverity
Severity override for preflight diagnostics. error (default) fails harn check; warning reports but does not fail; off suppresses entirely. Accepted via [check].preflight_severity in harn.toml so repos with hosts that do not expose every capability statically can keep the checker running on genuine type errors.
ProtectedProfileFieldClass
ResolvedProviderConnectorKind
SkillSourceEntry
One [[skill.source]] entry. The registry variant is accepted for forward-compat but inert — see issue #73 and docs/src/skills.md for the marketplace timeline.
TriggerDispatchPriority
TriggerDlqAlertDestination
TriggerHandlerUri
TriggerKind
TriggerPriorityField
TriggerRetryBackoff
TriggerStreamWindowMode

Functions§

activate_persona
activation_ledger_path
add_package_with_registry
artifacts_check
artifacts_manifest
audit_packages
available_credential_environment_name
available_process_credential_environment_name
check_package
clean_package_cache
collect_manifest_triggers
configuration_environment_issues
Validate the allowlisted environment names for non-secret setup fields. This is intentionally separate from credential sources: a public OAuth client id must never be mistaken for an access token or stored in the credential index.
configuration_environment_names
connector_service_issues
Validate the product-facing service contract at every manifest boundary.
credential_environment_issues
credential_environment_names
deactivate_persona
doctor_packages
ensure_dependencies_materialized
generate_package_docs
install_collected_manifest_triggers
install_manifest_handoff_routes
install_manifest_hooks
install_manifest_hooks_with_initialization
Install manifest hooks with an explicit module-initialization policy. Declarations, exports, and callable signatures are validated in both modes.
install_manifest_triggers
install_manifest_triggers_with_initialization
Install manifest triggers with an explicit module-initialization policy. Both modes validate declarations, exports, and callable signatures before installation.
install_orchestrator_budget
install_packages
install_runtime_extensions
Install merged runtime extensions on the current thread.
is_declared_connector_module
Whether the nearest harn.toml names harn_file under any [[providers]] connector = { harn = ... }.
list_package_cache
list_packages
list_persona_activations
load_activation_ledger
load_check_config
Load the [check] config from the nearest harn.toml. Walks up from the given file (or from cwd if no file is given), stopping at a .git boundary.
load_package_eval_pack_paths
load_personas_config
load_personas_from_manifest_path
load_provider_connector
Load one manifest-declared provider connector behind the runtime’s common connector trait. Rust builtins are already present in the default registry.
load_runtime_extensions
load_skills_config
Load the [skills] + [[skill.source]] tables from the nearest harn.toml, walking up from anchor like load_check_config. Returns None when there is no manifest on the walk path.
load_workspace_config
Load the [workspace] config and the directory of the harn.toml it came from. Paths in the returned config are left as-is (callers resolve them against the returned manifest_dir).
lock_packages
manifest_trigger_binding_spec
normalize_connector_capability
outdated_packages
pack_package
process_configuration_environment_value
Resolve one non-secret setup value only from names explicitly declared by the connector manifest. The value is returned to the setup adapter and must not be included in status, plan, event, or diagnostic output.
publish_package
publish_rule_package
remove_package
resolve_skills_paths
Expand skills.paths (which may include simple * globs) into concrete directories relative to manifest_dir. We implement just enough globbing for the documented packages/*/skills pattern so we don’t force a glob-crate dep on harn-cli.
search_package_registry
search_rule_package_registry
show_package_registry_info
try_load_runtime_extensions
Load the nearest project manifest plus any installed package manifests and merge the root project’s runtime extensions.
try_load_runtime_extensions_from_manifest
Load runtime extensions only when manifest_path is an exact package manifest. Standalone persona source/manifest files return None so their callers can use the already validated persona catalog without searching an ancestor project.
update_packages
validate_runtime_manifest_extensions
verify_package_cache
verify_package_registry

Type Aliases§

PackageResult