@composer-app/mcp 0.0.4-beta.1 → 0.0.5
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-ORB2OJTN.js → chunk-IDX65B2W.js} +1621 -122
- package/dist/cli.js +6 -6
- package/dist/mcp.js +1 -1
- package/package.json +7 -3
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
logError,
|
|
5
5
|
startMcpHttpServer,
|
|
6
6
|
startMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IDX65B2W.js";
|
|
8
8
|
|
|
9
9
|
// src/setup.ts
|
|
10
10
|
import * as fs from "fs/promises";
|
|
@@ -52,7 +52,7 @@ function printIntro() {
|
|
|
52
52
|
`);
|
|
53
53
|
write("\n");
|
|
54
54
|
write(
|
|
55
|
-
` ${bold("
|
|
55
|
+
` ${bold("A realtime collaborative markdown editor")} for your team and agents to work together.
|
|
56
56
|
`
|
|
57
57
|
);
|
|
58
58
|
write(` Same doc, live \u2014 comments, suggestions, edits. No copy-paste.
|
|
@@ -505,14 +505,14 @@ var registerStep = async (state, canGoBack) => {
|
|
|
505
505
|
return "prompted";
|
|
506
506
|
};
|
|
507
507
|
var scopeStep = async (state, canGoBack) => {
|
|
508
|
-
section("Add
|
|
508
|
+
section("Add rule to send markdown plans to Composer for review?");
|
|
509
509
|
note([
|
|
510
510
|
"Adds a line to your agent's rules file (CLAUDE.md, AGENTS.md, etc.)",
|
|
511
|
-
"so it proactively
|
|
512
|
-
"
|
|
511
|
+
"so that it will proactively offer to send generated markdown to",
|
|
512
|
+
"iterate on together vs. only writing it to a markdown file."
|
|
513
513
|
]);
|
|
514
514
|
const r = await select(
|
|
515
|
-
"
|
|
515
|
+
"Composer rule scope",
|
|
516
516
|
[
|
|
517
517
|
{ value: "user", label: "User-level", hint: "applies to all your projects" },
|
|
518
518
|
{ value: "project", label: "Project-level", hint: process.cwd() }
|
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composer-app/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Composer MCP",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Josh Philpott",
|
|
@@ -28,10 +28,14 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
|
+
"setup_env": "OP_SERVICE_ACCOUNT_TOKEN=$COMPOSER_OP_SERVICE_ACCOUNT_TOKEN op run --environment $COMPOSER_OP_ENV_ID --no-masking --",
|
|
32
|
+
"setup_env:prod": "OP_SERVICE_ACCOUNT_TOKEN=$COMPOSER_OP_SERVICE_ACCOUNT_TOKEN op run --environment $COMPOSER_OP_PROD_ENV_ID --no-masking --",
|
|
31
33
|
"build": "tsup",
|
|
32
34
|
"dev": "tsup --watch",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
+
"dev:http": "npm run setup_env -- tsx watch --clear-screen=false src/cli.ts http",
|
|
36
|
+
"dev:http:prod": "npm run setup_env:prod -- tsx watch --clear-screen=false src/cli.ts http",
|
|
37
|
+
"start:local": "exec env COMPOSER_SERVER_HOST=localhost:5173 COMPOSER_APP_BASE=http://localhost:5173 tsx src/cli.ts mcp",
|
|
38
|
+
"start:prod": "exec tsx src/cli.ts mcp",
|
|
35
39
|
"typecheck": "tsc --noEmit -p .",
|
|
36
40
|
"test": "vitest run"
|
|
37
41
|
},
|