@popcraft/kit 0.48.1 → 0.48.2
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-6S5J6BC6.js → agent-3FU2TN7I.js} +1 -1
- package/dist/chunks/{builtin-QUSMO5SL.js → builtin-GUUAA5RH.js} +3 -3
- package/dist/chunks/{buy-credits-IP3WHLP5.js → buy-credits-XWRJFRMV.js} +2 -2
- package/dist/chunks/{check-template-ZDJDGAPD.js → check-template-X4LKP6TK.js} +2 -2
- package/dist/chunks/{chunk-GENOSCPH.js → chunk-2JLCKUCO.js} +5 -5
- package/dist/chunks/{chunk-4MEKO3CI.js → chunk-7B7H6IBN.js} +2 -2
- package/dist/chunks/{chunk-CTCLC4Z4.js → chunk-7DNGQK7X.js} +1 -1
- package/dist/chunks/{chunk-UQQDULL3.js → chunk-ADNBCOBW.js} +1 -1
- package/dist/chunks/{chunk-VMF3DOJ2.js → chunk-AJUIF7C3.js} +5 -5
- package/dist/chunks/{chunk-3KL7O675.js → chunk-DFGARA22.js} +4 -4
- package/dist/chunks/{chunk-NN5QWWZI.js → chunk-ECB5Z377.js} +1 -1
- package/dist/chunks/{chunk-X5OFEOSQ.js → chunk-IMMLLS2N.js} +2 -2
- package/dist/chunks/{chunk-NRE2K3OA.js → chunk-K3VBY3BH.js} +1 -1
- package/dist/chunks/{chunk-SW5NHBXU.js → chunk-N4IXZRSG.js} +3 -3
- package/dist/chunks/{chunk-B3TPOXEZ.js → chunk-O7HTXXWN.js} +4 -4
- package/dist/chunks/{chunk-3TL67K74.js → chunk-PXYNZ5P5.js} +3 -3
- package/dist/chunks/{chunk-WUIY2GPN.js → chunk-RM6ZKI3Q.js} +4 -4
- package/dist/chunks/{chunk-DSRZKICU.js → chunk-S53TWWJC.js} +41 -41
- package/dist/chunks/{chunk-V3OGW765.js → chunk-UBO6EZVC.js} +2 -2
- package/dist/chunks/{chunk-6Y7MFI5A.js → chunk-UKTZMJOS.js} +2 -2
- package/dist/chunks/{chunk-6JEEKC43.js → chunk-UQKUSZVS.js} +9 -9
- package/dist/chunks/{chunk-JOTPIFQZ.js → chunk-Z4W4QMLS.js} +1 -1
- package/dist/chunks/{chunk-YLM4DNJC.js → chunk-ZDOAWDYW.js} +11 -11
- package/dist/chunks/{client-OIZRNB2G.js → client-E2PCA23I.js} +3 -3
- package/dist/chunks/{client-56RDSUBM.js → client-S67SW2LH.js} +2 -2
- package/dist/chunks/{client-VXEEGNZR.js → client-TWOZCWDX.js} +1 -1
- package/dist/chunks/{client-actions-QYJ2WC5V.js → client-actions-VXBJWTLW.js} +5 -5
- package/dist/chunks/{dangerous-WFOUDSLB.js → dangerous-RNGNXVP4.js} +3 -3
- package/dist/chunks/{delete-current-file-VZUM5EPA.js → delete-current-file-7PQ6FCF6.js} +5 -5
- package/dist/chunks/{editor-seams-7APTJWIL.js → editor-seams-67ATXTGX.js} +10 -10
- package/dist/chunks/{editor-store-P2YTLNJQ.js → editor-store-D5TNDVSY.js} +1 -1
- package/dist/chunks/{export-watermark-52QKLCK6.js → export-watermark-MTCNIQKL.js} +5 -5
- package/dist/chunks/{eyedropper-N7X73EUL.js → eyedropper-FLREAON3.js} +1 -1
- package/dist/chunks/{generate-media-VTD5JZ2V.js → generate-media-LLJKH4SR.js} +3 -3
- package/dist/chunks/{host-CTBA3ZSF.js → host-VONVRC6C.js} +6 -6
- package/dist/chunks/{integrations-DB2TUFTC.js → integrations-QS2K6UMP.js} +1 -1
- package/dist/chunks/{libraries-IYJANU25.js → libraries-4HICRPK7.js} +5 -5
- package/dist/chunks/{live-G3LYXMC2.js → live-47QMW4JU.js} +1 -1
- package/dist/chunks/{media-tool-FQLKVBXC.js → media-tool-PYOSMIHE.js} +1 -1
- package/dist/chunks/{new-file-UBRP3HRU.js → new-file-TKZXQHWM.js} +3 -3
- package/dist/chunks/{plugin-QB6NXTAC.js → plugin-L5ABSWGS.js} +2 -2
- package/dist/chunks/{plugin-import-26JOGZZM.js → plugin-import-SGPMTMBI.js} +14 -14
- package/dist/chunks/{presence-THIZ4TGF.js → presence-FNIJZ7CE.js} +2 -2
- package/dist/chunks/{project-QUQYU24X.js → project-XFXHXZ26.js} +1 -1
- package/dist/chunks/{publish-site-WMF27ZFK.js → publish-site-PEKA5R4B.js} +6 -6
- package/dist/chunks/{publish-store-6B5Z65WA.js → publish-store-SB3EJDQW.js} +4 -4
- package/dist/chunks/{raster-actions-5UGSVQSY.js → raster-actions-WLS6LY2N.js} +1 -1
- package/dist/chunks/{runner-YGQMAFAS.js → runner-DC6GH7QX.js} +17 -17
- package/dist/chunks/{store-W7NOW5KD.js → store-JFL2KSXM.js} +6 -6
- package/dist/chunks/{sync-Q5UWIJZD.js → sync-VPYOUKHW.js} +5 -5
- package/dist/chunks/{tabs-CPMRW45I.js → tabs-CH3Y6QT6.js} +8 -8
- package/dist/chunks/{team-5SXVW6RE.js → team-X3TB7AXW.js} +1 -1
- package/dist/chunks/{team-client-5UMGWWDG.js → team-client-N2CJ4UZL.js} +1 -1
- package/dist/chunks/{tools-IQB3TM7I.js → tools-HTHCIMVU.js} +2 -2
- package/dist/chunks/{ui-commands-EUZICTYV.js → ui-commands-SP7EBFZC.js} +12 -12
- package/dist/chunks/{versions-RHVLDOBY.js → versions-7GU7DRO3.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-UBO6EZVC.js";
|
|
11
|
+
import "./chunk-S53TWWJC.js";
|
|
12
12
|
import "./chunk-LH2M4DO5.js";
|
|
13
13
|
import "./chunk-ERVQ3BIT.js";
|
|
14
14
|
import "./chunk-NA27MM75.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-I3TTIENN.js";
|
|
|
19
19
|
import "./chunk-MNDMVWH3.js";
|
|
20
20
|
import "./chunk-ZKG2HL6T.js";
|
|
21
21
|
import "./chunk-JSODFPXI.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-N4IXZRSG.js";
|
|
23
23
|
import "./chunk-MOZU7VNB.js";
|
|
24
24
|
import "./chunk-BXCBP5KF.js";
|
|
25
25
|
import "./chunk-T4FECT7N.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-ADNBCOBW.js";
|
|
11
11
|
import "./chunk-TIDIV7CZ.js";
|
|
12
12
|
import {
|
|
13
13
|
useHyperyTeam
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K3VBY3BH.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-UQKUSZVS.js";
|
|
10
10
|
import {
|
|
11
11
|
builtinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S53TWWJC.js";
|
|
13
13
|
import "./chunk-LH2M4DO5.js";
|
|
14
14
|
import "./chunk-ERVQ3BIT.js";
|
|
15
15
|
import "./chunk-NA27MM75.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MOZU7VNB.js";
|
|
16
16
|
import {
|
|
17
17
|
syncStatus
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DFGARA22.js";
|
|
19
19
|
import {
|
|
20
20
|
exportNodeToSVG
|
|
21
21
|
} from "./chunk-7ENWG22B.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
setPluginTabs,
|
|
30
30
|
useEditorStore
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AJUIF7C3.js";
|
|
32
32
|
import {
|
|
33
33
|
openBeside
|
|
34
34
|
} from "./chunk-QLXOLRGM.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-L5ABSWGS.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-TKZXQHWM.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-SGPMTMBI.js");
|
|
773
773
|
if (d.ir && typeof d.ir === "object") {
|
|
774
774
|
await applyPluginLayoutIr(d.ir, { mode, name });
|
|
775
775
|
return;
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
requestImageAction,
|
|
17
17
|
sizeForAspect,
|
|
18
18
|
vectorSupport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7DNGQK7X.js";
|
|
20
20
|
import {
|
|
21
21
|
external_exports
|
|
22
22
|
} from "./chunk-JSODFPXI.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-B5NIOYC4.js";
|
|
32
32
|
import {
|
|
33
33
|
useEditorStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AJUIF7C3.js";
|
|
35
35
|
import {
|
|
36
36
|
withHistoryGroup
|
|
37
37
|
} from "./chunk-5LXBWEXI.js";
|
|
@@ -4588,7 +4588,7 @@ function createPopcornSlice(set2, get2) {
|
|
|
4588
4588
|
privateMode: false,
|
|
4589
4589
|
setPrivateMode: (on) => {
|
|
4590
4590
|
set2({ privateMode: on });
|
|
4591
|
-
void import("./presence-
|
|
4591
|
+
void import("./presence-FNIJZ7CE.js").then((m) => m.setPresencePrivate(on)).catch(() => {
|
|
4592
4592
|
});
|
|
4593
4593
|
},
|
|
4594
4594
|
/** Reveal every private item THIS user created (they sync to collaborators). Others' stay theirs. */
|
|
@@ -6652,7 +6652,7 @@ var useEditorStore = create()(
|
|
|
6652
6652
|
// A copy is a new file, so it is cloud-backed like any other (see lib/client/cloud/new-file.ts).
|
|
6653
6653
|
// Returns '' when it was refused (offline, signed out, plan full) or failed; nothing is left behind.
|
|
6654
6654
|
duplicateDocument: async (id) => {
|
|
6655
|
-
const { duplicateDocumentToCloud } = await import("./sync-
|
|
6655
|
+
const { duplicateDocumentToCloud } = await import("./sync-VPYOUKHW.js");
|
|
6656
6656
|
return duplicateDocumentToCloud(id);
|
|
6657
6657
|
},
|
|
6658
6658
|
deleteDocument: async (id) => {
|
|
@@ -10115,9 +10115,9 @@ if (typeof window !== "undefined") {
|
|
|
10115
10115
|
if (typeof window !== "undefined" && navigator.webdriver) {
|
|
10116
10116
|
window.__vpDesign = async (script, o = {}) => {
|
|
10117
10117
|
const [{ registerBuiltinTools, runTool }, { editorToolContext }, { createDesignPreview }] = await Promise.all([
|
|
10118
|
-
import("./tools-
|
|
10119
|
-
import("./editor-seams-
|
|
10120
|
-
import("./live-
|
|
10118
|
+
import("./tools-HTHCIMVU.js").then(async (m) => ({ ...m, registerBuiltinTools: (await import("./builtin-GUUAA5RH.js")).registerBuiltinTools })),
|
|
10119
|
+
import("./editor-seams-67ATXTGX.js"),
|
|
10120
|
+
import("./live-47QMW4JU.js")
|
|
10121
10121
|
]);
|
|
10122
10122
|
registerBuiltinTools();
|
|
10123
10123
|
const args = JSON.stringify({ ...o.name ? { name: o.name } : {}, ...o.size ? { size: o.size } : {}, ...o.frame ? { frame: o.frame } : {}, script });
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
reportOpenStage,
|
|
17
17
|
setCloudLink,
|
|
18
18
|
trackOpen
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IMMLLS2N.js";
|
|
20
20
|
import {
|
|
21
21
|
parseDeepLink,
|
|
22
22
|
withDeepLink
|
|
23
23
|
} from "./chunk-R2BRDSXG.js";
|
|
24
24
|
import {
|
|
25
25
|
activeTeamWorkspaceId
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-K3VBY3BH.js";
|
|
27
27
|
import {
|
|
28
28
|
ApiError,
|
|
29
29
|
api,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-6BQ5ADXV.js";
|
|
32
32
|
import {
|
|
33
33
|
attachPresence
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Z4W4QMLS.js";
|
|
35
35
|
import {
|
|
36
36
|
isPersistableDocument,
|
|
37
37
|
isUnsavedPlaceholder,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
setCollabHistory,
|
|
43
43
|
storedDocument,
|
|
44
44
|
useEditorStore
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AJUIF7C3.js";
|
|
46
46
|
import {
|
|
47
47
|
currentHistoryGroup
|
|
48
48
|
} from "./chunk-5LXBWEXI.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-TIDIV7CZ.js";
|
|
10
10
|
import {
|
|
11
11
|
activeTeamWorkspaceId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K3VBY3BH.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiError,
|
|
15
15
|
GUEST_FILE_LIMIT,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-P2UMLQLK.js";
|
|
24
24
|
import {
|
|
25
25
|
markLibraryDocument
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AJUIF7C3.js";
|
|
27
27
|
import {
|
|
28
28
|
create
|
|
29
29
|
} from "./chunk-SJB2AWBK.js";
|
|
@@ -150,7 +150,7 @@ function startHyperyTeams() {
|
|
|
150
150
|
maybePromptForTeam();
|
|
151
151
|
void followFileTeam(linkedKey);
|
|
152
152
|
});
|
|
153
|
-
void import("./sync-
|
|
153
|
+
void import("./sync-VPYOUKHW.js").then(({ onSyncStatus, syncStatus }) => {
|
|
154
154
|
linkedKey = syncStatus().link?.key ?? null;
|
|
155
155
|
void followFileTeam(linkedKey);
|
|
156
156
|
onSyncStatus((_s, link) => {
|
|
@@ -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-E2PCA23I.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-LLJKH4SR.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-E2PCA23I.js"),
|
|
73
73
|
import("./client-store-2KONBJLD.js")
|
|
74
74
|
]);
|
|
75
75
|
const modelId = effectiveImageModel(useAiStore.getState());
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
} from "./chunk-DUGVB4FU.js";
|
|
21
21
|
import {
|
|
22
22
|
notice
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7B7H6IBN.js";
|
|
24
24
|
import {
|
|
25
25
|
agentContext
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N4IXZRSG.js";
|
|
27
27
|
import {
|
|
28
28
|
collabSession,
|
|
29
29
|
syncStatus
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DFGARA22.js";
|
|
31
31
|
import {
|
|
32
32
|
loadEntitlements
|
|
33
33
|
} from "./chunk-TIDIV7CZ.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-6BQ5ADXV.js";
|
|
37
37
|
import {
|
|
38
38
|
useEditorStore
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AJUIF7C3.js";
|
|
40
40
|
import {
|
|
41
41
|
getActiveRenderer
|
|
42
42
|
} from "./chunk-O435GU3O.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
hostEnv,
|
|
10
10
|
plain,
|
|
11
11
|
registerBuiltinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S53TWWJC.js";
|
|
13
13
|
import {
|
|
14
14
|
storeOpsSeam
|
|
15
15
|
} from "./chunk-W2ZJNEWQ.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-CDNAY3EC.js"),
|
|
575
575
|
import("./storefront-UOPJW3Z5.js"),
|
|
576
|
-
import("./project-
|
|
576
|
+
import("./project-XFXHXZ26.js"),
|
|
577
577
|
import("./zip-export-7N2K43YM.js"),
|
|
578
578
|
import("./tree-G3IOWQFV.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-VONVRC6C.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-C4DGUBTB.js";
|
|
10
10
|
import {
|
|
11
11
|
notice
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7B7H6IBN.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveChatModel,
|
|
15
15
|
setModelPref,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-DJL2QMFR.js";
|
|
18
18
|
import {
|
|
19
19
|
useEditorStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AJUIF7C3.js";
|
|
21
21
|
import {
|
|
22
22
|
create
|
|
23
23
|
} from "./chunk-SJB2AWBK.js";
|
|
@@ -1797,7 +1797,7 @@ async function sendMessage(text) {
|
|
|
1797
1797
|
if (!useAgentStore.getState().activeThreadId) newThread();
|
|
1798
1798
|
const mentions = pruneMentions(body, useAgentStore.getState().draftMentions);
|
|
1799
1799
|
useAgentStore.setState({ draft: "", draftMentions: [], error: null });
|
|
1800
|
-
const { runTurn } = await import("./runner-
|
|
1800
|
+
const { runTurn } = await import("./runner-DC6GH7QX.js");
|
|
1801
1801
|
await runTurn(body, mentions);
|
|
1802
1802
|
}
|
|
1803
1803
|
function stop() {
|
|
@@ -1900,7 +1900,7 @@ var clearTaskChildren = () => useAgentStore.setState({ taskChildren: {} });
|
|
|
1900
1900
|
function subscribeChildTools() {
|
|
1901
1901
|
let dispose;
|
|
1902
1902
|
let cancelled = false;
|
|
1903
|
-
void import("./runner-
|
|
1903
|
+
void import("./runner-DC6GH7QX.js").then(({ onChildTool }) => {
|
|
1904
1904
|
const off = onChildTool((report) => {
|
|
1905
1905
|
if (report?.status !== "running" || report.jobId) return;
|
|
1906
1906
|
recordChildTool(report.toolCallId ?? "", report.name);
|