@principal-ai/subsystems-studio 0.6.10 → 0.6.12

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.
@@ -10473,11 +10473,19 @@ class NodeFsAdapter {
10473
10473
  }
10474
10474
  }
10475
10475
  var store = null;
10476
+ var storeHome = null;
10476
10477
  function registry() {
10477
- if (!store)
10478
- store = new ProjectRegistryStore(new NodeFsAdapter, homedir());
10478
+ const home = registryHome();
10479
+ if (!store || storeHome !== home) {
10480
+ store = new ProjectRegistryStore(new NodeFsAdapter, home);
10481
+ storeHome = home;
10482
+ }
10479
10483
  return store;
10480
10484
  }
10485
+ function registryHome() {
10486
+ const override = process.env["PRINCIPAL_ALEXANDRIA_HOME"]?.trim();
10487
+ return override ? override : homedir();
10488
+ }
10481
10489
  function githubIdentityFromRemoteUrl(url) {
10482
10490
  const match = url.match(/github\.com[:/]([^/]+)\/(.+?)(?:\.git)?\/?$/i);
10483
10491
  if (!match)
@@ -2,5 +2,5 @@
2
2
  "identifier": "ai.principal.subsystems-studio",
3
3
  "name": "Subsystems Studio",
4
4
  "channel": "stable",
5
- "hash": "2ws7yd1co4z1y"
5
+ "hash": "rmpdzw6iodtz"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principal-ai/subsystems-studio",
3
- "version": "0.6.10",
3
+ "version": "0.6.12",
4
4
  "description": "Subsystems Studio — desktop host for subsystem models, walkthroughs, trails, and agent sessions. Pairs with the principal-ai CLI.",
5
5
  "type": "module",
6
6
  "os": [
@@ -24,7 +24,8 @@
24
24
  "build:bundle": "bun run build:stable && bun scripts/stage-bundle.ts",
25
25
  "prepack": "bun run build:bundle",
26
26
  "graphify:smoke": "bun scripts/graphify-smoke.ts",
27
- "graphify:ensure": "bun scripts/graphify-ensure-smoke.ts"
27
+ "graphify:ensure": "bun scripts/graphify-ensure-smoke.ts",
28
+ "package-layers:ensure": "bun scripts/package-layers-ensure-smoke.ts"
28
29
  },
29
30
  "publishConfig": {
30
31
  "access": "public",
@@ -44,12 +45,10 @@
44
45
  "@principal-ai/file-city-react": "^0.5.91",
45
46
  "@principal-ai/logo-component": "^0.1.23",
46
47
  "@principal-ai/repository-abstraction": "^0.5.7",
47
- "@principal-ai/subsystems-core": "0.33.0",
48
- "@principal-ai/subsystems-react": "0.22.0",
49
48
  "@types/bun": "latest",
50
49
  "@types/react": "^19.2.17",
51
50
  "@types/react-dom": "^19.2.3",
52
- "electrobun": "1.18.1",
51
+ "electrobun": "2",
53
52
  "lucide-react": "^1.21.0",
54
53
  "mermaid": "^11.9.0",
55
54
  "react": "19.0.0",
@@ -59,9 +58,11 @@
59
58
  },
60
59
  "dependencies": {
61
60
  "@principal-ai/agent-monitoring": "^0.3.43",
62
- "@principal-ai/subsystems-core": "0.33.0",
63
- "@principal-ai/subsystems-react": "0.22.0",
61
+ "@principal-ai/codebase-composition": "0.2.58",
62
+ "@principal-ai/subsystems-core": "^0.37.0",
63
+ "@principal-ai/subsystems-react": "^0.28.5",
64
64
  "@xyflow/react": "^12.11.3",
65
+ "ajv": "^8.20.0",
65
66
  "better-sqlite3": "^13.0.2"
66
67
  }
67
68
  }