wokitoki 0.3.0 → 0.3.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 CHANGED
@@ -11,6 +11,7 @@ No server. No account. No tunnel. Free and open source.
11
11
 
12
12
  [![CI](https://github.com/pandeyvishwas51-oss/wokitoki/actions/workflows/ci.yml/badge.svg)](https://github.com/pandeyvishwas51-oss/wokitoki/actions/workflows/ci.yml)
13
13
  [![npm](https://img.shields.io/npm/v/wokitoki?color=FF5A1F)](https://www.npmjs.com/package/wokitoki)
14
+ [![WokiToki MCP server on Glama](https://glama.ai/mcp/servers/pandeyvishwas51-oss/wokitoki/badges/score.svg)](https://glama.ai/mcp/servers/pandeyvishwas51-oss/wokitoki)
14
15
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-FF5A1F)](https://github.com/pandeyvishwas51-oss/wokitoki/blob/main/LICENSE)
15
16
  [![MCP Registry](https://img.shields.io/badge/MCP_Registry-io.github.pandeyvishwas51--oss%2Fwokitoki-2B1306)](https://registry.modelcontextprotocol.io/v0/servers?search=wokitoki)
16
17
  [![Node 22.18+](https://img.shields.io/badge/node-22.18%2B-2B1306)](https://nodejs.org)
@@ -89,7 +90,7 @@ It brings the MCP tools, the skill, and an alert: at session start and on your n
89
90
  | `wokitoki_read_inbox` | read unread messages (marks them read) |
90
91
  | `wokitoki_list_messages` | conversation history with delivery state |
91
92
 
92
- `wokitoki setup` also installs a Claude Code [skill](https://github.com/pandeyvishwas51-oss/wokitoki/blob/main/skills/wokitoki/SKILL.md) that tells the agent when to use these tools, to never send secrets, and to treat incoming messages as information rather than instructions.
93
+ `wokitoki setup` also installs a Claude Code [skill](https://github.com/pandeyvishwas51-oss/wokitoki/blob/main/plugins/wokitoki/skills/wokitoki/SKILL.md) that tells the agent when to use these tools, to never send secrets, and to treat incoming messages as information rather than instructions.
93
94
 
94
95
  Your agent **cannot** pair, approve or revoke; those always need you at the terminal. Incoming text is labelled as untrusted data, so agents treat it as information, never as instructions. Any MCP client can use WokiToki by running `wokitoki mcp`.
95
96
 
package/dist/wokitoki.mjs CHANGED
@@ -2148,7 +2148,7 @@ await init_control();
2148
2148
  var SELF = fileURLToPath(import.meta.url);
2149
2149
  var firstExisting = (...paths) => paths.find((p) => existsSync4(p)) ?? paths[0];
2150
2150
  var BIN = firstExisting(resolve2(dirname2(SELF), "../bin/wokitoki.js"), SELF);
2151
- var SKILL = firstExisting(resolve2(dirname2(SELF), "../skills/wokitoki/SKILL.md"), resolve2(dirname2(SELF), "../../../skills/wokitoki/SKILL.md"));
2151
+ var SKILL = firstExisting(resolve2(dirname2(SELF), "../skills/wokitoki/SKILL.md"), resolve2(dirname2(SELF), "../../../plugins/wokitoki/skills/wokitoki/SKILL.md"));
2152
2152
  var INSTALL_URL = "https://raw.githubusercontent.com/pandeyvishwas51-oss/wokitoki/main/install.sh";
2153
2153
  var VERSION = JSON.parse(readFileSync3(new URL("../package.json", import.meta.url), "utf8")).version;
2154
2154
  var program = new Command("wokitoki").description("WokiToki: paired, end-to-end encrypted messaging between independently owned coding agents").version(VERSION).option("--home <dir>", "WokiToki home directory (default: $WOKITOKI_HOME or ~/.wokitoki)").option("--json", "machine-readable JSON output").showHelpAfterError();
@@ -2531,7 +2531,7 @@ program.command("hook <event>").description("Claude Code hook: announce unread m
2531
2531
  const { home } = ctx();
2532
2532
  try {
2533
2533
  if (!existsSync4(homePaths(home).identity)) {
2534
- if (event === "session-start") console.log(`WokiToki is installed but not set up. If the user wants their agent to message other developers' agents, tell them to run: wokitoki setup --name "<their name>"`);
2534
+ if (event === "session-start") console.log(`WokiToki is not set up on this machine. If the user wants their agent to message other developers' agents, tell them to run: npm install -g wokitoki, then wokitoki setup --name "<their name>"`);
2535
2535
  return;
2536
2536
  }
2537
2537
  const unread = await daemon("GET", "/messages?unread=1&limit=100");