refactor(client): name one assembly package for the carrier types
A business package imported the Remote assembly for `ctx.remote` and the Connection plugin for the wire types it passes around. The assembly now re-exports the carrier's Client-facing types, so a business package names one package. The re-export is type-only: the carrier's runtime values keep their own module edge, since inlining them here would duplicate the carrier inside the assembly bundle. Four surfaces that had no Remote assembly dependency declare one now.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
* before-the-fact, while the header only reports what a session already runs.
|
* before-the-fact, while the header only reports what a session already runs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type { ConnectionHandle } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ConnectionHandle } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
||||||
import type {} from '@deepseek-ai/dsh-client-locale/client'
|
import type {} from '@deepseek-ai/dsh-client-locale/client'
|
||||||
// Type-only: pulls the ctx.remote merge and the forwarded-event key face
|
// Type-only: pulls the ctx.remote merge and the forwarded-event key face
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
* deployment default again, matching the workspace picker beside it.
|
* deployment default again, matching the workspace picker beside it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
createSnapshotStore, type SessionId, type SnapshotStore,
|
createSnapshotStore, type SessionId, type SnapshotStore,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* more than the row it targeted.
|
* more than the row it targeted.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { beginRosterRead, messageOf, writeDefaultPreset } from './settings-store.ts'
|
import { beginRosterRead, messageOf, writeDefaultPreset } from './settings-store.ts'
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* namespace's `default` field, which is what the host resolves at creation.
|
* namespace's `default` field, which is what the host resolves at creation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
|
|
||||||
/** The agent-preset settings namespace on the host wire. */
|
/** The agent-preset settings namespace on the host wire. */
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { AgentPresetSectionController, draftBlocker } from '../src/client/section-store.ts'
|
import { AgentPresetSectionController, draftBlocker } from '../src/client/section-store.ts'
|
||||||
import type { CopyDraft, PresetRow } from '../src/client/section-store.ts'
|
import type { CopyDraft, PresetRow } from '../src/client/section-store.ts'
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
AGENT_PRESET_SETTINGS_NS, AgentPresetSettingsController, messageOf,
|
AGENT_PRESET_SETTINGS_NS, AgentPresetSettingsController, messageOf,
|
||||||
} from '../src/client/settings-store.ts'
|
} from '../src/client/settings-store.ts'
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
|
||||||
"path": "../connection"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../locale"
|
"path": "../locale"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,7 +57,6 @@
|
|||||||
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -74,7 +73,6 @@
|
|||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@types/react": "~18.3.1",
|
"@types/react": "~18.3.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import {
|
|||||||
type KeyboardEvent, type FocusEvent,
|
type KeyboardEvent, type FocusEvent,
|
||||||
} from 'react'
|
} from 'react'
|
||||||
import clsx from 'clsx'
|
import clsx from 'clsx'
|
||||||
import type { ModelReasoningEffort, ModelSelection } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ModelReasoningEffort, ModelSelection } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
IconCheckOutline16, IconChevronDownOutline14, IconChevronRightOutline14,
|
IconCheckOutline16, IconChevronDownOutline14, IconChevronRightOutline14,
|
||||||
IconWarningOutline16, Toast,
|
IconWarningOutline16, Toast,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
import type {
|
import type {
|
||||||
IApiClient, ModelCatalogFailure, ModelProviderGroup, ModelSelection, SessionId, SessionModels,
|
IApiClient, ModelCatalogFailure, ModelProviderGroup, ModelSelection, SessionId, SessionModels,
|
||||||
} from '@deepseek-ai/dsh-client-connection/client'
|
} from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,8 @@
|
|||||||
* neither entry because those Agent-bound RPCs would activate persisted
|
* neither entry because those Agent-bound RPCs would activate persisted
|
||||||
* history outside the direct-parent continuation path.
|
* history outside the direct-parent continuation path.
|
||||||
*/
|
*/
|
||||||
import type { ModelSelection, SessionModels } from '@deepseek-ai/dsh-client-connection/client'
|
// Type-only: the carrier types, the forwarded Host-event face and the ctx.remote merge.
|
||||||
// Type-only: pulls the forwarded Host-event face and ctx.remote merge.
|
import type { ModelSelection, SessionModels } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type {} from '@deepseek-ai/dsh-api-remotes/client'
|
|
||||||
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { CommandServiceContract, SelectOption } from '@deepseek-ai/dsh-client-ui-command/client'
|
import type { CommandServiceContract, SelectOption } from '@deepseek-ai/dsh-client-ui-command/client'
|
||||||
// Type-only: pulls the ui-conversation SlotMap merge (the input.model seat).
|
// Type-only: pulls the ui-conversation SlotMap merge (the input.model seat).
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
import { Service } from '@deepseek-ai/cordis'
|
import { Service } from '@deepseek-ai/cordis'
|
||||||
import type { Context } from '@deepseek-ai/cordis'
|
import type { Context } from '@deepseek-ai/cordis'
|
||||||
import type { ConnectionHandle, SessionId } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ConnectionHandle, SessionId } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SessionsService } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SessionsService } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { ModelDirectory } from './directory.ts'
|
import { ModelDirectory } from './directory.ts'
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* entry; this package only contributes the single occupant, so no SlotMap
|
* entry; this package only contributes the single occupant, so no SlotMap
|
||||||
* merge lives here.
|
* merge lives here.
|
||||||
*/
|
*/
|
||||||
import type { ModelSelection } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ModelSelection } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ModelDirectoryState } from './directory.ts'
|
import type { ModelDirectoryState } from './directory.ts'
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import { createScope } from '@deepseek-ai/dsh-client-runtime/client'
|
|||||||
import type { SessionId } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SessionId } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { LocaleService } from '@deepseek-ai/dsh-client-locale/client'
|
import { LocaleService } from '@deepseek-ai/dsh-client-locale/client'
|
||||||
import { TestRemote } from '@deepseek-ai/dsh-client-test-runtime'
|
import { TestRemote } from '@deepseek-ai/dsh-client-test-runtime'
|
||||||
import type { ModelSelection } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ModelSelection } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { CommandContribution, SelectOption } from '@deepseek-ai/dsh-client-ui-command/client'
|
import type { CommandContribution, SelectOption } from '@deepseek-ai/dsh-client-ui-command/client'
|
||||||
import type { ModelSelectInjected } from '../src/client/slots.ts'
|
import type { ModelSelectInjected } from '../src/client/slots.ts'
|
||||||
import { apply, inject } from '../src/client/index.ts'
|
import { apply, inject } from '../src/client/index.ts'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// @vitest-environment jsdom
|
// @vitest-environment jsdom
|
||||||
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
import type { ModelSelection } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ModelSelection } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ComponentProps } from 'react'
|
import type { ComponentProps } from 'react'
|
||||||
import type { ModelDirectoryState } from '../src/client/directory.ts'
|
import type { ModelDirectoryState } from '../src/client/directory.ts'
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
"path": "../../../vendor/cordis"
|
"path": "../../api/remotes/tsconfig.client.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../connection"
|
"path": "../../../vendor/cordis"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../locale"
|
"path": "../locale"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import type { ReactNode } from 'react'
|
import type { ReactNode } from 'react'
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { apiKeyFailure } from './apiKey.ts'
|
import { apiKeyFailure } from './apiKey.ts'
|
||||||
import { EditorFooter } from './EditorFooter.tsx'
|
import { EditorFooter } from './EditorFooter.tsx'
|
||||||
import { validateDeepSeekModels } from './DeepSeekModelsEditor.tsx'
|
import { validateDeepSeekModels } from './DeepSeekModelsEditor.tsx'
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import type { ReactNode } from 'react'
|
import type { ReactNode } from 'react'
|
||||||
import type { DiscoveredModelView, IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { DiscoveredModelView, IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { Button, Modal } from '@deepseek-ai/dsh-client-ui-primitives'
|
import { Button, Modal } from '@deepseek-ai/dsh-client-ui-primitives'
|
||||||
import { formatCapacity, parseCapacity } from './DeepSeekModelsEditor.tsx'
|
import { formatCapacity, parseCapacity } from './DeepSeekModelsEditor.tsx'
|
||||||
import type { DeepSeekModelDraft } from './DeepSeekModelsEditor.tsx'
|
import type { DeepSeekModelDraft } from './DeepSeekModelsEditor.tsx'
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import type { ReactNode } from 'react'
|
import type { ReactNode } from 'react'
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { Button, IconPlusOutline16, Modal } from '@deepseek-ai/dsh-client-ui-primitives'
|
import { Button, IconPlusOutline16, Modal } from '@deepseek-ai/dsh-client-ui-primitives'
|
||||||
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-web-react'
|
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import { CustomProviderCard } from './CustomProviderCard.tsx'
|
import { CustomProviderCard } from './CustomProviderCard.tsx'
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
import { useEffect, useMemo, useState } from 'react'
|
import { useEffect, useMemo, useState } from 'react'
|
||||||
import type { ReactNode } from 'react'
|
import type { ReactNode } from 'react'
|
||||||
import type { CredentialView, IApiClient, SettingsNamespaceView, SettingsPathOpView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { CredentialView, IApiClient, SettingsNamespaceView, SettingsPathOpView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
deletePath, getPath, hasPath, nodeAtPath, rehydrateSchema, setPath, validateDraft,
|
deletePath, getPath, hasPath, nodeAtPath, rehydrateSchema, setPath, validateDraft,
|
||||||
} from '@deepseek-ai/dsh-client-schema-form'
|
} from '@deepseek-ai/dsh-client-schema-form'
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
* packages/client/AGENTS.md.
|
* packages/client/AGENTS.md.
|
||||||
*/
|
*/
|
||||||
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ConnectionHandle } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ConnectionHandle } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
// Type-only: pulls the shell's SlotMap merge (the 'settings.section' entry).
|
// Type-only: pulls the shell's SlotMap merge (the 'settings.section' entry).
|
||||||
import type {} from '@deepseek-ai/dsh-client-ui-settings/client'
|
import type {} from '@deepseek-ai/dsh-client-ui-settings/client'
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import type {
|
import type {
|
||||||
ConfigurableProviderView, CredentialView, IApiClient, SettingsNamespaceView,
|
ConfigurableProviderView, CredentialView, IApiClient, SettingsNamespaceView,
|
||||||
} from '@deepseek-ai/dsh-client-connection/client'
|
} from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { getPath, hasPath, nodeAtPath, rehydrateSchema } from '@deepseek-ai/dsh-client-schema-form'
|
import { getPath, hasPath, nodeAtPath, rehydrateSchema } from '@deepseek-ai/dsh-client-schema-form'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { act, cleanup, fireEvent, render, screen, waitFor, within } from '@testi
|
|||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
import Schema from '@deepseek-ai/schemastery'
|
import Schema from '@deepseek-ai/schemastery'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
ModelsSection, needsSetup, providerCopy, providerTargetLabel, removeProviderProfile,
|
ModelsSection, needsSetup, providerCopy, providerTargetLabel, removeProviderProfile,
|
||||||
} from '../src/client/ModelsSection.tsx'
|
} from '../src/client/ModelsSection.tsx'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/** First-run DeepSeek prompt behavior over the shared Models join. */
|
/** First-run DeepSeek prompt behavior over the shared Models join. */
|
||||||
import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
import type { RpcResponse } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import { DeepSeekOnboardingDialog } from '../src/client/DeepSeekOnboardingDialog.tsx'
|
import { DeepSeekOnboardingDialog } from '../src/client/DeepSeekOnboardingDialog.tsx'
|
||||||
import type { DeepSeekOnboardingDialogProps } from '../src/client/DeepSeekOnboardingDialog.tsx'
|
import type { DeepSeekOnboardingDialogProps } from '../src/client/DeepSeekOnboardingDialog.tsx'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/re
|
|||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
import Schema from '@deepseek-ai/schemastery'
|
import Schema from '@deepseek-ai/schemastery'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { ModelsSection, providerCopy } from '../src/client/ModelsSection.tsx'
|
import { ModelsSection, providerCopy } from '../src/client/ModelsSection.tsx'
|
||||||
import type { ModelsSectionInjected } from '../src/client/ModelsSection.tsx'
|
import type { ModelsSectionInjected } from '../src/client/ModelsSection.tsx'
|
||||||
import { CustomProviderCard } from '../src/client/CustomProviderCard.tsx'
|
import { CustomProviderCard } from '../src/client/CustomProviderCard.tsx'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/** Pure official-DeepSeek readiness projection over the shared Models join. */
|
/** Pure official-DeepSeek readiness projection over the shared Models join. */
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import type { CredentialView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { CredentialView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { ModelsSettingsState, ProviderRow } from '../src/client/store.ts'
|
import type { ModelsSettingsState, ProviderRow } from '../src/client/store.ts'
|
||||||
import { deepSeekReadiness } from '../src/client/store.ts'
|
import { deepSeekReadiness } from '../src/client/store.ts'
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/** Page-store join: directory × namespaces × credentials, with last-good rows on failure. */
|
/** Page-store join: directory × namespaces × credentials, with last-good rows on failure. */
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import type { RpcResponse } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { messageOf, ModelsSettingsStore } from '../src/client/store.ts'
|
import { messageOf, ModelsSettingsStore } from '../src/client/store.ts'
|
||||||
|
|
||||||
let nextRpc = 0
|
let nextRpc = 0
|
||||||
|
|||||||
@@ -17,9 +17,6 @@
|
|||||||
{
|
{
|
||||||
"path": "../runtime"
|
"path": "../runtime"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "../connection"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../schema-form"
|
"path": "../schema-form"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
* The General-settings row separately writes the default preset for sessions
|
* The General-settings row separately writes the default preset for sessions
|
||||||
* created later through the host Settings API.
|
* created later through the host Settings API.
|
||||||
*/
|
*/
|
||||||
import type { ConnectionHandle } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ConnectionHandle } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
||||||
import type {} from '@deepseek-ai/dsh-client-locale/client'
|
import type {} from '@deepseek-ai/dsh-client-locale/client'
|
||||||
// Type-only: the settings slot types (this package registers a General row).
|
// Type-only: the settings slot types (this package registers a General row).
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
import type {
|
import type {
|
||||||
IApiClient, SettingsNamespaceView,
|
IApiClient, SettingsNamespaceView,
|
||||||
} from '@deepseek-ai/dsh-client-connection/client'
|
} from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
createSnapshotStore, type SnapshotStore,
|
createSnapshotStore, type SnapshotStore,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||||
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import type { SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { PermissionRow, type PermissionRowProps } from '../src/client/PermissionRow.tsx'
|
import { PermissionRow, type PermissionRowProps } from '../src/client/PermissionRow.tsx'
|
||||||
import { en } from '../src/client/locales.ts'
|
import { en } from '../src/client/locales.ts'
|
||||||
import { PermissionSettingsController } from '../src/client/settings-store.ts'
|
import { PermissionSettingsController } from '../src/client/settings-store.ts'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { describe, expect, it, vi } from 'vitest'
|
import { describe, expect, it, vi } from 'vitest'
|
||||||
import type { SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import {
|
import {
|
||||||
PermissionSettingsController, permissionDefaultOf, refreshPermissionIfLoaded,
|
PermissionSettingsController, permissionDefaultOf, refreshPermissionIfLoaded,
|
||||||
} from '../src/client/settings-store.ts'
|
} from '../src/client/settings-store.ts'
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
|
||||||
"path": "../connection"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../locale"
|
"path": "../locale"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -53,19 +53,21 @@
|
|||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^"
|
||||||
"@deepseek-ai/cordis": "workspace:^"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
"@deepseek-ai/dsh-agent": "workspace:^",
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@deepseek-ai/dsh-system-prompt": "workspace:^",
|
"@deepseek-ai/dsh-system-prompt": "workspace:^",
|
||||||
"@deepseek-ai/dsh-tools": "workspace:^",
|
"@deepseek-ai/dsh-tools": "workspace:^",
|
||||||
"@deepseek-ai/dsh-user-interaction": "workspace:^",
|
"@deepseek-ai/dsh-user-interaction": "workspace:^",
|
||||||
"@types/react": "~18.3.1",
|
"@types/react": "~18.3.1"
|
||||||
"@deepseek-ai/cordis": "workspace:^"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib/index.js",
|
"lib/index.js",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots
|
|||||||
// entry) into every program that sees this contract, so PropsRuntime resolves.
|
// entry) into every program that sees this contract, so PropsRuntime resolves.
|
||||||
import type {} from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type {} from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import type { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { QuestionResponsePayload } from '@deepseek-ai/dsh-client-connection/client'
|
import type { QuestionResponsePayload } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
|
|
||||||
/** The pending question carrier the owner dispatches into the composer slot. */
|
/** The pending question carrier the owner dispatches into the composer slot. */
|
||||||
export type QuestionWait = PendingWait<'question'>
|
export type QuestionWait = PendingWait<'question'>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import type {
|
|||||||
ConversationSnapshot, SessionId, SessionListState, WorkspaceListState,
|
ConversationSnapshot, SessionId, SessionListState, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
import { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { RpcReceipt } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcReceipt } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { RpcId } from '@deepseek-ai/dsh-client-connection/client'
|
import { RpcId } from '@deepseek-ai/dsh-client-connection/client'
|
||||||
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots'
|
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots'
|
||||||
import { planReviewOf, type QuestionComposerProps, type QuestionWait } from '../src/client/contract/slots.ts'
|
import { planReviewOf, type QuestionComposerProps, type QuestionWait } from '../src/client/contract/slots.ts'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import type {
|
|||||||
ConversationSnapshot, SessionId, SessionListState, WorkspaceListState,
|
ConversationSnapshot, SessionId, SessionListState, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
import { PendingWait } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { RpcReceipt } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcReceipt } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { RpcId } from '@deepseek-ai/dsh-client-connection/client'
|
import { RpcId } from '@deepseek-ai/dsh-client-connection/client'
|
||||||
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots'
|
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots'
|
||||||
import { PendingQuestion, type QuestionComposerProps } from '../src/client/contract/slots.ts'
|
import { PendingQuestion, type QuestionComposerProps } from '../src/client/contract/slots.ts'
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
"path": "../../../vendor/cordis"
|
"path": "../../api/remotes/tsconfig.client.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../connection"
|
"path": "../../../vendor/cordis"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../locale"
|
"path": "../locale"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* Export discipline: packages/client/AGENTS.md.
|
* Export discipline: packages/client/AGENTS.md.
|
||||||
*/
|
*/
|
||||||
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ConnectionHandle } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ConnectionHandle } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { resolveSlotLabel } from '@deepseek-ai/dsh-client-ui-slots'
|
import { resolveSlotLabel } from '@deepseek-ai/dsh-client-ui-slots'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
// Type-only: the settings slot declarations plus the ctx.settingsScope Context
|
// Type-only: the settings slot declarations plus the ctx.settingsScope Context
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/** State owner for the optional local settings-document action. */
|
/** State owner for the optional local settings-document action. */
|
||||||
|
|
||||||
import type { IApiClient } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore, type SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
|
|
||||||
/** Browser state of the Host-owned settings document. */
|
/** Browser state of the Host-owned settings document. */
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/** Welcome-notice state, durable when the browser may use Host settings. */
|
/** Welcome-notice state, durable when the browser may use Host settings. */
|
||||||
|
|
||||||
import type { IApiClient, SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { IApiClient, SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
import { createSnapshotStore } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { describe, expect, it, vi } from 'vitest'
|
import { describe, expect, it, vi } from 'vitest'
|
||||||
import type { RpcResponse } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { SettingsDocumentStore } from '../src/client/settings-document-store.ts'
|
import { SettingsDocumentStore } from '../src/client/settings-document-store.ts'
|
||||||
|
|
||||||
function response(hasDocument = false): RpcResponse<{
|
function response(hasDocument = false): RpcResponse<{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { describe, expect, it, vi } from 'vitest'
|
import { describe, expect, it, vi } from 'vitest'
|
||||||
import type { RpcResponse } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { WelcomeNoticeStore } from '../src/client/welcome-store.ts'
|
import { WelcomeNoticeStore } from '../src/client/welcome-store.ts'
|
||||||
import { refreshWelcomeIfLoaded } from '../src/client/welcome-store.ts'
|
import { refreshWelcomeIfLoaded } from '../src/client/welcome-store.ts'
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -14,9 +14,6 @@
|
|||||||
{
|
{
|
||||||
"path": "../ui-slots"
|
"path": "../ui-slots"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "../connection"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../ui-primitives"
|
"path": "../ui-primitives"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
"@deepseek-ai/dsh-api-gateway": "workspace:^",
|
|
||||||
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
@@ -58,7 +57,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
"@deepseek-ai/dsh-api-gateway": "workspace:^",
|
|
||||||
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { Service } from '@deepseek-ai/cordis'
|
|||||||
import type { Context } from '@deepseek-ai/cordis'
|
import type { Context } from '@deepseek-ai/cordis'
|
||||||
import type {
|
import type {
|
||||||
ConnectionHandle, IApiClient, SettingsNamespaceView, SettingsPathOpView,
|
ConnectionHandle, IApiClient, SettingsNamespaceView, SettingsPathOpView,
|
||||||
} from '@deepseek-ai/dsh-client-connection/client'
|
} from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { rehydrateSchema, validateDraft } from '@deepseek-ai/dsh-client-schema-form'
|
import { rehydrateSchema, validateDraft } from '@deepseek-ai/dsh-client-schema-form'
|
||||||
import {
|
import {
|
||||||
createSnapshotStore, type SettingsScope, type SettingsScopeSnapshot,
|
createSnapshotStore, type SettingsScope, type SettingsScopeSnapshot,
|
||||||
@@ -24,7 +24,7 @@ import {
|
|||||||
// `$on` and its key face without dragging a build artifact in. The runtime
|
// `$on` and its key face without dragging a build artifact in. The runtime
|
||||||
// `remote` injection belongs to whoever calls bindSettingsScope: the
|
// `remote` injection belongs to whoever calls bindSettingsScope: the
|
||||||
// subscription is registered on the caller's own context.
|
// subscription is registered on the caller's own context.
|
||||||
import type {} from '@deepseek-ai/dsh-api-gateway/client'
|
import type {} from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type {} from '@deepseek-ai/dsh-api-remotes/types'
|
import type {} from '@deepseek-ai/dsh-api-remotes/types'
|
||||||
// The forwarded event's own declaration: `$on`'s key face is
|
// The forwarded event's own declaration: `$on`'s key face is
|
||||||
// `Extract<keyof Events, keyof Selection>`, so the allowlist alone resolves to
|
// `Extract<keyof Events, keyof Selection>`, so the allowlist alone resolves to
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { Context } from '@deepseek-ai/cordis'
|
import { Context } from '@deepseek-ai/cordis'
|
||||||
import z from '@deepseek-ai/schemastery'
|
import z from '@deepseek-ai/schemastery'
|
||||||
import { describe, expect, it, vi } from 'vitest'
|
import { describe, expect, it, vi } from 'vitest'
|
||||||
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { RpcResponse, SettingsNamespaceView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { TestRemote } from '@deepseek-ai/dsh-client-test-runtime'
|
import { TestRemote } from '@deepseek-ai/dsh-client-test-runtime'
|
||||||
import type { SettingsScope } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { SettingsScope } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import { SettingsScopeController, SettingsScopeService } from '../src/client/settings-scope.ts'
|
import { SettingsScopeController, SettingsScopeService } from '../src/client/settings-scope.ts'
|
||||||
|
|||||||
@@ -17,14 +17,11 @@
|
|||||||
{
|
{
|
||||||
"path": "../runtime"
|
"path": "../runtime"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "../connection"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../schema-form"
|
"path": "../schema-form"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../../api/gateway"
|
"path": "../../api/remotes/tsconfig.client.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../../settings/settings"
|
"path": "../../settings/settings"
|
||||||
|
|||||||
@@ -51,12 +51,11 @@
|
|||||||
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
|
|
||||||
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -65,14 +64,13 @@
|
|||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-test-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-test-runtime": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
|
|
||||||
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@testing-library/react": "^16.1.0",
|
"@testing-library/react": "^16.1.0",
|
||||||
"@types/react": "~18.3.1",
|
"@types/react": "~18.3.1",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,9 +29,8 @@
|
|||||||
* This browser half also owns the `skill` keyed toolview: a replay-stable
|
* This browser half also owns the `skill` keyed toolview: a replay-stable
|
||||||
* accent row derived only from each logged call/result slice.
|
* accent row derived only from each logged call/result slice.
|
||||||
*/
|
*/
|
||||||
import type { ConnectionHandle, SessionId, SkillEntry } from '@deepseek-ai/dsh-client-connection/client'
|
// Type-only: the carrier types, the forwarded Host-event face and the ctx.remote merge.
|
||||||
// Type-only: pulls the forwarded Host-event face and ctx.remote merge.
|
import type { ConnectionHandle, SessionId, SkillEntry } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type {} from '@deepseek-ai/dsh-api-remotes/client'
|
|
||||||
import type { ClientContext, ISessions } from '@deepseek-ai/dsh-client-runtime/client'
|
import type { ClientContext, ISessions } from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { SlashServiceContract, SlashSource } from '@deepseek-ai/dsh-client-ui-slash/client'
|
import type { SlashServiceContract, SlashSource } from '@deepseek-ai/dsh-client-ui-slash/client'
|
||||||
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
// Type-only: pulls the locale plugin's Context merge (ctx.locale).
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
"path": "../../../vendor/cordis"
|
"path": "../../api/remotes/tsconfig.client.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../connection"
|
"path": "../../../vendor/cordis"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../locale"
|
"path": "../locale"
|
||||||
|
|||||||
@@ -48,16 +48,19 @@
|
|||||||
"clsx": "^2.0.0"
|
"clsx": "^2.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@deepseek-ai/cordis": "workspace:^",
|
||||||
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
||||||
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
||||||
@@ -69,7 +72,6 @@
|
|||||||
"@deepseek-ai/dsh-invariants": "workspace:^",
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
||||||
"@testing-library/react": "^16.1.0",
|
"@testing-library/react": "^16.1.0",
|
||||||
"@types/react": "~18.3.1",
|
"@types/react": "~18.3.1",
|
||||||
"@deepseek-ai/cordis": "workspace:^",
|
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
import type {
|
import type {
|
||||||
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ToolCallView, ToolResultView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ToolCallView, ToolResultView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
||||||
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts
|
|||||||
import type {
|
import type {
|
||||||
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ToolResultView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ToolResultView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import { CHAT_READ_MAX_LINES, readCardModel } from '../src/client/tool/models/read-card-model.ts'
|
import { CHAT_READ_MAX_LINES, readCardModel } from '../src/client/tool/models/read-card-model.ts'
|
||||||
import { createChatStore } from '@deepseek-ai/dsh-client-ui-conversation/src/client/stores.ts'
|
import { createChatStore } from '@deepseek-ai/dsh-client-ui-conversation/src/client/stores.ts'
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import {
|
|||||||
import type {
|
import type {
|
||||||
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ToolResultView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ToolResultView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
||||||
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
import type {
|
import type {
|
||||||
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ToolCallView, ToolResultView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ToolCallView, ToolResultView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
import { makeTranslate } from '@deepseek-ai/dsh-client-test-runtime'
|
||||||
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
import { zh as commonZh } from '@deepseek-ai/dsh-client-locale/src/locales/zh.ts'
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import {
|
|||||||
import type {
|
import type {
|
||||||
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
ConversationSnapshot, RunningToolCall, SessionId, SessionListState, ToolResultNode, WorkspaceListState,
|
||||||
} from '@deepseek-ai/dsh-client-runtime/client'
|
} from '@deepseek-ai/dsh-client-runtime/client'
|
||||||
import type { ToolResultView } from '@deepseek-ai/dsh-client-connection/client'
|
import type { ToolResultView } from '@deepseek-ai/dsh-api-remotes/client'
|
||||||
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
import { bindSnapshotSelector } from '@deepseek-ai/dsh-client-web-react'
|
||||||
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
import type { SelectionTarget } from '@deepseek-ai/dsh-client-ui-conversation/client'
|
||||||
import type { ToolCallOwnerProps } from '@deepseek-ai/dsh-client-ui-tool/client'
|
import type { ToolCallOwnerProps } from '@deepseek-ai/dsh-client-ui-tool/client'
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../../api/remotes/tsconfig.client.json"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "../../../vendor/cordis"
|
"path": "../../../vendor/cordis"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user