@datalayer/agent-runtimes 1.5.1 → 1.5.3
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-embed/chunks/{ChatView-Dc1x4aBR.js → ChatView-B3QqHhAP.js} +4 -4
- package/dist-embed/datalayer-app-main.js +3 -3
- package/lib/apps/core/index.d.ts +16 -0
- package/lib/apps/index.d.ts +1 -1
- package/lib/apps/plugins/chat/ChatView.js +13 -1
- package/lib/apps/shell/LoopWorkspace.d.ts +8 -1
- package/lib/apps/shell/LoopWorkspace.js +5 -3
- package/lib/chat/header/ChatHeaderBase.d.ts +3 -1
- package/lib/chat/header/ChatHeaderBase.js +2 -2
- package/lib/chat/header/ChatViewModeToggle.d.ts +7 -1
- package/lib/chat/header/ChatViewModeToggle.js +5 -2
- package/lib/examples/pap/PapTraceView.d.ts +2 -0
- package/lib/examples/pap/PapTraceView.js +3 -1
- package/lib/examples/pap/traces/account-tokens.json +88 -825
- package/lib/examples/pap/traces/conversation-control.json +45 -131
- package/lib/examples/pap/traces/conversation-streaming.json +27 -127
- package/lib/examples/pap/traces/mediated-sign-in.json +22 -122
- package/lib/examples/pap/traces/operations.json +65 -412
- package/lib/examples/pap/traces/two-companies.json +233 -720
- package/lib/examples/pap/traces/user-with-a-company.json +95 -532
- package/lib/protocols/agentProtocols.js +3 -1
- package/lib/protocols/pap/index.d.ts +4 -0
- package/lib/protocols/pap/index.js +41 -0
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"title": "Mediated Sign-In",
|
|
4
4
|
"description": "Ada signs in to Manzanita without leaving Atlas: the host's protected input collects the fields Manzanita declares and sends them to Manzanita's endpoint, once.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
|
+
"sdk": "personal-agent-protocol 0.16.0",
|
|
6
7
|
"parties": [
|
|
7
8
|
{
|
|
8
9
|
"id": "user",
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
},
|
|
97
98
|
"auth": {
|
|
98
99
|
"issuer": "https://manzanita.example",
|
|
100
|
+
"direct": {
|
|
101
|
+
"scopes": ["orders:read", "orders:write"]
|
|
102
|
+
},
|
|
99
103
|
"device": {
|
|
100
104
|
"scopes": ["orders:read", "orders:write"]
|
|
101
105
|
},
|
|
@@ -128,6 +132,21 @@
|
|
|
128
132
|
}
|
|
129
133
|
]
|
|
130
134
|
},
|
|
135
|
+
"apis": [
|
|
136
|
+
{
|
|
137
|
+
"type": "openapi",
|
|
138
|
+
"url": "https://manzanita.example/api/openapi.json",
|
|
139
|
+
"description": "Orders and exchanges"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "mcp",
|
|
143
|
+
"url": "https://manzanita.example/mcp",
|
|
144
|
+
"description": "Orders and exchanges, as MCP tools"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"web": {
|
|
148
|
+
"browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
|
|
149
|
+
},
|
|
131
150
|
"extensions": {
|
|
132
151
|
"operations": {
|
|
133
152
|
"version": "1",
|
|
@@ -159,7 +178,9 @@
|
|
|
159
178
|
"revocation_endpoint": "https://manzanita.example/oauth/revoke",
|
|
160
179
|
"poppy_domains": ["manzanita.example"],
|
|
161
180
|
"dpop_signing_alg_values_supported": ["ES256", "RS256"],
|
|
162
|
-
"device_1": "https://manzanita.example/oauth/device"
|
|
181
|
+
"device_1": "https://manzanita.example/oauth/device",
|
|
182
|
+
"authorization_endpoint": "https://manzanita.example/oauth/authorize",
|
|
183
|
+
"code_challenge_methods_supported": ["S256"]
|
|
163
184
|
}
|
|
164
185
|
}
|
|
165
186
|
},
|
|
@@ -230,127 +251,6 @@
|
|
|
230
251
|
}
|
|
231
252
|
}
|
|
232
253
|
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "http",
|
|
235
|
-
"from": "manzanita",
|
|
236
|
-
"to": "atlas",
|
|
237
|
-
"method": "GET",
|
|
238
|
-
"url": "https://atlas.example/agent.json",
|
|
239
|
-
"status": 200,
|
|
240
|
-
"request": {
|
|
241
|
-
"headers": {
|
|
242
|
-
"accept": "application/json"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"response": {
|
|
246
|
-
"headers": {
|
|
247
|
-
"content-type": "application/json"
|
|
248
|
-
},
|
|
249
|
-
"body": {
|
|
250
|
-
"client_id": "https://atlas.example/agent.json",
|
|
251
|
-
"client_name": "Atlas",
|
|
252
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
253
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
254
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
255
|
-
"extensions": {
|
|
256
|
-
"operations": {
|
|
257
|
-
"version": "1"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"kind": "http",
|
|
265
|
-
"from": "manzanita",
|
|
266
|
-
"to": "atlas",
|
|
267
|
-
"method": "GET",
|
|
268
|
-
"url": "https://atlas.example/jwks.json",
|
|
269
|
-
"status": 200,
|
|
270
|
-
"request": {
|
|
271
|
-
"headers": {
|
|
272
|
-
"accept": "application/json"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"response": {
|
|
276
|
-
"headers": {
|
|
277
|
-
"content-type": "application/json"
|
|
278
|
-
},
|
|
279
|
-
"body": {
|
|
280
|
-
"keys": [
|
|
281
|
-
{
|
|
282
|
-
"kty": "EC",
|
|
283
|
-
"crv": "P-256",
|
|
284
|
-
"x": "‹public key›",
|
|
285
|
-
"y": "‹public key›",
|
|
286
|
-
"kid": "key-1",
|
|
287
|
-
"use": "sig",
|
|
288
|
-
"alg": "ES256"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"kind": "http",
|
|
296
|
-
"from": "manzanita",
|
|
297
|
-
"to": "atlas",
|
|
298
|
-
"method": "GET",
|
|
299
|
-
"url": "https://atlas.example/agent.json",
|
|
300
|
-
"status": 200,
|
|
301
|
-
"request": {
|
|
302
|
-
"headers": {
|
|
303
|
-
"accept": "application/json"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"response": {
|
|
307
|
-
"headers": {
|
|
308
|
-
"content-type": "application/json"
|
|
309
|
-
},
|
|
310
|
-
"body": {
|
|
311
|
-
"client_id": "https://atlas.example/agent.json",
|
|
312
|
-
"client_name": "Atlas",
|
|
313
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
314
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
315
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
316
|
-
"extensions": {
|
|
317
|
-
"operations": {
|
|
318
|
-
"version": "1"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "http",
|
|
326
|
-
"from": "manzanita",
|
|
327
|
-
"to": "atlas",
|
|
328
|
-
"method": "GET",
|
|
329
|
-
"url": "https://atlas.example/agent.json",
|
|
330
|
-
"status": 200,
|
|
331
|
-
"request": {
|
|
332
|
-
"headers": {
|
|
333
|
-
"accept": "application/json"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"response": {
|
|
337
|
-
"headers": {
|
|
338
|
-
"content-type": "application/json"
|
|
339
|
-
},
|
|
340
|
-
"body": {
|
|
341
|
-
"client_id": "https://atlas.example/agent.json",
|
|
342
|
-
"client_name": "Atlas",
|
|
343
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
344
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
345
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
346
|
-
"extensions": {
|
|
347
|
-
"operations": {
|
|
348
|
-
"version": "1"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
254
|
{
|
|
355
255
|
"kind": "http",
|
|
356
256
|
"from": "manzanita",
|