@neat.is/types 0.10.6 → 0.10.7-dev.20261011
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 +26 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -41
- package/dist/index.d.ts +174 -41
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -285,6 +285,10 @@ var ServiceNodeSchema = z3.object({
|
|
|
285
285
|
// frontend's icon key at the service-rollup level (ADR-133,
|
|
286
286
|
// docs/contracts/static-extraction.md).
|
|
287
287
|
platform: z3.string().optional(),
|
|
288
|
+
// The platform's own name for this service where its config declares one:
|
|
289
|
+
// the Vercel project name from `.vercel/project.json`, the Supabase
|
|
290
|
+
// `project_id` (ADR-138). Optional growth (ADR-031); absent elsewhere.
|
|
291
|
+
platformName: z3.string().optional(),
|
|
288
292
|
discoveredVia: DiscoveredViaSchema.optional(),
|
|
289
293
|
version: z3.string().optional(),
|
|
290
294
|
dbConnectionTarget: z3.string().optional(),
|
|
@@ -957,6 +961,23 @@ var IncidentGradeSchema = z6.object({
|
|
|
957
961
|
urgency: z6.object({ value: z6.number().min(0).max(1).nullable(), reason: z6.string().optional() }),
|
|
958
962
|
priorsVersion: z6.string()
|
|
959
963
|
});
|
|
964
|
+
var IncidentDeployContextSchema = z6.object({
|
|
965
|
+
// The deploy fault classification (k8s.fault): crash-loop / image-pull /
|
|
966
|
+
// scaled-to-zero / no-ready-replicas.
|
|
967
|
+
fault: z6.string().optional(),
|
|
968
|
+
// The container's waiting reason (CrashLoopBackOff / ImagePullBackOff / …).
|
|
969
|
+
waitingReason: z6.string().optional(),
|
|
970
|
+
image: z6.string().optional(),
|
|
971
|
+
restartCount: z6.number().int().nonnegative().optional(),
|
|
972
|
+
terminatedReason: z6.string().optional(),
|
|
973
|
+
exitCode: z6.number().int().optional(),
|
|
974
|
+
// Redacted, bounded descriptors (ADR-237): a secret-keyed value is masked whole,
|
|
975
|
+
// a valueFrom is a reference descriptor, never a raw secret.
|
|
976
|
+
containerEnv: z6.array(z6.string()).optional(),
|
|
977
|
+
containerArgs: z6.array(z6.string()).optional(),
|
|
978
|
+
// The last-terminated (or current, ADR-239) stdout tail — the boot traceback.
|
|
979
|
+
processLog: z6.string().optional()
|
|
980
|
+
});
|
|
960
981
|
var IncidentCardSchema = z6.object({
|
|
961
982
|
kind: z6.literal("incident"),
|
|
962
983
|
id: z6.string(),
|
|
@@ -978,6 +999,9 @@ var IncidentCardSchema = z6.object({
|
|
|
978
999
|
blastRadius: IncidentBlastRadiusSchema.optional(),
|
|
979
1000
|
policies: z6.array(IncidentPolicySchema).optional(),
|
|
980
1001
|
divergence: z6.array(IncidentDivergenceSchema).optional(),
|
|
1002
|
+
// The OBSERVED deploy/process/config context for a pre-span failure (ADR-240),
|
|
1003
|
+
// present only when the incident carries it (a k8s deploy fault).
|
|
1004
|
+
deployContext: IncidentDeployContextSchema.optional(),
|
|
981
1005
|
// The rendered one-line sentence — a human/loose-LLM read over the structured
|
|
982
1006
|
// body, never the wire format.
|
|
983
1007
|
headline: z6.string(),
|
|
@@ -1867,6 +1891,7 @@ export {
|
|
|
1867
1891
|
IncidentBlastRadiusSchema,
|
|
1868
1892
|
IncidentCardSchema,
|
|
1869
1893
|
IncidentChainHopSchema,
|
|
1894
|
+
IncidentDeployContextSchema,
|
|
1870
1895
|
IncidentDivergenceSchema,
|
|
1871
1896
|
IncidentEventPayloadSchema,
|
|
1872
1897
|
IncidentGradeBandSchema,
|