qlogicagent 2.12.11 → 2.12.12
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.
|
@@ -20,7 +20,7 @@ export declare function extractSkillMeta(skillMdPath: string): {
|
|
|
20
20
|
export declare function handleSkillsList(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
21
21
|
export declare function handleSkillsActivate(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
22
22
|
export declare function handleSkillsDeactivate(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
23
|
-
export declare function handleSkillsDelete(this: SkillsHandlerHost, msg: AgentRpcRequest): void
|
|
23
|
+
export declare function handleSkillsDelete(this: SkillsHandlerHost, msg: AgentRpcRequest): Promise<void>;
|
|
24
24
|
export declare function handleSkillsPromote(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
25
25
|
export declare function handleSkillsStats(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
26
26
|
export declare function handleSkillsPin(this: SkillsHandlerHost, msg: AgentRpcRequest): void;
|
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
import type { CliAcpRequestHandlerHost } from "./cli-acp-request-handler.js";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Everything the ACP request handlers — INCLUDING the shared turn pipeline
|
|
4
|
+
* (`runTurnPipeline`, which `session/prompt` invokes with this adapter as
|
|
5
|
+
* `this`) — read off the host. The turn pipeline's host contract is implicit
|
|
6
|
+
* (`this: any`), so members it touches must be forwarded here explicitly;
|
|
7
|
+
* see TURN_PIPELINE_HOST_MEMBERS for the regression-tested list.
|
|
8
|
+
*/
|
|
9
|
+
export type StdioAcpRequestHostSource = Pick<CliAcpRequestHandlerHost, "activeTurn" | "acpSessionMeta" | "currentHooks" | "currentSessionId" | "currentTurnId" | "memoryPrefetchState" | "permissionChecker" | "sessionHistory" | "sessionLlmConfig" | "sessionState" | "sessionTaskDomain" | "cancelIdleDreamTimer" | "disposeSessionRuntime" | "enableIdleDream" | "ensureDefaultProject" | "ensureModelRegistryHydrated" | "getActiveProjectRoot" | "log" | "sendNotification" | "setActiveWorkdir"> & {
|
|
10
|
+
currentModel: string | undefined;
|
|
11
|
+
lastAssistantMessageForExtract: string | undefined;
|
|
12
|
+
lastUserMessageForAutoExtract: string | undefined;
|
|
13
|
+
mcpReady: Promise<void>;
|
|
14
|
+
memdir: unknown;
|
|
15
|
+
pendingAskUser: unknown;
|
|
16
|
+
petRuntime: unknown;
|
|
17
|
+
projectMemoryStoreFactory: unknown;
|
|
18
|
+
toolCatalog: unknown;
|
|
19
|
+
configureTurnMedia(config: Record<string, unknown> | undefined, turnId: string): void;
|
|
20
|
+
drainPendingTaskNotifications(): string[];
|
|
21
|
+
resolveAgent(config: unknown): unknown;
|
|
22
|
+
resolveClientForPurpose(purpose: unknown): unknown;
|
|
23
|
+
sendResponse(id: string | number, result?: unknown, error?: unknown): void;
|
|
24
|
+
};
|
|
25
|
+
/** Host members the shared turn pipeline reads/writes — keep in sync with
|
|
26
|
+
* `grep -oE "this\.[a-zA-Z]+" src/cli/handlers/turn-handler.ts | sort -u`. */
|
|
27
|
+
export declare const TURN_PIPELINE_HOST_MEMBERS: readonly ["activeTurn", "configureTurnMedia", "currentHooks", "currentModel", "currentTurnId", "drainPendingTaskNotifications", "getActiveProjectRoot", "lastAssistantMessageForExtract", "lastUserMessageForAutoExtract", "log", "mcpReady", "memdir", "pendingAskUser", "permissionChecker", "petRuntime", "projectMemoryStoreFactory", "resolveAgent", "resolveClientForPurpose", "sendNotification", "sendResponse", "sessionHistory", "sessionState", "sessionTaskDomain", "setActiveWorkdir", "toolCatalog"];
|
|
3
28
|
export declare function createStdioAcpRequestHandlerHost(host: StdioAcpRequestHostSource): CliAcpRequestHandlerHost;
|
|
@@ -63,10 +63,12 @@ export declare class StdioServer {
|
|
|
63
63
|
private pendingTaskNotifications;
|
|
64
64
|
/** Session-scoped memory prefetch state (LRU dedup + byte limit). */
|
|
65
65
|
memoryPrefetchState: MemoryPrefetchState;
|
|
66
|
-
/** Last user message text for auto-extract hook (set at turn start, cleared at turn end).
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
/** Last user message text for auto-extract hook (set at turn start, cleared at turn end).
|
|
67
|
+
* Public: the turn pipeline writes it through the ACP host adapter. */
|
|
68
|
+
lastUserMessageForAutoExtract: string | undefined;
|
|
69
|
+
/** Last assistant message text for implicit extraction hook (set at turn end).
|
|
70
|
+
* Public: the turn pipeline writes it through the ACP host adapter. */
|
|
71
|
+
lastAssistantMessageForExtract: string | undefined;
|
|
70
72
|
/** MEMDIR file-based memory (CC memdir parity). */
|
|
71
73
|
memdir: ProjectMemoryStore | null;
|
|
72
74
|
readonly projectMemoryStoreFactory: import("../runtime/ports/project-memory-store.js").ProjectMemoryStoreFactory;
|
|
@@ -91,6 +93,8 @@ export declare class StdioServer {
|
|
|
91
93
|
get mediaPersistence(): import("../runtime/infra/media-persistence.js").MediaPersistence;
|
|
92
94
|
private get pathService();
|
|
93
95
|
get toolCatalog(): import("../runtime/ports/tool-contracts.js").ToolCatalog;
|
|
96
|
+
/** Turn pipeline awaits this before tool dispatch (MCP servers connected). */
|
|
97
|
+
get mcpReady(): Promise<void>;
|
|
94
98
|
get petRuntime(): import("./pet-runtime.js").PetRuntime;
|
|
95
99
|
private get agent();
|
|
96
100
|
/** Cached LLM transport for sub-agent forks (dream). */
|