Skip to content

Expose rules/packs/layers as App Intents Entity Schemas for Siri AI & Spotlight (macOS 27) #913

Description

@malpern

Post-1.0. Not for the 1.0 launch. From the WWDC 2026 review — see docs/wwdc-2026-macos-27-opportunities.md (PR #911), opportunity #2.

Why

On macOS 27, the rebuilt Siri AI lives in Spotlight, and the new App Intents Entity Schemas feed Spotlight's semantic index (plus Intent Schemas for natural-language actions and View Annotations). KeyPath already ships GetCurrentLayerIntent, ServiceControlIntent, and SendActionIntent (Sources/KeyPathAppKit/Intents/KeyPathShortcuts.swift), so the marginal cost is small.

Payoff: "switch to my vim layer" / "is KeyPath running?" works from Siri and Spotlight by name — differentiation no other keyboard remapper will have on macOS 27 day one.

Plan

  1. Model rules, packs, and layers as schema-conforming AppEntity types (gated if #available(macOS 27, *) where the schema APIs require it).
  2. Adopt Intent Schemas on the existing three intents for natural-language invocation.
  3. Evaluate View Annotations for the mapper/overlay views (onscreen awareness).
  4. Pair with the App Intents Testing Framework issue for coverage.

https://claude.ai/code/session_01Nsiqm39oCwHkbrHytefnGM

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions