@fugood/bricks-project 2.24.0-beta.43 → 2.24.0-beta.45

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.
package/compile/index.ts CHANGED
@@ -548,6 +548,25 @@ export const compile = async (app: Application) => {
548
548
  'SUBSPACE',
549
549
  `(subspace index: ${subspaceIndex})`,
550
550
  )
551
+
552
+ // Linked module subspaces reference external content — only include
553
+ // module metadata, not local canvas/brick/data compilation
554
+ if (subspace.module?.link) {
555
+ subspaceMap[subspaceId] = {
556
+ title: subspace.title,
557
+ description: subspace.description,
558
+ unused: subspace.unused,
559
+ portal: subspace.portal,
560
+ layout: {
561
+ width: subspace.layout?.width,
562
+ height: subspace.layout?.height,
563
+ resize_mode: subspace.layout?.resizeMode,
564
+ },
565
+ ...compileModule(subspace),
566
+ }
567
+ return subspaceMap
568
+ }
569
+
551
570
  const rootCanvasId = assertEntryId(
552
571
  subspace.rootCanvas?.id,
553
572
  'CANVAS',
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.24.0-beta.43",
3
+ "version": "2.24.0-beta.45",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
7
7
  "build": "bun scripts/build.js"
8
8
  },
9
9
  "dependencies": {
10
- "@fugood/bricks-cli": "^2.24.0-beta.43",
10
+ "@fugood/bricks-cli": "^2.24.0-beta.45",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",
package/package.json.bak CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-ctor",
3
- "version": "2.24.0-beta.43",
3
+ "version": "2.24.0-beta.45",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
7
7
  "build": "bun scripts/build.js"
8
8
  },
9
9
  "dependencies": {
10
- "@fugood/bricks-cli": "^2.24.0-beta.43",
10
+ "@fugood/bricks-cli": "^2.24.0-beta.45",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",