orbital-ds 0.40.0 → 0.41.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.
Files changed (64) hide show
  1. package/AGENTS.md +1 -1
  2. package/components.manifest.json +221 -1
  3. package/dist/hooks/use-ds-messages.d.ts +82 -0
  4. package/dist/lib/a2ui-catalog.d.ts +42 -0
  5. package/dist/lib/a2ui-catalog.js +558 -0
  6. package/dist/lib/a2ui.d.ts +289 -0
  7. package/dist/lib/a2ui.js +215 -0
  8. package/dist/lib/ai-events.d.ts +15 -0
  9. package/dist/lib/ai-events.js +202 -0
  10. package/dist/lib/auth-flow.d.ts +3 -1
  11. package/dist/lib/auth-flow.js +24 -3
  12. package/dist/lib/i18n.d.ts +82 -0
  13. package/dist/lib/i18n.js +246 -0
  14. package/dist/styles.css +23 -1
  15. package/dist/ui/a2ui-renderer.d.ts +33 -0
  16. package/dist/ui/a2ui-renderer.js +793 -0
  17. package/dist/ui/agent-events.d.ts +32 -0
  18. package/dist/ui/agent-events.js +108 -0
  19. package/dist/ui/alert.d.ts +1 -1
  20. package/dist/ui/attachment.d.ts +2 -2
  21. package/dist/ui/auth-form.d.ts +3 -1
  22. package/dist/ui/auth-form.js +34 -6
  23. package/dist/ui/badge.d.ts +1 -1
  24. package/dist/ui/banner.d.ts +1 -1
  25. package/dist/ui/bubble.d.ts +1 -1
  26. package/dist/ui/button-group.d.ts +1 -1
  27. package/dist/ui/button.d.ts +2 -2
  28. package/dist/ui/chain-of-thought.d.ts +19 -0
  29. package/dist/ui/chain-of-thought.js +90 -0
  30. package/dist/ui/chat-composer.d.ts +39 -0
  31. package/dist/ui/chat-composer.js +192 -0
  32. package/dist/ui/conversation-list.d.ts +24 -0
  33. package/dist/ui/conversation-list.js +141 -0
  34. package/dist/ui/empty.d.ts +1 -1
  35. package/dist/ui/field.d.ts +1 -1
  36. package/dist/ui/generated-image.d.ts +14 -0
  37. package/dist/ui/generated-image.js +65 -0
  38. package/dist/ui/generated-table.d.ts +11 -0
  39. package/dist/ui/generated-table.js +59 -0
  40. package/dist/ui/icon-tile.d.ts +2 -2
  41. package/dist/ui/item.d.ts +2 -2
  42. package/dist/ui/markdown.d.ts +14 -0
  43. package/dist/ui/markdown.js +123 -0
  44. package/dist/ui/marker.d.ts +1 -1
  45. package/dist/ui/message-actions.d.ts +12 -0
  46. package/dist/ui/message-actions.js +79 -0
  47. package/dist/ui/panel.d.ts +1 -1
  48. package/dist/ui/reasoning.d.ts +10 -0
  49. package/dist/ui/reasoning.js +62 -0
  50. package/dist/ui/sidebar.d.ts +1 -1
  51. package/dist/ui/sparkline.d.ts +1 -1
  52. package/dist/ui/stat.d.ts +1 -1
  53. package/dist/ui/status-badge.d.ts +3 -3
  54. package/dist/ui/suggestions.d.ts +8 -0
  55. package/dist/ui/suggestions.js +39 -0
  56. package/dist/ui/tabs.d.ts +1 -1
  57. package/dist/ui/toggle.d.ts +1 -1
  58. package/dist/ui/tool-call.d.ts +15 -0
  59. package/dist/ui/tool-call.js +74 -0
  60. package/dist/ui/workflow-run.d.ts +23 -0
  61. package/dist/ui/workflow-run.js +185 -0
  62. package/docs/designer/criterio.md +87 -87
  63. package/docs/designer/patrones.md +3 -1
  64. package/package.json +238 -228
@@ -0,0 +1,202 @@
1
+ const str = (v) => typeof v === "string" && v ? v : void 0;
2
+ const pretty = (v) => {
3
+ if (v === void 0 || v === null || v === "") return void 0;
4
+ if (typeof v === "string") return v;
5
+ try {
6
+ return JSON.stringify(v, null, 2);
7
+ } catch {
8
+ return String(v);
9
+ }
10
+ };
11
+ function chipsFromMeta(meta) {
12
+ const chips = [];
13
+ const k = (n) => n >= 1e3 ? `${(n / 1e3).toFixed(1)}k` : String(n);
14
+ if (meta.model) chips.push({ kind: "model", label: meta.model });
15
+ if (meta.tokensIn != null || meta.tokensOut != null)
16
+ chips.push({ kind: "tokens", label: `${k(meta.tokensIn ?? 0)}/${k(meta.tokensOut ?? 0)} tok` });
17
+ if (meta.costUsd != null) chips.push({ kind: "cost", label: `$${meta.costUsd.toFixed(4)}` });
18
+ return chips;
19
+ }
20
+ function toAgentEvents(stream) {
21
+ const out = [];
22
+ const byId = /* @__PURE__ */ new Map();
23
+ let thinking;
24
+ let message;
25
+ let model;
26
+ let seq = 0;
27
+ const id = (p) => `${p}-${++seq}`;
28
+ const toolStart = (key, name) => {
29
+ const e = { id: `tool-${key}`, type: "tool", title: name, status: "running" };
30
+ byId.set(key, e);
31
+ out.push(e);
32
+ return e;
33
+ };
34
+ const tool = (key) => byId.get(key) ?? toolStart(key, void 0);
35
+ const closeThinking = () => {
36
+ if (thinking) thinking.status = "done";
37
+ thinking = void 0;
38
+ };
39
+ const closeMessage = () => {
40
+ if (message) message.status = "done";
41
+ message = void 0;
42
+ };
43
+ const addThinking = (delta) => {
44
+ if (!thinking) {
45
+ thinking = { id: id("thinking"), type: "thinking", status: "running" };
46
+ out.push(thinking);
47
+ }
48
+ if (delta) thinking.detail = `${thinking.detail ?? ""}${delta}`;
49
+ };
50
+ const addText = (delta) => {
51
+ closeThinking();
52
+ if (!message) {
53
+ message = { id: id("message"), type: "message", status: "running" };
54
+ out.push(message);
55
+ }
56
+ if (delta) message.summary = `${message.summary ?? ""}${delta}`;
57
+ };
58
+ const fail = (e) => {
59
+ out.push({
60
+ id: id("error"),
61
+ type: "error",
62
+ summary: str(e.message) ?? str(e.error) ?? pretty(e.error),
63
+ status: "error"
64
+ });
65
+ };
66
+ for (const item of stream) {
67
+ if (!item || typeof item !== "object") continue;
68
+ const e = item;
69
+ const key = str(e.toolId) ?? str(e.toolCallId);
70
+ switch (e.type) {
71
+ case "stream.start":
72
+ model = str(e.model);
73
+ break;
74
+ case "RUN_STARTED":
75
+ break;
76
+ case "text.delta":
77
+ case "TEXT_MESSAGE_CONTENT":
78
+ addText(str(e.delta));
79
+ break;
80
+ case "TEXT_MESSAGE_START":
81
+ addText(void 0);
82
+ break;
83
+ case "TEXT_MESSAGE_END":
84
+ closeMessage();
85
+ break;
86
+ case "thinking.start":
87
+ case "THINKING_START":
88
+ case "THINKING_TEXT_MESSAGE_START":
89
+ addThinking(void 0);
90
+ break;
91
+ case "thinking.delta":
92
+ case "THINKING_TEXT_MESSAGE_CONTENT":
93
+ addThinking(str(e.delta));
94
+ break;
95
+ case "thinking.done":
96
+ case "THINKING_END":
97
+ case "THINKING_TEXT_MESSAGE_END":
98
+ closeThinking();
99
+ break;
100
+ case "tool.start":
101
+ case "TOOL_CALL_START":
102
+ closeThinking();
103
+ if (key) toolStart(key, str(e.name) ?? str(e.toolCallName));
104
+ break;
105
+ case "tool.delta":
106
+ case "TOOL_CALL_ARGS":
107
+ if (key) {
108
+ const t = tool(key);
109
+ t.detail = `${typeof t.detail === "string" ? t.detail : ""}${str(e.delta) ?? ""}`;
110
+ }
111
+ break;
112
+ case "TOOL_CALL_END":
113
+ break;
114
+ case "tool.done":
115
+ case "TOOL_CALL_RESULT":
116
+ if (key) {
117
+ const t = tool(key);
118
+ t.status = "done";
119
+ const result = pretty(e.result ?? e.content);
120
+ if (result) t.summary = result.length > 160 ? `${result.slice(0, 157)}\u2026` : result;
121
+ }
122
+ break;
123
+ case "tool.error":
124
+ if (key) {
125
+ const t = tool(key);
126
+ t.status = "error";
127
+ t.summary = str(e.error) ?? str(e.message) ?? pretty(e.error);
128
+ }
129
+ break;
130
+ case "STEP_STARTED":
131
+ out.push({ id: id("step"), type: "handoff", title: str(e.stepName), status: "running" });
132
+ break;
133
+ case "STEP_FINISHED": {
134
+ const s = [...out].reverse().find((x) => x.type === "handoff" && x.title === str(e.stepName));
135
+ if (s) s.status = "done";
136
+ break;
137
+ }
138
+ case "stream.end":
139
+ case "RUN_FINISHED":
140
+ closeThinking();
141
+ closeMessage();
142
+ out.push({
143
+ id: id("done"),
144
+ type: "done",
145
+ chips: chipsFromMeta({
146
+ model,
147
+ tokensIn: e.usage?.inputTokens,
148
+ tokensOut: e.usage?.outputTokens
149
+ })
150
+ });
151
+ break;
152
+ case "error":
153
+ case "RUN_ERROR":
154
+ closeThinking();
155
+ closeMessage();
156
+ fail(e);
157
+ break;
158
+ default:
159
+ break;
160
+ }
161
+ }
162
+ return out;
163
+ }
164
+ function fromUiMessageParts(parts) {
165
+ const out = [];
166
+ parts.forEach((p, i) => {
167
+ if (!p || typeof p !== "object") return;
168
+ const part = p;
169
+ const type = part.type ?? "";
170
+ if (type === "reasoning") {
171
+ out.push({
172
+ id: `r-${i}`,
173
+ type: "thinking",
174
+ detail: str(part.text),
175
+ status: part.state === "streaming" ? "running" : "done"
176
+ });
177
+ } else if (type === "text") {
178
+ out.push({
179
+ id: `t-${i}`,
180
+ type: "message",
181
+ summary: str(part.text),
182
+ status: part.state === "streaming" ? "running" : "done"
183
+ });
184
+ } else if (type === "dynamic-tool" || type.startsWith("tool-")) {
185
+ const state = str(part.state);
186
+ out.push({
187
+ id: str(part.toolCallId) ?? `tool-${i}`,
188
+ type: "tool",
189
+ title: type === "dynamic-tool" ? str(part.toolName) : type.slice(5),
190
+ summary: state === "output-error" ? str(part.errorText) : void 0,
191
+ detail: pretty(part.output ?? part.input),
192
+ status: state === "output-error" ? "error" : state === "output-available" ? "done" : "running"
193
+ });
194
+ }
195
+ });
196
+ return out;
197
+ }
198
+ export {
199
+ chipsFromMeta,
200
+ fromUiMessageParts,
201
+ toAgentEvents
202
+ };
@@ -3,7 +3,7 @@ import { MfaMethod } from './auth.js';
3
3
  import 'react';
4
4
  import './i18n.js';
5
5
 
6
- type AuthFlowPreset = "standard" | "social" | "passwordless" | "partner" | "enterprise" | "hybrid" | "sso-only";
6
+ type AuthFlowPreset = "standard" | "social" | "passwordless" | "partner" | "enterprise" | "hybrid" | "sso-only" | "sso-staff";
7
7
  type AuthAudience = "internal" | "external" | "mixed";
8
8
  type AuthSignUp = "open" | "invite" | "none";
9
9
  type AuthSignInMethod = "password" | "social" | "passkey" | "magic-link" | "email-code" | "sso";
@@ -26,6 +26,8 @@ type AuthFlowConfig = {
26
26
  signIn: "sign-in" | "social" | "magic-link" | "email-code" | "sso";
27
27
  /** Identificador primero (home realm discovery). */
28
28
  identifierFirst: boolean;
29
+ /** Inicio de la pantalla: pide el correo (identifier) o ofrece dos puertas sin escribir: «Continuar con SSO» y «Acceso para personas externas» (doors). */
30
+ entry?: "identifier" | "doors";
29
31
  /** Dominios de la plantilla (sin @): su correo va al SSO corporativo. Obligatorio en `mixed`. */
30
32
  internalDomains: string[];
31
33
  /** Cómo se crean las cuentas: registro abierto, por invitación o desde el directorio (SSO). */
@@ -65,6 +65,22 @@ const AUTH_FLOW_PRESETS = {
65
65
  mfa: { required: true, methods: ["totp", "passkey", "backup-code"] },
66
66
  layout: { preset: "split", surface: "plain", motion: "entrance" }
67
67
  },
68
+ "sso-staff": {
69
+ audience: "mixed",
70
+ methods: ["sso", "password", "passkey"],
71
+ providers: [],
72
+ signIn: "sign-in",
73
+ identifierFirst: false,
74
+ internalDomains: [],
75
+ entry: "doors",
76
+ signUp: "invite",
77
+ mfa: { required: true, methods: ["totp", "passkey", "backup-code"] },
78
+ access: {
79
+ internal: { methods: ["sso"], mfaRequired: false, signUp: "none" },
80
+ external: { methods: ["password", "passkey"], mfaRequired: true, signUp: "invite" }
81
+ },
82
+ layout: { preset: "split", surface: "plain", motion: "entrance" }
83
+ },
68
84
  "sso-only": {
69
85
  audience: "internal",
70
86
  methods: ["sso"],
@@ -84,7 +100,10 @@ function defineAuthFlow(preset, overrides = {}) {
84
100
  ...overrides,
85
101
  preset,
86
102
  mfa: { ...base.mfa, ...overrides.mfa },
87
- access: { internal: { ...overrides.access?.internal }, external: { ...overrides.access?.external } },
103
+ access: {
104
+ internal: { ...base.access?.internal, ...overrides.access?.internal },
105
+ external: { ...base.access?.external, ...overrides.access?.external }
106
+ },
88
107
  layout: { ...base.layout, ...overrides.layout }
89
108
  };
90
109
  }
@@ -133,8 +152,10 @@ function validateAuthFlow(flow) {
133
152
  if (flow.audience === "mixed") {
134
153
  if (!has("sso")) issues.push('Mixed audience without the "sso" method for staff.');
135
154
  if (!ownAccount) issues.push("Mixed audience without a method for external people.");
136
- if (!flow.internalDomains.length) issues.push("Mixed audience without `internalDomains`: staff cannot be routed to SSO.");
137
- if (!flow.identifierFirst) issues.push("Mixed audience works best with identifierFirst: the email decides the door.");
155
+ if (flow.entry !== "doors") {
156
+ if (!flow.internalDomains.length) issues.push("Mixed audience without `internalDomains`: staff cannot be routed to SSO.");
157
+ if (!flow.identifierFirst) issues.push("Mixed audience works best with identifierFirst: the email decides the door.");
158
+ }
138
159
  }
139
160
  if (flow.access?.internal?.signUp && flow.access.internal.signUp !== "none") issues.push('`access.internal.signUp` should be "none": staff accounts come from the directory.');
140
161
  if (flow.access?.external?.methods?.includes("sso") && flow.audience !== "external") issues.push('`access.external.methods` with "sso": SSO is the staff door; external SSO goes through `onIdentify` (their own company).');
@@ -128,6 +128,84 @@ declare const en: {
128
128
  noticeStateResolved: string;
129
129
  entityRetry: string;
130
130
  showMore: string;
131
+ reasoningTitle: string;
132
+ reasoningThinking: string;
133
+ reasoningDone: string;
134
+ toolRunning: string;
135
+ toolDone: string;
136
+ toolError: string;
137
+ toolInput: string;
138
+ toolOutput: string;
139
+ composerPlaceholder: string;
140
+ composerSend: string;
141
+ composerStop: string;
142
+ composerAttach: string;
143
+ suggestionsLabel: string;
144
+ eventThinking: string;
145
+ eventTool: string;
146
+ eventMessage: string;
147
+ eventHandoff: string;
148
+ eventError: string;
149
+ eventDone: string;
150
+ composerVoice: string;
151
+ voiceRecording: string;
152
+ voiceCancel: string;
153
+ voiceConfirm: string;
154
+ voiceTranscribing: string;
155
+ voiceError: string;
156
+ voiceRetry: string;
157
+ composerRemoveFile: string;
158
+ composerCounter: string;
159
+ composerDrop: string;
160
+ composerUploading: string;
161
+ composerFileError: string;
162
+ conversationNew: string;
163
+ conversationSearch: string;
164
+ conversationPinned: string;
165
+ conversationToday: string;
166
+ conversationYesterday: string;
167
+ conversationWeek: string;
168
+ conversationOlder: string;
169
+ conversationRename: string;
170
+ conversationDelete: string;
171
+ conversationPin: string;
172
+ conversationUnpin: string;
173
+ conversationEmpty: string;
174
+ conversationListLabel: string;
175
+ conversationActions: string;
176
+ messageCopy: string;
177
+ messageRetry: string;
178
+ messageGood: string;
179
+ messageBad: string;
180
+ messageActionsLabel: string;
181
+ chainWorking: string;
182
+ chainDone: string;
183
+ workflowRunning: string;
184
+ workflowSucceeded: string;
185
+ workflowFailed: string;
186
+ workflowCancelled: string;
187
+ workflowCancel: string;
188
+ workflowRetry: string;
189
+ workflowProgress: string;
190
+ workflowParallel: string;
191
+ workflowSkipped: string;
192
+ workflowWaiting: string;
193
+ toolApprove: string;
194
+ toolDeny: string;
195
+ toolAwaiting: string;
196
+ imageGenerating: string;
197
+ imageError: string;
198
+ imageDownload: string;
199
+ tableEmpty: string;
200
+ tableDownload: string;
201
+ calloutNote: string;
202
+ calloutTip: string;
203
+ calloutImportant: string;
204
+ calloutWarning: string;
205
+ calloutCaution: string;
206
+ markdownLinkExternal: string;
207
+ a2uiUnknown: string;
208
+ a2uiModalTitle: string;
131
209
  showLess: string;
132
210
  loadMore: string;
133
211
  loadMoreDone: string;
@@ -314,6 +392,10 @@ declare const en: {
314
392
  authSsoRedirecting: string;
315
393
  authChange: string;
316
394
  authUseSso: string;
395
+ authContinueSso: string;
396
+ authDoorStaffHint: string;
397
+ authDoorExternalHint: string;
398
+ authDoorExternal: string;
317
399
  authBackToSignIn: string;
318
400
  authNoAccount: string;
319
401
  authSignUpLink: string;
package/dist/lib/i18n.js CHANGED
@@ -127,6 +127,84 @@ const en = {
127
127
  noticeStateResolved: "Resolved",
128
128
  entityRetry: "Try again",
129
129
  showMore: "Show more",
130
+ reasoningTitle: "Reasoning",
131
+ reasoningThinking: "Thinking\u2026",
132
+ reasoningDone: "Reasoned",
133
+ toolRunning: "Running",
134
+ toolDone: "Done",
135
+ toolError: "Failed",
136
+ toolInput: "Input",
137
+ toolOutput: "Output",
138
+ composerPlaceholder: "Write a message\u2026",
139
+ composerSend: "Send",
140
+ composerStop: "Stop",
141
+ composerAttach: "Attach file",
142
+ suggestionsLabel: "Suggestions",
143
+ eventThinking: "Thinking",
144
+ eventTool: "Tool",
145
+ eventMessage: "Message",
146
+ eventHandoff: "Handoff",
147
+ eventError: "Error",
148
+ eventDone: "Completed",
149
+ composerVoice: "Record voice message",
150
+ voiceRecording: "Recording",
151
+ voiceCancel: "Discard recording",
152
+ voiceConfirm: "Use recording",
153
+ voiceTranscribing: "Transcribing\u2026",
154
+ voiceError: "Could not use the microphone",
155
+ voiceRetry: "Try again",
156
+ composerRemoveFile: "Remove {name}",
157
+ composerCounter: "{count} of {max}",
158
+ composerDrop: "Drop files to attach",
159
+ composerUploading: "Uploading\u2026",
160
+ composerFileError: "Upload failed",
161
+ conversationNew: "New conversation",
162
+ conversationSearch: "Search conversations",
163
+ conversationPinned: "Pinned",
164
+ conversationToday: "Today",
165
+ conversationYesterday: "Yesterday",
166
+ conversationWeek: "Previous 7 days",
167
+ conversationOlder: "Older",
168
+ conversationRename: "Rename",
169
+ conversationDelete: "Delete",
170
+ conversationPin: "Pin",
171
+ conversationUnpin: "Unpin",
172
+ conversationEmpty: "No conversations yet",
173
+ conversationListLabel: "Conversations",
174
+ conversationActions: "Actions for {name}",
175
+ messageCopy: "Copy",
176
+ messageRetry: "Regenerate",
177
+ messageGood: "Good response",
178
+ messageBad: "Bad response",
179
+ messageActionsLabel: "Message actions",
180
+ chainWorking: "Working\u2026",
181
+ chainDone: "Completed in {count} steps",
182
+ workflowRunning: "Running",
183
+ workflowSucceeded: "Succeeded",
184
+ workflowFailed: "Failed",
185
+ workflowCancelled: "Cancelled",
186
+ workflowCancel: "Cancel run",
187
+ workflowRetry: "Retry",
188
+ workflowProgress: "{done} of {total} steps",
189
+ workflowParallel: "In parallel",
190
+ workflowSkipped: "Skipped",
191
+ workflowWaiting: "Waiting",
192
+ toolApprove: "Approve",
193
+ toolDeny: "Deny",
194
+ toolAwaiting: "Awaiting approval",
195
+ imageGenerating: "Generating image\u2026",
196
+ imageError: "Could not generate the image",
197
+ imageDownload: "Download",
198
+ tableEmpty: "No data",
199
+ tableDownload: "Download CSV",
200
+ calloutNote: "Note",
201
+ calloutTip: "Tip",
202
+ calloutImportant: "Important",
203
+ calloutWarning: "Warning",
204
+ calloutCaution: "Caution",
205
+ markdownLinkExternal: "(opens in a new tab)",
206
+ a2uiUnknown: "Component not available",
207
+ a2uiModalTitle: "Dialog",
130
208
  showLess: "Show less",
131
209
  loadMore: "Load more",
132
210
  loadMoreDone: "{count} more items loaded",
@@ -314,6 +392,10 @@ const en = {
314
392
  authSsoRedirecting: "Taking you to your organization's sign-in\u2026",
315
393
  authChange: "Change",
316
394
  authUseSso: "Sign in with SSO",
395
+ authContinueSso: "Continue with SSO",
396
+ authDoorStaffHint: "Organization staff sign in with single sign-on.",
397
+ authDoorExternalHint: "Partners, suppliers and guests use their own account.",
398
+ authDoorExternal: "External access",
317
399
  authBackToSignIn: "Back to sign in",
318
400
  authNoAccount: "Don't have an account?",
319
401
  authSignUpLink: "Sign up",
@@ -572,6 +654,84 @@ const es = {
572
654
  noticeStateResolved: "Resuelto",
573
655
  entityRetry: "Reintentar",
574
656
  showMore: "Ver m\xE1s",
657
+ reasoningTitle: "Razonamiento",
658
+ reasoningThinking: "Pensando\u2026",
659
+ reasoningDone: "Razonado",
660
+ toolRunning: "En curso",
661
+ toolDone: "Hecho",
662
+ toolError: "Fall\xF3",
663
+ toolInput: "Entrada",
664
+ toolOutput: "Salida",
665
+ composerPlaceholder: "Escribe un mensaje\u2026",
666
+ composerSend: "Enviar",
667
+ composerStop: "Detener",
668
+ composerAttach: "Adjuntar archivo",
669
+ suggestionsLabel: "Sugerencias",
670
+ eventThinking: "Razonamiento",
671
+ eventTool: "Herramienta",
672
+ eventMessage: "Mensaje",
673
+ eventHandoff: "Traspaso",
674
+ eventError: "Error",
675
+ eventDone: "Completado",
676
+ composerVoice: "Grabar mensaje de voz",
677
+ voiceRecording: "Grabando",
678
+ voiceCancel: "Descartar grabaci\xF3n",
679
+ voiceConfirm: "Usar grabaci\xF3n",
680
+ voiceTranscribing: "Transcribiendo\u2026",
681
+ voiceError: "No se pudo usar el micr\xF3fono",
682
+ voiceRetry: "Reintentar",
683
+ composerRemoveFile: "Quitar {name}",
684
+ composerCounter: "{count} de {max}",
685
+ composerDrop: "Suelta los archivos para adjuntarlos",
686
+ composerUploading: "Subiendo\u2026",
687
+ composerFileError: "Fall\xF3 la subida",
688
+ conversationNew: "Nueva conversaci\xF3n",
689
+ conversationSearch: "Buscar conversaciones",
690
+ conversationPinned: "Fijadas",
691
+ conversationToday: "Hoy",
692
+ conversationYesterday: "Ayer",
693
+ conversationWeek: "\xDAltimos 7 d\xEDas",
694
+ conversationOlder: "Anteriores",
695
+ conversationRename: "Renombrar",
696
+ conversationDelete: "Eliminar",
697
+ conversationPin: "Fijar",
698
+ conversationUnpin: "Quitar de fijadas",
699
+ conversationEmpty: "A\xFAn no hay conversaciones",
700
+ conversationListLabel: "Conversaciones",
701
+ conversationActions: "Acciones de {name}",
702
+ messageCopy: "Copiar",
703
+ messageRetry: "Regenerar",
704
+ messageGood: "Buena respuesta",
705
+ messageBad: "Mala respuesta",
706
+ messageActionsLabel: "Acciones del mensaje",
707
+ chainWorking: "Trabajando\u2026",
708
+ chainDone: "Completado en {count} pasos",
709
+ workflowRunning: "En ejecuci\xF3n",
710
+ workflowSucceeded: "Completado",
711
+ workflowFailed: "Fall\xF3",
712
+ workflowCancelled: "Cancelado",
713
+ workflowCancel: "Cancelar ejecuci\xF3n",
714
+ workflowRetry: "Reintentar",
715
+ workflowProgress: "{done} de {total} pasos",
716
+ workflowParallel: "En paralelo",
717
+ workflowSkipped: "Omitido",
718
+ workflowWaiting: "En espera",
719
+ toolApprove: "Aprobar",
720
+ toolDeny: "Denegar",
721
+ toolAwaiting: "Esperando aprobaci\xF3n",
722
+ imageGenerating: "Generando imagen\u2026",
723
+ imageError: "No se pudo generar la imagen",
724
+ imageDownload: "Descargar",
725
+ tableEmpty: "Sin datos",
726
+ tableDownload: "Descargar CSV",
727
+ calloutNote: "Nota",
728
+ calloutTip: "Consejo",
729
+ calloutImportant: "Importante",
730
+ calloutWarning: "Advertencia",
731
+ calloutCaution: "Precauci\xF3n",
732
+ markdownLinkExternal: "(se abre en una pesta\xF1a nueva)",
733
+ a2uiUnknown: "Componente no disponible",
734
+ a2uiModalTitle: "Di\xE1logo",
575
735
  showLess: "Ver menos",
576
736
  loadMore: "Cargar m\xE1s",
577
737
  loadMoreDone: "{count} elementos m\xE1s cargados",
@@ -759,6 +919,10 @@ const es = {
759
919
  authSsoRedirecting: "Te llevamos al acceso de tu organizaci\xF3n\u2026",
760
920
  authChange: "Cambiar",
761
921
  authUseSso: "Entrar con SSO",
922
+ authContinueSso: "Continuar con SSO",
923
+ authDoorStaffHint: "El personal de la organizaci\xF3n entra con el inicio de sesi\xF3n \xFAnico (SSO).",
924
+ authDoorExternalHint: "Socios, proveedores e invitados usan su propia cuenta.",
925
+ authDoorExternal: "Acceso para personas externas",
762
926
  authBackToSignIn: "Volver a iniciar sesi\xF3n",
763
927
  authNoAccount: "\xBFNo tienes cuenta?",
764
928
  authSignUpLink: "Reg\xEDstrate",
@@ -1017,6 +1181,84 @@ const ptBR = {
1017
1181
  noticeStateResolved: "Resolvido",
1018
1182
  entityRetry: "Tentar novamente",
1019
1183
  showMore: "Ver mais",
1184
+ reasoningTitle: "Racioc\xEDnio",
1185
+ reasoningThinking: "Pensando\u2026",
1186
+ reasoningDone: "Raciocinado",
1187
+ toolRunning: "Em andamento",
1188
+ toolDone: "Conclu\xEDdo",
1189
+ toolError: "Falhou",
1190
+ toolInput: "Entrada",
1191
+ toolOutput: "Sa\xEDda",
1192
+ composerPlaceholder: "Escreva uma mensagem\u2026",
1193
+ composerSend: "Enviar",
1194
+ composerStop: "Parar",
1195
+ composerAttach: "Anexar arquivo",
1196
+ suggestionsLabel: "Sugest\xF5es",
1197
+ eventThinking: "Racioc\xEDnio",
1198
+ eventTool: "Ferramenta",
1199
+ eventMessage: "Mensagem",
1200
+ eventHandoff: "Transfer\xEAncia",
1201
+ eventError: "Erro",
1202
+ eventDone: "Conclu\xEDdo",
1203
+ composerVoice: "Gravar mensagem de voz",
1204
+ voiceRecording: "Gravando",
1205
+ voiceCancel: "Descartar grava\xE7\xE3o",
1206
+ voiceConfirm: "Usar grava\xE7\xE3o",
1207
+ voiceTranscribing: "Transcrevendo\u2026",
1208
+ voiceError: "N\xE3o foi poss\xEDvel usar o microfone",
1209
+ voiceRetry: "Tentar de novo",
1210
+ composerRemoveFile: "Remover {name}",
1211
+ composerCounter: "{count} de {max}",
1212
+ composerDrop: "Solte os arquivos para anexar",
1213
+ composerUploading: "Enviando\u2026",
1214
+ composerFileError: "Falha no envio",
1215
+ conversationNew: "Nova conversa",
1216
+ conversationSearch: "Buscar conversas",
1217
+ conversationPinned: "Fixadas",
1218
+ conversationToday: "Hoje",
1219
+ conversationYesterday: "Ontem",
1220
+ conversationWeek: "\xDAltimos 7 dias",
1221
+ conversationOlder: "Anteriores",
1222
+ conversationRename: "Renomear",
1223
+ conversationDelete: "Excluir",
1224
+ conversationPin: "Fixar",
1225
+ conversationUnpin: "Desafixar",
1226
+ conversationEmpty: "Ainda n\xE3o h\xE1 conversas",
1227
+ conversationListLabel: "Conversas",
1228
+ conversationActions: "A\xE7\xF5es de {name}",
1229
+ messageCopy: "Copiar",
1230
+ messageRetry: "Regenerar",
1231
+ messageGood: "Boa resposta",
1232
+ messageBad: "Resposta ruim",
1233
+ messageActionsLabel: "A\xE7\xF5es da mensagem",
1234
+ chainWorking: "Trabalhando\u2026",
1235
+ chainDone: "Conclu\xEDdo em {count} etapas",
1236
+ workflowRunning: "Em execu\xE7\xE3o",
1237
+ workflowSucceeded: "Conclu\xEDdo",
1238
+ workflowFailed: "Falhou",
1239
+ workflowCancelled: "Cancelado",
1240
+ workflowCancel: "Cancelar execu\xE7\xE3o",
1241
+ workflowRetry: "Tentar de novo",
1242
+ workflowProgress: "{done} de {total} etapas",
1243
+ workflowParallel: "Em paralelo",
1244
+ workflowSkipped: "Ignorado",
1245
+ workflowWaiting: "Aguardando",
1246
+ toolApprove: "Aprovar",
1247
+ toolDeny: "Negar",
1248
+ toolAwaiting: "Aguardando aprova\xE7\xE3o",
1249
+ imageGenerating: "Gerando imagem\u2026",
1250
+ imageError: "N\xE3o foi poss\xEDvel gerar a imagem",
1251
+ imageDownload: "Baixar",
1252
+ tableEmpty: "Sem dados",
1253
+ tableDownload: "Baixar CSV",
1254
+ calloutNote: "Nota",
1255
+ calloutTip: "Dica",
1256
+ calloutImportant: "Importante",
1257
+ calloutWarning: "Aviso",
1258
+ calloutCaution: "Cuidado",
1259
+ markdownLinkExternal: "(abre em uma nova aba)",
1260
+ a2uiUnknown: "Componente indispon\xEDvel",
1261
+ a2uiModalTitle: "Di\xE1logo",
1020
1262
  showLess: "Ver menos",
1021
1263
  loadMore: "Carregar mais",
1022
1264
  loadMoreDone: "{count} itens a mais carregados",
@@ -1204,6 +1446,10 @@ const ptBR = {
1204
1446
  authSsoRedirecting: "Levando voc\xEA ao login da sua organiza\xE7\xE3o\u2026",
1205
1447
  authChange: "Alterar",
1206
1448
  authUseSso: "Entrar com SSO",
1449
+ authContinueSso: "Continuar com SSO",
1450
+ authDoorStaffHint: "A equipe da organiza\xE7\xE3o entra com login \xFAnico (SSO).",
1451
+ authDoorExternalHint: "Parceiros, fornecedores e convidados usam a pr\xF3pria conta.",
1452
+ authDoorExternal: "Acesso para pessoas externas",
1207
1453
  authBackToSignIn: "Voltar para o login",
1208
1454
  authNoAccount: "N\xE3o tem uma conta?",
1209
1455
  authSignUpLink: "Cadastre-se",
package/dist/styles.css CHANGED
@@ -332,7 +332,7 @@
332
332
  --ds-control-h-xs: 1.5rem;
333
333
  --ds-chip-h: 1.375rem;
334
334
  --ds-field-bg: color-mix(in oklch, var(--input) 30%, transparent);
335
- --ds-field-border: var(--input);
335
+ --ds-field-border: var(--input);
336
336
  --ds-field-bg-hover: color-mix(in oklch, var(--input) 50%, transparent);
337
337
  --ds-invalid-border: var(--destructive); /* borde de un campo con error */
338
338
  --ds-switch-track-off: var(--input); /* carril del interruptor apagado */
@@ -969,6 +969,28 @@
969
969
  background-position: -100% 0;
970
970
  }
971
971
  }
972
+ /* Brillo que recorre el TEXTO (títulos «en curso» de un agente). Ritmo: --ds-motion-shimmer; quieto con movimiento reducido. */
973
+ @utility text-shimmer {
974
+ color: transparent;
975
+ background-image: linear-gradient(90deg, var(--muted-foreground) 35%, var(--foreground) 50%, var(--muted-foreground) 65%);
976
+ background-size: 250% 100%;
977
+ background-clip: text;
978
+ -webkit-background-clip: text;
979
+ animation: ds-text-shimmer calc(var(--ds-motion-shimmer) * 1.5) linear infinite;
980
+ @media (prefers-reduced-motion: reduce) {
981
+ animation: none;
982
+ color: var(--muted-foreground);
983
+ background-image: none;
984
+ }
985
+ }
986
+ @keyframes ds-text-shimmer {
987
+ from {
988
+ background-position: 100% 0;
989
+ }
990
+ to {
991
+ background-position: -100% 0;
992
+ }
993
+ }
972
994
  /* Acordeón de Base UI: anima hasta --accordion-panel-height (tw-animate solo conoce Radix y otros). */
973
995
  @utility animate-accordion-open {
974
996
  animation: ds-accordion-open var(--ds-motion-base) var(--ds-ease-standard);