refactor: 统一将 Sidecar 模式中的 Server 更名为 App

- 将构建输出文件名从 `server-` 更改为 `app-` 以匹配新的命名规范。
- 将 Sidecar 模式中的 Server 统一更名为 App,以准确反映其作为主业务逻辑载体的角色,并同步更新相关配置、文件命名、日志信息及代码注释。
- 更新允许执行的二进制文件为应用程序二进制文件。
- 将 Sidecar Server 相关的术语和日志信息统一更新为 Sidecar App,以准确反映实际启动的应用程序名称。
- 将外部二进制文件路径从 server 更改为 app
This commit is contained in:
2026-01-18 16:33:48 +08:00
parent 0df0bcb855
commit 4035fcb202
5 changed files with 26 additions and 26 deletions

View File

@@ -150,7 +150,7 @@ class BuildService extends Context.Tag('BuildService')<
Bun.build({
entrypoints: [config.entrypoint],
compile: {
outfile: `server-${targetMap[target]}`,
outfile: `app-${targetMap[target]}`,
target: target,
},
outdir: config.outputDir,
@@ -181,7 +181,7 @@ class BuildService extends Context.Tag('BuildService')<
Bun.build({
entrypoints: [config.entrypoint],
compile: {
outfile: `server-${targetMap[target]}`,
outfile: `app-${targetMap[target]}`,
target: target,
},
outdir: config.outputDir,