feat: add proactive memory extraction and daily logs
This commit is contained in:
@@ -516,6 +516,15 @@ const memorySchema = z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
dir: z.string().optional(), // Default: ~/.local/share/flynn/memory
|
||||
auto_extract: z.boolean().default(true),
|
||||
proactive_extract: z.object({
|
||||
enabled: z.boolean().default(false),
|
||||
min_tool_calls: z.number().min(0).max(50).default(1),
|
||||
namespace: z.string().default('global'),
|
||||
}).default({}),
|
||||
daily_log: z.object({
|
||||
enabled: z.boolean().default(false),
|
||||
namespace_prefix: z.string().default('daily'),
|
||||
}).default({}),
|
||||
injection_strategy: z.enum(['all', 'recent', 'adaptive']).default('all'),
|
||||
max_injection_tokens: z.number().min(100).max(10000).default(2000),
|
||||
max_context_tokens: z.number().min(100).max(10000).default(2000),
|
||||
|
||||
Reference in New Issue
Block a user