🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(portal): import workspace HTML helpers from the html-artifact package (#19439)
Innei5cf0b0440814
diff --git a/src/features/Portal/LocalFile/useBlockedWorkspaceHtmlPublish.ts b/src/features/Portal/LocalFile/useBlockedWorkspaceHtmlPublish.tsindex 974f2bc6a71..33f6bcad165 100644--- a/src/features/Portal/LocalFile/useBlockedWorkspaceHtmlPublish.ts+++ b/src/features/Portal/LocalFile/useBlockedWorkspaceHtmlPublish.ts@@ -1,4 +1,9 @@-import type { GatheredWorkspaceHtmlResource } from '@lobechat/html-artifact';+import {+ type GatheredWorkspaceHtmlResource,+ isPathInsideWorkspace,+ type WorkspaceHtmlArtifactPublisher,+ type WorkspaceHtmlArtifactPublishResult,+} from '@lobechat/html-artifact';import { confirmModal, toast } from '@lobehub/ui/base-ui';import debug from 'debug';import { useEffect, useRef, useState } from 'react';@@ -13,11 +18,6 @@ import {type WorkspaceHtmlPublishPlan,} from './prepareWorkspaceHtmlPublish';import { openWorkspaceHtmlPublishConfirm } from './PublishHtmlArtifactConfirm';-import type {- WorkspaceHtmlArtifactPublisher,- WorkspaceHtmlArtifactPublishResult,-} from './workspaceHtmlArtifact';-import { isPathInsideWorkspace } from './workspaceHtmlPath';type OutsideWorkspacePlan = Extract<WorkspaceHtmlPublishPlan, { blocked: 'outside-workspace' }>;type ResourceSource = 'nested' | 'workspace';