Repository navigation
Conversation
Pin swift-sdk to the head of its Calimero 1.0 branch (6c5f116, PR #85) and adapt the iOS app: passkey sign-in and account creation with a node-URL path (mock attestation for merod local), orgs/teams/app instances in place of namespaces/groups/contexts, org invite tokens in invitation links, pending releases and upgrades approved on the node's consent page in the system browser, and the typed 1.0 errors in words. Tests and README updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
What and why
Calimero core 1.0 removed
/admin-api,/jsonrpc, relays, delegated execution and mero-auth. Clients now talk to attested cluster nodes over the sealed channel and sign in with passkeys. This PR moves the iOS app onto swift-sdk's 1.0 port. Android, the webapp/andlogic/are untouched.6c5f1167d1e586f556f59c326de5f51d034e80dd, the head offeat/calimero-1.0(swift-sdk#85). The pin is set inproject.ymland the CorePackage.swift. The pin moves to the merge commit once swift-sdk#85 lands.MeroAppSession.signIn()), with "Create an account" forsignUp(name:). The session lives in the Keychain and is refreshed at launch.allowMockformerod local. On such a node the app keeps a soft passkey and creates the account on first sign-in.project.ymlwithMeroNodeURL,MeroNodesandMeroAllowMock. The wallet, Cloud-manager and registry keys are gone.MeroAppSession.requestConsent), which returns to the app's://consentURL.ApprovalsModelin the Core package.ReleaseDeadlineError,NotFound,LoginRequired,WrongNode,UnavailableErrorandAppError.RelayPresenceClient, removed) to the arena's 1.0 presence.CalimeroPresenceChannelpublishes toPOST /apps/{app}/presenceand reads/apps/{app}/presence/stream. A fighter's JSON slice is far under the 4 KiB limit.SlicePublisher's newest-wins rule is unchanged.OrgInvitation,{invitation: "inv_…", namespaceId, contextId}. Joining redeems the token, and pre-1.0 links are refused (tested).KombatError.noRelaybecomes.signedOut.Verification
swift teston the Core package (macOS): 33 tests pass, onInMemoryAppBackend.xcodegen generate, thenxcodebuild build -destination 'generic/platform=iOS' CODE_SIGNING_ALLOWED=NO: BUILD SUCCEEDED, with no warnings in app sources.Gaps
webcredentials:<rp-id>Associated Domain. The cluster's rp-id isn't known yet, so it isn't set. The README notes it.🤖 Generated with Claude Code