diff --git a/servers/squarespace/src/clients/squarespace.ts b/servers/squarespace/src/clients/squarespace.ts
index 7abb388..6176e49 100644
--- a/servers/squarespace/src/clients/squarespace.ts
+++ b/servers/squarespace/src/clients/squarespace.ts
@@ -7,7 +7,6 @@ import axios, { AxiosInstance, AxiosError, AxiosRequestConfig } from 'axios';
import type {
SquarespaceConfig,
OAuthTokenResponse,
- SquarespaceAPIError,
PaginatedResponse,
PaginationParams,
// Products
diff --git a/servers/squarespace/src/server.ts b/servers/squarespace/src/server.ts
index 9cdc7d7..ad35da2 100644
--- a/servers/squarespace/src/server.ts
+++ b/servers/squarespace/src/server.ts
@@ -96,7 +96,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
}
try {
- return await tool.handler(request.params.arguments);
+ return await tool.handler(request.params.arguments as any);
} catch (error: any) {
// Enhanced error handling
const errorMessage = error.message || 'An unknown error occurred';
diff --git a/servers/squarespace/src/types/index.ts b/servers/squarespace/src/types/index.ts
index 0008a9c..22017ac 100644
--- a/servers/squarespace/src/types/index.ts
+++ b/servers/squarespace/src/types/index.ts
@@ -626,17 +626,7 @@ export interface SquarespaceError {
}>;
}
-export class SquarespaceAPIError extends Error {
- constructor(
- public status: number,
- public type: string,
- message: string,
- public errors?: Array<{ field?: string; message: string }>
- ) {
- super(message);
- this.name = 'SquarespaceAPIError';
- }
-}
+// SquarespaceAPIError is defined in clients/squarespace.ts
// ============================================================================
// API Response Types
diff --git a/servers/squarespace/src/ui/react-app/analytics/App.tsx b/servers/squarespace/src/ui/react-app/analytics/App.tsx
index e69de29..2705f53 100644
--- a/servers/squarespace/src/ui/react-app/analytics/App.tsx
+++ b/servers/squarespace/src/ui/react-app/analytics/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function AnalyticsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Analytics
+
Revenue and sales insights
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/blog/App.tsx b/servers/squarespace/src/ui/react-app/blog/App.tsx
index e69de29..e47fad7 100644
--- a/servers/squarespace/src/ui/react-app/blog/App.tsx
+++ b/servers/squarespace/src/ui/react-app/blog/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function BlogApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ ✍️ Blog
+
+ Blog post management
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Blog
+
Blog post management
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/bulk-editor/App.tsx b/servers/squarespace/src/ui/react-app/bulk-editor/App.tsx
index e69de29..429f36f 100644
--- a/servers/squarespace/src/ui/react-app/bulk-editor/App.tsx
+++ b/servers/squarespace/src/ui/react-app/bulk-editor/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function BulkEditorApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ ⚡ Bulk Editor
+
+ Bulk product updates
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Bulk Editor
+
Bulk product updates
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/customers/App.tsx b/servers/squarespace/src/ui/react-app/customers/App.tsx
index e69de29..2c3f34a 100644
--- a/servers/squarespace/src/ui/react-app/customers/App.tsx
+++ b/servers/squarespace/src/ui/react-app/customers/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function CustomersApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Customers
+
Customer profiles and LTV
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/discounts/App.tsx b/servers/squarespace/src/ui/react-app/discounts/App.tsx
index e69de29..3e97de6 100644
--- a/servers/squarespace/src/ui/react-app/discounts/App.tsx
+++ b/servers/squarespace/src/ui/react-app/discounts/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function DiscountsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 💰 Discounts
+
+ Discount code manager
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Discounts
+
Discount code manager
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/forms/App.tsx b/servers/squarespace/src/ui/react-app/forms/App.tsx
index e69de29..c386a79 100644
--- a/servers/squarespace/src/ui/react-app/forms/App.tsx
+++ b/servers/squarespace/src/ui/react-app/forms/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function FormsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 📋 Forms
+
+ Form submissions viewer
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Forms
+
Form submissions viewer
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/inventory/App.tsx b/servers/squarespace/src/ui/react-app/inventory/App.tsx
index e69de29..54e85cd 100644
--- a/servers/squarespace/src/ui/react-app/inventory/App.tsx
+++ b/servers/squarespace/src/ui/react-app/inventory/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function InventoryApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Inventory
+
Track stock levels and alerts
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/pages/App.tsx b/servers/squarespace/src/ui/react-app/pages/App.tsx
index e69de29..0a80976 100644
--- a/servers/squarespace/src/ui/react-app/pages/App.tsx
+++ b/servers/squarespace/src/ui/react-app/pages/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function PagesApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 📄 Pages
+
+ Website page manager
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Pages
+
Website page manager
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/products/App.tsx b/servers/squarespace/src/ui/react-app/products/App.tsx
index e69de29..0ad2b9a 100644
--- a/servers/squarespace/src/ui/react-app/products/App.tsx
+++ b/servers/squarespace/src/ui/react-app/products/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function ProductsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Products
+
Manage your product catalog
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/reports/App.tsx b/servers/squarespace/src/ui/react-app/reports/App.tsx
index e69de29..d198c8a 100644
--- a/servers/squarespace/src/ui/react-app/reports/App.tsx
+++ b/servers/squarespace/src/ui/react-app/reports/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function ReportsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 📊 Reports
+
+ Generate reports
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Reports
+
Generate reports
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/seo/App.tsx b/servers/squarespace/src/ui/react-app/seo/App.tsx
index e69de29..ac15bc3 100644
--- a/servers/squarespace/src/ui/react-app/seo/App.tsx
+++ b/servers/squarespace/src/ui/react-app/seo/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function SEOApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 🔍 SEO
+
+ SEO optimization tools
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
SEO
+
SEO optimization tools
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/settings/App.tsx b/servers/squarespace/src/ui/react-app/settings/App.tsx
index e69de29..63243e8 100644
--- a/servers/squarespace/src/ui/react-app/settings/App.tsx
+++ b/servers/squarespace/src/ui/react-app/settings/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function SettingsApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ ⚙️ Settings
+
+ Server configuration
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Settings
+
Server configuration
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/shipping/App.tsx b/servers/squarespace/src/ui/react-app/shipping/App.tsx
index e69de29..d46bf4e 100644
--- a/servers/squarespace/src/ui/react-app/shipping/App.tsx
+++ b/servers/squarespace/src/ui/react-app/shipping/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function ShippingApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 🚚 Shipping
+
+ Fulfillment tracking
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Shipping
+
Fulfillment tracking
+
+
+ )}
+
+ );
+}
diff --git a/servers/squarespace/src/ui/react-app/webhooks/App.tsx b/servers/squarespace/src/ui/react-app/webhooks/App.tsx
index e69de29..6015ff1 100644
--- a/servers/squarespace/src/ui/react-app/webhooks/App.tsx
+++ b/servers/squarespace/src/ui/react-app/webhooks/App.tsx
@@ -0,0 +1,61 @@
+import React, { useState, useEffect } from 'react';
+
+export default function WebhooksApp() {
+ const [loading, setLoading] = useState(true);
+
+ useEffect(() => {
+ setLoading(false);
+ }, []);
+
+ return (
+
+
+
+ 🔔 Webhooks
+
+ Webhook configuration
+
+
+ {loading ? (
+
+ Loading...
+
+ ) : (
+
+
Webhooks
+
Webhook configuration
+
+
+ )}
+
+ );
+}