@cg3/equip 0.2.17 → 0.2.19
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 +11 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,17 +158,21 @@ const { detectPlatforms, installMcpJson, installRules, createManualPlatform, pla
|
|
|
158
158
|
- **Dry-run support** — Preview changes without writing files
|
|
159
159
|
- **CLI helpers** — Colored output, prompts, clipboard utilities included
|
|
160
160
|
|
|
161
|
-
##
|
|
161
|
+
## How the Layers Work Together
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
Equip distributes your MCP tool through three complementary layers, each stronger than the last:
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
1. **MCP config** — Makes the tool available. The agent *can* call it.
|
|
166
|
+
2. **Behavioral rules** — Teaches the agent *when* to call it. Rules live in the agent's system prompt or project context, close to where decisions happen.
|
|
167
|
+
3. **Lifecycle hooks** — Structurally enforces behavior at key moments (e.g., after an error, on task completion). Hooks inject context into the agent's reasoning at exactly the right time, without relying on the agent remembering its rules.
|
|
166
168
|
|
|
167
|
-
|
|
168
|
-
- **No platform hooks exist** to enforce tool calls — the agent always decides whether to act
|
|
169
|
-
- **No open standard** for server-initiated actions (MCP sampling exists in spec but isn't widely implemented)
|
|
169
|
+
Each layer compensates for the limitations of the one before it:
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
- **Tool descriptions alone** don't reliably trigger behavior. [Research on 856 MCP tools](https://arxiv.org/abs/2602.14878) found that even fully optimized descriptions only improve task success by ~6 percentage points.
|
|
172
|
+
- **Behavioral rules** are stronger, but can be dropped during context window compaction in long sessions, and the agent can still rationalize skipping them.
|
|
173
|
+
- **Lifecycle hooks** are the strongest available enforcement — they fire automatically at the platform level, independent of the agent's memory or reasoning. Not all platforms support hooks yet, but equip installs them where available and silently skips where not.
|
|
174
|
+
|
|
175
|
+
No layer is a silver bullet. Together, they give you the best coverage available today across the broadest set of platforms.
|
|
172
176
|
|
|
173
177
|
## License
|
|
174
178
|
|