@xenosystem/agent-sdk 0.10.24 → 0.10.26
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 +147 -145
- package/dist/electron/index.d.cts +2 -1
- package/dist/electron/index.d.ts +2 -1
- package/dist/electron/index.js +143 -141
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/index.cjs +267 -265
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +254 -252
- 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
|
@@ -5519,6 +5519,7 @@ interface AgentLoopConfig {
|
|
|
5519
5519
|
maxTokens: number;
|
|
5520
5520
|
maxIterations: number;
|
|
5521
5521
|
reserveFinalSynthesisTurn?: boolean;
|
|
5522
|
+
turnTokenBudget?: number;
|
|
5522
5523
|
systemPrompt: string;
|
|
5523
5524
|
requesterLabel?: string;
|
|
5524
5525
|
ownerSessionId?: string;
|
|
@@ -5602,7 +5603,7 @@ interface CompletionGuardToolPolicy {
|
|
|
5602
5603
|
message?: string;
|
|
5603
5604
|
}
|
|
5604
5605
|
type AgentRunTerminationStatus = "completed" | "incomplete" | "suspended" | "interrupted" | "error";
|
|
5605
|
-
type AgentRunTerminationReason = "end_turn" | "empty_response" | "max_tokens" | "completion_guard_stop" | "max_iterations" | "awaiting_operation" | "continuation_exhausted" | "interrupted" | "watchdog_idle" | "watchdog_lease" | "watchdog_hard" | "error";
|
|
5606
|
+
type AgentRunTerminationReason = "end_turn" | "empty_response" | "max_tokens" | "completion_guard_stop" | "max_iterations" | "token_budget" | "awaiting_operation" | "continuation_exhausted" | "interrupted" | "watchdog_idle" | "watchdog_lease" | "watchdog_hard" | "error";
|
|
5606
5607
|
interface AgentRunTermination {
|
|
5607
5608
|
status: AgentRunTerminationStatus;
|
|
5608
5609
|
reason: AgentRunTerminationReason;
|
|
@@ -10695,6 +10696,7 @@ interface CreateXenoAgentOptions {
|
|
|
10695
10696
|
queryLeaseTimeoutMs?: number;
|
|
10696
10697
|
queryHardTimeoutMs?: number;
|
|
10697
10698
|
reserveFinalSynthesisTurn?: boolean;
|
|
10699
|
+
turnTokenBudget?: number;
|
|
10698
10700
|
requesterLabel?: string;
|
|
10699
10701
|
ownerSessionId?: string;
|
|
10700
10702
|
getOwnerSessionId?: AgentLoopConfig["getOwnerSessionId"];
|
package/dist/index.d.ts
CHANGED
|
@@ -5519,6 +5519,7 @@ interface AgentLoopConfig {
|
|
|
5519
5519
|
maxTokens: number;
|
|
5520
5520
|
maxIterations: number;
|
|
5521
5521
|
reserveFinalSynthesisTurn?: boolean;
|
|
5522
|
+
turnTokenBudget?: number;
|
|
5522
5523
|
systemPrompt: string;
|
|
5523
5524
|
requesterLabel?: string;
|
|
5524
5525
|
ownerSessionId?: string;
|
|
@@ -5602,7 +5603,7 @@ interface CompletionGuardToolPolicy {
|
|
|
5602
5603
|
message?: string;
|
|
5603
5604
|
}
|
|
5604
5605
|
type AgentRunTerminationStatus = "completed" | "incomplete" | "suspended" | "interrupted" | "error";
|
|
5605
|
-
type AgentRunTerminationReason = "end_turn" | "empty_response" | "max_tokens" | "completion_guard_stop" | "max_iterations" | "awaiting_operation" | "continuation_exhausted" | "interrupted" | "watchdog_idle" | "watchdog_lease" | "watchdog_hard" | "error";
|
|
5606
|
+
type AgentRunTerminationReason = "end_turn" | "empty_response" | "max_tokens" | "completion_guard_stop" | "max_iterations" | "token_budget" | "awaiting_operation" | "continuation_exhausted" | "interrupted" | "watchdog_idle" | "watchdog_lease" | "watchdog_hard" | "error";
|
|
5606
5607
|
interface AgentRunTermination {
|
|
5607
5608
|
status: AgentRunTerminationStatus;
|
|
5608
5609
|
reason: AgentRunTerminationReason;
|
|
@@ -10695,6 +10696,7 @@ interface CreateXenoAgentOptions {
|
|
|
10695
10696
|
queryLeaseTimeoutMs?: number;
|
|
10696
10697
|
queryHardTimeoutMs?: number;
|
|
10697
10698
|
reserveFinalSynthesisTurn?: boolean;
|
|
10699
|
+
turnTokenBudget?: number;
|
|
10698
10700
|
requesterLabel?: string;
|
|
10699
10701
|
ownerSessionId?: string;
|
|
10700
10702
|
getOwnerSessionId?: AgentLoopConfig["getOwnerSessionId"];
|