The best way to control Claude Code, Codex and more from any computer or phone
ci(knip): enforce desktop exports (#10269)
Julius Marminge committed
Sep 7, 2026 at 15:00 UTC
b491e41da366beb03c54b585745318553f1239c5
2 files changed
+3
-3
docs/operations/development.md
+2
-2
@@ -74,8 +74,8 @@ Windows investigation while that suite is not a required gate.
74
### Unused code
75
76
`vp run knip:check` checks unused files and dependencies across the repo, then
77
-unused runtime exports in `apps/web` and every internal package under `packages/`.
78
-CI enforces both checks.
77
+unused runtime exports in `apps/desktop`, `apps/web`, and every internal package under
78
+`packages/`. CI enforces both checks.
79
Exported types and Effect schemas are allowed without consumers. The schema preprocessor
80
recognizes schema types, including aliases and schema classes; functions that create or decode
81
schemas remain checked. Completely unused files remain checked too.
package.json
+1
-1
@@ -26,7 +26,7 @@
26
"tc": "vp run -r --concurrency-limit 2 typecheck",
27
"lint": "vp lint --report-unused-disable-directives",
28
"knip": "knip --preprocessor ./scripts/knip-schemas.ts",
29
- "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",
29
+ "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/desktop --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",
30
"knip:production": "knip --production --preprocessor ./scripts/knip-schemas.ts",
31
"lint:mobile": "node scripts/mobile-native-static-check.ts",
32
"test": "vp run -r test",