@augustdigital/config
v0.2.3
Published
Shared configuration, keystore, and SDK factory used by @augustdigital/cli and @augustdigital/mcp.
Readme
@augustdigital/config
Private workspace package. Shared config, keystore, session, profiles,
and SDK factory used by @augustdigital/cli and
@augustdigital/mcp. Also owns the Zod schemas that define
the stable JSON envelope they emit.
Not published to npm.
Surface
import {
// config + paths
loadConfig,
saveConfig,
configFile,
activeConfigDir,
// profiles
saveProfile,
loadProfile,
listProfiles,
deleteProfile,
// keystore + session
Keystore,
readSession,
writeSession,
clearSession,
sessionActive,
// resolvers (precedence: flag → env → session → profile → config)
getApiKey,
getRpcUrl,
getDefaultChainId,
// SDK factory
createSDK,
// typed errors
AugustConfigError,
// output schemas
schemas,
} from '@augustdigital/config';On-disk layout
~/.augustdigital/
├── config.json # default chain, RPCs, profile, telemetry
├── keystore.json # AES-256-GCM; holds named secrets (e.g. `august`)
├── .session # mode 0600; decrypted API key + expiry
└── profiles/ # named overlays for chain + RPC setsOverride the root with AUGUST_CONFIG_DIR.
