@constal/sdk 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constal/sdk",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Public TypeScript SDK for authoring Constal agents, integrations, policies, channels, and credential providers",
5
5
  "keywords": ["constal", "agents", "integrations", "typescript", "sdk"],
6
6
  "license": "UNLICENSED",
package/publish/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@constal/sdk",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "exports": [
5
5
  "Action",
6
6
  "ActionPattern",
@@ -1571,6 +1571,8 @@ interface CommitOpts {
1571
1571
  };
1572
1572
  expectedHead?: FactRef;
1573
1573
  deliver?: DeliveryMode;
1574
+ /** Explicitly public presentation delivered by the originating Channel when this Run was admitted through one. */
1575
+ presentation?: AwaitPresentation;
1574
1576
  }
1575
1577
  interface Cost {
1576
1578
  accounting: {
@@ -1984,6 +1986,12 @@ interface CanonicalEventDraft<T = unknown> {
1984
1986
  data: T;
1985
1987
  occurredAt?: number;
1986
1988
  deliver?: DeliveryMode;
1989
+ /** Channel-owned reply address pinned at admission; Agent input cannot replace it. */
1990
+ reply?: {
1991
+ destination: string;
1992
+ replyTo?: string;
1993
+ metadata?: Record<string, string | number | boolean>;
1994
+ };
1987
1995
  }
1988
1996
  interface IgnoredChannelEvent {
1989
1997
  ignored: true;