kanbo-cli 0.1.1 → 0.1.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 +1 -0
- package/dist/cli.cjs +90 -26
- package/dist/cli.cjs.map +1 -1
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/{manifest-wdwFSquz.cjs → manifest-CmiuDqH-.cjs} +98 -28
- package/dist/lib/manifest-CmiuDqH-.cjs.map +1 -0
- package/dist/lib/{manifest-DfOBqo-Q.mjs → manifest-NRhhhOkC.mjs} +93 -29
- package/dist/lib/manifest-NRhhhOkC.mjs.map +1 -0
- package/dist/lib/mcp/index.cjs +2 -1
- package/dist/lib/mcp/index.d.cts +17 -0
- package/dist/lib/mcp/index.d.mts +17 -0
- package/dist/lib/mcp/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/lib/manifest-DfOBqo-Q.mjs.map +0 -1
- package/dist/lib/manifest-wdwFSquz.cjs.map +0 -1
package/dist/lib/mcp/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_manifest = require("../manifest-
|
|
2
|
+
const require_manifest = require("../manifest-CmiuDqH-.cjs");
|
|
3
3
|
const require_migrations_path = require("../migrations-path-CZxVOgeD.cjs");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region src/mcp/http-transport.ts
|
|
@@ -171,6 +171,7 @@ function createHttpTransport(input) {
|
|
|
171
171
|
//#endregion
|
|
172
172
|
exports.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = require_manifest.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI;
|
|
173
173
|
exports.KANBO_CAPABILITIES_RESOURCE_URI = require_manifest.KANBO_CAPABILITIES_RESOURCE_URI;
|
|
174
|
+
exports.KANBO_MCP_INSTRUCTIONS = require_manifest.KANBO_MCP_INSTRUCTIONS;
|
|
174
175
|
exports.KANBO_MCP_SERVER_NAME = require_manifest.KANBO_MCP_SERVER_NAME;
|
|
175
176
|
exports.KANBO_TOOLS = require_manifest.KANBO_TOOLS;
|
|
176
177
|
exports.KANBO_TOOL_CLI_EQUIVALENTS = require_manifest.KANBO_TOOL_CLI_EQUIVALENTS;
|
package/dist/lib/mcp/index.d.cts
CHANGED
|
@@ -235,6 +235,20 @@ interface KanboHttpTransportInput {
|
|
|
235
235
|
}
|
|
236
236
|
export declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
|
|
237
237
|
//#endregion
|
|
238
|
+
//#region src/mcp/instructions.d.ts
|
|
239
|
+
/**
|
|
240
|
+
* What `kanbo mcp` tells a client when it connects — the `instructions` of the
|
|
241
|
+
* MCP initialize result, which a client hands its model before any tool is
|
|
242
|
+
* called. An agent with nothing but this server connected learns from it how
|
|
243
|
+
* to work the board, with no instruction file in the project.
|
|
244
|
+
*
|
|
245
|
+
* Static on purpose: it is sent before any board is resolved, so it says
|
|
246
|
+
* nothing about columns — `kanbo_prime` returns those. The rules are the
|
|
247
|
+
* sentences `ops/agent-rules.ts` holds for every surface, with the tool beside
|
|
248
|
+
* each; the full manifest stays a resource.
|
|
249
|
+
*/
|
|
250
|
+
export declare const KANBO_MCP_INSTRUCTIONS: string;
|
|
251
|
+
//#endregion
|
|
238
252
|
//#region src/mcp/resources.d.ts
|
|
239
253
|
/** The URI a client reads the manifest as JSON from. */
|
|
240
254
|
export declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
|
|
@@ -339,6 +353,9 @@ export declare function registerKanboTools(server: McpServer, transport: KanboTo
|
|
|
339
353
|
* function: it documents its capabilities its own way, and adding a second
|
|
340
354
|
* `kanbo://` resource namespace to an inventory that is not only the board's
|
|
341
355
|
* is a decision for that server to make, not this one.
|
|
356
|
+
*
|
|
357
|
+
* For the same reason it alone sends `KANBO_MCP_INSTRUCTIONS` in the initialize
|
|
358
|
+
* result: the instructions of a server that is only the board.
|
|
342
359
|
*/
|
|
343
360
|
export declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
|
|
344
361
|
//#endregion
|
package/dist/lib/mcp/index.d.mts
CHANGED
|
@@ -235,6 +235,20 @@ interface KanboHttpTransportInput {
|
|
|
235
235
|
}
|
|
236
236
|
export declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
|
|
237
237
|
//#endregion
|
|
238
|
+
//#region src/mcp/instructions.d.ts
|
|
239
|
+
/**
|
|
240
|
+
* What `kanbo mcp` tells a client when it connects — the `instructions` of the
|
|
241
|
+
* MCP initialize result, which a client hands its model before any tool is
|
|
242
|
+
* called. An agent with nothing but this server connected learns from it how
|
|
243
|
+
* to work the board, with no instruction file in the project.
|
|
244
|
+
*
|
|
245
|
+
* Static on purpose: it is sent before any board is resolved, so it says
|
|
246
|
+
* nothing about columns — `kanbo_prime` returns those. The rules are the
|
|
247
|
+
* sentences `ops/agent-rules.ts` holds for every surface, with the tool beside
|
|
248
|
+
* each; the full manifest stays a resource.
|
|
249
|
+
*/
|
|
250
|
+
export declare const KANBO_MCP_INSTRUCTIONS: string;
|
|
251
|
+
//#endregion
|
|
238
252
|
//#region src/mcp/resources.d.ts
|
|
239
253
|
/** The URI a client reads the manifest as JSON from. */
|
|
240
254
|
export declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
|
|
@@ -339,6 +353,9 @@ export declare function registerKanboTools(server: McpServer, transport: KanboTo
|
|
|
339
353
|
* function: it documents its capabilities its own way, and adding a second
|
|
340
354
|
* `kanbo://` resource namespace to an inventory that is not only the board's
|
|
341
355
|
* is a decision for that server to make, not this one.
|
|
356
|
+
*
|
|
357
|
+
* For the same reason it alone sends `KANBO_MCP_INSTRUCTIONS` in the initialize
|
|
358
|
+
* result: the instructions of a server that is only the board.
|
|
342
359
|
*/
|
|
343
360
|
export declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
|
|
344
361
|
//#endregion
|
package/dist/lib/mcp/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as normalizeStatusName, _ as projectKanboPullRequest, b as projectKanboSubCard, c as registerKanboTools, d as KANBO_MCP_INSTRUCTIONS, f as KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, g as projectKanboColumn, h as projectKanboCard, i as KANBO_TOOL_NAMES, l as KANBO_TOOLS, m as registerKanboCapabilitiesResources, o as KANBO_MCP_SERVER_NAME, p as KANBO_CAPABILITIES_RESOURCE_URI, r as KANBO_TOOL_CLI_EQUIVALENTS, s as createKanboMcpServer, u as buildKanboTools, v as projectKanboRun, y as projectKanboSprint } from "../manifest-NRhhhOkC.mjs";
|
|
2
2
|
import { a as BoardError } from "../migrations-path-Ciwan537.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/mcp/http-transport.ts
|
|
@@ -168,6 +168,6 @@ function createHttpTransport(input) {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
|
-
export { KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, KANBO_CAPABILITIES_RESOURCE_URI, KANBO_MCP_SERVER_NAME, KANBO_TOOLS, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, buildKanboTools, createHttpTransport, createKanboMcpServer, registerKanboCapabilitiesResources, registerKanboTools };
|
|
171
|
+
export { KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, KANBO_CAPABILITIES_RESOURCE_URI, KANBO_MCP_INSTRUCTIONS, KANBO_MCP_SERVER_NAME, KANBO_TOOLS, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, buildKanboTools, createHttpTransport, createKanboMcpServer, registerKanboCapabilitiesResources, registerKanboTools };
|
|
172
172
|
|
|
173
173
|
//# sourceMappingURL=index.mjs.map
|