@vertesia/tools-admin-ui 1.5.0-dev.20260905.011013Z → 1.5.0-dev.20260910.052912Z
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/lib/components/CollectionCard.d.ts.map +1 -1
- package/lib/components/HeroSection.d.ts.map +1 -1
- package/lib/components/ResourceCard.d.ts.map +1 -1
- package/lib/pages/HomePage.d.ts.map +1 -1
- package/lib/pages/InteractionCollection.d.ts.map +1 -1
- package/lib/pages/InteractionDetail.d.ts.map +1 -1
- package/lib/pages/TemplateCollection.d.ts.map +1 -1
- package/lib/pages/TypeCollection.d.ts.map +1 -1
- package/lib/tools-admin-ui.js +37 -37
- package/lib/tools-admin-ui.js.map +1 -1
- package/package.json +4 -4
- package/src/AdminApp.tsx +1 -1
- package/src/components/CollectionCard.tsx +2 -4
- package/src/components/DetailPage.tsx +1 -1
- package/src/components/HeroSection.tsx +4 -6
- package/src/components/ResourceCard.tsx +2 -4
- package/src/components/ResourceSection.tsx +2 -2
- package/src/components/SearchBar.tsx +1 -1
- package/src/pages/ActivityCollection.tsx +4 -4
- package/src/pages/HomePage.tsx +4 -6
- package/src/pages/InteractionCollection.tsx +2 -4
- package/src/pages/InteractionDetail.tsx +2 -4
- package/src/pages/SkillCollection.tsx +2 -2
- package/src/pages/SkillDetail.tsx +1 -1
- package/src/pages/TemplateCollection.tsx +2 -4
- package/src/pages/TemplateDetail.tsx +1 -1
- package/src/pages/ToolCollection.tsx +2 -2
- package/src/pages/TypeCollection.tsx +3 -5
- package/src/pages/TypeDetail.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionCard.d.ts","sourceRoot":"","sources":["../../src/components/CollectionCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,+
|
|
1
|
+
{"version":3,"file":"CollectionCard.d.ts","sourceRoot":"","sources":["../../src/components/CollectionCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,+BAsB5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../src/components/HeroSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,aAAa,CAAC;AAI9D,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,YAAY,EAAE,CAAC;CAC7B;AA8BD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,+
|
|
1
|
+
{"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../src/components/HeroSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,aAAa,CAAC;AAI9D,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,YAAY,EAAE,CAAC;CAC7B;AA8BD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BA4D1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceCard.d.ts","sourceRoot":"","sources":["../../src/components/ResourceCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,+
|
|
1
|
+
{"version":3,"file":"ResourceCard.d.ts","sourceRoot":"","sources":["../../src/components/ResourceCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,+BAwBpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AAuBA,wBAAgB,QAAQ,
|
|
1
|
+
{"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AAuBA,wBAAgB,QAAQ,gCAqFvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionCollection.d.ts","sourceRoot":"","sources":["../../src/pages/InteractionCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"InteractionCollection.d.ts","sourceRoot":"","sources":["../../src/pages/InteractionCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,qBAAqB,gCA6DpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionDetail.d.ts","sourceRoot":"","sources":["../../src/pages/InteractionDetail.tsx"],"names":[],"mappings":"AAWA,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"InteractionDetail.d.ts","sourceRoot":"","sources":["../../src/pages/InteractionDetail.tsx"],"names":[],"mappings":"AAWA,wBAAgB,iBAAiB,gCA8FhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateCollection.d.ts","sourceRoot":"","sources":["../../src/pages/TemplateCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"TemplateCollection.d.ts","sourceRoot":"","sources":["../../src/pages/TemplateCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,kBAAkB,gCA0DjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeCollection.d.ts","sourceRoot":"","sources":["../../src/pages/TypeCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,cAAc,
|
|
1
|
+
{"version":3,"file":"TypeCollection.d.ts","sourceRoot":"","sources":["../../src/pages/TypeCollection.tsx"],"names":[],"mappings":"AAQA,wBAAgB,cAAc,gCAkE7B"}
|
package/lib/tools-admin-ui.js
CHANGED
|
@@ -274,7 +274,7 @@ function DetailPage({ type, title, description, tags, backHref = "/", children }
|
|
|
274
274
|
children: title
|
|
275
275
|
}),
|
|
276
276
|
description && /* @__PURE__ */ jsx("p", {
|
|
277
|
-
className: "mt-1 text-sm leading-relaxed text-muted
|
|
277
|
+
className: "mt-1 text-sm leading-relaxed text-muted",
|
|
278
278
|
children: description
|
|
279
279
|
}),
|
|
280
280
|
tags && tags.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -308,7 +308,7 @@ function ActivityCollection() {
|
|
|
308
308
|
]
|
|
309
309
|
});
|
|
310
310
|
if (!data) return /* @__PURE__ */ jsx("div", {
|
|
311
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
311
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
312
312
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
313
313
|
});
|
|
314
314
|
return /* @__PURE__ */ jsx(DetailPage, {
|
|
@@ -331,13 +331,13 @@ function ActivityCollection() {
|
|
|
331
331
|
})]
|
|
332
332
|
}),
|
|
333
333
|
/* @__PURE__ */ jsx("div", {
|
|
334
|
-
className: "text-sm text-muted
|
|
334
|
+
className: "text-sm text-muted",
|
|
335
335
|
children: activity.description || "No description"
|
|
336
336
|
}),
|
|
337
337
|
activity.input_schema && /* @__PURE__ */ jsxs("div", {
|
|
338
338
|
className: "mt-3",
|
|
339
339
|
children: [/* @__PURE__ */ jsx("p", {
|
|
340
|
-
className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted
|
|
340
|
+
className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted",
|
|
341
341
|
children: "Input Schema"
|
|
342
342
|
}), /* @__PURE__ */ jsx("pre", {
|
|
343
343
|
className: "whitespace-pre-wrap wrap-break-word rounded-lg border border-border bg-muted-background p-4 font-mono text-sm text-foreground",
|
|
@@ -347,7 +347,7 @@ function ActivityCollection() {
|
|
|
347
347
|
activity.output_schema && /* @__PURE__ */ jsxs("div", {
|
|
348
348
|
className: "mt-3",
|
|
349
349
|
children: [/* @__PURE__ */ jsx("p", {
|
|
350
|
-
className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted
|
|
350
|
+
className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted",
|
|
351
351
|
children: "Output Schema"
|
|
352
352
|
}), /* @__PURE__ */ jsx("pre", {
|
|
353
353
|
className: "whitespace-pre-wrap wrap-break-word rounded-lg border border-border bg-muted-background p-4 font-mono text-sm text-foreground",
|
|
@@ -379,11 +379,11 @@ function CollectionCard({ collection }) {
|
|
|
379
379
|
children: collection.title
|
|
380
380
|
}),
|
|
381
381
|
/* @__PURE__ */ jsx("div", {
|
|
382
|
-
className: "mt-1 text-sm text-muted
|
|
382
|
+
className: "mt-1 text-sm text-muted",
|
|
383
383
|
children: collection.description || "No description"
|
|
384
384
|
}),
|
|
385
385
|
/* @__PURE__ */ jsxs("div", {
|
|
386
|
-
className: "mt-2 font-mono text-xs text-muted
|
|
386
|
+
className: "mt-2 font-mono text-xs text-muted",
|
|
387
387
|
children: [
|
|
388
388
|
collection.count,
|
|
389
389
|
" ",
|
|
@@ -494,7 +494,7 @@ function HeroSection({ title, version, resources }) {
|
|
|
494
494
|
className: "flex size-14 items-center justify-center rounded-xl bg-linear-to-br from-sky-400 to-indigo-500 text-sm font-semibold uppercase tracking-wider text-white shadow-lg",
|
|
495
495
|
children: getInitials(title)
|
|
496
496
|
}), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", {
|
|
497
|
-
className: "text-xs font-medium uppercase tracking-widest text-muted
|
|
497
|
+
className: "text-xs font-medium uppercase tracking-widest text-muted",
|
|
498
498
|
children: "Tools Server"
|
|
499
499
|
}), /* @__PURE__ */ jsx("h1", {
|
|
500
500
|
className: "-tracking-wide text-2xl font-bold text-foreground",
|
|
@@ -502,7 +502,7 @@ function HeroSection({ title, version, resources }) {
|
|
|
502
502
|
})] })]
|
|
503
503
|
}),
|
|
504
504
|
/* @__PURE__ */ jsx("p", {
|
|
505
|
-
className: "text-sm text-muted
|
|
505
|
+
className: "text-sm text-muted",
|
|
506
506
|
children: "Discover the tools, skills, interactions, and content types exposed by this server."
|
|
507
507
|
}),
|
|
508
508
|
/* @__PURE__ */ jsx("div", {
|
|
@@ -539,7 +539,7 @@ function HeroSection({ title, version, resources }) {
|
|
|
539
539
|
path: "/api/package"
|
|
540
540
|
}),
|
|
541
541
|
/* @__PURE__ */ jsxs("p", {
|
|
542
|
-
className: "mt-2 text-xs leading-relaxed text-muted
|
|
542
|
+
className: "mt-2 text-xs leading-relaxed text-muted",
|
|
543
543
|
children: [
|
|
544
544
|
"Use ",
|
|
545
545
|
/* @__PURE__ */ jsx("strong", {
|
|
@@ -556,7 +556,7 @@ function HeroSection({ title, version, resources }) {
|
|
|
556
556
|
]
|
|
557
557
|
}),
|
|
558
558
|
/* @__PURE__ */ jsxs("p", {
|
|
559
|
-
className: "mt-1 text-xs text-muted
|
|
559
|
+
className: "mt-1 text-xs text-muted",
|
|
560
560
|
children: ["v", version]
|
|
561
561
|
})
|
|
562
562
|
]
|
|
@@ -581,7 +581,7 @@ function ResourceCard({ resource }) {
|
|
|
581
581
|
children: resource.title
|
|
582
582
|
}),
|
|
583
583
|
/* @__PURE__ */ jsx("div", {
|
|
584
|
-
className: "mt-1 text-sm text-muted
|
|
584
|
+
className: "mt-1 text-sm text-muted",
|
|
585
585
|
children: resource.description || "No description"
|
|
586
586
|
}),
|
|
587
587
|
resource.tags && resource.tags.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -592,7 +592,7 @@ function ResourceCard({ resource }) {
|
|
|
592
592
|
}, tag))
|
|
593
593
|
}),
|
|
594
594
|
resource.url && /* @__PURE__ */ jsx("div", {
|
|
595
|
-
className: "mt-2 truncate font-mono text-xs text-muted
|
|
595
|
+
className: "mt-2 truncate font-mono text-xs text-muted",
|
|
596
596
|
children: resource.url
|
|
597
597
|
})
|
|
598
598
|
]
|
|
@@ -608,7 +608,7 @@ function ResourceSection({ title, subtitle, resources, showDivider }) {
|
|
|
608
608
|
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("h2", {
|
|
609
609
|
className: "text-xl font-semibold text-foreground",
|
|
610
610
|
children: [title, /* @__PURE__ */ jsxs("span", {
|
|
611
|
-
className: "ml-2 text-sm font-normal text-muted
|
|
611
|
+
className: "ml-2 text-sm font-normal text-muted",
|
|
612
612
|
children: [
|
|
613
613
|
"(",
|
|
614
614
|
resources.length,
|
|
@@ -616,7 +616,7 @@ function ResourceSection({ title, subtitle, resources, showDivider }) {
|
|
|
616
616
|
]
|
|
617
617
|
})]
|
|
618
618
|
}), /* @__PURE__ */ jsx("p", {
|
|
619
|
-
className: "mb-4 text-sm text-muted
|
|
619
|
+
className: "mb-4 text-sm text-muted",
|
|
620
620
|
children: subtitle
|
|
621
621
|
})] }),
|
|
622
622
|
/* @__PURE__ */ jsx("div", {
|
|
@@ -642,7 +642,7 @@ function SearchBar({ value, onChange, placeholder, resultCount, totalCount }) {
|
|
|
642
642
|
autoComplete: "off"
|
|
643
643
|
}),
|
|
644
644
|
hasQuery && !noResults && /* @__PURE__ */ jsxs("p", {
|
|
645
|
-
className: "mt-1.5 text-xs text-muted
|
|
645
|
+
className: "mt-1.5 text-xs text-muted",
|
|
646
646
|
children: [
|
|
647
647
|
"Showing ",
|
|
648
648
|
resultCount,
|
|
@@ -734,7 +734,7 @@ function HomePage() {
|
|
|
734
734
|
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("h2", {
|
|
735
735
|
className: "text-xl font-semibold text-foreground",
|
|
736
736
|
children: [section.title, /* @__PURE__ */ jsxs("span", {
|
|
737
|
-
className: "ml-2 text-sm font-normal text-muted
|
|
737
|
+
className: "ml-2 text-sm font-normal text-muted",
|
|
738
738
|
children: [
|
|
739
739
|
"(",
|
|
740
740
|
sectionCollections.length,
|
|
@@ -743,7 +743,7 @@ function HomePage() {
|
|
|
743
743
|
]
|
|
744
744
|
})]
|
|
745
745
|
}), /* @__PURE__ */ jsx("p", {
|
|
746
|
-
className: "mb-4 text-sm text-muted
|
|
746
|
+
className: "mb-4 text-sm text-muted",
|
|
747
747
|
children: section.subtitle
|
|
748
748
|
})] }),
|
|
749
749
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -760,11 +760,11 @@ function HomePage() {
|
|
|
760
760
|
children: r.title
|
|
761
761
|
}),
|
|
762
762
|
/* @__PURE__ */ jsx("div", {
|
|
763
|
-
className: "mt-1 text-sm text-muted
|
|
763
|
+
className: "mt-1 text-sm text-muted",
|
|
764
764
|
children: r.description || "No description"
|
|
765
765
|
}),
|
|
766
766
|
r.url && /* @__PURE__ */ jsx("div", {
|
|
767
|
-
className: "mt-2 truncate font-mono text-xs text-muted
|
|
767
|
+
className: "mt-2 truncate font-mono text-xs text-muted",
|
|
768
768
|
children: r.url
|
|
769
769
|
})
|
|
770
770
|
]
|
|
@@ -793,7 +793,7 @@ function InteractionCollection() {
|
|
|
793
793
|
]
|
|
794
794
|
});
|
|
795
795
|
if (!interactions) return /* @__PURE__ */ jsx("div", {
|
|
796
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
796
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
797
797
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
798
798
|
});
|
|
799
799
|
return /* @__PURE__ */ jsx(DetailPage, {
|
|
@@ -819,7 +819,7 @@ function InteractionCollection() {
|
|
|
819
819
|
children: inter.title || inter.name
|
|
820
820
|
}),
|
|
821
821
|
/* @__PURE__ */ jsx("div", {
|
|
822
|
-
className: "mt-1 text-sm text-muted
|
|
822
|
+
className: "mt-1 text-sm text-muted",
|
|
823
823
|
children: inter.description || "No description"
|
|
824
824
|
}),
|
|
825
825
|
inter.tags && inter.tags.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -858,7 +858,7 @@ function InteractionDetail() {
|
|
|
858
858
|
]
|
|
859
859
|
});
|
|
860
860
|
if (!interaction) return /* @__PURE__ */ jsx("div", {
|
|
861
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
861
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
862
862
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
863
863
|
});
|
|
864
864
|
const { agent_runner_options } = interaction;
|
|
@@ -885,7 +885,7 @@ function InteractionDetail() {
|
|
|
885
885
|
className: `rounded-full px-2 py-0.5 text-[0.7rem] font-semibold uppercase tracking-wide ${ROLE_VARIANTS[prompt.role] ?? ""}`,
|
|
886
886
|
children: prompt.role
|
|
887
887
|
}), prompt.name && /* @__PURE__ */ jsx("span", {
|
|
888
|
-
className: "text-sm italic text-muted
|
|
888
|
+
className: "text-sm italic text-muted",
|
|
889
889
|
children: prompt.name
|
|
890
890
|
})]
|
|
891
891
|
}), /* @__PURE__ */ jsx("pre", {
|
|
@@ -961,7 +961,7 @@ function SkillCollection() {
|
|
|
961
961
|
]
|
|
962
962
|
});
|
|
963
963
|
if (!data) return /* @__PURE__ */ jsx("div", {
|
|
964
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
964
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
965
965
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
966
966
|
});
|
|
967
967
|
return /* @__PURE__ */ jsxs(DetailPage, {
|
|
@@ -1008,7 +1008,7 @@ function SkillCollection() {
|
|
|
1008
1008
|
children: displayName
|
|
1009
1009
|
}),
|
|
1010
1010
|
/* @__PURE__ */ jsx("div", {
|
|
1011
|
-
className: "mt-1 text-sm text-muted
|
|
1011
|
+
className: "mt-1 text-sm text-muted",
|
|
1012
1012
|
children: skill.description || "No description"
|
|
1013
1013
|
}),
|
|
1014
1014
|
skill.tools && skill.tools.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -1047,7 +1047,7 @@ function SkillDetail() {
|
|
|
1047
1047
|
]
|
|
1048
1048
|
});
|
|
1049
1049
|
if (!skill) return /* @__PURE__ */ jsx("div", {
|
|
1050
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1050
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1051
1051
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1052
1052
|
});
|
|
1053
1053
|
return /* @__PURE__ */ jsxs(DetailPage, {
|
|
@@ -1155,7 +1155,7 @@ function TemplateCollection() {
|
|
|
1155
1155
|
]
|
|
1156
1156
|
});
|
|
1157
1157
|
if (!templates) return /* @__PURE__ */ jsx("div", {
|
|
1158
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1158
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1159
1159
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1160
1160
|
});
|
|
1161
1161
|
return /* @__PURE__ */ jsx(DetailPage, {
|
|
@@ -1181,7 +1181,7 @@ function TemplateCollection() {
|
|
|
1181
1181
|
children: tmpl.title || tmpl.name
|
|
1182
1182
|
}),
|
|
1183
1183
|
/* @__PURE__ */ jsx("div", {
|
|
1184
|
-
className: "mt-1 text-sm text-muted
|
|
1184
|
+
className: "mt-1 text-sm text-muted",
|
|
1185
1185
|
children: tmpl.description || "No description"
|
|
1186
1186
|
}),
|
|
1187
1187
|
tmpl.tags && tmpl.tags.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -1222,7 +1222,7 @@ function TemplateDetail() {
|
|
|
1222
1222
|
]
|
|
1223
1223
|
});
|
|
1224
1224
|
if (!template) return /* @__PURE__ */ jsx("div", {
|
|
1225
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1225
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1226
1226
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1227
1227
|
});
|
|
1228
1228
|
return /* @__PURE__ */ jsxs(DetailPage, {
|
|
@@ -1286,7 +1286,7 @@ function ToolCollection() {
|
|
|
1286
1286
|
]
|
|
1287
1287
|
});
|
|
1288
1288
|
if (!data) return /* @__PURE__ */ jsx("div", {
|
|
1289
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1289
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1290
1290
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1291
1291
|
});
|
|
1292
1292
|
return /* @__PURE__ */ jsx(DetailPage, {
|
|
@@ -1309,7 +1309,7 @@ function ToolCollection() {
|
|
|
1309
1309
|
})]
|
|
1310
1310
|
}),
|
|
1311
1311
|
/* @__PURE__ */ jsx("div", {
|
|
1312
|
-
className: "text-sm text-muted
|
|
1312
|
+
className: "text-sm text-muted",
|
|
1313
1313
|
children: tool.description || "No description"
|
|
1314
1314
|
}),
|
|
1315
1315
|
tool.input_schema && /* @__PURE__ */ jsx("pre", {
|
|
@@ -1339,7 +1339,7 @@ function TypeCollection() {
|
|
|
1339
1339
|
]
|
|
1340
1340
|
});
|
|
1341
1341
|
if (!types) return /* @__PURE__ */ jsx("div", {
|
|
1342
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1342
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1343
1343
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1344
1344
|
});
|
|
1345
1345
|
return /* @__PURE__ */ jsx(DetailPage, {
|
|
@@ -1367,7 +1367,7 @@ function TypeCollection() {
|
|
|
1367
1367
|
children: t.name
|
|
1368
1368
|
}),
|
|
1369
1369
|
/* @__PURE__ */ jsx("div", {
|
|
1370
|
-
className: "mt-1 text-sm text-muted
|
|
1370
|
+
className: "mt-1 text-sm text-muted",
|
|
1371
1371
|
children: t.description || "No description"
|
|
1372
1372
|
}),
|
|
1373
1373
|
t.tags && t.tags.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
@@ -1378,7 +1378,7 @@ function TypeCollection() {
|
|
|
1378
1378
|
}, tag))
|
|
1379
1379
|
}),
|
|
1380
1380
|
(t.is_chunkable || t.strict_mode) && /* @__PURE__ */ jsxs("div", {
|
|
1381
|
-
className: "mt-2 truncate font-mono text-xs text-muted
|
|
1381
|
+
className: "mt-2 truncate font-mono text-xs text-muted",
|
|
1382
1382
|
children: [
|
|
1383
1383
|
t.is_chunkable && "chunkable",
|
|
1384
1384
|
t.is_chunkable && t.strict_mode && " · ",
|
|
@@ -1417,7 +1417,7 @@ function TypeDetail() {
|
|
|
1417
1417
|
]
|
|
1418
1418
|
});
|
|
1419
1419
|
if (!typeDef) return /* @__PURE__ */ jsx("div", {
|
|
1420
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1420
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1421
1421
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1422
1422
|
});
|
|
1423
1423
|
return /* @__PURE__ */ jsxs(DetailPage, {
|
|
@@ -1523,7 +1523,7 @@ function AdminApp({ baseUrl = "/api" }) {
|
|
|
1523
1523
|
const isLoading = loadingInfo || loadingData;
|
|
1524
1524
|
const error = infoError || dataError;
|
|
1525
1525
|
if (isLoading) return /* @__PURE__ */ jsx("div", {
|
|
1526
|
-
className: "flex h-64 items-center justify-center text-muted
|
|
1526
|
+
className: "flex h-64 items-center justify-center text-muted",
|
|
1527
1527
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
1528
1528
|
});
|
|
1529
1529
|
if (error) return /* @__PURE__ */ jsx("div", {
|