@devries-cameron20 / composio-1 / commits / f5df207db
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Fix liniting

haxzie committed Jun 16, 2025 at 19:52 UTC f5df207db22d7360e5729167a8f542f857db35ea
10 files changed +5 -7
.husky/pre-commit
+1 -1
@@ -1 +1 @@
1 -pnpm test
1 +pnpm lint-staged
.prettierrc renamed
eslint.config.mjs renamed
package.json
+1 -1
@@ -14,7 +14,7 @@
14 "build:packages": "turbo build --filter=./ts/packages/**",
15 "test": "turbo test --filter=./ts/packages/**",
16 "test:ui": "vitest --ui",
17 - "lint": "eslint . --ext .ts,.tsx",
17 + "lint": "eslint ts/packages --ext .ts,.tsx",
18 "lint:packages": "eslint ts/packages --ext .ts,.tsx",
19 "lint:fix": "eslint . --ext .ts,.tsx --fix",
20 "lint:fix:packages": "eslint ts/packages --ext .ts,.tsx --fix",
ts/examples/vercel/src/types.ts
+1 -1
@@ -5,4 +5,4 @@ export const MessageRoles = {
5 } as const;
6
7 export type MessageRole = (typeof MessageRoles)[keyof typeof MessageRoles];
8 -export type Message = { role: MessageRole; content: string | any };
8 +export type Message = { role: MessageRole; content: string | unknown };
ts/packages/core/src/models/Toolkits.ts
-1
@@ -10,7 +10,6 @@ import {
10 ToolkitRetrieveCategoriesResponse,
11 ToolkitRetrieveCategoriesResponseSchema,
12 ToolkitCategorySchema,
13 - ToolkitAuthField,
13 ToolkitAuthFieldsResponse,
14 } from '../types/toolkit.types';
15 import { ComposioToolkitFetchError, ComposioToolkitNotFoundError } from '../errors';
ts/packages/core/src/types/tool.types.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { nullable, z } from 'zod';
1 +import { z } from 'zod';
2
3 /**
4 * Toolkit is the collection of tools,
ts/packages/core/src/utils/jsonSchema.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { z, ZodObject, ZodTypeAny } from 'zod';
1 +import { z } from 'zod';
2 import { JsonSchemaToZodError } from '../errors';
3 import { jsonSchemaToZod } from '@composio/json-schema-to-zod';
4
ts/packages/providers/openai/src/OpenAIResponsesProvider.ts
-1
@@ -9,7 +9,6 @@ import { BaseNonAgenticProvider, removeNonRequiredProperties } from '@composio/c
9 import { Tool, ToolExecuteParams } from '@composio/core';
10 import { ExecuteToolModifiers } from '@composio/core';
11 import { ExecuteToolFnOptions } from '@composio/core';
12 -import { Stream } from 'openai/streaming';
12
13 export type OpenAiTool = OpenAI.Responses.FunctionTool;
14 export type OpenAiToolCollection = Array<OpenAiTool>;
tsconfig.base.json renamed