PluginProbe
Extendify / 3.2.1
Extendify v3.2.1
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Agent/api.js +2 -9 3.2.03.2.1 View file →
@@ -5,8 +5,9 @@
5 5 classifyBlockEdit,
6 6 IGNORED_BLOCKS,
7 7 } from '@agent/lib/classify-block-edit';
8 8 import { getClientTools } from '@agent/lib/client-tools';
9 +import { isExtendableHeader } from '@agent/lib/extendable-header';
9 10 import { INSERTABLE_BLOCK_TYPES } from '@agent/lib/insertable-blocks';
10 11 import { ensureCoreBlocksRegistered } from '@agent/lib/register-blocks';
11 12 import {
12 13 buildSubtreeManifest,
@@ -14,12 +15,8 @@
14 15 } from '@agent/lib/subtree-manifest';
15 16 import { activeCanvasStep } from '@agent/state/canvas';
16 17 import { useChatStore } from '@agent/state/chat';
17 18 import { useGlobalStore } from '@agent/state/global';
18 -import {
19 - currentHeaderState,
20 - isExtendableHeader,
21 -} from '@agent/workflows/theme/tools/update-header-style';
22 19 import { tools } from '@agent/workflows/workflows';
23 20 import { AI_HOST } from '@constants';
24 21 import { useQuickEditStore } from '@quick-edit/state/store';
25 22 import { digest } from '@shared/api/digest';
@@ -164,13 +161,9 @@
164 161 workflowData: data,
165 162 messages: getCurrentMessages(),
166 163 previousMessages: getMessagesFor(workflow?.id),
167 164 context: window.extAgentData.context,
168 - agentContext: {
169 - ...window.extAgentData.agentContext,
170 - // Without this the model offers the state the header is already in.
171 - headerState: currentHeaderState(),
172 - },
165 + agentContext: window.extAgentData.agentContext,
173 166 wpAbilities: window.extAgentData.wpAbilities ?? [],
174 167 clientTools: getClientTools(),
175 168 // The manifest is the backend's block-patching signal — never send it
176 169 // for other workflows or they'd be routed into the patching handler.