unity-agent-tools 0.7.5 → 0.7.6

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/dist/server.mjs +3 -2
  2. package/package.json +1 -1
package/dist/server.mjs CHANGED
@@ -31834,8 +31834,9 @@ async function generateImage(request) {
31834
31834
  }
31835
31835
  });
31836
31836
  }
31837
+ const finalPrompt = referenceImage ? `Edit the provided image according to these instructions: ${prompt}` : prompt;
31837
31838
  parts.push({
31838
- text: prompt
31839
+ text: finalPrompt
31839
31840
  });
31840
31841
  const body = {
31841
31842
  contents: [
@@ -32130,7 +32131,7 @@ function registerEditorPlatformResource(server, bridge) {
32130
32131
  async function main() {
32131
32132
  const server = new McpServer({
32132
32133
  name: "unity-agent-tools",
32133
- version: "0.7.5"
32134
+ version: "0.7.6"
32134
32135
  });
32135
32136
  const bridge = new UnityBridge("ws://localhost:8090");
32136
32137
  const lspClient = new ShaderLspClient();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unity-agent-tools",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "Unity Agent - AI-powered Unity Editor tools for shader analysis and error auto-fix via Claude Code",
5
5
  "type": "module",
6
6
  "main": "dist/server.mjs",