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