[PR #2543] [MERGED] Address open agent and image issues #5646

Closed
opened 2026-10-22 04:18:06 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2543
Author: @SpicyMarinara
Created: 6/10/2026
Status: ✅ Merged
Merged: 6/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/address-open-issues


📝 Commits (1)

  • 163fa49 Address open agent and image issues

📊 Changes

10 files changed (+579 additions, -23 deletions)

View changed files

📝 packages/client/src/components/agents/AgentEditor.tsx (+112 -6)
📝 packages/client/src/components/game/GameNarration.tsx (+11 -2)
📝 packages/client/src/components/game/GameSurface.tsx (+23 -3)
📝 packages/server/src/routes/connections.routes.ts (+20 -7)
📝 packages/server/src/routes/generate.routes.ts (+144 -1)
📝 packages/server/src/routes/generate/illustrator-references.ts (+1 -1)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+130 -1)
📝 packages/server/src/services/llm/providers/claude-subscription.provider.ts (+47 -1)
📝 packages/server/src/services/tools/tool-executor.ts (+64 -0)
📝 packages/shared/src/types/agent.ts (+27 -1)

📄 Description

Why

Addresses the current open issue batch around Illustrator references, Claude Agent SDK testing, custom-agent lorebook writes, game-mode persona sprites, and conversation selfies.

Changes

  • Makes Illustrator reference images explicit opt-in and only attaches matched character/persona references.
  • Adds a custom-agent Lorebook Writer toggle that grants a gated save_lorebook_entry tool for one selected lorebook.
  • Lets Game mode resolve and display persona sprites when the active speaker is the player persona.
  • Makes Claude Subscription connection testing perform a real SDK request and surfaces richer SDK failure details.
  • Strengthens selfie command prompting and recovers implicit selfie sends when image generation is configured.

Issues

Addresses #2517
Addresses #2518
Addresses #2519
Addresses #2520
Addresses #2522

Validation

  • pnpm install
  • pnpm check

Notes: this shell is using Node v20.11.1, so pnpm emitted the repo engine warning (>=24 <26) and Vite warned that it prefers Node 20.19+ or 22.12+, but the full check completed successfully.

Manual verification needed

  • Manually verify Illustrator local Stable Diffusion generation does not switch into reference/img2img mode unless the Illustrator reference checkbox is enabled and a character/persona is matched.
  • Manually verify Claude Subscription Test Connection and Send Test Message report useful auth/SDK errors on an unauthenticated host.
  • Manually verify a custom agent with Lorebook Writer enabled can save/update one selected lorebook entry and cannot write without a selected target.
  • Manually verify Game mode shows persona sprites for the active player persona when sprites exist.
  • Manually verify conversation selfies generate when a character claims to send a selfie/photo and image generation is configured.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/2543 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/10/2026 **Status:** ✅ Merged **Merged:** 6/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/address-open-issues` --- ### 📝 Commits (1) - [`163fa49`](https://github.com/Pasta-Devs/Marinara-Engine/commit/163fa4979120d336d2025a848daeebd2d12773f0) Address open agent and image issues ### 📊 Changes **10 files changed** (+579 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+112 -6) 📝 `packages/client/src/components/game/GameNarration.tsx` (+11 -2) 📝 `packages/client/src/components/game/GameSurface.tsx` (+23 -3) 📝 `packages/server/src/routes/connections.routes.ts` (+20 -7) 📝 `packages/server/src/routes/generate.routes.ts` (+144 -1) 📝 `packages/server/src/routes/generate/illustrator-references.ts` (+1 -1) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+130 -1) 📝 `packages/server/src/services/llm/providers/claude-subscription.provider.ts` (+47 -1) 📝 `packages/server/src/services/tools/tool-executor.ts` (+64 -0) 📝 `packages/shared/src/types/agent.ts` (+27 -1) </details> ### 📄 Description ## Why Addresses the current open issue batch around Illustrator references, Claude Agent SDK testing, custom-agent lorebook writes, game-mode persona sprites, and conversation selfies. ## Changes - Makes Illustrator reference images explicit opt-in and only attaches matched character/persona references. - Adds a custom-agent Lorebook Writer toggle that grants a gated save_lorebook_entry tool for one selected lorebook. - Lets Game mode resolve and display persona sprites when the active speaker is the player persona. - Makes Claude Subscription connection testing perform a real SDK request and surfaces richer SDK failure details. - Strengthens selfie command prompting and recovers implicit selfie sends when image generation is configured. ## Issues Addresses #2517 Addresses #2518 Addresses #2519 Addresses #2520 Addresses #2522 ## Validation - pnpm install - pnpm check Notes: this shell is using Node v20.11.1, so pnpm emitted the repo engine warning (`>=24 <26`) and Vite warned that it prefers Node 20.19+ or 22.12+, but the full check completed successfully. ## Manual verification needed - Manually verify Illustrator local Stable Diffusion generation does not switch into reference/img2img mode unless the Illustrator reference checkbox is enabled and a character/persona is matched. - Manually verify Claude Subscription Test Connection and Send Test Message report useful auth/SDK errors on an unauthenticated host. - Manually verify a custom agent with Lorebook Writer enabled can save/update one selected lorebook entry and cannot write without a selected target. - Manually verify Game mode shows persona sprites for the active player persona when sprites exist. - Manually verify conversation selfies generate when a character claims to send a selfie/photo and image generation is configured. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:06 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5646
No description provided.