clideck 1.31.22 → 1.31.23

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/clideck.js CHANGED
@@ -29,11 +29,17 @@ function usage() {
29
29
  'Ask behavior:',
30
30
  ' Unscoped target lookup is limited to the same project as the caller session.',
31
31
  ' Cross-project asks must use an explicit @project/session target.',
32
+ ' Use the target exactly as shown by `clideck agents`; quote it if it contains spaces.',
32
33
  ' CliDeck sends the message into the real target terminal, presses Enter, waits for the',
33
34
  ' target to finish, then prints the target agent response to stdout.',
34
35
  ' The target is another LLM agent. It may need minutes to think, read files, and use tools.',
35
- ' Set both `--timeout` and your shell/tool-call timeout high enough, or your caller may exit',
36
- ' before the target agent finishes.',
36
+ ' Keep the `clideck ask` shell command running until it exits. stdout is the response channel.',
37
+ ' Waiting progress goes to stderr; the target response goes to stdout.',
38
+ ' Set both `--timeout` and your shell/tool-call timeout high enough, or the target may keep',
39
+ ' working while the caller loses the response.',
40
+ ' CliDeck only sends to idle targets and does not queue asks. If the target is busy, retry',
41
+ ' later or ask another idle agent.',
42
+ ' To ask multiple agents, run one `clideck ask` command per target and keep each one open.',
37
43
  '',
38
44
  'Examples:',
39
45
  ' clideck agents',
@@ -48,8 +54,7 @@ function usage() {
48
54
  ' Run `clideck agents` to discover available same-project sessions.',
49
55
  ' Run `clideck agents --all` before a cross-project ask.',
50
56
  ' Run `clideck ask --help` for the exact ask command contract.',
51
- ' If the target name has spaces, quote it.',
52
- ' If several sessions have the same name in the same project, use the session id.',
57
+ ' If a target has spaces, quote the whole target, including @project/session addresses.',
53
58
  ].join('\n');
54
59
  }
55
60
 
@@ -9,6 +9,7 @@ function usage() {
9
9
  'Lists active CliDeck sessions in the same project as the caller session.',
10
10
  'Use this from inside a CliDeck session before `clideck ask` to discover target names.',
11
11
  'Use --all to discover cross-project targets and their @project/session ask addresses.',
12
+ 'Use the printed ask= value exactly when present, and prefer idle targets for `clideck ask`.',
12
13
  '',
13
14
  'Options:',
14
15
  ' --json Print machine-readable JSON.',
@@ -13,12 +13,19 @@ function usage() {
13
13
  'Unscoped target lookup is limited to the same project as the caller session.',
14
14
  'Use @project/session only when you intentionally need to ask across projects.',
15
15
  'Run `clideck agents` or `clideck agents --all` first to discover available target sessions.',
16
+ 'Copy and use the target exactly as listed by `clideck agents`; quote it if it contains spaces.',
16
17
  '',
17
18
  'Important for agents:',
18
19
  ' The target is another LLM agent, not a fast CLI command. It may need minutes to read files,',
19
- ' think, use tools, and answer. Set BOTH the `clideck ask --timeout` value and your own',
20
- ' shell/tool-call timeout high enough. If your shell tool kills this process first, the target',
21
- ' agent may keep working but you will lose the response.',
20
+ ' think, use tools, and answer.',
21
+ ' Keep this shell command running until it exits. The target agent response is returned through',
22
+ ' this command\'s stdout; if you background it, stop watching it, or let your shell/tool timeout',
23
+ ' kill it, the target may keep working but you will lose the response channel.',
24
+ ' Set BOTH `clideck ask --timeout` and your own shell/tool-call timeout high enough.',
25
+ ' Waiting progress is printed to stderr; the target response is printed to stdout.',
26
+ ' CliDeck only sends to idle target agents. If the target is busy, the ask fails immediately;',
27
+ ' it is not queued. Try again later or ask another idle agent.',
28
+ ' To ask multiple agents, start one `clideck ask` command per target and keep each command open.',
22
29
  '',
23
30
  'Options:',
24
31
  ' -s, --session <name-or-id> Target session name or id.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clideck",
3
- "version": "1.31.22",
3
+ "version": "1.31.23",
4
4
  "description": "One screen for all your AI coding agents — run, monitor, and manage multiple CLI agents from a single browser tab",
5
5
  "main": "server.js",
6
6
  "bin": {