@pingagent/sdk 0.1.14 → 0.1.15

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/index.d.ts CHANGED
@@ -302,11 +302,12 @@ declare class CollaborationProjectionOutboxManager {
302
302
  listDispatchable(limit?: number): CollaborationProjectionOutboxEntry[];
303
303
  listBySession(sessionKey: string, limit?: number): CollaborationProjectionOutboxEntry[];
304
304
  listByStatus(status: CollaborationProjectionOutboxStatus, limit?: number): CollaborationProjectionOutboxEntry[];
305
+ findBySourceEventId(sourceEventId: number, projectionKind?: CollaborationProjectionKind): CollaborationProjectionOutboxEntry[];
305
306
  markSent(id: number, deliveredAt?: number): CollaborationProjectionOutboxEntry | null;
306
307
  markFailed(id: number, error: string): CollaborationProjectionOutboxEntry | null;
307
308
  }
308
309
 
309
- type CollaborationEventType = 'external_message_received' | 'agent_progress' | 'agent_conclusion' | 'handoff_started' | 'handoff_completed' | 'risk_detected' | 'decision_required' | 'task_completed' | 'runtime_degraded' | 'runtime_repaired';
310
+ type CollaborationEventType = 'external_message_received' | 'agent_progress' | 'agent_conclusion' | 'handoff_started' | 'handoff_completed' | 'risk_detected' | 'decision_required' | 'task_completed' | 'runtime_degraded' | 'runtime_repaired' | 'transport_switch_recommended' | 'transport_switched';
310
311
  type CollaborationEventSeverity = 'info' | 'notice' | 'warning' | 'critical';
311
312
  type CollaborationApprovalStatus = 'not_required' | 'pending' | 'approved' | 'rejected';
312
313
  interface CollaborationEvent {
@@ -362,6 +363,7 @@ declare class CollaborationEventManager {
362
363
  get(id: number): CollaborationEvent | null;
363
364
  listPending(limit?: number): CollaborationEvent[];
364
365
  listPendingBySession(sessionKey: string, limit?: number): CollaborationEvent[];
366
+ listPendingOlderThan(cutoffTs: number, limit?: number): CollaborationEvent[];
365
367
  resolveApproval(id: number, approvalStatus: Extract<CollaborationApprovalStatus, 'approved' | 'rejected'>, input?: ResolveCollaborationApprovalInput): ResolveCollaborationApprovalResult | null;
366
368
  summarize(limit?: number): CollaborationEventSummary;
367
369
  }
@@ -1131,6 +1133,186 @@ declare class TrustRecommendationManager {
1131
1133
  summarize(): RecommendationSummary;
1132
1134
  }
1133
1135
 
1136
+ type OperatorSeenStateOperatorId = 'host_panel' | 'tui' | 'mcp';
1137
+ type OperatorSeenStateScopeType = 'global' | 'session';
1138
+ interface OperatorSeenState {
1139
+ operator_id: OperatorSeenStateOperatorId;
1140
+ scope_type: OperatorSeenStateScopeType;
1141
+ scope_key?: string | null;
1142
+ last_seen_ts: number;
1143
+ updated_at: number;
1144
+ }
1145
+ interface MarkOperatorSeenInput {
1146
+ operator_id: OperatorSeenStateOperatorId;
1147
+ scope_type: OperatorSeenStateScopeType;
1148
+ scope_key?: string | null;
1149
+ last_seen_ts?: number;
1150
+ }
1151
+ declare class OperatorSeenStateManager {
1152
+ private store;
1153
+ constructor(store: LocalStore);
1154
+ get(operatorId: OperatorSeenStateOperatorId, scopeType: OperatorSeenStateScopeType, scopeKey?: string | null): OperatorSeenState | null;
1155
+ markSeen(input: MarkOperatorSeenInput): OperatorSeenState;
1156
+ listByOperator(operatorId: OperatorSeenStateOperatorId): OperatorSeenState[];
1157
+ }
1158
+
1159
+ type ProjectionDisposition = 'project' | 'detail_only' | 'decision_gate';
1160
+ interface ProjectionDispositionInput {
1161
+ preset: CollaborationProjectionPreset;
1162
+ event_type?: CollaborationEventType | null;
1163
+ has_pending_decision?: boolean;
1164
+ projection_mode?: 'update' | 'decision' | 'runtime';
1165
+ }
1166
+ interface ProjectionDispositionResult {
1167
+ disposition: ProjectionDisposition;
1168
+ reason: string;
1169
+ }
1170
+ declare function getProjectedEventTypes(preset: CollaborationProjectionPreset): CollaborationEventType[];
1171
+ declare function describeProjectionPreset(preset: CollaborationProjectionPreset): {
1172
+ immediate_event_types: CollaborationEventType[];
1173
+ detail_only_event_types: CollaborationEventType[];
1174
+ };
1175
+ declare function getProjectionDisposition(input: ProjectionDispositionInput): ProjectionDispositionResult;
1176
+
1177
+ interface SinceLastSeenSummary {
1178
+ operator_id: OperatorSeenStateOperatorId;
1179
+ scope_type: OperatorSeenStateScopeType;
1180
+ scope_key?: string | null;
1181
+ last_seen_ts?: number;
1182
+ new_external_messages: number;
1183
+ new_conclusions: number;
1184
+ new_handoffs: number;
1185
+ new_decisions: number;
1186
+ new_failures: number;
1187
+ new_repairs: number;
1188
+ new_projection_failures: number;
1189
+ latest_ts?: number;
1190
+ }
1191
+ interface DeliveryTimelineEntry {
1192
+ ts_ms: number;
1193
+ kind: string;
1194
+ summary: string;
1195
+ session_key?: string | null;
1196
+ conversation_id?: string | null;
1197
+ status?: string | null;
1198
+ detail?: Record<string, unknown> | null;
1199
+ }
1200
+ interface ProjectionPreviewEntry {
1201
+ event_id: number;
1202
+ ts_ms: number;
1203
+ event_type: CollaborationEventType;
1204
+ summary: string;
1205
+ disposition: ProjectionDisposition;
1206
+ reason: string;
1207
+ }
1208
+ interface CollaborationDecisionView extends CollaborationEvent {
1209
+ overdue: boolean;
1210
+ overdue_by_ms?: number;
1211
+ }
1212
+ declare function listPendingDecisionViews(store: LocalStore, limit?: number, overdueThresholdMs?: number): CollaborationDecisionView[];
1213
+ declare function summarizeSinceLastSeen(store: LocalStore, input: {
1214
+ operator_id: OperatorSeenStateOperatorId;
1215
+ scope_type: OperatorSeenStateScopeType;
1216
+ scope_key?: string | null;
1217
+ }): SinceLastSeenSummary;
1218
+ declare function buildDeliveryTimeline(store: LocalStore, sessionKey: string, limit?: number): DeliveryTimelineEntry[];
1219
+ declare function buildProjectionPreview(store: LocalStore, sessionKey: string, preset: CollaborationProjectionPreset, limit?: number): {
1220
+ preset: CollaborationProjectionPreset;
1221
+ rules: ReturnType<typeof describeProjectionPreset>;
1222
+ recent: ProjectionPreviewEntry[];
1223
+ };
1224
+ declare function buildDecisionReminderOutboxMessage(event: CollaborationEvent): string;
1225
+ declare function hasDecisionPromptOutbox(outboxManager: CollaborationProjectionOutboxManager, sourceEventId: number): boolean;
1226
+
1227
+ type OpenClawTransportMode = 'bridge' | 'channel';
1228
+ interface TransportPreferenceState {
1229
+ preferred_mode: OpenClawTransportMode;
1230
+ updated_at: string;
1231
+ updated_by: string;
1232
+ last_auto_switch_at?: string | null;
1233
+ last_auto_switch_reason?: string | null;
1234
+ }
1235
+ interface ManagedTransportSwitchResult {
1236
+ preferred_mode: OpenClawTransportMode;
1237
+ preference_path: string;
1238
+ updated_at: string;
1239
+ updated_by: string;
1240
+ last_auto_switch_at?: string | null;
1241
+ last_auto_switch_reason?: string | null;
1242
+ restarted: boolean;
1243
+ restart_required: boolean;
1244
+ restart_method?: string | null;
1245
+ restart_error?: string | null;
1246
+ }
1247
+ declare function normalizeTransportMode(value: unknown, fallback?: OpenClawTransportMode): OpenClawTransportMode;
1248
+ declare function getTransportPreferenceFilePath(): string;
1249
+ declare function readTransportPreference(filePath?: string): TransportPreferenceState | null;
1250
+ declare function writeTransportPreference(input: {
1251
+ preferred_mode: OpenClawTransportMode;
1252
+ updated_by: string;
1253
+ last_auto_switch_at?: string | null;
1254
+ last_auto_switch_reason?: string | null;
1255
+ }, filePath?: string): TransportPreferenceState;
1256
+ declare function switchTransportPreference(preferredMode: OpenClawTransportMode, opts: {
1257
+ updated_by: string;
1258
+ auto_switch_reason?: string | null;
1259
+ attempt_restart?: boolean;
1260
+ filePath?: string;
1261
+ }): ManagedTransportSwitchResult;
1262
+
1263
+ interface OpenClawIngressRuntimeStatus {
1264
+ receive_mode: 'webhook' | 'polling_degraded';
1265
+ reason?: string | null;
1266
+ hooks_url?: string | null;
1267
+ hooks_base_url?: string | null;
1268
+ hooks_last_error?: string | null;
1269
+ hooks_last_error_at?: string | null;
1270
+ hooks_last_probe_ok_at?: string | null;
1271
+ hooks_message_mode?: string | null;
1272
+ fallback_last_injected_at?: string | null;
1273
+ fallback_last_injected_conversation_id?: string | null;
1274
+ active_work_session?: string | null;
1275
+ sessions_send_available?: boolean;
1276
+ hooks_fix_hint?: string | null;
1277
+ gateway_base_url?: string | null;
1278
+ transport_mode?: OpenClawTransportMode;
1279
+ preferred_transport_mode?: OpenClawTransportMode;
1280
+ transport_switch_recommended?: boolean;
1281
+ transport_switch_reason?: string | null;
1282
+ channel_retry_queue_length?: number;
1283
+ channel_last_inbound_at?: string | null;
1284
+ channel_last_outbound_at?: string | null;
1285
+ channel_last_degraded_at?: string | null;
1286
+ channel_last_repaired_at?: string | null;
1287
+ channel_last_error?: string | null;
1288
+ channel_consecutive_failures?: number;
1289
+ status_updated_at?: string | null;
1290
+ }
1291
+ declare function getIngressRuntimeStatusFilePath(): string;
1292
+ declare function readIngressRuntimeStatus(filePath?: string): OpenClawIngressRuntimeStatus | null;
1293
+
1294
+ type TransportHealthState = 'Ready' | 'Degraded' | 'Switching Recommended';
1295
+ interface TransportHealth {
1296
+ transport_mode: OpenClawTransportMode;
1297
+ preferred_transport_mode: OpenClawTransportMode;
1298
+ state: TransportHealthState;
1299
+ transport_switch_recommended: boolean;
1300
+ transport_switch_reason?: string | null;
1301
+ retry_queue_length: number;
1302
+ last_inbound_at?: string | null;
1303
+ last_outbound_at?: string | null;
1304
+ last_degraded_at?: string | null;
1305
+ last_repaired_at?: string | null;
1306
+ last_error?: string | null;
1307
+ consecutive_failures: number;
1308
+ receive_mode?: string | null;
1309
+ }
1310
+ declare function deriveTransportHealth(input: {
1311
+ runtime_status?: OpenClawIngressRuntimeStatus | null;
1312
+ recent_events?: CollaborationEvent[];
1313
+ projection_outbox_failed?: CollaborationProjectionOutboxEntry[];
1314
+ }): TransportHealth;
1315
+
1134
1316
  /**
1135
1317
  * A2A adapter for PingAgentClient.
1136
1318
  * Allows PingAgent to call external agents that speak the A2A protocol,
@@ -1346,21 +1528,4 @@ declare function clearSessionBindingAlert(conversationId: string, filePath?: str
1346
1528
  removed: boolean;
1347
1529
  };
1348
1530
 
1349
- interface OpenClawIngressRuntimeStatus {
1350
- receive_mode: 'webhook' | 'polling_degraded';
1351
- reason?: string | null;
1352
- hooks_url?: string | null;
1353
- hooks_last_error?: string | null;
1354
- hooks_last_error_at?: string | null;
1355
- hooks_last_probe_ok_at?: string | null;
1356
- fallback_last_injected_at?: string | null;
1357
- fallback_last_injected_conversation_id?: string | null;
1358
- active_work_session?: string | null;
1359
- sessions_send_available?: boolean;
1360
- hooks_fix_hint?: string | null;
1361
- status_updated_at?: string | null;
1362
- }
1363
- declare function getIngressRuntimeStatusFilePath(): string;
1364
- declare function readIngressRuntimeStatus(filePath?: string): OpenClawIngressRuntimeStatus | null;
1365
-
1366
- export { A2AAdapter, type A2AAdapterOptions, type A2ATaskResult, type AgentEncryptionCard, type AgentProfile, type CapabilityCard, type CapabilityCardItem, type CapabilityContactMode, type ClientOptions, type CollaborationApprovalStatus, type CollaborationEvent, type CollaborationEventInput, CollaborationEventManager, type CollaborationEventSeverity, type CollaborationEventSummary, type CollaborationEventType, type CollaborationProjectionKind, type CollaborationProjectionOutboxEntry, type CollaborationProjectionOutboxInput, CollaborationProjectionOutboxManager, type CollaborationProjectionOutboxStatus, type CollaborationProjectionPreset, type Contact, type ContactCardShare, ContactManager, type ContactPolicyAction, type ContactPolicyDecision, type ConversationEntry, type ConversationListResponse, type DirectoryBrowseResponse, type DirectorySelfResponse, type EncryptedPayloadWrapper, type EncryptionIdentityFields, type EncryptionPrivateKeyJwk, type EncryptionPublicKeyJwk, type FeedByDidResponse, type FeedPost, type FeedPublicResponse, type FetchResponse, HistoryManager, HttpTransport, LocalStore, type OpenClawIngressRuntimeStatus, PingAgentClient, type PublicAgentProfile, type PublicLinkState, type RecommendationSummary, type ReplyTarget, type ResolveCollaborationApprovalInput, type ResolveCollaborationApprovalResult, type RuntimeMode, SESSION_SUMMARY_FIELDS, type SendResponse, type SessionBindingAlert, type SessionBindingEntry, SessionManager, type SessionMessageInput, type SessionState, type SessionSummary, type SessionSummaryFieldKey, SessionSummaryManager, type SessionSummaryUpsert, type StoredMessage, type StoredTrustRecommendation, type SubscriptionResponse, type SubscriptionUsage, type SyncTrustRecommendationsInput, type TaskHandoff, TaskHandoffManager, type TaskHandoffPayload, type TaskHandoffUpsert, type TaskPolicyAction, type TaskPolicyDecision, type TaskResult, type TaskShareEntry, type TaskThread, TaskThreadManager, type TaskThreadStatus, type TaskThreadUpsert, type TransportOptions, type TrustPolicyAuditEvent, type TrustPolicyAuditEventType, type TrustPolicyAuditInput, TrustPolicyAuditManager, type TrustPolicyAuditSummary, type TrustPolicyContext, type TrustPolicyDoc, type TrustPolicyLearningSummary, type TrustPolicyRecommendation, TrustRecommendationManager, type TrustRecommendationStatus, type TrustState, type UpdateProfileInput, type UserWakeEvent, UserWakeSubscription, type UserWakeSubscriptionOptions, WsSubscription, type WsSubscriptionOptions, buildSessionKey, buildSessionSummaryHandoffText, buildTrustPolicyRecommendations, capabilityCardToLegacyCapabilities, clearSessionBindingAlert, decideContactPolicy, decideTaskPolicy, decryptPayloadForIdentity, defaultTrustPolicyDoc, encryptPayloadForRecipients, ensureIdentityEncryptionKeys, ensureTokenValid, formatCapabilityCardSummary, generateIdentity, getActiveSessionFilePath, getIdentityPath, getIngressRuntimeStatusFilePath, getProfile, getRootDir, getSessionBindingAlertsFilePath, getSessionMapFilePath, getStorePath, getTrustRecommendationActionLabel, identityExists, isEncryptedPayload, loadIdentity, matchesTrustPolicyRule, normalizeCapabilityCard, normalizeTrustPolicyDoc, previewFromPayload, readCurrentActiveSessionKey, readIngressRuntimeStatus, readSessionBindingAlerts, readSessionBindings, removeSessionBinding, saveIdentity, setSessionBinding, shouldEncryptConversationPayload, summarizeTrustPolicyAudit, updateStoredToken, upsertSessionBindingAlert, upsertTrustPolicyRecommendation, writeSessionBindingAlerts, writeSessionBindings };
1531
+ export { A2AAdapter, type A2AAdapterOptions, type A2ATaskResult, type AgentEncryptionCard, type AgentProfile, type CapabilityCard, type CapabilityCardItem, type CapabilityContactMode, type ClientOptions, type CollaborationApprovalStatus, type CollaborationDecisionView, type CollaborationEvent, type CollaborationEventInput, CollaborationEventManager, type CollaborationEventSeverity, type CollaborationEventSummary, type CollaborationEventType, type CollaborationProjectionKind, type CollaborationProjectionOutboxEntry, type CollaborationProjectionOutboxInput, CollaborationProjectionOutboxManager, type CollaborationProjectionOutboxStatus, type CollaborationProjectionPreset, type Contact, type ContactCardShare, ContactManager, type ContactPolicyAction, type ContactPolicyDecision, type ConversationEntry, type ConversationListResponse, type DeliveryTimelineEntry, type DirectoryBrowseResponse, type DirectorySelfResponse, type EncryptedPayloadWrapper, type EncryptionIdentityFields, type EncryptionPrivateKeyJwk, type EncryptionPublicKeyJwk, type FeedByDidResponse, type FeedPost, type FeedPublicResponse, type FetchResponse, HistoryManager, HttpTransport, LocalStore, type ManagedTransportSwitchResult, type MarkOperatorSeenInput, type OpenClawIngressRuntimeStatus, type OpenClawTransportMode, type OperatorSeenState, OperatorSeenStateManager, type OperatorSeenStateOperatorId, type OperatorSeenStateScopeType, PingAgentClient, type ProjectionDisposition, type ProjectionDispositionInput, type ProjectionDispositionResult, type ProjectionPreviewEntry, type PublicAgentProfile, type PublicLinkState, type RecommendationSummary, type ReplyTarget, type ResolveCollaborationApprovalInput, type ResolveCollaborationApprovalResult, type RuntimeMode, SESSION_SUMMARY_FIELDS, type SendResponse, type SessionBindingAlert, type SessionBindingEntry, SessionManager, type SessionMessageInput, type SessionState, type SessionSummary, type SessionSummaryFieldKey, SessionSummaryManager, type SessionSummaryUpsert, type SinceLastSeenSummary, type StoredMessage, type StoredTrustRecommendation, type SubscriptionResponse, type SubscriptionUsage, type SyncTrustRecommendationsInput, type TaskHandoff, TaskHandoffManager, type TaskHandoffPayload, type TaskHandoffUpsert, type TaskPolicyAction, type TaskPolicyDecision, type TaskResult, type TaskShareEntry, type TaskThread, TaskThreadManager, type TaskThreadStatus, type TaskThreadUpsert, type TransportHealth, type TransportHealthState, type TransportOptions, type TransportPreferenceState, type TrustPolicyAuditEvent, type TrustPolicyAuditEventType, type TrustPolicyAuditInput, TrustPolicyAuditManager, type TrustPolicyAuditSummary, type TrustPolicyContext, type TrustPolicyDoc, type TrustPolicyLearningSummary, type TrustPolicyRecommendation, TrustRecommendationManager, type TrustRecommendationStatus, type TrustState, type UpdateProfileInput, type UserWakeEvent, UserWakeSubscription, type UserWakeSubscriptionOptions, WsSubscription, type WsSubscriptionOptions, buildDecisionReminderOutboxMessage, buildDeliveryTimeline, buildProjectionPreview, buildSessionKey, buildSessionSummaryHandoffText, buildTrustPolicyRecommendations, capabilityCardToLegacyCapabilities, clearSessionBindingAlert, decideContactPolicy, decideTaskPolicy, decryptPayloadForIdentity, defaultTrustPolicyDoc, deriveTransportHealth, describeProjectionPreset, encryptPayloadForRecipients, ensureIdentityEncryptionKeys, ensureTokenValid, formatCapabilityCardSummary, generateIdentity, getActiveSessionFilePath, getIdentityPath, getIngressRuntimeStatusFilePath, getProfile, getProjectedEventTypes, getProjectionDisposition, getRootDir, getSessionBindingAlertsFilePath, getSessionMapFilePath, getStorePath, getTransportPreferenceFilePath, getTrustRecommendationActionLabel, hasDecisionPromptOutbox, identityExists, isEncryptedPayload, listPendingDecisionViews, loadIdentity, matchesTrustPolicyRule, normalizeCapabilityCard, normalizeTransportMode, normalizeTrustPolicyDoc, previewFromPayload, readCurrentActiveSessionKey, readIngressRuntimeStatus, readSessionBindingAlerts, readSessionBindings, readTransportPreference, removeSessionBinding, saveIdentity, setSessionBinding, shouldEncryptConversationPayload, summarizeSinceLastSeen, summarizeTrustPolicyAudit, switchTransportPreference, updateStoredToken, upsertSessionBindingAlert, upsertTrustPolicyRecommendation, writeSessionBindingAlerts, writeSessionBindings, writeTransportPreference };
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  HistoryManager,
7
7
  HttpTransport,
8
8
  LocalStore,
9
+ OperatorSeenStateManager,
9
10
  PingAgentClient,
10
11
  SESSION_SUMMARY_FIELDS,
11
12
  SessionManager,
@@ -16,6 +17,9 @@ import {
16
17
  TrustRecommendationManager,
17
18
  UserWakeSubscription,
18
19
  WsSubscription,
20
+ buildDecisionReminderOutboxMessage,
21
+ buildDeliveryTimeline,
22
+ buildProjectionPreview,
19
23
  buildSessionKey,
20
24
  buildSessionSummaryHandoffText,
21
25
  buildTrustPolicyRecommendations,
@@ -25,6 +29,8 @@ import {
25
29
  decideTaskPolicy,
26
30
  decryptPayloadForIdentity,
27
31
  defaultTrustPolicyDoc,
32
+ deriveTransportHealth,
33
+ describeProjectionPreset,
28
34
  encryptPayloadForRecipients,
29
35
  ensureIdentityEncryptionKeys,
30
36
  ensureTokenValid,
@@ -34,33 +40,43 @@ import {
34
40
  getIdentityPath,
35
41
  getIngressRuntimeStatusFilePath,
36
42
  getProfile,
43
+ getProjectedEventTypes,
44
+ getProjectionDisposition,
37
45
  getRootDir,
38
46
  getSessionBindingAlertsFilePath,
39
47
  getSessionMapFilePath,
40
48
  getStorePath,
49
+ getTransportPreferenceFilePath,
41
50
  getTrustRecommendationActionLabel,
51
+ hasDecisionPromptOutbox,
42
52
  identityExists,
43
53
  isEncryptedPayload,
54
+ listPendingDecisionViews,
44
55
  loadIdentity,
45
56
  matchesTrustPolicyRule,
46
57
  normalizeCapabilityCard,
58
+ normalizeTransportMode,
47
59
  normalizeTrustPolicyDoc,
48
60
  previewFromPayload,
49
61
  readCurrentActiveSessionKey,
50
62
  readIngressRuntimeStatus,
51
63
  readSessionBindingAlerts,
52
64
  readSessionBindings,
65
+ readTransportPreference,
53
66
  removeSessionBinding,
54
67
  saveIdentity,
55
68
  setSessionBinding,
56
69
  shouldEncryptConversationPayload,
70
+ summarizeSinceLastSeen,
57
71
  summarizeTrustPolicyAudit,
72
+ switchTransportPreference,
58
73
  updateStoredToken,
59
74
  upsertSessionBindingAlert,
60
75
  upsertTrustPolicyRecommendation,
61
76
  writeSessionBindingAlerts,
62
- writeSessionBindings
63
- } from "./chunk-MFKDD5X3.js";
77
+ writeSessionBindings,
78
+ writeTransportPreference
79
+ } from "./chunk-BCYHGKQE.js";
64
80
  export {
65
81
  A2AAdapter,
66
82
  CollaborationEventManager,
@@ -69,6 +85,7 @@ export {
69
85
  HistoryManager,
70
86
  HttpTransport,
71
87
  LocalStore,
88
+ OperatorSeenStateManager,
72
89
  PingAgentClient,
73
90
  SESSION_SUMMARY_FIELDS,
74
91
  SessionManager,
@@ -79,6 +96,9 @@ export {
79
96
  TrustRecommendationManager,
80
97
  UserWakeSubscription,
81
98
  WsSubscription,
99
+ buildDecisionReminderOutboxMessage,
100
+ buildDeliveryTimeline,
101
+ buildProjectionPreview,
82
102
  buildSessionKey,
83
103
  buildSessionSummaryHandoffText,
84
104
  buildTrustPolicyRecommendations,
@@ -88,6 +108,8 @@ export {
88
108
  decideTaskPolicy,
89
109
  decryptPayloadForIdentity,
90
110
  defaultTrustPolicyDoc,
111
+ deriveTransportHealth,
112
+ describeProjectionPreset,
91
113
  encryptPayloadForRecipients,
92
114
  ensureIdentityEncryptionKeys,
93
115
  ensureTokenValid,
@@ -97,30 +119,40 @@ export {
97
119
  getIdentityPath,
98
120
  getIngressRuntimeStatusFilePath,
99
121
  getProfile,
122
+ getProjectedEventTypes,
123
+ getProjectionDisposition,
100
124
  getRootDir,
101
125
  getSessionBindingAlertsFilePath,
102
126
  getSessionMapFilePath,
103
127
  getStorePath,
128
+ getTransportPreferenceFilePath,
104
129
  getTrustRecommendationActionLabel,
130
+ hasDecisionPromptOutbox,
105
131
  identityExists,
106
132
  isEncryptedPayload,
133
+ listPendingDecisionViews,
107
134
  loadIdentity,
108
135
  matchesTrustPolicyRule,
109
136
  normalizeCapabilityCard,
137
+ normalizeTransportMode,
110
138
  normalizeTrustPolicyDoc,
111
139
  previewFromPayload,
112
140
  readCurrentActiveSessionKey,
113
141
  readIngressRuntimeStatus,
114
142
  readSessionBindingAlerts,
115
143
  readSessionBindings,
144
+ readTransportPreference,
116
145
  removeSessionBinding,
117
146
  saveIdentity,
118
147
  setSessionBinding,
119
148
  shouldEncryptConversationPayload,
149
+ summarizeSinceLastSeen,
120
150
  summarizeTrustPolicyAudit,
151
+ switchTransportPreference,
121
152
  updateStoredToken,
122
153
  upsertSessionBindingAlert,
123
154
  upsertTrustPolicyRecommendation,
124
155
  writeSessionBindingAlerts,
125
- writeSessionBindings
156
+ writeSessionBindings,
157
+ writeTransportPreference
126
158
  };