@springbrand/message-panel 0.1.3-alpha.27 → 0.1.3-alpha.28
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.
|
@@ -35,7 +35,7 @@ export interface CloudOsMessageMetadata extends UnknownRecord {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export interface CloudOsRequestedCapability {
|
|
38
|
-
kind: "skill" | "plan";
|
|
38
|
+
kind: "skill" | "tool" | "plan";
|
|
39
39
|
name: string;
|
|
40
40
|
label: string;
|
|
41
41
|
}
|
|
@@ -186,7 +186,7 @@ export function requestedCapabilitiesOf(
|
|
|
186
186
|
return metadata.requestedCapabilities.flatMap((value) => {
|
|
187
187
|
const capability = recordOf(value);
|
|
188
188
|
if (
|
|
189
|
-
(capability.kind !== "skill" && capability.kind !== "plan") ||
|
|
189
|
+
(capability.kind !== "skill" && capability.kind !== "tool" && capability.kind !== "plan") ||
|
|
190
190
|
typeof capability.name !== "string" ||
|
|
191
191
|
!capability.name.trim() ||
|
|
192
192
|
typeof capability.label !== "string" ||
|
|
@@ -532,8 +532,12 @@
|
|
|
532
532
|
font-weight: 600;
|
|
533
533
|
}
|
|
534
534
|
.cos-markdown img {
|
|
535
|
-
max-width: 100
|
|
535
|
+
max-width: min(100%, 16rem);
|
|
536
|
+
max-height: 13rem;
|
|
537
|
+
width: auto;
|
|
536
538
|
height: auto;
|
|
539
|
+
border-radius: 0.75rem;
|
|
540
|
+
object-fit: contain;
|
|
537
541
|
}
|
|
538
542
|
|
|
539
543
|
/* ── 输入框容器(container query 决定「添加资源」标签是否显示)─────────────── */
|