Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 13 KB

CHANGELOG.md

File metadata and controls

87 lines (60 loc) · 13 KB

Changelog

0.9.0

  • Claude calls a tool, not a shell. The plugin's mod registers mcp__mokkan__mokkan (behind tool search) and the mokkan skill tells Claude to call it with the command and its arguments. The text reaches the CLI as argv, so quotes, $, backticks and $(…) in a reminder are kept as typed. The skill has no ! line and no allowed-tools rule any more. The tool refuses buy, logout, login, register, feedback, ui, accept, delete-account and notify setup|remove|poll itself, whatever the model was told; /mokkan <command> still runs them when you type it.
  • /mokkan completes in the prompt box. After /mokkan it offers the commands; after edit, ack, done or undone it offers the reminders that match what you typed (by text or id) and writes the id. It reads the list the pane already holds and starts no process.
  • Claude can't run accept or delete-account through Bash either. The mod refuses a Bash command line that runs mokkan accept or mokkan delete-account (also by path or through npx @vicmpen/mokkan-cli), with the same message as the tool.
  • Background syncs are quiet. The pane's 15-second poll no longer flashes syncing… on the bottom line; a sync you start, opening the pane, or an action still shows it.
  • Needs Claude Code 2.1.299 or later. The pane draws its bold text with Text's weight instead of the deprecated bold, which older Claude Code refuses (the pane isn't drawn). CI now tests the plugin on Claude Code 2.1.312, and tools/claude-code-types is that version's snapshot.

0.8.0

  • Notifications outside Claude Code. mokkan notify setup, run in a terminal, shows scheduled reminders that have fired and are not acknowledged at your shell prompt and as desktop notifications. It looks at the system and asks before each step: a prompt hook for zsh, bash (3.2 too) or fish, and a background agent that checks every 60 seconds (launchd on macOS, a systemd user timer on Linux desktops, XDG autostart elsewhere; only the prompt hook on a machine without a desktop). It needs a stable install (npm i -g @vicmpen/mokkan-cli), not npx or the plugin's copy.
  • Read-only. Showing a reminder marks nothing delivered and sends no heartbeat, so its email still goes out until you mokkan ack it. Plain pushes are never shown. Every open shell prints the reminders once, and again when the set changes.
  • Over SSH, opt-in. The prompt hook can also send a terminal escape (OSC 9, 777 or 99) so the terminal on your own computer shows a notification. It is off until you turn it on in setup or with mokkan notify on osc; tmux needs allow-passthrough on.
  • Settings and switches. ~/.config/mokkan/config.json holds shell, desktop, osc and interval; mokkan notify on|off [shell|desktop|osc] flips them and MOKKAN_NOTIFY=0 turns everything off. mokkan notify status, test and doctor show what is set up, send a test notification and print details for a bug report; mokkan notify remove takes it all out; mokkan shell init zsh|bash|fish prints the hook for dotfiles you manage yourself.
  • mokkan logout, an expired session and mokkan delete-account also delete the reminder text kept for notifications. CONTRIBUTING.md explains how to add a shell, a desktop notifier or a background agent.
  • The pane raises a native notification too. When the open pane finds a timed reminder due, it still shows the 15-second toast, and on Claude Code 2.1.295 or later it also sends a notification through your Claude Code notification setting (preferredNotifChannel: iTerm2, kitty, Ghostty or the terminal bell), so you see it with the terminal behind another window. With no channel set up for your terminal, or on an older Claude Code, you get only the toast.
  • The pane polls more gently. It syncs 15 seconds after the last sync lands, so a slow server never gets two polls at once, and after a failure it waits longer each time, up to 60 seconds; a good sync resets it. It writes the last list to the plugin's store only when the list changed (and every 10 minutes), not every 15 seconds. After Esc, typing in the prompt makes no calls for the pane. Its help (h) says how to get notifications outside Claude Code, and so does the plugin's install section in the README.
  • CI checks the mod. It type-checks the pane and runs its tests with claude plugin test, on a pinned Claude Code version.
  • No server change.

0.7.0

  • Privacy policy. Every account accepts the policy at mokkan.dev/privacy. mokkan register shows its summary before it sends the code and goes on only on y; without a terminal, register --start and --complete need --accept-privacy <version> (the pane passes the version it showed). When a new version is published, a command run in a terminal shows the summary and asks y accept · n quit · d delete my account, then runs once more; without a terminal it prints how to accept and exits 4, a new exit code (from sync too). mokkan watch stops with exit 4, the hooks log it at most hourly, and mokkan ui shows the summary in place of the list (y accept, n quit, d delete). Needs a server with GET /privacy and POST /privacy/accept.
  • mokkan privacy [--json] prints the policy's version, link and summary, without a login. mokkan accept asks on demand; without a terminal it needs --yes, and --version <v> accepts only that version.
  • mokkan delete-account deletes the account and everything on it, in a terminal only. It says what goes (reminders, unspent credits; payment records are kept without your name), asks for the password and for the word delete, then removes credentials.json and hook.log from ~/.config/mokkan/. It works whether or not the current policy is accepted. Needs server DELETE /me.
  • The /mokkan skill, /mokkan-cli and the Codex skill never run accept or delete-account; they send the user to a terminal. mokkan help names the policy and delete-account.

0.6.3

  • The pane syncs in one process. mokkan sync [--source X] [--deliver] fetches the list, the history and the balance, sends a heartbeat and (with --deliver) delivers the due timed reminders over one connection. The pane makes this one call per refresh, where it used to start four or five processes.
  • The pane opens on the last list it saw. Each good sync is kept in the plugin's store, shared by every session, so the pane shows that list right away while it syncs. If the session starts offline, the pane keeps that list and its synced time instead of opening empty. Logging out clears it.
  • No background work without the pane. The 15-second poll runs only while the pane is open. Keys typed in the prompt make no calls to the pane unless it has recently held the keyboard.
  • The pane no longer opens by itself in fullscreen sessions. /mokkan opens it.
  • An emptied edit is refused, not dropped. In the pane and mokkan ui, saving an edit with no text now keeps the field open and says the text can’t be empty. Before, it closed the field silently. Cancelling still closes it. mokkan edit already refused it.

0.6.2

  • Feedback. f in the pane opens a feedback field (shift+enter for a new line) and mokkan feedback <text> sends it from a terminal or /mokkan feedback …. It is free, kept by the server and emailed to the developer (FEEDBACK_EMAIL), 10 an hour, up to 2000 characters. Needs a server with POST /feedback.
  • Todos and reminders are capped at 200 characters. The server refuses longer text on push and edit (400, was 2000), counted in code points after trimming, and the CLI, the pane and mokkan ui refuse it before sending. Existing longer items stay as they are until edited.

0.6.1

  • The selected row shows all of its text. In the pane and mokkan ui, the selected row wraps its whole text under the text column, above its history line; the other rows stay cut to one line. In mokkan ui the list scrolls to keep the expanded row in view, and text taller than the list ends in ….

0.6.0

  • /mokkan toggles the pane. /mokkan-pane is gone. /mokkan on its own opens the pane, or closes it when it is open; /mokkan push milk (any command) runs it and prints the output straight away, with no model turn. The menu lists it under the skill's full name, /mokkan:mokkan: the engine keeps the bare name for the skill, and the mod answers it. The user-level command from install.sh is now /mokkan-cli (claude-command/mokkan-cli.md), so it no longer hides the plugin's /mokkan; install.sh removes its old ~/.claude/commands/mokkan.md link. /mokkan:mokkan stays as the skill Claude runs.
  • No more session hooks. The plugin's SessionStart and Stop hooks are gone: the pane polls every 15 seconds, toasts what comes due and tells the server a session is active, so nothing is put into the conversation any more.
  • TODOs, Reminders and Archived. The pane and mokkan ui split the stack into a TODOs tab (no due time) and a Reminders tab (a due time), each with its own count and row numbers, and Done is renamed Archived (d archives, and reopens there). The view opens on Reminders while one is due. t, r and w leave you on your tab and say where the item went. In mokkan ui, only the due rows on the tab you are looking at count as shown.

0.5.0

  • Stray keys stay out of the prompt. While the pane has the keyboard, a key it doesn't use does nothing; it used to leave the pane and land in Claude's prompt. ctrl/cmd combinations, pastes and typing after Esc reach the prompt as before.

0.4.0

  • The pane and mokkan ui share one layout. One stack and a done view replace the todo / reminders / done tabs (and Active / All / Done in mokkan ui). Todos (□) and reminders (◷ ● ○ ·) look different; reminder times always say their direction (in 40m, Wed 17:00, overdue 40m, 2h ago); the selected row shows its history. Keys match across both: a done, k acknowledge, s switch view (in mokkan ui, a used to acknowledge and k/j moved the selection; K now acknowledges all). Pop and dequeue name the reminder they will remove.
  • The pane is more honest about its state. Errors show in every mode, including inside a field, and the typed text is kept. A running command blocks repeat presses (no more double pops). Every row can be reached. Going offline keeps the last list, marked as stale. The pane is drawn like mokkan ui: the same header, Stack │ Done views, selected row marked by ▸ and bold, and key footer.

0.3.1

  • A pane in Claude Code. /mokkan-pane opens a live view of the stack inside Claude Code (docked beside the transcript in the fullscreen layout): tabs for todo, reminders and done, a pointer moved with the arrows or digits, Enter to mark done or reopen, one key per command, login and registration with a masked password. It is a mod: a hooks module the plugin ships next to its shell hooks.
  • The status line is gone. mokkan statusline no longer renders or configures anything. It stays for this release so that an earlier setup keeps working silently and can be undone: mokkan statusline --remove takes the 0.2.0 status line out of Claude Code's settings.json and ~/.tmux.conf (backups first) and deletes the CLI copy in ~/.local/share/mokkan/. The command disappears in the next release.

0.3.0

  • mokkan done <id…> and mokkan undone <id…>. Finish a reminder anywhere on the list (like pop, by id) and reopen a finished one at its old position; a reopened reminder with a due time comes back acknowledged and is never emailed again. Bare mokkan done still lists the history. Needs server POST /reminders/:id/done.

0.2.0

First public release.

  • Distribution. Three ways to install:
    • The Claude Code plugin, from this repository's marketplace (/plugin marketplace add vicmpen/mokkan, then /plugin install mokkan@mokkan). The plugin ships its own single-file CLI.
    • The npm package @vicmpen/mokkan-cli (installs the mokkan command).
    • The Codex skill in codex/.
  • mokkan statusline sets up the status line. It configures Claude Code's statusLine and a marked tmux block (Codex shows mokkan inside tmux), keeping backups. It leaves a tmux config with its own status-right or TPM alone unless --force is given, and from Claude Code it sets up only Claude Code's status line unless --tmux is given. --dry-run previews the changes and --remove undoes them. Rendering moved to mokkan statusline --render. Old configs are migrated.
  • Plugin. /mokkan:mokkan is now a skill that runs the bundled CLI. The hooks prefer the bundle. The status line uses a stable copy of the CLI outside the plugin cache.
  • Credits. The CLI supports prepaid credits (balance, buy, exit code 3 when credits run out) and mokkan edit.
  • mokkan ui. A full-screen terminal view of the stack with keyboard actions (push, schedule, edit, acknowledge, pop, dequeue, buy) and a login screen. Reminders shown there count as delivered, like the hooks and mokkan watch.
  • MIT license.

0.1.0

Internal version: the CLI, the Claude Code hooks and /mokkan command, and the Codex skill.