mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1668] [MERGED] Clean up unused Knip exports across engine and feature slices #5200
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#5200
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/1668
Author: @cha1latte
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @cha1latte
Base:
refactor← Head:knip/integration-cleanup📝 Commits (8)
07eda0eRemove unused feature exports044a2e9Remove unused engine helper exports1352992Remove unused mode exports31d9bf9Remove unused contract exports515d29aMerge branch 'knip/ai2-engine-helpers' into knip/integration-cleanup2b4d8d8Merge branch 'knip/ai3-modes' into knip/integration-cleanupdb4c1e1Merge branch 'knip/ai4-contracts' into knip/integration-cleanup3db7894Remove unused agent and Mari exports📊 Changes
65 files changed (+173 additions, -1240 deletions)
View changed files
📝
src/engine/agents-runtime/debug.ts(+1 -1)📝
src/engine/agents-runtime/executor/agent-executor.ts(+5 -13)📝
src/engine/agents-runtime/knowledge/knowledge-router.ts(+8 -8)📝
src/engine/agents-runtime/pipeline/agent-pipeline.ts(+3 -10)📝
src/engine/contracts/constants/image-generation-defaults.ts(+6 -22)📝
src/engine/contracts/constants/model-lists.ts(+9 -114)📝
src/engine/contracts/constants/providers.ts(+1 -1)📝
src/engine/contracts/schemas/agent.schema.ts(+2 -2)📝
src/engine/contracts/schemas/character.schema.ts(+4 -4)📝
src/engine/contracts/schemas/chat.schema.ts(+2 -2)📝
src/engine/contracts/schemas/connection.schema.ts(+1 -1)📝
src/engine/contracts/schemas/custom-tool.schema.ts(+1 -1)📝
src/engine/contracts/schemas/lorebook.schema.ts(+6 -6)📝
src/engine/contracts/schemas/prompt.schema.ts(+8 -8)📝
src/engine/contracts/schemas/regex.schema.ts(+1 -1)📝
src/engine/core/clock.ts(+0 -9)📝
src/engine/core/ids.ts(+0 -4)📝
src/engine/core/json.ts(+0 -4)📝
src/engine/generation-core/llm/base-provider.ts(+1 -1)📝
src/engine/generation-core/lorebooks/game-lorebook-scope.ts(+1 -6)...and 45 more files
📄 Description
Linked issue
N/A
Why this change
What changed
knip --exports.Refactor impact
Primary owner:
Knip/export cleanup across engine, feature, contracts, agents-runtime, and Mari surfaces.
Impact areas reviewed:
Boundary notes:
knip --exportsfindings are intentionally documented rather than hidden by config in this PR.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 typecheck: passed.pnpm build: passed, with the existing Vite large-chunk warning.pnpm exec knip --files --no-config-hints: passed.pnpm exec knip --dependencies --no-config-hints: passed.pnpm exec knip --exports --no-config-hints: still reports 10 unused exports and 120 unused exported types, preserved as public contract/capability/Mari surface candidates for a separate policy/API decision.git diff --check upstream/refactor...HEAD: passed.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A. This is a static export cleanup with no intended UI behavior changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.