Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@teqfw/cfg

@teqfw/cfg is a configuration plugin for Tequila Framework (TeqFW). It loads explicitly selected configuration sources into a stable runtime snapshot and makes namespace-based configuration available through the TeqFW dependency-injection container.

The package is designed for native ECMAScript modules, Node.js, and composition by AI agents as well as developers: configuration acquisition, precedence, lifecycle, and error boundaries are explicit rather than hidden behind global initialization.

What It Provides

  • ordered loading from programmatic objects, process.env, dotenv files, or custom sources;
  • atomic publication of a deeply immutable raw snapshot;
  • detached namespace projections for application components;
  • deterministic precedence: later complete keys replace earlier values;
  • a TeqFW DI contract under the TeqFw_Cfg_ namespace.

Application-specific schema validation, type conversion, defaults, and secret-management policy remain with the consuming application.

TeqFW Platform

This package is a plugin of the Tequila Framework (TeqFW) platform. It declares its namespace in package.json, allowing a TeqFW composition root to discover and link its modules through @teqfw/di.

The agent-facing contract shipped in ai/ documents supported components, source and value rules, lifecycle semantics, errors, and canonical integration patterns. Start with ai/usage.md or the machine-readable ai/package-api.ts.

Repository Layout

  • src/ — package implementation modules.
  • test/ — unit, integration, acceptance, and publish checks.
  • ai/ — distributable agent-facing package documentation.
  • ctx/ — reserved mount point for the separate project cognitive-context repository.

Development

The package targets Node.js 20 or newer and uses ECMAScript modules. Run the complete verification suite with:

npm test

Development and Ecosystem

This product is developed by AI agents under the direction of Alex Gusev, following the Agent-Driven Software Management (ADSM) methodology. It is built for the Tequila Framework (TeqFW) platform and contributes to its ecosystem.

About

Configuration package for Tequila Framework applications: load .env files and provide typed configuration through the DI container.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages