@alr51307/noimg 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
@@ -16,6 +16,8 @@
16
16
 
17
17
  <p align="center"><code>@noimg</code> means explicit <strong>NON-IMAGE OUTPUT</strong>.</p>
18
18
 
19
+ > **Experimental / made for fun.** NoIMG is a tiny hobby project, not a platform-level kill switch. It can improve the odds that `@noimg` stays non-image, but it is **not 100% reliable** because the host still decides tool routing. Sometimes the agent may still reach for the crayons. `¯\_(ツ)_/¯`
20
+
19
21
  ---
20
22
 
21
23
  You:
@@ -62,7 +64,7 @@ One process talks to one local MCP client over stdin/stdout. That is it. We brav
62
64
  Official npm package:
63
65
 
64
66
  ```bash
65
- npx -y @alr51307/noimg@0.3.0
67
+ npx -y @alr51307/noimg@0.3.1
66
68
  ```
67
69
 
68
70
  For MCP clients, use the same pinned package command. The executable is still `noimg`; the scope just makes package ownership explicit.
package/SECURITY.md CHANGED
@@ -17,11 +17,13 @@ At runtime it does not:
17
17
 
18
18
  The MCP process communicates with its local client through stdin/stdout only.
19
19
 
20
+ NoIMG's policy behavior is **best effort and not a security control**. The project is experimental, was created mostly for fun, and cannot guarantee that every host will honor `@noimg` before its own built-in image routing.
21
+
20
22
  ## Package identity
21
23
 
22
24
  The official npm package is `@alr51307/noimg`.
23
25
 
24
- Prefer a pinned version such as `@alr51307/noimg@0.3.0` in MCP configuration so upgrades are deliberate. A bare npm package named `noimg` is not this project.
26
+ Prefer a pinned version such as `@alr51307/noimg@0.3.1` in MCP configuration so upgrades are deliberate. A bare npm package named `noimg` is not this project.
25
27
 
26
28
  ## Reporting a vulnerability
27
29
 
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { runStdio } from './stdio.js';
3
- const VERSION = '0.3.0';
3
+ const VERSION = '0.3.1';
4
4
  function usage() {
5
5
  return `NoIMG ${VERSION}\n\nUsage:\n noimg Start the stdio MCP server\n noimg stdio Start the stdio MCP server\n\nNo network listener. No remote mode. No tunnel.\n`;
6
6
  }
package/dist/server.js CHANGED
@@ -12,7 +12,7 @@ export const NOIMG_DIRECTIVE = [
12
12
  'If no compatible tool or format was explicitly requested, fulfill the request with a text-native alternative such as ASCII/Unicode art, Mermaid, SVG source, HTML/CSS, code, or structured text. Do not ask the user to restate the request.',
13
13
  ].join('\n');
14
14
  export function createServer() {
15
- const server = new McpServer({ name: 'noimg', version: '0.3.0' });
15
+ const server = new McpServer({ name: 'noimg', version: '0.3.1' });
16
16
  server.registerTool('noimg', {
17
17
  title: 'NoIMG Non-Image Preflight Hard Block',
18
18
  description: '@noimg PRE-FLIGHT — ALWAYS invoke this tool before tool routing whenever the current user request contains the literal token @noimg. That token means the user explicitly requests NON-IMAGE OUTPUT for this request. Do not classify draw, create, generate, render, visualize, illustrate, picture, image, or similar wording as image-generation intent when @noimg is present. Hard-block image-generation, image-editing, and image-rendering operations before selecting tools, then continue all compatible non-image tools, formats, and workflows normally. NoIMG is not task completion.',
package/docs/usage.md CHANGED
@@ -17,12 +17,18 @@ When a request contains the literal token `@noimg`, treat the request as explici
17
17
 
18
18
  Words such as `draw`, `render`, `visualize`, `create`, or `illustrate` do not override `@noimg`.
19
19
 
20
+ ## Limitations
21
+
22
+ NoIMG is experimental and was created mostly for fun. It is **not a 100% reliable platform-level blocker**. MCP tool selection and built-in image routing are controlled by the host/client. If a host bypasses NoIMG and starts an image operation before invoking the tool, the NoIMG server cannot intercept a request it never received.
23
+
24
+ Treat NoIMG as a best-effort routing hint with a very opinionated name, not as a guarantee.
25
+
20
26
  ## Install from npm
21
27
 
22
28
  The official package is scoped:
23
29
 
24
30
  ```bash
25
- npx -y @alr51307/noimg@0.3.0
31
+ npx -y @alr51307/noimg@0.3.1
26
32
  ```
27
33
 
28
34
  Pin the version in MCP configuration so upgrades are deliberate:
@@ -32,7 +38,7 @@ Pin the version in MCP configuration so upgrades are deliberate:
32
38
  "mcpServers": {
33
39
  "noimg": {
34
40
  "command": "npx",
35
- "args": ["-y", "@alr51307/noimg@0.3.0"]
41
+ "args": ["-y", "@alr51307/noimg@0.3.1"]
36
42
  }
37
43
  }
38
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alr51307/noimg",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A tiny stdio-only MCP that makes @noimg mean no image generation for the current request.",
5
5
  "type": "module",
6
6
  "bin": {