Unisono.AppIntents 0.1.0-preview.2

This is a prerelease version of Unisono.AppIntents.
dotnet add package Unisono.AppIntents --version 0.1.0-preview.2
                    
NuGet\Install-Package Unisono.AppIntents -Version 0.1.0-preview.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Unisono.AppIntents" Version="0.1.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Unisono.AppIntents" Version="0.1.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Unisono.AppIntents" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Unisono.AppIntents --version 0.1.0-preview.2
                    
#r "nuget: Unisono.AppIntents, 0.1.0-preview.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Unisono.AppIntents@0.1.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Unisono.AppIntents&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Unisono.AppIntents&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Tool

Unisono.AppIntents

The Apple front door of Unisono: connects an app's Swift App Intents to the ToolRegistry through one generic JSON bridge, so Siri and Shortcuts run the same C# handlers as MCP clients. Targets net10.0-ios and net10.0-maccatalyst; works with .NET MAUI, Uno Platform, Avalonia and plain .NET for iOS.

dotnet add package Unisono.AppIntents --prerelease

What the package contains:

  • UnisonoAppIntents.Attach(registry): the C# end of the bridge; call it once at launch.

  • native/UnisonoBridge.swift: the Swift end (fixed UnisonoHost protocol, UnisonoBridge singleton and UnisonoTools helpers). Reference or copy it into your Swift intents framework next to your intents, entities and enums; every perform() becomes a few lines:

    let created = try await UnisonoTools.invoke("create_task", Args(title: taskTitle), returning: TaskDto.self)
    return .result(value: TaskEntity(created), dialog: "Created '\(created.title)'")
    
  • build/Unisono.AppIntents.targets: imported automatically; after your <XcodeProject> item builds the Swift framework, it copies Metadata.appintents into the app bundle (flat on iOS, Contents/Resources on Mac Catalyst).

  • tools/new-intents-xcodeproj.py: generates the Xcode project for your intents framework from a Sources/ folder, referencing the bridge file (--shared) and optionally enabling Mac Catalyst.

The Swift file lives in the package at ~/.nuget/packages/unisono.appintents/<version>/native/UnisonoBridge.swift. Full walkthrough, the TaskTracker and Notes samples and the cross-app demos: https://github.com/egarim/unisono

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.2 45 11/11/2026
0.1.0-preview.1 47 11/10/2026

First public preview: tool registry, in-app MCP server, and the Siri/Shortcuts bridge for iOS and Mac Catalyst. Full notes: https://github.com/egarim/unisono/blob/main/CHANGELOG.md