Open History to see the last commit
1{
2 "$schema": "https://unpkg.com/knip@6/schema.json",
3 // Exported types are part of our contracts even before they have consumers.
4 "rules": { "types": "off", "nsTypes": "off" },
5 // These executables are supplied by the OS or installed separately from npm.
6 "ignoreBinaries": ["eas", "file", "mkfifo", "pkill", "pkg-config", "plutil", "sips"],
7 "workspaces": {
8 ".": {
9 // Keep vendored reference repositories outside the root project.
10 "project": ["*.{js,mjs,cjs,ts,mts,cts}", ".github/**/*.cjs"],
11 "entry": [".github/scripts/thread-transfer-report.cjs"],
12 "vite": { "entry": [".github/**/*.test.cjs"] },
13 "vitest": { "entry": [".github/**/*.test.cjs"] },
14 },
15 "scripts": {
16 // Knip loads its preprocessor through a CLI option; native verification and
17 // worktree setup (from t3.json) run directly.
18 "entry": ["knip-schemas.ts", "mobile-native-client.ts", "setup-worktree.ts"],
19 },
20 "apps/server": {
21 // Vite+ pack entries and the launcher used by installed background services.
22 "entry": [
23 "src/bin.ts!",
24 "src/claude-history-worker.ts!",
25 "scripts/cli.ts",
26 "scripts/measure-pr-preview.ts",
27 "scripts/probe-claude-fork-local-rollback-replay.ts",
28 "scripts/verify-background-live.ts",
29 "scripts/evaluate-thread-titles.ts",
30 "src/provider/testFixtures/*.mjs",
31 ],
32 // Keep the transitive Effect runtime pinned for standalone npm installs.
33 // The Vite+ web build prerequisite.
34 "ignoreDependencies": ["@effect/platform-node-shared", "@t3tools/web"],
35 },
36 "apps/desktop": {
37 // Electron loads these bundles by filename rather than importing them.
38 "entry": [
39 "gnome-extension/extension.js!",
40 "src/electron/WindowsForegroundFocusWorker.ts!",
41 "src/snapShot/GlobalShiftShortcutWorker.ts!",
42 "src/snapShot/RegionSnapShotWorker.ts!",
43 "src/snapShot/SnapShotAccessibilityWorker.ts!",
44 "src/boot.ts!",
45 "src/compileCache.ts!",
46 "src/main.ts!",
47 "src/preload.ts!",
48 "src/preview-pick-preload.ts!",
49 "src/preview-pip-preload.ts!",
50 "src/mac-permission-preload.ts!",
51 "src/preview/Annotation.css!",
52 ],
53 // The injected runtime resolves Playwright by string; release tooling runs
54 // electron-builder from this workspace, outside its package scripts.
55 "ignoreDependencies": ["playwright-core", "electron-builder"],
56 },
57 "apps/web": {
58 // Vitest loads this through the per-file @vitest-environment directive.
59 "ignoreDependencies": ["jsdom"],
60 // Worktree setup (scripts/setup-worktree.ts) runs this directly.
61 "entry": ["scripts/warm-dep-cache.ts"],
62 // UI component modules are copied and adapted as cohesive sets. Keep their
63 // named subcomponents even before they have callers; the file audit still
64 // reports an entire component module when nothing imports it.
65 "ignoreIssues": { "src/components/ui/*.tsx": ["exports", "nsExports", "duplicates"] },
66 },
67 "apps/mobile": {
68 // Expo loads plugins by string; Metro embeds the browser entry in the native WebView.
69 "entry": [
70 "index.ts!",
71 "plugins/*.cjs",
72 "scripts/generate-device-stream.mts",
73 "src/features/devices/device-stream.browser.ts!",
74 ],
75 // Fonts are configured as asset paths; Expo autolinks the native packages.
76 "ignoreDependencies": [
77 "@expo-google-fonts/dm-sans",
78 "@t3tools/mobile-review-diff-native",
79 "@t3tools/mobile-terminal-native",
80 ],
81 },
82 "apps/mobile/modules/t3-markdown-text": {
83 // React Native codegen discovers component specifications by filename.
84 "entry": ["src/*NativeComponent.ts!"],
85 },
86 "infra/relay": {
87 "entry": ["alchemy.run.ts!", "src/persistence/schema.ts!"],
88 },
89 "packages/*": {
90 // These workspace packages are private to this monorepo.
91 "includeEntryExports": true,
92 },
93 "packages/effect-acp": {
94 "includeEntryExports": true,
95 "entry": ["test/fixtures/*.ts"],
96 // Generated upstream protocol definitions are retained as a complete set.
97 "ignoreIssues": { "src/_generated/**": ["exports", "types"] },
98 },
99 "packages/effect-codex-app-server": {
100 "includeEntryExports": true,
101 "entry": ["test/fixtures/*.ts"],
102 "ignoreIssues": { "src/_generated/**": ["exports", "types"] },
103 },
104 },
105}