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
@@ -44,7 +44,7 @@ async function loadComposition(): Promise<Context> {
" host: '127.0.0.1'",
' port: 0',
'- id: frontend',
" name: '@deepseek-ai/dsh-frontend-static'",
" name: '@deepseek-ai/dsh-host-frontend-static'",
' config:',
` distIndex: '${distIndex}'`,
'',
@@ -56,7 +56,7 @@ async function loadComposition(): Promise<Context> {
context.loader.builtins.include = Include
const modules = new Map<string, unknown>([
['@deepseek-ai/dsh-host-webserver', HttpServer],
['@deepseek-ai/dsh-frontend-static', FrontendStatic],
['@deepseek-ai/dsh-host-frontend-static', FrontendStatic],
])
context.loader.internal = {
version: 'v2',
@@ -90,7 +90,7 @@ describe('real Loader composition', () => {
.filter(entry => entry.fiber === undefined && !entry.disabled)
.map(entry => entry.options.name)
expect(unloaded).toEqual([])
const server = loaded.httpServer
const server = loaded.webServer
const port = server.port
// Real assets with their MIME types; a live rebuild is served on the next read.