editmamei 0.19.0 → 0.22.0

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 (72) hide show
  1. package/NOTICES.md +17 -1
  2. package/README.md +9 -8
  3. package/dist/api/extendscript/_helpers.js +1 -1
  4. package/dist/bin/editmamei-core-darwin-arm64 +0 -0
  5. package/dist/bin/editmamei-core-darwin-x64 +0 -0
  6. package/dist/bin/editmamei-core-win-x64.exe +0 -0
  7. package/dist/cli/config.js +3 -3
  8. package/dist/cli/help.js +4 -0
  9. package/dist/cli/install.js +2 -2
  10. package/dist/cli/report.js +11 -0
  11. package/dist/cli/router.js +20 -0
  12. package/dist/core/server.js +8 -8
  13. package/dist/core/settings.js +2 -2
  14. package/dist/core/tool-groups.js +92 -82
  15. package/dist/core/tool-tiers.js +91 -81
  16. package/dist/detection/landmark-detection-client.js +8 -0
  17. package/dist/detection/mesh-eye-correction.js +126 -0
  18. package/dist/detection/sam-segmenter.js +83 -0
  19. package/dist/diagnostics/collect.js +169 -0
  20. package/dist/index.js +2 -0
  21. package/dist/license/entitlement.js +52 -0
  22. package/dist/modules/ce/index.js +6 -4
  23. package/dist/perception/grounding-anchors.js +37 -0
  24. package/dist/perception/grounding-corners.js +93 -0
  25. package/dist/perception/grounding-edge-trace.js +90 -0
  26. package/dist/perception/grounding-extrema.js +41 -0
  27. package/dist/perception/grounding-gate.js +154 -0
  28. package/dist/perception/grounding-geometry.js +132 -0
  29. package/dist/perception/grounding-grid.js +34 -0
  30. package/dist/perception/grounding-landmarks.js +40 -0
  31. package/dist/perception/grounding-locate.js +341 -0
  32. package/dist/perception/grounding-resolver.js +202 -0
  33. package/dist/perception/grounding-review-crop.js +85 -0
  34. package/dist/perception/grounding-warp.js +182 -0
  35. package/dist/perception/sky-mask-transfer.js +50 -18
  36. package/dist/skills/editmamei-skill.zip +0 -0
  37. package/dist/tools/adjustment-tools.js +3 -3
  38. package/dist/tools/brush-tools.js +111 -23
  39. package/dist/tools/channel-compose-tools.js +241 -0
  40. package/dist/tools/detection-tools.js +1 -1
  41. package/dist/tools/diagnostics-tools.js +66 -0
  42. package/dist/tools/document-tools.js +6 -6
  43. package/dist/tools/filter-tools.js +476 -19
  44. package/dist/tools/group-tools.js +10 -10
  45. package/dist/tools/guide-tools.js +4 -4
  46. package/dist/tools/history-tools.js +4 -4
  47. package/dist/tools/image-placement-tools.js +1 -1
  48. package/dist/tools/image-tools.js +62 -19
  49. package/dist/tools/inspect-tools.js +2 -2
  50. package/dist/tools/layer-ordering-tools.js +1 -1
  51. package/dist/tools/layer-properties-tools.js +42 -23
  52. package/dist/tools/layer-tools.js +10 -10
  53. package/dist/tools/layer-transform-tools.js +80 -41
  54. package/dist/tools/overview-tools.js +42 -42
  55. package/dist/tools/path-tools.js +53 -10
  56. package/dist/tools/portrait-tools.js +3 -3
  57. package/dist/tools/preview-tools.js +7 -82
  58. package/dist/tools/retouch-tools.js +93 -25
  59. package/dist/tools/scene-tools.js +13 -13
  60. package/dist/tools/selection-tools.js +319 -40
  61. package/dist/tools/shape-tools.js +216 -0
  62. package/dist/tools/text-tools.js +1 -1
  63. package/dist/tools/transform-canvas-tools.js +2 -2
  64. package/dist/tools/vector-mask-tools.js +23 -8
  65. package/dist/utils/log-buffer.js +41 -0
  66. package/dist/utils/logger.js +12 -1
  67. package/dist/utils/session-log-reader.js +27 -1
  68. package/dist/version.js +1 -1
  69. package/package.json +1 -1
  70. package/dist/preview/coordinate-grid.js +0 -250
  71. package/dist/tools/object-tools.js +0 -193
  72. package/dist/tools/text-on-object-tools.js +0 -225
package/NOTICES.md CHANGED
@@ -83,10 +83,26 @@ above.
83
83
  diligence). Any upstream `NOTICE`/attribution terms (Apache-2.0 §4(d)) are
84
84
  preserved by reference to those sources.
85
85
  - Runs on-device via the same `onnxruntime-web` backend; the image never leaves the
86
- machine. Used by the Pro `photoshop_detect_landmarks` tool to locate the 468-point
86
+ machine. Used by the Pro `ps_detect_landmarks` tool to locate the 468-point
87
87
  face mesh (eyes, brows, lips, nose, jaw). Ships in the **Pro module**
88
88
  (`models/pro/`), not the CE tarball.
89
89
 
90
+ ### MobileSAM (`models/pro/mobile_sam_{encoder,decoder}.onnx`) — promptable segmentation (Pro)
91
+
92
+ - **Upstream:** MobileSAM ("Faster Segment Anything: Towards Lightweight SAM for
93
+ Mobile Applications", Zhang et al.; `ChaoningZhang/MobileSAM`) — a distilled
94
+ TinyViT image encoder paired with the Segment Anything prompt-mask decoder,
95
+ exported to ONNX (encoder + decoder). Redistributed here as an **FP16** build
96
+ converted from the FP32 ONNX export (halves the download; INT8 dynamic
97
+ quantization was evaluated and rejected — it collapsed the encoder to
98
+ whole-frame masks).
99
+ - **License:** Apache-2.0. Any upstream `NOTICE`/attribution terms (Apache-2.0
100
+ §4(d)) are preserved by reference to that source.
101
+ - Runs on-device via the same `onnxruntime-web` backend; the image never leaves the
102
+ machine. Used by the Pro `ps_select_object` tool to turn a box/point prompt into a
103
+ pixel-accurate organic selection. Ships in the **Pro module** (`models/pro/`), not
104
+ the CE tarball.
105
+
90
106
  ---
91
107
 
92
108
  ## Trademarks
package/README.md CHANGED
@@ -52,7 +52,7 @@ Prefer not to use a terminal? Claude Desktop users can install the one-click `.m
52
52
 
53
53
  ## A session, end to end
54
54
 
55
- The discovery chain is `photoshop_ping` (liveness), then `photoshop_overview` (the working method and capability map), then `tools/list` (the full schema-typed inventory). After that you just talk to your assistant:
55
+ The discovery chain is `ps_ping` (liveness), then `ps_overview` (the working method and capability map), then `tools/list` (the full schema-typed inventory). After that you just talk to your assistant:
56
56
 
57
57
  > _"Open my vacation photo."_
58
58
  > _"Make the sky more dramatic but keep the foreground natural."_
@@ -67,7 +67,7 @@ Your assistant composes those into tool calls, checks the result with previews a
67
67
  These are the choices that shape the surface, and the reason an AI assistant can drive it reliably rather than hopefully.
68
68
 
69
69
  - **Structured results, not prose.** Every tool declares an `outputSchema` and returns a typed JSON payload. Any tool that changes what is active reports the current document and layer back, so the model keeps an accurate picture of Photoshop's state between calls instead of re-deriving it.
70
- - **Guidance lives in the surface.** `photoshop_overview` returns the working method (assess, plan, enact, check, iterate) and `photoshop_list_capabilities` returns a live map of what exists. The model orients itself from the server rather than from guesswork or a stale prompt.
70
+ - **Guidance lives in the surface.** `ps_overview` returns the working method (assess, plan, enact, check, iterate) and `ps_list_capabilities` returns a live map of what exists. The model orients itself from the server rather than from guesswork or a stale prompt.
71
71
  - **Measure, don't eyeball.** A dedicated set of verification tools (histogram, region compare, layer-bounds diff, selection preview) lets the model check its own work numerically instead of trusting a thumbnail.
72
72
  - **On-device perception.** Local computer vision (ONNX) detects faces, objects, and scene regions and returns real document coordinates. The image stays on your machine for this step and is never sent to a cloud vision model.
73
73
  - **Non-destructive by default.** Adjustments are adjustment layers, and destructive pixel operations run on an auto-created duplicate. An edit is reversible by construction.
@@ -89,10 +89,11 @@ These are the choices that shape the surface, and the reason an AI assistant can
89
89
  | **Filters** | Community | `apply_filter` |
90
90
  | **Retouch** | Community | `retouch` |
91
91
  | **Layers** | Community | `create_layer` · `delete_layer` · `fill_layer` · `add_fill_layer` · `select_layer` · `move_layer_to_position` · `duplicate_layer` · `layer_via_copy` · `convert_to_smart_object` · `rasterize_layer` · `set_layer` · `merge` · `bake_layer` · `add_layer_style` · `transform_layer` · `create_group` · `move_layer_to_group` · `set_group_blend_mode` · `ungroup` · `delete_group` |
92
- | **Masks & paths** | Community | `layer_mask` · `create_clipping_mask` · `path` · `vector_mask` |
92
+ | **Masks & paths** | Community | `layer_mask` · `create_clipping_mask` · `path` · `vector_mask` · `apply_image` · `calculations` |
93
93
  | **Type** | Community | `create_text_layer` · `set_text` |
94
94
  | **Perception** | Community | `detect` · `scene` · `select_by_reference` |
95
- | **AI selection** | Pro | `select_subject` · `select_sky` · `select_subject_instance` |
95
+ | **AI selection** | Community | `select_subject` · `select_sky` |
96
+ | **AI selection** | Pro | `select_subject_instance` |
96
97
  | **Layers (warp)** | Pro | `warp_layer` · `warp_layer_mesh` |
97
98
  | **Face mesh** | Pro | `detect_landmarks` · `select_face_feature` |
98
99
  | **Templates** | Pro | `template_create_evidence` · `template_save` · `template_list` · `template_apply` · `template_verify` · `template_recall` · `template_delete` |
@@ -100,8 +101,8 @@ These are the choices that shape the surface, and the reason an AI assistant can
100
101
 
101
102
  ## Editions
102
103
 
103
- - **Community** is free and covers the everyday editing surface: documents, layers, selections, non-destructive adjustments, filters, masks, type, retouching, on-device perception, and the inspect/verify primitives.
104
- - **Pro** adds AI selection (Sensei-backed Select Subject and Select Sky), face-mesh perception, the reproducible-template system, custom mesh warp, and Photoshop Actions plus the scripting escape hatch.
104
+ - **Community** is free and covers the everyday editing surface: documents, layers, selections (including AI Select Subject and Select Sky), non-destructive adjustments, filters, masks, type, retouching, on-device perception, and the inspect/verify primitives.
105
+ - **Pro** adds Camera Raw develop, the grounded precision tools (warp, named-object masks, precision placement), subject-instance targeting, face-mesh perception, the reproducible-template system, and Photoshop Actions plus the scripting escape hatch.
105
106
 
106
107
  The split is detailed in [pro-features.md](https://github.com/editmamei/editmamei-wiki/blob/main/docs/pro-features.md). Pricing is at [editmamei.com](https://editmamei.com).
107
108
 
@@ -112,7 +113,7 @@ Settings live in `~/.editmamei/settings.json`, managed by the `editmamei config`
112
113
  ```bash
113
114
  editmamei config list
114
115
  editmamei config set telemetry.usage false # turn off anonymous usage telemetry
115
- editmamei config set photoshop_path "/path/to/Photoshop"
116
+ editmamei config set ps_path "/path/to/Photoshop"
116
117
  ```
117
118
 
118
119
  `PHOTOSHOP_PATH` (env var) overrides Photoshop auto-detection for a single run.
@@ -125,7 +126,7 @@ Editmamei runs on your computer and edits in your own Photoshop. No image conten
125
126
 
126
127
  - **Features and pricing:** [editmamei.com](https://editmamei.com)
127
128
  - **Install, getting started, FAQ, Pro features:** [the wiki](https://github.com/editmamei/editmamei-wiki)
128
- - **Bugs and feature requests:** [the issue tracker](https://github.com/editmamei/editmamei-wiki/issues)
129
+ - **Bugs and feature requests:** [the issue tracker](https://github.com/editmamei/editmamei-wiki/issues). If something's broken, ask your assistant to "report a problem" (or run `editmamei report`) to drop an anonymized diagnostic bundle in your Downloads folder, then attach it to the issue.
129
130
  - **Security:** see [editmamei.com/security](https://editmamei.com/security) (don't file security issues publicly)
130
131
 
131
132
  ## License
@@ -177,7 +177,7 @@ function getSelectionInfo() {
177
177
  // Skipping this restoration is what caused the 2026-06-07 hotfix:
178
178
  // every selection tool that inlines getSelectionInfo as its return
179
179
  // value left the document on a non-composite channel, breaking the
180
- // very next photoshop_create_layer_mask call.
180
+ // very next ps_layer_mask call.
181
181
  restoreCompositeChannel(doc);
182
182
  }
183
183
  }
Binary file
Binary file
@@ -36,10 +36,10 @@ const KEYS = {
36
36
  },
37
37
  coerce: coerceBool,
38
38
  },
39
- photoshop_path: {
40
- get: (s) => s.photoshop_path,
39
+ ps_path: {
40
+ get: (s) => s.ps_path,
41
41
  set: (s, v) => {
42
- s.photoshop_path = v;
42
+ s.ps_path = v;
43
43
  },
44
44
  coerce: coercePath,
45
45
  },
package/dist/cli/help.js CHANGED
@@ -10,6 +10,7 @@ Usage:
10
10
  editmamei activate <key> Activate a Pro license on this device
11
11
  editmamei deactivate Free this device's seat (before moving Pro to another machine)
12
12
  editmamei license Show the current license + whether Pro is unlocked
13
+ editmamei report Write an anonymized diagnostic bundle to Downloads for a bug report
13
14
  editmamei help, --help Print this help
14
15
 
15
16
  Install options:
@@ -33,6 +34,9 @@ Config examples:
33
34
  editmamei config set telemetry.usage false Opt out of anonymous usage telemetry
34
35
  editmamei config set telemetry.diagnostics true Opt in to sanitized diagnostic detail
35
36
 
37
+ Report options:
38
+ --note "<text>" Attach a short description of the problem to the bundle
39
+
36
40
  Examples:
37
41
  npm install -g editmamei && editmamei install
38
42
  editmamei install --photoshop-path "D:\\Adobe\\Photoshop 2025\\Photoshop.exe"
@@ -65,10 +65,10 @@ export async function runInstall(opts = {}) {
65
65
  out(` - Click "Upload skill"\n`);
66
66
  out(` - Choose the file at ${skillResult.destPath}\n`);
67
67
  out(` The skill auto-loads in any photo-editing conversation. It's a one-time upload.\n`);
68
- out(` 3. Then ask the AI: "Is Photoshop connected?" — it will call photoshop_ping and return your Photoshop version.\n`);
68
+ out(` 3. Then ask the AI: "Is Photoshop connected?" — it will call ps_ping and return your Photoshop version.\n`);
69
69
  }
70
70
  else {
71
- out(` 2. Then ask the AI: "Is Photoshop connected?" — it will call photoshop_ping and return your Photoshop version.\n`);
71
+ out(` 2. Then ask the AI: "Is Photoshop connected?" — it will call ps_ping and return your Photoshop version.\n`);
72
72
  }
73
73
  if (failed > 0) {
74
74
  out(`\n ${failed} client(s) failed — see lines above. Other clients were registered.\n`);
@@ -0,0 +1,11 @@
1
+ import { collectDiagnostics, writeDiagnosticBundle, ISSUES_URL } from '../diagnostics/collect.js';
2
+ export async function runReport(opts = {}) {
3
+ const out = opts.stdout ?? ((s) => process.stdout.write(s));
4
+ const collect = opts.collect ?? collectDiagnostics;
5
+ const write = opts.write ?? writeDiagnosticBundle;
6
+ const bundle = await collect({ note: opts.note });
7
+ const { path } = await write(bundle);
8
+ out(`\n Wrote an anonymized diagnostic bundle to:\n ${path}\n\n`);
9
+ out(` It contains recent logs + system info — no images, no full file paths, no tool arguments.\n`);
10
+ out(` Attach this file to a new issue at ${ISSUES_URL} so the maintainers can debug.\n\n`);
11
+ }
@@ -5,6 +5,7 @@ import { runConfig } from './config.js';
5
5
  import { runActivate } from './activate.js';
6
6
  import { runDeactivate } from './deactivate.js';
7
7
  import { runLicenseStatus } from './license.js';
8
+ import { runReport } from './report.js';
8
9
  import { printHelp } from './help.js';
9
10
  import { Logger } from '../utils/logger.js';
10
11
  const logger = new Logger('CLI');
@@ -41,6 +42,9 @@ export async function routeCli(argv, opts = {}) {
41
42
  case 'license':
42
43
  await runLicenseStatus();
43
44
  return { handled: true, exitCode: 0 };
45
+ case 'report':
46
+ await runReport({ note: parseNoteOpt(argv.slice(1)) });
47
+ return { handled: true, exitCode: 0 };
44
48
  case 'help':
45
49
  case '--help':
46
50
  case '-h':
@@ -58,6 +62,22 @@ export async function routeCli(argv, opts = {}) {
58
62
  return { handled: true, exitCode: 1 };
59
63
  }
60
64
  }
65
+ function parseNoteOpt(args) {
66
+ for (let i = 0; i < args.length; i++) {
67
+ const a = args[i];
68
+ if (a === '--note') {
69
+ const value = args[i + 1];
70
+ if (value && !value.startsWith('--'))
71
+ return value;
72
+ return undefined;
73
+ }
74
+ if (a.startsWith('--note=')) {
75
+ const value = a.slice('--note='.length);
76
+ return value.length > 0 ? value : undefined;
77
+ }
78
+ }
79
+ return undefined;
80
+ }
61
81
  function parseInstallOpts(args, err) {
62
82
  const opts = {};
63
83
  for (let i = 0; i < args.length; i++) {
@@ -110,10 +110,10 @@ export class EditmameiServer {
110
110
  this.setupHandlers();
111
111
  }
112
112
  registerTools() {
113
- this.toolRegistry.register('photoshop_ping', {
113
+ this.toolRegistry.register('ps_ping', {
114
114
  tool: {
115
- name: 'photoshop_ping',
116
- description: 'Test connection to Photoshop and report session-start discovery signals. Read-only and idempotent. Call this once at the start of a session to confirm liveness before invoking any other tool. **If the user has given you an open-ended editing task, ALSO call `photoshop_overview` after this** — it returns the workflow contract + capabilities map + verification primitives so you can plan well. Returns `version` (folds the deleted photoshop_get_version), `custom_action_sets` (count of Action Sets loaded in the Photoshop Actions palette — non-zero means recorded workflows exist; if action tools are available in this build they will appear in `tools/list`), `user_templates` (count of saved Editmamei templates), and `open_documents` (names of documents already open in Photoshop, so the LLM does not have to ask which doc to edit).',
115
+ name: 'ps_ping',
116
+ description: 'Test connection to Photoshop and report session-start discovery signals. Read-only and idempotent. Call this once at the start of a session to confirm liveness before invoking any other tool. **If the user has given you an open-ended editing task, ALSO call `ps_overview` after this** — it returns the workflow contract + capabilities map + verification primitives so you can plan well. Returns `version` (folds the deleted photoshop_get_version), `custom_action_sets` (count of Action Sets loaded in the Photoshop Actions palette — non-zero means recorded workflows exist; if action tools are available in this build they will appear in `tools/list`), `user_templates` (count of saved Editmamei templates), and `open_documents` (names of documents already open in Photoshop, so the LLM does not have to ask which doc to edit).',
117
117
  inputSchema: {
118
118
  type: 'object',
119
119
  properties: {},
@@ -151,10 +151,10 @@ export class EditmameiServer {
151
151
  },
152
152
  handler: async () => await this.pingPhotoshop(),
153
153
  });
154
- this.toolRegistry.register('photoshop_list_capabilities', {
154
+ this.toolRegistry.register('ps_list_capabilities', {
155
155
  tool: {
156
- name: 'photoshop_list_capabilities',
157
- description: 'Live map of every tool this MCP exposes, grouped by capability — each group is a one-line purpose plus the tool names in it. Read-only and cheap. Reach for it to re-orient mid-session (what exists, what to reach for) when the overview brief has scrolled out of context, or to learn which tool names to look up. photoshop_overview tells you HOW to combine tools; this tells you WHAT exists, currently; tools/list has the full schema for any one you pick.',
156
+ name: 'ps_list_capabilities',
157
+ description: 'Live map of every tool this MCP exposes, grouped by capability — each group is a one-line purpose plus the tool names in it. Read-only and cheap. Reach for it to re-orient mid-session (what exists, what to reach for) when the overview brief has scrolled out of context, or to learn which tool names to look up. ps_overview tells you HOW to combine tools; this tells you WHAT exists, currently; tools/list has the full schema for any one you pick.',
158
158
  inputSchema: { type: 'object', properties: {} },
159
159
  outputSchema: {
160
160
  type: 'object',
@@ -252,7 +252,7 @@ export class EditmameiServer {
252
252
  }))
253
253
  .filter((g) => g.tools.length > 0);
254
254
  const text = `Editmamei exposes ${registered.length} tools across ${groups.length} capability groups. ` +
255
- `This is the live map of WHAT exists; photoshop_overview is HOW to combine them, and ` +
255
+ `This is the live map of WHAT exists; ps_overview is HOW to combine them, and ` +
256
256
  `tools/list has the full schema for any one tool.\n\n` +
257
257
  groups
258
258
  .map((g) => `${g.label} (${g.tools.length}) — ${g.purpose}\n ${g.tools.join(', ')}`)
@@ -377,10 +377,10 @@ export class EditmameiServer {
377
377
  return ` Update available: v${u.current} → v${u.latest}. ${u.how_to_update}`;
378
378
  }
379
379
  async start() {
380
- await this.session.initialize();
381
380
  await this.loadModules();
382
381
  const transport = new StdioServerTransport();
383
382
  await this.server.connect(transport);
383
+ void this.session.initialize().catch(() => undefined);
384
384
  this.telemetry.start();
385
385
  void this.telemetry.flushOutboxOnStartup();
386
386
  this.server.onclose = () => {
@@ -19,7 +19,7 @@ function defaults(installId) {
19
19
  return {
20
20
  telemetry: { usage: true, diagnostics: false, install_id: installId },
21
21
  privacy: { send_previews_to_llm: true },
22
- photoshop_path: null,
22
+ ps_path: null,
23
23
  update_check: true,
24
24
  };
25
25
  }
@@ -43,7 +43,7 @@ function coerce(raw, installId) {
43
43
  ? p.send_previews_to_llm
44
44
  : base.privacy.send_previews_to_llm,
45
45
  },
46
- photoshop_path: typeof r.photoshop_path === 'string' ? r.photoshop_path : null,
46
+ ps_path: typeof r.ps_path === 'string' ? r.ps_path : null,
47
47
  update_check: typeof r.update_check === 'boolean' ? r.update_check : base.update_check,
48
48
  };
49
49
  }
@@ -2,7 +2,7 @@ export const GROUPS = {
2
2
  core: {
3
3
  id: 'core',
4
4
  label: 'Core',
5
- purpose: 'Session liveness, orientation, and undo/redo — always available.',
5
+ purpose: 'Session liveness, orientation, undo/redo, and problem reporting — always available.',
6
6
  },
7
7
  inspect: {
8
8
  id: 'inspect',
@@ -81,87 +81,97 @@ export const GROUPS = {
81
81
  },
82
82
  };
83
83
  export const TOOL_GROUPS = {
84
- photoshop_ping: 'core',
85
- photoshop_overview: 'core',
86
- photoshop_undo: 'core',
87
- photoshop_redo: 'core',
88
- photoshop_list_capabilities: 'core',
89
- photoshop_inspect: 'inspect',
90
- photoshop_get_preview: 'inspect',
91
- photoshop_get_histogram: 'verify',
92
- photoshop_compare_regions: 'verify',
93
- photoshop_get_layer_bounds_diff: 'verify',
94
- photoshop_get_selection_preview: 'verify',
95
- photoshop_create_document: 'document',
96
- photoshop_open_document: 'document',
97
- photoshop_close_document: 'document',
98
- photoshop_save_psd: 'document',
99
- photoshop_export: 'document',
100
- photoshop_place_image: 'document',
101
- photoshop_resize_image: 'document',
102
- photoshop_crop_document: 'document',
103
- photoshop_convert_image_mode: 'document',
104
- photoshop_transform_canvas: 'document',
105
- photoshop_guides: 'document',
106
- photoshop_select: 'select',
107
- photoshop_modify_selection: 'select',
108
- photoshop_selection_channel: 'select',
109
- photoshop_select_subject: 'select_ai',
110
- photoshop_select_sky: 'select_ai',
111
- photoshop_select_subject_instance: 'select_ai',
112
- photoshop_add_adjustment_layer: 'adjust',
113
- photoshop_apply_adjustment: 'adjust',
114
- photoshop_apply_filter: 'filter',
115
- photoshop_retouch: 'retouch',
116
- photoshop_apply_brush_stroke: 'retouch',
117
- photoshop_create_layer: 'layers',
118
- photoshop_delete_layer: 'layers',
119
- photoshop_fill_layer: 'layers',
120
- photoshop_add_fill_layer: 'layers',
121
- photoshop_select_layer: 'layers',
122
- photoshop_move_layer_to_position: 'layers',
123
- photoshop_duplicate_layer: 'layers',
124
- photoshop_layer_via_copy: 'layers',
125
- photoshop_convert_to_smart_object: 'layers',
126
- photoshop_rasterize_layer: 'layers',
127
- photoshop_set_layer: 'layers',
128
- photoshop_merge: 'layers',
129
- photoshop_bake_layer: 'layers',
130
- photoshop_add_layer_style: 'layers',
131
- photoshop_transform_layer: 'layers',
132
- photoshop_warp_layer: 'layers',
133
- photoshop_warp_layer_mesh: 'layers',
134
- photoshop_create_group: 'layers',
135
- photoshop_move_layer_to_group: 'layers',
136
- photoshop_set_group_blend_mode: 'layers',
137
- photoshop_ungroup: 'layers',
138
- photoshop_delete_group: 'layers',
139
- photoshop_layer_mask: 'masks',
140
- photoshop_create_clipping_mask: 'masks',
141
- photoshop_release_clipping_mask: 'masks',
142
- photoshop_path: 'masks',
143
- photoshop_vector_mask: 'masks',
144
- photoshop_create_text_layer: 'type',
145
- photoshop_set_text: 'type',
146
- photoshop_detect: 'perception',
147
- photoshop_scene: 'perception',
148
- photoshop_select_by_reference: 'perception',
149
- photoshop_object: 'perception',
150
- photoshop_portrait_touchup: 'perception',
151
- photoshop_text_on_object: 'perception',
152
- photoshop_detect_landmarks: 'face',
153
- photoshop_select_face_feature: 'face',
154
- photoshop_stroke_face_contour: 'face',
155
- photoshop_template_create_evidence: 'templates',
156
- photoshop_template_save: 'templates',
157
- photoshop_template_list: 'templates',
158
- photoshop_template_apply: 'templates',
159
- photoshop_template_verify: 'templates',
160
- photoshop_template_recall: 'templates',
161
- photoshop_template_delete: 'templates',
162
- photoshop_list_actions: 'automation',
163
- photoshop_play_action: 'automation',
164
- photoshop_execute_script: 'automation',
84
+ ps_ping: 'core',
85
+ ps_overview: 'core',
86
+ ps_undo: 'core',
87
+ ps_redo: 'core',
88
+ ps_list_capabilities: 'core',
89
+ ps_report_problem: 'core',
90
+ ps_inspect: 'inspect',
91
+ ps_get_preview: 'inspect',
92
+ ps_get_histogram: 'verify',
93
+ ps_compare_regions: 'verify',
94
+ ps_get_layer_bounds_diff: 'verify',
95
+ ps_get_selection_preview: 'verify',
96
+ ps_create_document: 'document',
97
+ ps_open_document: 'document',
98
+ ps_close_document: 'document',
99
+ ps_save_psd: 'document',
100
+ ps_export: 'document',
101
+ ps_place_image: 'document',
102
+ ps_resize_image: 'document',
103
+ ps_crop_document: 'document',
104
+ ps_convert_image_mode: 'document',
105
+ ps_transform_canvas: 'document',
106
+ ps_guides: 'document',
107
+ ps_select: 'select',
108
+ ps_modify_selection: 'select',
109
+ ps_selection_channel: 'select',
110
+ ps_select_subject: 'select_ai',
111
+ ps_select_sky: 'select_ai',
112
+ ps_select_subject_instance: 'select_ai',
113
+ ps_select_object: 'select_ai',
114
+ ps_add_adjustment_layer: 'adjust',
115
+ ps_apply_adjustment: 'adjust',
116
+ ps_apply_filter: 'filter',
117
+ ps_apply_camera_raw: 'filter',
118
+ ps_retouch: 'retouch',
119
+ ps_apply_brush_stroke: 'retouch',
120
+ ps_create_layer: 'layers',
121
+ ps_delete_layer: 'layers',
122
+ ps_fill_layer: 'layers',
123
+ ps_add_fill_layer: 'layers',
124
+ ps_select_layer: 'layers',
125
+ ps_move_layer_to_position: 'layers',
126
+ ps_duplicate_layer: 'layers',
127
+ ps_copy_to_new_layer: 'layers',
128
+ ps_convert_to_smart_object: 'layers',
129
+ ps_rasterize_layer: 'layers',
130
+ ps_set_layer: 'layers',
131
+ ps_merge: 'layers',
132
+ ps_bake_layer: 'layers',
133
+ ps_add_layer_style: 'layers',
134
+ ps_transform_layer: 'layers',
135
+ ps_warp_layer: 'layers',
136
+ ps_warp_layer_mesh: 'layers',
137
+ ps_warp_layer_along: 'layers',
138
+ ps_warp_layer_region: 'layers',
139
+ ps_warp_layer_to: 'layers',
140
+ ps_create_group: 'layers',
141
+ ps_move_layer_to_group: 'layers',
142
+ ps_set_group_blend_mode: 'layers',
143
+ ps_ungroup: 'layers',
144
+ ps_delete_group: 'layers',
145
+ ps_layer_mask: 'masks',
146
+ ps_create_clipping_mask: 'masks',
147
+ ps_release_clipping_mask: 'masks',
148
+ ps_path: 'masks',
149
+ ps_vector_mask: 'masks',
150
+ ps_apply_image: 'masks',
151
+ ps_calculations: 'masks',
152
+ ps_shape: 'layers',
153
+ ps_create_text_layer: 'type',
154
+ ps_set_text: 'type',
155
+ ps_detect: 'perception',
156
+ ps_read_scene: 'perception',
157
+ ps_select_by_reference: 'perception',
158
+ ps_edit_object: 'perception',
159
+ ps_portrait_touchup: 'perception',
160
+ ps_add_text_to_object: 'perception',
161
+ ps_resolve_placement: 'perception',
162
+ ps_detect_landmarks: 'face',
163
+ ps_select_face_feature: 'face',
164
+ ps_stroke_face_contour: 'face',
165
+ ps_template_create_evidence: 'templates',
166
+ ps_template_save: 'templates',
167
+ ps_template_list: 'templates',
168
+ ps_template_apply: 'templates',
169
+ ps_template_verify: 'templates',
170
+ ps_template_recall: 'templates',
171
+ ps_template_delete: 'templates',
172
+ ps_list_actions: 'automation',
173
+ ps_play_action: 'automation',
174
+ ps_execute_script: 'automation',
165
175
  };
166
176
  export function groupOf(toolName) {
167
177
  const group = TOOL_GROUPS[toolName];