@starascendin/lifeos-mcp 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.7.4";
2
- export declare const BUILD_TIME = "2026-02-18T19:45:47.374Z";
1
+ export declare const VERSION = "0.7.5";
2
+ export declare const BUILD_TIME = "2026-02-18T21:15:01.827Z";
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Regenerated on every build.
2
- export const VERSION = "0.7.4";
3
- export const BUILD_TIME = "2026-02-18T19:45:47.374Z";
2
+ export const VERSION = "0.7.5";
3
+ export const BUILD_TIME = "2026-02-18T21:15:01.827Z";
package/dist/index.js CHANGED
@@ -3036,6 +3036,80 @@ const TOOLS = [
3036
3036
  required: ["name"],
3037
3037
  },
3038
3038
  },
3039
+ // ==================== Screen Time Tools ====================
3040
+ {
3041
+ name: "get_screentime_summary",
3042
+ description: "Get daily Screen Time summaries with total usage time, per-app breakdown, and category usage. Returns an array of daily summaries sorted by date descending.",
3043
+ inputSchema: {
3044
+ type: "object",
3045
+ properties: {
3046
+ userId: {
3047
+ type: "string",
3048
+ description: "Override the default user ID (optional)",
3049
+ },
3050
+ days: {
3051
+ type: "number",
3052
+ description: "Number of days to fetch (default 7)",
3053
+ },
3054
+ },
3055
+ },
3056
+ },
3057
+ {
3058
+ name: "get_screentime_top_apps",
3059
+ description: "Get top apps by usage time for a date range, aggregated from raw sessions. Useful for identifying biggest time sinks.",
3060
+ inputSchema: {
3061
+ type: "object",
3062
+ properties: {
3063
+ userId: {
3064
+ type: "string",
3065
+ description: "Override the default user ID (optional)",
3066
+ },
3067
+ days: {
3068
+ type: "number",
3069
+ description: "Number of days to look back (default 7)",
3070
+ },
3071
+ limit: {
3072
+ type: "number",
3073
+ description: "Max apps to return (default 10)",
3074
+ },
3075
+ },
3076
+ },
3077
+ },
3078
+ {
3079
+ name: "get_screentime_sessions",
3080
+ description: "Get raw Screen Time sessions for a specific date, including app name, bundle ID, category, duration, and timestamps.",
3081
+ inputSchema: {
3082
+ type: "object",
3083
+ properties: {
3084
+ userId: {
3085
+ type: "string",
3086
+ description: "Override the default user ID (optional)",
3087
+ },
3088
+ date: {
3089
+ type: "string",
3090
+ description: "Date in YYYY-MM-DD format (required)",
3091
+ },
3092
+ },
3093
+ required: ["date"],
3094
+ },
3095
+ },
3096
+ {
3097
+ name: "get_screentime_categories",
3098
+ description: "Get category-level Screen Time aggregation for a date range. Categories include Productivity, Social Networking, Entertainment, etc.",
3099
+ inputSchema: {
3100
+ type: "object",
3101
+ properties: {
3102
+ userId: {
3103
+ type: "string",
3104
+ description: "Override the default user ID (optional)",
3105
+ },
3106
+ days: {
3107
+ type: "number",
3108
+ description: "Number of days to look back (default 7)",
3109
+ },
3110
+ },
3111
+ },
3112
+ },
3039
3113
  // MCP Server Info
3040
3114
  {
3041
3115
  name: "get_version",
@@ -3361,6 +3435,17 @@ const PROMPTS = [
3361
3435
  },
3362
3436
  ],
3363
3437
  },
3438
+ {
3439
+ name: "screentime-report",
3440
+ description: "Screen time analysis: daily/weekly usage patterns, top time-sink apps, social media alerts, category breakdown.",
3441
+ arguments: [
3442
+ {
3443
+ name: "days",
3444
+ description: "Number of days to analyze (optional, defaults to 7)",
3445
+ required: false,
3446
+ },
3447
+ ],
3448
+ },
3364
3449
  ];
3365
3450
  // Prompt message templates keyed by prompt name
3366
3451
  const PROMPT_MESSAGES = {
@@ -4219,6 +4304,47 @@ Keep it direct and no-BS. This is a personal trainer report, not a gentle sugges
4219
4304
  },
4220
4305
  ];
4221
4306
  },
4307
+ "screentime-report": (args) => {
4308
+ const daysCount = args.days ? parseInt(args.days, 10) : 7;
4309
+ return [
4310
+ {
4311
+ role: "user",
4312
+ content: {
4313
+ type: "text",
4314
+ text: `Generate a screen time report. Use the LifeOS MCP tools to gather:
4315
+
4316
+ 1. Call get_screentime_summary with days=${daysCount} for daily totals and app breakdowns
4317
+ 2. Call get_screentime_top_apps with days=${daysCount} and limit=15 for top time-sink apps
4318
+ 3. Call get_screentime_categories with days=${daysCount} for category-level aggregation
4319
+
4320
+ Present a structured report:
4321
+
4322
+ **USAGE OVERVIEW**
4323
+ - Total screen time over ${daysCount} days and daily average
4324
+ - Trend: increasing / decreasing / stable compared to prior period
4325
+
4326
+ **TOP APPS**
4327
+ - Rank apps by total usage time
4328
+ - Flag any social media or entertainment apps in the top 5 with a warning
4329
+
4330
+ **CATEGORY BREAKDOWN**
4331
+ - Show % split: Productivity vs Social vs Entertainment vs Communication vs Other
4332
+ - Highlight if Entertainment + Social > 40% of total
4333
+
4334
+ **SOCIAL MEDIA ALERT**
4335
+ - If any social media app (Twitter/X, Instagram, TikTok, Reddit, Facebook, YouTube) exceeds 1 hour/day average, call it out explicitly
4336
+ - Estimate weekly hours wasted on social media
4337
+
4338
+ **INSIGHTS**
4339
+ - 2-3 actionable observations
4340
+ - Compare productive vs non-productive time
4341
+ - Suggest one app to reduce and one habit to build
4342
+
4343
+ Keep it concise and direct. This is an accountability report, not a feel-good summary.`,
4344
+ },
4345
+ },
4346
+ ];
4347
+ },
4222
4348
  };
4223
4349
  // Configuration: CLI flags take precedence over env vars
4224
4350
  // NOTE: HTTP routes are served from .convex.site, NOT .convex.cloud
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starascendin/lifeos-mcp",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "MCP server for LifeOS Project Management - manage projects, tasks, notes, and contacts via AI assistants",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",