@nossen/dragon-contracts
v2.0.1
Published
Shared Dragon contracts for the Funesterie control plane.
Readme
@nossen/dragon-contracts
Shared TypeScript contracts for the Dragon control plane in the Funesterie and NOSSEN ecosystem.
This package is the public shape layer. It defines the manifest, health, snapshot, integration action, daemon policy and daemon status types used by the Dragon daemon and upstream probes.
Install
npm install @nossen/dragon-contractsWhat It Contains
DragonManifest: canonical source map for Dragon-controlled projects.UpstreamProbe: per-target readiness, health and runtime state.DragonSystemSnapshot: aggregate view of the ecosystem.DragonIntegrationAction: typed action catalog entries.DragonDaemonPolicy: desired state and auto-recovery policy.DragonDaemonStatus: current guard cycle state and recent recoveries.
Usage
import type {
DragonManifest,
DragonSystemSnapshot,
DragonDaemonStatus
} from "@nossen/dragon-contracts";
function isReady(snapshot: DragonSystemSnapshot): boolean {
return snapshot.summary.dead === 0 && snapshot.summary.degraded === 0;
}Runtime Fit
Use this package when you need stable public types without starting the Dragon daemon or touching private Funesterie infrastructure. It has no runtime side effects and does not read files, environment variables or secrets.
Package Details
| Field | Value |
| --- | --- |
| Package | @nossen/dragon-contracts |
| Version | 2.0.1 |
| Registry scope | @nossen |
Support NOSSEN
NOSSEN packages stay public and usable under their license. If this package helps your workflow, support Funesterie infrastructure, releases, and maintenance through:
- Wero:
+33 7 83 46 37 61 - PayPal: https://paypal.me/funeste38
- Stripe/card checkout: https://funesterie.me/subscription
- Custom support or invoice: https://funesterie.me/contact/
Support is voluntary, but it keeps the registry, compute, and maintenance work alive.
License
See the package license and repository license files for terms.
