Declaration
The @generator(...) arguments, validated — field-for-field the GET /generators entry.
Frozen: the service holds one of these per generator for the life of the process and serves it on every catalog request.
Example Usage
typescript
import { Declaration } from "@meetkai/mka1/models/components";
let value: Declaration = {
id: "<id>",
version: "<value>",
title: "<value>",
description: "incidentally desecrate redound meanwhile at schematise",
emits: "<value>",
defaultLimits: {
maxRuntimeHours: 5952.4,
maxCost: 7372.27,
maxLlmCalls: 898613,
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
version | string | ✔️ | N/A |
title | string | ✔️ | N/A |
description | string | ✔️ | N/A |
emits | string | ✔️ | N/A |
inputs | Record<string, components.Input> | ➖ | N/A |
resources | components.Resources | ➖ | The Job's resource request (§3.2). Kubernetes quantity strings, passed through verbatim. |
defaultLimits | components.Limits | ✔️ | A run's budget: the generator's default_limits, or the effective ones as ctx.limits.No defaults. Every number here is a bound the platform enforces and a caller can be billed against, so a generator that forgets to state one should not silently inherit a guess. |