| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626 |
- {
- "$schema": "https://unpkg.com/knip@5/schema.json",
- "exclude": [
- "duplicates"
- ],
- "ignoreBinaries": [
- "bwrap",
- "python3",
- "sandbox-exec",
- "taskkill"
- ],
- "ignoreWorkspaces": [
- "vendor/*",
- "python/sdk-runtime"
- ],
- "ignoreDependencies": [
- "@yarnpkg/cli-dist",
- "lightningcss"
- ],
- "workspaces": {
- ".": {
- "entry": [
- "scripts/**/*.mjs"
- ],
- "project": [
- "scripts/**/*.ts",
- "scripts/**/*.mjs"
- ]
- },
- "examples": {
- "entry": [
- "headless-agent/tests/fixtures/cli-mock-llm.ts",
- "headless-agent/tests/fixtures/semantic-checkpoint-agent.ts",
- "headless-agent/tests/fixtures/goal-domain/seed-goal.ts",
- "headless-agent/tests/fixtures/time-context-driver.ts",
- "headless-agent/tests/fixtures/time-context-mock-llm.ts",
- "headless-agent/tests/fixtures/telemetry-otel-driver.ts",
- "headless-agent/tests/fixtures/telemetry-redact-rule.ts",
- "acp-agent/tests/snapshots/lsp-definition/workspace/subject.ts",
- "tui-agent/tests/fixtures/tui-scripted-llm.ts",
- "acp-agent/tests/fixtures/subagent/subagent-acp/mock-delegating-llm.ts",
- "acp-agent/tests/fixtures/subagent/subagent-acp/driver.ts",
- "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts",
- "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts",
- "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.ts",
- "*/tests/**/*.e2e.ts",
- "*/tests/**/*.snapshot.ts"
- ],
- "project": [
- "**/*.ts"
- ],
- "ignoreDependencies": [
- "@deepseek-ai/.+",
- "@cordisjs/.+"
- ]
- },
- "packages/util/home": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/host/webserver": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/client/web-ui": {
- "entry": [
- "tests/**/*.spec.{ts,tsx}"
- ],
- "project": [
- "src/**/*.{ts,tsx}",
- "tests/**/*.{ts,tsx}"
- ]
- },
- "packages/client/runtime": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/client/ui-primitives": {
- "entry": [
- "tests/**/*.spec.tsx"
- ],
- "project": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "tests/**/*.tsx"
- ]
- },
- "packages/client/web-react": {
- "entry": [
- "tests/**/*.spec.tsx"
- ],
- "project": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "tests/**/*.tsx"
- ]
- },
- "packages/client/ui-layout": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.spec.tsx"
- ],
- "project": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "tests/**/*.ts",
- "tests/**/*.tsx"
- ]
- },
- "website": {
- "project": [
- "**/*.ts"
- ],
- "ignoreDependencies": [
- "@braintree/sanitize-url",
- "cytoscape",
- "cytoscape-cose-bilkent",
- "dayjs",
- "debug"
- ]
- },
- "packages/*/*": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/bash/bash-sandbox": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/context/time-context": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/lsp/lsp-local": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts",
- "tests/fixture-server.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ],
- "ignoreDependencies": [
- "typescript-language-server"
- ]
- },
- "packages/sandbox/sandbox-local": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/telemetry/session-telemetry-otel": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/util/brand": {
- "project": [
- "src/**/*.ts"
- ]
- },
- "packages/util/timeout": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/util/retention": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/support/acp-snapshot": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/fixtures/fake-acp-agent.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/support/loader-smoke": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/fixtures/*.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/core/agent-loop": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/goal/goal": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/goal/goal-session": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/goal/tool-goal": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/session-query/session-query-sqlite": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/code-runtime/code-runtime-worker": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/llm/llm-deepseek": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/llm/llm-pi-ai": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/session-title/session-title-first-message-llm": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/context/workspace-context": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/session-persistence/session-checkpoint-policy": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/util/paths": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/web/web-search-exa": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/web/web-search-perplexity": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/workflow/workflow-workerthread": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/web/web-search-deepseek": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/examples/acp-demo": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/examples/agent-spine-demo": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/ui/jsonrpc": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/ui/commands": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/examples/tui-demo": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/examples/cli-demo": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/ui/tui": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.snapshot.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/examples/jsonrpc-demo": {
- "project": [
- "src/**/*.ts"
- ]
- },
- "packages/sdk/create-sdk": {
- "entry": [
- "src/bin.ts",
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts",
- "tests/**/*.snapshot.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/sdk/scripts": {
- "entry": [
- "src/bin.ts",
- "tests/**/*.spec.ts",
- "tests/**/*.snapshot.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ],
- "ignoreDependencies": [
- "node-addon-require-builtin"
- ]
- },
- "packages/subagent/subagent-spawn": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/subagent/subagent-acp": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts",
- "tests/mock-acp-server.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/fs/tool-fs": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/fs/tool-fs-search": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ],
- "ignoreBinaries": [
- "rg"
- ]
- },
- "packages/mcp/mcp-client": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts",
- "tests/fixture-server.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ],
- "ignoreDependencies": [
- "@modelcontextprotocol/server-everything",
- "@modelcontextprotocol/server-filesystem"
- ]
- },
- "packages/client/web": {
- "project": [
- "src/**/*.ts",
- "src/**/*.tsx",
- "tests/**/*.tsx"
- ],
- "ignoreDependencies": [
- "@deepseek-ai/dsh-client-ui-theme"
- ]
- },
- "apps/web": {
- "entry": [
- "tests/**/*.e2e.ts",
- "tests/**/*.snapshot.ts",
- "tests/support.ts",
- "src/node-module-stub.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ],
- "ignoreDependencies": [
- "@deepseek-ai/dsh-client-ui-primitives",
- "@deepseek-ai/dsh-client-ui-slots",
- "@deepseek-ai/dsh-client-web-react",
- "@types/react",
- "@types/react-dom",
- "react",
- "react-dom"
- ]
- },
- "apps/cli": {
- "project": [
- "src/**/*.ts"
- ],
- "ignoreDependencies": [
- "@deepseek-ai/.+",
- "@cordisjs/.+"
- ]
- },
- "packages/client/modules": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/client/hmr": {
- "entry": [
- "tests/**/*.spec.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- },
- "packages/subagent/subagent-dsh-sdk": {
- "entry": [
- "tests/**/*.spec.ts",
- "tests/**/*.e2e.ts"
- ],
- "project": [
- "src/**/*.ts",
- "tests/**/*.ts"
- ]
- }
- }
- }
|