@tangle-network/agent-app 0.55.0 → 0.55.2
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/VaultPane-EGBYSNUZ.js +7 -0
- package/dist/assistant/index.js +2 -2
- package/dist/chat-react/index.js +1 -1
- package/dist/{chunk-OMHGFN5I.js → chunk-JF465P67.js} +81 -79
- package/dist/chunk-JF465P67.js.map +1 -0
- package/dist/{chunk-QCBQFR3E.js → chunk-WMUHVA7S.js} +54 -11
- package/dist/chunk-WMUHVA7S.js.map +1 -0
- package/dist/{chunk-WZ2FER6A.js → chunk-X374TCDT.js} +1 -5
- package/dist/{chunk-WZ2FER6A.js.map → chunk-X374TCDT.js.map} +1 -1
- package/dist/studio-react/index.js +1 -1
- package/dist/vault/contracts.d.ts +6 -0
- package/dist/vault/index.js +1 -1
- package/dist/vault/lazy.js +1 -1
- package/dist/web-react/chat-composer.d.ts +4 -2
- package/dist/web-react/index.js +2 -2
- package/dist/workspace-react/index.js +1 -1
- package/dist/workspace-react/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/VaultPane-SSLWIWLS.js +0 -7
- package/dist/chunk-OMHGFN5I.js.map +0 -1
- package/dist/chunk-QCBQFR3E.js.map +0 -1
- /package/dist/{VaultPane-SSLWIWLS.js.map → VaultPane-EGBYSNUZ.js.map} +0 -0
package/dist/assistant/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chatToolCallPart
|
|
3
3
|
} from "../chunk-PFOJRQ3Q.js";
|
|
4
|
-
import "../chunk-
|
|
4
|
+
import "../chunk-X374TCDT.js";
|
|
5
5
|
import "../chunk-3HUFJ5LO.js";
|
|
6
6
|
import "../chunk-E4AY62T2.js";
|
|
7
7
|
import "../chunk-FBVLEGEG.js";
|
|
@@ -9,7 +9,7 @@ import "../chunk-47UDWWUN.js";
|
|
|
9
9
|
import "../chunk-GEYACSFW.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatComposer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-JF465P67.js";
|
|
13
13
|
import "../chunk-L7MB2LLM.js";
|
|
14
14
|
import "../chunk-QMTZUDDN.js";
|
|
15
15
|
import "../chunk-2WELYICW.js";
|
package/dist/chat-react/index.js
CHANGED
|
@@ -1037,7 +1037,7 @@ function ChatComposer({
|
|
|
1037
1037
|
// the input does not need a second outline.
|
|
1038
1038
|
textareaInput
|
|
1039
1039
|
),
|
|
1040
|
-
/* @__PURE__ */ jsxs2("div", { className: "flex items-end gap-2", children: [
|
|
1040
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex flex-wrap items-end gap-2", children: [
|
|
1041
1041
|
onAttach && /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
1042
1042
|
/* @__PURE__ */ jsx2(
|
|
1043
1043
|
"button",
|
|
@@ -1082,93 +1082,95 @@ function ChatComposer({
|
|
|
1082
1082
|
"div",
|
|
1083
1083
|
{
|
|
1084
1084
|
"data-testid": "composer-controls",
|
|
1085
|
-
className: "flex min-w-
|
|
1085
|
+
className: "flex min-w-min flex-1 flex-wrap items-center gap-1.5",
|
|
1086
1086
|
children: showInline && controls
|
|
1087
1087
|
}
|
|
1088
1088
|
),
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
/* @__PURE__ */
|
|
1092
|
-
|
|
1093
|
-
|
|
1089
|
+
/* @__PURE__ */ jsxs2("div", { "data-testid": "composer-actions", className: "ml-auto flex min-w-0 max-w-full items-end justify-end gap-2", children: [
|
|
1090
|
+
trailing && /* @__PURE__ */ jsx2("div", { "data-testid": "composer-trailing", className: "flex min-w-0 flex-wrap items-center justify-end gap-1.5", children: trailing }),
|
|
1091
|
+
onDictate && dictation.supported ? dictation.recording ? /* @__PURE__ */ jsxs2("div", { className: "flex shrink-0 items-center gap-1.5", children: [
|
|
1092
|
+
/* @__PURE__ */ jsx2("span", { "aria-hidden": "true", className: "h-2 w-2 animate-pulse rounded-full bg-destructive" }),
|
|
1093
|
+
/* @__PURE__ */ jsx2(
|
|
1094
|
+
"span",
|
|
1095
|
+
{
|
|
1096
|
+
"aria-hidden": "true",
|
|
1097
|
+
"data-testid": "composer-dictate-elapsed",
|
|
1098
|
+
className: "text-xs tabular-nums text-muted-foreground",
|
|
1099
|
+
children: formatDictationElapsed(dictation.elapsedSeconds)
|
|
1100
|
+
}
|
|
1101
|
+
),
|
|
1102
|
+
/* @__PURE__ */ jsx2("span", { role: "status", className: "sr-only", children: "Recording" }),
|
|
1103
|
+
/* @__PURE__ */ jsx2(
|
|
1104
|
+
"button",
|
|
1105
|
+
{
|
|
1106
|
+
type: "button",
|
|
1107
|
+
onClick: dictation.stop,
|
|
1108
|
+
"aria-label": "Stop dictation",
|
|
1109
|
+
title: "Stop dictation",
|
|
1110
|
+
className: "shrink-0 rounded-lg p-2 text-destructive transition hover:bg-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1111
|
+
children: /* @__PURE__ */ jsx2(StopGlyph, { className: "h-4 w-4" })
|
|
1112
|
+
}
|
|
1113
|
+
)
|
|
1114
|
+
] }) : /* @__PURE__ */ jsx2(
|
|
1115
|
+
"button",
|
|
1094
1116
|
{
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1117
|
+
type: "button",
|
|
1118
|
+
onClick: dictation.start,
|
|
1119
|
+
disabled,
|
|
1120
|
+
"aria-label": "Dictate message",
|
|
1121
|
+
title: "Dictate message",
|
|
1122
|
+
className: "shrink-0 rounded-lg p-2 text-muted-foreground transition hover:bg-accent hover:text-foreground disabled:opacity-50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1123
|
+
children: /* @__PURE__ */ jsx2(MicGlyph, { className: "h-4 w-4" })
|
|
1099
1124
|
}
|
|
1100
|
-
),
|
|
1101
|
-
|
|
1102
|
-
|
|
1125
|
+
) : null,
|
|
1126
|
+
isStreaming ? sendVariant === "icon" ? /* @__PURE__ */ jsx2(
|
|
1127
|
+
"button",
|
|
1128
|
+
{
|
|
1129
|
+
type: "button",
|
|
1130
|
+
onClick: onCancel,
|
|
1131
|
+
"aria-label": "Stop response",
|
|
1132
|
+
title: "Stop",
|
|
1133
|
+
className: "inline-flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full border border-border bg-transparent text-foreground transition hover:bg-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1134
|
+
children: /* @__PURE__ */ jsx2(StopGlyph, { className: "h-3 w-3" })
|
|
1135
|
+
}
|
|
1136
|
+
) : /* @__PURE__ */ jsxs2(
|
|
1103
1137
|
"button",
|
|
1104
1138
|
{
|
|
1105
1139
|
type: "button",
|
|
1106
|
-
onClick:
|
|
1107
|
-
"aria-label": "Stop
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1140
|
+
onClick: onCancel,
|
|
1141
|
+
"aria-label": "Stop response",
|
|
1142
|
+
className: "inline-flex shrink-0 items-center gap-1.5 rounded-full bg-destructive/15 px-3.5 py-2 text-sm font-medium text-destructive transition hover:bg-destructive/25 focus:outline-none focus-visible:ring-2 focus-visible:ring-destructive/50",
|
|
1143
|
+
children: [
|
|
1144
|
+
/* @__PURE__ */ jsx2(StopGlyph, { className: "h-3.5 w-3.5" }),
|
|
1145
|
+
/* @__PURE__ */ jsx2("span", { children: "Stop" })
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
) : sendVariant === "icon" ? /* @__PURE__ */ jsx2(
|
|
1149
|
+
"button",
|
|
1150
|
+
{
|
|
1151
|
+
type: "button",
|
|
1152
|
+
onClick: send,
|
|
1153
|
+
disabled: !canSend,
|
|
1154
|
+
"aria-label": sendLabel,
|
|
1155
|
+
title: sendLabel,
|
|
1156
|
+
className: `inline-flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full ${sendTone === "primary" ? "bg-primary text-primary-foreground" : "bg-foreground text-background"} transition ${sendTone === "primary" ? "hover:bg-primary/90" : "hover:opacity-90"} disabled:cursor-not-allowed disabled:opacity-40 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-card`,
|
|
1157
|
+
children: /* @__PURE__ */ jsx2(ArrowUpGlyph, { className: "h-4 w-4" })
|
|
1158
|
+
}
|
|
1159
|
+
) : /* @__PURE__ */ jsxs2(
|
|
1160
|
+
"button",
|
|
1161
|
+
{
|
|
1162
|
+
type: "button",
|
|
1163
|
+
onClick: send,
|
|
1164
|
+
disabled: !canSend,
|
|
1165
|
+
"aria-label": sendLabel,
|
|
1166
|
+
className: "inline-flex shrink-0 items-center gap-1.5 rounded-full bg-primary px-3.5 py-2 text-sm font-medium text-primary-foreground shadow-sm transition hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-40 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-card",
|
|
1167
|
+
children: [
|
|
1168
|
+
/* @__PURE__ */ jsx2(SendGlyph, { className: "h-3.5 w-3.5" }),
|
|
1169
|
+
/* @__PURE__ */ jsx2("span", { children: sendLabel })
|
|
1170
|
+
]
|
|
1111
1171
|
}
|
|
1112
1172
|
)
|
|
1113
|
-
] })
|
|
1114
|
-
"button",
|
|
1115
|
-
{
|
|
1116
|
-
type: "button",
|
|
1117
|
-
onClick: dictation.start,
|
|
1118
|
-
disabled,
|
|
1119
|
-
"aria-label": "Dictate message",
|
|
1120
|
-
title: "Dictate message",
|
|
1121
|
-
className: "shrink-0 rounded-lg p-2 text-muted-foreground transition hover:bg-accent hover:text-foreground disabled:opacity-50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1122
|
-
children: /* @__PURE__ */ jsx2(MicGlyph, { className: "h-4 w-4" })
|
|
1123
|
-
}
|
|
1124
|
-
) : null,
|
|
1125
|
-
isStreaming ? sendVariant === "icon" ? /* @__PURE__ */ jsx2(
|
|
1126
|
-
"button",
|
|
1127
|
-
{
|
|
1128
|
-
type: "button",
|
|
1129
|
-
onClick: onCancel,
|
|
1130
|
-
"aria-label": "Stop response",
|
|
1131
|
-
title: "Stop",
|
|
1132
|
-
className: "inline-flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full border border-border bg-transparent text-foreground transition hover:bg-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1133
|
-
children: /* @__PURE__ */ jsx2(StopGlyph, { className: "h-3 w-3" })
|
|
1134
|
-
}
|
|
1135
|
-
) : /* @__PURE__ */ jsxs2(
|
|
1136
|
-
"button",
|
|
1137
|
-
{
|
|
1138
|
-
type: "button",
|
|
1139
|
-
onClick: onCancel,
|
|
1140
|
-
"aria-label": "Stop response",
|
|
1141
|
-
className: "inline-flex shrink-0 items-center gap-1.5 rounded-full bg-destructive/15 px-3.5 py-2 text-sm font-medium text-destructive transition hover:bg-destructive/25 focus:outline-none focus-visible:ring-2 focus-visible:ring-destructive/50",
|
|
1142
|
-
children: [
|
|
1143
|
-
/* @__PURE__ */ jsx2(StopGlyph, { className: "h-3.5 w-3.5" }),
|
|
1144
|
-
/* @__PURE__ */ jsx2("span", { children: "Stop" })
|
|
1145
|
-
]
|
|
1146
|
-
}
|
|
1147
|
-
) : sendVariant === "icon" ? /* @__PURE__ */ jsx2(
|
|
1148
|
-
"button",
|
|
1149
|
-
{
|
|
1150
|
-
type: "button",
|
|
1151
|
-
onClick: send,
|
|
1152
|
-
disabled: !canSend,
|
|
1153
|
-
"aria-label": sendLabel,
|
|
1154
|
-
title: sendLabel,
|
|
1155
|
-
className: `inline-flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full ${sendTone === "primary" ? "bg-primary text-primary-foreground" : "bg-foreground text-background"} transition ${sendTone === "primary" ? "hover:bg-primary/90" : "hover:opacity-90"} disabled:cursor-not-allowed disabled:opacity-40 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-card`,
|
|
1156
|
-
children: /* @__PURE__ */ jsx2(ArrowUpGlyph, { className: "h-4 w-4" })
|
|
1157
|
-
}
|
|
1158
|
-
) : /* @__PURE__ */ jsxs2(
|
|
1159
|
-
"button",
|
|
1160
|
-
{
|
|
1161
|
-
type: "button",
|
|
1162
|
-
onClick: send,
|
|
1163
|
-
disabled: !canSend,
|
|
1164
|
-
"aria-label": sendLabel,
|
|
1165
|
-
className: "inline-flex shrink-0 items-center gap-1.5 rounded-full bg-primary px-3.5 py-2 text-sm font-medium text-primary-foreground shadow-sm transition hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-40 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-card",
|
|
1166
|
-
children: [
|
|
1167
|
-
/* @__PURE__ */ jsx2(SendGlyph, { className: "h-3.5 w-3.5" }),
|
|
1168
|
-
/* @__PURE__ */ jsx2("span", { children: sendLabel })
|
|
1169
|
-
]
|
|
1170
|
-
}
|
|
1171
|
-
)
|
|
1173
|
+
] })
|
|
1172
1174
|
] })
|
|
1173
1175
|
]
|
|
1174
1176
|
}
|
|
@@ -2040,4 +2042,4 @@ export {
|
|
|
2040
2042
|
ComposerModeControls,
|
|
2041
2043
|
EntryComposer
|
|
2042
2044
|
};
|
|
2043
|
-
//# sourceMappingURL=chunk-
|
|
2045
|
+
//# sourceMappingURL=chunk-JF465P67.js.map
|