Demonstrates model.use plus a runtime-side CredentialProvisioner.
The server mints a deterministic bearer credential for the accepted job,
echoes it in job.accepted, stores only its revocation id, and revokes it
when the job completes.
In one terminal:
pnpm tsx examples/provisioned-credentials/server.tsIn a second terminal:
pnpm tsx examples/provisioned-credentials/client.ts- §9.7
model.uselease capability. - §9.8
CredentialProvisionerissue/revoke lifecycle. - Credential constraints derived from the job lease.
- Client access via
handle.credentials.