@blokkli/editor 2.0.0-alpha.56 → 2.0.0-alpha.58
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/module.d.mts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/modules/agent/index.d.mts +1 -1
- package/dist/modules/agent/index.mjs +19 -19
- package/dist/modules/agent/runtime/app/composables/index.d.ts +3 -1
- package/dist/modules/agent/runtime/app/composables/index.js +1 -0
- package/dist/modules/agent/runtime/app/composables/useAgent.d.ts +6 -0
- package/dist/modules/agent/runtime/app/composables/useAgent.js +11 -0
- package/dist/modules/agent/runtime/app/features/agent/Container.vue +83 -88
- package/dist/modules/agent/runtime/app/helpers/buildPageContext.d.ts +7 -0
- package/dist/modules/agent/runtime/app/helpers/buildPageContext.js +81 -0
- package/dist/modules/agent/runtime/app/helpers/index.d.ts +15 -1
- package/dist/modules/agent/runtime/app/helpers/index.js +16 -0
- package/dist/modules/agent/runtime/app/helpers/injections.d.ts +3 -0
- package/dist/modules/agent/runtime/app/helpers/injections.js +3 -0
- package/dist/modules/agent/runtime/app/providers/agentProvider.d.ts +33 -0
- package/dist/modules/agent/runtime/app/providers/agentProvider.js +315 -0
- package/dist/modules/agent/runtime/app/providers/conversationProvider.d.ts +50 -0
- package/dist/modules/agent/runtime/app/providers/conversationProvider.js +263 -0
- package/dist/modules/agent/runtime/app/providers/planProvider.d.ts +15 -0
- package/dist/modules/agent/runtime/app/providers/planProvider.js +34 -0
- package/dist/modules/agent/runtime/app/providers/socketProvider.d.ts +17 -0
- package/dist/modules/agent/runtime/app/providers/socketProvider.js +110 -0
- package/dist/modules/agent/runtime/app/providers/toolsProvider.d.ts +44 -0
- package/dist/modules/agent/runtime/app/providers/toolsProvider.js +298 -0
- package/dist/modules/agent/runtime/app/types/index.d.ts +47 -0
- package/dist/modules/agent/runtime/app/types/index.js +3 -1
- package/dist/modules/agent/runtime/server/helpers.js +2 -1
- package/dist/modules/charts/index.d.mts +1 -1
- package/dist/modules/drupal/index.d.mts +2 -2
- package/dist/modules/iframes/index.d.mts +1 -1
- package/dist/modules/index.d.mts +1 -1
- package/dist/modules/readability/index.d.mts +2 -2
- package/dist/modules/table-of-contents/index.d.mts +2 -2
- package/dist/runtime/editor/components/DiffViewer/State.vue +51 -67
- package/dist/runtime/editor/components/EditProvider.vue +30 -10
- package/dist/runtime/editor/components/PreviewProvider.vue +14 -8
- package/dist/runtime/editor/css/output.css +1 -1
- package/dist/runtime/editor/events/index.d.ts +4 -3
- package/dist/runtime/editor/features/add-list/index.vue +2 -1
- package/dist/runtime/editor/features/changelog/changelog.json +8 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +1 -10
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +2 -2
- package/dist/runtime/editor/features/translations/index.vue +1 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue +9 -2
- package/dist/runtime/editor/providers/state.js +4 -1
- package/dist/shared/{editor.BTOBvmaz.d.mts → editor.Bpw1EP57.d.mts} +3 -3
- package/dist/shared/{editor.9vf8ZnOp.mjs → editor.FygP6XeF.mjs} +2 -2
- package/dist/types.d.mts +1 -1
- package/package.json +30 -7
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +0 -62
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +0 -1048
|
@@ -138,8 +138,9 @@ export type AddNewBlocksEvent = {
|
|
|
138
138
|
host: BlokkliItemHost;
|
|
139
139
|
afterUuid: string | null;
|
|
140
140
|
};
|
|
141
|
-
export type
|
|
141
|
+
export type UpdatePreviewStateEvent = {
|
|
142
142
|
fields: MutatedField[];
|
|
143
|
+
mutatedEntity: Record<any, any>;
|
|
143
144
|
};
|
|
144
145
|
type MultiSelectStartEvent = {
|
|
145
146
|
x: number;
|
|
@@ -197,7 +198,7 @@ export interface EventbusEvents {
|
|
|
197
198
|
'dragging:move': Coord;
|
|
198
199
|
'dragging:end': undefined;
|
|
199
200
|
'add:block:new': AddNewBlockEvent;
|
|
200
|
-
|
|
201
|
+
updatePreviewState: UpdatePreviewStateEvent;
|
|
201
202
|
animationFrame: AnimationFrameEvent;
|
|
202
203
|
message: Message;
|
|
203
204
|
keyPressed: KeyPressedEvent;
|
|
@@ -286,7 +287,7 @@ export type BlokkliEventBus = Emitter<EventbusEventsType>;
|
|
|
286
287
|
export declare const emitMessage: (message: string, type?: "success" | "error" | "warning", additional?: string | Error | unknown, replace?: boolean) => void;
|
|
287
288
|
type FrameEventBusEvents = {
|
|
288
289
|
selectItems: string[];
|
|
289
|
-
|
|
290
|
+
updatePreviewState: UpdatePreviewStateEvent;
|
|
290
291
|
focus: string;
|
|
291
292
|
updateOption: UpdateBlockOptionEvent;
|
|
292
293
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "2.0.0-alpha.57",
|
|
4
|
+
"date": "2026-04-29",
|
|
5
|
+
"body": {
|
|
6
|
+
"en": "<h3>Fixes</h3>\n<ul>\n<li>Added and removed text is highlighted again in the diff view on the page.</li>\n<li>The translation banner is no longer shown while the AI assistant is waiting\nfor changes to be approved.</li>\n<li>The AI assistant no longer gets stuck in the "Thinking" state when the\nconnection to the server is lost.</li>\n<li>In the responsive preview, changes to page content are once again updated\nautomatically.</li>\n</ul>\n",
|
|
7
|
+
"de": "<h3>Fehlerbehebungen</h3>\n<ul>\n<li>Hinzugefügte und entfernte Texte werden im Vergleichsmodus auf der Seite\nwieder farblich hervorgehoben.</li>\n<li>Das Sprachbanner wird nicht mehr angezeigt, während der KI-Assistent auf die\nBestätigung von Änderungen wartet.</li>\n<li>Der KI-Assistent bleibt nicht mehr im «Überlegen»-Zustand hängen, wenn die\nVerbindung zum Server unterbrochen wird.</li>\n<li>In der responsiven Vorschau werden Änderungen an Seiteninhalten wieder\nautomatisch aktualisiert</li>\n</ul>\n"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
{
|
|
3
11
|
"version": "2.0.0-alpha.55",
|
|
4
12
|
"date": "2026-04-20",
|
|
@@ -43,13 +43,7 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script setup>
|
|
46
|
-
import {
|
|
47
|
-
useBlokkli,
|
|
48
|
-
defineBlokkliFeature,
|
|
49
|
-
ref,
|
|
50
|
-
computed,
|
|
51
|
-
onMounted
|
|
52
|
-
} from "#imports";
|
|
46
|
+
import { useBlokkli, defineBlokkliFeature, ref, computed } from "#imports";
|
|
53
47
|
import { PluginViewOption } from "#blokkli/editor/plugins";
|
|
54
48
|
import { Banner, BannerInner } from "#blokkli/editor/components";
|
|
55
49
|
import { addElementClasses } from "#blokkli/editor/composables";
|
|
@@ -108,9 +102,6 @@ addElementClasses(
|
|
|
108
102
|
"bk-hide-interaction-layers",
|
|
109
103
|
isEnabled
|
|
110
104
|
);
|
|
111
|
-
onMounted(() => {
|
|
112
|
-
console.log(fieldMappingValidations.value);
|
|
113
|
-
});
|
|
114
105
|
</script>
|
|
115
106
|
|
|
116
107
|
<script>
|
|
@@ -46,8 +46,8 @@ const src = computed(
|
|
|
46
46
|
() => route.fullPath.replace("blokkliEditing", "blokkliPreview")
|
|
47
47
|
);
|
|
48
48
|
onBlokkliEvent(
|
|
49
|
-
"
|
|
50
|
-
(e) => frameEventBus.emit("
|
|
49
|
+
"updatePreviewState",
|
|
50
|
+
(e) => frameEventBus.emit("updatePreviewState", e)
|
|
51
51
|
);
|
|
52
52
|
onBlokkliEvent("select", (uuids) => {
|
|
53
53
|
const uuid = Array.isArray(uuids) ? uuids[0] : uuids;
|
|
@@ -306,7 +306,7 @@ export default {
|
|
|
306
306
|
|
|
307
307
|
<style>
|
|
308
308
|
.bk-html-root {
|
|
309
|
-
--bk-sidebar-width-right:
|
|
309
|
+
--bk-sidebar-width-right: 280px;
|
|
310
310
|
--bk-toolbar-left-width: 50px;
|
|
311
311
|
--bk-add-item-icon-padding: 6px;
|
|
312
312
|
--bk-item-icon-radius-base-toolbar: 4px;
|
|
@@ -471,10 +471,17 @@ export default {
|
|
|
471
471
|
flex-direction: column;
|
|
472
472
|
--bk-tw-bg-opacity: 1;
|
|
473
473
|
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
474
|
-
grid-area:
|
|
474
|
+
grid-area: viewport;
|
|
475
475
|
width: var(--bk-sidebar-width-right);
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
+
@media (min-width: 768px) {
|
|
479
|
+
|
|
480
|
+
.bk.bk-sidebar-right-wrapper {
|
|
481
|
+
grid-area: sidebar-right
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
478
485
|
.bk.bk-sidebar-right-wrapper > * {
|
|
479
486
|
pointer-events: auto;
|
|
480
487
|
}
|
|
@@ -216,7 +216,10 @@ export default async function(eventBus, adapter, context, $t, providerKey, permi
|
|
|
216
216
|
mutatedItemPropsUuids.forEach((uuid) => {
|
|
217
217
|
mutatedItemProps[uuid] = void 0;
|
|
218
218
|
});
|
|
219
|
-
eventBus.emit("
|
|
219
|
+
eventBus.emit("updatePreviewState", {
|
|
220
|
+
fields: newMutatedFields,
|
|
221
|
+
mutatedEntity: mutatedEntity.value
|
|
222
|
+
});
|
|
220
223
|
nextTick(() => {
|
|
221
224
|
refreshKey.value = Date.now().toString();
|
|
222
225
|
eventBus.emit("state:reloaded");
|
|
@@ -80,7 +80,7 @@ declare class BlockCollector extends Collector<CollectedBlockFile> {
|
|
|
80
80
|
private patterns;
|
|
81
81
|
constructor(helper: ModuleHelper, icons: IconCollector);
|
|
82
82
|
init(): Promise<void>;
|
|
83
|
-
runHooks(): any
|
|
83
|
+
runHooks(): Promise<any>;
|
|
84
84
|
createCollectedFile(filePath: string, fileContents?: string): CollectedBlockFile;
|
|
85
85
|
private findBlockForFolderFile;
|
|
86
86
|
protected handleAdd(filePath: string): Promise<boolean>;
|
|
@@ -444,7 +444,7 @@ declare class FeatureCollector extends Collector<CollectedFeatureFile> {
|
|
|
444
444
|
constructor(helper: ModuleHelper);
|
|
445
445
|
getEnabledFeatures(): ExtractedFeatureDefinition[];
|
|
446
446
|
init(): Promise<void>;
|
|
447
|
-
runHooks(): any
|
|
447
|
+
runHooks(): Promise<any>;
|
|
448
448
|
createCollectedFile(filePath: string, fileContents?: string): CollectedFeatureFile;
|
|
449
449
|
applies(filePath: string): Promise<boolean>;
|
|
450
450
|
getDependencyTypes(): TemplateDependency[];
|
|
@@ -541,7 +541,7 @@ declare class IconCollector extends Collector {
|
|
|
541
541
|
getValidMaterialIconNames(): string[];
|
|
542
542
|
handleWatchEvent(event: WatchEvent, filePath: string): Promise<HandleWatchEventResult>;
|
|
543
543
|
init(): Promise<void>;
|
|
544
|
-
runHooks(): any
|
|
544
|
+
runHooks(): Promise<any>;
|
|
545
545
|
applies(filePath: string): Promise<boolean>;
|
|
546
546
|
getDependencyTypes(): TemplateDependency[];
|
|
547
547
|
createCollectedFile(filePath: string, fileContents?: string): CollectedFile;
|
|
@@ -174,11 +174,11 @@ function parseTsObject(tsObjectStr) {
|
|
|
174
174
|
const result = ts.transpileModule(source, {
|
|
175
175
|
compilerOptions: {
|
|
176
176
|
target: ts.ScriptTarget.ESNext,
|
|
177
|
-
module: ts.ModuleKind.
|
|
177
|
+
module: ts.ModuleKind.ESNext,
|
|
178
178
|
removeComments: true
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
const jsCode = result.outputText.trim();
|
|
181
|
+
const jsCode = result.outputText.trim().replace(/^(?:["'][^"'\n]*["']\s*;?\s*)+/, "");
|
|
182
182
|
const createObj = new Function(`return ${jsCode}`);
|
|
183
183
|
const object = createObj();
|
|
184
184
|
return { object, source: jsCode };
|
package/dist/types.d.mts
CHANGED
|
@@ -4,6 +4,6 @@ declare module '@nuxt/schema' {
|
|
|
4
4
|
interface NuxtHooks extends ModuleHooks {}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export { type ModuleHooks } from './shared/editor.
|
|
7
|
+
export { type ModuleHooks } from './shared/editor.Bpw1EP57.mjs'
|
|
8
8
|
|
|
9
9
|
export { type ModuleOptions, default } from './module.mjs'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blokkli/editor",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.58",
|
|
4
4
|
"description": "Interactive page building experience for Nuxt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -136,7 +136,6 @@
|
|
|
136
136
|
},
|
|
137
137
|
"dependencies": {
|
|
138
138
|
"@material-symbols/svg-600": "0.40.2",
|
|
139
|
-
"@nuxt/kit": "^4.2.2",
|
|
140
139
|
"apexcharts": "^5.4.0",
|
|
141
140
|
"artboard-deluxe": "^0.1.5",
|
|
142
141
|
"estree-walker-ts": "^1.1.0",
|
|
@@ -157,8 +156,9 @@
|
|
|
157
156
|
"@ckeditor/ckeditor5-vue": "^7.3.0",
|
|
158
157
|
"@nuxt/devtools": "^3.1.1",
|
|
159
158
|
"@nuxt/eslint-config": "^1.12.1",
|
|
159
|
+
"@nuxt/kit": "^4.4.4",
|
|
160
160
|
"@nuxt/module-builder": "^1.0.2",
|
|
161
|
-
"@nuxt/schema": "^4.
|
|
161
|
+
"@nuxt/schema": "^4.4.4",
|
|
162
162
|
"@nuxt/test-utils": "^3.21.0",
|
|
163
163
|
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
164
164
|
"@tailwindcss/forms": "^0.5.11",
|
|
@@ -182,10 +182,12 @@
|
|
|
182
182
|
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
183
183
|
"gettext-parser": "^8.0.0",
|
|
184
184
|
"happy-dom": "^20.0.11",
|
|
185
|
-
"nuxt": "^4.
|
|
185
|
+
"nuxt": "^4.4.4",
|
|
186
186
|
"nuxt-graphql-middleware": "^5.3.0",
|
|
187
187
|
"nuxt-svg-icon-sprite": "^2.0.2",
|
|
188
188
|
"openai": "^6.17.0",
|
|
189
|
+
"oxc-parser": "^0.98.0",
|
|
190
|
+
"oxc-walker": "^0.7.0",
|
|
189
191
|
"oxfmt": "^0.20.0",
|
|
190
192
|
"oxlint": "^1.35.0",
|
|
191
193
|
"playwright-core": "^1.57.0",
|
|
@@ -198,13 +200,15 @@
|
|
|
198
200
|
"postcss-selector-parser": "^7.1.1",
|
|
199
201
|
"postcss-url": "^10.1.3",
|
|
200
202
|
"prettier": "^3.7.4",
|
|
201
|
-
"prettier-plugin-glsl": "^0.2.
|
|
203
|
+
"prettier-plugin-glsl": "^0.2.5",
|
|
202
204
|
"syllable": "^5.0.1",
|
|
203
205
|
"tailwindcss": "^3.4.17",
|
|
204
206
|
"tsx": "^4.21.0",
|
|
207
|
+
"turndown": "^7.2.4",
|
|
208
|
+
"typescript": "^6.0.0",
|
|
205
209
|
"unbuild": "^3.6.1",
|
|
206
210
|
"vite-plugin-glsl": "^1.5.5",
|
|
207
|
-
"vitepress": "^
|
|
211
|
+
"vitepress": "^2.0.0-alpha.17",
|
|
208
212
|
"vitest": "^3.2.4",
|
|
209
213
|
"vue-tsc": "^3.1.8"
|
|
210
214
|
},
|
|
@@ -225,7 +229,7 @@
|
|
|
225
229
|
"syllable": "*",
|
|
226
230
|
"tailwindcss": "*",
|
|
227
231
|
"turndown": "^7.2.2",
|
|
228
|
-
"typescript": "^5.0.0"
|
|
232
|
+
"typescript": "^5.0.0 || ^6.0.0"
|
|
229
233
|
},
|
|
230
234
|
"peerDependenciesMeta": {
|
|
231
235
|
"syllable": {
|
|
@@ -258,5 +262,24 @@
|
|
|
258
262
|
},
|
|
259
263
|
"engines": {
|
|
260
264
|
"node": ">=18.0.0"
|
|
265
|
+
},
|
|
266
|
+
"overrides": {
|
|
267
|
+
"lodash": "^4.17.24",
|
|
268
|
+
"@nuxt/module-builder": {
|
|
269
|
+
"typescript": "$typescript"
|
|
270
|
+
},
|
|
271
|
+
"postcss-url": {
|
|
272
|
+
"minimatch": "^10.2.3"
|
|
273
|
+
},
|
|
274
|
+
"eslint-plugin-sonarjs": {
|
|
275
|
+
"minimatch": "^10.2.3"
|
|
276
|
+
},
|
|
277
|
+
"prettier-plugin-glsl": {
|
|
278
|
+
"chevrotain": "^12.0.0",
|
|
279
|
+
"lodash": "^4.17.24"
|
|
280
|
+
},
|
|
281
|
+
"cypress": {
|
|
282
|
+
"@cypress/request": "^4.0.0"
|
|
283
|
+
}
|
|
261
284
|
}
|
|
262
285
|
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { type Ref } from '#imports';
|
|
2
|
-
import { type Attachment, type ConversationItem, type ActiveItem, type MutationAction, type PreSeededToolResult, type AutoExecuteTool } from '#blokkli/agent/app/types';
|
|
3
|
-
import type { ClientPlanState, UsageTurn, PageContext, Transcript } from '#blokkli/agent/shared/types';
|
|
4
|
-
import type { AgentConversationSummary } from '#blokkli/agent/app/features/agent/types';
|
|
5
|
-
import type { AgentToolName, AgentToolMap } from '#blokkli-build/agent-client';
|
|
6
|
-
import type { BlokkliApp } from '#blokkli/editor/types/app';
|
|
7
|
-
import type { FullBlokkliAdapter } from '#blokkli/editor/adapter';
|
|
8
|
-
export type PendingMutationState = {
|
|
9
|
-
action: MutationAction;
|
|
10
|
-
resolve: (approved: boolean) => void;
|
|
11
|
-
};
|
|
12
|
-
export type PendingToolCall = {
|
|
13
|
-
toolName: string;
|
|
14
|
-
params: Record<string, unknown>;
|
|
15
|
-
};
|
|
16
|
-
export type AgentProviderOptions = {
|
|
17
|
-
app: BlokkliApp;
|
|
18
|
-
adapter: FullBlokkliAdapter<any>;
|
|
19
|
-
itemEntityType: string;
|
|
20
|
-
};
|
|
21
|
-
export type AgentProvider = {
|
|
22
|
-
isConnected: Readonly<Ref<boolean>>;
|
|
23
|
-
isReady: Readonly<Ref<boolean>>;
|
|
24
|
-
hasBeenReady: Readonly<Ref<boolean>>;
|
|
25
|
-
connect: () => void;
|
|
26
|
-
disconnect: () => void;
|
|
27
|
-
conversation: Ref<ConversationItem[]>;
|
|
28
|
-
activeItem: Ref<ActiveItem | null>;
|
|
29
|
-
isProcessing: Ref<boolean>;
|
|
30
|
-
isThinking: Ref<boolean>;
|
|
31
|
-
autoApprove: Ref<boolean>;
|
|
32
|
-
pendingMutation: Ref<PendingMutationState | null>;
|
|
33
|
-
pendingToolCall: Ref<PendingToolCall | null>;
|
|
34
|
-
plan: Ref<ClientPlanState | null>;
|
|
35
|
-
approvePlan: () => void;
|
|
36
|
-
rejectPlan: () => void;
|
|
37
|
-
usageTurns: Ref<UsageTurn[]>;
|
|
38
|
-
sendPrompt: (text: string, displayPrompt?: string, selectedUuids?: string[], attachments?: Attachment[], autoLoadTools?: string[], autoLoadSkills?: string[], preSeededResults?: PreSeededToolResult[], autoExecuteTools?: AutoExecuteTool[]) => void;
|
|
39
|
-
runToolForPrompt: <T extends AgentToolName>(toolName: T, params: AgentToolMap[T]['params']) => Promise<PreSeededToolResult & {
|
|
40
|
-
result: AgentToolMap[T]['result'];
|
|
41
|
-
}>;
|
|
42
|
-
retry: () => void;
|
|
43
|
-
approve: () => void;
|
|
44
|
-
reject: () => void;
|
|
45
|
-
setAutoApprove: (value: boolean) => void;
|
|
46
|
-
cancel: () => void;
|
|
47
|
-
newConversation: () => void;
|
|
48
|
-
getTranscript: () => void;
|
|
49
|
-
onToolComponentDone: (result: unknown) => void;
|
|
50
|
-
toolDetails: Map<string, unknown>;
|
|
51
|
-
transcriptContent: Ref<Transcript | null>;
|
|
52
|
-
showTranscript: Ref<boolean>;
|
|
53
|
-
conversationList: Ref<AgentConversationSummary[]>;
|
|
54
|
-
showConversationList: Ref<boolean>;
|
|
55
|
-
activeConversationId: Readonly<Ref<string | null>>;
|
|
56
|
-
switchConversation: (id: string) => void;
|
|
57
|
-
deleteConversation: (id: string) => void;
|
|
58
|
-
refreshConversationList: () => Promise<void>;
|
|
59
|
-
feedbackItemIds: Ref<Set<string>>;
|
|
60
|
-
pageContext: Ref<PageContext | null>;
|
|
61
|
-
};
|
|
62
|
-
export default function (app: BlokkliApp, adapter: FullBlokkliAdapter<any>, agentName: string): AgentProvider;
|