@xenosystem/agent-sdk 0.10.17 → 0.10.18
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/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/automation/index.cjs +1 -1
- package/dist/automation/index.js +1 -1
- package/dist/control-plane/index.cjs +1 -1
- package/dist/control-plane/index.js +1 -1
- package/dist/electron/index.cjs +171 -171
- package/dist/electron/index.d.cts +8 -0
- package/dist/electron/index.d.ts +8 -0
- package/dist/electron/index.js +171 -171
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/index.cjs +348 -348
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +351 -351
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/session/index.cjs +1 -1
- package/dist/session/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4312,6 +4312,12 @@ interface LlmClientDeps {
|
|
|
4312
4312
|
firstResponseMs?: number;
|
|
4313
4313
|
idleMs?: number;
|
|
4314
4314
|
};
|
|
4315
|
+
getNonStreamingMemoryMs?(): number | undefined;
|
|
4316
|
+
reportTransportEvent?(event: {
|
|
4317
|
+
type: "provider.warning";
|
|
4318
|
+
code: string;
|
|
4319
|
+
message: string;
|
|
4320
|
+
}): void;
|
|
4315
4321
|
buildRuntimeSystemPrompt(): string;
|
|
4316
4322
|
reportFailure(diagnostics: ApiRequestFailureDiagnostics): Promise<void>;
|
|
4317
4323
|
}
|
|
@@ -4359,6 +4365,7 @@ declare class LlmClient {
|
|
|
4359
4365
|
private static summarizeErrorBody;
|
|
4360
4366
|
private authorizationHeaders;
|
|
4361
4367
|
private createRequestDeadline;
|
|
4368
|
+
private streamingMemoryKey;
|
|
4362
4369
|
private static normalizeRequestError;
|
|
4363
4370
|
callChatCompletionsNonStream(model: string, apiMessages: ApiMessage[], tools: ToolDefinition[], onText?: (text: string) => void, signal?: AbortSignal, maxOutputTokens?: number): Promise<StreamResult>;
|
|
4364
4371
|
private throwForErrorResponse;
|
|
@@ -5520,6 +5527,7 @@ interface AgentLoopConfig {
|
|
|
5520
5527
|
apiFirstResponseTimeoutMs?: number;
|
|
5521
5528
|
apiStreamIdleTimeoutMs?: number;
|
|
5522
5529
|
streamAgentResponses?: boolean;
|
|
5530
|
+
apiNonStreamingMemoryMs?: number;
|
|
5523
5531
|
queryIdleTimeoutMs?: number;
|
|
5524
5532
|
queryLeaseTimeoutMs?: number;
|
|
5525
5533
|
queryHardTimeoutMs?: number;
|
|
@@ -5793,6 +5801,7 @@ declare class ModelResponseIncompleteError extends ApiTransientError {
|
|
|
5793
5801
|
interface RequestDeadline {
|
|
5794
5802
|
readonly signal: AbortSignal;
|
|
5795
5803
|
markProgress(): void;
|
|
5804
|
+
relaxToTotal(): void;
|
|
5796
5805
|
expired(): ModelRequestTimeoutPhase | null;
|
|
5797
5806
|
timeoutError(): ModelRequestTimeoutError | null;
|
|
5798
5807
|
cleanup(): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -4312,6 +4312,12 @@ interface LlmClientDeps {
|
|
|
4312
4312
|
firstResponseMs?: number;
|
|
4313
4313
|
idleMs?: number;
|
|
4314
4314
|
};
|
|
4315
|
+
getNonStreamingMemoryMs?(): number | undefined;
|
|
4316
|
+
reportTransportEvent?(event: {
|
|
4317
|
+
type: "provider.warning";
|
|
4318
|
+
code: string;
|
|
4319
|
+
message: string;
|
|
4320
|
+
}): void;
|
|
4315
4321
|
buildRuntimeSystemPrompt(): string;
|
|
4316
4322
|
reportFailure(diagnostics: ApiRequestFailureDiagnostics): Promise<void>;
|
|
4317
4323
|
}
|
|
@@ -4359,6 +4365,7 @@ declare class LlmClient {
|
|
|
4359
4365
|
private static summarizeErrorBody;
|
|
4360
4366
|
private authorizationHeaders;
|
|
4361
4367
|
private createRequestDeadline;
|
|
4368
|
+
private streamingMemoryKey;
|
|
4362
4369
|
private static normalizeRequestError;
|
|
4363
4370
|
callChatCompletionsNonStream(model: string, apiMessages: ApiMessage[], tools: ToolDefinition[], onText?: (text: string) => void, signal?: AbortSignal, maxOutputTokens?: number): Promise<StreamResult>;
|
|
4364
4371
|
private throwForErrorResponse;
|
|
@@ -5520,6 +5527,7 @@ interface AgentLoopConfig {
|
|
|
5520
5527
|
apiFirstResponseTimeoutMs?: number;
|
|
5521
5528
|
apiStreamIdleTimeoutMs?: number;
|
|
5522
5529
|
streamAgentResponses?: boolean;
|
|
5530
|
+
apiNonStreamingMemoryMs?: number;
|
|
5523
5531
|
queryIdleTimeoutMs?: number;
|
|
5524
5532
|
queryLeaseTimeoutMs?: number;
|
|
5525
5533
|
queryHardTimeoutMs?: number;
|
|
@@ -5793,6 +5801,7 @@ declare class ModelResponseIncompleteError extends ApiTransientError {
|
|
|
5793
5801
|
interface RequestDeadline {
|
|
5794
5802
|
readonly signal: AbortSignal;
|
|
5795
5803
|
markProgress(): void;
|
|
5804
|
+
relaxToTotal(): void;
|
|
5796
5805
|
expired(): ModelRequestTimeoutPhase | null;
|
|
5797
5806
|
timeoutError(): ModelRequestTimeoutError | null;
|
|
5798
5807
|
cleanup(): void;
|