refactor: apply repository naming contract

Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
This commit is contained in:
Tianyi Cui
2026-08-13 00:36:22 +08:00
parent 101df7cf58
commit a2d0f7f411
3281 changed files with 21730 additions and 21592 deletions

View File

@@ -12,7 +12,7 @@ import type {} from '@deepseek-ai/dsh-client-ui-theme/client'
import type { PanelActions } from './service.ts'
import { AppFrame } from './AppFrame.tsx'
import { createLayoutStore } from './stores.ts'
import { LayoutService } from './service.ts'
import { LayoutController } from './service.ts'
import { ThemePresenter } from './theme-presenter.ts'
// Contract exports only (export-convergence rule: cross-package consumers
@@ -20,7 +20,7 @@ import { ThemePresenter } from './theme-presenter.ts'
// ILayout: the ctx.layout face consumers and test fakes type against.
// OwnerShare contracts below are the render-side halves registrants compose
// against; the frame components and the store factory are package-internal.
export { LayoutService } from './service.ts'
export { LayoutController } from './service.ts'
export type { ILayout } from './service.ts'
declare module '@deepseek-ai/cordis' {
@@ -74,7 +74,7 @@ export const inject = ['slots', 'theme']
* @param ctx - client root context.
*/
export function apply(ctx: ClientContext): void {
const layout = new LayoutService()
const layout = new LayoutController()
ctx.effect(() => {
const disposeService = ctx.reflect.provide('layout', layout)
const disposeRegistration = ctx.slots.register({

View File

@@ -1,5 +1,5 @@
/**
* LayoutService: the cross-plugin panel-action face behind ctx.layout.
* LayoutController: the cross-plugin panel-action face behind ctx.layout.
* Panel geometry itself lives in the root entry's layout store (stores.ts);
* the current-session selection lives with the runtime sessions service, and
* the per-session active view dissolved into ui-conversation's session store
@@ -30,7 +30,7 @@ export interface ILayout {
}
/** Cross-plugin panel-action face (ctx.layout). */
export class LayoutService implements ILayout {
export class LayoutController implements ILayout {
#panels: PanelActions | undefined
/**