2026-04-23 22:13:12 +07:00
|
|
|
{
|
|
|
|
|
"$schema": "./node_modules/knip/schema.json",
|
|
|
|
|
"workspaces": {
|
|
|
|
|
".": {
|
|
|
|
|
"entry": ["scripts/**/*.{js,mjs,cjs,ts}"],
|
|
|
|
|
"project": ["scripts/**/*.{js,mjs,cjs,ts}"]
|
|
|
|
|
},
|
|
|
|
|
"packages/server": {
|
|
|
|
|
"entry": [
|
|
|
|
|
"src/server/index.ts",
|
|
|
|
|
"src/server/exports.ts",
|
|
|
|
|
"src/utils/tool-call-parsers.ts",
|
2026-04-23 22:41:27 +07:00
|
|
|
"src/shared/**/*.ts",
|
|
|
|
|
"src/client/**/*.ts",
|
|
|
|
|
"src/server/agent/agent-sdk-types.ts",
|
|
|
|
|
"src/server/agent/provider-manifest.ts",
|
2026-04-23 22:13:12 +07:00
|
|
|
"scripts/**/*.{ts,mts,mjs,cjs,js}",
|
|
|
|
|
"src/**/*.test.ts",
|
|
|
|
|
"src/**/*.test.tsx",
|
|
|
|
|
"src/**/*.e2e.ts",
|
|
|
|
|
"src/**/*.e2e.tsx"
|
|
|
|
|
],
|
|
|
|
|
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.{ts,mts,mjs,cjs,js}"]
|
|
|
|
|
},
|
|
|
|
|
"packages/app": {
|
|
|
|
|
"entry": [
|
|
|
|
|
"index.ts",
|
|
|
|
|
"app.config.js",
|
2026-04-23 22:29:29 +07:00
|
|
|
"babel.config.js",
|
2026-04-23 22:13:12 +07:00
|
|
|
"app/**/*.{ts,tsx}",
|
|
|
|
|
"src/**/*.test.{ts,tsx}",
|
|
|
|
|
"src/**/*.e2e.{ts,tsx}",
|
2026-04-23 22:29:29 +07:00
|
|
|
"src/**/*.native.{ts,tsx}",
|
2026-04-23 22:13:12 +07:00
|
|
|
"e2e/**/*.{ts,tsx}",
|
|
|
|
|
"playwright.config.{ts,js}",
|
2026-04-23 22:29:29 +07:00
|
|
|
"vitest.config.{ts,js}",
|
|
|
|
|
"test-stubs/**/*.ts"
|
2026-04-23 22:13:12 +07:00
|
|
|
],
|
|
|
|
|
"project": ["**/*.{ts,tsx,js,jsx}"],
|
2026-04-23 22:41:27 +07:00
|
|
|
"paths": {
|
|
|
|
|
"@server/*": ["../server/src/*"]
|
|
|
|
|
},
|
chore: remove unused deps and declare missing ones
Knip-driven cleanup across all workspaces:
Removed (verified zero imports):
- root: @anthropic-ai/claude-agent-sdk, @modelcontextprotocol/sdk,
expo, react, react-native, react-dom (duplicates of workspace deps)
- server: @ai-sdk/openai, @deepgram/sdk, express-basic-auth,
fast-uri, mnemonic-id, tiny-invariant, playwright
- app: @expo/vector-icons, @getpaseo/server,
@react-navigation/bottom-tabs, @react-navigation/elements,
base64-js, react-native-css, expo-av, expo-font, expo-symbols,
expo-web-browser, react-native-permissions,
react-native-popover-view, react-native-securerandom
- cli: @getpaseo/relay
- desktop: @getpaseo/cli
- relay: @cloudflare/workers-types
- website: tailwindcss (provided by @tailwindcss/vite)
Declared (previously hoisted, now explicit):
- root: @types/ws, playwright, ws (used by scripts/)
- server: @mariozechner/pi-ai, @mariozechner/pi-agent-core
- app: expo-asset, qrcode, @types/qrcode, tiny-invariant,
@xterm/headless, dotenv, jsdom
- cli: vitest
- desktop: vitest
Also removes the stray `/app.json` (obsolete, overridden by
packages/app/app.config.js).
2026-04-23 22:20:33 +07:00
|
|
|
"ignore": ["android/**", "ios/**", ".expo/**", "dist/**", "scripts/reset-project.js"]
|
2026-04-23 22:13:12 +07:00
|
|
|
},
|
|
|
|
|
"packages/cli": {
|
chore: remove unused deps and declare missing ones
Knip-driven cleanup across all workspaces:
Removed (verified zero imports):
- root: @anthropic-ai/claude-agent-sdk, @modelcontextprotocol/sdk,
expo, react, react-native, react-dom (duplicates of workspace deps)
- server: @ai-sdk/openai, @deepgram/sdk, express-basic-auth,
fast-uri, mnemonic-id, tiny-invariant, playwright
- app: @expo/vector-icons, @getpaseo/server,
@react-navigation/bottom-tabs, @react-navigation/elements,
base64-js, react-native-css, expo-av, expo-font, expo-symbols,
expo-web-browser, react-native-permissions,
react-native-popover-view, react-native-securerandom
- cli: @getpaseo/relay
- desktop: @getpaseo/cli
- relay: @cloudflare/workers-types
- website: tailwindcss (provided by @tailwindcss/vite)
Declared (previously hoisted, now explicit):
- root: @types/ws, playwright, ws (used by scripts/)
- server: @mariozechner/pi-ai, @mariozechner/pi-agent-core
- app: expo-asset, qrcode, @types/qrcode, tiny-invariant,
@xterm/headless, dotenv, jsdom
- cli: vitest
- desktop: vitest
Also removes the stray `/app.json` (obsolete, overridden by
packages/app/app.config.js).
2026-04-23 22:20:33 +07:00
|
|
|
"entry": ["src/index.ts", "bin/paseo", "src/**/*.test.{ts,tsx}", "tests/**/*.{ts,tsx}"],
|
2026-04-23 22:13:12 +07:00
|
|
|
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}"]
|
|
|
|
|
},
|
|
|
|
|
"packages/relay": {
|
chore: remove unused deps and declare missing ones
Knip-driven cleanup across all workspaces:
Removed (verified zero imports):
- root: @anthropic-ai/claude-agent-sdk, @modelcontextprotocol/sdk,
expo, react, react-native, react-dom (duplicates of workspace deps)
- server: @ai-sdk/openai, @deepgram/sdk, express-basic-auth,
fast-uri, mnemonic-id, tiny-invariant, playwright
- app: @expo/vector-icons, @getpaseo/server,
@react-navigation/bottom-tabs, @react-navigation/elements,
base64-js, react-native-css, expo-av, expo-font, expo-symbols,
expo-web-browser, react-native-permissions,
react-native-popover-view, react-native-securerandom
- cli: @getpaseo/relay
- desktop: @getpaseo/cli
- relay: @cloudflare/workers-types
- website: tailwindcss (provided by @tailwindcss/vite)
Declared (previously hoisted, now explicit):
- root: @types/ws, playwright, ws (used by scripts/)
- server: @mariozechner/pi-ai, @mariozechner/pi-agent-core
- app: expo-asset, qrcode, @types/qrcode, tiny-invariant,
@xterm/headless, dotenv, jsdom
- cli: vitest
- desktop: vitest
Also removes the stray `/app.json` (obsolete, overridden by
packages/app/app.config.js).
2026-04-23 22:20:33 +07:00
|
|
|
"entry": ["src/index.ts", "src/e2ee.ts", "src/cloudflare-adapter.ts", "src/**/*.test.ts"],
|
2026-04-23 22:13:12 +07:00
|
|
|
"project": ["src/**/*.ts"]
|
|
|
|
|
},
|
|
|
|
|
"packages/website": {
|
|
|
|
|
"entry": ["src/router.tsx", "vite.config.ts", "src/routes/**/*.tsx"],
|
|
|
|
|
"project": ["src/**/*.{ts,tsx}"],
|
|
|
|
|
"ignore": ["src/routeTree.gen.ts"]
|
|
|
|
|
},
|
|
|
|
|
"packages/desktop": {
|
|
|
|
|
"entry": ["src/main.ts", "src/preload.ts", "src/**/*.test.ts"],
|
|
|
|
|
"project": ["src/**/*.ts"]
|
|
|
|
|
},
|
|
|
|
|
"packages/highlight": {
|
|
|
|
|
"entry": ["src/index.ts", "src/**/*.test.ts"],
|
|
|
|
|
"project": ["src/**/*.ts"]
|
|
|
|
|
},
|
|
|
|
|
"packages/expo-two-way-audio": {
|
|
|
|
|
"entry": ["src/index.ts"],
|
|
|
|
|
"project": ["src/**/*.ts"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"ignoreDependencies": [
|
|
|
|
|
"sherpa-onnx-node",
|
|
|
|
|
"@playwright/test",
|
|
|
|
|
"material-icon-theme",
|
|
|
|
|
"eas-cli",
|
|
|
|
|
"wait-on",
|
|
|
|
|
"concurrently",
|
|
|
|
|
"get-port-cli",
|
|
|
|
|
"patch-package",
|
|
|
|
|
"cross-env",
|
chore: remove unused deps and declare missing ones
Knip-driven cleanup across all workspaces:
Removed (verified zero imports):
- root: @anthropic-ai/claude-agent-sdk, @modelcontextprotocol/sdk,
expo, react, react-native, react-dom (duplicates of workspace deps)
- server: @ai-sdk/openai, @deepgram/sdk, express-basic-auth,
fast-uri, mnemonic-id, tiny-invariant, playwright
- app: @expo/vector-icons, @getpaseo/server,
@react-navigation/bottom-tabs, @react-navigation/elements,
base64-js, react-native-css, expo-av, expo-font, expo-symbols,
expo-web-browser, react-native-permissions,
react-native-popover-view, react-native-securerandom
- cli: @getpaseo/relay
- desktop: @getpaseo/cli
- relay: @cloudflare/workers-types
- website: tailwindcss (provided by @tailwindcss/vite)
Declared (previously hoisted, now explicit):
- root: @types/ws, playwright, ws (used by scripts/)
- server: @mariozechner/pi-ai, @mariozechner/pi-agent-core
- app: expo-asset, qrcode, @types/qrcode, tiny-invariant,
@xterm/headless, dotenv, jsdom
- cli: vitest
- desktop: vitest
Also removes the stray `/app.json` (obsolete, overridden by
packages/app/app.config.js).
2026-04-23 22:20:33 +07:00
|
|
|
"expo-module-scripts",
|
|
|
|
|
"buffer",
|
|
|
|
|
"metro-config"
|
2026-04-23 22:13:12 +07:00
|
|
|
],
|
|
|
|
|
"ignoreBinaries": [
|
|
|
|
|
"expo-module",
|
|
|
|
|
"xed",
|
|
|
|
|
"eas",
|
|
|
|
|
"playwright",
|
|
|
|
|
"wrangler",
|
|
|
|
|
"powershell",
|
|
|
|
|
"tsx",
|
|
|
|
|
"vitest",
|
|
|
|
|
"open"
|
|
|
|
|
]
|
|
|
|
|
}
|