Split common into primitives and runtime layers

Reorganize src/common per issue #5963: move building blocks under
primitives/ and services/integration under runtime/. Preserve existing
common/* import paths via TypeScript path mapping. Add src/ARCHITECTURE.md
documenting modules and goals.

Fix two relative imports broken by the directory depth change.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-30 23:47:30 +00:00
co-authored by Daniel Imms
parent 43e8365f0e
commit 9a65429a30
122 changed files with 161 additions and 12 deletions
+5 -1
View File
@@ -13,7 +13,11 @@
"target": "es2021",
"module": "nodenext",
"paths": {
"common/*": [ "../../src/common/*" ],
"common/*": [
"../../src/common/primitives/*",
"../../src/common/runtime/*",
"../../src/common/*"
],
"browser/*": [ "../../src/browser/*" ],
"Terminal": ["../../src/Terminal"]
},
+2
View File
@@ -22,6 +22,8 @@
"../../src/browser/*"
],
"common/*": [
"../../src/common/primitives/*",
"../../src/common/runtime/*",
"../../src/common/*"
]
},