opentool 0.8.5 → 0.8.6
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/README.md +11 -0
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +8 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/{validate-BJ5-5n8h.d.ts → validate-D5sE9GUm.d.ts} +3 -0
- package/package.json +1 -1
- package/templates/base/package.json +1 -1
|
@@ -134,6 +134,7 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
134
134
|
documentation: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
135
135
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
136
136
|
chains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
137
|
+
notifyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
137
138
|
}, z.core.$strict>;
|
|
138
139
|
type Tool = z.infer<typeof ToolSchema>;
|
|
139
140
|
declare const MetadataSchema: z.ZodObject<{
|
|
@@ -292,6 +293,7 @@ declare const BuildMetadataSchema: z.ZodObject<{
|
|
|
292
293
|
documentation: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
293
294
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
294
295
|
chains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
296
|
+
notifyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
295
297
|
}, z.core.$strict>>;
|
|
296
298
|
discovery: z.ZodOptional<z.ZodObject<{
|
|
297
299
|
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -351,6 +353,7 @@ interface InternalToolDefinition<TSchema extends z.ZodSchema | undefined = z.Zod
|
|
|
351
353
|
handler?: (params: any) => Promise<ToolResponse>;
|
|
352
354
|
payment?: X402Payment | null;
|
|
353
355
|
schedule?: NormalizedSchedule | null;
|
|
356
|
+
notifyEmail?: boolean;
|
|
354
357
|
profileDescription?: string | null;
|
|
355
358
|
}
|
|
356
359
|
interface ServerConfig {
|
package/package.json
CHANGED