@smartspace/chat-ui 1.14.4-dev.7129fda → 1.14.4-dev.9a042da

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.d.ts CHANGED
@@ -546,6 +546,7 @@ declare const messagesResponseSchema: z.ZodObject<{
546
546
  data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
547
547
  errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
548
548
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
549
+ traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
549
550
  }, z.core.$strip>>;
550
551
  hasComments: z.ZodBoolean;
551
552
  id: z.ZodString;
@@ -596,7 +597,7 @@ declare function applyDeltaToMessage(target: Message, delta: {
596
597
  /**
597
598
  * User-facing text for message errors.
598
599
  *
599
- * The backend attaches a stable machine-readable category to LLM failures
600
+ * The backend attaches a stable machine-readable category to failures
600
601
  * (`errorCode`, e.g. "llm.rate_limit") alongside the numeric HTTP `code`.
601
602
  * Prefer the category — it distinguishes causes the HTTP code can't (a 400
602
603
  * can be a content filter, a context-window blowout, or a malformed
@@ -865,10 +866,34 @@ declare const workspaceResponseSchema: z.ZodObject<{
865
866
  modelDeploymentProviderType: z.ZodOptional<z.ZodString>;
866
867
  modelPublisher: z.ZodOptional<z.ZodString>;
867
868
  name: z.ZodString;
868
- properties: z.ZodArray<z.ZodObject<{
869
+ properties: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
870
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
871
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
872
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
869
873
  name: z.ZodString;
870
- type: z.ZodString;
871
- }, z.core.$strip>>;
874
+ step: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
875
+ type: z.ZodEnum<{
876
+ Boolean: "Boolean";
877
+ }>;
878
+ }, z.core.$strip>, z.ZodObject<{
879
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
880
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
881
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
882
+ name: z.ZodString;
883
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
884
+ type: z.ZodEnum<{
885
+ Number: "Number";
886
+ }>;
887
+ }, z.core.$strip>, z.ZodObject<{
888
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
891
+ name: z.ZodString;
892
+ step: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
+ type: z.ZodEnum<{
894
+ String: "String";
895
+ }>;
896
+ }, z.core.$strip>]>>;
872
897
  }, z.core.$strip>;
873
898
  prePrompt: z.ZodString;
874
899
  presencePenalty: z.ZodNumber;
@@ -1051,10 +1076,34 @@ declare const workspacesListResponseSchema: z.ZodObject<{
1051
1076
  modelDeploymentProviderType: z.ZodOptional<z.ZodString>;
1052
1077
  modelPublisher: z.ZodOptional<z.ZodString>;
1053
1078
  name: z.ZodString;
1054
- properties: z.ZodArray<z.ZodObject<{
1079
+ properties: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1080
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1081
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1082
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1055
1083
  name: z.ZodString;
1056
- type: z.ZodString;
1057
- }, z.core.$strip>>;
1084
+ step: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1085
+ type: z.ZodEnum<{
1086
+ Boolean: "Boolean";
1087
+ }>;
1088
+ }, z.core.$strip>, z.ZodObject<{
1089
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1090
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1091
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1092
+ name: z.ZodString;
1093
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1094
+ type: z.ZodEnum<{
1095
+ Number: "Number";
1096
+ }>;
1097
+ }, z.core.$strip>, z.ZodObject<{
1098
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1099
+ maxValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1100
+ minValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1101
+ name: z.ZodString;
1102
+ step: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1103
+ type: z.ZodEnum<{
1104
+ String: "String";
1105
+ }>;
1106
+ }, z.core.$strip>]>>;
1058
1107
  }, z.core.$strip>;
1059
1108
  prePrompt: z.ZodString;
1060
1109
  presencePenalty: z.ZodNumber;
package/dist/index.js CHANGED
@@ -19626,7 +19626,14 @@ var ERROR_CODE_TEXT = {
19626
19626
  "llm.content_policy": "\u26A0\uFE0F **The response was blocked by a content filter**\n\nPlease rephrase your request.",
19627
19627
  "llm.schema_validation": "\u26A0\uFE0F **The model returned an invalid response**\n\nPlease try again.",
19628
19628
  "llm.unsupported_modality": "\u26A0\uFE0F **This model can't read images**\n\nSwitch to a vision-capable model, or remove the attachment and describe it instead.",
19629
- "llm.unknown": GENERIC_ERROR_TEXT
19629
+ "llm.unknown": GENERIC_ERROR_TEXT,
19630
+ // Managed secrets. A secret's failure arrives as a 404 or 400, which the
19631
+ // status table below would read as a missing model or a generic error.
19632
+ "secret.user_value_not_set": "\u26A0\uFE0F **Your own key for this isn't set**\n\nThis step uses a credential each person sets for themselves, and none is set for you yet. Ask an administrator to add it.",
19633
+ "secret.run_has_no_user": "\u26A0\uFE0F **This step needs a signed-in user**\n\nIt uses a person's own credential, so it can't run when no one started the run.",
19634
+ "secret.user_mismatch": "\u26A0\uFE0F **A credential couldn't be loaded**\n\nAn administrator needs to check this flow's secrets.",
19635
+ "secret.run_required": "\u26A0\uFE0F **A credential couldn't be loaded**\n\nAn administrator needs to check this flow's secrets.",
19636
+ MS404: "\u26A0\uFE0F **A secret this flow uses doesn't exist**\n\nAn administrator needs to add it, or point the flow at another one."
19630
19637
  };
19631
19638
  var STATUS_CODE_TEXT = {
19632
19639
  408: ERROR_CODE_TEXT["llm.timeout"],