[ISSUE-480] chore: remove unreferenced dead-code files in packages/server#481
Open
1996fanrui wants to merge 1 commit intogetpaseo:mainfrom
Open
[ISSUE-480] chore: remove unreferenced dead-code files in packages/server#4811996fanrui wants to merge 1 commit intogetpaseo:mainfrom
1996fanrui wants to merge 1 commit intogetpaseo:mainfrom
Conversation
…rver Remove 7 files with zero inbound references across the entire repo, identified via Knip dead-code analysis and cross-verified by manual grep of import paths, package.json, vitest config, and docs. Removed: - packages/server/src/server/agent/llm-openai.ts - packages/server/src/server/agent/orchestrator.ts - packages/server/src/server/agent/model-resolver.ts (+ its test) - packages/server/src/server/daemon-e2e/checkout-debug.ts - packages/server/src/poc-commands/investigate-command-output.ts - packages/server/src/poc-commands/run-poc.ts Typecheck passes; no other code references any of these files. Closes getpaseo#480
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove 7 source files from
packages/serverthat have zero inbound references anywhere in the repo. Identified via Knip dead-code analysis (npx knip+npx knip --production) and cross-verified with manual grep across.ts/.tsx/.mjs/.js,package.json, vitest config, and docs.Files removed
packages/server/src/server/agent/llm-openai.tspackages/server/src/server/agent/orchestrator.tsorchestrator-instructions.tsis a distinct file sharing only the name prefix)packages/server/src/server/agent/model-resolver.tsmodel-resolver.test.ts; both removed togetherpackages/server/src/server/agent/model-resolver.test.tspackages/server/src/server/daemon-e2e/checkout-debug.tspackages/server/src/poc-commands/investigate-command-output.tspackages/server/src/poc-commands/run-poc.tsTotal: 7 files, 711 lines deleted.
Scope
@getpaseo/serverSDK surface.Test plan
tsc --noEmitonpackages/serverpasses with no new errors (the only pre-existing error is@getpaseo/highlightnot being built in the local workspace, unrelated to this change).Closes #480