@vectoriox/iox-ui 5.53.0 → 5.54.0
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.
|
@@ -9985,6 +9985,8 @@ function buildStepFacts(plan, actions = {}) {
|
|
|
9985
9985
|
* list with its price per token class, the one cost → credits rule (1 credit = 1 US cent of what the AI cost, D4),
|
|
9986
9986
|
* the refusals (board 11) and a generation's stages. ONE definition: iox-cms meters and refuses with it, the
|
|
9987
9987
|
* Settings ▸ AI screen and the wizard show it. Pure types, enums and helpers; no transport, no prices typed here.
|
|
9988
|
+
* The step and capability spellings are the control plane's (`GET /instances/me/entitlements`, AI plan "M0 control
|
|
9989
|
+
* plane — the instance-route contract") — the platform has ONE spelling of each.
|
|
9988
9990
|
*/
|
|
9989
9991
|
var AiProviderId;
|
|
9990
9992
|
(function (AiProviderId) {
|
|
@@ -10000,19 +10002,19 @@ var AiKeyMode;
|
|
|
10000
10002
|
/** The steps a model works on (board 9's rows), in screen order. */
|
|
10001
10003
|
var AiStep;
|
|
10002
10004
|
(function (AiStep) {
|
|
10003
|
-
AiStep["ReadMessage"] = "
|
|
10005
|
+
AiStep["ReadMessage"] = "analysis";
|
|
10004
10006
|
AiStep["PlanSite"] = "plan";
|
|
10005
|
-
AiStep["ChangePlan"] = "
|
|
10006
|
-
AiStep["MakePictures"] = "
|
|
10007
|
-
AiStep["NameStructures"] = "
|
|
10007
|
+
AiStep["ChangePlan"] = "planEdit";
|
|
10008
|
+
AiStep["MakePictures"] = "image";
|
|
10009
|
+
AiStep["NameStructures"] = "scanNaming";
|
|
10008
10010
|
})(AiStep || (AiStep = {}));
|
|
10009
10011
|
const AI_STEPS = Object.values(AiStep);
|
|
10010
10012
|
/** What a model must be able to do for a step to run on it. */
|
|
10011
10013
|
var AiCapability;
|
|
10012
10014
|
(function (AiCapability) {
|
|
10013
|
-
AiCapability["StructuredOutput"] = "
|
|
10014
|
-
AiCapability["ImageInput"] = "
|
|
10015
|
-
AiCapability["ImageOutput"] = "
|
|
10015
|
+
AiCapability["StructuredOutput"] = "structuredOutputs";
|
|
10016
|
+
AiCapability["ImageInput"] = "imageInput";
|
|
10017
|
+
AiCapability["ImageOutput"] = "imageOutput";
|
|
10016
10018
|
})(AiCapability || (AiCapability = {}));
|
|
10017
10019
|
const AI_STEP_NEEDS = {
|
|
10018
10020
|
[AiStep.ReadMessage]: [AiCapability.StructuredOutput, AiCapability.ImageInput],
|