@antonior/claude-code-setup 2.0.1 → 2.0.2
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 +28 -0
- package/bin/install.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,7 @@ The installer installs these for you if missing:
|
|
|
41
41
|
| `jq` | hooks (JSON parsing) | **Required** — install aborts without it. |
|
|
42
42
|
| `python3` | `transcript-search` MCP + video-FPS hook | Best-effort — feature stays dormant if it can't install. |
|
|
43
43
|
| `ffmpeg` | `claude-video-vision` MCP | Best-effort. |
|
|
44
|
+
| `tmux` | optional `cr` tmux launch workflow (lives in shell config, not shipped) | Best-effort. |
|
|
44
45
|
| `git`, `eslint`, `tsc` | commit-scan / lint / typecheck hooks | Optional — hooks no-op cleanly when absent. |
|
|
45
46
|
|
|
46
47
|
## What it installs (into `~/.claude/`)
|
|
@@ -85,6 +86,33 @@ The installer reproduces **100% of the configuration and behaviour**. Two things
|
|
|
85
86
|
1. **Log into Claude Code** (your account — you'd do this on any new machine anyway).
|
|
86
87
|
2. **Give `claude-video-vision` your own API key** if you use video analysis.
|
|
87
88
|
|
|
89
|
+
## Shell workflow (optional, not shipped)
|
|
90
|
+
|
|
91
|
+
The package mirrors `~/.claude` only, so anything in your shell config (`~/.zshrc`) is **not** shipped. Add it per machine. These two bits drive how I launch Claude:
|
|
92
|
+
|
|
93
|
+
**Start Claude in bypass mode** (skips per-tool permission prompts). Note: `skipDangerousModePermissionPrompt` in `settings.json` only suppresses the warning; this alias is what actually starts a session in bypass mode:
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
alias claude="claude --dangerously-skip-permissions"
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**`cr` — launch Claude inside a tmux session** (named after the current directory, or pass a name: `cr myname`):
|
|
100
|
+
|
|
101
|
+
```sh
|
|
102
|
+
cr() {
|
|
103
|
+
local session="${1:-$(basename "$PWD")}"
|
|
104
|
+
if tmux has-session -t "$session" 2>/dev/null; then
|
|
105
|
+
tmux attach-session -t "$session"
|
|
106
|
+
else
|
|
107
|
+
tmux new-session -s "$session" -d -c "$PWD"
|
|
108
|
+
tmux send-keys -t "$session" "claude --dangerously-skip-permissions --remote-control '$session'" Enter
|
|
109
|
+
tmux attach-session -t "$session"
|
|
110
|
+
fi
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
`cr` needs `tmux`, which the installer now installs best effort (see the dependencies table). After editing `~/.zshrc`, run `source ~/.zshrc` or open a new terminal.
|
|
115
|
+
|
|
88
116
|
## Maintaining (for me)
|
|
89
117
|
|
|
90
118
|
The package is an exact mirror of my own `~/.claude`. To refresh it from my live config and publish:
|
package/bin/install.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antonior/claude-code-setup",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Install Antonio's full Claude Code setup: hooks, slash commands, skills, statusline, settings, and MCP servers (transcript-search + video-vision)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claude-code-setup": "bin/install.js"
|