personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'hopper-shhx6jkq-daily-schedule-templatevars'

+10 -8
+5 -1
talent/daily_schedule.md
··· 10 10 "color": "#455a64", 11 11 "thinking_budget": 4096, 12 12 "max_output_tokens": 512, 13 - "load": {"transcripts": true, "percepts": false, "agents": {"screen": true}} 13 + "load": {"transcripts": false, "percepts": false, "agents": false} 14 14 } 15 15 16 16 $facets ··· 18 18 # Maintenance Window Analysis 19 19 20 20 You are given a summary of when the owner was active over the past week. Each day lists time windows when activity was recorded. Times not listed represent periods of inactivity. 21 + 22 + ## Activity Data 23 + 24 + $activity_spans 21 25 22 26 ## Task 23 27
+3 -3
talent/daily_schedule.py
··· 150 150 151 151 152 152 def pre_process(context: dict) -> dict | None: 153 - """Generate span data to replace transcript content. 153 + """Generate span data as template vars. 154 154 155 155 Args: 156 156 context: PreHookContext with day, meta, etc. 157 157 158 158 Returns: 159 - Dict with transcript replacement, or None if insufficient data. 159 + Dict with template_vars, or None if insufficient data. 160 160 """ 161 161 # Get lookback window from meta, default 7 days 162 162 meta = context.get("meta", {}) ··· 164 164 165 165 span_summary = generate_span_summary(days=days) 166 166 167 - return {"transcript": span_summary} 167 + return {"template_vars": {"activity_spans": span_summary}} 168 168 169 169 170 170 def post_process(result: str, context: dict) -> str | None:
+2 -4
tests/baselines/api/stats/stats.json
··· 8 8 "pre": "daily_schedule" 9 9 }, 10 10 "load": { 11 - "agents": { 12 - "screen": true 13 - }, 11 + "agents": false, 14 12 "percepts": false, 15 - "transcripts": true 13 + "transcripts": false 16 14 }, 17 15 "max_output_tokens": 512, 18 16 "mtime": 0,