@ai-agent-forge/plugin-sdk 0.87.0 → 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.
- package/dist/public-api.d.ts +0 -22
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js.map +1 -1
- package/package.json +1 -1
package/dist/public-api.d.ts
CHANGED
|
@@ -1553,7 +1553,6 @@ export interface PolicyInvocationContextV1 {
|
|
|
1553
1553
|
export interface RetryPolicyRequest {
|
|
1554
1554
|
signal?: AbortSignal;
|
|
1555
1555
|
retryable: boolean;
|
|
1556
|
-
enabled: boolean;
|
|
1557
1556
|
attempt: number;
|
|
1558
1557
|
maxAttempts: number;
|
|
1559
1558
|
baseDelayMs: number;
|
|
@@ -1577,7 +1576,6 @@ export interface RetryPolicy {
|
|
|
1577
1576
|
}
|
|
1578
1577
|
export interface CompactionPolicyRequest {
|
|
1579
1578
|
signal?: AbortSignal;
|
|
1580
|
-
enabled: boolean;
|
|
1581
1579
|
reason: "overflow" | "threshold";
|
|
1582
1580
|
contextOverflow: boolean;
|
|
1583
1581
|
recoverableLength: boolean;
|
|
@@ -1585,14 +1583,6 @@ export interface CompactionPolicyRequest {
|
|
|
1585
1583
|
contextUsage?: CompactionContextUsage;
|
|
1586
1584
|
recoveryAttempted: boolean;
|
|
1587
1585
|
canContinue: boolean;
|
|
1588
|
-
/**
|
|
1589
|
-
* Branch path entry snapshot (threshold requests only). Provided so a
|
|
1590
|
-
* policy can plan CHEAP RELIEF (see {@link CompactionPolicyDecision.relief})
|
|
1591
|
-
* from real history facts instead of ordering a summarization run.
|
|
1592
|
-
*/
|
|
1593
|
-
branchEntries?: readonly unknown[];
|
|
1594
|
-
/** Recent-tail protection budget (settings fact) for relief planning. */
|
|
1595
|
-
keepRecentTokens?: number;
|
|
1596
1586
|
context?: PolicyInvocationContextV1;
|
|
1597
1587
|
execution?: ExecutionFactsV1;
|
|
1598
1588
|
}
|
|
@@ -1612,18 +1602,6 @@ export interface CompactionPolicyDecision {
|
|
|
1612
1602
|
compact: boolean;
|
|
1613
1603
|
retry?: boolean;
|
|
1614
1604
|
failureMessage?: string;
|
|
1615
|
-
/**
|
|
1616
|
-
* Cheap RELIEF plan: the host appends this custom entry (generic
|
|
1617
|
-
* `appendCustomEntry`) and reprojects the context instead of running a
|
|
1618
|
-
* summarization. The semantics of the entry belong entirely to the policy;
|
|
1619
|
-
* the projection that interprets it is registered separately via
|
|
1620
|
-
* {@link CapabilityAPI.registerEntryProjection}. When relief is present the
|
|
1621
|
-
* host skips compaction, so `compact` must be false.
|
|
1622
|
-
*/
|
|
1623
|
-
relief?: {
|
|
1624
|
-
readonly customType: string;
|
|
1625
|
-
readonly data?: unknown;
|
|
1626
|
-
};
|
|
1627
1605
|
}
|
|
1628
1606
|
/** Provider-agnostic facts about the model the host will use for a summary call. */
|
|
1629
1607
|
export interface SummaryModelFactsV1 {
|