@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/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  startMcpHttpServer,
3
3
  startMcpServer
4
- } from "./chunk-SZ67UYAY.js";
4
+ } from "./chunk-VVYEIOFH.js";
5
5
  export {
6
6
  startMcpHttpServer,
7
7
  startMcpServer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composer-app/mcp",
3
- "version": "0.0.1-beta.2",
3
+ "version": "0.0.1-beta.3",
4
4
  "description": "Composer MCP",
5
5
  "license": "MIT",
6
6
  "author": "Josh Philpott",
@@ -0,0 +1,8 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "mcp__composer-mcp__composer_create_room",
5
+ "mcp__composer-mcp__composer_join_room"
6
+ ]
7
+ }
8
+ }
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, seedMarkdown, actingAs: "<user's name>'s Agent" })`.
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