EEliberto/Pastel-macOS
44.6
Weak · 15 November 2026
35.4k
lines of production code
Go
with Swift, JavaScript
5
measurements over time
What this system is
Features
Initial macOS project structure and Sparkle integration
The Pastel macOS application project has been established, introducing the core Swift source files for account management, search, version history, downloads, and task logging. The build configuration includes localization support (zh-Hans, zh-HK, zh-Hant, ja, ko, th) and integrates the Sparkle framework to enable automatic software update capabilities for users.
Pastel.xcodeproj · high confidence
Introduce Pastel CLI for Apple App Store acquisition and signing
This release adds a new Node.js-based command-line interface (CLI) for managing Apple App Store interactions. The tool provides commands to search, look up, and list featured apps, as well as to authenticate with Apple ID credentials, retrieve app version history, and download IPA files. It includes built-in logic for handling license acquisition (purchasing or redownloading), recovering from unavailable downloads, and re-signing IPA files with custom metadata and signatures. The CLI supports multi-threaded chunked downloads, respects system proxy settings, and manages persistent login sessions with automatic expiration handling.
NodeProject/src · high confidence
Introduce macOS app with Sparkle auto-updates and new UI features
Pastel is now available as a native macOS application built with SwiftUI and the Observation framework. This release introduces a redesigned user interface featuring a new download library sidebar, version history management with multiple source providers (Timbrd, Agzy, Bilin, Apple), and enhanced search capabilities. The app includes automatic update support via Sparkle, configured with a public ED key and feed URL in the Info.plist, and adds keyboard shortcut handling for row selection across the interface.
Pastel · high confidence
New build scripts for Node runtime bundling, SAP signing, and DMG creation
Added a set of build scripts to the Scripts directory to support the application's internal Node.js runtime and Apple Store authentication. BundleNodeRuntime.sh handles extracting the Node binary, installing dependencies, compiling the SAP signer, and applying necessary codesigning (including a new JIT entitlement for Node). SAPSigner.m implements a subprocess that uses private CommerceKit frameworks to generate SAP action signatures required for Apple authentication. BuildAdHocDMG.sh automates the final build, verification, and DMG packaging process. VerifyDeviceGUIDImplementation.sh ensures the device identifier logic in the app source meets specific safety and implementation constraints. Also in this area: 1 commit (0 fixes) modifying (repo-wide).
Scripts · medium confidence · unverified
Behavioural changes
1 commit (0 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 1 commit, 291 files: “Improve native concurrent downloads, recovery and progress controls”. Also in this area: 1 commit adding/updating tests in Scripts.
Scripts/Tests, github.com/majd/ipatool/v2 · medium confidence · unverified
7 commits (3 fixes) modifying StoreHelper
A change to existing behaviour in StoreHelper — 7 commits (3 fixs), 277 files: “Restore no-update IPA packaging and release build 2026110502”; “Fix IPA authorization finalization and release build 2026110204”; “Release Pastel 20261102”; and 4 more.
StoreHelper · medium confidence · unverified
Test coverage
Added tests for Apple App Store download, authentication, and session handling
Added comprehensive test coverage for the Apple App Store integration, including fallback logic for current version resolution, parsing of Apple version identifiers, secure credential reading from stdin, device GUID normalization, IPA download completion merging, and redownload recovery mechanisms. The tests also cover session encryption with AES-256-GCM, session expiry detection, StoreServices authentication failure recognition, purchase success validation, storefront version extraction, and platform catalog parsing.
NodeProject/test · high confidence
Dependencies
Add Pastel Node.js client and update macOS update framework
This release adds a new Node.js embedded App Store client (ipatool.js) to the Pastel project, requiring Node.js 24 and bundling dependencies like axios, archiver, and plist. It also updates the Sparkle framework used for macOS application updates to version 2.9.3. Also in this area: 1 commit updating dependencies (2 manifests).
(dependencies) · medium confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 40 → 45 (+4.8)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 32 → 31 (-0.7)
- Architecture 97 → 95 (-2.2)
- Maturity 57 → 56 (-0.8)
- Readiness 28 → 50 (+21.7)
- Security 94 → 69 (-25.1)
- Performance 60 → 60 (+0.0)
Resolved (18)
- (anonymous) (cyclomatic 16) (NodeProject/main.js)
- Duplicated block (13 lines × 2) (Pastel/PastelApp.swift)
- Duplicated block (44 lines × 2) (Pastel/PastelApp.swift)
- Duplicated block (6 lines × 2) (Pastel/DownloadLibraryFeatureState.swift)
- Duplicated block (9 lines × 2) (Pastel/PastelApp.swift)
- Low cohesion: IBeamCursorRectView (LCOM4 7) (Pastel/PastelApp.swift)
- Low cohesion: KeyboardCommandRouter (LCOM4 4) (Pastel/PastelApp.swift)
- Low coverage: NodeProject/src/Signature.js (NodeProject/src/Signature.js)
- Low coverage: NodeProject/src/catalog.js (NodeProject/src/catalog.js)
- Low coverage: NodeProject/src/client.js (NodeProject/src/client.js)
- Low coverage: NodeProject/src/device.js (NodeProject/src/device.js)
- Low coverage: NodeProject/src/downloader.js (NodeProject/src/downloader.js)
- Low coverage: NodeProject/src/gsa.js (NodeProject/src/gsa.js)
- Low coverage: NodeProject/src/ipa.js (NodeProject/src/ipa.js)
- Medium: security finding (details withheld)
- No ADRs found
- gsa.storeLogin (cognitive 16) (NodeProject/src/gsa.js)
- gsa.storeLogin (cyclomatic 16) (NodeProject/src/gsa.js)
New (379)
- (anonymous) (cognitive 24) (NodeProject/main.js)
- (anonymous) (cyclomatic 23) (NodeProject/main.js)
- AccountEditorView.body (cyclomatic 17) (Pastel/PastelApp.swift)
- Backend.execute (cognitive 27) (StoreHelper/ipatool/internal/store/backend.go)
- Backend.execute (cyclomatic 21) (StoreHelper/ipatool/internal/store/backend.go)
- Change coupling: ipa.js ↔ PastelApp.swift (NodeProject/src/ipa.js)
- ClassTooLong: bootstrapVM (StoreHelper/ipatool/internal/store/profilegen/vm.go)
- ContentView.body (cognitive 21) (Pastel/PastelApp.swift)
- ContentView.body (cyclomatic 20) (Pastel/PastelApp.swift)
- ContentView.fetchVersionIDsFromApple (cognitive 21) (Pastel/PastelApp.swift)
- ContentView.fetchVersionIDsFromApple (cyclomatic 17) (Pastel/PastelApp.swift)
- ContentView.manualActionContent (cognitive 18) (Pastel/PastelApp.swift)
- DownloadManager.finish (cognitive 19) (Pastel/PastelApp.swift)
- DownloadManager.start (cognitive 20) (Pastel/PastelApp.swift)
- DownloadManager.start (cyclomatic 19) (Pastel/PastelApp.swift)
- Duplicated block (10 lines × 2) (StoreHelper/ipatool/internal/sap/machine/machine.go)
- Duplicated block (10–11 lines × 2) (StoreHelper/ipatool/internal/sap/machine/storeagent.go)
- Duplicated block (11 lines × 2) (StoreHelper/ipatool/internal/sap/unicorn/cache.go)
- Duplicated block (11 lines × 2) (StoreHelper/ipatool/internal/store/emulator/network.go)
- Duplicated block (11 lines × 2) (StoreHelper/ipatool/internal/store/emulator/swift.go)
- …and 359 more
Changes since last survey
- 21 commits — 13 feature/other, 8 fixes
By area
- (root) — 17 commits
- NodeProject/src — 2 commits
- Pastel.xcodeproj/project.pbxproj — 1 commit
- StoreHelper/ipatool — 1 commit
Notable commits
- fix: Fix Apple authentication redirects
- fix: Fix IPA account metadata compatibility and release 20261105
- fix: Fix IPA authorization finalization and release build 2026110204
- fix: Fix Pastel release launch validation
- fix: Fix first-time free app acquisition and release Pastel 20261109
- fix: Publish IPA authorization fix update feed
- fix: Publish fixed Pastel 20261102 update
- fix: Publish no-update fix build 2026110502 feed
- change: Improve native concurrent downloads, recovery and progress controls
- change: Improve verification dialog and release build 2026110203
- change: Publish Pastel 20261102 appcast
- change: Publish Pastel 20261105 update feed
- change: Publish Pastel 20261108 update feed
- change: Publish Pastel 20261109 update feed
- change: Publish Pastel build 2026110203 appcast
- change: Publish signed Pastel 20261110 update feed
- change: Release Pastel 20261102
- change: Remove test app references from release notes
- change: Restore Apple authentication and concurrent downloads for Pastel 20261108
- change: Restore no-update IPA packaging and release build 2026110502
- …and 1 more
Architecture
- Containers 0 added · 0 removed · contexts 1 added · 0 removed · edges 0 added · 0 removed
Added bounded contexts (1)
- github.com/majd/ipatool/v2
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
EEliberto/Pastel-macOS was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ae94d57a92d6f1b6f8caf37c0a0bed158d813a79 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.