@fugood/bricks-project 2.24.0-beta.3 → 2.24.0-beta.4

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
@@ -910,7 +910,7 @@ export const compile = async (app: Application) => {
910
910
  },
911
911
  comment: true,
912
912
  })
913
- } catch (e) {
913
+ } catch {
914
914
  code = scriptCalc.code || ''
915
915
  }
916
916
  calc.script_config = {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.24.0-beta.3",
3
+ "version": "2.24.0-beta.4",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "bun scripts/build.js"
7
7
  },
8
8
  "dependencies": {
9
- "@fugood/bricks-cli": "^2.24.0-beta.2",
9
+ "@fugood/bricks-cli": "^2.24.0-beta.4",
10
10
  "@huggingface/gguf": "^0.3.2",
11
11
  "@iarna/toml": "^3.0.0",
12
12
  "@modelcontextprotocol/sdk": "^1.15.0",
@@ -19,5 +19,5 @@
19
19
  "lodash": "^4.17.4",
20
20
  "uuid": "^8.3.1"
21
21
  },
22
- "gitHead": "7cf2a6850a7765fd801e1bbdbb571871bae92f62"
22
+ "gitHead": "f5f65204e7259449b4cf7dbc35597e5e3d0b1425"
23
23
  }
@@ -44,7 +44,7 @@ const handleMcpConfigOverride = async (mcpConfigPath: string) => {
44
44
  mcpConfig = JSON.parse(configStr)
45
45
  if (!mcpConfig?.mcpServers) throw new Error('mcpServers is not defined')
46
46
  mcpConfig.mcpServers['bricks-project'] = projectMcpServer
47
- } catch (e) {
47
+ } catch {
48
48
  mcpConfig = defaultMcpConfig
49
49
  }
50
50
  } else {
@@ -111,7 +111,7 @@ if (hasAgentsMd) {
111
111
  mcpConfig = TOML.parse(configStr)
112
112
  if (!mcpConfig?.mcp_servers) throw new Error('mcp_servers is not defined')
113
113
  mcpConfig.mcp_servers['bricks-project'] = projectMcpServer
114
- } catch (e) {
114
+ } catch {
115
115
  mcpConfig = defaultCodexMcpConfig
116
116
  }
117
117
  } else {