|
|
@@ -17,12 +17,11 @@ import type {
|
|
|
} from '@deepseek-ai/dsh-session'
|
|
|
// Type-only: resolves ctx.sessionProjections for the optional unit child.
|
|
|
import type {} from '@deepseek-ai/dsh-session-projection'
|
|
|
-// The `title` projection-key declaration lives in the client outlet (its one
|
|
|
-// home). A PLAIN side-effect import, not `import type`: declaration emit
|
|
|
-// elides type-only imports, and the aggregate programs resolve this package
|
|
|
-// through its emitted declarations — the merge must survive in index.d.ts.
|
|
|
-// The imported module is types-only, so the runtime edge is an empty module.
|
|
|
-import './client/types.ts'
|
|
|
+// The `title` projection-key declaration lives in src/types.ts (its one home);
|
|
|
+// this re-export projects the type face onto the package root AND keeps the
|
|
|
+// module edge in the emitted index.d.ts, so aggregate programs consuming the
|
|
|
+// declarations still receive the SessionProjectionMap merge.
|
|
|
+export type * from './types.ts'
|
|
|
import { fallbackSessionTitle, normalizeSessionTitle } from './normalize.ts'
|
|
|
|
|
|
export { fallbackSessionTitle, normalizeSessionTitle, truncateTitleUtf8 } from './normalize.ts'
|