kanbo-cli 0.1.0 → 0.1.1

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.
Files changed (33) hide show
  1. package/README.md +1 -2
  2. package/dist/cli.cjs +96 -14
  3. package/dist/cli.cjs.map +1 -1
  4. package/dist/lib/{board-store-B16YarvX.d.mts → board-store-BfszzAJB.d.cts} +2 -2
  5. package/dist/lib/{board-store-BHHo_ZlR.d.cts → board-store-BvWn9xTB.d.mts} +2 -2
  6. package/dist/lib/index.cjs +2 -29
  7. package/dist/lib/index.cjs.map +1 -1
  8. package/dist/lib/index.d.cts +363 -363
  9. package/dist/lib/index.d.mts +363 -363
  10. package/dist/lib/index.mjs +1 -28
  11. package/dist/lib/index.mjs.map +1 -1
  12. package/dist/lib/{manifest-C0EcwwgO.mjs → manifest-DfOBqo-Q.mjs} +100 -17
  13. package/dist/lib/manifest-DfOBqo-Q.mjs.map +1 -0
  14. package/dist/lib/{manifest-CpZOcB_6.cjs → manifest-wdwFSquz.cjs} +104 -15
  15. package/dist/lib/manifest-wdwFSquz.cjs.map +1 -0
  16. package/dist/lib/mcp/index.cjs +1 -1
  17. package/dist/lib/mcp/index.d.cts +12 -12
  18. package/dist/lib/mcp/index.d.mts +12 -12
  19. package/dist/lib/mcp/index.mjs +1 -1
  20. package/dist/lib/postgres/index.d.cts +151 -151
  21. package/dist/lib/postgres/index.d.mts +151 -151
  22. package/dist/lib/{schema-fsHqNAip.d.cts → schema-D0MyXcej.d.cts} +41 -41
  23. package/dist/lib/{schema-fsHqNAip.d.mts → schema-D0MyXcej.d.mts} +41 -41
  24. package/dist/lib/sqlite/index.d.cts +12 -12
  25. package/dist/lib/sqlite/index.d.mts +12 -12
  26. package/dist/lib/sqlite/schema.d.cts +1 -1
  27. package/dist/lib/sqlite/schema.d.mts +1 -1
  28. package/dist/lib/{tool-names-9cmCn0gP.d.cts → tool-names-3q_GEZej.d.mts} +5 -5
  29. package/dist/lib/{tool-names-Dxg1UTUl.d.mts → tool-names-WfH4IURz.d.cts} +5 -5
  30. package/dist/page/board.js +1 -1
  31. package/package.json +4 -4
  32. package/dist/lib/manifest-C0EcwwgO.mjs.map +0 -1
  33. package/dist/lib/manifest-CpZOcB_6.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_manifest = require("../manifest-CpZOcB_6.cjs");
2
+ const require_manifest = require("../manifest-wdwFSquz.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
@@ -1,5 +1,5 @@
1
- import { s as IssueRun, t as Issue } from "../schema-fsHqNAip.cjs";
2
- import { i as KanboToolName, n as KANBO_TOOL_NAMES, r as KanboToolCliEquivalent, s as EntryRule, t as KANBO_TOOL_CLI_EQUIVALENTS } from "../tool-names-9cmCn0gP.cjs";
1
+ import { s as IssueRun, t as Issue } from "../schema-D0MyXcej.cjs";
2
+ import { i as KanboToolName, n as KANBO_TOOL_NAMES, r as KanboToolCliEquivalent, s as EntryRule, t as KANBO_TOOL_CLI_EQUIVALENTS } from "../tool-names-WfH4IURz.cjs";
3
3
  import { z } from "zod";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
  import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
@@ -233,13 +233,13 @@ interface KanboHttpTransportInput {
233
233
  */
234
234
  workspaceId: () => string;
235
235
  }
236
- declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
236
+ export declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
237
237
  //#endregion
238
238
  //#region src/mcp/resources.d.ts
239
239
  /** The URI a client reads the manifest as JSON from. */
240
- declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
240
+ export declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
241
241
  /** The URI a client reads the same manifest from, laid out as Markdown. */
242
- declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.md";
242
+ export declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.md";
243
243
  /**
244
244
  * The board's own capabilities manifest, as two MCP resources rather than a
245
245
  * tool: a client reads it once, before it ever calls a board tool, to learn
@@ -253,7 +253,7 @@ declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.m
253
253
  * with no server around it still gets the manifest from the one server it is
254
254
  * talking to.
255
255
  */
256
- declare function registerKanboCapabilitiesResources(server: McpServer): void;
256
+ export declare function registerKanboCapabilitiesResources(server: McpServer): void;
257
257
  //#endregion
258
258
  //#region src/mcp/tools/tool.d.ts
259
259
  /**
@@ -297,7 +297,7 @@ interface KanboTool {
297
297
  * whether they run against a server or against the board directly, and the
298
298
  * only thing a host decides is which of them it publishes.
299
299
  */
300
- declare const KANBO_TOOLS: readonly KanboTool[];
300
+ export declare const KANBO_TOOLS: readonly KanboTool[];
301
301
  /** What a host decides about the board's tools. */
302
302
  interface KanboToolOptions {
303
303
  /** Publish `kanbo_run_start` and `kanbo_run_finish`. False for a host that manages runs itself. */
@@ -315,11 +315,11 @@ interface KanboToolRegistration {
315
315
  * to publish the tool, and the transport is only called when a client actually
316
316
  * calls one.
317
317
  */
318
- declare function buildKanboTools(transport: KanboToolTransport, options: KanboToolOptions): KanboToolRegistration[];
318
+ export declare function buildKanboTools(transport: KanboToolTransport, options: KanboToolOptions): KanboToolRegistration[];
319
319
  //#endregion
320
320
  //#region src/mcp/server.d.ts
321
321
  /** The name a client sees this server under. */
322
- declare const KANBO_MCP_SERVER_NAME = "kanbo";
322
+ export declare const KANBO_MCP_SERVER_NAME = "kanbo";
323
323
  /**
324
324
  * Add the board's tools to a server that already exists.
325
325
  *
@@ -327,7 +327,7 @@ declare const KANBO_MCP_SERVER_NAME = "kanbo";
327
327
  * tool an agent has, and the board's are part of that inventory rather than a
328
328
  * second server the runtime would have to be told about.
329
329
  */
330
- declare function registerKanboTools(server: McpServer, transport: KanboToolTransport, options: KanboToolOptions): void;
330
+ export declare function registerKanboTools(server: McpServer, transport: KanboToolTransport, options: KanboToolOptions): void;
331
331
  /**
332
332
  * A server that is only the board — what `kanbo mcp` serves to a client that
333
333
  * brings no board tools of its own: an editor, an agent CLI, another machine.
@@ -340,7 +340,7 @@ declare function registerKanboTools(server: McpServer, transport: KanboToolTrans
340
340
  * `kanbo://` resource namespace to an inventory that is not only the board's
341
341
  * is a decision for that server to make, not this one.
342
342
  */
343
- declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
343
+ export declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
344
344
  //#endregion
345
- export { KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, KANBO_CAPABILITIES_RESOURCE_URI, KANBO_MCP_SERVER_NAME, KANBO_TOOLS, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanboActiveRunResult, type KanboCardResult, type KanboColumnResult, type KanboCommentResult, type KanboHttpRequest, type KanboHttpTransportInput, type KanboPullRequestResult, type KanboRunResult, type KanboTool, type KanboToolCliEquivalent, type KanboToolName, type KanboToolOptions, type KanboToolRegistration, type KanboToolResult, type KanboToolTransport, buildKanboTools, createHttpTransport, createKanboMcpServer, registerKanboCapabilitiesResources, registerKanboTools };
345
+ export { KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanboActiveRunResult, type KanboCardResult, type KanboColumnResult, type KanboCommentResult, type KanboHttpRequest, type KanboHttpTransportInput, type KanboPullRequestResult, type KanboRunResult, type KanboTool, type KanboToolCliEquivalent, type KanboToolName, type KanboToolOptions, type KanboToolRegistration, type KanboToolResult, type KanboToolTransport };
346
346
  //# sourceMappingURL=index.d.cts.map
@@ -1,5 +1,5 @@
1
- import { s as IssueRun, t as Issue } from "../schema-fsHqNAip.mjs";
2
- import { i as KanboToolName, n as KANBO_TOOL_NAMES, r as KanboToolCliEquivalent, s as EntryRule, t as KANBO_TOOL_CLI_EQUIVALENTS } from "../tool-names-Dxg1UTUl.mjs";
1
+ import { s as IssueRun, t as Issue } from "../schema-D0MyXcej.mjs";
2
+ import { i as KanboToolName, n as KANBO_TOOL_NAMES, r as KanboToolCliEquivalent, s as EntryRule, t as KANBO_TOOL_CLI_EQUIVALENTS } from "../tool-names-3q_GEZej.mjs";
3
3
  import { z } from "zod";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
  import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
@@ -233,13 +233,13 @@ interface KanboHttpTransportInput {
233
233
  */
234
234
  workspaceId: () => string;
235
235
  }
236
- declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
236
+ export declare function createHttpTransport(input: KanboHttpTransportInput): KanboToolTransport;
237
237
  //#endregion
238
238
  //#region src/mcp/resources.d.ts
239
239
  /** The URI a client reads the manifest as JSON from. */
240
- declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
240
+ export declare const KANBO_CAPABILITIES_RESOURCE_URI = "kanbo://capabilities";
241
241
  /** The URI a client reads the same manifest from, laid out as Markdown. */
242
- declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.md";
242
+ export declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.md";
243
243
  /**
244
244
  * The board's own capabilities manifest, as two MCP resources rather than a
245
245
  * tool: a client reads it once, before it ever calls a board tool, to learn
@@ -253,7 +253,7 @@ declare const KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = "kanbo://capabilities.m
253
253
  * with no server around it still gets the manifest from the one server it is
254
254
  * talking to.
255
255
  */
256
- declare function registerKanboCapabilitiesResources(server: McpServer): void;
256
+ export declare function registerKanboCapabilitiesResources(server: McpServer): void;
257
257
  //#endregion
258
258
  //#region src/mcp/tools/tool.d.ts
259
259
  /**
@@ -297,7 +297,7 @@ interface KanboTool {
297
297
  * whether they run against a server or against the board directly, and the
298
298
  * only thing a host decides is which of them it publishes.
299
299
  */
300
- declare const KANBO_TOOLS: readonly KanboTool[];
300
+ export declare const KANBO_TOOLS: readonly KanboTool[];
301
301
  /** What a host decides about the board's tools. */
302
302
  interface KanboToolOptions {
303
303
  /** Publish `kanbo_run_start` and `kanbo_run_finish`. False for a host that manages runs itself. */
@@ -315,11 +315,11 @@ interface KanboToolRegistration {
315
315
  * to publish the tool, and the transport is only called when a client actually
316
316
  * calls one.
317
317
  */
318
- declare function buildKanboTools(transport: KanboToolTransport, options: KanboToolOptions): KanboToolRegistration[];
318
+ export declare function buildKanboTools(transport: KanboToolTransport, options: KanboToolOptions): KanboToolRegistration[];
319
319
  //#endregion
320
320
  //#region src/mcp/server.d.ts
321
321
  /** The name a client sees this server under. */
322
- declare const KANBO_MCP_SERVER_NAME = "kanbo";
322
+ export declare const KANBO_MCP_SERVER_NAME = "kanbo";
323
323
  /**
324
324
  * Add the board's tools to a server that already exists.
325
325
  *
@@ -327,7 +327,7 @@ declare const KANBO_MCP_SERVER_NAME = "kanbo";
327
327
  * tool an agent has, and the board's are part of that inventory rather than a
328
328
  * second server the runtime would have to be told about.
329
329
  */
330
- declare function registerKanboTools(server: McpServer, transport: KanboToolTransport, options: KanboToolOptions): void;
330
+ export declare function registerKanboTools(server: McpServer, transport: KanboToolTransport, options: KanboToolOptions): void;
331
331
  /**
332
332
  * A server that is only the board — what `kanbo mcp` serves to a client that
333
333
  * brings no board tools of its own: an editor, an agent CLI, another machine.
@@ -340,7 +340,7 @@ declare function registerKanboTools(server: McpServer, transport: KanboToolTrans
340
340
  * `kanbo://` resource namespace to an inventory that is not only the board's
341
341
  * is a decision for that server to make, not this one.
342
342
  */
343
- declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
343
+ export declare function createKanboMcpServer(transport: KanboToolTransport, options: KanboToolOptions): McpServer;
344
344
  //#endregion
345
- export { KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI, KANBO_CAPABILITIES_RESOURCE_URI, KANBO_MCP_SERVER_NAME, KANBO_TOOLS, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanboActiveRunResult, type KanboCardResult, type KanboColumnResult, type KanboCommentResult, type KanboHttpRequest, type KanboHttpTransportInput, type KanboPullRequestResult, type KanboRunResult, type KanboTool, type KanboToolCliEquivalent, type KanboToolName, type KanboToolOptions, type KanboToolRegistration, type KanboToolResult, type KanboToolTransport, buildKanboTools, createHttpTransport, createKanboMcpServer, registerKanboCapabilitiesResources, registerKanboTools };
345
+ export { KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanboActiveRunResult, type KanboCardResult, type KanboColumnResult, type KanboCommentResult, type KanboHttpRequest, type KanboHttpTransportInput, type KanboPullRequestResult, type KanboRunResult, type KanboTool, type KanboToolCliEquivalent, type KanboToolName, type KanboToolOptions, type KanboToolRegistration, type KanboToolResult, type KanboToolTransport };
346
346
  //# sourceMappingURL=index.d.mts.map
@@ -1,4 +1,4 @@
1
- import { U 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-C0EcwwgO.mjs";
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";
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