Skip to content

fix(agent-sdk): restore strong canonical receipt typing with runtime-core signing#49

Merged
GsCommand merged 1 commit into
mainfrom
codex/fix-typescript-errors-in-agent-sdk
May 18, 2026
Merged

fix(agent-sdk): restore strong canonical receipt typing with runtime-core signing#49
GsCommand merged 1 commit into
mainfrom
codex/fix-typescript-errors-in-agent-sdk

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • Recent changes caused the SDK Receipt type to be overly broad, losing strong access to receipt.proof and receipt.execution for SDK users.
  • The signing behavior from @commandlayer/runtime-core must be preserved rather than reintroducing local signing logic.
  • The canonicalization parameter should be a stable literal to avoid accidental misuse.

Description

  • Add CanonicalProofEnvelope and change Receipt to ReceiptInput & { proof: CanonicalProofEnvelope } to restore a strong, SDK-local canonical receipt shape in src/receipt.ts.
  • Narrow the canonicalization param to the literal `

Codex Task

@GsCommand GsCommand merged commit 1e25ea9 into main May 18, 2026
1 check failed
@GsCommand GsCommand deleted the codex/fix-typescript-errors-in-agent-sdk branch May 18, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant