Merge pull request #569 from bjesuiter/ui-build-default-to-relative-path

fix(ui): default to relative paths for control UI assets
This commit is contained in:
Peter Steinberger
2026-01-09 14:47:46 +00:00
committed by GitHub
7 changed files with 58 additions and 3 deletions

View File

@@ -976,6 +976,7 @@ export async function persistInlineDirectives(params: {
directives: InlineDirectives;
effectiveModelDirective?: string;
cfg: ClawdbotConfig;
agentDir?: string;
sessionEntry?: SessionEntry;
sessionStore?: Record<string, SessionEntry>;
sessionKey?: string;
@@ -1009,6 +1010,7 @@ export async function persistInlineDirectives(params: {
formatModelSwitchEvent,
agentCfg,
} = params;
const { agentDir } = params;
let { provider, model } = params;
const activeAgentId = sessionKey
? resolveAgentIdFromSessionKey(sessionKey)