mcp-word-bridge 3.2.0

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/taskpane.html ADDED
@@ -0,0 +1,50 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8"/>
5
+ <title>MCP Word Bridge</title>
6
+ <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script>
7
+ <style>
8
+ * { box-sizing: border-box; }
9
+ html, body { height: 100%; margin: 0; overflow: hidden; }
10
+ body {
11
+ font-family: -apple-system, sans-serif;
12
+ padding: 12px;
13
+ background: #1e1e1e;
14
+ color: #ccc;
15
+ font-size: 13px;
16
+ display: flex;
17
+ flex-direction: column;
18
+ }
19
+ h2 { color: #fff; margin: 0 0 8px 0; font-size: 16px; flex-shrink: 0; }
20
+ .status { padding: 6px 10px; border-radius: 4px; margin: 4px 0; font-size: 12px; flex-shrink: 0; }
21
+ .ok { background: #1b3a1b; color: #4ec94e; border: 1px solid #2d5a2d; }
22
+ .warn { background: #3a3a1b; color: #c9c94e; border: 1px solid #5a5a2d; }
23
+ .err { background: #3a1b1b; color: #c94e4e; border: 1px solid #5a2d2d; }
24
+ #log {
25
+ font-size: 11px;
26
+ font-family: 'SF Mono', monospace;
27
+ white-space: pre-wrap;
28
+ margin-top: 8px;
29
+ flex: 1;
30
+ min-height: 0;
31
+ overflow-y: auto;
32
+ background: #111;
33
+ padding: 8px;
34
+ border: 1px solid #333;
35
+ border-radius: 4px;
36
+ color: #aaa;
37
+ }
38
+ .log-cmd { color: #6cb6ff; }
39
+ .log-ok { color: #4ec94e; }
40
+ .log-err { color: #f87171; }
41
+ </style>
42
+ </head>
43
+ <body>
44
+ <h2>⚡ MCP Word Bridge</h2>
45
+ <div id="word-status" class="status warn">Word: connecting...</div>
46
+ <div id="ws-status" class="status warn">WebSocket: connecting...</div>
47
+ <div id="log"></div>
48
+ <script src="taskpane-app.js"></script>
49
+ </body>
50
+ </html>