qlogicagent 2.23.11 → 2.23.13
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/cli.js +7 -7
- package/dist/default-project-knowledge/INSTRUCTIONS.md +7 -7
- package/dist/default-project-knowledge/rules/project-workflow.md +6 -6
- package/dist/index.js +294 -294
- package/dist/types/runtime/session/session-persistence.d.ts +4 -1
- package/dist/types/transport/host-request-client.d.ts +3 -0
- package/dist/types/transport/host-session-client.d.ts +2 -1
- package/package.json +1 -1
|
@@ -9,6 +9,9 @@ import type { HostSessionClient } from "../../transport/host-session-client.js";
|
|
|
9
9
|
import type { AppendMessageOutcome } from "./session-transcript-store.js";
|
|
10
10
|
import { getSessionMetadata, readSessionMetadata } from "./session-metadata-store.js";
|
|
11
11
|
import type { MessageDisplayMetadata, PersistedSession, SessionMetadataPatch, SessionStateSaveMetadata, SessionUsageSnapshot, TokenUsage } from "./session-types.js";
|
|
12
|
+
export declare class SessionAppendDrainTimeoutError extends Error {
|
|
13
|
+
constructor(sessionId: string, timeoutMs: number);
|
|
14
|
+
}
|
|
12
15
|
export declare function configureHostSessionPersistence(resolver: () => HostSessionClient | undefined): void;
|
|
13
16
|
export declare function isHostSessionPersistenceActive(): boolean;
|
|
14
17
|
export declare function requestHostGroupSplit(sessionId: string, operationId: string, reason: "idle" | "turn-limit", cas?: {
|
|
@@ -22,7 +25,7 @@ export declare function appendMessage(sessionId: string, message: ChatMessage, p
|
|
|
22
25
|
usage?: TokenUsage;
|
|
23
26
|
displayMetadata?: MessageDisplayMetadata;
|
|
24
27
|
}): Promise<AppendMessageOutcome>;
|
|
25
|
-
export declare function waitForSessionPersistenceAppends(sessionId: string, projectRoot: string): Promise<void>;
|
|
28
|
+
export declare function waitForSessionPersistenceAppends(sessionId: string, projectRoot: string, timeoutMs?: number): Promise<void>;
|
|
26
29
|
export declare function loadSessionForResume(sessionId: string, projectRoot: string, options?: {
|
|
27
30
|
includeDisplayMetadata?: boolean;
|
|
28
31
|
}): Promise<PersistedSession | null>;
|
|
@@ -20,6 +20,9 @@ export interface HostRequestOptions {
|
|
|
20
20
|
timeoutMs?: number;
|
|
21
21
|
signal?: AbortSignal;
|
|
22
22
|
}
|
|
23
|
+
export declare class HostRequestTimeoutError extends Error {
|
|
24
|
+
constructor(service: string, method: string, timeoutMs: number);
|
|
25
|
+
}
|
|
23
26
|
export declare class HostRequestClient {
|
|
24
27
|
private readonly transport;
|
|
25
28
|
private readonly byRpcId;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/** Thin Session persistence facade over the coordinator-owned HostRequestClient. */
|
|
2
2
|
import { type HostSessionAppendResult, type HostSessionGroupSplitResult, type HostSessionLoadForResumeResult, type HostSessionMutationResult, type HostSessionRequestParams } from "../host-contract/index.js";
|
|
3
|
+
import { type HostRequestOptions } from "./host-request-client.js";
|
|
3
4
|
export interface HostSessionRequester {
|
|
4
|
-
request(params: HostSessionRequestParams): Promise<unknown>;
|
|
5
|
+
request(params: HostSessionRequestParams, options?: HostRequestOptions): Promise<unknown>;
|
|
5
6
|
}
|
|
6
7
|
export interface HostSessionClientConfig {
|
|
7
8
|
client: HostSessionRequester;
|