@x12i/memorix-metadata 3.0.2 → 3.0.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/README.md +6 -6
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/kinds.js +1 -1
- package/dist/kinds.js.map +1 -1
- package/dist/multi-agent-rule.d.ts +3 -3
- package/dist/multi-agent-rule.d.ts.map +1 -1
- package/dist/multi-agent-rule.js +7 -7
- package/dist/multi-agent-rule.js.map +1 -1
- package/dist/normalize.d.ts +2 -2
- package/dist/normalize.d.ts.map +1 -1
- package/dist/normalize.js +13 -4
- package/dist/normalize.js.map +1 -1
- package/dist/resolve.d.ts +14 -2
- package/dist/resolve.d.ts.map +1 -1
- package/dist/resolve.js +216 -131
- package/dist/resolve.js.map +1 -1
- package/dist/streams.d.ts +17 -0
- package/dist/streams.d.ts.map +1 -0
- package/dist/streams.js +76 -0
- package/dist/streams.js.map +1 -0
- package/dist/types.d.ts +70 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +22 -2
- package/dist/types.js.map +1 -1
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +87 -2
- package/dist/validate.js.map +1 -1
- package/examples/custom-kinds/acme-ui-tabs.pack.json +2 -2
- package/examples/invalid/agent-classification.json +45 -45
- package/examples/invalid/broken-binding.json +49 -49
- package/examples/invalid/completion-mapping-with-exec-policy.json +41 -41
- package/examples/invalid/missing-parent.json +45 -45
- package/examples/invalid/operational-kind-root.json +49 -49
- package/examples/invalid/pipeline-unknown-service.json +38 -38
- package/examples/invalid/relationship-missing-rules.json +48 -48
- package/examples/invalid/relationship-with-storage.json +48 -48
- package/examples/invalid/service-with-secrets.json +47 -47
- package/examples/knowx/normalized/pack.json +579 -0
- package/examples/{ops → opx}/normalized/pack.json +61 -61
- package/examples/{ops → opx}/raw/agents.json +8 -8
- package/examples/{ops → opx}/raw/pipelines-and-sources.json +14 -14
- package/examples/{ops → opx}/raw/relationship-definitions.json +1 -1
- package/examples/{ops → opx}/raw/view-definitions.json +4 -4
- package/examples/{ops → opx}/raw/write-and-source-mappings.json +18 -18
- package/examples/{project-ops → project-opx}/normalized/pack.json +60 -60
- package/package.json +1 -1
- /package/examples/{ops → opx}/raw/abstract-bindings.json +0 -0
- /package/examples/{ops → opx}/raw/abstract-types.json +0 -0
- /package/examples/{ops → opx}/raw/object-types.json +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "memorix-metadata/1",
|
|
3
|
-
"agentId": "project-
|
|
3
|
+
"agentId": "project-opx",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"agents": [
|
|
6
6
|
{
|
|
7
|
-
"id": "
|
|
7
|
+
"id": "opx",
|
|
8
8
|
"name": "Operations (generic parent)",
|
|
9
9
|
"description": "Complete generic parent agent for ordinary operational work. Permanent Memorix acceptance pack.",
|
|
10
10
|
"parentId": null
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"id": "project-
|
|
14
|
-
"name": "Project Operations (child of
|
|
15
|
-
"description": "Inheritance smoke agent. Extends
|
|
16
|
-
"parentId": "
|
|
13
|
+
"id": "project-opx",
|
|
14
|
+
"name": "Project Operations (child of opx)",
|
|
15
|
+
"description": "Inheritance smoke agent. Extends opx without replacing core definitions.",
|
|
16
|
+
"parentId": "opx"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"objectTypes": [
|
|
@@ -269,17 +269,17 @@
|
|
|
269
269
|
{
|
|
270
270
|
"abstractProperty": "title",
|
|
271
271
|
"contentType": "snapshots",
|
|
272
|
-
"mappingId": "
|
|
272
|
+
"mappingId": "opx-people-abstract-employees"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"abstractProperty": "role",
|
|
276
276
|
"contentType": "snapshots",
|
|
277
|
-
"mappingId": "
|
|
277
|
+
"mappingId": "opx-people-abstract-employees"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
"abstractProperty": "lens",
|
|
281
281
|
"contentType": "snapshots",
|
|
282
|
-
"mappingId": "
|
|
282
|
+
"mappingId": "opx-people-abstract-employees"
|
|
283
283
|
}
|
|
284
284
|
]
|
|
285
285
|
},
|
|
@@ -290,17 +290,17 @@
|
|
|
290
290
|
{
|
|
291
291
|
"abstractProperty": "title",
|
|
292
292
|
"contentType": "snapshots",
|
|
293
|
-
"mappingId": "
|
|
293
|
+
"mappingId": "opx-people-abstract-contractors"
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"abstractProperty": "role",
|
|
297
297
|
"contentType": "snapshots",
|
|
298
|
-
"mappingId": "
|
|
298
|
+
"mappingId": "opx-people-abstract-contractors"
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
"abstractProperty": "lens",
|
|
302
302
|
"contentType": "snapshots",
|
|
303
|
-
"mappingId": "
|
|
303
|
+
"mappingId": "opx-people-abstract-contractors"
|
|
304
304
|
}
|
|
305
305
|
]
|
|
306
306
|
}
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"id": "from-source-assignee",
|
|
351
351
|
"kind": "source-field",
|
|
352
352
|
"sourcePath": "assigneeId",
|
|
353
|
-
"notes": "
|
|
353
|
+
"notes": "opx-source work-items.assigneeId resolves across employees and contractors"
|
|
354
354
|
}
|
|
355
355
|
]
|
|
356
356
|
},
|
|
@@ -441,8 +441,8 @@
|
|
|
441
441
|
],
|
|
442
442
|
"mappings": [
|
|
443
443
|
{
|
|
444
|
-
"id": "
|
|
445
|
-
"sourceId": "
|
|
444
|
+
"id": "opx-source-employees-to-raw",
|
|
445
|
+
"sourceId": "opx-source",
|
|
446
446
|
"endpoint": "/employees",
|
|
447
447
|
"objectType": "employees",
|
|
448
448
|
"contentType": "raw",
|
|
@@ -479,8 +479,8 @@
|
|
|
479
479
|
}
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
|
-
"id": "
|
|
483
|
-
"sourceId": "
|
|
482
|
+
"id": "opx-source-contractors-to-raw",
|
|
483
|
+
"sourceId": "opx-source",
|
|
484
484
|
"endpoint": "/contractors",
|
|
485
485
|
"objectType": "contractors",
|
|
486
486
|
"contentType": "raw",
|
|
@@ -517,8 +517,8 @@
|
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
|
-
"id": "
|
|
521
|
-
"sourceId": "
|
|
520
|
+
"id": "opx-source-work-items-to-raw",
|
|
521
|
+
"sourceId": "opx-source",
|
|
522
522
|
"endpoint": "/work-items",
|
|
523
523
|
"objectType": "work-items",
|
|
524
524
|
"contentType": "raw",
|
|
@@ -532,8 +532,8 @@
|
|
|
532
532
|
}
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
|
-
"id": "
|
|
536
|
-
"sourceId": "
|
|
535
|
+
"id": "opx-source-work-item-context",
|
|
536
|
+
"sourceId": "opx-source",
|
|
537
537
|
"endpoint": "/work-items/:id/context",
|
|
538
538
|
"objectType": "work-items",
|
|
539
539
|
"contentType": "context",
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
|
-
"id": "
|
|
551
|
+
"id": "opx-people-abstract-employees",
|
|
552
552
|
"purpose": "abstract",
|
|
553
553
|
"abstractType": "People",
|
|
554
554
|
"objectType": "employees",
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
586
|
{
|
|
587
|
-
"id": "
|
|
587
|
+
"id": "opx-people-abstract-contractors",
|
|
588
588
|
"purpose": "abstract",
|
|
589
589
|
"abstractType": "People",
|
|
590
590
|
"objectType": "contractors",
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
}
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
|
-
"id": "
|
|
623
|
+
"id": "opx-work-items-completion-priority",
|
|
624
624
|
"purpose": "completion",
|
|
625
625
|
"objectType": "work-items",
|
|
626
626
|
"contentType": "snapshots",
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
],
|
|
648
648
|
"views": [
|
|
649
649
|
{
|
|
650
|
-
"id": "
|
|
650
|
+
"id": "opx-work-items-list",
|
|
651
651
|
"kind": "list",
|
|
652
652
|
"objectType": "work-items",
|
|
653
653
|
"title": "Work items",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
]
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
"id": "
|
|
661
|
+
"id": "opx-work-items-item",
|
|
662
662
|
"kind": "item",
|
|
663
663
|
"objectType": "work-items",
|
|
664
664
|
"title": "Work item",
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
]
|
|
672
672
|
},
|
|
673
673
|
{
|
|
674
|
-
"id": "
|
|
674
|
+
"id": "opx-people-list",
|
|
675
675
|
"kind": "list",
|
|
676
676
|
"abstractType": "People",
|
|
677
677
|
"title": "People",
|
|
@@ -682,18 +682,18 @@
|
|
|
682
682
|
]
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
|
-
"id": "
|
|
685
|
+
"id": "opx-work-item-expand-people",
|
|
686
686
|
"kind": "relationship-expansion",
|
|
687
687
|
"objectType": "work-items",
|
|
688
688
|
"relationshipDefinitionId": "people-assigned-to-work-items",
|
|
689
689
|
"direction": "to-from"
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
|
-
"id": "project-
|
|
692
|
+
"id": "project-opx-work-items-list",
|
|
693
693
|
"kind": "list",
|
|
694
694
|
"objectType": "work-items",
|
|
695
695
|
"title": "Project work items",
|
|
696
|
-
"extends": "
|
|
696
|
+
"extends": "opx-work-items-list",
|
|
697
697
|
"columns": [
|
|
698
698
|
"concept.title",
|
|
699
699
|
"data.status"
|
|
@@ -702,59 +702,59 @@
|
|
|
702
702
|
],
|
|
703
703
|
"writes": [
|
|
704
704
|
{
|
|
705
|
-
"id": "
|
|
705
|
+
"id": "opx-employees-snapshots",
|
|
706
706
|
"objectType": "employees",
|
|
707
707
|
"contentType": "snapshots",
|
|
708
708
|
"identity": {
|
|
709
709
|
"primaryKind": "employeeId",
|
|
710
|
-
"issuer": "
|
|
710
|
+
"issuer": "opx-source"
|
|
711
711
|
}
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
|
-
"id": "
|
|
714
|
+
"id": "opx-contractors-snapshots",
|
|
715
715
|
"objectType": "contractors",
|
|
716
716
|
"contentType": "snapshots",
|
|
717
717
|
"identity": {
|
|
718
718
|
"primaryKind": "contractorId",
|
|
719
|
-
"issuer": "
|
|
719
|
+
"issuer": "opx-source"
|
|
720
720
|
}
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
|
-
"id": "
|
|
723
|
+
"id": "opx-work-items-snapshots",
|
|
724
724
|
"objectType": "work-items",
|
|
725
725
|
"contentType": "snapshots",
|
|
726
726
|
"identity": {
|
|
727
727
|
"primaryKind": "workItemId",
|
|
728
|
-
"issuer": "
|
|
728
|
+
"issuer": "opx-source"
|
|
729
729
|
}
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
"id": "
|
|
732
|
+
"id": "opx-procedures-snapshots",
|
|
733
733
|
"objectType": "procedures",
|
|
734
734
|
"contentType": "snapshots",
|
|
735
735
|
"identity": {
|
|
736
736
|
"primaryKind": "procedureId",
|
|
737
|
-
"issuer": "
|
|
737
|
+
"issuer": "opx-source"
|
|
738
738
|
}
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
|
-
"id": "
|
|
741
|
+
"id": "opx-activity-events-snapshots",
|
|
742
742
|
"objectType": "activity-events",
|
|
743
743
|
"contentType": "snapshots",
|
|
744
744
|
"identity": {
|
|
745
745
|
"primaryKind": "activityEventId",
|
|
746
|
-
"issuer": "
|
|
746
|
+
"issuer": "opx-source"
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
],
|
|
750
750
|
"sources": [
|
|
751
751
|
{
|
|
752
|
-
"id": "
|
|
753
|
-
"name": "
|
|
752
|
+
"id": "opx-source",
|
|
753
|
+
"name": "Opx-service",
|
|
754
754
|
"kind": "rest-fixture",
|
|
755
|
-
"baseUrlEnv": "
|
|
756
|
-
"defaultBaseUrl": "http://127.0.0.1:
|
|
757
|
-
"credentialRef": "
|
|
755
|
+
"baseUrlEnv": "OPX_SOURCE_URL",
|
|
756
|
+
"defaultBaseUrl": "http://127.0.0.1:5102",
|
|
757
|
+
"credentialRef": "opx-source-local",
|
|
758
758
|
"endpoints": [
|
|
759
759
|
"/employees",
|
|
760
760
|
"/contractors",
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
],
|
|
768
768
|
"services": [
|
|
769
769
|
{
|
|
770
|
-
"id": "
|
|
770
|
+
"id": "opx-normalize",
|
|
771
771
|
"name": "Normalize records",
|
|
772
772
|
"description": "Logical normalize capability for ops knowledge pull",
|
|
773
773
|
"capabilities": [
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
|
-
"id": "
|
|
794
|
+
"id": "opx-completion",
|
|
795
795
|
"name": "Field completion",
|
|
796
796
|
"capabilities": [
|
|
797
797
|
"completion"
|
|
@@ -816,15 +816,15 @@
|
|
|
816
816
|
],
|
|
817
817
|
"pipelines": [
|
|
818
818
|
{
|
|
819
|
-
"id": "
|
|
820
|
-
"name": "Scheduled knowledge pull from
|
|
819
|
+
"id": "opx-knowledge-pull",
|
|
820
|
+
"name": "Scheduled knowledge pull from opx-source",
|
|
821
821
|
"trigger": "scheduled",
|
|
822
822
|
"mode": "knowledge",
|
|
823
823
|
"steps": [
|
|
824
824
|
{
|
|
825
825
|
"id": "pull",
|
|
826
826
|
"kind": "memory-pull",
|
|
827
|
-
"sourceId": "
|
|
827
|
+
"sourceId": "opx-source"
|
|
828
828
|
},
|
|
829
829
|
{
|
|
830
830
|
"id": "land-raw",
|
|
@@ -841,13 +841,13 @@
|
|
|
841
841
|
{
|
|
842
842
|
"id": "normalize-svc",
|
|
843
843
|
"kind": "invoke-service",
|
|
844
|
-
"serviceId": "
|
|
844
|
+
"serviceId": "opx-normalize"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
847
|
"id": "complete",
|
|
848
848
|
"kind": "completion",
|
|
849
|
-
"serviceId": "
|
|
850
|
-
"mappingId": "
|
|
849
|
+
"serviceId": "opx-completion",
|
|
850
|
+
"mappingId": "opx-work-items-completion-priority",
|
|
851
851
|
"completionPolicy": {
|
|
852
852
|
"mode": "fill-missing",
|
|
853
853
|
"maxFields": 20
|
|
@@ -856,7 +856,7 @@
|
|
|
856
856
|
]
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
"id": "
|
|
859
|
+
"id": "opx-context-pull",
|
|
860
860
|
"name": "On-demand work-item context pull",
|
|
861
861
|
"trigger": "on-demand",
|
|
862
862
|
"mode": "context",
|
|
@@ -864,7 +864,7 @@
|
|
|
864
864
|
{
|
|
865
865
|
"id": "pull",
|
|
866
866
|
"kind": "memory-pull",
|
|
867
|
-
"sourceId": "
|
|
867
|
+
"sourceId": "opx-source"
|
|
868
868
|
},
|
|
869
869
|
{
|
|
870
870
|
"id": "land-raw",
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
]
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
|
-
"id": "
|
|
884
|
+
"id": "opx-relationship-build",
|
|
885
885
|
"name": "Discover and write lightweight relationships",
|
|
886
886
|
"trigger": "explicit",
|
|
887
887
|
"steps": [
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
]
|
|
901
901
|
},
|
|
902
902
|
{
|
|
903
|
-
"id": "
|
|
903
|
+
"id": "opx-analysis",
|
|
904
904
|
"name": "Work-item analysis sibling",
|
|
905
905
|
"trigger": "explicit",
|
|
906
906
|
"steps": [
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
]
|
|
917
917
|
},
|
|
918
918
|
{
|
|
919
|
-
"id": "
|
|
919
|
+
"id": "opx-workflow",
|
|
920
920
|
"name": "Work-item workflow sibling",
|
|
921
921
|
"trigger": "explicit",
|
|
922
922
|
"steps": [
|
|
@@ -934,8 +934,8 @@
|
|
|
934
934
|
],
|
|
935
935
|
"schedules": [
|
|
936
936
|
{
|
|
937
|
-
"id": "
|
|
938
|
-
"pipelineId": "
|
|
937
|
+
"id": "opx-knowledge-hourly",
|
|
938
|
+
"pipelineId": "opx-knowledge-pull",
|
|
939
939
|
"cron": "0 * * * *",
|
|
940
940
|
"timezone": "UTC",
|
|
941
941
|
"enabled": true
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|