@40rty/ams-ui 0.5.16 → 0.5.17
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/agent.js +2 -2
- package/dist/catalog-data.js +1 -1
- package/dist/catalog-entries.js +2 -2
- package/dist/{chunk-PPKL7CCQ.js → chunk-4EV6YK3A.js} +1 -1
- package/dist/{chunk-BCQU4UFO.js → chunk-6LSIIVDW.js} +4 -4
- package/dist/{chunk-N5XACWEX.js → chunk-JJNKZWIG.js} +1 -1
- package/dist/{chunk-PYH6XCHQ.js → chunk-PD3UJKW7.js} +1 -1
- package/dist/{chunk-CQXGHVS6.js → chunk-TXELEHI5.js} +3 -27
- package/dist/{chunk-KW2DLXHP.js → chunk-WYFP55QO.js} +1 -1
- package/dist/{chunk-IFVVYH4T.js → chunk-Y5TD4JQH.js} +1 -1
- package/dist/conversation.js +5 -5
- package/dist/index.js +203 -213
- package/dist/island.js +2 -2
- package/dist/presence.js +1 -1
- package/dist/shell.js +5 -5
- package/dist/thread-panel.js +2 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/labels/index.d.ts +1 -2
- package/package.json +2 -2
- package/dist/types/components/feedback/HydrationNotice.d.ts +0 -9
- package/dist/types/labels/en/notices.d.ts +0 -2
- package/dist/types/labels/he/notices.d.ts +0 -2
- package/dist/types/labels/pt/notices.d.ts +0 -2
- package/dist/types/labels/types-notices.d.ts +0 -9
package/dist/agent.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
useForgetFact,
|
|
68
68
|
useMeasuredHeight,
|
|
69
69
|
useVisibleFactList
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-PD3UJKW7.js";
|
|
71
71
|
import {
|
|
72
72
|
PRESENCE_DURABLE_SLOTS,
|
|
73
73
|
PRESENCE_FACT_LIMIT,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
readLabel,
|
|
76
76
|
useVisibleFacts
|
|
77
77
|
} from "./chunk-RMJDSHLA.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-TXELEHI5.js";
|
|
79
79
|
import "./chunk-ZP27BQQE.js";
|
|
80
80
|
export {
|
|
81
81
|
AgentPresenceWidget,
|
package/dist/catalog-data.js
CHANGED
package/dist/catalog-entries.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SideDock,
|
|
4
4
|
useSideDockSpacing
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y5TD4JQH.js";
|
|
6
6
|
import {
|
|
7
7
|
useMediaQuery,
|
|
8
8
|
useScrollLock
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
AgentPresenceWidget,
|
|
12
12
|
PresenceBriefRail,
|
|
13
13
|
mirrorX
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PD3UJKW7.js";
|
|
15
15
|
import {
|
|
16
16
|
submitOnEnter,
|
|
17
17
|
useScrollThreshold
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
AttachmentStrip,
|
|
22
22
|
DictationButton,
|
|
23
23
|
ListeningWaveform
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4EV6YK3A.js";
|
|
25
25
|
import {
|
|
26
26
|
Spinner,
|
|
27
27
|
cn
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useLabels,
|
|
31
31
|
useLocale,
|
|
32
32
|
useTextDirection
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-TXELEHI5.js";
|
|
34
34
|
import {
|
|
35
35
|
AgentCaret,
|
|
36
36
|
AnimatePresence,
|
|
@@ -383,7 +383,7 @@ var comparisonTableProps = z4.object({
|
|
|
383
383
|
'Product gid that gets the "MY PICK" verdict highlight. MUST be one of the gids in `products`. **SET this whenever the prose declares a winner** \u2014 the prose-declared winner without a matching highlight reads as visual noise; the table must mark the same product the voice recommends. Omit ONLY on genuinely neutral compare turns where the prose explicitly stays non-committal \u2014 the absence of highlight is itself the signal that the agent is staying neutral.'
|
|
384
384
|
),
|
|
385
385
|
verdict: prose2(z4.string()).optional().describe(
|
|
386
|
-
'Your one-line call, rendered as the
|
|
386
|
+
'Your one-line call, rendered ABOVE the products as the lead line of the compare \u2014 the whole point of an agentic compare. Lead with the pick + the deciding reason in your voice: "For a beach party, the Jelina takes it \u2014 the low kitten walks the sand." \u2264140 chars, ONE sentence, no product enumeration beyond naming the winner. Set this on every decisive compare; pair it with `highlightedProductId` (same product). Omit only on a genuinely neutral side-by-side.'
|
|
387
387
|
),
|
|
388
388
|
attributeRows: z4.array(
|
|
389
389
|
z4.object({
|
|
@@ -259,14 +259,6 @@ var EN_CONTENT = {
|
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
// src/labels/en/notices.ts
|
|
263
|
-
var EN_NOTICES = {
|
|
264
|
-
notices: {
|
|
265
|
-
contentFailed: "Some content couldn't be loaded.",
|
|
266
|
-
itemsUnavailable: (count) => `${count} ${count === 1 ? "item" : "items"} couldn't be loaded.`
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
|
|
270
262
|
// src/labels/en/shell.ts
|
|
271
263
|
var EN_SHELL = {
|
|
272
264
|
menu: {
|
|
@@ -652,14 +644,6 @@ var HE_CONTENT = {
|
|
|
652
644
|
}
|
|
653
645
|
};
|
|
654
646
|
|
|
655
|
-
// src/labels/he/notices.ts
|
|
656
|
-
var HE_NOTICES = {
|
|
657
|
-
notices: {
|
|
658
|
-
contentFailed: "\u05D7\u05DC\u05E7 \u05DE\u05D4\u05EA\u05D5\u05DB\u05DF \u05DC\u05D0 \u05E0\u05D8\u05E2\u05DF.",
|
|
659
|
-
itemsUnavailable: (count) => count === 1 ? "\u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3 \u05DC\u05D0 \u05E0\u05D8\u05E2\u05DF." : `${count} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05DC\u05D0 \u05E0\u05D8\u05E2\u05E0\u05D5.`
|
|
660
|
-
}
|
|
661
|
-
};
|
|
662
|
-
|
|
663
647
|
// src/labels/he/shell.ts
|
|
664
648
|
var HE_SHELL = {
|
|
665
649
|
menu: {
|
|
@@ -1042,14 +1026,6 @@ var PT_CONTENT = {
|
|
|
1042
1026
|
}
|
|
1043
1027
|
};
|
|
1044
1028
|
|
|
1045
|
-
// src/labels/pt/notices.ts
|
|
1046
|
-
var PT_NOTICES = {
|
|
1047
|
-
notices: {
|
|
1048
|
-
contentFailed: "Parte do conte\xFAdo n\xE3o p\xF4de ser carregada.",
|
|
1049
|
-
itemsUnavailable: (count) => count === 1 ? "1 item n\xE3o p\xF4de ser carregado." : `${count} itens n\xE3o puderam ser carregados.`
|
|
1050
|
-
}
|
|
1051
|
-
};
|
|
1052
|
-
|
|
1053
1029
|
// src/labels/pt/shell.ts
|
|
1054
1030
|
var PT_SHELL = {
|
|
1055
1031
|
menu: {
|
|
@@ -1166,9 +1142,9 @@ var PT_SHELL = {
|
|
|
1166
1142
|
};
|
|
1167
1143
|
|
|
1168
1144
|
// src/labels/index.ts
|
|
1169
|
-
var EN_LABELS = { ...EN_COMMERCE, ...EN_AGENT, ...EN_SHELL, ...EN_CONTENT
|
|
1170
|
-
var HE_LABELS = { ...HE_COMMERCE, ...HE_AGENT, ...HE_SHELL, ...HE_CONTENT
|
|
1171
|
-
var PT_LABELS = { ...PT_COMMERCE, ...PT_AGENT, ...PT_SHELL, ...PT_CONTENT
|
|
1145
|
+
var EN_LABELS = { ...EN_COMMERCE, ...EN_AGENT, ...EN_SHELL, ...EN_CONTENT };
|
|
1146
|
+
var HE_LABELS = { ...HE_COMMERCE, ...HE_AGENT, ...HE_SHELL, ...HE_CONTENT };
|
|
1147
|
+
var PT_LABELS = { ...PT_COMMERCE, ...PT_AGENT, ...PT_SHELL, ...PT_CONTENT };
|
|
1172
1148
|
var DEFAULT_LABELS = EN_LABELS;
|
|
1173
1149
|
var LABELS_BY_LANGUAGE = /* @__PURE__ */ new Map([
|
|
1174
1150
|
["en", EN_LABELS],
|
package/dist/conversation.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ComposerChipStrip,
|
|
4
4
|
usePromptComposer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-6LSIIVDW.js";
|
|
6
|
+
import "./chunk-Y5TD4JQH.js";
|
|
7
7
|
import "./chunk-I5QE47QY.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PD3UJKW7.js";
|
|
9
9
|
import "./chunk-RMJDSHLA.js";
|
|
10
10
|
import "./chunk-PHXP2SKS.js";
|
|
11
11
|
import "./chunk-GQURT3IR.js";
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
AttachButton,
|
|
14
14
|
AttachmentStrip,
|
|
15
15
|
DictationButton
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4EV6YK3A.js";
|
|
17
17
|
import "./chunk-WDL5PHO2.js";
|
|
18
18
|
import {
|
|
19
19
|
useLabels
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TXELEHI5.js";
|
|
21
21
|
import {
|
|
22
22
|
AnimatePresence,
|
|
23
23
|
motion,
|