From ed7e13609eaa5cf837ce96817b59875bf554700f Mon Sep 17 00:00:00 2001 From: Prateek Date: Fri, 20 Feb 2026 19:34:28 +0530 Subject: [PATCH] fix: build core package before typecheck to ensure types are available Agent plugins depend on built type definitions from @composio/ao-core. Without building core first, pnpm -r typecheck runs all checks in parallel and agent plugins fail with TS2353 errors (e.g. getActivityState not found in Agent interface) because the .d.ts files don't exist yet. Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70aaa7220..e6ab3d955 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint:fix": "eslint . --fix", "format": "prettier --write .", "format:check": "prettier --check .", - "typecheck": "pnpm -r typecheck", + "typecheck": "pnpm --filter @composio/ao-core build && pnpm -r typecheck", "test": "pnpm -r --filter '!@composio/ao-web' test", "test:integration": "pnpm --filter @composio/ao-integration-tests test:integration", "clean": "pnpm -r clean",