- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.5k
feat: MCP annotations batch 1/65 (100 components) #18513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -4,7 +4,12 @@ export default { | |
| key: "_46elks-make-phone-call", | ||
| name: "Make Phone Call", | ||
| description: "Dials and connects two phone numbers using the 46elks service. [See the documentation](https://46elks.com/docs/make-call)", | ||
| version: "0.0.1", | ||
| version: "0.0.2", | ||
| annotations: { | ||
| destructiveHint: false, | ||
| openWorldHint: true, | ||
| readOnlyHint: false, | ||
| }, | ||
| 
      Comment on lines
    
      +7
     to 
      +12
    
   There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Flip  This action places a live phone call via 46elks, which is a side-effecting operation in the real world. Marking it as non-destructive misleads users and any automation that relies on these hints to detect risky actions. Please set  🤖 Prompt for AI Agents | ||
| type: "action", | ||
| props: { | ||
| app, | ||
|  | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -4,7 +4,12 @@ export default { | |
| key: "_4dem-create-email", | ||
| name: "Create Email", | ||
| description: "Create a new email. [See the documentation](https://api.4dem.it/#/operations/contents.email.store)", | ||
| version: "0.0.1", | ||
| version: "0.0.2", | ||
| annotations: { | ||
| destructiveHint: false, | ||
| openWorldHint: true, | ||
| readOnlyHint: false, | ||
| }, | ||
| 
      Comment on lines
    
      +7
     to 
      +12
    
   There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Creating emails isn’t read-only This action persists a new email draft in 4DEM, so it definitely mutates external state. With  🤖 Prompt for AI Agents | ||
| type: "action", | ||
| props: { | ||
| app, | ||
|  | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify
readOnlyHint: trueis accurate.The action compresses a PDF and returns a URL to the compressed file (
getAsUrl: trueon line 34), which suggests it creates/stores a new resource. Confirm whetherreadOnlyHint: truecorrectly reflects the operation, or if it should befalsesince compression typically produces a new artifact.🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 66159
Set
readOnlyHintto false for compress-pdf actionSince this action generates and returns a new compressed PDF URL (
getAsUrl: true), it writes a new resource—updatereadOnlyHintin components/_0codekit/actions/compress-pdf/compress-pdf.mjs (lines 7–12) fromtruetofalse.🤖 Prompt for AI Agents