@ai-agent-forge/plugin-sdk 0.86.7 → 0.88.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.
@@ -103,6 +103,12 @@ export interface SubagentCommunicationWiringV1 {
103
103
  sendSibling?(toSessionId: string, text: string): void;
104
104
  /** 子侧:取走自己收件箱里最早的至多 `limit` 条(取后即清)。 */
105
105
  drainInbox?(limit: number): SubagentInboxMessageV1[];
106
+ /** 父侧只读:该子会话相关(收/发)的兄弟消息流量摘录(有界;D-060 裁决 14 父可见性)。 */
107
+ readSiblingTraffic?(sessionId: string, limit: number): {
108
+ from: string;
109
+ to: string;
110
+ text: string;
111
+ }[];
106
112
  }
107
113
  export interface HostCapabilities {
108
114
  apiVersion: typeof EXPERIMENTAL_PUBLIC_API_VERSION;
@@ -1547,7 +1553,6 @@ export interface PolicyInvocationContextV1 {
1547
1553
  export interface RetryPolicyRequest {
1548
1554
  signal?: AbortSignal;
1549
1555
  retryable: boolean;
1550
- enabled: boolean;
1551
1556
  attempt: number;
1552
1557
  maxAttempts: number;
1553
1558
  baseDelayMs: number;
@@ -1571,7 +1576,6 @@ export interface RetryPolicy {
1571
1576
  }
1572
1577
  export interface CompactionPolicyRequest {
1573
1578
  signal?: AbortSignal;
1574
- enabled: boolean;
1575
1579
  reason: "overflow" | "threshold";
1576
1580
  contextOverflow: boolean;
1577
1581
  recoverableLength: boolean;
@@ -1579,14 +1583,6 @@ export interface CompactionPolicyRequest {
1579
1583
  contextUsage?: CompactionContextUsage;
1580
1584
  recoveryAttempted: boolean;
1581
1585
  canContinue: boolean;
1582
- /**
1583
- * Branch path entry snapshot (threshold requests only). Provided so a
1584
- * policy can plan CHEAP RELIEF (see {@link CompactionPolicyDecision.relief})
1585
- * from real history facts instead of ordering a summarization run.
1586
- */
1587
- branchEntries?: readonly unknown[];
1588
- /** Recent-tail protection budget (settings fact) for relief planning. */
1589
- keepRecentTokens?: number;
1590
1586
  context?: PolicyInvocationContextV1;
1591
1587
  execution?: ExecutionFactsV1;
1592
1588
  }
@@ -1606,18 +1602,6 @@ export interface CompactionPolicyDecision {
1606
1602
  compact: boolean;
1607
1603
  retry?: boolean;
1608
1604
  failureMessage?: string;
1609
- /**
1610
- * Cheap RELIEF plan: the host appends this custom entry (generic
1611
- * `appendCustomEntry`) and reprojects the context instead of running a
1612
- * summarization. The semantics of the entry belong entirely to the policy;
1613
- * the projection that interprets it is registered separately via
1614
- * {@link CapabilityAPI.registerEntryProjection}. When relief is present the
1615
- * host skips compaction, so `compact` must be false.
1616
- */
1617
- relief?: {
1618
- readonly customType: string;
1619
- readonly data?: unknown;
1620
- };
1621
1605
  }
1622
1606
  /** Provider-agnostic facts about the model the host will use for a summary call. */
1623
1607
  export interface SummaryModelFactsV1 {