Skip to content

🤯 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.

🔥 chore: drop the workspace HTML re-export shims (#19414)

Innei81ad58552268
diff --git a/src/features/Portal/LocalFile/publishWorkspaceHtmlArtifact.ts b/src/features/Portal/LocalFile/publishWorkspaceHtmlArtifact.ts
deleted file mode 100644
index feca49b328c..00000000000
--- a/src/features/Portal/LocalFile/publishWorkspaceHtmlArtifact.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * Moved to `@lobechat/html-artifact`. Kept as a re-export because the closed
- * business overlay still imports this path; delete once that side migrates.
- */
-export type { PublishWorkspaceHtmlSiteParams } from '@lobechat/html-artifact';
-export { publishWorkspaceHtmlArtifact, wrapWorkspaceHtmlArtifact } from '@lobechat/html-artifact';
diff --git a/src/features/Portal/LocalFile/workspaceHtmlArtifact.ts b/src/features/Portal/LocalFile/workspaceHtmlArtifact.ts
deleted file mode 100644
index 2df941a0ce1..00000000000
--- a/src/features/Portal/LocalFile/workspaceHtmlArtifact.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Moved to `@lobechat/html-artifact`. Kept as a re-export because the closed
- * business overlay still imports this path; delete once that side migrates.
- */
-export type {
- WorkspaceHtmlArtifactExisting,
- WorkspaceHtmlArtifactFile,
- WorkspaceHtmlArtifactPublisher,
- WorkspaceHtmlArtifactPublishInput,
- WorkspaceHtmlArtifactPublishResult,
-} from '@lobechat/html-artifact';
diff --git a/src/features/Portal/LocalFile/workspaceHtmlPath.ts b/src/features/Portal/LocalFile/workspaceHtmlPath.ts
deleted file mode 100644
index 9922accf40c..00000000000
--- a/src/features/Portal/LocalFile/workspaceHtmlPath.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * Moved to `@lobechat/html-artifact`. Kept as a re-export because the closed
- * business overlay still imports this path; delete once that side migrates.
- */
-export {
- createWorkspaceHtmlArtifactIdentifier,
- isPathInsideWorkspace,
- lowestCommonAncestorDirectory,
- parentDirectory,
- resolveLocalResourceHref,
- toWorkspaceAbsolutePath,
- toWorkspaceRelativePath,
- workspaceHtmlArtifactIdentifierForFile,
-} from '@lobechat/html-artifact';