@blockml/inspect 0.9.1

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.
Files changed (37) hide show
  1. package/blocks/org/blockml/bml/inspect/InspectOptions.bml +49 -0
  2. package/blocks/org/blockml/bml/inspect/InspectResult.bml +54 -0
  3. package/blocks/org/blockml/bml/inspect/InspectType.bml +33 -0
  4. package/blocks/org/blockml/bml/inspect/InspectTypeRef.bml +52 -0
  5. package/blocks/org/blockml/bml/inspect/InspectedBlock.bml +81 -0
  6. package/blocks/org/blockml/bml/inspect/InspectedGenericType.bml +43 -0
  7. package/blocks/org/blockml/bml/inspect/InspectedImplementation.bml +43 -0
  8. package/blocks/org/blockml/bml/inspect/InspectedInstance.bml +49 -0
  9. package/blocks/org/blockml/bml/inspect/InspectedMember.bml +84 -0
  10. package/blocks/org/blockml/bml/inspect/Library.bml +84 -0
  11. package/blocks/org/blockml/bml/inspect/README.bml +41 -0
  12. package/blocks/org/blockml/bml/inspect/capability/InspectBlock.bml +48 -0
  13. package/blocks/org/blockml/bml/inspect/documentation/ArchitectureOverview.bml +44 -0
  14. package/blocks/org/blockml/bml/inspect/documentation/DesignDecisions.bml +58 -0
  15. package/blocks/org/blockml/bml/inspect/documentation/Introduction.bml +43 -0
  16. package/blocks/org/blockml/bml/inspect/documentation/LayerSeparation.bml +43 -0
  17. package/blocks/org/blockml/bml/inspect/documentation/PackageOwnership.bml +40 -0
  18. package/blocks/org/blockml/bml/inspect/documentation/PublicApi.bml +44 -0
  19. package/blocks/org/blockml/bml/inspect/documentation/ScopeExclusions.bml +45 -0
  20. package/blocks/org/blockml/bml/inspect/documentation/V1Scope.bml +46 -0
  21. package/dist/index.d.ts +5 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +4 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/inspect.d.ts +6 -0
  26. package/dist/inspect.d.ts.map +1 -0
  27. package/dist/inspect.js +462 -0
  28. package/dist/inspect.js.map +1 -0
  29. package/dist/type-refs.d.ts +6 -0
  30. package/dist/type-refs.d.ts.map +1 -0
  31. package/dist/type-refs.js +101 -0
  32. package/dist/type-refs.js.map +1 -0
  33. package/dist/types.d.ts +96 -0
  34. package/dist/types.d.ts.map +1 -0
  35. package/dist/types.js +7 -0
  36. package/dist/types.js.map +1 -0
  37. package/package.json +42 -0
@@ -0,0 +1,49 @@
1
+ <!--
2
+ Inspect — InspectOptions
3
+ FQN: org.blockml.bml.inspect.InspectOptions
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectOptions</name>
25
+ <type>inspect:InspectOptions</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Options for inspectBlock and inspectProject</is>
28
+
29
+ <documentation>Default depth 1, max depth 3, default maxBlocks 48. inspectProject also accepts srcDir and libraries for bootstrapFullProjectRegistry.</documentation>
30
+
31
+ <properties>
32
+ <depth type="type:Integer">
33
+ <documentation>Expansion depth. (optional)</documentation>
34
+ </depth>
35
+ <rootDir type="type:Text">
36
+ <documentation>Project root for relative paths and origin. (optional)</documentation>
37
+ </rootDir>
38
+ <srcDir type="type:Text">
39
+ <documentation>Source directory override. (optional)</documentation>
40
+ </srcDir>
41
+ <libraries type="type:Text">
42
+ <documentation>Extra library paths. TS: Text[]. (optional)</documentation>
43
+ </libraries>
44
+ <maxBlocks type="type:Integer">
45
+ <documentation>Expansion budget. (optional)</documentation>
46
+ </maxBlocks>
47
+ </properties>
48
+
49
+ </block>
@@ -0,0 +1,54 @@
1
+ <!--
2
+ Inspect — InspectResult
3
+ FQN: org.blockml.bml.inspect.InspectResult
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectResult</name>
25
+ <type>inspect:InspectResult</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Ephemeral JSON inspect view for one root FQN</is>
28
+
29
+ <documentation><![CDATA[Not a canonical model format. TS blocks is Record<fqn, InspectedBlock>. unresolved, cycles, and truncated are FQN lists.]]></documentation>
30
+
31
+ <properties>
32
+ <root type="type:Text">
33
+ <documentation>Inspected root FQN. (required)</documentation>
34
+ </root>
35
+ <depth type="type:Integer">
36
+ <documentation>Applied expansion depth. (required)</documentation>
37
+ </depth>
38
+ <unresolved type="type:Text">
39
+ <documentation>FQNs not found in the registry. TS: Text[]. (required)</documentation>
40
+ </unresolved>
41
+ <cycles type="type:Text">
42
+ <documentation>FQNs that closed an expansion cycle. TS: Text[]. (required)</documentation>
43
+ </cycles>
44
+ <truncated type="type:Text">
45
+ <documentation>FQNs skipped after the block budget. TS: Text[]. (required)</documentation>
46
+ </truncated>
47
+ </properties>
48
+ <aggregations>
49
+ <blocks type="inspect:InspectedBlock[]">
50
+ <documentation>Projected blocks. TS: Record keyed by FQN. (required)</documentation>
51
+ </blocks>
52
+ </aggregations>
53
+
54
+ </block>
@@ -0,0 +1,33 @@
1
+ <!--
2
+ Inspect — InspectType
3
+ FQN: org.blockml.bml.inspect.InspectType
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectType</name>
25
+ <type>inspect:InspectType</type>
26
+ <baseType>core:Entity</baseType>
27
+ <is>Abstract marker for Inspect projection data-structure blocks</is>
28
+
29
+ <documentation>InspectResult, InspectedBlock, and related ValueTypes used as capability payloads.</documentation>
30
+
31
+ <abstract>true</abstract>
32
+
33
+ </block>
@@ -0,0 +1,52 @@
1
+ <!--
2
+ Inspect — InspectTypeRef
3
+ FQN: org.blockml.bml.inspect.InspectTypeRef
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectTypeRef</name>
25
+ <type>inspect:InspectTypeRef</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Compact TypeExpression projection</is>
28
+
29
+ <documentation>kind is named, union, generic, anonymousStruct, self, genericParam, or grouped. Named FQNs stay as ref; they are not inlined.</documentation>
30
+
31
+ <properties>
32
+ <kind type="type:Text">
33
+ <documentation>TypeExpression kind. (required)</documentation>
34
+ </kind>
35
+ <ref type="type:Text">
36
+ <documentation>Named type FQN. (optional)</documentation>
37
+ </ref>
38
+ <args type="inspect:InspectTypeRef[]">
39
+ <documentation>Generic type arguments. (optional)</documentation>
40
+ </args>
41
+ <alternatives type="inspect:InspectTypeRef[]">
42
+ <documentation>Union alternatives. (optional)</documentation>
43
+ </alternatives>
44
+ <name type="type:Text">
45
+ <documentation>Generic parameter name. (optional)</documentation>
46
+ </name>
47
+ <multiplicity type="type:Text">
48
+ <documentation>min..max label. (optional)</documentation>
49
+ </multiplicity>
50
+ </properties>
51
+
52
+ </block>
@@ -0,0 +1,81 @@
1
+ <!--
2
+ Inspect — InspectedBlock
3
+ FQN: org.blockml.bml.inspect.InspectedBlock
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectedBlock</name>
25
+ <type>inspect:InspectedBlock</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Compact projection of one Block</is>
28
+
29
+ <documentation>Members are the effective set. baseType is an InspectTypeRef (generic arguments kept). ancestors are parent FQNs only — the inheritance chain is not copied into InspectResult.blocks. genericTypes are declared parameters, not subBlocks.</documentation>
30
+
31
+ <properties>
32
+ <fqn type="type:Text">
33
+ <documentation>Block FQN. (required)</documentation>
34
+ </fqn>
35
+ <name type="type:Text">
36
+ <documentation>Short name. (required)</documentation>
37
+ </name>
38
+ <file type="type:Text">
39
+ <documentation>Source path relative to project root. (optional)</documentation>
40
+ </file>
41
+ <origin type="type:Text">
42
+ <documentation>workspace, dependency, or unresolved. (optional)</documentation>
43
+ </origin>
44
+ <is type="type:Text">
45
+ <documentation>Idea descriptor. (optional)</documentation>
46
+ </is>
47
+ <documentation type="type:Text">
48
+ <documentation>First documentation entry. Truncated to 400 characters with an ellipsis when longer. (optional)</documentation>
49
+ </documentation>
50
+ <documentationTruncated type="type:Boolean">
51
+ <documentation>true when documentation was truncated. (optional)</documentation>
52
+ </documentationTruncated>
53
+ <baseType type="inspect:InspectTypeRef">
54
+ <documentation>Parent type; generic arguments are kept on args. (optional)</documentation>
55
+ </baseType>
56
+ <ancestors type="type:Text">
57
+ <documentation>baseType chain FQNs excluding self. TS: Text[]. (optional)</documentation>
58
+ </ancestors>
59
+ <contracts type="type:Text">
60
+ <documentation>Contract FQNs. TS: Text[]. (optional)</documentation>
61
+ </contracts>
62
+ <subBlocks type="type:Text">
63
+ <documentation>Nested sub-block FQNs. TS: Text[]. (optional)</documentation>
64
+ </subBlocks>
65
+ <abstract type="type:Boolean">
66
+ <documentation>true when the Block is abstract. (optional)</documentation>
67
+ </abstract>
68
+ <final type="type:Boolean">
69
+ <documentation>true when the Block is final. (optional)</documentation>
70
+ </final>
71
+ </properties>
72
+ <aggregations>
73
+ <genericTypes type="inspect:InspectedGenericType[]">
74
+ <documentation>Declared generic type parameters. (optional)</documentation>
75
+ </genericTypes>
76
+ <members type="inspect:InspectedMember[]">
77
+ <documentation>Effective members. (required)</documentation>
78
+ </members>
79
+ </aggregations>
80
+
81
+ </block>
@@ -0,0 +1,43 @@
1
+ <!--
2
+ Inspect — InspectedGenericType
3
+ FQN: org.blockml.bml.inspect.InspectedGenericType
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectedGenericType</name>
25
+ <type>inspect:InspectedGenericType</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Declared generic type parameter projection</is>
28
+
29
+ <documentation>One genericTypes entry from the inspected Block. baseType is the bound FQN. defaultType is the resolved default when authored (FQN or earlier parameter name).</documentation>
30
+
31
+ <properties>
32
+ <name type="type:Text">
33
+ <documentation>Parameter name (e.g. T). (required)</documentation>
34
+ </name>
35
+ <baseType type="inspect:InspectTypeRef">
36
+ <documentation>Constraint type. (required)</documentation>
37
+ </baseType>
38
+ <defaultType type="inspect:InspectTypeRef">
39
+ <documentation>Resolved default type when authored. (optional)</documentation>
40
+ </defaultType>
41
+ </properties>
42
+
43
+ </block>
@@ -0,0 +1,43 @@
1
+ <!--
2
+ Inspect — InspectedImplementation
3
+ FQN: org.blockml.bml.inspect.InspectedImplementation
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectedImplementation</name>
25
+ <type>inspect:InspectedImplementation</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>Capability implementation projection</is>
28
+
29
+ <documentation>language is the last segment of languageFqn (English, PseudoCode). source is truncated like documentation at 400 characters; sourceTruncated is true when cut.</documentation>
30
+
31
+ <properties>
32
+ <language type="type:Text">
33
+ <documentation>Implementation language name. (required)</documentation>
34
+ </language>
35
+ <source type="type:Text">
36
+ <documentation>Implementation text, possibly truncated. (required)</documentation>
37
+ </source>
38
+ <sourceTruncated type="type:Boolean">
39
+ <documentation>true when source was cut at 400 characters. (optional)</documentation>
40
+ </sourceTruncated>
41
+ </properties>
42
+
43
+ </block>
@@ -0,0 +1,49 @@
1
+ <!--
2
+ Inspect — InspectedInstance
3
+ FQN: org.blockml.bml.inspect.InspectedInstance
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectedInstance</name>
25
+ <type>inspect:InspectedInstance</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>One authored composition child on an aggregation</is>
28
+
29
+ <documentation><![CDATA[Compact projection of a composition BlockInstance. Enum literals use id. Library catalog entries are type-only. Nested aggregation fills are aggregations keyed by member name. TS members is Record<name, value>; aggregations is Record<name, InspectedInstance[]>.]]></documentation>
30
+
31
+ <properties>
32
+ <type type="type:Text">
33
+ <documentation>Instance type FQN. (required)</documentation>
34
+ </type>
35
+ <id type="type:Text">
36
+ <documentation>bml:id when authored. (optional)</documentation>
37
+ </id>
38
+ <generics type="type:Text">
39
+ <documentation>Raw bml:generics when authored. (optional)</documentation>
40
+ </generics>
41
+ <members type="type:Text">
42
+ <documentation>Authored instance member values. TS: Record of name to value. (optional)</documentation>
43
+ </members>
44
+ <aggregations type="type:Text">
45
+ <documentation>Nested aggregation fills. TS: Record of name to InspectedInstance list. (optional)</documentation>
46
+ </aggregations>
47
+ </properties>
48
+
49
+ </block>
@@ -0,0 +1,84 @@
1
+ <!--
2
+ Inspect — InspectedMember
3
+ FQN: org.blockml.bml.inspect.InspectedMember
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>InspectedMember</name>
25
+ <type>inspect:InspectedMember</type>
26
+ <baseType>inspect:InspectType</baseType>
27
+ <is>One effective member in an Inspect projection</is>
28
+
29
+ <documentation>kind is property, aggregation, association, or capability. inheritedFrom is omitted when the member is declared on the inspected Block. instances holds authored composition children when present. capability members include implementation (language + truncated source) when authored.</documentation>
30
+
31
+ <properties>
32
+ <kind type="type:Text">
33
+ <documentation>Member kind. (required)</documentation>
34
+ </kind>
35
+ <name type="type:Text">
36
+ <documentation>Logical member name. (required)</documentation>
37
+ </name>
38
+ <type type="inspect:InspectTypeRef">
39
+ <documentation>Projected member type. (optional)</documentation>
40
+ </type>
41
+ <inputType type="inspect:InspectTypeRef">
42
+ <documentation>Capability input type. (optional)</documentation>
43
+ </inputType>
44
+ <outputType type="inspect:InspectTypeRef">
45
+ <documentation>Capability output type. (optional)</documentation>
46
+ </outputType>
47
+ <throws type="type:Text">
48
+ <documentation>Thrown type FQNs. TS: Text[]. (optional)</documentation>
49
+ </throws>
50
+ <cardinality type="type:Text">
51
+ <documentation>Aggregation or association cardinality. (optional)</documentation>
52
+ </cardinality>
53
+ <inheritedFrom type="type:Text">
54
+ <documentation>Declaring ancestor or contract FQN. (optional)</documentation>
55
+ </inheritedFrom>
56
+ <visibility type="type:Text">
57
+ <documentation>Member visibility. (optional)</documentation>
58
+ </visibility>
59
+ <readOnly type="type:Boolean">
60
+ <documentation>true when the member is read-only. (optional)</documentation>
61
+ </readOnly>
62
+ <abstract type="type:Boolean">
63
+ <documentation>true when the member is abstract. (optional)</documentation>
64
+ </abstract>
65
+ <final type="type:Boolean">
66
+ <documentation>true when the member is final. (optional)</documentation>
67
+ </final>
68
+ <override type="type:Boolean">
69
+ <documentation>true when the member overrides an ancestor. (optional)</documentation>
70
+ </override>
71
+ <value type="type:Text">
72
+ <documentation>Literal property value. TS: unknown. (optional)</documentation>
73
+ </value>
74
+ <implementation type="inspect:InspectedImplementation">
75
+ <documentation>Authored capability implementation. (optional)</documentation>
76
+ </implementation>
77
+ </properties>
78
+ <aggregations>
79
+ <instances type="inspect:InspectedInstance[]">
80
+ <documentation>Authored composition children. Enum literals, Library catalog refs, nested ModelOperation/Task fills. (optional)</documentation>
81
+ </instances>
82
+ </aggregations>
83
+
84
+ </block>
@@ -0,0 +1,84 @@
1
+ <!--
2
+ BlockML Inspect Library Descriptor
3
+ FQN: org.blockml.bml.inspect.Library
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>Library</name>
25
+ <type>inspect:Library</type>
26
+ <baseType>core:BlockLibrary</baseType>
27
+ <is>The BlockML Inspect package library catalog</is>
28
+
29
+ <documentation>
30
+ Canonical inspect-view specification for BlockML — ephemeral JSON projection
31
+ of a Block from the validate --all TypeRegistry. TypeScript in packages/inspect/src/
32
+ implements this library. Membership is defined exclusively by this blocks list.
33
+ </documentation>
34
+
35
+ <version>0.9.1</version>
36
+
37
+ <language>
38
+ <English />
39
+ </language>
40
+
41
+ <properties>
42
+ <description override="true">
43
+ <value>BlockML Inspect library</value>
44
+ </description>
45
+ </properties>
46
+
47
+ <aggregations>
48
+ <readMe>
49
+ <composition>
50
+ <inspect:README />
51
+ </composition>
52
+ </readMe>
53
+ <dependencies>
54
+ <composition>
55
+ <blockml:Library />
56
+ <bom:Library />
57
+ <framework:Library />
58
+ </composition>
59
+ </dependencies>
60
+ <blocks>
61
+ <composition>
62
+ <inspect:InspectType />
63
+ <inspect:InspectTypeRef />
64
+ <inspect:InspectedMember />
65
+ <inspect:InspectedInstance />
66
+ <inspect:InspectedImplementation />
67
+ <inspect:InspectedGenericType />
68
+ <inspect:InspectedBlock />
69
+ <inspect:InspectResult />
70
+ <inspect:InspectOptions />
71
+ <inspectcap:InspectBlock />
72
+ <inspectdocumentation:Introduction />
73
+ <inspectdocumentation:LayerSeparation />
74
+ <inspectdocumentation:ArchitectureOverview />
75
+ <inspectdocumentation:V1Scope />
76
+ <inspectdocumentation:PublicApi />
77
+ <inspectdocumentation:DesignDecisions />
78
+ <inspectdocumentation:PackageOwnership />
79
+ <inspectdocumentation:ScopeExclusions />
80
+ </composition>
81
+ </blocks>
82
+ </aggregations>
83
+
84
+ </block>
@@ -0,0 +1,41 @@
1
+ <!--
2
+ BlockML Inspect — README
3
+ FQN: org.blockml.bml.inspect.README
4
+ -->
5
+ <block
6
+ xmlns="http://blockml.org/bml"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
+ "
10
+ xmlns:blockml="org.blockml.bml"
11
+ xmlns:bom="org.blockml.bml.bom"
12
+ xmlns:bomapi="org.blockml.bml.bom.api"
13
+ xmlns:bomcommon="org.blockml.bml.bom.common"
14
+ xmlns:bomdoc="org.blockml.bml.bom.document"
15
+ xmlns:core="org.blockml.bml.core"
16
+ xmlns:def="org.blockml.bml.definition"
17
+ xmlns:framework="org.blockml.bml.framework"
18
+ xmlns:fwcap="org.blockml.bml.framework.capability"
19
+ xmlns:inspect="org.blockml.bml.inspect"
20
+ xmlns:inspectcap="org.blockml.bml.inspect.capability"
21
+ xmlns:inspectdocumentation="org.blockml.bml.inspect.documentation"
22
+ xmlns:type="org.blockml.bml.type">
23
+
24
+ <name>README</name>
25
+ <type>inspect:README</type>
26
+ <baseType>core:ReadMe</baseType>
27
+ <is>Reading entry for the Inspect library</is>
28
+
29
+ <documentation>
30
+ The @blockml/inspect package projects a Block FQN from the TypeRegistry
31
+ into a compact JSON inspect view for LLMs. No index is persisted.
32
+
33
+ Start at org.blockml.bml.inspect.documentation.Introduction.
34
+ </documentation>
35
+
36
+ <references>
37
+ <see type="inspectdocumentation:Introduction" relation="ReadFirst" />
38
+ <see type="inspectdocumentation:PublicApi" relation="SeeAlso" />
39
+ </references>
40
+
41
+ </block>