@composer-app/mcp 0.0.1-beta.2 → 0.0.1-beta.3
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/dist/chunk-VVYEIOFH.js +5095 -0
- package/dist/cli.js +826 -48
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
- package/skill/.claude/settings.local.json +8 -0
- package/skill/SKILL.md +16 -1
- package/dist/chunk-SZ67UYAY.js +0 -1363
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -12,9 +12,24 @@ to create, join, monitor, or act in a Composer doc.
|
|
|
12
12
|
|
|
13
13
|
### 1. Create
|
|
14
14
|
Triggers: "send this markdown to Composer", "make a Composer doc with this".
|
|
15
|
-
Action: call `composer_create_room({ name,
|
|
15
|
+
Action: call `composer_create_room({ name, actingAs: "<user's name>'s Agent", ... })`.
|
|
16
16
|
Return the `browserUrl`. You are already attached; enter monitor mode.
|
|
17
17
|
|
|
18
|
+
**Seeding — prefer a file path when one exists.** Pick exactly one:
|
|
19
|
+
|
|
20
|
+
- `seedMarkdownPath: "<absolute path>"` — **preferred** whenever the markdown
|
|
21
|
+
already lives in a file on disk (a plan, a journal entry, any `.md` the
|
|
22
|
+
user pointed at). The MCP reads the file itself, so you don't stream the
|
|
23
|
+
whole document through the model. This is faster and avoids burning
|
|
24
|
+
tokens re-emitting content that already exists.
|
|
25
|
+
- `seedMarkdown: "<inline string>"` — only when the content was generated
|
|
26
|
+
in this turn and isn't on disk yet.
|
|
27
|
+
|
|
28
|
+
The seed file is read **once** at creation. Composer never writes back to
|
|
29
|
+
it — edits made in the room stay in the room. Do not modify the source
|
|
30
|
+
file while the user is working in Composer unless they explicitly ask you
|
|
31
|
+
to sync changes back.
|
|
32
|
+
|
|
18
33
|
### 2. Join
|
|
19
34
|
Triggers: a share prompt with a Composer URL, "/composer join <url>".
|
|
20
35
|
Action: extract the URL and the acting-as name from the prompt. Call
|