omnara 0.5.0 → 0.5.1
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 +217 -122
- package/dist/cli.js.map +4 -4
- package/dist/daemon/daemon-launcher.d.ts +2 -0
- package/dist/orchestrator/session.d.ts +4 -0
- package/dist/utils/backoff.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Logger } from '../utils/logger.js';
|
|
2
|
+
import { DaemonConfigStore } from './config-store.js';
|
|
2
3
|
export interface StartDaemonOptions {
|
|
3
4
|
waitForReady?: boolean;
|
|
4
5
|
reason?: string;
|
|
@@ -24,6 +25,7 @@ export interface KillAllOptions {
|
|
|
24
25
|
logger?: Logger;
|
|
25
26
|
}
|
|
26
27
|
export declare function ensureDaemonForSession(options?: EnsureDaemonOptions): Promise<void>;
|
|
28
|
+
export declare function ensureMachineNameConfigured(configStore: DaemonConfigStore, logger: Logger): Promise<string>;
|
|
27
29
|
export declare function startDaemon(options?: StartDaemonOptions): Promise<boolean>;
|
|
28
30
|
export declare function stopDaemon(options?: StopDaemonOptions): Promise<boolean>;
|
|
29
31
|
export declare function showDaemonStatus(options?: StatusOptions): Promise<void>;
|
|
@@ -41,6 +41,8 @@ export declare class Session implements AsyncIterable<SDKUserMessage> {
|
|
|
41
41
|
private announced;
|
|
42
42
|
private shouldSummarize;
|
|
43
43
|
private conversationHistory;
|
|
44
|
+
private retryDelayMs;
|
|
45
|
+
private retryCount;
|
|
44
46
|
private readonly sessionInitControl;
|
|
45
47
|
constructor(id: string, ai: AgentClient, options?: SessionOptions);
|
|
46
48
|
enqueue(message: UserTextEnvelope): void;
|
|
@@ -50,6 +52,8 @@ export declare class Session implements AsyncIterable<SDKUserMessage> {
|
|
|
50
52
|
private captureSdkSessionId;
|
|
51
53
|
private collectAssistantSummaryBlocks;
|
|
52
54
|
private buildCompletionEnvelope;
|
|
55
|
+
private buildErrorCompletionEnvelope;
|
|
56
|
+
private resetRetryState;
|
|
53
57
|
private summarize;
|
|
54
58
|
private emitProgress;
|
|
55
59
|
onEnvelope(cb: (msg: MessageEnvelope) => void | Promise<void>): void;
|