Parameters
Optionaloptions: Partial<
Pick<
{
configFileName: string;
configSchema: ZodType<unknown, unknown>;
customCliCommands?: $InferOuterFunctionType<
ZodTuple<
readonly [ZodCustom<Command<[], {}, {}>, Command<[], {}, {}>>],
null,
>,
ZodVoid,
>;
customMerge?: $InferOuterFunctionType<
ZodTuple<
readonly [
ZodRecord<ZodString, ZodUnknown>,
ZodRecord<ZodString, ZodUnknown>,
],
null,
>,
ZodRecord<ZodString, ZodUnknown>,
>;
customPluginTools?: $InferOuterFunctionType<
ZodTuple<readonly [ZodCustom<PluginApi, PluginApi>], null>,
ZodArray<ZodUnknown>,
>;
defaultPort: number;
dependencies?: { hard: string[]; soft: string[] };
generateToolsContent: $InferOuterFunctionType<
ZodTuple<readonly [], null>,
ZodString,
>;
initTemplate: $InferOuterFunctionType<
ZodTuple<readonly [], null>,
ZodRecord<ZodString, ZodUnknown>,
>;
name: string;
onConfigApply?: $InferOuterFunctionType<
ZodTuple<readonly [ZodRecord<ZodString, ZodUnknown>], null>,
ZodPromise<ZodVoid>,
>;
pluginPackage: string;
refreshIntervalSeconds: number;
run: $InferOuterFunctionType<
ZodTuple<readonly [ZodString], null>,
ZodPromise<ZodVoid>,
>;
sectionId: string;
serviceName?: string;
servicePackage: string;
startCommand: $InferOuterFunctionType<
ZodTuple<readonly [ZodString], null>,
ZodArray<ZodString>,
>;
version: string;
},
| "onConfigApply"
| "generateToolsContent"
| "customCliCommands"
| "customPluginTools",
>,
>
Returns {
configFileName: string;
configSchema: ZodType<unknown, unknown>;
customCliCommands?: $InferOuterFunctionType<
ZodTuple<
readonly [ZodCustom<Command<[], {}, {}>, Command<[], {}, {}>>],
null,
>,
ZodVoid,
>;
customMerge?: $InferOuterFunctionType<
ZodTuple<
readonly [
ZodRecord<ZodString, ZodUnknown>,
ZodRecord<ZodString, ZodUnknown>,
],
null,
>,
ZodRecord<ZodString, ZodUnknown>,
>;
customPluginTools?: $InferOuterFunctionType<
ZodTuple<readonly [ZodCustom<PluginApi, PluginApi>], null>,
ZodArray<ZodUnknown>,
>;
defaultPort: number;
dependencies?: { hard: string[]; soft: string[] };
generateToolsContent: $InferOuterFunctionType<
ZodTuple<readonly [], null>,
ZodString,
>;
initTemplate: $InferOuterFunctionType<
ZodTuple<readonly [], null>,
ZodRecord<ZodString, ZodUnknown>,
>;
name: string;
onConfigApply?: $InferOuterFunctionType<
ZodTuple<readonly [ZodRecord<ZodString, ZodUnknown>], null>,
ZodPromise<ZodVoid>,
>;
pluginPackage: string;
refreshIntervalSeconds: number;
run: $InferOuterFunctionType<
ZodTuple<readonly [ZodString], null>,
ZodPromise<ZodVoid>,
>;
sectionId: string;
serviceName?: string;
servicePackage: string;
startCommand: $InferOuterFunctionType<
ZodTuple<readonly [ZodString], null>,
ZodArray<ZodString>,
>;
version: string;
}
A validated JeevesComponentDescriptor.
Create the runner's component descriptor.