@agentforge/core 0.17.2 → 0.18.0
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.
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -676,6 +676,9 @@ declare class ToolBuilder<TInput = unknown, TOutput = unknown> {
|
|
|
676
676
|
declare function toolBuilder(): ToolBuilder;
|
|
677
677
|
|
|
678
678
|
type RegistryTool = Tool<unknown, unknown>;
|
|
679
|
+
type RegistryInputTool = Omit<Tool<never, unknown>, 'schema'> & {
|
|
680
|
+
schema: z.ZodTypeAny;
|
|
681
|
+
};
|
|
679
682
|
|
|
680
683
|
type RegistryEventHandler<TData = unknown> = (data: TData) => void;
|
|
681
684
|
|
|
@@ -717,7 +720,7 @@ declare class ToolRegistry {
|
|
|
717
720
|
getByCategory(category: ToolCategory): RegistryTool[];
|
|
718
721
|
getByTag(tag: string): RegistryTool[];
|
|
719
722
|
search(query: string): RegistryTool[];
|
|
720
|
-
registerMany(tools: Iterable<
|
|
723
|
+
registerMany(tools: Iterable<RegistryInputTool>): void;
|
|
721
724
|
clear(): void;
|
|
722
725
|
size(): number;
|
|
723
726
|
getNames(): string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -676,6 +676,9 @@ declare class ToolBuilder<TInput = unknown, TOutput = unknown> {
|
|
|
676
676
|
declare function toolBuilder(): ToolBuilder;
|
|
677
677
|
|
|
678
678
|
type RegistryTool = Tool<unknown, unknown>;
|
|
679
|
+
type RegistryInputTool = Omit<Tool<never, unknown>, 'schema'> & {
|
|
680
|
+
schema: z.ZodTypeAny;
|
|
681
|
+
};
|
|
679
682
|
|
|
680
683
|
type RegistryEventHandler<TData = unknown> = (data: TData) => void;
|
|
681
684
|
|
|
@@ -717,7 +720,7 @@ declare class ToolRegistry {
|
|
|
717
720
|
getByCategory(category: ToolCategory): RegistryTool[];
|
|
718
721
|
getByTag(tag: string): RegistryTool[];
|
|
719
722
|
search(query: string): RegistryTool[];
|
|
720
|
-
registerMany(tools: Iterable<
|
|
723
|
+
registerMany(tools: Iterable<RegistryInputTool>): void;
|
|
721
724
|
clear(): void;
|
|
722
725
|
size(): number;
|
|
723
726
|
getNames(): string[];
|
package/package.json
CHANGED