@selfagency/beans-mcp 0.6.1 → 0.6.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/README.md +5 -4
- package/beans-mcp-server.cjs +25 -24
- package/index.cjs +25 -24
- package/index.js +25 -24
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,11 +18,12 @@ npx @selfagency/beans-mcp /path/to/workspace
|
|
|
18
18
|
|
|
19
19
|
### Versioning
|
|
20
20
|
|
|
21
|
-
`@selfagency/beans-mcp`
|
|
22
|
-
|
|
21
|
+
`@selfagency/beans-mcp` has its own package versioning. Compatibility with the
|
|
22
|
+
[Beans](https://github.com/hmans/beans) CLI is tracked separately.
|
|
23
23
|
|
|
24
|
-
At startup, the server compares
|
|
25
|
-
|
|
24
|
+
At startup, the server compares the installed `beans` CLI version against the
|
|
25
|
+
hardcoded supported Beans version: `0.4.2`. If they differ, it prints a warning
|
|
26
|
+
to stderr and continues startup.
|
|
26
27
|
|
|
27
28
|
### Parameters
|
|
28
29
|
|
package/beans-mcp-server.cjs
CHANGED
|
@@ -31549,7 +31549,7 @@ var import_node_util2 = require("util");
|
|
|
31549
31549
|
// package.json
|
|
31550
31550
|
var package_default = {
|
|
31551
31551
|
name: "@selfagency/beans-mcp",
|
|
31552
|
-
version: "0.6.
|
|
31552
|
+
version: "0.6.2",
|
|
31553
31553
|
private: false,
|
|
31554
31554
|
description: "MCP (Model Context Protocol) server for Beans issue tracker",
|
|
31555
31555
|
keywords: [
|
|
@@ -31563,27 +31563,16 @@ var package_default = {
|
|
|
31563
31563
|
bugs: {
|
|
31564
31564
|
url: "https://github.com/selfagency/beans-mcp/issues"
|
|
31565
31565
|
},
|
|
31566
|
-
repository: {
|
|
31567
|
-
type: "git",
|
|
31568
|
-
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31569
|
-
},
|
|
31570
31566
|
license: "MIT",
|
|
31571
31567
|
author: {
|
|
31572
31568
|
name: "Daniel Sieradski",
|
|
31573
31569
|
email: "daniel@self.agency",
|
|
31574
31570
|
url: "https://self.agency"
|
|
31575
31571
|
},
|
|
31576
|
-
|
|
31577
|
-
|
|
31578
|
-
"."
|
|
31579
|
-
types: "./dist/index.d.ts",
|
|
31580
|
-
import: "./dist/index.js",
|
|
31581
|
-
require: "./dist/index.cjs"
|
|
31582
|
-
}
|
|
31572
|
+
repository: {
|
|
31573
|
+
type: "git",
|
|
31574
|
+
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31583
31575
|
},
|
|
31584
|
-
main: "./dist/index.cjs",
|
|
31585
|
-
module: "./dist/index.js",
|
|
31586
|
-
types: "./dist/index.d.ts",
|
|
31587
31576
|
bin: {
|
|
31588
31577
|
"beans-mcp": "dist/beans-mcp-server.cjs"
|
|
31589
31578
|
},
|
|
@@ -31593,6 +31582,17 @@ var package_default = {
|
|
|
31593
31582
|
"README.md",
|
|
31594
31583
|
"LICENSE.txt"
|
|
31595
31584
|
],
|
|
31585
|
+
type: "module",
|
|
31586
|
+
main: "./dist/index.cjs",
|
|
31587
|
+
module: "./dist/index.js",
|
|
31588
|
+
types: "./dist/index.d.ts",
|
|
31589
|
+
exports: {
|
|
31590
|
+
".": {
|
|
31591
|
+
types: "./dist/index.d.ts",
|
|
31592
|
+
import: "./dist/index.js",
|
|
31593
|
+
require: "./dist/index.cjs"
|
|
31594
|
+
}
|
|
31595
|
+
},
|
|
31596
31596
|
scripts: {
|
|
31597
31597
|
build: "tsup",
|
|
31598
31598
|
postbuild: "node ./scripts/write-dist-package.js",
|
|
@@ -31609,12 +31609,6 @@ var package_default = {
|
|
|
31609
31609
|
"test:watch": "vitest",
|
|
31610
31610
|
"type-check": "tsc --noEmit"
|
|
31611
31611
|
},
|
|
31612
|
-
"lint-staged": {
|
|
31613
|
-
"src/**/*.ts": [
|
|
31614
|
-
"pnpm run lint:fix",
|
|
31615
|
-
"pnpm run format"
|
|
31616
|
-
]
|
|
31617
|
-
},
|
|
31618
31612
|
devDependencies: {
|
|
31619
31613
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
31620
31614
|
"@octokit/rest": "^22.0.1",
|
|
@@ -31634,6 +31628,12 @@ var package_default = {
|
|
|
31634
31628
|
zod: "4.3.6",
|
|
31635
31629
|
zx: "^8.8.5"
|
|
31636
31630
|
},
|
|
31631
|
+
"lint-staged": {
|
|
31632
|
+
"src/**/*.ts": [
|
|
31633
|
+
"pnpm run lint:fix",
|
|
31634
|
+
"pnpm run format"
|
|
31635
|
+
]
|
|
31636
|
+
},
|
|
31637
31637
|
engines: {
|
|
31638
31638
|
node: ">=18"
|
|
31639
31639
|
},
|
|
@@ -31801,6 +31801,7 @@ var MAX_PATH_LENGTH = 1024;
|
|
|
31801
31801
|
// src/server/BeansMcpServer.ts
|
|
31802
31802
|
init_utils();
|
|
31803
31803
|
var execFileAsync2 = (0, import_node_util2.promisify)(import_node_child_process2.execFile);
|
|
31804
|
+
var COMPATIBLE_BEANS_VERSION = "0.4.2";
|
|
31804
31805
|
var PACKAGE_VERSION = package_default.version ?? "0.0.0-dev";
|
|
31805
31806
|
var CLOSED_STATUSES = /* @__PURE__ */ new Set(["completed", "scrapped"]);
|
|
31806
31807
|
var BEAN_ID_HINT = "Missing required field `beanId`. Did you mean `beanId`?";
|
|
@@ -31985,13 +31986,13 @@ async function checkVersionCompatibility(cliPath, workspaceRoot, detector) {
|
|
|
31985
31986
|
const detectedBeansVersion = await detector(cliPath, workspaceRoot);
|
|
31986
31987
|
if (!detectedBeansVersion) {
|
|
31987
31988
|
console.error(
|
|
31988
|
-
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; proceeding without
|
|
31989
|
+
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; expected Beans ${COMPATIBLE_BEANS_VERSION}, but proceeding without compatibility checks.`
|
|
31989
31990
|
);
|
|
31990
31991
|
return;
|
|
31991
31992
|
}
|
|
31992
|
-
if (detectedBeansVersion !==
|
|
31993
|
+
if (detectedBeansVersion !== COMPATIBLE_BEANS_VERSION) {
|
|
31993
31994
|
console.error(
|
|
31994
|
-
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
31995
|
+
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, supported=${COMPATIBLE_BEANS_VERSION}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
31995
31996
|
);
|
|
31996
31997
|
}
|
|
31997
31998
|
}
|
package/index.cjs
CHANGED
|
@@ -31567,7 +31567,7 @@ var import_node_util2 = require("util");
|
|
|
31567
31567
|
// package.json
|
|
31568
31568
|
var package_default = {
|
|
31569
31569
|
name: "@selfagency/beans-mcp",
|
|
31570
|
-
version: "0.6.
|
|
31570
|
+
version: "0.6.2",
|
|
31571
31571
|
private: false,
|
|
31572
31572
|
description: "MCP (Model Context Protocol) server for Beans issue tracker",
|
|
31573
31573
|
keywords: [
|
|
@@ -31581,27 +31581,16 @@ var package_default = {
|
|
|
31581
31581
|
bugs: {
|
|
31582
31582
|
url: "https://github.com/selfagency/beans-mcp/issues"
|
|
31583
31583
|
},
|
|
31584
|
-
repository: {
|
|
31585
|
-
type: "git",
|
|
31586
|
-
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31587
|
-
},
|
|
31588
31584
|
license: "MIT",
|
|
31589
31585
|
author: {
|
|
31590
31586
|
name: "Daniel Sieradski",
|
|
31591
31587
|
email: "daniel@self.agency",
|
|
31592
31588
|
url: "https://self.agency"
|
|
31593
31589
|
},
|
|
31594
|
-
|
|
31595
|
-
|
|
31596
|
-
"."
|
|
31597
|
-
types: "./dist/index.d.ts",
|
|
31598
|
-
import: "./dist/index.js",
|
|
31599
|
-
require: "./dist/index.cjs"
|
|
31600
|
-
}
|
|
31590
|
+
repository: {
|
|
31591
|
+
type: "git",
|
|
31592
|
+
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31601
31593
|
},
|
|
31602
|
-
main: "./dist/index.cjs",
|
|
31603
|
-
module: "./dist/index.js",
|
|
31604
|
-
types: "./dist/index.d.ts",
|
|
31605
31594
|
bin: {
|
|
31606
31595
|
"beans-mcp": "dist/beans-mcp-server.cjs"
|
|
31607
31596
|
},
|
|
@@ -31611,6 +31600,17 @@ var package_default = {
|
|
|
31611
31600
|
"README.md",
|
|
31612
31601
|
"LICENSE.txt"
|
|
31613
31602
|
],
|
|
31603
|
+
type: "module",
|
|
31604
|
+
main: "./dist/index.cjs",
|
|
31605
|
+
module: "./dist/index.js",
|
|
31606
|
+
types: "./dist/index.d.ts",
|
|
31607
|
+
exports: {
|
|
31608
|
+
".": {
|
|
31609
|
+
types: "./dist/index.d.ts",
|
|
31610
|
+
import: "./dist/index.js",
|
|
31611
|
+
require: "./dist/index.cjs"
|
|
31612
|
+
}
|
|
31613
|
+
},
|
|
31614
31614
|
scripts: {
|
|
31615
31615
|
build: "tsup",
|
|
31616
31616
|
postbuild: "node ./scripts/write-dist-package.js",
|
|
@@ -31627,12 +31627,6 @@ var package_default = {
|
|
|
31627
31627
|
"test:watch": "vitest",
|
|
31628
31628
|
"type-check": "tsc --noEmit"
|
|
31629
31629
|
},
|
|
31630
|
-
"lint-staged": {
|
|
31631
|
-
"src/**/*.ts": [
|
|
31632
|
-
"pnpm run lint:fix",
|
|
31633
|
-
"pnpm run format"
|
|
31634
|
-
]
|
|
31635
|
-
},
|
|
31636
31630
|
devDependencies: {
|
|
31637
31631
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
31638
31632
|
"@octokit/rest": "^22.0.1",
|
|
@@ -31652,6 +31646,12 @@ var package_default = {
|
|
|
31652
31646
|
zod: "4.3.6",
|
|
31653
31647
|
zx: "^8.8.5"
|
|
31654
31648
|
},
|
|
31649
|
+
"lint-staged": {
|
|
31650
|
+
"src/**/*.ts": [
|
|
31651
|
+
"pnpm run lint:fix",
|
|
31652
|
+
"pnpm run format"
|
|
31653
|
+
]
|
|
31654
|
+
},
|
|
31655
31655
|
engines: {
|
|
31656
31656
|
node: ">=18"
|
|
31657
31657
|
},
|
|
@@ -31819,6 +31819,7 @@ var MAX_PATH_LENGTH = 1024;
|
|
|
31819
31819
|
// src/server/BeansMcpServer.ts
|
|
31820
31820
|
init_utils();
|
|
31821
31821
|
var execFileAsync2 = (0, import_node_util2.promisify)(import_node_child_process2.execFile);
|
|
31822
|
+
var COMPATIBLE_BEANS_VERSION = "0.4.2";
|
|
31822
31823
|
var PACKAGE_VERSION = package_default.version ?? "0.0.0-dev";
|
|
31823
31824
|
var CLOSED_STATUSES = /* @__PURE__ */ new Set(["completed", "scrapped"]);
|
|
31824
31825
|
var BEAN_ID_HINT = "Missing required field `beanId`. Did you mean `beanId`?";
|
|
@@ -32003,13 +32004,13 @@ async function checkVersionCompatibility(cliPath, workspaceRoot, detector) {
|
|
|
32003
32004
|
const detectedBeansVersion = await detector(cliPath, workspaceRoot);
|
|
32004
32005
|
if (!detectedBeansVersion) {
|
|
32005
32006
|
console.error(
|
|
32006
|
-
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; proceeding without
|
|
32007
|
+
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; expected Beans ${COMPATIBLE_BEANS_VERSION}, but proceeding without compatibility checks.`
|
|
32007
32008
|
);
|
|
32008
32009
|
return;
|
|
32009
32010
|
}
|
|
32010
|
-
if (detectedBeansVersion !==
|
|
32011
|
+
if (detectedBeansVersion !== COMPATIBLE_BEANS_VERSION) {
|
|
32011
32012
|
console.error(
|
|
32012
|
-
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
32013
|
+
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, supported=${COMPATIBLE_BEANS_VERSION}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
32013
32014
|
);
|
|
32014
32015
|
}
|
|
32015
32016
|
}
|
package/index.js
CHANGED
|
@@ -31546,7 +31546,7 @@ import { promisify as promisify2 } from "util";
|
|
|
31546
31546
|
// package.json
|
|
31547
31547
|
var package_default = {
|
|
31548
31548
|
name: "@selfagency/beans-mcp",
|
|
31549
|
-
version: "0.6.
|
|
31549
|
+
version: "0.6.2",
|
|
31550
31550
|
private: false,
|
|
31551
31551
|
description: "MCP (Model Context Protocol) server for Beans issue tracker",
|
|
31552
31552
|
keywords: [
|
|
@@ -31560,27 +31560,16 @@ var package_default = {
|
|
|
31560
31560
|
bugs: {
|
|
31561
31561
|
url: "https://github.com/selfagency/beans-mcp/issues"
|
|
31562
31562
|
},
|
|
31563
|
-
repository: {
|
|
31564
|
-
type: "git",
|
|
31565
|
-
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31566
|
-
},
|
|
31567
31563
|
license: "MIT",
|
|
31568
31564
|
author: {
|
|
31569
31565
|
name: "Daniel Sieradski",
|
|
31570
31566
|
email: "daniel@self.agency",
|
|
31571
31567
|
url: "https://self.agency"
|
|
31572
31568
|
},
|
|
31573
|
-
|
|
31574
|
-
|
|
31575
|
-
"."
|
|
31576
|
-
types: "./dist/index.d.ts",
|
|
31577
|
-
import: "./dist/index.js",
|
|
31578
|
-
require: "./dist/index.cjs"
|
|
31579
|
-
}
|
|
31569
|
+
repository: {
|
|
31570
|
+
type: "git",
|
|
31571
|
+
url: "git+https://github.com/selfagency/beans-mcp.git"
|
|
31580
31572
|
},
|
|
31581
|
-
main: "./dist/index.cjs",
|
|
31582
|
-
module: "./dist/index.js",
|
|
31583
|
-
types: "./dist/index.d.ts",
|
|
31584
31573
|
bin: {
|
|
31585
31574
|
"beans-mcp": "dist/beans-mcp-server.cjs"
|
|
31586
31575
|
},
|
|
@@ -31590,6 +31579,17 @@ var package_default = {
|
|
|
31590
31579
|
"README.md",
|
|
31591
31580
|
"LICENSE.txt"
|
|
31592
31581
|
],
|
|
31582
|
+
type: "module",
|
|
31583
|
+
main: "./dist/index.cjs",
|
|
31584
|
+
module: "./dist/index.js",
|
|
31585
|
+
types: "./dist/index.d.ts",
|
|
31586
|
+
exports: {
|
|
31587
|
+
".": {
|
|
31588
|
+
types: "./dist/index.d.ts",
|
|
31589
|
+
import: "./dist/index.js",
|
|
31590
|
+
require: "./dist/index.cjs"
|
|
31591
|
+
}
|
|
31592
|
+
},
|
|
31593
31593
|
scripts: {
|
|
31594
31594
|
build: "tsup",
|
|
31595
31595
|
postbuild: "node ./scripts/write-dist-package.js",
|
|
@@ -31606,12 +31606,6 @@ var package_default = {
|
|
|
31606
31606
|
"test:watch": "vitest",
|
|
31607
31607
|
"type-check": "tsc --noEmit"
|
|
31608
31608
|
},
|
|
31609
|
-
"lint-staged": {
|
|
31610
|
-
"src/**/*.ts": [
|
|
31611
|
-
"pnpm run lint:fix",
|
|
31612
|
-
"pnpm run format"
|
|
31613
|
-
]
|
|
31614
|
-
},
|
|
31615
31609
|
devDependencies: {
|
|
31616
31610
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
31617
31611
|
"@octokit/rest": "^22.0.1",
|
|
@@ -31631,6 +31625,12 @@ var package_default = {
|
|
|
31631
31625
|
zod: "4.3.6",
|
|
31632
31626
|
zx: "^8.8.5"
|
|
31633
31627
|
},
|
|
31628
|
+
"lint-staged": {
|
|
31629
|
+
"src/**/*.ts": [
|
|
31630
|
+
"pnpm run lint:fix",
|
|
31631
|
+
"pnpm run format"
|
|
31632
|
+
]
|
|
31633
|
+
},
|
|
31634
31634
|
engines: {
|
|
31635
31635
|
node: ">=18"
|
|
31636
31636
|
},
|
|
@@ -31798,6 +31798,7 @@ var MAX_PATH_LENGTH = 1024;
|
|
|
31798
31798
|
// src/server/BeansMcpServer.ts
|
|
31799
31799
|
init_utils();
|
|
31800
31800
|
var execFileAsync2 = promisify2(execFile2);
|
|
31801
|
+
var COMPATIBLE_BEANS_VERSION = "0.4.2";
|
|
31801
31802
|
var PACKAGE_VERSION = package_default.version ?? "0.0.0-dev";
|
|
31802
31803
|
var CLOSED_STATUSES = /* @__PURE__ */ new Set(["completed", "scrapped"]);
|
|
31803
31804
|
var BEAN_ID_HINT = "Missing required field `beanId`. Did you mean `beanId`?";
|
|
@@ -31982,13 +31983,13 @@ async function checkVersionCompatibility(cliPath, workspaceRoot, detector) {
|
|
|
31982
31983
|
const detectedBeansVersion = await detector(cliPath, workspaceRoot);
|
|
31983
31984
|
if (!detectedBeansVersion) {
|
|
31984
31985
|
console.error(
|
|
31985
|
-
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; proceeding without
|
|
31986
|
+
`[beans-mcp] warning: unable to determine Beans CLI version from \`${cliPath}\`; expected Beans ${COMPATIBLE_BEANS_VERSION}, but proceeding without compatibility checks.`
|
|
31986
31987
|
);
|
|
31987
31988
|
return;
|
|
31988
31989
|
}
|
|
31989
|
-
if (detectedBeansVersion !==
|
|
31990
|
+
if (detectedBeansVersion !== COMPATIBLE_BEANS_VERSION) {
|
|
31990
31991
|
console.error(
|
|
31991
|
-
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
31992
|
+
`[beans-mcp] warning: version mismatch detected (beans=${detectedBeansVersion}, supported=${COMPATIBLE_BEANS_VERSION}, beans-mcp=${PACKAGE_VERSION}); continuing startup.`
|
|
31992
31993
|
);
|
|
31993
31994
|
}
|
|
31994
31995
|
}
|