@almadar/core 10.56.0 → 10.58.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 +9 -3
- package/dist/builders.js +7 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DxD-XTI8.d.ts → effect-BH2k4oK6.d.ts} +45 -13
- package/dist/{entityAccess-Bnz5CJ3S.d.ts → entityAccess-QAurFO7l.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +50 -15
- package/dist/factory-runtime/index.js +94 -10
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +197 -13
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +1 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +323 -13
- package/dist/patterns/index.js +184 -11
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +64 -1
- package/dist/patterns/patterns-registry.json +113 -8
- package/dist/patterns/registry.json +113 -8
- package/dist/patterns/services-registry.json +146 -237
- package/dist/{schema-Nk1usPv6.d.ts → schema-Sk_irLOY.d.ts} +88 -88
- package/dist/{trait-WnYkvPdZ.d.ts → trait-Bw4nWHu1.d.ts} +20 -20
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +6 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C4YztU2N.d.ts → types-D71hY_4A.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-
|
|
3
|
+
"exportedAt": "2026-08-16T04:55:02.135Z",
|
|
4
4
|
"services": {
|
|
5
5
|
"llm": {
|
|
6
6
|
"name": "llm",
|
|
@@ -153,6 +153,49 @@
|
|
|
153
153
|
}
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
|
+
"ml": {
|
|
157
|
+
"name": "ml",
|
|
158
|
+
"description": "ML service — model inference on a trained or off-the-shelf model",
|
|
159
|
+
"category": "ai",
|
|
160
|
+
"package": "@almadar/llm",
|
|
161
|
+
"actions": [
|
|
162
|
+
{
|
|
163
|
+
"name": "infer",
|
|
164
|
+
"description": "Run inference against a deployed model checkpoint.",
|
|
165
|
+
"params": [
|
|
166
|
+
{
|
|
167
|
+
"name": "model",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"required": true,
|
|
170
|
+
"description": "`hf:<id>` for off-the-shelf weights, or a masar checkpoint id."
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "input",
|
|
174
|
+
"type": "ServiceParamsValue",
|
|
175
|
+
"required": true,
|
|
176
|
+
"description": "JSON-safe model input (tensor-shaped payload from `contract/entity-to-tensor`)."
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"responseShape": {
|
|
180
|
+
"output": "ServiceParamsValue",
|
|
181
|
+
"confidence": "number",
|
|
182
|
+
"violations": "ServiceParamsValue[]"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"credentials": [
|
|
187
|
+
{
|
|
188
|
+
"envVar": "MASAR_URL",
|
|
189
|
+
"required": true,
|
|
190
|
+
"description": "Base URL of the deployed model-serving orbital"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"envVar": "MASAR_ML_TRAIT",
|
|
194
|
+
"required": true,
|
|
195
|
+
"description": "Kebab-case trait name the serving orbital exposes its /events route under"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
156
199
|
"data": {
|
|
157
200
|
"name": "data",
|
|
158
201
|
"description": "Data service — CRUD operations on entities",
|
|
@@ -389,240 +432,6 @@
|
|
|
389
432
|
],
|
|
390
433
|
"credentials": []
|
|
391
434
|
},
|
|
392
|
-
"session": {
|
|
393
|
-
"name": "session",
|
|
394
|
-
"description": "Session management — create, get, list, clear agent sessions",
|
|
395
|
-
"category": "ai",
|
|
396
|
-
"package": "@almadar/agent",
|
|
397
|
-
"actions": [
|
|
398
|
-
{
|
|
399
|
-
"name": "create",
|
|
400
|
-
"description": "",
|
|
401
|
-
"params": [
|
|
402
|
-
{
|
|
403
|
-
"name": "threadId",
|
|
404
|
-
"type": "string",
|
|
405
|
-
"required": true,
|
|
406
|
-
"description": ""
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"name": "userId",
|
|
410
|
-
"type": "string",
|
|
411
|
-
"required": false,
|
|
412
|
-
"description": ""
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"responseShape": {
|
|
416
|
-
"threadId": "string",
|
|
417
|
-
"created": "boolean"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "get",
|
|
422
|
-
"description": "",
|
|
423
|
-
"params": [
|
|
424
|
-
{
|
|
425
|
-
"name": "threadId",
|
|
426
|
-
"type": "string",
|
|
427
|
-
"required": true,
|
|
428
|
-
"description": ""
|
|
429
|
-
}
|
|
430
|
-
],
|
|
431
|
-
"responseShape": {
|
|
432
|
-
"session": "EventPayload | null"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"name": "list",
|
|
437
|
-
"description": "",
|
|
438
|
-
"params": [
|
|
439
|
-
{
|
|
440
|
-
"name": "userId",
|
|
441
|
-
"type": "string",
|
|
442
|
-
"required": false,
|
|
443
|
-
"description": ""
|
|
444
|
-
}
|
|
445
|
-
],
|
|
446
|
-
"responseShape": {
|
|
447
|
-
"sessions": "array"
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "clear",
|
|
452
|
-
"description": "",
|
|
453
|
-
"params": [
|
|
454
|
-
{
|
|
455
|
-
"name": "threadId",
|
|
456
|
-
"type": "string",
|
|
457
|
-
"required": true,
|
|
458
|
-
"description": ""
|
|
459
|
-
}
|
|
460
|
-
],
|
|
461
|
-
"responseShape": {
|
|
462
|
-
"cleared": "boolean"
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
],
|
|
466
|
-
"credentials": []
|
|
467
|
-
},
|
|
468
|
-
"memory": {
|
|
469
|
-
"name": "memory",
|
|
470
|
-
"description": "Memory service — user preferences and generation history",
|
|
471
|
-
"category": "ai",
|
|
472
|
-
"package": "@almadar/agent",
|
|
473
|
-
"actions": [
|
|
474
|
-
{
|
|
475
|
-
"name": "getUserPreferences",
|
|
476
|
-
"description": "",
|
|
477
|
-
"params": [
|
|
478
|
-
{
|
|
479
|
-
"name": "userId",
|
|
480
|
-
"type": "string",
|
|
481
|
-
"required": true,
|
|
482
|
-
"description": ""
|
|
483
|
-
}
|
|
484
|
-
],
|
|
485
|
-
"responseShape": {
|
|
486
|
-
"preferences": "EventPayload | null"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "updateUserPreferences",
|
|
491
|
-
"description": "",
|
|
492
|
-
"params": [
|
|
493
|
-
{
|
|
494
|
-
"name": "userId",
|
|
495
|
-
"type": "string",
|
|
496
|
-
"required": true,
|
|
497
|
-
"description": ""
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"name": "preferences",
|
|
501
|
-
"type": "ServiceParams",
|
|
502
|
-
"required": true,
|
|
503
|
-
"description": ""
|
|
504
|
-
}
|
|
505
|
-
],
|
|
506
|
-
"responseShape": {
|
|
507
|
-
"updated": "boolean"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "recordGeneration",
|
|
512
|
-
"description": "",
|
|
513
|
-
"params": [
|
|
514
|
-
{
|
|
515
|
-
"name": "userId",
|
|
516
|
-
"type": "string",
|
|
517
|
-
"required": true,
|
|
518
|
-
"description": ""
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"name": "prompt",
|
|
522
|
-
"type": "string",
|
|
523
|
-
"required": true,
|
|
524
|
-
"description": ""
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"name": "result",
|
|
528
|
-
"type": "string",
|
|
529
|
-
"required": true,
|
|
530
|
-
"description": ""
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"name": "skill",
|
|
534
|
-
"type": "string",
|
|
535
|
-
"required": false,
|
|
536
|
-
"description": ""
|
|
537
|
-
}
|
|
538
|
-
],
|
|
539
|
-
"responseShape": {
|
|
540
|
-
"sessionId": "string"
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"name": "getGenerationHistory",
|
|
545
|
-
"description": "",
|
|
546
|
-
"params": [
|
|
547
|
-
{
|
|
548
|
-
"name": "userId",
|
|
549
|
-
"type": "string",
|
|
550
|
-
"required": true,
|
|
551
|
-
"description": ""
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"name": "limit",
|
|
555
|
-
"type": "number",
|
|
556
|
-
"required": false,
|
|
557
|
-
"description": ""
|
|
558
|
-
}
|
|
559
|
-
],
|
|
560
|
-
"responseShape": {
|
|
561
|
-
"sessions": "array"
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
],
|
|
565
|
-
"credentials": []
|
|
566
|
-
},
|
|
567
|
-
"agent": {
|
|
568
|
-
"name": "agent",
|
|
569
|
-
"description": "Agent service — send messages and manage generation",
|
|
570
|
-
"category": "ai",
|
|
571
|
-
"package": "@almadar/agent",
|
|
572
|
-
"actions": [
|
|
573
|
-
{
|
|
574
|
-
"name": "sendMessage",
|
|
575
|
-
"description": "",
|
|
576
|
-
"params": [
|
|
577
|
-
{
|
|
578
|
-
"name": "message",
|
|
579
|
-
"type": "string",
|
|
580
|
-
"required": true,
|
|
581
|
-
"description": ""
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "threadId",
|
|
585
|
-
"type": "string",
|
|
586
|
-
"required": false,
|
|
587
|
-
"description": ""
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
"name": "skill",
|
|
591
|
-
"type": "string",
|
|
592
|
-
"required": false,
|
|
593
|
-
"description": ""
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "context",
|
|
597
|
-
"type": "ServiceParams",
|
|
598
|
-
"required": false,
|
|
599
|
-
"description": ""
|
|
600
|
-
}
|
|
601
|
-
],
|
|
602
|
-
"responseShape": {
|
|
603
|
-
"response": "string",
|
|
604
|
-
"threadId": "string",
|
|
605
|
-
"toolCalls": "readonly EventPayloadValue[]"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"name": "cancelGeneration",
|
|
610
|
-
"description": "",
|
|
611
|
-
"params": [
|
|
612
|
-
{
|
|
613
|
-
"name": "threadId",
|
|
614
|
-
"type": "string",
|
|
615
|
-
"required": true,
|
|
616
|
-
"description": ""
|
|
617
|
-
}
|
|
618
|
-
],
|
|
619
|
-
"responseShape": {
|
|
620
|
-
"cancelled": "boolean"
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
],
|
|
624
|
-
"credentials": []
|
|
625
|
-
},
|
|
626
435
|
"migration": {
|
|
627
436
|
"name": "migration",
|
|
628
437
|
"description": "Migration service — import external data (notes, docs, references) into the system",
|
|
@@ -635,9 +444,21 @@
|
|
|
635
444
|
"params": [
|
|
636
445
|
{
|
|
637
446
|
"name": "source",
|
|
638
|
-
"type": "
|
|
447
|
+
"type": "object",
|
|
639
448
|
"required": true,
|
|
640
449
|
"description": "ImportSource descriptor (kind + source-specific config)"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "connectionRef",
|
|
453
|
+
"type": "string",
|
|
454
|
+
"required": false,
|
|
455
|
+
"description": "Host-side credential reference (a name, never the secret)"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "files",
|
|
459
|
+
"type": "string[]",
|
|
460
|
+
"required": false,
|
|
461
|
+
"description": "Optional explicit file list to restrict the listing"
|
|
641
462
|
}
|
|
642
463
|
],
|
|
643
464
|
"responseShape": {
|
|
@@ -650,7 +471,7 @@
|
|
|
650
471
|
"params": [
|
|
651
472
|
{
|
|
652
473
|
"name": "source",
|
|
653
|
-
"type": "
|
|
474
|
+
"type": "object",
|
|
654
475
|
"required": true,
|
|
655
476
|
"description": "ImportSource descriptor (kind + source-specific config)"
|
|
656
477
|
},
|
|
@@ -659,6 +480,12 @@
|
|
|
659
480
|
"type": "string",
|
|
660
481
|
"required": true,
|
|
661
482
|
"description": ""
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "connectionRef",
|
|
486
|
+
"type": "string",
|
|
487
|
+
"required": false,
|
|
488
|
+
"description": "Host-side credential reference (a name, never the secret)"
|
|
662
489
|
}
|
|
663
490
|
],
|
|
664
491
|
"responseShape": {
|
|
@@ -680,6 +507,12 @@
|
|
|
680
507
|
"type": "array",
|
|
681
508
|
"required": true,
|
|
682
509
|
"description": "ImportUnit[] staged for commit"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "connectionRef",
|
|
513
|
+
"type": "string",
|
|
514
|
+
"required": false,
|
|
515
|
+
"description": "Host-side credential reference (a name, never the secret)"
|
|
683
516
|
}
|
|
684
517
|
],
|
|
685
518
|
"responseShape": {
|
|
@@ -1313,6 +1146,27 @@
|
|
|
1313
1146
|
"summary": "string",
|
|
1314
1147
|
"keyPoints": "string[]"
|
|
1315
1148
|
}
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "embed",
|
|
1152
|
+
"description": "",
|
|
1153
|
+
"params": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "texts",
|
|
1156
|
+
"type": "string[]",
|
|
1157
|
+
"required": true,
|
|
1158
|
+
"description": ""
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "model",
|
|
1162
|
+
"type": "string",
|
|
1163
|
+
"required": false,
|
|
1164
|
+
"description": ""
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"responseShape": {
|
|
1168
|
+
"embeddings": "number[][]"
|
|
1169
|
+
}
|
|
1316
1170
|
}
|
|
1317
1171
|
],
|
|
1318
1172
|
"credentials": [
|
|
@@ -1531,6 +1385,61 @@
|
|
|
1531
1385
|
}
|
|
1532
1386
|
]
|
|
1533
1387
|
},
|
|
1388
|
+
"webhook": {
|
|
1389
|
+
"name": "webhook",
|
|
1390
|
+
"description": "Outbound webhook — signed HTTP POST notifications to external endpoints",
|
|
1391
|
+
"category": "messaging",
|
|
1392
|
+
"package": "@almadar/integrations",
|
|
1393
|
+
"actions": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "send",
|
|
1396
|
+
"description": "",
|
|
1397
|
+
"params": [
|
|
1398
|
+
{
|
|
1399
|
+
"name": "url",
|
|
1400
|
+
"type": "string",
|
|
1401
|
+
"required": true,
|
|
1402
|
+
"description": ""
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "event",
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
"required": true,
|
|
1408
|
+
"description": ""
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"name": "payload",
|
|
1412
|
+
"type": "object",
|
|
1413
|
+
"required": false,
|
|
1414
|
+
"description": ""
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "secret",
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"required": false,
|
|
1420
|
+
"description": ""
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1423
|
+
"responseShape": {
|
|
1424
|
+
"status": "number",
|
|
1425
|
+
"ok": "boolean",
|
|
1426
|
+
"durationMs": "number"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
"credentials": [
|
|
1431
|
+
{
|
|
1432
|
+
"envVar": "WEBHOOK_SIGNING_SECRET",
|
|
1433
|
+
"required": false,
|
|
1434
|
+
"description": "Default HMAC-SHA256 signing secret (per-call secret overrides)"
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"envVar": "WEBHOOK_TIMEOUT_MS",
|
|
1438
|
+
"required": false,
|
|
1439
|
+
"description": "Per-request timeout (ms, default 10000)"
|
|
1440
|
+
}
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1534
1443
|
"docker": {
|
|
1535
1444
|
"name": "docker",
|
|
1536
1445
|
"description": "Docker — container and image management",
|