feat(config): support assistant briefing runtime edits and setup defaults
This commit is contained in:
@@ -257,12 +257,16 @@ export class ConfigBuilder {
|
||||
applyOperatorPack(options: OperatorPackOptions): void {
|
||||
const automation = (this.config.automation ?? {}) as Record<string, unknown>;
|
||||
const backup = (this.config.backup ?? {}) as Record<string, unknown>;
|
||||
const memory = (this.config.memory ?? {}) as Record<string, unknown>;
|
||||
|
||||
backup.enabled = true;
|
||||
backup.schedule = options.backupSchedule;
|
||||
backup.run_on_start = true;
|
||||
backup.notify = { channel: options.outputChannel, peer: options.outputPeer };
|
||||
|
||||
// Personal-assistant mode defaults: proactive push and continuity-first memory cadence.
|
||||
automation.delivery_mode = 'announce';
|
||||
|
||||
automation.heartbeat = {
|
||||
enabled: true,
|
||||
notify: { channel: options.outputChannel, peer: options.outputPeer },
|
||||
@@ -298,8 +302,19 @@ export class ConfigBuilder {
|
||||
};
|
||||
}
|
||||
|
||||
memory.daily_log = {
|
||||
enabled: true,
|
||||
namespace_prefix: 'daily',
|
||||
};
|
||||
memory.proactive_extract = {
|
||||
enabled: true,
|
||||
min_tool_calls: 1,
|
||||
namespace: 'global',
|
||||
};
|
||||
|
||||
this.config.automation = automation;
|
||||
this.config.backup = backup;
|
||||
this.config.memory = memory;
|
||||
}
|
||||
|
||||
build(): SetupConfig {
|
||||
|
||||
Reference in New Issue
Block a user