@popcraft/kit 0.42.0 → 0.42.1
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/chunks/{agent-JYJFCR5K.js → agent-VKLTJCVX.js} +1 -1
- package/dist/chunks/{builtin-VTQJUBAI.js → builtin-LI7NVA22.js} +3 -3
- package/dist/chunks/{buy-credits-RN7T6PMX.js → buy-credits-NZHIJMZF.js} +2 -2
- package/dist/chunks/{check-template-BVFF6E2S.js → check-template-NOYVGWJ3.js} +2 -2
- package/dist/chunks/{chunk-KWDUK7WI.js → chunk-36EXDHNB.js} +3 -3
- package/dist/chunks/{chunk-JCXLQTQC.js → chunk-4EC3IC7R.js} +5 -5
- package/dist/chunks/{chunk-6CEGA6XJ.js → chunk-4T5WSZ7A.js} +2 -2
- package/dist/chunks/{chunk-JICRVL3I.js → chunk-5EUHQJMV.js} +8 -8
- package/dist/chunks/{chunk-6TZPPFT2.js → chunk-7FA7IP3D.js} +1 -1
- package/dist/chunks/{chunk-B4RL3JQJ.js → chunk-D4FMKIXQ.js} +1 -1
- package/dist/chunks/{chunk-6SLKOLFQ.js → chunk-DLWZSUAN.js} +2 -2
- package/dist/chunks/{chunk-GB76LHVT.js → chunk-GNQS5MQ4.js} +3 -3
- package/dist/chunks/{chunk-WKGVZSXX.js → chunk-HG2CLRXG.js} +4 -4
- package/dist/chunks/{chunk-AWQWZIRR.js → chunk-J2XOXKHG.js} +1 -1
- package/dist/chunks/{chunk-MXHWDGMK.js → chunk-K2EXVVF3.js} +41 -41
- package/dist/chunks/{chunk-RRHKKN3R.js → chunk-MJYGFAB5.js} +1 -1
- package/dist/chunks/{chunk-W3IKPBPS.js → chunk-MVFZPTDR.js} +11 -11
- package/dist/chunks/{chunk-YYSK4NSP.js → chunk-NKWDYQQ7.js} +4 -4
- package/dist/chunks/{chunk-FKAVUMT5.js → chunk-NYCRBX47.js} +2 -2
- package/dist/chunks/{chunk-RYVJ4JMF.js → chunk-PG5NRFXH.js} +4 -4
- package/dist/chunks/{chunk-IQWVVDEN.js → chunk-PPCC72KT.js} +2 -2
- package/dist/chunks/{chunk-NPACKSJP.js → chunk-QCJWNSI6.js} +1 -1
- package/dist/chunks/{chunk-VMNPYYT4.js → chunk-ZM34W4VY.js} +5 -5
- package/dist/chunks/{client-BZGDFO4N.js → client-FM2NEX6D.js} +2 -2
- package/dist/chunks/{client-BYKHH7JY.js → client-JZVIQVSB.js} +1 -1
- package/dist/chunks/{client-NBG2XIK7.js → client-LHOCKQJJ.js} +3 -3
- package/dist/chunks/{client-actions-MXCYTCCT.js → client-actions-DDPIU7CT.js} +5 -5
- package/dist/chunks/{dangerous-G5TEM2RC.js → dangerous-4Z63TA3Q.js} +3 -3
- package/dist/chunks/{delete-current-file-RBX6AWYQ.js → delete-current-file-D3ZQ65SK.js} +5 -5
- package/dist/chunks/{editor-seams-OTMKIRLS.js → editor-seams-LK2SIUFL.js} +10 -10
- package/dist/chunks/{editor-store-O5K2C5II.js → editor-store-UM6D6KKP.js} +1 -1
- package/dist/chunks/{export-watermark-SM6ZHBQM.js → export-watermark-7P562SBM.js} +5 -5
- package/dist/chunks/{eyedropper-TICU3FQV.js → eyedropper-BSIE5QOC.js} +1 -1
- package/dist/chunks/{generate-media-BL35BJSS.js → generate-media-URHSQCYD.js} +3 -3
- package/dist/chunks/{host-NHUVIGCE.js → host-2H2F6EEB.js} +6 -6
- package/dist/chunks/{integrations-2274TEIY.js → integrations-JAIYDOKW.js} +1 -1
- package/dist/chunks/{libraries-W4GLMZZ3.js → libraries-FVJQ56GS.js} +5 -5
- package/dist/chunks/{live-YD773ITD.js → live-F6LNHAPT.js} +1 -1
- package/dist/chunks/{media-tool-7PNKNPWB.js → media-tool-ALGALJSD.js} +1 -1
- package/dist/chunks/{new-file-DKIW545J.js → new-file-JWS4LTBE.js} +3 -3
- package/dist/chunks/{plugin-TYOID7NF.js → plugin-YGKY6B6D.js} +2 -2
- package/dist/chunks/{plugin-import-WJFL7WJN.js → plugin-import-U45QFU7D.js} +14 -14
- package/dist/chunks/{presence-FYYVYVQW.js → presence-DPFIY6YC.js} +2 -2
- package/dist/chunks/{project-HT6QMLTF.js → project-CKVK32RD.js} +1 -1
- package/dist/chunks/{publish-site-6OYPQ4TH.js → publish-site-OMUGP7EJ.js} +6 -6
- package/dist/chunks/{publish-store-X67WVFOI.js → publish-store-EIWT63ZG.js} +4 -4
- package/dist/chunks/{raster-actions-4FOBE6TB.js → raster-actions-DETRAMVL.js} +1 -1
- package/dist/chunks/{runner-R2JX67D7.js → runner-OFTVC4T3.js} +57 -38
- package/dist/chunks/{store-PBLSMMFU.js → store-OHJVC6YK.js} +6 -6
- package/dist/chunks/{sync-RZ5TB2JB.js → sync-L77E7OUC.js} +5 -5
- package/dist/chunks/{tabs-FMUNUYT3.js → tabs-IZUE265A.js} +8 -8
- package/dist/chunks/{team-WSJVPLFW.js → team-CEVRCCLM.js} +1 -1
- package/dist/chunks/{team-client-FTT6QZ75.js → team-client-TIHG3QV5.js} +1 -1
- package/dist/chunks/{tools-BQRISTBR.js → tools-MBMG27BW.js} +2 -2
- package/dist/chunks/{ui-commands-XVYI3WY7.js → ui-commands-CSLRJX4A.js} +12 -12
- package/dist/chunks/{versions-JZGBZO3V.js → versions-RM4R7HDD.js} +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
builtinTools,
|
|
9
9
|
registerBuiltinTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-PPCC72KT.js";
|
|
11
|
+
import "./chunk-K2EXVVF3.js";
|
|
12
12
|
import "./chunk-FJAQCJO7.js";
|
|
13
13
|
import "./chunk-XMNUIVYM.js";
|
|
14
14
|
import "./chunk-MPXJXQ3O.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-NMK2G32O.js";
|
|
|
19
19
|
import "./chunk-3X3QMII3.js";
|
|
20
20
|
import "./chunk-7THDQLQR.js";
|
|
21
21
|
import "./chunk-UFWLDGXB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-36EXDHNB.js";
|
|
23
23
|
import "./chunk-7QAUH2IL.js";
|
|
24
24
|
import "./chunk-MJ4V7HSO.js";
|
|
25
25
|
import "./chunk-L72LKUYW.js";
|
|
@@ -7,11 +7,11 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
HYPERY_TEAM_HEADER,
|
|
9
9
|
hyperyRequestHeaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MJYGFAB5.js";
|
|
11
11
|
import "./chunk-3IBYIR5G.js";
|
|
12
12
|
import {
|
|
13
13
|
useHyperyTeam
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J2XOXKHG.js";
|
|
15
15
|
import {
|
|
16
16
|
ApiError,
|
|
17
17
|
inAppPurchases,
|
|
@@ -6,10 +6,10 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
appCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5EUHQJMV.js";
|
|
10
10
|
import {
|
|
11
11
|
builtinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K2EXVVF3.js";
|
|
13
13
|
import "./chunk-FJAQCJO7.js";
|
|
14
14
|
import "./chunk-XMNUIVYM.js";
|
|
15
15
|
import "./chunk-MPXJXQ3O.js";
|
|
@@ -57,19 +57,19 @@ async function renderDocument(doc, nodeIds, options) {
|
|
|
57
57
|
function generateCapability(ctx) {
|
|
58
58
|
return async (prompt, options = {}) => {
|
|
59
59
|
if (options.format === "audio") {
|
|
60
|
-
const { requestAudio } = await import("./client-
|
|
60
|
+
const { requestAudio } = await import("./client-LHOCKQJJ.js");
|
|
61
61
|
const { signal: signal2, format: _f, ...rest2 } = options;
|
|
62
62
|
void _f;
|
|
63
63
|
return requestAudio({ prompt, ...rest2 }, signal2 ?? ctx.signal);
|
|
64
64
|
}
|
|
65
65
|
if (options.format === "video") {
|
|
66
|
-
const { generateVideoFile } = await import("./generate-media-
|
|
66
|
+
const { generateVideoFile } = await import("./generate-media-URHSQCYD.js");
|
|
67
67
|
const { format: _f, signal: signal2, ...rest2 } = options;
|
|
68
68
|
void _f;
|
|
69
69
|
return generateVideoFile({ ...rest2, prompt, doc: ctx.doc() }, { signal: signal2 ?? ctx.signal });
|
|
70
70
|
}
|
|
71
71
|
const [{ requestImage }, { effectiveImageModel, useAiStore }] = await Promise.all([
|
|
72
|
-
import("./client-
|
|
72
|
+
import("./client-LHOCKQJJ.js"),
|
|
73
73
|
import("./client-store-ZSSR2BYC.js")
|
|
74
74
|
]);
|
|
75
75
|
const modelId = effectiveImageModel(useAiStore.getState());
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
} from "./chunk-2JOESSON.js";
|
|
22
22
|
import {
|
|
23
23
|
syncStatus
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PG5NRFXH.js";
|
|
25
25
|
import {
|
|
26
26
|
setPluginTabs,
|
|
27
27
|
useEditorStore
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZM34W4VY.js";
|
|
29
29
|
import {
|
|
30
30
|
openBeside
|
|
31
31
|
} from "./chunk-DZN3U34F.js";
|
|
@@ -69,7 +69,7 @@ init_define_POPCRAFT_COMPONENT_IDS();
|
|
|
69
69
|
// lib/plugins/api.ts
|
|
70
70
|
init_define_POPCRAFT_COMPONENT_IDS();
|
|
71
71
|
async function handlePluginCall(env, method, params = {}) {
|
|
72
|
-
const { dispatchPluginCall } = await import("./plugin-
|
|
72
|
+
const { dispatchPluginCall } = await import("./plugin-YGKY6B6D.js");
|
|
73
73
|
return dispatchPluginCall(env, method, params);
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -579,7 +579,7 @@ async function runPlugin(pluginId, commandId, opts = {}) {
|
|
|
579
579
|
if (!openBeside(url)) throw new Error("The browser blocked the new tab");
|
|
580
580
|
},
|
|
581
581
|
createDocument: async (opts2) => {
|
|
582
|
-
const { createFreshFileOrExplain } = await import("./new-file-
|
|
582
|
+
const { createFreshFileOrExplain } = await import("./new-file-JWS4LTBE.js");
|
|
583
583
|
const created = await createFreshFileOrExplain({}, { name: opts2?.name });
|
|
584
584
|
if (!created.ok) throw new Error(created.reason === "plan" ? "Plan limit reached" : created.reason === "guest-limit" ? "Sign in to create another file" : `Could not create file (${created.reason})`);
|
|
585
585
|
await useEditorStore.getState().openDocument(created.docId);
|
|
@@ -769,7 +769,7 @@ if (typeof window !== "undefined") {
|
|
|
769
769
|
const name = d.name || "Imported";
|
|
770
770
|
void (async () => {
|
|
771
771
|
try {
|
|
772
|
-
const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-
|
|
772
|
+
const { importViaPlugin, applyPluginLayoutIr } = await import("./plugin-import-U45QFU7D.js");
|
|
773
773
|
if (d.ir && typeof d.ir === "object") {
|
|
774
774
|
await applyPluginLayoutIr(d.ir, { mode, name });
|
|
775
775
|
return;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-3IBYIR5G.js";
|
|
10
10
|
import {
|
|
11
11
|
activeTeamWorkspaceId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J2XOXKHG.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiError,
|
|
15
15
|
GUEST_FILE_LIMIT,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-GC3UNYQ4.js";
|
|
24
24
|
import {
|
|
25
25
|
markLibraryDocument
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZM34W4VY.js";
|
|
27
27
|
import {
|
|
28
28
|
cloudEnabled,
|
|
29
29
|
cloudUser
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
needsSelection,
|
|
9
9
|
pageGo,
|
|
10
10
|
selectionIsPicture
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K2EXVVF3.js";
|
|
12
12
|
import {
|
|
13
13
|
external_exports
|
|
14
14
|
} from "./chunk-UFWLDGXB.js";
|
|
@@ -31,7 +31,7 @@ var none = external_exports.object({});
|
|
|
31
31
|
var emit = (name, detail) => {
|
|
32
32
|
if (typeof window !== "undefined") window.dispatchEvent(new CustomEvent(name, { detail }));
|
|
33
33
|
};
|
|
34
|
-
var store = () => import("./editor-store-
|
|
34
|
+
var store = () => import("./editor-store-UM6D6KKP.js").then((m) => m.useEditorStore.getState());
|
|
35
35
|
var MODE_IDS = MODE_LIST.map((m) => m.id);
|
|
36
36
|
var MODE_ALIASES = { JAM: "POPCORN" };
|
|
37
37
|
var modeSet = defineCommand({
|
|
@@ -167,7 +167,7 @@ var dialogOpen = defineCommand({
|
|
|
167
167
|
(await import("./plan-limit-VMXAXSMK.js")).openPlanDialog();
|
|
168
168
|
break;
|
|
169
169
|
case "credits":
|
|
170
|
-
await (await import("./buy-credits-
|
|
170
|
+
await (await import("./buy-credits-NZHIJMZF.js")).buyAiCredits();
|
|
171
171
|
break;
|
|
172
172
|
case "tokens":
|
|
173
173
|
emit("popcraft-open-tokens");
|
|
@@ -213,7 +213,7 @@ var aiOpen = defineCommand({
|
|
|
213
213
|
] } },
|
|
214
214
|
run: async ({ dialog, skillId }) => {
|
|
215
215
|
if (dialog) (await import("./client-store-ZSSR2BYC.js")).openAiDialog(dialog);
|
|
216
|
-
else (await import("./store-
|
|
216
|
+
else (await import("./store-OHJVC6YK.js")).openAgentPanel({ skillId: skillId ?? null });
|
|
217
217
|
return { summary: dialog ? `Opened AI ${dialog}` : "Opened the agent" };
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -292,11 +292,11 @@ var toolPlace = defineCommand({
|
|
|
292
292
|
run: async ({ what }) => {
|
|
293
293
|
if (what === "media") {
|
|
294
294
|
const s = await store();
|
|
295
|
-
const { placeMediaFromPicker } = await import("./media-tool-
|
|
295
|
+
const { placeMediaFromPicker } = await import("./media-tool-ALGALJSD.js");
|
|
296
296
|
await placeMediaFromPicker({ kind: "point", x: s.camera.x, y: s.camera.y });
|
|
297
297
|
return { summary: "Placing media" };
|
|
298
298
|
}
|
|
299
|
-
const { beginEyedrop } = await import("./eyedropper-
|
|
299
|
+
const { beginEyedrop } = await import("./eyedropper-BSIE5QOC.js");
|
|
300
300
|
void beginEyedrop();
|
|
301
301
|
return { summary: "Pick a color" };
|
|
302
302
|
}
|
|
@@ -314,7 +314,7 @@ var nodeRasterize = defineCommand({
|
|
|
314
314
|
keywords: ["rasterize", "raster", "flatten", "pixels", "paint layer", "erase", "bitmap"]
|
|
315
315
|
} },
|
|
316
316
|
run: async () => {
|
|
317
|
-
const { flattenSelectionToPaintLayer } = await import("./raster-actions-
|
|
317
|
+
const { flattenSelectionToPaintLayer } = await import("./raster-actions-DETRAMVL.js");
|
|
318
318
|
await flattenSelectionToPaintLayer();
|
|
319
319
|
return { summary: "Rasterized" };
|
|
320
320
|
}
|
|
@@ -425,7 +425,7 @@ function pluginCommand(plugins) {
|
|
|
425
425
|
params: external_exports.object({ pluginId: external_exports.string(), commandId: external_exports.string() }),
|
|
426
426
|
expose: { ui: { label: "Run plugin", keywords: ["plugin", "extension", "run"], variants, palette: variants.length ? void 0 : false } },
|
|
427
427
|
run: async ({ pluginId, commandId }) => {
|
|
428
|
-
await (await import("./host-
|
|
428
|
+
await (await import("./host-2H2F6EEB.js")).runPlugin(pluginId, commandId);
|
|
429
429
|
return { summary: "Plugin started" };
|
|
430
430
|
}
|
|
431
431
|
});
|
|
@@ -91,9 +91,9 @@ async function placeStockPhoto(photo, opts = {}) {
|
|
|
91
91
|
}
|
|
92
92
|
async function placePicture(imported, opts = {}) {
|
|
93
93
|
const [{ useEditorStore }, { photoFrameOf }, { placeImage }] = await Promise.all([
|
|
94
|
-
import("./editor-store-
|
|
94
|
+
import("./editor-store-UM6D6KKP.js"),
|
|
95
95
|
import("../lib/document/photo-frames.js"),
|
|
96
|
-
import("./media-tool-
|
|
96
|
+
import("./media-tool-ALGALJSD.js")
|
|
97
97
|
]);
|
|
98
98
|
const st = useEditorStore.getState();
|
|
99
99
|
const frame = photoFrameOf(st.document.nodes, opts.targetId !== void 0 ? opts.targetId : st.selection[0] ?? null);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
hostEnv,
|
|
10
10
|
plain,
|
|
11
11
|
registerBuiltinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K2EXVVF3.js";
|
|
13
13
|
import {
|
|
14
14
|
storeOpsSeam
|
|
15
15
|
} from "./chunk-ME77WQN3.js";
|
|
@@ -573,7 +573,7 @@ var commands = [
|
|
|
573
573
|
const [{ storefrontInputs }, { STOREFRONT_TARGETS }, { bytesOf }, { zipFiles }, { EXPORT_NODE_CAP }] = await Promise.all([
|
|
574
574
|
import("./storefront-prepare-AB23DYAR.js"),
|
|
575
575
|
import("./storefront-3BXQC6NO.js"),
|
|
576
|
-
import("./project-
|
|
576
|
+
import("./project-CKVK32RD.js"),
|
|
577
577
|
import("./zip-export-2WROQY2U.js"),
|
|
578
578
|
import("./tree-VFPJZGPH.js")
|
|
579
579
|
]);
|
|
@@ -770,7 +770,7 @@ var pluginRun = defineCommand({
|
|
|
770
770
|
}
|
|
771
771
|
},
|
|
772
772
|
run: async (p, ctx) => {
|
|
773
|
-
const { runPlugin } = await import("./host-
|
|
773
|
+
const { runPlugin } = await import("./host-2H2F6EEB.js");
|
|
774
774
|
await runPlugin(p.pluginId, p.commandId);
|
|
775
775
|
ctx.notice(`Started ${p.pluginId}.`);
|
|
776
776
|
return {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-QZ3CTIU6.js";
|
|
10
10
|
import {
|
|
11
11
|
notice
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NYCRBX47.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveChatModel,
|
|
15
15
|
setModelPref,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-EWF6OIT7.js";
|
|
18
18
|
import {
|
|
19
19
|
useEditorStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZM34W4VY.js";
|
|
21
21
|
import {
|
|
22
22
|
create
|
|
23
23
|
} from "./chunk-KIIKYZFR.js";
|
|
@@ -1796,7 +1796,7 @@ async function sendMessage(text) {
|
|
|
1796
1796
|
if (!useAgentStore.getState().activeThreadId) newThread();
|
|
1797
1797
|
const mentions = pruneMentions(body, useAgentStore.getState().draftMentions);
|
|
1798
1798
|
useAgentStore.setState({ draft: "", draftMentions: [], error: null });
|
|
1799
|
-
const { runTurn } = await import("./runner-
|
|
1799
|
+
const { runTurn } = await import("./runner-OFTVC4T3.js");
|
|
1800
1800
|
await runTurn(body, mentions);
|
|
1801
1801
|
}
|
|
1802
1802
|
function stop() {
|
|
@@ -1899,7 +1899,7 @@ var clearTaskChildren = () => useAgentStore.setState({ taskChildren: {} });
|
|
|
1899
1899
|
function subscribeChildTools() {
|
|
1900
1900
|
let dispose;
|
|
1901
1901
|
let cancelled = false;
|
|
1902
|
-
void import("./runner-
|
|
1902
|
+
void import("./runner-OFTVC4T3.js").then(({ onChildTool }) => {
|
|
1903
1903
|
const off = onChildTool((report) => {
|
|
1904
1904
|
if (report?.status !== "running" || report.jobId) return;
|
|
1905
1905
|
recordChildTool(report.toolCallId ?? "", report.name);
|
|
@@ -150,7 +150,7 @@ function startHyperyTeams() {
|
|
|
150
150
|
maybePromptForTeam();
|
|
151
151
|
void followFileTeam(linkedKey);
|
|
152
152
|
});
|
|
153
|
-
void import("./sync-
|
|
153
|
+
void import("./sync-L77E7OUC.js").then(({ onSyncStatus, syncStatus }) => {
|
|
154
154
|
linkedKey = syncStatus().link?.key ?? null;
|
|
155
155
|
void followFileTeam(linkedKey);
|
|
156
156
|
onSyncStatus((_s, link) => {
|