diff --git a/packages/api/remotes/src/index.ts b/packages/api/remotes/src/index.ts index b95864fc5f..1d592f49f9 100644 --- a/packages/api/remotes/src/index.ts +++ b/packages/api/remotes/src/index.ts @@ -1,15 +1,15 @@ /** Host BFF entry and Loader shell for the Remote contribution assembly. */ -// import type { TypeRTForwardableEvent } from '@deepseek-ai/dsh-type-meta' -// import { API_REMOTE_FORWARDED_EVENTS } from './types.ts' +import type { TypeRTForwardableEvent } from '@deepseek-ai/dsh-type-meta' +import { API_REMOTE_FORWARDED_EVENTS } from './types.ts' -// // The owner packages' client-safe `./types` exports carry the cordis `Events` -// // declarations for every allowlisted event. Pulling them into this face is what -// // makes the shape assertion below judge real signatures rather than an empty -// // event vocabulary. -// import type {} from '@deepseek-ai/dsh-commands/types' -// import type {} from '@deepseek-ai/dsh-credentials/types' -// import type {} from '@deepseek-ai/dsh-settings/types' +// The owner packages' client-safe `./types` exports carry the cordis `Events` +// declarations for every allowlisted event. Pulling them into this face is what +// makes the shape assertion below judge real signatures rather than an empty +// event vocabulary. +import type {} from '@deepseek-ai/dsh-commands/types' +import type {} from '@deepseek-ai/dsh-credentials/types' +import type {} from '@deepseek-ai/dsh-settings/types' export { ApiRemoteSessionNotFound, @@ -35,7 +35,7 @@ export type { ApiRemoteForwardedEvent } from './types.ts' // and every entry is ONE-WAY (a waterfall or bail shape returns something other // than void and is excluded). Widening the array to an event that fails any of // these fails here, not on the wire. -// API_REMOTE_FORWARDED_EVENTS satisfies readonly TypeRTForwardableEvent[] +API_REMOTE_FORWARDED_EVENTS satisfies readonly TypeRTForwardableEvent[] /** Host plugin body; the selected contributions mount only in Client environments. */ export function apply(): void {} diff --git a/tsconfig.base.json b/tsconfig.base.json index c3614f011f..afaa558abd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -77,6 +77,7 @@ "@deepseek-ai/dsh-credentials/types": ["./packages/credentials/credentials/src/types.ts"], "@deepseek-ai/dsh-settings/types": ["./packages/settings/settings/src/types.ts"], "@deepseek-ai/dsh-api-remotes/types": ["./packages/api/remotes/src/types.ts"], + "@deepseek-ai/dsh-api-remotes/invariant": ["./packages/api/remotes/src/invariant.ts"], "@deepseek-ai/dsh-compact/checkpoint": ["./packages/compact/compact/src/checkpoint.ts"], "@deepseek-ai/dsh-compact/types": ["./packages/compact/compact/src/types.ts"], "@deepseek-ai/dsh-tools/presentation": ["./packages/core/tools/src/presentation.ts"],