tweakcc 4.0.3 → 4.0.6
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 +1 -37
- package/dist/{config-Dvq5brXH.mjs → config-Y-joBt-N.mjs} +30 -30
- package/dist/{content-DOnCP5K8.mjs → content-3z41_drP.mjs} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib/index.mjs +1 -1
- package/dist/{nativeInstallation-B4LfUOK0.mjs → nativeInstallation-CP7Hq-4N.mjs} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,6 @@ Download it and try it out for free! **https://piebald.ai/**
|
|
|
56
56
|
> **NEW:** tweakcc 4.0.0 also introduces several new patches:
|
|
57
57
|
>
|
|
58
58
|
> - [AGENTS.md support (demo video)](#feature-agentsmd-support)
|
|
59
|
-
> - [:lock: unlock swarm mode](#feature-swarm-mode-native-multi-agent)
|
|
60
59
|
> - [:lock: unlock session memory (blog post)](https://piebald.ai/blog/session-memory-is-coming-to-claude-code) (thank you [@odysseus0](https://github.com/odysseus0)!)
|
|
61
60
|
> - [`/remember` skill](https://piebald.ai/blog/session-memory-is-coming-to-claude-code)
|
|
62
61
|
> - [input pattern highlighters](#feature-input-pattern-highlighters)
|
|
@@ -90,7 +89,6 @@ tweakcc also
|
|
|
90
89
|
- Adds the **`opusplan[1m]`** model alias, combining Opus for planning with Sonnet's 1M context for execution—reducing "[context anxiety](#feature-opus-plan-1m-mode)" ([#108](https://github.com/Piebald-AI/tweakcc/issues/108))
|
|
91
90
|
- Adds a message to Claude Code's startup banner indicating that you're running the patched version of CC (configurable)
|
|
92
91
|
- Speeds up Claude Code startup by **~50%** with non-blocking MCP connections and configurable parallel connection batch size ([#406](https://github.com/Piebald-AI/tweakcc/issues/406))
|
|
93
|
-
- Enables native multi-agent/swarm mode (TeammateTool, delegate mode, swarm spawning) by bypassing the `tengu_brass_pebble` Statsig flag.
|
|
94
92
|
|
|
95
93
|
tweakcc supports Claude Code installed on **Windows, macOS, and Linux**, both **native/binary installations** and those installed via npm, yarn, pnpm, bun, Homebrew/Linuxbrew, nvm, fnm, n, volta, nvs, and nodenv, as well as custom locations.
|
|
96
94
|
|
|
@@ -144,7 +142,6 @@ $ pnpm dlx tweakcc
|
|
|
144
142
|
- [Opus Plan 1M mode](#feature-opus-plan-1m-mode)
|
|
145
143
|
- [MCP startup optimization](#feature-mcp-startup-optimization)
|
|
146
144
|
- [Table format](#feature-table-format)
|
|
147
|
-
- [Swarm mode (native multi-agent)](#feature-swarm-mode-native-multi-agent)
|
|
148
145
|
- [Token count rounding](#feature-token-count-rounding)
|
|
149
146
|
- [Statusline update customization](#feature-statusline-update-customization)
|
|
150
147
|
- [AGENTS.md support (with video)](#feature-agentsmd-support)
|
|
@@ -164,7 +161,7 @@ $ pnpm dlx tweakcc
|
|
|
164
161
|
|
|
165
162
|
tweakcc works by patching Claude Code's minified `cli.js` file, reading customizations from `~/.tweakcc/config.json`. For npm-based installations `cli.js` is modified directly, but for native installations it's extracted from the binary using [node-lief](https://github.com/Piebald-AI/node-lief), patched, and then the binary is repacked. When you update your Claude Code installation, your customizations will be overwritten, but they're remembered in your configuration file, so they can be reapplied by just running `npx tweakcc --apply`.
|
|
166
163
|
|
|
167
|
-
tweakcc is verified to work with Claude Code **2.1.
|
|
164
|
+
tweakcc is verified to work with Claude Code **2.1.50.** In newer or earlier versions various patches might not work. However, if we have the [system prompts for your version](https://github.com/Piebald-AI/tweakcc/tree/main/data/prompts) then system prompt patching is guaranteed to work with that version, even if it's significantly different from the verified CC version—the version number stated above is only relevant for the non-system-prompt patches. We get the latest system prompts within minutes of each new CC release, so unless you're using a CC version older than 2.0.14, your version is supported.
|
|
168
165
|
|
|
169
166
|
You can also create custom patches using tweakcc without having to fork it or open a PR. [`tweakcc adhoc-patch`](#cli-commands) supports using custom scripts that work with native and npm-based installs and that automatically detect your Claude Code installation.
|
|
170
167
|
|
|
@@ -974,39 +971,6 @@ tweakcc provides three alternative formats:
|
|
|
974
971
|
|
|
975
972
|
Valid values are `"default"`, `"ascii"`, `"clean"`, and `"clean-top-bottom"`.
|
|
976
973
|
|
|
977
|
-
## Feature: Swarm mode (native multi-agent)
|
|
978
|
-
|
|
979
|
-
Claude Code 2.1.16+ includes native multi-agent features that are gated behind the `tengu_brass_pebble` Statsig flag. tweakcc patches this gate to enable these features for everyone.
|
|
980
|
-
|
|
981
|
-

|
|
982
|
-

|
|
983
|
-
|
|
984
|
-
**Features unlocked:**
|
|
985
|
-
|
|
986
|
-
| Feature | Description |
|
|
987
|
-
| -------------------- | ---------------------------------------------------------- |
|
|
988
|
-
| **TeammateTool** | Tool for spawning and coordinating teammate agents |
|
|
989
|
-
| **Delegate mode** | Task tool mode option for delegating work |
|
|
990
|
-
| **Swarm spawning** | `launchSwarm` + `teammateCount` parameters in ExitPlanMode |
|
|
991
|
-
| **Teammate mailbox** | Inter-agent messaging system |
|
|
992
|
-
| **Task teammates** | Task list teammate display and coordination |
|
|
993
|
-
|
|
994
|
-
**Enable/disable**
|
|
995
|
-
|
|
996
|
-
**Via the UI:** Run `npx tweakcc`, go to **Misc**, and check/uncheck **Enable swarm mode (native multi-agent)**. Then **Apply customizations**.
|
|
997
|
-
|
|
998
|
-
**Via `config.json`:**
|
|
999
|
-
|
|
1000
|
-
```json
|
|
1001
|
-
{
|
|
1002
|
-
"settings": {
|
|
1003
|
-
"misc": {
|
|
1004
|
-
"enableSwarmMode": true
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
```
|
|
1009
|
-
|
|
1010
974
|
## Feature: Token count rounding
|
|
1011
975
|
|
|
1012
976
|
In the generation status, where the thinking verb is displayed, e.g. `✻ Improvising… (35s · ↓ 279 tokens)`, the token count estimate will increase very rapidly at times. While it's helpful to know that the connection isn't stalled, such frequent UI updates can cause rendering issues in slow terminals, and if Claude Code is being run from a network, frequent updates can clog the network.
|