@agimon-ai/doompi-workflow 0.0.1-alpha.87 → 0.0.1-alpha.89
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/extensions/pi.cjs +6 -2
- package/dist/extensions/pi.cjs.map +1 -1
- package/dist/extensions/pi.mjs +6 -2
- package/dist/extensions/pi.mjs.map +1 -1
- package/dist/extensions/server.cjs +6 -2
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +6 -2
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/extensions/web.mjs +1 -1
- package/dist/extensions/web.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -727,9 +727,13 @@ function createWorkflowServerRuntime(host, serverHost) {
|
|
|
727
727
|
description: "List workflow definitions available in this repository.",
|
|
728
728
|
parameters: z.toJSONSchema(feature.listWorkflowsTool.getInputSchema()),
|
|
729
729
|
executionMode: "serial",
|
|
730
|
-
async execute(_toolCallId, parameters, signal) {
|
|
730
|
+
async execute(_toolCallId, parameters, signal, _onUpdate, context) {
|
|
731
731
|
signal?.throwIfAborted();
|
|
732
|
-
|
|
732
|
+
const input = parameters;
|
|
733
|
+
return callResult(await feature.listWorkflowsTool.execute({
|
|
734
|
+
...input,
|
|
735
|
+
directory: input?.directory === void 0 ? context.cwd : typeof input.directory === "string" ? resolve(context.cwd, input.directory) : input.directory
|
|
736
|
+
}));
|
|
733
737
|
}
|
|
734
738
|
},
|
|
735
739
|
{
|