@crewx/cli 0.8.8-rc.2 → 0.8.8-rc.20

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/dist/builtin.js CHANGED
@@ -52,7 +52,9 @@ const BUILTIN_MAP = {
52
52
  cron: () => Promise.resolve().then(() => __importStar(require('@crewx/cron/cli'))),
53
53
  workflow: () => Promise.resolve().then(() => __importStar(require('@crewx/workflow/cli'))),
54
54
  skill: () => Promise.resolve().then(() => __importStar(require('@crewx/skill/cli'))),
55
+ dreaming: () => Promise.resolve().then(() => __importStar(require('@crewx/dreaming/cli'))),
55
56
  wi: () => Promise.resolve().then(() => __importStar(require('@crewx/wi/cli'))),
57
+ chromex: () => Promise.resolve().then(() => __importStar(require('@crewx/chromex/cli'))),
56
58
  };
57
59
  exports.BUILTIN_COMMANDS = new Set(Object.keys(BUILTIN_MAP));
58
60
  // Load skill-tracer for observability (graceful degradation if unavailable)
@@ -45,7 +45,7 @@ const DEFAULT_AGENTS = [
45
45
  },
46
46
  inline: {
47
47
  model: 'claude-opus-4-7',
48
- system_prompt: `You are a planner. Break down user goals into concrete,\ntestable steps. Challenge assumptions. Never write code directly.`,
48
+ prompt: `You are a planner. Break down user goals into concrete,\ntestable steps. Challenge assumptions. Never write code directly.`,
49
49
  },
50
50
  },
51
51
  {
@@ -62,7 +62,7 @@ const DEFAULT_AGENTS = [
62
62
  },
63
63
  inline: {
64
64
  model: 'claude-sonnet-4-6',
65
- system_prompt: `Implement what the planner specifies. Prefer editing\nexisting files. Run tests before reporting done.`,
65
+ prompt: `Implement what the planner specifies. Prefer editing\nexisting files. Run tests before reporting done.`,
66
66
  },
67
67
  },
68
68
  {
@@ -79,7 +79,7 @@ const DEFAULT_AGENTS = [
79
79
  },
80
80
  inline: {
81
81
  model: 'claude-sonnet-4-6',
82
- system_prompt: `Review diffs for correctness, security, readability.\nCite file:line. Be blunt, not polite.`,
82
+ prompt: `Review diffs for correctness, security, readability.\nCite file:line. Be blunt, not polite.`,
83
83
  },
84
84
  },
85
85
  ];
@@ -303,8 +303,8 @@ function generateDefaultYaml(agents) {
303
303
  mode: "bypassPermissions"
304
304
  inline:
305
305
  model: "${a.inline.model}"
306
- system_prompt: |
307
- ${indentBlock(a.inline.system_prompt, 8)}`)
306
+ prompt: |
307
+ ${indentBlock(a.inline.prompt, 8)}`)
308
308
  .join('\n\n');
309
309
  return `# CrewX Agents Configuration
310
310
  # Generated by 'crewx init'
@@ -22,7 +22,7 @@ exports.KNOWN_COMMANDS = new Set([
22
22
  ]);
23
23
  /** Built-in tool commands routed via handleBuiltin(). */
24
24
  exports.BUILTIN_COMMAND_NAMES = new Set([
25
- 'memory', 'search', 'doc', 'wbs', 'cron', 'workflow', 'skill',
25
+ 'memory', 'search', 'doc', 'wbs', 'cron', 'workflow', 'skill', 'dreaming',
26
26
  ]);
27
27
  /** Commands not yet migrated from cli-bak — show a migration message. */
28
28
  exports.NOT_YET_MIGRATED = new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/cli",
3
- "version": "0.8.8-rc.2",
3
+ "version": "0.8.8-rc.20",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"
@@ -23,16 +23,17 @@
23
23
  "dependencies": {
24
24
  "@crewx/adapter-slack": "0.1.4",
25
25
  "better-sqlite3": "*",
26
- "@crewx/sdk": "0.8.8-rc.2",
27
- "@crewx/memory": "0.1.22",
26
+ "@crewx/sdk": "0.8.8-rc.20",
27
+ "@crewx/memory": "0.1.22-rc.15",
28
28
  "@crewx/search": "0.1.9",
29
+ "@crewx/wbs": "0.1.10-rc.13",
30
+ "@crewx/cron": "0.1.10-rc.18",
31
+ "@crewx/workflow": "0.3.21-rc.15",
29
32
  "@crewx/doc": "0.1.8",
30
- "@crewx/wbs": "0.1.9",
31
- "@crewx/cron": "0.1.10-rc.2",
32
- "@crewx/workflow": "0.3.21",
33
- "@crewx/skill": "0.1.20",
34
33
  "@crewx/wi": "0.1.10",
35
- "@crewx/shared": "0.0.5"
34
+ "@crewx/chromex": "npm:@crewx/chromex-ext@0.1.0",
35
+ "@crewx/shared": "0.0.5",
36
+ "@crewx/skill": "0.1.20"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@types/better-sqlite3": "*",