@pingagent/sdk 0.1.18 → 0.1.20
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/chunk-M6XDTSQA.js +8819 -0
- package/dist/index.d.ts +206 -5
- package/dist/index.js +17 -1
- package/dist/web-server.js +211 -10
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1209,6 +1209,120 @@ declare class HumanDeliveryBindingManager {
|
|
|
1209
1209
|
markStale(id: number, ts?: number): HumanDeliveryBinding | null;
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
|
+
type VerifiedDeliveryTargetScopeType = 'owner' | 'workspace_default';
|
|
1213
|
+
type VerifiedDeliveryTargetRouteKind = 'dm' | 'group';
|
|
1214
|
+
type VerifiedDeliveryTargetStatus = 'active' | 'disabled' | 'failing';
|
|
1215
|
+
interface VerifiedDeliveryTarget {
|
|
1216
|
+
id: number;
|
|
1217
|
+
created_at: number;
|
|
1218
|
+
updated_at: number;
|
|
1219
|
+
scope_type: VerifiedDeliveryTargetScopeType;
|
|
1220
|
+
scope_key: string;
|
|
1221
|
+
channel: string;
|
|
1222
|
+
to_target: string;
|
|
1223
|
+
account_id?: string;
|
|
1224
|
+
thread_id?: string | number;
|
|
1225
|
+
route_kind: VerifiedDeliveryTargetRouteKind;
|
|
1226
|
+
priority: number;
|
|
1227
|
+
status: VerifiedDeliveryTargetStatus;
|
|
1228
|
+
provenance?: string;
|
|
1229
|
+
source_binding_id?: number;
|
|
1230
|
+
last_verified_at?: number;
|
|
1231
|
+
last_success_at?: number;
|
|
1232
|
+
last_error?: string;
|
|
1233
|
+
detail?: Record<string, unknown>;
|
|
1234
|
+
}
|
|
1235
|
+
interface VerifiedDeliveryTargetInput {
|
|
1236
|
+
created_at?: number;
|
|
1237
|
+
updated_at?: number;
|
|
1238
|
+
scope_type: VerifiedDeliveryTargetScopeType;
|
|
1239
|
+
scope_key?: string;
|
|
1240
|
+
channel: string;
|
|
1241
|
+
to_target: string;
|
|
1242
|
+
account_id?: string;
|
|
1243
|
+
thread_id?: string | number;
|
|
1244
|
+
route_kind: VerifiedDeliveryTargetRouteKind;
|
|
1245
|
+
priority?: number;
|
|
1246
|
+
status?: VerifiedDeliveryTargetStatus;
|
|
1247
|
+
provenance?: string;
|
|
1248
|
+
source_binding_id?: number;
|
|
1249
|
+
last_verified_at?: number;
|
|
1250
|
+
last_success_at?: number;
|
|
1251
|
+
last_error?: string;
|
|
1252
|
+
detail?: Record<string, unknown>;
|
|
1253
|
+
}
|
|
1254
|
+
interface UpdateVerifiedDeliveryTargetInput {
|
|
1255
|
+
scope_type?: VerifiedDeliveryTargetScopeType;
|
|
1256
|
+
scope_key?: string;
|
|
1257
|
+
channel?: string;
|
|
1258
|
+
to_target?: string;
|
|
1259
|
+
account_id?: string | null;
|
|
1260
|
+
thread_id?: string | number | null;
|
|
1261
|
+
route_kind?: VerifiedDeliveryTargetRouteKind;
|
|
1262
|
+
priority?: number;
|
|
1263
|
+
status?: VerifiedDeliveryTargetStatus;
|
|
1264
|
+
provenance?: string | null;
|
|
1265
|
+
source_binding_id?: number | null;
|
|
1266
|
+
last_verified_at?: number | null;
|
|
1267
|
+
last_success_at?: number | null;
|
|
1268
|
+
last_error?: string | null;
|
|
1269
|
+
detail?: Record<string, unknown> | null;
|
|
1270
|
+
updated_at?: number;
|
|
1271
|
+
}
|
|
1272
|
+
declare class VerifiedDeliveryTargetManager {
|
|
1273
|
+
private store;
|
|
1274
|
+
constructor(store: LocalStore);
|
|
1275
|
+
private findExisting;
|
|
1276
|
+
upsert(input: VerifiedDeliveryTargetInput): VerifiedDeliveryTarget;
|
|
1277
|
+
get(id: number): VerifiedDeliveryTarget | null;
|
|
1278
|
+
listRecent(limit?: number): VerifiedDeliveryTarget[];
|
|
1279
|
+
listByScope(scopeType: VerifiedDeliveryTargetScopeType, scopeKey?: string, limit?: number): VerifiedDeliveryTarget[];
|
|
1280
|
+
listActive(limit?: number): VerifiedDeliveryTarget[];
|
|
1281
|
+
update(id: number, patch: UpdateVerifiedDeliveryTargetInput): VerifiedDeliveryTarget | null;
|
|
1282
|
+
markSuccess(id: number, ts?: number): VerifiedDeliveryTarget | null;
|
|
1283
|
+
markVerified(id: number, ts?: number): VerifiedDeliveryTarget | null;
|
|
1284
|
+
markFailing(id: number, error: string, ts?: number): VerifiedDeliveryTarget | null;
|
|
1285
|
+
markDisabled(id: number, ts?: number): VerifiedDeliveryTarget | null;
|
|
1286
|
+
markActive(id: number, ts?: number): VerifiedDeliveryTarget | null;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
type NotificationDeliveryAttemptStatus = 'pending' | 'sent' | 'failed';
|
|
1290
|
+
interface NotificationDeliveryAttempt {
|
|
1291
|
+
id: number;
|
|
1292
|
+
intent_id: number;
|
|
1293
|
+
target_id: number;
|
|
1294
|
+
attempt_no: number;
|
|
1295
|
+
status: NotificationDeliveryAttemptStatus;
|
|
1296
|
+
provider_message_ref?: string;
|
|
1297
|
+
error_code?: string;
|
|
1298
|
+
error_message?: string;
|
|
1299
|
+
created_at: number;
|
|
1300
|
+
updated_at: number;
|
|
1301
|
+
}
|
|
1302
|
+
interface NotificationDeliveryAttemptInput {
|
|
1303
|
+
intent_id: number;
|
|
1304
|
+
target_id: number;
|
|
1305
|
+
attempt_no: number;
|
|
1306
|
+
status?: NotificationDeliveryAttemptStatus;
|
|
1307
|
+
provider_message_ref?: string;
|
|
1308
|
+
error_code?: string;
|
|
1309
|
+
error_message?: string;
|
|
1310
|
+
created_at?: number;
|
|
1311
|
+
updated_at?: number;
|
|
1312
|
+
}
|
|
1313
|
+
declare class NotificationDeliveryAttemptManager {
|
|
1314
|
+
private store;
|
|
1315
|
+
constructor(store: LocalStore);
|
|
1316
|
+
start(input: NotificationDeliveryAttemptInput): NotificationDeliveryAttempt;
|
|
1317
|
+
get(id: number): NotificationDeliveryAttempt | null;
|
|
1318
|
+
listRecent(limit?: number): NotificationDeliveryAttempt[];
|
|
1319
|
+
listByIntent(intentId: number, limit?: number): NotificationDeliveryAttempt[];
|
|
1320
|
+
listByIntentAndTarget(intentId: number, targetId: number, limit?: number): NotificationDeliveryAttempt[];
|
|
1321
|
+
getLatestByIntentAndTarget(intentId: number, targetId: number): NotificationDeliveryAttempt | null;
|
|
1322
|
+
markSent(id: number, providerMessageRef?: string | null, ts?: number): NotificationDeliveryAttempt | null;
|
|
1323
|
+
markFailed(id: number, errorCode?: string | null, errorMessage?: string | null, ts?: number): NotificationDeliveryAttempt | null;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1212
1326
|
type NotificationIntentType = 'decision_required' | 'approval_result' | 'task_completed' | 'risk_alert' | 'handoff' | 'runtime_alert' | 'collaboration_update';
|
|
1213
1327
|
type ActionCallbackIntentType = NotificationIntentType;
|
|
1214
1328
|
type NotificationIntentStatus = 'pending' | 'bound' | 'sent' | 'acknowledged' | 'failed' | 'unresolved' | 'canceled';
|
|
@@ -1236,6 +1350,7 @@ interface NotificationIntent {
|
|
|
1236
1350
|
last_error?: string;
|
|
1237
1351
|
delivered_at?: number;
|
|
1238
1352
|
resolved_binding_id?: number;
|
|
1353
|
+
resolved_target_id?: number;
|
|
1239
1354
|
acknowledged_at?: number;
|
|
1240
1355
|
acknowledged_by_binding_id?: number;
|
|
1241
1356
|
acknowledged_by_message_ref?: string;
|
|
@@ -1261,6 +1376,7 @@ interface NotificationIntentInput {
|
|
|
1261
1376
|
last_error?: string;
|
|
1262
1377
|
delivered_at?: number;
|
|
1263
1378
|
resolved_binding_id?: number;
|
|
1379
|
+
resolved_target_id?: number;
|
|
1264
1380
|
acknowledged_at?: number;
|
|
1265
1381
|
acknowledged_by_binding_id?: number;
|
|
1266
1382
|
acknowledged_by_message_ref?: string;
|
|
@@ -1279,13 +1395,15 @@ declare class NotificationIntentManager {
|
|
|
1279
1395
|
listBySession(sessionKey: string, limit?: number): NotificationIntent[];
|
|
1280
1396
|
listByStatus(status: NotificationIntentStatus, limit?: number): NotificationIntent[];
|
|
1281
1397
|
markBound(id: number, bindingId: number, ts?: number): NotificationIntent | null;
|
|
1282
|
-
|
|
1398
|
+
markResolvedTarget(id: number, targetId: number, ts?: number): NotificationIntent | null;
|
|
1399
|
+
markSent(id: number, bindingId?: number | null, ts?: number, targetId?: number | null): NotificationIntent | null;
|
|
1283
1400
|
markPending(id: number, options?: {
|
|
1284
1401
|
clear_binding?: boolean;
|
|
1402
|
+
clear_target?: boolean;
|
|
1285
1403
|
clear_ack?: boolean;
|
|
1286
1404
|
clear_error?: boolean;
|
|
1287
1405
|
}, ts?: number): NotificationIntent | null;
|
|
1288
|
-
markFailed(id: number, error: string, bindingId?: number | null, ts?: number): NotificationIntent | null;
|
|
1406
|
+
markFailed(id: number, error: string, bindingId?: number | null, ts?: number, targetId?: number | null): NotificationIntent | null;
|
|
1289
1407
|
markUnresolved(id: number, error?: string, ts?: number): NotificationIntent | null;
|
|
1290
1408
|
markCanceled(id: number, error?: string, ts?: number): NotificationIntent | null;
|
|
1291
1409
|
markAcknowledged(id: number, input?: {
|
|
@@ -1712,6 +1830,7 @@ declare function switchTransportPreference(preferredMode: OpenClawTransportMode,
|
|
|
1712
1830
|
|
|
1713
1831
|
declare const HUMAN_DELIVERY_CHANNELS: readonly ["feishu", "discord", "telegram", "slack", "whatsapp"];
|
|
1714
1832
|
type HumanDeliveryChannel = typeof HUMAN_DELIVERY_CHANNELS[number];
|
|
1833
|
+
type HumanDeliveryMode = 'projection_outbox' | 'bound_channel_reply' | 'verified_explicit_notify';
|
|
1715
1834
|
interface HumanDeliveryChannelCapability {
|
|
1716
1835
|
channel: string;
|
|
1717
1836
|
configured: boolean;
|
|
@@ -1725,10 +1844,14 @@ interface HumanDeliveryChannelCapability {
|
|
|
1725
1844
|
last_canary_error?: string | null;
|
|
1726
1845
|
}
|
|
1727
1846
|
interface HumanDeliverySummary {
|
|
1728
|
-
mode:
|
|
1847
|
+
mode: HumanDeliveryMode;
|
|
1729
1848
|
total_bindings: number;
|
|
1730
1849
|
active_bindings: number;
|
|
1731
1850
|
stale_bindings: number;
|
|
1851
|
+
total_verified_targets: number;
|
|
1852
|
+
active_verified_targets: number;
|
|
1853
|
+
disabled_verified_targets: number;
|
|
1854
|
+
failing_verified_targets: number;
|
|
1732
1855
|
pending_intents: number;
|
|
1733
1856
|
unresolved_intents: number;
|
|
1734
1857
|
failed_intents: number;
|
|
@@ -1740,6 +1863,9 @@ interface HumanDeliverySummary {
|
|
|
1740
1863
|
last_canary_error?: string | null;
|
|
1741
1864
|
channel_capabilities: HumanDeliveryChannelCapability[];
|
|
1742
1865
|
recent_bindings: HumanDeliveryBinding[];
|
|
1866
|
+
recent_verified_targets: VerifiedDeliveryTarget[];
|
|
1867
|
+
recent_delivery_attempts: NotificationDeliveryAttempt[];
|
|
1868
|
+
importable_binding_candidates: VerifiedDeliveryTargetCandidate[];
|
|
1743
1869
|
recent_notification_intents: NotificationIntent[];
|
|
1744
1870
|
}
|
|
1745
1871
|
interface ResolveHumanDeliveryBindingInput {
|
|
@@ -1759,6 +1885,81 @@ interface NotificationOverride {
|
|
|
1759
1885
|
summary?: string;
|
|
1760
1886
|
deep_link?: string;
|
|
1761
1887
|
}
|
|
1888
|
+
interface VerifiedDeliveryTargetCandidate {
|
|
1889
|
+
binding_id: number;
|
|
1890
|
+
owner_ref?: string;
|
|
1891
|
+
scope_type: VerifiedDeliveryTargetScopeType;
|
|
1892
|
+
scope_key: string;
|
|
1893
|
+
channel: string;
|
|
1894
|
+
to_target: string;
|
|
1895
|
+
account_id?: string;
|
|
1896
|
+
thread_id?: string | number;
|
|
1897
|
+
route_kind: VerifiedDeliveryTargetRouteKind;
|
|
1898
|
+
priority: number;
|
|
1899
|
+
status: VerifiedDeliveryTargetStatus;
|
|
1900
|
+
provenance: string;
|
|
1901
|
+
source_binding_id: number;
|
|
1902
|
+
detail?: Record<string, unknown>;
|
|
1903
|
+
already_verified_target_id?: number;
|
|
1904
|
+
}
|
|
1905
|
+
interface ResolveVerifiedDeliveryTargetsInput {
|
|
1906
|
+
owner_ref?: string | null;
|
|
1907
|
+
limit?: number;
|
|
1908
|
+
}
|
|
1909
|
+
interface ResolvedVerifiedDeliveryTarget extends VerifiedDeliveryTarget {
|
|
1910
|
+
resolution_scope: 'owner_dm' | 'owner_group' | 'workspace_default_group';
|
|
1911
|
+
}
|
|
1912
|
+
interface PromoteBindingToVerifiedTargetInput {
|
|
1913
|
+
binding_id: number;
|
|
1914
|
+
scope_type?: VerifiedDeliveryTargetScopeType;
|
|
1915
|
+
scope_key?: string;
|
|
1916
|
+
route_kind?: VerifiedDeliveryTargetRouteKind;
|
|
1917
|
+
priority?: number;
|
|
1918
|
+
status?: VerifiedDeliveryTargetStatus;
|
|
1919
|
+
provenance?: string;
|
|
1920
|
+
}
|
|
1921
|
+
declare function normalizeVerifiedDeliveryTargetInput(input: {
|
|
1922
|
+
scope_type?: VerifiedDeliveryTargetScopeType | null;
|
|
1923
|
+
scope_key?: string | null;
|
|
1924
|
+
owner_ref?: string | null;
|
|
1925
|
+
channel?: string | null;
|
|
1926
|
+
to_target?: string | null;
|
|
1927
|
+
account_id?: string | null;
|
|
1928
|
+
thread_id?: string | number | null;
|
|
1929
|
+
route_kind?: VerifiedDeliveryTargetRouteKind | null;
|
|
1930
|
+
priority?: number | null;
|
|
1931
|
+
status?: VerifiedDeliveryTargetStatus | null;
|
|
1932
|
+
provenance?: string | null;
|
|
1933
|
+
source_binding_id?: number | null;
|
|
1934
|
+
detail?: Record<string, unknown> | null;
|
|
1935
|
+
}): VerifiedDeliveryTargetInput | null;
|
|
1936
|
+
declare function normalizeVerifiedDeliveryTargetUpdateInput(existing: VerifiedDeliveryTarget, patch: {
|
|
1937
|
+
scope_type?: VerifiedDeliveryTargetScopeType | null;
|
|
1938
|
+
scope_key?: string | null;
|
|
1939
|
+
channel?: string | null;
|
|
1940
|
+
to_target?: string | null;
|
|
1941
|
+
account_id?: string | null;
|
|
1942
|
+
thread_id?: string | number | null;
|
|
1943
|
+
route_kind?: VerifiedDeliveryTargetRouteKind | null;
|
|
1944
|
+
priority?: number | null;
|
|
1945
|
+
status?: VerifiedDeliveryTargetStatus | null;
|
|
1946
|
+
provenance?: string | null;
|
|
1947
|
+
source_binding_id?: number | null;
|
|
1948
|
+
detail?: Record<string, unknown> | null;
|
|
1949
|
+
last_verified_at?: number | null;
|
|
1950
|
+
last_success_at?: number | null;
|
|
1951
|
+
last_error?: string | null;
|
|
1952
|
+
}): UpdateVerifiedDeliveryTargetInput | null;
|
|
1953
|
+
declare function listImportableBindingCandidates(store: LocalStore, limit?: number): VerifiedDeliveryTargetCandidate[];
|
|
1954
|
+
declare function promoteBindingToVerifiedTarget(store: LocalStore, input: PromoteBindingToVerifiedTargetInput): VerifiedDeliveryTarget | null;
|
|
1955
|
+
declare function importBindingCandidates(store: LocalStore, options?: {
|
|
1956
|
+
limit?: number;
|
|
1957
|
+
status?: VerifiedDeliveryTargetStatus;
|
|
1958
|
+
scope_type?: VerifiedDeliveryTargetScopeType;
|
|
1959
|
+
route_kind?: VerifiedDeliveryTargetRouteKind;
|
|
1960
|
+
provenance?: string;
|
|
1961
|
+
}): VerifiedDeliveryTarget[];
|
|
1962
|
+
declare function resolveVerifiedDeliveryTargets(store: LocalStore, input: ResolveVerifiedDeliveryTargetsInput): ResolvedVerifiedDeliveryTarget[];
|
|
1762
1963
|
declare function resolveHumanDeliveryBinding(store: LocalStore, input: ResolveHumanDeliveryBindingInput): ResolveHumanDeliveryBindingResult;
|
|
1763
1964
|
declare function buildHumanDeliveryPayload(intent: NotificationIntent): string;
|
|
1764
1965
|
declare function summarizeHumanDelivery(store: LocalStore, limit?: number): HumanDeliverySummary;
|
|
@@ -1768,7 +1969,7 @@ declare function listRecentBindingsForSession(store: LocalStore, sessionKey: str
|
|
|
1768
1969
|
|
|
1769
1970
|
interface OpenClawIngressRuntimeStatus {
|
|
1770
1971
|
receive_mode: 'webhook' | 'polling_degraded';
|
|
1771
|
-
human_delivery_mode?: 'projection_outbox' | 'bound_channel_reply' | null;
|
|
1972
|
+
human_delivery_mode?: 'projection_outbox' | 'bound_channel_reply' | 'verified_explicit_notify' | null;
|
|
1772
1973
|
reason?: string | null;
|
|
1773
1974
|
hooks_url?: string | null;
|
|
1774
1975
|
hooks_base_url?: string | null;
|
|
@@ -2289,4 +2490,4 @@ declare function getOpenClawSessionEntry(sessionKey: string, filePath?: string):
|
|
|
2289
2490
|
declare function deriveOwnerRefFromOpenClawSessionEntry(entry: OpenClawSessionEntryRecord): string | undefined;
|
|
2290
2491
|
declare function buildHumanDeliveryBindingCandidate(sessionKey: string, filePath?: string): OpenClawHumanDeliveryBindingCandidate | null;
|
|
2291
2492
|
|
|
2292
|
-
export { A2AAdapter, type A2AAdapterOptions, type A2ATaskResult, type ActionArtifact, type ActionCallbackIntent, type ActionCallbackIntentBindingScope, type ActionCallbackIntentInput, NotificationIntentManager as ActionCallbackIntentManager, type ActionCallbackIntentStatus, type ActionCallbackIntentType, type ActionContract, type ActionInboxItem, type ActionInboxSource, type ActionInboxStatus, type ActionInboxSummary, type ActionMessageType, type ActionPolicyScope, type ActionResponseState, type ActionRiskLevel, type ActionSensitivity, type ActionTargetClass, type AgentEncryptionCard, type AgentProfile, type BuildActionContractInput, type BuildActionInboxSummaryInput, type CallbackResumeDeliveryStatus, CallbackResumeManager, type CallbackResumeRequest, type CallbackResumeResult, type CapabilityCard, type CapabilityCardItem, type CapabilityContactMode, type CapabilityToken, type CapabilityTokenConsumeInput, type CapabilityTokenIssueInput, CapabilityTokenManager, type CapabilityTokenStatus, 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 DeriveOpenClawAgentStateInput, type DirectoryBrowseResponse, type DirectorySelfResponse, type EncryptedPayloadWrapper, type EncryptionIdentityFields, type EncryptionPrivateKeyJwk, type EncryptionPublicKeyJwk, type EnqueueOpenClawEscalationInput, type ExternalEscalation, type ExternalEscalationDetail, type ExternalEscalationInput, ExternalEscalationManager, type ExternalEscalationRequest, type ExternalEscalationStatus, type ExternalTargetBinding, type ExternalTargetBindingInput, HumanDeliveryBindingManager as ExternalTargetBindingManager, type ExternalTargetBindingStatus, type FeedByDidResponse, type FeedPost, type FeedPublicResponse, type FetchResponse, HUMAN_DELIVERY_CHANNELS, HistoryManager, HttpTransport, type HumanDeliveryBinding, type HumanDeliveryBindingInput, HumanDeliveryBindingManager, type HumanDeliveryBindingStatus, type HumanDeliveryChannel, type HumanDeliveryChannelCapability, type HumanDeliverySummary, LocalStore, type ManagedTransportSwitchResult, type MarkOperatorSeenInput, type NotificationIntent, type NotificationIntentBindingScope, type NotificationIntentInput, NotificationIntentManager, type NotificationIntentStatus, type NotificationIntentType, type NotificationOverride, type OpenClawAdapterOverview, type OpenClawAgentLifecycleState, type OpenClawAgentState, type OpenClawDeliveryContext, OpenClawExecutionAdapter, type OpenClawExecutionAdapterHealth, type OpenClawHookClientOptions, type OpenClawHookHealth, type OpenClawHookSendInput, OpenClawHooksClient, type OpenClawHumanDeliveryBindingCandidate, type OpenClawIngressRuntimeStatus, type OpenClawSessionEntryRecord, 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 ResolveHumanDeliveryBindingInput, type ResolveHumanDeliveryBindingResult, type ResumeOpenClawCallbackInput, type RuntimeAdapter, type RuntimeAdapterCapabilities, type RuntimeAdapterDescriptor, type RuntimeAdapterKind, type RuntimeAdapterStatus, type RuntimeMode, type RuntimeRun, type RuntimeRunInput, RuntimeRunManager, type RuntimeRunStatus, SESSION_SUMMARY_FIELDS, type SendResponse, type SessionBindingAlert, type SessionBindingEntry, SessionManager, type SessionMessageInput, type SessionState, type SessionSummary, type SessionSummaryFieldKey, SessionSummaryManager, type SessionSummaryUpsert, type SinceLastSeenSummary, type StoredCallbackResume, type StoredCallbackResumeInput, 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, actionDeadlineStatus, actionRiskRank, buildActionContract, buildActionContractForDecisionView, buildActionContractForNotificationIntent, buildActionInboxSummary, buildCallbackResumeRequest, buildDecisionReminderOutboxMessage, buildDeliveryTimeline, buildExternalEscalationRequest, buildHumanDeliveryBindingCandidate, buildHumanDeliveryPayload, buildNotificationIntentInputFromProjectionOutbox, buildProjectionPreview, buildSessionKey, buildSessionSummaryHandoffText, buildTrustPolicyRecommendations, capabilityCardToLegacyCapabilities, clearSessionBindingAlert, decideContactPolicy, decideTaskPolicy, decryptPayloadForIdentity, defaultTrustPolicyDoc, deriveOpenClawAgentState, deriveOwnerRefFromOpenClawSessionEntry, deriveTransportHealth, describeOpenClawAgentState, describeProjectionPreset, encryptPayloadForRecipients, ensureIdentityEncryptionKeys, ensureTokenValid, formatCapabilityCardSummary, generateIdentity, getActiveSessionFilePath, getIdentityPath, getIngressRuntimeStatusFilePath, getOpenClawConfigFilePath, getOpenClawSessionEntry, getOpenClawSessionStorePath, getProfile, getProjectedEventTypes, getProjectionDisposition, getRootDir, getRuntimeAdapterDescriptor, getSessionBindingAlertsFilePath, getSessionMapFilePath, getStorePath, getTransportPreferenceFilePath, getTrustRecommendationActionLabel, hasDecisionPromptOutbox, identityExists, isEncryptedPayload, listOpenClawSessionEntries, listPendingDecisionViews, listRecentBindingsForSession, listRuntimeAdapterDescriptors, loadIdentity, matchesTrustPolicyRule, nextActionForOpenClawAgentState, normalizeCapabilityCard, normalizeTransportMode, normalizeTrustPolicyDoc, parseNotificationOverride, previewFromPayload, readCurrentActiveSessionKey, readIngressRuntimeStatus, readSessionBindingAlerts, readSessionBindings, readTransportPreference, removeSessionBinding, resolveHumanDeliveryBinding, saveIdentity, setSessionBinding, shouldEncryptConversationPayload, summarizeHumanDelivery, summarizeSinceLastSeen, summarizeTrustPolicyAudit, switchTransportPreference, synthesizeOpenClawRunId, synthesizeOpenClawWorkflowId, updateStoredToken, upsertSessionBindingAlert, upsertTrustPolicyRecommendation, writeSessionBindingAlerts, writeSessionBindings, writeTransportPreference };
|
|
2493
|
+
export { A2AAdapter, type A2AAdapterOptions, type A2ATaskResult, type ActionArtifact, type ActionCallbackIntent, type ActionCallbackIntentBindingScope, type ActionCallbackIntentInput, NotificationIntentManager as ActionCallbackIntentManager, type ActionCallbackIntentStatus, type ActionCallbackIntentType, type ActionContract, type ActionInboxItem, type ActionInboxSource, type ActionInboxStatus, type ActionInboxSummary, type ActionMessageType, type ActionPolicyScope, type ActionResponseState, type ActionRiskLevel, type ActionSensitivity, type ActionTargetClass, type AgentEncryptionCard, type AgentProfile, type BuildActionContractInput, type BuildActionInboxSummaryInput, type CallbackResumeDeliveryStatus, CallbackResumeManager, type CallbackResumeRequest, type CallbackResumeResult, type CapabilityCard, type CapabilityCardItem, type CapabilityContactMode, type CapabilityToken, type CapabilityTokenConsumeInput, type CapabilityTokenIssueInput, CapabilityTokenManager, type CapabilityTokenStatus, 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 DeriveOpenClawAgentStateInput, type DirectoryBrowseResponse, type DirectorySelfResponse, type EncryptedPayloadWrapper, type EncryptionIdentityFields, type EncryptionPrivateKeyJwk, type EncryptionPublicKeyJwk, type EnqueueOpenClawEscalationInput, type ExternalEscalation, type ExternalEscalationDetail, type ExternalEscalationInput, ExternalEscalationManager, type ExternalEscalationRequest, type ExternalEscalationStatus, type ExternalTargetBinding, type ExternalTargetBindingInput, HumanDeliveryBindingManager as ExternalTargetBindingManager, type ExternalTargetBindingStatus, type FeedByDidResponse, type FeedPost, type FeedPublicResponse, type FetchResponse, HUMAN_DELIVERY_CHANNELS, HistoryManager, HttpTransport, type HumanDeliveryBinding, type HumanDeliveryBindingInput, HumanDeliveryBindingManager, type HumanDeliveryBindingStatus, type HumanDeliveryChannel, type HumanDeliveryChannelCapability, type HumanDeliveryMode, type HumanDeliverySummary, LocalStore, type ManagedTransportSwitchResult, type MarkOperatorSeenInput, type NotificationDeliveryAttempt, type NotificationDeliveryAttemptInput, NotificationDeliveryAttemptManager, type NotificationDeliveryAttemptStatus, type NotificationIntent, type NotificationIntentBindingScope, type NotificationIntentInput, NotificationIntentManager, type NotificationIntentStatus, type NotificationIntentType, type NotificationOverride, type OpenClawAdapterOverview, type OpenClawAgentLifecycleState, type OpenClawAgentState, type OpenClawDeliveryContext, OpenClawExecutionAdapter, type OpenClawExecutionAdapterHealth, type OpenClawHookClientOptions, type OpenClawHookHealth, type OpenClawHookSendInput, OpenClawHooksClient, type OpenClawHumanDeliveryBindingCandidate, type OpenClawIngressRuntimeStatus, type OpenClawSessionEntryRecord, type OpenClawTransportMode, type OperatorSeenState, OperatorSeenStateManager, type OperatorSeenStateOperatorId, type OperatorSeenStateScopeType, PingAgentClient, type ProjectionDisposition, type ProjectionDispositionInput, type ProjectionDispositionResult, type ProjectionPreviewEntry, type PromoteBindingToVerifiedTargetInput, type PublicAgentProfile, type PublicLinkState, type RecommendationSummary, type ReplyTarget, type ResolveCollaborationApprovalInput, type ResolveCollaborationApprovalResult, type ResolveHumanDeliveryBindingInput, type ResolveHumanDeliveryBindingResult, type ResolveVerifiedDeliveryTargetsInput, type ResolvedVerifiedDeliveryTarget, type ResumeOpenClawCallbackInput, type RuntimeAdapter, type RuntimeAdapterCapabilities, type RuntimeAdapterDescriptor, type RuntimeAdapterKind, type RuntimeAdapterStatus, type RuntimeMode, type RuntimeRun, type RuntimeRunInput, RuntimeRunManager, type RuntimeRunStatus, SESSION_SUMMARY_FIELDS, type SendResponse, type SessionBindingAlert, type SessionBindingEntry, SessionManager, type SessionMessageInput, type SessionState, type SessionSummary, type SessionSummaryFieldKey, SessionSummaryManager, type SessionSummaryUpsert, type SinceLastSeenSummary, type StoredCallbackResume, type StoredCallbackResumeInput, 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 UpdateVerifiedDeliveryTargetInput, type UserWakeEvent, UserWakeSubscription, type UserWakeSubscriptionOptions, type VerifiedDeliveryTarget, type VerifiedDeliveryTargetCandidate, type VerifiedDeliveryTargetInput, VerifiedDeliveryTargetManager, type VerifiedDeliveryTargetRouteKind, type VerifiedDeliveryTargetScopeType, type VerifiedDeliveryTargetStatus, WsSubscription, type WsSubscriptionOptions, actionDeadlineStatus, actionRiskRank, buildActionContract, buildActionContractForDecisionView, buildActionContractForNotificationIntent, buildActionInboxSummary, buildCallbackResumeRequest, buildDecisionReminderOutboxMessage, buildDeliveryTimeline, buildExternalEscalationRequest, buildHumanDeliveryBindingCandidate, buildHumanDeliveryPayload, buildNotificationIntentInputFromProjectionOutbox, buildProjectionPreview, buildSessionKey, buildSessionSummaryHandoffText, buildTrustPolicyRecommendations, capabilityCardToLegacyCapabilities, clearSessionBindingAlert, decideContactPolicy, decideTaskPolicy, decryptPayloadForIdentity, defaultTrustPolicyDoc, deriveOpenClawAgentState, deriveOwnerRefFromOpenClawSessionEntry, deriveTransportHealth, describeOpenClawAgentState, describeProjectionPreset, encryptPayloadForRecipients, ensureIdentityEncryptionKeys, ensureTokenValid, formatCapabilityCardSummary, generateIdentity, getActiveSessionFilePath, getIdentityPath, getIngressRuntimeStatusFilePath, getOpenClawConfigFilePath, getOpenClawSessionEntry, getOpenClawSessionStorePath, getProfile, getProjectedEventTypes, getProjectionDisposition, getRootDir, getRuntimeAdapterDescriptor, getSessionBindingAlertsFilePath, getSessionMapFilePath, getStorePath, getTransportPreferenceFilePath, getTrustRecommendationActionLabel, hasDecisionPromptOutbox, identityExists, importBindingCandidates, isEncryptedPayload, listImportableBindingCandidates, listOpenClawSessionEntries, listPendingDecisionViews, listRecentBindingsForSession, listRuntimeAdapterDescriptors, loadIdentity, matchesTrustPolicyRule, nextActionForOpenClawAgentState, normalizeCapabilityCard, normalizeTransportMode, normalizeTrustPolicyDoc, normalizeVerifiedDeliveryTargetInput, normalizeVerifiedDeliveryTargetUpdateInput, parseNotificationOverride, previewFromPayload, promoteBindingToVerifiedTarget, readCurrentActiveSessionKey, readIngressRuntimeStatus, readSessionBindingAlerts, readSessionBindings, readTransportPreference, removeSessionBinding, resolveHumanDeliveryBinding, resolveVerifiedDeliveryTargets, saveIdentity, setSessionBinding, shouldEncryptConversationPayload, summarizeHumanDelivery, summarizeSinceLastSeen, summarizeTrustPolicyAudit, switchTransportPreference, synthesizeOpenClawRunId, synthesizeOpenClawWorkflowId, updateStoredToken, upsertSessionBindingAlert, upsertTrustPolicyRecommendation, writeSessionBindingAlerts, writeSessionBindings, writeTransportPreference };
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
HttpTransport,
|
|
12
12
|
HumanDeliveryBindingManager,
|
|
13
13
|
LocalStore,
|
|
14
|
+
NotificationDeliveryAttemptManager,
|
|
14
15
|
NotificationIntentManager,
|
|
15
16
|
OpenClawExecutionAdapter,
|
|
16
17
|
OpenClawHooksClient,
|
|
@@ -25,6 +26,7 @@ import {
|
|
|
25
26
|
TrustPolicyAuditManager,
|
|
26
27
|
TrustRecommendationManager,
|
|
27
28
|
UserWakeSubscription,
|
|
29
|
+
VerifiedDeliveryTargetManager,
|
|
28
30
|
WsSubscription,
|
|
29
31
|
actionDeadlineStatus,
|
|
30
32
|
actionRiskRank,
|
|
@@ -77,7 +79,9 @@ import {
|
|
|
77
79
|
getTrustRecommendationActionLabel,
|
|
78
80
|
hasDecisionPromptOutbox,
|
|
79
81
|
identityExists,
|
|
82
|
+
importBindingCandidates,
|
|
80
83
|
isEncryptedPayload,
|
|
84
|
+
listImportableBindingCandidates,
|
|
81
85
|
listOpenClawSessionEntries,
|
|
82
86
|
listPendingDecisionViews,
|
|
83
87
|
listRecentBindingsForSession,
|
|
@@ -88,8 +92,11 @@ import {
|
|
|
88
92
|
normalizeCapabilityCard,
|
|
89
93
|
normalizeTransportMode,
|
|
90
94
|
normalizeTrustPolicyDoc,
|
|
95
|
+
normalizeVerifiedDeliveryTargetInput,
|
|
96
|
+
normalizeVerifiedDeliveryTargetUpdateInput,
|
|
91
97
|
parseNotificationOverride,
|
|
92
98
|
previewFromPayload,
|
|
99
|
+
promoteBindingToVerifiedTarget,
|
|
93
100
|
readCurrentActiveSessionKey,
|
|
94
101
|
readIngressRuntimeStatus,
|
|
95
102
|
readSessionBindingAlerts,
|
|
@@ -97,6 +104,7 @@ import {
|
|
|
97
104
|
readTransportPreference,
|
|
98
105
|
removeSessionBinding,
|
|
99
106
|
resolveHumanDeliveryBinding,
|
|
107
|
+
resolveVerifiedDeliveryTargets,
|
|
100
108
|
saveIdentity,
|
|
101
109
|
setSessionBinding,
|
|
102
110
|
shouldEncryptConversationPayload,
|
|
@@ -112,7 +120,7 @@ import {
|
|
|
112
120
|
writeSessionBindingAlerts,
|
|
113
121
|
writeSessionBindings,
|
|
114
122
|
writeTransportPreference
|
|
115
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-M6XDTSQA.js";
|
|
116
124
|
export {
|
|
117
125
|
A2AAdapter,
|
|
118
126
|
NotificationIntentManager as ActionCallbackIntentManager,
|
|
@@ -128,6 +136,7 @@ export {
|
|
|
128
136
|
HttpTransport,
|
|
129
137
|
HumanDeliveryBindingManager,
|
|
130
138
|
LocalStore,
|
|
139
|
+
NotificationDeliveryAttemptManager,
|
|
131
140
|
NotificationIntentManager,
|
|
132
141
|
OpenClawExecutionAdapter,
|
|
133
142
|
OpenClawHooksClient,
|
|
@@ -142,6 +151,7 @@ export {
|
|
|
142
151
|
TrustPolicyAuditManager,
|
|
143
152
|
TrustRecommendationManager,
|
|
144
153
|
UserWakeSubscription,
|
|
154
|
+
VerifiedDeliveryTargetManager,
|
|
145
155
|
WsSubscription,
|
|
146
156
|
actionDeadlineStatus,
|
|
147
157
|
actionRiskRank,
|
|
@@ -194,7 +204,9 @@ export {
|
|
|
194
204
|
getTrustRecommendationActionLabel,
|
|
195
205
|
hasDecisionPromptOutbox,
|
|
196
206
|
identityExists,
|
|
207
|
+
importBindingCandidates,
|
|
197
208
|
isEncryptedPayload,
|
|
209
|
+
listImportableBindingCandidates,
|
|
198
210
|
listOpenClawSessionEntries,
|
|
199
211
|
listPendingDecisionViews,
|
|
200
212
|
listRecentBindingsForSession,
|
|
@@ -205,8 +217,11 @@ export {
|
|
|
205
217
|
normalizeCapabilityCard,
|
|
206
218
|
normalizeTransportMode,
|
|
207
219
|
normalizeTrustPolicyDoc,
|
|
220
|
+
normalizeVerifiedDeliveryTargetInput,
|
|
221
|
+
normalizeVerifiedDeliveryTargetUpdateInput,
|
|
208
222
|
parseNotificationOverride,
|
|
209
223
|
previewFromPayload,
|
|
224
|
+
promoteBindingToVerifiedTarget,
|
|
210
225
|
readCurrentActiveSessionKey,
|
|
211
226
|
readIngressRuntimeStatus,
|
|
212
227
|
readSessionBindingAlerts,
|
|
@@ -214,6 +229,7 @@ export {
|
|
|
214
229
|
readTransportPreference,
|
|
215
230
|
removeSessionBinding,
|
|
216
231
|
resolveHumanDeliveryBinding,
|
|
232
|
+
resolveVerifiedDeliveryTargets,
|
|
217
233
|
saveIdentity,
|
|
218
234
|
setSessionBinding,
|
|
219
235
|
shouldEncryptConversationPayload,
|