t44 0.4.0-rc.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.
Files changed (125) hide show
  1. package/.dco-signatures +9 -0
  2. package/.github/workflows/dco.yml +12 -0
  3. package/.o/GordianOpenIntegrity-CurrentLifehash.svg +1026 -0
  4. package/.o/GordianOpenIntegrity-InceptionLifehash.svg +1026 -0
  5. package/.o/GordianOpenIntegrity.yaml +25 -0
  6. package/.o/assets/Hero-Terminal44-v0.jpeg +0 -0
  7. package/DCO.md +34 -0
  8. package/LICENSE.md +203 -0
  9. package/README.md +183 -0
  10. package/bin/activate +36 -0
  11. package/bin/activate.ts +30 -0
  12. package/bin/postinstall.sh +19 -0
  13. package/bin/shell +27 -0
  14. package/bin/t44 +27 -0
  15. package/caps/ConfigSchemaStruct.ts +55 -0
  16. package/caps/Home.ts +51 -0
  17. package/caps/HomeRegistry.ts +313 -0
  18. package/caps/HomeRegistryFile.ts +144 -0
  19. package/caps/JsonSchemas.ts +220 -0
  20. package/caps/OpenApiSchema.ts +67 -0
  21. package/caps/PackageDescriptor.ts +88 -0
  22. package/caps/ProjectCatalogs.ts +153 -0
  23. package/caps/ProjectDeployment.ts +363 -0
  24. package/caps/ProjectDevelopment.ts +257 -0
  25. package/caps/ProjectPublishing.ts +522 -0
  26. package/caps/ProjectRack.ts +155 -0
  27. package/caps/ProjectRepository.ts +322 -0
  28. package/caps/RootKey.ts +219 -0
  29. package/caps/SigningKey.ts +243 -0
  30. package/caps/WorkspaceCli.ts +442 -0
  31. package/caps/WorkspaceConfig.ts +268 -0
  32. package/caps/WorkspaceConfig.yaml +71 -0
  33. package/caps/WorkspaceConfigFile.ts +799 -0
  34. package/caps/WorkspaceConnection.ts +249 -0
  35. package/caps/WorkspaceEntityConfig.ts +78 -0
  36. package/caps/WorkspaceEntityConfig.v0.ts +77 -0
  37. package/caps/WorkspaceEntityFact.ts +218 -0
  38. package/caps/WorkspaceInfo.ts +595 -0
  39. package/caps/WorkspaceInit.ts +30 -0
  40. package/caps/WorkspaceKey.ts +338 -0
  41. package/caps/WorkspaceModel.ts +373 -0
  42. package/caps/WorkspaceProjects.ts +636 -0
  43. package/caps/WorkspacePrompt.ts +406 -0
  44. package/caps/WorkspaceShell.sh +39 -0
  45. package/caps/WorkspaceShell.ts +104 -0
  46. package/caps/WorkspaceShell.yaml +64 -0
  47. package/caps/WorkspaceShellCli.ts +109 -0
  48. package/caps/WorkspaceTest.ts +167 -0
  49. package/caps/providers/README.md +2 -0
  50. package/caps/providers/bunny.net/ProjectDeployment.ts +327 -0
  51. package/caps/providers/bunny.net/api-pull.test.ts +319 -0
  52. package/caps/providers/bunny.net/api-pull.ts +164 -0
  53. package/caps/providers/bunny.net/api-storage.test.ts +168 -0
  54. package/caps/providers/bunny.net/api-storage.ts +248 -0
  55. package/caps/providers/bunny.net/api.ts +95 -0
  56. package/caps/providers/dynadot.com/ProjectDeployment.ts +202 -0
  57. package/caps/providers/dynadot.com/api-domains.test.ts +224 -0
  58. package/caps/providers/dynadot.com/api-domains.ts +169 -0
  59. package/caps/providers/dynadot.com/api-restful-v1.test.ts +190 -0
  60. package/caps/providers/dynadot.com/api-restful-v1.ts +94 -0
  61. package/caps/providers/dynadot.com/api-restful-v2.test.ts +200 -0
  62. package/caps/providers/dynadot.com/api-restful-v2.ts +94 -0
  63. package/caps/providers/git-scm.com/ProjectPublishing.ts +654 -0
  64. package/caps/providers/github.com/ProjectPublishing.ts +118 -0
  65. package/caps/providers/github.com/api.ts +115 -0
  66. package/caps/providers/npmjs.com/ProjectPublishing.ts +536 -0
  67. package/caps/providers/semver.org/ProjectPublishing.ts +286 -0
  68. package/caps/providers/vercel.com/ProjectDeployment.ts +326 -0
  69. package/caps/providers/vercel.com/api.test.ts +67 -0
  70. package/caps/providers/vercel.com/api.ts +132 -0
  71. package/caps/providers/vercel.com/bun.lock +194 -0
  72. package/caps/providers/vercel.com/package.json +10 -0
  73. package/caps/providers/vercel.com/project.test.ts +108 -0
  74. package/caps/providers/vercel.com/project.ts +150 -0
  75. package/caps/providers/vercel.com/tsconfig.json +28 -0
  76. package/docs/Overview.drawio +248 -0
  77. package/docs/Overview.svg +4 -0
  78. package/lib/crypto.ts +53 -0
  79. package/lib/key.ts +365 -0
  80. package/lib/schema-console-renderer.ts +181 -0
  81. package/lib/schema-resolver.ts +349 -0
  82. package/lib/ucan.ts +137 -0
  83. package/package.json +101 -0
  84. package/structs/HomeRegistry.ts +55 -0
  85. package/structs/HomeRegistryConfig.ts +56 -0
  86. package/structs/ProjectCatalogsConfig.ts +53 -0
  87. package/structs/ProjectDeploymentConfig.ts +56 -0
  88. package/structs/ProjectDeploymentFact.ts +106 -0
  89. package/structs/ProjectPublishingFact.ts +68 -0
  90. package/structs/ProjectRack.ts +51 -0
  91. package/structs/ProjectRackConfig.ts +56 -0
  92. package/structs/RepositoryOriginDescriptor.ts +51 -0
  93. package/structs/RootKeyConfig.ts +64 -0
  94. package/structs/SigningKeyConfig.ts +64 -0
  95. package/structs/Workspace.ts +56 -0
  96. package/structs/WorkspaceCatalogs.ts +56 -0
  97. package/structs/WorkspaceCliConfig.ts +53 -0
  98. package/structs/WorkspaceConfig.ts +64 -0
  99. package/structs/WorkspaceConfigFile.ts +50 -0
  100. package/structs/WorkspaceConfigFileMeta.ts +70 -0
  101. package/structs/WorkspaceKey.ts +55 -0
  102. package/structs/WorkspaceKeyConfig.ts +56 -0
  103. package/structs/WorkspaceMappingsConfig.ts +56 -0
  104. package/structs/WorkspaceProject.ts +104 -0
  105. package/structs/WorkspaceProjectsConfig.ts +67 -0
  106. package/structs/WorkspacePublishingConfig.ts +65 -0
  107. package/structs/WorkspaceShellConfig.ts +83 -0
  108. package/structs/providers/README.md +2 -0
  109. package/structs/providers/bunny.net/PullZoneFact.ts +55 -0
  110. package/structs/providers/bunny.net/PullZoneListFact.ts +55 -0
  111. package/structs/providers/bunny.net/StorageZoneFact.ts +55 -0
  112. package/structs/providers/bunny.net/StorageZoneListFact.ts +55 -0
  113. package/structs/providers/bunny.net/WorkspaceConnectionConfig.ts +43 -0
  114. package/structs/providers/dynadot.com/DomainFact.ts +46 -0
  115. package/structs/providers/dynadot.com/WorkspaceConnectionConfig.ts +54 -0
  116. package/structs/providers/git-scm.com/ProjectPublishingFact.ts +46 -0
  117. package/structs/providers/github.com/ProjectPublishingFact.ts +46 -0
  118. package/structs/providers/github.com/WorkspaceConnectionConfig.ts +43 -0
  119. package/structs/providers/npmjs.com/ProjectPublishingFact.ts +46 -0
  120. package/structs/providers/vercel.com/ProjectDeploymentFact.ts +55 -0
  121. package/structs/providers/vercel.com/WorkspaceConnectionConfig.ts +49 -0
  122. package/tests/01-Lifecycle/main.test.ts +173 -0
  123. package/tsconfig.json +28 -0
  124. package/workspace-rt.ts +134 -0
  125. package/workspace.yaml +3 -0
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "envelope": "ur:envelope/lrtpsotanshdhdcxndcmrllsaovdcxttwngmpawdcwurcpylesadfnamgtqdnbgdbygwesutluletiadoytpsojyfljljpieinhsjtgwjoihjtgajtjyihiojpinjykktpsokshnjkjkisdpihieeyececehescxfpfpfpfpfxeoglknhsfxehjzhtfygaehglghfeecfpfpfpfpgagdjtgoknhkfxgokpkkgmflgmgleogsdniofdemksksghgaidhdethfjnjegtecfxfphfeeflkphdkkjzkogwfecxjyeeeedpjkiniojtinjtiodpjeihkkoyaylftpsohdgltansgylftanshfhdcxbgftaxrfprctyajstensmkzcgdqduodtpeehrtpsyaimbkrpltherhmudiatuyhytansgrhdcxdirkkbhdinkneylnftaohhfsdiihdyiadkutpslbkphnsastlgzshyzcgyuyghdpoycsfncsfgoycsfztpsohdjktngdgmgwhflfaxhdimyawzaxjtlddndnlecyqzvdclkskotksafsskdmlgwpbgdszmrerncmuofpaxmkkeahluwnmoidbsiypedmaozsneykjpplurloolghesjedwjtbzstimswwladghiartlysokegtjtgrbkgscxeolemdhycsvtzezsmokebdtirpkbinwdfdtbkodlmhoekpssfristkahtniecwhtdljkhhbytt",
4
+ "mark": "8d079cf1",
5
+ "$defs": {
6
+ "envelope": {
7
+ "$ref": "https://datatracker.ietf.org/doc/draft-mcnally-envelope/"
8
+ },
9
+ "mark": {
10
+ "$ref": "https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2025-001-provenance-mark.md"
11
+ }
12
+ }
13
+ }
14
+ ---
15
+ # Repository DID: did:repo:7d0bdb82f70c6b3dfade356f9e667cdd0cf0cc88
16
+ # Current Mark: 8d079cf1 (🅑 LUNG AUNT NEWS WHEN)
17
+ # Inception Mark: bcf4ef00 (🅑 ROOF WORK WEBS ABLE)
18
+ # XID(9b16b783) [
19
+ # "GordianOpenIntegrity": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnUzYCUuyRGRN3L+gH7xxTIbX8VmkM5CAV4GuXylvOE t44-signing-key"
20
+ # 'key': Bytes(78) [
21
+ # 'allow': 'All'
22
+ # ]
23
+ # 'provenance': Bytes(115)
24
+ # ]
25
+ # Trust established using https://github.com/Stream44/t44-BlockchainCommons.com
package/DCO.md ADDED
@@ -0,0 +1,34 @@
1
+ Developer Certificate of Origin
2
+ Version 1.1
3
+
4
+ Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5
+
6
+ Everyone is permitted to copy and distribute verbatim copies of this
7
+ license document, but changing it is not allowed.
8
+
9
+
10
+ Developer's Certificate of Origin 1.1
11
+
12
+ By making a contribution to this project, I certify that:
13
+
14
+ (a) The contribution was created in whole or in part by me and I
15
+ have the right to submit it under the open source license
16
+ indicated in the file; or
17
+
18
+ (b) The contribution is based upon previous work that, to the best
19
+ of my knowledge, is covered under an appropriate open source
20
+ license and I have the right under that license to submit that
21
+ work with modifications, whether created in whole or in part
22
+ by me, under the same open source license (unless I am
23
+ permitted to submit under a different license), as indicated
24
+ in the file; or
25
+
26
+ (c) The contribution was provided directly to me by some other
27
+ person who certified (a), (b) or (c) and I have not modified
28
+ it.
29
+
30
+ (d) I understand and agree that this project and the contribution
31
+ are public and that a record of the contribution (including all
32
+ personal information I submit with it, including my sign-off) is
33
+ maintained indefinitely and may be redistributed consistent with
34
+ this project or the open source license(s) involved.
package/LICENSE.md ADDED
@@ -0,0 +1,203 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
package/README.md ADDED
@@ -0,0 +1,183 @@
1
+ ⚠️ **WARNING:** This repository may get squashed and force-pushed if the [GordianOpenIntegrity](https://github.com/Stream44/t44-blockchaincommons.com) implementation must change in incompatible ways. Keep your diffs until the **GordianOpenIntegrity** system is stable.
2
+
3
+ 🔷 **Open Development Project:** The implementation is a preview release for community feedback.
4
+
5
+ ⚠️ **Disclaimer:** Under active development. Code has not been audited, APIs and interfaces are subject to change.
6
+
7
+ Terminal44 Workspace Foundation
8
+ ===
9
+
10
+ > Bedrock in a storm of constant change. A web3 + AI ready workspace you can build an empire on.
11
+
12
+ The `t44` workspace foundation running on [bun.sh](https://bun.sh) enables you to build any project of any complexity by providing fundamental capabilities needed by any modern software development toolchain & process.
13
+
14
+ The primary audience is **Full-Stack JavaScript/TypeScript Developers** looking for an *offline first, always online* home for their projects.
15
+
16
+ **Get started with pre-built applications in a matter of minutes: [github.com/Stream44/t44-starter](https://github.com/Stream44/t44-starter)**
17
+
18
+ <p align="center">
19
+ <br/>
20
+ <img src=".o/assets/Hero-Terminal44-v0.jpeg" alt="Terminal44 Hero" />
21
+ <br/><br/>
22
+ </p>
23
+
24
+ Build against a novel [PrivateData.Space](https://privatedata.space/) architecture that projects the runtime system from declared logic in a codebase structured for a flowing creation process. Complexity is no problem when code is [encapsulated](https://github.com/Stream44/encapsulate) and identified as related components throughout the entire codebase.
25
+
26
+ The approach enables rapid creation & adoption of new technology by re-framing existing logic for new runtime environments. It enables model-driven development. It allows for the precipitation of logic into stable long-term thought models and implementation architectures that make teams and users happy.
27
+
28
+ This is an **open development project** built using [Stream44.Studio](https://Stream44.Studio), *A **full-stack IDE** for building **embodied distributed systems***.
29
+
30
+ ![t44 Workspace Overview](./docs/Overview.svg)
31
+
32
+ Goals
33
+ ---
34
+
35
+ - Human first with AI tools
36
+ - Simple to understand and work with
37
+ - Deploy from one codebase to many providers and runtimes
38
+ - A lasting foundation for the next generation of distributed applications & systems
39
+ - Rapid development for web2 and web3
40
+ - Always at static rest with running expression giving instant feedback on change
41
+ - Ability to integrate any technology at will
42
+
43
+ See [*The Workspace Foundation Perspective / Vision*](#the-workspace-foundation-perspective--vision) below for more details.
44
+
45
+ Status
46
+ ---
47
+
48
+ This project is in **early development** and not ready for production use. Everything is subject to change although you should be able to refactor your codebase using AI to keep up if needed.
49
+
50
+ For now it is best used for small projects and exploration in non-mission critical settings.
51
+
52
+ Get in touch at [discord.gg](https://discord.gg/9eBcQXEJAN) ([Stream44.Studio](https://Stream44.Studio) server) if you are running it and need support.
53
+
54
+
55
+ Usage
56
+ ===
57
+
58
+ Implemented features are documented with examples at: [github.com/Stream44/t44-starter](https://github.com/Stream44/t44-starter)
59
+
60
+
61
+ Roadmap
62
+ ===
63
+
64
+ - Best Practices
65
+ - [ ] Monorepo
66
+ - [ ] Packages
67
+ - [ ] Components
68
+ - [ ] Schemas
69
+ - [ ] Continuous Integration / Delivery
70
+ - [ ] AI
71
+ - Workspace CLI
72
+ - [x] Activate shell environment
73
+ - [x] Show workspace info
74
+ - [ ] Add, install & run projects
75
+ - [ ] Pull updates & contributions
76
+ - [x] Push & deploy projects
77
+ - [ ] Select from supported providers on deploy
78
+ - Workspace Features
79
+ - [x] Configure WorkspaceProjects
80
+ - [x] Project publishing to github & npm
81
+ - Open Tools
82
+ - [ ] [turborepo](https://turborepo.dev/)
83
+ - Deploy to
84
+ - [x] [vercel.com](https://vercel.com/) (*partially implemented*)
85
+ - [x] [bunny.net](https://bunny.net/) (*partially implemented*)
86
+ - [x] [npmjs.com](https://npmjs.com/) (*partially implemented*)
87
+ - [x] [github.com](https://github.com/) (*partially implemented*)
88
+ - [ ] [upstash.com](https://upstash.com/)
89
+ - Supported Technologies & Protocols
90
+ - [x] [bun.sh](https://bun.sh)
91
+ - [ ] `node`
92
+ - [ ] `deno`
93
+ - [ ] `docker`
94
+
95
+
96
+ The Workspace Foundation Perspective / Vision
97
+ ===
98
+
99
+ The perspective embodied in the workspace implementation aims to cohere
100
+ timeless principles towards an approach of creation able to sustain
101
+ the development of complex systems over time.
102
+
103
+ The perspective is an evolving definition that will be grounded in practical
104
+ implementation able to produce immediate results for the user.
105
+
106
+ [Christoph](https://christoph.diy) has been working on refining this perspective and implementations for a long time. You will be able to watch the system unfold in front of you and immediately leverage new features in your projects as functionality is mapped onto a central spine throughout 2026 and beyond.
107
+
108
+ Following are glimpses of what the perspective must encompass and for which implementations will be forthcoming.
109
+
110
+
111
+ Timless Principles
112
+ ---
113
+
114
+ - [ ] Human First
115
+ - [ ] Open Participation
116
+ - [ ] Offline First & Always Online
117
+ - [ ] Infinite Complexity Accomodation
118
+ - [ ] Arbitrary Logic Embodyment
119
+ - [ ] Instant Feedback
120
+ - [ ] Rapid Iteration
121
+ - [ ] Complete Provenance
122
+ - [ ] Stable Structuring
123
+ - [ ] Single Cohesive Model
124
+
125
+
126
+ Best Practices
127
+ ---
128
+
129
+ ### Continuous Integration / Delivery
130
+
131
+ System integration during development and automated delivery to production are complex topics
132
+ with many requirements and existing tools.
133
+
134
+ Current approaches introduce much unnecessary latency with significant affect on the
135
+ ability for teams to deliver. This latency is the root cause for an unimaginable
136
+ amount of wasted effort and stress for individuals.
137
+
138
+ The workspace addresses the problem of latency in the systems development process
139
+ by providing many rapid parallel paths to running code without the need for complete builds.
140
+
141
+ Changed code is built and tested in a distributed mesh and delivered to a runtime
142
+ by configuration change. The concept of CI / CD vanishes as users build against an always
143
+ running system able to provide instant feedback.
144
+
145
+
146
+ ### Build Process
147
+
148
+ Building or bundling code in some form is an inevitable necessity and there are an
149
+ infinate number of different approaches and implementations in every possible
150
+ realm of software development.
151
+
152
+ Building code is a slow process and when it is tied to timelines and cycles it represents
153
+ a major constricting force to the ability for teams to deliver.
154
+
155
+ The workspace addresses this constriction in the development process by
156
+ promoting the building and deployment of runtime containers able to load lighweight
157
+ business logic components on demand. Any part of the codebase that receives any
158
+ significant amount of regular changes should have an optimized realtime deployment approach
159
+ setup.
160
+
161
+ Components are well defined units of functionality able to build rapidly and
162
+ able to run in pre-configured runtime containers. This architecture not only
163
+ allows for rapid deployment of changes but more fundamentally allows for the
164
+ introduction of capability-based computing where code executes in restricted
165
+ sandboxes only able to leverage capabilities specifically given.
166
+
167
+
168
+ Provenance
169
+ ===
170
+
171
+ Repository DID: `did:repo:7d0bdb82f70c6b3dfade356f9e667cdd0cf0cc88`
172
+
173
+ <table>
174
+ <tr>
175
+ <td><strong>Inception Mark</strong></td>
176
+ <td><img src=".o/GordianOpenIntegrity-InceptionLifehash.svg" width="64" height="64"></td>
177
+ <td><strong>Current Mark</strong></td>
178
+ <td><img src=".o/GordianOpenIntegrity-CurrentLifehash.svg" width="64" height="64"></td>
179
+ <td>Trust established using<br/><a href="https://github.com/Stream44/t44-blockchaincommons.com">Stream44/t44-BlockchainCommons.com</a></td>
180
+ </tr>
181
+ </table>
182
+
183
+ (c) 2026 [Christoph.diy](https://christoph.diy) • Code: `Apache 2.0` • Text: `CC-BY` • Created with [Stream44.Studio](https://Stream44.Studio)
package/bin/activate ADDED
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env bash
2
+
3
+ function _resolveSelfDir {
4
+ local SOURCE="$1"
5
+ local DIR=""
6
+ # Convert to absolute path first if relative
7
+ if [[ $SOURCE != /* ]]; then
8
+ SOURCE="$(cd "$(dirname "$SOURCE")" && pwd)/$(basename "$SOURCE")"
9
+ fi
10
+ while [[ -h "$SOURCE" ]]; do
11
+ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
12
+ SOURCE="$(readlink "$SOURCE")"
13
+ [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
14
+ done
15
+ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
16
+ echo "${DIR}"
17
+ }
18
+
19
+ # Get script path - works in both bash and zsh
20
+ if [[ -n "${BASH_SOURCE[0]}" ]]; then
21
+ _script_path="${BASH_SOURCE[0]}"
22
+ elif [[ -n "${(%):-%x}" ]]; then
23
+ # zsh specific
24
+ _script_path="${(%):-%x}"
25
+ else
26
+ echo "ERROR: Cannot determine script location" >&2
27
+ return 1
28
+ fi
29
+
30
+ _dir="$(_resolveSelfDir "$_script_path")"
31
+
32
+ export F_WORKSPACE_ACTIVATE_BIN_PATH="$_dir/activate"
33
+ export F_WORKSPACE_IMPL_DIR="$(dirname $_dir)"
34
+
35
+ # Execute activate.ts from the same directory as this script
36
+ eval "$($_dir/activate.ts)"
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env bun
2
+
3
+ import { run } from '../workspace-rt'
4
+
5
+ await run(async ({ encapsulate, CapsulePropertyTypes, makeImportStack }: any) => {
6
+
7
+ const spine = await encapsulate({
8
+ '#@stream44.studio/encapsulate/spine-contracts/CapsuleSpineContract.v0': {
9
+ '#@stream44.studio/encapsulate/structs/Capsule': {},
10
+ '#': {
11
+ cli: {
12
+ type: CapsulePropertyTypes.Mapping,
13
+ value: 't44/caps/WorkspaceCli'
14
+ },
15
+ }
16
+ }
17
+ }, {
18
+ importMeta: import.meta,
19
+ importStack: makeImportStack(),
20
+ capsuleName: 'cli'
21
+ })
22
+
23
+ return { spine }
24
+
25
+ }, async ({ spine, apis }: any) => {
26
+
27
+ const cliCommands = await apis[spine.capsuleSourceLineRef].cli.cliCommands
28
+
29
+ await cliCommands.activate()
30
+ })
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Used by 't44' dependent packages.
4
+
5
+ set -e
6
+
7
+ # Create .workspace/bin directory
8
+ mkdir -p .workspace/bin
9
+
10
+ # Symlink activate binary
11
+ ln -sf ../../node_modules/t44/bin/activate .workspace/bin/activate
12
+
13
+ # Symlink shell binary
14
+ ln -sf ../../node_modules/t44/bin/shell .workspace/bin/shell
15
+
16
+ # Symlink workspace binary
17
+ ln -sf ../../node_modules/t44/bin/t44 .workspace/bin/t44
18
+
19
+ echo "Workspace binaries symlinked successfully"
package/bin/shell ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env bun
2
+
3
+ import { run } from '../workspace-rt'
4
+
5
+ await run(async ({ encapsulate, CapsulePropertyTypes, makeImportStack }: any) => {
6
+ const spine = await encapsulate({
7
+ '#@stream44.studio/encapsulate/spine-contracts/CapsuleSpineContract.v0': {
8
+ '#@stream44.studio/encapsulate/structs/Capsule': {},
9
+ '#': {
10
+ cli: {
11
+ type: CapsulePropertyTypes.Mapping,
12
+ value: 't44/caps/WorkspaceShellCli'
13
+ },
14
+ }
15
+ }
16
+ }, {
17
+ importMeta: import.meta,
18
+ importStack: makeImportStack(),
19
+ capsuleName: 't44/.workspace/bin/shell'
20
+ })
21
+ return { spine }
22
+ }, async ({ spine, apis }: any) => {
23
+
24
+ const runCli = await apis[spine.capsuleSourceLineRef].cli.runCli
25
+
26
+ await runCli(process.argv)
27
+ })
package/bin/t44 ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env bun
2
+
3
+ import { run } from '../workspace-rt'
4
+
5
+ await run(async ({ encapsulate, CapsulePropertyTypes, makeImportStack }) => {
6
+ const spine = await encapsulate({
7
+ '#@stream44.studio/encapsulate/spine-contracts/CapsuleSpineContract.v0': {
8
+ '#@stream44.studio/encapsulate/structs/Capsule': {},
9
+ '#': {
10
+ cli: {
11
+ type: CapsulePropertyTypes.Mapping,
12
+ value: 't44/caps/WorkspaceCli'
13
+ },
14
+ }
15
+ }
16
+ }, {
17
+ importMeta: import.meta,
18
+ importStack: makeImportStack(),
19
+ capsuleName: 't44/.workspace/bin/t44'
20
+ })
21
+ return { spine }
22
+ }, async ({ spine, apis }) => {
23
+
24
+ const runCli = await apis[spine.capsuleSourceLineRef].cli.runCli
25
+
26
+ await runCli(process.argv)
27
+ })
@@ -0,0 +1,55 @@
1
+
2
+ export async function capsule({
3
+ encapsulate,
4
+ CapsulePropertyTypes,
5
+ makeImportStack
6
+ }: {
7
+ encapsulate: any
8
+ CapsulePropertyTypes: any
9
+ makeImportStack: any
10
+ }) {
11
+ return encapsulate({
12
+ '#@stream44.studio/encapsulate/spine-contracts/CapsuleSpineContract.v0': {
13
+ '#@stream44.studio/encapsulate/structs/Capsule': {},
14
+ '#': {
15
+ JsonSchema: {
16
+ type: CapsulePropertyTypes.Mapping,
17
+ value: 't44/caps/JsonSchemas'
18
+ },
19
+ schema: {
20
+ type: CapsulePropertyTypes.Literal,
21
+ value: undefined
22
+ },
23
+ validate: {
24
+ type: CapsulePropertyTypes.Function,
25
+ value: async function (this: any, definitionName: string, data: any): Promise<{ warnings: any[], errors: any[] }> {
26
+ return this.JsonSchema.validate(definitionName, data)
27
+ }
28
+ },
29
+ wrapWithSchema: {
30
+ type: CapsulePropertyTypes.Function,
31
+ value: function (this: any, data: any, capsuleName: string, version?: string): Record<string, any> {
32
+ return this.JsonSchema.wrapWithSchema(data, capsuleName, version)
33
+ }
34
+ },
35
+ resolveSchemaFilePath: {
36
+ type: CapsulePropertyTypes.Function,
37
+ value: function (this: any, capsuleName?: string): string | undefined {
38
+ return this.JsonSchema.resolveSchemaFilePath(capsuleName || this.capsuleName)
39
+ }
40
+ },
41
+ formatValidationFeedback: {
42
+ type: CapsulePropertyTypes.Function,
43
+ value: function (this: any, feedback: { warnings: any[], errors: any[] }, context: { filePath?: string, schemaRef?: string }): string {
44
+ return this.JsonSchema.formatValidationFeedback(feedback, context)
45
+ }
46
+ },
47
+ }
48
+ }
49
+ }, {
50
+ importMeta: import.meta,
51
+ importStack: makeImportStack(),
52
+ capsuleName: capsule['#'],
53
+ })
54
+ }
55
+ capsule['#'] = 't44/caps/ConfigSchemaStruct'