@codeforbreakfast/commy-mcp 0.26.0 → 0.26.2
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 +43 -49
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -28804,10 +28804,10 @@ var setHeaders2 = setHeaders;
|
|
|
28804
28804
|
var setUrlParams2 = setUrlParams;
|
|
28805
28805
|
var toUrl2 = toUrl;
|
|
28806
28806
|
var bodyUrlParams2 = bodyUrlParams;
|
|
28807
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
28807
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/commandExecutor.js
|
|
28808
28808
|
import * as ChildProcess from "node:child_process";
|
|
28809
28809
|
|
|
28810
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
28810
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/error.js
|
|
28811
28811
|
var handleErrnoException = (module, method) => (err, [path]) => {
|
|
28812
28812
|
let reason = "Unknown";
|
|
28813
28813
|
switch (err.code) {
|
|
@@ -28844,7 +28844,7 @@ var handleErrnoException = (module, method) => (err, [path]) => {
|
|
|
28844
28844
|
});
|
|
28845
28845
|
};
|
|
28846
28846
|
|
|
28847
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
28847
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/stream.js
|
|
28848
28848
|
var fromReadable = (evaluate, onError, options) => fromChannel3(fromReadableChannel(evaluate, onError, options));
|
|
28849
28849
|
var fromReadableChannel = (evaluate, onError, options) => suspend10(() => unsafeReadableRead(evaluate(), onError, make11(undefined), options));
|
|
28850
28850
|
var writeInput = (writable, onFailure, {
|
|
@@ -28932,7 +28932,7 @@ var unsafeReadableRead = (readable, onError, exit, options) => {
|
|
|
28932
28932
|
}));
|
|
28933
28933
|
};
|
|
28934
28934
|
|
|
28935
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
28935
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/sink.js
|
|
28936
28936
|
var fromWritable = (evaluate, onError, options) => fromChannel4(fromWritableChannel(evaluate, onError, options));
|
|
28937
28937
|
var fromWritableChannel = (writable, onError, options) => flatMap16(zip6(sync4(() => writable()), make25()), ([writable, deferred]) => embedInput2(writableOutput(writable, deferred, onError), writeInput(writable, (cause) => failCause2(deferred, cause), options, complete(deferred, _void))));
|
|
28938
28938
|
var writableOutput = (writable, deferred, onError) => suspend4(() => {
|
|
@@ -28945,7 +28945,7 @@ var writableOutput = (writable, deferred, onError) => suspend4(() => {
|
|
|
28945
28945
|
}));
|
|
28946
28946
|
});
|
|
28947
28947
|
|
|
28948
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
28948
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/commandExecutor.js
|
|
28949
28949
|
var inputToStdioOption = (stdin) => typeof stdin === "string" ? stdin : "pipe";
|
|
28950
28950
|
var outputToStdioOption = (output) => typeof output === "string" ? output : "pipe";
|
|
28951
28951
|
var toError = (err) => err instanceof globalThis.Error ? err : new globalThis.Error(String(err));
|
|
@@ -29065,7 +29065,7 @@ var runCommand = (fileSystem) => (command) => {
|
|
|
29065
29065
|
};
|
|
29066
29066
|
var layer3 = /* @__PURE__ */ effect(CommandExecutor2, /* @__PURE__ */ pipe(FileSystem, /* @__PURE__ */ map18((fileSystem) => makeExecutor2(runCommand(fileSystem)))));
|
|
29067
29067
|
|
|
29068
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29068
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/NodeCommandExecutor.js
|
|
29069
29069
|
var layer4 = layer3;
|
|
29070
29070
|
|
|
29071
29071
|
// node_modules/.bun/@effect+platform@0.97.2+b7d12001b80ce2c7/node_modules/@effect/platform/dist/esm/internal/effectify.js
|
|
@@ -29086,7 +29086,7 @@ var effectify = (fn, onError, onSyncError) => (...args) => async((resume) => {
|
|
|
29086
29086
|
// node_modules/.bun/@effect+platform@0.97.2+b7d12001b80ce2c7/node_modules/@effect/platform/dist/esm/Effectify.js
|
|
29087
29087
|
var effectify2 = effectify;
|
|
29088
29088
|
|
|
29089
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29089
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/fileSystem.js
|
|
29090
29090
|
import * as Crypto from "node:crypto";
|
|
29091
29091
|
import * as NFS from "node:fs";
|
|
29092
29092
|
import * as OS from "node:os";
|
|
@@ -29446,7 +29446,7 @@ var makeFileSystem = /* @__PURE__ */ map18(/* @__PURE__ */ serviceOption2(WatchB
|
|
|
29446
29446
|
}));
|
|
29447
29447
|
var layer5 = /* @__PURE__ */ effect(FileSystem, makeFileSystem);
|
|
29448
29448
|
|
|
29449
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29449
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/NodeFileSystem.js
|
|
29450
29450
|
var layer6 = layer5;
|
|
29451
29451
|
|
|
29452
29452
|
// node_modules/.bun/@effect+platform@0.97.2+b7d12001b80ce2c7/node_modules/@effect/platform/dist/esm/internal/path.js
|
|
@@ -29937,7 +29937,7 @@ var posixImpl = /* @__PURE__ */ Path3.of({
|
|
|
29937
29937
|
var TypeId30 = TypeId29;
|
|
29938
29938
|
var Path4 = Path3;
|
|
29939
29939
|
|
|
29940
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29940
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/path.js
|
|
29941
29941
|
import * as NodePath from "node:path";
|
|
29942
29942
|
import * as NodeUrl from "node:url";
|
|
29943
29943
|
var fromFileUrl2 = (url) => try_3({
|
|
@@ -29977,7 +29977,7 @@ var layer8 = /* @__PURE__ */ succeed9(Path4, /* @__PURE__ */ Path4.of({
|
|
|
29977
29977
|
toFileUrl: toFileUrl2
|
|
29978
29978
|
}));
|
|
29979
29979
|
|
|
29980
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29980
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/NodePath.js
|
|
29981
29981
|
var layer9 = layer8;
|
|
29982
29982
|
|
|
29983
29983
|
// node_modules/.bun/@effect+platform@0.97.2+b7d12001b80ce2c7/node_modules/@effect/platform/dist/esm/internal/terminal.js
|
|
@@ -29992,7 +29992,7 @@ var isMailbox = (u) => hasProperty(u, TypeId31);
|
|
|
29992
29992
|
var make57 = make46;
|
|
29993
29993
|
var toChannel4 = toChannel2;
|
|
29994
29994
|
|
|
29995
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
29995
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/terminal.js
|
|
29996
29996
|
import * as readline from "node:readline";
|
|
29997
29997
|
var defaultShouldQuit = (input) => input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
|
|
29998
29998
|
var make58 = /* @__PURE__ */ fnUntraced2(function* (shouldQuit = defaultShouldQuit) {
|
|
@@ -30065,7 +30065,7 @@ var make58 = /* @__PURE__ */ fnUntraced2(function* (shouldQuit = defaultShouldQu
|
|
|
30065
30065
|
});
|
|
30066
30066
|
var layer10 = /* @__PURE__ */ scoped3(Terminal2, /* @__PURE__ */ make58(defaultShouldQuit));
|
|
30067
30067
|
|
|
30068
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
30068
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/NodeTerminal.js
|
|
30069
30069
|
var layer11 = layer10;
|
|
30070
30070
|
|
|
30071
30071
|
// node_modules/.bun/effect@3.22.3/node_modules/effect/dist/esm/FiberSet.js
|
|
@@ -30362,7 +30362,7 @@ var makePlatform2 = makePlatform;
|
|
|
30362
30362
|
var PlatformWorker2 = PlatformWorker;
|
|
30363
30363
|
var layerManager2 = layerManager;
|
|
30364
30364
|
|
|
30365
|
-
// node_modules/.bun/@effect+platform-node@0.108.3+
|
|
30365
|
+
// node_modules/.bun/@effect+platform-node@0.108.3+04aff9b21a3a4297/node_modules/@effect/platform-node/dist/esm/internal/worker.js
|
|
30366
30366
|
var platformWorkerImpl = /* @__PURE__ */ makePlatform2()({
|
|
30367
30367
|
setup({
|
|
30368
30368
|
scope,
|
|
@@ -30423,10 +30423,10 @@ var platformWorkerImpl = /* @__PURE__ */ makePlatform2()({
|
|
|
30423
30423
|
var layerWorker = /* @__PURE__ */ succeed9(PlatformWorker2, platformWorkerImpl);
|
|
30424
30424
|
var layerManager3 = /* @__PURE__ */ provide3(layerManager2, layerWorker);
|
|
30425
30425
|
|
|
30426
|
-
// node_modules/.bun/@effect+platform-node@0.108.3+
|
|
30426
|
+
// node_modules/.bun/@effect+platform-node@0.108.3+04aff9b21a3a4297/node_modules/@effect/platform-node/dist/esm/NodeWorker.js
|
|
30427
30427
|
var layerManager4 = layerManager3;
|
|
30428
30428
|
|
|
30429
|
-
// node_modules/.bun/@effect+platform-node@0.108.3+
|
|
30429
|
+
// node_modules/.bun/@effect+platform-node@0.108.3+04aff9b21a3a4297/node_modules/@effect/platform-node/dist/esm/NodeContext.js
|
|
30430
30430
|
var layer13 = /* @__PURE__ */ pipe(/* @__PURE__ */ mergeAll5(layer9, layer4, layer11, layerManager4), /* @__PURE__ */ provideMerge2(layer6));
|
|
30431
30431
|
// node_modules/.bun/@effect+platform@0.97.2+b7d12001b80ce2c7/node_modules/@effect/platform/dist/esm/Runtime.js
|
|
30432
30432
|
var defaultTeardown = (exit, onExit) => {
|
|
@@ -30461,7 +30461,7 @@ var makeRunMain = (f) => dual((args) => isEffect2(args[0]), (effect, options) =>
|
|
|
30461
30461
|
});
|
|
30462
30462
|
});
|
|
30463
30463
|
|
|
30464
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
30464
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/internal/runtime.js
|
|
30465
30465
|
var runMain = /* @__PURE__ */ makeRunMain(({
|
|
30466
30466
|
fiber,
|
|
30467
30467
|
teardown
|
|
@@ -30490,15 +30490,15 @@ var runMain = /* @__PURE__ */ makeRunMain(({
|
|
|
30490
30490
|
process.on("SIGTERM", onSigint);
|
|
30491
30491
|
});
|
|
30492
30492
|
|
|
30493
|
-
// node_modules/.bun/@effect+platform-node-shared@0.61.1+
|
|
30493
|
+
// node_modules/.bun/@effect+platform-node-shared@0.61.1+04aff9b21a3a4297/node_modules/@effect/platform-node-shared/dist/esm/NodeRuntime.js
|
|
30494
30494
|
var runMain2 = runMain;
|
|
30495
30495
|
|
|
30496
|
-
// node_modules/.bun/@effect+platform-node@0.108.3+
|
|
30496
|
+
// node_modules/.bun/@effect+platform-node@0.108.3+04aff9b21a3a4297/node_modules/@effect/platform-node/dist/esm/NodeRuntime.js
|
|
30497
30497
|
var runMain3 = runMain2;
|
|
30498
30498
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.32.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
30499
30499
|
import process2 from "node:process";
|
|
30500
30500
|
|
|
30501
|
-
// node_modules/.bun/zod@4.6.
|
|
30501
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
30502
30502
|
function getEnumValues(entries) {
|
|
30503
30503
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
30504
30504
|
const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -31053,7 +31053,7 @@ function constantCatch(value) {
|
|
|
31053
31053
|
return fn;
|
|
31054
31054
|
}
|
|
31055
31055
|
|
|
31056
|
-
// node_modules/.bun/zod@4.6.
|
|
31056
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
31057
31057
|
var _a;
|
|
31058
31058
|
var _zodDesc = { value: undefined, enumerable: false };
|
|
31059
31059
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -31171,7 +31171,7 @@ function config2(newConfig) {
|
|
|
31171
31171
|
Object.assign(globalConfig, newConfig);
|
|
31172
31172
|
return globalConfig;
|
|
31173
31173
|
}
|
|
31174
|
-
// node_modules/.bun/zod@4.6.
|
|
31174
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
31175
31175
|
function _getMessage() {
|
|
31176
31176
|
const internals = this._zod;
|
|
31177
31177
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -31286,7 +31286,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
31286
31286
|
return fieldErrors;
|
|
31287
31287
|
}
|
|
31288
31288
|
|
|
31289
|
-
// node_modules/.bun/zod@4.6.
|
|
31289
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
31290
31290
|
function finalizeParams(callee, params) {
|
|
31291
31291
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
31292
31292
|
}
|
|
@@ -31434,7 +31434,7 @@ var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
31434
31434
|
var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
31435
31435
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
31436
31436
|
};
|
|
31437
|
-
// node_modules/.bun/zod@4.6.
|
|
31437
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
31438
31438
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
31439
31439
|
var cuid2 = /^[0-9a-z]+$/;
|
|
31440
31440
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -31493,7 +31493,7 @@ var _null = /^null$/i;
|
|
|
31493
31493
|
var lowercase = /^[^A-Z]*$/;
|
|
31494
31494
|
var uppercase = /^[^a-z]*$/;
|
|
31495
31495
|
|
|
31496
|
-
// node_modules/.bun/zod@4.6.
|
|
31496
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
31497
31497
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
31498
31498
|
var _a;
|
|
31499
31499
|
inst._zod ?? (inst._zod = {});
|
|
@@ -31809,7 +31809,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
31809
31809
|
};
|
|
31810
31810
|
});
|
|
31811
31811
|
|
|
31812
|
-
// node_modules/.bun/zod@4.6.
|
|
31812
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
31813
31813
|
class Doc {
|
|
31814
31814
|
constructor(args = [], closed = {}) {
|
|
31815
31815
|
this.content = [];
|
|
@@ -31851,14 +31851,14 @@ ${content.join(`
|
|
|
31851
31851
|
}
|
|
31852
31852
|
}
|
|
31853
31853
|
|
|
31854
|
-
// node_modules/.bun/zod@4.6.
|
|
31854
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
31855
31855
|
var version = {
|
|
31856
31856
|
major: 4,
|
|
31857
31857
|
minor: 6,
|
|
31858
|
-
patch:
|
|
31858
|
+
patch: 7
|
|
31859
31859
|
};
|
|
31860
31860
|
|
|
31861
|
-
// node_modules/.bun/zod@4.6.
|
|
31861
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
31862
31862
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
31863
31863
|
var _a;
|
|
31864
31864
|
inst ?? (inst = {});
|
|
@@ -33514,7 +33514,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
33514
33514
|
payload.issues.push(issue(_iss));
|
|
33515
33515
|
}
|
|
33516
33516
|
}
|
|
33517
|
-
// node_modules/.bun/zod@4.6.
|
|
33517
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
33518
33518
|
class $ZodCyclicError extends Error {
|
|
33519
33519
|
constructor() {
|
|
33520
33520
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -33783,7 +33783,7 @@ function isBackEdge(ctx, value) {
|
|
|
33783
33783
|
const backEdges = ctx[STATE]?.backEdges;
|
|
33784
33784
|
return backEdges !== undefined && isRef(value) && backEdges.has(value);
|
|
33785
33785
|
}
|
|
33786
|
-
// node_modules/.bun/zod@4.6.
|
|
33786
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
33787
33787
|
var error = () => {
|
|
33788
33788
|
const Sizable = {
|
|
33789
33789
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -33905,7 +33905,7 @@ function en_default() {
|
|
|
33905
33905
|
localeError: error()
|
|
33906
33906
|
};
|
|
33907
33907
|
}
|
|
33908
|
-
// node_modules/.bun/zod@4.6.
|
|
33908
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
33909
33909
|
var _a2;
|
|
33910
33910
|
class $ZodRegistry {
|
|
33911
33911
|
constructor() {
|
|
@@ -33952,7 +33952,7 @@ function registry() {
|
|
|
33952
33952
|
}
|
|
33953
33953
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
33954
33954
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
33955
|
-
// node_modules/.bun/zod@4.6.
|
|
33955
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
33956
33956
|
function snapshotChecks(def) {
|
|
33957
33957
|
if (def.checks)
|
|
33958
33958
|
def.checks = [...def.checks];
|
|
@@ -34417,7 +34417,7 @@ function _check(fn, params) {
|
|
|
34417
34417
|
ch._zod.check = fn;
|
|
34418
34418
|
return ch;
|
|
34419
34419
|
}
|
|
34420
|
-
// node_modules/.bun/zod@4.6.
|
|
34420
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
34421
34421
|
function assignProps(target, ...sources) {
|
|
34422
34422
|
for (const source of sources) {
|
|
34423
34423
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -34940,7 +34940,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
34940
34940
|
extractDefs(ctx, schema);
|
|
34941
34941
|
return finalize(ctx, schema);
|
|
34942
34942
|
};
|
|
34943
|
-
// node_modules/.bun/zod@4.6.
|
|
34943
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
34944
34944
|
var narrowMin = (agg, key, value) => {
|
|
34945
34945
|
if (agg[key] === undefined || value > agg[key])
|
|
34946
34946
|
agg[key] = value;
|
|
@@ -35474,7 +35474,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
35474
35474
|
const seen = ctx.seen.get(schema);
|
|
35475
35475
|
seen.ref = def.innerType;
|
|
35476
35476
|
};
|
|
35477
|
-
// node_modules/.bun/zod@4.6.
|
|
35477
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
35478
35478
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
35479
35479
|
function _lazyMethod(proto, key, make) {
|
|
35480
35480
|
Object.defineProperty(proto, key, {
|
|
@@ -35519,7 +35519,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, undefi
|
|
|
35519
35519
|
Parent: Error
|
|
35520
35520
|
});
|
|
35521
35521
|
|
|
35522
|
-
// node_modules/.bun/zod@4.6.
|
|
35522
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
35523
35523
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
35524
35524
|
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
35525
35525
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -35533,7 +35533,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
35533
35533
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
35534
35534
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
35535
35535
|
|
|
35536
|
-
// node_modules/.bun/zod@4.6.
|
|
35536
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
35537
35537
|
function _ensureDefaultLocale() {
|
|
35538
35538
|
if (!globalConfig.localeError)
|
|
35539
35539
|
config2(en_default());
|
|
@@ -36463,7 +36463,7 @@ function preprocess(fn, schema) {
|
|
|
36463
36463
|
out: schema
|
|
36464
36464
|
});
|
|
36465
36465
|
}
|
|
36466
|
-
// node_modules/.bun/zod@4.6.
|
|
36466
|
+
// node_modules/.bun/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
36467
36467
|
function datetime2(params) {
|
|
36468
36468
|
return _isoDateTime(ZodISODateTime, params);
|
|
36469
36469
|
}
|
|
@@ -38217,12 +38217,6 @@ var identityError = (operation, cause) => new IdentityError({
|
|
|
38217
38217
|
transient: isTimeoutException2(cause) || cause instanceof ZulipApiError && isTransientZulipError(cause)
|
|
38218
38218
|
});
|
|
38219
38219
|
|
|
38220
|
-
class ReactivateForbidden extends TaggedError("ReactivateForbidden") {
|
|
38221
|
-
get message() {
|
|
38222
|
-
return `cannot reactivate deactivated bot ${this.userId}: the minter is not an ` + `organization administrator, and POST /users/{id}/reactivate is admin-only. ` + `Pin this identity with COMMY_BOT_NAME so it is never deactivated on ` + `release, or grant the minter admin rights. Underlying realm ` + `error: ${this.cause.message}`;
|
|
38223
|
-
}
|
|
38224
|
-
}
|
|
38225
|
-
|
|
38226
38220
|
class AttachIdentityNotFound extends TaggedError("AttachIdentityNotFound") {
|
|
38227
38221
|
get message() {
|
|
38228
38222
|
return `attach mode: no provisioned bot named '${this.name}' on the realm. ` + `Provision the persona once and supply its stable api key before attaching.`;
|
|
@@ -38560,7 +38554,7 @@ var zulipAdapter = (config) => gen2(function* () {
|
|
|
38560
38554
|
origin: "minted"
|
|
38561
38555
|
})))));
|
|
38562
38556
|
};
|
|
38563
|
-
const reactivateBot = (existing) => minterHttp.post(`/users/${existing.user_id}/reactivate`, successSchema, {}).pipe(asVoid2
|
|
38557
|
+
const reactivateBot = (existing) => minterHttp.post(`/users/${existing.user_id}/reactivate`, successSchema, {}).pipe(asVoid2);
|
|
38564
38558
|
const regenerateBotKey = (existing) => minterHttp.post(`/bots/${existing.user_id}/api_key/regenerate`, regenerateKeySchema, {}).pipe(flatMap10((res) => all6({
|
|
38565
38559
|
email: BotEmail(existing.email),
|
|
38566
38560
|
apiKey: ApiKey(res.api_key)
|
|
@@ -39805,9 +39799,9 @@ function isTerminal(status) {
|
|
|
39805
39799
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
39806
39800
|
}
|
|
39807
39801
|
|
|
39808
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
39802
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
39809
39803
|
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
39810
|
-
// node_modules/.bun/zod-to-json-schema@3.25.2+
|
|
39804
|
+
// node_modules/.bun/zod-to-json-schema@3.25.2+969a6d035afea0f4/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
39811
39805
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
39812
39806
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.32.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
39813
39807
|
function getMethodLiteral(schema) {
|
|
@@ -41171,14 +41165,14 @@ class Server extends Protocol {
|
|
|
41171
41165
|
}
|
|
41172
41166
|
|
|
41173
41167
|
// packages/mcp/mcp-server.ts
|
|
41174
|
-
var PLUGIN_VERSION = "0.26.
|
|
41168
|
+
var PLUGIN_VERSION = "0.26.2";
|
|
41175
41169
|
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.
|
|
41176
41170
|
|
|
41177
41171
|
**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.
|
|
41178
41172
|
|
|
41179
41173
|
**Topics.** A topic is a logical thread of conversation within a channel; the \`post\` tool's \`thread\` argument names it (Zulip calls these "topics"). Open a new topic when the work shifts — a fresh task, a new question, a different incident — and reply into an existing one when you're continuing the same line of work. Name topics by the work, not the speaker: \`payments-migration\`, \`auth-token-refresh\`, \`events-queue-expiry\` — not \`bot-debugging\` or \`alice-asked\`. Top-level channel chatter (omit \`thread\`) is for terse status pings only; anything substantive deserves a topic.
|
|
41180
41174
|
|
|
41181
|
-
**Subscriptions.** Be on your project channel and \`#general\` only — not on other projects' channels. Boot-time defaults come from the plugin's \`COMMY_SUBSCRIBE\` userConfig (tokens: \`<channel>\`, \`<channel>/<thread>\`, \`new-topics:<channel>\`); adjust the live set via \`subscribe\`/\`unsubscribe\` at runtime. Inbound matches arrive as \`<channel source="commy" ...>\` blocks. If one arrives from a channel you aren't subscribed to, treat it as background context and don't reply — only post into your project channel, into \`#general\`, or into threads you've explicitly joined. **Refer to peers by name** — the \`sender_name\` (and reaction \`by_name\`) in those blocks — never by a bare number; reserve numbers for message ids, which otherwise collide with identity in a thread.
|
|
41175
|
+
**Subscriptions.** Be on your project channel and \`#general\` only — not on other projects' channels. Posting or reacting in a topic subscribes you to that topic. Wait on a reply there by letting it wake you rather than by sleeping and re-reading the thread, and poll only what no subscription can wake you for. Boot-time defaults come from the plugin's \`COMMY_SUBSCRIBE\` userConfig (tokens: \`<channel>\`, \`<channel>/<thread>\`, \`new-topics:<channel>\`); adjust the live set via \`subscribe\`/\`unsubscribe\` at runtime. Inbound matches arrive as \`<channel source="commy" ...>\` blocks. If one arrives from a channel you aren't subscribed to, treat it as background context and don't reply — only post into your project channel, into \`#general\`, or into threads you've explicitly joined. **Refer to peers by name** — the \`sender_name\` (and reaction \`by_name\`) in those blocks — never by a bare number; reserve numbers for message ids, which otherwise collide with identity in a thread.
|
|
41182
41176
|
|
|
41183
41177
|
**Links.** Every ref the substrate hands you carries a ready-to-click \`permalink\` — on \`post\` results, \`read_channel\`/\`read_thread\` messages (message \`permalink\` plus \`channel.permalink\` and \`thread.permalink\`), \`list_channels\` (channel \`permalink\`), and inbound \`<channel source="commy">\` frames (\`permalink\` / \`channel_permalink\` / \`thread_permalink\` meta, \`target_permalink\` on reaction frames). **Whenever you show a human a message, channel, or topic reference, render it as that clickable permalink — never a bare name or numeric id.** A human can click a permalink straight to the message; a bare \`#channel > topic\` or message number makes them hunt. When you hold only a message id (e.g. one cited elsewhere, with no permalink to hand), \`message_link(message_id, channel_name?, thread?)\` returns its \`{permalink}\`.
|
|
41184
41178
|
|