@looopy-ai/core 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import type { ExecutionContext } from '../types/context';
3
3
  import type { ToolProvider } from '../types/tools';
4
- type ToolHandler<TParams> = (params: TParams, context: ExecutionContext) => Promise<unknown> | unknown;
5
- interface LocalToolDefinition<TSchema extends z.ZodObject> {
4
+ export type ToolHandler<TParams> = (params: TParams, context: ExecutionContext) => Promise<unknown> | unknown;
5
+ export interface LocalToolDefinition<TSchema extends z.ZodObject> {
6
6
  name: string;
7
7
  description: string;
8
8
  schema: TSchema;
@@ -10,4 +10,3 @@ interface LocalToolDefinition<TSchema extends z.ZodObject> {
10
10
  }
11
11
  export declare function tool<TSchema extends z.ZodObject>(name: string, description: string, schema: TSchema, handler: ToolHandler<z.infer<TSchema>>): LocalToolDefinition<TSchema>;
12
12
  export declare function localTools(tools: LocalToolDefinition<z.ZodObject>[]): ToolProvider;
13
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looopy-ai/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "RxJS-based AI agent framework",
5
5
  "keywords": [
6
6
  "agent",