@ixo/editor 5.13.0 → 5.15.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/dist/{chunk-S77KHEUD.mjs → chunk-J4M6XUX7.mjs} +6 -3
- package/dist/{chunk-S77KHEUD.mjs.map → chunk-J4M6XUX7.mjs.map} +1 -1
- package/dist/{chunk-ZEKC5FGC.mjs → chunk-ODJ2JOGF.mjs} +2 -2
- package/dist/{chunk-JAB2IBVH.mjs → chunk-YK3XJ5HK.mjs} +3 -2
- package/dist/chunk-YK3XJ5HK.mjs.map +1 -0
- package/dist/core/index.mjs +2 -2
- package/dist/index.mjs +3 -3
- package/dist/mantine/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-JAB2IBVH.mjs.map +0 -1
- /package/dist/{chunk-ZEKC5FGC.mjs.map → chunk-ODJ2JOGF.mjs.map} +0 -0
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
tempDomainCreatorSurvey,
|
|
42
42
|
transformSurveyToCredentialSubject,
|
|
43
43
|
writeRunRecordAndReconcile
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YK3XJ5HK.mjs";
|
|
45
45
|
|
|
46
46
|
// src/mantine/hooks/useCreateIxoEditor.ts
|
|
47
47
|
import { useCreateBlockNote } from "@blocknote/react";
|
|
@@ -24632,6 +24632,9 @@ var DomainIndexerLookupConfig = ({ inputs, onInputsChange }) => {
|
|
|
24632
24632
|
import React244, { useCallback as useCallback77, useState as useState97 } from "react";
|
|
24633
24633
|
import { Alert as Alert36, Button as Button44, Loader as Loader35, Stack as Stack163, Text as Text141, Textarea as Textarea2 } from "@mantine/core";
|
|
24634
24634
|
import { IconSearch as IconSearch6, IconAlertCircle as IconAlertCircle17 } from "@tabler/icons-react";
|
|
24635
|
+
function buildDomainBlueprintSearchPrompt(purpose) {
|
|
24636
|
+
return `Find protocol/dao blueprints only for this purpose: ${purpose}`;
|
|
24637
|
+
}
|
|
24635
24638
|
var DomainIndexerLookupFlowDetail = ({ inputs, block, runtime, updateRuntime, isDisabled }) => {
|
|
24636
24639
|
const handlers = useBlocknoteHandlers();
|
|
24637
24640
|
const parsed = parseJsonSafe(inputs, { userMessage: "" });
|
|
@@ -24648,7 +24651,7 @@ var DomainIndexerLookupFlowDetail = ({ inputs, block, runtime, updateRuntime, is
|
|
|
24648
24651
|
setLoading(true);
|
|
24649
24652
|
setError(null);
|
|
24650
24653
|
try {
|
|
24651
|
-
await handlers.askCompanion(
|
|
24654
|
+
await handlers.askCompanion(buildDomainBlueprintSearchPrompt(trimmed));
|
|
24652
24655
|
updateRuntime({
|
|
24653
24656
|
state: "completed",
|
|
24654
24657
|
executedAt: Date.now(),
|
|
@@ -45651,4 +45654,4 @@ export {
|
|
|
45651
45654
|
getExtraSlashMenuItems,
|
|
45652
45655
|
useCreateIxoEditor
|
|
45653
45656
|
};
|
|
45654
|
-
//# sourceMappingURL=chunk-
|
|
45657
|
+
//# sourceMappingURL=chunk-J4M6XUX7.mjs.map
|