typesafe-sdk-swift
Experimental Swift 6 SDK for TypeSafe using SwiftPM, Swift concurrency and URLSession across all Apple platforms.
Overview
This Swift-native TypeSafe SDK uses Swift Package Manager, Swift 6 concurrency and URLSession, with no third-party runtime dependencies. It supports iOS/iPadOS 16, macOS 13, Mac Catalyst 16, tvOS 16, watchOS 9 and visionOS 1. State can be text or structured, and questions are expressed as Choice, Noul and Score enum cases; answers and usage come back in a typed response.
It is explicitly experimental at 0.1.0, and the README recommends pinning the exact version. It is candid about testing: macOS and iOS Simulator tests pass locally, compilation was checked for all six platform families at minimum targets, and CI passes, but that is not a runtime test on each minimum OS. It is MIT licensed.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | What is this ticket about? | billing · technical · other |
| Yes / no | Does this need immediate attention? | yes · no |
| Score | How urgent is this request? | Can wait · Needs attention · Urgent |
How it works
- Add the package pinned to 0.1.0.
- Create TypeSafeClient with an API key.
- Call systemOne with state and questions.
- Pattern-match typed answers.
Strengths
- Covers all Apple platforms.
- No runtime dependencies.
- Clear compatibility documentation.
Caveats
- Experimental; APIs may change.
- Not runtime-tested on every minimum OS.
Getting started
.package(url: "https://github.com/marandaneto/typesafe-sdk-swift.git", exact: "0.1.0")At a glance
- Type
- Library
- Status
- prototype
- Language
- Swift
- Runtime
- Apple platforms library
- Has code
- yes
- Has tests
- yes
- License
- MIT
Use cases and integrations
How curated lists describe it
An experimental Swift SDK for TypeSafe using Swift Package Manager, Swift concurrency, and URLSession.
logicrw/awesome-jev-projects
Frequently asked questions
Is it stable?
No, it is experimental 0.1.0; pin the exact version.
Which platforms?
iOS, iPadOS, macOS, Mac Catalyst, tvOS, watchOS and visionOS.
Dependencies?
None at runtime.
Related projects
Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.
MCP serverproductionTypeScriptAx, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.
PluginproductionTypeScriptEffect TypeScript library whose @effect/ai-typesafe package maps classify, probability and rating operations to Jev questions.
ProjectproductionTypeScriptPHP monorepo whose Polyglot module adds a TypeSafe driver for typed Noul, Choice and Score decisions alongside LLM inference.
ProjectproductionPHPGo MCP server giving any client typed Jev decisions via OpenRouter or TypeSafe, with validated answers and no paid retries.
MCP serverproductionGoSimon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.
PluginproductionPython