Repository navigation
Conversation
Pin swift-sdk to the head of its Calimero 1.0 branch (a1ec644, PR #85) and adapt the iOS app: - Passkey sign-in and account creation on the studio's cluster, with a node-URL path (and mock attestation for `merod local`). - Studios are organizations, scenes app instances; invitation links carry an org invite token. - Blobs through MeroAppBackend.getBlob instead of the removed admin surface. - Pending node releases and app upgrades shown under "Needs your approval", decided on the node's consent page in the system browser. - Typed 1.0 errors in words; tests and README updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Calimero 1.0 branch moved: OrgInvitation is now the link payload
itself ({invitation: "inv_…", namespaceId, contextId?, name?}) and
MeroAppSession.requestConsent takes a ConsentRequest. Adapt the
invitation codec, the consent glue and the tests.
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 Mero Models 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.ymlandModelsCore/Package.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.{invitation, namespaceId, contextId}keys.OrgInvitation:invitationis theinv_…token string. A pre-1.0 signed invitation is refused.POST /invites/{token}/redeem.MeroAppBackend.getBlob(/apps/{app}/blobs) instead of the removedclient.admin.MeroAppSession.requestConsent), which returns tomero-models://consent.ApprovalsModelin ModelsCore.ReleaseDeadlineError,NotFound,LoginRequired,WrongNode,UnavailableErrorandAppError.Verification
swift test --package-path ModelsCoreon macOS: 21 tests pass. They run onInMemoryAppBackendand cover the invite-link round trip, approvals built from node-shaped reports, the consent flow, and the error text.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