mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-24 07:01:49 +00:00
fix(build): stabilize lazy runtime entrypoints
This commit is contained in:
@@ -43,9 +43,12 @@ describe("tsdown config", () => {
|
||||
expect(entryKeys(distGraphs[0])).toEqual(
|
||||
expect.arrayContaining([
|
||||
"agents/auth-profiles.runtime",
|
||||
"agents/model-catalog.runtime",
|
||||
"agents/models-config.runtime",
|
||||
"agents/pi-model-discovery-runtime",
|
||||
"index",
|
||||
"commands/status.summary.runtime",
|
||||
"plugins/provider-discovery.runtime",
|
||||
"plugins/provider-runtime.runtime",
|
||||
"plugins/runtime/index",
|
||||
"plugin-sdk/compat",
|
||||
|
||||
@@ -125,8 +125,11 @@ function buildCoreDistEntries(): Record<string, string> {
|
||||
// Keep long-lived lazy runtime boundaries on stable filenames so rebuilt
|
||||
// dist/ trees do not strand already-running gateways on stale hashed chunks.
|
||||
"agents/auth-profiles.runtime": "src/agents/auth-profiles.runtime.ts",
|
||||
"agents/model-catalog.runtime": "src/agents/model-catalog.runtime.ts",
|
||||
"agents/models-config.runtime": "src/agents/models-config.runtime.ts",
|
||||
"agents/pi-model-discovery-runtime": "src/agents/pi-model-discovery-runtime.ts",
|
||||
"commands/status.summary.runtime": "src/commands/status.summary.runtime.ts",
|
||||
"plugins/provider-discovery.runtime": "src/plugins/provider-discovery.runtime.ts",
|
||||
"plugins/provider-runtime.runtime": "src/plugins/provider-runtime.runtime.ts",
|
||||
extensionAPI: "src/extensionAPI.ts",
|
||||
"infra/warning-filter": "src/infra/warning-filter.ts",
|
||||
|
||||
Reference in New Issue
Block a user