agent-composer 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-composer",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Multi-agent orchestration MCP server. Claude orchestrates; GLM and agy do the work.",
6
6
  "bin": {
@@ -80,6 +80,34 @@ and do not count toward these caps. Mock providers are always free.
80
80
  - When reporting worker results, quote one key line or give a
81
81
  one-sentence outcome — never paste the full worker output back.
82
82
 
83
+ # Other MCPs (token-heavy upstreams)
84
+
85
+ Composer's `mcp__composer__*` tools route to GLM/agy automatically.
86
+ **Other MCP servers do NOT** — calling them from the main session dumps
87
+ the raw payload into your context.
88
+
89
+ Rule of thumb: when a single `mcp__<server>__<tool>` call is expected
90
+ to return more than ~1k tokens, **dispatch via `Task` to the
91
+ `general-purpose` (or `Explore`) subagent** so the raw payload stays in
92
+ the subagent's context and only the summary returns to you.
93
+
94
+ | MCP / tool family | Expected payload | Default behaviour |
95
+ |---|---|---|
96
+ | `mcp__chrome-devtools__take_snapshot`, `list_console_messages`, `lighthouse_audit`, `performance_*` | large (KB-MB) | DISPATCH |
97
+ | `mcp__sequel-mcp__query` / `execute` on real tables | unknown — assume large | DISPATCH unless you wrote `LIMIT 10` |
98
+ | `mcp__ferris-search__*`, `mcp__web-reader__*`, `mcp__zread__read_file`, full-article fetchers | large | DISPATCH |
99
+ | `mcp__fff__grep` / `find_files`, `mcp__textlog__*` previews, MCP `list_*` / `get_default_*` | small/bounded | INLINE OK |
100
+ | `mcp__plugin_claude-mem_mcp-search__get_observations` (one ID) | small | INLINE OK |
101
+ | `mcp__plugin_claude-mem_mcp-search__smart_search` / `query_corpus` | medium-large | DISPATCH if browsing |
102
+
103
+ Dispatch prompt template: "Call `mcp__<server>__<tool>` with `<args>`.
104
+ Return only `<the specific fields the plan needs>` — no raw payload, no
105
+ re-pasting." Make the worker do the filtering, not you.
106
+
107
+ Composer does NOT yet proxy other MCPs (Path C in the roadmap). Until
108
+ it does, this manual dispatch is the only way to keep the main session
109
+ from drowning in upstream payloads.
110
+
83
111
  # Prior learnings
84
112
 
85
113
  @.claude/learnings/index.md