photofresco 0.1.1 → 0.1.2

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/MCP.md CHANGED
@@ -17,7 +17,7 @@ Choose the folders the agent may open files from (`--read`) and save exports int
17
17
  Without them the agent can still edit and preview, but cannot touch your files.
18
18
 
19
19
  > To run from a clone instead, use `node /path/to/photofresco-agent/src/bin/photofresco.js` in place of
20
- > the `npx -y photofresco@0.1.1` part. Agents such as Cline can follow [llms-install.md](llms-install.md).
20
+ > the `npx -y photofresco@0.1.2` part. Agents such as Cline can follow [llms-install.md](llms-install.md).
21
21
 
22
22
  **Claude Desktop** — `claude_desktop_config.json` (Settings → Developer → Edit Config):
23
23
 
@@ -26,7 +26,7 @@ Without them the agent can still edit and preview, but cannot touch your files.
26
26
  "mcpServers": {
27
27
  "photofresco": {
28
28
  "command": "npx",
29
- "args": ["-y", "photofresco@0.1.1", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
29
+ "args": ["-y", "photofresco@0.1.2", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
30
30
  }
31
31
  }
32
32
  }
@@ -35,7 +35,7 @@ Without them the agent can still edit and preview, but cannot touch your files.
35
35
  **Claude Code**:
36
36
 
37
37
  ```sh
38
- claude mcp add photofresco -- npx -y photofresco@0.1.1 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
38
+ claude mcp add photofresco -- npx -y photofresco@0.1.2 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
39
39
  ```
40
40
 
41
41
  **Cursor** — `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project): the same
@@ -50,7 +50,7 @@ same arguments under `"servers"` with `"type": "stdio"`:
50
50
  "photofresco": {
51
51
  "type": "stdio",
52
52
  "command": "npx",
53
- "args": ["-y", "photofresco@0.1.1", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
53
+ "args": ["-y", "photofresco@0.1.2", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
54
54
  }
55
55
  }
56
56
  }
package/README.md CHANGED
@@ -44,13 +44,13 @@ The editor itself is not in this repository; the connector opens it at photofres
44
44
  **One click** (Cursor, VS Code, LM Studio):
45
45
 
46
46
  <!-- install-links:start (generated by scripts/install-links.mjs; edit it there) -->
47
- [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=photofresco&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInBob3RvZnJlc2NvQDAuMS4xIiwibWNwIl19)
48
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_PhotoFresco-0098FF?logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=photofresco&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22photofresco%400.1.1%22%2C%22mcp%22%5D%7D)
49
- [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_PhotoFresco-24bfa5?logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=photofresco&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22photofresco%400.1.1%22%2C%22mcp%22%5D%7D&quality=insiders)
50
- [![Add to LM Studio](https://files.lmstudio.ai/deeplink/mcp-install-dark.svg)](https://lmstudio.ai/install-mcp?name=photofresco&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInBob3RvZnJlc2NvQDAuMS4xIiwibWNwIl19)
47
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=photofresco&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInBob3RvZnJlc2NvQDAuMS4yIiwibWNwIl19)
48
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_PhotoFresco-0098FF?logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=photofresco&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22photofresco%400.1.2%22%2C%22mcp%22%5D%7D)
49
+ [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_PhotoFresco-24bfa5?logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=photofresco&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22photofresco%400.1.2%22%2C%22mcp%22%5D%7D&quality=insiders)
50
+ [![Add to LM Studio](https://files.lmstudio.ai/deeplink/mcp-install-dark.svg)](https://lmstudio.ai/install-mcp?name=photofresco&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInBob3RvZnJlc2NvQDAuMS4yIiwibWNwIl19)
51
51
 
52
52
  Each button asks the app to add the `photofresco` server, started with
53
- `npx -y photofresco@0.1.1 mcp`. It grants no folders: add `--read` and `--write` arguments after `mcp` in the app's MCP
53
+ `npx -y photofresco@0.1.2 mcp`. It grants no folders: add `--read` and `--write` arguments after `mcp` in the app's MCP
54
54
  settings to let the agent open and save files.
55
55
  <!-- install-links:end -->
56
56
 
@@ -60,7 +60,7 @@ and preview, but cannot touch your files.
60
60
 
61
61
  > The commands below run the published npm package. To run the same server from a clone of this
62
62
  > repository instead, use `node /path/to/photofresco-agent/src/bin/photofresco.js` in place of the
63
- > `npx -y photofresco@0.1.1` part (no `npm install` needed), or [install the plugin](#install-as-a-plugin).
63
+ > `npx -y photofresco@0.1.2` part (no `npm install` needed), or [install the plugin](#install-as-a-plugin).
64
64
 
65
65
  **From a clone** (works today; the MCP SDK is bundled, so there is nothing to install):
66
66
 
@@ -85,7 +85,7 @@ most others), with your own home folder in place of `/Users/you`:
85
85
  **Claude Code**:
86
86
 
87
87
  ```sh
88
- claude mcp add photofresco -- npx -y photofresco@0.1.1 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
88
+ claude mcp add photofresco -- npx -y photofresco@0.1.2 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
89
89
  ```
90
90
 
91
91
  **Claude Desktop**: `claude_desktop_config.json` (Settings → Developer → Edit Config):
@@ -95,7 +95,7 @@ claude mcp add photofresco -- npx -y photofresco@0.1.1 mcp --read ~/Pictures --w
95
95
  "mcpServers": {
96
96
  "photofresco": {
97
97
  "command": "npx",
98
- "args": ["-y", "photofresco@0.1.1", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
98
+ "args": ["-y", "photofresco@0.1.2", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
99
99
  }
100
100
  }
101
101
  }
@@ -113,7 +113,7 @@ them:
113
113
  "photofresco": {
114
114
  "type": "stdio",
115
115
  "command": "npx",
116
- "args": ["-y", "photofresco@0.1.1", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
116
+ "args": ["-y", "photofresco@0.1.2", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
117
117
  }
118
118
  }
119
119
  }
@@ -125,13 +125,13 @@ them:
125
125
  **Gemini CLI**:
126
126
 
127
127
  ```sh
128
- gemini mcp add -s user photofresco npx -y photofresco@0.1.1 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
128
+ gemini mcp add -s user photofresco npx -y photofresco@0.1.2 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
129
129
  ```
130
130
 
131
131
  **Codex**:
132
132
 
133
133
  ```sh
134
- codex mcp add photofresco -- npx -y photofresco@0.1.1 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
134
+ codex mcp add photofresco -- npx -y photofresco@0.1.2 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
135
135
  ```
136
136
 
137
137
  **OpenCode**: `opencode.json` in a project, or `~/.config/opencode/opencode.json` for all of them
@@ -169,7 +169,7 @@ app's documented stdio format. Options:
169
169
  | `--browser <path>` | Chromium-based browser to use (same as `PHOTOFRESCO_BROWSER`) |
170
170
 
171
171
  **MCP Bundle** (Claude Desktop and other apps that install `.mcpb` files): `node scripts/build-mcpb.mjs`
172
- builds `dist/photofresco-mcp-0.1.1.mcpb` and its SHA-256 from this repository (reproducible with the same
172
+ builds `dist/photofresco-mcp-0.1.2.mcpb` and its SHA-256 from this repository (reproducible with the same
173
173
  Node.js version). The bundle starts the same server and, like a plugin, grants no folders. Each
174
174
  GitHub release attaches this file; its SHA-256 is the `fileSha256` in [server.json](server.json), the
175
175
  Official MCP Registry entry.
@@ -298,7 +298,7 @@ Until the npm package is published (mid-October 2026), run it from a clone inste
298
298
  `npm install -g`: `alias photofresco="node /path/to/photofresco-agent/src/bin/photofresco.js"`.
299
299
 
300
300
  ```sh
301
- npm install -g photofresco@0.1.1
301
+ npm install -g photofresco@0.1.2
302
302
  photofresco connect --read ~/Pictures --write ~/Pictures/PhotoFresco
303
303
  photofresco run warm.json --open ~/Pictures/beach.png --input amount=0.6 \
304
304
  --export ~/Pictures/PhotoFresco/beach-warm.png
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "photofresco",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Let AI agents edit images in a PhotoFresco window you approve: layers, masks, previews and export.",
5
5
  "keywords": [
6
6
  "mcp",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.photofresco/photofresco",
4
4
  "title": "PhotoFresco",
5
5
  "description": "Let AI agents edit images in a PhotoFresco window you approve: layers, masks, previews and export.",
6
- "version": "0.1.1",
6
+ "version": "0.1.2",
7
7
  "websiteUrl": "https://photofresco.com/?pf_ref=mcp-registry",
8
8
  "repository": {
9
9
  "url": "https://github.com/photofresco/photofresco-agent",
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "photofresco",
16
- "version": "0.1.1",
16
+ "version": "0.1.2",
17
17
  "runtimeHint": "npx",
18
18
  "transport": {
19
19
  "type": "stdio"
@@ -36,9 +36,9 @@
36
36
  },
37
37
  {
38
38
  "registryType": "mcpb",
39
- "identifier": "https://github.com/photofresco/photofresco-agent/releases/download/v0.1.1/photofresco-mcp-0.1.1.mcpb",
40
- "version": "0.1.1",
41
- "fileSha256": "d192a85f1400a4ec469cc0e0e20aa103db233d18c732744510dae1876dc45481",
39
+ "identifier": "https://github.com/photofresco/photofresco-agent/releases/download/v0.1.2/photofresco-mcp-0.1.2.mcpb",
40
+ "version": "0.1.2",
41
+ "fileSha256": "c73d7bb55205b3994024bd73631751a1a6349e3e8af28922dd34541675a39daf",
42
42
  "transport": {
43
43
  "type": "stdio"
44
44
  },
@@ -4,7 +4,7 @@ description: Edit photos and images in PhotoFresco, a Photoshop-class editor, th
4
4
  license: MIT
5
5
  compatibility: Needs the PhotoFresco MCP server (npm package photofresco, Node.js 22 or newer) and Chrome, Edge or Chromium 120+ installed on the user's computer.
6
6
  metadata:
7
- version: "0.1.1"
7
+ version: "0.1.2"
8
8
  homepage: https://photofresco.com/
9
9
  ---
10
10
 
@@ -33,7 +33,7 @@ mid-October 2026), the user can install the PhotoFresco plugin from
33
33
  Claude Code:
34
34
 
35
35
  ```sh
36
- claude mcp add photofresco -- npx -y photofresco@0.1.1 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
36
+ claude mcp add photofresco -- npx -y photofresco@0.1.2 mcp --read ~/Pictures --write ~/Pictures/PhotoFresco
37
37
  ```
38
38
 
39
39
  Claude Desktop (`claude_desktop_config.json`), Cursor (`~/.cursor/mcp.json` or `.cursor/mcp.json`)
@@ -44,7 +44,7 @@ and other clients that take `command`/`args`:
44
44
  "mcpServers": {
45
45
  "photofresco": {
46
46
  "command": "npx",
47
- "args": ["-y", "photofresco@0.1.1", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
47
+ "args": ["-y", "photofresco@0.1.2", "mcp", "--read", "/Users/you/Pictures", "--write", "/Users/you/Pictures/PhotoFresco"]
48
48
  }
49
49
  }
50
50
  }
package/src/connector.js CHANGED
@@ -18,7 +18,7 @@ import { CHANNEL_PROTOCOL, EditorPage } from './page.js'
18
18
  */
19
19
 
20
20
  export const CONNECTOR_NAME = 'PhotoFresco connector'
21
- export const CONNECTOR_VERSION = '0.1.1'
21
+ export const CONNECTOR_VERSION = '0.1.2'
22
22
  export const DEFAULT_EDITOR_URL = 'https://photofresco.com/app/'
23
23
  /** Adapter surfaces; each is shown to the user and used as the editor's acquisition entry token. */
24
24
  export const SURFACES = Object.freeze(['mcp', 'cli', 'sdk', 'vscode'])