From 188dc29e52a340fcb4300abf2b012d4fceb70ce1 Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 11 Jul 2025 13:39:31 +0200 Subject: [PATCH 1/3] chore: rename CLAUDE.md to AGENT.md and update dependencies - Renamed CLAUDE.md to AGENT.md following ampcode.com guidelines - Updated dependency versions in Package.resolved - Added interoperabilityMode case to PackageInfo.Target.BuildSettingCondition --- CLAUDE.md => AGENT.md | 0 Package.resolved | 18 +++++++++--------- Sources/XcodeGraph/PackageInfo.swift | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) rename CLAUDE.md => AGENT.md (100%) diff --git a/CLAUDE.md b/AGENT.md similarity index 100% rename from CLAUDE.md rename to AGENT.md diff --git a/Package.resolved b/Package.resolved index 53f46a7b..32bb460b 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "63410ed7266ea52796cbd3155e88de62eb6f52f3ffba07a8b338d10bd332ff65", + "originHash" : "8f7ec11605d33c49dbca76c7a21b5bd815e6cf5bb841293a364d2ecc96d68509", "pins" : [ { "identity" : "aexml", @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/tuist/FileSystem.git", "state" : { - "revision" : "7aed628044e2e0595aec876cadb694aacab13a16", - "version" : "0.10.8" + "revision" : "1fa815a9fae52c8df462f80a7d19f2d72afb2a0c", + "version" : "0.10.15" } }, { @@ -105,8 +105,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-docc-plugin", "state" : { - "revision" : "d1691545d53581400b1de9b0472d45eb25c19fed", - "version" : "1.4.4" + "revision" : "3e4f133a77e644a5812911a0513aeb7288b07d06", + "version" : "1.4.5" } }, { @@ -141,8 +141,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio", "state" : { - "revision" : "34d486b01cd891297ac615e40d5999536a1e138d", - "version" : "2.83.0" + "revision" : "ad6b5f17270a7008f60d35ec5378e6144a575162", + "version" : "2.84.0" } }, { @@ -168,8 +168,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/tuist/XcodeProj", "state" : { - "revision" : "4488984883071307a9136251e7ccf06a41b6258d", - "version" : "9.4.2" + "revision" : "9799bb429fda8e360f4c535af1716bebc89fb235", + "version" : "9.4.3" } }, { diff --git a/Sources/XcodeGraph/PackageInfo.swift b/Sources/XcodeGraph/PackageInfo.swift index 237cf6c9..624e4055 100644 --- a/Sources/XcodeGraph/PackageInfo.swift +++ b/Sources/XcodeGraph/PackageInfo.swift @@ -448,6 +448,7 @@ extension PackageInfo.Target { case unsafeFlags case enableUpcomingFeature case enableExperimentalFeature + case interoperabilityMode } /// An individual build setting. From a60fea1764a22c0ba25c261f84b8e48d8a33c2ef Mon Sep 17 00:00:00 2001 From: Pedro Date: Fri, 11 Jul 2025 13:44:49 +0200 Subject: [PATCH 2/3] Fix the compilation --- Sources/XcodeGraph/PackageInfo.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/XcodeGraph/PackageInfo.swift b/Sources/XcodeGraph/PackageInfo.swift index 624e4055..349ce484 100644 --- a/Sources/XcodeGraph/PackageInfo.swift +++ b/Sources/XcodeGraph/PackageInfo.swift @@ -498,6 +498,7 @@ extension PackageInfo.Target { case unsafeFlags([String]) case enableUpcomingFeature(String) case enableExperimentalFeature(String) + case interoperabilityMode(String) } public init(from decoder: Decoder) throws { @@ -507,6 +508,9 @@ extension PackageInfo.Target { condition = try container.decodeIfPresent(PackageInfo.PackageConditionDescription.self, forKey: .condition) if let kind = try? container.decode(Kind.self, forKey: .kind) { switch kind { + case let .interoperabilityMode(mode): + name = .interoperabilityMode + value = [mode] case let .headerSearchPath(value): name = .headerSearchPath self.value = [value] @@ -544,6 +548,8 @@ extension PackageInfo.Target { try container.encode(tool, forKey: .tool) try container.encodeIfPresent(condition, forKey: .condition) switch name { + case .interoperabilityMode: + try container.encode(Kind.interoperabilityMode(value.first!), forKey: .kind) case .headerSearchPath: try container.encode(Kind.headerSearchPath(value.first!), forKey: .kind) case .define: From 4a72b9cf43afcd5306cd3d828783fb206e689da6 Mon Sep 17 00:00:00 2001 From: Pedro Date: Mon, 14 Jul 2025 13:10:10 +0200 Subject: [PATCH 3/3] Add CLAUDE.md symlink to AGENT.md for backward compatibility --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) create mode 120000 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 00000000..ac534a31 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENT.md \ No newline at end of file