Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- `@agent-relay/sdk` messaging and delivery types now derive from the canonical `@relaycast/types` schemas: `Relay*` types index into the wire contract, `normalize.ts` validates payloads with canonical-derived zod schemas at the boundary instead of probing snake/camel field variants, and the inbox/delivery state unions (`InboxItemState`, `InjectionResult.status`) extend the canonical `DeliveryStatus` instead of redeclaring it — wire-contract changes now surface as compile errors instead of silent drift.
- `codex-relay-skill` and `gemini-relay-extension` now default to `https://gateway.relaycast.dev`, matching the `agent-relay` CLI and SDK. Set `RELAY_BASE_URL` to keep using `https://api.relaycast.dev`.

### Fixed

- `@agent-relay/sdk` messaging events map the canonical `message.reacted` WebSocket event onto `reactionAdded`/`reactionRemoved`; previously only the non-canonical `reaction.added`/`reaction.removed` names were handled, so reaction listeners never fired against current Relaycast engines.
- `agent-relay-broker` persists pending deliveries on shutdown and on every queue change, redelivers them on restart, reports timeout-fallback verification explicitly, and emits `delivery_dropped` when the per-worker queue cap evicts a message.

## [8.5.0] - 2026-06-11
Expand Down
79 changes: 45 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
"@types/node": "^22.13.10"
},
"dependencies": {
"@relaycast/sdk": "^3.1.1"
"@relaycast/sdk": "^3.1.1",
"@relaycast/types": "^3.1.1",
"zod": "^4.3.6"
}
}
5 changes: 4 additions & 1 deletion packages/sdk/src/delivery/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { DeliveryStatus } from '@relaycast/types';

import type { RelayMessage } from '../messaging/index.js';
import type { Unsubscribe } from '../capabilities.js';
import type {
Expand Down Expand Up @@ -27,7 +29,8 @@ export interface InjectionContext {
}

export interface InjectionResult {
status: 'accepted' | 'delivered' | 'deferred' | 'failed';
/** Canonical durable-delivery status reported by the adapter. */
status: DeliveryStatus;
injectionId?: string;
availableAt?: string;
reason?: string;
Expand Down
Loading
Loading