kanbo-cli 0.6.0 → 0.8.0

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.
@@ -102,36 +102,6 @@ declare function evaluateEntryRules(card: {
102
102
  /** What `ENTRY_RULES` each mean, in the words the prime text and the manifest use. */
103
103
  declare const ENTRY_RULE_DESCRIPTIONS: Record<EntryRule, string>;
104
104
  //#endregion
105
- //#region src/mcp/tool-names.d.ts
106
- /**
107
- * The board's tools, named once.
108
- *
109
- * An agent reaches this board through an MCP server, through a command line, or
110
- * through an HTTP API (`kanbo serve`, or an app that serves the same routes),
111
- * and the three must agree on what the board can be asked to do. The names live
112
- * here rather than in the MCP server so that a prompt built for an agent and the
113
- * tools that agent actually holds cannot drift apart: both read this list.
114
- *
115
- * Nothing here executes anything. These are names and the commands that mean
116
- * the same thing, for a prompt and for documentation.
117
- */
118
- declare const KANBO_TOOL_NAMES: readonly ['kanbo_prime', 'kanbo_ready', 'kanbo_card_claim', 'kanbo_columns', 'kanbo_sprints', 'kanbo_card_get', 'kanbo_card_list', 'kanbo_card_create', 'kanbo_card_update', 'kanbo_card_move', 'kanbo_card_comment', 'kanbo_card_link_pr', 'kanbo_card_pull_requests', 'kanbo_status_line', 'kanbo_wait_approval', 'kanbo_run_start', 'kanbo_run_finish'];
119
- /** One of the board's tools. */
120
- type KanboToolName = typeof KANBO_TOOL_NAMES[number];
121
- /** The command line that does what a tool does. */
122
- interface KanboToolCliEquivalent {
123
- /** The `kanbo` command, which needs no server. */
124
- kanbo: string;
125
- }
126
- /**
127
- * What to type instead of calling the tool.
128
- *
129
- * An agent without MCP tools is not shut out of the board: every tool has a
130
- * command that does the same thing, and the card ends up saying the same
131
- * either way, because both call the same operations.
132
- */
133
- declare const KANBO_TOOL_CLI_EQUIVALENTS: Record<KanboToolName, KanboToolCliEquivalent>;
134
- //#endregion
135
105
  //#region src/domain/issue-view.d.ts
136
106
  /** An issue row with its `labels` column decoded from JSON. */
137
107
  type IssueView = Omit<Issue, 'labels'> & {
@@ -177,6 +147,25 @@ declare function isOutsideWriter(provenance: IssueWriterProvenance): provenance
177
147
  authorId: string;
178
148
  };
179
149
  //#endregion
150
+ //#region src/mcp/tool-names.d.ts
151
+ /**
152
+ * The board's tools, named once.
153
+ *
154
+ * An agent reaches this board through an MCP server, or through an HTTP API
155
+ * (`kanbo serve`, or an app that serves the same routes), and both must agree on
156
+ * what the board can be asked to do. The names are read by the MCP server, by
157
+ * the prompts built for an agent and by the HTTP API — there is no command line
158
+ * for an agent. They live here rather than in the MCP server so that a prompt
159
+ * built for an agent and the tools that agent actually holds cannot drift
160
+ * apart: both read this list.
161
+ *
162
+ * Nothing here executes anything. These are names, for a prompt and for
163
+ * documentation.
164
+ */
165
+ declare const KANBO_TOOL_NAMES: readonly ['kanbo_prime', 'kanbo_ready', 'kanbo_card_claim', 'kanbo_columns', 'kanbo_sprints', 'kanbo_card_get', 'kanbo_card_list', 'kanbo_card_create', 'kanbo_card_update', 'kanbo_card_move', 'kanbo_card_comment', 'kanbo_card_link_pr', 'kanbo_card_pull_requests', 'kanbo_status_line', 'kanbo_wait_approval', 'kanbo_run_start', 'kanbo_run_finish'];
166
+ /** One of the board's tools. */
167
+ type KanboToolName = typeof KANBO_TOOL_NAMES[number];
168
+ //#endregion
180
169
  //#region src/ops/approval.d.ts
181
170
  /** Where a card stands with the person who has to approve it. */
182
171
  interface BoardApproval {
@@ -202,4 +191,4 @@ interface CardAttention {
202
191
  lastComment: CardLastComment | null;
203
192
  }
204
193
  //#endregion
205
- export { readEntryRules as C, FlowRule as D, FLOW_RULES as E, readFlowRules as O, readChecklist as S, ColumnFlowRules as T, EntryRule as _, IssueActorReference as a, UnmetEntryRule as b, isOutsideWriter as c, KANBO_TOOL_CLI_EQUIVALENTS as d, KANBO_TOOL_NAMES as f, ENTRY_RULE_DESCRIPTIONS as g, ENTRY_RULES as h, IssueActorKind as i, normalizeCommentAuthorKind as l, KanboToolName as m, CardAttention as n, IssueView as o, KanboToolCliEquivalent as p, CardLastComment as r, IssueWriterProvenance as s, BoardApproval as t, toIssueView as u, EntryRuleFacts as v, serializeEntryRules as w, evaluateEntryRules as x, UNMET_ENTRY_RULE_REASONS as y };
194
+ export { ColumnFlowRules as C, readFlowRules as E, serializeEntryRules as S, FlowRule as T, UNMET_ENTRY_RULE_REASONS as _, KanboToolName as a, readChecklist as b, IssueView as c, normalizeCommentAuthorKind as d, toIssueView as f, EntryRuleFacts as g, EntryRule as h, KANBO_TOOL_NAMES as i, IssueWriterProvenance as l, ENTRY_RULE_DESCRIPTIONS as m, CardAttention as n, IssueActorKind as o, ENTRY_RULES as p, CardLastComment as r, IssueActorReference as s, BoardApproval as t, isOutsideWriter as u, UnmetEntryRule as v, FLOW_RULES as w, readEntryRules as x, evaluateEntryRules as y };
@@ -102,36 +102,6 @@ declare function evaluateEntryRules(card: {
102
102
  /** What `ENTRY_RULES` each mean, in the words the prime text and the manifest use. */
103
103
  declare const ENTRY_RULE_DESCRIPTIONS: Record<EntryRule, string>;
104
104
  //#endregion
105
- //#region src/mcp/tool-names.d.ts
106
- /**
107
- * The board's tools, named once.
108
- *
109
- * An agent reaches this board through an MCP server, through a command line, or
110
- * through an HTTP API (`kanbo serve`, or an app that serves the same routes),
111
- * and the three must agree on what the board can be asked to do. The names live
112
- * here rather than in the MCP server so that a prompt built for an agent and the
113
- * tools that agent actually holds cannot drift apart: both read this list.
114
- *
115
- * Nothing here executes anything. These are names and the commands that mean
116
- * the same thing, for a prompt and for documentation.
117
- */
118
- declare const KANBO_TOOL_NAMES: readonly ['kanbo_prime', 'kanbo_ready', 'kanbo_card_claim', 'kanbo_columns', 'kanbo_sprints', 'kanbo_card_get', 'kanbo_card_list', 'kanbo_card_create', 'kanbo_card_update', 'kanbo_card_move', 'kanbo_card_comment', 'kanbo_card_link_pr', 'kanbo_card_pull_requests', 'kanbo_status_line', 'kanbo_wait_approval', 'kanbo_run_start', 'kanbo_run_finish'];
119
- /** One of the board's tools. */
120
- type KanboToolName = typeof KANBO_TOOL_NAMES[number];
121
- /** The command line that does what a tool does. */
122
- interface KanboToolCliEquivalent {
123
- /** The `kanbo` command, which needs no server. */
124
- kanbo: string;
125
- }
126
- /**
127
- * What to type instead of calling the tool.
128
- *
129
- * An agent without MCP tools is not shut out of the board: every tool has a
130
- * command that does the same thing, and the card ends up saying the same
131
- * either way, because both call the same operations.
132
- */
133
- declare const KANBO_TOOL_CLI_EQUIVALENTS: Record<KanboToolName, KanboToolCliEquivalent>;
134
- //#endregion
135
105
  //#region src/domain/issue-view.d.ts
136
106
  /** An issue row with its `labels` column decoded from JSON. */
137
107
  type IssueView = Omit<Issue, 'labels'> & {
@@ -177,6 +147,25 @@ declare function isOutsideWriter(provenance: IssueWriterProvenance): provenance
177
147
  authorId: string;
178
148
  };
179
149
  //#endregion
150
+ //#region src/mcp/tool-names.d.ts
151
+ /**
152
+ * The board's tools, named once.
153
+ *
154
+ * An agent reaches this board through an MCP server, or through an HTTP API
155
+ * (`kanbo serve`, or an app that serves the same routes), and both must agree on
156
+ * what the board can be asked to do. The names are read by the MCP server, by
157
+ * the prompts built for an agent and by the HTTP API — there is no command line
158
+ * for an agent. They live here rather than in the MCP server so that a prompt
159
+ * built for an agent and the tools that agent actually holds cannot drift
160
+ * apart: both read this list.
161
+ *
162
+ * Nothing here executes anything. These are names, for a prompt and for
163
+ * documentation.
164
+ */
165
+ declare const KANBO_TOOL_NAMES: readonly ['kanbo_prime', 'kanbo_ready', 'kanbo_card_claim', 'kanbo_columns', 'kanbo_sprints', 'kanbo_card_get', 'kanbo_card_list', 'kanbo_card_create', 'kanbo_card_update', 'kanbo_card_move', 'kanbo_card_comment', 'kanbo_card_link_pr', 'kanbo_card_pull_requests', 'kanbo_status_line', 'kanbo_wait_approval', 'kanbo_run_start', 'kanbo_run_finish'];
166
+ /** One of the board's tools. */
167
+ type KanboToolName = typeof KANBO_TOOL_NAMES[number];
168
+ //#endregion
180
169
  //#region src/ops/approval.d.ts
181
170
  /** Where a card stands with the person who has to approve it. */
182
171
  interface BoardApproval {
@@ -202,4 +191,4 @@ interface CardAttention {
202
191
  lastComment: CardLastComment | null;
203
192
  }
204
193
  //#endregion
205
- export { readEntryRules as C, FlowRule as D, FLOW_RULES as E, readFlowRules as O, readChecklist as S, ColumnFlowRules as T, EntryRule as _, IssueActorReference as a, UnmetEntryRule as b, isOutsideWriter as c, KANBO_TOOL_CLI_EQUIVALENTS as d, KANBO_TOOL_NAMES as f, ENTRY_RULE_DESCRIPTIONS as g, ENTRY_RULES as h, IssueActorKind as i, normalizeCommentAuthorKind as l, KanboToolName as m, CardAttention as n, IssueView as o, KanboToolCliEquivalent as p, CardLastComment as r, IssueWriterProvenance as s, BoardApproval as t, toIssueView as u, EntryRuleFacts as v, serializeEntryRules as w, evaluateEntryRules as x, UNMET_ENTRY_RULE_REASONS as y };
194
+ export { ColumnFlowRules as C, readFlowRules as E, serializeEntryRules as S, FlowRule as T, UNMET_ENTRY_RULE_REASONS as _, KanboToolName as a, readChecklist as b, IssueView as c, normalizeCommentAuthorKind as d, toIssueView as f, EntryRuleFacts as g, EntryRule as h, KANBO_TOOL_NAMES as i, IssueWriterProvenance as l, ENTRY_RULE_DESCRIPTIONS as m, CardAttention as n, IssueActorKind as o, ENTRY_RULES as p, CardLastComment as r, IssueActorReference as s, BoardApproval as t, isOutsideWriter as u, UnmetEntryRule as v, FLOW_RULES as w, readEntryRules as x, evaluateEntryRules as y };
@@ -1,69 +1,68 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_manifest = require("./manifest-BFI4HGPh.cjs");
2
+ const require_tool_names = require("./tool-names-BOUJas7m.cjs");
3
3
  const require_migrations_path = require("./migrations-path-DBCE17dT.cjs");
4
- exports.BINDING_FILE_PATH = require_manifest.BINDING_FILE_PATH;
5
- exports.BOARD_ACTOR = require_manifest.BOARD_ACTOR;
6
- exports.BOARD_ERROR_RESPONSES = require_manifest.BOARD_ERROR_RESPONSES;
4
+ exports.BINDING_FILE_PATH = require_tool_names.BINDING_FILE_PATH;
5
+ exports.BOARD_ACTOR = require_tool_names.BOARD_ACTOR;
6
+ exports.BOARD_ERROR_RESPONSES = require_tool_names.BOARD_ERROR_RESPONSES;
7
7
  exports.BoardError = require_migrations_path.BoardError;
8
- exports.CAPABILITIES_MANIFEST_VERSION = require_manifest.CAPABILITIES_MANIFEST_VERSION;
9
- exports.CARD_KEY_PATTERN = require_manifest.CARD_KEY_PATTERN;
10
- exports.COLUMN_CATALOGUE = require_manifest.COLUMN_CATALOGUE;
11
- exports.COLUMN_TEMPLATES = require_manifest.COLUMN_TEMPLATES;
12
- exports.COLUMN_TEMPLATE_IDS = require_manifest.COLUMN_TEMPLATE_IDS;
13
- exports.DEFAULT_BOARD_FILE_PATH = require_manifest.DEFAULT_BOARD_FILE_PATH;
14
- exports.DEFAULT_STATUSES = require_manifest.DEFAULT_STATUSES;
15
- exports.ENTRY_RULES = require_manifest.ENTRY_RULES;
16
- exports.ENTRY_RULE_DESCRIPTIONS = require_manifest.ENTRY_RULE_DESCRIPTIONS;
17
- exports.FLOW_RULES = require_manifest.FLOW_RULES;
18
- exports.KANBO_TOOL_CLI_EQUIVALENTS = require_manifest.KANBO_TOOL_CLI_EQUIVALENTS;
19
- exports.KANBO_TOOL_NAMES = require_manifest.KANBO_TOOL_NAMES;
20
- exports.TRACKED_FIELDS = require_manifest.TRACKED_FIELDS;
21
- exports.UNMET_ENTRY_RULE_REASONS = require_manifest.UNMET_ENTRY_RULE_REASONS;
22
- exports.activityKindOrder = require_manifest.activityKindOrder;
23
- exports.activityText = require_manifest.activityText;
24
- exports.activityToken = require_manifest.activityToken;
25
- exports.boardMetricsAgentKey = require_manifest.boardMetricsAgentKey;
26
- exports.boardMetricsRuns = require_manifest.boardMetricsRuns;
27
- exports.buildCapabilitiesManifest = require_manifest.buildCapabilitiesManifest;
28
- exports.cardDisplayTitle = require_manifest.cardDisplayTitle;
29
- exports.commentAuthorReference = require_manifest.commentAuthorReference;
30
- exports.computeBoardMetrics = require_manifest.computeBoardMetrics;
31
- exports.createBoardOps = require_manifest.createBoardOps;
32
- exports.currentUnixSeconds = require_manifest.currentUnixSeconds;
33
- exports.diffFieldChanges = require_manifest.diffFieldChanges;
34
- exports.evaluateEntryRules = require_manifest.evaluateEntryRules;
35
- exports.formatActivityIssueReference = require_manifest.formatActivityIssueReference;
36
- exports.formatExternalSessionRef = require_manifest.formatExternalSessionRef;
37
- exports.formatIssueId = require_manifest.formatIssueId;
38
- exports.formatPlainActivityValue = require_manifest.formatPlainActivityValue;
39
- exports.ignoreBoardFile = require_manifest.ignoreBoardFile;
40
- exports.isEmptyActivityValue = require_manifest.isEmptyActivityValue;
41
- exports.isOutsideWriter = require_manifest.isOutsideWriter;
42
- exports.isValidCardKey = require_manifest.isValidCardKey;
43
- exports.isoWeekOf = require_manifest.isoWeekOf;
44
- exports.maskDatabaseUrl = require_manifest.maskDatabaseUrl;
45
- exports.maskDatabaseUrls = require_manifest.maskDatabaseUrls;
46
- exports.nearestRank = require_manifest.nearestRank;
47
- exports.nextIssueIdentity = require_manifest.nextIssueIdentity;
48
- exports.nextIssueNumber = require_manifest.nextIssueNumber;
49
- exports.nextIssueOrder = require_manifest.nextIssueOrder;
50
- exports.normalizeCommentAuthorKind = require_manifest.normalizeCommentAuthorKind;
51
- exports.normalizeStatusName = require_manifest.normalizeStatusName;
52
- exports.parseActivityStringArray = require_manifest.parseActivityStringArray;
53
- exports.parseExternalSessionRef = require_manifest.parseExternalSessionRef;
54
- exports.pullRequestFactKeys = require_manifest.pullRequestFactKeys;
55
- exports.readBinding = require_manifest.readBinding;
56
- exports.readChangeSeq = require_manifest.readChangeSeq;
57
- exports.readChecklist = require_manifest.readChecklist;
58
- exports.readEntryRules = require_manifest.readEntryRules;
59
- exports.readFlowRules = require_manifest.readFlowRules;
60
- exports.readIssuePrefix = require_manifest.readIssuePrefix;
61
- exports.readProjectBinding = require_manifest.readProjectBinding;
62
- exports.readSystemCommentKind = require_manifest.readSystemCommentKind;
63
- exports.renderCapabilitiesMarkdown = require_manifest.renderCapabilitiesMarkdown;
64
- exports.runBoardWrite = require_manifest.runBoardWrite;
65
- exports.serializeEntryRules = require_manifest.serializeEntryRules;
66
- exports.suggestCardKey = require_manifest.suggestCardKey;
67
- exports.toIssueView = require_manifest.toIssueView;
68
- exports.utcDayLabel = require_manifest.utcDayLabel;
69
- exports.writeBinding = require_manifest.writeBinding;
8
+ exports.CAPABILITIES_MANIFEST_VERSION = require_tool_names.CAPABILITIES_MANIFEST_VERSION;
9
+ exports.CARD_KEY_PATTERN = require_tool_names.CARD_KEY_PATTERN;
10
+ exports.COLUMN_CATALOGUE = require_tool_names.COLUMN_CATALOGUE;
11
+ exports.COLUMN_TEMPLATES = require_tool_names.COLUMN_TEMPLATES;
12
+ exports.COLUMN_TEMPLATE_IDS = require_tool_names.COLUMN_TEMPLATE_IDS;
13
+ exports.DEFAULT_BOARD_FILE_PATH = require_tool_names.DEFAULT_BOARD_FILE_PATH;
14
+ exports.DEFAULT_STATUSES = require_tool_names.DEFAULT_STATUSES;
15
+ exports.ENTRY_RULES = require_tool_names.ENTRY_RULES;
16
+ exports.ENTRY_RULE_DESCRIPTIONS = require_tool_names.ENTRY_RULE_DESCRIPTIONS;
17
+ exports.FLOW_RULES = require_tool_names.FLOW_RULES;
18
+ exports.KANBO_TOOL_NAMES = require_tool_names.KANBO_TOOL_NAMES;
19
+ exports.TRACKED_FIELDS = require_tool_names.TRACKED_FIELDS;
20
+ exports.UNMET_ENTRY_RULE_REASONS = require_tool_names.UNMET_ENTRY_RULE_REASONS;
21
+ exports.activityKindOrder = require_tool_names.activityKindOrder;
22
+ exports.activityText = require_tool_names.activityText;
23
+ exports.activityToken = require_tool_names.activityToken;
24
+ exports.boardMetricsAgentKey = require_tool_names.boardMetricsAgentKey;
25
+ exports.boardMetricsRuns = require_tool_names.boardMetricsRuns;
26
+ exports.buildCapabilitiesManifest = require_tool_names.buildCapabilitiesManifest;
27
+ exports.cardDisplayTitle = require_tool_names.cardDisplayTitle;
28
+ exports.commentAuthorReference = require_tool_names.commentAuthorReference;
29
+ exports.computeBoardMetrics = require_tool_names.computeBoardMetrics;
30
+ exports.createBoardOps = require_tool_names.createBoardOps;
31
+ exports.currentUnixSeconds = require_tool_names.currentUnixSeconds;
32
+ exports.diffFieldChanges = require_tool_names.diffFieldChanges;
33
+ exports.evaluateEntryRules = require_tool_names.evaluateEntryRules;
34
+ exports.formatActivityIssueReference = require_tool_names.formatActivityIssueReference;
35
+ exports.formatExternalSessionRef = require_tool_names.formatExternalSessionRef;
36
+ exports.formatIssueId = require_tool_names.formatIssueId;
37
+ exports.formatPlainActivityValue = require_tool_names.formatPlainActivityValue;
38
+ exports.ignoreBoardFile = require_tool_names.ignoreBoardFile;
39
+ exports.isEmptyActivityValue = require_tool_names.isEmptyActivityValue;
40
+ exports.isOutsideWriter = require_tool_names.isOutsideWriter;
41
+ exports.isValidCardKey = require_tool_names.isValidCardKey;
42
+ exports.isoWeekOf = require_tool_names.isoWeekOf;
43
+ exports.maskDatabaseUrl = require_tool_names.maskDatabaseUrl;
44
+ exports.maskDatabaseUrls = require_tool_names.maskDatabaseUrls;
45
+ exports.nearestRank = require_tool_names.nearestRank;
46
+ exports.nextIssueIdentity = require_tool_names.nextIssueIdentity;
47
+ exports.nextIssueNumber = require_tool_names.nextIssueNumber;
48
+ exports.nextIssueOrder = require_tool_names.nextIssueOrder;
49
+ exports.normalizeCommentAuthorKind = require_tool_names.normalizeCommentAuthorKind;
50
+ exports.normalizeStatusName = require_tool_names.normalizeStatusName;
51
+ exports.parseActivityStringArray = require_tool_names.parseActivityStringArray;
52
+ exports.parseExternalSessionRef = require_tool_names.parseExternalSessionRef;
53
+ exports.pullRequestFactKeys = require_tool_names.pullRequestFactKeys;
54
+ exports.readBinding = require_tool_names.readBinding;
55
+ exports.readChangeSeq = require_tool_names.readChangeSeq;
56
+ exports.readChecklist = require_tool_names.readChecklist;
57
+ exports.readEntryRules = require_tool_names.readEntryRules;
58
+ exports.readFlowRules = require_tool_names.readFlowRules;
59
+ exports.readIssuePrefix = require_tool_names.readIssuePrefix;
60
+ exports.readProjectBinding = require_tool_names.readProjectBinding;
61
+ exports.readSystemCommentKind = require_tool_names.readSystemCommentKind;
62
+ exports.renderCapabilitiesMarkdown = require_tool_names.renderCapabilitiesMarkdown;
63
+ exports.runBoardWrite = require_tool_names.runBoardWrite;
64
+ exports.serializeEntryRules = require_tool_names.serializeEntryRules;
65
+ exports.suggestCardKey = require_tool_names.suggestCardKey;
66
+ exports.toIssueView = require_tool_names.toIssueView;
67
+ exports.utcDayLabel = require_tool_names.utcDayLabel;
68
+ exports.writeBinding = require_tool_names.writeBinding;
@@ -1,6 +1,6 @@
1
1
  import { a as IssuePullRequest, c as IssueStatus, f as issueFieldChanges, i as IssueMilestone, l as KanbanMeta, n as IssueComment, o as IssueRelation, r as IssueFieldChange, s as IssueRun, t as Issue, v as issues } from "./schema-Cwx3HosC.cjs";
2
2
  import { _ as IssueRelationStore, a as BoardLinkedPullRequest, b as IssueStatusStore, c as BoardRunProjectionScope, d as BoardWorkspaceFieldChange, f as IssueCommentStore, g as IssuePullRequestStore, h as IssueMilestoneStore, i as BoardFieldChangeQuery, l as BoardStore, m as IssueFieldChangeStore, n as BoardCardPage, o as BoardMilestoneCardCount, p as IssueContextRefStore, r as BoardCardQuery, s as BoardRunProjection, t as BoardActiveRun, u as BoardTransactionMode, v as IssueRowStore, x as KanbanMetaStore, y as IssueRunStore } from "./board-store-CsyBXBwH.cjs";
3
- import { C as readEntryRules, D as FlowRule, E as FLOW_RULES, O as readFlowRules, S as readChecklist, T as ColumnFlowRules, _ as EntryRule, a as IssueActorReference, b as UnmetEntryRule, c as isOutsideWriter, d as KANBO_TOOL_CLI_EQUIVALENTS, f as KANBO_TOOL_NAMES, g as ENTRY_RULE_DESCRIPTIONS, h as ENTRY_RULES, i as IssueActorKind, l as normalizeCommentAuthorKind, m as KanboToolName, n as CardAttention, o as IssueView, p as KanboToolCliEquivalent, r as CardLastComment, s as IssueWriterProvenance, t as BoardApproval, u as toIssueView, v as EntryRuleFacts, w as serializeEntryRules, x as evaluateEntryRules, y as UNMET_ENTRY_RULE_REASONS } from "./approval-DNfUhYD5.cjs";
3
+ import { C as ColumnFlowRules, E as readFlowRules, S as serializeEntryRules, T as FlowRule, _ as UNMET_ENTRY_RULE_REASONS, a as KanboToolName, b as readChecklist, c as IssueView, d as normalizeCommentAuthorKind, f as toIssueView, g as EntryRuleFacts, h as EntryRule, i as KANBO_TOOL_NAMES, l as IssueWriterProvenance, m as ENTRY_RULE_DESCRIPTIONS, n as CardAttention, o as IssueActorKind, p as ENTRY_RULES, r as CardLastComment, s as IssueActorReference, t as BoardApproval, u as isOutsideWriter, v as UnmetEntryRule, w as FLOW_RULES, x as readEntryRules, y as evaluateEntryRules } from "./approval-Nmk8UDPy.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/cli/output.d.ts
6
6
  /**
@@ -41,12 +41,11 @@ declare const CLI_EXIT_CODES: readonly [{
41
41
  * sources gains something this file was not told about.
42
42
  *
43
43
  * `buildCapabilitiesManifest` and `renderCapabilitiesMarkdown` are the one
44
- * source two servings come from: `kanbo capabilities` prints either shape
45
- * from a terminal, and `kanbo mcp` serves both as resources
44
+ * source two servings come from: `kanbo mcp` serves both as resources
46
45
  * (`kanbo://capabilities`, `kanbo://capabilities.md`).
47
46
  */
48
47
  /** The manifest's own shape version, bumped when a field is added or removed — not the package's version. */
49
- export declare const CAPABILITIES_MANIFEST_VERSION = "3";
48
+ export declare const CAPABILITIES_MANIFEST_VERSION = "4";
50
49
  /** The board's name and the build that is answering, as `kanbo mcp` itself reports them. */
51
50
  interface KanboCapabilitiesPackage {
52
51
  name: string;
@@ -68,8 +67,6 @@ interface KanboCapabilityTool {
68
67
  description: string;
69
68
  /** `tool.inputSchema` converted with zod's own `toJSONSchema` — never hand-written. */
70
69
  inputSchema: Record<string, unknown>;
71
- /** What to type instead, from `KANBO_TOOL_CLI_EQUIVALENTS`: the `kanbo` command. */
72
- cli: KanboToolCliEquivalent;
73
70
  }
74
71
  /** One flag a CLI command takes, as commander itself declares it. */
75
72
  interface KanboCapabilityCommandOption {
@@ -116,7 +113,7 @@ interface KanboCapabilities {
116
113
  storages: KanboCapabilityStorage[];
117
114
  tools: KanboCapabilityTool[];
118
115
  commands: KanboCapabilityCommand[];
119
- /** The board-independent rules `kanbo prime` states — no columns here, because a column is per board. */
116
+ /** The board-independent rules `kanbo_prime` states — no columns here, because a column is per board. */
120
117
  rules: string[];
121
118
  /** Every rule a column may ask of a card, from `ENTRY_RULES` — which columns ask for which is per board, in `kanbo_columns`. */
122
119
  entryRules: KanboCapabilityEntryRule[];
@@ -1932,4 +1929,4 @@ interface BoardErrorResponse {
1932
1929
  */
1933
1930
  export declare const BOARD_ERROR_RESPONSES: Record<BoardErrorCode, BoardErrorResponse>;
1934
1931
  //#endregion
1935
- export { type AddColumnInput, type AddCommentInput, type ApplyColumnTemplateOptions, type AttachRunExecutionInput, type BoardActiveRun, type BoardActor, type BoardApproval, type BoardCardPage, type BoardCardQuery, type BoardCardWrite, type BoardColumnInput, type BoardColumnPatch, type BoardErrorCode, type BoardErrorResponse, type BoardFieldChangeQuery, type BoardLinkedPullRequest, type BoardMetrics, type BoardMetricsAgent, type BoardMetricsAgingCard, type BoardMetricsCard, type BoardMetricsColumn, type BoardMetricsColumnTime, type BoardMetricsDurations, type BoardMetricsFinishedCard, type BoardMetricsFlowDay, type BoardMetricsHistory, type BoardMetricsInput, type BoardMetricsPerson, type BoardMetricsReturns, type BoardMetricsWeek, type BoardMetricsWip, type BoardMilestoneCardCount, type BoardOps, type BoardPullRequestStanding, type BoardRunProjection, type BoardRunProjectionScope, type BoardRunView, type BoardSprint, type BoardStore, type BoardTransactionMode, type BoardWorkspaceFieldChange, type BoardWorkspaceIdentity, type BoardWriteScope, type BulkUpdateCardsInput, type BulkUpdateCardsResult, type CardAttention, type CardLastComment, type CardNotReadyReason, type CardQueryInput, type CardQueryResult, type ClaimCardInput, type ClaimedCard, type CloseSprintResult, type ColumnEntry, type ColumnFlowRules, type ColumnPosition, type ColumnSpec, type ColumnTemplateId, type CreateCardInput, type CreateCommentOnceInput, type CreateMilestoneInput, type CreateRelationInput, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, type EntryRule, type EntryRuleFacts, type ExternalSessionRef, FLOW_RULES, type FinishRunInput, type FlowRule, type IsoWeek, type Issue, type IssueActivityAction, type IssueActivityCommentView, type IssueActivityField, type IssueActivityFieldChangeView, type IssueActivityItemView, type IssueActivityLookup, type IssueActivityResolver, type IssueActivityValueToken, type IssueActivityValueView, type IssueActorKind, type IssueActorReference, type IssueComment, type IssueCommentAuthorView, type IssueCommentStore, type IssueContextRefStore, type IssueFieldChange, type IssueFieldChangeStore, type IssueMilestone, type IssueMilestoneStore, type IssueMutationActor, type IssuePullRequest, type IssuePullRequestStore, type IssueRelation, type IssueRelationCounterpart, type IssueRelationStore, type IssueRelationView, type IssueRowStore, type IssueRun, type IssueRunStore, type IssueStatus, type IssueStatusStore, type IssueView, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanbanMeta, type KanbanMetaStore, type KanboBinding, type KanboCapabilities, type KanboCapabilitiesPackage, type KanboCapabilitiesRoles, type KanboCapabilityCommand, type KanboCapabilityCommandArgument, type KanboCapabilityCommandOption, type KanboCapabilityEntryRule, type KanboCapabilityStorage, type KanboCapabilityTool, type KanboToolCliEquivalent, type KanboToolName, type ListColumnEntriesInput, type MigrateCardsInput, type MigrateCardsResult, type PullRequestFactKeys, type RemoveColumnOptions, type RemoveColumnResult, type StartRunInput, UNMET_ENTRY_RULE_REASONS, type UnmetEntryRule, type UpdateCardInput, type UpdateMilestoneInput, evaluateEntryRules, isOutsideWriter, normalizeCommentAuthorKind, readChecklist, readEntryRules, readFlowRules, serializeEntryRules, toIssueView };
1932
+ export { type AddColumnInput, type AddCommentInput, type ApplyColumnTemplateOptions, type AttachRunExecutionInput, type BoardActiveRun, type BoardActor, type BoardApproval, type BoardCardPage, type BoardCardQuery, type BoardCardWrite, type BoardColumnInput, type BoardColumnPatch, type BoardErrorCode, type BoardErrorResponse, type BoardFieldChangeQuery, type BoardLinkedPullRequest, type BoardMetrics, type BoardMetricsAgent, type BoardMetricsAgingCard, type BoardMetricsCard, type BoardMetricsColumn, type BoardMetricsColumnTime, type BoardMetricsDurations, type BoardMetricsFinishedCard, type BoardMetricsFlowDay, type BoardMetricsHistory, type BoardMetricsInput, type BoardMetricsPerson, type BoardMetricsReturns, type BoardMetricsWeek, type BoardMetricsWip, type BoardMilestoneCardCount, type BoardOps, type BoardPullRequestStanding, type BoardRunProjection, type BoardRunProjectionScope, type BoardRunView, type BoardSprint, type BoardStore, type BoardTransactionMode, type BoardWorkspaceFieldChange, type BoardWorkspaceIdentity, type BoardWriteScope, type BulkUpdateCardsInput, type BulkUpdateCardsResult, type CardAttention, type CardLastComment, type CardNotReadyReason, type CardQueryInput, type CardQueryResult, type ClaimCardInput, type ClaimedCard, type CloseSprintResult, type ColumnEntry, type ColumnFlowRules, type ColumnPosition, type ColumnSpec, type ColumnTemplateId, type CreateCardInput, type CreateCommentOnceInput, type CreateMilestoneInput, type CreateRelationInput, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, type EntryRule, type EntryRuleFacts, type ExternalSessionRef, FLOW_RULES, type FinishRunInput, type FlowRule, type IsoWeek, type Issue, type IssueActivityAction, type IssueActivityCommentView, type IssueActivityField, type IssueActivityFieldChangeView, type IssueActivityItemView, type IssueActivityLookup, type IssueActivityResolver, type IssueActivityValueToken, type IssueActivityValueView, type IssueActorKind, type IssueActorReference, type IssueComment, type IssueCommentAuthorView, type IssueCommentStore, type IssueContextRefStore, type IssueFieldChange, type IssueFieldChangeStore, type IssueMilestone, type IssueMilestoneStore, type IssueMutationActor, type IssuePullRequest, type IssuePullRequestStore, type IssueRelation, type IssueRelationCounterpart, type IssueRelationStore, type IssueRelationView, type IssueRowStore, type IssueRun, type IssueRunStore, type IssueStatus, type IssueStatusStore, type IssueView, KANBO_TOOL_NAMES, type KanbanMeta, type KanbanMetaStore, type KanboBinding, type KanboCapabilities, type KanboCapabilitiesPackage, type KanboCapabilitiesRoles, type KanboCapabilityCommand, type KanboCapabilityCommandArgument, type KanboCapabilityCommandOption, type KanboCapabilityEntryRule, type KanboCapabilityStorage, type KanboCapabilityTool, type KanboToolName, type ListColumnEntriesInput, type MigrateCardsInput, type MigrateCardsResult, type PullRequestFactKeys, type RemoveColumnOptions, type RemoveColumnResult, type StartRunInput, UNMET_ENTRY_RULE_REASONS, type UnmetEntryRule, type UpdateCardInput, type UpdateMilestoneInput, evaluateEntryRules, isOutsideWriter, normalizeCommentAuthorKind, readChecklist, readEntryRules, readFlowRules, serializeEntryRules, toIssueView };
@@ -1,6 +1,6 @@
1
1
  import { a as IssuePullRequest, c as IssueStatus, f as issueFieldChanges, i as IssueMilestone, l as KanbanMeta, n as IssueComment, o as IssueRelation, r as IssueFieldChange, s as IssueRun, t as Issue, v as issues } from "./schema-Cwx3HosC.mjs";
2
2
  import { _ as IssueRelationStore, a as BoardLinkedPullRequest, b as IssueStatusStore, c as BoardRunProjectionScope, d as BoardWorkspaceFieldChange, f as IssueCommentStore, g as IssuePullRequestStore, h as IssueMilestoneStore, i as BoardFieldChangeQuery, l as BoardStore, m as IssueFieldChangeStore, n as BoardCardPage, o as BoardMilestoneCardCount, p as IssueContextRefStore, r as BoardCardQuery, s as BoardRunProjection, t as BoardActiveRun, u as BoardTransactionMode, v as IssueRowStore, x as KanbanMetaStore, y as IssueRunStore } from "./board-store-BjhiH9TZ.mjs";
3
- import { C as readEntryRules, D as FlowRule, E as FLOW_RULES, O as readFlowRules, S as readChecklist, T as ColumnFlowRules, _ as EntryRule, a as IssueActorReference, b as UnmetEntryRule, c as isOutsideWriter, d as KANBO_TOOL_CLI_EQUIVALENTS, f as KANBO_TOOL_NAMES, g as ENTRY_RULE_DESCRIPTIONS, h as ENTRY_RULES, i as IssueActorKind, l as normalizeCommentAuthorKind, m as KanboToolName, n as CardAttention, o as IssueView, p as KanboToolCliEquivalent, r as CardLastComment, s as IssueWriterProvenance, t as BoardApproval, u as toIssueView, v as EntryRuleFacts, w as serializeEntryRules, x as evaluateEntryRules, y as UNMET_ENTRY_RULE_REASONS } from "./approval-CnJJfwfi.mjs";
3
+ import { C as ColumnFlowRules, E as readFlowRules, S as serializeEntryRules, T as FlowRule, _ as UNMET_ENTRY_RULE_REASONS, a as KanboToolName, b as readChecklist, c as IssueView, d as normalizeCommentAuthorKind, f as toIssueView, g as EntryRuleFacts, h as EntryRule, i as KANBO_TOOL_NAMES, l as IssueWriterProvenance, m as ENTRY_RULE_DESCRIPTIONS, n as CardAttention, o as IssueActorKind, p as ENTRY_RULES, r as CardLastComment, s as IssueActorReference, t as BoardApproval, u as isOutsideWriter, v as UnmetEntryRule, w as FLOW_RULES, x as readEntryRules, y as evaluateEntryRules } from "./approval-CDiZbegu.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/cli/output.d.ts
6
6
  /**
@@ -41,12 +41,11 @@ declare const CLI_EXIT_CODES: readonly [{
41
41
  * sources gains something this file was not told about.
42
42
  *
43
43
  * `buildCapabilitiesManifest` and `renderCapabilitiesMarkdown` are the one
44
- * source two servings come from: `kanbo capabilities` prints either shape
45
- * from a terminal, and `kanbo mcp` serves both as resources
44
+ * source two servings come from: `kanbo mcp` serves both as resources
46
45
  * (`kanbo://capabilities`, `kanbo://capabilities.md`).
47
46
  */
48
47
  /** The manifest's own shape version, bumped when a field is added or removed — not the package's version. */
49
- export declare const CAPABILITIES_MANIFEST_VERSION = "3";
48
+ export declare const CAPABILITIES_MANIFEST_VERSION = "4";
50
49
  /** The board's name and the build that is answering, as `kanbo mcp` itself reports them. */
51
50
  interface KanboCapabilitiesPackage {
52
51
  name: string;
@@ -68,8 +67,6 @@ interface KanboCapabilityTool {
68
67
  description: string;
69
68
  /** `tool.inputSchema` converted with zod's own `toJSONSchema` — never hand-written. */
70
69
  inputSchema: Record<string, unknown>;
71
- /** What to type instead, from `KANBO_TOOL_CLI_EQUIVALENTS`: the `kanbo` command. */
72
- cli: KanboToolCliEquivalent;
73
70
  }
74
71
  /** One flag a CLI command takes, as commander itself declares it. */
75
72
  interface KanboCapabilityCommandOption {
@@ -116,7 +113,7 @@ interface KanboCapabilities {
116
113
  storages: KanboCapabilityStorage[];
117
114
  tools: KanboCapabilityTool[];
118
115
  commands: KanboCapabilityCommand[];
119
- /** The board-independent rules `kanbo prime` states — no columns here, because a column is per board. */
116
+ /** The board-independent rules `kanbo_prime` states — no columns here, because a column is per board. */
120
117
  rules: string[];
121
118
  /** Every rule a column may ask of a card, from `ENTRY_RULES` — which columns ask for which is per board, in `kanbo_columns`. */
122
119
  entryRules: KanboCapabilityEntryRule[];
@@ -1932,4 +1929,4 @@ interface BoardErrorResponse {
1932
1929
  */
1933
1930
  export declare const BOARD_ERROR_RESPONSES: Record<BoardErrorCode, BoardErrorResponse>;
1934
1931
  //#endregion
1935
- export { type AddColumnInput, type AddCommentInput, type ApplyColumnTemplateOptions, type AttachRunExecutionInput, type BoardActiveRun, type BoardActor, type BoardApproval, type BoardCardPage, type BoardCardQuery, type BoardCardWrite, type BoardColumnInput, type BoardColumnPatch, type BoardErrorCode, type BoardErrorResponse, type BoardFieldChangeQuery, type BoardLinkedPullRequest, type BoardMetrics, type BoardMetricsAgent, type BoardMetricsAgingCard, type BoardMetricsCard, type BoardMetricsColumn, type BoardMetricsColumnTime, type BoardMetricsDurations, type BoardMetricsFinishedCard, type BoardMetricsFlowDay, type BoardMetricsHistory, type BoardMetricsInput, type BoardMetricsPerson, type BoardMetricsReturns, type BoardMetricsWeek, type BoardMetricsWip, type BoardMilestoneCardCount, type BoardOps, type BoardPullRequestStanding, type BoardRunProjection, type BoardRunProjectionScope, type BoardRunView, type BoardSprint, type BoardStore, type BoardTransactionMode, type BoardWorkspaceFieldChange, type BoardWorkspaceIdentity, type BoardWriteScope, type BulkUpdateCardsInput, type BulkUpdateCardsResult, type CardAttention, type CardLastComment, type CardNotReadyReason, type CardQueryInput, type CardQueryResult, type ClaimCardInput, type ClaimedCard, type CloseSprintResult, type ColumnEntry, type ColumnFlowRules, type ColumnPosition, type ColumnSpec, type ColumnTemplateId, type CreateCardInput, type CreateCommentOnceInput, type CreateMilestoneInput, type CreateRelationInput, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, type EntryRule, type EntryRuleFacts, type ExternalSessionRef, FLOW_RULES, type FinishRunInput, type FlowRule, type IsoWeek, type Issue, type IssueActivityAction, type IssueActivityCommentView, type IssueActivityField, type IssueActivityFieldChangeView, type IssueActivityItemView, type IssueActivityLookup, type IssueActivityResolver, type IssueActivityValueToken, type IssueActivityValueView, type IssueActorKind, type IssueActorReference, type IssueComment, type IssueCommentAuthorView, type IssueCommentStore, type IssueContextRefStore, type IssueFieldChange, type IssueFieldChangeStore, type IssueMilestone, type IssueMilestoneStore, type IssueMutationActor, type IssuePullRequest, type IssuePullRequestStore, type IssueRelation, type IssueRelationCounterpart, type IssueRelationStore, type IssueRelationView, type IssueRowStore, type IssueRun, type IssueRunStore, type IssueStatus, type IssueStatusStore, type IssueView, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, type KanbanMeta, type KanbanMetaStore, type KanboBinding, type KanboCapabilities, type KanboCapabilitiesPackage, type KanboCapabilitiesRoles, type KanboCapabilityCommand, type KanboCapabilityCommandArgument, type KanboCapabilityCommandOption, type KanboCapabilityEntryRule, type KanboCapabilityStorage, type KanboCapabilityTool, type KanboToolCliEquivalent, type KanboToolName, type ListColumnEntriesInput, type MigrateCardsInput, type MigrateCardsResult, type PullRequestFactKeys, type RemoveColumnOptions, type RemoveColumnResult, type StartRunInput, UNMET_ENTRY_RULE_REASONS, type UnmetEntryRule, type UpdateCardInput, type UpdateMilestoneInput, evaluateEntryRules, isOutsideWriter, normalizeCommentAuthorKind, readChecklist, readEntryRules, readFlowRules, serializeEntryRules, toIssueView };
1932
+ export { type AddColumnInput, type AddCommentInput, type ApplyColumnTemplateOptions, type AttachRunExecutionInput, type BoardActiveRun, type BoardActor, type BoardApproval, type BoardCardPage, type BoardCardQuery, type BoardCardWrite, type BoardColumnInput, type BoardColumnPatch, type BoardErrorCode, type BoardErrorResponse, type BoardFieldChangeQuery, type BoardLinkedPullRequest, type BoardMetrics, type BoardMetricsAgent, type BoardMetricsAgingCard, type BoardMetricsCard, type BoardMetricsColumn, type BoardMetricsColumnTime, type BoardMetricsDurations, type BoardMetricsFinishedCard, type BoardMetricsFlowDay, type BoardMetricsHistory, type BoardMetricsInput, type BoardMetricsPerson, type BoardMetricsReturns, type BoardMetricsWeek, type BoardMetricsWip, type BoardMilestoneCardCount, type BoardOps, type BoardPullRequestStanding, type BoardRunProjection, type BoardRunProjectionScope, type BoardRunView, type BoardSprint, type BoardStore, type BoardTransactionMode, type BoardWorkspaceFieldChange, type BoardWorkspaceIdentity, type BoardWriteScope, type BulkUpdateCardsInput, type BulkUpdateCardsResult, type CardAttention, type CardLastComment, type CardNotReadyReason, type CardQueryInput, type CardQueryResult, type ClaimCardInput, type ClaimedCard, type CloseSprintResult, type ColumnEntry, type ColumnFlowRules, type ColumnPosition, type ColumnSpec, type ColumnTemplateId, type CreateCardInput, type CreateCommentOnceInput, type CreateMilestoneInput, type CreateRelationInput, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, type EntryRule, type EntryRuleFacts, type ExternalSessionRef, FLOW_RULES, type FinishRunInput, type FlowRule, type IsoWeek, type Issue, type IssueActivityAction, type IssueActivityCommentView, type IssueActivityField, type IssueActivityFieldChangeView, type IssueActivityItemView, type IssueActivityLookup, type IssueActivityResolver, type IssueActivityValueToken, type IssueActivityValueView, type IssueActorKind, type IssueActorReference, type IssueComment, type IssueCommentAuthorView, type IssueCommentStore, type IssueContextRefStore, type IssueFieldChange, type IssueFieldChangeStore, type IssueMilestone, type IssueMilestoneStore, type IssueMutationActor, type IssuePullRequest, type IssuePullRequestStore, type IssueRelation, type IssueRelationCounterpart, type IssueRelationStore, type IssueRelationView, type IssueRowStore, type IssueRun, type IssueRunStore, type IssueStatus, type IssueStatusStore, type IssueView, KANBO_TOOL_NAMES, type KanbanMeta, type KanbanMetaStore, type KanboBinding, type KanboCapabilities, type KanboCapabilitiesPackage, type KanboCapabilitiesRoles, type KanboCapabilityCommand, type KanboCapabilityCommandArgument, type KanboCapabilityCommandOption, type KanboCapabilityEntryRule, type KanboCapabilityStorage, type KanboCapabilityTool, type KanboToolName, type ListColumnEntriesInput, type MigrateCardsInput, type MigrateCardsResult, type PullRequestFactKeys, type RemoveColumnOptions, type RemoveColumnResult, type StartRunInput, UNMET_ENTRY_RULE_REASONS, type UnmetEntryRule, type UpdateCardInput, type UpdateMilestoneInput, evaluateEntryRules, isOutsideWriter, normalizeCommentAuthorKind, readChecklist, readEntryRules, readFlowRules, serializeEntryRules, toIssueView };
@@ -1,3 +1,3 @@
1
- import { $ as COLUMN_TEMPLATE_IDS, At as formatIssueId, B as createBoardOps, Ct as formatPlainActivityValue, Dt as isOutsideWriter, Et as readSystemCommentKind, F as BINDING_FILE_PATH, G as ENTRY_RULE_DESCRIPTIONS, H as parseExternalSessionRef, I as ignoreBoardFile, J as readChecklist, K as UNMET_ENTRY_RULE_REASONS, L as readBinding, M as renderCapabilitiesMarkdown, Mt as nextIssueNumber, N as maskDatabaseUrl, Nt as nextIssueOrder, Ot as normalizeCommentAuthorKind, P as maskDatabaseUrls, Pt as readIssuePrefix, Q as COLUMN_TEMPLATES, R as readProjectBinding, St as formatActivityIssueReference, Tt as parseActivityStringArray, U as pullRequestFactKeys, V as formatExternalSessionRef, W as ENTRY_RULES, X as serializeEntryRules, Y as readEntryRules, Z as COLUMN_CATALOGUE, _ as suggestCardKey, _t as currentUnixSeconds, a as BOARD_ERROR_RESPONSES, at as boardMetricsRuns, bt as activityToken, ct as isoWeekOf, dt as readFlowRules, et as readChangeSeq, ft as DEFAULT_STATUSES, g as isValidCardKey, gt as BOARD_ACTOR, h as CARD_KEY_PATTERN, i as KANBO_TOOL_NAMES, it as boardMetricsAgentKey, jt as nextIssueIdentity, kt as toIssueView, lt as utcDayLabel, mt as cardDisplayTitle, n as buildCapabilitiesManifest, nt as TRACKED_FIELDS, ot as computeBoardMetrics, pt as normalizeStatusName, q as evaluateEntryRules, r as KANBO_TOOL_CLI_EQUIVALENTS, rt as diffFieldChanges, st as nearestRank, t as CAPABILITIES_MANIFEST_VERSION, tt as runBoardWrite, ut as FLOW_RULES, v as DEFAULT_BOARD_FILE_PATH, vt as activityKindOrder, wt as isEmptyActivityValue, xt as commentAuthorReference, yt as activityText, z as writeBinding } from "./manifest-DHI1fkoW.mjs";
1
+ import { $ as readChangeSeq, A as suggestCardKey, At as nextIssueIdentity, B as formatExternalSessionRef, Ct as isEmptyActivityValue, D as renderCapabilitiesMarkdown, Dt as normalizeCommentAuthorKind, Et as isOutsideWriter, F as ignoreBoardFile, G as UNMET_ENTRY_RULE_REASONS, H as pullRequestFactKeys, I as readBinding, J as readEntryRules, K as evaluateEntryRules, L as readProjectBinding, M as maskDatabaseUrl, Mt as nextIssueOrder, N as maskDatabaseUrls, Nt as readIssuePrefix, O as CARD_KEY_PATTERN, Ot as toIssueView, P as BINDING_FILE_PATH, Q as COLUMN_TEMPLATE_IDS, R as writeBinding, St as formatPlainActivityValue, Tt as readSystemCommentKind, U as ENTRY_RULES, V as parseExternalSessionRef, W as ENTRY_RULE_DESCRIPTIONS, X as COLUMN_CATALOGUE, Y as serializeEntryRules, Z as COLUMN_TEMPLATES, _t as activityKindOrder, at as computeBoardMetrics, bt as commentAuthorReference, ct as utcDayLabel, dt as DEFAULT_STATUSES, et as runBoardWrite, ft as normalizeStatusName, gt as currentUnixSeconds, ht as BOARD_ACTOR, i as BOARD_ERROR_RESPONSES, it as boardMetricsRuns, j as DEFAULT_BOARD_FILE_PATH, jt as nextIssueNumber, k as isValidCardKey, kt as formatIssueId, lt as FLOW_RULES, n as CAPABILITIES_MANIFEST_VERSION, nt as diffFieldChanges, ot as nearestRank, pt as cardDisplayTitle, q as readChecklist, r as buildCapabilitiesManifest, rt as boardMetricsAgentKey, st as isoWeekOf, t as KANBO_TOOL_NAMES, tt as TRACKED_FIELDS, ut as readFlowRules, vt as activityText, wt as parseActivityStringArray, xt as formatActivityIssueReference, yt as activityToken, z as createBoardOps } from "./tool-names-CrvHZ-ON.mjs";
2
2
  import { a as BoardError } from "./migrations-path-ClaYRNwk.mjs";
3
- export { BINDING_FILE_PATH, BOARD_ACTOR, BOARD_ERROR_RESPONSES, BoardError, CAPABILITIES_MANIFEST_VERSION, CARD_KEY_PATTERN, COLUMN_CATALOGUE, COLUMN_TEMPLATES, COLUMN_TEMPLATE_IDS, DEFAULT_BOARD_FILE_PATH, DEFAULT_STATUSES, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, FLOW_RULES, KANBO_TOOL_CLI_EQUIVALENTS, KANBO_TOOL_NAMES, TRACKED_FIELDS, UNMET_ENTRY_RULE_REASONS, activityKindOrder, activityText, activityToken, boardMetricsAgentKey, boardMetricsRuns, buildCapabilitiesManifest, cardDisplayTitle, commentAuthorReference, computeBoardMetrics, createBoardOps, currentUnixSeconds, diffFieldChanges, evaluateEntryRules, formatActivityIssueReference, formatExternalSessionRef, formatIssueId, formatPlainActivityValue, ignoreBoardFile, isEmptyActivityValue, isOutsideWriter, isValidCardKey, isoWeekOf, maskDatabaseUrl, maskDatabaseUrls, nearestRank, nextIssueIdentity, nextIssueNumber, nextIssueOrder, normalizeCommentAuthorKind, normalizeStatusName, parseActivityStringArray, parseExternalSessionRef, pullRequestFactKeys, readBinding, readChangeSeq, readChecklist, readEntryRules, readFlowRules, readIssuePrefix, readProjectBinding, readSystemCommentKind, renderCapabilitiesMarkdown, runBoardWrite, serializeEntryRules, suggestCardKey, toIssueView, utcDayLabel, writeBinding };
3
+ export { BINDING_FILE_PATH, BOARD_ACTOR, BOARD_ERROR_RESPONSES, BoardError, CAPABILITIES_MANIFEST_VERSION, CARD_KEY_PATTERN, COLUMN_CATALOGUE, COLUMN_TEMPLATES, COLUMN_TEMPLATE_IDS, DEFAULT_BOARD_FILE_PATH, DEFAULT_STATUSES, ENTRY_RULES, ENTRY_RULE_DESCRIPTIONS, FLOW_RULES, KANBO_TOOL_NAMES, TRACKED_FIELDS, UNMET_ENTRY_RULE_REASONS, activityKindOrder, activityText, activityToken, boardMetricsAgentKey, boardMetricsRuns, buildCapabilitiesManifest, cardDisplayTitle, commentAuthorReference, computeBoardMetrics, createBoardOps, currentUnixSeconds, diffFieldChanges, evaluateEntryRules, formatActivityIssueReference, formatExternalSessionRef, formatIssueId, formatPlainActivityValue, ignoreBoardFile, isEmptyActivityValue, isOutsideWriter, isValidCardKey, isoWeekOf, maskDatabaseUrl, maskDatabaseUrls, nearestRank, nextIssueIdentity, nextIssueNumber, nextIssueOrder, normalizeCommentAuthorKind, normalizeStatusName, parseActivityStringArray, parseExternalSessionRef, pullRequestFactKeys, readBinding, readChangeSeq, readChecklist, readEntryRules, readFlowRules, readIssuePrefix, readProjectBinding, readSystemCommentKind, renderCapabilitiesMarkdown, runBoardWrite, serializeEntryRules, suggestCardKey, toIssueView, utcDayLabel, writeBinding };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_manifest = require("../manifest-BFI4HGPh.cjs");
2
+ const require_tool_names = require("../tool-names-BOUJas7m.cjs");
3
3
  const require_migrations_path = require("../migrations-path-DBCE17dT.cjs");
4
4
  let zod = require("zod");
5
5
  //#region src/mcp/http-transport.ts
@@ -120,7 +120,7 @@ function createHttpTransport(input) {
120
120
  const { request } = input;
121
121
  async function readColumns() {
122
122
  const statuses = zod.z.array(StatusSchema).parse(await request("GET", `/issues/statuses?workspaceId=${encodeURIComponent(input.workspaceId())}`));
123
- return statuses.map((status) => require_manifest.projectKanboColumn(status, statuses));
123
+ return statuses.map((status) => require_tool_names.projectKanboColumn(status, statuses));
124
124
  }
125
125
  /**
126
126
  * One card as a tool prints it. The response carries the column as a foreign
@@ -128,11 +128,11 @@ function createHttpTransport(input) {
128
128
  * an agent moves a card by.
129
129
  */
130
130
  async function projectOne(response) {
131
- return require_manifest.projectKanboCard(IssueSchema.parse(response), await readColumns());
131
+ return require_tool_names.projectKanboCard(IssueSchema.parse(response), await readColumns());
132
132
  }
133
133
  /** The column a caller named, by slug or by name, as the id the list route filters on. */
134
134
  function requireColumn(columns, nameOrId) {
135
- const slug = require_manifest.normalizeStatusName(nameOrId);
135
+ const slug = require_tool_names.normalizeStatusName(nameOrId);
136
136
  const column = columns.find((candidate) => candidate.id === nameOrId || candidate.slug === slug);
137
137
  if (!column) throw new require_migrations_path.BoardError("issue_status_not_found", {
138
138
  statusName: nameOrId,
@@ -173,15 +173,15 @@ function createHttpTransport(input) {
173
173
  parent = named.id;
174
174
  rows = board;
175
175
  }
176
- const matched = rows.filter((row) => require_manifest.matchesKanboCardQuery(row, {
176
+ const matched = rows.filter((row) => require_tool_names.matchesKanboCardQuery(row, {
177
177
  ...cardQuery,
178
178
  parent,
179
179
  returned: void 0
180
180
  }, statusIds));
181
- const picked = cardQuery.returned === void 0 ? matched : (await withAttention(matched)).filter((row) => require_manifest.matchesKanboCardQuery(row, cardQuery, null));
181
+ const picked = cardQuery.returned === void 0 ? matched : (await withAttention(matched)).filter((row) => require_tool_names.matchesKanboCardQuery(row, cardQuery, null));
182
182
  const offset = cardQuery.offset ?? 0;
183
183
  return {
184
- cards: (await withAttention(picked.slice(offset, cardQuery.limit === void 0 ? void 0 : offset + cardQuery.limit))).map((row) => require_manifest.projectKanboCard(row, columns)),
184
+ cards: (await withAttention(picked.slice(offset, cardQuery.limit === void 0 ? void 0 : offset + cardQuery.limit))).map((row) => require_tool_names.projectKanboCard(row, columns)),
185
185
  total: picked.length,
186
186
  offset
187
187
  };
@@ -198,7 +198,7 @@ function createHttpTransport(input) {
198
198
  const decision = comments.filter((comment) => comment.authorKind === "system.approved" || comment.authorKind === "system.returned").at(-1);
199
199
  const returned = row.waitingFor !== "human" && decision?.authorKind === "system.returned";
200
200
  const latest = comments.filter((comment) => comment.authorKind !== "system.run").at(-1);
201
- const lastComment = (row.waitingFor === "human" || returned) && latest ? require_manifest.previewComment({
201
+ const lastComment = (row.waitingFor === "human" || returned) && latest ? require_tool_names.previewComment({
202
202
  ...latest,
203
203
  authorKind: latest.authorKind
204
204
  }) : null;
@@ -218,7 +218,7 @@ function createHttpTransport(input) {
218
218
  const columns = await readColumns();
219
219
  const offset = page.offset ?? 0;
220
220
  const ready = {
221
- cards: cards.slice(offset, page.limit === void 0 ? void 0 : offset + page.limit).map((row) => require_manifest.projectKanboCard(row, columns)),
221
+ cards: cards.slice(offset, page.limit === void 0 ? void 0 : offset + page.limit).map((row) => require_tool_names.projectKanboCard(row, columns)),
222
222
  total: cards.length,
223
223
  offset
224
224
  };
@@ -235,8 +235,8 @@ function createHttpTransport(input) {
235
235
  ready: async ({ limit }) => (await readyPage({ limit })).cards,
236
236
  readyPage,
237
237
  columns: readColumns,
238
- sprints: async () => zod.z.array(SprintSchema).parse(await request("GET", `/issues/sprints?workspaceId=${encodeURIComponent(input.workspaceId())}`)).map(require_manifest.projectKanboSprint),
239
- cardGet: async ({ card, include = require_manifest.DEFAULT_KANBO_CARD_INCLUDES, commentLimit = 10 }) => {
238
+ sprints: async () => zod.z.array(SprintSchema).parse(await request("GET", `/issues/sprints?workspaceId=${encodeURIComponent(input.workspaceId())}`)).map(require_tool_names.projectKanboSprint),
239
+ cardGet: async ({ card, include = require_tool_names.DEFAULT_KANBO_CARD_INCLUDES, commentLimit = 10 }) => {
240
240
  const found = IssueSchema.parse(await request("GET", `/issues/${encodeURIComponent(card)}`));
241
241
  const wants = new Set(include);
242
242
  const path = `/issues/${encodeURIComponent(found.id)}`;
@@ -253,15 +253,15 @@ function createHttpTransport(input) {
253
253
  wants.has("prs") ? request("GET", `${path}/pull-requests`).then((rows) => zod.z.array(PullRequestSchema).parse(rows)) : null
254
254
  ]);
255
255
  return {
256
- ...require_manifest.projectKanboCard(found, columns),
257
- ...subCards ? { subCards: subCards.map((row) => require_manifest.projectKanboSubCard(row, columns)) } : {},
256
+ ...require_tool_names.projectKanboCard(found, columns),
257
+ ...subCards ? { subCards: subCards.map((row) => require_tool_names.projectKanboSubCard(row, columns)) } : {},
258
258
  ...comments ? {
259
- comments: comments.slice(-commentLimit).map(require_manifest.projectKanboCardComment),
259
+ comments: comments.slice(-commentLimit).map(require_tool_names.projectKanboCardComment),
260
260
  commentCount: comments.length
261
261
  } : {},
262
- ...runs ? { runs: runs.map(require_manifest.projectKanboRun) } : {},
263
- ...history ? { history: history.map(require_manifest.projectKanboFieldChange) } : {},
264
- ...pullRequests ? { pullRequests: pullRequests.map(require_manifest.projectKanboPullRequest) } : {}
262
+ ...runs ? { runs: runs.map(require_tool_names.projectKanboRun) } : {},
263
+ ...history ? { history: history.map(require_tool_names.projectKanboFieldChange) } : {},
264
+ ...pullRequests ? { pullRequests: pullRequests.map(require_tool_names.projectKanboPullRequest) } : {}
265
265
  };
266
266
  },
267
267
  cardList: async ({ column, limit }) => (await cardPage({
@@ -283,17 +283,17 @@ function createHttpTransport(input) {
283
283
  })),
284
284
  cardMove: async ({ card, column }) => await projectOne(await request("PATCH", `/issues/${encodeURIComponent(card)}/status/${encodeURIComponent(column)}`)),
285
285
  cardComment: async ({ card, content }) => CommentSchema.parse(await request("POST", `/issues/${encodeURIComponent(card)}/comments`, { content })),
286
- cardLinkPullRequest: async ({ card, url }) => require_manifest.projectKanboPullRequest(PullRequestSchema.parse(await request("POST", `/issues/${encodeURIComponent(card)}/pull-requests`, { url }))),
287
- cardPullRequests: async ({ card }) => zod.z.array(PullRequestSchema).parse(await request("GET", `/issues/${encodeURIComponent(card)}/pull-requests`)).map(require_manifest.projectKanboPullRequest),
286
+ cardLinkPullRequest: async ({ card, url }) => require_tool_names.projectKanboPullRequest(PullRequestSchema.parse(await request("POST", `/issues/${encodeURIComponent(card)}/pull-requests`, { url }))),
287
+ cardPullRequests: async ({ card }) => zod.z.array(PullRequestSchema).parse(await request("GET", `/issues/${encodeURIComponent(card)}/pull-requests`)).map(require_tool_names.projectKanboPullRequest),
288
288
  statusLine: async ({ card, text }) => await projectOne(await request("PATCH", `/issues/${encodeURIComponent(card)}/status-line`, { statusLine: text })),
289
289
  waitApproval: async ({ card, text }) => await projectOne(await request("POST", `/issues/${encodeURIComponent(card)}/wait-approval`, text === void 0 ? {} : { statusLine: text })),
290
- runStart: async ({ card, agent, branch, executionMode, session }) => require_manifest.projectKanboRun(RunSchema.parse(await request("POST", `/issues/${encodeURIComponent(card)}/runs`, {
290
+ runStart: async ({ card, agent, branch, executionMode, session }) => require_tool_names.projectKanboRun(RunSchema.parse(await request("POST", `/issues/${encodeURIComponent(card)}/runs`, {
291
291
  agentName: agent,
292
292
  ...branch !== void 0 ? { branch } : {},
293
293
  ...executionMode !== void 0 ? { executionMode } : {},
294
294
  ...session !== void 0 ? { externalSessionRef: session } : {}
295
295
  }))),
296
- runFinish: async ({ run, state, errorText }) => require_manifest.projectKanboRun(RunSchema.parse(await request("PATCH", `/issues/runs/${encodeURIComponent(run)}`, {
296
+ runFinish: async ({ run, state, errorText }) => require_tool_names.projectKanboRun(RunSchema.parse(await request("PATCH", `/issues/runs/${encodeURIComponent(run)}`, {
297
297
  state,
298
298
  ...errorText !== void 0 ? { errorText } : {}
299
299
  }))),
@@ -309,9 +309,9 @@ function createHttpTransport(input) {
309
309
  }));
310
310
  const columns = await readColumns();
311
311
  return {
312
- card: require_manifest.projectKanboCard(answer.card, columns),
313
- run: require_manifest.projectKanboRun(answer.run),
314
- column: columns.find((column) => column.id === answer.column.id) ?? require_manifest.projectKanboColumn(answer.column, columns)
312
+ card: require_tool_names.projectKanboCard(answer.card, columns),
313
+ run: require_tool_names.projectKanboRun(answer.run),
314
+ column: columns.find((column) => column.id === answer.column.id) ?? require_tool_names.projectKanboColumn(answer.column, columns)
315
315
  };
316
316
  }
317
317
  };
@@ -330,20 +330,19 @@ function findCardRow(rows, reference) {
330
330
  return rows.find((row) => row.number === Number(digits) && (prefix === void 0 || row.id.slice(0, row.id.lastIndexOf("-")).toUpperCase() === prefix.toUpperCase()));
331
331
  }
332
332
  //#endregion
333
- exports.DEFAULT_KANBO_CARD_INCLUDES = require_manifest.DEFAULT_KANBO_CARD_INCLUDES;
334
- exports.DEFAULT_KANBO_COMMENT_LIMIT = require_manifest.DEFAULT_KANBO_COMMENT_LIMIT;
335
- exports.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = require_manifest.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI;
336
- exports.KANBO_CAPABILITIES_RESOURCE_URI = require_manifest.KANBO_CAPABILITIES_RESOURCE_URI;
337
- exports.KANBO_CARD_INCLUDES = require_manifest.KANBO_CARD_INCLUDES;
338
- exports.KANBO_MCP_INSTRUCTIONS = require_manifest.KANBO_MCP_INSTRUCTIONS;
339
- exports.KANBO_MCP_SERVER_NAME = require_manifest.KANBO_MCP_SERVER_NAME;
340
- exports.KANBO_TOOLS = require_manifest.KANBO_TOOLS;
341
- exports.KANBO_TOOL_CLI_EQUIVALENTS = require_manifest.KANBO_TOOL_CLI_EQUIVALENTS;
342
- exports.KANBO_TOOL_NAMES = require_manifest.KANBO_TOOL_NAMES;
343
- exports.buildKanboTools = require_manifest.buildKanboTools;
333
+ exports.DEFAULT_KANBO_CARD_INCLUDES = require_tool_names.DEFAULT_KANBO_CARD_INCLUDES;
334
+ exports.DEFAULT_KANBO_COMMENT_LIMIT = require_tool_names.DEFAULT_KANBO_COMMENT_LIMIT;
335
+ exports.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI = require_tool_names.KANBO_CAPABILITIES_MARKDOWN_RESOURCE_URI;
336
+ exports.KANBO_CAPABILITIES_RESOURCE_URI = require_tool_names.KANBO_CAPABILITIES_RESOURCE_URI;
337
+ exports.KANBO_CARD_INCLUDES = require_tool_names.KANBO_CARD_INCLUDES;
338
+ exports.KANBO_MCP_INSTRUCTIONS = require_tool_names.KANBO_MCP_INSTRUCTIONS;
339
+ exports.KANBO_MCP_SERVER_NAME = require_tool_names.KANBO_MCP_SERVER_NAME;
340
+ exports.KANBO_TOOLS = require_tool_names.KANBO_TOOLS;
341
+ exports.KANBO_TOOL_NAMES = require_tool_names.KANBO_TOOL_NAMES;
342
+ exports.buildKanboTools = require_tool_names.buildKanboTools;
344
343
  exports.createHttpTransport = createHttpTransport;
345
- exports.createKanboMcpServer = require_manifest.createKanboMcpServer;
346
- exports.matchesKanboCardQuery = require_manifest.matchesKanboCardQuery;
347
- exports.pageOf = require_manifest.pageOf;
348
- exports.registerKanboCapabilitiesResources = require_manifest.registerKanboCapabilitiesResources;
349
- exports.registerKanboTools = require_manifest.registerKanboTools;
344
+ exports.createKanboMcpServer = require_tool_names.createKanboMcpServer;
345
+ exports.matchesKanboCardQuery = require_tool_names.matchesKanboCardQuery;
346
+ exports.pageOf = require_tool_names.pageOf;
347
+ exports.registerKanboCapabilitiesResources = require_tool_names.registerKanboCapabilitiesResources;
348
+ exports.registerKanboTools = require_tool_names.registerKanboTools;