Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
feat: add Object, Trait, Interface, Method NodeKinds
riley0227ebd4ac76aa80
diff --git a/memory-layer/src/main/scala/ix/memory/model/Node.scala b/memory-layer/src/main/scala/ix/memory/model/Node.scalaindex 360cf677..780386e8 100644--- a/memory-layer/src/main/scala/ix/memory/model/Node.scala+++ b/memory-layer/src/main/scala/ix/memory/model/Node.scala@@ -19,6 +19,10 @@ object NodeKind {case object Intent extends NodeKindcase object Decision extends NodeKindcase object Doc extends NodeKind+ case object Object extends NodeKind+ case object Trait extends NodeKind+ case object Interface extends NodeKind+ case object Method extends NodeKindprivate val nameMap: Map[String, NodeKind] = Map("module" -> Module,@@ -32,7 +36,11 @@ object NodeKind {"endpoint" -> Endpoint,"intent" -> Intent,"decision" -> Decision,- "doc" -> Doc+ "doc" -> Doc,+ "object" -> Object,+ "trait" -> Trait,+ "interface" -> Interface,+ "method" -> Method)implicit val encoder: Encoder[NodeKind] = Encoder[String].contramap {@@ -48,6 +56,10 @@ object NodeKind {case Intent => "intent"case Decision => "decision"case Doc => "doc"+ case Object => "object"+ case Trait => "trait"+ case Interface => "interface"+ case Method => "method"}implicit val decoder: Decoder[NodeKind] = Decoder[String].emap { s =>diff --git a/memory-layer/src/test/scala/ix/memory/model/ModelSpec.scala b/memory-layer/src/test/scala/ix/memory/model/ModelSpec.scalaindex 269225ca..5a9ff034 100644--- a/memory-layer/src/test/scala/ix/memory/model/ModelSpec.scala+++ b/memory-layer/src/test/scala/ix/memory/model/ModelSpec.scala@@ -79,7 +79,12 @@ class ModelSpec extends AnyFlatSpec with Matchers {NodeKind.Service,NodeKind.Endpoint,NodeKind.Intent,- NodeKind.Decision+ NodeKind.Decision,+ NodeKind.Doc,+ NodeKind.Object,+ NodeKind.Trait,+ NodeKind.Interface,+ NodeKind.Method)variants.foreach { nk =>