[GH-ISSUE #928] Slurp2 modular refactor — Slice 7: client state and hooks #487

Closed
opened 2026-10-20 17:27:59 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/928

Originally assigned to: @Gunterlie on GitHub.

Part of the Slurp2 modular refactor (SLURP-MODULE-PLAN.md, §7 slice 7). Targets the modular-simping integration branch.

Scope

  • Split packages/client/src/hooks/use-slurp.ts by feature into packages/client/src/slp/.
  • Shared query keys and cross-cutting state types get one definition under base/state/.
  • Move the package store, media hook, discovery helper, and refresh-batch helper into the new namespace.
  • Keep every query-key value, endpoint, request shape, cache behaviour, and public export name unchanged.
  • Keep the generic persona hook outside Slurp and keep the package-owned API-client override.

Out of scope

Slice 8 (client app, screens, reusable visual modules). SlurpHome.tsx and SlurpMessages.tsx do not move.

Gate

Slice 6 is merged into modular-simping (PR #927, merge commit 26a80fe7).

Originally created by @Gunterlie on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/928 Originally assigned to: @Gunterlie on GitHub. Part of the Slurp2 modular refactor (`SLURP-MODULE-PLAN.md`, §7 slice 7). Targets the `modular-simping` integration branch. ## Scope - Split `packages/client/src/hooks/use-slurp.ts` by feature into `packages/client/src/slp/`. - Shared query keys and cross-cutting state types get one definition under `base/state/`. - Move the package store, media hook, discovery helper, and refresh-batch helper into the new namespace. - Keep every query-key value, endpoint, request shape, cache behaviour, and public export name unchanged. - Keep the generic persona hook outside Slurp and keep the package-owned API-client override. ## Out of scope Slice 8 (client app, screens, reusable visual modules). `SlurpHome.tsx` and `SlurpMessages.tsx` do not move. ## Gate Slice 6 is merged into `modular-simping` (PR #927, merge commit `26a80fe7`).
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-Agents#487
No description provided.