qlogicagent 2.22.3 → 2.22.4
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/agent.js +2 -2
- package/dist/cli.js +1 -1
- package/dist/index.js +293 -293
- package/dist/types/runtime/execution/streaming-tool-executor.d.ts +2 -0
- package/dist/types/runtime/execution/tool-result-storage.d.ts +2 -0
- package/dist/types/runtime/ports/agent-runtime-ports.d.ts +1 -0
- package/package.json +1 -1
|
@@ -43,6 +43,8 @@ export interface StreamingToolExecutorConfig {
|
|
|
43
43
|
maxExecutionMs?: number;
|
|
44
44
|
/** Optional per-tool deadlines; entries override maxExecutionMs for that tool only. */
|
|
45
45
|
executionTimeoutMsByTool?: ReadonlyMap<string, number>;
|
|
46
|
+
/** Host-declared Skill cores that must be loaded before a tool can execute. */
|
|
47
|
+
requiredSkillsByTool?: ReadonlyMap<string, readonly string[]>;
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* Executes tools with concurrency control and streaming progress.
|
|
@@ -38,6 +38,7 @@ export type ContentReplacementState = {
|
|
|
38
38
|
replacements: Map<string, string>;
|
|
39
39
|
contextPolicies: Map<string, ToolResultContextPolicy>;
|
|
40
40
|
contextSizes: Map<string, number>;
|
|
41
|
+
loadedSkillNames: Set<string>;
|
|
41
42
|
skillReadiness: Map<string, SkillReadinessActivation>;
|
|
42
43
|
};
|
|
43
44
|
export type ToolResultContextPolicy = {
|
|
@@ -88,6 +89,7 @@ export declare function toolResultContextPolicy(details: Record<string, unknown>
|
|
|
88
89
|
export declare function toolResultContextBudget(policy: ToolResultContextPolicy): ToolResultContextBudget;
|
|
89
90
|
export declare function requiredContextBudgetViolation(state: ContentReplacementState | undefined, details: Record<string, unknown> | undefined, contentSize: number): string | undefined;
|
|
90
91
|
export declare function registerToolResultContext(state: ContentReplacementState | undefined, toolCallId: string, details: Record<string, unknown> | undefined, contentSize?: number): void;
|
|
92
|
+
export declare function requiredSkillCoreBlockReason(state: ContentReplacementState | undefined, toolName: string, requiredSkillsByTool: ReadonlyMap<string, readonly string[]> | undefined): string | undefined;
|
|
91
93
|
export declare function skillReadinessBlockReason(state: ContentReplacementState | undefined, toolName: string): string | undefined;
|
|
92
94
|
/**
|
|
93
95
|
* Re-apply required Host instruction context after generic compression stages.
|
|
@@ -36,6 +36,7 @@ export interface StreamingToolExecutorPortConfig {
|
|
|
36
36
|
maxConcurrentTools?: number;
|
|
37
37
|
maxExecutionMs?: number;
|
|
38
38
|
executionTimeoutMsByTool?: ReadonlyMap<string, number>;
|
|
39
|
+
requiredSkillsByTool?: ReadonlyMap<string, readonly string[]>;
|
|
39
40
|
/** Turn workspace/cwd — routes oversized tool-result spillover to the session's reachable data dir. */
|
|
40
41
|
projectRoot?: string;
|
|
41
42
|
/** Opaque per-turn typed context budget and skill-readiness state. */
|