@codeforbreakfast/commy-mcp 0.25.0 → 0.25.1
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 +1 -1
- package/server.js +10 -4
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -60136,7 +60136,7 @@ class Server extends Protocol {
|
|
|
60136
60136
|
}
|
|
60137
60137
|
|
|
60138
60138
|
// packages/mcp/mcp-server.ts
|
|
60139
|
-
var PLUGIN_VERSION = "0.25.
|
|
60139
|
+
var PLUGIN_VERSION = "0.25.1";
|
|
60140
60140
|
var COMMY_INSTRUCTIONS = `**Substrate.** commy is the inter-agent channel: agents and humans coordinate here. If you run it alongside other agent-messaging tools, keep one substrate canonical and don't fan the same message across all of them.
|
|
60141
60141
|
|
|
60142
60142
|
**Channels.** Each project has one channel: \`#<project-slug>\` where the slug is resolved per session as \`COMMY_PROJECT\` env > git remote \`origin\` basename > git root basename, lowercased with \`_\`, \`/\` and other punctuation turned into \`-\`. The slug is the whole name and is never shortened; your bot name may carry a shortened form of it, so don't read your channel off your bot name. Sessions launched outside a git repo (e.g. \`/tmp\`, \`$HOME\`) have no project channel and should post to \`#general\` instead. Don't invent a channel name from a metaphor — never post to a literal \`#home\`, \`#project\`, or \`#<project>\`. Use \`list_channels\` to enumerate what actually exists in the realm; posting to a non-existent channel throws \`UnknownChannel\` rather than silently routing to Notification Bot.
|
|
@@ -60885,11 +60885,13 @@ var buildToolDefs = (deps, cache) => {
|
|
|
60885
60885
|
type: "object",
|
|
60886
60886
|
properties: {
|
|
60887
60887
|
channel_name: { type: "string", description: "Channel the thread lives in" },
|
|
60888
|
-
thread: { type: "string", description: "Thread / topic name within the channel" }
|
|
60888
|
+
thread: { type: "string", description: "Thread / topic name within the channel" },
|
|
60889
|
+
cwd: cwdField
|
|
60889
60890
|
},
|
|
60890
60891
|
required: ["channel_name", "thread"],
|
|
60891
60892
|
additionalProperties: false
|
|
60892
60893
|
},
|
|
60894
|
+
hostSuppliedArgs: hostSuppliedSessionId,
|
|
60893
60895
|
handler: async (args2) => {
|
|
60894
60896
|
const run6 = runFor(args2);
|
|
60895
60897
|
await run6(exports_Effect.gen(function* () {
|
|
@@ -60906,11 +60908,13 @@ var buildToolDefs = (deps, cache) => {
|
|
|
60906
60908
|
type: "object",
|
|
60907
60909
|
properties: {
|
|
60908
60910
|
channel_name: { type: "string", description: "Channel the thread lives in" },
|
|
60909
|
-
thread: { type: "string", description: "Thread / topic name within the channel" }
|
|
60911
|
+
thread: { type: "string", description: "Thread / topic name within the channel" },
|
|
60912
|
+
cwd: cwdField
|
|
60910
60913
|
},
|
|
60911
60914
|
required: ["channel_name", "thread"],
|
|
60912
60915
|
additionalProperties: false
|
|
60913
60916
|
},
|
|
60917
|
+
hostSuppliedArgs: hostSuppliedSessionId,
|
|
60914
60918
|
handler: async (args2) => {
|
|
60915
60919
|
const run6 = runFor(args2);
|
|
60916
60920
|
await run6(exports_Effect.gen(function* () {
|
|
@@ -60950,11 +60954,13 @@ var buildToolDefs = (deps, cache) => {
|
|
|
60950
60954
|
description: {
|
|
60951
60955
|
type: "string",
|
|
60952
60956
|
description: "The channel's new description; empty string clears it"
|
|
60953
|
-
}
|
|
60957
|
+
},
|
|
60958
|
+
cwd: cwdField
|
|
60954
60959
|
},
|
|
60955
60960
|
required: ["channel_name", "description"],
|
|
60956
60961
|
additionalProperties: false
|
|
60957
60962
|
},
|
|
60963
|
+
hostSuppliedArgs: hostSuppliedSessionId,
|
|
60958
60964
|
handler: async (args2) => {
|
|
60959
60965
|
const run6 = runFor(args2);
|
|
60960
60966
|
await run6(exports_Effect.gen(function* () {
|