Skip to main content

Module package

Module package 

Source

Structs§

ArtifactDriftReport
AuditFinding
AuditReport
CheckConfig
CollectedManifestTrigger
CollectedTriggerPredicate
ConnectorCapabilities
ConnectorContractConfig
ConnectorContractFixture
ConnectorHealthCheckManifest
ConnectorRecoveryCopy
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
Dependency
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.
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
check_package
clean_package_cache
collect_manifest_triggers
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_mode
Install manifest hooks. When lazy is set, each hook’s handler closure is resolved on first fire (against the firing VM) instead of now — the resolution loads the handler module’s whole import graph, which for a large IDE host is ~1s. Eager resolution made every harn test (even pure unit tests that never fire a hook) pay that cost during setup; the test runner therefore installs hooks lazily. Production callers stay eager so a misconfigured handler fails fast at startup, not mid-turn.
install_manifest_triggers
install_manifest_triggers_with_mode
Install manifest triggers, optionally deferring VM-backed handlers and predicates until dispatch. Production remains eager so invalid handlers fail at startup; the test runner uses lazy resolution so tests that never dispatch a trigger do not instantiate an unrelated handler graph.
install_orchestrator_budget
install_packages
install_runtime_extensions
Install merged runtime extensions on the current thread.
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_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
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

Type Aliases§

PackageResult