mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1726] fix(slurp2): 0.4.2 still fails to start on zod 4 Engines (ZodEffects instanceof) #1694
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1694
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1726
Originally assigned to: @Gunterlie on GitHub.
Problem
Slurp2 0.4.2 still fails to activate on current Engine builds (
zod ^4.6.7, Engine commit0dddb04dc). Reported on Discord:Cause
#1721 fixed the settings path, but two module-level checks still use
x instanceof z.ZodEffects. Zod 4 has noZodEffects, soinstanceof undefinedthrows while the module loads:packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-feed-post-routes.ts:52packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-feed-publishing-routes.ts:44Fix
Extend the plain object schemas directly (
slpCreatorPostCreateWithMediaSchemais already a plain object; split the refined generation schema into an exported object + refinement). Works on zod 3 and zod 4. Ship as 0.4.3.@Gunterlie commented on GitHub (Oct 26, 2026):
Fixed in #1727 (Slurp2 0.4.3), merged as
f1ad76c01.