File tree Expand file tree Collapse file tree 3 files changed +7692
-0
lines changed Expand file tree Collapse file tree 3 files changed +7692
-0
lines changed Original file line number Diff line number Diff line change 1+ # Tool Annotations Script  
2+ 
3+ Applies MCP (Model Context Protocol) annotations to Pipedream action files from CSV data.
4+ 
5+ ## Usage  
6+ 
7+ ``` bash 
8+ #  Test with first 10 entries
9+ node apply-annotations.js --csv registry-action-changes-2025-09-25_1.csv --limit 10 --dry-run
10+ 
11+ #  Process in batches
12+ node apply-annotations.js --csv registry-action-changes-2025-09-25_1.csv --offset 0 --limit 100
13+ node apply-annotations.js --csv registry-action-changes-2025-09-25_1.csv --offset 100 --limit 100
14+ 
15+ #  Process all
16+ node apply-annotations.js --csv registry-action-changes-2025-09-25_1.csv
17+ ``` 
18+ 
19+ ## What it does  
20+ 
21+ 1 .  Reads CSV with action keys and annotation values
22+ 2 .  Finds corresponding action files in ` ../../components/*/actions/ ` 
23+ 3 .  Adds ` annotations `  object after the ` version `  field
24+ 4 .  Increments patch version (e.g., "0.1.5" → "0.1.6")
25+ 
26+ ## Options  
27+ 
28+ -  ` --dry-run `  - Show changes without applying them
29+ -  ` --verbose `  - Detailed logging
30+ -  ` --limit N `  - Process only N entries
31+ -  ` --offset N `  - Skip N entries before processing
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments