@datalayer/agent-runtimes 1.5.110 → 1.5.114
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/datalayer-app-main.js +5 -5
- package/lib/apps/apps/appspec.js +4 -0
- package/lib/battles/verdict.d.ts +7 -1
- package/lib/battles/verdict.js +8 -2
- package/lib/examples/pap/PapCompanyDiscoveryView.js +2 -2
- package/lib/examples/pap/PapGuidedJourneyView.js +2 -2
- package/lib/examples/pap/PapSessionJwtView.js +1 -1
- package/lib/examples/pap/PapSessionLifecycleView.js +2 -2
- package/lib/examples/pap/traces/conversation-control.json +145 -0
- package/lib/examples/pap/traces/operations.json +177 -117
- package/lib/examples/pap/traces/two-companies.json +1 -1
- package/lib/specs/agents/agents.js +12 -0
- package/lib/specs/apps.js +16 -0
- package/lib/specs/appspecSchema.js +14 -2
- package/lib/specs/envvars.d.ts +1 -0
- package/lib/specs/envvars.js +11 -0
- package/lib/specs/modelProviders.d.ts +1 -0
- package/lib/specs/modelProviders.js +21 -0
- package/lib/specs/models.d.ts +2 -0
- package/lib/specs/models.js +16 -0
- package/lib/types/agentspecs.d.ts +11 -0
- package/lib/types/models.d.ts +7 -0
- package/package.json +2 -2
- package/scripts/codegen/generate_apps.py +2 -0
- package/scripts/codegen/generate_model_providers.py +5 -2
|
@@ -531,18 +531,22 @@
|
|
|
531
531
|
},
|
|
532
532
|
"role": "company",
|
|
533
533
|
"text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
534
|
+
"extensions": {
|
|
535
|
+
"operations": {
|
|
536
|
+
"operation": {
|
|
537
|
+
"operation_id": "op_1",
|
|
538
|
+
"revision": "rev_1",
|
|
539
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more.",
|
|
540
|
+
"terms": {
|
|
541
|
+
"order_id": "ord_7Hk2",
|
|
542
|
+
"price_difference": {
|
|
543
|
+
"amount": "70.00",
|
|
544
|
+
"currency": "USD"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
543
548
|
}
|
|
544
|
-
}
|
|
545
|
-
"expires_at": "2026-10-11T09:15:10Z"
|
|
549
|
+
}
|
|
546
550
|
}
|
|
547
551
|
}
|
|
548
552
|
},
|
|
@@ -742,9 +746,13 @@
|
|
|
742
746
|
"author": {
|
|
743
747
|
"type": "agent"
|
|
744
748
|
},
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
|
|
749
|
+
"extensions": {
|
|
750
|
+
"operations": {
|
|
751
|
+
"approval": {
|
|
752
|
+
"operation_id": "op_1",
|
|
753
|
+
"revision": "rev_1"
|
|
754
|
+
}
|
|
755
|
+
}
|
|
748
756
|
}
|
|
749
757
|
}
|
|
750
758
|
}
|
|
@@ -787,18 +795,22 @@
|
|
|
787
795
|
},
|
|
788
796
|
"role": "company",
|
|
789
797
|
"text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
798
|
+
"extensions": {
|
|
799
|
+
"operations": {
|
|
800
|
+
"operation": {
|
|
801
|
+
"operation_id": "op_1",
|
|
802
|
+
"revision": "rev_1",
|
|
803
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more.",
|
|
804
|
+
"terms": {
|
|
805
|
+
"order_id": "ord_7Hk2",
|
|
806
|
+
"price_difference": {
|
|
807
|
+
"amount": "70.00",
|
|
808
|
+
"currency": "USD"
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
799
812
|
}
|
|
800
|
-
}
|
|
801
|
-
"expires_at": "2026-10-11T09:15:10Z"
|
|
813
|
+
}
|
|
802
814
|
}
|
|
803
815
|
}
|
|
804
816
|
},
|
|
@@ -818,11 +830,15 @@
|
|
|
818
830
|
"author": {
|
|
819
831
|
"type": "agent"
|
|
820
832
|
},
|
|
821
|
-
"
|
|
822
|
-
|
|
823
|
-
"
|
|
824
|
-
|
|
825
|
-
|
|
833
|
+
"role": "user",
|
|
834
|
+
"extensions": {
|
|
835
|
+
"operations": {
|
|
836
|
+
"approval": {
|
|
837
|
+
"operation_id": "op_1",
|
|
838
|
+
"revision": "rev_1"
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
}
|
|
826
842
|
}
|
|
827
843
|
},
|
|
828
844
|
{
|
|
@@ -843,19 +859,23 @@
|
|
|
843
859
|
},
|
|
844
860
|
"role": "company",
|
|
845
861
|
"text": "That approval doesn't cover these terms. Here they are to approve.",
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
862
|
+
"extensions": {
|
|
863
|
+
"operations": {
|
|
864
|
+
"operation": {
|
|
865
|
+
"operation_id": "op_1",
|
|
866
|
+
"revision": "rev_2",
|
|
867
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more. Return the original by 2026-10-25.",
|
|
868
|
+
"terms": {
|
|
869
|
+
"order_id": "ord_7Hk2",
|
|
870
|
+
"price_difference": {
|
|
871
|
+
"amount": "70.00",
|
|
872
|
+
"currency": "USD"
|
|
873
|
+
},
|
|
874
|
+
"return_by": "2026-10-25"
|
|
875
|
+
},
|
|
876
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
877
|
+
}
|
|
878
|
+
}
|
|
859
879
|
}
|
|
860
880
|
}
|
|
861
881
|
},
|
|
@@ -975,9 +995,13 @@
|
|
|
975
995
|
"author": {
|
|
976
996
|
"type": "agent"
|
|
977
997
|
},
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
|
|
998
|
+
"extensions": {
|
|
999
|
+
"operations": {
|
|
1000
|
+
"approval": {
|
|
1001
|
+
"operation_id": "op_1",
|
|
1002
|
+
"revision": "rev_2"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
981
1005
|
}
|
|
982
1006
|
}
|
|
983
1007
|
}
|
|
@@ -1020,18 +1044,22 @@
|
|
|
1020
1044
|
},
|
|
1021
1045
|
"role": "company",
|
|
1022
1046
|
"text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
|
|
1023
|
-
"
|
|
1024
|
-
"
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1047
|
+
"extensions": {
|
|
1048
|
+
"operations": {
|
|
1049
|
+
"operation": {
|
|
1050
|
+
"operation_id": "op_1",
|
|
1051
|
+
"revision": "rev_1",
|
|
1052
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more.",
|
|
1053
|
+
"terms": {
|
|
1054
|
+
"order_id": "ord_7Hk2",
|
|
1055
|
+
"price_difference": {
|
|
1056
|
+
"amount": "70.00",
|
|
1057
|
+
"currency": "USD"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
1032
1061
|
}
|
|
1033
|
-
}
|
|
1034
|
-
"expires_at": "2026-10-11T09:15:10Z"
|
|
1062
|
+
}
|
|
1035
1063
|
}
|
|
1036
1064
|
}
|
|
1037
1065
|
},
|
|
@@ -1051,11 +1079,15 @@
|
|
|
1051
1079
|
"author": {
|
|
1052
1080
|
"type": "agent"
|
|
1053
1081
|
},
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1056
|
-
"
|
|
1057
|
-
|
|
1058
|
-
|
|
1082
|
+
"role": "user",
|
|
1083
|
+
"extensions": {
|
|
1084
|
+
"operations": {
|
|
1085
|
+
"approval": {
|
|
1086
|
+
"operation_id": "op_1",
|
|
1087
|
+
"revision": "rev_1"
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1059
1091
|
}
|
|
1060
1092
|
},
|
|
1061
1093
|
{
|
|
@@ -1076,19 +1108,23 @@
|
|
|
1076
1108
|
},
|
|
1077
1109
|
"role": "company",
|
|
1078
1110
|
"text": "That approval doesn't cover these terms. Here they are to approve.",
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1111
|
+
"extensions": {
|
|
1112
|
+
"operations": {
|
|
1113
|
+
"operation": {
|
|
1114
|
+
"operation_id": "op_1",
|
|
1115
|
+
"revision": "rev_2",
|
|
1116
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more. Return the original by 2026-10-25.",
|
|
1117
|
+
"terms": {
|
|
1118
|
+
"order_id": "ord_7Hk2",
|
|
1119
|
+
"price_difference": {
|
|
1120
|
+
"amount": "70.00",
|
|
1121
|
+
"currency": "USD"
|
|
1122
|
+
},
|
|
1123
|
+
"return_by": "2026-10-25"
|
|
1124
|
+
},
|
|
1125
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1092
1128
|
}
|
|
1093
1129
|
}
|
|
1094
1130
|
},
|
|
@@ -1108,11 +1144,15 @@
|
|
|
1108
1144
|
"author": {
|
|
1109
1145
|
"type": "agent"
|
|
1110
1146
|
},
|
|
1111
|
-
"
|
|
1112
|
-
|
|
1113
|
-
"
|
|
1114
|
-
|
|
1115
|
-
|
|
1147
|
+
"role": "user",
|
|
1148
|
+
"extensions": {
|
|
1149
|
+
"operations": {
|
|
1150
|
+
"approval": {
|
|
1151
|
+
"operation_id": "op_1",
|
|
1152
|
+
"revision": "rev_2"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1116
1156
|
}
|
|
1117
1157
|
},
|
|
1118
1158
|
{
|
|
@@ -1177,9 +1217,13 @@
|
|
|
1177
1217
|
"author": {
|
|
1178
1218
|
"type": "agent"
|
|
1179
1219
|
},
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
1182
|
-
|
|
1220
|
+
"extensions": {
|
|
1221
|
+
"operations": {
|
|
1222
|
+
"approval": {
|
|
1223
|
+
"operation_id": "op_1",
|
|
1224
|
+
"revision": "rev_2"
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1183
1227
|
}
|
|
1184
1228
|
}
|
|
1185
1229
|
}
|
|
@@ -1222,18 +1266,22 @@
|
|
|
1222
1266
|
},
|
|
1223
1267
|
"role": "company",
|
|
1224
1268
|
"text": "The insulated Ridge Jacket is in stock. Here is the exchange.",
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1269
|
+
"extensions": {
|
|
1270
|
+
"operations": {
|
|
1271
|
+
"operation": {
|
|
1272
|
+
"operation_id": "op_1",
|
|
1273
|
+
"revision": "rev_1",
|
|
1274
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more.",
|
|
1275
|
+
"terms": {
|
|
1276
|
+
"order_id": "ord_7Hk2",
|
|
1277
|
+
"price_difference": {
|
|
1278
|
+
"amount": "70.00",
|
|
1279
|
+
"currency": "USD"
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
1234
1283
|
}
|
|
1235
|
-
}
|
|
1236
|
-
"expires_at": "2026-10-11T09:15:10Z"
|
|
1284
|
+
}
|
|
1237
1285
|
}
|
|
1238
1286
|
}
|
|
1239
1287
|
},
|
|
@@ -1253,11 +1301,15 @@
|
|
|
1253
1301
|
"author": {
|
|
1254
1302
|
"type": "agent"
|
|
1255
1303
|
},
|
|
1256
|
-
"
|
|
1257
|
-
|
|
1258
|
-
"
|
|
1259
|
-
|
|
1260
|
-
|
|
1304
|
+
"role": "user",
|
|
1305
|
+
"extensions": {
|
|
1306
|
+
"operations": {
|
|
1307
|
+
"approval": {
|
|
1308
|
+
"operation_id": "op_1",
|
|
1309
|
+
"revision": "rev_1"
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1261
1313
|
}
|
|
1262
1314
|
},
|
|
1263
1315
|
{
|
|
@@ -1278,19 +1330,23 @@
|
|
|
1278
1330
|
},
|
|
1279
1331
|
"role": "company",
|
|
1280
1332
|
"text": "That approval doesn't cover these terms. Here they are to approve.",
|
|
1281
|
-
"
|
|
1282
|
-
"
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1333
|
+
"extensions": {
|
|
1334
|
+
"operations": {
|
|
1335
|
+
"operation": {
|
|
1336
|
+
"operation_id": "op_1",
|
|
1337
|
+
"revision": "rev_2",
|
|
1338
|
+
"summary": "Exchange the Ridge Jacket (M) from order ord_7Hk2 for the insulated Ridge Jacket (M), USD 70.00 more. Return the original by 2026-10-25.",
|
|
1339
|
+
"terms": {
|
|
1340
|
+
"order_id": "ord_7Hk2",
|
|
1341
|
+
"price_difference": {
|
|
1342
|
+
"amount": "70.00",
|
|
1343
|
+
"currency": "USD"
|
|
1344
|
+
},
|
|
1345
|
+
"return_by": "2026-10-25"
|
|
1346
|
+
},
|
|
1347
|
+
"expires_at": "2026-10-11T09:15:10Z"
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1294
1350
|
}
|
|
1295
1351
|
}
|
|
1296
1352
|
},
|
|
@@ -1310,11 +1366,15 @@
|
|
|
1310
1366
|
"author": {
|
|
1311
1367
|
"type": "agent"
|
|
1312
1368
|
},
|
|
1313
|
-
"
|
|
1314
|
-
|
|
1315
|
-
"
|
|
1316
|
-
|
|
1317
|
-
|
|
1369
|
+
"role": "user",
|
|
1370
|
+
"extensions": {
|
|
1371
|
+
"operations": {
|
|
1372
|
+
"approval": {
|
|
1373
|
+
"operation_id": "op_1",
|
|
1374
|
+
"revision": "rev_2"
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1318
1378
|
}
|
|
1319
1379
|
},
|
|
1320
1380
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "two-companies",
|
|
3
3
|
"title": "Two companies working together",
|
|
4
|
-
"description": "Ledgerly, an accounting firm, is a PAP company to Ada's agent Atlas and a PAP personal agent at Northwind Bank for her. Every approval is Ada's. This is composition:
|
|
4
|
+
"description": "Ledgerly, an accounting firm, is a PAP company to Ada's agent Atlas and a PAP personal agent at Northwind Bank for her. Every approval is Ada's. This is composition: 0.3 as published defines no company-to-company protocol.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
6
|
"sdk": "personal-agent-protocol 0.29.0",
|
|
7
7
|
"parties": [
|
|
@@ -13311,6 +13311,18 @@ export const WORKER_SOCIAL_MARKETER_AGENTSPEC_0_0_1 = {
|
|
|
13311
13311
|
SKILL_MAP['events:0.0.1']
|
|
13312
13312
|
? toAgentSkillSpec(SKILL_MAP['events:0.0.1'])
|
|
13313
13313
|
: undefined,
|
|
13314
|
+
SKILL_MAP['github:0.0.1']
|
|
13315
|
+
? toAgentSkillSpec(SKILL_MAP['github:0.0.1'])
|
|
13316
|
+
: undefined,
|
|
13317
|
+
SKILL_MAP['image:0.0.1']
|
|
13318
|
+
? toAgentSkillSpec(SKILL_MAP['image:0.0.1'])
|
|
13319
|
+
: undefined,
|
|
13320
|
+
SKILL_MAP['video:0.0.1']
|
|
13321
|
+
? toAgentSkillSpec(SKILL_MAP['video:0.0.1'])
|
|
13322
|
+
: undefined,
|
|
13323
|
+
SKILL_MAP['pdf:0.0.1']
|
|
13324
|
+
? toAgentSkillSpec(SKILL_MAP['pdf:0.0.1'])
|
|
13325
|
+
: undefined,
|
|
13314
13326
|
].filter(Boolean),
|
|
13315
13327
|
backendTools: [
|
|
13316
13328
|
TOOL_MAP['runtime-echo:0.0.1'],
|
package/lib/specs/apps.js
CHANGED
|
@@ -225,6 +225,8 @@ export const BOOKKEEPING_DESK_APP_0_0_3 = {
|
|
|
225
225
|
company: {
|
|
226
226
|
enabled: true,
|
|
227
227
|
signedOut: false,
|
|
228
|
+
signInDisabled: false,
|
|
229
|
+
publishSkills: false,
|
|
228
230
|
interfaces: ['agent'],
|
|
229
231
|
scopes: [
|
|
230
232
|
{
|
|
@@ -2027,6 +2029,8 @@ export const EXCHANGE_DESK_APP_0_0_3 = {
|
|
|
2027
2029
|
company: {
|
|
2028
2030
|
enabled: true,
|
|
2029
2031
|
signedOut: true,
|
|
2032
|
+
signInDisabled: false,
|
|
2033
|
+
publishSkills: false,
|
|
2030
2034
|
interfaces: ['agent', 'openapi'],
|
|
2031
2035
|
scopes: [
|
|
2032
2036
|
{
|
|
@@ -2560,6 +2564,8 @@ export const LIVE_SHOP_CHAT_APP_0_0_2 = {
|
|
|
2560
2564
|
company: {
|
|
2561
2565
|
enabled: false,
|
|
2562
2566
|
signedOut: true,
|
|
2567
|
+
signInDisabled: false,
|
|
2568
|
+
publishSkills: false,
|
|
2563
2569
|
interfaces: ['agent'],
|
|
2564
2570
|
scopes: [],
|
|
2565
2571
|
excludedTasks: [],
|
|
@@ -3353,6 +3359,8 @@ export const ORDER_DESK_APP_0_0_2 = {
|
|
|
3353
3359
|
company: {
|
|
3354
3360
|
enabled: false,
|
|
3355
3361
|
signedOut: true,
|
|
3362
|
+
signInDisabled: false,
|
|
3363
|
+
publishSkills: false,
|
|
3356
3364
|
interfaces: ['agent'],
|
|
3357
3365
|
scopes: [],
|
|
3358
3366
|
excludedTasks: [],
|
|
@@ -3532,6 +3540,8 @@ export const ORDER_TRACKER_APP_0_0_2 = {
|
|
|
3532
3540
|
company: {
|
|
3533
3541
|
enabled: false,
|
|
3534
3542
|
signedOut: true,
|
|
3543
|
+
signInDisabled: false,
|
|
3544
|
+
publishSkills: false,
|
|
3535
3545
|
interfaces: ['agent'],
|
|
3536
3546
|
scopes: [],
|
|
3537
3547
|
excludedTasks: [],
|
|
@@ -4693,6 +4703,8 @@ export const RETURNS_DESK_APP_0_0_2 = {
|
|
|
4693
4703
|
company: {
|
|
4694
4704
|
enabled: false,
|
|
4695
4705
|
signedOut: true,
|
|
4706
|
+
signInDisabled: false,
|
|
4707
|
+
publishSkills: false,
|
|
4696
4708
|
interfaces: ['agent'],
|
|
4697
4709
|
scopes: [],
|
|
4698
4710
|
excludedTasks: [],
|
|
@@ -5342,6 +5354,8 @@ export const SHOP_CONCIERGE_APP_0_0_2 = {
|
|
|
5342
5354
|
company: {
|
|
5343
5355
|
enabled: false,
|
|
5344
5356
|
signedOut: true,
|
|
5357
|
+
signInDisabled: false,
|
|
5358
|
+
publishSkills: false,
|
|
5345
5359
|
interfaces: ['agent'],
|
|
5346
5360
|
scopes: [],
|
|
5347
5361
|
excludedTasks: [],
|
|
@@ -5687,6 +5701,8 @@ export const SIGN_IN_DESK_APP_0_0_2 = {
|
|
|
5687
5701
|
company: {
|
|
5688
5702
|
enabled: false,
|
|
5689
5703
|
signedOut: true,
|
|
5704
|
+
signInDisabled: false,
|
|
5705
|
+
publishSkills: false,
|
|
5690
5706
|
interfaces: ['agent'],
|
|
5691
5707
|
scopes: [],
|
|
5692
5708
|
excludedTasks: [],
|
|
@@ -1212,7 +1212,7 @@ export const APPSPEC_SCHEMA = {
|
|
|
1212
1212
|
},
|
|
1213
1213
|
AppPapCompany: {
|
|
1214
1214
|
additionalProperties: false,
|
|
1215
|
-
description:
|
|
1215
|
+
description: "The application is a company personal agents work with.\n\nPublished at PAP 0.3 as published: the application's `avatar` is served to personal agents\nas the company's logo (`organization.logo_uri`), and `sign_in_disabled` turns sign-in off\nfor them (`auth.disabled`), the company then answering them signed out only.",
|
|
1216
1216
|
properties: {
|
|
1217
1217
|
enabled: {
|
|
1218
1218
|
default: false,
|
|
@@ -1226,6 +1226,18 @@ export const APPSPEC_SCHEMA = {
|
|
|
1226
1226
|
title: 'Signed Out',
|
|
1227
1227
|
type: 'boolean',
|
|
1228
1228
|
},
|
|
1229
|
+
sign_in_disabled: {
|
|
1230
|
+
default: false,
|
|
1231
|
+
description: "Whether it offers personal agents no sign-in (`auth.disabled`): they ask only what anybody may ask, in nobody's account, whatever scopes it lists for its other clients",
|
|
1232
|
+
title: 'Sign In Disabled',
|
|
1233
|
+
type: 'boolean',
|
|
1234
|
+
},
|
|
1235
|
+
publish_skills: {
|
|
1236
|
+
default: false,
|
|
1237
|
+
description: "Whether it publishes the application's skills to personal agents as a `skill_index` (PAP 0.3 §9.4, the pinned Agent Skills revision): only the skills whose SKILL.md says it is public and that need no secret are listed, Company content granting no access",
|
|
1238
|
+
title: 'Publish Skills',
|
|
1239
|
+
type: 'boolean',
|
|
1240
|
+
},
|
|
1229
1241
|
interfaces: {
|
|
1230
1242
|
description: "How personal agents reach it: `agent`, `openapi`, `mcp`, and `web` — its pages, a browser joining the person's Session through the one-time-code form (PAP draft 0.3 §6)",
|
|
1231
1243
|
items: {
|
|
@@ -2925,7 +2937,7 @@ export const APPSPEC_SCHEMA = {
|
|
|
2925
2937
|
},
|
|
2926
2938
|
avatar: {
|
|
2927
2939
|
default: '',
|
|
2928
|
-
description: 'Its avatar, as people keep theirs on their profile: `emoji:<emoji>`, or `@datalayer/icons-react:<Name>Icon` for a drawing of the set. Its emoji stands for it when unsaid, and where only text goes',
|
|
2940
|
+
description: 'Its avatar, as people keep theirs on their profile: `emoji:<emoji>`, or `@datalayer/icons-react:<Name>Icon` for a drawing of the set. Its emoji stands for it when unsaid, and where only text goes. Published as a company, it is served to personal agents as its logo (`organization.logo_uri`)',
|
|
2929
2941
|
pattern: '^\\s*(emoji:[^\\sA-Za-z0-9]{1,32}|@datalayer/icons-react:[A-Z][A-Za-z0-9]{0,62}Icon)?\\s*$',
|
|
2930
2942
|
title: 'Avatar',
|
|
2931
2943
|
type: 'string',
|
package/lib/specs/envvars.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare const HF_TOKEN_SPEC_0_0_1: EnvvarSpec;
|
|
|
24
24
|
export declare const KAGGLE_API_TOKEN_SPEC_0_0_1: EnvvarSpec;
|
|
25
25
|
export declare const LLM_API_KEY_SPEC_0_0_1: EnvvarSpec;
|
|
26
26
|
export declare const OPENAI_API_KEY_SPEC_0_0_1: EnvvarSpec;
|
|
27
|
+
export declare const OPENROUTER_API_KEY_SPEC_0_0_1: EnvvarSpec;
|
|
27
28
|
export declare const SLACK_BOT_TOKEN_SPEC_0_0_1: EnvvarSpec;
|
|
28
29
|
export declare const SLACK_CHANNEL_IDS_SPEC_0_0_1: EnvvarSpec;
|
|
29
30
|
export declare const SLACK_TEAM_ID_SPEC_0_0_1: EnvvarSpec;
|
package/lib/specs/envvars.js
CHANGED
|
@@ -182,6 +182,16 @@ export const OPENAI_API_KEY_SPEC_0_0_1 = {
|
|
|
182
182
|
icon: 'key',
|
|
183
183
|
emoji: '🔑',
|
|
184
184
|
};
|
|
185
|
+
export const OPENROUTER_API_KEY_SPEC_0_0_1 = {
|
|
186
|
+
id: 'OPENROUTER_API_KEY',
|
|
187
|
+
version: '0.0.1',
|
|
188
|
+
name: 'OpenRouter API Key',
|
|
189
|
+
description: "API key for OpenRouter, one key in front of the models of many vendors. Required by any harness configured with OpenRouter as its model provider run locally; the person's own. A Datalayer runtime takes no key: its model calls go through ai-inference.",
|
|
190
|
+
registrationUrl: 'https://openrouter.ai/settings/keys',
|
|
191
|
+
tags: ['authentication', 'api-key', 'openrouter', 'harness'],
|
|
192
|
+
icon: 'key',
|
|
193
|
+
emoji: '🔑',
|
|
194
|
+
};
|
|
185
195
|
export const SLACK_BOT_TOKEN_SPEC_0_0_1 = {
|
|
186
196
|
id: 'SLACK_BOT_TOKEN',
|
|
187
197
|
version: '0.0.1',
|
|
@@ -252,6 +262,7 @@ export const ENVVAR_CATALOG = {
|
|
|
252
262
|
KAGGLE_API_TOKEN: KAGGLE_API_TOKEN_SPEC_0_0_1,
|
|
253
263
|
LLM_API_KEY: LLM_API_KEY_SPEC_0_0_1,
|
|
254
264
|
OPENAI_API_KEY: OPENAI_API_KEY_SPEC_0_0_1,
|
|
265
|
+
OPENROUTER_API_KEY: OPENROUTER_API_KEY_SPEC_0_0_1,
|
|
255
266
|
SLACK_BOT_TOKEN: SLACK_BOT_TOKEN_SPEC_0_0_1,
|
|
256
267
|
SLACK_CHANNEL_IDS: SLACK_CHANNEL_IDS_SPEC_0_0_1,
|
|
257
268
|
SLACK_TEAM_ID: SLACK_TEAM_ID_SPEC_0_0_1,
|
|
@@ -16,6 +16,7 @@ export declare const BEDROCK_0_0_1: ModelProvider;
|
|
|
16
16
|
export declare const CLOUDFLARE_0_0_1: ModelProvider;
|
|
17
17
|
export declare const OLLAMA_0_0_1: ModelProvider;
|
|
18
18
|
export declare const OPENAI_0_0_1: ModelProvider;
|
|
19
|
+
export declare const OPENROUTER_0_0_1: ModelProvider;
|
|
19
20
|
export declare const MODEL_PROVIDER_CATALOGUE: Record<string, ModelProvider>;
|
|
20
21
|
/** The provider a model spec's `provider` names, or undefined. */
|
|
21
22
|
export declare function getModelProvider(providerId: string): ModelProvider | undefined;
|