@crewx/cli 0.9.0-rc.129 → 0.9.0-rc.130

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.
@@ -638,7 +638,7 @@ async function handleDoctor(args) {
638
638
  console.log(`${healthIcon} Overall: ${health.message}`);
639
639
  if (health.status === 'success') {
640
640
  console.log('\nNext steps:');
641
- console.log(' crewx query "@claude hello"');
641
+ console.log(' crewx q --to crewx "hello"');
642
642
  }
643
643
  else {
644
644
  console.log('\nAddress the issues above, then run `crewx doctor` again.');
@@ -107,16 +107,16 @@ async function handleExecute(args, command = 'execute', emitState = (0, emit_tra
107
107
  if (!finalMessage) {
108
108
  console.error('Usage: crewx execute --to <agent> <task> [options]');
109
109
  console.error(' crewx x --to <agent> <task> [options]');
110
- console.error(' crewx x @agent <task> [options] (@agent shorthand)');
110
+ console.error(' Human-terminal shorthand: crewx x "@agent <task>"');
111
111
  console.error('');
112
112
  console.error(' Agent calls require --to or a positional @agent recipient.');
113
113
  console.error(' Human terminal and cron calls default to @crewx when omitted.');
114
114
  console.error(' Task body can also be supplied via stdin pipe or --prompt-file.');
115
115
  console.error('');
116
116
  console.error('Examples:');
117
- console.error(' crewx x --to agent do something');
118
- console.error(' cat task.md | crewx x --to agent');
119
- console.error(' crewx x @agent label --prompt-file=task.md');
117
+ console.error(' crewx x --to agent "do something"');
118
+ console.error(' crewx x --to agent -f task.md');
119
+ console.error(' Prompt files contain only the body; set the recipient separately with --to.');
120
120
  console.error('');
121
121
  console.error('Options:');
122
122
  console.error(' --to <agent> Explicit agent recipient');
@@ -132,7 +132,7 @@ async function handleExecute(args, command = 'execute', emitState = (0, emit_tra
132
132
  console.error(' --output-format <fmt> Output format (json|text|stream-json)');
133
133
  console.error(' --out/-o <path> Save result to file (stdout suppressed)');
134
134
  console.error(' --effort <level> Model effort (high|medium|low)');
135
- console.error(' -f/--prompt-file <path> Read task body from file');
135
+ console.error(' -f/--prompt-file <path> Read body only from file; set recipient separately with --to');
136
136
  console.error(' --var key=value Template variable (repeatable)');
137
137
  console.error(' --overdrive Activate overdrive (boost) profile for this request');
138
138
  (0, emit_trailer_1.emitDelegationResult)({ command, trace: inheritedTrace, isError: true, state: emitState });
@@ -403,8 +403,8 @@ agents:
403
403
  ${agentBlocks}
404
404
 
405
405
  # Usage examples:
406
- # crewx query "@planner analyze this codebase"
407
- # crewx execute "@developer implement the feature described above"
406
+ # crewx q --to planner "analyze this codebase"
407
+ # crewx x --to developer "implement the feature described above"
408
408
  # crewx agent ls
409
409
  `;
410
410
  }
@@ -104,16 +104,16 @@ async function handleQuery(args, command = 'query', emitState = (0, emit_trailer
104
104
  if (!finalMessage) {
105
105
  console.error('Usage: crewx query --to <agent> <message> [options]');
106
106
  console.error(' crewx q --to <agent> <message> [options]');
107
- console.error(' crewx q @agent <message> [options] (@agent shorthand)');
107
+ console.error(' Human-terminal shorthand: crewx q "@agent <message>"');
108
108
  console.error('');
109
109
  console.error(' Agent calls require --to or a positional @agent recipient.');
110
110
  console.error(' Human terminal and cron calls default to @crewx when omitted.');
111
111
  console.error(' Prompt can also be supplied via stdin pipe or --prompt-file.');
112
112
  console.error('');
113
113
  console.error('Examples:');
114
- console.error(' crewx q --to agent hello');
115
- console.error(' cat brief.md | crewx q --to agent');
116
- console.error(' crewx q @agent label --prompt-file=brief.md');
114
+ console.error(' crewx q --to agent "hello"');
115
+ console.error(' crewx q --to agent -f brief.md');
116
+ console.error(' Prompt files contain only the body; set the recipient separately with --to.');
117
117
  console.error('');
118
118
  console.error('Options:');
119
119
  console.error(' --to <agent> Explicit agent recipient');
@@ -129,7 +129,7 @@ async function handleQuery(args, command = 'query', emitState = (0, emit_trailer
129
129
  console.error(' --output-format <fmt> Output format (json|text|stream-json)');
130
130
  console.error(' --out/-o <path> Save result to file (stdout suppressed)');
131
131
  console.error(' --effort <level> Model effort (high|medium|low)');
132
- console.error(' -f/--prompt-file <path> Read prompt body from file');
132
+ console.error(' -f/--prompt-file <path> Read body only from file; set recipient separately with --to');
133
133
  console.error(' --var key=value Template variable (repeatable)');
134
134
  console.error(' --overdrive Activate overdrive (boost) profile for this request');
135
135
  (0, emit_trailer_1.emitDelegationResult)({ command, trace: inheritedTrace, isError: true, state: emitState });
package/dist/main.js CHANGED
@@ -298,16 +298,16 @@ Query / Execute:
298
298
  --output-format <fmt> Output format (json|text|stream-json)
299
299
  --out/-o <path> Save result to file (stdout suppressed)
300
300
  --effort <level> Model effort (high|medium|low)
301
- -f/--prompt-file <path> Read task body from file (bypasses argv length limits)
301
+ -f/--prompt-file <path> Read body only from file; set recipient with --to (bypasses argv length limits)
302
302
  --var key=value Template variable (repeatable). Accessible as {{key}} in agent prompt.
303
303
  -- End of flags; remaining tokens treated as message text
304
- e.g. crewx q "@agent label" -- --flag-in-message
304
+ e.g. crewx q --to agent "label" -- --flag-in-message
305
305
 
306
306
  q/query/x/execute:
307
307
  --detach/--async Persist a receipt, launch a detached runner, and print task-id
308
308
  (automatic inside an agent process; q/x stay synchronous elsewhere).
309
309
  --wait Force synchronous execution, including inside an agent process.
310
- e.g. crewx x "@agent label" --detach
310
+ e.g. crewx x --to agent "label" --detach
311
311
 
312
312
  Agent Management:
313
313
  agent ls [options] List configured agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/cli",
3
- "version": "0.9.0-rc.129",
3
+ "version": "0.9.0-rc.130",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"
@@ -25,20 +25,20 @@
25
25
  "better-sqlite3": "*",
26
26
  "dotenv": "17.2.3",
27
27
  "isomorphic-git": "1.37.1",
28
- "@crewx/search": "0.1.10-rc.125",
29
- "@crewx/sdk": "0.9.0-rc.129",
30
- "@crewx/memory": "0.1.23-rc.146",
31
- "@crewx/doc": "0.1.9-rc.122",
32
- "@crewx/wbs": "0.1.10-rc.155",
33
- "@crewx/workflow": "0.3.22-rc.175",
34
- "@crewx/cron": "0.1.10-rc.164",
35
- "@crewx/skill": "0.1.20-rc.23",
36
- "@crewx/notify": "0.1.0-rc.100",
37
- "@crewx/app": "0.1.0-rc.10",
38
- "@crewx/knowledge-core": "0.1.17-rc.139",
39
- "@crewx/wi": "0.1.10-rc.149",
40
- "@crewx/shared": "0.0.6-rc.44",
41
- "@crewx/chromex": "0.1.0-rc.162"
28
+ "@crewx/sdk": "0.9.0-rc.130",
29
+ "@crewx/memory": "0.1.23-rc.147",
30
+ "@crewx/search": "0.1.10-rc.126",
31
+ "@crewx/knowledge-core": "0.1.17-rc.140",
32
+ "@crewx/doc": "0.1.9-rc.123",
33
+ "@crewx/wbs": "0.1.10-rc.156",
34
+ "@crewx/workflow": "0.3.22-rc.176",
35
+ "@crewx/cron": "0.1.10-rc.165",
36
+ "@crewx/chromex": "0.1.0-rc.163",
37
+ "@crewx/notify": "0.1.0-rc.101",
38
+ "@crewx/app": "0.1.0-rc.11",
39
+ "@crewx/shared": "0.0.6-rc.45",
40
+ "@crewx/wi": "0.1.10-rc.150",
41
+ "@crewx/skill": "0.1.20-rc.24"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/better-sqlite3": "*",