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.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_manifest = require("../manifest-wdwFSquz.cjs");
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;
@@ -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
@@ -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
@@ -1,4 +1,4 @@
1
- import { W as normalizeStatusName, _ as projectKanboRun, c as registerKanboTools, d as KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, f as KANBO_CAPABILITIES_RESOURCE_URI, g as projectKanboPullRequest, h as projectKanboColumn, i as KANBO_TOOL_NAMES, l as KANBO_TOOLS, m as projectKanboCard, o as KANBO_MCP_SERVER_NAME, p as registerKanboCapabilitiesResources, r as KANBO_TOOL_CLI_EQUIVALENTS, s as createKanboMcpServer, u as buildKanboTools, v as projectKanboSprint, y as projectKanboSubCard } from "../manifest-DfOBqo-Q.mjs";
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanbo-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A Kanban board your AI agents drive through a CLI and an MCP server, and you watch and approve.",
5
5
  "keywords": [
6
6
  "kanban",