apple-foundation-models changedcli-sdks-libraries/libraries/apple-foundation-models
Nearest release: v2.1.333, published 4 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−1removed
From line
157
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 157, old and new numbered
/
from line 157
157157
158158The first time your app uses Claude on a device, the app requests a challenge from Anthropic, attests the device with Apple’s `DCAppAttestService`, and exchanges the verified attestation for an access token. The Claude for Foundation Models package runs this flow automatically and requests new tokens as they expire; there is no attestation code for you to write.
159159
160Tokens are scoped to your workspace, expire after 1 hour, and authorize only [Messages API](https://platform.claude.com/docs/en/api/messages/create) calls. They carry no end-user identity: App Attest identifies your app, not the person using it, so handle any per-user logic in your app.
160Tokens are scoped to your workspace, expire after 1 hour, and can only [send messages](https://platform.claude.com/docs/en/api/messages/create) and [count tokens](https://platform.claude.com/docs/en/api/messages/count_tokens). They carry no end-user identity: App Attest identifies your app, not the person using it, so handle any per-user logic in your app.
161161
162162To stop a compromised or retired app, revoke its integration. Revocation is permanent and covers every bundle ID in the integration. It revokes the integration’s outstanding tokens, and devices can no longer request new ones.
163163
No line in this hunk matches that.