mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
* perf(cli): cut CLI startup overhead with lean client, lazy dispatch, and esbuild bundling - Add lean protocol codec and @getpaseo/client/node/lean entry that skip ws-outbound.aot.js and full Zod message schemas, and dynamically import @getpaseo/relay only for pairing-offer/E2EE targets - Replace eager command imports in packages/cli/src/cli.ts with a static command manifest + lazy dynamic imports, remove duplicate createCli() in run.ts, and lazy-load yaml/chalk in output rendering - Extract zero-Zod PID, home, and credential helpers to @getpaseo/server/daemon-files - Bundle @getpaseo/cli with esbuild code splitting (--splitting --format=esm --minify) and update scripts/trace-daemon.mjs - Fast-path complete agent UUIDs in resolveAgentEntry() via fetchAgent() without paginating archived agents * fix(client): generate zero-Zod schema defaults for lean protocol codec - Generate message-defaults.ts from Zod protocol schemas inside generate-validation-aot.mjs (50 outbound + 11 inbound tables, agent snapshot defaults, legacy transform fallbacks, and hello.rejected reasons) - Apply generated defaults in leanProtocolCodec so older daemons get the same defaulted fields as strictProtocolCodec without loading Zod or ws-outbound.aot.js - Add strict-vs-lean parity tests across legacy outbound, inbound, and status payloads - Deduplicate sync/async CLI renderer dispatch between render.ts and render-async.ts - Switch startup-boundary runtime hook test to module.registerHooks + synchronous stderr flush and it.skipIf for missing dist * fix(protocol): support prefault and reject unlisted non-pure schemas in defaults generator - Support Zod .prefault() nodes directly in message-defaults.ts (e.g., pull_request_timeline_response with omitted payload) - Fail generate:validators loudly if any new .catch() or .transform()/.preprocess() schema is added without a lean rule or explicit legacy allowlist entry - Add pull_request_timeline_response omitted-payload parity test to lean.test.ts
108 lines
2.9 KiB
JSON
108 lines
2.9 KiB
JSON
{
|
|
"$schema": "./node_modules/knip/schema.json",
|
|
"workspaces": {
|
|
"plugins": {
|
|
"entry": ["**/index.{server,client}.{ts,tsx}", "**/*.test.ts"],
|
|
"project": ["**/*.{ts,tsx}"]
|
|
},
|
|
".": {
|
|
"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",
|
|
"src/shared/**/*.ts",
|
|
"src/client/**/*.ts",
|
|
"src/server/agent/agent-sdk-types.ts",
|
|
"src/server/agent/provider-manifest.ts",
|
|
"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",
|
|
"babel.config.js",
|
|
"app/**/*.{ts,tsx}",
|
|
"src/**/*.test.{ts,tsx}",
|
|
"src/**/*.e2e.{ts,tsx}",
|
|
"src/**/*.native.{ts,tsx}",
|
|
"e2e/**/*.{ts,tsx}",
|
|
"playwright.config.{ts,js}",
|
|
"vitest.config.{ts,js}",
|
|
"test-stubs/**/*.ts"
|
|
],
|
|
"project": ["**/*.{ts,tsx,js,jsx}"],
|
|
"paths": {
|
|
"@server/*": ["../server/src/*"]
|
|
},
|
|
"ignore": ["android/**", "ios/**", ".expo/**", "dist/**", "scripts/reset-project.js"]
|
|
},
|
|
"packages/cli": {
|
|
"entry": [
|
|
"src/index.ts",
|
|
"bin/paseo",
|
|
"scripts/**/*.mjs",
|
|
"src/**/*.test.{ts,tsx}",
|
|
"tests/**/*.{ts,tsx}"
|
|
],
|
|
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.mjs", "tests/**/*.{ts,tsx}"]
|
|
},
|
|
"packages/relay": {
|
|
"entry": ["src/index.ts", "src/e2ee.ts", "src/cloudflare-adapter.ts", "src/**/*.test.ts"],
|
|
"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"]
|
|
}
|
|
},
|
|
"ignoreWorkspaces": ["packages/react-native-enriched-markdown"],
|
|
"ignoreDependencies": [
|
|
"sherpa-onnx-node",
|
|
"@playwright/test",
|
|
"material-icon-theme",
|
|
"eas-cli",
|
|
"wait-on",
|
|
"concurrently",
|
|
"get-port-cli",
|
|
"patch-package",
|
|
"cross-env",
|
|
"expo-module-scripts",
|
|
"buffer",
|
|
"metro-config"
|
|
],
|
|
"ignoreBinaries": [
|
|
"expo-module",
|
|
"xed",
|
|
"eas",
|
|
"playwright",
|
|
"wrangler",
|
|
"powershell",
|
|
"tsx",
|
|
"vitest",
|
|
"open"
|
|
]
|
|
}
|