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
@@ -12,7 +12,11 @@
"target": "es2021",
"module": "nodenext",
"paths": {
"common/*": ["../../../src/common/*"],
"common/*": [
"../../../src/common/primitives/*",
"../../../src/common/runtime/*",
"../../../src/common/*"
],
"browser/*": ["../../../src/browser/*"],
"SerializeAddon": ["../src/SerializeAddon"],
"@xterm/addon-serialize": [
+2
View File
@@ -12,6 +12,8 @@
"removeComments": true,
"paths": {
"common/*": [
"../../../src/common/primitives/*",
"../../../src/common/runtime/*",
"../../../src/common/*"
],
"browser/*": [
@@ -11,6 +11,8 @@
"removeComments": true,
"paths": {
"common/*": [
"../../../src/common/primitives/*",
"../../../src/common/runtime/*",
"../../../src/common/*"
],
"browser/*": [