@pingagent/sdk 0.1.16 → 0.1.18
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/bin/pingagent.js +106 -102
- package/dist/chunk-34F6AUBW.js +6537 -0
- package/dist/chunk-66PVWBOU.js +6412 -0
- package/dist/chunk-DJ5XF3WK.js +7857 -0
- package/dist/chunk-IB7OSFZS.js +5951 -0
- package/dist/chunk-JWBNSM4N.js +7948 -0
- package/dist/chunk-PEKTGNH6.js +7948 -0
- package/dist/chunk-V7NQC6XA.js +7948 -0
- package/dist/index.d.ts +565 -37
- package/dist/index.js +45 -1
- package/dist/web-server.js +399 -69
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
A2AAdapter,
|
|
3
|
+
CallbackResumeManager,
|
|
4
|
+
CapabilityTokenManager,
|
|
3
5
|
CollaborationEventManager,
|
|
4
6
|
CollaborationProjectionOutboxManager,
|
|
5
7
|
ContactManager,
|
|
8
|
+
ExternalEscalationManager,
|
|
6
9
|
HUMAN_DELIVERY_CHANNELS,
|
|
7
10
|
HistoryManager,
|
|
8
11
|
HttpTransport,
|
|
9
12
|
HumanDeliveryBindingManager,
|
|
10
13
|
LocalStore,
|
|
11
14
|
NotificationIntentManager,
|
|
15
|
+
OpenClawExecutionAdapter,
|
|
16
|
+
OpenClawHooksClient,
|
|
12
17
|
OperatorSeenStateManager,
|
|
13
18
|
PingAgentClient,
|
|
19
|
+
RuntimeRunManager,
|
|
14
20
|
SESSION_SUMMARY_FIELDS,
|
|
15
21
|
SessionManager,
|
|
16
22
|
SessionSummaryManager,
|
|
@@ -20,8 +26,16 @@ import {
|
|
|
20
26
|
TrustRecommendationManager,
|
|
21
27
|
UserWakeSubscription,
|
|
22
28
|
WsSubscription,
|
|
29
|
+
actionDeadlineStatus,
|
|
30
|
+
actionRiskRank,
|
|
31
|
+
buildActionContract,
|
|
32
|
+
buildActionContractForDecisionView,
|
|
33
|
+
buildActionContractForNotificationIntent,
|
|
34
|
+
buildActionInboxSummary,
|
|
35
|
+
buildCallbackResumeRequest,
|
|
23
36
|
buildDecisionReminderOutboxMessage,
|
|
24
37
|
buildDeliveryTimeline,
|
|
38
|
+
buildExternalEscalationRequest,
|
|
25
39
|
buildHumanDeliveryBindingCandidate,
|
|
26
40
|
buildHumanDeliveryPayload,
|
|
27
41
|
buildNotificationIntentInputFromProjectionOutbox,
|
|
@@ -35,8 +49,10 @@ import {
|
|
|
35
49
|
decideTaskPolicy,
|
|
36
50
|
decryptPayloadForIdentity,
|
|
37
51
|
defaultTrustPolicyDoc,
|
|
52
|
+
deriveOpenClawAgentState,
|
|
38
53
|
deriveOwnerRefFromOpenClawSessionEntry,
|
|
39
54
|
deriveTransportHealth,
|
|
55
|
+
describeOpenClawAgentState,
|
|
40
56
|
describeProjectionPreset,
|
|
41
57
|
encryptPayloadForRecipients,
|
|
42
58
|
ensureIdentityEncryptionKeys,
|
|
@@ -53,6 +69,7 @@ import {
|
|
|
53
69
|
getProjectedEventTypes,
|
|
54
70
|
getProjectionDisposition,
|
|
55
71
|
getRootDir,
|
|
72
|
+
getRuntimeAdapterDescriptor,
|
|
56
73
|
getSessionBindingAlertsFilePath,
|
|
57
74
|
getSessionMapFilePath,
|
|
58
75
|
getStorePath,
|
|
@@ -64,8 +81,10 @@ import {
|
|
|
64
81
|
listOpenClawSessionEntries,
|
|
65
82
|
listPendingDecisionViews,
|
|
66
83
|
listRecentBindingsForSession,
|
|
84
|
+
listRuntimeAdapterDescriptors,
|
|
67
85
|
loadIdentity,
|
|
68
86
|
matchesTrustPolicyRule,
|
|
87
|
+
nextActionForOpenClawAgentState,
|
|
69
88
|
normalizeCapabilityCard,
|
|
70
89
|
normalizeTransportMode,
|
|
71
90
|
normalizeTrustPolicyDoc,
|
|
@@ -85,26 +104,36 @@ import {
|
|
|
85
104
|
summarizeSinceLastSeen,
|
|
86
105
|
summarizeTrustPolicyAudit,
|
|
87
106
|
switchTransportPreference,
|
|
107
|
+
synthesizeOpenClawRunId,
|
|
108
|
+
synthesizeOpenClawWorkflowId,
|
|
88
109
|
updateStoredToken,
|
|
89
110
|
upsertSessionBindingAlert,
|
|
90
111
|
upsertTrustPolicyRecommendation,
|
|
91
112
|
writeSessionBindingAlerts,
|
|
92
113
|
writeSessionBindings,
|
|
93
114
|
writeTransportPreference
|
|
94
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-JWBNSM4N.js";
|
|
95
116
|
export {
|
|
96
117
|
A2AAdapter,
|
|
118
|
+
NotificationIntentManager as ActionCallbackIntentManager,
|
|
119
|
+
CallbackResumeManager,
|
|
120
|
+
CapabilityTokenManager,
|
|
97
121
|
CollaborationEventManager,
|
|
98
122
|
CollaborationProjectionOutboxManager,
|
|
99
123
|
ContactManager,
|
|
124
|
+
ExternalEscalationManager,
|
|
125
|
+
HumanDeliveryBindingManager as ExternalTargetBindingManager,
|
|
100
126
|
HUMAN_DELIVERY_CHANNELS,
|
|
101
127
|
HistoryManager,
|
|
102
128
|
HttpTransport,
|
|
103
129
|
HumanDeliveryBindingManager,
|
|
104
130
|
LocalStore,
|
|
105
131
|
NotificationIntentManager,
|
|
132
|
+
OpenClawExecutionAdapter,
|
|
133
|
+
OpenClawHooksClient,
|
|
106
134
|
OperatorSeenStateManager,
|
|
107
135
|
PingAgentClient,
|
|
136
|
+
RuntimeRunManager,
|
|
108
137
|
SESSION_SUMMARY_FIELDS,
|
|
109
138
|
SessionManager,
|
|
110
139
|
SessionSummaryManager,
|
|
@@ -114,8 +143,16 @@ export {
|
|
|
114
143
|
TrustRecommendationManager,
|
|
115
144
|
UserWakeSubscription,
|
|
116
145
|
WsSubscription,
|
|
146
|
+
actionDeadlineStatus,
|
|
147
|
+
actionRiskRank,
|
|
148
|
+
buildActionContract,
|
|
149
|
+
buildActionContractForDecisionView,
|
|
150
|
+
buildActionContractForNotificationIntent,
|
|
151
|
+
buildActionInboxSummary,
|
|
152
|
+
buildCallbackResumeRequest,
|
|
117
153
|
buildDecisionReminderOutboxMessage,
|
|
118
154
|
buildDeliveryTimeline,
|
|
155
|
+
buildExternalEscalationRequest,
|
|
119
156
|
buildHumanDeliveryBindingCandidate,
|
|
120
157
|
buildHumanDeliveryPayload,
|
|
121
158
|
buildNotificationIntentInputFromProjectionOutbox,
|
|
@@ -129,8 +166,10 @@ export {
|
|
|
129
166
|
decideTaskPolicy,
|
|
130
167
|
decryptPayloadForIdentity,
|
|
131
168
|
defaultTrustPolicyDoc,
|
|
169
|
+
deriveOpenClawAgentState,
|
|
132
170
|
deriveOwnerRefFromOpenClawSessionEntry,
|
|
133
171
|
deriveTransportHealth,
|
|
172
|
+
describeOpenClawAgentState,
|
|
134
173
|
describeProjectionPreset,
|
|
135
174
|
encryptPayloadForRecipients,
|
|
136
175
|
ensureIdentityEncryptionKeys,
|
|
@@ -147,6 +186,7 @@ export {
|
|
|
147
186
|
getProjectedEventTypes,
|
|
148
187
|
getProjectionDisposition,
|
|
149
188
|
getRootDir,
|
|
189
|
+
getRuntimeAdapterDescriptor,
|
|
150
190
|
getSessionBindingAlertsFilePath,
|
|
151
191
|
getSessionMapFilePath,
|
|
152
192
|
getStorePath,
|
|
@@ -158,8 +198,10 @@ export {
|
|
|
158
198
|
listOpenClawSessionEntries,
|
|
159
199
|
listPendingDecisionViews,
|
|
160
200
|
listRecentBindingsForSession,
|
|
201
|
+
listRuntimeAdapterDescriptors,
|
|
161
202
|
loadIdentity,
|
|
162
203
|
matchesTrustPolicyRule,
|
|
204
|
+
nextActionForOpenClawAgentState,
|
|
163
205
|
normalizeCapabilityCard,
|
|
164
206
|
normalizeTransportMode,
|
|
165
207
|
normalizeTrustPolicyDoc,
|
|
@@ -179,6 +221,8 @@ export {
|
|
|
179
221
|
summarizeSinceLastSeen,
|
|
180
222
|
summarizeTrustPolicyAudit,
|
|
181
223
|
switchTransportPreference,
|
|
224
|
+
synthesizeOpenClawRunId,
|
|
225
|
+
synthesizeOpenClawWorkflowId,
|
|
182
226
|
updateStoredToken,
|
|
183
227
|
upsertSessionBindingAlert,
|
|
184
228
|
upsertTrustPolicyRecommendation,
|