refactor: domain client outlet collapses to ./client (src/client.ts pure re-export)

This commit is contained in:
imccyu
2026-07-27 23:07:45 +08:00
parent a91f908e11
commit e0577fe8c5
4 changed files with 11 additions and 11 deletions
@@ -19,9 +19,9 @@
"types": "./lib/types/types.d.ts",
"default": "./lib/types/types.js"
},
"./client/types": {
"types": "./lib/types/client/types.d.ts",
"default": "./lib/types/client/types.js"
"./client": {
"types": "./lib/types/client.d.ts",
"default": "./lib/types/client.js"
},
"./src/*": "./src/*",
"./package.json": "./package.json"
@@ -1,10 +1,10 @@
/**
* Client-namespace projection of the title domain: a pure re-export of the package's
* types outlet. Client code imports ONLY the client namespace (repo
* discipline), so `./client/types` projects the same single-source content
* discipline), so `./client` projects the same single-source content
* `./types` serves to host consumers — zero duplication.
*
* @module @deepseek-ai/dsh-session-title/client/types
* @module @deepseek-ai/dsh-session-title/client
*/
export type * from '../types.ts'
export type * from './types.ts'
+3 -3
View File
@@ -1,10 +1,10 @@
/**
* Client-namespace projection of the todo domain: a pure re-export of the package's
* types outlet. Client code imports ONLY the client namespace (repo
* discipline), so `./client/types` projects the same single-source content
* discipline), so `./client` projects the same single-source content
* `./types` serves to host consumers — zero duplication.
*
* @module @deepseek-ai/dsh-tool-todo/client/types
* @module @deepseek-ai/dsh-tool-todo/client
*/
export type * from '../types.ts'
export type * from './types.ts'
+2 -2
View File
@@ -43,9 +43,9 @@
"@deepseek-ai/dsh-session/surface": ["./packages/core/session/src/surface.ts"],
"@deepseek-ai/dsh-session-projection/types": ["./packages/session-projection/session-projection/src/types.ts"],
"@deepseek-ai/dsh-tool-todo/types": ["./packages/todo/tool-todo/src/types.ts"],
"@deepseek-ai/dsh-tool-todo/client/types": ["./packages/todo/tool-todo/src/client/types.ts"],
"@deepseek-ai/dsh-tool-todo/client": ["./packages/todo/tool-todo/src/client.ts"],
"@deepseek-ai/dsh-session-title/types": ["./packages/session-title/session-title/src/types.ts"],
"@deepseek-ai/dsh-session-title/client/types": ["./packages/session-title/session-title/src/client/types.ts"],
"@deepseek-ai/dsh-session-title/client": ["./packages/session-title/session-title/src/client.ts"],
"@deepseek-ai/dsh-llm/types": ["./packages/llm/llm/src/types.ts"],
"@deepseek-ai/dsh-llm/brand": ["./packages/llm/llm/src/brand.ts"],
"@deepseek-ai/dsh-tools/presentation": ["./packages/core/tools/src/presentation.ts"],