@selfagency/beans-mcp 0.1.2 → 0.1.4

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.
@@ -31199,6 +31199,92 @@ var MAX_PATH_LENGTH = 1024;
31199
31199
 
31200
31200
  // src/server/BeansMcpServer.ts
31201
31201
  init_utils();
31202
+
31203
+ // package.json
31204
+ var package_default = {
31205
+ name: "@selfagency/beans-mcp",
31206
+ version: "0.1.4",
31207
+ private: false,
31208
+ description: "MCP (Model Context Protocol) server for Beans issue tracker",
31209
+ author: {
31210
+ name: "Daniel Sieradski",
31211
+ email: "daniel@self.agency",
31212
+ url: "https://self.agency"
31213
+ },
31214
+ homepage: "https://github.com/hmans/beans",
31215
+ bugs: {
31216
+ url: "https://github.com/selfagency/beans-mcp/issues"
31217
+ },
31218
+ repository: {
31219
+ type: "git",
31220
+ url: "git+https://github.com/selfagency/beans-mcp.git"
31221
+ },
31222
+ mcpName: "io.github.selfagency/beans-mcp",
31223
+ keywords: [
31224
+ "beans",
31225
+ "mcp",
31226
+ "model-context-protocol",
31227
+ "issue-tracker",
31228
+ "ai"
31229
+ ],
31230
+ license: "MIT",
31231
+ type: "module",
31232
+ exports: {
31233
+ ".": {
31234
+ types: "./dist/index.d.ts",
31235
+ import: "./dist/index.js",
31236
+ require: "./dist/index.cjs"
31237
+ }
31238
+ },
31239
+ main: "./dist/index.cjs",
31240
+ module: "./dist/index.js",
31241
+ types: "./dist/index.d.ts",
31242
+ bin: {
31243
+ "beans-mcp": "dist/beans-mcp-server.cjs"
31244
+ },
31245
+ scripts: {
31246
+ build: "tsup",
31247
+ format: "oxfmt",
31248
+ "lint:fix": "oxlint --fix",
31249
+ lint: "oxlint",
31250
+ postbuild: "node ./scripts/write-dist-package.js",
31251
+ prepare: "husky",
31252
+ release: "zx ./scripts/release.js",
31253
+ "test:coverage": "vitest run --coverage",
31254
+ "test:watch": "vitest",
31255
+ test: "vitest run",
31256
+ "type-check": "tsc --noEmit"
31257
+ },
31258
+ devDependencies: {
31259
+ "@modelcontextprotocol/sdk": "^1.27.1",
31260
+ "@octokit/rest": "^22.0.1",
31261
+ "@types/node": "^20.19.0",
31262
+ "@vitest/coverage-v8": "^4.0.18",
31263
+ "@vitest/ui": "4.0.18",
31264
+ husky: "^9.1.7",
31265
+ "lint-staged": "^16.2.7",
31266
+ ora: "^9.3.0",
31267
+ oxfmt: "^0.35.0",
31268
+ oxlint: "^1.50.0",
31269
+ "oxlint-tsgolint": "^0.15.0",
31270
+ tsup: "8.5.1",
31271
+ typescript: "^5.9.3",
31272
+ vitest: "4.0.18",
31273
+ zod: "4.3.6",
31274
+ zx: "^8.8.5"
31275
+ },
31276
+ engines: {
31277
+ node: ">=18"
31278
+ },
31279
+ "lint-staged": {
31280
+ "src/**/*.ts": [
31281
+ "pnpm run lint:fix",
31282
+ "pnpm run format"
31283
+ ]
31284
+ }
31285
+ };
31286
+
31287
+ // src/server/BeansMcpServer.ts
31202
31288
  async function getBeanById(backend, beanId) {
31203
31289
  try {
31204
31290
  const beans = await backend.list();
@@ -31646,6 +31732,14 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31646
31732
  const { workspaceRoot, workspaceExplicit, cliPath, port, logDir } = parseCliArgs(argv);
31647
31733
  process.env.BEANS_VSCODE_MCP_PORT = String(port);
31648
31734
  process.env.BEANS_MCP_PORT = String(port);
31735
+ try {
31736
+ const version2 = package_default.version ?? "0.0.0-dev";
31737
+ const workspaceLabel = workspaceExplicit ? workspaceRoot : "(auto from roots)";
31738
+ console.error(
31739
+ `[beans-mcp] v${version2} starting (port=${port}, workspace=${workspaceLabel}, cli=${cliPath}, logDir=${logDir})`
31740
+ );
31741
+ } catch {
31742
+ }
31649
31743
  const mutable = new MutableBackend(new BeansCliBackend2(workspaceRoot, cliPath, logDir));
31650
31744
  const { server } = await createBeansMcpServer({
31651
31745
  workspaceRoot,
@@ -31660,6 +31754,10 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31660
31754
  const rootPath = await resolver(server);
31661
31755
  if (rootPath) {
31662
31756
  mutable.setInner(new BeansCliBackend2(rootPath, cliPath));
31757
+ try {
31758
+ console.error(`[beans-mcp] workspace resolved from roots: ${rootPath}`);
31759
+ } catch {
31760
+ }
31663
31761
  }
31664
31762
  }
31665
31763
  }
package/index.cjs CHANGED
@@ -31216,6 +31216,92 @@ var MAX_PATH_LENGTH = 1024;
31216
31216
 
31217
31217
  // src/server/BeansMcpServer.ts
31218
31218
  init_utils();
31219
+
31220
+ // package.json
31221
+ var package_default = {
31222
+ name: "@selfagency/beans-mcp",
31223
+ version: "0.1.4",
31224
+ private: false,
31225
+ description: "MCP (Model Context Protocol) server for Beans issue tracker",
31226
+ author: {
31227
+ name: "Daniel Sieradski",
31228
+ email: "daniel@self.agency",
31229
+ url: "https://self.agency"
31230
+ },
31231
+ homepage: "https://github.com/hmans/beans",
31232
+ bugs: {
31233
+ url: "https://github.com/selfagency/beans-mcp/issues"
31234
+ },
31235
+ repository: {
31236
+ type: "git",
31237
+ url: "git+https://github.com/selfagency/beans-mcp.git"
31238
+ },
31239
+ mcpName: "io.github.selfagency/beans-mcp",
31240
+ keywords: [
31241
+ "beans",
31242
+ "mcp",
31243
+ "model-context-protocol",
31244
+ "issue-tracker",
31245
+ "ai"
31246
+ ],
31247
+ license: "MIT",
31248
+ type: "module",
31249
+ exports: {
31250
+ ".": {
31251
+ types: "./dist/index.d.ts",
31252
+ import: "./dist/index.js",
31253
+ require: "./dist/index.cjs"
31254
+ }
31255
+ },
31256
+ main: "./dist/index.cjs",
31257
+ module: "./dist/index.js",
31258
+ types: "./dist/index.d.ts",
31259
+ bin: {
31260
+ "beans-mcp": "dist/beans-mcp-server.cjs"
31261
+ },
31262
+ scripts: {
31263
+ build: "tsup",
31264
+ format: "oxfmt",
31265
+ "lint:fix": "oxlint --fix",
31266
+ lint: "oxlint",
31267
+ postbuild: "node ./scripts/write-dist-package.js",
31268
+ prepare: "husky",
31269
+ release: "zx ./scripts/release.js",
31270
+ "test:coverage": "vitest run --coverage",
31271
+ "test:watch": "vitest",
31272
+ test: "vitest run",
31273
+ "type-check": "tsc --noEmit"
31274
+ },
31275
+ devDependencies: {
31276
+ "@modelcontextprotocol/sdk": "^1.27.1",
31277
+ "@octokit/rest": "^22.0.1",
31278
+ "@types/node": "^20.19.0",
31279
+ "@vitest/coverage-v8": "^4.0.18",
31280
+ "@vitest/ui": "4.0.18",
31281
+ husky: "^9.1.7",
31282
+ "lint-staged": "^16.2.7",
31283
+ ora: "^9.3.0",
31284
+ oxfmt: "^0.35.0",
31285
+ oxlint: "^1.50.0",
31286
+ "oxlint-tsgolint": "^0.15.0",
31287
+ tsup: "8.5.1",
31288
+ typescript: "^5.9.3",
31289
+ vitest: "4.0.18",
31290
+ zod: "4.3.6",
31291
+ zx: "^8.8.5"
31292
+ },
31293
+ engines: {
31294
+ node: ">=18"
31295
+ },
31296
+ "lint-staged": {
31297
+ "src/**/*.ts": [
31298
+ "pnpm run lint:fix",
31299
+ "pnpm run format"
31300
+ ]
31301
+ }
31302
+ };
31303
+
31304
+ // src/server/BeansMcpServer.ts
31219
31305
  async function getBeanById(backend, beanId) {
31220
31306
  try {
31221
31307
  const beans = await backend.list();
@@ -31663,6 +31749,14 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31663
31749
  const { workspaceRoot, workspaceExplicit, cliPath, port, logDir } = parseCliArgs(argv);
31664
31750
  process.env.BEANS_VSCODE_MCP_PORT = String(port);
31665
31751
  process.env.BEANS_MCP_PORT = String(port);
31752
+ try {
31753
+ const version2 = package_default.version ?? "0.0.0-dev";
31754
+ const workspaceLabel = workspaceExplicit ? workspaceRoot : "(auto from roots)";
31755
+ console.error(
31756
+ `[beans-mcp] v${version2} starting (port=${port}, workspace=${workspaceLabel}, cli=${cliPath}, logDir=${logDir})`
31757
+ );
31758
+ } catch {
31759
+ }
31666
31760
  const mutable = new MutableBackend(new BeansCliBackend2(workspaceRoot, cliPath, logDir));
31667
31761
  const { server } = await createBeansMcpServer({
31668
31762
  workspaceRoot,
@@ -31677,6 +31771,10 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31677
31771
  const rootPath = await resolver(server);
31678
31772
  if (rootPath) {
31679
31773
  mutable.setInner(new BeansCliBackend2(rootPath, cliPath));
31774
+ try {
31775
+ console.error(`[beans-mcp] workspace resolved from roots: ${rootPath}`);
31776
+ } catch {
31777
+ }
31680
31778
  }
31681
31779
  }
31682
31780
  }
package/index.js CHANGED
@@ -31196,6 +31196,92 @@ var MAX_PATH_LENGTH = 1024;
31196
31196
 
31197
31197
  // src/server/BeansMcpServer.ts
31198
31198
  init_utils();
31199
+
31200
+ // package.json
31201
+ var package_default = {
31202
+ name: "@selfagency/beans-mcp",
31203
+ version: "0.1.4",
31204
+ private: false,
31205
+ description: "MCP (Model Context Protocol) server for Beans issue tracker",
31206
+ author: {
31207
+ name: "Daniel Sieradski",
31208
+ email: "daniel@self.agency",
31209
+ url: "https://self.agency"
31210
+ },
31211
+ homepage: "https://github.com/hmans/beans",
31212
+ bugs: {
31213
+ url: "https://github.com/selfagency/beans-mcp/issues"
31214
+ },
31215
+ repository: {
31216
+ type: "git",
31217
+ url: "git+https://github.com/selfagency/beans-mcp.git"
31218
+ },
31219
+ mcpName: "io.github.selfagency/beans-mcp",
31220
+ keywords: [
31221
+ "beans",
31222
+ "mcp",
31223
+ "model-context-protocol",
31224
+ "issue-tracker",
31225
+ "ai"
31226
+ ],
31227
+ license: "MIT",
31228
+ type: "module",
31229
+ exports: {
31230
+ ".": {
31231
+ types: "./dist/index.d.ts",
31232
+ import: "./dist/index.js",
31233
+ require: "./dist/index.cjs"
31234
+ }
31235
+ },
31236
+ main: "./dist/index.cjs",
31237
+ module: "./dist/index.js",
31238
+ types: "./dist/index.d.ts",
31239
+ bin: {
31240
+ "beans-mcp": "dist/beans-mcp-server.cjs"
31241
+ },
31242
+ scripts: {
31243
+ build: "tsup",
31244
+ format: "oxfmt",
31245
+ "lint:fix": "oxlint --fix",
31246
+ lint: "oxlint",
31247
+ postbuild: "node ./scripts/write-dist-package.js",
31248
+ prepare: "husky",
31249
+ release: "zx ./scripts/release.js",
31250
+ "test:coverage": "vitest run --coverage",
31251
+ "test:watch": "vitest",
31252
+ test: "vitest run",
31253
+ "type-check": "tsc --noEmit"
31254
+ },
31255
+ devDependencies: {
31256
+ "@modelcontextprotocol/sdk": "^1.27.1",
31257
+ "@octokit/rest": "^22.0.1",
31258
+ "@types/node": "^20.19.0",
31259
+ "@vitest/coverage-v8": "^4.0.18",
31260
+ "@vitest/ui": "4.0.18",
31261
+ husky: "^9.1.7",
31262
+ "lint-staged": "^16.2.7",
31263
+ ora: "^9.3.0",
31264
+ oxfmt: "^0.35.0",
31265
+ oxlint: "^1.50.0",
31266
+ "oxlint-tsgolint": "^0.15.0",
31267
+ tsup: "8.5.1",
31268
+ typescript: "^5.9.3",
31269
+ vitest: "4.0.18",
31270
+ zod: "4.3.6",
31271
+ zx: "^8.8.5"
31272
+ },
31273
+ engines: {
31274
+ node: ">=18"
31275
+ },
31276
+ "lint-staged": {
31277
+ "src/**/*.ts": [
31278
+ "pnpm run lint:fix",
31279
+ "pnpm run format"
31280
+ ]
31281
+ }
31282
+ };
31283
+
31284
+ // src/server/BeansMcpServer.ts
31199
31285
  async function getBeanById(backend, beanId) {
31200
31286
  try {
31201
31287
  const beans = await backend.list();
@@ -31643,6 +31729,14 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31643
31729
  const { workspaceRoot, workspaceExplicit, cliPath, port, logDir } = parseCliArgs(argv);
31644
31730
  process.env.BEANS_VSCODE_MCP_PORT = String(port);
31645
31731
  process.env.BEANS_MCP_PORT = String(port);
31732
+ try {
31733
+ const version2 = package_default.version ?? "0.0.0-dev";
31734
+ const workspaceLabel = workspaceExplicit ? workspaceRoot : "(auto from roots)";
31735
+ console.error(
31736
+ `[beans-mcp] v${version2} starting (port=${port}, workspace=${workspaceLabel}, cli=${cliPath}, logDir=${logDir})`
31737
+ );
31738
+ } catch {
31739
+ }
31646
31740
  const mutable = new MutableBackend(new BeansCliBackend2(workspaceRoot, cliPath, logDir));
31647
31741
  const { server } = await createBeansMcpServer({
31648
31742
  workspaceRoot,
@@ -31657,6 +31751,10 @@ async function startBeansMcpServer(argv, _resolveRoots) {
31657
31751
  const rootPath = await resolver(server);
31658
31752
  if (rootPath) {
31659
31753
  mutable.setInner(new BeansCliBackend2(rootPath, cliPath));
31754
+ try {
31755
+ console.error(`[beans-mcp] workspace resolved from roots: ${rootPath}`);
31756
+ } catch {
31757
+ }
31660
31758
  }
31661
31759
  }
31662
31760
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfagency/beans-mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "MCP (Model Context Protocol) server for Beans issue tracker",
5
5
  "keywords": [
6
6
  "beans",
@@ -39,5 +39,6 @@
39
39
  "import": "./index.js",
40
40
  "require": "./index.cjs"
41
41
  }
42
- }
43
- }
42
+ },
43
+ "mcpName": "io.github.selfagency/beans-mcp"
44
+ }
package/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 The Self Agency, LLC
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.