crewx 0.8.6-rc.8 → 0.8.6-rc.9

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/bin/crewx.js CHANGED
@@ -75,17 +75,6 @@ function launchElectron(entryFile, routeArgs = []) {
75
75
  * Token injection: --token → MCP_BEARER_TOKEN env; --token-file → read + inject.
76
76
  */
77
77
  function launchWeb({ port, token, tokenFile, open: openFlag, https, trust } = {}) {
78
- // Ensure ~/.crewx/ directory and tasks schema before spawning the NestJS server.
79
- // Schema owner = CLI; launcher is the enforcement point so the server can assume DB exists.
80
- const require = createRequire(import.meta.url);
81
- const cliSchemaPath = join(__dirname, '..', 'packages', 'cli', 'dist', 'schema', 'tasks.js');
82
- const { ensureTasksSchema } = require(cliSchemaPath);
83
- const dbDir = join(homedir(), '.crewx');
84
- const BetterSqlite3 = require('better-sqlite3');
85
- const db = new BetterSqlite3(join(dbDir, 'crewx.db'));
86
- ensureTasksSchema(db);
87
- db.close();
88
-
89
78
  const serverScript = join(__dirname, '..', 'server.js');
90
79
 
91
80
  const env = { ...process.env, NODE_ENV: 'production' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crewx",
3
- "version": "0.8.6-rc.8",
3
+ "version": "0.8.6-rc.9",
4
4
  "description": "CrewX — AI agent team dashboard with Electron UI and CLI (Web + Electron + Global CLI)",
5
5
  "main": "server.js",
6
6
  "bin": {
@@ -69,17 +69,17 @@
69
69
  "wink-nlp-utils": "2.1.0",
70
70
  "yargs": "17.7.0",
71
71
  "zod": "3.25.76",
72
- "@crewx/cli": "0.8.6-rc.8",
72
+ "@crewx/cli": "0.8.6-rc.9",
73
73
  "@crewx/doc": "0.1.8",
74
- "@crewx/memory": "0.1.10",
75
- "@crewx/search": "0.1.9",
76
74
  "@crewx/cron": "0.1.8",
75
+ "@crewx/memory": "0.1.10",
77
76
  "@crewx/knowledge-core": "0.1.6",
77
+ "@crewx/search": "0.1.9",
78
+ "@crewx/sdk": "0.8.6-rc.10",
78
79
  "@crewx/wbs": "0.1.9",
79
80
  "@crewx/shared": "0.0.5",
80
- "@crewx/sdk": "0.8.6-rc.9",
81
- "@crewx/workflow": "0.3.18",
82
- "@crewx/skill": "0.1.8"
81
+ "@crewx/skill": "0.1.8",
82
+ "@crewx/workflow": "0.3.18"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@ccusage/codex": "0.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/cli",
3
- "version": "0.8.6-rc.8",
3
+ "version": "0.8.6-rc.9",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"