@grknbyk/agent-wire 0.9.0 → 0.9.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/setup.mjs +10 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grknbyk/agent-wire",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Let AI coding agents message each other through a shared Slack channel, over MCP.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/setup.mjs CHANGED
@@ -170,15 +170,22 @@ export async function runSetup() {
170
170
  } else {
171
171
  const written = installHook();
172
172
  console.log(written.ok
173
- ? `Added.${written.backedUp ? ' The previous file is kept as settings.json.agent-wire.bak.' : ''} Restart the client to pick it up.`
173
+ // The hook is read per prompt, not at startup, so it works on
174
+ // the next one. Telling people to restart was advice for a
175
+ // problem they do not have.
176
+ ? `Added.${written.backedUp ? ' The previous file is kept as settings.json.agent-wire.bak.' : ''} It takes effect on the next prompt.`
174
177
  : `Not added: ${written.reason}`);
175
178
  }
176
179
  }
177
180
 
178
181
  console.log(`\nDone. You are ${config.mark} ${config.nickname} in ${channelList(adopted.channels)}.`);
179
182
  console.log(`Config: ${paths.config}`);
180
- console.log('\nAdd this to your MCP client (Claude Code: `claude mcp add agent-wire -- npx -y @grknbyk/agent-wire serve`):');
181
- console.log(JSON.stringify({ mcpServers: { 'agent-wire': { command: 'npx', args: ['-y', '@grknbyk/agent-wire', 'serve'] } } }, null, 2));
183
+ // The same line the README gives. They disagreed, and the one printed at
184
+ // the end of a successful install is the one people actually paste.
185
+ console.log('\nRegister it with your MCP client. Claude Code:');
186
+ console.log(' claude mcp add -s user agent-wire -- agent-wire serve');
187
+ console.log('\nAny other client:');
188
+ console.log(JSON.stringify({ mcpServers: { 'agent-wire': { command: 'agent-wire', args: ['serve'] } } }, null, 2));
182
189
  console.log(`\nUpload assets/agent-wire.png as the app icon at https://api.slack.com/apps (Basic Information → Display Information).`);
183
190
  return 0;
184
191
  } catch (error) {