Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: foxtrottwist/shortcuts-mcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.0
Choose a base ref
...
head repository: foxtrottwist/shortcuts-mcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.1
Choose a head ref
  • 15 commits
  • 11 files changed
  • 2 contributors

Commits on Aug 1, 2025

  1. Configuration menu
    Copy the full SHA
    b4c5e28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8783c09 View commit details
    Browse the repository at this point in the history
  3. Added user context architecture foundation

    - Implement resource URI schema (shortcuts://, context://)
    - Add user_context tool with read/update/add operations
    - Define execution recording resource structure
    - Add system state and user profile resources
    - Include "Recommend a Shortcut" prompt
    
    Relates to MNE-78
    foxtrottwist committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    63ab33b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. Implemented user context foundation with separated data architecture

    - Add UserProfile and ShortCutStatistics types with clean separation
    - Implement ensureDataDirectory() for ~/.shortcuts-mcp/ structure
    - Add loadUserProfile() with JSON corruption error handling
    - Add saveUserProfile() with deep merge functionality
    - Separate user preferences from statistics for reduced corruption risk
    - Add file system helpers (isFile, isDirectory) for path validation
    
    Relates to MNE-78
    foxtrottwist committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    7276707 View commit details
    Browse the repository at this point in the history
  2. Implemented user context data management system

    - Add UserProfile and ShortCutStatistics types with separated architecture
    - Implement file system operations (ensureDataDirectory, load/save functions)
    - Add 30-day rolling statistics computed from execution logs
    - Create ~/.shortcuts-mcp/ directory structure with executions/ subfolder
    - Add JSON corruption error handling for data integrity
    - Support deep merge for incremental profile/statistics updates
    
    Relates to MNE-78
    foxtrottwist committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    c88565c View commit details
    Browse the repository at this point in the history
  3. Wired user_context tool with file operations and logging

    - Connect user_context tool to loadUserProfile/saveUserProfile functions
    - Add structured logging for tool operations (action, source, data presence)
    - Implement read/update actions with JSON string responses
    - Add error handling and operation completion logging
    - Remove unused 'add' action, simplify to read/update workflow
    
    Relates to MNE-78OC
    foxtrottwist committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    e6fa34a View commit details
    Browse the repository at this point in the history
  4. Added execution logging with daily file storage

    - Implement recordExecution() for shortcut tracking
    - Add user-context.ts with type-safe data structures
    - Integrate logging at success/failure points in runShortcut()
    - Use semantic naming: shortcut/input/output/duration/success
    - Store daily logs as ~/.shortcuts-mcp/executions/YYYY-MM-DD.json
    
    Closes MNE-78
    foxtrottwist committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    349db1b View commit details
    Browse the repository at this point in the history
  5. fix: add complete schema validation to user_context tool data parameter

    Replaces z.object({}).optional() with full UserProfile schema structure to properly validate nested preferences and context objects, enabling correct data processing and persistence.
    foxtrottwist committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    937fcee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48c0a24 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. Configuration menu
    Copy the full SHA
    e5a792b View commit details
    Browse the repository at this point in the history
  2. test: add comprehensive test coverage for user-context and improve ex…

    …isting tests
    
    - Create user-context.test.ts with full coverage of all exported functions
    - Add tests for isDirectory and isFile helper functions
    - Add TSDocs to isDirectory and isFile functions
    - Mock recordExecution in shortcuts.test.ts to isolate tests
    - Fix UUID documentation to clarify AppleScript limitation
    - All 63 tests passing with proper mocking and edge case coverage
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    foxtrottwist and claude committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    5c1f8da View commit details
    Browse the repository at this point in the history
  3. fix: update manifest.json to match current server configuration

    - Remove list_shortcuts tool (available via resources, not tool)
    - Add missing user_context tool definition
    - Update long_description to reflect hybrid AppleScript + CLI architecture
    - Upgrade Node.js requirement from >=16.0.0 to >=22.0.0
    - Add relevant keywords: applescript, interactive, permissions, context-tracking
    - Validated with 'dxt validate manifest.json'
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    foxtrottwist and claude committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    712b74e View commit details
    Browse the repository at this point in the history
  4. fix: resolve 'Resource not found: execution://runs/recent' URI mismatch

    - Changed tool calls from execution://runs/recent to shortcuts://runs/recent
    - Aligns with resource registration URI in server.ts
    - Fixes embedded resources delivery in run_shortcut and user_context tools
    - All 4 embedded resources now working correctly
    foxtrottwist committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    cf518d2 View commit details
    Browse the repository at this point in the history
  5. docs: update README with user context features and privacy emphasis

    - Add Execution Tracking section with privacy-first messaging
    - Update MCP Integration to include user_context tool and resources
    - Fix project structure documentation with all test files
    - Emphasize local-only data storage throughout
    - Add practical user context examples without overselling
    - Update test count to 63 tests
    - Follow understated positioning from website
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    foxtrottwist and claude committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    dc3f779 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3 from foxtrottwist/feature/user-context-architec…

    …ture
    
    MNE-78: Embedded Resources Architecture Implementation
    foxtrottwist authored Aug 4, 2025
    Configuration menu
    Copy the full SHA
    54aef8e View commit details
    Browse the repository at this point in the history
Loading