@vellumai/plugin-api 0.10.11-dev.202607222029.495c516 → 0.10.11-dev.202607222129.31c06e5
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/index.d.ts +52 -40
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4068,49 +4068,53 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
|
4068
4068
|
|
|
4069
4069
|
declare type MediaSource_2 = Base64MediaSource | WorkspaceRefMediaSource;
|
|
4070
4070
|
|
|
4071
|
-
declare
|
|
4072
|
-
type: "memory_recalled";
|
|
4073
|
-
provider: string;
|
|
4074
|
-
model: string;
|
|
4075
|
-
degradation?: MemoryRecalledDegradation;
|
|
4076
|
-
semanticHits: number;
|
|
4077
|
-
tier1Count: number;
|
|
4078
|
-
tier2Count: number;
|
|
4079
|
-
hybridSearchLatencyMs: number;
|
|
4080
|
-
sparseVectorUsed: boolean;
|
|
4081
|
-
mergedCount: number;
|
|
4082
|
-
selectedCount: number;
|
|
4083
|
-
injectedTokens: number;
|
|
4084
|
-
latencyMs: number;
|
|
4085
|
-
topCandidates: MemoryRecalledCandidateDebug[];
|
|
4086
|
-
}
|
|
4087
|
-
|
|
4088
|
-
declare interface MemoryRecalledCandidateDebug {
|
|
4089
|
-
key: string;
|
|
4090
|
-
type: string;
|
|
4091
|
-
kind: string;
|
|
4092
|
-
finalScore: number;
|
|
4093
|
-
semantic: number;
|
|
4094
|
-
recency: number;
|
|
4095
|
-
}
|
|
4071
|
+
declare type MemoryRecalledEvent = z.infer<typeof MemoryRecalledEventSchema>;
|
|
4096
4072
|
|
|
4097
|
-
declare
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4073
|
+
declare const MemoryRecalledEventSchema: z.ZodObject<{
|
|
4074
|
+
type: z.ZodLiteral<"memory_recalled">;
|
|
4075
|
+
provider: z.ZodString;
|
|
4076
|
+
model: z.ZodString;
|
|
4077
|
+
degradation: z.ZodOptional<z.ZodObject<{
|
|
4078
|
+
semanticUnavailable: z.ZodBoolean;
|
|
4079
|
+
reason: z.ZodString;
|
|
4080
|
+
fallbackSources: z.ZodArray<z.ZodString>;
|
|
4081
|
+
}, z.core.$strip>>;
|
|
4082
|
+
semanticHits: z.ZodNumber;
|
|
4083
|
+
tier1Count: z.ZodNumber;
|
|
4084
|
+
tier2Count: z.ZodNumber;
|
|
4085
|
+
hybridSearchLatencyMs: z.ZodNumber;
|
|
4086
|
+
sparseVectorUsed: z.ZodBoolean;
|
|
4087
|
+
mergedCount: z.ZodNumber;
|
|
4088
|
+
selectedCount: z.ZodNumber;
|
|
4089
|
+
injectedTokens: z.ZodNumber;
|
|
4090
|
+
latencyMs: z.ZodNumber;
|
|
4091
|
+
topCandidates: z.ZodArray<z.ZodObject<{
|
|
4092
|
+
key: z.ZodString;
|
|
4093
|
+
type: z.ZodString;
|
|
4094
|
+
kind: z.ZodString;
|
|
4095
|
+
finalScore: z.ZodNumber;
|
|
4096
|
+
semantic: z.ZodNumber;
|
|
4097
|
+
recency: z.ZodNumber;
|
|
4098
|
+
}, z.core.$strip>>;
|
|
4099
|
+
}, z.core.$strip>;
|
|
4102
4100
|
|
|
4103
|
-
declare type _MemoryServerMessages =
|
|
4101
|
+
declare type _MemoryServerMessages = MemoryRecalledEvent | MemoryStatusEvent;
|
|
4104
4102
|
|
|
4105
|
-
declare
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4103
|
+
declare type MemoryStatusEvent = z.infer<typeof MemoryStatusEventSchema>;
|
|
4104
|
+
|
|
4105
|
+
declare const MemoryStatusEventSchema: z.ZodObject<{
|
|
4106
|
+
type: z.ZodLiteral<"memory_status">;
|
|
4107
|
+
enabled: z.ZodBoolean;
|
|
4108
|
+
degraded: z.ZodBoolean;
|
|
4109
|
+
degradation: z.ZodOptional<z.ZodObject<{
|
|
4110
|
+
semanticUnavailable: z.ZodBoolean;
|
|
4111
|
+
reason: z.ZodString;
|
|
4112
|
+
fallbackSources: z.ZodArray<z.ZodString>;
|
|
4113
|
+
}, z.core.$strip>>;
|
|
4114
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4115
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
4116
|
+
model: z.ZodOptional<z.ZodString>;
|
|
4117
|
+
}, z.core.$strip>;
|
|
4114
4118
|
|
|
4115
4119
|
export declare interface Message {
|
|
4116
4120
|
role: "user" | "assistant";
|
|
@@ -6562,6 +6566,14 @@ export declare interface ToolContext {
|
|
|
6562
6566
|
* @legacy
|
|
6563
6567
|
*/
|
|
6564
6568
|
requesterChatId?: string;
|
|
6569
|
+
/**
|
|
6570
|
+
* Channel-native id (`ts` for Slack) of the inbound message that started
|
|
6571
|
+
* the current turn. Lets tool-grant escalations link approval cards to
|
|
6572
|
+
* the exact triggering message.
|
|
6573
|
+
*/
|
|
6574
|
+
sourceMessageId?: string;
|
|
6575
|
+
/** Channel-native thread id of that message, when it arrived in a thread. */
|
|
6576
|
+
sourceThreadId?: string;
|
|
6565
6577
|
/**
|
|
6566
6578
|
* Human-readable identifier for the requester (e.g., @username).
|
|
6567
6579
|
* @legacy
|
package/package.json
CHANGED