Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ log/
**/.workspaces/
.agent-task-loop/
.vitest/
tmp/
30 changes: 30 additions & 0 deletions knip.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { knip } from '@perfectpan/lint-config/knip';
import type { KnipConfig } from 'knip';

// Package entry points resolve from package.json exports and bin fields; the root
// tests/ directory runs under node:test (not vitest), so it needs explicit entries.
// Unused exports and types are staged for a dedicated cleanup pass; the shared
// policy's configuration and tag hints still fail the run.
const config: KnipConfig = {
...knip,
exclude: ['exports', 'types'],
workspaces: {
'.': {
entry: ['tests/**/*.test.mjs'],
project: ['tests/**/*.{mjs,ts}', 'scripts/**/*'],
},
'packages/agent-task-loop': {
// lark-cli is an external CLI spawned by the Lark service.
ignoreBinaries: ['lark-cli'],
},
'apps/room-web': {
// shadcn/ui keeps a curated component set; entries so unused exports stay allowed there.
entry: ['app/components/ui/**/*.tsx!'],
// The ACP executables are spawned as child processes by the room host,
// so the packages that ship them are never imported.
ignoreDependencies: ['@agentclientprotocol/claude-agent-acp', '@agentclientprotocol/codex-acp'],
},
},
};

export default config;
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
},
"license": "GPL-3.0-only",
"packageManager": "pnpm@12.18.0",
"dependencies": {
"@rivus/agent-finder-cli": "workspace:*",
"@rivus/agent-task-loop": "workspace:*"
},
"scripts": {
"agent-finder": "pnpm --filter @rivus/agent-finder-cli dev",
"build": "pnpm -r build",
"changeset": "changeset",
"duplicates:audit": "jscpd --config node_modules/@perfectpan/lint-config/jscpd-audit.json packages apps scripts tests --absolute --output tmp/duplicates-audit --ignore '**/node_modules/**,**/dist/**,**/.next/**,**/build/**,**/.react-router/**' --format 'typescript,javascript'",
"format": "vp fmt",
"format:check": "vp fmt --check",
"knip": "knip",
"lint": "vp lint",
"test": "pnpm peers check --lockfile-only && node --test tests/**/*.test.mjs && pnpm -r test",
"typecheck": "pnpm -r typecheck",
Expand All @@ -24,10 +22,10 @@
"devDependencies": {
"@changesets/changelog-github": "^1.0.1",
"@changesets/cli": "^3.0.3",
"@perfectpan/lint-config": "github:PerfectPan/lint-config#v0.7.1",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"vite-plus": "catalog:"
"@perfectpan/lint-config": "github:PerfectPan/lint-config#v0.8.0",
"vite-plus": "catalog:",
"jscpd": "5.4.2",
"knip": "6.45.1"
},
"devEngines": {
"runtime": [
Expand Down
1 change: 0 additions & 1 deletion packages/agent-room/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"devDependencies": {
"@types/node": "^24.19.2",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"vitest": "catalog:"
},
Expand Down
52 changes: 0 additions & 52 deletions packages/agent-task-loop/src/orchestration/file-store.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/agent-task-loop/src/orchestration/node-paths.ts

This file was deleted.

Loading
Loading