@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
|
@@ -734,9 +734,13 @@ function createWorkflowServerRuntime(host, serverHost) {
|
|
|
734
734
|
description: "List workflow definitions available in this repository.",
|
|
735
735
|
parameters: zod.z.toJSONSchema(feature.listWorkflowsTool.getInputSchema()),
|
|
736
736
|
executionMode: "serial",
|
|
737
|
-
async execute(_toolCallId, parameters, signal) {
|
|
737
|
+
async execute(_toolCallId, parameters, signal, _onUpdate, context) {
|
|
738
738
|
signal?.throwIfAborted();
|
|
739
|
-
|
|
739
|
+
const input = parameters;
|
|
740
|
+
return callResult(await feature.listWorkflowsTool.execute({
|
|
741
|
+
...input,
|
|
742
|
+
directory: input?.directory === void 0 ? context.cwd : typeof input.directory === "string" ? (0, node_path.resolve)(context.cwd, input.directory) : input.directory
|
|
743
|
+
}));
|
|
740
744
|
}
|
|
741
745
|
},
|
|
742
746
|
{
|