@getcatalystiq/agent-plane-ui 0.1.8 → 0.1.10
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/index.cjs +3 -6
- package/dist/index.d.cts +2 -6
- package/dist/index.d.ts +2 -6
- package/dist/index.js +3 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1456,7 +1456,7 @@ function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugin
|
|
|
1456
1456
|
(c) => c.pluginMarketplaces.get(marketplaceId),
|
|
1457
1457
|
initialData ? { fallbackData: initialData } : void 0
|
|
1458
1458
|
);
|
|
1459
|
-
const { data:
|
|
1459
|
+
const { data: plugins } = useApi(
|
|
1460
1460
|
`marketplace-${marketplaceId}-plugins`,
|
|
1461
1461
|
(c) => c.pluginMarketplaces.listPlugins(marketplaceId),
|
|
1462
1462
|
initialPlugins ? { fallbackData: initialPlugins } : void 0
|
|
@@ -1522,13 +1522,10 @@ function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugin
|
|
|
1522
1522
|
] }),
|
|
1523
1523
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1524
1524
|
/* @__PURE__ */ jsxRuntime.jsx(SectionHeader, { title: "Plugins" }),
|
|
1525
|
-
!
|
|
1526
|
-
"Failed to load plugins: ",
|
|
1527
|
-
pluginsResult.message
|
|
1528
|
-
] }) : pluginsResult.data.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "No plugins found in this marketplace." }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: pluginsResult.data.map((plugin) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1525
|
+
!plugins ? /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-48 rounded-lg" }) : plugins.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "No plugins found in this marketplace." }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: plugins.map((plugin) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1529
1526
|
LinkComponent,
|
|
1530
1527
|
{
|
|
1531
|
-
href: `${basePath}/plugin-marketplaces/${marketplaceId}
|
|
1528
|
+
href: `${basePath}/plugin-marketplaces/${marketplaceId}/${plugin.name}`,
|
|
1532
1529
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: "hover:border-primary/50 transition-colors cursor-pointer h-full", children: [
|
|
1533
1530
|
/* @__PURE__ */ jsxRuntime.jsx(CardHeader, { className: "pb-2", children: /* @__PURE__ */ jsxRuntime.jsxs(CardTitle, { className: "text-sm font-medium flex items-center justify-between", children: [
|
|
1534
1531
|
plugin.displayName,
|
package/dist/index.d.cts
CHANGED
|
@@ -477,15 +477,11 @@ interface Plugin {
|
|
|
477
477
|
hasSkills: boolean;
|
|
478
478
|
hasMcpJson: boolean;
|
|
479
479
|
}
|
|
480
|
-
|
|
481
|
-
ok: boolean;
|
|
482
|
-
data: Plugin[];
|
|
483
|
-
message?: string;
|
|
484
|
-
}
|
|
480
|
+
type PluginsResult = Plugin[];
|
|
485
481
|
interface PluginMarketplaceDetailPageProps {
|
|
486
482
|
marketplaceId: string;
|
|
487
483
|
initialData?: MarketplaceDetail;
|
|
488
|
-
initialPlugins?:
|
|
484
|
+
initialPlugins?: PluginsResult;
|
|
489
485
|
}
|
|
490
486
|
declare function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugins }: PluginMarketplaceDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
491
487
|
|
package/dist/index.d.ts
CHANGED
|
@@ -477,15 +477,11 @@ interface Plugin {
|
|
|
477
477
|
hasSkills: boolean;
|
|
478
478
|
hasMcpJson: boolean;
|
|
479
479
|
}
|
|
480
|
-
|
|
481
|
-
ok: boolean;
|
|
482
|
-
data: Plugin[];
|
|
483
|
-
message?: string;
|
|
484
|
-
}
|
|
480
|
+
type PluginsResult = Plugin[];
|
|
485
481
|
interface PluginMarketplaceDetailPageProps {
|
|
486
482
|
marketplaceId: string;
|
|
487
483
|
initialData?: MarketplaceDetail;
|
|
488
|
-
initialPlugins?:
|
|
484
|
+
initialPlugins?: PluginsResult;
|
|
489
485
|
}
|
|
490
486
|
declare function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugins }: PluginMarketplaceDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
491
487
|
|
package/dist/index.js
CHANGED
|
@@ -1430,7 +1430,7 @@ function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugin
|
|
|
1430
1430
|
(c) => c.pluginMarketplaces.get(marketplaceId),
|
|
1431
1431
|
initialData ? { fallbackData: initialData } : void 0
|
|
1432
1432
|
);
|
|
1433
|
-
const { data:
|
|
1433
|
+
const { data: plugins } = useApi(
|
|
1434
1434
|
`marketplace-${marketplaceId}-plugins`,
|
|
1435
1435
|
(c) => c.pluginMarketplaces.listPlugins(marketplaceId),
|
|
1436
1436
|
initialPlugins ? { fallbackData: initialPlugins } : void 0
|
|
@@ -1496,13 +1496,10 @@ function PluginMarketplaceDetailPage({ marketplaceId, initialData, initialPlugin
|
|
|
1496
1496
|
] }),
|
|
1497
1497
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
1498
1498
|
/* @__PURE__ */ jsx(SectionHeader, { title: "Plugins" }),
|
|
1499
|
-
!
|
|
1500
|
-
"Failed to load plugins: ",
|
|
1501
|
-
pluginsResult.message
|
|
1502
|
-
] }) : pluginsResult.data.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "No plugins found in this marketplace." }) : /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: pluginsResult.data.map((plugin) => /* @__PURE__ */ jsx(
|
|
1499
|
+
!plugins ? /* @__PURE__ */ jsx(Skeleton, { className: "h-48 rounded-lg" }) : plugins.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "No plugins found in this marketplace." }) : /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: plugins.map((plugin) => /* @__PURE__ */ jsx(
|
|
1503
1500
|
LinkComponent,
|
|
1504
1501
|
{
|
|
1505
|
-
href: `${basePath}/plugin-marketplaces/${marketplaceId}
|
|
1502
|
+
href: `${basePath}/plugin-marketplaces/${marketplaceId}/${plugin.name}`,
|
|
1506
1503
|
children: /* @__PURE__ */ jsxs(Card, { className: "hover:border-primary/50 transition-colors cursor-pointer h-full", children: [
|
|
1507
1504
|
/* @__PURE__ */ jsx(CardHeader, { className: "pb-2", children: /* @__PURE__ */ jsxs(CardTitle, { className: "text-sm font-medium flex items-center justify-between", children: [
|
|
1508
1505
|
plugin.displayName,
|