@adhdev/daemon-core 0.8.59 → 0.8.61

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.
@@ -95,10 +95,13 @@ export declare class ProviderCliAdapter implements CliAdapter {
95
95
  private static readonly MAX_TRACE_ENTRIES;
96
96
  private readonly providerResolutionMeta;
97
97
  private static readonly IDLE_FINISH_CONFIRM_MS;
98
+ private static readonly HERMES_IDLE_FINISH_CONFIRM_MS;
98
99
  private static readonly STATUS_ACTIVITY_HOLD_MS;
99
100
  private static readonly FINISH_RETRY_DELAY_MS;
100
101
  private static readonly MAX_FINISH_RETRIES;
101
102
  private syncMessageViews;
103
+ private getIdleFinishConfirmMs;
104
+ private getStatusActivityHoldMs;
102
105
  private setStatus;
103
106
  private clearIdleFinishCandidate;
104
107
  private armIdleFinishCandidate;
@@ -1,14 +1,15 @@
1
1
  import type { ProviderResumeCapability } from '../providers/contracts.js';
2
+ import type { ChatMessageKind } from '../providers/chat-message-normalization.js';
2
3
  import { sanitizeSpawnEnv } from './spawn-env.js';
3
4
  export interface CliChatMessage {
4
5
  role: 'user' | 'assistant';
5
6
  content: string;
6
7
  timestamp?: number;
7
8
  receivedAt?: number;
8
- kind?: string;
9
+ kind?: ChatMessageKind;
9
10
  id?: string;
10
11
  index?: number;
11
- meta?: Record<string, any>;
12
+ meta?: Record<string, unknown>;
12
13
  senderName?: string;
13
14
  }
14
15
  export interface CliSessionStatus {
package/dist/index.d.ts CHANGED
@@ -73,6 +73,8 @@ export type { ProviderModule, CdpTargetFilter, ProviderResumeCapability, InputEn
73
73
  export type { ProviderSourceConfigSnapshot, ProviderSourceConfigUpdate } from './config/provider-source-config.js';
74
74
  export { parseProviderSourceConfigUpdate } from './config/provider-source-config.js';
75
75
  export { normalizeInputEnvelope, normalizeMessageParts, flattenMessageParts } from './providers/io-contracts.js';
76
+ export { BUILTIN_CHAT_MESSAGE_KINDS, isBuiltinChatMessageKind, normalizeChatMessageKind, buildChatMessage, buildSystemChatMessage, buildRuntimeSystemChatMessage, buildAssistantChatMessage, buildUserChatMessage, normalizeChatMessage, normalizeChatMessages, } from './providers/chat-message-normalization.js';
77
+ export type { BuiltinChatMessageKind, ChatMessageKind } from './providers/chat-message-normalization.js';
76
78
  export { VersionArchive, detectAllVersions } from './providers/version-archive.js';
77
79
  export type { ProviderVersionInfo, VersionHistory } from './providers/version-archive.js';
78
80
  export { DevServer } from './daemon/dev-server.js';