faux-studio 0.4.2 → 0.4.3
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.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10616,6 +10616,7 @@ async function authenticate() {
|
|
|
10616
10616
|
log("Opening browser for Figma sign-in...");
|
|
10617
10617
|
openBrowser(authUrl);
|
|
10618
10618
|
log('Waiting for you to click "Allow" in the browser...');
|
|
10619
|
+
await new Promise((r) => setTimeout(r, 5e3));
|
|
10619
10620
|
const deadline = Date.now() + POLL_TIMEOUT_MS;
|
|
10620
10621
|
while (Date.now() < deadline) {
|
|
10621
10622
|
await new Promise((r) => setTimeout(r, POLL_INTERVAL_MS));
|
|
@@ -25936,7 +25937,7 @@ Resources provide quick read-only access to Figma state without tool calls:
|
|
|
25936
25937
|
- Create components for reusable UI patterns.`;
|
|
25937
25938
|
function createMcpServer(deps) {
|
|
25938
25939
|
const server2 = new Server(
|
|
25939
|
-
{ name: "faux-studio", version: "0.4.
|
|
25940
|
+
{ name: "faux-studio", version: "0.4.3" },
|
|
25940
25941
|
{
|
|
25941
25942
|
capabilities: { tools: { listChanged: true }, resources: {}, logging: {} },
|
|
25942
25943
|
instructions: INSTRUCTIONS
|
|
@@ -26389,6 +26390,7 @@ Call setup_figma again once the plugin shows "Ready".`,
|
|
|
26389
26390
|
};
|
|
26390
26391
|
}
|
|
26391
26392
|
async function main() {
|
|
26393
|
+
log(`faux-studio v${"0.4.3"}`);
|
|
26392
26394
|
try {
|
|
26393
26395
|
auth = await ensureAuth();
|
|
26394
26396
|
} catch (err) {
|