Skip to content

Object encapsulation & mapping system with runtime kernel for TypeScript

License

Notifications You must be signed in to change notification settings

Stream44/encapsulate

Repository files navigation

Stream44 Studio
Open Development Project
Preview release for community feedback.
Get in touch on discord.

⚠️ Disclaimer: Under active development. Code has not been audited, APIs and interfaces are subject to change!

encapsulate Tests

An experimental implementation of the PrivateData.Space model in TypeScript.

NOTE: Not intended for direct use until it matures in light of the projects below.

It is being used to underpin:

  • t44 - A web3 + AI ready workspace
  • Stream44.Studio - A full-stack IDE for building embodied distributed systems


Encapsulate Hero

The CAPSULE Spine Contract

The encapsulate library wraps TypeScript objects and binds reference trees for constructing executable component graphs.

The binding rules are defined by Spine Contracts. The first experimental spine contract is the Capsule Spine Contract. It builds a model around Capsules which have certain properties.

The capsule spine contract is implemented here: src/spine-contracts/CapsuleSpineContract.v0/

Roadmap

  • Private/Projected properties
  • Property annotations
  • Capsule Projectors
  • Load capsules from packs

Capsule Spine Contract Overview

Provenance

Gordian Open Integrity DCO Signatures

Repository DID: did:repo:65bf6c297919ca938c513cdb7517605d0d62cdbf

Inception Mark Current Mark Trust established using
Stream44/t44-BlockchainCommons.com

(c) 2026 Christoph.diy • Code: MIT • Text: CC BY-SA 4.0 • Created with Stream44.Studio

About

Object encapsulation & mapping system with runtime kernel for TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages