@almadar/core 10.66.0 → 10.68.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/dist/builders.d.ts +3 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BTXY2wl8.d.ts → effect-Jn7yEAFH.d.ts} +11 -4
- package/dist/{entityAccess-B5nbSI6L.d.ts → entityAccess-BgJpQUj8.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-BNEx05jQ.d.ts → index-DOO0VFpW.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +170 -13
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +310 -16
- package/dist/patterns/index.js +157 -12
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +43 -2
- package/dist/patterns/patterns-registry.json +112 -8
- package/dist/patterns/registry.json +112 -8
- package/dist/patterns/services-registry.json +164 -50
- package/dist/{schema-DwFRl8ZS.d.ts → schema-CUBQXBqc.d.ts} +2 -2
- package/dist/{trait-CzOtZitc.d.ts → trait-unQtwJp-.d.ts} +17 -10
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +13 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C0NIDJ5X.d.ts → types-DffEpxk1.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-08-
|
|
3
|
+
"exportedAt": "2026-08-23T09:11:28.111Z",
|
|
4
4
|
"services": {
|
|
5
5
|
"llm": {
|
|
6
6
|
"name": "llm",
|
|
@@ -173,7 +173,8 @@
|
|
|
173
173
|
"required": false,
|
|
174
174
|
"description": "OpenAI API key (use this OR ANTHROPIC_API_KEY)"
|
|
175
175
|
}
|
|
176
|
-
]
|
|
176
|
+
],
|
|
177
|
+
"hooks": []
|
|
177
178
|
},
|
|
178
179
|
"ml": {
|
|
179
180
|
"name": "ml",
|
|
@@ -217,7 +218,8 @@
|
|
|
217
218
|
"required": true,
|
|
218
219
|
"description": "Kebab-case trait name the serving orbital exposes its /events route under"
|
|
219
220
|
}
|
|
220
|
-
]
|
|
221
|
+
],
|
|
222
|
+
"hooks": []
|
|
221
223
|
},
|
|
222
224
|
"data": {
|
|
223
225
|
"name": "data",
|
|
@@ -332,7 +334,8 @@
|
|
|
332
334
|
}
|
|
333
335
|
}
|
|
334
336
|
],
|
|
335
|
-
"credentials": []
|
|
337
|
+
"credentials": [],
|
|
338
|
+
"hooks": []
|
|
336
339
|
},
|
|
337
340
|
"eventbus": {
|
|
338
341
|
"name": "eventbus",
|
|
@@ -371,7 +374,8 @@
|
|
|
371
374
|
}
|
|
372
375
|
}
|
|
373
376
|
],
|
|
374
|
-
"credentials": []
|
|
377
|
+
"credentials": [],
|
|
378
|
+
"hooks": []
|
|
375
379
|
},
|
|
376
380
|
"discovery": {
|
|
377
381
|
"name": "discovery",
|
|
@@ -456,7 +460,8 @@
|
|
|
456
460
|
}
|
|
457
461
|
}
|
|
458
462
|
],
|
|
459
|
-
"credentials": []
|
|
463
|
+
"credentials": [],
|
|
464
|
+
"hooks": []
|
|
460
465
|
},
|
|
461
466
|
"migration": {
|
|
462
467
|
"name": "migration",
|
|
@@ -548,7 +553,8 @@
|
|
|
548
553
|
}
|
|
549
554
|
}
|
|
550
555
|
],
|
|
551
|
-
"credentials": []
|
|
556
|
+
"credentials": [],
|
|
557
|
+
"hooks": []
|
|
552
558
|
},
|
|
553
559
|
"skills": {
|
|
554
560
|
"name": "skills",
|
|
@@ -623,7 +629,8 @@
|
|
|
623
629
|
}
|
|
624
630
|
}
|
|
625
631
|
],
|
|
626
|
-
"credentials": []
|
|
632
|
+
"credentials": [],
|
|
633
|
+
"hooks": []
|
|
627
634
|
},
|
|
628
635
|
"github": {
|
|
629
636
|
"name": "github",
|
|
@@ -956,7 +963,8 @@
|
|
|
956
963
|
"required": false,
|
|
957
964
|
"description": "Default repository name"
|
|
958
965
|
}
|
|
959
|
-
]
|
|
966
|
+
],
|
|
967
|
+
"hooks": []
|
|
960
968
|
},
|
|
961
969
|
"stripe": {
|
|
962
970
|
"name": "stripe",
|
|
@@ -1047,7 +1055,8 @@
|
|
|
1047
1055
|
"required": false,
|
|
1048
1056
|
"description": "Webhook endpoint signing secret"
|
|
1049
1057
|
}
|
|
1050
|
-
]
|
|
1058
|
+
],
|
|
1059
|
+
"hooks": []
|
|
1051
1060
|
},
|
|
1052
1061
|
"llm-integration": {
|
|
1053
1062
|
"name": "llm-integration",
|
|
@@ -1217,7 +1226,8 @@
|
|
|
1217
1226
|
"required": false,
|
|
1218
1227
|
"description": "OpenAI API key"
|
|
1219
1228
|
}
|
|
1220
|
-
]
|
|
1229
|
+
],
|
|
1230
|
+
"hooks": []
|
|
1221
1231
|
},
|
|
1222
1232
|
"youtube": {
|
|
1223
1233
|
"name": "youtube",
|
|
@@ -1293,7 +1303,8 @@
|
|
|
1293
1303
|
"required": true,
|
|
1294
1304
|
"description": "YouTube Data API key"
|
|
1295
1305
|
}
|
|
1296
|
-
]
|
|
1306
|
+
],
|
|
1307
|
+
"hooks": []
|
|
1297
1308
|
},
|
|
1298
1309
|
"twilio": {
|
|
1299
1310
|
"name": "twilio",
|
|
@@ -1317,6 +1328,12 @@
|
|
|
1317
1328
|
"type": "string",
|
|
1318
1329
|
"required": true,
|
|
1319
1330
|
"description": ""
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "from",
|
|
1334
|
+
"type": "string",
|
|
1335
|
+
"required": false,
|
|
1336
|
+
"description": ""
|
|
1320
1337
|
}
|
|
1321
1338
|
],
|
|
1322
1339
|
"responseShape": {
|
|
@@ -1363,7 +1380,8 @@
|
|
|
1363
1380
|
"required": false,
|
|
1364
1381
|
"description": "Default sender phone number"
|
|
1365
1382
|
}
|
|
1366
|
-
]
|
|
1383
|
+
],
|
|
1384
|
+
"hooks": []
|
|
1367
1385
|
},
|
|
1368
1386
|
"email": {
|
|
1369
1387
|
"name": "email",
|
|
@@ -1399,6 +1417,24 @@
|
|
|
1399
1417
|
"type": "string",
|
|
1400
1418
|
"required": false,
|
|
1401
1419
|
"description": ""
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "htmlBody",
|
|
1423
|
+
"type": "string",
|
|
1424
|
+
"required": false,
|
|
1425
|
+
"description": "HTML content; when present `body` becomes the plain-text alternative."
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "replyTo",
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"required": false,
|
|
1431
|
+
"description": ""
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "templateId",
|
|
1435
|
+
"type": "string",
|
|
1436
|
+
"required": false,
|
|
1437
|
+
"description": "Provider template reference (SendGrid dynamic templates; Resend rejects it loudly)."
|
|
1402
1438
|
}
|
|
1403
1439
|
],
|
|
1404
1440
|
"responseShape": {
|
|
@@ -1423,7 +1459,8 @@
|
|
|
1423
1459
|
"required": false,
|
|
1424
1460
|
"description": "Default sender email address"
|
|
1425
1461
|
}
|
|
1426
|
-
]
|
|
1462
|
+
],
|
|
1463
|
+
"hooks": []
|
|
1427
1464
|
},
|
|
1428
1465
|
"webhook": {
|
|
1429
1466
|
"name": "webhook",
|
|
@@ -1479,7 +1516,8 @@
|
|
|
1479
1516
|
"required": false,
|
|
1480
1517
|
"description": "Per-request timeout (ms, default 10000)"
|
|
1481
1518
|
}
|
|
1482
|
-
]
|
|
1519
|
+
],
|
|
1520
|
+
"hooks": []
|
|
1483
1521
|
},
|
|
1484
1522
|
"push": {
|
|
1485
1523
|
"name": "push",
|
|
@@ -1546,7 +1584,8 @@
|
|
|
1546
1584
|
"required": true,
|
|
1547
1585
|
"description": "VAPID subject (mailto: or https: contact URI)"
|
|
1548
1586
|
}
|
|
1549
|
-
]
|
|
1587
|
+
],
|
|
1588
|
+
"hooks": []
|
|
1550
1589
|
},
|
|
1551
1590
|
"calendar": {
|
|
1552
1591
|
"name": "calendar",
|
|
@@ -1821,6 +1860,19 @@
|
|
|
1821
1860
|
"envVar": "GOOGLE_CALENDAR_ID",
|
|
1822
1861
|
"required": false,
|
|
1823
1862
|
"description": "Default calendar id (default: primary)"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"envVar": "GOOGLE_CALENDAR_CHANNEL_TOKEN",
|
|
1866
|
+
"required": false,
|
|
1867
|
+
"description": "Watch-channel verification token — required to receive inbound calendar hooks (two-way sync)"
|
|
1868
|
+
}
|
|
1869
|
+
],
|
|
1870
|
+
"hooks": [
|
|
1871
|
+
{
|
|
1872
|
+
"provider": "google-calendar",
|
|
1873
|
+
"event": "CAL_REMOTE_CHANGED",
|
|
1874
|
+
"credentialEnv": "GOOGLE_CALENDAR_CHANNEL_TOKEN",
|
|
1875
|
+
"providerExport": "googleCalendarHookProvider"
|
|
1824
1876
|
}
|
|
1825
1877
|
]
|
|
1826
1878
|
},
|
|
@@ -1966,15 +2018,26 @@
|
|
|
1966
2018
|
"credentials": [
|
|
1967
2019
|
{
|
|
1968
2020
|
"envVar": "GOOGLE_DRIVE_SA_KEY",
|
|
1969
|
-
"required":
|
|
1970
|
-
"description": "Google service-account key JSON (raw or base64) with drive scope; store in Secret Manager, bind as env"
|
|
2021
|
+
"required": false,
|
|
2022
|
+
"description": "Google service-account key JSON (raw or base64) with drive scope — serves reads; store in Secret Manager, bind as env"
|
|
1971
2023
|
},
|
|
1972
2024
|
{
|
|
1973
2025
|
"envVar": "GOOGLE_DRIVE_SUBJECT",
|
|
1974
2026
|
"required": false,
|
|
1975
2027
|
"description": "Workspace user to impersonate (domain-wide delegation); empty = act as the service account"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"envVar": "GOOGLE_DRIVE_REFRESH_TOKEN",
|
|
2031
|
+
"required": false,
|
|
2032
|
+
"description": "User OAuth refresh token (drive-consent.mjs) — serves writes; SA uploads are impossible on personal accounts (no SA storage quota)"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"envVar": "GOOGLE_DRIVE_FOLDER_ID",
|
|
2036
|
+
"required": false,
|
|
2037
|
+
"description": "Default parent folder for uploads/new folders when the call names none"
|
|
1976
2038
|
}
|
|
1977
|
-
]
|
|
2039
|
+
],
|
|
2040
|
+
"hooks": []
|
|
1978
2041
|
},
|
|
1979
2042
|
"metaAds": {
|
|
1980
2043
|
"name": "metaAds",
|
|
@@ -2052,7 +2115,8 @@
|
|
|
2052
2115
|
"required": false,
|
|
2053
2116
|
"description": "Default ad account id (act_…); per-call accountId overrides"
|
|
2054
2117
|
}
|
|
2055
|
-
]
|
|
2118
|
+
],
|
|
2119
|
+
"hooks": []
|
|
2056
2120
|
},
|
|
2057
2121
|
"accounting": {
|
|
2058
2122
|
"name": "accounting",
|
|
@@ -2108,7 +2172,8 @@
|
|
|
2108
2172
|
}
|
|
2109
2173
|
}
|
|
2110
2174
|
],
|
|
2111
|
-
"credentials": []
|
|
2175
|
+
"credentials": [],
|
|
2176
|
+
"hooks": []
|
|
2112
2177
|
},
|
|
2113
2178
|
"banking": {
|
|
2114
2179
|
"name": "banking",
|
|
@@ -2199,7 +2264,8 @@
|
|
|
2199
2264
|
"required": true,
|
|
2200
2265
|
"description": "GoCardless Bank Account Data secret key"
|
|
2201
2266
|
}
|
|
2202
|
-
]
|
|
2267
|
+
],
|
|
2268
|
+
"hooks": []
|
|
2203
2269
|
},
|
|
2204
2270
|
"esign": {
|
|
2205
2271
|
"name": "esign",
|
|
@@ -2292,7 +2358,8 @@
|
|
|
2292
2358
|
"required": true,
|
|
2293
2359
|
"description": "DocuSign OAuth access token (JWT grant rotation is the deployment concern)"
|
|
2294
2360
|
}
|
|
2295
|
-
]
|
|
2361
|
+
],
|
|
2362
|
+
"hooks": []
|
|
2296
2363
|
},
|
|
2297
2364
|
"docker": {
|
|
2298
2365
|
"name": "docker",
|
|
@@ -2504,7 +2571,8 @@
|
|
|
2504
2571
|
"required": false,
|
|
2505
2572
|
"description": "Docker daemon host URL"
|
|
2506
2573
|
}
|
|
2507
|
-
]
|
|
2574
|
+
],
|
|
2575
|
+
"hooks": []
|
|
2508
2576
|
},
|
|
2509
2577
|
"database": {
|
|
2510
2578
|
"name": "database",
|
|
@@ -2542,7 +2610,8 @@
|
|
|
2542
2610
|
}
|
|
2543
2611
|
}
|
|
2544
2612
|
],
|
|
2545
|
-
"credentials": []
|
|
2613
|
+
"credentials": [],
|
|
2614
|
+
"hooks": []
|
|
2546
2615
|
},
|
|
2547
2616
|
"storage": {
|
|
2548
2617
|
"name": "storage",
|
|
@@ -2658,11 +2727,18 @@
|
|
|
2658
2727
|
"type": "number",
|
|
2659
2728
|
"required": false,
|
|
2660
2729
|
"description": ""
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"name": "continuationToken",
|
|
2733
|
+
"type": "string",
|
|
2734
|
+
"required": false,
|
|
2735
|
+
"description": ""
|
|
2661
2736
|
}
|
|
2662
2737
|
],
|
|
2663
2738
|
"responseShape": {
|
|
2664
2739
|
"keys": "array",
|
|
2665
|
-
"truncated": "boolean"
|
|
2740
|
+
"truncated": "boolean",
|
|
2741
|
+
"nextToken": "string"
|
|
2666
2742
|
}
|
|
2667
2743
|
},
|
|
2668
2744
|
{
|
|
@@ -2752,7 +2828,8 @@
|
|
|
2752
2828
|
"required": false,
|
|
2753
2829
|
"description": "Base URL for public-acl object links; empty = endpoint-derived"
|
|
2754
2830
|
}
|
|
2755
|
-
]
|
|
2831
|
+
],
|
|
2832
|
+
"hooks": []
|
|
2756
2833
|
},
|
|
2757
2834
|
"queue": {
|
|
2758
2835
|
"name": "queue",
|
|
@@ -2907,7 +2984,8 @@
|
|
|
2907
2984
|
"required": true,
|
|
2908
2985
|
"description": "Message queue connection URL"
|
|
2909
2986
|
}
|
|
2910
|
-
]
|
|
2987
|
+
],
|
|
2988
|
+
"hooks": []
|
|
2911
2989
|
},
|
|
2912
2990
|
"redis": {
|
|
2913
2991
|
"name": "redis",
|
|
@@ -3101,7 +3179,8 @@
|
|
|
3101
3179
|
"required": true,
|
|
3102
3180
|
"description": "Redis connection URL"
|
|
3103
3181
|
}
|
|
3104
|
-
]
|
|
3182
|
+
],
|
|
3183
|
+
"hooks": []
|
|
3105
3184
|
},
|
|
3106
3185
|
"oauth": {
|
|
3107
3186
|
"name": "oauth",
|
|
@@ -3233,11 +3312,12 @@
|
|
|
3233
3312
|
"required": false,
|
|
3234
3313
|
"description": "OIDC issuer URL (default https://accounts.google.com)"
|
|
3235
3314
|
}
|
|
3236
|
-
]
|
|
3315
|
+
],
|
|
3316
|
+
"hooks": []
|
|
3237
3317
|
},
|
|
3238
3318
|
"credentials": {
|
|
3239
3319
|
"name": "credentials",
|
|
3240
|
-
"description": "Tenant credential store — masked list, set/remove, test connection (settings-page backend)",
|
|
3320
|
+
"description": "Tenant credential store — masked list, set/remove, test connection, master-key rotation (settings-page backend)",
|
|
3241
3321
|
"category": "auth",
|
|
3242
3322
|
"package": "@almadar/integrations",
|
|
3243
3323
|
"backend": "production",
|
|
@@ -3328,6 +3408,16 @@
|
|
|
3328
3408
|
"ok": "boolean",
|
|
3329
3409
|
"message": "string"
|
|
3330
3410
|
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "rotate",
|
|
3414
|
+
"description": "",
|
|
3415
|
+
"params": [],
|
|
3416
|
+
"responseShape": {
|
|
3417
|
+
"rotated": "number",
|
|
3418
|
+
"alreadyCurrent": "number",
|
|
3419
|
+
"unreadable": "number"
|
|
3420
|
+
}
|
|
3331
3421
|
}
|
|
3332
3422
|
],
|
|
3333
3423
|
"credentials": [
|
|
@@ -3335,8 +3425,14 @@
|
|
|
3335
3425
|
"envVar": "ALMADAR_CREDENTIAL_MASTER_KEY",
|
|
3336
3426
|
"required": false,
|
|
3337
3427
|
"description": "AES-256 master key (64-char hex) enabling the hosted credential store — hold it alone in the platform secret store"
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
"envVar": "ALMADAR_CREDENTIAL_MASTER_KEY_PREVIOUS",
|
|
3431
|
+
"required": false,
|
|
3432
|
+
"description": "Previous master key, present only during a rotation window — decrypts old rows until `credentials.rotate` re-encrypts them"
|
|
3338
3433
|
}
|
|
3339
|
-
]
|
|
3434
|
+
],
|
|
3435
|
+
"hooks": []
|
|
3340
3436
|
},
|
|
3341
3437
|
"otel": {
|
|
3342
3438
|
"name": "otel",
|
|
@@ -3485,7 +3581,8 @@
|
|
|
3485
3581
|
"required": false,
|
|
3486
3582
|
"description": "Service name for traces"
|
|
3487
3583
|
}
|
|
3488
|
-
]
|
|
3584
|
+
],
|
|
3585
|
+
"hooks": []
|
|
3489
3586
|
},
|
|
3490
3587
|
"cli": {
|
|
3491
3588
|
"name": "cli",
|
|
@@ -3513,7 +3610,8 @@
|
|
|
3513
3610
|
}
|
|
3514
3611
|
}
|
|
3515
3612
|
],
|
|
3516
|
-
"credentials": []
|
|
3613
|
+
"credentials": [],
|
|
3614
|
+
"hooks": []
|
|
3517
3615
|
},
|
|
3518
3616
|
"deepagent": {
|
|
3519
3617
|
"name": "deepagent",
|
|
@@ -3636,7 +3734,8 @@
|
|
|
3636
3734
|
"required": false,
|
|
3637
3735
|
"description": "DeepAgent API key"
|
|
3638
3736
|
}
|
|
3639
|
-
]
|
|
3737
|
+
],
|
|
3738
|
+
"hooks": []
|
|
3640
3739
|
},
|
|
3641
3740
|
"wikimedia": {
|
|
3642
3741
|
"name": "wikimedia",
|
|
@@ -3675,7 +3774,8 @@
|
|
|
3675
3774
|
"required": false,
|
|
3676
3775
|
"description": "Per-request timeout (ms)"
|
|
3677
3776
|
}
|
|
3678
|
-
]
|
|
3777
|
+
],
|
|
3778
|
+
"hooks": []
|
|
3679
3779
|
},
|
|
3680
3780
|
"iconify": {
|
|
3681
3781
|
"name": "iconify",
|
|
@@ -3747,7 +3847,8 @@
|
|
|
3747
3847
|
"required": false,
|
|
3748
3848
|
"description": "Per-request timeout (ms)"
|
|
3749
3849
|
}
|
|
3750
|
-
]
|
|
3850
|
+
],
|
|
3851
|
+
"hooks": []
|
|
3751
3852
|
},
|
|
3752
3853
|
"arxiv": {
|
|
3753
3854
|
"name": "arxiv",
|
|
@@ -3784,7 +3885,8 @@
|
|
|
3784
3885
|
"required": false,
|
|
3785
3886
|
"description": "Per-request timeout (ms)"
|
|
3786
3887
|
}
|
|
3787
|
-
]
|
|
3888
|
+
],
|
|
3889
|
+
"hooks": []
|
|
3788
3890
|
},
|
|
3789
3891
|
"calendar-ical": {
|
|
3790
3892
|
"name": "calendar-ical",
|
|
@@ -3793,7 +3895,8 @@
|
|
|
3793
3895
|
"package": "(host-injected)",
|
|
3794
3896
|
"backend": "host-injected",
|
|
3795
3897
|
"actions": [],
|
|
3796
|
-
"credentials": []
|
|
3898
|
+
"credentials": [],
|
|
3899
|
+
"hooks": []
|
|
3797
3900
|
},
|
|
3798
3901
|
"custom-bearer-api": {
|
|
3799
3902
|
"name": "custom-bearer-api",
|
|
@@ -3802,7 +3905,8 @@
|
|
|
3802
3905
|
"package": "(host-injected)",
|
|
3803
3906
|
"backend": "host-injected",
|
|
3804
3907
|
"actions": [],
|
|
3805
|
-
"credentials": []
|
|
3908
|
+
"credentials": [],
|
|
3909
|
+
"hooks": []
|
|
3806
3910
|
},
|
|
3807
3911
|
"customBearer": {
|
|
3808
3912
|
"name": "customBearer",
|
|
@@ -3811,7 +3915,8 @@
|
|
|
3811
3915
|
"package": "(host-injected)",
|
|
3812
3916
|
"backend": "host-injected",
|
|
3813
3917
|
"actions": [],
|
|
3814
|
-
"credentials": []
|
|
3918
|
+
"credentials": [],
|
|
3919
|
+
"hooks": []
|
|
3815
3920
|
},
|
|
3816
3921
|
"knowledge": {
|
|
3817
3922
|
"name": "knowledge",
|
|
@@ -3820,7 +3925,8 @@
|
|
|
3820
3925
|
"package": "(host-injected)",
|
|
3821
3926
|
"backend": "host-injected",
|
|
3822
3927
|
"actions": [],
|
|
3823
|
-
"credentials": []
|
|
3928
|
+
"credentials": [],
|
|
3929
|
+
"hooks": []
|
|
3824
3930
|
},
|
|
3825
3931
|
"maps": {
|
|
3826
3932
|
"name": "maps",
|
|
@@ -3829,7 +3935,8 @@
|
|
|
3829
3935
|
"package": "(host-injected)",
|
|
3830
3936
|
"backend": "host-injected",
|
|
3831
3937
|
"actions": [],
|
|
3832
|
-
"credentials": []
|
|
3938
|
+
"credentials": [],
|
|
3939
|
+
"hooks": []
|
|
3833
3940
|
},
|
|
3834
3941
|
"print": {
|
|
3835
3942
|
"name": "print",
|
|
@@ -3838,7 +3945,8 @@
|
|
|
3838
3945
|
"package": "(host-injected)",
|
|
3839
3946
|
"backend": "host-injected",
|
|
3840
3947
|
"actions": [],
|
|
3841
|
-
"credentials": []
|
|
3948
|
+
"credentials": [],
|
|
3949
|
+
"hooks": []
|
|
3842
3950
|
},
|
|
3843
3951
|
"builder": {
|
|
3844
3952
|
"name": "builder",
|
|
@@ -3847,7 +3955,8 @@
|
|
|
3847
3955
|
"package": "(host-injected)",
|
|
3848
3956
|
"backend": "host-injected",
|
|
3849
3957
|
"actions": [],
|
|
3850
|
-
"credentials": []
|
|
3958
|
+
"credentials": [],
|
|
3959
|
+
"hooks": []
|
|
3851
3960
|
},
|
|
3852
3961
|
"composer": {
|
|
3853
3962
|
"name": "composer",
|
|
@@ -3856,7 +3965,8 @@
|
|
|
3856
3965
|
"package": "(host-injected)",
|
|
3857
3966
|
"backend": "host-injected",
|
|
3858
3967
|
"actions": [],
|
|
3859
|
-
"credentials": []
|
|
3968
|
+
"credentials": [],
|
|
3969
|
+
"hooks": []
|
|
3860
3970
|
},
|
|
3861
3971
|
"coordinator": {
|
|
3862
3972
|
"name": "coordinator",
|
|
@@ -3865,7 +3975,8 @@
|
|
|
3865
3975
|
"package": "(host-injected)",
|
|
3866
3976
|
"backend": "host-injected",
|
|
3867
3977
|
"actions": [],
|
|
3868
|
-
"credentials": []
|
|
3978
|
+
"credentials": [],
|
|
3979
|
+
"hooks": []
|
|
3869
3980
|
},
|
|
3870
3981
|
"planner": {
|
|
3871
3982
|
"name": "planner",
|
|
@@ -3874,7 +3985,8 @@
|
|
|
3874
3985
|
"package": "(host-injected)",
|
|
3875
3986
|
"backend": "host-injected",
|
|
3876
3987
|
"actions": [],
|
|
3877
|
-
"credentials": []
|
|
3988
|
+
"credentials": [],
|
|
3989
|
+
"hooks": []
|
|
3878
3990
|
},
|
|
3879
3991
|
"repair": {
|
|
3880
3992
|
"name": "repair",
|
|
@@ -3883,7 +3995,8 @@
|
|
|
3883
3995
|
"package": "(host-injected)",
|
|
3884
3996
|
"backend": "host-injected",
|
|
3885
3997
|
"actions": [],
|
|
3886
|
-
"credentials": []
|
|
3998
|
+
"credentials": [],
|
|
3999
|
+
"hooks": []
|
|
3887
4000
|
},
|
|
3888
4001
|
"validator": {
|
|
3889
4002
|
"name": "validator",
|
|
@@ -3892,7 +4005,8 @@
|
|
|
3892
4005
|
"package": "(host-injected)",
|
|
3893
4006
|
"backend": "host-injected",
|
|
3894
4007
|
"actions": [],
|
|
3895
|
-
"credentials": []
|
|
4008
|
+
"credentials": [],
|
|
4009
|
+
"hooks": []
|
|
3896
4010
|
}
|
|
3897
4011
|
},
|
|
3898
4012
|
"categories": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-
|
|
1
|
+
import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-unQtwJp-.js';
|
|
2
2
|
import { J as JsonValue, E as Expression, S as SExpr, R as RuntimeValue } from './expression-Fk8bQWef.js';
|
|
3
|
-
import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, E as EntityField, S as ServiceRef, e as Entity, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-
|
|
3
|
+
import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, E as EntityField, S as ServiceRef, e as Entity, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-Jn7yEAFH.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-
|
|
1
|
+
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-Jn7yEAFH.js';
|
|
2
2
|
import { E as Expression, S as SExpr, J as JsonValue } from './expression-Fk8bQWef.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
@@ -498,19 +498,26 @@ type ReferenceConfigType = (typeof REFERENCE_CONFIG_TYPES)[number];
|
|
|
498
498
|
declare function isReferenceConfigType(type: string): type is ReferenceConfigType;
|
|
499
499
|
/**
|
|
500
500
|
* The secret config-field types. A config knob typed `secret` holds a
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
501
|
+
* credential REFERENCE (an env-var key name for `resolveCredentialRef`) —
|
|
502
|
+
* and, as defense-in-depth against a host wrongly inlining material, its
|
|
503
|
+
* VALUE must never flow into spec.json, traces, plan snapshots, or factory
|
|
504
|
+
* bakes in cleartext: consumers mask it (see `maskSecretConfigValues`) and
|
|
505
|
+
* UI password-renders the knob. `.lolo` accepts `: secret` as a config-field
|
|
506
|
+
* type (I-29, 2026-08-23 — previously the parser silently read it as a
|
|
507
|
+
* meaningless named type); this contract is the single deterministic source
|
|
508
|
+
* downstream consumers (studio, verifiers, rabit bakes) key on.
|
|
509
509
|
*/
|
|
510
510
|
declare const SECRET_CONFIG_TYPES: readonly ["secret"];
|
|
511
511
|
type SecretConfigType = (typeof SECRET_CONFIG_TYPES)[number];
|
|
512
512
|
/** True when a config field's `type` marks its value as a credential to be masked. */
|
|
513
513
|
declare function isSecretConfigType(type: string): type is SecretConfigType;
|
|
514
|
+
/**
|
|
515
|
+
* Return `values` with every `secret`-declared field's string value masked to
|
|
516
|
+
* its last 4 characters (shorter values fully masked). Non-secret fields and
|
|
517
|
+
* non-string values pass through untouched. Use before echoing call-site
|
|
518
|
+
* config into traces, spec snapshots, or logs.
|
|
519
|
+
*/
|
|
520
|
+
declare function maskSecretConfigValues(config: DeclaredTraitConfig, values: TraitConfig): TraitConfig;
|
|
514
521
|
type ConfigFieldDeclaration = {
|
|
515
522
|
readonly type: string;
|
|
516
523
|
readonly default?: TraitConfigValue;
|
|
@@ -5105,4 +5112,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
5105
5112
|
} | undefined;
|
|
5106
5113
|
}>]>;
|
|
5107
5114
|
|
|
5108
|
-
export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, TraitUIBindingSchema as ad, type Transition as ae, type TransitionInput as af, TransitionSchema as ag, configRefEventKnob as ah, getTraitConfig as ai, getTraitName as aj, isCallSiteConfigDeclaration as ak, isCircuitEvent as al, isInlineTrait as am, isReferenceConfigType as an, isSecretConfigType as ao,
|
|
5115
|
+
export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, TraitUIBindingSchema as ad, type Transition as ae, type TransitionInput as af, TransitionSchema as ag, configRefEventKnob as ah, getTraitConfig as ai, getTraitName as aj, isCallSiteConfigDeclaration as ak, isCircuitEvent as al, isInlineTrait as am, isReferenceConfigType as an, isSecretConfigType as ao, maskSecretConfigValues as ap, normalizeCallSiteConfigToValues as aq, normalizeTraitRef as ar, resolveConfigRefEventName as as, type TraitScope as at, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type Trait as g, type CallSiteConfig as h, type CallSiteConfigEntry as i, type TraitEventContract as j, CONFIG_REF_EVENT_PATTERN as k, ConfigFieldDeclarationSchema as l, type ConfigFieldItemsDeclaration as m, type ConfigRefEventError as n, DeclaredTraitConfigSchema as o, type EntityFieldContract as p, EntityFieldContractSchema as q, type Event as r, type EventInput as s, EventPayloadFieldSchema as t, EventSchema as u, type EventScope as v, EventScopeSchema as w, type GuardInput as x, GuardSchema as y, ListenSourceSchema as z };
|