framer-code-link 0.4.2 → 0.4.4
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.mjs +3 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1607,14 +1607,14 @@ var FileMetadataCache = class {
|
|
|
1607
1607
|
};
|
|
1608
1608
|
|
|
1609
1609
|
//#endregion
|
|
1610
|
-
//#region src/helpers/
|
|
1610
|
+
//#region src/helpers/plugin-prompts.ts
|
|
1611
1611
|
var PluginDisconnectedError = class extends Error {
|
|
1612
1612
|
constructor() {
|
|
1613
1613
|
super("Plugin disconnected");
|
|
1614
1614
|
this.name = "PluginDisconnectedError";
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
|
-
var
|
|
1617
|
+
var PluginUserPromptCoordinator = class {
|
|
1618
1618
|
pendingActions = /* @__PURE__ */ new Map();
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Register a pending action and return a typed promise
|
|
@@ -2413,7 +2413,7 @@ async function start(config) {
|
|
|
2413
2413
|
pendingOperations: /* @__PURE__ */ new Map(),
|
|
2414
2414
|
nextOperationId: 1
|
|
2415
2415
|
};
|
|
2416
|
-
const userActions = new
|
|
2416
|
+
const userActions = new PluginUserPromptCoordinator();
|
|
2417
2417
|
async function processEvent(event) {
|
|
2418
2418
|
const socketState = syncState.socket?.readyState;
|
|
2419
2419
|
debug(`[STATE] Processing event: ${event.type} (mode: ${syncState.mode}, socket: ${socketState ?? "none"})`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framer-code-link",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "CLI tool for syncing Framer code components - controller-centric architecture",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@code-link/shared": "1.0.0",
|
|
26
25
|
"@typescript/ata": "^0.9.8",
|
|
27
26
|
"chokidar": "^5.0.0",
|
|
28
27
|
"commander": "^14.0.2",
|
|
@@ -31,6 +30,7 @@
|
|
|
31
30
|
"ws": "^8.18.3"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
33
|
+
"@code-link/shared": "1.0.0",
|
|
34
34
|
"@types/node": "^22.19.2",
|
|
35
35
|
"@types/ws": "^8.18.1",
|
|
36
36
|
"tsdown": "^0.17.4",
|