@neat.is/types 0.9.12-dev.20260831 → 0.9.13-dev.20260901
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +240 -0
- package/dist/index.d.ts +240 -0
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -268,6 +268,15 @@ var ServiceNodeSchema = z3.object({
|
|
|
268
268
|
discoveredVia: DiscoveredViaSchema.optional(),
|
|
269
269
|
version: z3.string().optional(),
|
|
270
270
|
dbConnectionTarget: z3.string().optional(),
|
|
271
|
+
// Declared k8s deploy state, read from a workload manifest (the k8s substrate
|
|
272
|
+
// extractor, `extract/infra/k8s.ts`): the desired container image and replica
|
|
273
|
+
// count. Fused on this same `service:<name>` node against the observed cluster's
|
|
274
|
+
// running image / ready replicas (stamped by the k8s observed reader) to name a
|
|
275
|
+
// declared-vs-running deploy divergence — the stuck rollout that mints no incident
|
|
276
|
+
// because the service is still up on the old image. Optional growth (ADR-031),
|
|
277
|
+
// absent on a non-k8s service. See docs/contracts/schema.md.
|
|
278
|
+
declaredImage: z3.string().optional(),
|
|
279
|
+
declaredReplicas: z3.number().optional(),
|
|
271
280
|
repoPath: z3.string().optional(),
|
|
272
281
|
owner: z3.string().optional(),
|
|
273
282
|
dependencies: z3.record(z3.string(), z3.string()).optional(),
|
|
@@ -371,7 +380,18 @@ var InfraNodeSchema = z3.object({
|
|
|
371
380
|
// ⇒ the collection's guard is indeterminate ⇒ the check stays silent. Optional
|
|
372
381
|
// growth (ADR-031); no version step — it only appears on nodes a post-ADR-169
|
|
373
382
|
// pass folds it onto.
|
|
374
|
-
guardedFields: z3.array(z3.string()).optional()
|
|
383
|
+
guardedFields: z3.array(z3.string()).optional(),
|
|
384
|
+
// Declared deploy state on a k8s workload InfraNode (`k8s-deployment`,
|
|
385
|
+
// `k8s-statefulset`, ...): the desired container image + replica count read from
|
|
386
|
+
// the manifest, and the workload's namespace (carried as an attribute since the
|
|
387
|
+
// node is keyed name-only — the only key the manifest and the live cluster can
|
|
388
|
+
// both produce when a manifest omits `metadata.namespace`). Absent on a non-workload
|
|
389
|
+
// InfraNode. Optional growth (ADR-031); no version step. The declared-vs-running
|
|
390
|
+
// deploy compare lives on the ServiceNode (`declaredImage`/`declaredReplicas`); these
|
|
391
|
+
// carry the same declared facts on the topology node for traversal/blast-radius.
|
|
392
|
+
image: z3.string().optional(),
|
|
393
|
+
replicas: z3.number().optional(),
|
|
394
|
+
namespace: z3.string().optional()
|
|
375
395
|
});
|
|
376
396
|
var FrontierNodeSchema = z3.object({
|
|
377
397
|
id: z3.string(),
|