Implements a Swift gRPC server that exposes Apple's Foundation Models (Apple Intelligence) over the network for LAN access. Features: - Complete: Unary RPC for prompt/response - StreamComplete: Server streaming RPC for token-by-token responses - Health: Check model availability - Optional API key authentication via gRPC metadata - Configurable host/port via CLI args or environment variables Requires macOS 26 (Tahoe) with Apple Intelligence enabled. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
214 lines
6.4 KiB
Plaintext
214 lines
6.4 KiB
Plaintext
{
|
|
"originHash" : "73128af91f020c013de06bf6af5d06131ff05e38285118f5ff904ee06a3a6e24",
|
|
"pins" : [
|
|
{
|
|
"identity" : "grpc-swift",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift.git",
|
|
"state" : {
|
|
"revision" : "adc18c3e1c55027d0ce43893897ac448e3f27ebe",
|
|
"version" : "2.2.3"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "grpc-swift-nio-transport",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift-nio-transport.git",
|
|
"state" : {
|
|
"revision" : "ca2303eb7f3df556beafbba33a143ffa30d5b786",
|
|
"version" : "1.2.3"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "grpc-swift-protobuf",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift-protobuf.git",
|
|
"state" : {
|
|
"revision" : "53e89e3a5d417307f70a721c7b83e564fefb1e1c",
|
|
"version" : "1.3.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-algorithms",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-algorithms.git",
|
|
"state" : {
|
|
"revision" : "87e50f483c54e6efd60e885f7f5aa946cee68023",
|
|
"version" : "1.2.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-argument-parser",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-argument-parser.git",
|
|
"state" : {
|
|
"revision" : "c5d11a805e765f52ba34ec7284bd4fcd6ba68615",
|
|
"version" : "1.7.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-asn1",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-asn1.git",
|
|
"state" : {
|
|
"revision" : "810496cf121e525d660cd0ea89a758740476b85f",
|
|
"version" : "1.5.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-async-algorithms",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-async-algorithms.git",
|
|
"state" : {
|
|
"revision" : "6c050d5ef8e1aa6342528460db614e9770d7f804",
|
|
"version" : "1.1.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-atomics",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-atomics.git",
|
|
"state" : {
|
|
"revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7",
|
|
"version" : "1.3.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-certificates",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-certificates.git",
|
|
"state" : {
|
|
"revision" : "133a347911b6ad0fc8fe3bf46ca90c66cff97130",
|
|
"version" : "1.17.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-collections",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-collections.git",
|
|
"state" : {
|
|
"revision" : "7b847a3b7008b2dc2f47ca3110d8c782fb2e5c7e",
|
|
"version" : "1.3.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-crypto",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-crypto.git",
|
|
"state" : {
|
|
"revision" : "6f70fa9eab24c1fd982af18c281c4525d05e3095",
|
|
"version" : "4.2.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-http-structured-headers",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-http-structured-headers.git",
|
|
"state" : {
|
|
"revision" : "76d7627bd88b47bf5a0f8497dd244885960dde0b",
|
|
"version" : "1.6.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-http-types",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-http-types.git",
|
|
"state" : {
|
|
"revision" : "45eb0224913ea070ec4fba17291b9e7ecf4749ca",
|
|
"version" : "1.5.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-log",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-log.git",
|
|
"state" : {
|
|
"revision" : "bc386b95f2a16ccd0150a8235e7c69eab2b866ca",
|
|
"version" : "1.8.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio.git",
|
|
"state" : {
|
|
"revision" : "a1605a3303a28e14d822dec8aaa53da8a9490461",
|
|
"version" : "2.92.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-extras",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-extras.git",
|
|
"state" : {
|
|
"revision" : "1c90641b02b6ab47c6d0db2063a12198b04e83e2",
|
|
"version" : "1.31.2"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-http2",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-http2.git",
|
|
"state" : {
|
|
"revision" : "c2ba4cfbb83f307c66f5a6df6bb43e3c88dfbf80",
|
|
"version" : "1.39.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-ssl",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-ssl.git",
|
|
"state" : {
|
|
"revision" : "173cc69a058623525a58ae6710e2f5727c663793",
|
|
"version" : "2.36.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-transport-services",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-transport-services.git",
|
|
"state" : {
|
|
"revision" : "60c3e187154421171721c1a38e800b390680fb5d",
|
|
"version" : "1.26.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-numerics",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-numerics.git",
|
|
"state" : {
|
|
"revision" : "0c0290ff6b24942dadb83a929ffaaa1481df04a2",
|
|
"version" : "1.1.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-protobuf",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-protobuf.git",
|
|
"state" : {
|
|
"revision" : "c169a5744230951031770e27e475ff6eefe51f9d",
|
|
"version" : "1.33.3"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-service-lifecycle",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/swift-server/swift-service-lifecycle.git",
|
|
"state" : {
|
|
"revision" : "1de37290c0ab3c5a96028e0f02911b672fd42348",
|
|
"version" : "2.9.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-system",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-system.git",
|
|
"state" : {
|
|
"revision" : "395a77f0aa927f0ff73941d7ac35f2b46d47c9db",
|
|
"version" : "1.6.3"
|
|
}
|
|
}
|
|
],
|
|
"version" : 3
|
|
}
|