Commit Graph
3 Commits
Author SHA1 Message Date
james.maes bf5478490b feat(app): proper app icon set + sync helper LSMinimumSystemVersion to 14.0
App icon was missing — AppIcon.appiconset/Contents.json declared 10 size slots
but no PNG files filled in, so Jarvis showed the generic blank-app placeholder
in Dock/Finder/cmd-tab. This commit fills all 10 slots with a generated icon
derived from the existing menu-bar arc-reactor PDF, plus consolidates the
helper Info.plists onto the same MACOSX_DEPLOYMENT_TARGET pattern the main
target already uses.

Icon generation
---------------
- Render Icon-MenuBar-Template.pdf at 1024×1024 via qlmanage
- Composite via scripts/build-app-icon.swift (Core Graphics):
  - Squircle clip (radius = size × 0.2237 per Apple HIG)
  - Radial gradient backplate: #4FC3F7 cyan core → #0D47A1 navy → #061229
    near-black (Iron Man arc-reactor palette)
  - Inner glow ring at 35% radius for energized feel
  - Silhouette as luminosity mask, filled near-white with cyan tint
  - 2.5px cyan rim for definition against any wallpaper
- Resize to 7 unique pixel sizes (16/32/64/128/256/512/1024) via sips
- Map into the 10 AppIcon.appiconset slots (each idiom×scale combination
  gets its own filename for clarity, even though sizes overlap)
- AppIcon.icns is now produced by Xcode's actool at 52KB

Helper deployment-target sync
-----------------------------
The macOS 14 deployment-target bump in 722e25b (Phase 6 close-out, Voice
package's ORT 1.24.2 floor) updated the main Jarvis target via project.yml
but missed the three MCP helper Info.plists, which still hardcoded
LSMinimumSystemVersion=13.0. xcodebuild auto-corrected at build time but
emitted a warning per helper. Update each to use $(MACOSX_DEPLOYMENT_TARGET)
so future deployment-target changes propagate automatically (matches the
pattern the main App/Info.plist already uses).

Files
-----
- App/Assets.xcassets/AppIcon.appiconset/Contents.json — slot filenames
- App/Assets.xcassets/AppIcon.appiconset/icon_*.png — 10 icon PNGs
- scripts/build-app-icon.swift — reproducible icon-generation script
- mcp-servers/mcp-{clipboard,applescript,time}/Support/Info.plist — sync to $(MACOSX_DEPLOYMENT_TARGET)

Verification
------------
- xcodebuild Debug build: BUILD SUCCEEDED, zero LSMinimumSystem warnings
- AppIcon.icns present in Jarvis.app/Contents/Resources/ (52KB)
2026-04-27 17:07:00 -05:00
james.maes 618aa73f4b feat(05-03): xcodegen wiring + Copy Helpers loop extension for mcp-applescript
- project.yml: register mcp-applescript target mirroring mcp-time/clipboard
  shape with CODE_SIGN_ENTITLEMENTS=Support/mcp-applescript.entitlements
- Jarvis target gains mcp-applescript dependency (embed=false link=false)
- Copy MCP helpers loop extends mcp-time mcp-clipboard mcp-applescript
- Per-helper postBuildScript copies Support/mcp-applescript.entitlements into
  bundle Contents/Resources/ where codesign.sh's deepest-first walker expects
- Strip XML comment from entitlements file: AMFIUnserializeXML rejects plist
  comments at line 6, while plutil -lint accepts them. Other helpers' .entitlements
  also have no comments — matching the pattern that already works.
- Debug build: Jarvis.app/Contents/Helpers/{mcp-time,mcp-clipboard,mcp-applescript}.app
  all sign cleanly; codesign -d --entitlements shows apple-events=true ONLY on
  mcp-applescript (mcp-time=0, mcp-clipboard=0, mcp-applescript=1)
- xcodegen generate updates project.pbxproj; no CodeSignOnCopy = YES introduced
2026-04-25 13:22:22 -05:00
james.maes 2c75d94ed3 feat(05-03): GREEN — mcp-applescript helper with run_applescript tool
- AppleScriptRunner: in-process NSAppleScript wrapper (NEVER osascript subprocess
  — that splits TCC identity per T-05-03-03)
- AppleScriptOutcome enum: .success / .compileFailure / .runtimeError(num, msg)
- Empty/whitespace source explicitly rejected as .compileFailure
- OSA error-number range -2700..-2799 distinguishes compile from runtime errors
- MCPAppleScript main: registers run_applescript with single 'source' string arg
- Scaffold-time stderr probe runs trivial script at init (RESEARCH OQ#3 / T-05-03-05)
- Info.plist: LSUIElement+LSBackgroundOnly+CFBundleId+NSAppleEventsUsageDescription
- mcp-applescript.entitlements: ONLY com.apple.security.automation.apple-events=true
- 4/4 AppleScriptRunner tests pass (locally; XCTSkip via JARVIS_SKIP_NSAPPLESCRIPT)
- swift build -c release produces working executable

Closes MCP-04 (helper portion). Confirmation broker + dispatcher gating in 05-04/05-05.
2026-04-25 13:17:50 -05:00