csquad 0.4.3 → 0.6.1

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/README.md CHANGED
@@ -32,6 +32,41 @@ Install and sign in to Claude Code or Codex separately. Agents use your native
32
32
  engine configuration and accounts. By default, C Squad bypasses native agent
33
33
  permission prompts; this is configurable.
34
34
 
35
+ ## Shell completion
36
+
37
+ This package runs no install scripts and never edits your shell configuration,
38
+ so npm cannot enable completion for you. One command does it.
39
+
40
+ Load it into the **current shell** only:
41
+
42
+ ```sh
43
+ source <(csquad completion zsh) # bash: source <(csquad completion bash)
44
+ csquad completion fish | source # fish
45
+ ```
46
+
47
+ Install it **persistently**:
48
+
49
+ ```sh
50
+ csquad completion install # writes a script and prints any line to add
51
+ csquad completion status # what is installed, and how to verify it
52
+ ```
53
+
54
+ Fish needs nothing else, and neither does bash once the bash-completion v2
55
+ package is installed: it reads the target directory and supplies helpers the
56
+ generated script calls. For zsh, add the
57
+ printed `fpath=(...)` line to `~/.zshrc` above the command that runs
58
+ `compinit` — with Oh My Zsh, above `source $ZSH/oh-my-zsh.sh` — then open a new
59
+ terminal. If completion still does not appear, the cached index is stale: run
60
+ `rm -f ~/.zcompdump*` and open another terminal.
61
+
62
+ In that new shell, `csquad sta` + **Tab** expands to `csquad start`; in zsh,
63
+ `print -r -- ${_comps[csquad]:-missing}` prints `_csquad` once completion is
64
+ registered.
65
+
66
+ The installed script resolves `csquad` from `PATH` when you press Tab and lives
67
+ in your own data directory rather than the Node prefix, so it keeps working
68
+ after `nvm use`, a Node upgrade, or `npm install -g csquad@latest`.
69
+
35
70
  ## Update or remove
36
71
 
37
72
  ```sh
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "csquad",
3
- "version": "0.4.3",
3
+ "version": "0.6.1",
4
4
  "description": "Coordinate Claude Code and Codex teams in tmux",
5
5
  "license": "MIT",
6
6
  "author": "ShunL12324",