mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1599] [MERGED] Remove unreferenced feature hook exports #5134
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5134
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1599
Author: @cha1latte
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @cha1latte
Base:
refactor← Head:codex/knip-feature-export-slice-2📝 Commits (1)
6025a10Remove unreferenced feature hook exports📊 Changes
6 files changed (+1 additions, -102 deletions)
View changed files
📝
src/features/catalog/agents/hooks/use-agents.ts(+0 -20)📝
src/features/catalog/agents/hooks/use-custom-tools.ts(+0 -9)📝
src/features/catalog/agents/hooks/use-regex-scripts.ts(+0 -9)📝
src/features/catalog/chat-presets/hooks/use-chat-presets.ts(+1 -41)📝
src/features/catalog/chats/hooks/use-chat-folders.ts(+0 -14)📝
src/features/catalog/personas/hooks/use-personas.ts(+0 -9)📄 Description
Linked issue
Refs #1566
Why this change
What changed
createChatPresetSchemaimport that only supported those deleted exports.Refactor impact
Primary owner:
src/featuresImpact areas reviewed:
Boundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code; unused exports dropped from 95 to 89 and unused exported types stayed at 71.pnpm typecheck.pnpm check:architecture.pnpm check:unused.pnpm build.pnpm check, includingcargo check --manifest-path src-tauri/Cargo.toml --workspace.git diff --check.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A - no visible UI behavior changed.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.