diff --git a/AGENTS.md b/AGENTS.md index a85a0acd..c02cf354 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,9 +20,10 @@ Xcode builds the pinned tag, not the sibling working tree, so an uncommitted cha `libghostty-spm/` is a maintenance submodule of the public `AkinoKaede/libghostty-spm` fork, tracking `termind`; upstream is `Lakr233/libghostty-spm`. Xcode consumes the fork as a remote SPM dependency -pinned to an exact commit, not the submodule working tree. Push package changes -to `termind`, then update the submodule gitlink, `project.pbxproj` revision and -`Package.resolved` together. Run `git submodule update --init libghostty-spm` +with an up-to-next-major version requirement; `Package.resolved` locks the released +version and revision, not the submodule working tree. Publish package changes +from `termind`, then update the submodule gitlink, `project.pbxproj` minimum version +and `Package.resolved` together. Run `git submodule update --init libghostty-spm` to obtain the maintenance checkout. Changes to `Patches/ghostty/` require a new fork XCFramework release and a matching URL/checksum in `Package.swift` before advancing the app's pin. The package's native iOS touch menus expose diff --git a/Termind.xcodeproj/project.pbxproj b/Termind.xcodeproj/project.pbxproj index 23eefddd..890e4963 100644 --- a/Termind.xcodeproj/project.pbxproj +++ b/Termind.xcodeproj/project.pbxproj @@ -2954,8 +2954,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/AkinoKaede/libghostty-spm.git"; requirement = { - kind = revision; - revision = 6402aba571d45fe53fb0be7d1e7cf4e0c9d6b308; + kind = upToNextMajorVersion; + minimumVersion = 2.2.2026100303; }; }; TRMD00000000000000100023 /* XCRemoteSwiftPackageReference "openssl-spm" */ = { diff --git a/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 49f4abf6..499290bd 100644 --- a/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -168,7 +168,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/AkinoKaede/libghostty-spm.git", "state" : { - "revision" : "6402aba571d45fe53fb0be7d1e7cf4e0c9d6b308" + "revision" : "fc5444ea40e9d7c6204bd5dd46d23a884e987181", + "version" : "2.2.2026100303" } }, { diff --git a/libghostty-spm b/libghostty-spm index 6402aba5..fc5444ea 160000 --- a/libghostty-spm +++ b/libghostty-spm @@ -1 +1 @@ -Subproject commit 6402aba571d45fe53fb0be7d1e7cf4e0c9d6b308 +Subproject commit fc5444ea40e9d7c6204bd5dd46d23a884e987181