@takemo101/mikan 0.0.2 → 0.0.4

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 (3) hide show
  1. package/README.md +64 -3
  2. package/dist/bin.js +2846 -1180
  3. package/package.json +5 -1
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # @takemo101/mikan
2
2
 
3
- Tiny local-first Issue board for AI-assisted development.
3
+ mikan is a tiny local-first Issue board for AI-assisted development. It stores Issues as Markdown files under `.mikan/` and exposes the same board through a CLI, keyboard-first TUI, stdio MCP server, and polling watcher.
4
+
5
+ ## Install
4
6
 
5
7
  ```sh
6
8
  npm install -g @takemo101/mikan
@@ -9,6 +11,65 @@ mikan add "First Issue"
9
11
  mikan tui
10
12
  ```
11
13
 
12
- The package installs the `mikan` CLI. It stores Issues as Markdown files under `.mikan/` and includes CLI, TUI, watch, and stdio MCP surfaces.
14
+ mikan is currently built for Bun-based execution. The npm package installs the `mikan` binary.
15
+
16
+ ## What it provides
17
+
18
+ - **Markdown source of truth**: each Issue is a file such as `.mikan/ready/MIK-001.md`.
19
+ - **Primitive CLI commands**: `init`, `add`, `list`, `show`, `update`, `move`, `append`, `github`, `tui`, `watch`, `mcp`, `skills`.
20
+ - **Keyboard TUI**: board-first flow with detail view, Note modal, Move shortcuts, and Archive confirmation.
21
+ - **MCP server**: stdio tools for agents: `get_board`, `list_issues`, `get_issue`, `create_issue`, `update_issue`, `move_issue`, `append_issue`, `mirror_issue_to_github`, `push_github_mirror`.
22
+ - **GitHub Mirror**: explicit one-way publication from local Markdown Issues to GitHub Issues.
23
+ - **Agent setup**: register the MCP server or install agent guidance for common AI agents.
24
+ - **Watch hooks**: optional local automation on Status entry/transition.
25
+
26
+ ## Quickstart
27
+
28
+ ```sh
29
+ mikan init
30
+ mikan add "Prototype dispatcher" --status ready --label automation
31
+ mikan list
32
+ mikan show MIK-001
33
+ mikan tui
34
+ ```
35
+
36
+ ## TUI columns
37
+
38
+ `mikan tui --columns <auto|2|3|4|5>` (default `auto`) controls how many Status Columns the board shows at once. `auto` derives between 2 and 5 visible Columns from terminal width and keeps the sliding viewport. Fixed values pin an explicit count:
39
+
40
+ ```sh
41
+ mikan tui --columns auto
42
+ mikan tui --columns 2
43
+ mikan tui --columns 3
44
+ mikan tui --columns 4
45
+ mikan tui --columns 5
46
+ ```
47
+
48
+ The option changes only how many Columns are visible at once; it never changes configured Statuses or Issue files.
49
+
50
+ ## GitHub Mirror
51
+
52
+ GitHub Mirror is one-way publication from local Markdown Issues to GitHub Issues. Configure `github.repo`, run `gh auth login`, then use `mikan github mirror`, `mikan github push`, the TUI `g` action, or MCP Mirror tools. The full manual is at <https://takemo101.github.io/mikan/github-mirror>.
53
+
54
+ ## Agent setup
55
+
56
+ mikan wires into AI coding agents two independent ways. Neither models agents or adds a runtime: mikan stays **stdio MCP only** — no HTTP server, port, auth, scheduler, or workflow engine.
57
+
58
+ - `mikan mcp add --agent <agent>` registers the stdio MCP server in the agent's MCP config. Agents: `pi`, `antigravity`, `jcode`, `claude-code`, `opencode`, `codex`.
59
+ - `mikan skills add --agent <agent>` installs a small mikan `SKILL.md` that teaches the agent to drive the board through the MCP tools, including one-way GitHub Mirror publication tools. Agents: `claude-code`, `opencode`, `codex`. This is **separate** from MCP registration — installing skills never changes MCP config.
60
+
61
+ ```sh
62
+ mikan mcp add --agent claude-code
63
+ mikan mcp add --agent opencode --no-global
64
+ mikan mcp add --agent codex # global only
65
+ mikan skills add --agent claude-code
66
+ mikan mcp llms # incur-backed discovery manifest
67
+ ```
68
+
69
+ `mikan mcp llms` prints incur's manifest for agents that read it directly; it does not install (use `mikan mcp add` for that). Passing `--agent` to `mikan mcp llms` is rejected and points to `mikan mcp add`.
70
+
71
+ ## More information
72
+
73
+ See the repository README for full CLI examples, TUI keys, config format, design principles, and limitations:
13
74
 
14
- See the repository README for the full quickstart, design notes, and limitations: https://github.com/takemo101/mikan
75
+ https://github.com/takemo101/mikan