@nonbot/mcp 0.3.1 → 0.3.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/dist/core/preview.js +4 -0
- package/dist/core/server.d.ts +1 -1
- package/dist/core/server.js +1 -1
- package/package.json +1 -1
package/dist/core/preview.js
CHANGED
|
@@ -73,6 +73,10 @@ export function renderPreviewSvg(nodes, opts = {}) {
|
|
|
73
73
|
const stroke = big ? '#7367F0' : done ? '#9BCFAF' : '#3E3860';
|
|
74
74
|
const fs = big ? 26 : lv === 'feature' || lv === 'key-result' ? 21 : 18;
|
|
75
75
|
parts.push(`<rect x="${x}" y="${y}" width="${s.width}" height="${s.height}" rx="10" fill="${fill}" stroke="${stroke}" stroke-width="${big ? 4 : 2}"/>`);
|
|
76
|
+
if (lv === 'milestone') {
|
|
77
|
+
parts.push(`<text x="${x + 10}" y="${y + Math.round(s.height / 2) + 5}" font-size="13" font-weight="600" fill="${ink}">${esc(fit(String(n.data?.title ?? '').trim(), s.width - 20, 13))}</text>`);
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
76
80
|
parts.push(`<text x="${x + 14}" y="${y + 24}" font-size="13" fill="${done ? '#4E8A66' : '#8F87B5'}" letter-spacing="1">${esc(lv.toUpperCase())}${done ? ' · DONE' : n.data?.state ? ' · ' + esc(String(n.data.state).toUpperCase()) : ''}</text>`);
|
|
77
81
|
parts.push(`<text x="${x + 14}" y="${y + 28 + fs * 1.3}" font-size="${fs}" font-weight="${big ? 700 : 500}" fill="${ink}">${esc(fit(String(n.data?.title ?? '').trim(), s.width - 28, fs))}</text>`);
|
|
78
82
|
}
|
package/dist/core/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import type { ApiContext } from './config.js';
|
|
3
3
|
export declare const SERVER_NAME = "nonbot-mcp";
|
|
4
|
-
export declare const SERVER_VERSION = "0.3.
|
|
4
|
+
export declare const SERVER_VERSION = "0.3.2";
|
|
5
5
|
export declare const INSTRUCTIONS: string;
|
|
6
6
|
export declare function registerAll(server: McpServer, ctx: ApiContext): void;
|
|
7
7
|
export declare function createNonbotMcpServer(ctx: ApiContext): McpServer;
|
package/dist/core/server.js
CHANGED
|
@@ -10,7 +10,7 @@ import { registerRadbugsTools } from './toolsets/radbugs.js';
|
|
|
10
10
|
import { registerResources } from './resources.js';
|
|
11
11
|
import { registerPrompts } from './prompts.js';
|
|
12
12
|
export const SERVER_NAME = 'nonbot-mcp';
|
|
13
|
-
export const SERVER_VERSION = '0.3.
|
|
13
|
+
export const SERVER_VERSION = '0.3.2';
|
|
14
14
|
export const INSTRUCTIONS = [
|
|
15
15
|
'non.bot MCP — work against the caller’s real product-management data, not a copy.',
|
|
16
16
|
'Two domains: PORTFOLIOS (the SAFe portfolio canvas — epics → features → stories) and',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nonbot/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The non.bot MCP server — one server for your portfolios, decision graph, and Runs. Runs over stdio (Claude Code, Cursor, VS Code) with a pat_ token. Built on MCP protocol 2025-11-25.",
|
|
6
6
|
"keywords": [
|