Revert "fix: remove redudant export for client plugin"

This reverts commit 48b259100b9cfe2e372eb9fe0924a783988f5a8e.
This commit is contained in:
imccyu
2026-07-22 18:26:48 +08:00
parent 0bd7dbc6b5
commit b649304fe4
18 changed files with 60 additions and 54 deletions

View File

@@ -10,7 +10,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import { act, cleanup, render } from '@testing-library/react'
import { createSnapshotStore } from '@deepseek-ai/dsh-client-web-react'
import { AppFrame, CenterColumn, DetailsColumn, type PanelState } from '@deepseek-ai/dsh-client-ui-layout/client'
import { clampWidth } from '@deepseek-ai/dsh-client-ui-layout/src/client/columns.ts'
import { clampWidth } from '@deepseek-ai/dsh-client-ui-layout/client'
/** Observer stub: captures the callback so tests can fire resizes manually. */
let fireResize: (() => void) | null = null

View File

@@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest'
import {
CENTER_MIN, clampWidth, computeColumns,
DETAILS_DEFAULT, DETAILS_MIN, SIDEBAR_DEFAULT, SIDEBAR_MIN,
} from '@deepseek-ai/dsh-client-ui-layout/src/client/columns.ts'
} from '@deepseek-ai/dsh-client-ui-layout/client'
const open = (width: number) => ({ open: true, width })
const closed = (width: number) => ({ open: false, width })

View File

@@ -9,8 +9,7 @@ import { beforeEach, describe, expect, it } from 'vitest'
import type { Context } from 'cordis'
import { createSnapshotStore } from '@deepseek-ai/dsh-client-web-react'
import type { SessionId, SessionListState } from '@deepseek-ai/dsh-client-runtime/client'
import { LayoutService } from '@deepseek-ai/dsh-client-ui-layout/client'
import { DETAILS_DEFAULT, SIDEBAR_DEFAULT } from '@deepseek-ai/dsh-client-ui-layout/src/client/columns.ts'
import { LayoutService, DETAILS_DEFAULT, SIDEBAR_DEFAULT } from '@deepseek-ai/dsh-client-ui-layout/client'
function makeCtx() {
const list = createSnapshotStore<SessionListState>({ ids: [], byId: {} })