opentool 0.8.12 → 0.8.14
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/adapters/hyperliquid/index.js +125 -49
- package/dist/adapters/hyperliquid/index.js.map +1 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +46 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +171 -49
- package/dist/index.js.map +1 -1
- package/dist/{validate-CilU0rkD.d.ts → validate-CQNmvjez.d.ts} +8 -1
- package/package.json +1 -1
- package/templates/base/package.json +1 -1
|
@@ -332,6 +332,12 @@ 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
|
+
walletAddress?: string;
|
|
340
|
+
};
|
|
335
341
|
type ConnectedApp = {
|
|
336
342
|
appId: string;
|
|
337
343
|
deploymentId: string;
|
|
@@ -346,6 +352,7 @@ type ToolProfile = {
|
|
|
346
352
|
schedule?: CronSpec;
|
|
347
353
|
notifyEmail?: boolean;
|
|
348
354
|
chains?: Array<string | number>;
|
|
355
|
+
assets?: ToolAsset[];
|
|
349
356
|
connectedApps?: ConnectedApp[];
|
|
350
357
|
policies?: Array<Record<string, unknown>>;
|
|
351
358
|
};
|
|
@@ -445,4 +452,4 @@ declare function validateCommand(options: ValidateOptions): Promise<void>;
|
|
|
445
452
|
declare function validateFullCommand(options: ValidateOptions): Promise<void>;
|
|
446
453
|
declare function loadAndValidateTools(toolsDir: string, options?: LoadToolsOptions): Promise<InternalToolDefinition[]>;
|
|
447
454
|
|
|
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
|
|
455
|
+
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