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/evaluate-thread-titles.ts",
27 "scripts/measure-pr-preview.ts",
28 "src/provider/testFixtures/*.mjs",
29 ],
30 // Keep the transitive Effect runtime pinned for standalone npm installs.
31 // The Vite+ web build prerequisite.
32 "ignoreDependencies": ["@effect/platform-node-shared", "@t3tools/web"],
33 },
34 "apps/desktop": {
35 // Electron loads these bundles by filename rather than importing them.
36 "entry": [
37 "gnome-extension/extension.js!",
38 "src/electron/WindowsForegroundFocusWorker.ts!",
39 "src/snapShot/GlobalShiftShortcutWorker.ts!",
40 "src/snapShot/RegionSnapShotWorker.ts!",
41 "src/snapShot/SnapShotAccessibilityWorker.ts!",
42 "src/boot.ts!",
43 "src/compileCache.ts!",
44 "src/main.ts!",
45 "src/preload.ts!",
46 "src/preview-pick-preload.ts!",
47 "src/preview-pip-preload.ts!",
48 "src/mac-permission-preload.ts!",
49 "src/preview/Annotation.css!",
50 ],
51 // The injected runtime resolves Playwright by string; release tooling runs
52 // electron-builder from this workspace, outside its package scripts.
53 "ignoreDependencies": ["playwright-core", "electron-builder"],
54 },
55 "apps/web": {
56 // Worktree setup (scripts/setup-worktree.ts) runs this directly.
57 "entry": ["scripts/warm-dep-cache.ts"],
58 // UI component modules are copied and adapted as cohesive sets. Keep their
59 // named subcomponents even before they have callers; the file audit still
60 // reports an entire component module when nothing imports it.
61 "ignoreIssues": { "src/components/ui/*.tsx": ["exports", "nsExports", "duplicates"] },
62 },
63 "apps/mobile": {
64 // Expo loads plugins by string; Metro embeds the browser entry in the native WebView.
65 "entry": [
66 "index.ts!",
67 "plugins/*.cjs",
68 "scripts/generate-device-stream.mts",
69 "src/features/devices/device-stream.browser.ts!",
70 ],
71 // Fonts are configured as asset paths; Expo autolinks the native packages.
72 "ignoreDependencies": [
73 "@expo-google-fonts/dm-sans",
74 "@t3tools/mobile-review-diff-native",
75 "@t3tools/mobile-terminal-native",
76 ],
77 },
78 "apps/mobile/modules/t3-markdown-text": {
79 // React Native codegen discovers component specifications by filename.
80 "entry": ["src/*NativeComponent.ts!"],
81 },
82 "infra/relay": {
83 "entry": ["alchemy.run.ts!", "src/persistence/schema.ts!"],
84 },
85 "packages/*": {
86 // These workspace packages are private to this monorepo.
87 "includeEntryExports": true,
88 },
89 "packages/effect-acp": {
90 "includeEntryExports": true,
91 "entry": ["test/fixtures/*.ts"],
92 // Generated upstream protocol definitions are retained as a complete set.
93 "ignoreIssues": { "src/_generated/**": ["exports", "types"] },
94 },
95 "packages/effect-codex-app-server": {
96 "includeEntryExports": true,
97 "entry": ["test/fixtures/*.ts"],
98 "ignoreIssues": { "src/_generated/**": ["exports", "types"] },
99 },
100 },
101}