@askthew/mcp-plugin 0.2.5 → 0.2.7

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
@@ -30,7 +30,7 @@ Create a workspace token in Ask The W, then run the installer from your coding a
30
30
  Codex:
31
31
 
32
32
  ```bash
33
- npx -y @askthew/mcp-plugin@latest install \
33
+ npx -y --prefer-online @askthew/mcp-plugin@latest install \
34
34
  --host codex \
35
35
  --token "<ASKTHEW_INSTALL_TOKEN>" \
36
36
  --api-url "https://app.askthew.com/" \
@@ -40,7 +40,7 @@ npx -y @askthew/mcp-plugin@latest install \
40
40
  Claude Code:
41
41
 
42
42
  ```bash
43
- npx -y @askthew/mcp-plugin@latest install \
43
+ npx -y --prefer-online @askthew/mcp-plugin@latest install \
44
44
  --host claude_code \
45
45
  --token "<ASKTHEW_INSTALL_TOKEN>" \
46
46
  --api-url "https://app.askthew.com/" \
@@ -50,7 +50,7 @@ npx -y @askthew/mcp-plugin@latest install \
50
50
  Cursor:
51
51
 
52
52
  ```bash
53
- npx -y @askthew/mcp-plugin@latest install \
53
+ npx -y --prefer-online @askthew/mcp-plugin@latest install \
54
54
  --host cursor \
55
55
  --token "<ASKTHEW_INSTALL_TOKEN>" \
56
56
  --api-url "https://app.askthew.com/" \
@@ -86,7 +86,7 @@ Codex example:
86
86
  ```toml
87
87
  [mcp_servers.askthew]
88
88
  command = "npx"
89
- args = ["-y", "@askthew/mcp-plugin@latest"]
89
+ args = ["-y", "--prefer-online", "@askthew/mcp-plugin@latest"]
90
90
  env = { ASKTHEW_INSTALL_TOKEN = "<ASKTHEW_INSTALL_TOKEN>", ASKTHEW_HOST_TYPE = "codex", ASKTHEW_API_URL = "https://app.askthew.com/", ASKTHEW_SERVER_NAME = "askthew" }
91
91
  ```
92
92
 
@@ -97,7 +97,7 @@ Claude Code and Cursor use an MCP JSON entry like this:
97
97
  "mcpServers": {
98
98
  "askthew": {
99
99
  "command": "npx",
100
- "args": ["-y", "@askthew/mcp-plugin@latest"],
100
+ "args": ["-y", "--prefer-online", "@askthew/mcp-plugin@latest"],
101
101
  "env": {
102
102
  "ASKTHEW_INSTALL_TOKEN": "<ASKTHEW_INSTALL_TOKEN>",
103
103
  "ASKTHEW_HOST_TYPE": "codex",
@@ -140,7 +140,7 @@ Use compact summaries and short evidence excerpts. Do not send full transcripts.
140
140
 
141
141
  - Empty `list_mcp_resources` or `list_mcp_resource_templates` results are normal. This connector is tool-driven.
142
142
  - If Ask The W shows "Waiting for install", restart or reload your coding agent.
143
- - If Ask The W shows "Installed", approve the Ask The W setup popup if your coding agent shows one after reload. The installed behavior instructions handle future compact updates automatically.
143
+ - If Ask The W shows "Installed", keep working normally. The installed behavior instructions handle future compact updates automatically. If your coding agent asks for Ask The W tool permission during a future update, choose "Always allow" if available.
144
144
  - If a token fails, rotate it in Ask The W and rerun the installer.
145
145
 
146
146
  ## Development
package/dist/install.js CHANGED
@@ -20,7 +20,7 @@ export function resolveSettingsPath(input) {
20
20
  export function createServerEntry(input) {
21
21
  return {
22
22
  command: "npx",
23
- args: ["-y", "@askthew/mcp-plugin@latest"],
23
+ args: ["-y", "--prefer-online", "@askthew/mcp-plugin@latest"],
24
24
  env: {
25
25
  ASKTHEW_INSTALL_TOKEN: input.token,
26
26
  ASKTHEW_API_URL: input.apiUrl,
@@ -127,6 +127,7 @@ export function formatInstallCommand(input) {
127
127
  return [
128
128
  "npx",
129
129
  "-y",
130
+ "--prefer-online",
130
131
  "@askthew/mcp-plugin@latest",
131
132
  "install",
132
133
  "--host",
@@ -141,7 +142,7 @@ export function formatInstallCommand(input) {
141
142
  }
142
143
  export function verificationNextStep(hostType) {
143
144
  const hostLabel = hostType === "claude_code" ? "Claude Code" : hostType === "cursor" ? "Cursor" : "Codex";
144
- return `Refresh Ask The W to confirm the plugin shows Installed. Restart or reload ${hostLabel} if it is already open. If ${hostLabel} shows an Ask The W setup popup, approve it once. The installed project instructions tell the coding agent when to send updates automatically. list_mcp_resources/list_mcp_resource_templates may be empty for this tool-driven connector and are not failure signals.`;
145
+ return `Refresh Ask The W to confirm the plugin shows Installed. Restart or reload ${hostLabel} if it is already open. After that, keep working normally; the installed project instructions tell the coding agent when to send updates automatically. If ${hostLabel} asks for Ask The W tool permission during a future update, choose Always allow if available. list_mcp_resources/list_mcp_resource_templates may be empty for this tool-driven connector and are not failure signals.`;
145
146
  }
146
147
  export function installHostConfig(input) {
147
148
  const settingsPath = resolveSettingsPath({
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@askthew/mcp-plugin",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "private": false,
5
5
  "description": "Ask The W MCP connector for capturing compact coding-agent session signals.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "bin": {
10
- "askthew-mcp": "./dist/cli.js"
10
+ "askthew-mcp": "dist/cli.js"
11
11
  },
12
12
  "files": [
13
13
  "README.md",