opentool 0.8.13 → 0.8.15
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/cli/index.d.ts +2 -2
- package/dist/cli/index.js +52 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -1
- package/dist/{validate-CilU0rkD.d.ts → validate-DTnps_0I.d.ts} +9 -1
- package/package.json +1 -1
- package/templates/base/package.json +1 -1
|
@@ -332,6 +332,13 @@ type CronSpec = {
|
|
|
332
332
|
notifyEmail?: boolean;
|
|
333
333
|
};
|
|
334
334
|
type ToolCategory = "strategy" | "tracker" | "orchestrator";
|
|
335
|
+
type ToolAsset = {
|
|
336
|
+
venue: string;
|
|
337
|
+
chain: string | number;
|
|
338
|
+
assetSymbols: string[];
|
|
339
|
+
pair?: string;
|
|
340
|
+
walletAddress?: string;
|
|
341
|
+
};
|
|
335
342
|
type ConnectedApp = {
|
|
336
343
|
appId: string;
|
|
337
344
|
deploymentId: string;
|
|
@@ -346,6 +353,7 @@ type ToolProfile = {
|
|
|
346
353
|
schedule?: CronSpec;
|
|
347
354
|
notifyEmail?: boolean;
|
|
348
355
|
chains?: Array<string | number>;
|
|
356
|
+
assets?: ToolAsset[];
|
|
349
357
|
connectedApps?: ConnectedApp[];
|
|
350
358
|
policies?: Array<Record<string, unknown>>;
|
|
351
359
|
};
|
|
@@ -445,4 +453,4 @@ declare function validateCommand(options: ValidateOptions): Promise<void>;
|
|
|
445
453
|
declare function validateFullCommand(options: ValidateOptions): Promise<void>;
|
|
446
454
|
declare function loadAndValidateTools(toolsDir: string, options?: LoadToolsOptions): Promise<InternalToolDefinition[]>;
|
|
447
455
|
|
|
448
|
-
export { type BuildConfig as B, type CronSpec as C, type GenerateMetadataOptions as G, HTTP_METHODS as H, type InternalToolDefinition as I, type Metadata as M, type NormalizedSchedule as N, type PaymentConfig as P, type ScheduleType as S, type ToolResponse as T, type ValidateOptions as V, type GenerateMetadataResult as a, generateMetadata as b, validateFullCommand as c, type ToolContent as d, type HttpMethod as e, type HttpHandlerDefinition as f, generateMetadataCommand as g, type McpConfig as h, type ServerConfig as i, type Tool as j, type ToolMetadataOverrides as k, loadAndValidateTools as l, type BuildMetadata as m, type ToolCategory as n, type
|
|
456
|
+
export { type BuildConfig as B, type CronSpec as C, type GenerateMetadataOptions as G, HTTP_METHODS as H, type InternalToolDefinition as I, type Metadata as M, type NormalizedSchedule as N, type PaymentConfig as P, type ScheduleType as S, type ToolResponse as T, type ValidateOptions as V, type GenerateMetadataResult as a, generateMetadata as b, validateFullCommand as c, type ToolContent as d, type HttpMethod as e, type HttpHandlerDefinition as f, generateMetadataCommand as g, type McpConfig as h, type ServerConfig as i, type Tool as j, type ToolMetadataOverrides as k, loadAndValidateTools as l, type BuildMetadata as m, type ToolCategory as n, type ToolAsset as o, type ConnectedApp as p, type ToolProfile as q, type GetHandler as r, type PostHandler as s, type ToolModuleGET as t, type ToolModulePOST as u, validateCommand as v, type ToolModule as w };
|
package/package.json
CHANGED