@axiom-lattice/protocols 2.1.20 → 2.1.22
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +149 -62
- package/dist/index.d.ts +149 -62
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/AgentLatticeProtocol.ts +32 -2
- package/src/MetricsServerConfigStoreProtocol.ts +116 -62
- package/src/ModelLatticeProtocol.ts +3 -0
- package/src/ScheduleLatticeProtocol.ts +3 -0
|
@@ -16,6 +16,7 @@ import { BaseLatticeProtocol } from "./BaseLatticeProtocol";
|
|
|
16
16
|
export interface LLMConfig {
|
|
17
17
|
provider: "azure" | "openai" | "deepseek" | "siliconcloud" | "volcengine";
|
|
18
18
|
model: string;
|
|
19
|
+
displayName?: string;
|
|
19
20
|
maxTokens?: number;
|
|
20
21
|
temperature?: number;
|
|
21
22
|
timeout?: number;
|
|
@@ -24,6 +25,8 @@ export interface LLMConfig {
|
|
|
24
25
|
apiKeyEnvName?: string;
|
|
25
26
|
apiKey?: string;
|
|
26
27
|
baseURL?: string;
|
|
28
|
+
modelKwargs?: Record<string, any>;
|
|
29
|
+
extra?: Record<string, any>
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
/**
|
|
@@ -58,6 +58,7 @@ export interface ScheduledTaskDefinition {
|
|
|
58
58
|
payload: Record<string, any>; // JSON-serializable data passed to handler
|
|
59
59
|
|
|
60
60
|
// Context fields for querying
|
|
61
|
+
tenantId: string; // Tenant isolation
|
|
61
62
|
assistantId?: string; // Which assistant created/owns this task
|
|
62
63
|
threadId?: string; // Which thread this task belongs to
|
|
63
64
|
|
|
@@ -107,6 +108,7 @@ export interface ScheduleOnceOptions {
|
|
|
107
108
|
executeAt?: number; // Absolute timestamp to execute
|
|
108
109
|
delayMs?: number; // OR relative delay from now
|
|
109
110
|
maxRetries?: number; // Max retry attempts (default: 0)
|
|
111
|
+
tenantId?: string; // Tenant isolation
|
|
110
112
|
assistantId?: string; // Which assistant created/owns this task
|
|
111
113
|
threadId?: string; // Which thread this task belongs to
|
|
112
114
|
metadata?: Record<string, any>;
|
|
@@ -121,6 +123,7 @@ export interface ScheduleCronOptions {
|
|
|
121
123
|
maxRuns?: number; // Max executions (undefined = infinite)
|
|
122
124
|
expiresAt?: number; // Stop after this timestamp
|
|
123
125
|
maxRetries?: number; // Max retry attempts per run (default: 0)
|
|
126
|
+
tenantId?: string; // Tenant isolation
|
|
124
127
|
assistantId?: string; // Which assistant created/owns this task
|
|
125
128
|
threadId?: string; // Which thread this task belongs to
|
|
126
129
|
metadata?: Record<string, any>;
|