@nextblock-cms/cortex 0.17.6 → 0.17.8
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/index.cjs.js +1 -1
- package/index.d.ts +3 -0
- package/index.es.js +237 -199
- package/lib/ai-global-agent-db-tools.cjs.js +1 -1
- package/lib/ai-global-agent-db-tools.d.ts +7 -0
- package/lib/ai-global-agent-db-tools.es.js +309 -192
- package/lib/ai-global-agent-site-tools.cjs.js +2 -0
- package/lib/ai-global-agent-site-tools.d.ts +1153 -0
- package/lib/ai-global-agent-site-tools.es.js +712 -0
- package/lib/ai-global-agent-theming-tools.cjs.js +2 -2
- package/lib/ai-global-agent-theming-tools.d.ts +18 -0
- package/lib/ai-global-agent-theming-tools.es.js +1 -0
- package/lib/ai-global-agent-tools.cjs.js +2 -2
- package/lib/ai-global-agent-tools.es.js +1826 -1925
- package/lib/block-content-schemas.cjs.js +1 -0
- package/lib/block-content-schemas.d.ts +216 -0
- package/lib/block-content-schemas.es.js +246 -0
- package/lib/mcp-tool-registry.cjs.js +4 -2
- package/lib/mcp-tool-registry.d.ts +15 -0
- package/lib/mcp-tool-registry.es.js +103 -70
- package/lib/site-brief.cjs.js +2 -0
- package/lib/site-brief.d.ts +159 -0
- package/lib/site-brief.es.js +109 -0
- package/package.json +4 -4
- package/lib/ai-global-agent-tools.d.ts +0 -4374
package/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./lib/ai-block-generation.cjs.js"),s=require("./lib/ai-client.cjs.js"),t=require("./lib/ai-config.cjs.js"),l=require("./lib/ai-cortex-widget-builder.cjs.js"),c=require("./lib/ai-global-agent-custom-block-tools.cjs.js"),C=require("./lib/ai-global-agent-db-tools.cjs.js"),e=require("./lib/ai-global-agent-tools.cjs.js"),u=require("./lib/ai-key-crypto.cjs.js"),R=require("./lib/ai-model-catalog.cjs.js"),o=require("./lib/ai-model-registry.cjs.js"),E=require("./lib/ai-seo-metadata.cjs.js"),_=require("./lib/ai-vision.cjs.js"),T=require("./lib/cortex-widget-registry.cjs.js"),n=require("./lib/cortex-widget-schema.cjs.js"),r=require("./lib/mcp-server.cjs.js"),a=require("./lib/mcp-tokens.cjs.js"),i=require("./lib/mcp-tool-registry.cjs.js");require("./lib/zod-config.cjs.js");const A=require("zod");exports.INLINE_HTML_ASSISTANT_SYSTEM_PROMPT=S.INLINE_HTML_ASSISTANT_SYSTEM_PROMPT;exports.generateEditorBlocksRequestSchema=S.generateEditorBlocksRequestSchema;exports.generateEditorHtmlFragment=S.generateEditorHtmlFragment;exports.validateGeneratedEditorHtmlFragment=S.validateGeneratedEditorHtmlFragment;exports.createCortexAiOpenRouterClient=s.createCortexAiOpenRouterClient;exports.createCortexAiOpenRouterProvider=s.createCortexAiOpenRouterProvider;exports.generateCortexAiText=s.generateCortexAiText;exports.getStoredCortexAiModelSelection=s.getStoredCortexAiModelSelection;exports.resolveCortexAiOpenRouterCredential=s.resolveCortexAiOpenRouterCredential;exports.CORTEX_AI_AGENT_SETTINGS_BOUNDS=t.CORTEX_AI_AGENT_SETTINGS_BOUNDS;exports.CORTEX_AI_AGENT_SETTINGS_DEFAULTS=t.CORTEX_AI_AGENT_SETTINGS_DEFAULTS;exports.CORTEX_AI_AGENT_SETTINGS_KEY=t.CORTEX_AI_AGENT_SETTINGS_KEY;exports.CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY=t.CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY;exports.CORTEX_AI_OPENROUTER_SETTING_KEY=t.CORTEX_AI_OPENROUTER_SETTING_KEY;exports.CORTEX_AI_PACKAGE_ID=t.CORTEX_AI_PACKAGE_ID;exports.CORTEX_AI_PACKAGE_NAME=t.CORTEX_AI_PACKAGE_NAME;exports.CORTEX_AI_PEXELS_SETTING_KEY=t.CORTEX_AI_PEXELS_SETTING_KEY;exports.CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY=t.CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY;exports.CORTEX_AI_UNSPLASH_SETTING_KEY=t.CORTEX_AI_UNSPLASH_SETTING_KEY;exports.decryptStoredOpenRouterApiKey=t.decryptStoredOpenRouterApiKey;exports.encryptStoredOpenRouterApiKey=t.encryptStoredOpenRouterApiKey;exports.getCortexAiEnvConfig=t.getCortexAiEnvConfig;exports.getEnvOpenRouterKeyStatus=t.getEnvOpenRouterKeyStatus;exports.getOpenRouterEnvApiKey=t.getOpenRouterEnvApiKey;exports.getPexelsEnvApiKey=t.getPexelsEnvApiKey;exports.getStoredOpenRouterKeyStatus=t.getStoredOpenRouterKeyStatus;exports.getUnsplashEnvApiKey=t.getUnsplashEnvApiKey;exports.normalizeCortexAiAgentSettings=t.normalizeCortexAiAgentSettings;exports.resolveCortexAiAgentSettings=t.resolveCortexAiAgentSettings;exports.generateCortexWidgetDefinition=l.generateCortexWidgetDefinition;exports.createCortexCustomBlockTools=c.createCortexCustomBlockTools;exports.createCustomBlockInputSchema=c.createCustomBlockInputSchema;exports.deleteCustomBlockInputSchema=c.deleteCustomBlockInputSchema;exports.executeCreateCustomBlock=c.executeCreateCustomBlock;exports.executeDeleteCustomBlock=c.executeDeleteCustomBlock;exports.executeListCustomBlocks=c.executeListCustomBlocks;exports.executeUpdateCustomBlock=c.executeUpdateCustomBlock;exports.listCustomBlocksInputSchema=c.listCustomBlocksInputSchema;exports.updateCustomBlockInputSchema=c.updateCustomBlockInputSchema;exports.createCortexDatabaseAgentTools=C.createCortexDatabaseAgentTools;exports.describeDatabaseSchemaInputSchema=C.describeDatabaseSchemaInputSchema;exports.executeDatabaseActionPlan=C.executeDatabaseActionPlan;exports.executeDatabaseActionPlanInputSchema=C.executeDatabaseActionPlanInputSchema;exports.executeDatabaseMutation=C.executeDatabaseMutation;exports.executeDatabaseMutationInputSchema=C.executeDatabaseMutationInputSchema;exports.executeDescribeDatabaseSchema=C.executeDescribeDatabaseSchema;exports.executeReadDatabaseRecords=C.executeReadDatabaseRecords;exports.readDatabaseRecordsInputSchema=C.readDatabaseRecordsInputSchema;exports.availableCortexAiBlockTypes=e.availableCortexAiBlockTypes;exports.buildVisibleContactIntroActionPlan=e.buildVisibleContactIntroActionPlan;exports.cortexAiPageContextSchema=e.cortexAiPageContextSchema;exports.createCmsPageInputSchema=e.createCmsPageInputSchema;exports.createCmsPostInputSchema=e.createCmsPostInputSchema;exports.createCmsProductInputSchema=e.createCmsProductInputSchema;exports.createCortexGlobalAgentTools=e.createCortexGlobalAgentTools;exports.deleteCmsItemInputSchema=e.deleteCmsItemInputSchema;exports.executeCmsActionPlan=e.executeCmsActionPlan;exports.executeCmsActionPlanInputSchema=e.executeCmsActionPlanInputSchema;exports.executeCreateCmsPage=e.executeCreateCmsPage;exports.executeCreateCmsPost=e.executeCreateCmsPost;exports.executeCreateCmsProduct=e.executeCreateCmsProduct;exports.executeDeleteCmsItem=e.executeDeleteCmsItem;exports.executeFetchEcommerceStats=e.executeFetchEcommerceStats;exports.executeFetchUrlContent=e.executeFetchUrlContent;exports.executeInsertContentBlock=e.executeInsertContentBlock;exports.executeManageProductVariants=e.executeManageProductVariants;exports.executePrepareDeleteCmsItem=e.executePrepareDeleteCmsItem;exports.executePublishContentDraft=e.executePublishContentDraft;exports.executeReadCurrentCmsItem=e.executeReadCurrentCmsItem;exports.executeRewritePageDraft=e.executeRewritePageDraft;exports.executeSearchDocumentation=e.executeSearchDocumentation;exports.executeSearchDocumentationWithTimeout=e.executeSearchDocumentationWithTimeout;exports.executeSearchStockPhotos=e.executeSearchStockPhotos;exports.executeSetContentImages=e.executeSetContentImages;exports.executeTranslateContentBulk=e.executeTranslateContentBulk;exports.executeTranslatePage=e.executeTranslatePage;exports.executeUpdateCmsItemField=e.executeUpdateCmsItemField;exports.executeUpdateContentBlock=e.executeUpdateContentBlock;exports.executeUpdateCurrentCmsFields=e.executeUpdateCurrentCmsFields;exports.executeUpdateFooter=e.executeUpdateFooter;exports.executeUpdateNavigationBar=e.executeUpdateNavigationBar;exports.executeUpdateSectionColumnBlock=e.executeUpdateSectionColumnBlock;exports.fetchEcommerceStatsInputSchema=e.fetchEcommerceStatsInputSchema;exports.fetchUrlContentInputSchema=e.fetchUrlContentInputSchema;exports.insertContentBlockInputSchema=e.insertContentBlockInputSchema;exports.isBlockedFetchHost=e.isBlockedFetchHost;exports.manageProductVariantsInputSchema=e.manageProductVariantsInputSchema;exports.maybeTriggerStockPhotoDownloads=e.maybeTriggerStockPhotoDownloads;exports.navigationItemInputSchema=e.navigationItemInputSchema;exports.prepareDeleteCmsItemInputSchema=e.prepareDeleteCmsItemInputSchema;exports.publishContentDraftInputSchema=e.publishContentDraftInputSchema;exports.readCurrentCmsItemInputSchema=e.readCurrentCmsItemInputSchema;exports.resolveCortexAiStockPhotoProvider=e.resolveCortexAiStockPhotoProvider;exports.resolveCortexAiStockPhotoProviders=e.resolveCortexAiStockPhotoProviders;exports.rewritePageDraftInputSchema=e.rewritePageDraftInputSchema;exports.searchDocumentationInputSchema=e.searchDocumentationInputSchema;exports.searchStockPhotosInputSchema=e.searchStockPhotosInputSchema;exports.setContentImagesInputSchema=e.setContentImagesInputSchema;exports.translateContentBulkInputSchema=e.translateContentBulkInputSchema;exports.translatePageInputSchema=e.translatePageInputSchema;exports.updateCmsItemFieldInputSchema=e.updateCmsItemFieldInputSchema;exports.updateContentBlockInputSchema=e.updateContentBlockInputSchema;exports.updateCurrentCmsFieldsInputSchema=e.updateCurrentCmsFieldsInputSchema;exports.updateFooterInputSchema=e.updateFooterInputSchema;exports.updateNavigationBarInputSchema=e.updateNavigationBarInputSchema;exports.updateSectionColumnBlockInputSchema=e.updateSectionColumnBlockInputSchema;exports.CORTEX_AI_KEY_ALGORITHM=u.CORTEX_AI_KEY_ALGORITHM;exports.CORTEX_AI_KEY_ENVELOPE_VERSION=u.CORTEX_AI_KEY_ENVELOPE_VERSION;exports.decryptOpenRouterApiKey=u.decryptOpenRouterApiKey;exports.encryptOpenRouterApiKey=u.encryptOpenRouterApiKey;exports.getMaskedOpenRouterKey=u.getMaskedOpenRouterKey;exports.getOpenRouterKeyEnvelopeStatus=u.getOpenRouterKeyEnvelopeStatus;exports.listCortexAiCompatibleOpenRouterModels=R.listCortexAiCompatibleOpenRouterModels;exports.CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY=o.CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY;exports.CORTEX_AI_MODEL_REGISTRY=o.CORTEX_AI_MODEL_REGISTRY;exports.CORTEX_AI_OPENROUTER_BASE_URL=o.CORTEX_AI_OPENROUTER_BASE_URL;exports.CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL=o.CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL;exports.CORTEX_AI_REQUIRED_MODEL_PARAMETERS=o.CORTEX_AI_REQUIRED_MODEL_PARAMETERS;exports.CortexAiRoutingError=o.CortexAiRoutingError;exports.buildCortexAiModelFallbackChain=o.buildCortexAiModelFallbackChain;exports.buildCortexAiRoutingPolicy=o.buildCortexAiRoutingPolicy;exports.createCortexAiStoredModelSelection=o.createCortexAiStoredModelSelection;exports.filterCortexAiCompatibleOpenRouterModels=o.filterCortexAiCompatibleOpenRouterModels;exports.getHttpStatusCode=o.getHttpStatusCode;exports.isCortexAiFreeModelId=o.isCortexAiFreeModelId;exports.isOpenRouterRateLimitError=o.isOpenRouterRateLimitError;exports.isOpenRouterRecoverableRoutingError=o.isOpenRouterRecoverableRoutingError;exports.omitUnsupportedCortexAiModelOptions=o.omitUnsupportedCortexAiModelOptions;exports.runWithCortexAiModelFallback=o.runWithCortexAiModelFallback;exports.safeParseCortexAiModelSelection=o.safeParseCortexAiModelSelection;exports.summarizeCortexAiRoutingError=o.summarizeCortexAiRoutingError;exports.CORTEX_AI_SEO_METADATA_CONTENT_BUDGET=E.CORTEX_AI_SEO_METADATA_CONTENT_BUDGET;exports.CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS=E.CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS;exports.cortexAiSeoMetadataOutputSchema=E.cortexAiSeoMetadataOutputSchema;exports.extractJsonObject=E.extractJsonObject;exports.generateCortexAiSeoMetadata=E.generateCortexAiSeoMetadata;exports.truncateOnWordBoundary=E.truncateOnWordBoundary;exports.CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH=_.CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH;exports.CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY=_.CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY;exports.buildCortexAiVisionRoutingPolicy=_.buildCortexAiVisionRoutingPolicy;exports.generateCortexAiAltText=_.generateCortexAiAltText;exports.isKnownVisionCapableCortexAiModelId=_.isKnownVisionCapableCortexAiModelId;exports.normalizeGeneratedAltText=_.normalizeGeneratedAltText;exports.CORTEX_WIDGET_DEFINITION_SELECT=T.CORTEX_WIDGET_DEFINITION_SELECT;exports.CortexWidgetRegistryInsertError=T.CortexWidgetRegistryInsertError;exports.buildCortexWidgetDefinitionInsertPayload=T.buildCortexWidgetDefinitionInsertPayload;exports.insertCortexWidgetDefinition=T.insertCortexWidgetDefinition;exports.CORTEX_WIDGET_ALLOWED_RELATION_TABLES=n.CORTEX_WIDGET_ALLOWED_RELATION_TABLES;exports.buildCortexProfileCardVerificationDefinition=n.buildCortexProfileCardVerificationDefinition;exports.buildCortexWidgetBuilderPrompt=n.buildCortexWidgetBuilderPrompt;exports.buildCortexWidgetBuilderSystemPrompt=n.buildCortexWidgetBuilderSystemPrompt;exports.cortexWidgetBuildRequestSchema=n.cortexWidgetBuildRequestSchema;exports.cortexWidgetDbRelationFieldSchema=n.cortexWidgetDbRelationFieldSchema;exports.cortexWidgetDefinitionSchema=n.cortexWidgetDefinitionSchema;exports.cortexWidgetFieldSchema=n.cortexWidgetFieldSchema;exports.cortexWidgetImageR2FieldSchema=n.cortexWidgetImageR2FieldSchema;exports.cortexWidgetLayoutNodeSchema=n.cortexWidgetLayoutNodeSchema;exports.cortexWidgetRichTextFieldSchema=n.cortexWidgetRichTextFieldSchema;exports.cortexWidgetTextFieldSchema=n.cortexWidgetTextFieldSchema;exports.validateCortexWidgetDefinitionOutput=n.validateCortexWidgetDefinitionOutput;exports.CORTEX_MCP_DEFAULT_PROTOCOL_VERSION=r.CORTEX_MCP_DEFAULT_PROTOCOL_VERSION;exports.CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION=r.CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION;exports.CORTEX_MCP_MODERN_PROTOCOL_VERSION=r.CORTEX_MCP_MODERN_PROTOCOL_VERSION;exports.CORTEX_MCP_SERVER_NAME=r.CORTEX_MCP_SERVER_NAME;exports.CORTEX_MCP_SERVER_TITLE=r.CORTEX_MCP_SERVER_TITLE;exports.CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS=r.CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS;exports.JSON_RPC_INTERNAL_ERROR=r.JSON_RPC_INTERNAL_ERROR;exports.JSON_RPC_INVALID_PARAMS=r.JSON_RPC_INVALID_PARAMS;exports.JSON_RPC_INVALID_REQUEST=r.JSON_RPC_INVALID_REQUEST;exports.JSON_RPC_METHOD_NOT_FOUND=r.JSON_RPC_METHOD_NOT_FOUND;exports.JSON_RPC_PARSE_ERROR=r.JSON_RPC_PARSE_ERROR;exports.handleCortexMcpMessage=r.handleCortexMcpMessage;exports.isJsonRpcNotification=r.isJsonRpcNotification;exports.isModernEraMessage=r.isModernEraMessage;exports.CORTEX_AI_MCP_SCOPES=a.CORTEX_AI_MCP_SCOPES;exports.CORTEX_AI_MCP_SETTINGS_DEFAULTS=a.CORTEX_AI_MCP_SETTINGS_DEFAULTS;exports.CORTEX_AI_MCP_SETTINGS_KEY=a.CORTEX_AI_MCP_SETTINGS_KEY;exports.CORTEX_AI_MCP_TOKENS_TABLE=a.CORTEX_AI_MCP_TOKENS_TABLE;exports.CORTEX_AI_MCP_TOKEN_PREFIX=a.CORTEX_AI_MCP_TOKEN_PREFIX;exports.hashCortexAiMcpToken=a.hashCortexAiMcpToken;exports.isLocalhostHost=a.isLocalhostHost;exports.mintCortexAiMcpToken=a.mintCortexAiMcpToken;exports.normalizeCortexAiMcpSettings=a.normalizeCortexAiMcpSettings;exports.parseBearerToken=a.parseBearerToken;exports.resolveCortexAiMcpSettings=a.resolveCortexAiMcpSettings;exports.shouldTrustLocalMcpRequest=a.shouldTrustLocalMcpRequest;exports.touchCortexAiMcpToken=a.touchCortexAiMcpToken;exports.verifyCortexAiMcpToken=a.verifyCortexAiMcpToken;exports.CORTEX_MCP_PROMPTS=i.CORTEX_MCP_PROMPTS;exports.CORTEX_MCP_RESOURCES=i.CORTEX_MCP_RESOURCES;exports.CORTEX_MCP_TOOL_ALIASES=i.CORTEX_MCP_TOOL_ALIASES;exports.CORTEX_MCP_TOOL_KINDS=i.CORTEX_MCP_TOOL_KINDS;exports.CortexMcpForbiddenToolError=i.CortexMcpForbiddenToolError;exports.CortexMcpUnknownToolError=i.CortexMcpUnknownToolError;exports.assertCortexMcpToolCoverage=i.assertCortexMcpToolCoverage;exports.buildCortexMcpToolDefinitions=i.buildCortexMcpToolDefinitions;exports.callCortexMcpTool=i.callCortexMcpTool;exports.cortexMcpScopesAllow=i.cortexMcpScopesAllow;exports.getCortexMcpPrompt=i.getCortexMcpPrompt;exports.getCortexMcpToolKind=i.getCortexMcpToolKind;exports.readCortexMcpResource=i.readCortexMcpResource;exports.resolveCortexMcpToolName=i.resolveCortexMcpToolName;Object.defineProperty(exports,"z",{enumerable:!0,get:()=>A.z});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./lib/ai-block-generation.cjs.js"),T=require("./lib/ai-client.cjs.js"),t=require("./lib/ai-config.cjs.js"),m=require("./lib/ai-cortex-widget-builder.cjs.js"),u=require("./lib/ai-global-agent-custom-block-tools.cjs.js"),S=require("./lib/ai-global-agent-db-tools.cjs.js"),o=require("./lib/ai-global-agent-site-tools.cjs.js"),e=require("./lib/ai-global-agent-tools.cjs.js"),_=require("./lib/ai-key-crypto.cjs.js"),d=require("./lib/ai-model-catalog.cjs.js"),r=require("./lib/ai-model-registry.cjs.js"),s=require("./lib/ai-seo-metadata.cjs.js"),l=require("./lib/ai-vision.cjs.js"),C=require("./lib/block-content-schemas.cjs.js"),I=require("./lib/cortex-widget-registry.cjs.js"),n=require("./lib/cortex-widget-schema.cjs.js"),a=require("./lib/mcp-server.cjs.js"),i=require("./lib/mcp-tokens.cjs.js"),c=require("./lib/mcp-tool-registry.cjs.js"),E=require("./lib/site-brief.cjs.js");require("./lib/zod-config.cjs.js");const A=require("zod");exports.INLINE_HTML_ASSISTANT_SYSTEM_PROMPT=R.INLINE_HTML_ASSISTANT_SYSTEM_PROMPT;exports.generateEditorBlocksRequestSchema=R.generateEditorBlocksRequestSchema;exports.generateEditorHtmlFragment=R.generateEditorHtmlFragment;exports.validateGeneratedEditorHtmlFragment=R.validateGeneratedEditorHtmlFragment;exports.createCortexAiOpenRouterClient=T.createCortexAiOpenRouterClient;exports.createCortexAiOpenRouterProvider=T.createCortexAiOpenRouterProvider;exports.generateCortexAiText=T.generateCortexAiText;exports.getStoredCortexAiModelSelection=T.getStoredCortexAiModelSelection;exports.resolveCortexAiOpenRouterCredential=T.resolveCortexAiOpenRouterCredential;exports.CORTEX_AI_AGENT_SETTINGS_BOUNDS=t.CORTEX_AI_AGENT_SETTINGS_BOUNDS;exports.CORTEX_AI_AGENT_SETTINGS_DEFAULTS=t.CORTEX_AI_AGENT_SETTINGS_DEFAULTS;exports.CORTEX_AI_AGENT_SETTINGS_KEY=t.CORTEX_AI_AGENT_SETTINGS_KEY;exports.CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY=t.CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY;exports.CORTEX_AI_OPENROUTER_SETTING_KEY=t.CORTEX_AI_OPENROUTER_SETTING_KEY;exports.CORTEX_AI_PACKAGE_ID=t.CORTEX_AI_PACKAGE_ID;exports.CORTEX_AI_PACKAGE_NAME=t.CORTEX_AI_PACKAGE_NAME;exports.CORTEX_AI_PEXELS_SETTING_KEY=t.CORTEX_AI_PEXELS_SETTING_KEY;exports.CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY=t.CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY;exports.CORTEX_AI_UNSPLASH_SETTING_KEY=t.CORTEX_AI_UNSPLASH_SETTING_KEY;exports.decryptStoredOpenRouterApiKey=t.decryptStoredOpenRouterApiKey;exports.encryptStoredOpenRouterApiKey=t.encryptStoredOpenRouterApiKey;exports.getCortexAiEnvConfig=t.getCortexAiEnvConfig;exports.getEnvOpenRouterKeyStatus=t.getEnvOpenRouterKeyStatus;exports.getOpenRouterEnvApiKey=t.getOpenRouterEnvApiKey;exports.getPexelsEnvApiKey=t.getPexelsEnvApiKey;exports.getStoredOpenRouterKeyStatus=t.getStoredOpenRouterKeyStatus;exports.getUnsplashEnvApiKey=t.getUnsplashEnvApiKey;exports.normalizeCortexAiAgentSettings=t.normalizeCortexAiAgentSettings;exports.resolveCortexAiAgentSettings=t.resolveCortexAiAgentSettings;exports.generateCortexWidgetDefinition=m.generateCortexWidgetDefinition;exports.createCortexCustomBlockTools=u.createCortexCustomBlockTools;exports.createCustomBlockInputSchema=u.createCustomBlockInputSchema;exports.deleteCustomBlockInputSchema=u.deleteCustomBlockInputSchema;exports.executeCreateCustomBlock=u.executeCreateCustomBlock;exports.executeDeleteCustomBlock=u.executeDeleteCustomBlock;exports.executeListCustomBlocks=u.executeListCustomBlocks;exports.executeUpdateCustomBlock=u.executeUpdateCustomBlock;exports.listCustomBlocksInputSchema=u.listCustomBlocksInputSchema;exports.updateCustomBlockInputSchema=u.updateCustomBlockInputSchema;exports.createCortexDatabaseAgentTools=S.createCortexDatabaseAgentTools;exports.describeDatabaseSchemaInputSchema=S.describeDatabaseSchemaInputSchema;exports.executeDatabaseActionPlan=S.executeDatabaseActionPlan;exports.executeDatabaseActionPlanInputSchema=S.executeDatabaseActionPlanInputSchema;exports.executeDatabaseMutation=S.executeDatabaseMutation;exports.executeDatabaseMutationInputSchema=S.executeDatabaseMutationInputSchema;exports.executeDescribeDatabaseSchema=S.executeDescribeDatabaseSchema;exports.executeReadDatabaseRecords=S.executeReadDatabaseRecords;exports.readDatabaseRecordsInputSchema=S.readDatabaseRecordsInputSchema;exports.NEXTBLOCK_SEED_MEDIA_OBJECT_KEYS=o.NEXTBLOCK_SEED_MEDIA_OBJECT_KEYS;exports.NEXTBLOCK_SEED_TRANSLATION_GROUP_IDS=o.NEXTBLOCK_SEED_TRANSLATION_GROUP_IDS;exports.createCortexSiteTools=o.createCortexSiteTools;exports.executeFinishSiteBuild=o.executeFinishSiteBuild;exports.executeGetSiteOverview=o.executeGetSiteOverview;exports.executeResetSiteContent=o.executeResetSiteContent;exports.executeSaveSiteBrief=o.executeSaveSiteBrief;exports.executeStartSiteBuild=o.executeStartSiteBuild;exports.executeUpdateSiteIdentity=o.executeUpdateSiteIdentity;exports.finishSiteBuildInputSchema=o.finishSiteBuildInputSchema;exports.getSiteOverviewInputSchema=o.getSiteOverviewInputSchema;exports.readCortexBuildSession=o.readCortexBuildSession;exports.readCortexSiteBrief=o.readCortexSiteBrief;exports.resetSiteContentInputSchema=o.resetSiteContentInputSchema;exports.resolveCortexBuildSession=o.resolveCortexBuildSession;exports.saveSiteBriefInputSchema=o.saveSiteBriefInputSchema;exports.startSiteBuildInputSchema=o.startSiteBuildInputSchema;exports.updateSiteIdentityInputSchema=o.updateSiteIdentityInputSchema;exports.buildVisibleContactIntroActionPlan=e.buildVisibleContactIntroActionPlan;exports.cortexAiPageContextSchema=e.cortexAiPageContextSchema;exports.createCmsPageInputSchema=e.createCmsPageInputSchema;exports.createCmsPostInputSchema=e.createCmsPostInputSchema;exports.createCmsProductInputSchema=e.createCmsProductInputSchema;exports.createCortexGlobalAgentTools=e.createCortexGlobalAgentTools;exports.deleteCmsItemInputSchema=e.deleteCmsItemInputSchema;exports.executeCmsActionPlan=e.executeCmsActionPlan;exports.executeCmsActionPlanInputSchema=e.executeCmsActionPlanInputSchema;exports.executeCreateCmsPage=e.executeCreateCmsPage;exports.executeCreateCmsPost=e.executeCreateCmsPost;exports.executeCreateCmsProduct=e.executeCreateCmsProduct;exports.executeDeleteCmsItem=e.executeDeleteCmsItem;exports.executeFetchEcommerceStats=e.executeFetchEcommerceStats;exports.executeFetchUrlContent=e.executeFetchUrlContent;exports.executeInsertContentBlock=e.executeInsertContentBlock;exports.executeManageProductVariants=e.executeManageProductVariants;exports.executePrepareDeleteCmsItem=e.executePrepareDeleteCmsItem;exports.executePublishContentDraft=e.executePublishContentDraft;exports.executeReadCurrentCmsItem=e.executeReadCurrentCmsItem;exports.executeRewritePageDraft=e.executeRewritePageDraft;exports.executeSearchDocumentation=e.executeSearchDocumentation;exports.executeSearchDocumentationWithTimeout=e.executeSearchDocumentationWithTimeout;exports.executeSearchStockPhotos=e.executeSearchStockPhotos;exports.executeSetContentImages=e.executeSetContentImages;exports.executeTranslateContentBulk=e.executeTranslateContentBulk;exports.executeTranslatePage=e.executeTranslatePage;exports.executeUpdateCmsItemField=e.executeUpdateCmsItemField;exports.executeUpdateContentBlock=e.executeUpdateContentBlock;exports.executeUpdateCurrentCmsFields=e.executeUpdateCurrentCmsFields;exports.executeUpdateFooter=e.executeUpdateFooter;exports.executeUpdateNavigationBar=e.executeUpdateNavigationBar;exports.executeUpdateSectionColumnBlock=e.executeUpdateSectionColumnBlock;exports.fetchEcommerceStatsInputSchema=e.fetchEcommerceStatsInputSchema;exports.fetchUrlContentInputSchema=e.fetchUrlContentInputSchema;exports.insertContentBlockInputSchema=e.insertContentBlockInputSchema;exports.isBlockedFetchHost=e.isBlockedFetchHost;exports.manageProductVariantsInputSchema=e.manageProductVariantsInputSchema;exports.maybeTriggerStockPhotoDownloads=e.maybeTriggerStockPhotoDownloads;exports.navigationItemInputSchema=e.navigationItemInputSchema;exports.prepareDeleteCmsItemInputSchema=e.prepareDeleteCmsItemInputSchema;exports.publishContentDraftInputSchema=e.publishContentDraftInputSchema;exports.readCurrentCmsItemInputSchema=e.readCurrentCmsItemInputSchema;exports.resolveCortexAiStockPhotoProvider=e.resolveCortexAiStockPhotoProvider;exports.resolveCortexAiStockPhotoProviders=e.resolveCortexAiStockPhotoProviders;exports.rewritePageDraftInputSchema=e.rewritePageDraftInputSchema;exports.searchDocumentationInputSchema=e.searchDocumentationInputSchema;exports.searchStockPhotosInputSchema=e.searchStockPhotosInputSchema;exports.setContentImagesInputSchema=e.setContentImagesInputSchema;exports.translateContentBulkInputSchema=e.translateContentBulkInputSchema;exports.translatePageInputSchema=e.translatePageInputSchema;exports.updateCmsItemFieldInputSchema=e.updateCmsItemFieldInputSchema;exports.updateContentBlockInputSchema=e.updateContentBlockInputSchema;exports.updateCurrentCmsFieldsInputSchema=e.updateCurrentCmsFieldsInputSchema;exports.updateFooterInputSchema=e.updateFooterInputSchema;exports.updateNavigationBarInputSchema=e.updateNavigationBarInputSchema;exports.updateSectionColumnBlockInputSchema=e.updateSectionColumnBlockInputSchema;exports.CORTEX_AI_KEY_ALGORITHM=_.CORTEX_AI_KEY_ALGORITHM;exports.CORTEX_AI_KEY_ENVELOPE_VERSION=_.CORTEX_AI_KEY_ENVELOPE_VERSION;exports.decryptOpenRouterApiKey=_.decryptOpenRouterApiKey;exports.encryptOpenRouterApiKey=_.encryptOpenRouterApiKey;exports.getMaskedOpenRouterKey=_.getMaskedOpenRouterKey;exports.getOpenRouterKeyEnvelopeStatus=_.getOpenRouterKeyEnvelopeStatus;exports.listCortexAiCompatibleOpenRouterModels=d.listCortexAiCompatibleOpenRouterModels;exports.CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY=r.CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY;exports.CORTEX_AI_MODEL_REGISTRY=r.CORTEX_AI_MODEL_REGISTRY;exports.CORTEX_AI_OPENROUTER_BASE_URL=r.CORTEX_AI_OPENROUTER_BASE_URL;exports.CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL=r.CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL;exports.CORTEX_AI_REQUIRED_MODEL_PARAMETERS=r.CORTEX_AI_REQUIRED_MODEL_PARAMETERS;exports.CortexAiRoutingError=r.CortexAiRoutingError;exports.buildCortexAiModelFallbackChain=r.buildCortexAiModelFallbackChain;exports.buildCortexAiRoutingPolicy=r.buildCortexAiRoutingPolicy;exports.createCortexAiStoredModelSelection=r.createCortexAiStoredModelSelection;exports.filterCortexAiCompatibleOpenRouterModels=r.filterCortexAiCompatibleOpenRouterModels;exports.getHttpStatusCode=r.getHttpStatusCode;exports.isCortexAiFreeModelId=r.isCortexAiFreeModelId;exports.isOpenRouterRateLimitError=r.isOpenRouterRateLimitError;exports.isOpenRouterRecoverableRoutingError=r.isOpenRouterRecoverableRoutingError;exports.omitUnsupportedCortexAiModelOptions=r.omitUnsupportedCortexAiModelOptions;exports.runWithCortexAiModelFallback=r.runWithCortexAiModelFallback;exports.safeParseCortexAiModelSelection=r.safeParseCortexAiModelSelection;exports.summarizeCortexAiRoutingError=r.summarizeCortexAiRoutingError;exports.CORTEX_AI_SEO_METADATA_CONTENT_BUDGET=s.CORTEX_AI_SEO_METADATA_CONTENT_BUDGET;exports.CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS=s.CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS;exports.cortexAiSeoMetadataOutputSchema=s.cortexAiSeoMetadataOutputSchema;exports.extractJsonObject=s.extractJsonObject;exports.generateCortexAiSeoMetadata=s.generateCortexAiSeoMetadata;exports.truncateOnWordBoundary=s.truncateOnWordBoundary;exports.CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH=l.CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH;exports.CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY=l.CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY;exports.buildCortexAiVisionRoutingPolicy=l.buildCortexAiVisionRoutingPolicy;exports.generateCortexAiAltText=l.generateCortexAiAltText;exports.isKnownVisionCapableCortexAiModelId=l.isKnownVisionCapableCortexAiModelId;exports.normalizeGeneratedAltText=l.normalizeGeneratedAltText;exports.availableCortexAiBlockTypes=C.availableCortexAiBlockTypes;exports.cortexAiBlockTypeSchema=C.cortexAiBlockTypeSchema;exports.customBlockSlugPatternSchema=C.customBlockSlugPatternSchema;exports.fallbackBlockSchemas=C.fallbackBlockSchemas;exports.isValidBlockType=C.isValidBlockType;exports.loadCustomBlockDefinitions=C.loadCustomBlockDefinitions;exports.readCustomBlockFields=C.readCustomBlockFields;exports.sectionBlockFallbackSchema=C.sectionBlockFallbackSchema;exports.validateCortexBlockContent=C.validateCortexBlockContent;exports.validateCustomBlockInstanceContent=C.validateCustomBlockInstanceContent;exports.CORTEX_WIDGET_DEFINITION_SELECT=I.CORTEX_WIDGET_DEFINITION_SELECT;exports.CortexWidgetRegistryInsertError=I.CortexWidgetRegistryInsertError;exports.buildCortexWidgetDefinitionInsertPayload=I.buildCortexWidgetDefinitionInsertPayload;exports.insertCortexWidgetDefinition=I.insertCortexWidgetDefinition;exports.CORTEX_WIDGET_ALLOWED_RELATION_TABLES=n.CORTEX_WIDGET_ALLOWED_RELATION_TABLES;exports.buildCortexProfileCardVerificationDefinition=n.buildCortexProfileCardVerificationDefinition;exports.buildCortexWidgetBuilderPrompt=n.buildCortexWidgetBuilderPrompt;exports.buildCortexWidgetBuilderSystemPrompt=n.buildCortexWidgetBuilderSystemPrompt;exports.cortexWidgetBuildRequestSchema=n.cortexWidgetBuildRequestSchema;exports.cortexWidgetDbRelationFieldSchema=n.cortexWidgetDbRelationFieldSchema;exports.cortexWidgetDefinitionSchema=n.cortexWidgetDefinitionSchema;exports.cortexWidgetFieldSchema=n.cortexWidgetFieldSchema;exports.cortexWidgetImageR2FieldSchema=n.cortexWidgetImageR2FieldSchema;exports.cortexWidgetLayoutNodeSchema=n.cortexWidgetLayoutNodeSchema;exports.cortexWidgetRichTextFieldSchema=n.cortexWidgetRichTextFieldSchema;exports.cortexWidgetTextFieldSchema=n.cortexWidgetTextFieldSchema;exports.validateCortexWidgetDefinitionOutput=n.validateCortexWidgetDefinitionOutput;exports.CORTEX_MCP_DEFAULT_PROTOCOL_VERSION=a.CORTEX_MCP_DEFAULT_PROTOCOL_VERSION;exports.CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION=a.CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION;exports.CORTEX_MCP_MODERN_PROTOCOL_VERSION=a.CORTEX_MCP_MODERN_PROTOCOL_VERSION;exports.CORTEX_MCP_SERVER_NAME=a.CORTEX_MCP_SERVER_NAME;exports.CORTEX_MCP_SERVER_TITLE=a.CORTEX_MCP_SERVER_TITLE;exports.CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS=a.CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS;exports.JSON_RPC_INTERNAL_ERROR=a.JSON_RPC_INTERNAL_ERROR;exports.JSON_RPC_INVALID_PARAMS=a.JSON_RPC_INVALID_PARAMS;exports.JSON_RPC_INVALID_REQUEST=a.JSON_RPC_INVALID_REQUEST;exports.JSON_RPC_METHOD_NOT_FOUND=a.JSON_RPC_METHOD_NOT_FOUND;exports.JSON_RPC_PARSE_ERROR=a.JSON_RPC_PARSE_ERROR;exports.handleCortexMcpMessage=a.handleCortexMcpMessage;exports.isJsonRpcNotification=a.isJsonRpcNotification;exports.isModernEraMessage=a.isModernEraMessage;exports.CORTEX_AI_MCP_SCOPES=i.CORTEX_AI_MCP_SCOPES;exports.CORTEX_AI_MCP_SETTINGS_DEFAULTS=i.CORTEX_AI_MCP_SETTINGS_DEFAULTS;exports.CORTEX_AI_MCP_SETTINGS_KEY=i.CORTEX_AI_MCP_SETTINGS_KEY;exports.CORTEX_AI_MCP_TOKENS_TABLE=i.CORTEX_AI_MCP_TOKENS_TABLE;exports.CORTEX_AI_MCP_TOKEN_PREFIX=i.CORTEX_AI_MCP_TOKEN_PREFIX;exports.hashCortexAiMcpToken=i.hashCortexAiMcpToken;exports.isLocalhostHost=i.isLocalhostHost;exports.mintCortexAiMcpToken=i.mintCortexAiMcpToken;exports.normalizeCortexAiMcpSettings=i.normalizeCortexAiMcpSettings;exports.parseBearerToken=i.parseBearerToken;exports.resolveCortexAiMcpSettings=i.resolveCortexAiMcpSettings;exports.shouldTrustLocalMcpRequest=i.shouldTrustLocalMcpRequest;exports.touchCortexAiMcpToken=i.touchCortexAiMcpToken;exports.verifyCortexAiMcpToken=i.verifyCortexAiMcpToken;exports.CORTEX_MCP_PROMPTS=c.CORTEX_MCP_PROMPTS;exports.CORTEX_MCP_RESOURCES=c.CORTEX_MCP_RESOURCES;exports.CORTEX_MCP_TOOL_ALIASES=c.CORTEX_MCP_TOOL_ALIASES;exports.CORTEX_MCP_TOOL_KINDS=c.CORTEX_MCP_TOOL_KINDS;exports.CortexMcpForbiddenToolError=c.CortexMcpForbiddenToolError;exports.CortexMcpUnknownToolError=c.CortexMcpUnknownToolError;exports.assertCortexMcpToolCoverage=c.assertCortexMcpToolCoverage;exports.buildCortexMcpToolDefinitions=c.buildCortexMcpToolDefinitions;exports.callCortexMcpTool=c.callCortexMcpTool;exports.cortexMcpScopesAllow=c.cortexMcpScopesAllow;exports.getCortexMcpPrompt=c.getCortexMcpPrompt;exports.getCortexMcpToolKind=c.getCortexMcpToolKind;exports.readCortexMcpResource=c.readCortexMcpResource;exports.resolveCortexMcpToolName=c.resolveCortexMcpToolName;exports.CORTEX_AI_BUILD_SESSION_SETTING_KEY=E.CORTEX_AI_BUILD_SESSION_SETTING_KEY;exports.CORTEX_AI_SITE_BRIEF_SETTING_KEY=E.CORTEX_AI_SITE_BRIEF_SETTING_KEY;exports.cortexBuildSessionSchema=E.cortexBuildSessionSchema;exports.cortexSiteBriefInputSchema=E.cortexSiteBriefInputSchema;exports.cortexSiteBriefSchema=E.cortexSiteBriefSchema;exports.formatCortexSiteBriefForPrompt=E.formatCortexSiteBriefForPrompt;exports.isCortexBuildSessionUsable=E.isCortexBuildSessionUsable;exports.safeParseCortexSiteBrief=E.safeParseCortexSiteBrief;Object.defineProperty(exports,"z",{enumerable:!0,get:()=>A.z});
|
package/index.d.ts
CHANGED
|
@@ -4,15 +4,18 @@ export * from './lib/ai-config';
|
|
|
4
4
|
export * from './lib/ai-cortex-widget-builder';
|
|
5
5
|
export * from './lib/ai-global-agent-custom-block-tools';
|
|
6
6
|
export * from './lib/ai-global-agent-db-tools';
|
|
7
|
+
export * from './lib/ai-global-agent-site-tools';
|
|
7
8
|
export * from './lib/ai-global-agent-tools';
|
|
8
9
|
export * from './lib/ai-key-crypto';
|
|
9
10
|
export * from './lib/ai-model-catalog';
|
|
10
11
|
export * from './lib/ai-model-registry';
|
|
11
12
|
export * from './lib/ai-seo-metadata';
|
|
12
13
|
export * from './lib/ai-vision';
|
|
14
|
+
export * from './lib/block-content-schemas';
|
|
13
15
|
export * from './lib/cortex-widget-registry';
|
|
14
16
|
export * from './lib/cortex-widget-schema';
|
|
15
17
|
export * from './lib/mcp-server';
|
|
16
18
|
export * from './lib/mcp-tokens';
|
|
17
19
|
export * from './lib/mcp-tool-registry';
|
|
20
|
+
export * from './lib/site-brief';
|
|
18
21
|
export * from './lib/zod-config';
|
package/index.es.js
CHANGED
|
@@ -1,224 +1,262 @@
|
|
|
1
|
-
import { INLINE_HTML_ASSISTANT_SYSTEM_PROMPT as r, generateEditorBlocksRequestSchema as a, generateEditorHtmlFragment as
|
|
2
|
-
import { createCortexAiOpenRouterClient as C, createCortexAiOpenRouterProvider as
|
|
3
|
-
import { CORTEX_AI_AGENT_SETTINGS_BOUNDS as
|
|
4
|
-
import { generateCortexWidgetDefinition as
|
|
5
|
-
import { createCortexCustomBlockTools as
|
|
6
|
-
import { createCortexDatabaseAgentTools as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
1
|
+
import { INLINE_HTML_ASSISTANT_SYSTEM_PROMPT as r, generateEditorBlocksRequestSchema as a, generateEditorHtmlFragment as i, validateGeneratedEditorHtmlFragment as c } from "./lib/ai-block-generation.es.js";
|
|
2
|
+
import { createCortexAiOpenRouterClient as C, createCortexAiOpenRouterProvider as S, generateCortexAiText as E, getStoredCortexAiModelSelection as _, resolveCortexAiOpenRouterCredential as u } from "./lib/ai-client.es.js";
|
|
3
|
+
import { CORTEX_AI_AGENT_SETTINGS_BOUNDS as l, CORTEX_AI_AGENT_SETTINGS_DEFAULTS as T, CORTEX_AI_AGENT_SETTINGS_KEY as m, CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY as p, CORTEX_AI_OPENROUTER_SETTING_KEY as x, CORTEX_AI_PACKAGE_ID as R, CORTEX_AI_PACKAGE_NAME as I, CORTEX_AI_PEXELS_SETTING_KEY as A, CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY as O, CORTEX_AI_UNSPLASH_SETTING_KEY as d, decryptStoredOpenRouterApiKey as h, encryptStoredOpenRouterApiKey as P, getCortexAiEnvConfig as M, getEnvOpenRouterKeyStatus as g, getOpenRouterEnvApiKey as N, getPexelsEnvApiKey as B, getStoredOpenRouterKeyStatus as D, getUnsplashEnvApiKey as L, normalizeCortexAiAgentSettings as f, resolveCortexAiAgentSettings as X } from "./lib/ai-config.es.js";
|
|
4
|
+
import { generateCortexWidgetDefinition as b } from "./lib/ai-cortex-widget-builder.es.js";
|
|
5
|
+
import { createCortexCustomBlockTools as U, createCustomBlockInputSchema as K, deleteCustomBlockInputSchema as v, executeCreateCustomBlock as G, executeDeleteCustomBlock as y, executeListCustomBlocks as W, executeUpdateCustomBlock as V, listCustomBlocksInputSchema as Y, updateCustomBlockInputSchema as H } from "./lib/ai-global-agent-custom-block-tools.es.js";
|
|
6
|
+
import { createCortexDatabaseAgentTools as J, describeDatabaseSchemaInputSchema as z, executeDatabaseActionPlan as q, executeDatabaseActionPlanInputSchema as Q, executeDatabaseMutation as j, executeDatabaseMutationInputSchema as Z, executeDescribeDatabaseSchema as $, executeReadDatabaseRecords as ee, readDatabaseRecordsInputSchema as te } from "./lib/ai-global-agent-db-tools.es.js";
|
|
7
|
+
import { NEXTBLOCK_SEED_MEDIA_OBJECT_KEYS as re, NEXTBLOCK_SEED_TRANSLATION_GROUP_IDS as ae, createCortexSiteTools as ie, executeFinishSiteBuild as ce, executeGetSiteOverview as ne, executeResetSiteContent as Ce, executeSaveSiteBrief as Se, executeStartSiteBuild as Ee, executeUpdateSiteIdentity as _e, finishSiteBuildInputSchema as ue, getSiteOverviewInputSchema as se, readCortexBuildSession as le, readCortexSiteBrief as Te, resetSiteContentInputSchema as me, resolveCortexBuildSession as pe, saveSiteBriefInputSchema as xe, startSiteBuildInputSchema as Re, updateSiteIdentityInputSchema as Ie } from "./lib/ai-global-agent-site-tools.es.js";
|
|
8
|
+
import { buildVisibleContactIntroActionPlan as Oe, cortexAiPageContextSchema as de, createCmsPageInputSchema as he, createCmsPostInputSchema as Pe, createCmsProductInputSchema as Me, createCortexGlobalAgentTools as ge, deleteCmsItemInputSchema as Ne, executeCmsActionPlan as Be, executeCmsActionPlanInputSchema as De, executeCreateCmsPage as Le, executeCreateCmsPost as fe, executeCreateCmsProduct as Xe, executeDeleteCmsItem as ke, executeFetchEcommerceStats as be, executeFetchUrlContent as Fe, executeInsertContentBlock as Ue, executeManageProductVariants as Ke, executePrepareDeleteCmsItem as ve, executePublishContentDraft as Ge, executeReadCurrentCmsItem as ye, executeRewritePageDraft as We, executeSearchDocumentation as Ve, executeSearchDocumentationWithTimeout as Ye, executeSearchStockPhotos as He, executeSetContentImages as we, executeTranslateContentBulk as Je, executeTranslatePage as ze, executeUpdateCmsItemField as qe, executeUpdateContentBlock as Qe, executeUpdateCurrentCmsFields as je, executeUpdateFooter as Ze, executeUpdateNavigationBar as $e, executeUpdateSectionColumnBlock as et, fetchEcommerceStatsInputSchema as tt, fetchUrlContentInputSchema as ot, insertContentBlockInputSchema as rt, isBlockedFetchHost as at, manageProductVariantsInputSchema as it, maybeTriggerStockPhotoDownloads as ct, navigationItemInputSchema as nt, prepareDeleteCmsItemInputSchema as Ct, publishContentDraftInputSchema as St, readCurrentCmsItemInputSchema as Et, resolveCortexAiStockPhotoProvider as _t, resolveCortexAiStockPhotoProviders as ut, rewritePageDraftInputSchema as st, searchDocumentationInputSchema as lt, searchStockPhotosInputSchema as Tt, setContentImagesInputSchema as mt, translateContentBulkInputSchema as pt, translatePageInputSchema as xt, updateCmsItemFieldInputSchema as Rt, updateContentBlockInputSchema as It, updateCurrentCmsFieldsInputSchema as At, updateFooterInputSchema as Ot, updateNavigationBarInputSchema as dt, updateSectionColumnBlockInputSchema as ht } from "./lib/ai-global-agent-tools.es.js";
|
|
9
|
+
import { CORTEX_AI_KEY_ALGORITHM as Mt, CORTEX_AI_KEY_ENVELOPE_VERSION as gt, decryptOpenRouterApiKey as Nt, encryptOpenRouterApiKey as Bt, getMaskedOpenRouterKey as Dt, getOpenRouterKeyEnvelopeStatus as Lt } from "./lib/ai-key-crypto.es.js";
|
|
10
|
+
import { listCortexAiCompatibleOpenRouterModels as Xt } from "./lib/ai-model-catalog.es.js";
|
|
11
|
+
import { CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY as bt, CORTEX_AI_MODEL_REGISTRY as Ft, CORTEX_AI_OPENROUTER_BASE_URL as Ut, CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL as Kt, CORTEX_AI_REQUIRED_MODEL_PARAMETERS as vt, CortexAiRoutingError as Gt, buildCortexAiModelFallbackChain as yt, buildCortexAiRoutingPolicy as Wt, createCortexAiStoredModelSelection as Vt, filterCortexAiCompatibleOpenRouterModels as Yt, getHttpStatusCode as Ht, isCortexAiFreeModelId as wt, isOpenRouterRateLimitError as Jt, isOpenRouterRecoverableRoutingError as zt, omitUnsupportedCortexAiModelOptions as qt, runWithCortexAiModelFallback as Qt, safeParseCortexAiModelSelection as jt, summarizeCortexAiRoutingError as Zt } from "./lib/ai-model-registry.es.js";
|
|
12
|
+
import { CORTEX_AI_SEO_METADATA_CONTENT_BUDGET as eo, CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS as to, cortexAiSeoMetadataOutputSchema as oo, extractJsonObject as ro, generateCortexAiSeoMetadata as ao, truncateOnWordBoundary as io } from "./lib/ai-seo-metadata.es.js";
|
|
13
|
+
import { CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH as no, CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY as Co, buildCortexAiVisionRoutingPolicy as So, generateCortexAiAltText as Eo, isKnownVisionCapableCortexAiModelId as _o, normalizeGeneratedAltText as uo } from "./lib/ai-vision.es.js";
|
|
14
|
+
import { availableCortexAiBlockTypes as lo, cortexAiBlockTypeSchema as To, customBlockSlugPatternSchema as mo, fallbackBlockSchemas as po, isValidBlockType as xo, loadCustomBlockDefinitions as Ro, readCustomBlockFields as Io, sectionBlockFallbackSchema as Ao, validateCortexBlockContent as Oo, validateCustomBlockInstanceContent as ho } from "./lib/block-content-schemas.es.js";
|
|
15
|
+
import { CORTEX_WIDGET_DEFINITION_SELECT as Mo, CortexWidgetRegistryInsertError as go, buildCortexWidgetDefinitionInsertPayload as No, insertCortexWidgetDefinition as Bo } from "./lib/cortex-widget-registry.es.js";
|
|
16
|
+
import { CORTEX_WIDGET_ALLOWED_RELATION_TABLES as Lo, buildCortexProfileCardVerificationDefinition as fo, buildCortexWidgetBuilderPrompt as Xo, buildCortexWidgetBuilderSystemPrompt as ko, cortexWidgetBuildRequestSchema as bo, cortexWidgetDbRelationFieldSchema as Fo, cortexWidgetDefinitionSchema as Uo, cortexWidgetFieldSchema as Ko, cortexWidgetImageR2FieldSchema as vo, cortexWidgetLayoutNodeSchema as Go, cortexWidgetRichTextFieldSchema as yo, cortexWidgetTextFieldSchema as Wo, validateCortexWidgetDefinitionOutput as Vo } from "./lib/cortex-widget-schema.es.js";
|
|
17
|
+
import { CORTEX_MCP_DEFAULT_PROTOCOL_VERSION as Ho, CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION as wo, CORTEX_MCP_MODERN_PROTOCOL_VERSION as Jo, CORTEX_MCP_SERVER_NAME as zo, CORTEX_MCP_SERVER_TITLE as qo, CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS as Qo, JSON_RPC_INTERNAL_ERROR as jo, JSON_RPC_INVALID_PARAMS as Zo, JSON_RPC_INVALID_REQUEST as $o, JSON_RPC_METHOD_NOT_FOUND as er, JSON_RPC_PARSE_ERROR as tr, handleCortexMcpMessage as or, isJsonRpcNotification as rr, isModernEraMessage as ar } from "./lib/mcp-server.es.js";
|
|
18
|
+
import { CORTEX_AI_MCP_SCOPES as cr, CORTEX_AI_MCP_SETTINGS_DEFAULTS as nr, CORTEX_AI_MCP_SETTINGS_KEY as Cr, CORTEX_AI_MCP_TOKENS_TABLE as Sr, CORTEX_AI_MCP_TOKEN_PREFIX as Er, hashCortexAiMcpToken as _r, isLocalhostHost as ur, mintCortexAiMcpToken as sr, normalizeCortexAiMcpSettings as lr, parseBearerToken as Tr, resolveCortexAiMcpSettings as mr, shouldTrustLocalMcpRequest as pr, touchCortexAiMcpToken as xr, verifyCortexAiMcpToken as Rr } from "./lib/mcp-tokens.es.js";
|
|
19
|
+
import { CORTEX_MCP_PROMPTS as Ar, CORTEX_MCP_RESOURCES as Or, CORTEX_MCP_TOOL_ALIASES as dr, CORTEX_MCP_TOOL_KINDS as hr, CortexMcpForbiddenToolError as Pr, CortexMcpUnknownToolError as Mr, assertCortexMcpToolCoverage as gr, buildCortexMcpToolDefinitions as Nr, callCortexMcpTool as Br, cortexMcpScopesAllow as Dr, getCortexMcpPrompt as Lr, getCortexMcpToolKind as fr, readCortexMcpResource as Xr, resolveCortexMcpToolName as kr } from "./lib/mcp-tool-registry.es.js";
|
|
20
|
+
import { CORTEX_AI_BUILD_SESSION_SETTING_KEY as Fr, CORTEX_AI_SITE_BRIEF_SETTING_KEY as Ur, cortexBuildSessionSchema as Kr, cortexSiteBriefInputSchema as vr, cortexSiteBriefSchema as Gr, formatCortexSiteBriefForPrompt as yr, isCortexBuildSessionUsable as Wr, safeParseCortexSiteBrief as Vr } from "./lib/site-brief.es.js";
|
|
18
21
|
import "./lib/zod-config.es.js";
|
|
19
|
-
import { z as
|
|
22
|
+
import { z as Hr } from "zod";
|
|
20
23
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
l as CORTEX_AI_AGENT_SETTINGS_BOUNDS,
|
|
25
|
+
T as CORTEX_AI_AGENT_SETTINGS_DEFAULTS,
|
|
23
26
|
m as CORTEX_AI_AGENT_SETTINGS_KEY,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
p as
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
Fr as CORTEX_AI_BUILD_SESSION_SETTING_KEY,
|
|
28
|
+
no as CORTEX_AI_DEFAULT_ALT_TEXT_MAX_LENGTH,
|
|
29
|
+
bt as CORTEX_AI_FREE_MODEL_FALLBACK_REGISTRY,
|
|
30
|
+
Mt as CORTEX_AI_KEY_ALGORITHM,
|
|
31
|
+
gt as CORTEX_AI_KEY_ENVELOPE_VERSION,
|
|
32
|
+
cr as CORTEX_AI_MCP_SCOPES,
|
|
33
|
+
nr as CORTEX_AI_MCP_SETTINGS_DEFAULTS,
|
|
34
|
+
Cr as CORTEX_AI_MCP_SETTINGS_KEY,
|
|
35
|
+
Sr as CORTEX_AI_MCP_TOKENS_TABLE,
|
|
36
|
+
Er as CORTEX_AI_MCP_TOKEN_PREFIX,
|
|
37
|
+
Ft as CORTEX_AI_MODEL_REGISTRY,
|
|
38
|
+
Ut as CORTEX_AI_OPENROUTER_BASE_URL,
|
|
39
|
+
Kt as CORTEX_AI_OPENROUTER_FREE_ROUTER_MODEL,
|
|
40
|
+
p as CORTEX_AI_OPENROUTER_MODEL_SELECTION_SETTING_KEY,
|
|
41
|
+
x as CORTEX_AI_OPENROUTER_SETTING_KEY,
|
|
42
|
+
R as CORTEX_AI_PACKAGE_ID,
|
|
43
|
+
I as CORTEX_AI_PACKAGE_NAME,
|
|
44
|
+
A as CORTEX_AI_PEXELS_SETTING_KEY,
|
|
45
|
+
vt as CORTEX_AI_REQUIRED_MODEL_PARAMETERS,
|
|
46
|
+
eo as CORTEX_AI_SEO_METADATA_CONTENT_BUDGET,
|
|
47
|
+
to as CORTEX_AI_SEO_METADATA_LENGTH_BUDGETS,
|
|
48
|
+
Ur as CORTEX_AI_SITE_BRIEF_SETTING_KEY,
|
|
49
|
+
O as CORTEX_AI_UNSPLASH_APP_NAME_SETTING_KEY,
|
|
45
50
|
d as CORTEX_AI_UNSPLASH_SETTING_KEY,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
Co as CORTEX_AI_VISION_MODEL_FALLBACK_REGISTRY,
|
|
52
|
+
Ho as CORTEX_MCP_DEFAULT_PROTOCOL_VERSION,
|
|
53
|
+
wo as CORTEX_MCP_LATEST_LEGACY_PROTOCOL_VERSION,
|
|
54
|
+
Jo as CORTEX_MCP_MODERN_PROTOCOL_VERSION,
|
|
55
|
+
Ar as CORTEX_MCP_PROMPTS,
|
|
56
|
+
Or as CORTEX_MCP_RESOURCES,
|
|
57
|
+
zo as CORTEX_MCP_SERVER_NAME,
|
|
58
|
+
qo as CORTEX_MCP_SERVER_TITLE,
|
|
59
|
+
Qo as CORTEX_MCP_SUPPORTED_PROTOCOL_VERSIONS,
|
|
60
|
+
dr as CORTEX_MCP_TOOL_ALIASES,
|
|
61
|
+
hr as CORTEX_MCP_TOOL_KINDS,
|
|
62
|
+
Lo as CORTEX_WIDGET_ALLOWED_RELATION_TABLES,
|
|
63
|
+
Mo as CORTEX_WIDGET_DEFINITION_SELECT,
|
|
64
|
+
Gt as CortexAiRoutingError,
|
|
65
|
+
Pr as CortexMcpForbiddenToolError,
|
|
66
|
+
Mr as CortexMcpUnknownToolError,
|
|
67
|
+
go as CortexWidgetRegistryInsertError,
|
|
63
68
|
r as INLINE_HTML_ASSISTANT_SYSTEM_PROMPT,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
69
|
+
jo as JSON_RPC_INTERNAL_ERROR,
|
|
70
|
+
Zo as JSON_RPC_INVALID_PARAMS,
|
|
71
|
+
$o as JSON_RPC_INVALID_REQUEST,
|
|
72
|
+
er as JSON_RPC_METHOD_NOT_FOUND,
|
|
73
|
+
tr as JSON_RPC_PARSE_ERROR,
|
|
74
|
+
re as NEXTBLOCK_SEED_MEDIA_OBJECT_KEYS,
|
|
75
|
+
ae as NEXTBLOCK_SEED_TRANSLATION_GROUP_IDS,
|
|
76
|
+
gr as assertCortexMcpToolCoverage,
|
|
77
|
+
lo as availableCortexAiBlockTypes,
|
|
78
|
+
yt as buildCortexAiModelFallbackChain,
|
|
79
|
+
Wt as buildCortexAiRoutingPolicy,
|
|
80
|
+
So as buildCortexAiVisionRoutingPolicy,
|
|
81
|
+
Nr as buildCortexMcpToolDefinitions,
|
|
82
|
+
fo as buildCortexProfileCardVerificationDefinition,
|
|
83
|
+
Xo as buildCortexWidgetBuilderPrompt,
|
|
84
|
+
ko as buildCortexWidgetBuilderSystemPrompt,
|
|
85
|
+
No as buildCortexWidgetDefinitionInsertPayload,
|
|
86
|
+
Oe as buildVisibleContactIntroActionPlan,
|
|
87
|
+
Br as callCortexMcpTool,
|
|
88
|
+
To as cortexAiBlockTypeSchema,
|
|
89
|
+
de as cortexAiPageContextSchema,
|
|
90
|
+
oo as cortexAiSeoMetadataOutputSchema,
|
|
91
|
+
Kr as cortexBuildSessionSchema,
|
|
92
|
+
Dr as cortexMcpScopesAllow,
|
|
93
|
+
vr as cortexSiteBriefInputSchema,
|
|
94
|
+
Gr as cortexSiteBriefSchema,
|
|
95
|
+
bo as cortexWidgetBuildRequestSchema,
|
|
96
|
+
Fo as cortexWidgetDbRelationFieldSchema,
|
|
97
|
+
Uo as cortexWidgetDefinitionSchema,
|
|
98
|
+
Ko as cortexWidgetFieldSchema,
|
|
99
|
+
vo as cortexWidgetImageR2FieldSchema,
|
|
100
|
+
Go as cortexWidgetLayoutNodeSchema,
|
|
101
|
+
yo as cortexWidgetRichTextFieldSchema,
|
|
102
|
+
Wo as cortexWidgetTextFieldSchema,
|
|
103
|
+
he as createCmsPageInputSchema,
|
|
104
|
+
Pe as createCmsPostInputSchema,
|
|
105
|
+
Me as createCmsProductInputSchema,
|
|
95
106
|
C as createCortexAiOpenRouterClient,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
S as createCortexAiOpenRouterProvider,
|
|
108
|
+
Vt as createCortexAiStoredModelSelection,
|
|
109
|
+
U as createCortexCustomBlockTools,
|
|
110
|
+
J as createCortexDatabaseAgentTools,
|
|
111
|
+
ge as createCortexGlobalAgentTools,
|
|
112
|
+
ie as createCortexSiteTools,
|
|
113
|
+
K as createCustomBlockInputSchema,
|
|
114
|
+
mo as customBlockSlugPatternSchema,
|
|
115
|
+
Nt as decryptOpenRouterApiKey,
|
|
116
|
+
h as decryptStoredOpenRouterApiKey,
|
|
117
|
+
Ne as deleteCmsItemInputSchema,
|
|
118
|
+
v as deleteCustomBlockInputSchema,
|
|
106
119
|
z as describeDatabaseSchemaInputSchema,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
Bt as encryptOpenRouterApiKey,
|
|
121
|
+
P as encryptStoredOpenRouterApiKey,
|
|
122
|
+
Be as executeCmsActionPlan,
|
|
123
|
+
De as executeCmsActionPlanInputSchema,
|
|
124
|
+
Le as executeCreateCmsPage,
|
|
125
|
+
fe as executeCreateCmsPost,
|
|
126
|
+
Xe as executeCreateCmsProduct,
|
|
127
|
+
G as executeCreateCustomBlock,
|
|
115
128
|
q as executeDatabaseActionPlan,
|
|
116
129
|
Q as executeDatabaseActionPlanInputSchema,
|
|
117
130
|
j as executeDatabaseMutation,
|
|
118
131
|
Z as executeDatabaseMutationInputSchema,
|
|
119
|
-
|
|
120
|
-
|
|
132
|
+
ke as executeDeleteCmsItem,
|
|
133
|
+
y as executeDeleteCustomBlock,
|
|
121
134
|
$ as executeDescribeDatabaseSchema,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
135
|
+
be as executeFetchEcommerceStats,
|
|
136
|
+
Fe as executeFetchUrlContent,
|
|
137
|
+
ce as executeFinishSiteBuild,
|
|
138
|
+
ne as executeGetSiteOverview,
|
|
139
|
+
Ue as executeInsertContentBlock,
|
|
125
140
|
W as executeListCustomBlocks,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
141
|
+
Ke as executeManageProductVariants,
|
|
142
|
+
ve as executePrepareDeleteCmsItem,
|
|
143
|
+
Ge as executePublishContentDraft,
|
|
144
|
+
ye as executeReadCurrentCmsItem,
|
|
130
145
|
ee as executeReadDatabaseRecords,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
146
|
+
Ce as executeResetSiteContent,
|
|
147
|
+
We as executeRewritePageDraft,
|
|
148
|
+
Se as executeSaveSiteBrief,
|
|
149
|
+
Ve as executeSearchDocumentation,
|
|
150
|
+
Ye as executeSearchDocumentationWithTimeout,
|
|
151
|
+
He as executeSearchStockPhotos,
|
|
152
|
+
we as executeSetContentImages,
|
|
153
|
+
Ee as executeStartSiteBuild,
|
|
154
|
+
Je as executeTranslateContentBulk,
|
|
155
|
+
ze as executeTranslatePage,
|
|
156
|
+
qe as executeUpdateCmsItemField,
|
|
157
|
+
Qe as executeUpdateContentBlock,
|
|
158
|
+
je as executeUpdateCurrentCmsFields,
|
|
141
159
|
V as executeUpdateCustomBlock,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
160
|
+
Ze as executeUpdateFooter,
|
|
161
|
+
$e as executeUpdateNavigationBar,
|
|
162
|
+
et as executeUpdateSectionColumnBlock,
|
|
163
|
+
_e as executeUpdateSiteIdentity,
|
|
164
|
+
ro as extractJsonObject,
|
|
165
|
+
po as fallbackBlockSchemas,
|
|
166
|
+
tt as fetchEcommerceStatsInputSchema,
|
|
167
|
+
ot as fetchUrlContentInputSchema,
|
|
168
|
+
Yt as filterCortexAiCompatibleOpenRouterModels,
|
|
169
|
+
ue as finishSiteBuildInputSchema,
|
|
170
|
+
yr as formatCortexSiteBriefForPrompt,
|
|
171
|
+
Eo as generateCortexAiAltText,
|
|
172
|
+
ao as generateCortexAiSeoMetadata,
|
|
173
|
+
E as generateCortexAiText,
|
|
174
|
+
b as generateCortexWidgetDefinition,
|
|
153
175
|
a as generateEditorBlocksRequestSchema,
|
|
154
|
-
|
|
176
|
+
i as generateEditorHtmlFragment,
|
|
155
177
|
M as getCortexAiEnvConfig,
|
|
156
|
-
|
|
157
|
-
|
|
178
|
+
Lr as getCortexMcpPrompt,
|
|
179
|
+
fr as getCortexMcpToolKind,
|
|
158
180
|
g as getEnvOpenRouterKeyStatus,
|
|
159
|
-
|
|
160
|
-
|
|
181
|
+
Ht as getHttpStatusCode,
|
|
182
|
+
Dt as getMaskedOpenRouterKey,
|
|
161
183
|
N as getOpenRouterEnvApiKey,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
184
|
+
Lt as getOpenRouterKeyEnvelopeStatus,
|
|
185
|
+
B as getPexelsEnvApiKey,
|
|
186
|
+
se as getSiteOverviewInputSchema,
|
|
187
|
+
_ as getStoredCortexAiModelSelection,
|
|
188
|
+
D as getStoredOpenRouterKeyStatus,
|
|
189
|
+
L as getUnsplashEnvApiKey,
|
|
190
|
+
or as handleCortexMcpMessage,
|
|
191
|
+
_r as hashCortexAiMcpToken,
|
|
192
|
+
rt as insertContentBlockInputSchema,
|
|
193
|
+
Bo as insertCortexWidgetDefinition,
|
|
194
|
+
at as isBlockedFetchHost,
|
|
195
|
+
wt as isCortexAiFreeModelId,
|
|
196
|
+
Wr as isCortexBuildSessionUsable,
|
|
197
|
+
rr as isJsonRpcNotification,
|
|
198
|
+
_o as isKnownVisionCapableCortexAiModelId,
|
|
199
|
+
ur as isLocalhostHost,
|
|
200
|
+
ar as isModernEraMessage,
|
|
201
|
+
Jt as isOpenRouterRateLimitError,
|
|
202
|
+
zt as isOpenRouterRecoverableRoutingError,
|
|
203
|
+
xo as isValidBlockType,
|
|
204
|
+
Xt as listCortexAiCompatibleOpenRouterModels,
|
|
180
205
|
Y as listCustomBlocksInputSchema,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
206
|
+
Ro as loadCustomBlockDefinitions,
|
|
207
|
+
it as manageProductVariantsInputSchema,
|
|
208
|
+
ct as maybeTriggerStockPhotoDownloads,
|
|
209
|
+
sr as mintCortexAiMcpToken,
|
|
210
|
+
nt as navigationItemInputSchema,
|
|
185
211
|
f as normalizeCortexAiAgentSettings,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
212
|
+
lr as normalizeCortexAiMcpSettings,
|
|
213
|
+
uo as normalizeGeneratedAltText,
|
|
214
|
+
qt as omitUnsupportedCortexAiModelOptions,
|
|
215
|
+
Tr as parseBearerToken,
|
|
216
|
+
Ct as prepareDeleteCmsItemInputSchema,
|
|
217
|
+
St as publishContentDraftInputSchema,
|
|
218
|
+
le as readCortexBuildSession,
|
|
219
|
+
Xr as readCortexMcpResource,
|
|
220
|
+
Te as readCortexSiteBrief,
|
|
221
|
+
Et as readCurrentCmsItemInputSchema,
|
|
222
|
+
Io as readCustomBlockFields,
|
|
194
223
|
te as readDatabaseRecordsInputSchema,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
me as resetSiteContentInputSchema,
|
|
225
|
+
X as resolveCortexAiAgentSettings,
|
|
226
|
+
mr as resolveCortexAiMcpSettings,
|
|
227
|
+
u as resolveCortexAiOpenRouterCredential,
|
|
228
|
+
_t as resolveCortexAiStockPhotoProvider,
|
|
229
|
+
ut as resolveCortexAiStockPhotoProviders,
|
|
230
|
+
pe as resolveCortexBuildSession,
|
|
231
|
+
kr as resolveCortexMcpToolName,
|
|
232
|
+
st as rewritePageDraftInputSchema,
|
|
233
|
+
Qt as runWithCortexAiModelFallback,
|
|
234
|
+
jt as safeParseCortexAiModelSelection,
|
|
235
|
+
Vr as safeParseCortexSiteBrief,
|
|
236
|
+
xe as saveSiteBriefInputSchema,
|
|
237
|
+
lt as searchDocumentationInputSchema,
|
|
238
|
+
Tt as searchStockPhotosInputSchema,
|
|
239
|
+
Ao as sectionBlockFallbackSchema,
|
|
240
|
+
mt as setContentImagesInputSchema,
|
|
241
|
+
pr as shouldTrustLocalMcpRequest,
|
|
242
|
+
Re as startSiteBuildInputSchema,
|
|
243
|
+
Zt as summarizeCortexAiRoutingError,
|
|
244
|
+
xr as touchCortexAiMcpToken,
|
|
245
|
+
pt as translateContentBulkInputSchema,
|
|
246
|
+
xt as translatePageInputSchema,
|
|
247
|
+
io as truncateOnWordBoundary,
|
|
248
|
+
Rt as updateCmsItemFieldInputSchema,
|
|
249
|
+
It as updateContentBlockInputSchema,
|
|
250
|
+
At as updateCurrentCmsFieldsInputSchema,
|
|
216
251
|
H as updateCustomBlockInputSchema,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
252
|
+
Ot as updateFooterInputSchema,
|
|
253
|
+
dt as updateNavigationBarInputSchema,
|
|
254
|
+
ht as updateSectionColumnBlockInputSchema,
|
|
255
|
+
Ie as updateSiteIdentityInputSchema,
|
|
256
|
+
Oo as validateCortexBlockContent,
|
|
257
|
+
Vo as validateCortexWidgetDefinitionOutput,
|
|
258
|
+
ho as validateCustomBlockInstanceContent,
|
|
221
259
|
c as validateGeneratedEditorHtmlFragment,
|
|
222
|
-
|
|
223
|
-
|
|
260
|
+
Rr as verifyCortexAiMcpToken,
|
|
261
|
+
Hr as z
|
|
224
262
|
};
|