html2pptx-local-mcp 1.1.19 → 1.1.21

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.
Files changed (33) hide show
  1. package/app/docs/content.js +57 -23
  2. package/cli/dist/commands/edit.d.ts +1 -1
  3. package/cli/dist/commands/edit.js +231 -3
  4. package/cli/dist/index.js +0 -0
  5. package/lib/local-editor-server.js +316 -0
  6. package/lib/local-editor-state.js +45 -0
  7. package/lib/local-slide-editor-launcher.js +19 -18
  8. package/lib/pptx-studio-mcp-core.js +15 -9
  9. package/local-editor-app/app/api/edit-slide/local-health/route.js +16 -0
  10. package/local-editor-app/app/edit-slide/edit-slide-client.jsx +13153 -0
  11. package/local-editor-app/app/edit-slide/page.jsx +13 -0
  12. package/local-editor-app/app/globals.css +4 -0
  13. package/local-editor-app/app/layout.jsx +14 -0
  14. package/local-editor-app/components/studio/edit-property-panel.jsx +1061 -0
  15. package/local-editor-app/lib/edit-panel-value-normalizer.js +97 -0
  16. package/local-editor-app/lib/edit-slide-editor-helpers.js +120 -0
  17. package/local-editor-app/lib/edit-slide-url-security.js +247 -0
  18. package/local-editor-app/next.config.mjs +31 -0
  19. package/local-editor-app/package.json +7 -0
  20. package/mcp/pptx-studio-mcp-server.mjs +1 -1
  21. package/package.json +16 -3
  22. package/public/skills/html2pptx/SKILL.md +635 -0
  23. package/public/skills/html2pptx/references/automation-contract.md +68 -0
  24. package/public/skills/html2pptx/references/input-contract.md +107 -0
  25. package/public/skills/html2pptx/references/japanese-slide-design.md +273 -0
  26. package/public/skills/html2pptx/references/rewrite-patterns.md +218 -0
  27. package/public/skills/icon-generator/SKILL.md +133 -0
  28. package/public/skills/open-slide/SKILL.md +160 -0
  29. package/public/skills/publish-template/SKILL.md +215 -0
  30. package/public/skills/register-template/SKILL.md +142 -0
  31. package/scripts/extract-html2pptx-comments.mjs +172 -0
  32. package/scripts/install-mcp.mjs +58 -13
  33. package/scripts/install-skills.mjs +82 -0
@@ -0,0 +1,13 @@
1
+ import EditSlideClient from './edit-slide-client';
2
+ import { isLocalEditSlideLaunch, isLoopbackRequest } from '../../lib/edit-slide-url-security.js';
3
+ import { notFound } from 'next/navigation';
4
+ import { headers } from 'next/headers';
5
+
6
+ export default async function EditSlidePage({ searchParams }) {
7
+ const resolvedParams = await searchParams;
8
+ const requestHeaders = await headers();
9
+ if (!isLoopbackRequest(requestHeaders) || !isLocalEditSlideLaunch(resolvedParams)) {
10
+ notFound();
11
+ }
12
+ return <EditSlideClient />;
13
+ }
@@ -0,0 +1,4 @@
1
+ * { box-sizing: border-box; }
2
+ html, body { margin: 0; min-height: 100%; overflow-x: hidden; background: #f7f7f5; color: #171717; }
3
+ body { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
4
+ button, input, textarea, select { font: inherit; }
@@ -0,0 +1,14 @@
1
+ import './globals.css';
2
+
3
+ export const metadata = {
4
+ title: 'HTML2PPTX Local Editor',
5
+ robots: { index: false, follow: false },
6
+ };
7
+
8
+ export default function RootLayout({ children }) {
9
+ return (
10
+ <html lang="ja">
11
+ <body>{children}</body>
12
+ </html>
13
+ );
14
+ }