Repository navigation
Support iOS 15 and run the kwwk CLI on iOS - #196
Merged
Merged
Conversation
From owngoal-dev/kk patches/0001-build-the-tui-on-ios.patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From owngoal-dev/kk patches/0002-replace-process-on-ios.patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From owngoal-dev/kk patches/0003-find-the-bootstrap-shell.patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From owngoal-dev/kk patches/0004-expand-tilde-on-ios.patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From owngoal-dev/kk patches/0006-split-without-the-ios-16-overload.patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Silences Swift 6.4's 'conformance to Sendable is unavailable' warnings for NIOSSLHandler and HTTP2StreamMultiplexer. Same handlers, same order; a missing multiplexer now closes the connection instead of leaking it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Swift 6.4 infers the refresh Task closure as actor-isolated and flags its awaits on actor methods as unnecessary; older compilers may not. An actor method makes the isolation explicit for both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lakr233
added a commit
to owngoal-dev/kk
that referenced
this pull request
Oct 14, 2026
yellowplushq/kwwk#196 lowers kwwk to iOS 15 and builds its CLI for iOS with what patches 0001-0006 did. Only the catalog-sidecar patch is left, rebased onto the current ModelsCatalog as 0001. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kwwkCLI build and run on iOS. This brings in owngoal-dev/kk's patches 0001–0006, which until now were applied on top of a pinned kwwk commit to shipkkon jailbroken iOS:StdoutTerminal,TUIRunner) compiled on iOSposix_spawninstead of the missingProcessfor the/loginbrowser handoff (viauiopen); the git branch is read straight from.git/HEADPATHand common bootstrap locations forshon iOSNSHomeDirectory()instead ofhomeDirectoryForCurrentUser, through onecliHomeDirectory()helper (also covers the MCP command/runtime call sites added since kk's pin)lsentries withcomponents(separatedBy:)instead of the iOS 16splitoverloadRegexliterals inAnthropicProviderwith static, precompiledNSRegularExpressions using the same patterns.resources: [.process("Resources")], which would break every SwiftPM/Xcode library consumer that relies onBundle.module. kk can keep it as a packaging-only patch.No regressions for library consumers
#if os(iOS)(or|| targetEnvironment(macCatalyst)). macOS and Linux code paths and the public API are unchanged.kwwkDefaultShellPathstays apublic let String. It is still"/bin/sh"outside iOS.Warnings fixed along the way
These four Swift 6.4 warnings were already on
main:CursorConnectClient: the TLS handler is added throughsyncOperationsinside the channel initializer, and the multiplexer is looked up and used on the connection's event loop. The handlers and their order are the same as before. One change: a missing multiplexer now closes the connection through the existing failure path instead of leaking it.OAuthManager.refresh: the shared task's body is now an actor method, so its calls into the actor are synchronous whichever way the compiler infers the closure's isolation (Swift 6.1 and 6.4).CI
New
build-iosjob on macos-15 (Xcode 16.4 / Swift 6.1) and macos-26:kwwkproduct forarm64-apple-ios15.0and checks that the Mach-O saysplatform IOS/minos 15.0Test plan
swift build --build-tests: zero warnings from this repo's sources;swift test: 799 tests passkwwk: Mach-Oplatform IOS,minos 15.0, depends only on system libs plus thelibswiftCompatibilitySpanshimCursorConnect.openagainst api2.cursor.sh after the NIO change: TLS + h2 + stream come up and the server's end-stream arrives (temporary test, not committed)kk --self-teston an iOS 15 device once kk repins to this commit and drops patches 0001–0006🤖 Generated with Claude Code