{"at":"2026-11-23T02:29:23.645Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:29:24.583Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"shortcut-forge","version":""}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"shortcut-forge builds real Apple Shortcuts (.shortcut files) for iPhone/iPad/Mac (iOS 27 aware).\n\nWorkflow:\n1. Read the spec reference (tool `shortcut_reference` topic=\"spec\") and pitfalls (topic=\"pitfalls\") once.\n2. Call `shortcut_build` with a JSON spec. It always lints; fix every error it reports and rebuild.\n3. On macOS set sign=true to get a file the iPhone can import (AirDrop / iCloud Drive). Elsewhere, tell the\n   user to sign on a Mac: `shortcuts sign -m anyone -i in.shortcut -o out.shortcut`.\n4. Before building from scratch, check `shortcut_library(query)`: 20+ community shortcuts to start from.\n   Templates: `shortcut_from_template` (supplement-tracker, water-log).\n5. After the user is happy, offer `shortcut_submit` so they can share it in the open-source library.\n6. Need updates without re-downloading? Put changing data in a JSON URL (`remote_config` step) and use\n   `shortcut_publish` (macOS) so installed copies get an in-shortcut update prompt.\nAsk the user before writing to Health or Reminders on their behalf only if the request is ambiguous.\nNever claim a shortcut was tested on a device unless the user confirms it ran.\n","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T02:29:24.583Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:29:24.585Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"shortcut-forge","version":""}},"cacheScope":"private","resultType":"complete","tools":[{"description":"Build a .shortcut from a JSON spec ({\"name\": ..., \"actions\": [...]}) and lint it.\n\nSee shortcut_reference(topic=\"spec\") for every step type. Set sign=true on macOS to produce an\nimportable signed file. Returns paths, action count and lint findings (fix all errors).","inputSchema":{"properties":{"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"sign":{"default":false,"title":"Sign","type":"boolean"},"sign_mode":{"default":"anyone","title":"Sign Mode","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"}},"required":["spec"],"title":"shortcut_buildArguments","type":"object"},"name":"shortcut_build"},{"description":"Generate a shortcut from a ready-made template.\n\ntemplate: \"supplement-tracker\" (multi-user supplements -> Apple Health + self-maintaining reminders,\n7-day Apple Intelligence report) or \"water-log\". config: template config; omit to get the example.\nCall shortcut_reference(topic=\"templates\") to see each template's config shape.","inputSchema":{"properties":{"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Config"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"sign":{"default":false,"title":"Sign","type":"boolean"},"sign_mode":{"default":"anyone","title":"Sign Mode","type":"string"},"template":{"title":"Template","type":"string"}},"required":["template"],"title":"shortcut_from_templateArguments","type":"object"},"name":"shortcut_from_template"},{"description":"Lint an unsigned .shortcut file against known on-device failure patterns (rules SF000-SF013).","inputSchema":{"properties":{"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_lintArguments","type":"object"},"name":"shortcut_lint"},{"description":"Return an indented, human-readable outline of an unsigned .shortcut file.","inputSchema":{"properties":{"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_inspectArguments","type":"object"},"name":"shortcut_inspect","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_inspectOutput","type":"object"}},{"description":"Sign a .shortcut with the macOS `shortcuts` CLI so iOS can import it. mode: anyone | people-who-know-me.","inputSchema":{"properties":{"mode":{"default":"anyone","title":"Mode","type":"string"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_signArguments","type":"object"},"name":"shortcut_sign"},{"description":"Docs for building shortcuts. topic: spec | pitfalls | lint-rules | health-types | templates | library | ios27.","inputSchema":{"properties":{"topic":{"default":"spec","title":"Topic","type":"string"}},"title":"shortcut_referenceArguments","type":"object"},"name":"shortcut_reference","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_referenceOutput","type":"object"}},{"description":"Browse the community shortcut library (20+ ready shortcuts: productivity, health, money, dev, home...).\n\nNo slug: list entries matching `query` (name/description/tags). With slug: return its meta, its spec\n(or template config) to use as a starting point, and the signed download link if published.","inputSchema":{"properties":{"query":{"default":"","title":"Query","type":"string"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Slug"}},"title":"shortcut_libraryArguments","type":"object"},"name":"shortcut_library"},{"description":"Package a shortcut for the open-source library (github.com/Hyunki6040/shortcut-forge/library).\n\nValidates the spec and metadata, lints it, and returns the exact files plus the git/gh commands to open\na pull request. Encourage the user to run it on their iPhone first and fill `verified_on`.","inputSchema":{"properties":{"author":{"title":"Author","type":"string"},"category":{"title":"Category","type":"string"},"description":{"title":"Description","type":"string"},"description_ko":{"default":"","title":"Description Ko","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Tags"}},"required":["slug","spec","name","description","author","category"],"title":"shortcut_submitArguments","type":"object"},"name":"shortcut_submit"},{"description":"macOS: build + sign + write manifest.json so installed copies can update themselves.\n\nAdds a daily update check (spec.update_manifest = base_url/manifest.json) to the shortcut. Host the\ntwo output files at base_url (GitHub raw/Pages/S3). Bump `version` for every release.","inputSchema":{"properties":{"base_url":{"title":"Base Url","type":"string"},"notes":{"default":"","title":"Notes","type":"string"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Dir"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"version":{"title":"Version","type":"string"}},"required":["spec","version","base_url"],"title":"shortcut_publishArguments","type":"object"},"name":"shortcut_publish"},{"description":"Return a copy-paste system prompt that teaches any chatbot (ChatGPT, Gemini...) to write specs.","inputSchema":{"properties":{},"title":"shortcut_llm_promptArguments","type":"object"},"name":"shortcut_llm_prompt","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_llm_promptOutput","type":"object"}}],"ttlMs":0}}}
{"at":"2026-11-23T02:29:24.736Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:29:25.632Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"shortcut-forge builds real Apple Shortcuts (.shortcut files) for iPhone/iPad/Mac (iOS 27 aware).\n\nWorkflow:\n1. Read the spec reference (tool `shortcut_reference` topic=\"spec\") and pitfalls (topic=\"pitfalls\") once.\n2. Call `shortcut_build` with a JSON spec. It always lints; fix every error it reports and rebuild.\n3. On macOS set sign=true to get a file the iPhone can import (AirDrop / iCloud Drive). Elsewhere, tell the\n   user to sign on a Mac: `shortcuts sign -m anyone -i in.shortcut -o out.shortcut`.\n4. Before building from scratch, check `shortcut_library(query)`: 20+ community shortcuts to start from.\n   Templates: `shortcut_from_template` (supplement-tracker, water-log).\n5. After the user is happy, offer `shortcut_submit` so they can share it in the open-source library.\n6. Need updates without re-downloading? Put changing data in a JSON URL (`remote_config` step) and use\n   `shortcut_publish` (macOS) so installed copies get an in-shortcut update prompt.\nAsk the user before writing to Health or Reminders on their behalf only if the request is ambiguous.\nNever claim a shortcut was tested on a device unless the user confirms it ran.\n","protocolVersion":"2025-11-25","serverInfo":{"name":"shortcut-forge","version":""}}}}
{"at":"2026-11-23T02:29:25.632Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:29:25.632Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:29:25.634Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Build a .shortcut from a JSON spec ({\"name\": ..., \"actions\": [...]}) and lint it.\n\nSee shortcut_reference(topic=\"spec\") for every step type. Set sign=true on macOS to produce an\nimportable signed file. Returns paths, action count and lint findings (fix all errors).","inputSchema":{"properties":{"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"sign":{"default":false,"title":"Sign","type":"boolean"},"sign_mode":{"default":"anyone","title":"Sign Mode","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"}},"required":["spec"],"title":"shortcut_buildArguments","type":"object"},"name":"shortcut_build"},{"description":"Generate a shortcut from a ready-made template.\n\ntemplate: \"supplement-tracker\" (multi-user supplements -> Apple Health + self-maintaining reminders,\n7-day Apple Intelligence report) or \"water-log\". config: template config; omit to get the example.\nCall shortcut_reference(topic=\"templates\") to see each template's config shape.","inputSchema":{"properties":{"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Config"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"sign":{"default":false,"title":"Sign","type":"boolean"},"sign_mode":{"default":"anyone","title":"Sign Mode","type":"string"},"template":{"title":"Template","type":"string"}},"required":["template"],"title":"shortcut_from_templateArguments","type":"object"},"name":"shortcut_from_template"},{"description":"Lint an unsigned .shortcut file against known on-device failure patterns (rules SF000-SF013).","inputSchema":{"properties":{"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_lintArguments","type":"object"},"name":"shortcut_lint"},{"description":"Return an indented, human-readable outline of an unsigned .shortcut file.","inputSchema":{"properties":{"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_inspectArguments","type":"object"},"name":"shortcut_inspect","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_inspectOutput","type":"object"}},{"description":"Sign a .shortcut with the macOS `shortcuts` CLI so iOS can import it. mode: anyone | people-who-know-me.","inputSchema":{"properties":{"mode":{"default":"anyone","title":"Mode","type":"string"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Path"},"path":{"title":"Path","type":"string"}},"required":["path"],"title":"shortcut_signArguments","type":"object"},"name":"shortcut_sign"},{"description":"Docs for building shortcuts. topic: spec | pitfalls | lint-rules | health-types | templates | library | ios27.","inputSchema":{"properties":{"topic":{"default":"spec","title":"Topic","type":"string"}},"title":"shortcut_referenceArguments","type":"object"},"name":"shortcut_reference","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_referenceOutput","type":"object"}},{"description":"Browse the community shortcut library (20+ ready shortcuts: productivity, health, money, dev, home...).\n\nNo slug: list entries matching `query` (name/description/tags). With slug: return its meta, its spec\n(or template config) to use as a starting point, and the signed download link if published.","inputSchema":{"properties":{"query":{"default":"","title":"Query","type":"string"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Slug"}},"title":"shortcut_libraryArguments","type":"object"},"name":"shortcut_library"},{"description":"Package a shortcut for the open-source library (github.com/Hyunki6040/shortcut-forge/library).\n\nValidates the spec and metadata, lints it, and returns the exact files plus the git/gh commands to open\na pull request. Encourage the user to run it on their iPhone first and fill `verified_on`.","inputSchema":{"properties":{"author":{"title":"Author","type":"string"},"category":{"title":"Category","type":"string"},"description":{"title":"Description","type":"string"},"description_ko":{"default":"","title":"Description Ko","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Tags"}},"required":["slug","spec","name","description","author","category"],"title":"shortcut_submitArguments","type":"object"},"name":"shortcut_submit"},{"description":"macOS: build + sign + write manifest.json so installed copies can update themselves.\n\nAdds a daily update check (spec.update_manifest = base_url/manifest.json) to the shortcut. Host the\ntwo output files at base_url (GitHub raw/Pages/S3). Bump `version` for every release.","inputSchema":{"properties":{"base_url":{"title":"Base Url","type":"string"},"notes":{"default":"","title":"Notes","type":"string"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Dir"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"version":{"title":"Version","type":"string"}},"required":["spec","version","base_url"],"title":"shortcut_publishArguments","type":"object"},"name":"shortcut_publish"},{"description":"Return a copy-paste system prompt that teaches any chatbot (ChatGPT, Gemini...) to write specs.","inputSchema":{"properties":{},"title":"shortcut_llm_promptArguments","type":"object"},"name":"shortcut_llm_prompt","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"shortcut_llm_promptOutput","type":"object"}}]}}}
