@tryopenbot/configuration
v0.2.0
Published
Typed composition for repository-owned OpenBot configuration. A generated `configuration/index.ts` explicitly constructs provider implementations; agent skills and workspace seeds remain inside their agent directory, and filesystem locations are conventio
Readme
@tryopenbot/configuration
Typed composition for repository-owned OpenBot configuration. A generated configuration/index.ts explicitly constructs provider implementations; agent skills and workspace seeds remain inside their agent directory, and filesystem locations are conventions rather than configurable paths.
Public API
Functions
Configuration(configuration)is an identity helper that checks anOpenBotConfigurationobject without hiding the selected provider constructors.repositoryDigest(files)returns a stable SHA-256 digest over a path-to-content mapping.defineInstrumentation(instrumentation)is exported from@tryopenbot/configuration/instrumentationfor configuration-wide and agent-local startup hooks.
Critical interfaces
OpenBotConfigurationcontains a singleprovidersobject.UserConfigurationdefines user-local rootlocal-user-config.jsonstate, includingsops.ownerIdentity; the file is scoped to one checkout and gitignored.SopsOwnerIdentityConfigurationdescribes how the CLI locates the owner's existing SOPS authority without storing the private identity.OpenBotProvidersrequires control-service, agent-service, aggregate agent-resource, and computer roles; inference provisioning is optional.ServiceProvidercombinesBuildable,Deployable, andInitializableProviderfor independently deployed services.ProviderPluginManifestandRepositoryManifestdescribe discovered repository configuration without introducing a selector factory.
