@kya-os/checkpoint-shared 1.5.1 → 1.6.0
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/CHANGELOG.md +217 -0
- package/dist/beacon-nonce/index.d.mts +36 -0
- package/dist/beacon-nonce/index.d.mts.map +1 -0
- package/dist/beacon-nonce/index.d.ts +36 -0
- package/dist/beacon-nonce/index.d.ts.map +1 -0
- package/dist/beacon-nonce/index.js +305 -0
- package/dist/beacon-nonce/index.mjs +294 -0
- package/dist/beacon-nonce/index.mjs.map +1 -0
- package/dist/beacon-types/index.d.mts +40 -0
- package/dist/beacon-types/index.d.mts.map +1 -1
- package/dist/beacon-types/index.d.ts +40 -0
- package/dist/beacon-types/index.d.ts.map +1 -1
- package/dist/beacon-types/index.js +53 -5
- package/dist/beacon-types/index.mjs +49 -6
- package/dist/beacon-types/index.mjs.map +1 -1
- package/dist/browser-posture-BuChqmH5.d.mts +169 -0
- package/dist/browser-posture-BuChqmH5.d.mts.map +1 -0
- package/dist/browser-posture-DIaVLuW3.d.ts +169 -0
- package/dist/browser-posture-DIaVLuW3.d.ts.map +1 -0
- package/dist/browser-posture-cookie.d.mts +4 -2
- package/dist/browser-posture-cookie.d.mts.map +1 -0
- package/dist/browser-posture-cookie.d.ts +4 -2
- package/dist/browser-posture-cookie.d.ts.map +1 -0
- package/dist/browser-posture-cookie.mjs.map +1 -1
- package/dist/browser-posture-proof.d.mts +18 -0
- package/dist/browser-posture-proof.d.mts.map +1 -0
- package/dist/browser-posture-proof.d.ts +18 -0
- package/dist/browser-posture-proof.d.ts.map +1 -0
- package/dist/browser-posture-proof.js +66 -0
- package/dist/browser-posture-proof.mjs +63 -0
- package/dist/browser-posture-proof.mjs.map +1 -0
- package/dist/browser-posture-report.d.mts +59 -2
- package/dist/browser-posture-report.d.mts.map +1 -1
- package/dist/browser-posture-report.d.ts +59 -2
- package/dist/browser-posture-report.d.ts.map +1 -1
- package/dist/browser-posture-report.js +1 -1
- package/dist/browser-posture-report.mjs +1 -1
- package/dist/browser-posture-report.mjs.map +1 -1
- package/dist/browser-posture.d.mts +2 -85
- package/dist/browser-posture.d.ts +2 -85
- package/dist/browser-posture.js +207 -45
- package/dist/browser-posture.mjs +195 -45
- package/dist/browser-posture.mjs.map +1 -1
- package/dist/browser.d.mts +0 -8
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.d.ts +0 -8
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/browser.mjs.map +1 -1
- package/dist/clearance.d.mts +1 -1
- package/dist/clearance.d.ts +1 -1
- package/dist/clearance.js +2 -2
- package/dist/clearance.mjs +2 -2
- package/dist/{client-ip-HOfe6ucV.mjs → client-ip-B2Xeo-GK.mjs} +2 -2
- package/dist/{client-ip-HOfe6ucV.mjs.map → client-ip-B2Xeo-GK.mjs.map} +1 -1
- package/dist/{client-ip-1y2iXAYW.js → client-ip-CW6pRyLf.js} +1 -1
- package/dist/consent-handoff.d.mts +41 -0
- package/dist/consent-handoff.d.mts.map +1 -0
- package/dist/consent-handoff.d.ts +41 -0
- package/dist/consent-handoff.d.ts.map +1 -0
- package/dist/consent-handoff.js +1 -0
- package/dist/consent-handoff.mjs +2 -0
- package/dist/consent-handoff.mjs.map +1 -0
- package/dist/errors/index.d.mts +155 -0
- package/dist/errors/index.d.mts.map +1 -1
- package/dist/errors/index.d.ts +155 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +513 -9
- package/dist/errors/index.mjs +513 -10
- package/dist/errors/index.mjs.map +1 -1
- package/dist/{external-jr_S4iSS.d.ts → external-B7WI9FyQ.d.mts} +2 -2
- package/dist/{external-jr_S4iSS.d.mts.map → external-B7WI9FyQ.d.mts.map} +1 -1
- package/dist/{external-jr_S4iSS.d.mts → external-B7WI9FyQ.d.ts} +2 -2
- package/dist/{external-jr_S4iSS.d.ts.map → external-B7WI9FyQ.d.ts.map} +1 -1
- package/dist/gateway-client-ip.d.mts +1 -1
- package/dist/gateway-client-ip.d.ts +1 -1
- package/dist/gateway-client-ip.js +2 -2
- package/dist/gateway-client-ip.mjs +2 -2
- package/dist/index.d.mts +6375 -1532
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +6375 -1532
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5629 -697
- package/dist/index.mjs +5341 -683
- package/dist/index.mjs.map +1 -1
- package/dist/mcpi/approval-grant/index.d.mts +1 -1
- package/dist/mcpi/approval-grant/index.d.mts.map +1 -1
- package/dist/mcpi/approval-grant/index.d.ts +1 -1
- package/dist/mcpi/approval-grant/index.d.ts.map +1 -1
- package/dist/mcpi/approval-grant/index.js +58 -49
- package/dist/mcpi/approval-grant/index.mjs +58 -49
- package/dist/mcpi/approval-grant/index.mjs.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.mts +3 -2
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.ts +3 -2
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
- package/dist/posture-origins/index.d.mts +41 -0
- package/dist/posture-origins/index.d.mts.map +1 -0
- package/dist/posture-origins/index.d.ts +41 -0
- package/dist/posture-origins/index.d.ts.map +1 -0
- package/dist/posture-origins/index.js +441 -0
- package/dist/posture-origins/index.mjs +430 -0
- package/dist/posture-origins/index.mjs.map +1 -0
- package/dist/posture-origins-LFkX80oF.js +627 -0
- package/dist/posture-origins-Pn-ii-Pp.mjs +533 -0
- package/dist/posture-origins-Pn-ii-Pp.mjs.map +1 -0
- package/dist/{project-verification-key-CgSVX9_m.mjs → project-verification-key-66N4edKn.mjs} +2 -2
- package/dist/{project-verification-key-CgSVX9_m.mjs.map → project-verification-key-66N4edKn.mjs.map} +1 -1
- package/dist/{project-verification-key-C3L5rd8a.js → project-verification-key-BccT12tQ.js} +1 -1
- package/dist/rules.json +0 -1
- package/dist/{schemas-DxY-dk9y.mjs → schemas-7qodsG-Z.mjs} +49 -2
- package/dist/schemas-7qodsG-Z.mjs.map +1 -0
- package/dist/{schemas-BmjNLAE7.js → schemas-YhagYDx_.js} +59 -0
- package/dist/signals/index.d.mts +75 -55
- package/dist/signals/index.d.mts.map +1 -1
- package/dist/signals/index.d.ts +75 -55
- package/dist/signals/index.d.ts.map +1 -1
- package/dist/signals/index.js +246 -2
- package/dist/signals/index.mjs +236 -3
- package/dist/signals/index.mjs.map +1 -1
- package/fixtures/browser-integrity/captured-java-0.2.1-missing-score.json +10 -0
- package/fixtures/browser-integrity/null-score.json +11 -0
- package/fixtures/browser-integrity/numeric-score.json +11 -0
- package/fixtures/browser-posture-claims.json +168 -0
- package/fixtures/browser-posture-headers.json +6 -0
- package/fixtures/cli-registration.v2.json +115 -0
- package/fixtures/detection/reason-codes.json +1 -1
- package/fixtures/kya-http/README.md +34 -25
- package/fixtures/kya-http/consent-handoff.codes.json +34 -0
- package/fixtures/kya-http/protected-resource-metadata.full.json +14 -5
- package/fixtures/kya-http/protected-resource-metadata.invalid-issuer.json +51 -0
- package/fixtures/kya-http/protected-resource-metadata.no-issuer.json +32 -0
- package/fixtures/reviewer-grant-revocation.v1.json +285 -0
- package/fixtures/workbench/a2a-signed-request.v1.json +255 -0
- package/fixtures/workbench/artifact-bindings.v1.json +1003 -0
- package/fixtures/workbench/delegation-management.v1.json +507 -0
- package/fixtures/workbench/didcomm-task-source.v1.json +191 -0
- package/fixtures/workbench/graph-interfaces.v1.json +1887 -0
- package/fixtures/workbench/identity-provisioning.v1.json +643 -0
- package/fixtures/workbench/linear-installation.v1.json +484 -0
- package/fixtures/workbench/management-session.v1.json +716 -0
- package/fixtures/workbench/model-credentials.v1.json +630 -0
- package/fixtures/workbench/source-claim-pooled.v1.json +50 -0
- package/fixtures/workbench/task-grant.v1.json +695 -0
- package/fixtures/workbench/task-status-projection.v1.json +591 -0
- package/fixtures/workbench/workload-enrollment.v1.json +580 -0
- package/package.json +24 -5
- package/src/data/compiled/merged-rules.json +2 -9
- package/src/data/default-rules.json +0 -1
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts +0 -5
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts.map +0 -1
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts +0 -5
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts.map +0 -1
- package/dist/browser-posture.d.mts.map +0 -1
- package/dist/browser-posture.d.ts.map +0 -1
- package/dist/patterns-CkRVOdtV.js +0 -243
- package/dist/patterns-DzkGy_qk.mjs +0 -173
- package/dist/patterns-DzkGy_qk.mjs.map +0 -1
- package/dist/schemas-DxY-dk9y.mjs.map +0 -1
- package/fixtures/kya-http/protected-resource-metadata.global.json +0 -28
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "list item, capped and active",
|
|
4
|
+
"schema": "DelegationManagementItem",
|
|
5
|
+
"valid": true,
|
|
6
|
+
"value": {
|
|
7
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
8
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
9
|
+
"agentName": "Claude Desktop",
|
|
10
|
+
"userDid": "did:web:kya.vouched.id:users:alice",
|
|
11
|
+
"userIdentifier": "alice@example.com",
|
|
12
|
+
"scopes": ["tool:execute", "files:read"],
|
|
13
|
+
"constraints": {
|
|
14
|
+
"notBefore": "2026-09-01T00:00:00.000Z",
|
|
15
|
+
"notAfter": "2026-12-01T00:00:00.000Z",
|
|
16
|
+
"maxCalls": 7
|
|
17
|
+
},
|
|
18
|
+
"status": "active",
|
|
19
|
+
"effectiveStatus": "active",
|
|
20
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
21
|
+
"expiresAt": "2026-12-01T00:00:00.000Z",
|
|
22
|
+
"revokedAt": null,
|
|
23
|
+
"revocationReason": null,
|
|
24
|
+
"usageCount": 3,
|
|
25
|
+
"remainingCalls": 4,
|
|
26
|
+
"lastUsedAt": "2026-09-22T10:00:00.000Z"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "list item, uncapped, so its uses are not counted",
|
|
31
|
+
"schema": "DelegationManagementItem",
|
|
32
|
+
"valid": true,
|
|
33
|
+
"value": {
|
|
34
|
+
"delegationId": "11111111-1111-4111-8111-111111111112",
|
|
35
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
36
|
+
"agentName": null,
|
|
37
|
+
"userDid": null,
|
|
38
|
+
"userIdentifier": null,
|
|
39
|
+
"scopes": [],
|
|
40
|
+
"constraints": {
|
|
41
|
+
"notBefore": null,
|
|
42
|
+
"notAfter": null,
|
|
43
|
+
"maxCalls": null
|
|
44
|
+
},
|
|
45
|
+
"status": "active",
|
|
46
|
+
"effectiveStatus": "expired",
|
|
47
|
+
"issuedAt": "2026-01-01T00:00:00.000Z",
|
|
48
|
+
"expiresAt": "2026-02-01T00:00:00.000Z",
|
|
49
|
+
"revokedAt": null,
|
|
50
|
+
"revocationReason": null,
|
|
51
|
+
"usageCount": null,
|
|
52
|
+
"remainingCalls": null,
|
|
53
|
+
"lastUsedAt": null
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "list item refuses an unknown effective status",
|
|
58
|
+
"schema": "DelegationManagementItem",
|
|
59
|
+
"valid": false,
|
|
60
|
+
"value": {
|
|
61
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
62
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
63
|
+
"agentName": null,
|
|
64
|
+
"userDid": null,
|
|
65
|
+
"userIdentifier": null,
|
|
66
|
+
"scopes": [],
|
|
67
|
+
"constraints": {
|
|
68
|
+
"notBefore": null,
|
|
69
|
+
"notAfter": null,
|
|
70
|
+
"maxCalls": null
|
|
71
|
+
},
|
|
72
|
+
"status": "active",
|
|
73
|
+
"effectiveStatus": "suspended",
|
|
74
|
+
"issuedAt": "2026-01-01T00:00:00.000Z",
|
|
75
|
+
"expiresAt": null,
|
|
76
|
+
"revokedAt": null,
|
|
77
|
+
"revocationReason": null,
|
|
78
|
+
"usageCount": null,
|
|
79
|
+
"remainingCalls": null,
|
|
80
|
+
"lastUsedAt": null
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "list item refuses a negative remaining counter",
|
|
85
|
+
"schema": "DelegationManagementItem",
|
|
86
|
+
"valid": false,
|
|
87
|
+
"value": {
|
|
88
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
89
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
90
|
+
"agentName": null,
|
|
91
|
+
"userDid": null,
|
|
92
|
+
"userIdentifier": null,
|
|
93
|
+
"scopes": [],
|
|
94
|
+
"constraints": {
|
|
95
|
+
"notBefore": null,
|
|
96
|
+
"notAfter": null,
|
|
97
|
+
"maxCalls": 2
|
|
98
|
+
},
|
|
99
|
+
"status": "active",
|
|
100
|
+
"effectiveStatus": "active",
|
|
101
|
+
"issuedAt": "2026-01-01T00:00:00.000Z",
|
|
102
|
+
"expiresAt": null,
|
|
103
|
+
"revokedAt": null,
|
|
104
|
+
"revocationReason": null,
|
|
105
|
+
"usageCount": 3,
|
|
106
|
+
"remainingCalls": -1,
|
|
107
|
+
"lastUsedAt": null
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "list item never carries the bearer credential",
|
|
112
|
+
"schema": "DelegationManagementItem",
|
|
113
|
+
"valid": false,
|
|
114
|
+
"value": {
|
|
115
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
116
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
117
|
+
"agentName": null,
|
|
118
|
+
"userDid": null,
|
|
119
|
+
"userIdentifier": null,
|
|
120
|
+
"scopes": [],
|
|
121
|
+
"constraints": {
|
|
122
|
+
"notBefore": null,
|
|
123
|
+
"notAfter": null,
|
|
124
|
+
"maxCalls": null
|
|
125
|
+
},
|
|
126
|
+
"status": "active",
|
|
127
|
+
"effectiveStatus": "active",
|
|
128
|
+
"issuedAt": "2026-01-01T00:00:00.000Z",
|
|
129
|
+
"expiresAt": null,
|
|
130
|
+
"revokedAt": null,
|
|
131
|
+
"revocationReason": null,
|
|
132
|
+
"usageCount": null,
|
|
133
|
+
"remainingCalls": null,
|
|
134
|
+
"lastUsedAt": null,
|
|
135
|
+
"credentialJwt": "eyJhbGciOiJFZERTQSJ9.e30.sig"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "list item shows a stored unreadable character as U+FFFD",
|
|
140
|
+
"schema": "DelegationManagementItem",
|
|
141
|
+
"valid": true,
|
|
142
|
+
"value": {
|
|
143
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
144
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
145
|
+
"agentName": null,
|
|
146
|
+
"userDid": "did:web:kya.vouched.id:users:alice",
|
|
147
|
+
"userIdentifier": null,
|
|
148
|
+
"scopes": ["tool:execute"],
|
|
149
|
+
"constraints": {
|
|
150
|
+
"notBefore": null,
|
|
151
|
+
"notAfter": null,
|
|
152
|
+
"maxCalls": 7
|
|
153
|
+
},
|
|
154
|
+
"status": "revoked",
|
|
155
|
+
"effectiveStatus": "revoked",
|
|
156
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
157
|
+
"expiresAt": null,
|
|
158
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
159
|
+
"revocationReason": "Laptop \ufffdlost",
|
|
160
|
+
"usageCount": 7,
|
|
161
|
+
"remainingCalls": 0,
|
|
162
|
+
"lastUsedAt": "2026-09-23T11:59:00.000Z"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "list item refuses a revocation reason with a bidirectional override",
|
|
167
|
+
"schema": "DelegationManagementItem",
|
|
168
|
+
"valid": false,
|
|
169
|
+
"value": {
|
|
170
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
171
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
172
|
+
"agentName": null,
|
|
173
|
+
"userDid": "did:web:kya.vouched.id:users:alice",
|
|
174
|
+
"userIdentifier": null,
|
|
175
|
+
"scopes": ["tool:execute"],
|
|
176
|
+
"constraints": {
|
|
177
|
+
"notBefore": null,
|
|
178
|
+
"notAfter": null,
|
|
179
|
+
"maxCalls": 7
|
|
180
|
+
},
|
|
181
|
+
"status": "revoked",
|
|
182
|
+
"effectiveStatus": "revoked",
|
|
183
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
184
|
+
"expiresAt": null,
|
|
185
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
186
|
+
"revocationReason": "Laptop \u202elost",
|
|
187
|
+
"usageCount": 7,
|
|
188
|
+
"remainingCalls": 0,
|
|
189
|
+
"lastUsedAt": "2026-09-23T11:59:00.000Z"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "list response, last page",
|
|
194
|
+
"schema": "DelegationManagementList",
|
|
195
|
+
"valid": true,
|
|
196
|
+
"value": {
|
|
197
|
+
"delegations": [],
|
|
198
|
+
"nextCursor": null,
|
|
199
|
+
"evaluatedAt": "2026-09-23T12:00:00.000Z"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "list response with a cursor",
|
|
204
|
+
"schema": "DelegationManagementList",
|
|
205
|
+
"valid": true,
|
|
206
|
+
"value": {
|
|
207
|
+
"delegations": [],
|
|
208
|
+
"nextCursor": "MjAyNi0wOS0yM1QxMjowMDowMC4xMjM0NTZ8MTExMTExMTEtMTExMS00MTExLTgxMTEtMTExMTExMTExMTEx",
|
|
209
|
+
"evaluatedAt": "2026-09-23T12:00:00.000Z"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "list response refuses an empty cursor",
|
|
214
|
+
"schema": "DelegationManagementList",
|
|
215
|
+
"valid": false,
|
|
216
|
+
"value": {
|
|
217
|
+
"delegations": [],
|
|
218
|
+
"nextCursor": "",
|
|
219
|
+
"evaluatedAt": "2026-09-23T12:00:00.000Z"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "detail, created before the ledger, revoked",
|
|
224
|
+
"schema": "DelegationManagementDetail",
|
|
225
|
+
"valid": true,
|
|
226
|
+
"value": {
|
|
227
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
228
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
229
|
+
"agentName": null,
|
|
230
|
+
"userDid": "did:web:kya.vouched.id:users:alice",
|
|
231
|
+
"userIdentifier": null,
|
|
232
|
+
"scopes": ["tool:execute"],
|
|
233
|
+
"constraints": {
|
|
234
|
+
"notBefore": null,
|
|
235
|
+
"notAfter": null,
|
|
236
|
+
"maxCalls": 7
|
|
237
|
+
},
|
|
238
|
+
"status": "revoked",
|
|
239
|
+
"effectiveStatus": "revoked",
|
|
240
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
241
|
+
"expiresAt": null,
|
|
242
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
243
|
+
"revocationReason": "Laptop lost",
|
|
244
|
+
"usageCount": 7,
|
|
245
|
+
"remainingCalls": 0,
|
|
246
|
+
"lastUsedAt": "2026-09-23T11:59:00.000Z",
|
|
247
|
+
"audit": [
|
|
248
|
+
{
|
|
249
|
+
"source": "bouncer_proofs",
|
|
250
|
+
"count": 12,
|
|
251
|
+
"latestAt": "2026-09-23T11:59:00.000Z"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"source": "gateway_tool_calls",
|
|
255
|
+
"count": 0,
|
|
256
|
+
"latestAt": null
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"source": "usage_events",
|
|
260
|
+
"count": 7,
|
|
261
|
+
"latestAt": "2026-09-23T11:59:00.000Z"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"exposure": {
|
|
265
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
266
|
+
"historical": "unknown",
|
|
267
|
+
"recorded": [
|
|
268
|
+
{
|
|
269
|
+
"channel": "verify_response",
|
|
270
|
+
"firstExportedAt": "2026-09-21T00:00:00.000Z",
|
|
271
|
+
"lastExportedAt": "2026-09-23T11:59:00.000Z",
|
|
272
|
+
"exportCount": 5
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"retractedByRevocation": false
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "detail refuses a revocation that claims to retract exports",
|
|
281
|
+
"schema": "DelegationManagementDetail",
|
|
282
|
+
"valid": false,
|
|
283
|
+
"value": {
|
|
284
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
285
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
286
|
+
"agentName": null,
|
|
287
|
+
"userDid": null,
|
|
288
|
+
"userIdentifier": null,
|
|
289
|
+
"scopes": [],
|
|
290
|
+
"constraints": {
|
|
291
|
+
"notBefore": null,
|
|
292
|
+
"notAfter": null,
|
|
293
|
+
"maxCalls": null
|
|
294
|
+
},
|
|
295
|
+
"status": "revoked",
|
|
296
|
+
"effectiveStatus": "revoked",
|
|
297
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
298
|
+
"expiresAt": null,
|
|
299
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
300
|
+
"revocationReason": null,
|
|
301
|
+
"usageCount": null,
|
|
302
|
+
"remainingCalls": null,
|
|
303
|
+
"lastUsedAt": null,
|
|
304
|
+
"audit": [],
|
|
305
|
+
"exposure": {
|
|
306
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
307
|
+
"historical": "none",
|
|
308
|
+
"recorded": [],
|
|
309
|
+
"retractedByRevocation": true
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "detail refuses an unknown export channel",
|
|
315
|
+
"schema": "DelegationManagementDetail",
|
|
316
|
+
"valid": false,
|
|
317
|
+
"value": {
|
|
318
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
319
|
+
"agentDid": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
|
|
320
|
+
"agentName": null,
|
|
321
|
+
"userDid": null,
|
|
322
|
+
"userIdentifier": null,
|
|
323
|
+
"scopes": [],
|
|
324
|
+
"constraints": {
|
|
325
|
+
"notBefore": null,
|
|
326
|
+
"notAfter": null,
|
|
327
|
+
"maxCalls": null
|
|
328
|
+
},
|
|
329
|
+
"status": "active",
|
|
330
|
+
"effectiveStatus": "active",
|
|
331
|
+
"issuedAt": "2026-09-01T00:00:00.000Z",
|
|
332
|
+
"expiresAt": null,
|
|
333
|
+
"revokedAt": null,
|
|
334
|
+
"revocationReason": null,
|
|
335
|
+
"usageCount": null,
|
|
336
|
+
"remainingCalls": null,
|
|
337
|
+
"lastUsedAt": null,
|
|
338
|
+
"audit": [],
|
|
339
|
+
"exposure": {
|
|
340
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
341
|
+
"historical": "none",
|
|
342
|
+
"recorded": [
|
|
343
|
+
{
|
|
344
|
+
"channel": "email",
|
|
345
|
+
"firstExportedAt": "2026-09-21T00:00:00.000Z",
|
|
346
|
+
"lastExportedAt": "2026-09-21T00:00:00.000Z",
|
|
347
|
+
"exportCount": 1
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"retractedByRevocation": false
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "revoke request with a reason",
|
|
356
|
+
"schema": "DelegationRevokeRequest",
|
|
357
|
+
"valid": true,
|
|
358
|
+
"value": {
|
|
359
|
+
"reason": "Laptop lost"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "revoke request refuses a blank reason",
|
|
364
|
+
"schema": "DelegationRevokeRequest",
|
|
365
|
+
"valid": false,
|
|
366
|
+
"value": {
|
|
367
|
+
"reason": " "
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "revoke request refuses a reason over 500 characters",
|
|
372
|
+
"schema": "DelegationRevokeRequest",
|
|
373
|
+
"valid": false,
|
|
374
|
+
"value": {
|
|
375
|
+
"reason": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "revoke request refuses extra fields",
|
|
380
|
+
"schema": "DelegationRevokeRequest",
|
|
381
|
+
"valid": false,
|
|
382
|
+
"value": {
|
|
383
|
+
"reason": "Laptop lost",
|
|
384
|
+
"notify": true
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "revoke request keeps a reason in any language",
|
|
389
|
+
"schema": "DelegationRevokeRequest",
|
|
390
|
+
"valid": true,
|
|
391
|
+
"value": {
|
|
392
|
+
"reason": "\u0641\u0642\u062f\u0627\u0646 \u0627\u0644\u062d\u0627\u0633\u0648\u0628"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "revoke request refuses a line break inside the reason",
|
|
397
|
+
"schema": "DelegationRevokeRequest",
|
|
398
|
+
"valid": false,
|
|
399
|
+
"value": {
|
|
400
|
+
"reason": "Laptop\nlost"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "revoke request refuses a terminal escape in the reason",
|
|
405
|
+
"schema": "DelegationRevokeRequest",
|
|
406
|
+
"valid": false,
|
|
407
|
+
"value": {
|
|
408
|
+
"reason": "Laptop \u001b]8;;https://example.test\u0007lost\u001b]8;;\u0007"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "revoke request refuses a bidirectional override in the reason",
|
|
413
|
+
"schema": "DelegationRevokeRequest",
|
|
414
|
+
"valid": false,
|
|
415
|
+
"value": {
|
|
416
|
+
"reason": "Laptop \u202elost"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "revoke response, first revocation of a capped delegation",
|
|
421
|
+
"schema": "DelegationRevokeResponse",
|
|
422
|
+
"valid": true,
|
|
423
|
+
"value": {
|
|
424
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
425
|
+
"status": "revoked",
|
|
426
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
427
|
+
"wasAlreadyRevoked": false,
|
|
428
|
+
"inFlight": {
|
|
429
|
+
"admittedUses": 3,
|
|
430
|
+
"lastUsedAt": "2026-09-23T11:59:00.000Z"
|
|
431
|
+
},
|
|
432
|
+
"exposure": {
|
|
433
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
434
|
+
"historical": "none",
|
|
435
|
+
"recorded": [],
|
|
436
|
+
"retractedByRevocation": false
|
|
437
|
+
},
|
|
438
|
+
"enforcement": "checkpoint_verification"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "revoke response, already revoked and uncapped",
|
|
443
|
+
"schema": "DelegationRevokeResponse",
|
|
444
|
+
"valid": true,
|
|
445
|
+
"value": {
|
|
446
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
447
|
+
"status": "revoked",
|
|
448
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
449
|
+
"wasAlreadyRevoked": true,
|
|
450
|
+
"inFlight": {
|
|
451
|
+
"admittedUses": null,
|
|
452
|
+
"lastUsedAt": null
|
|
453
|
+
},
|
|
454
|
+
"exposure": {
|
|
455
|
+
"ledgerStartedAt": null,
|
|
456
|
+
"historical": "unknown",
|
|
457
|
+
"recorded": [],
|
|
458
|
+
"retractedByRevocation": false
|
|
459
|
+
},
|
|
460
|
+
"enforcement": "checkpoint_verification"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "revoke response refuses push notification as the gate",
|
|
465
|
+
"schema": "DelegationRevokeResponse",
|
|
466
|
+
"valid": false,
|
|
467
|
+
"value": {
|
|
468
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
469
|
+
"status": "revoked",
|
|
470
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
471
|
+
"wasAlreadyRevoked": false,
|
|
472
|
+
"inFlight": {
|
|
473
|
+
"admittedUses": 0,
|
|
474
|
+
"lastUsedAt": null
|
|
475
|
+
},
|
|
476
|
+
"exposure": {
|
|
477
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
478
|
+
"historical": "none",
|
|
479
|
+
"recorded": [],
|
|
480
|
+
"retractedByRevocation": false
|
|
481
|
+
},
|
|
482
|
+
"enforcement": "push_notification"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "revoke response refuses a non-revoked status",
|
|
487
|
+
"schema": "DelegationRevokeResponse",
|
|
488
|
+
"valid": false,
|
|
489
|
+
"value": {
|
|
490
|
+
"delegationId": "11111111-1111-4111-8111-111111111111",
|
|
491
|
+
"status": "active",
|
|
492
|
+
"revokedAt": "2026-09-23T12:00:00.000Z",
|
|
493
|
+
"wasAlreadyRevoked": false,
|
|
494
|
+
"inFlight": {
|
|
495
|
+
"admittedUses": 0,
|
|
496
|
+
"lastUsedAt": null
|
|
497
|
+
},
|
|
498
|
+
"exposure": {
|
|
499
|
+
"ledgerStartedAt": "2026-09-20T00:00:00.000Z",
|
|
500
|
+
"historical": "none",
|
|
501
|
+
"recorded": [],
|
|
502
|
+
"retractedByRevocation": false
|
|
503
|
+
},
|
|
504
|
+
"enforcement": "checkpoint_verification"
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
]
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "assign whose context is its source binding",
|
|
4
|
+
"schema": "DidCommTaskSourceMessage",
|
|
5
|
+
"valid": true,
|
|
6
|
+
"value": {
|
|
7
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
8
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
9
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
10
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
11
|
+
"created_time": 1893456000,
|
|
12
|
+
"expires_time": 1893456300,
|
|
13
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
14
|
+
"body": {
|
|
15
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
16
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
17
|
+
"context": {
|
|
18
|
+
"kyaTaskSource": {
|
|
19
|
+
"schema": "kya.task.source-binding.v1",
|
|
20
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
21
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
22
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
23
|
+
"ownerEpoch": 7
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "assign whose context is its source binding and a repository",
|
|
31
|
+
"schema": "DidCommTaskSourceMessage",
|
|
32
|
+
"valid": true,
|
|
33
|
+
"value": {
|
|
34
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
35
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
36
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
37
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
38
|
+
"created_time": 1893456000,
|
|
39
|
+
"expires_time": 1893456300,
|
|
40
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
41
|
+
"body": {
|
|
42
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
43
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
44
|
+
"context": {
|
|
45
|
+
"kyaTaskSource": {
|
|
46
|
+
"schema": "kya.task.source-binding.v1",
|
|
47
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
48
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
49
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
50
|
+
"ownerEpoch": 7
|
|
51
|
+
},
|
|
52
|
+
"repo": "owner/repository"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "assign refuses a context member beyond the binding and repository",
|
|
59
|
+
"schema": "DidCommTaskSourceMessage",
|
|
60
|
+
"valid": false,
|
|
61
|
+
"value": {
|
|
62
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
63
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
64
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
65
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
66
|
+
"created_time": 1893456000,
|
|
67
|
+
"expires_time": 1893456300,
|
|
68
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
69
|
+
"body": {
|
|
70
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
71
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
72
|
+
"context": {
|
|
73
|
+
"kyaTaskSource": {
|
|
74
|
+
"schema": "kya.task.source-binding.v1",
|
|
75
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
76
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
77
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
78
|
+
"ownerEpoch": 7
|
|
79
|
+
},
|
|
80
|
+
"note": "run this too"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "assign refuses an extra member even beside a repository",
|
|
87
|
+
"schema": "DidCommTaskSourceMessage",
|
|
88
|
+
"valid": false,
|
|
89
|
+
"value": {
|
|
90
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
91
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
92
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
93
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
94
|
+
"created_time": 1893456000,
|
|
95
|
+
"expires_time": 1893456300,
|
|
96
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
97
|
+
"body": {
|
|
98
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
99
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
100
|
+
"context": {
|
|
101
|
+
"kyaTaskSource": {
|
|
102
|
+
"schema": "kya.task.source-binding.v1",
|
|
103
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
104
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
105
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
106
|
+
"ownerEpoch": 7
|
|
107
|
+
},
|
|
108
|
+
"repo": "owner/repository",
|
|
109
|
+
"instructions": "x"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "steer refuses a context member beyond the binding and repository",
|
|
116
|
+
"schema": "DidCommTaskSourceMessage",
|
|
117
|
+
"valid": false,
|
|
118
|
+
"value": {
|
|
119
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
120
|
+
"type": "https://kya-os.ai/didcomm/task/steer",
|
|
121
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
122
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
123
|
+
"created_time": 1893456000,
|
|
124
|
+
"expires_time": 1893456300,
|
|
125
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
126
|
+
"body": {
|
|
127
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
128
|
+
"context": {
|
|
129
|
+
"kyaTaskSource": {
|
|
130
|
+
"schema": "kya.task.source-binding.v1",
|
|
131
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
132
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
133
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
134
|
+
"ownerEpoch": 7
|
|
135
|
+
},
|
|
136
|
+
"note": "run this too"
|
|
137
|
+
},
|
|
138
|
+
"instruction": "Also cover the empty input."
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "assign refuses a context without its source binding",
|
|
144
|
+
"schema": "DidCommTaskSourceMessage",
|
|
145
|
+
"valid": false,
|
|
146
|
+
"value": {
|
|
147
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
148
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
149
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
150
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
151
|
+
"created_time": 1893456000,
|
|
152
|
+
"expires_time": 1893456300,
|
|
153
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
154
|
+
"body": {
|
|
155
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
156
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
157
|
+
"context": {
|
|
158
|
+
"repo": "owner/repository"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "assign refuses a source binding with an extra member",
|
|
165
|
+
"schema": "DidCommTaskSourceMessage",
|
|
166
|
+
"valid": false,
|
|
167
|
+
"value": {
|
|
168
|
+
"id": "44444444-4444-4444-8444-444444444444",
|
|
169
|
+
"type": "https://kya-os.ai/didcomm/task/assign",
|
|
170
|
+
"from": "did:key:z6MkpSnYgFb8LEnvdrraUgp2GB8uHc53rsgL4FkBnfiaY6pe",
|
|
171
|
+
"to": ["did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"],
|
|
172
|
+
"created_time": 1893456000,
|
|
173
|
+
"expires_time": 1893456300,
|
|
174
|
+
"thid": "55555555-5555-4555-8555-555555555555",
|
|
175
|
+
"body": {
|
|
176
|
+
"taskId": "55555555-5555-4555-8555-555555555555",
|
|
177
|
+
"description": "Inspect the parser and propose an approved repair.",
|
|
178
|
+
"context": {
|
|
179
|
+
"kyaTaskSource": {
|
|
180
|
+
"schema": "kya.task.source-binding.v1",
|
|
181
|
+
"organizationId": "11111111-1111-4111-8111-111111111111",
|
|
182
|
+
"projectId": "22222222-2222-4222-8222-222222222222",
|
|
183
|
+
"installationId": "33333333-3333-4333-8333-333333333333",
|
|
184
|
+
"ownerEpoch": 7,
|
|
185
|
+
"recipientDid": "did:key:z6MkgAnvkP45uNxwCKeNdt6wrYkEjpYX4f7Nrd8MQqFL8Fbn"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|