@kanera/cli 1.5.0 → 1.5.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.
- package/README.md +10 -0
- package/dist/kanera.mjs +8 -4
- package/dist/kanera.mjs.map +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,6 +10,12 @@ Requires Node 22 or newer. The package has no dependencies.
|
|
|
10
10
|
npm install --global @kanera/cli
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
An agent can inspect the complete command surface without installing anything globally:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx -y @kanera/cli commands
|
|
17
|
+
```
|
|
18
|
+
|
|
13
19
|
## Authenticate
|
|
14
20
|
|
|
15
21
|
You need a Kanera API key. Create one in the Kanera web app under **Settings → API keys**
|
|
@@ -130,3 +136,7 @@ kanera mcp # serve the same tools over stdio MCP, using the stored
|
|
|
130
136
|
|
|
131
137
|
`kanera mcp` means a user who has already run `kanera auth login` does not configure a second
|
|
132
138
|
credential in a second place to use Kanera from an MCP client.
|
|
139
|
+
|
|
140
|
+
When connected Kanera MCP tools are already available, prefer them over the CLI. The CLI is the
|
|
141
|
+
fallback for shell-only agents; both transports should be used instead of browser automation for
|
|
142
|
+
supported card and project operations.
|
package/dist/kanera.mjs
CHANGED
|
@@ -37651,7 +37651,7 @@ var init_package = __esm({
|
|
|
37651
37651
|
"../mcp/package.json"() {
|
|
37652
37652
|
package_default = {
|
|
37653
37653
|
name: "@kanera/mcp",
|
|
37654
|
-
version: "2.2.
|
|
37654
|
+
version: "2.2.1",
|
|
37655
37655
|
private: true,
|
|
37656
37656
|
type: "module",
|
|
37657
37657
|
exports: {
|
|
@@ -63895,7 +63895,7 @@ function createKaneraMcpServer(ctx) {
|
|
|
63895
63895
|
// custom MCP clients connect directly to /mcp and never discover server.json.
|
|
63896
63896
|
icons: serverIcons
|
|
63897
63897
|
},
|
|
63898
|
-
{ instructions: `For cross-board reporting, first resolve people with kanera_list_workspace_members, then use kanera_query_work_cards for active or completed assignments and kanera_query_work_history for one person's actions in a date range. Use kanera_get_cards_content for selected evidence and kanera_get_card or kanera_list_card_history only when deeper detail is needed. kanera_search returns one bounded, typed result stream with canonical links. Kanera MCP is work-focused: it reads configuration needed to resolve boards, lists, labels, fields, options, members, and permissions; workspace admins can manage automations with the dedicated automation tools, while other workspace/board/list/field/label administration remains in the Kanera UI. Standard-workspace lists, fields, labels, membership, and automations are shared across its boards; standalone boards have dedicated configuration. Card reference fields accept a UUID, human key such as PROJ-123, or canonical card URL. Use kanera_list_accessible_boards for complete discovery including standalone and guest boards, kanera_get_board for metadata/configuration, and kanera_get_cards_list for bounded list pages. Use kanera_get_portfolio_summary for portfolio rollups. Use the priority tools (kanera_list_priorities, kanera_add_priority, kanera_move_priority, kanera_remove_priority) to read and curate a user's ranked cross-board "Up next" queue; kanera_list_priority_targets shows whose queues a manager can reach. Use kanera_search_docs for product guidance and kanera_search for live user data. Personal notes are private to their owner. Read-only credentials cannot mutate. Board, workspace, list, field, label, note, and note-attachment deletion or administration not represented by a tool must be completed manually in the Kanera UI.` }
|
|
63898
|
+
{ instructions: `Use Kanera MCP tools instead of browser automation for every supported read or write; reserve the web interface for explicitly visual tasks and UI-only administration. For an exact human card key or canonical card URL, call kanera_get_card directly before a mutation and reserve kanera_search for names, phrases, and other ambiguous text. For cross-board reporting, first resolve people with kanera_list_workspace_members, then use kanera_query_work_cards for active or completed assignments and kanera_query_work_history for one person's actions in a date range. Use kanera_get_cards_content for selected evidence and kanera_get_card or kanera_list_card_history only when deeper detail is needed. kanera_search returns one bounded, typed result stream with canonical links. Kanera MCP is work-focused: it reads configuration needed to resolve boards, lists, labels, fields, options, members, and permissions; workspace admins can manage automations with the dedicated automation tools, while other workspace/board/list/field/label administration remains in the Kanera UI. Standard-workspace lists, fields, labels, membership, and automations are shared across its boards; standalone boards have dedicated configuration. Card reference fields accept a UUID, human key such as PROJ-123, or canonical card URL. Use kanera_list_accessible_boards for complete discovery including standalone and guest boards, kanera_get_board for metadata/configuration, and kanera_get_cards_list for bounded list pages. Use kanera_get_portfolio_summary for portfolio rollups. Use the priority tools (kanera_list_priorities, kanera_add_priority, kanera_move_priority, kanera_remove_priority) to read and curate a user's ranked cross-board "Up next" queue; kanera_list_priority_targets shows whose queues a manager can reach. Use kanera_search_docs for product guidance and kanera_search for live user data. Personal notes are private to their owner. Read-only credentials cannot mutate. Board, workspace, list, field, label, note, and note-attachment deletion or administration not represented by a tool must be completed manually in the Kanera UI.` }
|
|
63899
63899
|
);
|
|
63900
63900
|
registerTools(server, ctx);
|
|
63901
63901
|
registerResources(server, ctx);
|
|
@@ -65251,7 +65251,7 @@ var init_doctor = __esm({
|
|
|
65251
65251
|
function skillDocument() {
|
|
65252
65252
|
return `---
|
|
65253
65253
|
name: kanera
|
|
65254
|
-
description: Read and manage Kanera work
|
|
65254
|
+
description: Read and manage Kanera work from the shell with the kanera CLI. Use when MCP tools are unavailable and the user mentions Kanera, a human card key such as DEV-938, a board, or an "Up next" queue.
|
|
65255
65255
|
---
|
|
65256
65256
|
|
|
65257
65257
|
# Kanera
|
|
@@ -65259,6 +65259,10 @@ description: Read and manage Kanera work \u2014 boards, cards, comments, notes,
|
|
|
65259
65259
|
The \`kanera\` CLI talks to Kanera's public API. Every command accepts \`--json\` for a structured
|
|
65260
65260
|
envelope and \`--quiet\` for the bare result, which is what you should use when parsing output.
|
|
65261
65261
|
|
|
65262
|
+
Use this shell transport instead of browser automation for supported Kanera work. Open the Kanera
|
|
65263
|
+
web interface only for an explicitly visual task or an administration operation the CLI does not
|
|
65264
|
+
expose. When connected Kanera MCP tools are available, prefer those tools over this CLI.
|
|
65265
|
+
|
|
65262
65266
|
## Before anything else
|
|
65263
65267
|
|
|
65264
65268
|
\`\`\`bash
|
|
@@ -65822,7 +65826,7 @@ var init_cli = __esm({
|
|
|
65822
65826
|
init_output();
|
|
65823
65827
|
init_skill();
|
|
65824
65828
|
init_tools();
|
|
65825
|
-
cliVersion = false ? process.env.npm_package_version ?? "0.0.0-dev" : "1.5.
|
|
65829
|
+
cliVersion = false ? process.env.npm_package_version ?? "0.0.0-dev" : "1.5.1";
|
|
65826
65830
|
USAGE = `kanera \u2014 manage Kanera work from the terminal or an AI agent
|
|
65827
65831
|
|
|
65828
65832
|
Usage:
|