Repository navigation
Bump Dex Agents to 0.6.5 and the Gmail connector to 0.2.2 - #5
Merged
Merged
Conversation
Gmail sendMessage failed inside an agent tool Step with "message could not be encoded": the connector read call.context.flowStartedAt, which the agent's ConnectorStepContext did not forward. Dex Agents 0.6.5 forwards flowStartedAt and firstAttemptAt, and Gmail 0.2.2 no longer needs flowStartedAt for its Message-ID.
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.
Fixes the welcome email, which always failed with
gmail sendMessage returned defect: VALIDATION: message could not be encoded. Nothing reached Gmail, yet the call was recorded asoutcome_unknown.Cause: connector-google-gmail 0.2.1 read
call.context.flowStartedAtfor the Message-ID, and theConnectorStepContextin@superdurable/dex-agents0.6.0 did not forward it.@superdurable/dex-agents,-claude-agent-sdk,-pi: 0.6.0 → 0.6.5.ConnectorStepContextnow forwardsflowStartedAtandfirstAttemptAt(agents: forward flowStartedAt and firstAttemptAt through ConnectorStepContext superdurable/dex#1799).@superdurable/connector-google-gmail: 0.2.1 → 0.2.2. The Message-ID no longer needsflowStartedAt, and unrelated errors no longer show as encoding failures (Gmail sendMessage reports a missing call.context.flowStartedAt as "message could not be encoded" superdurable/dex-connectors-library#752, #753).Checked:
npm run typecheck, andnpm test57/57 on Node 24. Gmail is mocked in the tests, so a live send after the upgrade is the end-to-end check.